/* Layout: o azul-marinho da marca domina (topo, faixas alternadas e fechamentos), com fundos em
   profundidade (marinho profundo, azul royal e um toque de ciano) e amarelo só em destaques e valores. */
:root {
  --bg: #e6ecf8;
  --surface: #ffffff;
  --fg: #0d204a;
  --muted: #47527a;
  --line: #c9d2e6;
  --brand: #0d204a;
  --brand-ink: #ffffff;
  --accent: #d19a12;
  --cta: #0d204a;
  --cta-ink: #ffffff;
  --gold: #f2b632;
  --gold-ink: #1d1500;
  --royal: #2450c4;
  --cyan: #3fb8d9;
  --band: #0a1a3f;
  --band-2: #112b66;
  --band-fg: #f1f4fb;
  --band-muted: #b6c2df;
  --band-line: #2b4079;
  --band-chip: #142c63;
  --shadow: 0 12px 32px rgba(13, 32, 74, 0.12);
  --font-display: "Bricolage Grotesque", "Trebuchet MS", "Segoe UI", sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050b1a; --surface: #0c1730; --fg: #eef2fb; --muted: #a9b5d2; --line: #22325c;
    --brand: #f2b632; --brand-ink: #1d1500; --accent: #f2b632; --cta: #f2b632; --cta-ink: #1d1500;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.45); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #050b1a; --surface: #0c1730; --fg: #eef2fb; --muted: #a9b5d2; --line: #22325c;
    --brand: #f2b632; --brand-ink: #1d1500; --accent: #f2b632; --cta: #f2b632; --cta-ink: #1d1500;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.45); color-scheme: dark;
}
/* Escopo escuro: dentro das faixas marinho, texto claro e destaques em amarelo, nos dois temas. */
.band, .block.alt, .proof, .site-header, .site-footer, .builder-out {
  --fg: #f1f4fb; --muted: #b6c2df; --line: #2b4079; --surface: #142c63;
  --brand: #f2b632; --brand-ink: #1d1500; --accent: #f2b632; --cta: #f2b632; --cta-ink: #1d1500;
  --shadow: 0 14px 34px rgba(3, 9, 26, 0.45);
  color: var(--fg);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--font-body); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, label:focus-within {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.eyebrow { font: 500 0.78rem/1.2 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 60ch; }
.note { font-size: 0.86rem; color: var(--muted); max-width: 70ch; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 6px; border: 2px solid transparent; font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; text-align: center; }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-solid { background: var(--brand); color: var(--brand-ink); }
.btn-solid:hover { filter: brightness(1.12); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; color: var(--brand); text-underline-offset: 3px; }

/* Cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--band); color: var(--band-fg); border-bottom: 1px solid var(--band-line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 10px; }
.logo { font: 700 1.3rem/1 var(--font-display); text-decoration: none; display: inline-flex; align-items: baseline; gap: 6px; }
.logo { align-items: center; gap: 10px; }
.logo img { height: 34px; width: auto; display: block; }
.nav { display: flex; gap: 4px 22px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; font-weight: 500; font-size: 0.96rem; padding: 8px 0; color: var(--band-muted); border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--band-fg); border-bottom-color: var(--accent); }
.site-header .btn { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
@media (max-width: 760px) {
  .site-header .wrap { gap: 4px 12px; }
  .logo { flex: 1 1 auto; }
  .nav { order: 3; flex-basis: 100%; }
}

/* Faixas escuras */
.band { background: var(--band); color: var(--band-fg); }
.band .eyebrow { color: var(--accent); }
.band .lead, .band .note { color: var(--band-muted); }

.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 48px; align-items: center; padding-block: 64px 72px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero h1 em { font-style: normal; color: var(--accent); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); padding-block: 40px 48px; gap: 32px; } }

/* Painel de conselhos (detalhe do assunto) */
.councils { border: 1px solid var(--band-line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.councils-title { font: 500 0.78rem/1.3 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--band-muted); }
.council-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(86px, 1fr)); gap: 8px; }
.council-grid li { background: var(--band-chip); border: 1px solid var(--band-line); border-radius: 6px; padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.council-grid strong { font: 600 0.98rem/1.2 var(--font-data); color: var(--band-fg); }
.council-grid span { font-size: 0.74rem; line-height: 1.25; color: var(--band-muted); }

/* Faixa de prova */
.proof { background: var(--surface); border-bottom: 1px solid var(--line); }
.proof ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 20px 32px; padding-block: 26px; }
.proof li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof strong { font: 700 1.5rem/1.15 var(--font-display); color: var(--brand); }
.proof span { font-size: 0.92rem; color: var(--muted); }

section.block { padding-block: 72px; }
@media (max-width: 760px) { section.block { padding-block: 48px; } }
.block.alt { background: var(--surface); border-block: 1px solid var(--line); }

/* Três portas */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.door { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.door ul { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.98rem; flex: 1; }
.door li { padding-left: 18px; position: relative; }
.door li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 2px; background: var(--accent); }
.door-tag { font: 500 0.78rem/1 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--brand); }

/* Profissões */
.prof-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.prof { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding-block: 20px; border-top: 1px solid var(--line); align-items: start; }
.prof-code { font: 600 0.86rem/1.35 var(--font-data); color: var(--brand); }
.prof-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.prof-body p { color: var(--muted); font-size: 0.97rem; }
.others { margin-top: 28px; padding: 20px 22px; border: 1px dashed var(--line); border-radius: 10px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.others p { max-width: 62ch; min-width: 0; }

/* Passos (sequência real) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 3px solid var(--accent); min-width: 0; }
.steps li::before { content: "Passo " counter(step); font: 500 0.78rem/1 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.steps p { color: var(--muted); font-size: 0.98rem; }
.band .steps li::before, .band .steps p { color: var(--band-muted); }

/* Consultoria */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
@media (max-width: 880px) { .split { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.svc { display: flex; flex-direction: column; }
.svc li { padding-block: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.svc li:last-child { border-bottom: 1px solid var(--line); }
.svc p { color: var(--muted); font-size: 0.97rem; }

/* Preços de certificado */
.price-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price-card { border: 1px solid var(--band-line); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; background: var(--band-chip); }
.price-card .kind { font: 500 0.8rem/1.2 var(--font-data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--band-muted); }
.price-card .value { font: 700 1.9rem/1.1 var(--font-display); font-variant-numeric: tabular-nums; }
.price-card .sub { font-size: 0.88rem; color: var(--band-muted); }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
table.prices { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 0.98rem; }
.prices th, .prices td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.prices thead th { font: 500 0.76rem/1.2 var(--font-data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.prices tbody tr:last-child td, .prices tbody tr:last-child th { border-bottom: 0; }
.prices tbody th { font-weight: 600; }
.prices .num { font-family: var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices .pix { font-weight: 600; color: var(--brand); }
.prices .btn { min-height: 38px; padding: 6px 14px; font-size: 0.9rem; }

/* Montador */
.builder { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
@media (max-width: 880px) { .builder { grid-template-columns: minmax(0, 1fr); } }
.builder-form { padding: 28px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.builder fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.builder legend { font: 500 0.78rem/1.2 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: 10px; }
.opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 8px; cursor: pointer; min-width: 0; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt strong { font-weight: 600; }
.opt span { font-size: 0.86rem; color: var(--muted); line-height: 1.35; }
.opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); }
.opt:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.builder-out { background: var(--band); color: var(--band-fg); padding: 28px; display: flex; flex-direction: column; gap: 14px; justify-content: center; min-width: 0; }
.builder-out .kind { font: 500 0.82rem/1.3 var(--font-data); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.builder-out .value { font: 700 clamp(2.4rem, 6vw, 3.4rem)/1 var(--font-display); font-variant-numeric: tabular-nums; }
.builder-out p { color: var(--band-muted); font-size: 0.95rem; }

/* Comparativo A1 x A3 */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.compare article { border: 1px solid var(--line); border-radius: 10px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); min-width: 0; }
.compare dl { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 8px 14px; font-size: 0.96rem; }
.compare dt { color: var(--muted); }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 32px 18px 0; font: 600 1.06rem/1.35 var(--font-display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.5rem/1 var(--font-data); color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 68ch; }

/* Contato */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 72px; }
@media (max-width: 880px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-block: 48px; } }
.form { display: flex; flex-direction: column; gap: 14px; background: var(--band-chip); border: 1px solid var(--band-line); border-radius: 12px; padding: 24px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--band-muted); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--band-line); background: var(--band); color: var(--band-fg); font: 400 1rem/1.4 var(--font-body); }
.field textarea { min-height: 96px; resize: vertical; }
.contact-data { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-data); font-size: 0.98rem; user-select: all; }

/* Rodapé */
.site-footer { background: var(--band); color: var(--band-muted); border-top: 1px solid var(--band-line); font-size: 0.94rem; }
.site-footer .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 40px; padding-block: 40px; }
.site-footer h3 { font: 500 0.78rem/1.2 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--band-fg); margin-bottom: 12px; }
.site-footer ul { display: flex; flex-direction: column; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--band-fg); text-decoration: underline; }
.site-footer .logo { color: var(--band-fg); margin-bottom: 12px; }
.legal { border-top: 1px solid var(--band-line); }
.site-footer .legal .wrap { display: block; padding-block: 16px; font-size: 0.84rem; }

/* WhatsApp flutuante */
.wa-float { border-color: #ffffff; position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28); border-radius: 999px; }

[id] { scroll-margin-top: 120px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Painel comparativo do topo */
.versus { border: 1px solid var(--band-line); border-radius: 10px; overflow: hidden; min-width: 0; }
.versus-title { padding: 16px 20px; font: 500 0.78rem/1.3 var(--font-data); letter-spacing: 0.09em; text-transform: uppercase; color: var(--band-muted); border-bottom: 1px solid var(--band-line); }
.versus dl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.versus dt, .versus dd { padding: 14px 20px; border-bottom: 1px solid var(--band-line); font-size: 0.95rem; line-height: 1.4; }
.versus dt { color: var(--band-muted); }
.versus dd { background: var(--band-chip); color: var(--band-fg); font-weight: 500; }
.versus .col { font: 500 0.74rem/1.3 var(--font-data); letter-spacing: 0.08em; text-transform: uppercase; }
.versus dl > :nth-last-child(-n+2) { border-bottom: 0; }
.checks { display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 22px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 10px; height: 2px; background: var(--accent); }
.limits { display: flex; flex-direction: column; }
.limits li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 14px; border-top: 1px solid var(--line); }
.limits li:last-child { border-bottom: 1px solid var(--line); }
.limits strong { font: 600 1rem/1.5 var(--font-data); font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (min-width: 761px) { .site-header .wrap { flex-wrap: nowrap; } }
.site-header .btn { white-space: nowrap; flex: none; }

/* ---------- Fundos com profundidade ---------- */
body { background: var(--bg); }
.band { position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 520px at 88% -12%, rgba(36, 80, 196, 0.6), transparent 62%),
    radial-gradient(720px 440px at -8% 112%, rgba(63, 184, 217, 0.2), transparent 60%),
    linear-gradient(160deg, #0a1a3f 0%, #0d204a 55%, #071330 100%); }
.block.alt { border: 0; position: relative; overflow: hidden; isolation: isolate;
  background:
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.028) 0 2px, transparent 2px 26px),
    radial-gradient(800px 460px at 100% 0%, rgba(63, 184, 217, 0.14), transparent 60%),
    linear-gradient(180deg, #112b66 0%, #0d2255 100%); }
.proof { border: 0; background: linear-gradient(90deg, #112b66, #17367c 50%, #112b66); }
.proof strong { color: var(--gold); }
.proof span { color: var(--band-muted); }
.site-header { background: rgba(8, 21, 51, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(3, 9, 26, 0.45); }
.site-footer { background: #071330; }
section.block:not(.alt):not(.band) { background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%); }

/* Triângulos do logo como textura do topo */
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; pointer-events: none; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.hero::before { width: 620px; height: 560px; right: -160px; top: -120px; background: linear-gradient(180deg, rgba(63, 184, 217, 0.16), rgba(36, 80, 196, 0)); }
.hero::after { width: 340px; height: 300px; left: -90px; bottom: -110px; background: linear-gradient(180deg, rgba(242, 182, 50, 0.12), rgba(242, 182, 50, 0)); }

/* Amarelo em destaques e valores */
.hero h1 em { color: var(--gold); }
.price-card .value, .builder-out .value { color: var(--gold); }
.builder-out .kind { color: var(--band-muted); }
.builder-out { background: linear-gradient(160deg, #0a1a3f, #112b66); }
.door h3 mark, mark { background: none; color: inherit; box-shadow: inset 0 -0.45em 0 rgba(242, 182, 50, 0.55); }
.prices .pix { color: var(--brand); }
.limits strong { color: var(--brand); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); flex: none; }

/* Cartões com mais contraste */
.door, .builder { box-shadow: var(--shadow); }
.door { border-top: 4px solid var(--brand); }
.versus, .councils { background: rgba(10, 26, 63, 0.55); box-shadow: var(--shadow); }
.compare article, .table-scroll { box-shadow: var(--shadow); }
.wa-float { border-color: var(--gold); background: #0d204a; color: #ffffff; }
.btn-ghost { border-color: currentColor; }

/* ---------- Movimento ---------- */
.btn { transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease; }
.door, .price-card, .compare article { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.nav a { transition: color 0.2s ease, border-color 0.2s ease; }
.progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: 0 50%; }
.opt { transition: border-color 0.2s ease, background-color 0.2s ease; }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(3, 9, 26, 0.28); }
  .door:hover, .compare article:hover { transform: translateY(-6px); }
  .price-card:hover { transform: translateY(-6px); border-color: var(--gold); }

  @keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
  @keyframes slide-in { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
  @keyframes drift { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(-36px, 28px, 0) rotate(4deg); } }
  @keyframes drift-b { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(30px, -24px, 0); } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 182, 50, 0.55), 0 6px 20px rgba(0, 0, 0, 0.28); } 70%, 100% { box-shadow: 0 0 0 16px rgba(242, 182, 50, 0), 0 6px 20px rgba(0, 0, 0, 0.28); } }
  @keyframes pop { 0% { transform: scale(0.9); opacity: 0.4; } 60% { transform: scale(1.05); } 100% { transform: none; opacity: 1; } }
  @keyframes underline { from { background-size: 0 0.14em; } to { background-size: 100% 0.14em; } }
  @keyframes open { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

  .hero-copy > * { animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-copy > :nth-child(2) { animation-delay: 0.1s; }
  .hero-copy > :nth-child(3) { animation-delay: 0.2s; }
  .hero-copy > :nth-child(4) { animation-delay: 0.3s; }
  .hero-copy > :nth-child(5) { animation-delay: 0.4s; }
  .hero aside { animation: slide-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
  .hero h1 em { background: linear-gradient(var(--gold), var(--gold)) no-repeat 0 100% / 100% 0.14em; padding-bottom: 0.08em; animation: underline 0.9s ease 0.7s both; }
  .hero::before { animation: drift 16s ease-in-out infinite alternate; }
  .hero::after { animation: drift-b 13s ease-in-out infinite alternate; }
  .wa-float { animation: pulse 2.6s ease-out infinite; }
  .faq details[open] p { animation: open 0.3s ease both; }
  .faq summary::after { transition: transform 0.25s ease; }
  .faq details[open] summary::after { transform: rotate(180deg); }
  .pop { animation: pop 0.4s ease both; display: inline-block; }

  .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .reveal.from-left { transform: translateX(-36px); }
  .reveal.from-right { transform: translateX(36px); }
  .reveal.in { opacity: 1; transform: none; }
}

.logo { white-space: nowrap; flex: none; }
.nav { gap: 4px 18px; }
.nav a { font-size: 0.93rem; }
@media (max-width: 760px) { .logo { flex: 1 1 auto; } }

/* ---------- Ilustrações ---------- */
.figure { display: block; width: 100%; height: auto; overflow: visible; }
.hero-figure { max-width: 460px; width: 100%; margin-inline: auto; min-width: 0; }
.side-figure { max-width: 400px; width: 100%; margin-inline: auto; min-width: 0; }
.side-figure.small { max-width: 280px; margin: 8px 0 0; }
.figure-split { align-items: center; }
.figure-split .versus { margin-top: 8px; }
.councils .figure { max-width: 330px; margin-inline: auto; }
.price-strip.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.price-strip.compact .price-card { padding: 14px; }
.price-strip.compact .value { font-size: 1.45rem; }
.mini { width: 96px; height: auto; display: block; }
@media (max-width: 880px) { .hero-figure { max-width: 320px; } .side-figure { max-width: 300px; } }
@media (prefers-reduced-motion: no-preference) {
  @keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }
  .figure .float { animation: bob 3.6s ease-in-out infinite alternate; }
  .figure .f2 { animation-duration: 4.4s; animation-delay: -1.2s; }
  .figure .f3 { animation-duration: 3s; animation-delay: -0.6s; }
  .hero-figure { animation: slide-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.25s both; }
}

/* ---------- Foto no topo ---------- */
.hero-photo { position: relative; align-self: end; justify-self: center; width: 100%; max-width: 400px; height: 560px; margin-bottom: -72px; min-width: 0; }
.hero-photo img { position: absolute; left: 50%; bottom: auto; top: 0; width: 330px; max-width: 86%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 18px 30px rgba(3, 9, 26, 0.55)); }
.hero-photo .tri { position: absolute; left: 50%; top: 70px; width: 400px; max-width: 100%; aspect-ratio: 1.08; transform: translateX(-50%); clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, #f2b632 0%, #d19a12 100%); }
.photo-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #ffffff; color: #0d204a; font: 600 0.86rem/1.2 var(--font-body); box-shadow: 0 12px 26px rgba(3, 9, 26, 0.4); white-space: nowrap; }
.photo-chip span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f2b632; font-size: 0.8rem; }
.photo-chip.c1 { left: -6px; top: 300px; }
.photo-chip.c2 { right: -4px; top: 150px; }
@media (max-width: 880px) {
  .hero-photo { height: 400px; margin-bottom: -48px; max-width: 340px; }
  .hero-photo img { width: 250px; }
  .hero-photo .tri { top: 50px; width: 300px; }
  .photo-chip.c1 { left: 0; top: 230px; }
  .photo-chip.c2 { right: 0; top: 110px; }
}
@media (prefers-reduced-motion: no-preference) {
  @keyframes photo-in { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
  @keyframes tri-in { from { opacity: 0; scale: 0.7; } to { opacity: 1; scale: 1; } }
  .hero-photo img { animation: photo-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
  .hero-photo .tri { animation: tri-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.05s both; }
  .photo-chip { animation: rise 0.7s ease 0.8s both, bob 3.8s ease-in-out 1.6s infinite alternate; }
  .photo-chip.c2 { animation-delay: 1s, 1.9s; }
}

/* ---------- Janelas de pré-atendimento ---------- */
.dlg { width: min(640px, calc(100vw - 24px)); max-height: min(92vh, 860px); padding: 0; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--fg); box-shadow: 0 30px 80px rgba(3, 9, 26, 0.55); overflow: auto; }
.dlg::backdrop { background: rgba(5, 11, 26, 0.72); }
.dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin: 0; padding: 22px 24px 18px; background: linear-gradient(160deg, #0a1a3f, #112b66); color: #f1f4fb; }
.dlg-head h2 { font-size: 1.35rem; }
.dlg-head p { margin-top: 6px; font-size: 0.93rem; color: #b6c2df; }
.dlg-x { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #2b4079; background: transparent; color: #f1f4fb; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.dlg-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 16px; }
.dlg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dlg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dlg-field.wide { grid-column: 1 / -1; }
.dlg-field label { font-size: 0.88rem; font-weight: 600; }
.dlg-field input, .dlg-field select { width: 100%; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 400 1rem/1.4 var(--font-body); }
@media (max-width: 520px) { .dlg-grid { grid-template-columns: minmax(0, 1fr); } }
.dlg-docs { padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 8px; background: var(--bg); display: flex; flex-direction: column; gap: 10px; }
.dlg-docs h3 { font-size: 1rem; }
.dlg-docs ul { display: flex; flex-direction: column; gap: 6px; }
.dlg-docs li { padding-left: 20px; position: relative; }
.dlg-docs li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 10px; height: 2px; background: var(--accent); }
.dlg-note { font-size: 0.9rem; color: var(--muted); margin-top: 8px; }
.dlg-hint, .dlg-later { font-size: 0.88rem; color: var(--muted); }
.dlg-later a { color: var(--brand); font-weight: 600; text-underline-offset: 3px; }
.dlg-later .sel { user-select: all; font-family: var(--font-data); font-size: 0.84rem; }
.dlg-error { padding: 10px 12px; border-radius: 6px; background: #fde8e8; color: #8a1f1f; font-size: 0.92rem; font-weight: 500; }
.dlg-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.dlg-actions .btn { flex: 1 1 200px; }
#contato-extra .dlg-field label { color: var(--band-muted); font-weight: 500; font-size: 0.9rem; }
#contato-extra .dlg-field input, #contato-extra .dlg-field select { background: var(--band); color: var(--band-fg); border-color: var(--band-line); }
.form .btn-row .btn { flex: 1 1 180px; }
.doc-note { font-size: 0.9rem; color: var(--muted); margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  @keyframes dlg-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
  .dlg[open] { animation: dlg-in 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
}

/* Foto nova (enquadramento mais largo) */
.hero-photo { max-width: 460px; height: 580px; }
.hero-photo img { width: 420px; max-width: 94%; }
.hero-photo .tri { top: 60px; width: 460px; }
.photo-chip.c1 { left: -18px; top: 330px; }
.photo-chip.c2 { right: -14px; top: 120px; }
@media (max-width: 880px) {
  .hero-photo { height: 420px; max-width: 340px; }
  .hero-photo img { width: 300px; }
  .hero-photo .tri { top: 40px; width: 330px; }
  .photo-chip.c1 { left: 0; top: 250px; }
  .photo-chip.c2 { right: 0; top: 90px; }
}

@media (max-width: 880px) { .photo-chip.c2 { top: 180px; right: -4px; } }

.dlg-field textarea { width: 100%; padding: 11px 12px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--fg); font: 400 1rem/1.4 var(--font-body); resize: vertical; min-height: 84px; }

a[role="button"] { cursor: pointer; }

/* Nada entra pela lateral empurrando a largura da página */
main { overflow-x: clip; }

/* ---------- Menu em telas menores ---------- */
.menu-btn { display: none; flex: none; width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--band-line); background: transparent; color: var(--band-fg); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; transition: transform 0.25s ease, opacity 0.2s ease; }
@media (max-width: 1140px) {
  .site-header.has-menu .wrap { flex-wrap: nowrap; gap: 10px; }
  .site-header.has-menu .logo { flex: 1 1 auto; }
  .site-header.has-menu .menu-btn { display: inline-flex; }
  .site-header.has-menu .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; order: 0; flex: none; flex-direction: column; gap: 0; overflow: visible; padding: 4px 20px 14px; background: #081533; border-bottom: 1px solid var(--band-line); box-shadow: 0 18px 30px rgba(3, 9, 26, 0.5); }
  .site-header.has-menu.open .nav { display: flex; }
  .site-header.has-menu .nav a { padding: 15px 0; font-size: 1.05rem; color: var(--band-fg); border-bottom: 1px solid var(--band-line); }
  .site-header.has-menu .nav a:last-child { border-bottom: 0; }
  .site-header.has-menu.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.has-menu.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-header.has-menu.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) { .site-header.has-menu .wrap > .btn { display: none; } }
@media (prefers-reduced-motion: no-preference) and (max-width: 1140px) {
  .site-header.has-menu.open .nav { animation: open 0.25s ease both; }
}
