/* =========================================================
   Sandbox Regulatório do Sector de Seguros — ASFPM
   Paleta derivada do logótipo oficial (verde #17351C · ouro #F7B726)
   ========================================================= */

:root {
  --green-950: #07160c;
  --green-900: #0c2213;
  --brand-green: #17351c;
  --green-700: #1f4a27;
  --green-600: #2b6236;
  --green-100: #e4ede5;
  --gold-700: #b07a05;
  --gold-600: #d99a0b;
  --gold-500: #f7b726;
  --gold-400: #f9c752;
  --gold-300: #fbd985;
  --gold-100: #fdf3d6;
  --cream: #f8f5ec;
  --paper: #ffffff;
  --ink: #0f1d13;
  --ink-2: #2f3f35;
  --muted: #5a6a5f;
  --line: #e5e2d6;
  --line-strong: #d4d8cf;
  --on-dark: #f3f1e8;
  --on-dark-muted: #adbfb1;
  --on-dark-dim: #7f9484;
  --line-dark: rgba(247, 183, 38, 0.16);
  --danger: #b42318;
  --danger-bg: #fdecea;

  --grad-gold: linear-gradient(100deg, #fde3a0 0%, #f7b726 45%, #e09f0d 100%);

  --font-display: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 10vw, 136px);
  --header-h: 72px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(15, 29, 19, 0.06), 0 2px 8px rgba(15, 29, 19, 0.05);
  --shadow: 0 2px 4px rgba(15, 29, 19, 0.05), 0 12px 32px -8px rgba(15, 29, 19, 0.14);
  --shadow-lg: 0 4px 8px rgba(15, 29, 19, 0.05), 0 28px 60px -16px rgba(15, 29, 19, 0.28);
  --shadow-gold: 0 10px 30px -10px rgba(247, 183, 38, 0.65);

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

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
  background: var(--green-950);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold-300); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--gold-500);
  color: var(--ink);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.text-gold {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  --btn-h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease-out); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn--sm { --btn-h: 40px; padding: 0 18px; font-size: 0.875rem; }
.btn--lg { --btn-h: 56px; padding: 0 28px; font-size: 1rem; }

.btn--gold {
  background: linear-gradient(180deg, #fac84f 0%, var(--gold-500) 55%, #eaa812 100%);
  color: var(--brand-green);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(150, 95, 0, 0.25), var(--shadow-gold);
}
.btn--gold:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(150, 95, 0, 0.25),
    0 16px 36px -10px rgba(247, 183, 38, 0.8);
}
.btn--green {
  background: linear-gradient(180deg, var(--green-700), var(--brand-green));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 24px -12px rgba(23, 53, 28, 0.7);
}
.btn--ghost {
  border-color: rgba(243, 241, 232, 0.24);
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(247, 183, 38, 0.6); background: rgba(247, 183, 38, 0.08); }
.btn--text { padding: 0 12px; color: var(--ink-2); background: transparent; }
.btn--text:hover { color: var(--brand-green); transform: none; background: rgba(23, 53, 28, 0.06); }
.btn--text:hover .icon:first-child { transform: translateX(-3px); }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(23, 53, 28, 0.25);
  border-top-color: var(--brand-green);
  animation: spin 0.8s linear infinite;
}
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Pill ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: rgba(247, 183, 38, 0.12);
  border: 1px solid rgba(247, 183, 38, 0.35);
  color: var(--gold-300);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.pill__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gold-500);
  animation: ping 1.8s var(--ease-out) infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: 0.8; }
  80%, 100% { transform: scale(2.8); opacity: 0; }
}

/* =========================================================
   Cabeçalho
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--on-dark);
  background: rgba(7, 22, 12, 0.35);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled,
.site-header--solid {
  background: rgba(7, 22, 12, 0.82);
  border-bottom-color: rgba(247, 183, 38, 0.12);
}
.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(247, 183, 38, 0.25), 0 6px 18px -6px rgba(247, 183, 38, 0.5);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand__org { font-size: 0.75rem; color: var(--on-dark-muted); letter-spacing: 0.02em; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 4px; }
.site-nav__list a {
  position: relative;
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
  transition: color 0.2s ease;
}
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-out);
}
.site-nav__list a:hover,
.site-nav__list a.is-active { color: var(--on-dark); }
.site-nav__list a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid rgba(243, 241, 232, 0.2);
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark);
}
.nav-toggle .icon { width: 22px; height: 22px; }

/* =========================================================
   Hero + narrativa 3D (palco fixo partilhado)
   ========================================================= */
.immersive {
  --cx: 70%;
  --cy: 52%;
  position: relative;
  color: var(--on-dark);
  background:
    radial-gradient(900px 640px at 8% 0%, rgba(43, 98, 54, 0.55), transparent 62%),
    linear-gradient(180deg, var(--green-900), var(--green-950) 30%);
}

.stage {
  --story: 0;
  position: sticky;
  top: 0;
  z-index: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: radial-gradient(640px 500px at var(--cx) var(--cy), rgba(247, 183, 38, 0.14), transparent 62%);
}
.stage__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  touch-action: pan-y;
  cursor: grab;
}
.stage__canvas:active { cursor: grabbing; }
.has-3d .stage__canvas { opacity: 1; }

.stage__label {
  position: absolute;
  top: 0; left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.1;
  color: var(--on-dark);
  background: rgba(7, 22, 12, 0.7);
  border: 1px solid rgba(247, 183, 38, 0.35);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  will-change: transform, opacity;
}
.stage__label small { font-weight: 600; font-size: 0.75rem; color: var(--gold-500); }

.immersive__content {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
  margin-top: -100svh;
  pointer-events: none;
}
.immersive__content a,
.immersive__content button,
.hero__copy,
.launch,
.trustbar,
.chapter__body { pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(32px, 4vw, 48px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__floor {
  position: absolute;
  left: -50%; right: -50%;
  bottom: 0;
  height: 62%;
  background-image:
    linear-gradient(rgba(247, 183, 38, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 183, 38, 0.16) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(600px) rotateX(70deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 45%, #000 70%, transparent 100%);
  animation: floor-move 5s linear infinite;
}
@keyframes floor-move { to { background-position: 0 72px, 0 0; } }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  grid-template-areas:
    "copy stage"
    "copy launch";
  column-gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero__copy { grid-area: copy; }
.hero__eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin-bottom: 28px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.375rem, 1.3rem + 3.4vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero__lead {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--on-dark-muted);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Lugar do cubo: a cena WebGL do palco fixo é enquadrada sobre este elemento */
.hero__stage {
  grid-area: stage;
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  justify-self: center;
}
.hero__stage::before {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: 8%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(247, 183, 38, 0.22), transparent);
  filter: blur(8px);
}
.hero__fallback {
  position: absolute;
  top: 50%; left: 50%;
  width: 52%;
  height: auto;
  translate: -50% -50%;
  border-radius: 50%;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
  animation: float 6s ease-in-out infinite;
  transition: opacity 0.6s ease;
}
.has-3d .hero__fallback { opacity: 0; }
.hero__hint {
  position: absolute;
  left: 50%; bottom: 2%;
  translate: -50% 0;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  opacity: 0;
  transition: opacity 0.6s ease;
}
.has-3d .hero__hint { opacity: 0.7; }
.is-touched .hero__hint { opacity: 0; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Cartão de lançamento + contagem */
.launch {
  grid-area: launch;
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(100%, 460px);
  margin-top: -96px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.launch__head { display: flex; align-items: center; gap: 14px; }
.launch__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--gold-500);
  background: rgba(247, 183, 38, 0.12);
  border: 1px solid rgba(247, 183, 38, 0.25);
}
.launch__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.launch__date { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--on-dark); }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.countdown__unit {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 4px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -3px 0 rgba(0, 0, 0, 0.25);
}
.countdown__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--gold-400);
}
.countdown__name { font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.launch.is-pending .countdown__unit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(247, 183, 38, 0.12) 50%, transparent 70%);
  translate: -100% 0;
  animation: shimmer 2.8s ease-in-out infinite;
}
.launch.is-pending .countdown__unit:nth-child(2)::after { animation-delay: 0.15s; }
.launch.is-pending .countdown__unit:nth-child(3)::after { animation-delay: 0.3s; }
.launch.is-pending .countdown__unit:nth-child(4)::after { animation-delay: 0.45s; }
@keyframes shimmer { 60%, 100% { translate: 100% 0; } }
.launch__note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.875rem; color: var(--on-dark-muted); }
.launch__note .icon { color: var(--gold-500); width: 16px; height: 16px; }

/* Barra de confiança */
.trustbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: 28px;
  border-top: 1px solid rgba(243, 241, 232, 0.1);
}
.trustbar li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.8125rem; line-height: 1.45; color: var(--on-dark-muted); }
.trustbar .icon { width: 22px; height: 22px; color: var(--gold-500); margin-top: 1px; }
.trustbar strong { display: block; font-size: 0.9375rem; color: var(--on-dark); font-weight: 600; }

/* ---------- Capítulos ---------- */
.chapter {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 96px 0;
}
.chapter__body { max-width: 440px; }
.chapter__num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  color: var(--gold-500);
}
.chapter__num::after { content: ""; width: 40px; height: 1px; background: rgba(247, 183, 38, 0.5); }
.chapter__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.chapter__text { margin-top: 20px; font-size: 1.125rem; color: var(--on-dark-muted); text-wrap: pretty; }
.chapter__note { margin-top: 20px; font-size: 0.875rem; color: var(--on-dark-dim); }

.duo { display: grid; gap: 20px; margin-top: 28px; }
.duo > div { padding-left: 18px; border-left: 2px solid var(--gold-500); }
.duo dt { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; }
.duo dt span { margin-left: 8px; font-size: 0.875rem; color: var(--gold-500); }
.duo dd { margin-top: 4px; color: var(--on-dark-muted); }

.traits { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.traits li {
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid rgba(247, 183, 38, 0.4);
}

/* =========================================================
   Secções
   ========================================================= */
.section { position: relative; padding-block: var(--section-y); background: var(--paper); }
.section--cream { background: var(--cream); }
.section--dark {
  color: var(--on-dark);
  background:
    radial-gradient(800px 500px at 15% 0%, rgba(43, 98, 54, 0.45), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(247, 183, 38, 0.08), transparent 60%),
    var(--green-900);
  overflow: hidden;
  isolation: isolate;
}
.section__bg-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(247, 183, 38, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 183, 38, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 10%, transparent 70%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  background: var(--gold-500);
  transform: rotate(45deg);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--gold-400); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3.125rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.section-lead {
  margin-top: 20px;
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  color: var(--muted);
  text-wrap: pretty;
}
.section--dark .section-lead { color: var(--on-dark-muted); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }

.card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  color: var(--gold-500);
  background: linear-gradient(145deg, var(--green-700), var(--brand-green));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 18px -8px rgba(23, 53, 28, 0.7);
}
.card__icon .icon { width: 22px; height: 22px; }

/* =========================================================
   Processo (linha temporal)
   ========================================================= */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 28px; right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500) 0%, rgba(247, 183, 38, 0.35) 14%, rgba(247, 183, 38, 0.12) 100%);
}
.step { position: relative; }
.step__cube {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: var(--green-900);
}
.step__cube svg { width: 44px; height: 44px; overflow: visible; }
.step__cube path { stroke: rgba(247, 183, 38, 0.5); stroke-width: 1; stroke-linejoin: round; }
.step__cube .t { fill: rgba(255, 255, 255, 0.1); }
.step__cube .l { fill: rgba(255, 255, 255, 0.05); }
.step__cube .r { fill: rgba(255, 255, 255, 0.02); }
.step--current .step__cube path { stroke: none; }
.step--current .step__cube .t { fill: var(--gold-300); }
.step--current .step__cube .l { fill: var(--gold-500); }
.step--current .step__cube .r { fill: var(--gold-600); }
.step--current .step__cube svg {
  filter: drop-shadow(0 10px 16px rgba(247, 183, 38, 0.45));
  animation: float 4s ease-in-out infinite;
}
.step__badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  border: 1px solid rgba(243, 241, 232, 0.16);
}
.step--current .step__badge { color: var(--brand-green); background: var(--gold-500); border-color: transparent; }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; line-height: 1.3; margin-bottom: 6px; }
.step p { font-size: 0.875rem; line-height: 1.55; color: var(--on-dark-muted); }

/* =========================================================
   Pré-registo
   ========================================================= */
.section--register {
  background:
    radial-gradient(900px 600px at 85% 20%, rgba(247, 183, 38, 0.12), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, rgba(43, 98, 54, 0.5), transparent 60%),
    var(--green-950);
}
.register {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.perks { display: grid; gap: 20px; margin-top: 36px; }
.perks li { display: flex; gap: 16px; color: var(--on-dark-muted); font-size: 0.9375rem; }
.perks strong { display: block; color: var(--on-dark); font-weight: 600; }
.perks__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  color: var(--gold-500);
  background: rgba(247, 183, 38, 0.1);
  border: 1px solid rgba(247, 183, 38, 0.22);
}
.prep {
  margin-top: 40px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(247, 183, 38, 0.35);
  background: rgba(255, 255, 255, 0.02);
}
.prep__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.prep__list { display: grid; gap: 10px; margin-top: 14px; }
.prep__list li { display: flex; gap: 10px; align-items: center; font-size: 0.9375rem; }
.prep__list .icon { width: 18px; height: 18px; color: var(--gold-500); stroke-width: 2.5; }

/* Cartão do formulário com efeito de pilha (profundidade) */
.form-card { position: relative; color: var(--ink); }
.form-card::before,
.form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  pointer-events: none;
}
.form-card::before {
  background: rgba(247, 183, 38, 0.85);
  transform: translate(14px, 14px) rotate(1.5deg);
  z-index: -2;
  opacity: 0.9;
}
.form-card::after {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: translate(7px, 7px) rotate(0.75deg);
  z-index: -1;
}
.form,
.form-success {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-xl);
  background: var(--paper);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.6);
}
.form__header { margin-bottom: 28px; }
.form__title { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; letter-spacing: -0.02em; }
.stepper { display: flex; gap: 8px; margin-top: 20px; }
.stepper__item { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.stepper__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.stepper__item.is-active { color: var(--ink); }
.stepper__item.is-active .stepper__num { background: var(--gold-500); border-color: var(--gold-500); color: var(--brand-green); }
.stepper__item.is-done .stepper__num { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.progress { height: 4px; margin-top: 16px; border-radius: 999px; background: var(--cream); overflow: hidden; }
.progress__bar {
  display: block;
  height: 100%;
  width: 33.33%;
  border-radius: inherit;
  background: var(--grad-gold);
  transition: width 0.5s var(--ease-out);
}

.form__alert { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius); font-size: 0.9375rem; color: var(--danger); background: var(--danger-bg); }
.form__step { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 20px; }
.form__step:not([hidden]) { animation: step-in 0.5s var(--ease-out); }
@keyframes step-in {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: none; }
}

.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field__label { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.req { color: var(--gold-700); }
.opt { font-weight: 400; color: var(--muted); }
.field__input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fbfbf8;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field__input::placeholder { color: #9aa49d; }
.field__input:hover { border-color: #b9c1b6; }
.field__input:focus { outline: none; border-color: var(--brand-green); background: #fff; box-shadow: 0 0 0 4px rgba(247, 183, 38, 0.28); }
select.field__input {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2317351C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field__input--area { resize: vertical; min-height: 120px; }
.field__meta { display: flex; justify-content: space-between; gap: 12px; }
.field__count { font-size: 0.75rem; color: var(--muted); font-variant-numeric: tabular-nums; margin-left: auto; }
.field__error { font-size: 0.8125rem; color: var(--danger); }
.field__error:empty { display: none; }
.field.is-invalid .field__input { border-color: var(--danger); background: #fffafa; }
.field.is-invalid .field__input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.15); }

.choice-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.choice-card { position: relative; cursor: pointer; }
.choice-card input,
.chip input,
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-card__body {
  display: grid;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: #fbfbf8;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s var(--ease-out);
}
.choice-card__body strong { font-family: var(--font-display); font-size: 0.9375rem; }
.choice-card__body span { font-size: 0.8125rem; color: var(--muted); }
.choice-card:hover .choice-card__body { border-color: #b9c1b6; transform: translateY(-2px); }
.choice-card input:checked + .choice-card__body { border-color: var(--gold-600); background: var(--gold-100); box-shadow: 0 8px 20px -10px rgba(176, 122, 5, 0.5); }
.choice-card input:focus-visible + .choice-card__body,
.chip input:focus-visible + span,
.check input:focus-visible + .check__box { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.field.is-invalid .choice-card__body { border-color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-size: 0.875rem;
  font-weight: 500;
  background: #fbfbf8;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.chip:hover span { border-color: #b9c1b6; }
.chip input:checked + span { background: var(--brand-green); border-color: var(--brand-green); color: #fff; }
.field.is-invalid .chip span { border-color: rgba(180, 35, 24, 0.5); }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px; height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  border: 1.5px solid var(--line-strong);
  background: #fbfbf8;
  color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.check__box .icon { width: 14px; height: 14px; stroke-width: 3; }
.check input:checked + .check__box { background: var(--brand-green); border-color: var(--brand-green); color: var(--gold-500); }
.check__text { font-size: 0.875rem; line-height: 1.55; color: var(--ink-2); }
.check__text a { color: var(--brand-green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.field.is-invalid .check__box { border-color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.form__counter { font-size: 0.8125rem; color: var(--muted); }

.form-success { text-align: center; padding-block: clamp(48px, 6vw, 72px); }
.form-success:focus { outline: none; }
.form-success__badge {
  display: grid;
  place-items: center;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: var(--brand-green);
  background: var(--grad-gold);
  box-shadow: var(--shadow-gold);
  animation: pop 0.7s var(--ease-out);
}
.form-success__badge .icon { width: 36px; height: 36px; stroke-width: 3; }
.form-success h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: -0.02em; }
.form-success p { max-width: 420px; margin: 12px auto 0; color: var(--muted); }
.form-success strong { color: var(--ink); }
.form-success__ref code {
  padding: 3px 8px;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.875rem;
  color: var(--brand-green);
  background: var(--cream);
}
.form-success .btn { margin-top: 24px; }
@keyframes pop {
  0% { transform: scale(0.4) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.08) rotate(4deg); opacity: 1; }
  100% { transform: none; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
  font-size: 0.875rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card strong { display: block; font-size: 1rem; color: var(--ink); }
.contact-card .card__icon { flex: none; }

.accordion { display: grid; gap: 12px; }
.accordion__item {
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.accordion__item[open] { border-color: rgba(247, 183, 38, 0.5); box-shadow: var(--shadow); }
.accordion__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
  border-radius: inherit;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary .icon {
  width: 32px; height: 32px;
  padding: 7px;
  border-radius: 50%;
  color: var(--brand-green);
  background: var(--cream);
  transition: transform 0.35s var(--ease-out), background-color 0.3s ease;
}
.accordion__item[open] summary .icon { transform: rotate(45deg); background: var(--gold-500); }
.accordion__body { padding: 0 24px 22px; color: var(--muted); }
.accordion__item[open] .accordion__body { animation: fade-down 0.4s var(--ease-out); }
@keyframes fade-down {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Rodapé
   ========================================================= */
.site-footer {
  padding: clamp(56px, 7vw, 88px) 0 32px;
  color: var(--on-dark-muted);
  background: var(--green-950);
  font-size: 0.9375rem;
}
.site-footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(247, 183, 38, 0.18), transparent 60%),
    linear-gradient(135deg, var(--green-700), var(--brand-green));
  border: 1px solid rgba(247, 183, 38, 0.25);
}
.site-footer__cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  letter-spacing: -0.02em;
  color: var(--on-dark);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-top: clamp(48px, 6vw, 72px);
}
.site-footer__brand p { margin-top: 16px; max-width: 340px; }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand__mark { width: 48px; height: 48px; }
.site-footer__title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:not(.btn):not(.brand) { transition: color 0.2s ease; }
.site-footer a:not(.btn):not(.brand):hover { color: var(--gold-400); }
.site-footer__soon {
  display: inline-block;
  margin-top: 14px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--gold-300);
  border: 1px solid rgba(247, 183, 38, 0.3);
}
.site-footer__contact li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact .icon { width: 18px; height: 18px; color: var(--gold-500); }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(243, 241, 232, 0.08);
  font-size: 0.8125rem;
}
.site-footer__legal { display: flex !important; flex-wrap: wrap; gap: 8px 20px !important; }
.site-footer__legal a { text-decoration: underline; text-decoration-color: rgba(243, 241, 232, 0.25); text-underline-offset: 3px; }
.site-footer__disclaimer { margin-top: 16px; font-size: 0.75rem; color: var(--on-dark-dim); max-width: 860px; }

/* =========================================================
   Páginas legais
   ========================================================= */
.legal-hero {
  padding: calc(var(--header-h) + clamp(48px, 7vw, 88px)) 0 clamp(40px, 5vw, 64px);
  color: var(--on-dark);
  background:
    radial-gradient(800px 500px at 10% 0%, rgba(43, 98, 54, 0.5), transparent 60%),
    var(--green-950);
}
.legal-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}
.legal-hero__back:hover { color: var(--gold-400); }
.legal-hero__back .icon { width: 16px; height: 16px; }
.legal-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.legal-hero p { margin-top: 14px; color: var(--on-dark-muted); }

.legal { padding: clamp(48px, 6vw, 80px) 0 var(--section-y); background: var(--paper); }
.legal__inner {
  display: grid;
  grid-template-columns: 240px minmax(0, 720px);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.legal__toc { position: sticky; top: calc(var(--header-h) + 32px); font-size: 0.875rem; }
.legal__toc p {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal__toc ol { display: grid; gap: 8px; counter-reset: toc; }
.legal__toc a { color: var(--ink-2); }
.legal__toc a:hover { color: var(--gold-700); }
.legal__notice {
  margin-bottom: 32px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  color: var(--ink-2);
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
}
.legal__content { color: var(--ink-2); }
.legal__content h2 {
  margin: 40px 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.legal__content h2:first-of-type { margin-top: 0; }
.legal__content p + p,
.legal__content p + ul,
.legal__content ul + p { margin-top: 12px; }
.legal__content ul { display: grid; gap: 8px; padding-left: 20px; list-style: disc; }
.legal__content ul li::marker { color: var(--gold-600); }
.legal__content a { color: var(--brand-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal__content table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 0.9375rem; }
.legal__content th,
.legal__content td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal__content th { font-weight: 600; color: var(--ink); background: var(--cream); }
.legal__content .placeholder { padding: 0 4px; border-radius: 4px; background: var(--gold-100); }

/* =========================================================
   Revelação ao fazer scroll
   ========================================================= */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity 0.9s var(--ease-out) var(--delay, 0s), translate 0.9s var(--ease-out) var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; translate: 0 0; }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1140px) {
  .timeline { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin-inline: auto; }
  .timeline::before {
    top: 28px; bottom: 28px;
    left: 27px; right: auto;
    width: 2px; height: auto;
    background: linear-gradient(180deg, var(--gold-500) 0%, rgba(247, 183, 38, 0.35) 14%, rgba(247, 183, 38, 0.12) 100%);
  }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .step__cube { grid-row: 1 / span 3; margin-bottom: 0; }
  .step__badge { justify-self: start; margin-top: 4px; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: grid; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px var(--gutter) 28px;
    background: var(--green-950); /* sólido: com transparência, o título do hero via-se por trás do menu */
    border-bottom: 1px solid rgba(247, 183, 38, 0.15);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out), visibility 0s linear 0.3s;
  }
  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.3s var(--ease-out);
  }
  .site-header.is-open { background: var(--green-950); }
  .site-nav__list { flex-direction: column; gap: 0; }
  .site-nav__list a { padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid rgba(243, 241, 232, 0.06); border-radius: 0; }
  .site-nav__list a::after { display: none; }
  .site-nav__list a.is-active { color: var(--gold-400); }
  .site-nav__cta { --btn-h: 52px; }

  /* Hero: texto, cubo e cartão empilhados */
  .hero__inner { grid-template-columns: 1fr; grid-template-areas: "copy" "stage" "launch"; }
  .hero__stage { max-width: 440px; margin-top: 8px; }
  .launch { width: 100%; max-width: 560px; margin-top: -64px; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }

  /* Capítulos: o cubo ocupa a metade superior, o texto assenta na inferior */
  .immersive { --cx: 50%; --cy: 28%; }
  .stage::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: var(--story);
    background: linear-gradient(to bottom, transparent 46%, rgba(7, 22, 12, 0.92) 64%, var(--green-950));
  }
  .chapter { align-items: flex-end; padding: 56vh 0 56px; }
  .chapter__title { font-size: clamp(1.875rem, 1.3rem + 3vw, 2.5rem); }

  .register,
  .faq,
  .legal__inner { grid-template-columns: 1fr; }
  .faq__intro,
  .legal__toc { position: static; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand__org { display: none; }
  .brand__name { font-size: 0.75rem; }
  .hero__actions .btn { flex: 1 1 auto; }
  .countdown { gap: 8px; }
  .trustbar { gap: 20px 16px; }

  .field-row,
  .choice-cards { grid-template-columns: 1fr; }
  .stepper__label { display: none; }
  .stepper__item { flex: none; }
  .stepper__item:not(:last-child)::after { content: ""; width: 24px; height: 1px; background: var(--line-strong); }
  .form__counter { display: none; }
  .form__nav .btn--green,
  .form__nav .btn--gold { flex: 1; }
  .form-card::before { transform: translate(8px, 10px) rotate(1.5deg); }
  .form-card::after { transform: translate(4px, 5px) rotate(0.75deg); }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
  .hero__floor { animation: none; }
  .js [data-reveal] { opacity: 1; translate: none; }
}
