/* =============================================================================
   «Carta de Condução» — app styles (Story C.2, redesign R.1)
   Soft structuralism in the Moçambique flag colours: warm paper, deep green, a yellow
   spark, red only for errors. Nested «bezel» cards, pill CTAs with a nested arrow, a
   floating island bar (desktop) + bottom tab bar (phone), spring easing.
   Mobile-first (360 px). Motion only on transform/opacity; blur only on fixed/sticky bars.
   ============================================================================= */

.cd-app {
  --cd-bg: #F4F2EC;
  --cd-bg-2: #ECE9E0;
  --cd-card: #FFFFFF;
  --cd-ink: #121412;
  --cd-ink-2: #2A2E2A;
  --cd-muted: #5A5F59;
  --cd-line: rgb(18 20 18 / .07);
  --cd-green: #007168;
  --cd-green-2: #005C55;
  --cd-green-deep: #00302C;
  --cd-green-soft: #E3F1EE;
  --cd-yellow: #FCE100;
  --cd-yellow-soft: #FFF8C4;
  --cd-yellow-ink: #6B5F00;
  --cd-red: #D21034;
  --cd-red-soft: #FDECEF;
  --cd-leaf: #1E7B34;
  --cd-leaf-soft: #EAF5EC;
  --cd-ease: cubic-bezier(.32, .72, 0, 1);
  --cd-ease-out: cubic-bezier(.16, 1, .3, 1);
  --cd-r-xl: 2rem;
  --cd-r-lg: 1.5rem;
  --cd-r-md: 1.125rem;
  --cd-pad: .375rem; /* bezel gap */
  --cd-shadow: 0 1px 1px rgb(0 48 44 / .04), 0 2px 6px -2px rgb(0 48 44 / .05), 0 28px 56px -32px rgb(0 48 44 / .28);
  --cd-shadow-hi: 0 1px 1px rgb(0 48 44 / .05), 0 36px 72px -36px rgb(0 48 44 / .38);
  --cd-font: "Plus Jakarta Sans", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Display", "Segoe UI", sans-serif;

  color-scheme: light;
  background: var(--cd-bg);
  color: var(--cd-ink);
  font-family: var(--cd-font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(5.25rem + env(safe-area-inset-bottom)); /* bottom tab bar */
}
.cd-app--foco, .cd-app--auth { padding-bottom: 0; }
@media (min-width: 900px) { .cd-app { padding-bottom: 0; } }

/* Ambient light: two soft flag-colour glows, fixed, never repainted on scroll. */
.cd-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(42rem 30rem at 92% -6%, rgb(252 225 0 / .16), transparent 62%),
    radial-gradient(48rem 34rem at -8% 8%, rgb(0 113 104 / .13), transparent 60%),
    linear-gradient(180deg, var(--cd-bg) 0%, var(--cd-bg-2) 100%);
}

.cd-app a { color: var(--cd-green-2); text-underline-offset: .18em; }
.cd-app :focus-visible { outline: 2.5px solid var(--cd-green); outline-offset: 3px; border-radius: 6px; }
.cd-app mark { background: var(--cd-yellow-soft); color: var(--cd-ink); border-radius: 4px; padding: 0 .1em; box-shadow: inset 0 -2px 0 var(--cd-yellow); }
.cd-app h1, .cd-app h2, .cd-app h3 { color: var(--cd-ink); }

.cd-wrap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .cd-wrap { padding-inline: 1.5rem; } }
.cd-wrap--estreito { max-width: 46rem; }
.cd-main { padding-top: 1.5rem; padding-bottom: 3rem; min-height: 60dvh; }
@media (min-width: 900px) { .cd-main { padding-top: 3rem; padding-bottom: 6rem; } }

.cd-ico { flex: none; }

/* ─── Island bar (sticky glass pill) ─────────────────────────────────────── */
.cd-topo { position: sticky; top: .75rem; z-index: 20; padding-inline: .75rem; margin-top: .75rem; }
.cd-ilha {
  max-width: 72rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: 3.5rem;
  padding: .375rem .375rem .375rem 1rem;
  border-radius: 999px;
  background: rgb(255 255 255 / .74);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 0 0 1px rgb(18 20 18 / .06), inset 0 1px 0 rgb(255 255 255 / .9), 0 18px 40px -24px rgb(0 48 44 / .35);
}
@media (prefers-reduced-transparency: reduce) { .cd-ilha { background: #fff; } }
.cd-marca { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--cd-ink) !important; font-weight: 800; letter-spacing: -.02em; min-height: 44px; }
.cd-marca__sinal { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 999px; background: var(--cd-yellow); box-shadow: inset 0 0 0 1px rgb(18 20 18 / .08); }
.cd-marca__sinal img { width: 1.15rem; height: 1.15rem; }
.cd-marca__t { font-size: 1.02rem; }
.cd-marca__sub { color: var(--cd-muted); font-weight: 600; }
@media (max-width: 420px) { .cd-marca__sub { display: none; } }

.cd-tabs { display: none; }
@media (min-width: 900px) {
  .cd-tabs { display: flex; gap: .25rem; margin-inline: auto; padding: .25rem; border-radius: 999px; background: rgb(18 20 18 / .04); }
  .cd-tabs__a {
    position: relative;
    display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1.1rem;
    border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem;
    color: var(--cd-ink-2) !important;
    transition: background-color .5s var(--cd-ease), color .5s var(--cd-ease), transform .5s var(--cd-ease);
  }
  .cd-tabs__a:hover { background: rgb(255 255 255 / .8); }
  .cd-tabs__a[aria-current="page"] { background: var(--cd-ink); color: #fff !important; box-shadow: 0 8px 18px -10px rgb(18 20 18 / .6); }
}

.cd-conta { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
@media (min-width: 900px) { .cd-tabs + .cd-conta { margin-left: 0; } }
.cd-conta__entrar { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .9rem; font-weight: 600; text-decoration: none; color: var(--cd-ink) !important; border-radius: 999px; margin-left: auto; }
.cd-conta .cd-conta__entrar { margin-left: 0; }
.cd-conta__entrar:hover { background: rgb(18 20 18 / .05); }
.cd-conta__criar {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1.15rem; border-radius: 999px;
  background: var(--cd-green); color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 10px 22px -12px rgb(0 113 104 / .8);
  transition: transform .5s var(--cd-ease), background-color .5s var(--cd-ease);
}
.cd-conta__criar:hover { background: var(--cd-green-2); }
.cd-conta__criar:active { transform: scale(.97); }
@media (max-width: 380px) { .cd-conta__criar { padding: 0 .9rem; font-size: .9rem; } }

/* Account menu (<details>, no JS) */
.cd-menu { position: relative; }
.cd-menu__btn { list-style: none; cursor: pointer; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 999px; }
.cd-menu__btn::-webkit-details-marker { display: none; }
.cd-menu__av { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 999px; background: var(--cd-green-deep); color: var(--cd-yellow); font-weight: 800; font-size: .85rem; letter-spacing: .02em; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgb(18 20 18 / .08); transition: transform .5s var(--cd-ease); }
.cd-menu[open] .cd-menu__av { transform: scale(.94); }
.cd-menu__painel {
  position: absolute; right: 0; top: calc(100% + .6rem); min-width: 14rem; z-index: 30;
  display: grid; padding: .5rem; border-radius: 1.25rem; background: #fff;
  box-shadow: 0 0 0 1px rgb(18 20 18 / .06), 0 30px 60px -28px rgb(0 48 44 / .45);
  animation: cd-pop .45s var(--cd-ease-out);
}
.cd-menu__nome { margin: 0; padding: .6rem .8rem .4rem; font-weight: 700; color: var(--cd-ink); border-bottom: 1px solid var(--cd-line); margin-bottom: .25rem; }
.cd-menu__painel a, .cd-menu__painel button { display: flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: .8rem; color: var(--cd-ink) !important; text-decoration: none; font: inherit; font-weight: 600; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.cd-menu__painel a:hover, .cd-menu__painel button:hover { background: var(--cd-bg); }
.cd-menu__painel form { margin: 0; }
.cd-menu__painel button { color: var(--cd-red) !important; }
@keyframes cd-pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: none; } }

/* ─── Bottom tab bar (phone) ─────────────────────────────────────────────── */
.cd-barra {
  position: fixed; z-index: 20; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom));
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .25rem; padding: .375rem;
  border-radius: 1.6rem; background: rgb(255 255 255 / .82);
  -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 0 0 1px rgb(18 20 18 / .06), inset 0 1px 0 rgb(255 255 255 / .9), 0 20px 44px -22px rgb(0 48 44 / .5);
}
@media (prefers-reduced-transparency: reduce) { .cd-barra { background: #fff; } }
@media (min-width: 900px) { .cd-barra { display: none; } }
.cd-barra__a {
  display: grid; justify-items: center; align-content: center; gap: .15rem; min-height: 3.5rem; border-radius: 1.2rem;
  color: var(--cd-muted) !important; text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  transition: background-color .5s var(--cd-ease), color .5s var(--cd-ease), transform .5s var(--cd-ease);
}
.cd-barra__a:active { transform: scale(.95); }
.cd-barra__a[aria-current="page"] { background: var(--cd-ink); color: #fff !important; }
.cd-barra__a[aria-current="page"] .cd-ico { color: var(--cd-yellow); }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.cd-rodape { padding: 3rem 0 2rem; color: var(--cd-muted); font-size: .88rem; }
.cd-rodape p { margin: .35rem 0; max-width: 40rem; }
.cd-rodape a { color: var(--cd-ink) !important; font-weight: 600; }
.cd-faixa { display: inline-flex; gap: .3rem; margin-bottom: .75rem; }
.cd-faixa i { display: block; width: 1.75rem; height: .3rem; border-radius: 999px; background: var(--cd-green); }
.cd-faixa i:nth-child(2) { background: var(--cd-yellow); }
.cd-faixa i:nth-child(3) { background: var(--cd-red); }

/* ─── Building blocks ────────────────────────────────────────────────────── */
/* Eyebrow chip */
.cd-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  padding: .32rem .8rem; border-radius: 999px; background: rgb(0 113 104 / .08); color: var(--cd-green-2);
  font-size: .68rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
}
.cd-eyebrow::before { content: ""; width: .4rem; height: .4rem; border-radius: 999px; background: var(--cd-yellow); box-shadow: 0 0 0 2px rgb(0 113 104 / .25); }
.cd-eyebrow--suave { background: var(--cd-bg); }
.cd-eyebrow--escuro { background: rgb(255 255 255 / .1); color: rgb(255 255 255 / .82); }
.cd-eyebrow--escuro::before { box-shadow: none; }

/* Double bezel: an outer tray + the inner plate */
.cd-bezel {
  display: block; padding: var(--cd-pad); border-radius: var(--cd-r-xl);
  background: rgb(18 20 18 / .035); box-shadow: inset 0 0 0 1px rgb(18 20 18 / .05);
  text-decoration: none; color: inherit;
}
.cd-core {
  display: block; position: relative; border-radius: calc(var(--cd-r-xl) - var(--cd-pad));
  background: var(--cd-card); box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), var(--cd-shadow);
  padding: 1.5rem;
}
@media (min-width: 640px) { .cd-core { padding: 2rem; } }
.cd-bezel--escuro { background: rgb(0 48 44 / .12); box-shadow: inset 0 0 0 1px rgb(0 48 44 / .12); }
.cd-bezel--escuro > .cd-core {
  background:
    radial-gradient(26rem 18rem at 105% -10%, rgb(252 225 0 / .22), transparent 60%),
    radial-gradient(20rem 16rem at -10% 120%, rgb(0 113 104 / .55), transparent 60%),
    var(--cd-green-deep);
  color: #fff; box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), var(--cd-shadow-hi);
}
.cd-bezel--escuro > .cd-core :is(h1, h2, h3, p) { color: #fff; }
a.cd-bezel { transition: transform .7s var(--cd-ease); }
a.cd-bezel .cd-core { transition: box-shadow .7s var(--cd-ease); }
a.cd-bezel:hover { transform: translateY(-3px); }
a.cd-bezel:hover .cd-core { box-shadow: inset 0 1px 1px rgb(255 255 255 / .9), var(--cd-shadow-hi); }
a.cd-bezel:active { transform: translateY(0) scale(.99); }

/* Pill CTA with nested arrow («button-in-button») */
.cd-pill {
  --pill-bg: var(--cd-green); --pill-fg: #fff; --pill-ico: rgb(255 255 255 / .16);
  display: inline-flex; align-items: center; gap: .9rem; min-height: 3.4rem;
  padding: .375rem .375rem .375rem 1.5rem; border: 0; border-radius: 999px;
  background: var(--pill-bg); color: var(--pill-fg) !important; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 1rem; letter-spacing: -.005em; cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 14px 30px -16px rgb(0 113 104 / .9);
  transition: transform .6s var(--cd-ease), background-color .6s var(--cd-ease), box-shadow .6s var(--cd-ease);
}
.cd-pill__ico {
  display: inline-grid; place-items: center; width: 2.65rem; height: 2.65rem; border-radius: 999px;
  background: var(--pill-ico); transition: transform .6s var(--cd-ease);
}
.cd-pill:hover { background: var(--cd-green-2); }
.cd-pill:hover .cd-pill__ico { transform: translate(3px, -2px) scale(1.06); }
.cd-pill:active { transform: scale(.98); }
.cd-pill--clara { --pill-bg: #fff; --pill-fg: var(--cd-ink); --pill-ico: var(--cd-yellow); box-shadow: inset 0 -1px 0 rgb(18 20 18 / .06), 0 14px 30px -16px rgb(0 0 0 / .5); }
.cd-pill--clara:hover { background: #fff; }
.cd-pill--escura { --pill-bg: var(--cd-ink); --pill-ico: rgb(255 255 255 / .12); }
.cd-pill--escura:hover { background: #000; }
.cd-pill--bloco { width: 100%; justify-content: space-between; margin-top: .5rem; }

/* Secondary buttons */
.cd-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.3rem;
  border: 0; border-radius: 999px; background: #fff; color: var(--cd-ink) !important; text-decoration: none;
  font: inherit; font-weight: 700; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(18 20 18 / .1), 0 8px 20px -14px rgb(0 48 44 / .4);
  transition: transform .6s var(--cd-ease), box-shadow .6s var(--cd-ease);
}
.cd-btn:hover { box-shadow: inset 0 0 0 1px rgb(18 20 18 / .2), 0 12px 24px -14px rgb(0 48 44 / .45); }
.cd-btn:active { transform: scale(.98); }
.cd-btn--leve { background: transparent; box-shadow: none; }
.cd-btn--leve:hover { background: rgb(18 20 18 / .05); box-shadow: none; }
.cd-btn--off, .cd-btn--off:hover { width: 100%; background: var(--cd-bg); color: var(--cd-muted) !important; box-shadow: inset 0 0 0 1px var(--cd-line); cursor: not-allowed; }
.cd-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--cd-green-2) !important; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: rgb(0 113 104 / .3); }
.cd-link:hover { text-decoration-color: var(--cd-green); }

.cd-nota { margin: 1rem 0; padding: .9rem 1.1rem; border-radius: var(--cd-r-md); background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px var(--cd-line); color: var(--cd-muted); font-size: .9rem; line-height: 1.55; }
.cd-alerta { margin: 0 0 1rem; padding: .9rem 1.1rem; border-radius: var(--cd-r-md); background: var(--cd-red-soft); color: #8F0A23; font-weight: 600; box-shadow: inset 0 0 0 1px rgb(210 16 52 / .18); }

/* Page heading */
.cd-cab { margin: 0 0 2rem; max-width: 44rem; }
.cd-cab__voltar { display: inline-flex; align-items: center; gap: .25rem; min-height: 44px; margin: 0 0 .75rem -.35rem; padding-right: .5rem; font-weight: 700; font-size: .92rem; color: var(--cd-muted) !important; text-decoration: none; border-radius: 999px; }
.cd-cab__voltar:hover { color: var(--cd-ink) !important; }
.cd-cab__voltar + .cd-eyebrow { display: flex; width: max-content; }
.cd-cab__h, .cd-app .cd-cab__h.browse__title {
  margin: 0; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance;
}
.cd-cab__lead { margin: 1rem 0 0; font-size: clamp(1.02rem, 2.2vw, 1.18rem); line-height: 1.55; color: var(--cd-muted); max-width: 38rem; }

/* Sections */
.cd-seccao { padding-top: 4rem; }
@media (min-width: 900px) { .cd-seccao { padding-top: 7rem; } }
.cd-seccao--curta { padding-top: 2.5rem; }
@media (min-width: 900px) { .cd-seccao--curta { padding-top: 3.5rem; } }
.cd-seccao__cab { margin-bottom: 1.75rem; max-width: 40rem; }
.cd-seccao__cab--linha { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; max-width: none; margin-bottom: 1rem; }
.cd-seccao__h { margin: 0; font-size: clamp(1.75rem, 4.6vw, 2.8rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.cd-seccao__h--m { font-size: clamp(1.3rem, 3vw, 1.6rem); letter-spacing: -.025em; margin: 0 0 1rem; }
.cd-seccao__cab--linha .cd-seccao__h--m { margin: 0; }

/* List rows inside one card */
.cd-linhas { list-style: none; margin: 0; padding: .375rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); }
.cd-linhas > li + li { border-top: 1px solid var(--cd-line); }
.cd-linhas form { margin: 0; }
.cd-linha {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "t seta" "m seta"; column-gap: 1rem; row-gap: .1rem; align-items: center;
  min-height: 3.75rem; padding: .8rem 1rem; border-radius: 1.1rem; text-decoration: none; color: var(--cd-ink) !important;
  transition: background-color .5s var(--cd-ease);
}
.cd-linha:hover { background: var(--cd-bg); }
.cd-linha__t { grid-area: t; font-weight: 700; line-height: 1.3; }
.cd-linha__m { grid-area: m; color: var(--cd-muted); font-size: .88rem; }
.cd-linha__seta { grid-area: seta; display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 999px; background: var(--cd-bg); color: var(--cd-ink); transition: transform .6s var(--cd-ease), background-color .6s var(--cd-ease); }
.cd-linha:hover .cd-linha__seta { transform: translate(2px, -1px); background: var(--cd-yellow); }
.cd-teste-btn { width: 100%; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }

/* Search */
.cd-pesquisa { margin: 0 0 2rem; }
.cd-pesquisa .search-form__row { display: flex; gap: .375rem; padding: .375rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgb(18 20 18 / .08), var(--cd-shadow); max-width: 38rem; }
.cd-pesquisa .form-input { flex: 1; min-width: 0; min-height: 3rem; border: 0; background: transparent; padding: 0 1rem; font: inherit; font-size: 1rem; box-shadow: none; border-radius: 999px; }
.cd-pesquisa .form-input:focus { outline: none; }
.cd-pesquisa:focus-within .search-form__row { box-shadow: inset 0 0 0 2px var(--cd-green), var(--cd-shadow); }
.cd-pesquisa .btn { min-height: 3rem; min-width: 3rem; padding: 0 1.2rem; border-radius: 999px; border: 0; background: var(--cd-ink); color: #fff; font-weight: 700; }

/* Scroll reveal (JS adds .cd-espera to below-the-fold items, then .is-in) */
.cd-espera { opacity: 0; transform: translateY(28px); }
.cd-espera.is-in { opacity: 1; transform: none; transition: opacity .9s var(--cd-ease-out), transform 1s var(--cd-ease-out); transition-delay: var(--cd-atraso, 0ms); }
@media (prefers-reduced-motion: reduce) {
  .cd-espera { opacity: 1; transform: none; }
  .cd-app *, .cd-app *::before { transition-duration: 1ms !important; animation-duration: 1ms !important; }
}

/* ─── Landing ────────────────────────────────────────────────────────────── */
.cd-hero { display: grid; gap: 2.5rem; padding-top: 2rem; }
@media (min-width: 960px) { .cd-hero { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 4rem; padding-top: 4.5rem; padding-bottom: 2rem; } }
.cd-hero__h { margin: 0; font-size: clamp(2.5rem, 7.4vw, 4.9rem); font-weight: 800; letter-spacing: -.05em; line-height: .96; text-wrap: balance; }
.cd-hero__lead { margin: 1.5rem 0 0; font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.55; color: var(--cd-muted); max-width: 34rem; }
.cd-hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 2rem; }
.cd-hero__entrar { margin: 0; color: var(--cd-muted); }
.cd-hero__entrar a { font-weight: 700; }
.cd-factos { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; max-width: 34rem; }
@media (min-width: 640px) { .cd-factos { grid-template-columns: repeat(4, 1fr); } }
.cd-factos li { padding: .9rem 1rem; border-radius: 1.1rem; background: rgb(255 255 255 / .62); box-shadow: inset 0 0 0 1px var(--cd-line); font-size: .8rem; color: var(--cd-muted); line-height: 1.3; }
.cd-factos strong { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; color: var(--cd-ink); font-variant-numeric: tabular-nums; }

@media (min-width: 960px) { .cd-hero__mapa .cd-bezel { transform: rotate(1.25deg); } }
.cd-percurso__h { margin: 0 0 1.25rem; font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; }
.cd-passos { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; position: relative; }
.cd-passos::before { content: ""; position: absolute; left: 1.2rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: repeating-linear-gradient(to bottom, rgb(0 113 104 / .35) 0 6px, transparent 6px 12px); }
.cd-passo { position: relative; display: grid; grid-template-columns: 2.4rem 1fr; column-gap: 1rem; padding: .7rem 0; }
.cd-passo__n { grid-row: span 2; display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cd-green); color: var(--cd-green-2); font-weight: 800; z-index: 1; }
.cd-passo:first-child .cd-passo__n { background: var(--cd-green); color: #fff; box-shadow: none; }
.cd-passo:last-child .cd-passo__n { background: var(--cd-yellow); color: var(--cd-ink); box-shadow: none; }
.cd-passo__t { font-weight: 800; letter-spacing: -.01em; align-self: end; }
.cd-passo__d { color: var(--cd-muted); font-size: .92rem; line-height: 1.45; }
.cd-percurso__fim { margin: 1.25rem 0 0; padding-top: 1rem; border-top: 1px solid var(--cd-line); color: var(--cd-muted); font-size: .9rem; }

/* Bento */
.cd-bento { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) {
  .cd-bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(13rem, auto); gap: 1.25rem; }
  .cd-bento__item { grid-column: span 6; }
  .cd-bento__item--grande { grid-column: 1 / span 7; grid-row: span 2; }
  .cd-bento__item:nth-child(2) { grid-column: 8 / span 5; }
  .cd-bento__item:nth-child(3) { grid-column: 8 / span 5; }
  .cd-bento__item:nth-child(4) { grid-column: 1 / span 12; }
}
.cd-bento__a { height: 100%; }
.cd-bento__core { height: 100%; display: flex; flex-direction: column; gap: .5rem; }
.cd-bento__ico { display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 1rem; background: var(--cd-green-soft); color: var(--cd-green-2); margin-bottom: auto; }
.cd-bento__core--escuro .cd-bento__ico { background: rgb(252 225 0 / .16); color: var(--cd-yellow); }
.cd-bento__sinais { display: flex; gap: .5rem; margin-bottom: auto; }
.cd-bento__sinais img { width: 2.6rem; height: 2.6rem; filter: drop-shadow(0 6px 10px rgb(0 0 0 / .12)); }
.cd-bento__t { margin-top: 1.5rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.025em; }
.cd-bento__item--grande .cd-bento__t { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.04em; }
.cd-bento__d { color: var(--cd-muted); line-height: 1.5; }
.cd-bento__core--escuro .cd-bento__d { color: rgb(255 255 255 / .75); }
.cd-bento__core--escuro .cd-bento__t { color: #fff; }
.cd-bento__mais { margin-top: 1rem; display: inline-flex; align-self: flex-start; padding: .55rem 1rem; border-radius: 999px; background: var(--cd-yellow); color: var(--cd-ink); font-weight: 800; font-size: .9rem; }

/* Plans + prices */
.cd-planos { display: grid; gap: 1rem; }
@media (min-width: 760px) { .cd-planos { grid-template-columns: 1fr 1fr; gap: 1.25rem; } }
.cd-plano { height: 100%; }
.cd-plano__h { margin: 0 0 1rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.025em; }
.cd-plano--passe { background: linear-gradient(160deg, #fff 55%, var(--cd-yellow-soft)); }
.cd-lista-check { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.cd-lista-check li { position: relative; padding-left: 1.8rem; line-height: 1.45; }
.cd-lista-check li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.15rem; height: 1.15rem; border-radius: 999px; background: var(--cd-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23005C55' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.cd-precos { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .cd-precos { grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); } }
.cd-preco { display: grid; gap: .4rem; padding: 1.1rem; border-radius: var(--cd-r-lg); background: rgb(255 255 255 / .7); box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-preco__nome { font-weight: 800; }
.cd-preco__valor { color: var(--cd-muted); font-size: .92rem; }
.cd-preco__valor strong { color: var(--cd-ink); font-size: 1.15rem; }

/* FAQ */
.cd-faq { display: grid; gap: .6rem; max-width: 52rem; }
.cd-faq__item { border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); padding: 0 1.25rem; transition: box-shadow .6s var(--cd-ease); }
.cd-faq__item[open] { box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); }
.cd-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.6rem; cursor: pointer; font-weight: 700; }
.cd-faq__item summary::-webkit-details-marker { display: none; }
.cd-faq__item summary::after { content: ""; flex: none; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: var(--cd-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121412' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 1rem no-repeat; transition: transform .6s var(--cd-ease); }
.cd-faq__item[open] summary::after { transform: rotate(45deg); }
.cd-faq__item p { margin: 0 0 1.25rem; color: var(--cd-muted); line-height: 1.6; }

/* Final CTA */
.cd-final { padding-top: 4rem; }
@media (min-width: 900px) { .cd-final { padding-top: 7rem; } }
.cd-final__core { text-align: center; padding: 3rem 1.5rem; }
@media (min-width: 900px) { .cd-final__core { padding: 5rem 2rem; } }
.cd-final__t { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cd-final__d { margin: 1rem auto 2rem; color: rgb(255 255 255 / .75) !important; max-width: 28rem; }

/* School cross-promotion + sources */
.cd-promo { margin: 4rem 0 0; }
.cd-promo__h { margin: 0 0 .5rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.cd-promo p { color: var(--cd-muted); line-height: 1.55; margin: 0; }
.cd-promo__list { margin: 1rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.cd-promo__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border-radius: 999px; background: var(--cd-bg); color: var(--cd-ink) !important; text-decoration: none; font-weight: 600; font-size: .92rem; }
.cd-promo__list a:hover { background: var(--cd-green-soft); }
.cd-fontes { margin: 2rem 0 0; font-size: .85rem; color: var(--cd-muted); overflow-wrap: anywhere; }
.cd-fontes summary { cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; font-weight: 700; }
.cd-fontes a, .cd-explica a, .cd-sinal a, .cd-fracos a { text-decoration: underline; }

/* ─── Painel ─────────────────────────────────────────────────────────────── */
.cd-painel { display: grid; gap: 1rem; }
@media (min-width: 900px) { .cd-painel { grid-template-columns: 1.1fr .9fr; gap: 1.25rem; align-items: stretch; } }
.cd-painel .cd-bezel, .cd-painel .cd-core { height: 100%; }
.cd-proximo { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; min-height: 17rem; }
@media (min-width: 900px) { .cd-proximo { padding: 2.5rem; } }
.cd-proximo__h { margin: auto 0 0; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cd-proximo__d { margin: .75rem 0 1.5rem; color: rgb(255 255 255 / .75) !important; max-width: 28rem; line-height: 1.5; }
.cd-proximo form { margin: 0; }
.cd-caminho__h { margin: 0 0 1rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.cd-etapas { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.cd-etapa { display: grid; grid-template-columns: 2.25rem 1fr auto; column-gap: .85rem; row-gap: .1rem; align-items: center; padding: .8rem; border-radius: 1.1rem; background: var(--cd-bg); }
.cd-etapa__n { grid-row: span 2; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: #fff; color: var(--cd-muted); font-weight: 800; box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-etapa__t { font-weight: 800; }
.cd-etapa__d { grid-column: 2 / span 2; color: var(--cd-muted); font-size: .88rem; line-height: 1.4; }
.cd-etapa__tag { font-size: .66rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: .25rem .55rem; border-radius: 999px; background: #fff; color: var(--cd-muted); }
.cd-etapa--feito .cd-etapa__n { background: var(--cd-green); color: #fff; box-shadow: none; }
.cd-etapa--feito .cd-etapa__tag { background: var(--cd-green-soft); color: var(--cd-green-2); }
.cd-etapa--agora { background: var(--cd-yellow-soft); box-shadow: inset 0 0 0 1.5px var(--cd-yellow); }
.cd-etapa--agora .cd-etapa__n { background: var(--cd-yellow); color: var(--cd-ink); box-shadow: none; }
.cd-etapa--agora .cd-etapa__tag { background: var(--cd-ink); color: var(--cd-yellow); }
.cd-etapa--depois .cd-etapa__t { color: var(--cd-ink-2); }
.cd-caminho__fim { margin: 1rem 0 0; color: var(--cd-muted); font-size: .88rem; }

.cd-numeros { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: .75rem; }
.cd-numero, .cd-resumo > div { margin: 0; padding: 1.1rem 1.2rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); }
.cd-numeros dt { font-size: .78rem; font-weight: 700; color: var(--cd-muted); text-transform: uppercase; letter-spacing: .08em; }
.cd-numeros dd { margin: .35rem 0 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.035em; color: var(--cd-ink); font-variant-numeric: tabular-nums; }
.cd-progresso__cta { margin: 0 0 .5rem; }

.cd-atalhos { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .cd-atalhos { grid-template-columns: repeat(3, 1fr); } }
.cd-atalho { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: 1rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); text-decoration: none; color: var(--cd-ink) !important; transition: transform .6s var(--cd-ease); }
.cd-atalho:hover { transform: translateY(-2px); }
.cd-atalho__ico { grid-row: span 2; display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: .95rem; background: var(--cd-green-soft); color: var(--cd-green-2); }
.cd-atalho__t { font-weight: 800; }
.cd-atalho__d { color: var(--cd-muted); font-size: .88rem; }

/* ─── Estudar ────────────────────────────────────────────────────────────── */
.cd-estudar { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .cd-estudar { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.cd-estudar__a { height: 100%; }
.cd-estudar__core { height: 100%; display: flex; flex-direction: column; gap: .5rem; min-height: 15rem; }
.cd-estudar__ico { display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; border-radius: 1rem; background: var(--cd-green-soft); color: var(--cd-green-2); margin-bottom: auto; }
.cd-estudar li:nth-child(2) .cd-estudar__ico { background: var(--cd-yellow-soft); color: var(--cd-yellow-ink); }
.cd-estudar li:nth-child(3) .cd-estudar__ico { background: var(--cd-red-soft); color: #8F0A23; }
.cd-estudar__t { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -.03em; }
.cd-estudar__d { color: var(--cd-muted); line-height: 1.5; }
.cd-estudar__tag { margin-top: .75rem; align-self: flex-start; padding: .45rem .95rem; border-radius: 999px; background: var(--cd-ink); color: #fff; font-weight: 700; font-size: .85rem; }
.cd-faixa-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-top: 2rem; padding: 1rem 1.25rem; border-radius: var(--cd-r-lg); background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-faixa-cta p { margin: 0; font-weight: 600; }

/* ─── Road code reader ──────────────────────────────────────────────────── */
.cd-lei { max-width: 50rem; }
.cd-artigo { padding: 1.5rem; margin: 0 0 .75rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); scroll-margin-top: 6rem; }
.cd-artigo:target { box-shadow: inset 0 0 0 2px var(--cd-yellow), var(--cd-shadow); background: linear-gradient(180deg, var(--cd-yellow-soft), #fff 40%); }
.cd-artigo__h { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; }
.cd-artigo__ep { display: block; margin-top: .15rem; font-weight: 600; font-size: 1rem; color: var(--cd-muted); }
.cd-artigo p { margin: 0 0 .6rem; line-height: 1.7; overflow-wrap: anywhere; }
.cd-pager { display: flex; justify-content: space-between; gap: .75rem; margin: 2rem 0 0; }
.cd-pager a { display: inline-flex; align-items: center; min-height: 44px; max-width: 48%; padding: .6rem 1rem; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--cd-line); font-weight: 700; text-decoration: none; }

/* Code search results (shared concept cards, restyled here) */
.cd-app .concept-cards { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; }
.cd-app .concept-card { border: 0; padding: 0; background: none; }
.cd-app .concept-card__link { display: grid; gap: .3rem; padding: 1.1rem 1.25rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); text-decoration: none; color: var(--cd-ink); }
.cd-app .concept-card__title { font-weight: 800; }
.cd-app .concept-card__resumo { color: var(--cd-ink-2); line-height: 1.5; }
.cd-app .concept-card__meta { color: var(--cd-muted); font-size: .85rem; }
.cd-app .section-title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin: 0 0 1rem; }
.cd-app .browse__hint, .cd-app .browse__count { color: var(--cd-muted); line-height: 1.55; }
.cd-app .empty-state { padding: 1.5rem; border-radius: var(--cd-r-lg); background: rgb(255 255 255 / .6); box-shadow: inset 0 0 0 1px var(--cd-line); color: var(--cd-muted); }

/* Fines */
.cd-multas { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
@media (min-width: 900px) { .cd-multas { grid-template-columns: 1fr 1fr; } }
.cd-multa { padding: 1.1rem 1.25rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-multa p { margin: 0; }
.cd-multa__inf { margin-bottom: .6rem !important; line-height: 1.5; overflow-wrap: anywhere; }
.cd-multa__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; align-items: center; }
.cd-multa__row a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.cd-multa__valor { padding: .3rem .7rem; border-radius: 999px; background: var(--cd-red-soft); color: #8F0A23; font-variant-numeric: tabular-nums; }
.cd-multa__notas { margin-top: .4rem !important; color: var(--cd-muted); font-size: .88rem; }

/* Signs */
.cd-grupos { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .cd-grupos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cd-grupos { grid-template-columns: 1fr 1fr 1fr; } }
.cd-grupo { display: grid; grid-template-columns: 4rem 1fr; grid-template-areas: "img nome" "img n"; column-gap: 1rem; align-items: center; padding: 1rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); text-decoration: none; color: var(--cd-ink) !important; transition: transform .6s var(--cd-ease); }
.cd-grupo:hover { transform: translateY(-2px); }
.cd-grupo > img, .cd-grupo__ph { grid-area: img; width: 4rem; height: 4rem; padding: .4rem; border-radius: 1rem; background: var(--cd-bg); }
.cd-grupo__nome { grid-area: nome; font-weight: 800; align-self: end; }
.cd-grupo__n { grid-area: n; color: var(--cd-muted); font-size: .88rem; align-self: start; }
.cd-sinais { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .cd-sinais { grid-template-columns: 1fr 1fr; } }
.cd-sinal { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; align-items: start; padding: 1rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); scroll-margin-top: 6rem; }
.cd-sinal img, .cd-q__sinal { display: block; padding: .5rem; background: var(--cd-bg); border-radius: 1.1rem; box-sizing: content-box; }
.cd-sinal img { width: 5rem; height: 5rem; }
.cd-sinal__ph { display: inline-grid; place-items: center; width: 6rem; height: 6rem; border-radius: 1.1rem; background: var(--cd-bg); font-size: 2rem; }
.cd-sinal__nome { margin: .25rem 0 .35rem; font-size: 1.02rem; font-weight: 800; }
.cd-sinal__desc { margin: 0 0 .35rem; font-size: .92rem; color: var(--cd-ink-2); line-height: 1.5; }

/* ─── Exam: intro ────────────────────────────────────────────────────────── */
.cd-intro { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .cd-intro { grid-template-columns: 1.4fr 1fr; align-items: center; padding: 2.5rem; } }
.cd-regras { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cd-regras li { padding: .9rem 1rem; border-radius: 1.1rem; background: var(--cd-bg); line-height: 1.45; }
.cd-regras strong { font-size: 1.15rem; letter-spacing: -.02em; }
.cd-intro__accao { display: grid; gap: .75rem; justify-items: start; }
.cd-intro__accao form { margin: 0; }
.cd-intro__alt { margin: 0; color: var(--cd-muted); }
.cd-intro__alt a { font-weight: 700; }
.cd-app .gate-teaser { margin: 1.5rem 0; border-radius: var(--cd-r-lg); }

/* ─── Exam: focus mode ───────────────────────────────────────────────────── */
.cd-app--foco .cd-main { padding-top: 1.25rem; }
.cd-foco.exam-bar {
  position: sticky; top: .75rem; z-index: 20; display: flex; align-items: center; gap: .5rem;
  max-width: 46rem; margin: .75rem auto 0; padding: .375rem .375rem .375rem .5rem; border: 0; border-radius: 999px;
  background: rgb(255 255 255 / .8); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 0 0 1px rgb(18 20 18 / .06), inset 0 1px 0 rgb(255 255 255 / .9), 0 18px 40px -24px rgb(0 48 44 / .35);
}
@media (max-width: 780px) { .cd-foco.exam-bar { margin-inline: .75rem; } }
.cd-foco__sair { display: inline-flex; align-items: center; gap: .15rem; min-height: 44px; padding: 0 .8rem 0 .5rem; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--cd-muted) !important; }
.cd-foco__sair:hover { background: var(--cd-bg); color: var(--cd-ink) !important; }
.cd-foco__t { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-foco .exam-bar__timer, .cd-foco__n { display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 .9rem; border-radius: 999px; font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.cd-foco .exam-bar__timer { background: var(--cd-ink); color: #fff; }
.cd-foco .exam-bar__timer.is-low { background: var(--cd-red); color: #fff; }
.cd-foco__n { background: var(--cd-yellow); color: var(--cd-ink); }
@media (max-width: 400px) { .cd-foco__sair span { display: none; } }

.cd-app .cd-q.exam-q {
  margin: 0 0 1rem; padding: 1.25rem; border: 0; border-radius: var(--cd-r-lg); background: var(--cd-card);
  box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow); scroll-margin-top: 6rem; min-width: 0;
}
@media (min-width: 640px) { .cd-app .cd-q.exam-q { padding: 1.75rem; } }
.cd-app .cd-q legend { float: left; width: 100%; margin: 0 0 .75rem; padding: 0; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cd-green-2); }
.cd-app .cd-q legend + * { clear: both; }
.cd-app .cd-q > p { font-size: 1.1rem; font-weight: 700; line-height: 1.45; letter-spacing: -.01em; margin: .5rem 0 1rem; }
.cd-q__sinal { margin: .25rem 0 .5rem; }
.cd-app .exam-q__opt {
  display: flex; gap: .8rem; align-items: center; min-height: 3.4rem; margin: 0 0 .5rem; padding: .7rem .9rem;
  border: 0; border-radius: 1.1rem; background: var(--cd-bg); cursor: pointer; line-height: 1.4;
  transition: background-color .45s var(--cd-ease), box-shadow .45s var(--cd-ease), transform .45s var(--cd-ease);
}
.cd-app .exam-q__opt:hover { background: #ECEAE2; }
.cd-app .exam-q__opt:active { transform: scale(.99); }
.cd-app .exam-q__opt input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--cd-green); }
.cd-app .exam-q__opt strong { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; margin-right: .35rem; border-radius: 999px; background: #fff; font-size: .85rem; box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-app .exam-q__opt:has(input:checked) { background: var(--cd-green-soft); box-shadow: inset 0 0 0 2px var(--cd-green); }
.cd-app .exam-q__opt:has(input:checked) strong { background: var(--cd-green); color: #fff; box-shadow: none; }
.cd-app .exam-q__opt:has(input:focus-visible) { outline: 2.5px solid var(--cd-green); outline-offset: 2px; }
.cd-q__ilustracao { display: block; width: 100%; max-width: 560px; height: auto; margin: .5rem 0 1rem; border-radius: 1.1rem; background: var(--cd-bg); }
.cd-entregar { position: sticky; bottom: .75rem; z-index: 10; display: grid; gap: .75rem; margin-top: 1.5rem; padding: 1rem; border-radius: var(--cd-r-lg); background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px rgb(18 20 18 / .06), 0 18px 40px -24px rgb(0 48 44 / .4); }
.cd-entregar p { margin: 0; color: var(--cd-muted); font-size: .85rem; line-height: 1.45; }
@media (min-width: 640px) { .cd-entregar { grid-template-columns: 1fr auto; align-items: center; } }

/* ─── Exam: result ───────────────────────────────────────────────────────── */
.cd-veredicto { margin: 0 0 1.25rem; padding: 1.5rem; border-radius: var(--cd-r-xl); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow-hi); }
@media (min-width: 640px) { .cd-veredicto { padding: 2.25rem; } }
.cd-veredicto.is-pass { background: linear-gradient(160deg, var(--cd-leaf-soft), #fff 55%); }
.cd-veredicto.is-fail { background: linear-gradient(160deg, var(--cd-red-soft), #fff 55%); }
.cd-veredicto__topo { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.25rem; }
.cd-veredicto__topo .cd-eyebrow { margin-bottom: .5rem; }
.cd-veredicto__h { margin: 0; font-size: clamp(2.4rem, 7vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
.cd-veredicto.is-pass .cd-veredicto__h { color: var(--cd-leaf); }
.cd-veredicto.is-fail .cd-veredicto__h { color: var(--cd-red); }
.cd-veredicto > p { margin: .4rem 0; color: var(--cd-ink-2); line-height: 1.55; }
.cd-anel {
  --cor: var(--cd-leaf);
  flex: none; display: grid; place-items: center; width: 6.25rem; height: 6.25rem; border-radius: 999px;
  background: radial-gradient(closest-side, #fff 78%, transparent 79% 100%), conic-gradient(var(--cor) calc(var(--p) * 1%), rgb(18 20 18 / .08) 0);
}
.is-fail .cd-anel { --cor: var(--cd-red); }
.cd-anel span { font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-placar { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .6rem; margin: 0 0 1rem; }
.cd-placar div { padding: .8rem 1rem; border-radius: 1.1rem; background: rgb(255 255 255 / .8); box-shadow: inset 0 0 0 1px var(--cd-line); }
.cd-placar dt { font-size: .74rem; font-weight: 700; color: var(--cd-muted); text-transform: uppercase; letter-spacing: .08em; }
.cd-placar dd { margin: .25rem 0 0; font-size: 1.45rem; font-weight: 800; letter-spacing: -.03em; color: var(--cd-ink); font-variant-numeric: tabular-nums; }
.cd-placar__de { font-size: .85rem; font-weight: 600; color: var(--cd-muted); letter-spacing: 0; }
.cd-accoes { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin: 0 0 1.5rem; }
.cd-accoes form, .cd-cta-form, .cd-partida { margin: 0; }
.cd-fracos { margin: 0 0 1.5rem; padding: 1.25rem 1.5rem; border-radius: var(--cd-r-lg); background: var(--cd-yellow-soft); box-shadow: inset 0 0 0 1px rgb(252 225 0 / .7); }
.cd-fracos__h { margin: 0 0 .6rem; font-size: 1.15rem; font-weight: 800; }
.cd-fracos ul:not(.cd-linhas) { margin: 0; padding-left: 1.2rem; line-height: 1.6; }

/* Review filters: native radios (visually hidden) + labels as a segmented control */
.cd-rever { padding-top: 1.5rem; }
.cd-filtro__in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.cd-filtro { display: inline-flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1rem; padding: .3rem; border-radius: 999px; background: rgb(18 20 18 / .05); }
.cd-filtro label { min-height: 44px; display: inline-flex; align-items: center; padding: 0 1rem; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--cd-ink-2); transition: background-color .5s var(--cd-ease), color .5s var(--cd-ease); }
#cd-f-todas:checked ~ .cd-filtro label[for="cd-f-todas"],
#cd-f-erradas:checked ~ .cd-filtro label[for="cd-f-erradas"],
#cd-f-certas:checked ~ .cd-filtro label[for="cd-f-certas"] { background: var(--cd-ink); color: #fff; }
#cd-f-todas:focus-visible ~ .cd-filtro label[for="cd-f-todas"],
#cd-f-erradas:focus-visible ~ .cd-filtro label[for="cd-f-erradas"],
#cd-f-certas:focus-visible ~ .cd-filtro label[for="cd-f-certas"] { outline: 2.5px solid var(--cd-green); outline-offset: 2px; }
#cd-f-erradas:checked ~ .cd-revisao .cd-rev.is-right,
#cd-f-certas:checked ~ .cd-revisao .cd-rev.is-wrong,
#cd-f-certas:checked ~ .cd-revisao .cd-rev.is-blank { display: none; }
.cd-filtro__vazio { display: none; }
#cd-f-erradas:checked ~ .cd-filtro__vazio--erradas, #cd-f-certas:checked ~ .cd-filtro__vazio--certas { display: block; }

.cd-revisao { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.cd-rev { padding: 1.25rem; border-radius: var(--cd-r-lg); background: var(--cd-card); box-shadow: inset 0 0 0 1px var(--cd-line); }
@media (min-width: 640px) { .cd-rev { padding: 1.6rem; } }
.cd-rev__h { margin: 0 0 .5rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cd-muted); }
.cd-rev__estado { padding: .15rem .55rem; border-radius: 999px; }
.cd-rev.is-right .cd-rev__estado { background: var(--cd-leaf-soft); color: var(--cd-leaf); }
.cd-rev.is-wrong .cd-rev__estado { background: var(--cd-red-soft); color: #8F0A23; }
.cd-rev.is-blank .cd-rev__estado { background: var(--cd-yellow-soft); color: var(--cd-yellow-ink); }
.cd-rev > p { font-weight: 700; line-height: 1.45; }
.cd-rev__ops { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; }
.cd-op { padding: .7rem .9rem; border: 2px solid transparent; border-radius: 1rem; background: var(--cd-bg); overflow-wrap: anywhere; line-height: 1.45; }
.cd-op--certa { border: 2px solid var(--color-success); background: var(--cd-leaf-soft); color: #145524; }
.cd-op--errada { border: 2px solid var(--color-danger); background: var(--cd-red-soft); color: #8F0A23; }
.cd-op__tag { font-weight: 800; white-space: nowrap; }
.cd-explica { padding: 1rem 1.1rem; border-radius: 1.1rem; background: var(--cd-green-soft); color: var(--cd-ink); }
.cd-explica a { color: var(--cd-green-deep) !important; }
.cd-explica p { margin: 0 0 .35rem; line-height: 1.55; }
.cd-explica__h { font-weight: 800; }

/* ─── Auth (Entrar / Criar conta) ───────────────────────────────────────── */
.cd-auth { max-width: 62rem; }
@media (min-width: 900px) { .cd-auth { padding-top: 3.5rem; } }
.cd-auth__core { display: grid; padding: 0; overflow: hidden; }
@media (min-width: 860px) { .cd-auth__core { grid-template-columns: .9fr 1.1fr; } }
.cd-auth__lado {
  display: none; padding: 2.5rem; color: #fff;
  background:
    radial-gradient(24rem 18rem at 110% -10%, rgb(252 225 0 / .25), transparent 60%),
    radial-gradient(22rem 18rem at -20% 120%, rgb(0 113 104 / .6), transparent 60%),
    var(--cd-green-deep);
}
@media (min-width: 860px) { .cd-auth__lado { display: flex; flex-direction: column; } }
.cd-auth__lado-h { margin: auto 0 1.5rem; font-size: 2.2rem; font-weight: 800; letter-spacing: -.045em; line-height: 1.02; color: #fff; }
.cd-auth__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.cd-auth__lista li { display: flex; align-items: center; gap: .75rem; color: rgb(255 255 255 / .85); font-weight: 600; }
.cd-auth__lista span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 999px; background: rgb(255 255 255 / .1); color: var(--cd-yellow); font-weight: 800; font-size: .85rem; }
.cd-auth__form { padding: 1.75rem 1.25rem; }
@media (min-width: 640px) { .cd-auth__form { padding: 2.75rem; } }
.cd-auth__h { margin: 0; font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cd-auth__sub { margin: .75rem 0 1.5rem; color: var(--cd-muted); }
.cd-auth .form-field { margin: 0 0 1rem; }
.cd-auth .form-label { display: block; margin: 0 0 .4rem; font-weight: 700; font-size: .92rem; color: var(--cd-ink); }
.cd-auth .form-input, .cd-auth .form-select {
  width: 100%; min-height: 3.25rem; padding: 0 1rem; border: 0; border-radius: 1rem; background: var(--cd-bg);
  font: inherit; font-size: 1rem; color: var(--cd-ink); box-shadow: inset 0 0 0 1px var(--cd-line);
  transition: box-shadow .4s var(--cd-ease), background-color .4s var(--cd-ease);
}
.cd-auth .form-input:focus, .cd-auth .form-select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--cd-green); }
.cd-auth .is-error .form-input, .cd-auth .is-error .form-select { box-shadow: inset 0 0 0 2px var(--cd-red); }
.cd-auth .form-hint { margin: .4rem 0 0; color: var(--cd-muted); font-size: .85rem; }
.cd-auth .form-error { margin: .4rem 0 0; color: #8F0A23; font-size: .85rem; font-weight: 600; }
.cd-auth .form-input-wrapper { position: relative; }
.cd-auth .form-input-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--cd-muted); cursor: pointer; }
.cd-auth .form-label-row { display: flex; justify-content: space-between; align-items: baseline; }
.cd-auth .form-link--sm { font-size: .85rem; font-weight: 700; }
.cd-auth .form-checkbox-label { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--cd-ink-2); line-height: 1.45; }
.cd-auth .form-checkbox { width: 1.2rem; height: 1.2rem; margin-top: .1rem; accent-color: var(--cd-green); }
.cd-auth__mais { margin: 0 0 1rem; border-radius: 1rem; background: var(--cd-bg); padding: 0 1rem; }
.cd-auth__mais summary { min-height: 3rem; display: flex; align-items: center; cursor: pointer; font-weight: 700; font-size: .92rem; }
.cd-auth__mais[open] { padding-bottom: .25rem; }
.cd-auth__mais .form-input, .cd-auth__mais .form-select { background: #fff; }
.cd-auth__alt { margin: 1.25rem 0 0; color: var(--cd-muted); text-align: center; }
.cd-auth__alt a { font-weight: 700; }

/* Wanga guide inside the driving app */
.cd-app .guia { margin: 1.5rem 0; }

/* Card links read as cards, not as green links */
.cd-app a.cd-bezel, .cd-app .cd-bento__a, .cd-app .cd-estudar__a { color: var(--cd-ink); text-decoration: none; }
.cd-bento__core--escuro {
  background:
    radial-gradient(26rem 18rem at 105% -10%, rgb(252 225 0 / .22), transparent 60%),
    radial-gradient(20rem 16rem at -10% 120%, rgb(0 113 104 / .55), transparent 60%),
    var(--cd-green-deep);
  box-shadow: inset 0 1px 1px rgb(255 255 255 / .12), var(--cd-shadow-hi);
}
@media (min-width: 900px) { .cd-bento__item--grande .cd-bento__core { padding: 2.5rem; } }
/* Phone: the floating hand-in bar stays small (the note moves above it, out of the sticky box) */
@media (max-width: 639px) {
  .cd-entregar { padding: .375rem; border-radius: 999px; }
  .cd-entregar p { display: none; }
  .cd-entregar .cd-pill { width: 100%; justify-content: space-between; }
}
.cd-auth__lado .cd-eyebrow { align-self: flex-start; }

/* Onboarding survey inside the driving app (R.1) */
.cd-onb { max-width: 40rem; }
.cd-onb__core { padding: 1.5rem 1.25rem; }
@media (min-width: 640px) { .cd-onb__core { padding: 2.5rem; } }
.cd-onb .auth-title { font-size: clamp(1.8rem, 5vw, 2.4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.cd-onb .btn--primary { min-height: 3.25rem; border: 0; border-radius: 999px; background: var(--cd-green); color: #fff; font-weight: 700; box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), 0 14px 30px -16px rgb(0 113 104 / .9); }
.cd-onb .btn--ghost { border-radius: 999px; }

/* =============================================================================
   R.2 — «Tactile road» layer (owner, 2026-11-13: less AI-generic; skeuomorphism +
   liquid glass). Materials, not flat cards: pressable keys with a lip, liquid-glass
   bars with a specular rim, brushed-metal sign plates, paper tickets, a leather code
   book, a dashboard dial and odometer drums. CSS on the R.1 markup, plus the new
   landing hero (a road stage with the Pixar Wanga render, Story CT.1).
   Motion: transform/opacity only. Blur: fixed/sticky bars only. Grain: one fixed layer.
   ============================================================================= */
.cd-app {
  --cd-bg: #F3EFE6;
  --cd-bg-2: #E9E3D6;
  --cd-paper: #FFFDF8;
  --cd-key-top: #0B8C80;
  --cd-key-bot: #006259;
  --cd-key-lip: #00463F;
  --cd-alu-1: #F6F4EF;
  --cd-alu-2: #E2DED4;
  --cd-glass: linear-gradient(160deg, rgb(255 255 255 / .84), rgb(255 255 255 / .5) 60%, rgb(255 255 255 / .66));
  --cd-glass-rim: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 0 0 1px rgb(255 255 255 / .55), inset 0 -10px 18px -14px rgb(0 113 104 / .28);
  --cd-soft: 0 1px 1px rgb(60 40 10 / .05), 0 10px 20px -12px rgb(60 40 10 / .16), 0 40px 70px -40px rgb(0 48 44 / .32);
}
/* Paper grain: one fixed, non-interactive layer (never on scrolling containers). */
.cd-app::after {
  content: ""; position: fixed; inset: 0; z-index: 15; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cd-app::before {
  background:
    radial-gradient(40rem 26rem at 96% -4%, rgb(252 225 0 / .22), transparent 62%),
    radial-gradient(46rem 32rem at -10% 6%, rgb(0 113 104 / .16), transparent 60%),
    radial-gradient(30rem 22rem at 60% 110%, rgb(210 16 52 / .06), transparent 60%),
    linear-gradient(180deg, var(--cd-bg) 0%, var(--cd-bg-2) 100%);
}

/* ─── Liquid glass bars (fixed/sticky only) ─────────────────────────────── */
.cd-ilha, .cd-barra, .cd-foco.exam-bar {
  isolation: isolate;
  background: var(--cd-glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px);
  box-shadow: var(--cd-glass-rim), 0 0 0 1px rgb(18 20 18 / .05), 0 22px 44px -26px rgb(0 48 44 / .5);
}
.cd-ilha, .cd-barra { position: relative; }
.cd-barra { position: fixed; }
.cd-ilha::before, .cd-barra::before {
  content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgb(255 255 255 / .55) 32%, transparent 44%) no-repeat;
  opacity: .7;
}
@media (prefers-reduced-transparency: reduce) { .cd-ilha, .cd-barra, .cd-foco.exam-bar { background: #fff; } }
/* The selected tab is a key pressed into the glass */
@media (min-width: 900px) {
  .cd-tabs { background: rgb(18 20 18 / .05); box-shadow: inset 0 1px 2px rgb(18 20 18 / .12), inset 0 -1px 0 rgb(255 255 255 / .7); }
  .cd-tabs__a[aria-current="page"] {
    background: linear-gradient(180deg, #2b302c, #121412); color: #fff !important;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 2px 0 #000, 0 8px 16px -8px rgb(0 0 0 / .6);
  }
}
.cd-barra__a[aria-current="page"] {
  background: linear-gradient(180deg, #2b302c, #121412);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 2px 0 #000, 0 10px 18px -10px rgb(0 0 0 / .6);
}
.cd-marca__sinal {
  background: radial-gradient(circle at 35% 28%, #fff7a8, var(--cd-yellow) 45%, #d9be00);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 -2px 3px rgb(120 90 0 / .35), 0 3px 6px -2px rgb(120 90 0 / .5);
}

/* ─── Keys: every primary action is a physical key with a lip ───────────── */
.cd-pill, .cd-conta__criar {
  background: linear-gradient(180deg, var(--cd-key-top), var(--cd-key-bot));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .35), inset 0 -2px 0 rgb(0 0 0 / .18), 0 4px 0 var(--cd-key-lip), 0 16px 26px -12px rgb(0 70 63 / .7);
  transition: transform .45s var(--cd-ease), box-shadow .45s var(--cd-ease), filter .45s var(--cd-ease);
}
.cd-pill:hover, .cd-conta__criar:hover { background: linear-gradient(180deg, #0d978a, var(--cd-key-bot)); filter: saturate(1.08); }
.cd-pill:active, .cd-conta__criar:active {
  transform: translateY(3px);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .25), inset 0 2px 6px rgb(0 0 0 / .25), 0 1px 0 var(--cd-key-lip), 0 6px 12px -8px rgb(0 70 63 / .6);
}
.cd-pill__ico {
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .35), rgb(255 255 255 / .1) 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .4), inset 0 -1px 2px rgb(0 0 0 / .25);
}
.cd-pill--clara {
  background: linear-gradient(180deg, #fff, #ECE7DA); --pill-fg: var(--cd-ink);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgb(18 20 18 / .08), 0 4px 0 #B9B19E, 0 16px 26px -12px rgb(0 0 0 / .55);
}
.cd-pill--clara:hover { background: linear-gradient(180deg, #fff, #F2EEE4); }
.cd-pill--clara:active { box-shadow: inset 0 2px 6px rgb(0 0 0 / .15), 0 1px 0 #B9B19E; }
.cd-pill--clara .cd-pill__ico {
  background: radial-gradient(circle at 35% 28%, #fff7a8, var(--cd-yellow) 50%, #d4b800);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), inset 0 -2px 3px rgb(120 90 0 / .35);
}
.cd-pill--escura { background: linear-gradient(180deg, #2f3430, #121412); box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 4px 0 #000, 0 16px 26px -12px rgb(0 0 0 / .6); }
.cd-btn {
  background: linear-gradient(180deg, #fff, #F1ECE1);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgb(18 20 18 / .08), 0 3px 0 #CFC7B5, 0 10px 18px -12px rgb(60 40 10 / .4);
}
.cd-btn:active { transform: translateY(2px); box-shadow: inset 0 2px 4px rgb(0 0 0 / .1), 0 1px 0 #CFC7B5; }
.cd-btn--leve, .cd-btn--leve:active { background: transparent; box-shadow: none; transform: none; }
.cd-btn--off, .cd-btn--off:hover, .cd-btn--off:active {
  transform: none; background: repeating-linear-gradient(135deg, #EEE9DE 0 8px, #E8E2D5 8px 16px);
  box-shadow: inset 0 1px 3px rgb(60 40 10 / .14); color: #545852 !important;
}

/* ─── Materials for cards ───────────────────────────────────────────────── */
/* The bezel is a machined aluminium tray; the core is a sheet of warm paper. */
.cd-bezel {
  background: linear-gradient(180deg, var(--cd-alu-1), var(--cd-alu-2));
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgb(60 40 10 / .08), 0 0 0 1px rgb(60 40 10 / .07), var(--cd-soft);
}
.cd-core { background: linear-gradient(180deg, #fff, var(--cd-paper)); box-shadow: inset 0 1px 0 #fff, 0 1px 2px rgb(60 40 10 / .08), 0 6px 14px -10px rgb(60 40 10 / .25); }
.cd-bezel--escuro { background: linear-gradient(180deg, #24302d, #0b1110); box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px rgb(0 0 0 / .3), var(--cd-soft); }
.cd-linhas, .cd-faq__item, .cd-numero, .cd-resumo > div, .cd-atalho, .cd-grupo, .cd-sinal, .cd-multa, .cd-artigo, .cd-rev, .cd-app .cd-q.exam-q, .cd-app .concept-card__link {
  background: linear-gradient(180deg, #fff, var(--cd-paper));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(60 40 10 / .07), 0 2px 4px -2px rgb(60 40 10 / .12), 0 18px 34px -26px rgb(0 48 44 / .35);
}
.cd-eyebrow { background: linear-gradient(180deg, rgb(255 255 255 / .9), rgb(255 255 255 / .55)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(0 113 104 / .14), 0 4px 10px -6px rgb(0 48 44 / .3); }
.cd-eyebrow::before { background: radial-gradient(circle at 35% 30%, #fff7a8, var(--cd-yellow) 55%, #c9ad00); box-shadow: 0 0 6px rgb(252 225 0 / .9); }
.cd-eyebrow--escuro { background: rgb(255 255 255 / .1); box-shadow: inset 0 1px 0 rgb(255 255 255 / .15); }
/* Answer options: keys you press in */
.cd-app .exam-q__opt { background: linear-gradient(180deg, #F7F4EC, #EFEADF); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #DDD5C4; }
.cd-app .exam-q__opt:hover { background: linear-gradient(180deg, #fff, #F3EFE6); }
.cd-app .exam-q__opt:has(input:checked) { transform: translateY(2px); background: linear-gradient(180deg, #DDF0EB, #E9F5F1); box-shadow: inset 0 0 0 2px var(--cd-green), inset 0 2px 5px rgb(0 70 63 / .18); }
/* Sign thumbnails sit on enamel plates */
.cd-grupo > img, .cd-grupo__ph, .cd-sinal img, .cd-q__sinal, .cd-sinal__ph {
  background: radial-gradient(circle at 30% 20%, #fff, #EDEAE2 70%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 4px rgb(60 40 10 / .1), 0 0 0 1px rgb(60 40 10 / .08);
}

/* ─── Landing hero: road stage + dashboard ──────────────────────────────── */
@media (min-width: 960px) { .cd-hero { grid-template-columns: 1.08fr .92fr; padding-top: 4rem; } }
.cd-hero__h { font-size: clamp(2.6rem, 7.6vw, 5.2rem); letter-spacing: -.055em; }
.cd-quadrante {
  margin-top: 2.25rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; max-width: 36rem;
  padding: .9rem; border-radius: 2rem;
  background: radial-gradient(28rem 10rem at 20% 0%, rgb(0 113 104 / .35), transparent 70%), linear-gradient(180deg, #1A2421, #0A0F0E);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .05), 0 3px 0 #000, 0 30px 50px -30px rgb(0 30 26 / .8);
}
@media (max-width: 520px) { .cd-quadrante { grid-template-columns: 1fr; justify-items: center; } }
.cd-mano { margin: 0; display: grid; justify-items: center; gap: .35rem; color: #fff; }
.cd-mano svg { display: block; border-radius: 999px; box-shadow: 0 0 0 4px #2B3330, 0 0 0 5px #000, 0 0 0 7px #3C4642; }
.cd-mano figcaption { display: grid; justify-items: center; line-height: 1.15; }
.cd-mano strong { font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; color: var(--cd-yellow); font-variant-numeric: tabular-nums; }
.cd-mano figcaption span { font-size: .74rem; color: rgb(255 255 255 / .78); }
.cd-quadrante .cd-factos { margin: 0; max-width: none; width: 100%; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cd-quadrante .cd-factos li.cd-km { display: grid; gap: .35rem; padding: .6rem .7rem; border-radius: 1rem; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .07); color: rgb(255 255 255 / .78); }
.cd-km__d { display: flex; gap: 2px; }
.cd-km__d i {
  display: inline-grid; place-items: center; width: 1.35rem; height: 1.85rem; border-radius: .3rem;
  font-style: normal; font-weight: 800; font-size: 1.05rem; color: #F5F2EA; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #0c0c0c 0%, #3a3a38 46%, #2a2a28 54%, #0c0c0c 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 -1px 0 rgb(0 0 0 / .6);
}
.cd-km__r { font-size: .76rem; line-height: 1.25; }

.cd-palco {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; max-width: 30rem; margin-inline: auto;
  border-radius: 2.5rem;
  background: linear-gradient(180deg, #FFE8B0 0%, #FBE3C0 30%, #CDE9DF 64%, #A9D8CC 100%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .9), inset 0 0 0 1px rgb(255 255 255 / .4), 0 0 0 .5rem rgb(255 255 255 / .55), 0 0 0 calc(.5rem + 1px) rgb(60 40 10 / .08), var(--cd-soft);
}
@media (min-width: 960px) { .cd-palco { transform: rotate(1.2deg); } }
.cd-palco__sol { position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; right: -12%; top: -10%; border-radius: 999px; background: radial-gradient(circle, #FFF7C8 0%, rgb(252 225 0 / .55) 38%, transparent 68%); }
.cd-palco__estrada {
  position: absolute; z-index: 0; left: -10%; right: -10%; bottom: 0; height: 38%;
  background: linear-gradient(180deg, #4A4F4C, #2B2F2D 60%, #1F2221);
  clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}
.cd-palco__estrada::after { /* centre line, narrowing with distance */
  content: ""; position: absolute; left: 50%; bottom: 0; width: 6%; height: 100%; transform: translateX(-50%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(180deg, #FCE100 0 9%, transparent 9% 20%);
}
.cd-palco__guia { position: absolute; z-index: 2; left: 50%; bottom: 4%; height: 76%; width: auto; transform: translateX(-46%); filter: drop-shadow(0 18px 14px rgb(0 0 0 / .28)); }
.cd-placa { position: absolute; z-index: 1; display: grid; justify-items: center; }
.cd-placa::after { /* galvanised pole */
  content: ""; width: .42rem; height: 9rem; margin-top: -.3rem; border-radius: 2px;
  background: linear-gradient(90deg, #8E9692, #E9EEEC 45%, #9AA29E 70%, #6E7672);
}
.cd-placa img { position: relative; z-index: 1; filter: drop-shadow(0 6px 6px rgb(0 0 0 / .25)); }
.cd-placa--stop { left: 8%; bottom: 17%; }
.cd-placa--ced { right: 8%; bottom: 23%; transform: scale(.82); transform-origin: bottom; }
.cd-placa--ced::after { height: 7rem; }
.cd-balao {
  position: absolute; z-index: 3; left: 6%; top: 7%; max-width: 62%;
  padding: .8rem 1rem; border-radius: 1.25rem 1.25rem 1.25rem .35rem;
  background: var(--cd-glass); box-shadow: var(--cd-glass-rim), 0 0 0 1px rgb(255 255 255 / .4), 0 14px 26px -16px rgb(0 48 44 / .55);
  font-size: .92rem; line-height: 1.35; color: var(--cd-ink);
}
.cd-balao b { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cd-green-2); }
@media (prefers-reduced-motion: no-preference) {
  .cd-palco__guia { animation: cd-respira 4.2s cubic-bezier(.45, 0, .25, 1) infinite alternate; transform-origin: 50% 100%; }
  @keyframes cd-respira { from { transform: translateX(-46%) scale(1); } to { transform: translateX(-46%) scale(1.012, 1.02); } }
  .cd-balao { animation: cd-flutua 5s cubic-bezier(.45, 0, .25, 1) infinite alternate; }
  @keyframes cd-flutua { from { transform: translateY(0); } to { transform: translateY(-5px); } }
}

/* ─── «Como funciona» as a road with milestones ─────────────────────────── */
.cd-rota { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: .5rem; }
.cd-rota::before { /* the road */
  content: ""; position: absolute; left: 1.15rem; top: 0; bottom: 0; width: 1.6rem; border-radius: 999px;
  background-image: repeating-linear-gradient(180deg, #FCE100 0 .8rem, transparent .8rem 1.6rem), linear-gradient(90deg, #3A3F40, #23272A);
  background-size: .18rem 100%, 100% 100%; background-position: center, 0 0; background-repeat: no-repeat;
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .1);
}
.cd-rota__marco { position: relative; display: grid; grid-template-columns: 3.9rem 1fr; column-gap: .9rem; align-items: center; padding: 1rem 1.1rem 1rem 0; }
.cd-rota__n {
  grid-row: span 2; justify-self: center; z-index: 1; display: inline-grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px;
  font-weight: 800; font-size: 1.15rem; color: #fff;
  background: radial-gradient(circle at 35% 28%, #17A193, var(--cd-green) 55%, #00534C);
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 4px rgb(0 0 0 / .15), 0 0 0 1px rgb(0 0 0 / .2), 0 6px 10px -4px rgb(0 0 0 / .4);
}
.cd-rota__marco:last-child .cd-rota__n { color: var(--cd-ink); background: radial-gradient(circle at 35% 28%, #FFF7A8, var(--cd-yellow) 55%, #CFB300); }
.cd-rota__t { font-weight: 800; font-size: 1.1rem; letter-spacing: -.02em; align-self: end; }
.cd-rota__d { color: var(--cd-muted); line-height: 1.45; }
@media (min-width: 900px) {
  .cd-rota { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding-top: 4.4rem; }
  .cd-rota::before {
    left: 0; right: 0; top: 1.2rem; bottom: auto; width: auto; height: 1.6rem;
    background-image: repeating-linear-gradient(90deg, #FCE100 0 1.2rem, transparent 1.2rem 2.4rem), linear-gradient(180deg, #3A3F40, #23272A);
    background-size: 100% .18rem, 100% 100%; background-position: center, 0 0;
  }
  .cd-rota__marco {
    grid-template-columns: 1fr; align-content: start; row-gap: .4rem; padding: 1.4rem 1.25rem 1.5rem; border-radius: 1.5rem;
    background: linear-gradient(180deg, #fff, var(--cd-paper));
    box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(60 40 10 / .07), 0 22px 40px -28px rgb(0 48 44 / .4);
  }
  .cd-rota__n { grid-row: auto; justify-self: start; position: absolute; top: -4.3rem; left: 1.25rem; }
  .cd-rota__marco::before { content: ""; position: absolute; top: -1.3rem; left: 2.6rem; width: .3rem; height: 1.3rem; background: linear-gradient(90deg, #8E9692, #E9EEEC 45%, #6E7672); }
}
.cd-rota__fim { margin: 1.25rem 0 0; color: var(--cd-muted); }

/* ─── Bento as objects ──────────────────────────────────────────────────── */
.cd-bento__core--painel { overflow: hidden; isolation: isolate; }
.cd-bento__foto {
  position: absolute; z-index: -1; inset: 0 0 0 auto; width: 58%; height: 100%; object-fit: cover; object-position: 50% 30%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 38%); mask: linear-gradient(90deg, transparent, #000 38%);
}
.cd-bento__core--painel > :not(.cd-bento__foto) { max-width: 60%; }
@media (max-width: 899px) {
  .cd-bento__core--painel { min-height: 27rem; }
  .cd-bento__foto { inset: 0 0 auto 0; width: 100%; height: 64%; -webkit-mask: linear-gradient(180deg, #000 50%, transparent); mask: linear-gradient(180deg, #000 50%, transparent); }
  .cd-bento__core--painel > :not(.cd-bento__foto) { max-width: none; }
  .cd-bento__core--painel .cd-bento__ico { margin-bottom: 0; }
  .cd-bento__core--painel .cd-bento__t { margin-top: auto; }
}
.cd-bento__core--escuro .cd-bento__mais {
  background: radial-gradient(circle at 30% 20%, #FFF7A8, var(--cd-yellow) 60%); box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 3px 0 #A89400, 0 10px 18px -10px rgb(0 0 0 / .6);
}
/* Leather-bound code book with stitching */
.cd-bento__core--livro {
  color: #fff;
  background:
    radial-gradient(18rem 12rem at 85% 0%, rgb(255 255 255 / .12), transparent 70%),
    repeating-radial-gradient(circle at 30% 40%, rgb(0 0 0 / .05) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #0F5B50, #083B34);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 6px 0 0 #062E29, inset 8px 0 0 rgb(255 255 255 / .06), var(--cd-soft);
  outline: 1.5px dashed rgb(252 225 0 / .45); outline-offset: -.8rem;
}
.cd-bento__core--livro .cd-bento__t { color: #FFE97A; text-shadow: 0 1px 0 rgb(0 0 0 / .4); }
.cd-bento__core--livro .cd-bento__d { color: rgb(255 255 255 / .85); }
.cd-bento__core--livro .cd-bento__ico { background: rgb(252 225 0 / .14); color: #FFE97A; box-shadow: inset 0 0 0 1px rgb(252 225 0 / .35); }
/* Brushed-metal sign plate with rivets */
.cd-bento__core--metal {
  background:
    radial-gradient(circle at 1.1rem 1.1rem, #B9BFBC 0 .22rem, #7E8683 .24rem .3rem, transparent .32rem),
    radial-gradient(circle at calc(100% - 1.1rem) 1.1rem, #B9BFBC 0 .22rem, #7E8683 .24rem .3rem, transparent .32rem),
    radial-gradient(circle at 1.1rem calc(100% - 1.1rem), #B9BFBC 0 .22rem, #7E8683 .24rem .3rem, transparent .32rem),
    radial-gradient(circle at calc(100% - 1.1rem) calc(100% - 1.1rem), #B9BFBC 0 .22rem, #7E8683 .24rem .3rem, transparent .32rem),
    linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .55) 42%, transparent 54%),
    repeating-linear-gradient(90deg, #E7EAEA 0 1px, #DADEDF 1px 3px, #E2E6E6 3px 4px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgb(0 0 0 / .08), 0 0 0 1px rgb(0 0 0 / .08), var(--cd-soft);
}
.cd-bento__core--metal .cd-bento__d { color: #464B47; }
.cd-bento__sinais img { width: 3rem; height: 3rem; filter: drop-shadow(0 3px 2px rgb(0 0 0 / .25)); }
/* Fine ticket: perforated paper and a stamp */
.cd-bento__core--talao {
  background:
    radial-gradient(circle at 50% 0, transparent .45rem, #FFFDF4 .5rem) 0 0 / 1.4rem 51% repeat-x,
    radial-gradient(circle at 50% 100%, transparent .45rem, #FFFDF4 .5rem) 0 100% / 1.4rem 51% repeat-x;
  box-shadow: none; filter: drop-shadow(0 14px 18px rgb(60 40 10 / .16));
}
.cd-bento__core--talao::after {
  content: "MULTA"; position: absolute; right: 1.75rem; top: 50%; transform: translateY(-50%) rotate(-12deg);
  padding: .3rem .9rem; border: 3px solid rgb(210 16 52 / .5); border-radius: .5rem; color: rgb(210 16 52 / .55);
  font-weight: 900; letter-spacing: .25em; font-size: 1.1rem;
}
@media (max-width: 640px) { .cd-bento__core--talao::after { display: none; } }
.cd-bento__core--talao .cd-bento__ico { background: var(--cd-red-soft); color: #8F0A23; }

/* Prices: paper tickets with side notches and a tear line */
.cd-preco {
  background: linear-gradient(180deg, #fff, var(--cd-paper));
  -webkit-mask: radial-gradient(circle at 0 58%, transparent .55rem, #000 .58rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 58%, transparent .55rem, #000 .58rem) right / 51% 100% no-repeat;
  mask: radial-gradient(circle at 0 58%, transparent .55rem, #000 .58rem) left / 51% 100% no-repeat, radial-gradient(circle at 100% 58%, transparent .55rem, #000 .58rem) right / 51% 100% no-repeat;
  box-shadow: inset 0 0 0 1px rgb(60 40 10 / .1);
}
.cd-preco__valor { padding-bottom: .9rem; border-bottom: 2px dashed rgb(60 40 10 / .16); }
.cd-preco__valor strong { font-size: 1.35rem; letter-spacing: -.03em; }

/* Final CTA: the licence scene behind dark glass */
.cd-final__core { position: relative; overflow: hidden; isolation: isolate; text-align: left; display: grid; justify-items: start; }
.cd-final__foto { position: absolute; z-index: -1; inset: 0 0 0 auto; width: 52%; height: 100%; object-fit: cover; object-position: 50% 22%; -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%); }
.cd-final__core > :not(.cd-final__foto) { max-width: 30rem; }
@media (max-width: 759px) {
  .cd-final__core { padding-top: 16rem; }
  .cd-final__foto { inset: 0 0 auto 0; width: 100%; height: 18rem; -webkit-mask: linear-gradient(180deg, #000 50%, transparent); mask: linear-gradient(180deg, #000 50%, transparent); }
}
@media (min-width: 900px) { .cd-final__core { padding: 5rem 4rem; } }
.cd-final__d { margin-inline: 0; }
/* R.2: the exam tile stays a dark dashboard panel (beats the paper .cd-core above) */
.cd-core.cd-bento__core--escuro {
  background: radial-gradient(26rem 18rem at 0% 0%, rgb(0 113 104 / .55), transparent 60%), linear-gradient(180deg, #13201D, #070C0B);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), inset 0 0 0 1px rgb(255 255 255 / .04), var(--cd-soft);
}
.cd-bento__core--escuro .cd-bento__ico { background: rgb(252 225 0 / .14); color: var(--cd-yellow); }
.cd-balao { top: 5%; max-width: 56%; font-size: .86rem; }
.cd-palco__guia { height: 70%; }
@media (max-width: 520px) { .cd-balao { max-width: 64%; padding: .65rem .85rem; } .cd-palco__guia { height: 66%; } }
/* Dial colours live here (views carry no hex: D.2 guard) */
.cd-mano__s0 { stop-color: #22312d; } .cd-mano__s1 { stop-color: #060908; }
.cd-mano__zona { stroke: var(--cd-yellow); } .cd-mano__agulha { fill: #E8203F; }
.cd-mano__eixo { fill: #d9ddd9; } .cd-mano__pino { fill: var(--cd-ink); }

/* =============================================================================
   R.3 — «Chrome & liquid glass» (owner, 2026-11-13: remove the clay look, more
   skeuomorphism, more liquid glass). Overrides R.1/R.2:
   - No clay: small, crisp radii (1.25 rem), no puffy diffused drops, no thick
     white rings, no pastel pillows.
   - Liquid glass: translucent panes with a specular top highlight, a light rim and
     a refracted edge, over a vivid fixed colour field. Real backdrop blur on the
     few hero/card panes; frosted (no blur) on long lists for low-end phones.
   - Skeuomorphism: polished chrome frames, glossy gel keys with a lip, a
     windshield frame on the road stage, carbon fibre + chrome dial ring, smoked
     glass on dark tiles. Leather / brushed metal / paper ticket tiles stay.
   ============================================================================= */
.cd-app {
  --cd-r: 1.25rem;
  --cd-r-sm: .85rem;
  --g-tint: linear-gradient(155deg, rgb(255 255 255 / .66), rgb(255 255 255 / .38) 55%, rgb(255 255 255 / .5));
  --g-frost: linear-gradient(155deg, rgb(255 255 255 / .86), rgb(255 255 255 / .7) 55%, rgb(255 255 255 / .8));
  --g-blur: blur(18px) saturate(175%);
  --g-rim: inset 0 1px 0 rgb(255 255 255 / .95), inset 0 -1px 0 rgb(255 255 255 / .3), inset 1px 0 0 rgb(255 255 255 / .45), inset -1px 0 0 rgb(255 255 255 / .2);
  --g-drop: 0 1px 1px rgb(0 40 36 / .08), 0 2px 6px -2px rgb(0 40 36 / .12), 0 18px 36px -22px rgb(0 40 36 / .45);
  --g-smoke: linear-gradient(160deg, rgb(14 24 22 / .82), rgb(6 10 9 / .9));
  --chrome: linear-gradient(135deg, #FFFFFF 0%, #B8BFBC 22%, #F4F6F5 42%, #8F9894 62%, #E3E7E5 80%, #A7AFAB 100%);
  --cd-ease: cubic-bezier(.32, .72, 0, 1);
}

/* The colour field the glass refracts (fixed, painted once). */
.cd-app::before {
  background:
    radial-gradient(34rem 26rem at 90% -8%, rgb(252 225 0 / .62), transparent 62%),
    radial-gradient(40rem 32rem at -8% 8%, rgb(0 150 136 / .5), transparent 62%),
    radial-gradient(30rem 26rem at 78% 62%, rgb(255 132 92 / .30), transparent 62%),
    radial-gradient(36rem 30rem at 6% 92%, rgb(0 113 104 / .40), transparent 62%),
    radial-gradient(26rem 20rem at 45% 38%, rgb(255 255 255 / .55), transparent 70%),
    linear-gradient(160deg, #E4F2EC 0%, #F7EBD6 52%, #E2EFE8 100%);
}
.cd-app::after { opacity: .045; }

/* ─── Glass panes ─────────────────────────────────────────────────────────── */
/* The bezel is now a thin polished-chrome frame; the core is the glass inside it. */
.cd-bezel {
  padding: 3px; border-radius: calc(var(--cd-r) + 3px);
  background: var(--chrome);
  box-shadow: 0 0 0 1px rgb(40 50 46 / .18), var(--g-drop);
}
.cd-core, .cd-bezel > .cd-core {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--cd-r);
  background: var(--g-tint);
  -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur);
  box-shadow: var(--g-rim);
}
/* Specular highlight (curved, top) + refracted lower edge */
.cd-core::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    radial-gradient(130% 70% at 50% -30%, rgb(255 255 255 / .75), rgb(255 255 255 / 0) 62%),
    linear-gradient(180deg, transparent 72%, rgb(0 150 136 / .10) 100%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .cd-core, .cd-bezel > .cd-core { background: var(--g-frost); }
}
@media (prefers-reduced-transparency: reduce) {
  .cd-core, .cd-bezel > .cd-core { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
a.cd-bezel:hover { transform: translateY(-2px); }
a.cd-bezel:hover .cd-core { box-shadow: var(--g-rim), inset 0 0 0 1px rgb(255 255 255 / .6); }
@media (prefers-reduced-motion: no-preference) {
  a.cd-bezel .cd-core::after { /* a liquid glint that slides across on hover */
    content: ""; position: absolute; z-index: 2; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .45) 48%, transparent 60%);
    transform: translateX(-120%); transition: transform 1.1s var(--cd-ease);
  }
  a.cd-bezel:hover .cd-core::after { transform: translateX(120%); }
}

/* Frosted glass (no blur) for long lists and reading surfaces */
.cd-linhas, .cd-faq__item, .cd-numero, .cd-resumo > div, .cd-atalho, .cd-grupo, .cd-sinal, .cd-multa, .cd-artigo,
.cd-rev, .cd-app .cd-q.exam-q, .cd-app .concept-card__link, .cd-placar div, .cd-nota, .cd-faixa-cta, .cd-app .empty-state,
.cd-rota__marco, .cd-veredicto {
  border-radius: var(--cd-r);
  background:
    radial-gradient(130% 60% at 50% -25%, rgb(255 255 255 / .7), rgb(255 255 255 / 0) 60%),
    var(--g-frost);
  box-shadow: var(--g-rim), 0 0 0 1px rgb(40 50 46 / .1), var(--g-drop);
}
.cd-veredicto.is-pass { background: radial-gradient(130% 60% at 50% -25%, rgb(255 255 255 / .7), transparent 60%), linear-gradient(155deg, rgb(234 245 236 / .92), rgb(255 255 255 / .78)); }
.cd-veredicto.is-fail { background: radial-gradient(130% 60% at 50% -25%, rgb(255 255 255 / .7), transparent 60%), linear-gradient(155deg, rgb(253 236 239 / .92), rgb(255 255 255 / .78)); }
.cd-linha { border-radius: var(--cd-r-sm); }
.cd-linha:hover { background: rgb(255 255 255 / .7); }
.cd-linha__seta { background: var(--chrome); box-shadow: 0 0 0 1px rgb(40 50 46 / .2), 0 2px 4px -1px rgb(0 0 0 / .25); }
.cd-linha:hover .cd-linha__seta { background: radial-gradient(circle at 35% 28%, #fff7a8, var(--cd-yellow) 55%, #c9ad00); }

/* Glass bars: stronger liquid edge */
.cd-ilha, .cd-barra, .cd-foco.exam-bar {
  background: linear-gradient(155deg, rgb(255 255 255 / .62), rgb(255 255 255 / .32) 60%, rgb(255 255 255 / .48));
  -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%);
  box-shadow: var(--g-rim), 0 0 0 1px rgb(255 255 255 / .35), 0 0 0 2px rgb(40 50 46 / .06), 0 20px 40px -24px rgb(0 40 36 / .55);
}
.cd-barra { border-radius: 1.4rem; }
.cd-menu__painel { border-radius: var(--cd-r); background: var(--g-frost); -webkit-backdrop-filter: var(--g-blur); backdrop-filter: var(--g-blur); box-shadow: var(--g-rim), 0 0 0 1px rgb(40 50 46 / .12), 0 30px 60px -28px rgb(0 40 36 / .55); }

/* Eyebrow: a small glass lozenge (not a puffy pill) */
.cd-eyebrow {
  border-radius: .5rem; padding: .34rem .7rem;
  background: linear-gradient(180deg, rgb(255 255 255 / .8), rgb(255 255 255 / .45));
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(0 113 104 / .2);
}

/* ─── Gel keys (glossy, crisp, with a lip) ───────────────────────────────── */
.cd-pill, .cd-conta__criar {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, #13A091 0%, #007E73 48%, #006259 52%, #00564E 100%);
  box-shadow: inset 0 0 0 1px rgb(0 40 36 / .55), inset 0 1px 0 rgb(255 255 255 / .55), 0 3px 0 #003B35, 0 12px 22px -10px rgb(0 60 54 / .65);
}
.cd-pill::before, .cd-conta__criar::before { /* the gel highlight on the top half */
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 2px; height: 46%; border-radius: 999px;
  background: linear-gradient(180deg, rgb(255 255 255 / .55), rgb(255 255 255 / .06));
  pointer-events: none;
}
.cd-pill:hover, .cd-conta__criar:hover { background: linear-gradient(180deg, #17AE9E 0%, #008A7E 48%, #006C62 52%, #005E55 100%); }
.cd-pill:active, .cd-conta__criar:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px rgb(0 40 36 / .6), inset 0 2px 6px rgb(0 0 0 / .3), 0 1px 0 #003B35; }
.cd-pill__ico {
  background: var(--chrome);
  color: var(--cd-ink);
  box-shadow: 0 0 0 1px rgb(0 0 0 / .25), inset 0 1px 0 #fff, 0 2px 4px -1px rgb(0 0 0 / .4);
}
.cd-pill--clara {
  background: linear-gradient(180deg, #FFFFFF 0%, #F1F3F2 48%, #DCE1DE 52%, #E9ECEA 100%);
  box-shadow: inset 0 0 0 1px rgb(40 50 46 / .3), inset 0 1px 0 #fff, 0 3px 0 #8E9692, 0 12px 22px -10px rgb(0 0 0 / .5);
}
.cd-pill--clara::before { background: linear-gradient(180deg, rgb(255 255 255 / .9), rgb(255 255 255 / .1)); }
.cd-pill--clara .cd-pill__ico, .cd-final .cd-pill__ico { background: radial-gradient(circle at 35% 28%, #fff7a8, var(--cd-yellow) 50%, #c9ad00); box-shadow: 0 0 0 1px rgb(120 90 0 / .45), inset 0 1px 0 #fff; }
.cd-pill--escura { background: linear-gradient(180deg, #4A504C 0%, #2A2F2C 48%, #151816 52%, #0E100F 100%); box-shadow: inset 0 0 0 1px #000, inset 0 1px 0 rgb(255 255 255 / .35), 0 3px 0 #000, 0 12px 22px -10px rgb(0 0 0 / .6); }
.cd-btn {
  border-radius: .9rem;
  background: linear-gradient(180deg, #FFFFFF 0%, #F3F5F4 48%, #E1E5E3 52%, #ECEFED 100%);
  box-shadow: inset 0 0 0 1px rgb(40 50 46 / .22), inset 0 1px 0 #fff, 0 2px 0 #A7AFAB, 0 8px 16px -10px rgb(0 0 0 / .35);
}
.cd-btn:active { transform: translateY(2px); box-shadow: inset 0 0 0 1px rgb(40 50 46 / .3), inset 0 2px 5px rgb(0 0 0 / .15); }
.cd-btn--off, .cd-btn--off:hover, .cd-btn--off:active {
  border-radius: .9rem; background: repeating-linear-gradient(135deg, rgb(255 255 255 / .55) 0 8px, rgb(230 234 232 / .55) 8px 16px);
  box-shadow: inset 0 0 0 1px rgb(40 50 46 / .15), inset 0 1px 3px rgb(0 0 0 / .08);
}
.cd-tabs { border-radius: .9rem; }
.cd-tabs__a { border-radius: .7rem; }
@media (min-width: 900px) {
  .cd-tabs__a[aria-current="page"] { background: linear-gradient(180deg, #4A504C 0%, #2A2F2C 48%, #151816 52%, #0E100F 100%); box-shadow: inset 0 0 0 1px #000, inset 0 1px 0 rgb(255 255 255 / .3), 0 2px 0 #000; }
}
.cd-barra__a { border-radius: 1rem; }
.cd-barra__a[aria-current="page"] { background: linear-gradient(180deg, #4A504C 0%, #2A2F2C 48%, #151816 52%, #0E100F 100%); box-shadow: inset 0 0 0 1px #000, inset 0 1px 0 rgb(255 255 255 / .3), 0 2px 0 #000; }

/* Answer options: glass keys that sink when chosen */
.cd-app .exam-q__opt {
  border-radius: var(--cd-r-sm);
  background: linear-gradient(180deg, rgb(255 255 255 / .9), rgb(244 246 245 / .8));
  box-shadow: inset 0 0 0 1px rgb(40 50 46 / .14), inset 0 1px 0 #fff, 0 2px 0 rgb(40 50 46 / .16);
}
.cd-app .exam-q__opt:hover { background: #fff; }
.cd-app .exam-q__opt:has(input:checked) { background: linear-gradient(180deg, #D9F0EA, #E8F6F2); box-shadow: inset 0 0 0 2px var(--cd-green), inset 0 3px 6px rgb(0 70 63 / .2); }
.cd-app .exam-q__opt strong { background: var(--chrome); box-shadow: 0 0 0 1px rgb(40 50 46 / .25); }
.cd-op { border-radius: var(--cd-r-sm); }
.cd-explica { border-radius: var(--cd-r-sm); background: linear-gradient(155deg, rgb(227 241 238 / .95), rgb(255 255 255 / .8)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(0 113 104 / .18); }

/* Search: a glass field in a chrome ring */
.cd-pesquisa .search-form__row { border-radius: 1rem; background: var(--g-frost); box-shadow: inset 0 2px 4px rgb(0 0 0 / .08), 0 0 0 1px rgb(40 50 46 / .2), 0 0 0 4px rgb(255 255 255 / .5); }
.cd-pesquisa .btn, .cd-pesquisa .form-input { border-radius: .75rem; }

/* ─── Landing: windshield stage, carbon dashboard ────────────────────────── */
.cd-palco {
  border-radius: 1.5rem;
  box-shadow: 0 0 0 6px #121514, 0 0 0 7px #3A403D, 0 0 0 9px #0B0D0C, 0 30px 60px -30px rgb(0 0 0 / .55);
}
.cd-palco::after { /* windshield reflection */
  content: ""; position: absolute; z-index: 4; inset: 0; pointer-events: none; border-radius: inherit;
  background:
    linear-gradient(118deg, transparent 18%, rgb(255 255 255 / .28) 24%, rgb(255 255 255 / .06) 31%, transparent 38%),
    linear-gradient(118deg, transparent 52%, rgb(255 255 255 / .12) 55%, transparent 60%);
}
.cd-balao {
  border-radius: 1rem 1rem 1rem .3rem;
  background: linear-gradient(155deg, rgb(255 255 255 / .62), rgb(255 255 255 / .32));
  -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%);
  box-shadow: var(--g-rim), 0 0 0 1px rgb(255 255 255 / .45), 0 12px 24px -14px rgb(0 40 36 / .6);
}
.cd-quadrante {
  border-radius: 1.25rem;
  background:
    radial-gradient(26rem 9rem at 20% 0%, rgb(0 150 136 / .3), transparent 70%),
    repeating-linear-gradient(45deg, rgb(255 255 255 / .035) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgb(0 0 0 / .35) 0 2px, transparent 2px 4px),
    linear-gradient(180deg, #1B2220, #0A0D0C);
  box-shadow: 0 0 0 3px #0A0C0B, 0 0 0 4px #4A524E, inset 0 1px 0 rgb(255 255 255 / .12), 0 24px 44px -26px rgb(0 0 0 / .7);
}
.cd-mano svg { box-shadow: 0 0 0 3px #0A0C0B, 0 0 0 6px #C9CFCC, 0 0 0 7px #6E7672, 0 6px 12px -4px rgb(0 0 0 / .6); }
.cd-quadrante .cd-factos li.cd-km { border-radius: .75rem; background: linear-gradient(180deg, rgb(255 255 255 / .07), rgb(255 255 255 / .02)); box-shadow: inset 0 1px 0 rgb(255 255 255 / .1), 0 0 0 1px rgb(0 0 0 / .5); }

/* Road milestones: glass cards on a chrome post */
.cd-rota__marco { border-radius: var(--cd-r); }

/* ─── Bento objects: crisp, real ──────────────────────────────────────────── */
.cd-core.cd-bento__core--escuro {
  background: radial-gradient(26rem 18rem at 0% 0%, rgb(0 150 136 / .45), transparent 60%), linear-gradient(180deg, #13201D, #070C0B);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .14);
}
.cd-bento__core--painel > :not(.cd-bento__foto) { position: relative; }
.cd-bento__core--painel .cd-bento__t, .cd-bento__core--painel .cd-bento__d, .cd-bento__core--painel .cd-bento__mais { z-index: 1; }
@media (min-width: 900px) {
  .cd-bento__core--painel::after { /* smoked-glass reading panel under the text */
    content: ""; position: absolute; z-index: 0; left: 1rem; bottom: 1rem; width: min(58%, 26rem); height: 58%;
    border-radius: 1rem; background: var(--g-smoke);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .16), 0 0 0 1px rgb(255 255 255 / .06);
    transform: none !important;
  }
  .cd-bento__core--painel { padding-left: 2.5rem; padding-bottom: 2.5rem; }
}
.cd-core.cd-bento__core--livro {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background:
    radial-gradient(18rem 12rem at 85% 0%, rgb(255 255 255 / .14), transparent 70%),
    repeating-radial-gradient(circle at 30% 40%, rgb(0 0 0 / .06) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #0F5B50, #083B34);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .2), inset 7px 0 0 #052823, inset 9px 0 0 rgb(255 255 255 / .07);
  outline: 1.5px dashed rgb(252 225 0 / .5); outline-offset: -.7rem;
}
.cd-core.cd-bento__core--metal {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background:
    radial-gradient(circle at 1.1rem 1.1rem, #D9DEDB 0 .2rem, #6E7672 .22rem .3rem, transparent .32rem),
    radial-gradient(circle at calc(100% - 1.1rem) 1.1rem, #D9DEDB 0 .2rem, #6E7672 .22rem .3rem, transparent .32rem),
    radial-gradient(circle at 1.1rem calc(100% - 1.1rem), #D9DEDB 0 .2rem, #6E7672 .22rem .3rem, transparent .32rem),
    radial-gradient(circle at calc(100% - 1.1rem) calc(100% - 1.1rem), #D9DEDB 0 .2rem, #6E7672 .22rem .3rem, transparent .32rem),
    linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .6) 42%, transparent 54%),
    repeating-linear-gradient(90deg, #E7EAEA 0 1px, #D6DADB 1px 3px, #E2E6E6 3px 4px);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 rgb(0 0 0 / .1);
}
.cd-bento__core--metal .cd-bento__t { text-shadow: 0 1px 0 rgb(255 255 255 / .9); }
.cd-core.cd-bento__core--talao { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; overflow: visible; }
.cd-core.cd-bento__core--talao::before { display: none; }
.cd-bezel:has(> .cd-bento__core--talao) { background: transparent; box-shadow: none; padding: 0; }
.cd-bento__ico, .cd-estudar__ico, .cd-atalho__ico { border-radius: .75rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / .8), 0 0 0 1px rgb(40 50 46 / .12); }

/* Dark CTA: smoked glass over the licence scene */
.cd-bezel--escuro { background: var(--chrome); }
.cd-bezel--escuro > .cd-core {
  background: radial-gradient(26rem 18rem at 0% 0%, rgb(0 150 136 / .4), transparent 60%), linear-gradient(180deg, #13201D, #070C0B);
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 1px 0 rgb(255 255 255 / .14);
}
.cd-bezel--escuro > .cd-core::before { background: radial-gradient(130% 60% at 50% -30%, rgb(255 255 255 / .14), transparent 60%); }
.cd-proximo, .cd-final__core { border-radius: var(--cd-r); }

/* Plans: glass; prices keep the paper ticket */
.cd-plano--passe { background: radial-gradient(130% 70% at 50% -30%, rgb(255 255 255 / .75), transparent 62%), linear-gradient(155deg, rgb(255 248 196 / .7), rgb(255 255 255 / .4)); }
.cd-lista-check li::before { background-color: rgb(255 255 255 / .9); box-shadow: 0 0 0 1px rgb(0 113 104 / .3); }

/* Painel path steps: glass rows; «agora» glows yellow */
.cd-etapa { border-radius: var(--cd-r-sm); background: rgb(255 255 255 / .55); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(40 50 46 / .08); }
.cd-etapa--agora { background: linear-gradient(155deg, rgb(255 248 196 / .95), rgb(255 255 255 / .7)); box-shadow: inset 0 1px 0 #fff, 0 0 0 1.5px var(--cd-yellow), 0 0 22px -6px rgb(252 225 0 / .8); }
.cd-etapa__n, .cd-passo__n { box-shadow: 0 0 0 1px rgb(40 50 46 / .2), inset 0 1px 0 #fff; }

/* Review filter: a glass segmented control */
.cd-filtro { border-radius: .9rem; background: rgb(255 255 255 / .45); box-shadow: inset 0 1px 3px rgb(0 0 0 / .1), 0 0 0 1px rgb(40 50 46 / .1); }
.cd-filtro label { border-radius: .65rem; }
.cd-entregar { border-radius: var(--cd-r); background: linear-gradient(155deg, rgb(255 255 255 / .7), rgb(255 255 255 / .42)); -webkit-backdrop-filter: blur(22px) saturate(180%); backdrop-filter: blur(22px) saturate(180%); box-shadow: var(--g-rim), 0 0 0 1px rgb(40 50 46 / .1), 0 20px 40px -24px rgb(0 40 36 / .5); }
/* R.3 fix: chrome only on the 3 px ring (masked pseudo), so the glass shows the colour field, not the metal */
.cd-bezel { position: relative; isolation: isolate; background: transparent; }
.cd-bezel::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 3px; background: var(--chrome); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.cd-bezel:has(> .cd-bento__core--talao)::before { display: none; }
.cd-bezel > .cd-core.cd-bento__core--talao {
  background: radial-gradient(circle at 50% 0, transparent .45rem, #FFFDF4 .5rem) 0 0 / 1.4rem 51% repeat-x, radial-gradient(circle at 50% 100%, transparent .45rem, #FFFDF4 .5rem) 0 100% / 1.4rem 51% repeat-x;
  border-radius: 0; filter: drop-shadow(0 1px 1px rgb(0 0 0 / .12)) drop-shadow(0 14px 16px rgb(0 40 36 / .18)); }
.cd-bezel--escuro { background: transparent; }

/* =============================================================================
   R.4 — owner, 2026-11-13: no blur over the steering-wheel photo; the hero moves
   (dial sweep, odometer roll, road lines); stronger copy; Wanga sales chat launcher.
   ============================================================================= */
/* The exam tile: a dark gradient behind the text (no frosted square over Wanga). */
@media (min-width: 900px) {
  .cd-bento__core--painel::after { display: none; }
  .cd-bento__core--painel::before {
    background: linear-gradient(90deg, rgb(7 12 11 / .96) 0%, rgb(7 12 11 / .82) 34%, rgb(7 12 11 / 0) 58%);
    z-index: -1;
  }
  .cd-bento__foto { width: 66%; -webkit-mask: none; mask: none; }
}
@media (max-width: 899px) {
  .cd-bento__core--painel::before { background: linear-gradient(180deg, transparent 30%, rgb(7 12 11 / .9) 62%); z-index: -1; }
}

/* Trust row under the CTA */
.cd-hero__lead strong { color: var(--cd-ink); font-weight: 800; }
.cd-garantias { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .88rem; font-weight: 600; color: var(--cd-ink-2); }
.cd-garantias li { display: inline-flex; align-items: center; gap: .4rem; }
.cd-garantias li::before {
  content: ""; width: 1rem; height: 1rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #17A193, var(--cd-green) 60%) center / 100% no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / .1);
}

/* ─── Hero motion (only when motion is welcome) ──────────────────────────── */
.cd-km__d i { position: relative; overflow: hidden; }
.cd-km__d b { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; font-weight: 800; transform: translateY(calc((var(--d) + 10) * -1.85rem)); }
.cd-km__d span { display: grid; place-items: center; height: 1.85rem; }
.cd-mano__ponteiro { transform-box: view-box; transform-origin: 60px 60px; }
.cd-mano__zona { stroke-dasharray: 100; stroke-dashoffset: 0; }
.cd-palco__faixa { position: absolute; z-index: 0; left: 50%; bottom: 0; width: 6%; height: 38%; transform: translateX(-50%); overflow: hidden; clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%); }
.cd-palco__faixa i { position: absolute; left: 0; right: 0; top: -40px; bottom: 0; background: repeating-linear-gradient(180deg, var(--cd-yellow) 0 18px, transparent 18px 40px); }
.cd-palco__estrada::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .cd-anima.is-vivo .cd-km__d b { animation: cd-rola 1.9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.35s + var(--k) * .14s); }
  @keyframes cd-rola { from { transform: translateY(0); } }
  .cd-anima.is-vivo .cd-mano__ponteiro { animation: cd-agulha 1.6s cubic-bezier(.34, 1.56, .64, 1) .3s both, cd-ralenti 1.4s cubic-bezier(.45, 0, .55, 1) 2.1s infinite alternate; }
  @keyframes cd-agulha { from { transform: rotate(var(--cd-de)); } }
  @keyframes cd-ralenti { from { transform: rotate(-1.2deg); } to { transform: rotate(1.4deg); } }
  .cd-anima.is-vivo .cd-mano__zona { animation: cd-zona 1s cubic-bezier(.16, 1, .3, 1) 1.2s both; }
  @keyframes cd-zona { from { stroke-dashoffset: 100; } }
  .cd-anima.is-vivo .cd-mano strong { animation: cd-acende .6s cubic-bezier(.16, 1, .3, 1) 1.5s both; }
  @keyframes cd-acende { from { opacity: 0; transform: translateY(4px); } }
  .cd-palco__faixa i { animation: cd-faixa .9s linear infinite; } /* constant road speed: linear is the physics here */
  @keyframes cd-faixa { to { transform: translateY(40px); } }
  .cd-hero .cd-pill::after { /* a glint runs across the main key every few seconds */
    content: ""; position: absolute; z-index: 0; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .5) 50%, transparent 62%);
    transform: translateX(-130%); animation: cd-brilho 5.5s cubic-bezier(.32, .72, 0, 1) 2.4s infinite;
  }
  @keyframes cd-brilho { 0%, 70% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
}

/* ─── Wanga sales chat: launcher + teaser (the panel styles load with the chat) ── */
.cd-chat-lanc {
  position: fixed; z-index: 25; right: 1rem; bottom: calc(6.25rem + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .6rem; padding: .35rem 1rem .35rem .35rem; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 800; font-size: .92rem; color: var(--cd-ink);
  background: linear-gradient(155deg, rgb(255 255 255 / .85), rgb(255 255 255 / .55));
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(40 50 46 / .14), 0 14px 30px -14px rgb(0 40 36 / .6);
  transition: transform .5s var(--cd-ease);
}
@media (min-width: 900px) { .cd-chat-lanc { bottom: 1.5rem; right: 1.5rem; } }
.cd-chat-lanc:hover { transform: translateY(-2px); }
.cd-chat-lanc:active { transform: scale(.97); }
.cd-chat-lanc[hidden] { display: none; }
.cd-chat-lanc__av { position: relative; width: 2.75rem; height: 2.75rem; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 35% 28%, #FFF7A8, var(--cd-yellow) 60%); box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgb(40 50 46 / .2); }
.cd-chat-lanc__av img { display: block; width: 100%; height: 100%; }
.cd-chat-lanc__pt { position: absolute; right: -.1rem; top: -.1rem; width: .8rem; height: .8rem; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 400px) { .cd-chat-lanc__t { display: none; } .cd-chat-lanc { padding-right: .35rem; } }
.cd-chat-isca {
  position: fixed; z-index: 25; right: 1rem; bottom: calc(10rem + env(safe-area-inset-bottom)); max-width: 17rem;
  padding: .85rem 2.4rem .85rem 1rem; border-radius: 1rem 1rem .3rem 1rem; font-size: .92rem; line-height: 1.35; color: var(--cd-ink);
  background: linear-gradient(155deg, rgb(255 255 255 / .92), rgb(255 255 255 / .72));
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgb(40 50 46 / .14), 0 16px 32px -16px rgb(0 40 36 / .6);
  animation: cd-pop .5s cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 900px) { .cd-chat-isca { bottom: 5.5rem; right: 1.5rem; } }
.cd-chat-isca[hidden] { display: none; }
.cd-chat-isca b { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cd-green-2); }
.cd-chat-isca button { position: absolute; top: .2rem; right: .2rem; width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: transparent; font-size: 1.2rem; cursor: pointer; color: var(--cd-ink); }
.cd-chat-isca a { color: inherit !important; text-decoration: none; }
.cd-chat-isca a::after { content: ""; position: absolute; inset: 0; }
.cd-core.cd-bento__core--painel .cd-bento__foto { z-index: -2; }

/* =============================================================================
   R.5 — owner, 2026-11-13: animations play when seen; better use of the desktop
   width; «O teu depósito de perguntas» fuel gauge replaces the generic Premium teaser.
   ============================================================================= */
/* ─── Desktop: use the width ─────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .cd-wrap { max-width: 82rem; padding-inline: 2.5rem; }
  .cd-ilha { max-width: 82rem; }
  .cd-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3.5rem; padding-top: 3rem; }
  .cd-hero__h { font-size: clamp(3.4rem, 5vw, 4.6rem); }
  .cd-hero__lead { max-width: 40rem; }
  .cd-quadrante { max-width: 42rem; }
  .cd-palco { max-width: 32rem; }
  .cd-seccao { padding-top: 5.5rem; }
  .cd-faq { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; column-gap: 1rem; }
  .cd-planos { grid-template-columns: 1fr 1fr; }
  .cd-painel { grid-template-columns: 1.25fr .75fr; }
}
@media (min-width: 1500px) {
  .cd-wrap, .cd-ilha { max-width: 90rem; }
  .cd-hero__h { font-size: 5rem; }
}
/* Section heads sit beside a short intro line on wide screens instead of floating alone */
@media (min-width: 1200px) {
  .cd-seccao__cab { max-width: none; }
}

/* ── CT.6: exam chooser (código / sinais / multas) — phone-first: one column, big one-tap buttons ── */
.cd-tipos { margin: 1.25rem 0 1.5rem; }
.cd-tipos__lista { list-style: none; margin: .75rem 0 0; padding: 0; display: grid; gap: .85rem; grid-template-columns: 1fr; }
.cd-tipo {
  display: flex; flex-direction: column; gap: .6rem; padding: 1rem 1rem 1.05rem; border-radius: var(--cd-r-lg);
  background: var(--cd-paper, var(--cd-card)); box-shadow: inset 0 0 0 1px var(--cd-line), var(--cd-shadow);
  border-top: 5px solid var(--cd-green);
}
.cd-tipo--sinais { border-top-color: var(--cd-red); }
.cd-tipo--multas { border-top-color: #c98a00; }
.cd-tipo__cab { display: flex; gap: .8rem; align-items: flex-start; }
.cd-tipo__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--cd-bg); }
.cd-tipo__h { margin: 0; font-size: 1.15rem; line-height: 1.25; }
.cd-tipo__d { margin: .2rem 0 0; color: var(--cd-muted); font-size: .95rem; line-height: 1.45; }
.cd-tipo__factos { margin: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; }
.cd-tipo__factos span { padding: .3rem .65rem; border-radius: 999px; background: var(--cd-bg); color: var(--cd-ink-2); }
.cd-tipo__reg { margin: 0; font-size: .9rem; color: var(--cd-muted); }
.cd-tipo__form { margin: auto 0 0; }
.cd-tipo__btn { width: 100%; min-height: 48px; justify-content: center; }
@media (min-width: 900px) {
  .cd-tipos__lista { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* CT.6 mobile audit — exam page: no sideways scroll on 360 px phones; the exit link is a full 44 px target. */
.exam-body { overflow-x: hidden; } /* on <body> it propagates to the viewport: a decorative pseudo-element no longer scrolls the page sideways */
.cd-foco__sair { min-width: 44px; justify-content: center; }

/* CT.12: «PT | EN» in the island (before the account slot) and in the footer */
.cd-ilha .cd-idioma { margin-left: auto; font-size: .75rem; }
.cd-ilha .cd-idioma + .cd-conta,
.cd-ilha .cd-idioma + .cd-conta__entrar { margin-left: 0; }
@media (min-width: 900px) { .cd-tabs + .cd-idioma { margin-left: 0; } }
.cd-ilha .cd-idioma .idioma-switch__a { min-width: 1.9rem; min-height: 2.25rem; padding: 0 .25rem; color: var(--cd-muted); }
.cd-ilha .cd-idioma .idioma-switch__a[aria-current='true'] { color: var(--cd-ink); }
.cd-rodape .cd-idioma--rodape { margin-top: .75rem; }
.cd-rodape .cd-idioma--rodape .idioma-switch__a { color: var(--cd-muted) !important; font-weight: 600; }
.cd-rodape .cd-idioma--rodape .idioma-switch__a[aria-current='true'] { color: var(--cd-ink) !important; }
/* Visitors on a narrow phone: «Entrar» + «Começar grátis» fill the island — the switcher stays in the footer */
@media (max-width: 520px) { .cd-ilha:has(.cd-conta__criar) .cd-idioma { display: none; } }
.cd-conta__entrar { white-space: nowrap; }
