/* =============================================================================
   ESCOLA KONECT — Landing pages (konect.escolats.com.br/adm e /informatica)
   CSS compartilhado pelas duas LPs.

   Índice
   01. Tokens
   02. Reset e base
   03. Utilitários
   04. Entradas (revelação / palavras)
   05. Tipografia
   06. Botões
   07. Header
   08. Footer
   09. Flutuantes (WhatsApp)
   10. Arrastar faixa horizontal
   11. Responsivo
   12. Movimento reduzido

   Regras do projeto:
   - Vermelho da marca (#FA0504) é detalhe e quebra de ritmo, não fundo de página.
   - Verde é EXCLUSIVO dos botões de WhatsApp.
   - Anima-se só transform e opacity.
   ============================================================================= */

/* 00. Fontes (hospedadas no próprio site: não dependem do Google carregar) --- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 200 800; /* fonte variável: um arquivo para todos os pesos */
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-serif-italic-latin.woff2") format("woff2");
}

/* 01. Tokens ---------------------------------------------------------------- */
:root {
  /* marca */
  --red: #fa0504;
  --red-600: #d90403;
  --red-700: #b00302;
  --red-50: #fff1f0;
  --red-100: #ffe1df;
  --red-glow: rgba(250, 5, 4, .22);

  /* superfícies claras — branco quente, mais confortável que #fff puro */
  --bg: #faf8f5;
  --bg-soft: #f3efe9;
  --surface: #ffffff;
  --ink: #161210;          /* títulos */
  --text: #3b3431;         /* corpo */
  --muted: #7b716c;
  --line: rgba(22, 18, 16, .08);
  --line-strong: rgba(22, 18, 16, .14);
  --dark: #151111;         /* seções de contraste */

  /* WhatsApp: só nos botões de conversa */
  --wa: #25d366;
  --wa-600: #1ebe5a;
  --wa-ink: #06341a;

  /* layout */
  --gutter: clamp(16px, 4vw, 56px);
  --container: 1240px;
  --header-h: 76px;

  /* --section-y é METADE do respiro entre seções (120px = 240px de conteúdo a conteúdo) */
  --section-y: clamp(64px, 7vw, 120px);
  --block-y: clamp(40px, 5vw, 72px);

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 18, 16, .04), 0 2px 8px rgba(22, 18, 16, .04);
  --shadow: 0 1px 2px rgba(22, 18, 16, .04), 0 12px 32px -8px rgba(22, 18, 16, .10);
  --shadow-lg: 0 2px 4px rgba(22, 18, 16, .04), 0 32px 64px -16px rgba(22, 18, 16, .18);

  /* tipografia */
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* curvas */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

/* 02. Reset e base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  /* rede de proteção contra rolagem lateral no Android (a causa raiz ainda precisa ser corrigida) */
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 6px; }

/* trava de rolagem de menu/modal — precisa ser no html */
html.menu-open, html.modal-open { overflow: hidden; }

/* 03. Utilitários ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: rgba(255, 255, 255, .78); }
.center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* textura de pontos sutil, tipo "caderno digital" — usar em fundos de seção */
.dots {
  background-image: radial-gradient(rgba(22, 18, 16, .07) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* 04. Entradas -------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-expo);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-split]:not(.is-split) { opacity: 0; }
/* A palavra sobe "de dentro da linha": o recorte só pode existir EMBAIXO.
   overflow: hidden cortava as laterais (itálico, letras com espaçamento negativo, fonte de reserva).
   clip-path com valores negativos deixa topo e laterais livres e recorta só abaixo da linha. */
.w {
  display: inline-block; vertical-align: top;
  padding-bottom: .14em; margin-bottom: -.14em; /* espaço para g, ç, p, parênteses */
  clip-path: inset(-.6em -.6em 0 -.6em);
}
.js [data-split] .w > span {
  display: inline-block;
  transform: translate3d(0, 110%, 0);
  transition: transform 1.1s var(--ease-expo);
  transition-delay: calc(var(--i, 0) * 55ms + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

.sw { transition: opacity .25s linear; }
.js [data-scrub-words] .sw { opacity: .14; }

.is-failsafe [data-reveal],
.is-failsafe [data-split],
.is-failsafe [data-split] .w > span { opacity: 1 !important; transform: none !important; }

/* 05. Tipografia ------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.05;
  text-wrap: balance;
}
.h1 { font-size: clamp(2.3rem, 1.1rem + 4vw, 4.4rem); letter-spacing: -.045em; line-height: 1.02; }
.h2 { font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.2rem); }
.h3 { font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: var(--muted); max-width: 60ch; }

/* ênfase em serifa itálica — conversa com a serifa da logo */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.accent { color: var(--red); }

/* marca-texto vermelho que "risca" a palavra ao entrar */
.mark {
  position: relative; white-space: nowrap; z-index: 0;
}
.mark::after {
  content: ""; position: absolute; z-index: -1;
  left: -.06em; right: -.06em; bottom: .06em; height: .32em;
  background: var(--red-100);
  border-radius: 4px;
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform 1s var(--ease-expo) .5s;
}
.js [data-reveal]:not(.is-in) .mark::after,
.js [data-split]:not(.is-in) .mark::after { transform: scaleX(0); }

/* etiqueta acima dos títulos */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px var(--red-100);
}
/* variante "ao vivo" — pulso, como indicador de aula acontecendo */
.eyebrow--live::before { animation: live 2s var(--ease-out) infinite; }
@keyframes live {
  0% { box-shadow: 0 0 0 0 rgba(250, 5, 4, .45); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(250, 5, 4, 0); }
}

/* 06. Botões ---------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; letter-spacing: -.005em;
  line-height: 1.2; text-align: center;
  transition: transform .5s var(--ease-expo), box-shadow .4s var(--ease-out);
  will-change: transform;
}
/* brilho que atravessa o botão no hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-expo);
}
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn .ico { width: 22px; height: 22px; flex: none; }

.btn--wa {
  --btn-bg: var(--wa);
  --btn-fg: var(--wa-ink);
  box-shadow: 0 10px 28px -10px rgba(37, 211, 102, .7), inset 0 -2px 0 rgba(0, 0, 0, .08);
}
.btn--wa:hover { --btn-bg: var(--wa-600); }

.btn--red {
  --btn-bg: var(--red);
  box-shadow: 0 10px 28px -10px var(--red-glow), inset 0 -2px 0 rgba(0, 0, 0, .12);
}
.btn--red:hover { --btn-bg: var(--red-600); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9rem; gap: 8px; }
.btn--sm .ico { width: 18px; height: 18px; }

/* 07. Header ---------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: transform .6s var(--ease-expo);
}
/* fundo em camada separada: anima só opacity */
.header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(250, 248, 245, .78);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity .4s var(--ease-out);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translate3d(0, -100%, 0); }

.header__inner {
  position: relative;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.header__logo img { width: auto; height: 44px; }
.header__right { display: flex; align-items: center; gap: 20px; }
.header__loc {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--muted);
}
.header__loc svg { width: 16px; height: 16px; color: var(--red); }

/* barra de progresso de leitura — lembra progresso de aula */
.progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--red);
  transform-origin: left center;
  transform: scaleX(var(--p, 0));
}

/* 08. Footer ---------------------------------------------------------------- */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, .62);
  padding-block: clamp(48px, 6vw, 80px) 28px;
  font-size: .92rem;
}
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer__logo {
  display: inline-block;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--radius-sm);
}
.footer__logo img { height: 40px; width: auto; }
.footer__title {
  margin-bottom: 14px;
  color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.footer__list { display: grid; gap: 10px; }
.footer__list a { transition: color .3s var(--ease-out); }
.footer__list a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  font-size: .8rem; color: rgba(255, 255, 255, .42);
}

/* 09. Flutuantes ------------------------------------------------------------ */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 34px -10px rgba(37, 211, 102, .8);
  transform: translate3d(0, 120px, 0) scale(.6);
  opacity: 0;
  transition: transform .7s var(--ease-expo), opacity .4s var(--ease-out);
}
.wa-float.is-on { transform: none; opacity: 1; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after { /* anel pulsante */
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: ring 2.4s var(--ease-out) infinite;
}
@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); }
  70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* 10. Arrastar faixa horizontal (data-drag) --------------------------------- */
[data-drag] {
  display: flex; gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
}
[data-drag]::-webkit-scrollbar { display: none; }
.is-dragging [data-drag] { cursor: grabbing; user-select: none; }
[data-drag] img { -webkit-user-drag: none; user-select: none; }

/* 10b. Peças compartilhadas das LPs ---------------------------------------- */
.icons-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.btn--lg { min-height: 64px; padding: 0 34px; font-size: 1.06rem; }
.btn--lg .ico { width: 24px; height: 24px; }
/* WhatsApp sobre fundo vermelho: branco com ícone verde (o verde segue sendo o sinal de conversa) */
.btn--wa-light {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .45);
}
.btn--wa-light .ico { color: var(--wa-600); }
.btn--wa-light::before { background: linear-gradient(110deg, transparent 30%, rgba(250, 5, 4, .08) 50%, transparent 70%); }

.cta-row { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }

.stars { display: inline-flex; gap: 2px; color: #fbbc04; }
.stars svg { width: 16px; height: 16px; }

.section-head { max-width: 760px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.section-head .lead { margin: 18px auto 0; }

/* moldura de foto: se a imagem falhar, fica um degradê bonito no lugar */
.media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(250, 5, 4, .16), transparent 60%),
    linear-gradient(160deg, #efe9e2, #e2d9cf);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media img.is-broken { visibility: hidden; }

/* "K" da logo como grafismo — só decoração */
.kmark { position: absolute; pointer-events: none; aspect-ratio: 1; height: auto; }

/* 13. Hero ------------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(36px, 6vw, 88px));
  padding-bottom: clamp(56px, 7vw, 110px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg .dots {
  position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 30% 40%, #000 20%, transparent 75%);
}
.hero__blob {
  position: absolute; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px;
  left: -14vw; top: -18vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 5, 4, .10), transparent 65%);
}

.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.08fr .92fr; align-items: center;
  gap: clamp(40px, 5vw, 80px);
}
.hero__copy .eyebrow { margin-bottom: 26px; }
.hero__copy .eyebrow svg { width: 15px; height: 15px; color: var(--red); margin-left: -2px; }
.hero__copy .eyebrow--pin::before { display: none; }
.hero h1 { font-size: clamp(2.15rem, .9rem + 3.3vw, 3.85rem); letter-spacing: -.045em; line-height: 1.04; }
.hero h1 .serif { font-size: 1.1em; line-height: .9; color: var(--red); letter-spacing: -.02em; }
.hero .lead { margin-top: 24px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 36px; }

.stats {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 0; margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.stats li { padding-right: clamp(18px, 2.4vw, 36px); margin-right: clamp(18px, 2.4vw, 36px); border-right: 1px solid var(--line); }
.stats li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.stats__n {
  display: flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 800; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem);
  letter-spacing: -.04em; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats__n .stars svg { width: 15px; height: 15px; }
.stats__l { display: block; margin-top: 4px; font-size: .88rem; color: var(--muted); line-height: 1.35; }

/* composição visual: janela de "aula" + peças flutuando */
.hero__visual { position: relative; aspect-ratio: 1 / 1.02; --hp: 0; }
.hero__slab {
  position: absolute; z-index: 0;
  top: 6%; bottom: -4%; left: 16%; right: -40%;
  background: linear-gradient(140deg, var(--red) 0%, var(--red-600) 55%, var(--red-700) 100%);
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 0 0 36px;
  transform: translate3d(0, calc(var(--hp) * 40px), 0);
}
.hero__slab .kmark { right: 18%; bottom: 8%; width: 46%; color: rgba(255, 255, 255, .12); }

.window {
  position: absolute; z-index: 2;
  left: 0; right: 7%; top: 13%;
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
  overflow: hidden;
}
.window__bar {
  display: flex; align-items: center; gap: 7px;
  height: 42px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf8;
}
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e7e1db; }
.window__bar i:first-child { background: var(--red); }
.window__url {
  margin-left: 14px; flex: 1; max-width: 72%;
  padding: 5px 12px; border-radius: 8px; background: var(--bg-soft);
  font-size: .72rem; font-weight: 600; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.window__media { aspect-ratio: 16 / 10.5; }
.window__media img { transform: scale(calc(1.06 - var(--hp) * .06)); }
.window__lesson {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
}
.window__play {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red); color: #fff;
  box-shadow: 0 8px 20px -8px var(--red-glow);
}
.window__play svg { width: 14px; height: 14px; margin-left: 2px; }
.window__info { flex: 1; min-width: 0; }
.window__info b { display: block; color: var(--ink); font-size: .9rem; line-height: 1.2; }
.window__info small { font-size: .74rem; color: var(--muted); }
.lesson-bar { position: relative; height: 5px; margin-top: 8px; border-radius: 5px; background: var(--bg-soft); overflow: hidden; }
.lesson-bar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(90deg, var(--red), #ff5a3c);
  transform-origin: left center;
  animation: lesson 9s var(--ease-in-out) infinite;
}
@keyframes lesson {
  0% { transform: scaleX(.08); }
  80%, 100% { transform: scaleX(.92); }
}

/* peças flutuantes: o de fora faz parallax, o de dentro flutua */
.float { position: absolute; z-index: 3; transform: translate3d(0, calc(var(--hp) * var(--z, 1) * -70px), 0); }
.float > * { animation: bob 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}
.tile {
  width: clamp(52px, 5vw, 66px); aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.tile span {
  width: 60%; aspect-ratio: 1; border-radius: 8px;
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: clamp(.95rem, .8rem + .4vw, 1.2rem);
}
.tile--w span { background: linear-gradient(145deg, #2f6fd6, #1f4e9c); }
.tile--x span { background: linear-gradient(145deg, #1f8a51, #125f36); }
.tile--p span { background: linear-gradient(145deg, #e8663c, #c2401c); }
.tile--doc svg { width: 50%; height: 50%; color: var(--red); } /* LP ADM: documento no lugar do PowerPoint */
.float--w { left: -6%; top: 4%; --z: 1.3; }
.float--x { right: 0; top: 2%; --z: .8; --fd: -2s; }
.float--p { left: -4%; top: 27%; --z: 1.6; --fd: -4s; }

.chip {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  white-space: nowrap;
}
.chip__ico {
  flex: none; width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--red-50); color: var(--red);
}
.chip__ico svg { width: 20px; height: 20px; }
.chip b { display: block; color: var(--ink); font-size: .86rem; line-height: 1.2; }
.chip small { display: block; color: var(--muted); font-size: .72rem; line-height: 1.3; }
.float--cert { right: -4%; bottom: 14%; --z: 1.1; --fd: -1s; }
.float--rate { left: -9%; top: 46%; --z: .6; --fd: -3s; }
.float--rate .chip__ico { background: #fff7e0; color: #f2a900; }

/* cursor que "clica" na janela — lembra a aula no computador */
.cursor {
  position: absolute; z-index: 4; left: 50%; top: 52%;
  width: 26px; height: 26px; pointer-events: none;
  animation: cursor 9s var(--ease-in-out) infinite;
}
.cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); }
.cursor::after {
  content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px;
  border-radius: 50%; border: 2px solid var(--red);
  opacity: 0; transform: scale(.3);
  animation: click 9s ease-out infinite;
}
@keyframes cursor {
  0%, 100% { transform: translate3d(0, 0, 0); }
  30% { transform: translate3d(-140%, 290%, 0); }
  38% { transform: translate3d(-140%, 290%, 0) scale(.9); }
  42% { transform: translate3d(-140%, 290%, 0); }
  70% { transform: translate3d(260%, -120%, 0); }
}
@keyframes click {
  0%, 36% { opacity: 0; transform: scale(.3); }
  38% { opacity: 1; transform: scale(.6); }
  48% { opacity: 0; transform: scale(1.6); }
  100% { opacity: 0; }
}

/* 14. Faixa vermelha (marquee) --------------------------------------------- */
/* folga vertical grande: a faixa inclinada não pode ser cortada pela caixa (dava o "degrau");
   a margem negativa devolve o espaço para o ritmo da página não mudar */
.band {
  position: relative; z-index: 2;
  overflow: hidden; overflow: clip;
  padding-block: 56px;
  margin-block: -38px;
  pointer-events: none;
}
.band__strip {
  width: 112vw; margin-left: -6vw;   /* mais larga que a tela: as pontas nunca aparecem */
  background: var(--red);
  transform: rotate(-1.6deg);
}
/* --shift = largura exata de 1 grupo (medida no JS); o laço termina onde o próximo grupo começa */
.band__track {
  display: flex; width: max-content;
  animation: marquee var(--dur, 40s) linear infinite;
  animation-play-state: paused;
}
.band.is-running .band__track { animation-play-state: running; }
.band__group { display: flex; align-items: center; flex: none; }
.band__item {
  display: inline-flex; align-items: center; gap: 22px;
  padding: 16px 22px;
  color: #fff; font-weight: 800; font-size: clamp(1rem, .8rem + .8vw, 1.45rem);
  letter-spacing: -.02em; white-space: nowrap;
}
.band__item::after {
  content: ""; width: 10px; height: 10px; flex: none;
  background: #fff; opacity: .55;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
@keyframes marquee { to { transform: translate3d(calc(var(--shift, 50%) * -1), 0, 0); } }

/* 15. Avaliações ------------------------------------------------------------ */
.reviews { padding-top: calc(var(--section-y) * .8); }
.seal {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 22px 12px 14px;
  background: var(--surface);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.seal__g { width: 32px; height: 32px; }
.seal__txt { color: var(--ink); font-weight: 700; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); letter-spacing: -.01em; }
.seal .stars svg { width: 18px; height: 18px; }

.carousel { position: relative; margin-top: clamp(36px, 4vw, 52px); }
.carousel::before, .carousel::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: clamp(24px, 8vw, 140px);
  pointer-events: none;
}
.carousel::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.carousel::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
/* flex-start: ao expandir um card, só ele cresce */
.carousel__track { gap: 20px; padding: 10px var(--gutter) 24px; align-items: flex-start; }

.review {
  position: relative; flex: none;
  width: clamp(282px, 28vw, 380px);
  display: flex; flex-direction: column; gap: 18px;
  padding: 26px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  transition: transform .6s var(--ease-expo), box-shadow .5s var(--ease-out);
}
.review:hover { transform: translate3d(0, -6px, 0); box-shadow: var(--shadow), 0 0 0 1px var(--line-strong); }
.review__top { display: flex; align-items: center; justify-content: space-between; }
.review__g { width: 22px; height: 22px; }
/* texto padronizado em 5 linhas; o "Ler mais" só aparece quando o texto passa disso */
.review__txt {
  --lines: 5;
  color: var(--text); font-size: .98rem; line-height: 1.6;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--lines);
  overflow: hidden;
  min-height: calc(1.6em * var(--lines));
}
.review.is-open .review__txt { display: block; -webkit-line-clamp: unset; }
.review__more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: -6px; padding: 4px 0;
  color: var(--red); font-size: .84rem; font-weight: 700;
  visibility: hidden; /* ocupa o espaço mesmo sem aparecer: todos os cards ficam da mesma altura */
}
.review.has-more .review__more { visibility: visible; }
.review__more svg { width: 14px; height: 14px; transition: transform .5s var(--ease-expo); }
.review.is-open .review__more svg { transform: rotate(180deg); }
.review__more:hover { text-decoration: underline; text-underline-offset: 3px; }
.review__txt--ph { color: var(--muted); font-style: italic; }
.review__who { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__av {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--red-50); color: var(--red); font-weight: 800;
}
.review:nth-child(3n+2) .review__av { background: var(--ink); color: #fff; }
.review:nth-child(3n) .review__av { background: var(--red); color: #fff; }
.review__av { font-size: .82rem; letter-spacing: .02em; }
.review__who b { display: block; color: var(--ink); font-size: .92rem; line-height: 1.2; }
.review__who small { color: var(--muted); font-size: .78rem; }

.carousel__foot { display: flex; justify-content: center; margin-top: 6px; }
.hint { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: opacity .6s ease, transform .6s var(--ease-expo); }
.hint svg { width: 16px; height: 16px; color: var(--red); }
.is-touched .hint { opacity: 0; transform: translateY(-6px); pointer-events: none; }
.only-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .only-mouse { display: none; } .only-touch { display: inline; } }

/* 15b. Galeria da estrutura (duas faixas em sentidos opostos + lightbox) --- */
.gallery {
  position: relative; overflow: hidden; overflow: clip;
  background: var(--dark);
  color: rgba(255, 255, 255, .7);
}
.gallery::before { /* brilho vermelho discreto no topo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(closest-side at 50% 0%, rgba(250, 5, 4, .22), transparent 100%);
}
.gallery .section-head { position: relative; margin-bottom: clamp(32px, 4vw, 52px); }
.gallery .eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; margin-bottom: 20px; }
.gallery .eyebrow::before { box-shadow: 0 0 0 4px rgba(250, 5, 4, .25); }
.gallery h2 { color: #fff; }
.gallery h2 .serif { color: #ff4b3a; }

.gallery__rows { position: relative; display: grid; gap: 16px; }
/* item de grid cresce até o conteúdo (min-width: auto): sem isto a faixa fica do tamanho
   de todas as fotos juntas, não tem o que rolar e o carrossel não anda */
.gallery__rows > * { min-width: 0; }
.gallery .carousel { margin-top: 0; }
.gallery .carousel::before { background: linear-gradient(90deg, var(--dark), transparent); }
.gallery .carousel::after { background: linear-gradient(-90deg, var(--dark), transparent); }
.gallery__track { gap: 16px; padding: 0 var(--gutter); align-items: stretch; }
.gallery__foot { display: flex; justify-content: center; margin-top: 28px; }
.gallery .hint { color: rgba(255, 255, 255, .5); }

.shot {
  --h: clamp(190px, 21vw, 290px);
  position: relative; flex: none;
  height: var(--h); aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden; isolation: isolate;
  background: #2a2322;
  cursor: zoom-in;
}
.shot--sq { aspect-ratio: 1 / 1; }
.shot--wide { aspect-ratio: 16 / 10; }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-expo);
}
.shot::after { /* escurece de leve e acende no hover */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .45));
  transition: opacity .5s var(--ease-out);
}
.shot__zoom {
  position: absolute; z-index: 1; right: 14px; bottom: 14px;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: translate3d(0, 8px, 0) scale(.85);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-expo);
}
.shot__zoom svg { width: 18px; height: 18px; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.08); }
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
@media (hover: none) { .shot__zoom { opacity: 1; transform: none; width: 36px; height: 36px; right: 10px; bottom: 10px; } }

/* Lightbox ---------------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 100;
  display: grid; grid-template-rows: auto 1fr auto; align-items: center;
  padding: 16px;
  background: #0e0b0b;
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility 0s linear .4s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease-out); }
.lb__top { display: flex; justify-content: space-between; align-items: center; color: rgba(255, 255, 255, .7); font-size: .85rem; font-weight: 700; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.lb__stage { position: relative; display: grid; place-items: center; min-height: 0; height: 100%; }
.lb__img {
  max-width: min(100%, 1000px); max-height: 100%;
  width: auto; height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  transform: scale(.96); opacity: 0;
  transition: transform .6s var(--ease-expo), opacity .35s var(--ease-out);
}
.lb.is-open .lb__img.is-ready { transform: none; opacity: 1; }
.lb__cap { text-align: center; color: rgba(255, 255, 255, .6); font-size: .9rem; padding-top: 14px; min-height: 2.4em; }
.lb__btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: background .3s var(--ease-out), transform .4s var(--ease-expo);
}
.lb__btn:hover { background: var(--red); transform: scale(1.06); }
.lb__btn svg { width: 22px; height: 22px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb__nav:hover { transform: translateY(-50%) scale(1.06); }
.lb__prev { left: 8px; }
.lb__next { right: 8px; }

/* 16. Para quem é ----------------------------------------------------------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.audience__card:nth-child(2) { margin-top: clamp(0px, 6vw, 88px); }
.aud {
  position: relative; isolation: isolate;
  padding: 12px 12px clamp(24px, 3vw, 36px);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
  overflow: hidden;
}
/* brilho que segue o mouse (data-glow) */
.aud::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(250, 5, 4, .07), transparent 60%);
  opacity: 0; transition: opacity .5s var(--ease-out);
}
.aud:hover::before { opacity: 1; }
.aud__media { aspect-ratio: 4 / 3; border-radius: calc(var(--radius-lg) - 8px); }
.aud__media img { transition: transform 1.4s var(--ease-expo); }
.aud:hover .aud__media img { transform: scale(1.05); }
.aud__num {
  position: absolute; left: 16px; top: 16px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--red); font-weight: 800; font-size: .82rem; letter-spacing: .06em;
}
.aud__body { padding: clamp(22px, 2.6vw, 32px) clamp(14px, 2vw, 24px) 0; }
.aud__body h3 { font-size: clamp(1.3rem, 1rem + .9vw, 1.75rem); letter-spacing: -.03em; line-height: 1.18; }
.aud__body p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.aud__line { display: block; width: 44px; height: 3px; margin-bottom: 18px; border-radius: 3px; background: var(--red); transform-origin: left; transform: scaleX(1); transition: transform 1s var(--ease-expo) .4s; }
.js [data-reveal]:not(.is-in) .aud__line { transform: scaleX(0); }

/* 17. Conteúdo do curso ----------------------------------------------------- */
.course { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.course__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.course__aside .lead { margin-top: 18px; }
.course__aside .btn { margin-top: 32px; }
/* foto opcional no lado do título (LP ADM) */
.course__photo {
  margin-top: 28px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.where__cta { margin-top: 32px; }
.course__meter {
  display: flex; align-items: center; gap: 14px; margin-top: 36px;
  font-size: .82rem; font-weight: 700; color: var(--muted); letter-spacing: .02em;
}
.course__meter .lesson-bar { flex: 1; max-width: 220px; margin: 0; height: 6px; background: var(--line-strong); } /* trilho visível em fundo claro ou suave */
.course__meter .lesson-bar::after { animation: none; transform: scaleX(var(--p, 0)); transition: transform .8s var(--ease-expo); }
.course__meter b { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3ch; }

/* isolation: a lista vira um contexto próprio, e o z-index -1 põe a linha ATRÁS dos cards.
   Sem isso o ::after (que vem depois dos <li> no DOM) pinta por cima deles. */
.modules { position: relative; isolation: isolate; display: grid; gap: 14px; --p: 0; }
/* trilho (::before) e preenchimento (::after) da trilha de módulos */
.modules::before, .modules::after {
  content: ""; position: absolute; z-index: -1;
  left: 35px; top: 34px; bottom: 34px; width: 2px; border-radius: 2px;
  background: var(--line-strong);
}
.modules::after {
  background: var(--red);
  transform-origin: top center; transform: scaleY(var(--p));
}
.module {
  position: relative;
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 20px;
  padding: 22px 24px 22px 14px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  transition: box-shadow .6s var(--ease-out), transform .6s var(--ease-expo);
}
/* hover com "translate" (separado de transform) para não brigar com a revelação */
.module:hover { translate: 6px 0; box-shadow: var(--shadow), 0 0 0 1px var(--line-strong); }
.js .module[data-reveal] {
  transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-expo), translate .6s var(--ease-expo), box-shadow .6s var(--ease-out);
  transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s;
}
.module__dot {
  position: relative; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg-soft); color: var(--muted);
  font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px var(--surface);
  transition: background .5s var(--ease-out), color .5s var(--ease-out);
}
.module__dot svg { position: absolute; width: 18px; height: 18px; opacity: 0; transform: scale(.4); transition: opacity .4s var(--ease-out), transform .6s var(--ease-expo); }
.module__dot span { transition: opacity .3s var(--ease-out); }
.module.is-done .module__dot { background: var(--red); color: #fff; }
.module.is-done .module__dot svg { opacity: 1; transform: none; }
.module.is-done .module__dot span { opacity: 0; }
.module__txt { color: var(--text); font-size: 1.02rem; line-height: 1.5; }
.module__txt b { color: var(--ink); font-weight: 700; }
.module__ico {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--red-50); color: var(--red);
  transition: transform .6s var(--ease-expo);
}
.module:hover .module__ico { transform: rotate(-8deg) scale(1.06); }
.module__ico svg { width: 22px; height: 22px; }

/* 18. Investimento ---------------------------------------------------------- */
.price {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: clamp(28px, 3vw, 40px);
  padding: clamp(36px, 5.5vw, 80px);
  border-radius: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, var(--red) 0%, var(--red-600) 60%, var(--red-700) 100%);
  color: rgba(255, 255, 255, .86);
  box-shadow: 0 40px 80px -40px rgba(176, 3, 2, .55);
}
.price::before { /* grade de pontos clara */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
  mask-image: linear-gradient(100deg, transparent 30%, #000 90%);
}
.price .kmark { right: -4%; top: 50%; width: min(46%, 520px); transform: translateY(-50%); color: rgba(255, 255, 255, .1); z-index: -1; }
.price__tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.price__cash { margin-top: 28px; color: #fff; font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); letter-spacing: -.02em; }
.price__or { display: block; margin-top: 10px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1rem + .9vw, 1.8rem); color: rgba(255, 255, 255, .8); }
.price__big {
  display: block; margin-top: 2px;
  color: #fff; font-weight: 800; letter-spacing: -.05em; line-height: .98;
  font-size: clamp(2.3rem, 1rem + 4.2vw, 4.8rem);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price__big small { font-size: .5em; letter-spacing: -.03em; margin-right: .1em; }
/* sem preço: chamada grande que quebra linha normalmente (o .price__big antigo era nowrap) */
.price__title {
  margin-top: 22px; max-width: 16ch;
  color: #fff; font-weight: 800; letter-spacing: -.045em; line-height: 1.02;
  font-size: clamp(2.1rem, 1rem + 3.6vw, 4.2rem);
  text-wrap: balance;
}
.price__title .serif { color: rgba(255, 255, 255, .88); font-size: 1.08em; letter-spacing: -.02em; }
.price__cta { display: flex; justify-content: flex-start; }
.price__cta .btn { white-space: nowrap; }
.price .kmark { color: rgba(255, 255, 255, .08); }

/* 19. Onde é o curso -------------------------------------------------------- */
.where { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.where__txt .lead { margin-top: 20px; color: var(--text); }
.where__list { display: grid; gap: 14px; margin-top: 32px; }
.where__item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px 16px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
  color: var(--ink); font-weight: 600; line-height: 1.4;
}
.where__item .chip__ico { width: 44px; height: 44px; border-radius: 13px; }
.map {
  position: relative;
  aspect-ratio: 4 / 3.4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8e3dc;
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--line);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
.map__badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  background: #fff; border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  color: var(--ink); font-size: .86rem; font-weight: 700;
  transition: transform .5s var(--ease-expo);
}
.map__badge:hover { transform: translate3d(0, -3px, 0); }
.map__badge svg { width: 18px; height: 18px; color: var(--red); }

/* 20. CTA final ------------------------------------------------------------- */
.final {
  position: relative; overflow: hidden; overflow: clip;
  background: var(--dark);
  color: rgba(255, 255, 255, .72);
  text-align: center;
}
/* closest-side: o brilho some antes de encostar na borda da seção (sem corte duro) */
.final__glow {
  position: absolute; inset: 0;
  background: radial-gradient(closest-side at 50% 40%, rgba(250, 5, 4, .32), rgba(250, 5, 4, .08) 55%, rgba(250, 5, 4, 0) 100%);
  pointer-events: none;
}
.final .kmark { left: 50%; top: 50%; width: min(440px, 80vw); transform: translate(-50%, -50%); color: rgba(255, 255, 255, .03); }
.final__inner { position: relative; z-index: 1; max-width: 860px; margin-inline: auto; }
.final .eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.final .eyebrow::before { box-shadow: 0 0 0 4px rgba(250, 5, 4, .25); }
.final h2 { color: #fff; font-size: clamp(2.2rem, 1rem + 4.4vw, 4.6rem); letter-spacing: -.05em; line-height: 1; }
.final h2 .serif { color: #ff4b3a; }
.final p { margin: 24px auto 0; max-width: 52ch; font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); }
.final .btn { margin-top: 40px; }

/* 11. Responsivo ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .float--rate { left: -3%; }
  .float--w { left: -2%; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { width: min(100%, 560px); margin: 8px auto 0; }
  .hero__slab { right: -20%; }
  .course { grid-template-columns: 1fr; }
  .course__aside { position: static; }
  .price { grid-template-columns: 1fr; }
  .price__cta { justify-content: flex-start; }
  .where { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; }
  .header__logo img { height: 36px; }
  .header__loc { display: none; }
  .btn { min-height: 54px; padding: 0 22px; }
  .btn--sm { min-height: 44px; padding: 0 18px; } /* o botão pequeno não herda a altura dos grandes */
  .btn--lg { min-height: 60px; padding: 0 24px; font-size: 1rem; }
  .btn--block-sm { width: 100%; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }

  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats li { padding-right: 12px; margin-right: 12px; }
  .stats__n { font-size: 1.3rem; flex-wrap: wrap; gap: 4px; }
  .stats__l { font-size: .78rem; }
  .float--rate, .cursor { display: none; }
  .float--w { left: 0; top: 0; }
  .float--cert { right: 0; bottom: 10%; }
  .chip { padding: 10px 12px 10px 10px; }

  .audience { grid-template-columns: 1fr; }
  .audience__card:nth-child(2) { margin-top: 0; }
  .module { grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 18px 18px 12px; }
  .module__ico { display: none; }
  .modules::before, .modules::after { left: 33px; }
  .map { aspect-ratio: 4 / 4.2; }
  .price { padding: 32px 24px; }
  .gallery__rows { gap: 12px; }
  .gallery__track { gap: 12px; }
  .lb { padding: 12px 8px; }
  /* celular: setas embaixo da foto, legenda embaixo das setas (sem sobrepor) */
  .lb__nav { top: calc(100% + 12px); transform: none; }
  .lb__nav:hover { transform: none; }
  .lb__prev { left: calc(50% - 60px); }
  .lb__next { right: calc(50% - 60px); }
  .lb__stage { height: auto; align-self: center; }
  .lb__cap { padding-top: 84px; }
  .price__cta .btn { white-space: normal; padding: 0 18px; }
  .seal { flex-wrap: wrap; justify-content: center; gap: 6px 12px; padding: 12px 18px; border-radius: 20px; }
  .seal__txt { flex-basis: 100%; font-size: .92rem; }
}
@media (max-width: 420px) {
  .footer__grid { grid-template-columns: 1fr; }
  .header .btn--sm .btn__txt { display: none; }
  /* só o ícone: círculo perfeito */
  .header .btn--sm { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
  .stats li:first-child .stars { display: none; }
  .review { width: 84vw; }
}

/* 12. Movimento reduzido ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-scrub-words] .sw { opacity: 1; }
}
