/* Section 3 - Quem vai te conduzir nessa jornada? */

/* CSS Custom Properties - Dark Red Neon Palette (baseado no formulario.css) */
:root {
  /* Dark Background Colors */
  --bg-primary: #0a0a0a;
  --bg-secondary: #ffffff;
  --bg-tertiary: #906803;
  --bg-card: #000000;
  --bg-elevated: #252525;
  
  /* Red Colors */
  --red-primary: #b89337;
  --red-secondary: #906803;
  --red-dark: #990026;
  --red-light: #ff3366;
  --red-glow: rgba(249, 75, 0, 0.4);
  
  /* Neon Colors */
  --neon-cyan: #ffffff;
  --neon-pink: #ff00ff;
  --neon-green: #00ff41;
  --neon-blue: #0080ff;
  --neon-purple: #8000ff;
  --neon-yellow: #ffff00;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #cccccc;
  --text-muted: #000000;
  --text-accent: var(--neon-cyan);
  
  /* Gradients */
  --gradient-red: linear-gradient(135deg, var(--red-primary) 0%, var(--red-secondary) 100%);
  --gradient-neon: linear-gradient(135deg, #ff9200 0%, #d65609 100%);
  --gradient-dark: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  --gradient-glow: linear-gradient(135deg, var(--red-glow) 0%, rgba(0, 255, 255, 0.3) 100%);
  
  /* Typography */
  --font-primary: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  
  /* Shadows & Glows */
  --shadow-red: 0 0 20px var(--red-glow);
  --shadow-cyan: 0 0 20px rgba(0, 255, 255, 0.5);
  --shadow-pink: 0 0 20px rgba(255, 0, 255, 0.5);
  --glow-red: 0 0 40px var(--red-glow);
  --glow-cyan: 0 0 40px rgba(0, 255, 255, 0.3);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

.section3 {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: var(--space-3xl) 0;
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
}

/* Fundo animado sutil */
.section3::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-section3 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 2;
}

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

.section3 h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  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: var(--glow-cyan);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

/* Divider elegante */
.divider {
  width: 100px;
  height: 2px;
  background: var(--gradient-neon);
  margin: 0 auto;
  border-radius: var(--radius-sm);
  position: relative;
  box-shadow: var(--glow-cyan);
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}

/* Conteúdo principal da Magali */
.magali-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-2xl);
  justify-content: center;
}

.magali-image-wrapper {
  position: relative;
  width: 500px; /* Ajuste conforme necessário */
  height: 334px; /* Ajuste conforme necessário (1800x1201 -> 500x334) */
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 0 30px var(--red-glow);
  transition: var(--transition-normal);
}

.magali-image-wrapper:hover {
  transform: scale(1.02);
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.5);
}

.magali-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0.8;
  transition: opacity 0.3s ease-out;
}

.magali-image-wrapper:hover .image-overlay {
  opacity: 0;
}

.magali-bio-card {
  background: var(--bg-card);
  border: 1px solid var(--red-primary);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-red);
  flex: 1;
  transition: var(--transition-normal);
}

.magali-bio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 40px var(--red-glow);
  border-color: var(--neon-cyan);
}

.magali-bio-card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--red-primary);
  margin-bottom: var(--space-lg);
  font-weight: 700;
  text-align: center;
}

.bio-list {
  list-style: none;
  padding: 0;
  margin-bottom: var(--space-xl);
}

.bio-list li {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.5;
  display: flex;
  align-items: center;
}

.list-icon {
  color: var(--gradient-neon); /* Cor neon para o ícone */
  font-size: 1.2em;
  margin-right: 0.8rem;
}

.bio-text {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: center;
}

.bio-text strong {
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

/* Responsividade */
@media (max-width: 1024px) {
  .magali-content {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .magali-image-wrapper {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .section3 {
    padding: var(--space-2xl) 0;
  }

  .magali-bio-card {
    padding: var(--space-lg);
  }

  .magali-bio-card h3 {
    font-size: 1.8rem;
  }

  .bio-list li {
    font-size: 1rem;
  }

  .bio-text {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container-section3 {
    padding: 0 var(--space-sm);
  }

  .magali-image-wrapper {
    border-radius: var(--radius-lg);
  }

  .magali-bio-card {
    padding: var(--space-md);
  }

  .magali-bio-card h3 {
    font-size: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .section3::before,
  .magali-image-wrapper,
  .magali-bio-card {
    animation: none;
    transition: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .section3 {
    --bg-primary: #000000;
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
  }

  .magali-image-wrapper,
  .magali-bio-card {
    border-color: #ffffff;
    background: #000000;
  }
}