/* ==========================================================================
   CORPO E MENTE ACADEMY — Formação Pilates Além do Pilates
   Design system das páginas comerciais
   --------------------------------------------------------------------------
   ⚠️ PALETA PROVISÓRIA. Ao receber o manual de identidade visual, troque
   apenas os valores do bloco :root abaixo. Nada mais precisa mudar.
   ========================================================================== */

:root {
  /* --- Cores da marca ---------------------------------------------------- */
  /* ✅ VERDE OFICIAL extraído do logotipo "PILATES ALÉM DO PILATES":
     #1A5355 (rgb 26,83,85) — verde-petróleo. Todas as variações abaixo
     foram derivadas dele.                                                   */
  --verde-profundo:  #1A5355;   /* 👈 cor da marca — base escura, títulos    */
  --verde-medio:     #24696B;
  --sage:            #7FA6A3;   /* verde suave, kickers, detalhes            */
  --areia:           #DFD3C3;
  --areia-clara:     #F1EAE0;
  --off-white:       #FAF8F4;   /* fundo padrão das páginas                  */
  --terracota:       #B5713F;   /* CTA — complementar do verde-petróleo      */
  --terracota-hover: #9C5F33;

  /* --- Semântica --------------------------------------------------------- */
  --bg:           var(--off-white);
  --bg-escuro:    var(--verde-profundo);
  --texto:        #23302F;
  --texto-suave:  #5D6C6B;
  --texto-claro:  #E7EFEE;
  --borda:        rgba(26, 83, 85, .13);

  /* --- Tipografia -------------------------------------------------------- */
  /* Jost é geométrica, próxima da tipografia do logotipo.
     Inter no corpo do texto, por legibilidade em tamanho pequeno.           */
  --display: "Jost", "Futura", "Century Gothic", sans-serif;
  --sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* --- Layout ------------------------------------------------------------ */
  --largura:       1120px;
  --largura-texto: 720px;
  --raio:          14px;
  --sombra:        0 18px 50px rgba(31, 58, 52, .10);
  --sombra-cta:    0 10px 30px rgba(181, 113, 63, .35);
}

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

body, h1, h2, h3, h4, p, ul, ol, li, figure, blockquote {
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--texto);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* Grão sutil sobre toda a página — tira o aspecto "chapado" de tela.
   SVG inline, custo zero de requisição.                                      */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

body > * { position: relative; z-index: 1; }

img, video, iframe { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; }

/* --------------------------------------------------------------------------
   Layout base
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--largura);
  margin-inline: auto;
  padding-inline: 22px;
}

.wrap--estreito { max-width: var(--largura-texto); }

section {
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
}

/* Hero: brilho radial atrás do título, dá profundidade sem imagem */
.sec--hero {
  background:
    radial-gradient(90% 70% at 50% -10%, rgba(127, 166, 163, .22), transparent 62%),
    radial-gradient(60% 50% at 88% 8%, rgba(181, 113, 63, .09), transparent 60%);
}

.sec--escura {
  background: var(--bg-escuro);
  color: var(--texto-claro);
  overflow: hidden;
}

/* Marca d'água geométrica nas seções escuras */
.sec--escura::after {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127, 166, 163, .16), transparent 66%);
  pointer-events: none;
}
.sec--escura .titulo,
.sec--escura .kicker { color: #fff; }
.sec--escura p { color: rgba(232, 239, 236, .82); }

.sec--areia { background: var(--areia-clara); }

/* --------------------------------------------------------------------------
   Tipografia
   -------------------------------------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
/* filete decorativo antes do kicker */
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}
.centro .kicker { justify-content: center; }
.centro .kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}

/* Jost é geométrica: pede peso mais leve e entrelinha maior que uma serifada,
   senão fica pesada. Segue a proporção do logotipo.                          */
.titulo {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -.005em;
  color: var(--verde-profundo);
  text-wrap: balance;
}

.titulo--hero { font-size: clamp(2.1rem, 5.6vw, 3.9rem); }
.titulo--sec  { font-size: clamp(1.7rem, 3.8vw, 2.7rem); }
.titulo--sub  { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

.subtitulo {
  font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  color: var(--texto-suave);
  line-height: 1.62;
  max-width: 62ch;
  text-wrap: pretty;
}

/* Bloco de frases curtas em staccato (ritmo de copy) */
.ritmo {
  line-height: 2;
  color: var(--texto-suave);
}

/* Frase de virada — isolada, mais peso visual */
.frase-forte {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--verde-profundo);
  padding-block: 6px;
}
.sec--escura .frase-forte { color: #fff; }

.destaque { color: var(--terracota); font-style: italic; }
.grifo { font-weight: 600; color: var(--verde-profundo); }
.sec--escura .grifo { color: #fff; }

.centro { text-align: center; }
.centro .subtitulo, .centro .kicker { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.topo {
  padding-block: 20px;
  border-bottom: 1px solid var(--borda);
  background: var(--bg);
}
.topo__inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.marca {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--verde-profundo);
  text-align: center;
  line-height: 1.2;
}
/* Logotipo oficial "PILATES / ALÉMDOPILATES".
   Proporção do arquivo: 3.18:1 (bem largo e baixo) — por isso o tamanho é
   controlado pela ALTURA, senão estoura a largura no celular.
   Use logo-branco.png sobre fundo escuro (.sec--escura).                     */
.logo {
  height: clamp(36px, 5vw, 48px);
  width: auto;
  object-fit: contain;
}

.marca span {
  display: block;
  font-family: var(--sans);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Vídeo
   -------------------------------------------------------------------------- */
/* Moldura do vídeo: anel externo + sombra em camadas = peso de "peça premium" */
.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--verde-profundo);
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(26, 83, 85, .10),
    0 2px 6px rgba(26, 83, 85, .06),
    0 18px 40px rgba(26, 83, 85, .14),
    0 42px 90px rgba(26, 83, 85, .10);
}
/* halo suave por trás do player */
.video::before {
  content: "";
  position: absolute;
  inset: -18% -6% -22%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(127, 166, 163, .3), transparent 70%);
  filter: blur(28px);
  pointer-events: none;
}
.video iframe,
.video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video--curto { max-width: 620px; margin-inline: auto; }

/* Placeholder enquanto o embed não foi configurado */
.video__vazio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: rgba(232, 239, 236, .55);
  font-size: .86rem;
  letter-spacing: .04em;
}
.video__vazio strong {
  display: block;
  font-size: 1rem;
  color: rgba(232, 239, 236, .9);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 560px;
  padding: 22px 36px;
  background: linear-gradient(135deg, #C07E48, var(--terracota) 55%, #A96536);
  color: #fff;
  font-family: var(--sans);
  font-size: clamp(.95rem, 2vw, 1.06rem);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  line-height: 1.35;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--sombra-cta);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
/* brilho que atravessa o botão no hover */
.cta::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg);
  transition: left .65s cubic-bezier(.2, .7, .3, 1);
  pointer-events: none;
}
.cta:hover::after, .cta:focus-visible::after { left: 130%; }

.cta:hover, .cta:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(181, 113, 63, .44);
}
.cta:active { transform: translateY(-1px); }
.cta:disabled { opacity: .6; cursor: wait; transform: none; }
.cta:disabled::after { display: none; }

/* pulso discreto para chamar o olho, só no CTA principal */
@keyframes pulso-cta {
  0%, 100% { box-shadow: var(--sombra-cta); }
  50%      { box-shadow: 0 10px 30px rgba(181,113,63,.35), 0 0 0 10px rgba(181,113,63,.06); }
}
.cta--pulsa { animation: pulso-cta 3.4s ease-in-out infinite; }
.cta--pulsa:hover { animation: none; }

.cta--fantasma {
  background: transparent;
  color: var(--verde-profundo);
  border: 1.5px solid var(--borda);
  box-shadow: none;
  font-weight: 600;
  text-transform: none;
  letter-spacing: .01em;
}
.cta--fantasma:hover {
  background: rgba(31, 58, 52, .04);
  border-color: var(--sage);
  box-shadow: none;
}
.sec--escura .cta--fantasma { color: #fff; border-color: rgba(255,255,255,.28); }
.sec--escura .cta--fantasma:hover { background: rgba(255,255,255,.08); }

.cta-bloco {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cta-nota {
  font-size: .84rem;
  color: var(--texto-suave);
  text-align: center;
  max-width: 46ch;
  line-height: 1.55;
}
.sec--escura .cta-nota { color: rgba(232, 239, 236, .62); }

/* --------------------------------------------------------------------------
   Formulário
   -------------------------------------------------------------------------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  padding: clamp(26px, 4vw, 38px);
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra);
}
.sec--escura .form { border-color: transparent; }

.campo { display: flex; flex-direction: column; gap: 7px; }

.campo label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

.campo input {
  width: 100%;
  padding: 15px 17px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--texto);
  background: var(--off-white);
  border: 1.5px solid var(--borda);
  border-radius: 10px;
  transition: border-color .16s ease, background .16s ease;
}
.campo input::placeholder { color: #A8B4B0; }
.campo input:focus {
  outline: none;
  background: #fff;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 158, 142, .18);
}
.campo input[aria-invalid="true"] { border-color: #C4573F; }

.campo__erro {
  font-size: .78rem;
  color: #C4573F;
  min-height: 1em;
}

.form__rodape {
  font-size: .78rem;
  color: var(--texto-suave);
  text-align: center;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Listas de conteúdo
   -------------------------------------------------------------------------- */
.lista { display: flex; flex-direction: column; gap: 16px; }

.lista li {
  position: relative;
  padding-left: 34px;
  line-height: 1.62;
}
.lista li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sage);
}

.lista--check li::before {
  content: "✓";
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  color: var(--terracota);
  font-weight: 700;
  font-size: 1.05rem;
}

.lista--dor li::before {
  content: "—";
  left: 0;
  top: 0;
  width: auto;
  height: auto;
  background: none;
  color: var(--areia);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Grid de cards
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 22px;
}
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }

.card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  height: 100%;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(26, 83, 85, .04);
  transition: transform .3s cubic-bezier(.2, .7, .3, 1),
              box-shadow .3s ease,
              border-color .3s ease;
}
/* filete de acento que cresce no hover */
.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--terracota), var(--sage));
  transition: height .38s cubic-bezier(.2, .7, .3, 1);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(26, 83, 85, .2);
  box-shadow: 0 16px 40px rgba(26, 83, 85, .12);
}
.card:hover::before { height: 100%; }
.sec--escura .card {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.card__num {
  font-family: var(--display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--areia);
  margin-bottom: 12px;
}
.sec--escura .card__num { color: var(--sage); }
.card h3 {
  font-family: var(--display);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--verde-profundo);
  margin-bottom: 10px;
  line-height: 1.25;
}
.sec--escura .card h3 { color: #fff; }
.card p { font-size: .96rem; color: var(--texto-suave); line-height: 1.62; }

/* --------------------------------------------------------------------------
   Prova social / depoimentos
   --------------------------------------------------------------------------
   A seção inteira fica OCULTA enquanto não houver depoimentos reais em
   config.js. Isso impede publicar a página com texto de exemplo no ar.
   -------------------------------------------------------------------------- */
.depoimentos[hidden] { display: none !important; }

.depoimentos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.depoimento {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  height: 100%;
}
.sec--escura .depoimento {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .12);
}
.sec--areia .depoimento { border-color: rgba(26, 83, 85, .1); }

.depoimento__aspas {
  font-family: var(--display);
  font-size: 3rem;
  line-height: .6;
  color: var(--areia);
  height: .5em;
}
.sec--escura .depoimento__aspas { color: var(--sage); }

.depoimento__texto {
  flex: 1;
  font-size: 1rem;
  line-height: 1.68;
  color: var(--texto);
}
.sec--escura .depoimento__texto { color: rgba(232, 239, 236, .9); }

.depoimento__autor {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-top: 16px;
  border-top: 1px solid var(--borda);
}
.sec--escura .depoimento__autor { border-top-color: rgba(255, 255, 255, .14); }

.depoimento__foto {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--areia-clara);
  flex-shrink: 0;
}

.depoimento__nome {
  font-weight: 600;
  font-size: .95rem;
  color: var(--verde-profundo);
  line-height: 1.3;
}
.sec--escura .depoimento__nome { color: #fff; }

.depoimento__cargo {
  font-size: .82rem;
  color: var(--texto-suave);
  line-height: 1.4;
}
.sec--escura .depoimento__cargo { color: rgba(232, 239, 236, .62); }

/* --------------------------------------------------------------------------
   Blocos utilitários
   -------------------------------------------------------------------------- */
.stack   { display: flex; flex-direction: column; }
.stack-8  > * + * { margin-top: 8px; }
.stack-16 > * + * { margin-top: 16px; }
.stack-24 > * + * { margin-top: 24px; }
.stack-32 > * + * { margin-top: 32px; }
.stack-48 > * + * { margin-top: 48px; }

.centraliza { display: flex; flex-direction: column; align-items: center; }

.divisor {
  width: 56px;
  height: 2px;
  background: var(--areia);
  border: 0;
  margin-inline: auto;
}

/* Citação / manifesto */
.citacao {
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.95rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--verde-profundo);
  text-align: center;
  max-width: 24ch;
  margin-inline: auto;
  text-wrap: balance;
}
.sec--escura .citacao { color: #fff; }
.citacao--largo { max-width: 34ch; }

.assinatura {
  font-family: var(--display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--texto-suave);
  text-align: center;
}
.sec--escura .assinatura { color: rgba(232, 239, 236, .7); }

/* Autoridade / bio */
.bio {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}
.bio__foto {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 22%;   /* mantém os rostos no enquadramento */
  border-radius: var(--raio);
  background: var(--areia-clara);
  box-shadow:
    0 0 0 1px rgba(26, 83, 85, .08),
    0 16px 40px rgba(26, 83, 85, .14);
}
@media (max-width: 700px) {
  .bio { grid-template-columns: 1fr; gap: 26px; }
  .bio__foto { max-width: 260px; margin-inline: auto; }
}

/* Selo / prova */
.selos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 30px;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--texto-suave);
  font-weight: 600;
}
.sec--escura .selos { color: rgba(232, 239, 236, .6); }

/* Caixa de aviso/destaque */
.caixa {
  padding: 26px 28px;
  background: var(--areia-clara);
  border-left: 3px solid var(--terracota);
  border-radius: 0 var(--raio) var(--raio) 0;
}
.sec--escura .caixa {
  background: rgba(255, 255, 255, .06);
  border-left-color: var(--sage);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.rodape {
  padding-block: 40px;
  border-top: 1px solid var(--borda);
  text-align: center;
  font-size: .8rem;
  color: var(--texto-suave);
  line-height: 1.7;
}
.rodape a { color: var(--texto-suave); }

/* --------------------------------------------------------------------------
   Animação de entrada (revelação no scroll)
   --------------------------------------------------------------------------
   Aplicada automaticamente por config.js via IntersectionObserver.
   Desligada por completo em prefers-reduced-motion (ver bloco abaixo).
   -------------------------------------------------------------------------- */
/* ⚠️ SEGURANÇA: o estado inicial invisível só é aplicado quando a classe
   .js-anim existe no <html> — colocada por um script inline no <head> de cada
   página. Sem JavaScript, nada some: o conteúdo aparece normalmente.        */
.js-anim .rev {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2, .7, .3, 1),
              transform .7s cubic-bezier(.2, .7, .3, 1);
  will-change: opacity, transform;
}
.js-anim .rev.rev--on {
  opacity: 1;
  transform: none;
}

/* escalonamento: filhos entram em cascata */
.js-anim .rev-grupo > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.js-anim .rev-grupo.rev--on > *          { opacity: 1; transform: none; }
.js-anim .rev-grupo.rev--on > *:nth-child(1) { transition-delay: .00s; }
.js-anim .rev-grupo.rev--on > *:nth-child(2) { transition-delay: .09s; }
.js-anim .rev-grupo.rev--on > *:nth-child(3) { transition-delay: .18s; }
.js-anim .rev-grupo.rev--on > *:nth-child(4) { transition-delay: .27s; }
.js-anim .rev-grupo.rev--on > *:nth-child(5) { transition-delay: .36s; }


/* --------------------------------------------------------------------------
   Botão liberado por tempo (página da aula)
   --------------------------------------------------------------------------
   Fica com o atributo [hidden] no HTML. O config.js remove o atributo depois
   do tempo definido em "botaoAposSegundos" e o bloco entra animado.
   -------------------------------------------------------------------------- */
.libera[hidden] { display: none; }

.libera { animation: surgir .8s cubic-bezier(.2, .7, .3, 1) both; }

@keyframes surgir {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .libera { animation: none; }
}


/* --------------------------------------------------------------------------
   Barra fixa de CTA no celular
   --------------------------------------------------------------------------
   Aparece depois que o usuário passa do vídeo. Só no mobile, onde o botão
   principal sai de vista rápido.
   -------------------------------------------------------------------------- */
.cta-fixo {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, .93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--borda);
  transform: translateY(110%);
  transition: transform .38s cubic-bezier(.2, .7, .3, 1);
  display: none;
}
.cta-fixo.cta-fixo--on { transform: none; }
.cta-fixo .cta {
  max-width: none;
  padding: 16px 20px;
  font-size: .88rem;
  letter-spacing: .02em;
}

@media (max-width: 760px) {
  .cta-fixo { display: block; }
  body { padding-bottom: 76px; }
}


/* --------------------------------------------------------------------------
   Acessibilidade / motion
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--terracota);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  /* nada pode ficar invisível se a animação não roda */
  .js-anim .rev, .js-anim .rev-grupo > * { opacity: 1 !important; transform: none !important; }
  .cta--pulsa { animation: none; }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cta { padding: 19px 24px; letter-spacing: .02em; }
  .card { padding: 26px 22px; }
  .caixa { padding: 22px 20px; }
}
