/* =========================================================
   RILATO — Landing Page
   Kiwi Lab! · CSS único, sem build
   ========================================================= */

/* ---------- Fontes ---------- */
/* QB One Bold — fonte ESTÁTICA, de propósito.
   A versão variável da QB One tem as deltas de peso incompletas nos acentos: ao
   interpolar (font-weight 600), o corpo da letra engrossava mas o acento ficava
   no traço fino — "É", "Ã" e "Í" saíam magros no meio de palavras cheias.
   Sendo estática, esta não interpola nada, e todos os acentuados batem com a
   métrica da letra base (E=619 / É=619, A=739 / Ã=739...).
   NÃO substituir pela variável. */
@font-face {
  font-family: 'QB One';
  src: url('/assets/fonts/qb-one-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-latin-ext.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --blue: #004CF7;          /* CTAs, superfícies de ação */
  --blue-lit: #6E9BFF;      /* texto/links sobre fundo escuro — passa AA */
  --blue-deep: #002A8C;
  --black: #000000;
  --ink: #F1F1F1;
  --electric: #D6FF00;

  /* Superfícies */
  --surface-0: #000000;
  --surface-1: #0A0A0C;
  --surface-2: #121216;
  --line-dark: rgba(241, 241, 241, .14);
  --line-light: rgba(0, 0, 0, .12);

  /* Texto */
  --text-on-dark: #F1F1F1;
  --text-on-dark-mute: rgba(241, 241, 241, .68);
  /* Um degrau acima do mute: para texto que precisa de presença sem virar
     branco puro — menu e corpo do painel de funções. */
  --text-on-dark-soft: rgba(241, 241, 241, .86);
  --text-on-light: #08080A;
  --text-on-light-mute: rgba(8, 8, 10, .66);

  /* Tipografia */
  --font-display: 'QB One', 'Geist', system-ui, sans-serif;
  --font-body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Ritmo */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
body {
  background: var(--black);
  color: var(--text-on-dark);
  font-family: var(--font-body);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--electric); color: #000; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; text-decoration: none; transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 820px; }
.section { position: relative; padding-block: var(--section-y); overflow: clip; }
.section--dark { background: var(--surface-0); color: var(--text-on-dark); }
.section--light { background: var(--ink); color: var(--text-on-light); }
/* Cabeçalho de seção sempre centrado e largo o bastante para o headline
   fechar em até três linhas — em QB One (caixa alta) isso pede ~940px. */
.section__head {
  max-width: 940px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}
.section__head .eyebrow { margin-bottom: 16px; }
.section__support { margin: 20px auto 0; max-width: 62ch; font-size: 1.125rem; color: var(--text-on-light-mute); }
.section--dark .section__support { color: var(--text-on-dark-mute); }
.section__close {
  margin: clamp(40px, 6vw, 72px) auto 0;
  font-weight: 600;
  font-size: clamp(1.1875rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -.01em;
  text-wrap: balance;
  text-align: center;
  max-width: 40ch;
}
.section__close--light { color: var(--text-on-dark); }

/* ---------- Tipografia ---------- */
/* QB One é uma display caixa-alta: usar só em headlines curtos, números e wordmark.
   Headlines longos vão em Geist 600 (.h2--body) para não virar um bloco de capslock. */
.h1, .h2, .h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
/* O H1 escala por largura E por altura: em telas baixas o CTA precisa continuar above the fold. */
/* Trava em 3.7rem por medição: "COMUNICAR É FÁCIL." em QB One ocupa 12,16× o
   tamanho da fonte, e a coluna do headline para em ~742px (o wrap trava em
   1200px). Acima disso o headline quebraria em cinco linhas. */
.h1 { font-size: clamp(2.25rem, min(4.6vw, 8vh), 3.7rem); line-height: 1.02; text-wrap: pretty; }
.h1 em { font-style: normal; color: var(--blue-lit); }

/* Marca-texto azul — assinatura que a Rilato já usa nos posts das redes. */
.hl {
  background: var(--blue); color: #fff;
  padding: .04em .2em .08em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.15; }
.h2--body {
  font-family: var(--font-body); font-weight: 600;
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
  line-height: 1.18; letter-spacing: -.015em;
}
.lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--text-on-dark-mute); max-width: 56ch; }
.section--light .lead { color: var(--text-on-light-mute); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--electric);
  margin-bottom: 20px;
}
.eyebrow--dark { color: var(--blue); }
.microcopy { font-size: .875rem; color: var(--text-on-dark-mute); margin-top: 14px; }
/* .section--diag também tem fundo claro — sem isto o texto some. */
.section--light .microcopy,
.section--diag .diag__copy .microcopy { color: var(--text-on-light-mute); }

/* ---------- Marca ---------- */
.mark { width: 34px; height: auto; color: var(--ink); fill: currentColor; flex: none; }
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1;
}
.nav__logo, .hero__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--btn-bg); color: var(--btn-fg);
  padding: 14px 26px;
  border: 0; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease);
  box-shadow: 0 0 0 0 rgba(0, 76, 247, 0);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -8px rgba(0, 76, 247, .75); }
.btn:active { transform: translateY(0); }
.btn--primary { --btn-bg: var(--blue); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: #0057ff; }
.btn--dark { --btn-bg: var(--black); --btn-fg: var(--ink); }
.btn--dark:hover { box-shadow: 0 10px 34px -10px rgba(0, 0, 0, .55); }
.btn--electric { --btn-bg: var(--electric); --btn-fg: #0a0a0c; }
.btn--electric:hover { box-shadow: 0 10px 34px -10px rgba(214, 255, 0, .6); }
.btn--wa { --btn-bg: #25D366; --btn-fg: #06301a; }
.btn--wa:hover { box-shadow: 0 10px 34px -10px rgba(37, 211, 102, .6); }
.form__download, .form__wa { margin-top: 4px; }
.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Grid técnico de fundo (mesma textura dos posts da marca) ---------- */
.gridlines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(241, 241, 241, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(241, 241, 241, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 10%, transparent 72%);
}

/* ---------- Glow (assinatura visual) ---------- */
.glow { position: absolute; pointer-events: none; z-index: 0; border-radius: 50%; filter: blur(80px); opacity: .55; }
.glow--hero {
  width: min(920px, 105vw); aspect-ratio: 1;
  top: -28%; right: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 76, 247, .95) 0%, rgba(0, 76, 247, .38) 42%, transparent 68%);
}
/* Bloco de fundo único para a tríade + como funciona.
   O glow fica no bloco, não em cada seção: assim ele atravessa as duas de
   ponta a ponta, sem a borda de uma seção cortá-lo no meio do caminho.
   As seções dentro dele ficam transparentes (.section--emenda). */
.bloco-glow { position: relative; background: var(--surface-0); overflow-x: clip; }
.bloco-glow > .section { background: transparent; overflow: visible; }
.bloco-glow > .section > .wrap { position: relative; z-index: 1; }

.glow--soft {
  width: min(1100px, 130vw); aspect-ratio: 1;
  top: 18%; left: -22%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 76, 247, .42) 0%, rgba(0, 76, 247, .12) 45%, transparent 70%);
  opacity: .85;
}
.glow--cta {
  width: min(1000px, 115vw); aspect-ratio: 1;
  top: -30%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle at 50% 50%, rgba(0, 76, 247, .8) 0%, rgba(214, 255, 0, .1) 45%, transparent 70%);
}

/* =========================================================
   MENU
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transform: translateY(-100%);
  transition: transform .35s var(--ease);
}
.nav[hidden] { display: block; }
.nav.is-visible { transform: translateY(0); }
.nav__inner {
  width: min(100% - var(--gutter) * 2, var(--wrap));
  margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
  padding-block: 14px;
}
.nav .mark { width: 28px; }
.nav .wordmark { font-size: 1.15rem; }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-size: .9375rem; text-decoration: none; color: var(--text-on-dark-soft); transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav__toggle span + span { margin-top: 6px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__mobile { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gutter) 24px; border-top: 1px solid var(--line-dark); background: var(--surface-0); }
/* Com o painel aberto o header precisa ficar opaco — translúcido sobre o conteúdo fica ilegível. */
.nav:has(.nav__mobile:not([hidden])) { background: var(--surface-0); }
.nav__mobile a { padding: 12px 0; text-decoration: none; font-size: 1.0625rem; }
.nav__mobile .btn { margin-top: 12px; }

@media (max-width: 900px) {
  .nav__links, .nav__inner > .btn { display: none; }
  .nav__toggle { display: block; margin-left: auto; }
  .nav__mobile:not([hidden]) { display: flex; }
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-block: clamp(88px, 11vh, 150px) clamp(56px, 8vh, 110px);
  background: var(--black);
  overflow: clip;
}
/* Duas colunas do topo à base: o device acompanha toda a altura do hero,
   em vez de começar só depois do H1 — era isso que deixava um vazio enorme
   à direita do headline. */
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 5vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, .52fr);
  align-items: start;
}
.hero__brand { margin-bottom: clamp(24px, 4vh, 40px); }
.hero .eyebrow { margin-bottom: 18px; }
.hero .lead { margin-top: 26px; max-width: 46ch; }
.hero__cta { margin-top: clamp(28px, 4vh, 40px); }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__device { order: 2; max-width: 300px; margin-inline: auto; }
  /* Aqui o device aparece inteiro. Em vez de encurtar a moldura — o que fazia
     o celular parecer um tablet —, o conteúdo da tela é ampliado até preencher. */
  .hero .phone__screen { font-size: 5.9cqi; }
}

/* Mockup do app (placeholder — trocar por screenshot real) */
.hero__device {
  position: relative; display: flex; justify-content: center;
  width: 100%;                 /* precisa de largura própria: o phone mede-se por ela */
  perspective: 1600px;
  margin-top: clamp(16px, 3vh, 40px);
}
/* Dimensionado por LARGURA, não por altura: assim ele preenche a coluna e
   sangra para fora da dobra, em vez de encolher em telas de pouca altura. */
.phone {
  width: min(330px, 100%);
  height: auto;
  aspect-ratio: 300 / 620;
  container-type: inline-size;
  border-radius: 14%/6.8%;
  padding: 3.4%;
  background: linear-gradient(160deg, #2a2a30, #0c0c0f 45%, #1c1c22);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(241, 241, 241, .08), 0 0 90px -20px rgba(0, 76, 247, .55);
  transform: rotateY(-11deg) rotateX(3deg) rotateZ(1deg);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
/* Tudo dentro da tela escala com a largura do device (container query),
   para o mockup continuar legível em qualquer altura de viewport. */
.phone__screen {
  height: 100%;
  font-size: 4.4cqi;
  border-radius: 11cqi;
  background: radial-gradient(120% 80% at 80% -10%, rgba(0, 76, 247, .55), transparent 55%), #08080b;
  padding: 1.3em 1.15em;
  display: flex; flex-direction: column; gap: .8em;
  overflow: hidden;
}
.phone__status { display: flex; justify-content: space-between; align-items: center; font-size: .92em; color: var(--text-on-dark-mute); padding: 0 .5em .5em; }
.phone__dots { display: inline-flex; gap: .25em; }
.phone__dots i { width: .33em; height: .33em; border-radius: 50%; background: var(--text-on-dark-mute); }
.phone__head { display: flex; align-items: center; gap: .6em; padding: 0 .5em .8em; border-bottom: 1px solid var(--line-dark); }
.phone__head .mark { width: 1.5em; color: var(--electric); }
.phone__head span { font-family: var(--font-display); font-weight: 700; font-size: 1.05em; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }

.card-app {
  background: rgba(241, 241, 241, .06);
  border: 1px solid var(--line-dark);
  border-radius: 1.15em;
  padding: 1em 1.05em;
}
.card-app__tag { font-size: .8em; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-lit); font-weight: 600; line-height: 1.3; }
.card-app__title { font-size: 1.05em; font-weight: 600; line-height: 1.3; margin-top: .4em; }
.card-app__meta { font-size: .85em; color: var(--text-on-dark-mute); margin-top: .4em; }
.card-app--campaign { border-color: rgba(214, 255, 0, .3); background: rgba(214, 255, 0, .06); }
.card-app--campaign .card-app__tag { color: var(--electric); }
.card-app--reco { background: linear-gradient(120deg, rgba(0, 76, 247, .55), rgba(0, 76, 247, .18)); border-color: rgba(110, 155, 255, .4); }
.bar { height: .34em; border-radius: 3px; background: rgba(241, 241, 241, .14); margin-top: .7em; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: 3px; background: var(--electric); }

/* Peças flutuantes ao redor do device — dão escala e presença à composição
   sem depender de aumentar o celular até estourar a dobra. */
.float {
  position: absolute; z-index: 2;
  background: rgba(18, 18, 22, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(241, 241, 241, .16);
  border-radius: 16px;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .9);
  animation: float 11s ease-in-out infinite;
}
.float b { display: block; font-weight: 600; letter-spacing: -.01em; }
.float span { color: var(--text-on-dark-mute); }

/* Abaixo de 40% para não colidir com o headline, que agora ocupa a faixa
   superior da coluna ao lado. */
.float--push {
  top: 42%; left: -10%;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px 13px 14px;
  animation-delay: -3s;
}
.float--push b { font-size: .875rem; }
.float--push span { font-size: .75rem; }
.float__icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 11px;
  background: var(--blue); color: #fff;
}
.float__icon svg { width: 18px; height: 18px; }

/* Ambas as peças ficam à esquerda do device: à direita elas colidiriam com o
   botão flutuante do WhatsApp e sairiam da viewport em telas de 1280.
   O topo é limitado a ~34% porque abaixo disso o device já passou da dobra. */
.float--metric {
  top: 64%; left: -18%;
  padding: 16px 20px 14px;
  text-align: left;
  animation-delay: -6.5s;
}
.float--metric b {
  font-family: var(--font-display); font-weight: 700;
  font-size: 2rem; line-height: 1;
  color: var(--electric);
}
.float--metric span { display: block; margin-top: 6px; font-size: .75rem; line-height: 1.35; }
.spark { margin-top: 10px; width: 82px; height: 26px; }
.spark svg { width: 100%; height: 100%; }
.spark polyline { fill: none; stroke: var(--electric); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Acima de 1180px há espaço para as peças ficarem ao lado do device, sem
   cobrir a tela do app — que é como a composição funciona melhor. */
@media (min-width: 1180px) {
  .float--push { left: -28%; }
  .float--metric { left: -34%; }
}

/* Abaixo disso o device já ocupa a largura toda: as peças atrapalhariam. */
@media (max-width: 1179px) { .float { display: none; } }

/* =========================================================
   2. A VIRADA
   ========================================================= */
.stats {
  display: grid; gap: clamp(28px, 4vw, 44px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding-bottom: clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line-light);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.25rem, 8vw, 5rem); line-height: .95;
  letter-spacing: -.02em; color: var(--blue);
}
.stat__num span { font-size: .5em; }
.stat__desc { margin: 14px auto 0; font-size: 1rem; color: var(--text-on-light); max-width: 32ch; }
/* Sem uso no HTML hoje — as estatísticas estão sem linha de fonte. Fica pronto
   para quando as referências chegarem. */
.stat__src { margin-top: 10px; font-size: .75rem; color: var(--text-on-light-mute); letter-spacing: .04em; }

.compare {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; gap: 2px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
}
.compare__col { background: var(--ink); padding: clamp(28px, 4vw, 40px); }
.compare__col--accent { background: var(--black); color: var(--text-on-dark); }
.compare__title {
  font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  padding-bottom: 18px; margin-bottom: 18px;
  border-bottom: 1px solid var(--line-light);
}
.compare__col--accent .compare__title { border-color: var(--line-dark); color: var(--electric); }
.compare__col li { display: flex; align-items: center; gap: 14px; padding: 12px 0; font-size: 1.0625rem; }
.compare__col li svg { flex: none; width: 22px; height: 22px; opacity: .42; }
.compare__col--accent li svg { opacity: 1; color: var(--blue-lit); }

/* =========================================================
   3. TRÍADE
   ========================================================= */
.triade .wrap { position: relative; z-index: 1; }
.triade__grid {
  display: grid; gap: clamp(20px, 2.5vw, 28px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  position: relative;
}
.tcard {
  position: relative;
  background: linear-gradient(180deg, rgba(241, 241, 241, .055), rgba(241, 241, 241, .015));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 38px);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background-color .3s var(--ease);
}
.tcard:hover { border-color: rgba(110, 155, 255, .55); transform: translateY(-4px); }
.tcard__icon {
  display: grid; place-items: center;
  width: 52px; height: 52px; margin-bottom: 24px;
  border-radius: 14px;
  background: rgba(0, 76, 247, .16);
  border: 1px solid rgba(110, 155, 255, .35);
  color: var(--blue-lit);
}
.tcard__icon svg { width: 26px; height: 26px; }
.tcard__title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; }
.tcard p { color: var(--text-on-dark-mute); }
.tcard:nth-child(2) .tcard__icon { background: rgba(214, 255, 0, .12); border-color: rgba(214, 255, 0, .4); color: var(--electric); }

/* =========================================================
   4. COMO FUNCIONA
   ========================================================= */
.scenarios { display: grid; gap: clamp(40px, 6vw, 80px); }
.scenario__count {
  font-family: var(--font-display); font-weight: 700;
  font-size: .875rem; letter-spacing: .12em;
  color: var(--text-on-dark-mute); margin-bottom: 14px;
}
.scenario__count span { color: var(--electric); }

/* =========================================================
   PAINEL FIXO DAS FUNÇÕES (progressive enhancement)
   A classe .scenarios--slide só é adicionada por JS, em telas largas e
   sem prefers-reduced-motion. Sem ela, o bloco continua sendo a lista
   vertical normal — que é o que aparece sem JS e no mobile.
   ========================================================= */
.scenarios--slide { display: block; position: relative; }
.scenarios--slide .scenario {
  position: absolute; inset: 0;
  display: grid; align-content: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding-top: 0; border-top: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.scenarios--slide .scenario.is-current { opacity: 1; visibility: visible; }

/* Texto e arte entram subindo; ao sair, sobem e somem. */
.scenarios--slide .scenario__text,
.scenarios--slide .scenario__art {
  transform: translateY(42px);
  opacity: 0;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
}
.scenarios--slide .scenario.is-current .scenario__text,
.scenarios--slide .scenario.is-current .scenario__art { transform: none; opacity: 1; }
.scenarios--slide .scenario.is-current .scenario__art { transition-delay: .08s; }
.scenarios--slide .scenario.is-past .scenario__text,
.scenarios--slide .scenario.is-past .scenario__art { transform: translateY(-42px); }

/* O texto fica centrado ao lado do app, como o restante da seção.
   No painel ele é o protagonista da tela — por isso vem maior e mais claro
   que o mesmo parágrafo na versão em lista. */
.scenarios--slide .scenario__text { text-align: center; }
.scenarios--slide .scenario__text p {
  margin-inline: auto;
  max-width: 40ch;
  font-size: clamp(1.125rem, 1.45vw, 1.375rem);
  line-height: 1.5;
  color: var(--text-on-dark-soft);
}
.scenarios--slide .scenario__text .h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.scenarios--slide .scenario--rev .scenario__art { order: 0; }
.scenarios--slide .scenario__art--device { padding-block: 0; }

/* Trilho de rolagem: cada função ganha uma tela de scroll. */
.feat { position: relative; }
.feat__stage {
  position: sticky; top: 0;
  min-height: 100svh;
  display: grid; align-content: center;
  overflow: clip;
}
.feat__progress {
  position: absolute; left: 50%; translate: -50% 0; bottom: clamp(24px, 5vh, 48px);
  display: flex; gap: 10px; z-index: 2;
}
.feat__dot {
  width: 26px; height: 3px; border-radius: 2px;
  background: rgba(241, 241, 241, .2);
  transition: background-color .35s var(--ease);
}
.feat__dot.is-on { background: var(--electric); }
/* Alinhado ao topo: com `center`, um texto curto ao lado de um device alto
   descia até o meio e abria um vão enorme depois do título da seção. */
.scenario {
  display: grid; gap: clamp(28px, 5vw, 64px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  padding-top: clamp(40px, 6vw, 72px);
  border-top: 1px solid var(--line-dark);
}
.scenario:first-child { border-top: 0; padding-top: 0; }
.scenario--rev .scenario__art { order: -1; }
.scenario__text p { margin-top: 16px; color: var(--text-on-dark-mute); max-width: 46ch; }
.scenario__art {
  background: linear-gradient(150deg, rgba(0, 76, 247, .12), rgba(241, 241, 241, .02));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 40px);
  min-height: 240px;
  display: grid; align-content: center;
}
@media (max-width: 760px) {
  .scenario { grid-template-columns: 1fr; }
  .scenario--rev .scenario__art { order: 0; }
}

/* Cenário com vídeo do app real (abaixo da dobra, só carrega quando visível) */
.scenario__art--device {
  margin: 0; position: relative;
  display: grid; justify-items: center; align-content: center; gap: 22px;
  background: none; border: 0; padding: 0; min-height: 0;
  /* Sem perspectiva, o rotateY do device é só uma escala horizontal: em vez de
     inclinar, ele achata o celular. É ela que transforma o giro em profundidade. */
  perspective: 1500px;
}
/* Halo por trás do device. Este cenário é o único sem o painel de fundo dos
   outros três; sem o halo o celular fica solto no preto, sem apoio nenhum. */
.scenario__art--device::before {
  content: '';
  position: absolute; z-index: 0; pointer-events: none;
  left: 50%; top: 46%; translate: -50% -50%;
  /* Elipse deitada, mais larga que alta: acompanha a coluna em vez de repetir
     o formato do celular, e o device ganha um chão de luz atrás de si. */
  width: min(110%, 640px); height: min(105%, 620px);
  /* Sem blur: o gradiente radial já é suave, e o filtro só lavava a cor. */
  background:
    radial-gradient(52% 46% at 50% 48%, rgba(0, 76, 247, .95), rgba(0, 76, 247, .34) 52%, transparent 74%),
    radial-gradient(34% 26% at 50% 74%, rgba(197, 255, 0, .16), transparent 72%);
}

/* O device é dimensionado pela TELA, não pela moldura.
   Antes a proporção do vídeo estava na moldura, e o padding a distorcia: a tela
   ficava em 0,410 contra os 0,453 do vídeo, então o `object-fit: cover` cortava
   ~9% da largura do app. Era isso que deixava a interface espremida.
   Agora a tela recebe a proporção exata do vídeo e a moldura cresce em volta —
   nada é cortado, em nenhuma largura. */
.phone--video {
  /* largura da tela: manda no tamanho do conjunto. No painel deslizante o limite
     é a altura da viewport, por isso svh e não vw. */
  /* Teto em 280px de propósito: a gravação do cliente tem 384px de largura, e
     acima disso o app começa a ficar mole na tela. */
  --tela: clamp(230px, 30svh, 280px);
  --moldura: calc(var(--tela) * .058);

  position: relative; z-index: 1;
  /* Largura explícita, não `auto`: o reset `video { max-width: 100% }` da linha 96
     resolveria contra um pai de largura indefinida e a tela colapsaria para zero. */
  width: calc(var(--tela) + 2 * var(--moldura));
  height: auto; aspect-ratio: auto;
  padding: var(--moldura);
  border-radius: calc(var(--tela) * .17);
  animation: none;
  transform: rotateY(-9deg) rotateX(2.5deg);
  box-shadow:
    0 42px 80px -28px rgba(0, 0, 0, .95),          /* sombra projetada */
    0 0 0 1px rgba(241, 241, 241, .11),            /* aro externo */
    inset 0 1px 0 rgba(255, 255, 255, .26),        /* brilho na aresta de cima */
    0 0 130px -30px rgba(0, 76, 247, .65);         /* reflexo azul da marca */
}
/* Aqui a tela É o <video> — o mesmo elemento carrega as duas coisas. Por isso
   um seletor só: dois (`.phone__screen` e `video`) brigariam por width/height. */
.phone--video .phone__screen {
  width: var(--tela); height: auto;
  aspect-ratio: 384 / 790;                         /* proporção do arquivo de vídeo */
  border-radius: calc(var(--tela) * .112);         /* raio externo menos a moldura */
  padding: 0; background: #fff; display: block;
  object-fit: cover;                               /* guarda contra arredondamento de subpixel */
}
.scenario__art--device figcaption {
  position: relative; z-index: 1;
  font-size: .8125rem; color: var(--text-on-dark-mute);
  text-align: center; max-width: 34ch; line-height: 1.45;
}
/* Fora do painel deslizante (até 900px) a altura da viewport não limita nada:
   aqui o celular é dimensionado pela largura da coluna. Deliberadamente bem
   menor que a tela do visitante: em escala 1:1 o mockup deixa de ler como
   mockup e vira só a interface, sem a moldura contando a história. */
@media (max-width: 900px) {
  .phone--video { --tela: min(230px, 62vw); }
}

.brandtiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.brandtile { aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--line-dark); }
.brandtile--a { background: linear-gradient(145deg, var(--blue), var(--blue-deep)); }
.brandtile--b { background: linear-gradient(145deg, var(--electric), #9dbb00); }
.brandtile--c { background: linear-gradient(145deg, #1b1b22, #08080b); }
.brandtile--d { background: linear-gradient(145deg, var(--ink), #b9b9bd); }

.art__label {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-on-dark-mute); margin-bottom: 18px;
}

/* Segmentação: o que prova o recorte é a MENSAGEM ser diferente em cada área,
   não a existência das categorias. */
.segmsgs { display: grid; gap: 12px; }
.segmsg {
  display: grid; gap: 9px;
  padding: 15px 17px;
  border-radius: var(--radius-sm);
  background: rgba(241, 241, 241, .04);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--line-dark);
}
.segmsg p { font-size: .875rem; line-height: 1.45; color: var(--text-on-dark-mute); }
.segmsg:first-child { border-left-color: var(--blue); }
.segmsg:nth-child(2) { border-left-color: var(--electric); }
.chip {
  justify-self: start;
  font-size: .75rem; font-weight: 500; padding: 5px 13px; border-radius: 999px;
  border: 1px solid var(--line-dark); color: var(--text-on-dark-mute); white-space: nowrap;
}
.chip--on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip--electric { background: rgba(214, 255, 0, .14); border-color: rgba(214, 255, 0, .45); color: var(--electric); }

/* Campanha em andamento — arte do cenário 3, que cedeu o pódio para #gamificacao. */
.campanha { display: grid; gap: 16px; }
.campanha__topo { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font-size: .875rem; }
.campanha__topo b { font-weight: 600; }
.campanha__topo span { color: var(--electric); font-variant-numeric: tabular-nums; }
.campanha__rodape { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-dark); font-size: .8125rem; color: var(--text-on-dark-mute); }
.campanha__rodape b { color: var(--text-on-dark); }

/* =========================================================
   FAIXA DE CTA ENTRE SEÇÕES
   Ocupa o vão da transição em vez de somar a ele: as seções vizinhas
   perdem parte do respiro (.section--colada) onde a faixa entra.
   ========================================================= */
.cta-faixa {
  position: relative;
  padding-block: clamp(36px, 5vw, 56px);
  background: var(--surface-1);
  border-block: 1px solid var(--line-dark);
  overflow: clip;
}
.cta-faixa--claro { background: var(--ink); border-color: var(--line-light); }
.cta-faixa__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(20px, 4vw, 44px); flex-wrap: wrap;
}
.cta-faixa__txt { flex: 1 1 320px; }
.cta-faixa__txt b {
  display: block;
  font-size: clamp(1.125rem, 2.1vw, 1.5rem);
  font-weight: 600; letter-spacing: -.01em; line-height: 1.25;
  text-wrap: balance;
}
.cta-faixa__txt span { display: block; margin-top: 8px; font-size: .9375rem; color: var(--text-on-dark-soft); }
.cta-faixa--claro .cta-faixa__txt span { color: var(--text-on-light-mute); }
.cta-faixa--claro .cta-faixa__txt b { color: var(--text-on-light); }
.cta-faixa .btn { flex: none; }
@media (max-width: 620px) {
  .cta-faixa__inner { flex-direction: column; align-items: stretch; text-align: center; }
  /* Em coluna o flex-basis passa a valer como ALTURA: os 320px do layout de
     desktop viravam um vão enorme entre o texto e o botão. */
  .cta-faixa__txt { flex: 0 1 auto; }
  .cta-faixa .btn { width: 100%; }
}
/* Seção que encosta numa faixa: metade do respiro daquele lado. */
.section--colada-baixo { padding-bottom: clamp(40px, 5vw, 72px); }
.section--colada-cima { padding-top: clamp(40px, 5vw, 72px); }
/* No bloco de fundo compartilhado o padding vive nas seções internas. */
.bloco-glow--colado > .section:first-of-type { padding-top: clamp(40px, 5vw, 72px); }

/* =========================================================
   SEÇÃO DE GAMIFICAÇÃO
   ========================================================= */
.gamif { overflow: clip; }
.glow--gamif {
  width: min(900px, 110vw); aspect-ratio: 1;
  top: -20%; right: -25%;
  background: radial-gradient(circle at 50% 50%, rgba(214, 255, 0, .16) 0%, rgba(0, 76, 247, .3) 40%, transparent 70%);
  opacity: .75;
}
.gamif .wrap { position: relative; z-index: 1; }
.gamif__grid {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
@media (max-width: 900px) { .gamif__grid { grid-template-columns: 1fr; } }

.gamif__quadro {
  background: linear-gradient(150deg, rgba(0, 76, 247, .14), rgba(241, 241, 241, .02));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 40px);
}
/* Os degraus apoiam na linha das conquistas, em vez de flutuar acima dela. */
.gamif__quadro .badges { margin-top: 0; }

.mecanicas { display: grid; gap: clamp(18px, 2.4vw, 26px); }
.mecanica { display: flex; gap: 16px; align-items: flex-start; }
.mecanica__ico {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 13px;
  background: rgba(214, 255, 0, .12);
  border: 1px solid rgba(214, 255, 0, .38);
  color: var(--electric);
}
.mecanica__ico svg { width: 22px; height: 22px; }
.mecanica b { display: block; font-size: 1.0625rem; font-weight: 600; margin-bottom: 5px; }
.mecanica p { color: var(--text-on-dark-soft); font-size: .9375rem; line-height: 1.5; max-width: 42ch; }

/* Gamificação: pódio com medalhas e conquistas — reconhecimento, não só placar. */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; }
.podium__place { display: grid; justify-items: center; text-align: center; gap: 6px; }
.podium__place b { font-size: .8125rem; font-weight: 600; line-height: 1.2; }
.podium__pts { font-size: .6875rem; color: var(--text-on-dark-mute); font-variant-numeric: tabular-nums; }
.podium__step {
  width: 100%; margin-top: 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(241, 241, 241, .12), rgba(241, 241, 241, .03));
  border: 1px solid var(--line-dark); border-bottom: 0;
}
.podium__place--1 .podium__step { height: 56px; background: linear-gradient(180deg, rgba(214, 255, 0, .3), rgba(214, 255, 0, .05)); border-color: rgba(214, 255, 0, .4); }
.podium__place--2 .podium__step { height: 38px; }
.podium__place--3 .podium__step { height: 26px; }

.medal {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid; margin-bottom: 2px;
}
.medal svg { width: 24px; height: 24px; }
.medal--gold { color: var(--electric); background: rgba(214, 255, 0, .14); border-color: rgba(214, 255, 0, .5); }
.medal--silver { color: #cfd3da; background: rgba(207, 211, 218, .1); border-color: rgba(207, 211, 218, .35); }
.medal--bronze { color: #d09a6a; background: rgba(208, 154, 106, .12); border-color: rgba(208, 154, 106, .38); }
.podium__place--1 .medal { width: 54px; height: 54px; }
.podium__place--1 .medal svg { width: 30px; height: 30px; }

.badges { display: grid; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.badge {
  display: flex; align-items: center; gap: 10px;
  font-size: .8125rem; color: var(--text-on-dark-mute);
}
.badge svg { width: 17px; height: 17px; flex: none; opacity: .45; }
.badge--on { color: var(--text-on-dark); }
.badge--on svg { opacity: 1; color: var(--electric); }

.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 24px; }
.dash__kpi { text-align: center; }
.dash__kpi b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem); color: var(--electric); }
.dash__kpi span { font-size: .75rem; color: var(--text-on-dark-mute); }
.dash__chart { width: 100%; height: 100px; }
.dash__chart polyline { fill: none; stroke: var(--blue-lit); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* =========================================================
   5. PARA QUEM É
   ========================================================= */
.icp {
  position: relative; overflow: hidden;
  background: var(--black); color: var(--text-on-dark);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.icp::after {
  content: '';
  position: absolute; right: -3%; bottom: -28%;
  width: clamp(180px, 26%, 340px); aspect-ratio: 64 / 51;
  background: var(--blue);
  -webkit-mask: url('/assets/img/simbolo.svg') no-repeat center / contain;
  mask: url('/assets/img/simbolo.svg') no-repeat center / contain;
  opacity: .5;
  pointer-events: none;
}
@media (max-width: 700px) { .icp::after { display: none; } }
.icp__main { font-weight: 500; font-size: clamp(1.125rem, 2.2vw, 1.6rem); line-height: 1.35; letter-spacing: -.01em; text-wrap: pretty; max-width: 42ch; }
.icp__subtitle {
  margin: clamp(40px, 5vw, 56px) 0 22px;
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-on-light-mute);
}
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid var(--line-light);
  font-size: .9375rem;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tags li:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* =========================================================
   6. POR QUE RILATO
   ========================================================= */
.section--pattern::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 51' width='64' height='51'%3E%3Cg fill='%23004CF7'%3E%3Cpath d='M0 0 L51 0 L64 13 L64 25 L51 25 L39 13 L13 13 Z'/%3E%3Cpath d='M0 13 L13 13 L13 26 L26 39 L26 51 L13 51 L0 38 Z'/%3E%3Cpath d='M26 25 L51 25 L64 38 L64 51 L38 51 L26 39 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 96px auto;
  opacity: .07;
  mask-image: radial-gradient(120% 80% at 50% 40%, #000 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 40%, #000 25%, transparent 75%);
  pointer-events: none;
}
.section--pattern .wrap { position: relative; z-index: 1; }

.vs { border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.vs__head, .vs__row { display: grid; grid-template-columns: 1fr 1fr; }
.vs__head span, .vs__row span { padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.5vw, 28px); }
.vs__head {
  font-family: var(--font-display); font-size: .9375rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  background: rgba(241, 241, 241, .05);
  border-bottom: 1px solid var(--line-dark);
}
.vs__head--accent { background: var(--blue); color: #fff; }
.vs__row { border-top: 1px solid var(--line-dark); font-size: 1rem; }
.vs__row:first-of-type { border-top: 0; }
.vs__row span { display: flex; align-items: center; gap: 12px; }
/* Ícone por linha (pedido do roteiro): ✗ do lado tradicional, ✓ do estratégico. */
.vs__row span::before {
  content: ''; flex: none; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: no-repeat center / contain; mask: no-repeat center / contain;
}
.vs__row span:first-child {
  color: var(--text-on-dark-mute);
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}
.vs__row span:last-child {
  background: rgba(0, 76, 247, .1); border-left: 1px solid var(--line-dark); font-weight: 500;
  --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
.vs__row span:last-child::before { background: var(--electric); }
.vs__row span::before { -webkit-mask-image: var(--ico); mask-image: var(--ico); }
.vs__row:hover span:last-child { background: rgba(0, 76, 247, .2); }
@media (max-width: 640px) {
  .vs__head span, .vs__row span { padding: 14px 16px; font-size: .9375rem; }
  .vs__head { font-size: .75rem; letter-spacing: .08em; }
}

/* =========================================================
   7. PROVA SOCIAL
   ========================================================= */
.creds { display: grid; gap: clamp(20px, 3vw, 28px); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cred {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(26px, 3.5vw, 36px);
  text-align: center;
}
.cred b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--electric); margin-bottom: 10px; }
.cred span { color: var(--text-on-dark-mute); font-size: .9375rem; }
.logos { display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: center; margin-top: 48px; }
.logos img { filter: grayscale(1) brightness(2); opacity: .7; }
/* Nota agregada */
.nota {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.nota__estrelas {
  width: 105px; height: 18px;
  background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='17' viewBox='0 0 21 17'%3E%3Cpath d='M10.5 1.6l2.2 4.5 5 .7-3.6 3.5.85 4.95-4.45-2.35-4.45 2.35.85-4.95L3.3 6.8l5-.7z' fill='%23000'/%3E%3C/svg%3E") repeat-x left center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='17' viewBox='0 0 21 17'%3E%3Cpath d='M10.5 1.6l2.2 4.5 5 .7-3.6 3.5.85 4.95-4.45-2.35-4.45 2.35.85-4.95L3.3 6.8l5-.7z' fill='%23000'/%3E%3C/svg%3E") repeat-x left center;
}
.nota p { color: var(--text-on-dark-mute); font-size: .9375rem; }
.nota b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }

/* ---------- Carrossel de depoimentos ----------
   Ocupa a largura total da tela. Sem JS é uma faixa rolável na horizontal
   (scroll-snap nativo, arrastável no toque); o JS acrescenta autoplay,
   controles e o "ver mais". */
.carrossel { position: relative; margin-block: clamp(8px, 2vw, 20px); }
.carrossel__trilho {
  display: flex; gap: 20px;
  align-items: start;               /* card expandido não estica os vizinhos */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 6px var(--gutter) 22px;
  scrollbar-width: none;
}
.carrossel__trilho::-webkit-scrollbar { display: none; }
/* Alinhamento pelo início, não pelo centro: em telas largas cabem três cards
   de uma vez, e centralizar faria "avançar" quase não mover a faixa. */
.carrossel__trilho > .quote { scroll-snap-align: start; }
/* Enquanto arrasta, o texto não deve ser selecionado. */
.carrossel.is-arrastando .carrossel__trilho { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.carrossel.is-arrastando .quote { pointer-events: none; }

.quote {
  flex: 0 0 min(420px, 82vw);
  display: flex; flex-direction: column;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(26px, 3.4vw, 34px);
  background: linear-gradient(180deg, rgba(241, 241, 241, .05), rgba(241, 241, 241, .015));
  transition: border-color .3s var(--ease);
}
.quote:hover { border-color: rgba(110, 155, 255, .4); }
.quote blockquote { font-size: 1.0625rem; line-height: 1.55; text-wrap: pretty; }

/* Altura padronizada: os textos vão de 57 a 573 caracteres, e sem corte um
   card ficaria cinco vezes maior que o outro. O clamp só é aplicado com JS,
   para que sem JS nenhum texto fique inacessível. */
.quotes--corta blockquote {
  display: -webkit-box; -webkit-box-orient: vertical;
  -webkit-line-clamp: 6; line-clamp: 6;
  overflow: hidden;
}
.quotes--corta .quote.is-aberto blockquote { -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.quote__mais {
  align-self: flex-start;
  margin-top: 12px; padding: 0;
  background: none; border: 0; cursor: pointer;
  font-size: .875rem; font-weight: 600; color: var(--blue-lit);
  text-decoration: underline; text-underline-offset: 3px;
}
.quote__mais:hover { color: var(--ink); }

/* Controles */
.carrossel__ctrl {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 6px;
}
.carrossel__btn {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(241, 241, 241, .06);
  border: 1px solid var(--line-dark);
  color: var(--ink); cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.carrossel__btn:hover { background: rgba(241, 241, 241, .14); border-color: rgba(241, 241, 241, .35); }
.carrossel__btn svg { width: 18px; height: 18px; }
.carrossel__pontos { display: flex; gap: 2px; margin-inline: 6px; }
/* O ponto é pequeno por design, mas a área de toque precisa ter no mínimo
   24px (WCAG 2.2 — Target Size). Por isso o botão é transparente e grande,
   e a bolinha visível é desenhada no ::before. */
.carrossel__ponto {
  width: 24px; height: 24px; padding: 0; border: 0;
  background: none; cursor: pointer;
  display: grid; place-items: center;
}
.carrossel__ponto::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(241, 241, 241, .22);
  transition: background-color .3s var(--ease), width .3s var(--ease);
}
.carrossel__ponto.is-on::before { background: var(--electric); width: 20px; border-radius: 4px; }
.quote blockquote::before { content: '“'; }
.quote blockquote::after { content: '”'; }
.quote figcaption { margin-top: auto; padding-top: 22px; font-size: .8125rem; color: var(--text-on-dark-mute); }
.quote figcaption b { display: block; font-size: .9375rem; color: var(--ink); margin-bottom: 3px; }
.quote figcaption span:empty { display: none; }

/* Estrelas desenhadas a partir de data-nota="1".."5", sem imagem nem fonte de ícone. */
.quote[data-nota]::before {
  content: '';
  display: block; height: 17px; margin-bottom: 18px;
  width: calc(var(--n) * 21px);
  background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='17' viewBox='0 0 21 17'%3E%3Cpath d='M10.5 1.6l2.2 4.5 5 .7-3.6 3.5.85 4.95-4.45-2.35-4.45 2.35.85-4.95L3.3 6.8l5-.7z' fill='%23000'/%3E%3C/svg%3E") repeat-x left center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='17' viewBox='0 0 21 17'%3E%3Cpath d='M10.5 1.6l2.2 4.5 5 .7-3.6 3.5.85 4.95-4.45-2.35-4.45 2.35.85-4.95L3.3 6.8l5-.7z' fill='%23000'/%3E%3C/svg%3E") repeat-x left center;
}
.quote[data-nota="1"] { --n: 1; } .quote[data-nota="2"] { --n: 2; }
.quote[data-nota="3"] { --n: 3; } .quote[data-nota="4"] { --n: 4; }
.quote[data-nota="5"] { --n: 5; }

.quotes__fonte { margin-top: 8px; text-align: center; font-size: .8125rem; color: var(--text-on-dark-mute); }
.quotes__fonte a { color: var(--blue-lit); }

/* Com depoimentos no ar, as credenciais viram reforço institucional: entram
   menores e mais discretas, para não competir com a voz dos clientes. */
.proof .creds { margin-top: clamp(48px, 6vw, 72px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--line-dark); }
.proof .cred { padding: 0; border: 0; }
.proof .cred b { font-size: 1.125rem; }
.proof .cred span { font-size: .875rem; }

/* =========================================================
   8. DIAGNÓSTICO / EBOOK
   ========================================================= */
.section--diag { background: var(--ink); color: var(--text-on-light); }
.section--diag::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--blue), var(--electric));
}
.diag__grid {
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
}
@media (max-width: 900px) { .diag__grid { grid-template-columns: 1fr; } }

.diag__cta { margin-top: clamp(28px, 4vw, 36px); }
.diag__list { display: grid; gap: 14px; align-content: center; }
.diag__list li {
  display: flex; align-items: flex-start; gap: 13px;
  font-size: 1.0625rem; line-height: 1.45;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-light);
}
.diag__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.diag__list li::before {
  content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px;
  border-radius: 50%; background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 15px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 15px;
}

/* =========================================================
   PÁGINA DE CAPTURA DO E-BOOK (guia.html)
   ========================================================= */
.lp__bar { border-bottom: 1px solid var(--line-dark); background: var(--surface-0); }
.lp__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 16px; }
.lp__back { font-size: .875rem; color: var(--text-on-dark-mute); text-decoration: none; transition: color .2s var(--ease); }
.lp__back:hover { color: var(--ink); }

.lp__main { position: relative; overflow: clip; padding-block: clamp(48px, 8vh, 96px) clamp(64px, 10vh, 120px); }
.lp__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  align-items: start;
}
@media (max-width: 900px) { .lp__grid { grid-template-columns: 1fr; } }
.lp__h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-bottom: 24px; }
.lp__copy .lead { max-width: 48ch; }
.lp__bullets { display: grid; gap: 12px; margin-top: 32px; }
.lp__bullets li { display: flex; align-items: flex-start; gap: 12px; color: var(--text-on-dark-mute); }
.lp__bullets li::before {
  content: ''; flex: none; width: 18px; height: 18px; margin-top: 4px;
  background: var(--electric);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* Nesta página o checklist fica sobre fundo escuro. */
.lp__main .checklist label { background: rgba(241, 241, 241, .04); border-color: var(--line-dark); }
.lp__main .checklist label:has(input:checked) { background: rgba(0, 76, 247, .16); border-color: var(--blue-lit); }
.lp__main .checklist__result { color: var(--electric); }
.lp__footer { border-top: 1px solid var(--line-dark); background: var(--surface-1); }
.lp__footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-block: 24px; font-size: .8125rem; color: var(--text-on-dark-mute); }
.lp__footer a { color: var(--text-on-dark-mute); }
.lp__footer a:hover { color: var(--ink); }

.checklist { border: 0; padding: 0; margin-top: clamp(32px, 4vw, 44px); }
.checklist legend { font-weight: 600; margin-bottom: 16px; font-size: .9375rem; }
.checklist label {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 13px 16px; margin-bottom: 8px;
  background: rgba(0, 0, 0, .04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  cursor: pointer; font-size: .9375rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.checklist label:hover { border-color: var(--blue); }
.checklist label:has(input:checked) { background: rgba(0, 76, 247, .08); border-color: var(--blue); }
.checklist input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.checklist__result { margin-top: 18px; font-weight: 600; color: var(--blue); min-height: 1.6em; }

/* =========================================================
   FORMULÁRIOS
   ========================================================= */
.form {
  background: var(--surface-1);
  color: var(--text-on-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 40px);
  display: grid; gap: 16px;
}
.form--ebook { background: var(--black); }
.form__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .8125rem; font-weight: 500; color: var(--text-on-dark-mute); letter-spacing: .02em; }
.field input, .field select {
  width: 100%;
  background: rgba(241, 241, 241, .05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 1rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23F1F1F1' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 40px; }
.field select option { background: #0A0A0C; color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--blue-lit); background: rgba(241, 241, 241, .08); }
.field input::placeholder { color: rgba(241, 241, 241, .35); }
.field[data-error] input, .field[data-error] select { border-color: #ff6b6b; }
.field__error { font-size: .75rem; color: #ff8f8f; }

.consent { display: flex; align-items: flex-start; gap: 11px; font-size: .8125rem; color: var(--text-on-dark-mute); line-height: 1.5; cursor: pointer; }
.consent input { flex: none; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--blue); }
.consent a { color: var(--blue-lit); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: .875rem; min-height: 1.4em; }
.form__status[data-state="ok"] { color: var(--electric); }
.form__status[data-state="error"] { color: #ff8f8f; }
.form.is-sending { opacity: .65; pointer-events: none; }

/* =========================================================
   9. CTA FINAL
   ========================================================= */
.cta-final { background: var(--black); }
.cta__grid {
  position: relative; z-index: 1;
  display: grid; gap: clamp(40px, 6vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: start;
}
/* O formulário é mais alto que o texto: em vez de deixar a coluna esquerda
   vazia no fim, o texto acompanha a rolagem até a base da seção. */
@media (min-width: 901px) {
  .cta__copy { position: sticky; top: 108px; }
}
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
.cta__copy .lead { margin-top: 22px; }
.cta__list { margin-top: 32px; display: grid; gap: 12px; }
.cta__list li { display: flex; align-items: center; gap: 12px; color: var(--text-on-dark-mute); }
.cta__list li::before {
  content: ''; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(214, 255, 0, .15);
  border: 1px solid var(--electric);
}

/* =========================================================
   10. FAQ
   ========================================================= */
.qa { border-top: 1px solid var(--line-dark); }
.qa:last-of-type { border-bottom: 1px solid var(--line-dark); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.0625rem, 1.8vw, 1.1875rem); font-weight: 600; letter-spacing: -.01em;
  transition: color .2s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue-lit); }
.qa summary::after {
  content: ''; flex: none; width: 14px; height: 14px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .25s var(--ease);
}
.qa[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.qa[open] summary { color: var(--blue-lit); }
.qa__body { padding-bottom: 26px; max-width: 62ch; }
.qa__body p { color: var(--text-on-dark-mute); }

/* =========================================================
   RODAPÉ
   ========================================================= */
.footer { background: var(--surface-1); border-top: 1px solid var(--line-dark); padding-top: clamp(56px, 7vw, 88px); }
.footer__grid {
  display: grid; gap: clamp(32px, 5vw, 56px);
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  padding-bottom: clamp(40px, 5vw, 64px);
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand p { margin-top: 18px; color: var(--text-on-dark-mute); max-width: 30ch; }
.footer__nav { display: grid; gap: 12px; align-content: start; }
.footer__nav a, .footer__social a, .footer__contact > a { color: var(--text-on-dark-mute); text-decoration: none; transition: color .2s var(--ease); font-size: .9375rem; }
.footer__nav a:hover, .footer__social a:hover, .footer__contact > a:hover { color: var(--ink); }
.footer__contact { display: grid; gap: 14px; align-content: start; }
.footer__contact > a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.footer__social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__social a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px 8px 11px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}
.footer__social a:hover { color: var(--ink); border-color: rgba(241, 241, 241, .35); background: rgba(241, 241, 241, .06); }
.footer__social svg { width: 17px; height: 17px; flex: none; }
.footer__place { font-size: .875rem; color: var(--text-on-dark-mute); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between;
  padding-block: 26px; border-top: 1px solid var(--line-dark);
  font-size: .8125rem; color: var(--text-on-dark-mute);
}
.footer__bottom a { color: var(--text-on-dark-mute); }
.footer__bottom a:hover { color: var(--ink); }

/* =========================================================
   NAVEGAÇÃO GAMIFICADA
   O site demonstra o que a Rilato vende. Criados por JS — sem JavaScript
   ou com prefers-reduced-motion, nada disso aparece.
   ========================================================= */
.progresso {
  position: fixed; inset: 0 0 auto 0; z-index: 210;
  height: 3px; background: rgba(241, 241, 241, .12);
  pointer-events: none;
}
.progresso span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--electric));
  box-shadow: 0 0 10px rgba(214, 255, 0, .55);
  transition: width .1s linear;
}

.conquistas {
  position: fixed; left: 20px; bottom: 20px; z-index: 130;
  display: grid; gap: 10px; justify-items: start;
  pointer-events: none;
  max-width: min(330px, calc(100vw - 40px));
}
.conquista {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px;
  background: rgba(10, 10, 12, .95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--electric);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .9);
  animation: conquistaEntra .45s var(--ease) both;
}
.conquista svg { width: 22px; height: 22px; flex: none; color: var(--electric); }
.conquista b { display: block; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--electric); }
.conquista span { display: block; font-size: .9375rem; font-weight: 600; margin-top: 2px; }
.conquista.saindo { animation: conquistaSai .4s var(--ease) both; }
@keyframes conquistaEntra { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@keyframes conquistaSai { to { opacity: 0; transform: translateY(-8px); } }

/* No celular o botão do WhatsApp ocupa o canto direito; as conquistas ficam
   à esquerda e mais estreitas para não colidir. */
@media (max-width: 620px) {
  .conquistas { left: 12px; bottom: 12px; max-width: calc(100vw - 92px); }
  .conquista { padding: 10px 13px; }
}

/* ---------- Banner de consentimento (LGPD) ---------- */
.cookies {
  position: fixed; z-index: 120;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 720px; margin-inline: auto;
  display: flex; align-items: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap;
  padding: 18px 22px;
  background: rgba(10, 10, 12, .94);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: 0 26px 70px -24px rgba(0, 0, 0, .95);
  transform: translateY(140%);
  transition: transform .45s var(--ease);
}
.cookies.is-in { transform: none; }
.cookies__txt { flex: 1 1 300px; font-size: .875rem; line-height: 1.5; color: var(--text-on-dark-mute); }
.cookies__txt a { color: var(--blue-lit); }
.cookies__acoes { display: flex; gap: 10px; margin-left: auto; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--text-on-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.btn--ghost:hover { --btn-bg: rgba(241, 241, 241, .08); box-shadow: inset 0 0 0 1px rgba(241, 241, 241, .3); }

/* Não cobrir o botão do WhatsApp enquanto o banner estiver visível. */
@media (max-width: 720px) {
  .cookies { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookies__acoes { width: 100%; margin-left: 0; }
  .cookies__acoes .btn { flex: 1; }
}

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7);
  transition: transform .2s var(--ease);
}
.wa:hover { transform: scale(1.07); }
.wa svg { width: 28px; height: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
