/*
 * Página de captura "Caso clínico + plano de tratamento em TCC" (Black Friday 2026).
 * Identidade visual da JT Psicologia em versão escura. Mobile-first.
 * Ao mudar este arquivo, suba o "?v=" nos três HTML.
 */

:root {
  --azul: #3362ac;
  --azul-vivo: #4f86e6;
  --azul-claro: #8fb6ff;
  --menta: #5be3b5;
  --tinta: #070d1f;
  --tinta-2: #0c1530;
  --superficie: #111c3a;
  --linha: rgb(255 255 255 / 10%);
  --linha-forte: rgb(255 255 255 / 18%);
  --texto-claro: #eef3fc;
  --texto-claro-suave: #a9b6cf;
  --noite: #12192e;
  --branco: #ffffff;
  --nevoa: #e5ecf5;
  --borda: #d7dee7;
  --texto-suave: #5f6b7d;
  --verde: #17a36f;
  --verde-escuro: #12845a;
  --verde-whats: #25d366;
  --vermelho: #c41a1e;
  --ambar-suave: #fff6e8;
  --ambar-borda: #f0d3a6;
  --foco: #8fb6ff;
  --sombra: 0 1px 2px rgb(0 0 0 / 20%), 0 24px 60px rgb(0 0 0 / 35%);
  --gradiente-texto: linear-gradient(100deg, #8fb6ff 0%, #5be3b5 100%);
  --gradiente-cta: linear-gradient(135deg, #4f86e6 0%, #3362ac 100%);
  --display: "Sora", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --texto: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--tinta);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--tinta);
  color: var(--texto-claro);
  font-family: var(--texto);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

.pagina-escura {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* Brilhos de fundo do topo */
.pagina-escura::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 1100px;
  background:
    radial-gradient(600px 420px at 85% 8%, rgb(79 134 230 / 30%), transparent 70%),
    radial-gradient(520px 380px at 0% 30%, rgb(91 227 181 / 13%), transparent 70%),
    linear-gradient(rgb(255 255 255 / 3.5%) 1px, transparent 1px) 0 0 / 100% 44px,
    linear-gradient(90deg, rgb(255 255 255 / 3.5%) 1px, transparent 1px) 0 0 / 44px 100%;
  mask-image: linear-gradient(#000 40%, transparent);
  -webkit-mask-image: linear-gradient(#000 40%, transparent);
  pointer-events: none;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--display);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

a {
  color: var(--azul-claro);
}

button,
input {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--foco);
  outline-offset: 2px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icone {
  width: 18px;
  height: 18px;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.estreito {
  max-width: 820px;
}

.centro {
  text-align: center;
}

/* Revelar ao rolar (só com JS; sem JS tudo aparece normalmente) */
.js .revelar {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .revelar.visivel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .revelar {
    opacity: 1;
    transform: none;
  }
}

/* ── Topo ───────────────────────────────────────────────────────────────── */
.topo {
  border-bottom: 1px solid var(--linha);
}

.topo-conteudo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto-claro);
  text-decoration: none;
}

.logo-icone {
  width: 30px;
  height: 30px;
}

.logo-icone rect {
  fill: var(--azul);
}

.logo-icone text {
  fill: #fff;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
}

.logo-nome {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.selo-black {
  padding: 4px 10px;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  font-family: var(--display);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--texto-claro);
  background: rgb(255 255 255 / 4%);
}

/* ── Botões ─────────────────────────────────────────────────────────────── */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--texto);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.15s ease,
    filter 0.15s ease;
}

.botao:active {
  transform: translateY(1px) scale(0.99);
}

.botao-cta {
  margin-top: 32px;
  background: var(--gradiente-cta);
  color: #fff;
  font-weight: 700;
  box-shadow:
    0 0 0 1px rgb(143 182 255 / 35%) inset,
    0 10px 30px rgb(79 134 230 / 35%);
}

.botao-cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.botao-cta .icone {
  transition: transform 0.2s ease;
}

.botao-cta:hover .icone {
  transform: translateX(3px);
}

.botao-cta-grande {
  min-height: 60px;
  padding: 16px 28px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

/* ── Selo "ao vivo" ─────────────────────────────────────────────────────── */
.faixa-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  backdrop-filter: blur(6px);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

.ponto-vivo {
  position: relative;
  width: 9px;
  height: 9px;
  flex: none;
  border-radius: 50%;
  background: #ff4d5e;
}

.ponto-vivo::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #ff4d5e;
  opacity: 0;
  animation: pulsar 1.8s ease-out infinite;
}

@keyframes pulsar {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  padding: 24px 0 48px;
}

.hero-grade {
  display: grid;
  gap: 28px;
}

h1 {
  margin-top: 16px;
  font-size: clamp(32px, 8.6vw, 60px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.destaque-gradiente {
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.texto-destaque {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--texto-claro);
}

.texto-apoio {
  margin-top: 10px;
  font-size: 16px;
  color: var(--texto-claro-suave);
}

.hero-chips {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-claro-suave);
}

.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-chips .icone {
  width: 16px;
  height: 16px;
  color: var(--menta);
}

/* Capa no hero: só no desktop */
.hero-material {
  display: none;
}

/*
 * Capa do PDF desenhada em CSS. Medidas internas em "em": o font-size de .capa-pdf
 * escala a capa inteira.
 */
.capa-pdf {
  position: relative;
  width: 22em;
  height: 31em;
  font-size: 9px;
}

.folha {
  position: absolute;
  inset: 0;
  border-radius: 1.4em;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.folha-frente {
  padding: 2.4em;
  background:
    radial-gradient(18em 14em at 100% 0%, rgb(79 134 230 / 45%), transparent 70%),
    linear-gradient(160deg, #18264d 0%, #0b1328 100%);
  border: 1px solid rgb(143 182 255 / 25%);
  color: #fff;
  box-shadow:
    0 2em 4em rgb(0 0 0 / 45%),
    0 0 0 1px rgb(255 255 255 / 4%) inset;
}

.folha-verso {
  padding: 2.4em 2.2em 2.4em 12.5em;
  gap: 0.9em;
  background: #f4f7fc;
  box-shadow: 0 1.6em 3.2em rgb(0 0 0 / 35%);
  transform: translate(11em, 1.4em) rotate(6deg);
  transform-origin: bottom left;
}

.capa-marca {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.25em;
  color: #9fb1d6;
  letter-spacing: 0.02em;
}

.capa-selo {
  align-self: flex-start;
  margin-top: 1.8em;
  padding: 0.35em 0.9em;
  border-radius: 999px;
  background: var(--azul-vivo);
  font-size: 1.15em;
  font-weight: 600;
  white-space: nowrap;
}

.capa-titulo {
  margin-top: 0.6em;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.3em;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.capa-sub {
  margin-top: 0.35em;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.6em;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.capa-sessoes {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.capa-sessao {
  display: flex;
  align-items: center;
  gap: 0.8em;
}

.capa-sessao b {
  display: grid;
  place-items: center;
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  color: #c9d3e6;
  font-size: 1em;
  font-weight: 600;
}

.capa-sessao i {
  height: 0.7em;
  border-radius: 999px;
  background: var(--gradiente-texto);
  opacity: 0.85;
}

.capa-sessao .b1 { width: 70%; }
.capa-sessao .b2 { width: 55%; }
.capa-sessao .b3 { width: 80%; }

.verso-titulo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5em;
  color: var(--noite);
  margin-bottom: 0.4em;
}

.verso-linha {
  display: block;
  height: 0.7em;
  border-radius: 999px;
  background: var(--nevoa);
}

.verso-sessao {
  height: auto;
  background: none;
  margin-top: 0.6em;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--azul);
}

.verso-linha.l1 { width: 90%; }
.verso-linha.l2 { width: 75%; }
.verso-linha.l3 { width: 82%; }

.flutuante {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--linha-forte);
  border-radius: 12px;
  background: rgb(17 28 58 / 82%);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgb(0 0 0 / 35%);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: flutuar 6s ease-in-out infinite;
}

.flutuante .icone {
  color: var(--menta);
}

.flutuante-2 {
  animation-delay: -3s;
}

@keyframes flutuar {
  50% {
    transform: translateY(-8px);
  }
}

/* ── Cartão do formulário (claro, para chamar o olho) ─────────────────── */
.cartao-form {
  position: relative;
  scroll-margin-top: 16px;
  background: var(--branco);
  color: var(--noite);
  border-radius: 20px;
  box-shadow:
    0 0 0 1px rgb(143 182 255 / 25%),
    0 0 60px rgb(79 134 230 / 22%),
    var(--sombra);
  padding: 22px 18px;
}

.cartao-form a {
  color: var(--azul);
}

.form-selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf1fd;
  color: var(--azul);
  font-size: 13px;
  font-weight: 600;
}

.form-selo .icone {
  width: 15px;
  height: 15px;
}

.form-titulo {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.aviso-noscript {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--ambar-suave);
  border: 1px solid var(--ambar-borda);
  font-size: 14px;
}

form {
  margin-top: 18px;
}

.campo + .campo {
  margin-top: 14px;
}

label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

.dica {
  margin: -4px 0 6px;
  font-size: 13.5px;
  color: var(--texto-suave);
  line-height: 1.4;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid #c4cdd9;
  border-radius: 12px;
  background: #f8fafd;
  color: var(--noite);
  font-size: 17px; /* >= 16px evita o zoom automático do iOS */
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}

input::placeholder {
  color: #7a8596;
  opacity: 1;
}

input:focus {
  outline: none;
  background: #fff;
  border-color: var(--azul-vivo);
  box-shadow: 0 0 0 4px rgb(79 134 230 / 22%);
}

input[aria-invalid="true"] {
  border-color: var(--vermelho);
}

input[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgb(196 26 30 / 18%);
}

.erro {
  font-size: 14px;
  line-height: 1.4;
  color: var(--vermelho);
}

.erro:not(:empty) {
  margin-top: 6px;
}

.sugestao {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ambar-suave);
  border: 1px solid var(--ambar-borda);
  font-size: 14.5px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.sugestao-aviso {
  display: block;
  font-weight: 600;
}

#sugestao-reenviar {
  font-weight: 400;
  color: var(--texto-suave);
  margin-top: 2px;
}

.link-sugestao {
  padding: 0;
  border: 0;
  background: none;
  color: var(--azul);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  overflow-wrap: anywhere;
  text-align: left;
}

.botao-enviar {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  margin-top: 20px;
  background: var(--gradiente-cta);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 26px rgb(51 98 172 / 38%);
}

/* Reflexo que passa pelo botão de tempos em tempos */
.botao-enviar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 28%) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: brilhar 4.5s ease-in-out 1.5s infinite;
}

@keyframes brilhar {
  0%,
  60% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.botao-enviar:hover {
  filter: brightness(1.08);
}

.botao-enviar:disabled {
  cursor: progress;
  opacity: 0.85;
}

.botao-enviar:disabled::after {
  display: none;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgb(255 255 255 / 40%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: girar 0.8s linear infinite;
}

.botao-enviar[aria-busy="true"] .spinner {
  display: inline-block;
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

.privacidade {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--texto-suave);
}

.privacidade .icone {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--verde);
}

.nota-grupo {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: #edf9f3;
  border: 1px solid #bfe7d3;
  font-size: 14.5px;
  line-height: 1.55;
}

.nota-grupo .icone {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--verde-escuro);
}

.nota-quando {
  margin-top: 6px;
  font-weight: 600;
  color: var(--verde-escuro);
}

/* ── Seções ─────────────────────────────────────────────────────────────── */
.secao {
  padding: 64px 0;
  border-top: 1px solid var(--linha);
}

.sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--menta);
}

.secao h2 {
  margin-top: 12px;
  font-size: clamp(26px, 6.4vw, 40px);
  font-weight: 700;
}

.secao-texto {
  margin-top: 14px;
  font-size: 17px;
  color: var(--texto-claro-suave);
}

.cabecalho-secao {
  max-width: 720px;
}

/* Dor */
.dor-grade {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.dor-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
  font-weight: 500;
}

.dor-item span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 10px;
  background: rgb(255 77 94 / 14%);
  color: #ff8a96;
  font-family: var(--display);
  font-weight: 700;
}

/* PDF */
.pdf-grade {
  margin-top: 36px;
  display: grid;
  gap: 14px;
}

.pdf-capa-movel {
  display: flex;
  justify-content: center;
  padding: 8px 0 20px;
}

.pdf-capa-movel .capa-pdf {
  font-size: 8px;
  transform: rotate(-3deg);
}

.cartao-beneficio {
  padding: 22px;
  border: 1px solid var(--linha);
  border-radius: 18px;
  background: linear-gradient(180deg, rgb(255 255 255 / 5%), rgb(255 255 255 / 2%));
}

.beneficio-icone {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgb(79 134 230 / 16%);
  color: var(--azul-claro);
}

.beneficio-icone .icone {
  width: 22px;
  height: 22px;
}

.cartao-beneficio h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 600;
}

.cartao-beneficio p {
  margin-top: 6px;
  color: var(--texto-claro-suave);
}

/* Encontro ao vivo */
.secao-live {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 100% 100%, rgb(37 211 102 / 12%), transparent 70%),
    radial-gradient(600px 400px at 0% 0%, rgb(79 134 230 / 16%), transparent 70%),
    var(--tinta-2);
}

.sobretitulo-claro {
  color: var(--texto-claro);
  letter-spacing: 0.08em;
}

.live-grade {
  display: grid;
  gap: 40px;
}

.live-quando {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
  background: var(--gradiente-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contagem {
  margin-top: 22px;
}

.contagem-rotulo {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-claro-suave);
}

.contagem-numeros {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 380px;
}

.contagem-numeros span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  border: 1px solid var(--linha-forte);
  border-radius: 12px;
  background: rgb(255 255 255 / 5%);
  font-size: 12px;
  color: var(--texto-claro-suave);
}

.contagem-numeros b {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--texto-claro);
  font-variant-numeric: tabular-nums;
}

.live-lista {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 18px;
}

.live-lista li {
  display: flex;
  gap: 14px;
}

.live-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--gradiente-texto);
  color: var(--tinta);
  font-family: var(--display);
  font-weight: 700;
}

.live-lista h3 {
  font-size: 18px;
  font-weight: 600;
}

.live-lista p {
  margin-top: 4px;
  color: var(--texto-claro-suave);
}

/* Prévia trancada da IA */
.teaser-janela {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--linha-forte);
  border-radius: 18px;
  background: #0e1834;
  box-shadow: 0 30px 70px rgb(0 0 0 / 45%);
}

.teaser-barra {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--linha);
  font-size: 13px;
  color: var(--texto-claro-suave);
}

.teaser-barra i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(255 255 255 / 18%);
}

.teaser-barra span {
  margin-left: 8px;
}

.teaser-corpo {
  padding: 18px;
}

.teaser-pergunta {
  margin-left: auto;
  max-width: 85%;
  padding: 12px 14px;
  border-radius: 14px 14px 4px 14px;
  background: var(--azul);
  font-size: 14.5px;
}

.teaser-resposta {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px 14px 14px 4px;
  background: rgb(255 255 255 / 6%);
  display: grid;
  gap: 9px;
  filter: blur(2.5px);
}

.teaser-titulo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  color: var(--azul-claro);
}

.teaser-titulo .icone {
  width: 16px;
  height: 16px;
}

.teaser-linha {
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
}

.w60 { width: 60%; }
.w70 { width: 70%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w90 { width: 90%; }

.teaser-cadeado {
  position: absolute;
  inset: auto 0 0;
  height: 62%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0 16px 26px;
  background: linear-gradient(transparent, rgb(14 24 52 / 92%) 45%);
  text-align: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
}

.teaser-cadeado span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  border: 1px solid var(--linha-forte);
}

.teaser-cadeado .icone {
  width: 20px;
  height: 20px;
  color: var(--menta);
}

/* Como funciona */
.passos-grade {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.passos-grade li {
  padding: 22px;
  border: 1px solid var(--linha);
  border-radius: 18px;
  background: rgb(255 255 255 / 3%);
}

.passo-num {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgb(79 134 230 / 18%);
  color: var(--azul-claro);
  font-family: var(--display);
  font-weight: 700;
}

.passo-num-verde {
  background: rgb(37 211 102 / 16%);
  color: var(--verde-whats);
}

.passos-grade h3 {
  margin-top: 14px;
  font-size: 19px;
  font-weight: 600;
}

.passos-grade p {
  margin-top: 6px;
  color: var(--texto-claro-suave);
}

/* Perguntas */
.faq {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}

.faq details {
  border: 1px solid var(--linha);
  border-radius: 14px;
  background: rgb(255 255 255 / 3%);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--azul-claro);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 18px 16px;
  color: var(--texto-claro-suave);
}

/* CTA final */
.secao-final {
  padding: 80px 0;
  background: radial-gradient(600px 300px at 50% 100%, rgb(79 134 230 / 22%), transparent 70%);
}

.secao-final .secao-texto {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* Botão fixo no celular */
.cta-fixo {
  position: fixed;
  z-index: 40;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  border-radius: 14px;
  background: var(--gradiente-cta);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 30px rgb(0 0 0 / 45%);
  transform: translateY(140%);
  visibility: hidden;
  transition:
    transform 0.3s ease,
    visibility 0s linear 0.3s;
}

.cta-fixo.visivel {
  transform: none;
  visibility: visible;
  transition: transform 0.3s ease;
}

/* ── Página de obrigado ─────────────────────────────────────────────────── */
.obrigado {
  padding: 32px 0 56px;
}

.obrigado-coluna {
  max-width: 640px;
}

.obrigado-topo {
  text-align: center;
}

.selo-ok {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgb(91 227 181 / 16%);
  box-shadow: 0 0 0 8px rgb(91 227 181 / 6%);
  color: var(--menta);
}

.selo-ok .icone {
  width: 28px;
  height: 28px;
}

.obrigado h1 {
  margin-top: 18px;
  font-size: clamp(28px, 7vw, 40px);
  font-weight: 800;
}

.obrigado-sub {
  margin-top: 10px;
  font-size: 17px;
  color: var(--texto-claro-suave);
}

.progresso {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--texto-claro-suave);
}

.progresso li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 3px solid var(--linha-forte);
}

.progresso li.feito {
  border-color: var(--menta);
  color: var(--texto-claro);
}

.progresso li.atual {
  border-color: var(--verde-whats);
  color: var(--verde-whats);
}

.progresso span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgb(255 255 255 / 10%);
  font-size: 12px;
}

.progresso .feito span {
  background: var(--menta);
  color: var(--tinta);
}

.progresso .feito .icone {
  width: 14px;
  height: 14px;
}

.progresso .atual span {
  background: var(--verde-whats);
  color: var(--tinta);
  animation: pulsar-anel 1.8s ease-out infinite;
}

@keyframes pulsar-anel {
  0% {
    box-shadow: 0 0 0 0 rgb(37 211 102 / 55%);
  }
  100% {
    box-shadow: 0 0 0 10px rgb(37 211 102 / 0%);
  }
}

.passo {
  margin-top: 22px;
  padding: 24px 18px;
  border: 1px solid var(--linha);
  border-radius: 20px;
  background: rgb(255 255 255 / 4%);
}

.passo h2 {
  font-size: 23px;
  font-weight: 700;
}

.passo p {
  margin-top: 8px;
  color: var(--texto-claro-suave);
}

.passo strong {
  color: var(--texto-claro);
}

.passo-grupo {
  position: relative;
  border-color: rgb(37 211 102 / 45%);
  background:
    radial-gradient(500px 260px at 100% 0%, rgb(37 211 102 / 14%), transparent 70%),
    rgb(255 255 255 / 4%);
  box-shadow: 0 0 50px rgb(37 211 102 / 12%);
}

.selo-importante {
  display: inline-block;
  margin: 0 0 12px !important;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--verde-whats);
  color: var(--tinta) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contagem-clara .contagem-numeros {
  max-width: none;
}

.grupo-lista {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.grupo-lista li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.grupo-lista .icone {
  margin-top: 3px;
  color: var(--verde-whats);
}

.botao-grande {
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  font-size: 18px;
  border-radius: 14px;
}

.botao-grande .icone {
  width: 22px;
  height: 22px;
}

.botao-whatsapp {
  min-height: 64px;
  font-size: 19px;
  font-weight: 700;
  background: var(--verde-whats);
  color: #05301a;
  box-shadow: 0 12px 30px rgb(37 211 102 / 30%);
  animation: chamar-botao 2.4s ease-in-out infinite;
}

.botao-whatsapp:hover {
  filter: brightness(1.06);
}

@keyframes chamar-botao {
  0%,
  100% {
    box-shadow: 0 12px 30px rgb(37 211 102 / 30%);
  }
  50% {
    box-shadow:
      0 0 0 6px rgb(37 211 102 / 18%),
      0 12px 30px rgb(37 211 102 / 40%);
  }
}

.botao-whatsapp[aria-disabled="true"] {
  background: #5d6b80;
  color: #fff;
  box-shadow: none;
  animation: none;
  cursor: not-allowed;
}

.aviso-grupo {
  text-align: center;
  font-weight: 600;
}

.passo-pdf-topo {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.passo-pdf-topo p {
  margin-top: 4px;
}

.passo-pdf-icone {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgb(79 134 230 / 18%);
  color: var(--azul-claro);
}

.passo-pdf h2 {
  font-size: 20px;
}

.botao-secundario {
  background: rgb(255 255 255 / 8%);
  border-color: var(--linha-forte);
  color: var(--texto-claro);
}

.botao-secundario:hover {
  background: rgb(255 255 255 / 12%);
}

.passo-nota {
  font-size: 14px;
  text-align: center;
}

/* Destaque do grupo depois que a pessoa baixa o PDF */
.passo-grupo.destaque {
  animation: chamar 1.2s ease 2;
}

@keyframes chamar {
  50% {
    box-shadow: 0 0 0 5px rgb(37 211 102 / 45%);
  }
}

/* ── Rodapé ─────────────────────────────────────────────────────────────── */
.rodape {
  border-top: 1px solid var(--linha);
  padding: 28px 0 96px; /* espaço para o botão fixo no celular */
  font-size: 14px;
  color: var(--texto-claro-suave);
}

.rodape-conteudo {
  display: grid;
  gap: 6px;
}

.rodape-marca {
  font-family: var(--display);
  font-weight: 600;
  color: var(--texto-claro);
}

.rodape-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.rodape a,
.link-rodape {
  color: var(--texto-claro-suave);
}

.link-rodape {
  padding: 0;
  border: 0;
  background: none;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

.rodape-cookies {
  font-size: 13px;
}

/* ── Banner de cookies (só com exigirConsentimentoCookies = true) ──────── */
.aviso-cookies {
  position: fixed;
  z-index: 50;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 14px 16px;
  border: 1px solid var(--linha-forte);
  border-radius: 14px;
  background: var(--superficie);
  color: #fff;
  box-shadow: 0 12px 32px rgb(0 0 0 / 45%);
  font-size: 14px;
  line-height: 1.5;
}

.aviso-cookies-acoes {
  margin-top: 10px;
  display: flex;
  gap: 8px;
}

.aviso-cookies-acoes .botao {
  flex: 1;
  min-height: 44px;
  font-size: 15px;
}

.botao-claro {
  background: #fff;
  color: var(--noite);
}

.botao-contorno-claro {
  background: transparent;
  color: #fff;
  border-color: rgb(255 255 255 / 45%);
}

/* ── Campo isca (anti-robô) ─────────────────────────────────────────────── */
.campo-isca {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ── Política de Privacidade ────────────────────────────────────────────── */
.legal {
  padding: 32px 0 56px;
}

.legal-coluna {
  max-width: 720px;
}

.legal h1 {
  margin-top: 0;
  font-size: clamp(28px, 7vw, 40px);
}

.legal-data {
  margin-top: 8px;
  color: var(--texto-claro-suave);
}

.legal h2 {
  margin-top: 30px;
  font-size: 20px;
  font-weight: 600;
}

.legal p,
.legal ul {
  margin-top: 10px;
  line-height: 1.65;
  color: #d3dcec;
}

.legal ul {
  padding-left: 20px;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  color: var(--texto-claro);
}

.legal a {
  overflow-wrap: anywhere;
}

.legal-voltar {
  margin-top: 32px;
}

/* ── Tablet ─────────────────────────────────────────────────────────────── */
@media (min-width: 600px) {
  .wrap {
    padding: 0 24px;
  }

  .hero {
    padding: 40px 0 64px;
  }

  .hero-grade {
    max-width: 640px;
    margin: 0 auto;
  }

  .cartao-form,
  .passo {
    padding: 30px;
  }

  .dor-grade,
  .passos-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dor-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .pdf-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pdf-capa-movel {
    grid-column: 1 / -1;
  }

  .secao {
    padding: 88px 0;
  }

  .aviso-cookies {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 440px;
  }
}

/* ── Desktop ────────────────────────────────────────────────────────────── */
@media (min-width: 960px) {
  .topo-conteudo {
    height: 68px;
  }

  .hero {
    padding: 64px 0 96px;
  }

  .hero-grade {
    max-width: 1160px;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 64px;
    align-items: start;
  }

  .texto-destaque {
    font-size: 20px;
    margin-top: 22px;
  }

  .texto-apoio {
    font-size: 17.5px;
  }

  /* No desktop a capa fica no hero e sai da seção do material */
  .hero-material {
    display: block;
    position: relative;
    margin-top: 44px;
    height: 330px;
  }

  .hero-material .capa-pdf {
    font-size: 9.5px;
    transform: rotate(-4deg);
    margin-left: 8px;
  }

  .flutuante-1 {
    top: 46px;
    left: 345px;
  }

  .flutuante-2 {
    top: 214px;
    left: 300px;
  }

  .pdf-capa-movel {
    display: none;
  }

  .cartao-form {
    position: sticky;
    top: 24px;
    padding: 34px;
  }

  .form-titulo {
    font-size: 23px;
  }

  .live-grade {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
    gap: 64px;
    align-items: center;
  }

  .cta-fixo {
    display: none;
  }

  .rodape {
    padding-bottom: 32px;
  }
}
