@charset "UTF-8";

/* Gestão de Frotas Brasil — identidade do FroX (vermelho oklch(55% .22 25), Montserrat, raio de 2px).
   Mesma marca do app e da LP site.froxbr.com. Mobile primeiro; o que está lado a lado no computador
   continua lado a lado no celular (doutrina de interface, seção 1). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-ext-var.woff2?v=c33f88bf") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/assets/fonts/montserrat-latin-var.woff2?v=b6711dec") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --brand: #d3132e;
  --brand-600: #b90e27;
  --brand-700: #9a0b20;
  --brand-100: #fbdfe3;
  --brand-50: #fef3f4;
  --brand-on-dark: #f2616c;
  --verde-no-escuro: #4ade80;
  --verde-no-claro: #15803d;
  --ink: #101216;
  --ink-2: #353a42;
  --ink-3: #565d68;
  --line: #e3e5e9;
  --line-2: #d3d6dc;
  --bg: #fcfcfc;
  --bg-subtle: #f4f5f7;
  --white: #fff;
  --dark: #12141a;
  --dark-2: #1b1e26;
  --dark-line: rgba(255, 255, 255, .12);
  --dark-ink-2: #c3c8d2;
  --ok: #0f8a4f;
  --radius: 2px;
  --shell: min(1200px, calc(100% - clamp(2rem, 6vw, 7rem)));
  --nav-h: 64px;
  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
@supports (color: oklch(0% 0 0)) {
  :root {
    --brand: oklch(55% 0.22 25);
    --brand-600: oklch(49% 0.21 25);
    --brand-700: oklch(43% 0.19 25);
    --brand-100: oklch(92% 0.05 25);
    --brand-50: oklch(97% 0.02 25);
    --brand-on-dark: oklch(68% 0.19 25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; background: var(--dark); overflow-x: clip; }
body { max-width: 100vw; overflow-x: clip; background: var(--bg); color: var(--ink-2); font: 400 1rem/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-synthesis-weight: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
:where(p, li) { text-wrap: pretty; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .band--dark :focus-visible, .closing :focus-visible { outline-color: #fff; }
.skip { position: fixed; z-index: 100; top: -4rem; left: 1rem; padding: .7rem 1rem; background: var(--ink); color: #fff; font-weight: 700; }
.skip:focus { top: .75rem; }

.shell { width: var(--shell); margin-inline: auto; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -.022em; line-height: 1.1; }
.label { display: inline-flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--brand-600); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.label::before { content: ""; width: 1.5rem; height: 2px; background: currentColor; }
.label--light { color: var(--brand-on-dark); }
.h2 { font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem); }
.h2 em { color: var(--brand); font-style: normal; }
.on-dark .h2 em, .band--dark .h2 em, .closing .h2 em { color: var(--brand-on-dark); }
.lead { max-width: 56ch; margin-top: 1.1rem; color: var(--ink-3); font-size: clamp(1rem, .94rem + .3vw, 1.175rem); }

/* ---------- botões ---------- */
.button, .nav-cta { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.35rem; border: 1px solid transparent; border-radius: var(--radius); background: var(--brand-600); color: #fff; font-size: .95rem; font-weight: 700; text-align: center; transition: transform .18s var(--ease), background .18s, box-shadow .18s; }
.button svg { width: 1.05em; height: 1.05em; flex: none; }
.button--ghost { border-color: rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.button--line { border-color: var(--line-2); background: var(--white); color: var(--ink); }
.button--white { background: #fff; color: var(--brand-700); }
.button:active, .nav-cta:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .nav-cta:hover { transform: translateY(-2px); background: var(--brand-700); box-shadow: 0 12px 26px -8px rgba(154, 11, 32, .55); }
  .button--ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: none; }
  .button--line:hover { background: var(--bg-subtle); box-shadow: 0 8px 20px -10px rgba(16, 18, 22, .3); }
  .button--white:hover { background: var(--brand-50); color: var(--brand-700); }
}
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.9rem; }
.actions > * { flex: 1 1 10.5rem; }

/* ---------- navegação: estendida na hero, cápsula flutuante depois do 1º scroll ---------- */
.nav-wrap { position: fixed; z-index: 50; inset: 0 0 auto; padding-top: .9rem; transition: padding .3s var(--ease); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: var(--shell); min-height: var(--nav-h); margin-inline: auto; color: #fff; border: 1px solid transparent; border-radius: 999px; transition: width .4s var(--ease), padding .4s var(--ease), background .3s, border-color .3s, box-shadow .3s, min-height .3s; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.05; }
.brand-logo { flex: none; width: auto; height: 1.6rem; }
.brand-logo--preto { display: none; }
.nav-wrap--page:not(.is-compact) .brand-logo--branco { display: none; }
.nav-wrap--page:not(.is-compact) .brand-logo--preto { display: block; }
.brand > span { text-align: center; }
.brand small { display: block; margin-top: .15rem; color: var(--verde-no-escuro); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.nav-links { position: absolute; left: 50%; display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); font-size: .875rem; font-weight: 600; transform: translateX(-50%); }
.nav-links a { position: relative; padding: .5rem 0; opacity: .88; transition: opacity .15s; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 .25rem; height: 2px; background: var(--brand-on-dark); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { gap: 0; white-space: nowrap; min-height: 44px; padding: .55rem 1.1rem; font-size: .84rem; }
.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: inherit; }
.nav-toggle svg { width: 1.4rem; height: 1.4rem; }
.nav-wrap.is-compact { padding-top: .55rem; }
.nav-wrap.is-compact .nav { width: min(880px, calc(100% - 1.25rem)); min-height: 54px; padding-inline: .6rem .55rem 1rem; padding-inline: .9rem .6rem; border-color: rgba(255, 255, 255, .16); background: rgba(18, 20, 26, .86); box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .5); backdrop-filter: blur(14px) saturate(1.3); }
.nav-wrap.is-compact .nav-cta { min-height: 44px; }
.nav-wrap--page .nav { color: var(--ink); }
.nav-wrap--page:not(.is-compact) .brand small { color: var(--verde-no-claro); }
.nav-wrap--page.is-compact .nav { color: #fff; }
.nav-wrap--page:not(.is-compact) .nav { background: transparent; }
.nav-wrap--page { background: linear-gradient(#fff 55%, rgba(255, 255, 255, 0)); padding-bottom: .5rem; }
.nav-wrap--page.is-compact { background: none; padding-bottom: 0; }
.nav-wrap--page.is-compact .brand small { color: var(--verde-no-escuro); }

@media (max-width: 47.99rem) {
  .nav-links { position: absolute; inset: calc(100% + .5rem) 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: .5rem; border: 1px solid var(--dark-line); border-radius: 1rem; background: rgba(18, 20, 26, .96); color: #fff; transform: none; backdrop-filter: blur(14px); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .95rem 1rem; border-radius: .5rem; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-toggle { display: grid; }
  .nav { gap: .35rem; }
  .brand small { display: none; }
  .nav-cta { padding-inline: .8rem; font-size: .78rem; }
  .brand { white-space: nowrap; }
}
@media (max-width: 35.99rem) { .nav-cta-ext { display: none; } }

/* ---------- hero: cobre a tela inteira ---------- */
.hero { position: relative; display: grid; min-height: 100svh; align-items: end; padding: calc(var(--nav-h) + 3.5rem) 0 clamp(2.5rem, 7vh, 5rem); clip-path: inset(0); background: #0b1220; color: #fff; isolation: isolate; }
.hero-media { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 86% 55%; }
.hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(5, 9, 17, .94) 0%, rgba(5, 9, 17, .74) 38%, rgba(5, 9, 17, .12) 72%), linear-gradient(0deg, rgba(5, 9, 17, .88) 0%, rgba(5, 9, 17, 0) 46%); content: ""; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1rem, 6vw, 7rem); align-items: end; }
.hero h1 { max-width: 14ch; color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.9vw, 4.6rem); letter-spacing: -.03em; line-height: 1.08; }
.hero h1 .label { display: flex; margin-bottom: 1.1rem; letter-spacing: .1em; font-size: clamp(.75rem, .7rem + .2vw, .8rem); }
.hero h1 em { color: var(--brand-on-dark); font-style: normal; }
.hero-copy { max-width: 36rem; margin-top: 1.4rem; color: #dde1e9; font-size: clamp(1rem, .92rem + .4vw, 1.2rem); }
.hero .actions { margin-top: 1.8rem; }
.hero-ticks { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.4rem; color: #cfd4de; font-size: .84rem; font-weight: 600; }
.hero-ticks li { display: inline-flex; align-items: center; gap: .45rem; }
.hero-ticks svg { width: 1rem; height: 1rem; color: #4ade80; }
.hero-side { display: grid; gap: .65rem; }
.metric { position: relative; padding: 1rem 1.1rem 1rem 1.3rem; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); background: rgba(14, 18, 28, .58); backdrop-filter: blur(12px); }
.metric strong { display: block; color: #fff; font-size: clamp(1.3rem, 1.05rem + .9vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.metric span { display: block; margin-top: .4rem; color: #cfd5e0; font-size: .84rem; line-height: 1.35; }
.scroll-hint { position: absolute; z-index: 1; bottom: 1.1rem; left: 50%; display: none; width: 1.5rem; height: 2.4rem; border: 2px solid rgba(255, 255, 255, .5); border-radius: 999px; transform: translateX(-50%); }
.scroll-hint::after { position: absolute; top: .4rem; left: 50%; width: 3px; height: .55rem; margin-left: -1.5px; border-radius: 3px; background: #fff; content: ""; animation: dica 1.8s var(--ease) infinite; }
@keyframes dica { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(.9rem); } }
@media (min-width: 64rem) and (min-height: 760px) { .scroll-hint { display: block; } }

@media (max-width: 47.99rem) {
  .hero { padding-top: calc(var(--nav-h) + 1.75rem); padding-bottom: 1.5rem; }
  .hero-media { object-position: 50% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(5, 9, 17, .95) 0%, rgba(5, 9, 17, .72) 48%, rgba(5, 9, 17, .25) 100%); }
  .hero h1 .label { width: max-content; padding: .3rem .6rem .3rem 0; background: rgba(5, 9, 17, .6); }
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-copy { margin-top: 1rem; font-size: .98rem; }
  .hero .actions { margin-top: 1.3rem; }
  .hero-ticks { display: none; }
  .hero-side { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; }
  .metric { padding: .7rem .6rem .7rem .8rem; }
  .metric strong { font-size: 1rem; }
  .metric span { font-size: .75rem; }
}

/* ---------- seções ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section--tint { background: var(--bg-subtle); }
.section--white { background: var(--white); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(2rem, 4.5vw, 3.75rem); }
.section-head .lead { margin-top: 0; }
.section-head--center { display: block; max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head--center .label { justify-content: center; }
.section-head--center .lead { margin-inline: auto; margin-top: 1rem; }

/* mapa da margem: três linhas, cena + pergunta */
.mapa { display: grid; gap: clamp(2.5rem, 6vw, 5.5rem); }
.mapa-row { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: center; }
.mapa-row:nth-child(even) { grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); }
.mapa-row:nth-child(even) .mapa-texto { order: 2; }
.mapa-num { display: inline-block; margin-bottom: .9rem; color: var(--brand); font-size: clamp(2.6rem, 2rem + 2.6vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.mapa-texto h3 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2.15rem); line-height: 1.18; }
.mapa-texto p { margin-top: .9rem; color: var(--ink-3); }
.mapa-texto .mais { display: inline-flex; margin-top: 1.1rem; color: var(--brand-600); font-size: .9rem; font-weight: 700; }
.mapa-texto .mais::after { content: "→"; margin-left: .4rem; transition: transform .2s var(--ease); }
.mapa-texto .mais:hover::after { transform: translateX(4px); }

/* telas reais do FroX */
.tela { position: relative; margin: 0; }
.tela-moldura { overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 rgba(16, 18, 22, .04), 0 30px 60px -28px rgba(16, 18, 22, .38), 0 12px 24px -18px rgba(16, 18, 22, .3); }
.tela-moldura img { width: 100%; }
.tela figcaption { margin-top: .75rem; color: var(--ink-3); font-size: .78rem; line-height: 1.4; }
.tela-tag { position: absolute; z-index: 1; top: .7rem; left: .7rem; padding: .3rem .6rem; border-radius: var(--radius); background: var(--ink); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tela-tag--plano { background: var(--brand-600); }
.band--dark .tela-moldura { border-color: rgba(255, 255, 255, .16); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.band--dark .tela figcaption { color: var(--dark-ink-2); }

/* calculadora */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1rem, 3vw, 2rem); align-items: stretch; }
.calc-form { padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 50px -34px rgba(16, 18, 22, .35); }
.calc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.campo { display: grid; align-content: start; gap: .35rem; min-width: 0; }
.campo label { color: var(--ink); font-size: .78rem; font-weight: 700; }
.campo small { color: var(--ink-3); font-size: .75rem; line-height: 1.3; }
.campo-wrap { position: relative; display: flex; align-items: center; }
.campo-wrap i { position: absolute; left: .8rem; color: var(--ink-3); font-size: .85rem; font-style: normal; font-weight: 600; pointer-events: none; }
.campo-wrap i.fim { right: .8rem; left: auto; }
.campo input { width: 100%; min-height: 48px; padding: .6rem .8rem .6rem 2.4rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); color: var(--ink); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; transition: border-color .15s, box-shadow .15s, background .15s; }
.campo input.sem-prefixo { padding-left: .8rem; }
.campo input.com-fim { padding-right: 2.6rem; }
.campo input:focus { border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-100); outline: 0; }
.calc-nota { margin-top: 1rem; color: var(--ink-3); font-size: .78rem; }
.calc-res { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 1.25rem; padding: clamp(1.1rem, 3vw, 2rem); border-radius: var(--radius); clip-path: inset(0 round var(--radius)); background: var(--dark); color: #fff; isolation: isolate; }
.calc-res::before { position: absolute; z-index: -1; inset: auto 0 -45% 20%; height: 70%; background: radial-gradient(closest-side, rgba(211, 19, 46, .55), transparent); content: ""; }
.calc-res .titulo { color: var(--dark-ink-2); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.calc-res .valor { margin-top: .4rem; font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc-res .valor.is-neg { color: #ff8b94; }
.calc-res .valor.is-pos { color: #5ee09a; }
.calc-res .veredito { margin-top: .6rem; color: #e7eaf0; font-size: .95rem; font-weight: 600; }
.calc-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.calc-lista div { padding: .75rem .85rem; border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, .05); }
.calc-lista dt { color: var(--dark-ink-2); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.calc-lista dd { margin: .2rem 0 0; font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.calc-res .button { width: 100%; }

/* piso mínimo: a conta que fica fora */
.piso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.25rem, 5vw, 5rem); align-items: center; }
.formula { padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); box-shadow: 0 24px 50px -34px rgba(16, 18, 22, .4); }
.formula-linha { font-size: clamp(1.05rem, .8rem + 1.1vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; }
.formula-linha b { color: var(--brand); }
.formula-itens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.25rem; }
.formula-itens li { display: flex; gap: .55rem; padding: .75rem .8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink-2); font-size: .84rem; font-weight: 600; line-height: 1.35; }
.formula-itens li::before { flex: none; color: var(--brand); font-weight: 800; content: "→"; }
.fonte { margin-top: 1.1rem; padding: .9rem 1rem; border: 1px solid var(--brand-100); background: var(--brand-50); color: var(--ink-2); font-size: .84rem; }
.fonte a { color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.checklist { display: grid; gap: .7rem; margin-top: 1.5rem; }
.checklist li { display: flex; gap: .7rem; color: var(--ink-2); font-weight: 600; }
.checklist li::before { flex: none; width: 1.4rem; height: 1.4rem; margin-top: .1rem; border-radius: 50%; background: var(--brand-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b90e27' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/70% no-repeat; content: ""; }

/* faixa escura: sinais */
.band--dark { position: relative; background: var(--dark); color: #fff; isolation: isolate; clip-path: inset(0); }
.band--dark::before { position: absolute; z-index: -1; inset: -20% 0 auto auto; width: 60%; height: 80%; background: radial-gradient(closest-side, rgba(211, 19, 46, .28), transparent); content: ""; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark .lead { color: var(--dark-ink-2); }
.sinais { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.25rem, 4vw, 4rem); align-items: center; }
.sinais-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.sinal { padding: 1.1rem 1.1rem 1.2rem; border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, .04); }
.sinal i { display: block; width: 2rem; height: 3px; margin-bottom: .9rem; background: var(--brand); }
.sinal h3 { font-size: 1.05rem; letter-spacing: -.01em; line-height: 1.25; }
.sinal p { margin-top: .4rem; color: var(--dark-ink-2); font-size: .86rem; line-height: 1.45; }
.honesto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.honesto article { padding: 1rem 1.15rem; border: 1px solid var(--dark-line); border-radius: var(--radius); background: rgba(255, 255, 255, .03); }
.honesto span { color: var(--brand-on-dark); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.honesto p { margin-top: .35rem; color: #e0e4ec; font-size: .9rem; }

/* guias */
.guias { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.guia-card { position: relative; display: flex; flex-direction: column; gap: .7rem; min-height: 15rem; padding: 1.4rem 1.35rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; }
.guia-tag { color: var(--brand-600); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.guia-card h3 { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.2; }
.guia-card p { color: var(--ink-3); font-size: .88rem; line-height: 1.5; }
.guia-card .ler { margin-top: auto; color: var(--ink); font-size: .85rem; font-weight: 700; }
.guia-card .ler::after { content: " →"; color: var(--brand); }
@media (hover: hover) and (pointer: fine) { .guia-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: 0 24px 40px -26px rgba(16, 18, 22, .4); }  }
.guia-card:active { transform: scale(.985); }

/* perguntas */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; align-items: start; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--line-2); box-shadow: 0 16px 30px -24px rgba(16, 18, 22, .4); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding: .9rem 1.1rem; color: var(--ink); font-size: .96rem; font-weight: 700; line-height: 1.3; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b90e27' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/62% no-repeat; transition: transform .3s var(--ease); content: ""; }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq .resp { padding: 0 1.1rem 1.1rem; color: var(--ink-2); font-size: .92rem; }
.faq .resp a { display: inline-block; padding-block: .75rem; color: var(--brand-700); font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.faq-mais { display: flex; justify-content: center; margin-top: 1.5rem; }
.faq-mais[hidden] { display: none; }
.faq [hidden] { display: none; }

/* fechamento */
.closing { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0; clip-path: inset(0); background: var(--brand-700); color: #fff; isolation: isolate; }
.closing::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(60% 90% at 85% 50%, rgba(255, 255, 255, .16), transparent), linear-gradient(110deg, rgba(0, 0, 0, .28), transparent 60%); content: ""; }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1rem, 4vw, 4rem); align-items: center; }
.closing h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.2rem); }
.closing p { margin-top: 1rem; color: #fde7ea; max-width: 40ch; }
.closing-truck { width: 100%; max-width: 34rem; margin-inline: auto; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }

/* rodapé */
.footer { background: var(--dark); color: var(--dark-ink-2); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); padding: clamp(2.5rem, 5vw, 4rem) 0 2rem; }
.footer .brand { color: #fff; }
.footer-top p { max-width: 34ch; margin-top: 1rem; font-size: .86rem; }
.footer .fh { display: block; margin-bottom: .9rem; color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { display: grid; gap: .1rem; }
.footer li a { display: inline-flex; align-items: center; min-height: 44px; font-size: .88rem; transition: color .15s; }
.footer li a:hover { color: #fff; }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding: 1.25rem 0 1.6rem; border-top: 1px solid var(--dark-line); font-size: .8rem; }
.footer-base a { display: inline-flex; align-items: center; gap: .45rem; color: #fff; font-weight: 600; }
.footer-base svg { width: .95rem; height: .95rem; }

/* revelar ao entrar (o conteúdo nunca depende do script: só esconde depois que ele roda) */
.js-ok .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js-ok .reveal.is-in { opacity: 1; transform: none; }

/* ---------- páginas de guia ---------- */
.page-top { padding: calc(var(--nav-h) + 3.25rem) 0 clamp(1.75rem, 4vw, 3rem); background: linear-gradient(180deg, #fff, var(--bg-subtle)); border-bottom: 1px solid var(--line); }
.crumbs { display: flex; flex-wrap: wrap; gap: .3rem .55rem; margin-bottom: 1.25rem; color: var(--ink-3); font-size: .78rem; font-weight: 600; }
.crumbs a { color: var(--brand-600); }
.crumbs li + li::before { margin-right: .55rem; color: var(--line-2); content: "/"; }
.page-top h1 { max-width: 22ch; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); letter-spacing: -.03em; }
.page-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.25rem; color: var(--ink-3); font-size: .8rem; font-weight: 600; }
.artigo { display: grid; grid-template-columns: minmax(0, 17rem) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 7vw, 6rem); }
.toc { position: sticky; top: 6rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); font-size: .86rem; }
.toc h2 { margin-bottom: .7rem; color: var(--ink-3); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.toc a { display: block; padding: .4rem .7rem; border-radius: 2px; color: var(--ink-2); font-weight: 600; line-height: 1.35; transition: color .15s, border-color .15s; }
.toc a:hover, .toc a.is-on { background: var(--brand-50); color: var(--brand-700); }
.prosa { min-width: 0; max-width: 46rem; }
.resposta { padding: 1.2rem 1.35rem; margin-bottom: 2rem; border: 1px solid var(--brand-100); border-radius: var(--radius); background: var(--brand-50); color: var(--ink); font-size: 1.05rem; font-weight: 500; }
.resposta b { display: block; margin-bottom: .35rem; color: var(--brand-700); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.prosa h2 { margin: 2.6rem 0 .9rem; font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); }
.prosa h3 { margin: 1.8rem 0 .6rem; font-size: 1.15rem; }
.prosa p { margin-top: 1rem; font-size: 1.02rem; line-height: 1.7; }
.prosa ul, .prosa ol { display: grid; gap: .55rem; margin-top: 1rem; padding-left: 0; }
.prosa li { position: relative; padding-left: 1.5rem; line-height: 1.6; }
.prosa ul li::before { position: absolute; top: .7em; left: .2rem; width: .5rem; height: 2px; background: var(--brand); content: ""; }
.prosa ol { counter-reset: n; }
.prosa ol li { counter-increment: n; }
.prosa ol li::before { position: absolute; left: 0; color: var(--brand); font-weight: 800; content: counter(n) "."; }
.prosa a:not(.button) { color: var(--brand-700); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.prosa strong { color: var(--ink); }
.prosa .tabela { margin-top: 1.25rem; clip-path: inset(0 round var(--radius)); border: 1px solid var(--line-2); border-radius: var(--radius); }
.prosa table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prosa th, .prosa td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prosa th { background: var(--bg-subtle); color: var(--ink); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; }
.prosa td:last-child { font-variant-numeric: tabular-nums; }
.prosa tr:last-child td { border-bottom: 0; }
.exemplo { margin-top: 1.5rem; padding: 1.2rem 1.35rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 40px -32px rgba(16, 18, 22, .4); }
.exemplo > b { display: block; margin-bottom: .6rem; color: var(--brand-600); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.exemplo p:first-of-type { margin-top: 0; }
.exemplo .conta { display: grid; gap: .3rem; margin-top: .8rem; font-variant-numeric: tabular-nums; font-size: .95rem; }
.exemplo .conta div { display: flex; justify-content: space-between; gap: 1rem; overflow-wrap: anywhere; padding: .3rem 0; border-bottom: 1px dashed var(--line-2); }
.exemplo .conta div:last-child { border-bottom: 0; color: var(--ink); font-weight: 800; }
.cta-guia { margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius); background: var(--dark); color: #fff; }
.cta-guia h2 { margin: 0; color: #fff; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.7rem); }
.cta-guia p { color: var(--dark-ink-2); }
.cta-guia .actions { margin-top: 1.25rem; }
.fontes { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .86rem; }
.fontes h2 { margin: 0 0 .6rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.fontes li { padding-left: 0; font-size: .86rem; }
.fontes li::before { display: none; }
.relacionados { padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line); background: var(--bg-subtle); }
.glossario-lista { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1rem; }
.glossario-lista article { padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); scroll-margin-top: 6rem; }
.glossario-lista h3 { font-size: 1.05rem; }
.glossario-lista p { margin-top: .4rem; color: var(--ink-2); font-size: .92rem; line-height: 1.55; }

.page-lead { max-width: 62ch; margin-top: 1rem; color: var(--ink-2); }
.calc-sec { padding: clamp(1.5rem, 4vw, 2.75rem) 0 clamp(1.5rem, 4vw, 2.5rem); background: var(--bg-subtle); border-bottom: 1px solid var(--line); }
.hub-corpo { padding-block: clamp(2rem, 5vw, 3.5rem); }
.hub-grupo { margin: clamp(2rem, 4vw, 3rem) 0 1rem; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.75rem); letter-spacing: -.02em; }
.hub-grupo:first-child { margin-top: 0; }
.hub-corpo .cta-guia { margin-top: clamp(2.25rem, 5vw, 3.5rem); }
.dor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.dor article { padding: 1.3rem 1.3rem 1.2rem; border: 1px solid var(--line); border-top: 3px solid var(--brand); border-radius: var(--radius); background: var(--white); }
.dor span { display: block; margin-bottom: .5rem; color: var(--brand); font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.dor h3 { font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem); line-height: 1.2; }
.dor p { margin-top: .45rem; color: var(--ink-3); font-size: .92rem; line-height: 1.5; }
.hub-corpo .guias + .hub-grupo { margin-top: clamp(2rem, 4vw, 3rem); }

@media (max-width: 63.99rem) {
  .calc { grid-template-columns: 1fr; }
  .guias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top > :first-child { grid-column: 1 / -1; }
  .artigo { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 47.99rem) {
  .section-head { display: block; }
  .section-head .lead { margin-top: .9rem; }
  .mapa-row, .mapa-row:nth-child(even) { grid-template-columns: 1fr; gap: 1.1rem; }
  .mapa-row:nth-child(even) .mapa-texto { order: 0; }
  .mapa-row .tela { order: 2; }
  .mapa-num { margin-bottom: .5rem; font-size: 2.4rem; }
  .calc { grid-template-columns: 1fr; }
  .calc-grid { gap: .7rem; }
  .piso, .sinais, .closing-grid { grid-template-columns: 1fr; }
  .sinais .tela { order: 2; }
  .sinais-lista { gap: .5rem; }
  .sinal { padding: .85rem .8rem; }
  .sinal h3 { font-size: .95rem; }
  .sinal p, .guia-card p, .mapa-texto .resumo-oculta { display: none; }
  .honesto { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .honesto article { padding: .8rem .85rem; }
  .honesto p { font-size: .8rem; }
  .guias { gap: .6rem; }
  .guia-card { min-height: 8.5rem; padding: 1.1rem .95rem .9rem; }
  .faq { grid-template-columns: 1fr; }
  .closing-grid { gap: 1.5rem; }
  .closing-truck { max-width: 18rem; }
  .formula-itens { gap: .45rem; }
  .formula-itens li { padding: .6rem .6rem; font-size: .76rem; }
  .dor { gap: .5rem; }
  .dor article { padding: .85rem .7rem .8rem; }
  .dor span { margin-bottom: .35rem; font-size: 1.25rem; }
  .dor h3 { font-size: .95rem; }
  .dor p { font-size: .78rem; line-height: 1.4; }
  .prosa .tabela table, .prosa .tabela tbody, .prosa .tabela tr, .prosa .tabela td { display: block; }
  .prosa .tabela thead { display: none; }
  .prosa .tabela tr { padding: .8rem .9rem .5rem; border-bottom: 1px solid var(--line); }
  .prosa .tabela tr:last-child { border-bottom: 0; }
  .prosa .tabela td { padding: .3rem 0; border: 0; font-size: .88rem; }
  .prosa .tabela td:first-child { color: var(--ink); font-size: .98rem; font-weight: 700; }
  .prosa .tabela td[data-rotulo] { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); gap: .6rem; }
  .prosa .tabela td[data-rotulo]::before { content: attr(data-rotulo); color: var(--ink-3); font-size: .72rem; font-weight: 700; letter-spacing: .05em; line-height: 1.5; text-transform: uppercase; }
  .glossario-lista { grid-template-columns: 1fr; }
  .page-top { padding-top: calc(var(--nav-h) + 2.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ok .reveal { transform: none; transition: opacity .25s linear; }
  .scroll-hint::after { animation: none; }
  .button, .guia-card, .nav, .nav-links a::after { transition: none; }
}
