/* =================================================================
   Rainmaker Designer — Landing page
   -----------------------------------------------------------------
   Escala fluida: tudo é medido em "unidades de design" (--u).
   1 unidade = 1px do Figma, convertida proporcionalmente à tela.
     Desktop (frame 1920×900): --u = min(100vw/1920, 100vh/900)
       → a hero sempre cabe inteira na viewport, mantendo proporção.
     Mobile  (frame 390):      --u = 100vw/390 (limitada a 1.5px)
   Para converter um valor do Figma: calc(VALOR * var(--u))
   ================================================================= */

/* ---------- Fonts ---------- */
/* Manrope (variável, 400–800) e IBM Plex Mono 700: subset latin, servidos localmente */
@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../assets/fonts/IBMPlexMono-Bold-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
/* Blauer Nue: coloque os arquivos em assets/fonts/ (ver README) */
@font-face {
  font-family: "Blauer Nue";
  src: url("../assets/fonts/BlauerNue-Medium.woff2") format("woff2"),
       url("../assets/fonts/BlauerNue-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("../assets/fonts/BlauerNue-Bold.woff2") format("woff2"),
       url("../assets/fonts/BlauerNue-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("../assets/fonts/BlauerNue-ExtraBold.woff2") format("woff2"),
       url("../assets/fonts/BlauerNue-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("../assets/fonts/BlauerNue-Heavy.woff2") format("woff2"),
       url("../assets/fonts/BlauerNue-Heavy.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (variáveis do Figma) ---------- */
:root {
  --surface-dark: #000000;
  --text-light: #eaeaea;
  --text-dark: #000000;
  --fill-main: #3f55ff;
  --fill-light: #eaeaea;
  --surface-light: #eaeaea;
  --surface-accent: #a6b0ff;
  --stroke-default: #000000;

  --trail-dark: #010634;
  --trail-bright: #2942ff;

  --font-display: "Blauer Nue", "Manrope", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  /* unidade das seções de conteúdo: só pela largura */
  --uw: calc(100vw / 1920);

  /* unidade de design da hero — desktop */
  --u: min(calc(100vw / 1920), calc(100vh / 900));
}
@supports (height: 100svh) {
  :root { --u: min(calc(100vw / 1920), calc(100svh / 900)); }
}

/* ---------- Reset mínimo ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }

/* Lenis (scroll suave) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--surface-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, ul { margin: 0; }
ul { padding: 0; list-style: none; }

/* =================================================================
   HERO  — desktop (frame 1920×900)
   Tablet (frame 860×900) e mobile (frame 390×900) mais abaixo.
   ================================================================= */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100svh;
  min-height: calc(900 * var(--u));
  overflow: hidden;
  background: var(--surface-dark);
  isolation: isolate;
}

/* ---------- Logo ---------- */
.hero__logo-row {
  position: relative;
  z-index: 2;
  flex: none;
  padding: calc(40 * var(--u)) 0 0 calc(40 * var(--u));
  height: calc((40 + 40) * var(--u));
}
.hero__logo { display: inline-block; }
.hero__logo img {
  width: calc(168 * var(--u));
  height: calc(43 * var(--u));
}

/* ---------- Espaçadores: dividem a sobra de altura na proporção do Figma ---------- */
/* logo → conteúdo 155 → 152 · conteúdo → ticker 85 → 88 */
.hero__spacer--top    { flex: 152 1 0; min-height: calc(152 * var(--u)); }
.hero__spacer--bottom { flex:  88 1 0; min-height: calc(88 * var(--u)); }

/* ---------- Conteúdo ---------- */
.hero__content {
  position: relative;
  z-index: 2;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: calc(32 * var(--u));
  width: max(calc((40 + 693) * var(--u)), 680px);
  padding-left: calc(40 * var(--u));                   /* 38 → 40 */
}

.hero__tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: max(calc(14 * var(--u)), 12px);
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero__tagline img {
  flex: none;
  width: max(calc(24 * var(--u)), 20px);
  height: max(calc(24 * var(--u)), 20px);
}

.hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: calc(32 * var(--u));
}

.hero__title {
  white-space: nowrap;                                  /* 3 linhas fixas, como no Figma */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(112 * var(--u));
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--text-light);
}

.hero__line-mask {
  display: block;
  overflow: hidden;
  /* folga para ascendentes/descendentes (line-height 0.8) não serem cortados pela máscara */
  padding: 0.1em 0 0.16em;
  margin: -0.1em 0 -0.16em;
}
.hero__line-inner { display: block; }

.hero__text {
  max-width: calc(693 * var(--u));
  font-family: var(--font-body);
  font-weight: 700;
  font-size: max(calc(18 * var(--u)), 16px);
  line-height: 1.4;
  letter-spacing: -0.05em;
}
.br-mobile, .br-tablet { display: none; }

/* ---------- Botões ---------- */
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 max(calc(24 * var(--u)), 20px);
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: max(calc(20 * var(--u)), 16px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease;
}
.btn--light {
  background: var(--fill-light);
  color: var(--text-dark);
  border: 1px solid var(--stroke-default);
}
@media (hover: hover) {
  .btn--light:hover { background: #ffffff; }
}
.btn:focus-visible { outline: 2px solid var(--fill-main); outline-offset: 3px; }

/* linhas do parágrafo geradas no JS para a revelação */
.hero__text .tl-mask { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__text .tl-inner { display: block; }

/* =================================================================
   PAGE LOAD
   ================================================================= */
html.is-loading { overflow: hidden; }
.preloader { display: none; }
html.is-loading .preloader {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.preloader__panels { position: absolute; inset: 0; display: flex; }
.preloader__panels span { flex: 1 1 0; height: 100%; background: var(--surface-dark); margin-right: -1px; will-change: transform; }

/* camada azul: sobe com as pontas de cima arredondadas */
.preloader__cover {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: calc(100% + var(--cr));
  --cr: max(calc(300 * 100vw / 1920), 120px);
  border-radius: var(--cr) var(--cr) 0 0;
  background: #130e8e;
  transform: translateY(100%);
  will-change: transform;
}

/* =================================================================
   FUNDO — linhas e "raios de luz"
   x/largura em unidades de design (ancoradas à direita do frame),
   y em % da altura da hero (acompanha a altura da tela).
   ================================================================= */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.hl {
  position: absolute;
  height: max(1px, calc(var(--sw, 2.9) * var(--u)));
  background: var(--fill-main);
  will-change: transform, clip-path, opacity;
}

/* Rastro: gradiente com opacidade baixa à esquerda + traços que se desfazem
   (referência enviada). Usado no rastro fixo do Figma e nos raios animados. */
.hl--trail,
.hl-ray {
  background: linear-gradient(90deg, rgba(63, 85, 255, .2) 0%, rgba(63, 85, 255, .38) 19%, #3f55ff 100%);
  -webkit-mask-image: linear-gradient(90deg,
    #000 0 3%, transparent 3% 8.7%,
    #000 8.7% 12.6%, transparent 12.6% 19%,
    #000 19% 100%);
          mask-image: linear-gradient(90deg,
    #000 0 3%, transparent 3% 8.7%,
    #000 8.7% 12.6%, transparent 12.6% 19%,
    #000 19% 100%);
}
/* raio que corre sobre as linhas: cabeça mais clara para aparecer sobre o azul */
.hl-ray {
  position: absolute;
  height: max(1px, calc(var(--sw, 2.9) * var(--u)));
  background: linear-gradient(90deg, rgba(166, 176, 255, 0) 0%, rgba(166, 176, 255, .35) 30%, #c9d0ff 100%);
  opacity: 0;
  will-change: transform, opacity;
}

/* durante o page load as linhas ficam escondidas (o JS as desenha na revelação) */
html.is-loading .hl { clip-path: inset(0 100% 0 0); }

.hl-streak {
  position: absolute;
  height: max(1px, calc(2 * var(--u)));
  background: var(--fill-main);
  will-change: transform;
}
.hl-cluster { position: absolute; left: 0; top: 0; will-change: transform; }

/* =================================================================
   TICKER (faixa de palavras-chave)
   ================================================================= */
.marquee {
  position: relative;
  z-index: 2;
  flex: none;
  overflow: hidden;
  background: var(--surface-dark);
  border-bottom: 1px solid var(--stroke-default);
  padding: max(calc(24 * var(--u)), 20px) 0;
  --fade: calc(367 * var(--u));
  --fade-r: var(--fade);
}
/* gradientes nas bordas: escondem as palavras gradualmente */
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.marquee::before { left: 0;  width: var(--fade);   background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%); }
.marquee::after  { right: 0; width: var(--fade-r); background: linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0) 100%); }

.marquee__track {
  display: flex;
  width: max-content;
  padding-left: 16px;
  will-change: transform;
}
.marquee__group {
  display: flex;
  flex: none;
  gap: max(calc(56 * var(--u)), 40px);
  padding-right: max(calc(56 * var(--u)), 40px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: max(calc(18 * var(--u)), 14px);
  line-height: 1;
  letter-spacing: 0.27em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__group li { flex: none; }

/* =================================================================
   HERO — TABLET  (frame 860×900) — 600px a 1199px
   Mesmo layout do desktop, escalado pelo frame de 860.
   ================================================================= */
@media (min-width: 600px) and (max-width: 1199px) and (min-height: 500px) {
  :root { --u: min(calc(100vw / 860), calc(100vh / 900)); }
  @supports (height: 100svh) {
    :root { --u: min(calc(100vw / 860), calc(100svh / 900)); }
  }

  .hero__content { width: auto; max-width: calc((40 + 693 + 40) * var(--u)); padding-right: calc(40 * var(--u)); }
  .hero__tagline { font-size: clamp(13px, calc(14 * var(--u)), 16px); }
  .hero__tagline img { width: 24px; height: 24px; }
  .hero__text { font-size: clamp(16px, calc(18 * var(--u)), 20px); }
  .btn { font-size: clamp(16px, calc(20 * var(--u)), 20px); }

  .marquee { padding: 24px 0; --fade: calc(153 * var(--u)); }
  .marquee__group { font-size: clamp(14px, calc(18 * var(--u)), 20px); gap: calc(56 * var(--u)); padding-right: calc(56 * var(--u)); }
}

/* =================================================================
   HERO — MOBILE  (frame 390×900) — até 599px, ou celular deitado
   ================================================================= */
@media (max-width: 599px), (max-width: 1199px) and (max-height: 499px) {
  :root { --u: min(calc(100vw / 390), 1.5px); }

  .hero {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero__logo-row {
    padding: calc(24 * var(--u)) 0 0 calc(16 * var(--u));
    height: calc((24 + 40) * var(--u));
  }

  /* conteúdo centralizado na vertical, como no Figma (≈148 acima / ≈144 abaixo) */
  .hero__spacer--top,
  .hero__spacer--bottom { flex: 1 1 0; min-height: calc(48 * var(--u)); }

  .hero__content {
    width: auto;
    max-width: calc((16 + 358) * var(--u));
    padding: 0 calc(16 * var(--u));
    box-sizing: content-box;
  }

  .hero__tagline { font-size: 14px; gap: 8px; }
  .hero__tagline img { width: 24px; height: 24px; }

  .hero__title { font-size: calc(56 * var(--u)); white-space: normal; }
  .hero__text  { max-width: none; font-size: clamp(15px, calc(16 * var(--u)), 18px); }

  .hero__buttons { flex-direction: column; }
  .hero__buttons .btn-cta,
  .hero__buttons .btn { width: 100%; justify-content: center; }
  .btn { padding: 0 24px; font-size: min(calc(20 * var(--u)), 20px); }

  .marquee { padding: 24px 0; --fade: calc(85 * var(--u)); --fade-r: calc(113 * var(--u)); }
  .marquee__group { font-size: 18px; gap: 56px; padding-right: 56px; }
}

/* =================================================================
   SEÇÕES DE CONTEÚDO — escala pela largura (frame 1920)
   (desktop primeiro; tablet/mobile serão refinados depois)
   ================================================================= */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- BENEFIT ---------- */
.benefit {
  position: relative;
  background: var(--surface-light);
  color: var(--text-dark);
  /* topo 80 · texto · 328 até a faixa "Você" (frame 1920×800, grade de 8) */
  padding: calc(80 * var(--uw)) calc(40 * var(--uw)) calc(328 * var(--uw));
  --bfs: max(calc(56 * var(--uw)), 28px);
}
.benefit__inner { position: relative; max-width: calc(1840 * var(--uw)); }
.benefit__label {
  position: absolute;
  left: 0;
  /* centralizado na primeira linha do texto */
  top: calc((var(--bfs) * 1.2 - 16px * 1.3) / 2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.benefit__text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--bfs);
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-indent: calc(160 * var(--uw));
}
.benefit__strong { color: var(--text-dark); }
.benefit__muted  { color: rgba(0, 0, 0, .5); }
/* palavras geradas via JS para o efeito de blur */
.benefit__text .w {
  display: inline-block;
  text-indent: 0;
  will-change: filter, opacity;
}

/* ---------- TRANSITION (sanfona) ---------- */
.transition {
  position: relative;
  overflow: hidden;
  background: var(--surface-dark);
}
.transition__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: calc(188 * var(--uw));          /* 40 + 108 (124 × 0.87) + 40 */
  padding: calc(40 * var(--uw));
  overflow: hidden;
  color: var(--text-dark);
}
.transition__row--light { background: var(--surface-light); }
.transition__row--lilac { background: var(--surface-accent); }
.transition__row--blue  { background: var(--fill-main); }
.transition__row--dark  { background: var(--surface-dark); color: var(--text-light); }

.transition__text {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: calc(124 * var(--uw));
  line-height: 0.87;
  text-transform: uppercase;
  white-space: nowrap;
  will-change: transform;
}
.transition__text--split { display: flex; gap: 0.3em; }
.transition__dot {
  flex: none;
  width: max(calc(20 * var(--uw)), 12px);
  height: max(calc(20 * var(--uw)), 12px);
}

/* ---------- SECTION INDEX (aulas e temas) ---------- */
.index {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(80 * var(--uw));
  padding: calc(80 * var(--uw)) 0 calc(40 * var(--uw));
  background: var(--surface-dark);
  color: var(--text-light);
  overflow: hidden;
  --k: var(--uw);                          /* escala da faixa de linhas */
}

.index__header {
  display: flex;
  justify-content: flex-end;
  width: calc(1840 * var(--uw));
}
.index__lead-wrap {
  position: relative;
  width: max(calc(1084 * var(--uw)), 640px);
  --lfs: max(calc(40 * var(--uw)), 26px);
}
.index__label {
  position: absolute;
  left: 0;
  top: calc((var(--lfs) * 1.3 - 16px * 1.3) / 2);   /* alinhado à primeira linha */
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.index__lead {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--lfs);
  line-height: 1.3;
  text-indent: 160px;
}

/* faixa de linhas estáticas (frame 1922×148, centralizada) */
.index__band {
  position: relative;
  flex: none;
  width: calc(1922 * var(--k));
  height: calc(148 * var(--k));
  overflow: hidden;
  pointer-events: none;
}
.index__band span {
  position: absolute;
  height: max(1px, calc(1.9 * var(--k)));
  background: var(--fill-main);
}

.index__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: calc(1840 * var(--uw));
}
.index__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}
.index__col { display: flex; flex-direction: column; gap: 32px; min-width: 0; }   /* 28 → 32 */
.index__col-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: max(calc(20 * var(--uw)), 16px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.index__list {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.index__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(234, 234, 234, .3);
  transition: background-color .3s ease, color .3s ease, padding .3s ease;
}
.index__list li::before {
  content: "";
  flex: none;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
/* hover (só desktop com mouse): estilo do item "Craft & Concept" no Figma */
@media (hover: hover) and (min-width: 1200px) {
  .index__list li:hover {
    background: var(--fill-light);
    color: var(--text-dark);
    padding-left: 8px;
    padding-right: 8px;
  }
}

.index__more {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.06;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.index__more img { width: 48px; height: 48px; flex: none; transition: transform .25s ease; }
@media (hover: hover) {
  .index__more:hover img { transform: translateY(4px); }
}
.index__more:focus-visible { outline: 2px solid var(--fill-main); outline-offset: 3px; border-radius: 8px; }

/* ---------- COMUNIDADE ---------- */
.community {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: calc(40 * var(--uw)) calc(40 * var(--uw)) 80px;
  background: var(--surface-dark);
  color: var(--text-light);
}
.community__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-bottom: 32px;                    /* + 8 de gap = 40 até o botão (Figma) */
}
.community__card { display: flex; flex-direction: column; align-items: center; gap: 24px; min-width: 0; }
.community__frame {
  width: 100%;
  padding: 16px;
  border: 1px solid #101010;
  border-radius: 16px;
  background: #080808;
}
.community__shot {
  position: relative;
  width: 100%;
  aspect-ratio: 414 / 301;
  overflow: hidden;
  border-radius: 12px;
  background: #0c0c0c;
}
.community__shot img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.community__caption { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.community__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.community__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  color: rgba(234, 234, 234, .58);
}
.community__cta { display: flex; justify-content: center; }

/* Botão primário padrão (gradiente medido do Figma) */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(98deg, var(--fill-main) -69%, #130e8e 50%);
  color: var(--fill-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: filter .25s ease;
}
.btn-cta img { width: 17px; height: 16px; flex: none; transition: transform .25s ease; }
@media (hover: hover) {
  .btn-cta:hover { filter: brightness(1.15); }
  .btn-cta:hover img { transform: translateX(3px); }
}
.btn-cta:focus-visible { outline: 2px solid var(--fill-main); outline-offset: 3px; }

/* =================================================================
   BENEFIT · TRANSITION · INDEX · COMUNIDADE — TABLET (600–1199)
   ================================================================= */
@media (min-width: 600px) and (max-width: 1199px) {
  .benefit { padding: 64px 32px 168px; --bfs: 32px; }
  .benefit__inner { max-width: none; }
  .benefit__text { text-indent: 80px; }

  .transition__row { height: auto; padding: 16px; }
  .transition__text { font-size: 48px; }
  .transition__dot { display: none; }

  .index { gap: 32px; padding: 64px 0; --k: 1px; }
  .index__header { width: calc(100% - 64px); }
  .index__lead-wrap { width: 100%; --lfs: 40px; }
  .index__bottom { width: calc(100% - 80px); }
  .index__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .index__col-title { font-size: 20px; }
  .index__list li { min-height: 48px; padding: 8px 16px; }

  .community { padding: 80px 40px; }
  .community__grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; row-gap: 16px; }
  .community__cta { padding-top: 72px; }
}

/* =================================================================
   BENEFIT · TRANSITION · INDEX · COMUNIDADE — MOBILE (até 599)
   ================================================================= */
@media (max-width: 599px) {
  .benefit { padding: 64px 16px 192px; --bfs: 24px; }
  .benefit__inner { max-width: none; }
  .benefit__text { text-indent: 80px; }

  .transition__row { height: auto; padding: 16px; }
  .transition__text { font-size: 48px; }
  .transition__dot { display: none; }

  .index { gap: 32px; padding: 64px 0; --k: 1px; }
  .index__header { width: calc(100% - 32px); }
  .index__lead-wrap { width: 100%; --lfs: 32px; }
  .index__band { height: 113px; }
  .index__bottom { width: calc(100% - 32px); }
  .index__grid { grid-template-columns: 1fr; row-gap: 40px; }
  .index__col { gap: 16px; }
  .index__col-title { font-size: 20px; }
  .index__list li { min-height: 48px; padding: 8px 16px; }

  .community { padding: 0 16px 80px; }
  .community__grid { grid-template-columns: 1fr; padding-bottom: 0; }
  .community__cta { padding-top: 8px; }
}

/* ---------- COURSE (Design & AI) ---------- */
.course {
  background: var(--surface-light);
  color: var(--text-dark);
  padding-bottom: 80px;
  --tfs: max(calc(40 * var(--uw)), 28px);
}
.course__media {
  position: relative;
  height: calc(562 * var(--uw));
  overflow: hidden;
}
.course__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
/* com JS: a imagem fica 35% mais alta que a área para ter espaço de parallax
   (course e depoimento) */
.is-parallax { position: relative; overflow: hidden; }
.is-parallax img {
  width: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 135%;
  will-change: transform;
}
.course .w,
.index__header .w,
.passo .w,
.benefit .w { display: inline-block; text-indent: 0; will-change: filter, opacity; }
.course__body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px calc(40 * var(--uw)) 0;                    /* texto em y=645 (imagem termina em 562) */
}
.course__note {
  width: max(calc(617.4 * var(--uw)), 360px);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  color: rgba(0, 0, 0, .5);
}
.course__note p + p { margin-top: 1.3em; }                 /* linha em branco entre os parágrafos */
.course__content {
  position: relative;
  width: calc(1083.5 * var(--uw));
  min-width: 560px;
}
.course__label {
  position: absolute;
  left: 0;
  top: calc((var(--tfs) * 1.3 - 16px * 1.3) / 2);          /* alinhado à 1ª linha do título */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.course__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--tfs);
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-indent: 160px;
}

/* ---------- DEPOIMENTO ---------- */
.testimonial {
  background: var(--surface-light);
  color: var(--text-dark);
  padding: 80px calc(40 * var(--uw)) 0;
}
.testimonial__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin: 0;
}
.testimonial__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;                                               /* 14 → 16 */
  width: 282px;
  text-align: center;
}
.testimonial__info { display: flex; flex-direction: column; align-items: center; gap: 8px; }   /* 9 → 8 */
.testimonial__avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c8c8c8;
  border: 1px solid rgba(234, 234, 234, .15);
}
.testimonial__avatar img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.testimonial__quote {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.testimonial__link {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-position: from-font;
  color: rgba(0, 0, 0, .5);
  transition: color .25s ease;
}
@media (hover: hover) { .testimonial__link:hover { color: var(--text-dark); } }
.testimonial__media {
  display: block;
  flex: none;
  width: calc(1083.2 * var(--uw));
  aspect-ratio: 1083.2 / 586;
  overflow: hidden;
}
.testimonial__shot { width: 100%; height: 100%; object-fit: cover; object-position: left top; }

/* ---------- PASSO A PASSO ---------- */
.passo {
  padding: 80px calc(40 * var(--uw)) 80px calc(796.3 * var(--uw));
  background: var(--surface-light);
  color: var(--text-dark);
  border-bottom: 1px solid rgba(0, 0, 0, .15);              /* igual à linha de baixo dos parceiros */
  --pfs: max(calc(40 * var(--uw)), 28px);
}
.passo__inner { position: relative; max-width: calc(1083.5 * var(--uw)); min-width: 560px; }
.passo__icon {
  position: absolute;
  left: 0;
  top: calc((var(--pfs) * 1.3 - 40px) / 2);                /* centralizado na 1ª linha */
  width: 40px;
  height: 40px;
}
.passo__text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--pfs);
  line-height: 1.3;
  letter-spacing: -0.04em;
  text-indent: 160px;
}

/* ---------- EMPRESAS PARCEIRAS ---------- */
.partners {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 80px 24px;
  background: var(--surface-light);
  color: var(--text-dark);
}
.partners__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: max(calc(40 * var(--uw)), 28px);
  line-height: 1.3;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.partners__list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  width: max(calc(1082 * var(--uw)), 720px);
}
.partners__item {
  display: grid;
  /* logo + texto: o texto começa 376.6px depois do início do logo (Figma) */
  grid-template-columns: max(calc(376.6 * var(--uw)), 260px) 1fr;
  align-items: start;
}
.partners__logo { height: auto; }
.partners__logo--deeploy { width: max(calc(283.6 * var(--uw)), 200px); }
.partners__logo--ddb     { width: max(calc(239.6 * var(--uw)), 168px); }
.partners__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.partners__item:nth-child(2) .partners__body { max-width: max(calc(599.1 * var(--uw)), 420px); }
.partners__text {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: max(calc(24 * var(--uw)), 20px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

/* Botão secundário (contorno) — "[A]--button-primary" claro do Figma */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: 8px;
  background: var(--fill-light);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: border-color .25s ease, background-color .25s ease;
}
@media (hover: hover) {
  .btn-outline:hover { border-color: var(--text-dark); background: #e0e0e0; }
}
.btn-outline:focus-visible { outline: 2px solid var(--fill-main); outline-offset: 3px; }

/* ---------- SOBRE MIM ---------- */
.about {
  display: grid;
  /* desktop: imagem à esquerda, conteúdo à direita centralizado na altura */
  grid-template-columns: calc(853.7 * var(--uw)) calc(912 * var(--uw));
  grid-template-rows: 1fr auto auto auto 1fr;
  grid-template-areas:
    "media ."
    "media heading"
    "media text"
    "media certs"
    "media .";
  justify-content: space-between;
  padding: 80px calc(40 * var(--uw));
  background: var(--surface-light);
  color: var(--text-dark);
  border-top: 1px solid rgba(0, 0, 0, .15);
  border-bottom: 1px solid rgba(0, 0, 0, .15);
}
.about__heading { grid-area: heading; display: flex; flex-direction: column; gap: 8px; }
.about__media {
  grid-area: media;
  aspect-ratio: 853.7 / 494.4;
  overflow: hidden;
}
.about__media img,
.about__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__text {
  grid-area: text;
  margin-top: 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: max(calc(24 * var(--uw)), 18px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.about__certs { grid-area: certs; display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.about__eyebrow {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}
.about__eyebrow--blue { color: var(--fill-main); }
.about__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.about__cert-list {
  max-width: 464px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* =================================================================
   COURSE · PARCEIROS · SOBRE MIM — TABLET (600–1199)
   ================================================================= */
@media (min-width: 600px) and (max-width: 1199px) {
  .course { --tfs: 40px; }
  .course__media { height: auto; aspect-ratio: 860 / 565; }
  .course__body {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    width: calc(100% - 64px);
    margin: 0 auto;
    padding: 16px 0 0;
  }
  .course__note { align-self: flex-end; width: min(593px, 100%); padding: 8px 0; }
  .course__content { width: 100%; min-width: 0; }

  .partners { flex-direction: column; gap: 64px; padding: 80px 40px; }
  .partners__list { width: 100%; }
  .partners__item { grid-template-columns: 377px 1fr; }
  .partners__logo--deeploy { width: 284px; }
  .partners__logo--ddb { width: 240px; }
  .partners__item:nth-child(2) .partners__body { max-width: none; }

  .about {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 80px 40px;
  }
  .about__media { width: 100%; aspect-ratio: 780 / 382; }
  .about__text { margin-top: 0; font-size: 24px; }
  .about__certs { margin-top: 16px; }                      /* 24 + 16 = 40 */
}

/* =================================================================
   COURSE · PARCEIROS · SOBRE MIM — MOBILE (até 599)
   ================================================================= */
@media (max-width: 599px) {
  .course { --tfs: 24px; }
  .course__media { height: auto; aspect-ratio: 390 / 438; }
  .course__body {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding: 16px 16px 0;
  }
  .course__note { width: 100%; padding: 8px 0; font-size: 14px; }
  .course__note .br-wide { display: none; }
  .course__content { width: 100%; min-width: 0; }

  .partners { flex-direction: column; gap: 64px; padding: 64px 16px 80px; }
  .partners__title { font-size: 32px; }
  .partners__list { width: 100%; gap: 64px; }
  .partners__item { display: flex; flex-direction: column; gap: 32px; }
  .partners__logo { width: auto !important; height: 40px; }
  .partners__body, .partners__item:nth-child(2) .partners__body { max-width: none; width: 100%; }
  .partners__text { font-size: 24px; }
  .btn-outline { width: 100%; }

  .about {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 64px 16px 80px;
  }
  .about__media { width: 100%; aspect-ratio: 359 / 283; }
  .about__text { margin-top: 0; font-size: 16px; }
  .about__certs { margin-top: 16px; }
  .about__cert-list { max-width: none; }
}

/* ---------- TRANSIÇÃO 2 (mesmo componente da sanfona) ---------- */
/* usa as classes .transition / .transition__row (a última faixa fica com a altura cheia
   para o "Agora" não ser cortado pelo parallax do texto) */

/* ---------- PREÇO ---------- */
.pricing {
  position: relative;
  overflow: hidden;
  background: var(--surface-dark);
  color: var(--fill-light);
}
.pricing__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  padding: 0 40px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pricing__grid {
  display: grid;
  grid-template-columns: calc(968 * var(--uw)) 1fr;
  align-items: center;
  min-height: calc(793 * var(--uw));
  padding-right: calc(40 * var(--uw));
}
.pricing__art { align-self: stretch; position: relative; }
.pricing__art img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(940 * var(--uw));
  height: auto;
  image-rendering: pixelated;                              /* arte em pixel: mantém nítida */
}
.pricing__content { display: flex; flex-direction: column; gap: 24px; padding: 40px 0; }   /* 22 → 24 */
.pricing__price { display: flex; flex-direction: column; gap: 16px; text-transform: uppercase; }
.pricing__value {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
}
.pricing__period { font-weight: 500; font-size: 24px; }
.pricing__cash {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.06;
  opacity: .7;
}
.pricing__flag {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fadd00;
}
.pricing__flag--center { text-align: center; }
.pricing__matrix { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pricing__list li {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(234, 234, 234, .3);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.pricing__actions { display: flex; flex-direction: column; gap: 24px; }
.pricing__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 12px;
  background: var(--fill-main);
  color: var(--fill-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: filter .25s ease;
}
@media (hover: hover) { .pricing__btn:hover { filter: brightness(1.12); } }
.pricing__btn:focus-visible { outline: 2px solid var(--fill-light); outline-offset: 3px; }

/* ---------- GARANTIA ---------- */
.guarantee {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  padding: 80px calc(40 * var(--uw));
  background: var(--surface-dark);
  color: var(--fill-light);
}
.guarantee__text { display: flex; flex-direction: column; gap: 24px; }
.guarantee__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: max(calc(40 * var(--uw)), 28px);
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.guarantee__sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: max(calc(24 * var(--uw)), 18px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}
.guarantee__art {
  position: relative;
  overflow: hidden;                                        /* o rastro nunca sai da área da arte */
  flex: none;
  width: calc(655 * var(--uw));
  height: calc(380 * var(--uw));
  --b: calc(316.4 * var(--uw));                            /* tamanho do selo */
}
.guarantee__badge {
  position: absolute;
  right: 0;
  top: calc(50% - var(--b) / 2);                           /* sem transform: o JS anima o x */
  width: var(--b);
  height: var(--b);
  will-change: transform;
}
.guarantee__stripes {
  position: absolute;
  left: 0;
  right: calc(var(--b) * 0.31);
  top: 50%;
  height: calc(var(--b) * 0.937);
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%);
          mask-image: linear-gradient(90deg, transparent 0, #000 28%);
}
.guarantee__stripes i { flex: 1; }
.guarantee__stripes i:nth-child(1) { background: #000529; }
.guarantee__stripes i:nth-child(2) { background: #000b5c; }
.guarantee__stripes i:nth-child(3) { background: #00118f; }
.guarantee__stripes i:nth-child(4) { background: #0017c2; }
.guarantee__stripes i:nth-child(5) { background: #001df5; }
.guarantee__stripes i:nth-child(6) { background: #2942ff; }

/* ---------- FAQ ---------- */
.faq {
  padding: 80px 40px;
  background: var(--surface-dark);
  color: var(--fill-light);
}
.faq__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.faq__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(234, 234, 234, .3);
}
.faq__item dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.06;
  text-transform: uppercase;
  color: #fadd00;
}
.faq__item dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--surface-dark);
  color: var(--fill-light);
  text-align: center;
  padding: 0 40px;
}
.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.footer__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 40px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.footer__legal {
  padding: 48px 0 24px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

/* =================================================================
   DEPOIMENTO · PASSO · TRANSIÇÃO 2 · PREÇO · GARANTIA · FAQ · FOOTER — TABLET
   ================================================================= */
@media (min-width: 600px) and (max-width: 1199px) {
  .testimonial { padding: 0 40px 32px; }
  .testimonial__main { flex-direction: column; align-items: center; gap: 32px; }
  .testimonial__media { width: 100%; aspect-ratio: 780 / 390; }

  .passo { padding: 0 40px 80px; --pfs: 40px; }
  .passo__inner { max-width: none; min-width: 0; }

  .transition--2 .transition__row { padding: 16px 40px; }

  .pricing__grid { display: block; min-height: 0; padding: 0; }
  .pricing__art { position: absolute; left: 0; right: 9px; top: 261px; }
  .pricing__art img { position: static; width: 100%; }
  .pricing__content { position: relative; z-index: 1; padding: 80px 40px; }
  .pricing__matrix { gap: 0; }
  .pricing__list li { min-height: 48px; padding: 8px 16px; }

  .guarantee { flex-direction: column-reverse; align-items: stretch; gap: 32px; padding: 80px 40px; }
  .guarantee__art { width: calc(100% + 40px); height: 196px; margin-left: -40px; --b: 163px; }
  .guarantee__stripes { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
  .guarantee__title { font-size: 40px; }
  .guarantee__sub { font-size: 16px; }
}

/* =================================================================
   DEPOIMENTO · PASSO · TRANSIÇÃO 2 · PREÇO · GARANTIA · FAQ · FOOTER — MOBILE
   ================================================================= */
@media (max-width: 599px) {
  .br-wide { display: none; }

  .testimonial { padding: 0 16px 32px; }
  .testimonial__main { flex-direction: column; align-items: center; gap: 32px; }
  .testimonial__media { width: 100%; aspect-ratio: 359 / 178.4; }

  .passo { padding: 0 16px 80px; --pfs: 24px; }
  .passo__inner { max-width: none; min-width: 0; }
  .passo__icon { width: 32px; height: 32px; top: 0; }

  .transition--2 .transition__text { font-size: 40px; }

  .pricing__bar { display: none; }
  .pricing__grid { display: block; min-height: 0; padding: 0; }
  .pricing__art { position: absolute; left: -229px; top: 359px; width: 809px; }
  .pricing__art img { position: static; width: 100%; }
  .pricing__content { position: relative; z-index: 1; padding: 80px 16px; }
  .pricing__value { flex-direction: column; align-items: flex-start; }
  .pricing__period { font-size: 16px; }
  .pricing__matrix { grid-template-columns: 1fr; gap: 0; }
  .pricing__list li { min-height: 48px; }
  .pricing__flag { line-height: 1; }

  .guarantee { flex-direction: column-reverse; align-items: stretch; gap: 32px; padding: 80px 16px; }
  .guarantee__art { width: calc(100% + 16px); height: 196px; margin-left: -16px; --b: 163px; }
  .guarantee__stripes { left: -440px; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 70%); mask-image: linear-gradient(90deg, transparent 0, #000 70%); }
  .guarantee__title { font-size: 24px; }
  .guarantee__sub { font-size: 16px; }

  .faq { padding: 0 16px 80px; }
  .faq__title { font-size: 24px; }

  .footer__title { font-size: 24px; }
  .footer__legal { font-size: 12px; }
}

/* fade in + slide de baixo pra cima (estado inicial aplicado só com JS) */
.js [data-fade] { will-change: transform, opacity; }

/* Botões: cada letra rola pra cima e a cópia sobe de baixo, em onda (ref. 2).
   A cor de hover continua a mesma. */
.roll {
  display: inline-flex;
  overflow: hidden;
  vertical-align: top;
  padding: 0.12em 0;                         /* respiro para acentos (Ç, Ã) */
  margin: -0.12em 0;
}
.roll__ch {
  position: relative;
  display: inline-block;
  white-space: pre;
  transition: transform .45s cubic-bezier(.65, 0, .35, 1);
  transition-delay: calc(var(--i) * 18ms);
}
.roll__ch::after {
  content: attr(data-ch);
  position: absolute;
  left: 0;
  top: calc(100% + 0.24em);                  /* a cópia espera logo abaixo, fora da máscara */
}
@media (hover: hover) {
  a:hover .roll__ch, button:hover .roll__ch { transform: translateY(calc(-100% - 0.24em)); }
}
a:focus-visible .roll__ch { transform: translateY(calc(-100% - 0.24em)); }
@media (prefers-reduced-motion: reduce) { .roll__ch { transition: none; } }

/* Seleção de texto: amarelo da marca */
::selection { background: #fadd00; color: #000; }

/* =================================================================
   Acessibilidade: movimento reduzido
   ================================================================= */
@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
}
