/* ==========================================================================
   DESIGN SYSTEM - LÉO PERSONAL (CONSULTORIA ONLINE)
   Estilo Premium Dark / Gold de Alta Conversão
   Inspirado em lp-leo.netlify.app
   ========================================================================== */

:root {
  /* Core Colors */
  --bg-primary: #121212;        /* Preto Fosco */
  --bg-secondary: #1E1E1E;      /* Cinza Chumbo */
  --bg-card: rgba(30, 30, 30, 0.75);
  --bg-card-hover: rgba(40, 40, 40, 0.95);
  
  --accent-gold: #F3C623;       /* Amarelo Ouro / Mostarda Elegante */
  --accent-gold-hover: #E5B80B;
  --accent-gold-glow: rgba(243, 198, 35, 0.25);
  
  --text-main: #F5F5F5;         /* Branco Gelo */
  --text-muted: #A0A0A0;        /* Cinza Médio */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(243, 198, 35, 0.35);

  /* Fonts */
  --font-heading: 'Montserrat', 'Oswald', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gold {
  color: var(--accent-gold);
}

.text-muted {
  color: var(--text-muted);
}

/* Section Header Shared Component */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(243, 198, 35, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}

p {
  font-size: clamp(1rem, 1.8vw, 1.125rem);
  color: #D4D4D4;
}

/* Buttons & CTAs */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D4A30B 100%);
  color: #0B0B0B;
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 1.15rem 2.25rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px var(--accent-gold-glow);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-cta::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 30%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 70%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform 0.8s ease;
}

.btn-cta:hover::after {
  transform: rotate(30deg) translateX(100%);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(243, 198, 35, 0.4);
  background: linear-gradient(135deg, #FFD642 0%, var(--accent-gold-hover) 100%);
}

.btn-cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.btn-cta:hover svg {
  transform: translateX(4px);
}

/* Floating CTA for Mobile */
.mobile-floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  z-index: 1000;
  border-top: 1px solid var(--border-gold);
  transform: translateY(100%);
  transition: transform 0.4s ease;
  display: flex;
  justify-content: center;
}

.mobile-floating-cta.show {
  transform: translateY(0);
}

.mobile-floating-cta .btn-cta {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   SECTION 1: HERO SECTION (A Dobra Principal)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  background-image: url('assets/bg_hero_desktop.png'), url('bg hero desktop.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 580px;
}

.hero-title {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.hero-subheadline {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #D4D4D4;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ==========================================================================
   SECTION 2: IDENTIFICAÇÃO DO PROBLEMA
   ========================================================================== */
.problem-section {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  position: relative;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.problem-card-highlight {
  background: var(--bg-primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.problem-card-highlight h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  color: var(--accent-gold);
  margin-bottom: 1.25rem;
}

.problem-card-highlight p {
  font-size: 1.1rem;
  color: #E0E0E0;
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 3: COMO FUNCIONA A CONSULTORIA (5 PASSOS)
   ========================================================================== */
.steps-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SECTION 4: RESULTADOS (CARROSSEL CONTÍNUO DE ALUNOS)
   ========================================================================== */
.proof-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.carousel-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: marqueeContinuous 28s linear infinite;
  will-change: transform;
}

.carousel-track.paused {
  animation-play-state: paused !important;
}

.carousel-item {
  flex: 0 0 auto;
  width: 270px;
  height: 480px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: var(--bg-primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.carousel-item:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: var(--accent-gold);
  box-shadow: 0 15px 35px rgba(243, 198, 35, 0.25);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@keyframes marqueeContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 0.875rem));
  }
}

/* ==========================================================================
   SECTION 5: QUEM ESTÁ POR TRÁS DA CONSULTORIA (LEONÉLIO BISPO)
   ========================================================================== */
.bio-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
}

.bio-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.bio-image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  background: var(--bg-secondary);
}

.bio-image-card img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
}

.bio-name {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 0.25rem;
}

.bio-role {
  font-size: 1.1rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.bio-paragraphs p {
  margin-bottom: 1.15rem;
  font-size: 1.02rem;
  color: #D4D4D4;
  line-height: 1.7;
}

/* ==========================================================================
   SECTION 6: O QUE O ALUNO RECEBE
   ========================================================================== */
.deliverables-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.deliverable-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.deliverable-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.deliverable-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(243, 198, 35, 0.1);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.deliverable-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.deliverable-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.support-notice-box {
  background: rgba(243, 198, 35, 0.08);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  color: var(--text-main);
  font-size: 0.98rem;
}

/* ==========================================================================
   SECTION 7: PLANOS E VALORES (4 CARDS COMPLETO)
   ========================================================================== */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-primary);
  position: relative;
}

.pricing-notice {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.plan-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  border-color: var(--border-gold);
}

.plan-card.featured {
  border: 2px solid var(--accent-gold);
  background: linear-gradient(180deg, #242424 0%, #181818 100%);
  box-shadow: 0 15px 35px var(--accent-gold-glow);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold) 0%, #D4A30B 100%);
  color: #0F0F0F;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(243, 198, 35, 0.3);
}

.plan-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.plan-name {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.plan-price-avista {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-gold);
  line-height: 1.1;
}

.plan-price-parcelado {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.plan-subtag {
  background: rgba(243, 198, 35, 0.15);
  color: var(--accent-gold);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  margin-top: 0.75rem;
  display: inline-block;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.9rem;
  color: #D4D4D4;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
}

.plan-card .btn-cta {
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   SECTION 8: PERGUNTAS FREQUENTES (FAQ ACORDEÃO)
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-gold);
  color: #121212;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem 1.5rem;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* ==========================================================================
   SECTION 9: CTA FINAL & FOOTER
   ========================================================================== */
.offer-section {
  padding: 6rem 0;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 1) 0%, var(--bg-primary) 100%);
  position: relative;
}

.offer-box {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, #161616 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 4rem 2.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.offer-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.offer-box p {
  font-size: 1.15rem;
  color: #D4D4D4;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.site-footer {
  background: #0A0A0A;
  border-top: 1px solid var(--border-color);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVENESS (MOBILE OPTIMIZATIONS)
   ========================================================================== */
@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    background-image: url('assets/bg_hero_mobile.png'), url('bg hero mobile.png');
    background-size: cover;
    background-position: center bottom;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 6rem;
    padding-bottom: 5rem;
  }

  .hero-container {
    margin-top: auto;
  }

  .hero-content {
    max-width: 100%;
    margin: 0;
    text-align: left;
  }

  .bio-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-section {
    padding-bottom: 4.5rem;
  }

  .btn-cta {
    width: 100%;
    padding: 1.1rem 1.25rem;
    font-size: 0.95rem;
  }

  .offer-box {
    padding: 2.5rem 1.25rem;
  }
}
