/* ==========================================================================
   Do Zero à Primeira Causa — landing page
   Sumário: tokens · base · layout · tipografia · componentes · seções · responsivo
   ========================================================================== */

/* === TOKENS & RESET === */
:root {
  --navy:   #15263F;
  --navy-dark: #0a1520;
  --gold:   #C9A84C;
  --cream:  #EEE8DC;
  --white:  #FAFAF8;
  --font-display: 'Gilda Display', serif;
  --font-body:    'Source Sans 3', sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* === LAYOUT === */
.section { padding: 104px 24px; }
.wrap     { max-width: 1120px; margin: 0 auto; }
.wrap--sm { max-width: 820px;  margin: 0 auto; }
.wrap--xs { max-width: 620px;  margin: 0 auto; }

/* === TIPOGRAFIA === */
.eyebrow {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.display { font-family: var(--font-display); font-weight: 400; line-height: 1.1; }
h2.display { font-size: clamp(34px, 4.2vw, 58px); }
.lead { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.72; font-weight: 300; }

/* === ANIMAÇÃO FADE-UP === */
.fu { opacity: 0; transform: translateY(30px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
.fu.vis { opacity: 1; transform: none; }
.fu:nth-child(2) { transition-delay: .08s; }
.fu:nth-child(3) { transition-delay: .16s; }
.fu:nth-child(4) { transition-delay: .24s; }
.fu:nth-child(5) { transition-delay: .32s; }

/* === BOTÕES === */
.btn {
  display: inline-block; cursor: pointer; border: none;
  font-family: var(--font-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn-gold {
  background: linear-gradient(135deg, #a07828 0%, #C9A84C 100%);
  color: var(--navy); padding: 22px 56px; font-size: 15px;
  border-radius: 60px; text-align: center;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #b98930 0%, #d9bb62 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,.4);
}

/* === NAV === */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 56px;
  transition: background .4s var(--ease), padding .3s var(--ease), box-shadow .4s var(--ease);
}
.nav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 32px rgba(0,0,0,.28);
  padding: 14px 56px;
}
.nav-logo { height: 42px; opacity: 0; transition: opacity .35s var(--ease); }
.nav.scrolled .nav-logo { opacity: 1; }
.nav-pill {
  opacity: 0; transition: opacity .35s var(--ease), transform .2s var(--ease), background .2s;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold); color: var(--navy);
  padding: 11px 28px; border-radius: 60px;
}
.nav.scrolled .nav-pill { opacity: 1; }
.nav-pill:hover { background: #d4b55e; transform: translateY(-1px); }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: url('../img/hero/hero-bg.jpg') center/cover no-repeat;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to right,
    rgba(14,26,46,.88) 0%, rgba(14,26,46,.78) 32%,
    rgba(14,26,46,.32) 62%, rgba(14,26,46,.04) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  width: 100%; max-width: 900px;
  padding: 140px 0 100px 122px;
}
.hero-logo { height: 48px; margin-bottom: 44px; }
.hero-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(42px, 5vw, 76px);
  color: var(--cream); line-height: 1.06; font-weight: 400;
  max-width: 800px; margin-bottom: 24px;
}
.hero-sub {
  color: rgba(238,232,220,.78); line-height: 1.72; font-weight: 400;
  max-width: 460px; margin-bottom: 44px;
  font-size: clamp(15px, 1.5vw, 18px);
}
.hero .btn-gold { width: 100%; max-width: 500px; }
.hero-anchor { margin-top: 18px; font-size: 13px; color: rgba(238,232,220,.45); letter-spacing: .04em; }

/* === DOR === */
.pain { background: linear-gradient(to bottom, #0a1520 0%, #15263F 100%); }
.pain h2 { color: var(--cream); margin-bottom: 52px; }
.pain-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pain-card {
  grid-column: span 3;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,168,76,.18);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  transition: border-color .25s, background .25s, transform .2s var(--ease);
}
.pain-card:hover {
  border-color: rgba(201,168,76,.55);
  background: rgba(255,255,255,.07);
  transform: translateY(-3px);
}
.pain-card--third { grid-column: span 2; }
.pain-label {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.28);
  border-radius: 4px; padding: 6px 14px;
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.pain-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.pain-card p { font-size: 16px; line-height: 1.72; color: rgba(238,232,220,.72); }
.pain-card.closing {
  grid-column: span 6;
  background: rgba(201,168,76,.08);
  border-color: rgba(201,168,76,.35);
  align-items: center; justify-content: center; gap: 0;
  padding: 52px 40px;
}
.pain-card.closing p {
  font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px);
  color: var(--cream); font-style: italic; text-align: center;
  max-width: 740px; line-height: 1.45;
}

/* === CURSO (PILARES) === */
.course { background: var(--navy); }
.course h2 { color: var(--cream); margin-bottom: 20px; }
.course-intro { color: rgba(238,232,220,.7); max-width: 720px; margin-bottom: 64px; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(201,168,76,.12); }
.pillar {
  background: var(--navy); padding: 52px 40px;
  position: relative; overflow: hidden;
  border-top: 2px solid var(--gold);
  transition: background .3s;
}
.pillar:hover { background: rgba(255,255,255,.04); }
.pillar-bg-n {
  position: absolute; top: 12px; right: 20px;
  font-family: var(--font-display); font-size: 80px; color: var(--gold);
  opacity: .08; line-height: 1; pointer-events: none; user-select: none;
}
.pillar h3 { font-family: var(--font-display); font-size: 28px; color: var(--cream); font-weight: 400; margin-bottom: 18px; }
.pillar p { font-size: 15px; color: rgba(238,232,220,.65); line-height: 1.72; }

/* === MÓDULOS === */
.modules { background: var(--cream); }
.modules h2 { font-size: 40px; margin-bottom: 56px; color: var(--navy); }
.mod-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.mod-card {
  background: var(--navy); border-radius: 10px; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(201,168,76,.15);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mod-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(21,38,63,.35); }
.mod-img { width: 100%; aspect-ratio: 4/3; background: #0e1d30; overflow: hidden; flex-shrink: 0; }
.mod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.mod-card:hover .mod-img img { transform: scale(1.04); }
.mod-body {
  padding: 24px 22px 30px; flex: 1;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.mod-ornament { margin: 0 auto 14px; color: var(--gold); opacity: .7; }
.mod-label {
  font-size: 9px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.mod-title {
  font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 20px);
  color: var(--cream); font-weight: 400; line-height: 1.25; margin-bottom: 12px;
}
.mod-desc { font-size: 13px; color: rgba(238,232,220,.58); line-height: 1.68; flex: 1; }

/* === SOBRE === */
.about { background: var(--navy); }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; }
.about-photo { background: #0e1d30; min-height: 740px; overflow: hidden; }
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: drop-shadow(12px 0 32px rgba(21,38,63,.8));
}
.about-text { padding: 88px 72px 88px 60px; display: flex; flex-direction: column; justify-content: center; }
.about-text h2 { color: var(--cream); margin-bottom: 36px; }
.about-text p { font-size: 16px; color: rgba(238,232,220,.72); line-height: 1.82; margin-bottom: 18px; }
.about-quote {
  border-left: 3px solid var(--gold); padding: 22px 28px;
  background: rgba(255,255,255,.04); margin: 32px 0;
}
.about-quote p { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--cream); line-height: 1.45; margin: 0; }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.cred {
  background: rgba(201,168,76,.12); color: var(--gold);
  border: 1px solid rgba(201,168,76,.3);
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 14px;
}

/* === PARA QUEM === */
.forwho { background: var(--white); }
.forwho h2 { font-size: 45px; margin-bottom: 44px; }
.check-list { display: flex; flex-direction: column; }
.check-row { display: flex; align-items: flex-start; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(21,38,63,.08); }
.check-box {
  width: 26px; height: 26px; flex-shrink: 0; margin-top: 2px;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.check-row p { font-size: 17px; line-height: 1.55; color: #333; }
.not-for { margin-top: 48px; padding: 28px 32px; border: 1px solid rgba(21,38,63,.12); background: rgba(21,38,63,.03); }
.not-label {
  display: block; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 10px;
}
.not-for p { font-size: 20px; color: #666; line-height: 1.68; font-style: italic; }

/* === OFERTA === */
.offer { background: radial-gradient(ellipse at center, #1a3358 0%, #0a1520 100%); text-align: center; }
.offer h2 { color: var(--cream); margin-bottom: 56px; }
.offer-box {
  max-width: 560px; margin: 0 auto; padding: 60px 52px;
  border: 1px solid rgba(201,168,76,.22);
  position: relative;
}
.offer-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); }
.inclusions { text-align: left; margin-bottom: 48px; }
.incl { display: flex; gap: 16px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(238,232,220,.08); }
.incl-mark { color: var(--gold); font-size: 20px; line-height: 1.25; flex-shrink: 0; }
.incl p { color: rgba(238,232,220,.82); font-size: 18px; line-height: 1.4; }
.price-block { margin-bottom: 40px; }
.price-was { font-size: 16px; color: rgba(238,232,220,.3); text-decoration: line-through; margin-bottom: 8px; }
.price-now { font-family: var(--font-display); font-size: 76px; color: var(--gold); line-height: 1; }
.price-note { font-size: 13px; color: rgba(238,232,220,.38); margin-top: 6px; }
.secure-note { margin-top: 20px; font-size: 13px; color: rgba(238,232,220,.32); }

/* === GARANTIA === */
.guarantee { background: var(--cream); text-align: center; }
.g-ring {
  width: 144px; height: 144px; border-radius: 50%; margin: 0 auto 44px;
  border: 2px solid var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.g-days { font-family: var(--font-display); font-size: 56px; color: var(--gold); line-height: 1; }
.g-label { font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.guarantee h2 { color: var(--navy); margin-bottom: 24px; }
.guarantee p { font-size: 17px; color: #555; line-height: 1.78; }

/* === FAQ === */
.faq { background: var(--white); }
.faq h2 { margin-bottom: 52px; }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid rgba(21,38,63,.1); }
.faq-btn {
  width: 100%; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 26px 0; text-align: left;
  font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--navy);
}
.faq-icon {
  width: 30px; height: 30px; flex-shrink: 0;
  border: 1.5px solid var(--gold); color: var(--gold); font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease), background .2s, color .2s;
}
.faq-btn.open .faq-icon { transform: rotate(45deg); background: var(--gold); color: var(--navy); }
.faq-ans { overflow: hidden; max-height: 0; transition: max-height .42s var(--ease); }
.faq-ans.open { max-height: 300px; }
.faq-ans p { font-size: 16px; color: #555; line-height: 1.78; padding-bottom: 28px; }

/* === CTA FINAL === */
.final {
  position: relative; text-align: center; padding: 136px 24px;
  background: url('../img/hero/cta-bg.jpg') center/cover no-repeat;
}
.final::before { content: ''; position: absolute; inset: 0; background: rgba(21,38,63,.9); }
.final-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.final h2 { font-family: var(--font-display); font-size: clamp(38px, 5vw, 50px); color: var(--cream); font-weight: 400; line-height: 1.1; margin-bottom: 24px; }
.final .lead { color: rgba(238,232,220,.68); margin-bottom: 52px; }
.final-secure { margin-top: 20px; font-size: 13px; color: rgba(238,232,220,.38); }

/* === FOOTER === */
.footer { background: #0d1a2c; padding: 52px 24px; text-align: center; }
.footer img { height: 54px; margin: 0 auto 24px; }
.footer p { font-size: 13px; color: rgba(238,232,220,.22); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 960px) {
  .nav, .nav.scrolled { padding-left: 24px; padding-right: 24px; }
  .section { padding: 72px 20px; }

  .hero { align-items: flex-end; justify-content: center; min-height: 100svh; }
  .hero::before {
    background: linear-gradient(to top, rgba(14,26,46,.97) 0%, rgba(14,26,46,.85) 50%, rgba(14,26,46,.35) 100%);
  }
  .hero-content { align-items: center; text-align: center; padding: 0 32px 72px; max-width: 100%; }
  .hero-sub { max-width: 560px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-photo { min-height: 420px; }
  .about-text { padding: 52px 32px; }

  .pillars { grid-template-columns: 1fr; }
  .mod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .section { padding: 60px 16px; }
  .wrap, .wrap--sm, .wrap--xs { padding: 0 4px; }

  .nav, .nav.scrolled { padding-left: 16px; padding-right: 16px; }
  .nav-pill { font-size: 11px; padding: 9px 18px; }

  .hero-content { padding: 0 20px 60px; }
  .hero-logo { height: 38px; margin-bottom: 28px; }
  .hero-anchor { font-size: 12px; }

  .pain-card, .pain-card--third { grid-column: span 6; }
  .pain-card.closing { padding: 36px 24px; }
  .pillar { padding: 36px 28px; }

  .mod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mod-title { font-size: 15px; }
  .mod-desc { font-size: 12px; }
  .mod-body { padding: 18px 16px 22px; }

  .about-photo { min-height: 300px; }
  .about-text { padding: 40px 20px; }
  .about-quote p { font-size: 18px; }
  .creds { gap: 6px; }
  .cred { font-size: 9px; padding: 6px 10px; }

  .check-row p { font-size: 15px; }

  .offer-box { padding: 36px 20px; }
  .price-now { font-size: 56px; }
  .btn-gold { padding: 18px 24px; font-size: 13px; width: 100%; }

  .g-ring { width: 120px; height: 120px; }
  .g-days { font-size: 44px; }

  .faq-btn { font-size: 15px; }
  .final { padding: 80px 20px; }
  .footer { padding: 40px 16px; }
}

@media (max-width: 420px) {
  .mod-grid { grid-template-columns: 1fr; }
  .offer h2 { font-size: 28px; }
}
