/* =====================================================================
   funil.css · base do quiz e das páginas de resultado
   Identidade dos e-books (identidade/guia-visual.md), celular primeiro.
   ===================================================================== */
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lora"; src: url("../fonts/lora-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --bordo: #5C1A24; --bordo-escuro: #3A0E16; --bordo-claro: #7A2A35;
  --ouro: #C99A45; --ouro-claro: #EBC57A; --ouro-escuro: #8A5D24;
  --creme: #F6EEDC; --creme-2: #EFE2C7; --creme-3: #E3CFA8;
  --tinta: #2E1C15; --tinta-suave: #5E4636;
  --preto-quente: #120A05;
  --f-titulo: "Cinzel", "Times New Roman", serif;
  --f-destaque: "Playfair Display", Georgia, serif;
  --f-texto: "Lora", Georgia, serif;
  --raio: 14px;
  --sombra: 0 8px 24px rgba(58, 14, 22, .12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  font-family: var(--f-texto); font-size: 18px; line-height: 1.5; color: var(--tinta);
  background: var(--creme) radial-gradient(ellipse 120% 70% at 50% 0%, #FBF6EA 0%, var(--creme) 55%, var(--creme-2) 100%) no-repeat fixed;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
em { font-family: var(--f-destaque); font-style: italic; }
[hidden] { display: none !important; }

/* Cabeçalho */
.topo { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px 6px; }
.topo img { width: 26px; height: 26px; }
.topo span { font-family: var(--f-titulo); font-size: 11px; letter-spacing: .22em; color: var(--ouro-escuro); text-transform: uppercase; }

/* Botão principal */
.botao {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 58px;
  padding: 14px 22px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; text-align: center;
  font-family: var(--f-titulo); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase;
  color: #FFF8EA; background: linear-gradient(180deg, #7A2A35 0%, var(--bordo) 55%, var(--bordo-escuro) 100%);
  box-shadow: 0 0 0 1px rgba(201,154,69,.55) inset, 0 10px 22px rgba(92,26,36,.28);
  transition: transform .15s ease, filter .15s ease;
}
.botao:active { transform: scale(.98); }
.botao:hover { filter: brightness(1.06); }
.botao[disabled] { opacity: .55; cursor: default; }

/* Vídeo (carrega só no clique) */
.video {
  position: relative; width: min(100%, calc(50vh * .8)); aspect-ratio: 4 / 5; margin: 0 auto;
  border-radius: 18px; overflow: hidden; background: var(--preto-quente);
  box-shadow: 0 0 0 1px rgba(201,154,69,.7), 0 0 0 5px rgba(201,154,69,.12), var(--sombra);
}
.video__play { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; background: none; }
.video__play img { width: 100%; height: 100%; object-fit: cover; }
.video__play::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 55%, rgba(18,10,5,0) 0%, rgba(18,10,5,.18) 55%, rgba(18,10,5,.55) 100%);
}
.video__icone {
  position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%;
  background: rgba(18,10,5,.55); box-shadow: 0 0 0 2px var(--ouro-claro), 0 0 30px rgba(235,197,122,.45);
  display: flex; align-items: center; justify-content: center; animation: pulsar 2.4s ease-in-out infinite;
}
.video__icone svg { width: 30px; height: 30px; margin-left: 5px; fill: var(--ouro-claro); }
.video__rotulo {
  position: absolute; left: 0; right: 0; bottom: 12px; text-align: center;
  font-family: var(--f-titulo); font-size: 11px; letter-spacing: .2em; color: #FFF3DA; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.video__midia { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: cover; }
@keyframes pulsar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }

/* Rodapé discreto */
.rodape { padding: 18px 20px 26px; text-align: center; font-size: 12px; line-height: 1.45; color: var(--tinta-suave); }
.rodape b { font-family: var(--f-titulo); font-weight: 400; font-size: 10px; letter-spacing: .2em; color: var(--ouro-escuro); display: block; margin-bottom: 4px; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
