@charset "UTF-8";
@import url("../fonts/fonts.css");

/* =====================================================================
   BRYAN GEORGE — PROCESSO ADMINISTRATIVO DE TRÂNSITO
   Sistema visual: preto profundo + dourado da marca, tipografia editorial.
   ===================================================================== */

/* ---------------------------------------------------------------- 01. RESET */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

ul, ol { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: #14120D; }


/* ---------------------------------------------------------------- 02. TOKENS */

:root {
  /* cor */
  --ink:        #0A0A0B;
  --ink-1:      #0E0E10;
  --ink-2:      #131317;
  --ink-3:      #1A1A1F;
  --gold:       #E6C88A;
  --gold-deep:  #C9A253;
  --gold-light: #F3E3BE;
  --paper:      #F5F2EC;
  --muted:      #9E988F;
  --muted-2:    #858077;   /* 4,7:1 sobre --ink-2 — o tom anterior (#6E6961) reprovava em WCAG AA */
  /* valores literais primeiro: são o fallback de quem não tem color-mix() */
  --line:       #2A2519;
  --line-soft:  #1C1A13;
  --alert:      #E2795B;

  /* tipo */
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Instrument Sans", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, "Cascadia Mono", Consolas, monospace;

  --step--2: clamp(0.78rem, 0.75rem + 0.14vw, 0.84rem);  /* piso de 12,5px: abaixo disso o texto em mono fica ilegível */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.94rem);
  --step-0:  clamp(1.00rem, 0.95rem + 0.24vw, 1.12rem);
  --step-1:  clamp(1.18rem, 1.09rem + 0.44vw, 1.44rem);
  --step-2:  clamp(1.40rem, 1.24rem + 0.78vw, 1.94rem);
  --step-3:  clamp(1.68rem, 1.41rem + 1.32vw, 2.60rem);
  --step-4:  clamp(2.00rem, 1.60rem + 2.00vw, 3.40rem);
  --step-5:  clamp(2.40rem, 1.79rem + 3.05vw, 4.50rem);
  --step-6:  clamp(2.85rem, 1.94rem + 4.55vw, 6.00rem);

  /* espaço */
  --pad:     clamp(1.15rem, 4.5vw, 4.5rem);
  --gutter:  clamp(1rem, 2vw, 2rem);
  --section: clamp(4.5rem, 9vh + 4vw, 10rem);
  --max:     1320px;

  /* forma */
  --r:       3px;
  --r-lg:    5px;
  --ease:    cubic-bezier(.16, 1, .3, 1);
}

@supports (color: color-mix(in oklab, #fff 50%, transparent)) {
  :root {
    --line:      color-mix(in oklab, var(--gold) 14%, transparent);
    --line-soft: color-mix(in oklab, var(--gold) 8%, transparent);
  }
}


/* ---------------------------------------------------------------- 03. BASE */

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  counter-reset: sec;
}

/* grão de filme — dá matéria ao preto e mata o banding dos gradientes */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.018em;
  text-wrap: balance;
}

@supports (text-box: trim-both cap alphabetic) {
  h1, h2, h3 { text-box: trim-both cap alphabetic; }
}

h1 { font-size: var(--step-6); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }

p { text-wrap: pretty; }

strong { font-weight: 600; color: var(--gold-light); }

em { font-style: italic; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 999;
  background: var(--gold);
  color: #14120D;
  padding: .8rem 1.2rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform .2s ease;
}
.skip:focus { transform: none; }

/* ponto de pouso do skip link: recebe foco só para anunciar a chegada ao
   conteúdo. Não é um controle e nunca é alcançado por Tab. */
main[tabindex="-1"] { scroll-margin-top: var(--header-h); }
main[tabindex="-1"]:focus { outline: none; }


/* ---------------------------------------------------------------- 04. LAYOUT */

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

.section {
  counter-increment: sec;
  padding-block: var(--section);
  position: relative;
}

.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }

.section--alt { background: var(--ink-1); }

.section--line { border-top: 1px solid var(--line-soft); }

.rule {
  block-size: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in oklab, var(--gold) 45%, transparent) 12%,
    color-mix(in oklab, var(--gold) 85%, transparent) 50%,
    color-mix(in oklab, var(--gold) 45%, transparent) 88%,
    transparent);
}

/* olho / eyebrow com numeração automática */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .9rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}

.eyebrow--num::before {
  content: counter(sec, decimal-leading-zero);
  color: color-mix(in oklab, var(--gold) 72%, transparent);
}

.eyebrow::after {
  content: "";
  flex: 1;
  block-size: 1px;
  background: linear-gradient(90deg, color-mix(in oklab, var(--gold) 38%, transparent), transparent);
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: color-mix(in oklab, var(--paper) 82%, transparent);
  max-inline-size: 60ch;
}

.prose p { max-inline-size: 66ch; color: color-mix(in oklab, var(--paper) 78%, transparent); }
.prose p + p { margin-top: 1.1em; }
.prose ul { margin: 1.2em 0; display: grid; gap: .6rem; }
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  max-inline-size: 64ch;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* grade editorial assimétrica */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
}
/* grid item não encolhe abaixo do min-content por padrão — e um <select> com
   opções longas basta para estourar a linha no celular */
.split > *,
.cards > *,
.triagem > *,
.stack > * { min-width: 0; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .split--wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}


/* ---------------------------------------------------------------- 05. HEADER */

:root { --header-h: 72px; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--ink) 72%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .4s ease, background-color .4s ease;
}
.header.is-stuck {
  border-bottom-color: var(--line-soft);
  background: color-mix(in oklab, var(--ink) 88%, transparent);
}

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand { min-height: 44px; }
.brand img { width: 34px; height: auto; }
.brand__txt { display: grid; line-height: 1.1; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--paper);
}
.brand__sub {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.nav { display: none; }
@media (min-width: 1060px) {
  .nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
}

.nav a {
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  transition: color .3s ease;
  position: relative;
  padding-block: .4rem;
}
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.nav a[aria-current]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
}

/* especificidade dupla: precisa vencer o `display:inline-flex` de .btn */
.header .header__cta { display: none; }
@media (min-width: 700px) { .header .header__cta { display: inline-flex; } }

/* dropdown de serviços */
.nav__group { position: relative; }
.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 72%, transparent);
  transition: color .3s ease;
  padding-block: .4rem;
}
.nav__toggle:hover,
.nav__group:hover .nav__toggle,
.nav__group.is-open .nav__toggle { color: var(--gold); }
.nav__toggle svg { width: 10px; transition: transform .3s var(--ease); }
.nav__group:hover .nav__toggle svg,
.nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }

.nav__menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 50%;
  translate: -50% 0;
  min-width: 290px;
  padding: .5rem;
  background: color-mix(in oklab, var(--ink-2) 96%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8);
  display: grid;
  gap: 1px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .28s ease, transform .28s var(--ease), visibility .28s;
}
/* abre por hover (mouse) ou por .is-open (clique/teclado). Sem :focus-within:
   ele mantinha o menu aberto enquanto o próprio botão estivesse focado, e o
   Escape não conseguia fechar. */
.nav__group:hover .nav__menu,
.nav__group.is-open .nav__menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav__menu a {
  display: block;
  padding: .62rem .8rem;
  border-radius: var(--r);
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  transition: background-color .25s ease, color .25s ease;
}
.nav__menu a:hover { background: color-mix(in oklab, var(--gold) 9%, transparent); color: var(--gold-light); }
.nav__menu a[aria-current]::after { display: none; }

/* botão hambúrguer */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
@media (min-width: 1060px) { .burger { display: none; } }
.burger span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--paper);
  transition: transform .35s var(--ease), opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* painel mobile */
.drawer {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 45;
  background: var(--ink);
  padding: clamp(1.5rem, 5vw, 3rem) var(--pad) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s ease, transform .35s var(--ease), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
@media (min-width: 1060px) { .drawer { display: none; } }

.drawer__list { display: grid; gap: .1rem; }
.drawer__list a {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--serif);
  font-size: var(--step-2);
  color: color-mix(in oklab, var(--paper) 88%, transparent);
}
.drawer__list a[aria-current] { color: var(--gold); }
.drawer__list a::after { display: none; }
.drawer__list a i {
  font-family: var(--mono);
  font-style: normal;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--gold-deep);
}
.drawer__foot { margin-top: 2.5rem; display: grid; gap: 1rem; }

html:has(.drawer.is-open) { overflow: hidden; }


/* ---------------------------------------------------------------- 06. BOTÕES */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1rem 1.7rem;
  border-radius: var(--r);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
  transition: translate .4s var(--ease), background-color .35s ease,
              border-color .35s ease, color .35s ease, box-shadow .45s ease;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }

@property --shine { syntax: "<percentage>"; inherits: false; initial-value: -25%; }

.btn--gold {
  --shine: -25%;
  color: #14120D;
  /* base sem nenhuma função moderna: se color-mix() não existir, o navegador
     descarta só a declaração seguinte e o botão continua dourado e legível */
  background: linear-gradient(180deg, #F3E3BE, #E6C88A 48%, #C9A253);
  transition: translate .4s var(--ease), box-shadow .45s ease;
}
@supports (background: color-mix(in oklab, #fff 50%, transparent)) {
  .btn--gold {
    background:
      linear-gradient(100deg,
        transparent calc(var(--shine) - 18%),
        color-mix(in oklab, #fff 55%, transparent) var(--shine),
        transparent calc(var(--shine) + 18%)),
      linear-gradient(180deg, var(--gold-light), var(--gold) 48%, var(--gold-deep));
    box-shadow: 0 1px 0 color-mix(in oklab, #fff 30%, transparent) inset;
    transition: --shine .9s ease, translate .4s var(--ease), box-shadow .45s ease;
  }
}
.btn--gold:hover, .btn--gold:focus-visible {
  --shine: 125%;
  translate: 0 -2px;
  box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .9),
              0 1px 0 color-mix(in oklab, #fff 30%, transparent) inset;
}

.btn--ghost {
  color: var(--paper);
  border: 1px solid var(--line);
  background: color-mix(in oklab, var(--gold) 3%, transparent);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: color-mix(in oklab, var(--gold) 55%, transparent);
  color: var(--gold-light);
  translate: 0 -2px;
}

.btn--block { width: 100%; }
.btn--sm { padding: .68rem 1.15rem; font-size: var(--step--2); }

.link-draw {
  display: inline-block;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size .5s var(--ease), color .3s ease;
  padding-bottom: .16em;
  color: var(--gold);
}
.link-draw:hover, .link-draw:focus-visible { background-size: 100% 1px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.link-arrow svg { width: 14px; transition: translate .4s var(--ease); }
.link-arrow:hover svg { translate: 5px 0; }


/* ---------------------------------------------------------------- 07. HERO */

.hero {
  position: relative;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 90%;
  z-index: -2;
  background:
    radial-gradient(60% 55% at 72% 22%, color-mix(in oklab, var(--gold) 13%, transparent), transparent 72%),
    radial-gradient(80% 60% at 12% 0%, color-mix(in oklab, #3B3524 40%, transparent), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 3rem);
  align-items: center;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem);
}
.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.hero h1 { margin-bottom: clamp(1.2rem, 2.5vw, 1.8rem); }
.hero h1 .gold {
  color: var(--gold);
  font-style: italic;
}

.hero__lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
  max-inline-size: 48ch;
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero__meta li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__meta li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* retrato dissolvendo no fundo */
.portrait {
  position: relative;
  isolation: isolate;
  margin-inline: auto;
  max-width: 520px;
}
/* a imagem já traz o recorte em alpha; o CSS só cuida do acabamento */
.portrait img {
  width: 100%;
  filter: contrast(1.04) brightness(1.02);
}
.portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(160deg, transparent 30%, color-mix(in oklab, var(--gold) 26%, transparent) 100%);
  mix-blend-mode: soft-light;
}

/* moldura dourada solta atrás do retrato */
.portrait__frame {
  position: absolute;
  inset: 6% 4% 18% 8%;
  border: 1px solid var(--line);
  border-bottom: 0;
  z-index: -1;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
}
.portrait__tag {
  position: absolute;
  left: 2%;
  bottom: 8%;
  z-index: 2;
  display: grid;
  gap: .15rem;
  padding: .8rem 1.1rem;
  background: color-mix(in oklab, var(--ink) 78%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.portrait__tag b {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--paper);
}
.portrait__tag span {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ---------------------------------------------------------------- 08. FAIXA MARQUEE */

.ticker {
  position: relative;
  border-block: 1px solid var(--line-soft);
  background: var(--ink-1);
  overflow: hidden;
  padding-block: .85rem;
}
.ticker__track {
  --ticker-gap: 3rem;
  display: flex;
  gap: var(--ticker-gap);
  width: max-content;
  animation: slide 42s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }

/* botão de pausa: WCAG 2.2 exige controle sobre movimento que dura mais de 5s */
.ticker__pausa {
  position: absolute;
  right: var(--pad);
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 80%, transparent);
  color: var(--gold);
  opacity: 0;
  transition: opacity .3s ease;
}
.ticker:hover .ticker__pausa,
.ticker__pausa:focus-visible { opacity: 1; }
.ticker__pausa svg { width: 11px; }
.ticker.esta-pausado .ticker__track { animation-play-state: paused !important; }
.ticker.esta-pausado .ticker__pausa { opacity: 1; }
.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ticker span::after {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--gold-deep);
  rotate: 45deg;
}
@keyframes slide { to { transform: translateX(calc(-50% - var(--ticker-gap) / 2)); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }


/* ---------------------------------------------------------------- 09. NÚMEROS EM RISCO */

.stakes {
  display: grid;
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 720px) { .stakes { grid-template-columns: repeat(3, 1fr); } }

.stake {
  background: var(--ink-1);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid;
  gap: .5rem;
  align-content: start;
  transition: background-color .45s ease;
}
.stake:hover { background: color-mix(in oklab, var(--gold) 4%, var(--ink-1)); }
.stake__n {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--gold);
  line-height: 1.05;
}
.stake__l { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); }
.stake__s {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}


/* ---------------------------------------------------------------- 10. SERVIÇOS */

.cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gold) 2%, var(--ink-1));
  overflow: hidden;
  transition: border-color .45s ease, background-color .45s ease, translate .45s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .45s ease;
}
.card:hover, .card:focus-within {
  border-color: color-mix(in oklab, var(--gold) 42%, transparent);
  background: color-mix(in oklab, var(--gold) 5%, var(--ink-1));
  translate: 0 -3px;
}
.card:hover::before, .card:focus-within::before { opacity: 1; }

.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.card__ico {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: .9;
}
.card__num {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .14em;
  color: color-mix(in oklab, var(--gold) 72%, transparent);
}
.card h3 { font-size: var(--step-2); }
.card__art {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.card p {
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  line-height: 1.6;
}
.card__link { margin-top: .4rem; }
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}


/* ---------------------------------------------------------------- 11. TRAJETÓRIA / TIMELINE */

.timeline {
  display: grid;
  gap: 0;
  border-left: 1px solid var(--line);
  margin-left: .4rem;
}
.timeline li {
  position: relative;
  padding: 0 0 clamp(1.8rem, 3.5vw, 2.6rem) clamp(1.5rem, 3vw, 2.2rem);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: .5rem;
  width: 7px;
  height: 7px;
  rotate: 45deg;
  background: var(--gold);
}
.timeline__y {
  display: block;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .35rem;
}
.timeline__t {
  font-family: var(--serif);
  font-size: var(--step-2);
  display: block;
  margin-bottom: .4rem;
}
.timeline p { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); max-inline-size: 54ch; }


/* ---------------------------------------------------------------- 12. ETAPAS / PROCESSO */

.steps { display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r-lg); overflow: hidden; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .steps--4 { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: var(--ink-1);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
  display: grid;
  gap: .8rem;
  align-content: start;
  position: relative;
  transition: background-color .45s ease;
}
.step:hover { background: color-mix(in oklab, var(--gold) 4%, var(--ink-1)); }
.step__n {
  font-family: var(--mono);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: color-mix(in oklab, var(--gold) 50%, transparent);
}
.step h3 { font-size: var(--step-2); }
.step p { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); }
.step__tag {
  margin-top: .3rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* fluxo de instâncias */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: stretch;
}
.flow li {
  flex: 1 1 150px;
  display: grid;
  gap: .3rem;
  align-content: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  background: var(--ink-1);
  position: relative;
}
.flow li b {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-weight: 400;
  color: var(--paper);
}
.flow li span {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.flow li small { font-size: var(--step--1); color: var(--muted); line-height: 1.45; }


/* ---------------------------------------------------------------- 13. DIFERENCIAIS */

.pillars { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (min-width: 760px)  { .pillars { grid-template-columns: repeat(2, 1fr); } }

.pillar { display: grid; gap: .6rem; align-content: start; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.pillar h3 { font-size: var(--step-2); }
.pillar p { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); max-inline-size: 46ch; }


/* ---------------------------------------------------------------- 14. FAQ */

.faq { display: grid; }

.faq details {
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .4s ease;
}
.faq details[open] { background: color-mix(in oklab, var(--gold) 2.5%, transparent); }

.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.1rem, 2.4vw, 1.6rem) clamp(.4rem, 1.5vw, 1.2rem);
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.2;
  color: color-mix(in oklab, var(--paper) 92%, transparent);
  transition: color .3s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  margin-top: .35em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23000' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .4s var(--ease);
  color: var(--gold);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__a {
  padding: 0 clamp(.4rem, 1.5vw, 1.2rem) clamp(1.3rem, 2.5vw, 1.8rem);
  max-inline-size: 74ch;
}
.faq__a p { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 74%, transparent); line-height: 1.7; }


/* ---------------------------------------------------------------- 15. FORMULÁRIO */

.form { display: grid; gap: 1.1rem; }

.field { display: grid; gap: .45rem; }
.field label {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: .9rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  color: var(--paper);
  font-size: var(--step-0);
  transition: border-color .3s ease, background-color .3s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus-visible,
.field textarea:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-color: color-mix(in oklab, var(--gold) 55%, transparent);
  background: var(--ink-3);
}
/* clique do mouse: sem o anel, mas com a moldura acesa */
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: color-mix(in oklab, var(--gold) 55%, transparent);
  background: var(--ink-3);
}
.field.has-error input, .field.has-error textarea { border-color: var(--alert); }
.field small { font-size: var(--step--2); color: var(--muted-2); }
.field .err { color: var(--alert); }

/* honeypot: fora do fluxo sem deslocamento negativo, que criaria overflow */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form__legal {
  font-size: var(--step--2);
  color: var(--muted-2);
  line-height: 1.6;
  max-inline-size: 52ch;
}
.form__legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }


/* ---------------------------------------------------------------- 16. BLOCO DE CONTATO / CTA */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ink-1);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 120% at 88% 12%, color-mix(in oklab, var(--gold) 16%, transparent), transparent 70%);
}
.cta__grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
@media (min-width: 860px) { .cta__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.cta h2 { margin-bottom: .9rem; }

.contact-list { display: grid; gap: .1rem; }
/* filhos diretos apenas: o <div> interno empilha rótulo e valor */
.contact-list > a, .contact-list > div {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line-soft);
  transition: color .3s ease;
}
.contact-list > * > div { display: grid; gap: .1rem; min-width: 0; }
.contact-list b { overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--gold); }
.contact-list svg { width: 17px; flex-shrink: 0; color: var(--gold); }
.contact-list b { font-weight: 500; }
.contact-list span { font-family: var(--mono); font-size: var(--step--2); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); display: block; }


/* ---------------------------------------------------------------- 17. PÁGINAS INTERNAS */

.page-hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(55% 80% at 78% 0%, color-mix(in oklab, var(--gold) 11%, transparent), transparent 70%);
}
.page-hero__grid { display: grid; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: end; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 1.4rem;
}
.crumbs a { color: var(--gold-deep); }
.crumbs a:hover { color: var(--gold); }
.crumbs li { display: flex; align-items: center; gap: .45rem; }
.crumbs li + li::before { content: "/"; color: var(--muted-2); }

.big-fact {
  display: grid;
  gap: .3rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gold) 4%, var(--ink-1));
}
.big-fact b {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 500;
  line-height: 1;
  color: var(--gold);
}
.big-fact span { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); }

.aside-box {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gold) 3%, var(--ink-1));
}
.aside-box h2, .aside-box h3 { font-size: var(--step-2); }
.aside-box p { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 72%, transparent); }

.otherlinks { display: grid; gap: .1rem; }
.otherlinks a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  transition: color .3s ease, padding-left .35s var(--ease);
}
.otherlinks a:hover { color: var(--gold); padding-left: .4rem; }
.otherlinks a svg { width: 13px; color: var(--gold-deep); }


/* ---------------------------------------------------------------- 18. FOOTER */

.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--ink-1);
  padding-block: clamp(3rem, 6vw, 5rem) 0;
}
.footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.1fr; } }

.footer h3 {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer ul { display: grid; }
.footer ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;   /* alvo confortável no celular sem esticar a coluna */
}
.footer a { font-size: var(--step--1); color: color-mix(in oklab, var(--paper) 70%, transparent); transition: color .3s ease; }
.footer a:hover { color: var(--gold); }
.footer__about p { font-size: var(--step--1); color: var(--muted); max-inline-size: 38ch; margin-top: 1rem; }
.footer__logo { width: 132px; margin-bottom: .2rem; }

.footer__bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 2rem;
  align-items: center;
  justify-content: space-between;
}
.footer__bottom p, .footer__bottom a {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .08em;
  color: var(--muted-2);
}
.footer__disclaimer {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.3rem 6.5rem;
  font-size: var(--step--2);
  line-height: 1.6;
  color: var(--muted-2);
  max-inline-size: 90ch;
}
@media (min-width: 900px) { .footer__disclaimer { padding-bottom: 1.8rem; } }

.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: border-color .35s ease, background-color .35s ease, color .3s ease;
}
.social a:hover { border-color: color-mix(in oklab, var(--gold) 50%, transparent); background: color-mix(in oklab, var(--gold) 8%, transparent); }
.social svg { width: 17px; }


/* ---------------------------------------------------------------- 19. DOCK DE CONTATO */

.dock {
  position: fixed;
  z-index: 44;   /* abaixo do .drawer (45): senão cobre o menu aberto */
  left: .75rem;
  right: .75rem;
  bottom: calc(env(safe-area-inset-bottom, 0px) + .75rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .5rem;
  padding: .5rem;
  background: color-mix(in oklab, var(--ink-2) 92%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, .9);
  transform: translateY(140%);
  transition: transform .5s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__call {
  display: grid;
  place-items: center;
  width: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--gold);
}
.dock__call svg { width: 18px; }

/* No desktop o botão fixo do cabeçalho já cobre a conversão, e um dock flutuante
   no canto acabava sobrepondo o conteúdo da coluna da direita. */
@media (min-width: 900px) {
  .dock { display: none; }
}


/* ---------------------------------------------------------------- 20. MOVIMENTO */

.reveal { opacity: 1; }

/* O range fecha ainda dentro de `entry`: assim que o elemento termina de entrar
   na viewport a animação está em 100%. Ranges que dependem de `cover` deixam o
   conteúdo preso em opacity:0 em telas muito altas e na captura de página inteira. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

.js-hidden {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s var(--ease);
}
.js-hidden.is-in { opacity: 1; transform: none; }

/* headline palavra a palavra */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; }
.w > i { display: inline-block; font-style: inherit; translate: 0 110%; }
.is-lit .w > i {
  translate: 0 0;
  transition: translate .95s var(--ease);
  transition-delay: calc(var(--i) * var(--passo, 42ms));
}
@media (prefers-reduced-motion: reduce) {
  .w > i { translate: 0 !important; transition: none !important; }
}

/* barra de progresso de leitura */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: 2px;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root block); }
}
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* transição entre páginas */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .4s;
  animation-timing-function: var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*) { animation: none !important; }
}

/* performance em seções longas */
/* `content-visibility: auto` foi retirado daqui de propósito.
   Ele economizava pouco — a página tem 12 requisições e pinta em ~200ms — e
   custava caro: com a altura estimada errada, âncoras vindas de outra página
   (index.php#contato) caíam centenas de pixels fora do alvo, e a barra de
   rolagem mudava de tamanho conforme as seções iam renderizando.
   A classe .section--defer segue no HTML como marcador semântico. */
.section--defer { }

/* o translate do efeito magnético precisa vencer o `translate: 0 -2px` que os
   botões aplicam no :hover — daí a especificidade dobrada */
[data-magnet][data-magnet] {
  translate: var(--mx, 0) var(--my, 0);
}


/* ---------------------------------------------------------------- 21. TRIAGEM */

.triagem {
  display: grid;
  gap: clamp(.8rem, 1.6vw, 1.1rem);
}
@media (min-width: 620px)  { .triagem { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .triagem { grid-template-columns: repeat(3, 1fr); } }

.rota {
  display: grid;
  gap: .75rem;
  align-content: space-between;
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gold) 2%, var(--ink-1));
  transition: border-color .4s ease, background-color .4s ease;
}
.rota:hover, .rota:focus-within {
  border-color: color-mix(in oklab, var(--gold) 38%, transparent);
  background: color-mix(in oklab, var(--gold) 5%, var(--ink-1));
}
.rota__frase {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.15;
  color: var(--paper);
}
.rota__tec {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .06em;
  color: var(--gold-deep);
}
.rota__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.2rem;
  align-items: center;
  padding-top: .85rem;
  border-top: 1px solid var(--line-soft);
}
.rota__acoes a {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--paper) 68%, transparent);
  transition: color .3s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.rota__acoes a:hover { color: var(--gold); }
.rota__acoes a.is-wa { color: var(--gold); }
.rota__acoes svg { width: 13px; }


/* ---------------------------------------------------------------- 22. RESPOSTA DESTACADA */

.answer {
  border-left: 3px solid var(--gold);
  padding: clamp(1.2rem, 2.6vw, 1.8rem) clamp(1.2rem, 3vw, 2rem);
  background: color-mix(in oklab, var(--gold) 4%, var(--ink-1));
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  max-inline-size: 70ch;
}
.answer p {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--paper);
}
.answer p + p {
  margin-top: .9em;
  font-size: var(--step-0);
  color: color-mix(in oklab, var(--paper) 76%, transparent);
}


/* ---------------------------------------------------------------- 23. SEÇÃO CLARA (dados legais) */

.section--paper {
  background: var(--paper);
  color: #16161A;
}
.section--paper h2, .section--paper h3 { color: #0E0E10; }
.section--paper .eyebrow { color: #7A5F1A; }
.section--paper .eyebrow::before { color: #A98A3C; }
.section--paper .eyebrow::after { background: linear-gradient(90deg, #C9B584, transparent); }
.section--paper .lead,
.section--paper p { color: #45454B; }

.legais {
  display: grid;
  gap: 1px;
  background: #DEDAD1;
  border: 1px solid #DEDAD1;
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (min-width: 700px)  { .legais { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .legais { grid-template-columns: repeat(4, 1fr); } }

.legal {
  background: #FFF;
  padding: clamp(1.3rem, 2.6vw, 1.9rem);
  display: grid;
  gap: .45rem;
  align-content: start;
}
.legal b {
  font-family: var(--mono);
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2rem);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.02em;
  color: #0E0E10;
  line-height: 1.05;
}
.legal span { font-size: var(--step--1); color: #45454B; line-height: 1.5; }
.legal em {
  font-family: var(--mono);
  font-style: normal;
  font-size: var(--step--2);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7A5F1A;
}

.notas { display: grid; gap: .7rem; }
.notas li {
  position: relative;
  padding-left: 1.6rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: #45454B;
  max-inline-size: 78ch;
}
.notas li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 1px;
  background: #8A6D1F;
}

.fonte {
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .06em;
  color: #6E6A64;
}


/* ---------------------------------------------------------------- 24. TABELA DE PRAZOS */

.prazos { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.prazos caption { text-align: left; padding-bottom: 1rem; color: var(--muted); font-size: var(--step--1); }
.prazos th {
  text-align: left;
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 1rem .8rem 0;
  border-bottom: 1px solid var(--line);
}
.prazos td {
  padding: .95rem 1rem .95rem 0;
  border-bottom: 1px solid var(--line-soft);
  color: color-mix(in oklab, var(--paper) 78%, transparent);
  vertical-align: top;
}
.prazos td:first-child { color: var(--paper); }
.prazos .num {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
  white-space: nowrap;
}
.prazos .base { font-family: var(--mono); font-size: var(--step--2); color: var(--muted-2); }
@media (max-width: 720px) {
  .prazos, .prazos tbody, .prazos tr, .prazos td { display: block; width: 100%; }
  .prazos thead { display: none; }
  .prazos tr { padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
  .prazos td { border: 0; padding: .12rem 0; }
  .prazos td:first-child { font-family: var(--serif); font-size: var(--step-1); margin-bottom: .3rem; }
  .prazos td[data-rot]::before {
    content: attr(data-rot) ": ";
    font-family: var(--mono);
    font-size: var(--step--2);
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gold);
    white-space: normal;
  }
  .prazos td.num { white-space: normal; }
}

/* contador de dias decorridos */
.contador {
  display: grid;
  gap: 1rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in oklab, var(--gold) 3%, var(--ink-1));
}
.contador__linha { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.contador input[type="date"] {
  padding: .8rem 1rem;
  background: var(--ink-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  color: var(--paper);
  color-scheme: dark;
}
.contador output {
  display: block;
  padding: .9rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: color-mix(in oklab, var(--gold) 6%, transparent);
  font-family: var(--mono);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--gold-light);
  font-variant-numeric: tabular-nums;
}
.contador small { font-size: var(--step--2); color: var(--muted-2); line-height: 1.6; max-inline-size: 68ch; display: block; }


/* ---------------------------------------------------------------- 25. LISTA DE EXAME */

.exame { display: grid; gap: .1rem; counter-reset: ex; }
.exame li {
  counter-increment: ex;
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: var(--step--1);
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 80%, transparent);
}
/* o quadrado nunca é marcado: marcá-lo seria alegar resultado */
.exame li::before {
  content: "";
  width: 13px;
  height: 13px;
  margin-top: .28em;
  border: 1px solid var(--gold-deep);
  border-radius: 1px;
}
.exame li::after {
  content: counter(ex, decimal-leading-zero);
  grid-column: 2;
  grid-row: 1;
  font-family: var(--mono);
  font-size: var(--step--2);
  color: color-mix(in oklab, var(--gold) 55%, transparent);
  margin-top: .3em;
}


/* ---------------------------------------------------------------- 26. FAIXA 48 HORAS */

.agora {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background:
    radial-gradient(80% 130% at 100% 0%, color-mix(in oklab, var(--gold) 10%, transparent), transparent 68%),
    var(--ink-1);
}
.agora h3 { font-size: var(--step-3); max-inline-size: 22ch; }
.agora__lista {
  display: grid;
  gap: clamp(1rem, 2vw, 1.4rem);
  margin-top: clamp(1.4rem, 3vw, 2rem);
}
@media (min-width: 780px) { .agora__lista { grid-template-columns: repeat(2, 1fr); } }
.agora__lista li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .9rem;
  font-size: var(--step--1);
  line-height: 1.6;
  color: color-mix(in oklab, var(--paper) 76%, transparent);
}
.agora__lista li b {
  font-family: var(--mono);
  font-size: var(--step--2);
  font-weight: 500;
  color: var(--gold);
  padding-top: .3em;
}


/* ---------------------------------------------------------------- 27. MAPA / CIDADES */

.mapa { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .mapa { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.mapa svg { width: 100%; max-width: 340px; height: auto; }
.mapa svg path { fill: color-mix(in oklab, var(--gold) 5%, transparent); stroke: var(--gold-deep); stroke-width: 1; }
.mapa svg circle { fill: var(--gold); }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .5rem .9rem;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  font-size: var(--step--1);
  color: color-mix(in oklab, var(--paper) 70%, transparent);
  transition: border-color .35s ease, color .3s ease;
}
.chips li:hover { border-color: color-mix(in oklab, var(--gold) 40%, transparent); color: var(--gold-light); }


/* ---------------------------------------------------------------- 28. IDENTIFICAÇÃO PROFISSIONAL */

.ident {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 0;
}
.ident picture { flex-shrink: 0; display: block; }
.ident img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 22%;
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.ident div { display: grid; gap: .1rem; }
.ident b { font-weight: 500; font-size: var(--step--1); color: var(--paper); }
.ident span { font-size: var(--step--2); color: var(--muted); line-height: 1.4; }

.ficha {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.4rem;
  padding: .9rem 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.ficha b { color: var(--gold); font-weight: 500; }


/* ---------------------------------------------------------------- 29. UTILITÁRIOS */

.mono { font-family: var(--mono); }
.gold { color: var(--gold); }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: clamp(2rem, 4vw, 3.2rem); }
.mb-2 { margin-bottom: 2rem; }
.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;
}
.stack { display: grid; gap: clamp(1rem, 2vw, 1.5rem); align-content: start; }
.anchor { scroll-margin-top: calc(var(--header-h) + 1.5rem); }
/* <main tabindex=-1> recebe o foco pelo skip link, mas não deve mostrar anel */
main:focus { outline: none; }

.figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.figure img { width: 100%; filter: grayscale(.25) contrast(1.05); }
.figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, color-mix(in oklab, var(--ink) 82%, transparent));
  pointer-events: none;
}
.figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 1.2rem;
  font-family: var(--mono);
  font-size: var(--step--2);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ---------------------------------------------------------------- 30. IMPRESSÃO */

@media print {
  .header, .drawer, .dock, .progress, .ticker, .skip, .social { display: none !important; }
  body { background: #fff; color: #000; }
  body::after { display: none; }
  .reveal, .js-hidden { opacity: 1 !important; transform: none !important; animation: none !important; }
  .w > i { translate: 0 !important; }
  .section, .section--alt, .section--paper, .section--defer {
    background: none;
    content-visibility: visible;
    padding-block: 1.5rem;
    break-inside: avoid;
  }
  h1, h2, h3, .lead, p, li, td { color: #000 !important; }
  .eyebrow, .card__art, .stake__s, .step__tag, .fonte { color: #555 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .8em; color: #555; }
  .faq details { display: block; }
  .faq .faq__a { display: block !important; }
  .card, .rota, .step, .legal { border: 1px solid #ccc; }
}
