/* ===========================================================
   Section-specific styles + variant theming
   =========================================================== */

/* ---------- PROBLEM ---------- */
.problem__grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:54px; }
.compare{ border-radius:var(--radius-l); padding:34px; position:relative; overflow:hidden; }
.compare__tag{ font-family:var(--font-display); font-weight:600; font-size:13px; letter-spacing:.08em; text-transform:uppercase; }
.compare h3{ font-size:24px; margin:6px 0 22px; }
.compare ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.compare li{ display:flex; gap:13px; align-items:flex-start; font-size:15.5px; line-height:1.45; }
.compare li .ic{ flex:none; width:30px; height:30px; border-radius:9px; display:grid; place-items:center; }
.compare li b{ font-weight:700; }

.compare--old{ background:var(--paper-2); border:1px solid var(--line); }
.compare--old .compare__tag{ color:var(--faint); }
.compare--old h3{ color:var(--muted); }
.compare--old li{ color:var(--muted); }
.compare--old li .ic{ background:#e7ecef; color:#92a0ad; }

.compare--new{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color:#dbe7f2; box-shadow:var(--shadow); }
.compare--new .compare__tag{ color:var(--cyan); }
.compare--new h3{ color:#fff; }
.compare--new li{ color:#cdddec; }
.compare--new li .ic{ background:rgba(22,169,201,.18); color:var(--cyan); }
.compare--new li b{ color:#fff; }

.problem__punch{
  margin-top:30px; text-align:center; font-family:var(--font-display); font-weight:700;
  font-size:clamp(22px,3vw,32px); color:var(--navy);
}
.problem__punch .y{ color:var(--orange); }

/* ---------- WHY EARLY (descobrir o caminho) ---------- */
.why{ display:grid; grid-template-columns:.95fr 1.05fr; gap:56px; align-items:center; }
.why__steps{ display:flex; flex-direction:column; gap:0; }
.why__step{ display:grid; grid-template-columns:auto 1fr; gap:22px; }
.why__rail{ display:flex; flex-direction:column; align-items:center; }
.why__num{ flex:none; width:48px; height:48px; border-radius:50%; display:grid; place-items:center; font-family:var(--font-display); font-weight:700; font-size:19px; color:#fff; background:var(--accent); box-shadow:0 8px 18px -8px var(--accent); }
.why__line{ width:2px; flex:1; background:linear-gradient(var(--line-2), transparent); margin:8px 0; min-height:26px; }
.why__step:last-child .why__line{ display:none; }
.why__body{ padding-bottom:34px; }
.why__body h4{ font-size:19px; margin-bottom:6px; }
.why__body p{ color:var(--muted); font-size:15.5px; }

/* ---------- METHOD 60/25/15 ---------- */
.method{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:54px; }
.mcard{ border-radius:var(--radius); padding:30px 28px; color:#fff; position:relative; overflow:hidden; min-height:210px; display:flex; flex-direction:column; justify-content:space-between; }
.mcard .pct{ font-family:var(--font-display); font-weight:800; font-size:62px; line-height:.9; letter-spacing:-.03em; }
.mcard h4{ color:#fff; font-size:20px; margin:14px 0 8px; }
.mcard p{ font-size:14.5px; opacity:.92; line-height:1.45; }
.mcard--60{ background:linear-gradient(155deg,#F2B705,#E0A800); color:var(--navy-2); }
.mcard--60 h4{ color:var(--navy-2); }
.mcard--60 p{ color:#5a4a08; opacity:1; }
.mcard--25{ background:linear-gradient(155deg,var(--orange),var(--orange-2)); }
.mcard--15{ background:linear-gradient(155deg,var(--teal),var(--teal-2)); }
.mcard__watermark{ position:absolute; right:-10px; bottom:-26px; font-family:var(--font-display); font-weight:800; font-size:130px; opacity:.10; line-height:1; }
.method__note{ margin-top:24px; text-align:center; font-size:15px; color:var(--muted); }
.method__note b{ color:var(--navy); font-weight:700; }

/* ---------- MODULES / JOURNEY ---------- */
.journey{ margin-top:56px; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.modcard{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:26px; position:relative; transition:.22s ease; overflow:hidden; }
.modcard::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:5px; background:var(--mc,var(--accent)); }
.modcard:hover{ transform:translateY(-5px); box-shadow:var(--shadow); border-color:transparent; }
.modcard__top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:16px; }
.modcard__no{ font-family:var(--font-display); font-weight:800; font-size:15px; color:var(--mc,var(--accent)); letter-spacing:.05em; }
.modcard__ic{ width:46px; height:46px; border-radius:12px; display:grid; place-items:center; background:color-mix(in srgb, var(--mc) 13%, #fff); color:var(--mc); }
.modcard h4{ font-size:19px; margin-bottom:8px; }
.modcard .frame{ font-size:13px; font-weight:600; color:var(--mc,var(--accent)); margin-bottom:10px; }
.modcard p{ font-size:14.5px; color:var(--muted); line-height:1.5; }
.journey__cap{ margin-top:30px; display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; font-family:var(--font-display); font-weight:600; color:var(--muted); }
.journey__cap .arw{ color:var(--orange); font-size:22px; }
.journey__cap b{ color:var(--orange); font-weight:800; font-size:20px; }

/* ---------- WHAT YOU GET ---------- */
.gets{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:54px; }
.getcard{ text-align:left; padding:32px 28px; border-radius:var(--radius); background:var(--paper); border:1px solid var(--line); box-shadow:var(--shadow-s); }
.getcard__ic{ width:58px; height:58px; border-radius:15px; display:grid; place-items:center; margin-bottom:20px; color:#fff; }
.getcard h4{ font-size:21px; margin-bottom:10px; }
.getcard p{ color:var(--muted); font-size:15.5px; line-height:1.55; }

/* ---------- AUDIENCE ---------- */
.aud{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:50px; }
.audcard{ background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:26px 22px; text-align:center; transition:.2s; }
.audcard:hover{ border-color:var(--accent); transform:translateY(-4px); box-shadow:var(--shadow-s); }
.audcard__ic{ width:56px; height:56px; border-radius:50%; display:grid; place-items:center; margin:0 auto 16px; background:var(--accent-soft); color:var(--accent-deep); }
.audcard h4{ font-size:17px; margin-bottom:7px; }
.audcard p{ font-size:13.5px; color:var(--muted); line-height:1.45; }

/* ---------- APPLY FORM ---------- */
.apply{ background:linear-gradient(165deg,var(--navy) 0%, var(--navy-2) 100%); color:#dce7f2; position:relative; overflow:hidden; }
.apply__deco{ position:absolute; inset:0; opacity:.5; pointer-events:none; }
.apply__grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:start; position:relative; z-index:2; }
.apply__intro h2{ color:#fff; font-size:clamp(28px,3.8vw,42px); }
.apply__intro .lede{ margin-top:18px; color:#bcd0e4; font-size:17px; line-height:1.6; }
.apply__why{ margin-top:30px; display:flex; flex-direction:column; gap:14px; }
.apply__why li{ display:flex; gap:13px; align-items:flex-start; list-style:none; font-size:15px; color:#cfe0f0; }
.apply__why .chk{ flex:none; width:24px; height:24px; border-radius:7px; background:rgba(22,169,201,.22); color:var(--cyan); display:grid; place-items:center; }
.apply__seatbar{ margin-top:32px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); border-radius:14px; padding:18px 20px; }
.apply__seatbar .row{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:10px; font-size:13.5px; color:#a9c0d6; font-weight:600; }
.apply__seatbar .row span{ white-space:nowrap; }
.apply__seatbar .row b{ color:#fff; font-family:var(--font-display); white-space:nowrap; }
.apply__track{ height:9px; border-radius:6px; background:rgba(255,255,255,.12); overflow:hidden; }
.apply__fill{ height:100%; border-radius:6px; background:linear-gradient(90deg,var(--gold),var(--orange)); width:80%; }

.form{ background:var(--paper); border-radius:var(--radius-l); padding:34px; box-shadow:var(--shadow-lg); color:var(--ink); }
.form__head{ margin-bottom:22px; }
.form__head h3{ font-size:22px; }
.form__head p{ color:var(--muted); font-size:14.5px; margin-top:6px; }
.fgrid{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ display:flex; flex-direction:column; gap:7px; margin-bottom:16px; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:13.5px; font-weight:600; color:var(--navy); }
.field label .req{ color:var(--orange); }
.field input, .field select, .field textarea{
  font-family:var(--font-body); font-size:15px; color:var(--ink);
  padding:13px 15px; border:1.5px solid var(--line-2); border-radius:11px; background:var(--paper-2);
  transition:.15s; width:100%;
}
.field textarea{ resize:vertical; min-height:90px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--accent); background:#fff; box-shadow:0 0 0 4px var(--accent-soft); }
.field .hint{ font-size:12px; color:var(--faint); }
.field .err{ font-size:12px; color:var(--orange); font-weight:600; }
.field input.invalid, .field select.invalid, .field textarea.invalid{ border-color:var(--orange); }
.chips{ display:flex; flex-wrap:wrap; gap:9px; }
.chip{ padding:9px 15px; border-radius:999px; border:1.5px solid var(--line-2); background:var(--paper-2); font-size:13.5px; font-weight:600; color:var(--muted); transition:.15s; }
.chip.on{ background:var(--accent); border-color:var(--accent); color:#fff; }
.form__submit{ margin-top:6px; }
.form__submit .btn{ width:100%; }
.form__fine{ margin-top:14px; font-size:12px; color:var(--faint); text-align:center; }

.form--done{ text-align:center; padding:50px 34px; }
.form--done .badge{ width:78px; height:78px; border-radius:50%; background:var(--accent-soft); color:var(--accent-deep); display:grid; place-items:center; margin:0 auto 20px; }
.form--done h3{ font-size:26px; }
.form--done p{ color:var(--muted); margin-top:12px; font-size:15.5px; }

/* ---------- FAQ ---------- */
.faq{ max-width:820px; margin:50px auto 0; display:flex; flex-direction:column; gap:14px; }
.faq__item{ border:1px solid var(--line); border-radius:var(--radius-s); background:var(--paper); overflow:hidden; transition:.2s; }
.faq__item.open{ border-color:var(--accent); box-shadow:var(--shadow-s); }
.faq__q{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:22px 24px; text-align:left; font-family:var(--font-display); font-weight:600; font-size:17px; color:var(--navy); }
.faq__q .tog{ flex:none; width:30px; height:30px; border-radius:50%; background:var(--accent-soft); color:var(--accent-deep); display:grid; place-items:center; transition:.25s; font-size:18px; }
.faq__item.open .tog{ background:var(--accent); color:#fff; transform:rotate(45deg); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .3s ease; }
.faq__a-inner{ padding:0 24px 24px; color:var(--muted); font-size:15.5px; line-height:1.6; }

/* ---------- FINAL CTA ---------- */
.finalcta{ text-align:center; }
.finalcta h2{ font-size:clamp(30px,4.6vw,52px); max-width:760px; margin:0 auto; }
.finalcta .lede{ margin:20px auto 32px; max-width:560px; color:var(--muted); font-size:18px; }

/* ---------- FOOTER ---------- */
.footer{ background:var(--navy-2); color:#9fb3c8; padding:54px 0 30px; }
.footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; align-items:start; }
.footer__logo{ background:#fff; border-radius:12px; padding:12px 16px; display:inline-block; }
.footer__logo img{ height:34px; }
.footer p{ font-size:14px; line-height:1.6; margin-top:16px; max-width:320px; }
.footer h5{ font-family:var(--font-display); color:#fff; font-size:14px; letter-spacing:.04em; margin:0 0 14px; }
.footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.footer ul a{ font-size:14px; opacity:.85; }
.footer ul a:hover{ opacity:1; color:var(--cyan); }
.footer__bottom{ margin-top:40px; padding-top:22px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:13px; opacity:.7; }

/* ===========================================================
   VARIANT THEMING  (data-dir on #root)
   =========================================================== */

/* DIR B — "Bloco vibrante": centered hero, more color bands, orange accent */
[data-dir="b"] .hero__grid{ grid-template-columns:1fr; text-align:center; justify-items:center; }
[data-dir="b"] .hero__sub{ margin-left:auto; margin-right:auto; }
[data-dir="b"] .hero__kicker{ justify-content:center; }
[data-dir="b"] .hero__actions{ justify-content:center; }
[data-dir="b"] .hero__meta{ justify-content:center; }
[data-dir="b"] .hero__panel{ display:none; }
[data-dir="b"] .why{ grid-template-columns:1fr; }
[data-dir="b"] .why__visual{ display:none; }
[data-dir="b"] .section-head{ margin-left:auto; margin-right:auto; text-align:center; }
[data-dir="b"] .eyebrow::before{ display:none; }

/* DIR C — "Marinho premium": dark hero band, gold accent rhythm */
[data-dir="c"] .hero{ background:linear-gradient(165deg,var(--navy) 0%, var(--navy-2) 100%); color:#dce7f2; }
[data-dir="c"] .hero h1{ color:#fff; }
[data-dir="c"] .hero h1 .hl{ color:#fff; }
[data-dir="c"] .hero__sub{ color:#bcd0e4; }
[data-dir="c"] .hero__kicker{ color:var(--cyan); }
[data-dir="c"] .hero__kicker .tag{ background:rgba(22,169,201,.18); color:var(--cyan); }
[data-dir="c"] .hero__meta .m b{ color:#fff; }
[data-dir="c"] .hero__meta .m span{ color:#90a8c0; }
[data-dir="c"] .nav.scrolled{ background:rgba(10,30,58,.86); }
[data-dir="c"] .nav:not(.scrolled) .nav__links a{ color:#dce7f2; }
[data-dir="c"] .nav:not(.scrolled) .nav__menu-btn{ color:#fff; }
[data-dir="c"] .hero .btn--ghost{ color:#fff; border-color:rgba(255,255,255,.34); }
[data-dir="c"] .hero .btn--ghost:hover{ border-color:var(--cyan); color:var(--cyan); }
[data-dir="c"] .hero h1 .hl{ color:#fff; }

/* Responsive for sections */
@media (max-width: 920px){
  .problem__grid, .method, .journey, .gets, .why{ grid-template-columns:1fr; }
  .aud{ grid-template-columns:1fr 1fr; }
  .apply__grid{ grid-template-columns:1fr; gap:36px; }
  .footer__grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .fgrid{ grid-template-columns:1fr; }
  .aud{ grid-template-columns:1fr; }
  .footer__grid{ grid-template-columns:1fr; }
  .compare{ padding:26px; }
  .form{ padding:24px; }
}
