/* =========================================================
   Navah: landing page offshore
   Tokens derivados da identidade (Meiji Studios, 2025).
   Quando a ID final chegar, ajuste somente este bloco :root.
   ========================================================= */
:root {
  /* Cores oficiais */
  --electric: #001eff;
  --navy: #04173f;
  --steel: #617cb6;
  --ink: #151a1a;
  --white: #ffffff;

  /* Derivadas */
  --navy-deep: #020b22;          /* fundo mais profundo, mesmo matiz do navy */
  --navy-raised: #0a2253;        /* superfícies sobre o navy */
  --mist: #e8e4e2;               /* fundo claro das pranchas da ID */
  --mist-line: #d3cdca;
  --on-dark: #ffffff;
  --on-dark-soft: #b9c6e6;       /* texto secundário no escuro, tingido do steel */
  --on-dark-faint: #8193c0;
  --on-light: #151a1a;
  --on-light-soft: #4a5058;
  --electric-soft: #6f86ff;      /* azul elétrico legível sobre fundo escuro */
  --line-dark: rgba(185, 198, 230, 0.16);

  /* Tipografia */
  --font: "Poppins", system-ui, sans-serif;
  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.125rem, 1.06rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.4rem, 1.2rem + 0.9vw, 1.9rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 3rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.6vw, 4.6rem);

  /* Espaço */
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section: clamp(4.5rem, 3rem + 7vw, 9rem);
  --measure: 62ch;

  /* Assinatura: canto cortado a 45°, vindo do símbolo */
  --cut: 14px;
  --cut-lg: 28px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 400;
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.2em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--electric); color: var(--white); }
:focus-visible { outline: 2px solid var(--electric-soft); outline-offset: 3px; }
.section--light :focus-visible { outline-color: var(--electric); }
html { scrollbar-color: var(--steel) var(--navy-deep); }

.wrap { width: min(100% - 2 * var(--gutter), 72rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--white); color: var(--ink); padding: 0.6rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 0.75rem; }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--electric);
  --btn-fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3rem; padding: 0.8rem 1.6rem;
  font-weight: 600; font-size: var(--step-0); letter-spacing: -0.005em; line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 0; text-decoration: none; cursor: pointer;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: background-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:hover { --btn-bg: #1a35ff; }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: var(--step--1); --cut: 9px; }
.btn--large { min-height: 3.6rem; padding: 1rem 2.2rem; font-size: var(--step-1); --cut: 16px; }
.btn--ghost { --btn-bg: transparent; box-shadow: inset 0 0 0 1px var(--on-dark-faint); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.06); }
.btn--on-light { margin-top: 0.5rem; }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--electric); }
.btn--white:hover { --btn-bg: #e9edff; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.linklike { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }

/* ---------- Topo ---------- */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 40;
  background: rgba(4, 23, 63, 0.42);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 rgba(185, 198, 230, 0.12);
  transition: background-color 0.3s var(--ease-out);
}
.topbar.is-scrolled { background: rgba(2, 11, 34, 0.66); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { height: 1.55rem; width: auto; }
@media (max-width: 30rem) { .brand__logo { height: 1.15rem; } }
.brand__word { font-weight: 700; font-size: 1.15rem; letter-spacing: 0.06em; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: clamp(7rem, 5rem + 8vw, 10rem);
  padding-bottom: var(--section);
  background: radial-gradient(120% 70% at 70% 0%, #0b2a6e 0%, var(--navy) 38%, var(--navy-deep) 78%);
}
/* Faixas verticais de luz: o elemento-assinatura da ID */
.hero__light {
  position: absolute; inset: -10% -5% 30%; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg,
      transparent 0 3.2%,
      rgba(97, 124, 182, 0.30) 3.6%, transparent 4.4% 7.1%,
      rgba(140, 165, 230, 0.55) 7.5%, transparent 8.1% 11.5%,
      rgba(97, 124, 182, 0.22) 12.2%, transparent 13.5% 16%);
  filter: blur(14px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), rgba(0,0,0,0.35) 55%, transparent 90%), linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero::after { /* granulação, como nas pranchas */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes drift { from { transform: translateX(-3%); } to { transform: translateX(3%); } }

.hero__inner { display: grid; justify-items: center; text-align: center; }
.hero__title { font-size: var(--step-4); max-width: 17ch; font-weight: 600; letter-spacing: -0.035em; }
.hero__lead { margin-top: 1.25rem; max-width: 54ch; font-size: var(--step-1); font-weight: 300; color: var(--on-dark-soft); }
.hero__action { margin-top: 2.25rem; display: grid; justify-items: center; gap: 0.9rem; }
.hero__note { font-size: var(--step--1); color: var(--on-dark-faint); max-width: 40ch; }

/* Entrada orquestrada única do hero */
@media (prefers-reduced-motion: no-preference) {
  .hero__title, .hero__lead, .vsl, .hero__action { animation: rise 1.1s var(--ease-out) backwards; }
  .hero__lead { animation-delay: 0.08s; }
  .vsl { animation-delay: 0.16s; }
  .hero__action { animation-delay: 0.24s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- VSL ---------- */
.vsl { width: 100%; max-width: 56rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.vsl__frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  background: linear-gradient(160deg, #0d2a66, var(--navy-deep));
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
  box-shadow: 0 30px 80px -30px rgba(0, 30, 255, 0.45);
}
.vsl__frame video, .vsl__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.vsl__placeholder {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.75rem;
  color: var(--on-dark-soft); font-size: var(--step--1);
  background:
    linear-gradient(135deg, transparent 49.6%, rgba(97,124,182,0.18) 50%, transparent 50.4%) 0 0 / 3rem 3rem;
}
.vsl__play { width: 4.25rem; height: 4.25rem; padding: 1.1rem; color: var(--white); background: var(--electric); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.vsl__sound {
  position: absolute; left: 0.85rem; bottom: 0.85rem; z-index: 2;
  display: grid; place-items: center; width: 2.1rem; height: 2.1rem; padding: 0;
  background: rgba(2, 11, 34, 0.7); color: var(--white); border: 0; cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: background-color 0.2s var(--ease-out);
}
.vsl__sound[hidden] { display: none; }
.vsl__sound:hover { background: var(--electric); }
.vsl__icon { width: 1rem; height: 1rem; }
.vsl__sound .vsl__icon--off { display: none; }
.vsl__sound.is-muted .vsl__icon--on { display: none; }
.vsl__sound.is-muted .vsl__icon--off { display: block; }
.vsl__close { display: none; }
.vsl__resume {
  position: absolute; inset: 0; z-index: 2; margin: auto;
  display: grid; place-items: center; width: 4rem; height: 4rem; padding: 1.05rem; border: 0; cursor: pointer;
  color: var(--white); background: var(--electric);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: transform 0.2s var(--ease-out);
}
.vsl__resume[hidden] { display: none; }
.vsl__resume:hover { transform: scale(1.06); }

/* Mini player fixo quando o hero sai da tela */
.vsl.is-docked { min-height: var(--vsl-h, auto); animation: none; }
/* o hero é uma camada própria (isolation); sobe enquanto o mini player está ativo, abaixo do menu */
.hero.has-docked { z-index: 39; }
.vsl.is-docked .vsl__frame {
  position: fixed; z-index: 50; right: 1rem; bottom: 1rem; width: min(22rem, calc(100vw - 2rem));
  --cut-lg: 12px;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.7);
  animation: dock 0.45s var(--ease-out);
}
.vsl.is-docked .vsl__close {
  display: grid; place-items: center; position: absolute; top: 0.4rem; right: 0.4rem; z-index: 3;
  width: 1.6rem; height: 1.6rem; padding: 0.3rem; border: 0; cursor: pointer;
  background: rgba(2, 11, 34, 0.75); color: var(--white);
}
.vsl.is-docked .vsl__sound { left: 0.5rem; bottom: 0.5rem; }
@keyframes dock { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- Seções ---------- */
.section { padding-block: var(--section); }
.section--dark { background: var(--navy-deep); color: var(--on-dark); }
.section--light { background: var(--mist); color: var(--on-light); }
.section__title { font-size: var(--step-3); max-width: 22ch; }
.section__lead { margin-top: 1.25rem; max-width: var(--measure); font-size: var(--step-1); font-weight: 300; color: var(--on-dark-soft); }
.source { margin-top: 2.5rem; font-size: var(--step--1); color: var(--on-dark-faint); max-width: 70ch; }

/* Por que agora: linha do tempo em diagonal */
.urgency { border-top: 1px solid var(--line-dark); }
.timeline { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 0; }
.timeline__item {
  display: grid; gap: 0.5rem; padding-block: 1.75rem;
  border-top: 1px solid var(--line-dark);
}
.timeline__when { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.02em; color: var(--electric-soft); }
.timeline__what { max-width: var(--measure); color: var(--on-dark-soft); }
.urgency__close { margin-top: 2.5rem; font-size: var(--step-2); font-weight: 500; letter-spacing: -0.02em; max-width: 28ch; }
@media (min-width: 52rem) {
  .timeline__item { grid-template-columns: 16rem 1fr; gap: 2rem; align-items: baseline; }
}

/* Legalidade */
.legal__grid { display: grid; gap: clamp(2.5rem, 2rem + 3vw, 5rem); }
.legal__intro { display: grid; gap: 1.1rem; align-content: start; }
.legal__intro p { max-width: var(--measure); color: var(--on-light-soft); }
.legal__intro .section__title { margin-bottom: 0.4rem; color: var(--ink); }
.legal__intro .btn { justify-self: start; }
.legal__compare { display: grid; gap: 1.25rem; }
.compare { padding: 1.75rem 1.5rem; background: var(--white); }
.compare + .compare { background: transparent; box-shadow: inset 0 0 0 1px var(--mist-line); }
.compare__title { font-size: var(--step-1); margin-bottom: 1rem; }
.compare__list { display: grid; gap: 0.75rem; }
.compare__list li { position: relative; padding-left: 1.75rem; color: var(--on-light-soft); }
.compare__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.8rem; height: 0.8rem; }
.compare__list--yes li::before { background: var(--electric); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.compare__list--no li::before { height: 2px; top: 0.85em; background: var(--on-light-soft); }
@media (min-width: 60rem) {
  .legal__grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}

/* Onde: mapa-mundi pontilhado + legenda tipográfica */
.map { margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; position: relative; }
.map__svg { width: 100%; height: auto; overflow: visible; }
.map__land { fill: none; stroke: rgba(129, 147, 192, 0.34); stroke-width: 3; stroke-linecap: round; }
.map__route { fill: none; stroke: var(--electric-soft); stroke-width: 1.1; stroke-linecap: round; opacity: 0.75; stroke-dasharray: 600; stroke-dashoffset: 0; }
.map__origin circle { fill: var(--white); }
.map__dot { fill: var(--white); stroke: var(--electric); stroke-width: 2; }
.map__pulse { fill: var(--electric); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map__label { font-family: var(--font); font-size: 12px; font-weight: 500; fill: var(--on-dark-soft); letter-spacing: 0.01em; }
.map__label--origin { fill: var(--white); }
.map__place { cursor: default; }
@media (prefers-reduced-motion: no-preference) {
  /* Rotas em loop contínuo: desenham, permanecem, somem e recomeçam */
  .map.is-visible .map__route { animation: route 7s var(--ease-out) infinite; animation-delay: calc(var(--i) * 0.35s); }
  .map.is-visible .map__pulse { animation: pulse 2.8s ease-out infinite; animation-delay: calc(1.2s + var(--i) * 0.25s); }
  .map:not(.is-visible) .map__route { stroke-dashoffset: 600; }
}
@keyframes route {
  0% { stroke-dashoffset: 600; opacity: 0.75; }
  30% { stroke-dashoffset: 0; opacity: 0.75; }
  80% { stroke-dashoffset: 0; opacity: 0.75; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes pulse { 0% { opacity: 0.55; transform: scale(0.4); } 70%, 100% { opacity: 0; transform: scale(1.6); } }
@media (max-width: 40rem) { .map__label { font-size: 20px; } .map__label--origin { display: none; } }

.places__list {
  margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
  display: flex; flex-wrap: wrap; gap: 0.25rem 0;
  font-size: var(--step-2); font-weight: 600; letter-spacing: -0.025em; line-height: 1.3;
}
.places__list li { color: var(--white); }
.places__list li:not(:last-child)::after {
  content: ""; display: inline-block; width: 0.42em; height: 0.11em; margin: 0 0.45em; vertical-align: 0.3em;
  background: var(--electric); transform: skewX(-45deg);
}
.places__more { font-weight: 300; color: var(--on-dark-faint); }

/* Como funciona */
.steps__list { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; gap: 0; counter-reset: step; }
.steps__list li {
  counter-increment: step; position: relative;
  display: grid; grid-template-columns: 3.25rem 1fr; column-gap: 1rem; row-gap: 0.35rem;
  padding-block: 1.6rem; border-top: 1px solid var(--mist-line);
}
.steps__list li::before {
  content: counter(step); grid-row: span 2;
  display: grid; place-items: center; width: 2.6rem; height: 2.6rem;
  font-weight: 600; color: var(--white); background: var(--electric);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.steps__list h3 { font-size: var(--step-1); color: var(--ink); }
.steps__list p { color: var(--on-light-soft); max-width: var(--measure); }
@media (min-width: 60rem) {
  .steps__list { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .steps__list li { grid-template-columns: 1fr; row-gap: 0.75rem; border-top: 0; padding-top: 0; align-content: start; }
  .steps__list li::before { grid-row: auto; margin-bottom: 0.5rem; }
  .steps__list li::after { /* conector diagonal entre passos */
    content: ""; position: absolute; top: 1.3rem; left: 3.4rem; right: -1.1rem; height: 1px;
    background: linear-gradient(90deg, var(--steel), transparent);
  }
  .steps__list li:last-child::after { display: none; }
}

/* Credibilidade */
.trust { border-bottom: 1px solid var(--line-dark); }
.trust__grid { display: grid; gap: 2rem; }
.trust__body { display: grid; gap: 1.1rem; }
.trust__body p { color: var(--on-dark-soft); max-width: var(--measure); }
.trust__facts { margin: 1rem 0 0; display: grid; gap: 1px; background: var(--line-dark); }
.trust__facts div { display: grid; gap: 0.15rem; padding: 1.1rem 1.25rem; background: var(--navy-deep); }
.trust__facts dt { font-size: var(--step--1); color: var(--on-dark-faint); }
.trust__facts dd { margin: 0; font-size: var(--step-1); font-weight: 500; }
@media (min-width: 52rem) {
  .trust__grid { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
  .trust__facts { grid-template-columns: repeat(3, 1fr); }
}

/* FAQ */
.faq { padding-top: calc(var(--section) * 0.8); }
.faq__wrap { display: grid; gap: 2rem; }
.faq__list { border-top: 1px solid var(--line-dark); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-size: var(--step-1); font-weight: 500; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 0.75rem; height: 0.75rem;
  border-right: 1.5px solid var(--electric-soft); border-bottom: 1.5px solid var(--electric-soft);
  transform: rotate(45deg) translateY(-25%); transition: transform 0.3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-25%); }
.faq details p { padding-bottom: 1.4rem; max-width: var(--measure); color: var(--on-dark-soft); }
@media (min-width: 60rem) { .faq__wrap { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* ---------- Questionário: a superfície azul elétrico ---------- */
.quiz {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: var(--section);
  background: var(--electric); color: var(--white);
}
.quiz::before { /* diagonal do símbolo atravessando o fundo */
  content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 70%; height: 140%;
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0));
  transform: skewX(-45deg); transform-origin: top;
}
.quiz__wrap { display: grid; gap: 2.5rem; }
.quiz__title { font-size: var(--step-3); max-width: 18ch; }
.quiz__offer { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.28); max-width: 34ch; font-size: var(--step-1); font-weight: 500; color: var(--white); }
.quiz__lead { margin-top: 1rem; max-width: 46ch; color: #dfe4ff; font-weight: 300; font-size: var(--step-1); }
.quiz__card {
  position: relative; padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
  background: var(--navy-deep); color: var(--white);
  clip-path: polygon(var(--cut-lg) 0, 100% 0, 100% calc(100% - var(--cut-lg)), calc(100% - var(--cut-lg)) 100%, 0 100%, 0 var(--cut-lg));
  min-height: 30rem; display: flex; flex-direction: column;
}
.quiz__progress { height: 4px; background: var(--line-dark); }
.quiz__progress span { display: block; height: 100%; width: 0; background: var(--electric-soft); transition: width 0.5s var(--ease-out); }
.quiz__count { margin-top: 0.9rem; font-size: var(--step--1); color: var(--on-dark-faint); min-height: 1.4em; font-variant-numeric: tabular-nums; }
.quiz__form { flex: 1; display: flex; }
.quiz__stage { flex: 1; display: flex; flex-direction: column; margin-top: 1.5rem; outline: none; }
.quiz__stage.is-entering { animation: stepIn 0.45s var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.q__title { font-size: var(--step-2); max-width: 30ch; }
.q__hint { margin-top: 0.6rem; color: var(--on-dark-soft); font-size: var(--step--1); max-width: 52ch; }
.q__options { margin-top: 1.75rem; display: grid; gap: 0.65rem; }
@media (min-width: 40rem) { .q__options--2col { grid-template-columns: 1fr 1fr; } }
.q__option {
  display: flex; align-items: center; gap: 0.9rem; width: 100%; min-height: 3.4rem;
  padding: 0.85rem 1.15rem; text-align: left; cursor: pointer;
  font-size: var(--step-0); font-weight: 500; color: var(--white);
  background: var(--navy-raised); border: 0;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.q__option::before {
  content: ""; flex: none; width: 0.9rem; height: 0.9rem;
  background: rgba(129, 147, 192, 0.35);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
  transition: background-color 0.2s;
}
.q__option:hover::before { background: var(--electric-soft); }
.q__option:hover { background: #10306e; box-shadow: inset 0 0 0 1px var(--steel); }
.q__option[aria-pressed="true"] { background: var(--electric); box-shadow: none; }
.q__option[aria-pressed="true"]::before { background: var(--white); }

.q__fields { margin-top: 1.75rem; display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--on-dark-soft); }
.field input {
  width: 100%; min-height: 3.2rem; padding: 0.8rem 1rem;
  font: inherit; color: var(--white); background: var(--navy-raised);
  border: 0; box-shadow: inset 0 0 0 1px var(--line-dark); border-radius: 0; caret-color: var(--electric-soft);
}
.field input::placeholder { color: var(--on-dark-faint); }
.field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--electric-soft); }
.field input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px #ff8a8a; }
.field__error { font-size: var(--step--1); color: #ffb3b3; min-height: 1.2em; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; font-size: var(--step--1); color: var(--on-dark-soft); }
.check input { width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; accent-color: var(--electric); }
.check a { color: var(--white); }
.q__turnstile { margin-top: 1rem; }
.q__turnstile:empty { display: none; }
.q__submit { margin-top: 1.5rem; justify-self: start; }
.q__formerror { margin-top: 0.75rem; color: #ffb3b3; font-size: var(--step--1); }

.q__end { margin-block: auto; display: grid; gap: 1rem; max-width: 46ch; }
.q__end-mark { width: 3rem; height: 3rem; background: var(--electric); clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%); }
.q__end p { color: var(--on-dark-soft); }
.q__end strong { color: var(--white); font-weight: 600; }

.quiz__back {
  align-self: flex-start; margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.4rem 0; background: none; border: 0; cursor: pointer; font-size: var(--step--1); color: var(--on-dark-soft);
}
.quiz__back[hidden] { display: none; }
.quiz__back svg { width: 1.1rem; height: 1.1rem; }
.quiz__back:hover { color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 60rem) {
  .quiz__wrap { grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: start; }
  .quiz__head { position: sticky; top: 7rem; }
}

/* ---------- Rodapé ---------- */
.footer { padding-block: 4rem 2.5rem; background: var(--navy-deep); color: var(--on-dark-soft); font-size: var(--step--1); }
.footer__grid { display: grid; gap: 2rem; }
.footer__brand { display: grid; gap: 0.4rem; color: var(--white); }
.footer__brand p { color: var(--on-dark-faint); }
.footer__logo { height: 1.4rem; width: auto; margin-bottom: 0.4rem; }
.footer__info { margin: 0; display: grid; gap: 1.25rem; }
.footer__info dt { color: var(--white); font-weight: 500; }
.footer__info dd { margin: 0.2rem 0 0; }
.footer__legal { color: var(--on-dark-faint); max-width: 75ch; }
.footer__bottom { padding-top: 1.5rem; border-top: 1px solid var(--line-dark); color: var(--on-dark-faint); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
@media (min-width: 52rem) {
  .footer__grid { grid-template-columns: 1fr 2fr; }
  .footer__info { grid-template-columns: repeat(3, 1fr); }
  .footer__legal, .footer__bottom { grid-column: 1 / -1; }
}

/* ---------- Consentimento ---------- */
.consent {
  position: fixed; z-index: 60; left: 1rem; right: 1rem; bottom: 1rem; max-width: 30rem;
  padding: 1.1rem 1.25rem; display: grid; gap: 0.9rem;
  background: var(--navy-raised); color: var(--on-dark-soft); font-size: var(--step--1);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.6), inset 0 0 0 1px var(--line-dark);
}
.consent[hidden] { display: none; }
.consent__actions { display: flex; gap: 0.6rem; justify-content: flex-end; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
