/* ==========================================================================
   Negócio Fácil — design system
   Paleta extraída da marca: navy #00243C · verde #007830 → #54B43C
   ========================================================================== */

:root {
  /* marca */
  --navy-950: #03121F;
  --navy-900: #00243C;
  --navy-850: #062A44;
  --navy-800: #0C3048;
  --navy-700: #143E5C;
  --navy-600: #1D5175;

  --green-700: #007830;
  --green-600: #0C8A38;
  --green-500: #249030;
  --green-400: #3FA93C;
  --green-300: #54B43C;
  --green-200: #6ED04E;
  --green-100: #A7E88C;

  --gold: #FFC65F;
  --gold-soft: #FFE0A3;

  /* superfícies */
  --bg: #03121F;
  --bg-alt: #051C2E;
  --surface: rgba(12, 48, 72, .52);
  --surface-solid: #082033;
  --surface-hi: rgba(20, 62, 92, .62);
  --line: rgba(110, 208, 78, .16);
  --line-soft: rgba(157, 178, 196, .14);

  /* texto */
  --text: #E9F2F8;
  --text-strong: #FFFFFF;
  --muted: #9DB2C4;
  --muted-dim: #6E869C;

  /* estados */
  --danger: #FF6B6B;
  --warn: #FFB454;
  --info: #4EA8F5;

  /* gradientes */
  --grad-green: linear-gradient(135deg, var(--green-700) 0%, var(--green-400) 55%, var(--green-200) 100%);
  --grad-green-soft: linear-gradient(135deg, rgba(0,120,48,.18), rgba(110,208,78,.10));
  --grad-navy: linear-gradient(160deg, #062A44 0%, #03121F 100%);

  /* forma */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* sombra */
  --sh-sm: 0 2px 8px rgba(0, 12, 22, .35);
  --sh-md: 0 12px 30px -10px rgba(0, 10, 20, .65);
  --sh-lg: 0 30px 70px -24px rgba(0, 8, 18, .8);
  --sh-green: 0 14px 36px -12px rgba(36, 144, 48, .55);

  /* tipografia */
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Sora', var(--font-ui);

  /* layout */
  --wrap: 1180px;
  --header-h: 72px;
  --nav-h: 66px;
}

/* ------------------------------------------------------------------ reset */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--green-200); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--text-strong);
}
h1 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1em; }

::selection { background: rgba(110, 208, 78, .3); color: #fff; }

:focus-visible {
  outline: 3px solid var(--green-200);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-400); color: #04121C; font-weight: 700;
  padding: 12px 20px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* --------------------------------------------------------------- estrutura */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
@media (max-width: 560px) { .wrap { width: min(100% - 2rem, var(--wrap)); } }

section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; }

.sec-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3.25rem); text-align: center; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--green-200);
  background: rgba(110, 208, 78, .1);
  border: 1px solid var(--line);
  padding: .45rem .9rem; border-radius: var(--r-full);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-200); box-shadow: 0 0 10px var(--green-200);
}

.grad-text {
  background: linear-gradient(100deg, var(--green-200), var(--green-100) 40%, var(--green-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ------------------------------------------------------------------ fundo */

.bg-fx { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.bg-fx::before, .bg-fx::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(90px);
}
.bg-fx::before {
  width: 620px; height: 620px; top: -220px; left: -160px;
  background: radial-gradient(circle, rgba(0, 120, 48, .42), transparent 68%);
}
.bg-fx::after {
  width: 720px; height: 720px; top: 32%; right: -280px;
  background: radial-gradient(circle, rgba(29, 81, 117, .5), transparent 68%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(110, 208, 78, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 208, 78, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 55% at 50% 0%, #000 20%, transparent 75%);
}

/* canvas dos cifrões */
#money-canvas {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none; opacity: .55;
}

/* ----------------------------------------------------------------- header */

.hdr {
  position: sticky; top: 0; z-index: 90;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(3, 18, 31, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.hdr.scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(3, 18, 31, .92);
}
.hdr .wrap { display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand picture { display: block; line-height: 0; }
.brand img { height: 40px; width: auto; }
@media (max-width: 420px) { .brand img { height: 34px; } }

.nav-main { display: flex; gap: .35rem; margin-left: auto; }
.nav-main a {
  color: var(--muted); font-size: .93rem; font-weight: 500;
  padding: .55rem .85rem; border-radius: var(--r-sm);
  transition: color .18s, background .18s;
}
.nav-main a:hover, .nav-main a:focus-visible {
  color: var(--text-strong); background: rgba(110, 208, 78, .08); text-decoration: none;
}
.hdr-cta { margin-left: .75rem; }

@media (max-width: 900px) {
  .nav-main { display: none; }
  .hdr-cta { margin-left: auto; }
}

/* ------------------------------------------------------------------ botões */

.btn {
  --btn-bg: var(--grad-green);
  --btn-fg: #04121C;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700; letter-spacing: -.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; border-radius: var(--r-full);
  cursor: pointer; text-align: center; text-decoration: none;
  box-shadow: var(--sh-green);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s, filter .18s;
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255,255,255,.42) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 42px -12px rgba(36,144,48,.7); text-decoration: none; }
.btn:hover::after { animation: shine .75s ease; }
.btn:active { transform: translateY(0) scale(.985); }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

@keyframes shine { to { transform: translateX(120%); } }

.btn-lg { min-height: 60px; padding: 1rem 2.2rem; font-size: 1.08rem; }
.btn-sm { min-height: 44px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border: 1.5px solid var(--line-soft);
  box-shadow: none;
}
.btn-ghost:hover {
  border-color: var(--green-300); color: var(--green-200);
  background: rgba(110, 208, 78, .07); box-shadow: none;
}

.btn-wa { --btn-bg: linear-gradient(135deg, #1EA85C, #25D366); --btn-fg: #04121C; }
.btn-navy { --btn-bg: linear-gradient(135deg, var(--navy-700), var(--navy-600)); --btn-fg: #fff; box-shadow: var(--sh-md); }

/* ------------------------------------------------------------------- cards */

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--sh-md);
  position: relative;
}

.card-glow { position: relative; }
.card-glow::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(110,208,78,.5), transparent 45%, rgba(29,81,117,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}

/* -------------------------------------------------------------------- hero */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1fr 1.02fr; } }

.hero h1 { margin-bottom: 1rem; }
.hero-sub { font-size: clamp(1.02rem, 2vw, 1.2rem); color: var(--muted); max-width: 54ch; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.75rem 0; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .84rem; font-weight: 600; color: var(--text);
  background: rgba(12, 48, 72, .6);
  border: 1px solid var(--line-soft);
  padding: .5rem .85rem; border-radius: var(--r-full);
}
.badge svg { width: 15px; height: 15px; color: var(--green-200); flex-shrink: 0; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }

/* ------------------------------------------------------------- simulador */

.sim { padding: clamp(1.4rem, 3vw, 2.1rem); }

.sim-tabs {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .5rem; margin-bottom: 1.5rem;
}
@media (min-width: 620px) { .sim-tabs { grid-template-columns: repeat(4, 1fr); } }

.sim-tab {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  padding: .8rem .5rem; min-height: 76px;
  background: rgba(3, 18, 31, .5);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md);
  font-size: .76rem; font-weight: 600; line-height: 1.2; text-align: center;
  color: var(--muted); cursor: pointer;
  transition: all .2s;
  -webkit-tap-highlight-color: transparent;
}
.sim-tab svg { width: 22px; height: 22px; }
.sim-tab:hover { border-color: rgba(110,208,78,.35); color: var(--text); }
.sim-tab[aria-selected="true"] {
  border-color: var(--green-300); color: var(--text-strong);
  background: linear-gradient(160deg, rgba(36,144,48,.28), rgba(3,18,31,.5));
  box-shadow: inset 0 0 24px rgba(110,208,78,.14);
}
.sim-tab[aria-selected="true"] svg { color: var(--green-200); }

.field { margin-bottom: 1.4rem; }
.field-top {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 1rem; margin-bottom: .6rem;
}
.field-top label { font-size: .88rem; font-weight: 600; color: var(--muted); }

.val-big {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  color: var(--text-strong); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.val-big small { font-size: .55em; font-weight: 600; color: var(--muted); }

/* slider */
.slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: var(--r-full);
  background: rgba(3, 18, 31, .8);
  border: 1px solid var(--line-soft);
  cursor: pointer; margin: 0; outline-offset: 6px;
}
.slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad-green);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--green-400), 0 6px 16px rgba(36,144,48,.6);
  cursor: grab; transition: transform .15s;
}
.slider::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: #3FA93C; border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--green-400), 0 6px 16px rgba(36,144,48,.6);
  cursor: grab;
}
.slider-ends {
  display: flex; justify-content: space-between;
  font-size: .76rem; color: var(--muted-dim); margin-top: .5rem;
  font-variant-numeric: tabular-nums;
}

/* chips de parcela */
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
  min-height: 44px; padding: .45rem 1rem;
  background: rgba(3, 18, 31, .55);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-full);
  font-size: .88rem; font-weight: 600; color: var(--muted);
  cursor: pointer; transition: all .18s;
  -webkit-tap-highlight-color: transparent;
}
.chip:hover { border-color: rgba(110,208,78,.4); color: var(--text); }
.chip[aria-pressed="true"] {
  background: var(--grad-green); color: #04121C;
  border-color: transparent; box-shadow: var(--sh-green);
}

/* resultado */
.sim-out {
  margin-top: 1.5rem; padding: 1.35rem;
  background: linear-gradient(150deg, rgba(0,120,48,.16), rgba(3,18,31,.55));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  position: relative; overflow: hidden;
}
.sim-out::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,208,78,.18), transparent 70%);
  pointer-events: none;
}
.sim-out-label { font-size: .82rem; color: var(--muted); margin-bottom: .15rem; }
.sim-parcela {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 3rem); line-height: 1.05;
  letter-spacing: -.04em; color: var(--text-strong);
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: .3rem; flex-wrap: wrap;
}
.sim-parcela .cifrao { font-size: .5em; color: var(--green-200); font-weight: 700; }
.sim-parcela .por { font-size: .34em; color: var(--muted); font-weight: 600; letter-spacing: 0; }

.sim-linhas {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: .1rem 1rem; margin-top: 1.15rem;
  padding-top: 1.15rem; border-top: 1px dashed var(--line-soft);
}
@media (min-width: 480px) { .sim-linhas { grid-template-columns: repeat(4, 1fr); } }
.sim-linha { padding: .35rem 0; }
.sim-linha dt { font-size: .74rem; color: var(--muted-dim); margin-bottom: .1rem; }
.sim-linha dd {
  margin: 0; font-size: 1rem; font-weight: 700; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.sim-linha dd.destaque { color: var(--gold); }

.sim-nota {
  font-size: .75rem; color: var(--muted-dim); line-height: 1.5;
  margin: 1rem 0 0;
}

/* --------------------------------------------------------------- métricas */

.metricas {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 780px) { .metricas { grid-template-columns: repeat(4, 1fr); } }
.metrica { background: var(--bg-alt); padding: 1.6rem 1.2rem; text-align: center; }
.metrica-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.metrica-lbl { font-size: .82rem; color: var(--muted); margin-top: .2rem; }

/* --------------------------------------------------------------- produtos */

.grid-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 680px)  { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .grid-3 { grid-template-columns: repeat(4, 1fr); } }

.prod { display: flex; flex-direction: column; transition: transform .25s, border-color .25s; }
.prod:hover { transform: translateY(-5px); border-color: rgba(110,208,78,.4); }
.prod-ico {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 1rem;
  background: var(--grad-green-soft);
  border: 1px solid var(--line);
}
.prod-ico svg { width: 26px; height: 26px; color: var(--green-200); }
.prod h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.prod p { font-size: .92rem; color: var(--muted); flex: 1; }
.prod-taxa {
  display: flex; align-items: baseline; gap: .4rem;
  padding-top: .9rem; margin-top: .5rem;
  border-top: 1px solid var(--line-soft);
}
.prod-taxa b {
  font-family: var(--font-display); font-size: 1.5rem;
  color: var(--green-200); letter-spacing: -.02em;
}
.prod-taxa span { font-size: .78rem; color: var(--muted-dim); }
.prod-tag {
  position: absolute; top: -10px; right: 16px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--gold); color: #2A1A00;
  padding: .28rem .7rem; border-radius: var(--r-full);
}

/* ---------------------------------------------------------------- passos */

.passos { display: grid; gap: 1.25rem; grid-template-columns: 1fr; counter-reset: passo; }
@media (min-width: 700px)  { .passos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .passos { grid-template-columns: repeat(4, 1fr); } }
.passo { position: relative; padding-top: 2.4rem; }
.passo::before {
  counter-increment: passo; content: counter(passo);
  position: absolute; top: -18px; left: 22px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.2rem;
  color: #04121C; background: var(--grad-green);
  box-shadow: var(--sh-green);
}
.passo h3 { font-size: 1.05rem; }
.passo p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ------------------------------------------------------ transparência/lista */

.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.lista-check li {
  display: flex; gap: .7rem; align-items: flex-start;
  font-size: .96rem; color: var(--text);
}
.lista-check svg {
  width: 21px; height: 21px; flex-shrink: 0; margin-top: 2px;
  color: var(--green-200);
}
.lista-check b { color: var(--text-strong); }

.duas-col { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .duas-col { grid-template-columns: 1fr 1fr; } }

.exemplo-cet {
  display: grid; gap: .1rem;
  font-variant-numeric: tabular-nums;
}
.exemplo-cet div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .7rem 0; border-bottom: 1px dashed var(--line-soft);
  font-size: .94rem;
}
.exemplo-cet div:last-child { border-bottom: 0; padding-top: 1rem; }
.exemplo-cet dt, .exemplo-cet span:first-child { color: var(--muted); }
.exemplo-cet b { color: var(--text-strong); font-weight: 700; }
.exemplo-cet .total b { color: var(--gold); font-size: 1.15rem; }

/* -------------------------------------------------------------------- faq */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: .7rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r-md); overflow: hidden; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(110,208,78,.32); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 600; font-size: 1rem; color: var(--text-strong);
  position: relative; min-height: 56px; display: flex; align-items: center;
  -webkit-tap-highlight-color: transparent;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 1.3rem; top: 50%;
  width: 11px; height: 11px; margin-top: -6px;
  border-right: 2.5px solid var(--green-200);
  border-bottom: 2.5px solid var(--green-200);
  transform: rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .faq-body { padding: 0 1.3rem 1.3rem; color: var(--muted); font-size: .95rem; }
.faq .faq-body p:last-child { margin-bottom: 0; }

/* -------------------------------------------------------------- cta final */

.cta-final {
  background: linear-gradient(150deg, rgba(0,120,48,.24), rgba(6,42,68,.6));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(110,208,78,.25), transparent 60%);
  pointer-events: none;
}
.cta-final > * { position: relative; }
.cta-final p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.cta-final .hero-actions { justify-content: center; margin-top: 1.75rem; }

/* ----------------------------------------------------------------- rodapé */

.ftr {
  border-top: 1px solid var(--line-soft);
  background: rgba(3, 18, 31, .8);
  padding: 3.5rem 0 calc(2rem + env(safe-area-inset-bottom));
  margin-top: 2rem;
}
.ftr-grid {
  display: grid; gap: 2.5rem; grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
}
@media (min-width: 760px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr img.ftr-logo { height: 44px; width: auto; margin-bottom: 1rem; }
.ftr h4 {
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-200); margin-bottom: 1rem;
}
.ftr ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.ftr a { color: var(--muted); font-size: .93rem; }
.ftr a:hover { color: var(--green-200); }
.ftr-legal {
  border-top: 1px solid var(--line-soft); padding-top: 1.75rem;
  font-size: .8rem; color: var(--muted-dim); line-height: 1.7;
}
.ftr-legal strong { color: var(--muted); }

/* --------------------------------------------------- barra inferior (app) */

.appbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; align-items: stretch;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(4, 22, 36, .94);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 900px) {
  .appbar { display: flex; }
  body { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
}
.appbar a {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  font-size: .68rem; font-weight: 600; color: var(--muted-dim);
  text-decoration: none; transition: color .18s;
  -webkit-tap-highlight-color: transparent;
}
.appbar a svg { width: 22px; height: 22px; }
.appbar a:hover, .appbar a.ativo { color: var(--green-200); text-decoration: none; }
.appbar a.destaque { color: var(--green-200); }
.appbar a.destaque svg {
  background: var(--grad-green); color: #04121C;
  width: 40px; height: 40px; padding: 9px; border-radius: 50%;
  box-shadow: var(--sh-green); margin-top: -18px;
  border: 3px solid var(--bg);
}

/* ------------------------------------------------------- botão flutuante */

.fab-wa {
  position: fixed; right: 18px; z-index: 94;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #1EA85C, #25D366);
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  color: #04121C; border: 0; cursor: pointer;
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .5);
  animation: pulso 2.4s ease-out infinite;
}
@keyframes pulso {
  0%   { transform: scale(1);   opacity: .9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 900px) { .fab-wa { bottom: calc(var(--nav-h) + 18px + env(safe-area-inset-bottom)); } }

/* --------------------------------------------------------------- chat IA */

.chat-fab {
  position: fixed; right: 18px; z-index: 94;
  bottom: calc(88px + env(safe-area-inset-bottom));
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  border: 1px solid var(--line); color: var(--green-200);
  cursor: pointer; box-shadow: var(--sh-md); transition: transform .2s;
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab svg { width: 27px; height: 27px; }
@media (max-width: 900px) { .chat-fab { bottom: calc(var(--nav-h) + 88px + env(safe-area-inset-bottom)); } }

.chat-panel {
  position: fixed; z-index: 120; right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: min(400px, calc(100vw - 36px));
  height: min(600px, calc(100vh - 100px));
  display: none; flex-direction: column;
  background: var(--surface-solid);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.chat-panel.aberto { display: flex; animation: subir .28s cubic-bezier(.2,.9,.3,1.1); }
@keyframes subir { from { opacity: 0; transform: translateY(24px) scale(.97); } }

@media (max-width: 560px) {
  .chat-panel {
    right: 0; left: 0; bottom: 0; top: 0;
    width: 100%; height: 100%; border-radius: 0; border: 0;
  }
}

.chat-hdr {
  display: flex; align-items: center; gap: .7rem;
  padding: .9rem 1rem;
  background: linear-gradient(135deg, rgba(0,120,48,.25), rgba(6,42,68,.9));
  border-bottom: 1px solid var(--line-soft);
  padding-top: calc(.9rem + env(safe-area-inset-top));
}
.chat-hdr img { width: 36px; height: 36px; border-radius: 50%; }
.chat-hdr .t { flex: 1; min-width: 0; }
.chat-hdr strong { display: block; font-size: .95rem; color: var(--text-strong); }
.chat-hdr span { font-size: .74rem; color: var(--green-200); display: flex; align-items: center; gap: .3rem; }
.chat-hdr span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-200); box-shadow: 0 0 8px var(--green-200);
}
.chat-fechar {
  background: none; border: 0; color: var(--muted); cursor: pointer;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
}
.chat-fechar:hover { background: rgba(255,255,255,.07); color: var(--text); }

.chat-corpo {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .7rem;
  scrollbar-width: thin;
}
.msg {
  max-width: 85%; padding: .7rem .95rem; border-radius: var(--r-md);
  font-size: .92rem; line-height: 1.55; word-wrap: break-word;
}
.msg.bot {
  background: rgba(20, 62, 92, .55); border: 1px solid var(--line-soft);
  align-self: flex-start; border-bottom-left-radius: 5px;
}
.msg.user {
  background: var(--grad-green); color: #04121C; font-weight: 500;
  align-self: flex-end; border-bottom-right-radius: 5px;
}
.msg.erro { background: rgba(255,107,107,.14); border: 1px solid rgba(255,107,107,.3); align-self: flex-start; }
.msg p { margin: 0 0 .5em; }
.msg p:last-child { margin: 0; }
.msg strong { color: inherit; font-weight: 700; }
.msg ul { margin: .4em 0; padding-left: 1.1em; }

.chat-sugestoes { display: flex; flex-wrap: wrap; gap: .4rem; padding: 0 1rem .6rem; }
.chat-sugestoes button {
  font-size: .78rem; padding: .45rem .8rem; min-height: 40px;
  background: rgba(110,208,78,.1); border: 1px solid var(--line);
  color: var(--green-200); border-radius: var(--r-full); cursor: pointer;
  transition: background .18s;
}
.chat-sugestoes button:hover { background: rgba(110,208,78,.22); }

.chat-form {
  display: flex; gap: .5rem; padding: .8rem;
  border-top: 1px solid var(--line-soft); background: rgba(3,18,31,.6);
  padding-bottom: calc(.8rem + env(safe-area-inset-bottom));
}
.chat-form input {
  flex: 1; min-width: 0; min-height: 46px; padding: .6rem 1rem;
  background: rgba(3,18,31,.8); border: 1.5px solid var(--line-soft);
  border-radius: var(--r-full); color: var(--text); font-size: .95rem;
}
.chat-form input::placeholder { color: var(--muted-dim); }
.chat-form input:focus { outline: none; border-color: var(--green-300); }
.chat-form button {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
  background: var(--grad-green); border: 0; color: #04121C;
  display: grid; place-items: center; cursor: pointer;
}
.chat-form button:disabled { opacity: .45; cursor: not-allowed; }
.chat-form button svg { width: 20px; height: 20px; }

.digitando { display: flex; gap: 4px; padding: .8rem 1rem; align-self: flex-start; }
.digitando span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green-200);
  animation: bolha 1.3s infinite ease-in-out;
}
.digitando span:nth-child(2) { animation-delay: .18s; }
.digitando span:nth-child(3) { animation-delay: .36s; }
@keyframes bolha {
  0%, 60%, 100% { transform: translateY(0); opacity: .4; }
  30%           { transform: translateY(-7px); opacity: 1; }
}

/* ----------------------------------------------------------- formulários */

.form-campo { margin-bottom: 1.15rem; }
.form-campo > label,
.form-legenda {
  display: block; font-size: .88rem; font-weight: 600;
  color: var(--text); margin-bottom: .45rem;
}
.form-campo .dica { font-size: .78rem; color: var(--muted-dim); font-weight: 400; display: block; margin-top: .3rem; }

.input, select.input, textarea.input {
  width: 100%; min-height: 54px; padding: .85rem 1.1rem;
  background: rgba(3, 18, 31, .7);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md);
  color: var(--text); font-size: 1rem;
  transition: border-color .18s, box-shadow .18s, background .18s;
  appearance: none; -webkit-appearance: none;
}
textarea.input { min-height: 110px; resize: vertical; line-height: 1.6; }
.input::placeholder { color: var(--muted-dim); }
.input:hover { border-color: rgba(157,178,196,.28); }
.input:focus {
  outline: none; border-color: var(--green-300);
  box-shadow: 0 0 0 4px rgba(110,208,78,.14);
  background: rgba(3, 18, 31, .9);
}
.input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(255,107,107,.12);
}
select.input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239DB2C4' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.8rem; cursor: pointer;
}
select.input option { background: var(--navy-900); color: var(--text); }

.erro-campo {
  display: none; align-items: center; gap: .35rem;
  font-size: .82rem; color: var(--danger); margin-top: .4rem;
}
.erro-campo.visivel { display: flex; }

.form-linha { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .form-linha.c2 { grid-template-columns: 1fr 1fr; }
  .form-linha.c3 { grid-template-columns: 1fr 1fr 1fr; }
  .form-linha.c21 { grid-template-columns: 2fr 1fr; }
}

/* opções em cartão (radio) */
.opcoes { display: grid; gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .opcoes.c2 { grid-template-columns: 1fr 1fr; } }
.opcao {
  position: relative; display: flex; align-items: center; gap: .75rem;
  padding: .95rem 1.1rem; min-height: 56px;
  background: rgba(3, 18, 31, .6);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md); cursor: pointer;
  transition: all .18s;
  -webkit-tap-highlight-color: transparent;
}
.opcao:hover { border-color: rgba(110,208,78,.35); }
.opcao input { position: absolute; opacity: 0; width: 0; height: 0; }
.opcao .marca {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--muted-dim); transition: all .18s;
  display: grid; place-items: center;
}
.opcao .marca::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%;
  background: #04121C; transform: scale(0); transition: transform .18s;
}
.opcao .txt { font-size: .94rem; font-weight: 500; line-height: 1.35; }
.opcao .txt small { display: block; font-size: .78rem; color: var(--muted-dim); font-weight: 400; }
.opcao:has(input:checked) {
  border-color: var(--green-300);
  background: linear-gradient(150deg, rgba(36,144,48,.22), rgba(3,18,31,.6));
}
.opcao:has(input:checked) .marca { border-color: var(--green-200); background: var(--green-200); }
.opcao:has(input:checked) .marca::after { transform: scale(1); }
.opcao:has(input:focus-visible) { outline: 3px solid var(--green-200); outline-offset: 3px; }

/* checkbox de consentimento */
.consent {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.1rem; margin-bottom: .8rem;
  background: rgba(3, 18, 31, .55);
  border: 1.5px solid var(--line-soft);
  border-radius: var(--r-md); cursor: pointer;
  transition: border-color .18s;
}
.consent:has(input:checked) { border-color: rgba(110,208,78,.4); }
.consent:has(input:focus-visible) { outline: 3px solid var(--green-200); outline-offset: 3px; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0; margin-top: 1px;
  border: 2px solid var(--muted-dim); display: grid; place-items: center;
  transition: all .18s;
}
.consent .box svg { width: 14px; height: 14px; color: #04121C; transform: scale(0); transition: transform .18s; }
.consent:has(input:checked) .box { background: var(--green-200); border-color: var(--green-200); }
.consent:has(input:checked) .box svg { transform: scale(1); }
.consent .txt { font-size: .88rem; line-height: 1.55; color: var(--muted); }
.consent .txt b { color: var(--text); }

/* ------------------------------------------------------------- wizard */

.wz-topo { margin-bottom: 2rem; }
.wz-barra {
  height: 8px; border-radius: var(--r-full);
  background: rgba(3, 18, 31, .8);
  border: 1px solid var(--line-soft); overflow: hidden;
}
.wz-barra i {
  display: block; height: 100%; width: 0;
  background: var(--grad-green);
  border-radius: var(--r-full);
  transition: width .45s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 0 14px rgba(110,208,78,.6);
}
.wz-info {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: .7rem; font-size: .84rem; color: var(--muted);
}
.wz-info b { color: var(--green-200); }

.wz-etapa { display: none; animation: entrar .35s cubic-bezier(.2,.9,.3,1); }
.wz-etapa.ativa { display: block; }
@keyframes entrar { from { opacity: 0; transform: translateX(18px); } }

.wz-etapa h2 { font-size: clamp(1.35rem, 3.5vw, 1.8rem); margin-bottom: .3rem; }
.wz-etapa .sub { color: var(--muted); font-size: .95rem; margin-bottom: 1.75rem; }

.wz-acoes {
  display: flex; gap: .75rem; margin-top: 2rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line-soft);
}
.wz-acoes .btn { flex: 1; }
@media (min-width: 560px) {
  .wz-acoes { justify-content: flex-end; }
  .wz-acoes .btn { flex: 0 0 auto; min-width: 150px; }
  .wz-acoes .btn-ghost { margin-right: auto; }
}

.resumo-box {
  background: linear-gradient(150deg, rgba(0,120,48,.16), rgba(3,18,31,.5));
  border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.25rem; margin-bottom: 1.5rem;
}
.resumo-box dl { margin: 0; display: grid; gap: .55rem; }
.resumo-box .li {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: .92rem; padding-bottom: .55rem;
  border-bottom: 1px dashed var(--line-soft);
}
.resumo-box .li:last-child { border-bottom: 0; padding-bottom: 0; }
.resumo-box dt { color: var(--muted); }
.resumo-box dd { margin: 0; font-weight: 600; color: var(--text-strong); text-align: right; }

/* ------------------------------------------------------------ sucesso */

.sucesso-ico {
  width: 96px; height: 96px; margin: 0 auto 1.5rem;
  border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-green); box-shadow: 0 0 60px rgba(110,208,78,.5);
  animation: pop .55s cubic-bezier(.34,1.56,.64,1);
}
.sucesso-ico svg { width: 48px; height: 48px; color: #04121C; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }

.protocolo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  letter-spacing: .06em; color: var(--gold);
  background: rgba(255, 198, 95, .1);
  border: 1px dashed rgba(255, 198, 95, .4);
  padding: .7rem 1.4rem; border-radius: var(--r-md);
  margin: .5rem 0 1.5rem;
}

/* ------------------------------------------------------------- utilitários */

.txt-c { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.75rem; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.tiny  { font-size: .76rem; }

.alerta {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--r-md);
  font-size: .89rem; line-height: 1.55; margin-bottom: 1.25rem;
}
.alerta svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alerta-info { background: rgba(78,168,245,.1);  border: 1px solid rgba(78,168,245,.28);  color: #CFE6FB; }
.alerta-ok   { background: rgba(110,208,78,.1);  border: 1px solid var(--line);            color: #D8F5C8; }
.alerta-warn { background: rgba(255,180,84,.1);  border: 1px solid rgba(255,180,84,.28);  color: #FFE7C2; }
.alerta-erro { background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.28); color: #FFD4D4; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1); }
.rv.vis { opacity: 1; transform: none; }

/* moedas do burst */
.coin {
  position: fixed; pointer-events: none; z-index: 200;
  font-family: var(--font-display); font-weight: 800;
  color: var(--gold); text-shadow: 0 2px 10px rgba(255,198,95,.6);
  will-change: transform, opacity;
}

/* ------------------------------------------------------- acessibilidade */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
  #money-canvas { display: none; }
  .fab-wa::before { display: none; }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #C3D2DE;
    --muted-dim: #A7B9C8;
    --line-soft: rgba(157, 178, 196, .35);
  }
}

/* scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--navy-700); border-radius: var(--r-full); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--navy-600); }

/* impressão */
@media print {
  .hdr, .appbar, .fab-wa, .chat-fab, .chat-panel, .bg-fx, .bg-grid, #money-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}
