/* ============================================================================
   FLUTTER EXPERIENCE — R5 Academy
   Design system derivado de branding/R5-Academy-Brand-Guidelines.md
   Carbono ~80% · cromados ~15% · cyber blue ~5% (acento)
   ========================================================================== */

/* ---------------------------------------------------------------- 0. FONTES */
/* Self-hosted (assets/fonts/, subset latin baixado do Google Fonts): evita o CSS
   bloqueante do fonts.googleapis.com e duas conexões extras — no celular era ~1 s
   antes do primeiro texto. Só os pesos usados. Os "* Fallback" são Arial/Courier
   com métricas ajustadas (size-adjust + overrides) para que o texto não pule quando
   a fonte real chega (font-display: swap sem CLS).
   Os .woff2 são gerados por assets/build-fonts.sh a partir de assets/fonts-src/ (originais
   do Google): subset aos caracteres que o site escreve, sem hinting, uma família = um arquivo. */
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/chakra-petch-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/chakra-petch-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/chakra-petch-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Chakra Petch"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/chakra-petch-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Plex: UM arquivo variável (eixo wght 400–700, subset) serve os quatro pesos. Antes eram
   quatro nomes para o mesmo arquivo de 40 KB, e o browser baixava 160 KB na primeira dobra. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/ibm-plex-sans-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Mono só em rótulos pequenos (códigos R5/xx, chips, eyebrows): um arquivo variável
   (eixo wght 400–600, subset, sem as ligaturas de código) atende os três pesos. */
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("assets/fonts/jetbrains-mono-var.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Fallbacks com métrica compatível (calculados com @capsizecss/metrics) */
@font-face { font-family: "Chakra Petch Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 102.51%; ascent-override: 96.77%; descent-override: 30.05%; line-gap-override: 0%; }
@font-face { font-family: "IBM Plex Sans Fallback"; src: local("Arial"), local("Helvetica"); size-adjust: 101.17%; ascent-override: 101.32%; descent-override: 27.18%; line-gap-override: 0%; }
@font-face { font-family: "JetBrains Mono Fallback"; src: local("Courier New"), local("Courier"); size-adjust: 99.98%; ascent-override: 102.02%; descent-override: 30%; line-gap-override: 0%; }
/* Android não tem Arial nem Courier: sem os faces abaixo o texto pintaria em Roboto sem
   ajuste e a chegada da fonte real deslocaria o layout. Métricas de @capsizecss/core
   (createFontStack([fonte, roboto])). Vêm depois dos de Arial na pilha: onde Arial
   existe (iOS, macOS, Windows), ganham os de cima; no Android, o local("Arial") falha
   e o browser cai nestes. */
@font-face { font-family: "Chakra Petch Fallback Android"; src: local("Roboto"); size-adjust: 102.74%; ascent-override: 96.56%; descent-override: 29.98%; line-gap-override: 0%; }
@font-face { font-family: "IBM Plex Sans Fallback Android"; src: local("Roboto"); size-adjust: 101.39%; ascent-override: 101.1%; descent-override: 27.12%; line-gap-override: 0%; }

/* ---------------------------------------------------------------- 1. TOKENS */
:root {
  --cyber-deep: #0046A6;
  --cyber: #007CFF;
  --cyber-bright: #2E9CFF;
  --cyber-electric: #4DD2FF;
  --cyber-glow: rgba(0, 124, 255, 0.45);
  --cyber-soft: rgba(0, 124, 255, 0.08);

  --carbon-0: #07080B;
  --carbon-1: #0A0B0F;
  --carbon-2: #12141A;
  --carbon-3: #181B23;
  --steel: #1F232D;
  --titanium: #2A2F3A;
  --titanium-border: #353B48;

  --chrome-dim: #5C6473;
  --chrome: #8A93A3;
  --chrome-bright: #B3BCCC;
  --platinum: #E2E6EE;
  --white-cold: #F4F6FA;

  --success: #00D49A;
  --warn: #FFB020;
  --danger: #FF4D5E;
  --whatsapp: #25D366;

  --grad-cyber: linear-gradient(135deg, #00B4FF 0%, #007CFF 50%, #0046A6 100%);
  --grad-chrome: linear-gradient(135deg, #D9DFE9, #8A93A3, #4A515E, #B3BCCC);
  --grad-panel: linear-gradient(180deg, #181B23 0%, #12141A 100%);
  --grad-hero: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0, 124, 255, 0.18), transparent 60%);
  --grad-edge: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);

  --ff-display: "Chakra Petch", "Chakra Petch Fallback", "Chakra Petch Fallback Android", "Saira Condensed", system-ui, sans-serif;
  --ff-body: "IBM Plex Sans", "IBM Plex Sans Fallback", "IBM Plex Sans Fallback Android", system-ui, -apple-system, sans-serif;
  --ff-mono: "JetBrains Mono", "JetBrains Mono Fallback", "IBM Plex Mono", ui-monospace, monospace;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: 3rem;
  --fs-4xl: 4rem;

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  --container: 1200px;
  --container-narrow: 860px;
  --nav-h: 72px;
  --promo-h: 38px;

  --r-xs: 2px;
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;

  --clip-cyber: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));

  --bd-thin: 1px solid var(--titanium-border);
  --bd-cyber: 1px solid rgba(0, 124, 255, 0.35);

  --sh-card: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 32px rgba(0, 0, 0, 0.45);
  --sh-elevated: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 56px rgba(0, 0, 0, 0.6);
  --sh-cyber: 0 8px 28px rgba(0, 124, 255, 0.28);
  --sh-cyber-strong: 0 12px 44px rgba(0, 124, 255, 0.45);

  --ease-out-strong: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-mid: 320ms;
  --dur-slow: 560ms;
}

/* ------------------------------------------------------- 2. RESET & BASE */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--promo-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  min-height: 100%;
  background-color: var(--carbon-1);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% -8%, rgba(0, 124, 255, 0.14), transparent 62%),
    radial-gradient(ellipse 60% 50% at 90% 105%, rgba(0, 70, 166, 0.12), transparent 60%);
  background-attachment: fixed;
  color: var(--chrome-bright);
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmosfera — grid de blueprint */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(139, 155, 180, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 155, 180, 0.5) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.018;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
}

/* Atmosfera — grão */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
header,
footer { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--white-cold);
  text-wrap: pretty;
}

/* balance só no h1: em h2 largo ele espreme o título em 3 linhas curtas */
h1 { letter-spacing: -0.02em; text-wrap: balance; }

p { text-wrap: pretty; }

a { color: var(--cyber-bright); text-decoration: none; transition: color var(--dur-fast) var(--ease-out-strong); }
a:hover { color: var(--cyber-electric); }

img { max-width: 100%; height: auto; display: block; }

strong { color: var(--white-cold); font-weight: 600; }

code {
  font-family: var(--ff-mono);
  font-size: 0.85em;
  color: var(--cyber-bright);
  background: var(--cyber-soft);
  border: 1px solid rgba(0, 124, 255, 0.18);
  padding: 1px 6px;
  border-radius: var(--r-xs);
  white-space: nowrap;
}

::selection { background: rgba(0, 124, 255, 0.32); color: var(--white-cold); }

:focus-visible {
  outline: 2px solid var(--cyber-bright);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* -------------------------------------------------- 3. LAYOUT & UTILITÁRIOS */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.container--narrow { max-width: var(--container-narrow); }

.section { position: relative; padding-block: clamp(2.75rem, 5vw, 4rem); }

.section--carbon {
  background: linear-gradient(180deg, transparent, rgba(7, 8, 11, 0.8) 12%, rgba(7, 8, 11, 0.8) 88%, transparent);
}

/* Cabeçalho de seção: eyebrow → título → lead, empilhados à esquerda.
   (A versão em duas colunas alinhada pela base abria um vão acima do título
   sempre que o lead era mais alto que ele.) */
.section-head {
  display: grid;
  gap: var(--sp-4);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head .eyebrow { margin-bottom: 0; }

.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  margin-bottom: var(--sp-4);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyber);
  flex-shrink: 0;
}

.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}

.section-lead {
  font-size: clamp(1rem, 1.4vw, var(--fs-md));
  color: var(--chrome-bright);
}

.section-head--center .section-lead { margin-inline: auto; }

.text-cyber { color: var(--cyber-bright); }

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--dur-slow) var(--ease-out-strong), transform var(--dur-slow) var(--ease-out-strong);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* Checkmark via clip-path (não usar ✓ de fonte) */
.check {
  position: relative;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--r-xs);
  background: var(--cyber-soft);
  border: var(--bd-cyber);
  margin-top: 3px;
}

.check::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 8px;
  height: 8px;
  background: var(--cyber-bright);
  clip-path: polygon(13% 48%, 0 61%, 38% 100%, 100% 22%, 86% 8%, 36% 71%);
}

/* ----------------------------------------------------------- 4. BOTÕES */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out-strong),
              box-shadow var(--dur-mid) var(--ease-out-strong),
              border-color var(--dur-fast) var(--ease-out-strong),
              color var(--dur-fast) var(--ease-out-strong);
}

/* Sweep de brilho diagonal — efeito de assinatura */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-18deg);
  transition: left var(--dur-slow) var(--ease-out-strong);
}

.btn:hover::before { left: 140%; }

.btn .arrow { transition: transform var(--dur-fast) var(--ease-out-strong); }
.btn:hover .arrow { transform: translateX(4px); }

.btn-lg { padding: 18px 32px; font-size: var(--fs-base); }

.btn-primary {
  background: var(--grad-cyber);
  color: var(--white-cold);
  box-shadow: var(--sh-cyber);
}

.btn-primary:hover { color: var(--white-cold); transform: translateY(-2px); box-shadow: var(--sh-cyber-strong); }

.btn-ghost {
  background: transparent;
  border-color: var(--titanium-border);
  color: var(--platinum);
}

.btn-ghost:hover { border-color: var(--chrome); color: var(--white-cold); }

/* ---------------------------------------------------------- 5. PROMO BAR */
.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding-inline: var(--sp-4);
  background: var(--grad-cyber);
  color: var(--white-cold);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}

.promo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyber-electric);
  box-shadow: 0 0 10px var(--cyber-electric);
  animation: blink 1.6s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.82); }
}

.promo-sep { opacity: 0.55; }

/* ------------------------------------------------------------- 6. NAVBAR */
.navbar {
  position: fixed;
  top: var(--promo-h);
  left: 0;
  right: 0;
  z-index: 190;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(10, 11, 15, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid rgba(53, 59, 72, 0.5);
  transition: background var(--dur-mid) var(--ease-out-strong);
}

.navbar.is-scrolled { background: rgba(7, 8, 11, 0.94); border-bottom-color: var(--titanium-border); }

.nav-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.nav-brand { display: flex; align-items: center; gap: var(--sp-4); min-width: 0; }

/* Lado direito da navbar quando há mais de um elemento (success.html) */
.nav-tail { display: flex; align-items: center; gap: var(--sp-4); flex-shrink: 0; }

.nav-logo { height: 42px; width: auto; }

.nav-brand-divider { width: 1px; height: 30px; background: var(--titanium-border); flex-shrink: 0; }

.nav-brand-r5 { display: flex; align-items: center; gap: var(--sp-2); flex-shrink: 0; }

.nav-submark { height: 40px; width: auto; opacity: 0.9; }

.nav-chip {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  border: 1px solid var(--titanium);
  border-radius: var(--r-xs);
  padding: 3px 7px;
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: var(--sp-5); list-style: none; }

.nav-links a {
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--chrome);
  padding-block: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--cyber);
  transition: width var(--dur-mid) var(--ease-out-strong);
}

.nav-links a:hover { color: var(--white-cold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta { flex-shrink: 0; }

/* --------------------------------------------------------------- 7. HERO */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--promo-h) + clamp(2rem, 5vw, 3.5rem));
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  /* coluna dos phones fixa: o título ganha o resto e cabe em 2 linhas */
  grid-template-columns: minmax(0, 1fr) clamp(360px, 32vw, 460px);
  grid-template-areas:
    "copy visual"
    "form visual";
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: var(--sp-6);
  align-items: center;
}

.hero-copy { grid-area: copy; }
.hero-form { grid-area: form; }
.hero-visual { grid-area: visual; }

.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-bottom: var(--sp-5); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: rgba(18, 20, 26, 0.7);
  color: var(--chrome);
}

/* GRÁTIS é o argumento nº 1: pill sólida, com brilho, maior que os outros badges */
.hero-badge--free {
  border-color: var(--success);
  background: var(--success);
  color: var(--carbon-0);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  padding: 8px 14px;
  box-shadow: 0 0 0 1px rgba(0, 212, 154, 0.4), 0 6px 24px rgba(0, 212, 154, 0.35);
}

.free-tag {
  display: inline-block;
  vertical-align: 0.15em;
  margin-left: var(--sp-2);
  padding: 4px 9px;
  border-radius: var(--r-xs);
  background: var(--success);
  color: var(--carbon-0);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 212, 154, 0.3);
}
.hero-badge--cyber { border-color: rgba(0, 124, 255, 0.35); background: var(--cyber-soft); color: var(--cyber-bright); }

.hero-title {
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: var(--sp-4);
  text-wrap: pretty; /* sem balance: a primeira linha vai até onde couber */
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, var(--fs-md));
  color: var(--chrome-bright);
}

.hero-lead strong { color: var(--white-cold); }

/* Cartão "Guiado por" — autoridade acima da dobra */
.hero-guide {
  display: flex; /* largura da coluna, alinhado com o formulário abaixo */
  width: 100%;
  align-items: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding: 10px 14px 10px 10px;
  border: var(--bd-cyber);
  border-radius: var(--r-sm);
  background: rgba(18, 20, 26, 0.8);
  box-shadow: var(--sh-card), 0 0 40px rgba(0, 124, 255, 0.1);
  color: inherit;
  transition: border-color var(--dur-fast) var(--ease-out-strong), transform var(--dur-fast) var(--ease-out-strong);
}

.hero-guide:hover { border-color: var(--cyber); transform: translateY(-2px); color: inherit; }

.hero-guide img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cyber);
  flex-shrink: 0;
}

.hero-guide-text { display: flex; flex-direction: column; line-height: 1.3; }

.hero-guide-label {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.hero-guide strong { font-family: var(--ff-display); font-size: var(--fs-md); color: var(--white-cold); }

.hero-guide-role { font-size: var(--fs-sm); color: var(--cyber-bright); }

.hero-guide-badge {
  margin-left: auto;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  padding: 7px 10px;
  background: var(--grad-cyber);
  color: var(--white-cold);
  border-radius: var(--r-xs);
  box-shadow: var(--sh-cyber);
}

/* Prova rápida sob o formulário */
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  margin-top: var(--sp-4);
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--chrome);
}

.hero-proof .check { margin-top: 0; width: 15px; height: 15px; }
.hero-proof .check::after { width: 7px; height: 7px; }

/* ---------------------------------------------- 8. FORMULÁRIO DE CAPTURA */
.lead-form {
  position: relative;
  background: var(--grad-panel);
  border: var(--bd-cyber);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-elevated), 0 0 60px rgba(0, 124, 255, 0.08);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.lead-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cyber);
}

.lead-form-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.lead-form-title { font-size: var(--fs-lg); }

.lead-form-dates {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyber-bright);
}

.lead-form-foot {
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--chrome-dim);
  line-height: 1.5;
}

/* Override do embed Mautic */
.mautic-slot { min-height: 150px; }
.mauticform_wrapper { max-width: none !important; margin: 0 !important; }

.mauticform-page-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.mauticform-row { width: auto !important; display: grid; gap: 5px; }

.mauticform-button-wrapper { grid-column: 1 / -1; margin-top: var(--sp-1); }

.mauticform-label {
  font-family: var(--ff-mono) !important;
  font-size: 0.6875rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--chrome) !important;
  margin: 0 !important;
}

.mauticform-input {
  width: 100% !important;
  height: 48px;
  padding: 0 14px !important;
  background: var(--carbon-0) !important;
  border: var(--bd-thin) !important;
  border-radius: var(--r-sm) !important;
  color: var(--white-cold) !important;
  font-family: var(--ff-body) !important;
  font-size: var(--fs-base) !important;
  box-shadow: none !important;
  transition: border-color var(--dur-fast) var(--ease-out-strong), box-shadow var(--dur-fast) var(--ease-out-strong);
}

.mauticform-input::placeholder { color: var(--chrome-dim) !important; }

.mauticform-input:focus {
  outline: none !important;
  border-color: var(--cyber) !important;
  box-shadow: 0 0 0 3px rgba(0, 124, 255, 0.16) !important;
}

.mauticform-button {
  width: 100% !important;
  border: none !important;
  border-radius: var(--r-sm) !important;
  padding: 17px 24px !important;
  background: var(--grad-cyber) !important;
  color: var(--white-cold) !important;
  font-family: var(--ff-display) !important;
  font-size: var(--fs-base) !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: var(--sh-cyber) !important;
  transition: transform var(--dur-fast) var(--ease-out-strong), box-shadow var(--dur-mid) var(--ease-out-strong);
}

.mauticform-button:hover { transform: translateY(-2px); box-shadow: var(--sh-cyber-strong) !important; }

.mauticform-errormsg { font-family: var(--ff-mono) !important; font-size: var(--fs-xs) !important; color: var(--danger) !important; }
.mauticform-error, .mauticform-message { font-size: var(--fs-sm) !important; color: var(--cyber-bright) !important; grid-column: 1 / -1; }

/* ---------------------------------------------------- 9. MOCKUP DE PHONE */
.phone {
  --phone-w: 260px;
  position: relative;
  width: var(--phone-w);
  aspect-ratio: 390 / 844;
  flex-shrink: 0;
  padding: 7px;
  border-radius: calc(var(--phone-w) * 0.13);
  background: linear-gradient(160deg, #1b1e26, #0b0c10);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.09),
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.8);
}

/* Absoluto para não entrar em dependência circular com o aspect-ratio do frame:
   telas mais altas (Cadastro, Álbum) são cortadas pela base, não esticam o phone. */
.phone img {
  position: absolute;
  top: 7px;
  left: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  object-fit: cover;
  object-position: top;
  border-radius: calc(var(--phone-w) * 0.105);
  background: #f4f1eb;
}

/* Trio de phones do hero */
.phone-stack {
  --ph-main: clamp(210px, 22vw, 290px);
  --ph-side: clamp(150px, 16vw, 215px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  padding-top: var(--sp-6);
}

.phone-stack::before {
  content: "";
  position: absolute;
  inset: 10% 0 0;
  background: radial-gradient(ellipse 60% 60% at 50% 60%, rgba(0, 124, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.phone-stack .phone--main {
  --phone-w: var(--ph-main);
  z-index: 3;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 90px rgba(0, 124, 255, 0.18);
}

.phone-stack .phone--side {
  --phone-w: var(--ph-side);
  position: absolute;
  bottom: 0;
  z-index: 2;
}

.phone-stack .phone--left { left: 2%; transform: rotate(-9deg) translateY(4%); transform-origin: bottom right; }
.phone-stack .phone--right { right: 2%; transform: rotate(9deg) translateY(4%); transform-origin: bottom left; }

/* Selo "Figma → Flutter" sobre o stack */
.phone-tag {
  position: absolute;
  z-index: 4;
  top: 6%;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 8px 12px;
  background: var(--carbon-0);
  border: var(--bd-cyber);
  border-radius: var(--r-xs);
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  box-shadow: var(--sh-cyber);
}

.phone-tag .promo-dot { width: 6px; height: 6px; }

/* ---------------------------------------------- 10. FAIXA DE TELAS (MARQUEE) */
.screens-marquee {
  position: relative;
  margin-block: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.screens-track {
  display: flex;
  gap: var(--sp-5);
  width: max-content;
  padding-block: var(--sp-4);
  animation: marquee 70s linear infinite;
}

.screens-marquee:hover .screens-track { animation-play-state: paused; }

@keyframes marquee {
  to { transform: translateX(calc(-50% - var(--sp-5) / 2)); }
}

.screen-card {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  width: 190px;
  flex-shrink: 0;
}

.screen-card .phone {
  --phone-w: 190px;
  aspect-ratio: 390 / 760;
  transition: transform var(--dur-mid) var(--ease-out-strong), box-shadow var(--dur-mid) var(--ease-out-strong);
}

.screen-card:hover .phone {
  transform: translateY(-6px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 34px 60px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(0, 124, 255, 0.2);
}

.screen-card figcaption {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--chrome);
}

.screen-card figcaption b { color: var(--cyber-bright); font-weight: 500; }

/* Só aparece no mobile, quando a faixa vira galeria deslizável */
.swipe-hint {
  display: none;
  margin: calc(-1 * var(--sp-3)) auto var(--sp-6);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--chrome-dim);
}

/* ------------------------------------------------- 11. FEATURES DO APP */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.feature {
  position: relative;
  background: var(--grad-panel);
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
  transition: border-color var(--dur-mid) var(--ease-out-strong), transform var(--dur-mid) var(--ease-out-strong);
}

.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-edge);
}

.feature:hover { border-color: rgba(0, 124, 255, 0.35); transform: translateY(-3px); }

.feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: var(--bd-cyber);
  border-radius: var(--r-sm);
  background: var(--cyber-soft);
  margin-bottom: var(--sp-4);
}

.feature-icon svg { width: 18px; height: 18px; stroke: var(--cyber-bright); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.feature h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }

.feature p { font-size: var(--fs-sm); color: var(--chrome-bright); }

/* ------------------------------------------------------ 12. OS 5 DIAS */

/* Abertura ao vivo (28/09, 19h, YouTube). Abre a seção dos 5 dias porque é o
   marco que libera a aula 01 — e é a única coisa do evento com hora marcada. */
.opening {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  margin-bottom: var(--sp-5);
  padding: var(--sp-5) var(--sp-6);
  background: linear-gradient(135deg, var(--cyber-soft) 0%, rgba(0, 124, 255, 0.02) 60%), var(--grad-panel);
  border: var(--bd-cyber);
  box-shadow: var(--sh-card);
  clip-path: var(--clip-cyber);
}

.opening::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grad-cyber);
}

.opening-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
  margin-bottom: var(--sp-3);
}

.opening-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  padding: 4px 10px;
  border: var(--bd-cyber);
  background: var(--cyber-soft);
}

.opening-when {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.opening h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-2);
}

.opening p {
  font-size: var(--fs-sm);
  color: var(--chrome-bright);
  max-width: 80ch;
}

.opening-mark {
  text-align: center;
  padding-left: var(--sp-6);
  border-left: 1px solid rgba(53, 59, 72, 0.6);
}

.opening-hour {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 0.9;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.opening-date {
  display: block;
  margin-top: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  white-space: nowrap;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--sp-3);
  list-style: none;
}

.day {
  position: relative;
  background: var(--grad-panel);
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: border-color var(--dur-mid) var(--ease-out-strong), transform var(--dur-mid) var(--ease-out-strong);
}

.day:hover { border-color: rgba(0, 124, 255, 0.4); transform: translateY(-4px); }

.day::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--grad-cyber);
  opacity: 0;
  transition: opacity var(--dur-mid) var(--ease-out-strong);
}

.day:hover::after { opacity: 1; }

.day-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-2); }

.day-num {
  font-family: var(--ff-display);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 0.9;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.day-when {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyber-bright);
}

.day h3 { font-size: var(--fs-md); }

.day p { font-size: var(--fs-sm); color: var(--chrome-bright); }

.day ul { list-style: none; display: grid; gap: var(--sp-2); margin-top: auto; padding-top: var(--sp-3); border-top: 1px solid rgba(53, 59, 72, 0.6); }

.day li {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.02em;
  color: var(--chrome);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.day li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--cyber);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.days-note {
  margin-top: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--chrome-dim);
  text-align: center;
}

/* ------------------------------------------------------ 13. ENGENHARIA */
.eng-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

.eng-card {
  position: relative;
  background: var(--grad-panel);
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
  clip-path: var(--clip-cyber);
}

.eng-card .card-code {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin-bottom: var(--sp-3);
}

.eng-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-3); }

.eng-card p { font-size: var(--fs-sm); color: var(--chrome-bright); }

.stack-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
}

.stack-row .label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin-right: var(--sp-2);
}

.stack-chip {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  padding: 7px 12px;
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: rgba(18, 20, 26, 0.8);
  color: var(--platinum);
  transition: border-color var(--dur-fast) var(--ease-out-strong), color var(--dur-fast) var(--ease-out-strong);
}

.stack-chip:hover { border-color: rgba(0, 124, 255, 0.45); color: var(--cyber-electric); }

/* ------------------------------------------------------- 14. INSTRUTOR */
.instructor {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.instructor-photo-wrap { position: relative; }

.gde-callout {
  margin-block: var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-left: 2px solid var(--cyber);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--cyber-soft);
}

.gde-callout-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  margin-bottom: var(--sp-2);
}

.gde-callout p { font-size: var(--fs-sm); color: var(--chrome-bright); }

.instructor-points { list-style: none; display: grid; gap: var(--sp-3); }

.instructor-points li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--chrome-bright); }

.instructor-photo-wrap { position: relative; }

.instructor-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-sm);
  border: var(--bd-thin);
  clip-path: var(--clip-cyber);
  filter: grayscale(0.15) contrast(1.05);
}

.instructor-badge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 8px 14px;
  background: var(--carbon-0);
  border: var(--bd-cyber);
  border-radius: var(--r-xs);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  box-shadow: var(--sh-cyber);
}

.instructor-name { font-size: clamp(1.6rem, 3vw, var(--fs-2xl)); margin-bottom: var(--sp-1); }

.instructor-role {
  font-family: var(--ff-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  margin-bottom: var(--sp-4);
}

.instructor-bio { font-size: var(--fs-base); color: var(--chrome-bright); }
.instructor-bio p + p { margin-top: var(--sp-4); }

.instructor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5) var(--sp-7);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(53, 59, 72, 0.6);
  list-style: none;
}

.instructor-stats b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.instructor-stats span {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

/* ------------------------------------------------------------- 15. FAQ */
.faq-list { display: grid; gap: var(--sp-3); }

.faq-item {
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  background: var(--grad-panel);
  overflow: hidden;
  transition: border-color var(--dur-mid) var(--ease-out-strong);
}

.faq-item[open] { border-color: rgba(0, 124, 255, 0.35); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--white-cold);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--cyber-bright);
  transition: transform var(--dur-mid) var(--ease-out-strong), opacity var(--dur-mid) var(--ease-out-strong);
}

.faq-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }

.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer { padding: 0 var(--sp-5) var(--sp-5); font-size: var(--fs-sm); color: var(--chrome-bright); }

.faq-answer p + p { margin-top: var(--sp-3); }

/* ------------------------------------------------------- 16. CTA FINAL */
.final-cta {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(53, 59, 72, 0.6);
  background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(0, 124, 255, 0.16), transparent 62%);
}

.mega-five {
  position: absolute;
  bottom: -22%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(18rem, 40vw, 34rem);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 124, 255, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.final-cta-inner { position: relative; z-index: 2; }

/* Painel de fechamento: copy à esquerda, ação à direita */
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, rgba(0, 124, 255, 0.12), rgba(18, 20, 26, 0.94) 55%);
  border: var(--bd-cyber);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-elevated), 0 0 90px rgba(0, 124, 255, 0.12);
  clip-path: var(--clip-cyber);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cyber);
}

.cta-panel-copy .eyebrow { margin-bottom: var(--sp-4); }

.final-cta-title {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.04;
  margin-bottom: var(--sp-4);
}

.final-cta-lead { font-size: var(--fs-md); color: var(--chrome-bright); }

.cta-panel-action { display: grid; gap: var(--sp-5); }

.btn-block { display: flex; width: 100%; }

.cta-facts { list-style: none; display: grid; gap: var(--sp-2); }

.cta-facts li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--chrome);
}

.cta-facts .check { margin-top: 0; width: 16px; height: 16px; }
.cta-facts .check::after { width: 7px; height: 7px; }

/* ---------------------------------------------------------- 17. FOOTER */
.footer {
  background: var(--carbon-0);
  border-top: 1px solid var(--titanium-border);
  padding-block: var(--sp-6);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid rgba(53, 59, 72, 0.5);
}

.footer-brand { display: flex; align-items: center; gap: var(--sp-4); }

.footer-submark { height: 64px; width: auto; }

.footer-signature { font-family: var(--ff-display); font-size: var(--fs-base); font-weight: 600; color: var(--white-cold); line-height: 1.35; }

.footer-signature span {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.footer-links { display: flex; flex-wrap: wrap; gap: var(--sp-5); list-style: none; }

.footer-links a { font-size: var(--fs-sm); color: var(--chrome); }
.footer-links a:hover { color: var(--white-cold); }

.footer-bottom {
  display: grid;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: var(--chrome-dim);
  line-height: 1.7;
}

.footer-legal { max-width: 90ch; }

/* ------------------------------------------------ 18. PÁGINA DE SUCESSO */
.success-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--promo-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}

.success-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

/* Três áreas, não duas colunas: empilhado (<=960px) o cartão do WhatsApp entra
   logo depois do lead, antes dos bullets — no celular ele ficava abaixo de sete
   itens de checklist e da bio, fora do alcance de quem não rola. */
.success-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "copy    wa"
    "details wa";
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: var(--sp-5);
  align-items: start;
}

.success-copy { grid-area: copy; }
.success-details { grid-area: details; }

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  border: 1px solid rgba(0, 212, 154, 0.4);
  background: rgba(0, 212, 154, 0.08);
  border-radius: var(--r-xs);
  padding: 8px 14px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--success);
  margin-bottom: var(--sp-5);
}

.success-badge svg {
  width: 15px;
  height: 15px;
  stroke: var(--success);
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: check-draw 0.75s 0.25s var(--ease-out-strong) forwards;
}

@keyframes check-draw { to { stroke-dashoffset: 0; } }

.success-title { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: var(--sp-4); }

.success-lead { font-size: var(--fs-md); color: var(--chrome-bright); }

.success-checklist { display: grid; gap: var(--sp-3); list-style: none; margin-bottom: var(--sp-6); max-width: 520px; }

.success-checklist li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--chrome-bright); }

.success-instructor { display: flex; align-items: center; gap: var(--sp-4); padding-top: var(--sp-5); border-top: 1px solid rgba(53, 59, 72, 0.6); }

.success-instructor img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: var(--bd-cyber); }

.success-instructor-text { font-size: var(--fs-sm); color: var(--chrome); }
.success-instructor-text strong { display: block; font-family: var(--ff-display); font-size: var(--fs-base); }

.wa-card {
  grid-area: wa;
  align-self: center;
  position: relative;
  background: var(--grad-panel);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-elevated), 0 0 60px rgba(37, 211, 102, 0.09);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  text-align: center;
}

.wa-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #128C7E, var(--whatsapp), #128C7E);
}

.wa-step {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--whatsapp);
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.08);
  border-radius: var(--r-xs);
  padding: 6px 12px;
  margin-bottom: var(--sp-4);
}

.wa-icon { display: block; width: 48px; height: 48px; margin: 0 auto var(--sp-4); fill: var(--whatsapp); }

.wa-title { font-size: clamp(1.3rem, 2.4vw, var(--fs-xl)); margin-bottom: var(--sp-3); }

.wa-reason { font-size: var(--fs-sm); color: var(--chrome-bright); margin-bottom: var(--sp-5); text-align: left; }

.wa-list { display: grid; gap: var(--sp-3); list-style: none; text-align: left; margin-bottom: var(--sp-6); }

.wa-list li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--chrome-bright); }

.wa-list .check { background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.35); }
.wa-list .check::after { background: var(--whatsapp); }

.wa-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  width: 100%;
  padding: 20px 24px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--whatsapp), #128C7E);
  color: #04240F;
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out-strong), box-shadow var(--dur-mid) var(--ease-out-strong);
}

.wa-cta:hover { transform: translateY(-2px); color: #04240F; box-shadow: 0 16px 44px rgba(37, 211, 102, 0.42); }
.wa-cta svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

.wa-social { margin-top: var(--sp-4); font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.08em; color: var(--chrome-dim); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }

.step {
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  background: var(--grad-panel);
  padding: var(--sp-5);
  box-shadow: var(--sh-card);
}

.step--done { border-color: rgba(0, 212, 154, 0.3); }

.step-num {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0, 124, 255, 0.55);
  margin-bottom: var(--sp-3);
}

.step--done .step-num { -webkit-text-stroke-color: rgba(0, 212, 154, 0.55); }

.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--chrome-bright); }

/* --------------------------------------------- 18b. CTA FIXO (MOBILE) */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  padding: 15px var(--sp-4) calc(15px + env(safe-area-inset-bottom, 0px));
  background: var(--grad-cyber);
  color: var(--white-cold);
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-top: 1px solid rgba(226, 230, 238, 0.28);
  box-shadow: 0 -16px 44px rgba(7, 8, 11, 0.75);
  transform: translateY(0);
  transition: transform var(--dur-mid) var(--ease-out-strong), opacity var(--dur-mid) var(--ease-out-strong);
}

.mobile-cta:hover { color: var(--white-cold); }

.mobile-cta-label {
  flex-shrink: 0;
  padding: 4px 8px;
  background: rgba(7, 8, 11, 0.55);
  border: 1px solid rgba(226, 230, 238, 0.3);
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--white-cold);
}

/* Variante da success.html: o passo que falta ali é o grupo, não o cadastro. */
.mobile-cta--wa {
  background: linear-gradient(135deg, var(--whatsapp), #128C7E);
  color: #04240F;
  border-top-color: rgba(4, 36, 15, 0.32);
}

.mobile-cta--wa:hover { color: #04240F; }

.mobile-cta--wa .mobile-cta-label {
  background: rgba(4, 36, 15, 0.16);
  border-color: rgba(4, 36, 15, 0.34);
  color: #04240F;
}

body.form-visible .mobile-cta { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ------------------------------------- 19. PÁGINA DO KIT (kit.html) */
.kit-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--promo-h) + clamp(2.5rem, 6vw, 4rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.kit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

.kit-hero .container { position: relative; z-index: 2; }

.kit-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.kit-kicker .eyebrow { margin-bottom: 0; }

.kit-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  border: var(--bd-cyber);
  background: var(--cyber-soft);
  border-radius: var(--r-xs);
  padding: 7px 13px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyber-bright);
}

.kit-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--cyber-bright);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  flex-shrink: 0;
}

/* Sem max-width: o hero usa a largura do container, como os cabeçalhos
   das outras seções — restringir aqui fazia a primeira dobra parecer cortada. */
.kit-title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-bottom: var(--sp-4);
}

.kit-lead {
  font-size: var(--fs-md);
  color: var(--chrome-bright);
  margin-bottom: var(--sp-6);
}

.kit-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); list-style: none; }

.kit-meta li {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome);
  padding: 10px 15px;
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: linear-gradient(135deg, rgba(0, 124, 255, 0.05), rgba(18, 20, 26, 0.92));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.kit-meta li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--cyber);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.kit-meta strong { color: var(--white-cold); font-weight: 600; }

/* A janela do evento é a informação mais urgente da dobra: pesa mais que as outras */
.kit-meta li:first-child {
  border-color: rgba(0, 124, 255, 0.38);
  background: linear-gradient(135deg, rgba(0, 124, 255, 0.16), rgba(18, 20, 26, 0.92));
  color: var(--platinum);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 22px rgba(0, 124, 255, 0.14);
}

.kit-meta li:first-child::before { background: var(--cyber-electric); }
.kit-meta li:first-child strong { color: var(--cyber-electric); }

/* Lista de downloads — um bloco por material, com uma ou várias variantes */
.dl-list { display: grid; gap: var(--sp-4); list-style: none; }

.dl-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--sp-4) clamp(1rem, 2.4vw, 1.75rem);
  align-items: start;
  background: var(--grad-panel);
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  padding: clamp(1.25rem, 2.4vw, 2rem);
  clip-path: var(--clip-cyber);
  transition: border-color var(--dur-mid) var(--ease-out-strong);
}

.dl-item:hover { border-color: rgba(0, 124, 255, 0.4); }

.dl-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: var(--bd-cyber);
  background: var(--cyber-soft);
  border-radius: var(--r-xs);
}

.dl-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--cyber-bright);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dl-info { display: grid; gap: var(--sp-3); }

.dl-info-head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3); }

.dl-item h3 { font-size: var(--fs-lg); }

.dl-item p { font-size: var(--fs-sm); color: var(--chrome-bright); max-width: 74ch; }

.dl-status {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-xs);
  border: var(--bd-cyber);
  background: var(--cyber-soft);
  color: var(--cyber-bright);
}

.dl-status--soon {
  border-color: rgba(255, 176, 32, 0.35);
  background: rgba(255, 176, 32, 0.08);
  color: var(--warn);
}

.dl-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; }

/* Ações abaixo da descrição, alinhadas à coluna de texto */
.dl-actions {
  grid-column: 2 / -1;
  display: grid;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(53, 59, 72, 0.6);
}

.dl-actions--single .dl-btn { max-width: 360px; }

/* Uma coluna por sistema operacional; auto-fit reflui sozinho nas telas menores */
.dl-os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: var(--sp-4);
  align-items: start;
}

.dl-os { display: grid; gap: var(--sp-2); align-content: start; }

.dl-os-name {
  font-family: var(--ff-display);
  font-size: var(--fs-md);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white-cold);
  padding-bottom: var(--sp-2);
  border-bottom: 1px solid rgba(53, 59, 72, 0.6);
}

.dl-actions-label {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  margin-bottom: 2px;
}

.dl-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: 13px 16px;
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  background: rgba(10, 11, 15, 0.6);
  color: var(--platinum);
  transition: border-color var(--dur-fast) var(--ease-out-strong),
              background var(--dur-fast) var(--ease-out-strong),
              color var(--dur-fast) var(--ease-out-strong);
}

.dl-btn:hover {
  border-color: rgba(0, 124, 255, 0.5);
  background: rgba(0, 124, 255, 0.1);
  color: var(--white-cold);
}

/* Sem uppercase: os nomes das plataformas têm caixa própria (macOS) */
.dl-btn-name {
  font-family: var(--ff-display);
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

/* Arquitetura em evidência: é o que faz o participante baixar o pacote certo */
.dl-arch {
  font-family: var(--ff-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyber-bright);
  background: var(--cyber-soft);
  border: var(--bd-cyber);
  border-radius: var(--r-xs);
  padding: 3px 8px;
  transition: border-color var(--dur-fast) var(--ease-out-strong),
              background var(--dur-fast) var(--ease-out-strong),
              color var(--dur-fast) var(--ease-out-strong);
}

.dl-btn:hover .dl-arch {
  border-color: rgba(0, 124, 255, 0.6);
  background: rgba(0, 124, 255, 0.16);
  color: var(--cyber-electric);
}

.dl-size { font-family: var(--ff-mono); font-size: var(--fs-xs); letter-spacing: 0.06em; color: var(--chrome); }

.dl-btn-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--chrome-dim);
}

.dl-btn:hover .dl-btn-meta { color: var(--chrome-bright); }

.dl-btn-meta { white-space: nowrap; flex-shrink: 0; }

.dl-actions-note {
  margin-top: 2px;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--chrome-dim);
}

.dl-actions-note strong { color: var(--chrome-bright); font-weight: 500; }

.dl-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease-out-strong);
}

.dl-btn:hover svg { transform: translateY(3px); }

/* Link externo (Figma): a seta sai da caixa em vez de descer como no download */
.dl-btn--out:hover svg { transform: translate(2px, -2px); }

/* Material ainda não gerado — o bloco fica no lugar, os botões não clicam.
   Ao subir os arquivos: remova .dl-item--soon do <li> e .dl-btn--soon dos botões. */
.dl-item--soon { opacity: 0.72; }
.dl-item--soon:hover { border-color: var(--titanium-border); }
.dl-item--soon .dl-icon { border-color: var(--titanium-border); background: rgba(42, 47, 58, 0.45); }
.dl-item--soon .dl-icon svg { stroke: var(--chrome-dim); }

.dl-btn--soon {
  pointer-events: none;
  border-style: dashed;
  color: var(--chrome-dim);
}

.dl-btn--soon:hover svg { transform: none; }

.dl-note {
  margin-top: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--chrome-dim);
  line-height: 1.7;
}

/* Como rodar o backend — passos e comandos */
.howto { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

.howto-card {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
  background: var(--grad-panel);
  border: var(--bd-thin);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card);
  padding: var(--sp-5);
  clip-path: var(--clip-cyber);
}

.howto-card h3 { font-size: var(--fs-md); }

.howto-card .card-code {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.code-block {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  line-height: 1.95;
  color: var(--platinum);
  background: var(--carbon-0);
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  padding: var(--sp-4);
  overflow-x: auto;
  white-space: pre;
  -webkit-overflow-scrolling: touch;
}

.code-block .cmt { color: var(--chrome-dim); }

.howto-note {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--chrome-dim);
}

/* Aviso destacado — usado no passo do Gatekeeper (macOS) */
.alert {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: var(--sp-4);
  align-items: start;
  margin-top: var(--sp-4);
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.1), rgba(18, 20, 26, 0.94) 55%);
  border: 1px solid rgba(255, 176, 32, 0.38);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-card), 0 0 60px rgba(255, 176, 32, 0.07);
  clip-path: var(--clip-cyber);
}

.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--warn), rgba(255, 176, 32, 0.15));
}

.alert-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 176, 32, 0.4);
  background: rgba(255, 176, 32, 0.08);
  border-radius: var(--r-xs);
}

.alert-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--warn);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.alert-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warn);
  margin-bottom: var(--sp-2);
}

.alert h3 { font-size: var(--fs-lg); color: var(--white-cold); margin-bottom: var(--sp-3); }

.alert p { font-size: var(--fs-sm); color: var(--chrome-bright); }

.alert .code-block {
  margin-top: var(--sp-4);
  border-color: rgba(255, 176, 32, 0.25);
}

.alert code {
  color: var(--warn);
  background: rgba(255, 176, 32, 0.08);
  border-color: rgba(255, 176, 32, 0.2);
}

.alert-note {
  margin-top: var(--sp-4);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  line-height: 1.7;
  color: var(--chrome-dim);
}

.api-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
  list-style: none;
  margin-top: var(--sp-4);
}

.api-facts li {
  display: grid;
  gap: 6px;
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: rgba(10, 11, 15, 0.6);
  padding: var(--sp-4);
  min-width: 0;
}

.api-facts span {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.api-facts strong {
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--platinum);
}

.api-facts code { white-space: normal; overflow-wrap: anywhere; }

.api-facts a code { transition: border-color var(--dur-fast) var(--ease-out-strong),
                                background var(--dur-fast) var(--ease-out-strong),
                                color var(--dur-fast) var(--ease-out-strong); }

.api-facts a:hover code {
  border-color: rgba(0, 124, 255, 0.5);
  background: rgba(0, 124, 255, 0.16);
  color: var(--cyber-electric);
}

/* Anúncio da R5 Flutter Academy */
.academy {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(53, 59, 72, 0.6);
  background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(0, 124, 255, 0.16), transparent 62%);
}

.academy-mark {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(16rem, 36vw, 30rem);
  line-height: 0.75;
  color: transparent;
  -webkit-text-stroke: 2px rgba(0, 124, 255, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.academy-inner { position: relative; z-index: 2; }

.academy-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  background: linear-gradient(135deg, rgba(0, 124, 255, 0.12), rgba(18, 20, 26, 0.94) 55%);
  border: var(--bd-cyber);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-elevated), 0 0 90px rgba(0, 124, 255, 0.12);
  clip-path: var(--clip-cyber);
}

.academy-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-cyber);
}

.academy-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.05; margin-bottom: var(--sp-4); }

.academy-lead { font-size: var(--fs-md); color: var(--chrome-bright); margin-bottom: var(--sp-5); }

.academy-tracks { display: grid; gap: var(--sp-3); list-style: none; margin-bottom: var(--sp-6); }

.academy-tracks li { display: flex; align-items: flex-start; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--chrome-bright); }

.academy-tracks strong { color: var(--white-cold); font-weight: 600; }

.academy-side { display: grid; gap: var(--sp-5); }

.academy-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-3); list-style: none; }

.academy-stats li {
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: rgba(10, 11, 15, 0.6);
  padding: var(--sp-4);
  text-align: center;
}

.academy-stats b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-chrome);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 4px;
}

.academy-stats span {
  font-family: var(--ff-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.academy-price {
  border: var(--bd-thin);
  border-radius: var(--r-xs);
  background: rgba(10, 11, 15, 0.6);
  padding: var(--sp-4);
  text-align: center;
}

.academy-price span {
  display: block;
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-dim);
}

.academy-price b {
  display: block;
  font-family: var(--ff-display);
  font-size: var(--fs-2xl);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white-cold);
}

.academy-price em {
  display: block;
  font-style: normal;
  font-size: var(--fs-sm);
  color: var(--chrome);
}

.academy-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  color: var(--chrome-dim);
  text-align: center;
}

.academy-signature {
  margin-top: var(--sp-5);
  font-family: var(--ff-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chrome-dim);
  text-align: center;
}

/* ----------------------------------------------------- 20. RESPONSIVO */
@media (max-width: 1100px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .days { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  /* Pintura no celular: grão (feTurbulence + blend), grid de blueprint e o fundo fixo
     recompõem a tela inteira a cada frame de scroll e, nessa opacidade, não aparecem
     numa tela de 6". O blur do header idem: vira fundo sólido quase opaco. */
  body { background-attachment: scroll; }
  body::before,
  body::after { display: none; }
  .navbar {
    background: rgba(7, 8, 11, 0.94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav-links { display: none; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "form";
    row-gap: var(--sp-6);
  }
  .lead-form { max-width: 560px; }
  .phone-stack { --ph-main: 230px; --ph-side: 170px; max-width: 520px; }
  .eng-grid { grid-template-columns: 1fr; }
  .instructor { grid-template-columns: 1fr; }
  .instructor-photo-wrap { max-width: 280px; margin-bottom: var(--sp-4); }
  .success-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "wa"
      "details";
    row-gap: var(--sp-6);
  }
  .wa-card { align-self: auto; }
  .academy-panel { grid-template-columns: 1fr; }
  .howto { grid-template-columns: 1fr; }
  .api-facts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  :root { --nav-h: 64px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); } /* espaço para o CTA fixo */
  .promo-sep, .promo-hide-sm { display: none; }
  .promo-bar { font-size: 0.6875rem; letter-spacing: 0.08em; }
  /* Header mobile: logo + submark R5; o CTA fica no rodapé fixo */
  .nav-chip, .nav-cta { display: none; }
  .nav-brand { gap: var(--sp-3); }
  .nav-logo { height: 38px; }
  .nav-submark { height: 34px; }
  .nav-brand-divider { height: 24px; }
  .section { padding-block: clamp(2.5rem, 10vw, 3.5rem); }
  .section-title { font-size: clamp(1.7rem, 7.4vw, 2rem); }
  .section-lead { font-size: var(--fs-base); }

  /* Hero */
  .hero { padding-bottom: var(--sp-6); }
  .hero-badges { gap: 6px; margin-bottom: var(--sp-4); }
  .hero-badge { padding: 5px 9px; font-size: 0.6875rem; letter-spacing: 0.08em; }
  .hero-badge--free { padding: 7px 12px; font-size: 0.75rem; letter-spacing: 0.1em; }
  .hero-title { font-size: clamp(2.1rem, 9.6vw, 2.6rem); }
  .hero-lead { font-size: var(--fs-base); }
  .hero-guide { padding: 8px 12px 8px 8px; gap: var(--sp-3); }
  .hero-guide img { width: 48px; height: 48px; }
  .hero-guide strong { font-size: var(--fs-base); }
  .hero-guide-role { font-size: var(--fs-xs); }
  .phone-stack { --ph-main: 196px; --ph-side: 136px; padding-top: var(--sp-7); }
  .phone-stack .phone--side { bottom: 8%; }
  .phone-stack .phone--left { left: 0; }
  .phone-stack .phone--right { right: 0; }
  .phone-tag { top: var(--sp-2); right: auto; left: 50%; transform: translateX(-50%); }
  .mauticform-page-wrapper { grid-template-columns: 1fr; }
  .hero-proof { justify-content: center; }

  /* Galeria de telas: swipe nativo em vez de marquee automático */
  .screens-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--sp-5);
    scrollbar-width: none;
    -webkit-mask-image: none;
    mask-image: none;
    margin-block: var(--sp-5) var(--sp-3);
  }
  .screens-marquee::-webkit-scrollbar { display: none; }
  .screens-track { animation: none; padding-inline: var(--sp-5); gap: var(--sp-4); }
  .screen-card { width: 200px; scroll-snap-align: center; }
  .screen-card .phone { --phone-w: 200px; }
  .screen-card[aria-hidden="true"] { display: none; }
  .swipe-hint { display: block; }

  /* Features compactas: ícone ao lado do título */
  .features { grid-template-columns: 1fr; gap: var(--sp-3); }
  .feature {
    display: grid;
    grid-template-columns: 38px 1fr;
    column-gap: var(--sp-4);
    padding: var(--sp-4);
  }
  .feature-icon { grid-row: 1 / span 2; margin: 0; }
  .feature h3 { font-size: var(--fs-base); margin-bottom: 4px; }

  /* Abertura: o selo do horário vira uma faixa abaixo do texto */
  .opening { grid-template-columns: 1fr; gap: var(--sp-4); padding: var(--sp-4); }
  .opening h3 { font-size: var(--fs-lg); }
  .opening-mark {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
    text-align: left;
    padding-left: 0;
    padding-top: var(--sp-4);
    border-left: 0;
    border-top: 1px solid rgba(53, 59, 72, 0.6);
  }
  .opening-hour { font-size: var(--fs-2xl); }
  .opening-date { margin-top: 0; }

  /* 5 dias: linha do tempo vertical */
  .days { grid-template-columns: 1fr; gap: var(--sp-3); }
  .day { flex-direction: row; align-items: flex-start; gap: var(--sp-4); padding: var(--sp-4); }
  .day-head { flex-direction: column; align-items: flex-start; gap: 2px; min-width: 52px; }
  .day-num { font-size: var(--fs-2xl); }
  .day-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-2); }
  .day h3 { font-size: var(--fs-base); }
  .day ul { margin-top: var(--sp-1); padding-top: var(--sp-2); }

  /* Quem conduz */
  .instructor-photo-wrap { max-width: 100%; margin-bottom: var(--sp-6); }
  .instructor-photo { aspect-ratio: 4 / 3; object-position: 50% 20%; }
  .instructor-name { font-size: var(--fs-xl); }
  .gde-callout { padding: var(--sp-4); }
  .instructor-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
  .instructor-stats b { font-size: var(--fs-lg); }
  .instructor-stats span { font-size: 0.625rem; letter-spacing: 0.06em; white-space: nowrap; }

  /* Engenharia */
  .eng-card { padding: var(--sp-4); }
  .eng-card h3 { font-size: var(--fs-md); }

  .faq-item summary { padding: var(--sp-4); font-size: var(--fs-sm); }
  .faq-answer { padding: 0 var(--sp-4) var(--sp-4); }

  .cta-panel { grid-template-columns: 1fr; gap: var(--sp-5); padding: var(--sp-5); }

  /* Kit: ícone + texto, ações abaixo em largura cheia */
  .kit-title { font-size: clamp(1.8rem, 8vw, 2.2rem); max-width: none; }
  .kit-lead { font-size: var(--fs-base); }
  .dl-item { grid-template-columns: 44px minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4); }
  .dl-icon { width: 44px; height: 44px; }
  .dl-icon svg { width: 22px; height: 22px; }
  .dl-item h3 { font-size: var(--fs-md); }
  .dl-actions { grid-column: 1 / -1; }
  .dl-os-grid { gap: var(--sp-3); }
  .dl-actions--single .dl-btn { max-width: none; }
  .dl-btn { padding: 11px 13px; }
  .dl-btn-meta { gap: var(--sp-2); }
  .howto-card { padding: var(--sp-4); }
  .alert { grid-template-columns: 1fr; padding: var(--sp-4); }
  .alert h3 { font-size: var(--fs-md); }
  .code-block { padding: var(--sp-3); }
  .api-facts { grid-template-columns: 1fr; }
  .academy-panel { gap: var(--sp-5); padding: var(--sp-5); }
  .academy-stats li { padding: var(--sp-3); }
  /* Sucesso: primeira dobra mais curta, para o cartão do grupo subir junto */
  .success-hero { padding-top: calc(var(--nav-h) + var(--promo-h) + var(--sp-5)); }
  .success-badge { margin-bottom: var(--sp-4); }
  .success-title { font-size: clamp(1.7rem, 7.6vw, 2.1rem); }
  .success-lead { font-size: var(--fs-base); }

  /* Cartão do grupo compacto: o botão sobe para antes da lista, que vira
     confirmação do que se ganha depois de entrar. */
  .wa-card { display: flex; flex-direction: column; padding: var(--sp-5) var(--sp-4); }
  .wa-step { align-self: center; margin-bottom: var(--sp-3); }
  .wa-icon { width: 38px; height: 38px; margin: 0 auto var(--sp-3); }
  .wa-title { font-size: var(--fs-lg); }
  .wa-reason { margin-bottom: var(--sp-5); }
  .wa-cta { order: 1; padding: 17px 20px; }
  .wa-list { order: 2; margin: var(--sp-5) 0 0; }
  .wa-social { order: 3; }

  .footer-top { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }

  .mobile-cta { display: flex; }
}

@media (max-width: 400px) {
  .phone-stack { --ph-main: 176px; --ph-side: 120px; }
}

/* ------------------------------------------- 21. PREFERS-REDUCED-MOTION */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .screens-track { animation: none; }
  .screens-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}

@media print {
  body { background: #fff; color: #000; }
  .promo-bar, .navbar, .mega-five, .final-cta, .screens-marquee { display: none; }
}
