/* Section Extra - Seguindo padrão sofisticado do formulário */

.section-extra {
  background: var(--bg-primary, #0a0a0a);
  color: var(--text-primary, #ffffff);
  padding: var(--space-3xl, 6rem) 0;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}

/* Fundo animado sutil */
.section-extra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(249, 75, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 255, 255, 0.04) 0%, transparent 50%);
  background-size: 100% 100%;
  animation: backgroundPulse 10s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.container-section-extra {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg, 2rem);
  position: relative;
  z-index: 2;
}

/* Header da seção */
.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl, 6rem);
}

.section-extra h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-accent), #d65609); /* gradiente neon */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
  margin-bottom: var(--space-lg, 2rem);
  line-height: 1.2;
}

/* Divider elegante */
.divider {
  width: 100px;
  height: 2px;
  background: linear-gradient(135deg, #ff9200 0%, #d65609 100%);
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

/* Grid de benefícios */
.extra-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl, 3rem);
  margin-bottom: var(--space-3xl, 6rem);
}

/* Cards de benefício */
.benefit-card-extra {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid #b89337;
  border-radius: var(--radius-xl, 16px);
  padding: var(--space-xl, 3rem);
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-lg, 2rem);
  box-shadow: 0 0 20px rgba(249, 75, 0, 0.4);
}

.benefit-card-extra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(249, 75, 0, 0.4) 0%, rgba(0, 255, 255, 0.3) 100%);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.benefit-card-extra:hover {
  transform: translateY(-8px);
  border-color: #ffffff;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

.benefit-card-extra:hover::before {
  opacity: 0.1;
}

.benefit-card-extra > * {
  position: relative;
  z-index: 1;
}

/* Ícones dos benefícios */
.benefit-icon-extra {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #b89337 0%, #906803 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(249, 75, 0, 0.4);
  transition: all 0.3s ease-out;
  flex-shrink: 0;
}

.benefit-icon-extra:hover {
  box-shadow: 0 0 50px rgba(249, 75, 0, 0.4);
  transform: scale(1.1);
}

.benefit-icon-extra svg {
  width: 32px;
  height: 32px;
  color: #ffffff;
}

/* Texto dos benefícios */
.benefit-text-extra {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

/* Card da nota final */
.final-note-card-extra {
  background: rgba(0, 0, 0, 0.9);
  border: 2px solid #b89337;
  border-radius: var(--radius-2xl, 24px);
  padding: var(--space-2xl, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(249, 75, 0, 0.4);
  transition: all 0.3s ease-out;
}

.final-note-card-extra::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(249, 75, 0, 0.4) 0%, rgba(0, 255, 255, 0.3) 100%);
  opacity: 0.1;
  animation: ctaGlow 8s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { opacity: 0.1; }
  50% { opacity: 0.2; }
}

.final-note-card-extra:hover {
  transform: translateY(-4px);
  border-color: #ffffff;
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.4);
}

.note-icon-extra {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff9200 0%, #d65609 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg, 2rem);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
  position: relative;
  z-index: 1;
}

.note-icon-extra svg {
  width: 48px;
  height: 48px;
  color: #ffffff;
}

.extra-message {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsividade */
@media (max-width: 1024px) {
  .container-section-extra {
    padding: 0 var(--space-md, 1.5rem);
  }
  
  .extra-benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .section-extra {
    padding: var(--space-2xl, 4rem) 0;
  }
  
  .final-note-card-extra {
    padding: var(--space-lg, 2rem);
  }
  
  .benefit-card-extra {
    padding: var(--space-lg, 2rem);
    gap: var(--space-md, 1.5rem);
  }
  
  .benefit-icon-extra {
    width: 80px;
    height: 80px;
  }
  
  .benefit-icon-extra svg {
    width: 28px;
    height: 28px;
  }
  
  .extra-benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg, 2rem);
  }
}

@media (max-width: 480px) {
  .container-section-extra {
    padding: 0 var(--space-sm, 1rem);
  }
  
  .final-note-card-extra,
  .benefit-card-extra {
    padding: var(--space-md, 1.5rem);
  }
  
  .note-icon-extra {
    width: 60px;
    height: 60px;
  }
  
  .note-icon-extra svg {
    width: 36px;
    height: 36px;
  }
  
  .benefit-icon-extra {
    width: 70px;
    height: 70px;
  }
  
  .benefit-icon-extra svg {
    width: 24px;
    height: 24px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .section-extra::before,
  .final-note-card-extra::before {
    animation: none;
  }
  
  .benefit-card-extra,
  .final-note-card-extra,
  .benefit-icon-extra {
    transition: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .section-extra {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
  }
  
  .benefit-card-extra,
  .final-note-card-extra {
    border-color: #ffffff;
    background: #000000;
  }
}