/* ═══════════════════════════════════════════════
   RG DO TRÁFEGO — mobile-first (95% do tráfego vem do Meta)
   ═══════════════════════════════════════════════ */

:root {
  --bg:        #0B0C0E;
  --bg-alt:    #101216;
  --surface:   #16191E;
  --surface-2: #1D2128;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --amber:     #FFB020;
  --amber-2:   #FF7A18;
  --amber-soft:rgba(255,176,32,.12);
  --wa:        #25D366;

  --t1: rgba(255,255,255,.96);
  --t2: rgba(255,255,255,.68);
  --t3: rgba(255,255,255,.44);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;

  --pad: 20px;
  --maxw: 1080px;

  --ff: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-d: 'Barlow Condensed', var(--ff);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--t1);
  font-family: var(--ff);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 84px; /* sticky bar */
}

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

a { color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.wrap--narrow { max-width: 760px; }

/* ── Botões ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--ff);
  font-size: 16px; font-weight: 700; line-height: 1;
  padding: 17px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
/* display:inline-flex/flex ganha do atributo [hidden] — desempate explícito */
.btn[hidden] { display: none !important; }

.btn--primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-2) 100%);
  color: #17110A;
  box-shadow: 0 10px 30px rgba(255,122,24,.22);
}
.btn--primary:hover { box-shadow: 0 14px 38px rgba(255,122,24,.32); }

.btn--ghost {
  background: transparent; color: var(--t1); border-color: var(--line-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.05); }

.btn--lg { font-size: 18px; padding: 20px 32px; }
.btn--sm { font-size: 14px; padding: 11px 18px; }
.btn--block { display: flex; width: 100%; }

.link { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* ── Nav ──────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  padding: 12px var(--pad);
  background: rgba(11,12,14,.82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; margin-right: auto; }
.nav__logo {
  font-family: var(--ff-d); font-weight: 700; font-size: 26px; letter-spacing: .5px;
  color: var(--amber); line-height: 1;
}
.nav__name { font-size: 14px; font-weight: 600; color: var(--t2); }
.nav__links { display: none; gap: 22px; font-size: 15px; font-weight: 500; }
.nav__links a { color: var(--t2); text-decoration: none; }
.nav__links a:hover { color: var(--t1); }

/* ── Hero ─────────────────────────────────── */
.hero { position: relative; padding: 52px 0 44px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -30% -20% auto -20%; height: 520px;
  background: radial-gradient(50% 60% at 50% 0%, rgba(255,122,24,.20), transparent 70%);
  pointer-events: none;
}
.hero__inner { position: relative; }

.eyebrow {
  margin: 0 0 14px; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber);
}

.hero__h1 {
  font-size: clamp(32px, 8.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
  margin: 0 0 20px;
}
.hero__h1 em { font-style: normal; color: var(--amber); display: block; }
.strike-line { display: block; color: var(--t2); }

.hero__sub { margin: 0 0 28px; color: var(--t2); font-size: 17px; }

.hero__micro { margin: 14px 0 0; font-size: 14px; color: var(--t3); }

.hero__chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 30px 0 0;
}
.hero__chips li {
  font-size: 13px; font-weight: 600; color: var(--t2);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 14px;
}

/* ── Seções ───────────────────────────────── */
.section { padding: 56px 0; }
.section--alt { background: var(--bg-alt); }
.section--tese { background: var(--bg-alt); }
.section--final { padding: 64px 0 72px; text-align: center; }

.h2 {
  font-size: clamp(26px, 6.4vw, 40px);
  line-height: 1.15; letter-spacing: -.02em; font-weight: 800;
  margin: 0 0 16px;
}
.h2--final { margin-bottom: 12px; }
.h2__soft { color: var(--t3); font-weight: 600; display: block; font-size: .55em; margin-top: 6px; }

.section__sub { color: var(--t2); margin: 0 0 30px; font-size: 16px; }
.section--final .section__sub { margin-bottom: 26px; }

.lead { color: var(--t2); margin: 0 0 18px; }
.lead strong { color: var(--t1); }

.footnote { margin: 26px 0 0; font-size: 13px; color: var(--t3); line-height: 1.55; }

/* ── Tese ─────────────────────────────────── */
.tese__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.tese__list li {
  position: relative; padding: 16px 18px 16px 46px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  color: var(--t2); font-size: 16px;
}
.tese__list li::before {
  content: ""; position: absolute; left: 18px; top: 24px;
  width: 12px; height: 2px; background: var(--amber);
}
.tese__list strong { color: var(--t1); }

.tese__kicker {
  margin: 26px 0 0; padding: 20px 22px;
  border-left: 3px solid var(--amber);
  background: var(--amber-soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-weight: 600;
}

/* ── Galeria ──────────────────────────────── */
.gallery { columns: 2; column-gap: 10px; }
.gallery__item {
  break-inside: avoid; margin: 0 0 10px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-sm); overflow: hidden; background: var(--surface);
  cursor: zoom-in; width: 100%; display: block;
}
.gallery__item img { width: 100%; height: auto; }
.gallery__item--video { position: relative; }
.gallery__play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(11,12,14,.62); backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255,255,255,.75);
  pointer-events: none;
}
.gallery__play::after {
  content: ""; position: absolute; left: 52%; top: 50%; transform: translate(-50%, -50%);
  border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent #fff;
}
.gallery__dur {
  position: absolute; right: 7px; bottom: 7px;
  background: rgba(11,12,14,.72); color: #fff;
  font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px;
  pointer-events: none;
}
.gallery__empty {
  column-span: all; text-align: center; color: var(--t3); font-size: 14px;
  border: 1px dashed var(--line-2); border-radius: var(--r); padding: 40px 20px;
}
.gallery__more { text-align: center; margin-top: 22px; }

/* ── Passos ───────────────────────────────── */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 14px; }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 20px 20px 20px;
}
.step__n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--amber-soft); color: var(--amber);
  font-family: var(--ff-d); font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.step p { margin: 0; color: var(--t2); font-size: 15.5px; }

/* ── Planos ───────────────────────────────── */
.plans { display: grid; gap: 14px; }
.plan {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 24px 20px; position: relative;
}
.plan--top { border-color: rgba(255,176,32,.42); background: var(--surface-2); }
.plan__tag {
  position: absolute; top: -11px; left: 20px;
  background: linear-gradient(135deg, var(--amber), var(--amber-2)); color: #17110A;
  font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.plan__name { margin: 0 0 4px; font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t2); }
.plan__price {
  margin: 0 0 18px; font-family: var(--ff-d); font-size: 50px; font-weight: 700; line-height: 1;
}
.plan__price span { font-size: .48em; vertical-align: super; margin-right: 2px; color: var(--t2); }
.plan__price small { font-size: .3em; font-family: var(--ff); font-weight: 500; color: var(--t3); }

.plan__feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 11px; }
.plan__feats li { position: relative; padding-left: 28px; font-size: 15px; color: var(--t2); }
.plan__feats li::before {
  position: absolute; left: 0; top: 0; font-weight: 700;
}
.plan__feats .yes::before { content: "✔"; color: var(--amber); }
.plan__feats .no { color: var(--t3); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.2); }
.plan__feats .no::before { content: "—"; color: var(--t3); }

.plans__table { display: none; }

.plans__notes { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.plans__notes li { color: var(--t2); font-size: 15px; padding-left: 16px; position: relative; }
.plans__notes li::before { content: "·"; position: absolute; left: 4px; color: var(--amber); font-weight: 700; }
.plans__notes strong { color: var(--t1); }

.callout {
  margin-top: 24px; padding: 20px 22px;
  background: var(--amber-soft); border: 1px solid rgba(255,176,32,.24);
  border-radius: var(--r);
}
.callout p { margin: 0; font-size: 15.5px; color: var(--t2); }
.callout strong { color: var(--amber); }

/* ── Para quem ────────────────────────────── */
.fit { display: grid; gap: 14px; }
.fit__col { padding: 22px 20px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.fit__col h3 { margin: 0 0 10px; font-size: 18px; }
.fit__col p { margin: 0; color: var(--t2); font-size: 16px; }
.fit__col strong { color: var(--t1); }
.fit__col--yes { border-left: 3px solid var(--wa); }
.fit__col--no { border-left: 3px solid var(--amber-2); }

/* ── Consultoria ──────────────────────────── */
.consult {
  background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 26px 22px;
}
.consult__head { margin: 0 0 18px; display: grid; gap: 4px; }
.consult__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--t2); }
.consult__price { font-family: var(--ff-d); font-size: 46px; font-weight: 700; line-height: 1; }
.consult__price small { font-family: var(--ff); font-size: .3em; font-weight: 500; color: var(--t3); margin-left: 6px; }
.consult__intro { margin: 0 0 12px; color: var(--t2); }
.consult__list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 11px; }
.consult__list li { position: relative; padding-left: 28px; color: var(--t2); font-size: 15.5px; }
.consult__list li::before { content: "✔"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }
.consult__out { margin: 0 0 22px; color: var(--t2); font-size: 15.5px; }

/* ── FAQ ──────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq__item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 18px;
}
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 28px 18px 0; position: relative;
  font-weight: 600; font-size: 16.5px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 2px; top: 50%; transform: translateY(-50%);
  color: var(--amber); font-size: 22px; font-weight: 400; line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 18px; color: var(--t2); font-size: 15.5px; }

.faq__whois { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.faq__foto { width: 86px; height: 86px; border-radius: var(--r-sm); object-fit: cover; flex: none; }
.faq__foto.is-missing { display: none; }
.faq__whois p { margin: 0; }

/* ── Rodapé + sticky ──────────────────────── */
.foot { padding: 34px 0 30px; border-top: 1px solid var(--line); color: var(--t3); font-size: 14px; }
.foot p { margin: 0 0 4px; }
.foot__small { color: var(--t3); }

.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,12,14,.9);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform .28s ease;
}
.stickybar.is-on { transform: translateY(0); }

/* ═══════════════ FORMULÁRIO ═══════════════ */
/* display:flex ganha do atributo [hidden] — precisa desempatar explicitamente */
.form-overlay[hidden], .lightbox[hidden] { display: none !important; }

.form-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: flex; flex-direction: column;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.form-shell { display: flex; flex-direction: column; height: 100%; width: 100%; max-width: 620px; margin: 0 auto; }

.form-top {
  display: flex; align-items: center; gap: 12px;
  padding: 14px var(--pad) 0;
}
.form-back, .form-close {
  background: none; border: 0; color: var(--t2); font-size: 24px; line-height: 1;
  cursor: pointer; padding: 6px 8px; border-radius: 8px;
}
.form-back:hover, .form-close:hover { color: var(--t1); background: rgba(255,255,255,.06); }
.form-back[hidden] { visibility: hidden; display: block; }

.form-progress { flex: 1; height: 4px; background: rgba(255,255,255,.1); border-radius: 999px; overflow: hidden; }
.form-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transition: width .3s ease;
}

.form-body {
  flex: 1; overflow-y: auto;
  padding: 28px var(--pad) 20px;
  display: flex; flex-direction: column; justify-content: center;
}

.step-q { animation: slide .28s ease; }
@keyframes slide { from { opacity: 0; transform: translateY(12px) } to { opacity: 1; transform: none } }

.step-q__label { display: block; font-size: clamp(23px, 6vw, 32px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 8px; }
.step-q__help { margin: 0 0 22px; color: var(--t3); font-size: 15px; }

.field {
  width: 100%; background: var(--surface); border: 1.5px solid var(--line-2);
  color: var(--t1); font-family: var(--ff); font-size: 18px;
  padding: 16px 18px; border-radius: var(--r); outline: none;
  transition: border-color .18s ease;
}
.field::placeholder { color: var(--t3); }
.field:focus { border-color: var(--amber); }

.field-row { display: grid; gap: 12px; }

.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 13px;
  background: var(--surface); border: 1.5px solid var(--line-2);
  border-radius: var(--r); padding: 16px 18px;
  cursor: pointer; font-size: 16.5px; font-weight: 500;
  transition: border-color .16s ease, background .16s ease;
}
.choice:hover { border-color: var(--line-2); background: var(--surface-2); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  flex: none; width: 22px; height: 22px; border-radius: 6px;
  border: 2px solid var(--line-2); position: relative;
}
.choice--radio .choice__box { border-radius: 50%; }
.choice.is-on { border-color: var(--amber); background: var(--amber-soft); }
.choice.is-on .choice__box { border-color: var(--amber); background: var(--amber); }
.choice.is-on .choice__box::after {
  content: "✔"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #17110A; font-size: 13px; font-weight: 800;
}

.err { margin: 12px 0 0; color: #FF8A6B; font-size: 14.5px; min-height: 20px; }

.form-foot { padding: 0 var(--pad) calc(22px + env(safe-area-inset-bottom)); }
.form-hint { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--t3); }

/* Telas finais */
.result { text-align: center; animation: slide .3s ease; }
.result__icon {
  width: 66px; height: 66px; margin: 0 auto 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 30px;
  background: var(--amber-soft); color: var(--amber);
}
.result__icon--wa { background: rgba(37,211,102,.14); color: var(--wa); }
.result h3 { font-size: clamp(24px, 6vw, 32px); font-weight: 800; line-height: 1.2; margin: 0 0 12px; }
.result p { color: var(--t2); margin: 0 0 22px; font-size: 16.5px; }
.result__code {
  display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px; letter-spacing: .1em; color: var(--amber);
  border: 1px dashed rgba(255,176,32,.4); border-radius: 8px; padding: 8px 14px; margin-bottom: 22px;
}
.btn--wa { background: var(--wa); color: #06301A; box-shadow: 0 10px 30px rgba(37,211,102,.22); }

.result__card {
  text-align: left; background: var(--surface); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 22px 20px; margin: 0 0 20px;
}
.result__card h4 { margin: 0 0 4px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--t2); }
.result__card .consult__price { margin: 0 0 14px; display: block; }
.result__card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.result__card li { position: relative; padding-left: 26px; color: var(--t2); font-size: 15px; }
.result__card li::before { content: "✔"; position: absolute; left: 0; color: var(--amber); font-weight: 700; }

/* ── Lightbox ─────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 120; background: rgba(0,0,0,.94);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 56px calc(20px + env(safe-area-inset-bottom));
  animation: fade .18s ease;
}
.lightbox__img, .lightbox__vid {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
}
.lightbox__vid { background: #000; }
.lightbox__img[hidden], .lightbox__vid[hidden] { display: none !important; }
.lightbox__close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  background: none; border: 0; color: #fff; font-size: 36px; line-height: 1; cursor: pointer;
}
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.08); border: 0; color: #fff;
  width: 44px; height: 64px; font-size: 30px; cursor: pointer; border-radius: 10px;
}
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

/* ═══════════════ DESKTOP ═══════════════ */
@media (min-width: 760px) {
  body { font-size: 18px; padding-bottom: 0; }
  :root { --pad: 32px; }

  .nav__links { display: flex; }
  .stickybar { display: none; }

  .hero { padding: 88px 0 76px; }
  .hero__sub { font-size: 19px; max-width: 620px; }
  .section { padding: 88px 0; }
  .section--final { padding: 96px 0; }

  .gallery { columns: 4; column-gap: 12px; }
  .gallery__item { margin-bottom: 12px; }

  .steps { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .fit { grid-template-columns: 1fr 1fr; gap: 18px; }

  /* tabela comparativa substitui os cards */
  .plans { display: none; }
  .plans__table {
    display: table; width: 100%; border-collapse: separate; border-spacing: 0;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden;
  }
  .plans__table th, .plans__table td { padding: 16px 18px; text-align: center; font-size: 15.5px; }
  .plans__table thead th { background: var(--surface-2); font-size: 15px; text-transform: uppercase; letter-spacing: .06em; }
  .plans__table thead th:first-child { background: var(--surface-2); }
  .plans__table thead th:last-child { color: var(--amber); }
  .th__price { display: block; font-family: var(--ff-d); font-size: 30px; text-transform: none; letter-spacing: 0; margin-top: 6px; color: var(--t1); }
  .plans__table thead th:last-child .th__price { color: var(--amber); }
  .plans__table tbody th { text-align: left; font-weight: 500; color: var(--t2); font-size: 15.5px; }
  .plans__table tbody tr + tr th, .plans__table tbody tr + tr td { border-top: 1px solid var(--line); }
  .plans__table .yes { color: var(--amber); font-weight: 700; font-size: 18px; }
  .plans__table .no { color: var(--t3); }

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

  .form-body { padding: 40px var(--pad) 24px; }
  .form-shell { padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

.consult__note { margin: 14px 0 0; font-size: 14px; color: var(--t3); line-height: 1.5; }
.consult__note strong { color: var(--t2); }

/* Aviso do código no wa.me — o lead não pode apagar antes de enviar */
.code-warn {
  margin: 16px 0 0; padding: 12px 14px;
  background: var(--amber-soft); border: 1px solid rgba(255,176,32,.28);
  border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.5; color: var(--t2); text-align: left;
}
.code-warn strong { color: var(--amber); }
