/* ─────────────────────────────────────────────────────────────────────
   Mapa gratuito · Sara Filipa
   Reprodução dos frames do Figma "Lead Magnet · Mapa · LP" (2125:2) e
   "Lead Magnet · Mapa · Resultado" (2127:2), desenhados a 1920px.
   ───────────────────────────────────────────────────────────────────── */

:root {
  --mag: #CC0170;
  --rosa: #E23A98;
  --rosa-claro: #FFD1E8;
  --tinta: #1B1418;
  --suave: #5E5359;
  --branco: #FFFFFF;
  --claro: #F4F1F3;
  --medio: #E5E0E3;
  --escuro: #0F0B0D;
  --cartao-escuro: #1B1418;
  --foto: #D8D0D4;
  --campo: #FAF8F9;

  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Poppins", system-ui, sans-serif;
  --script: "Monsieur La Doulaise", cursive;

  --grad-claro: linear-gradient(180deg, #F4F1F3 0%, #E5E0E3 100%);
  --grad-mag: linear-gradient(to bottom right, #A8005A 14.3%, #D2127F 85.7%);

  /* Cores do bodygraph (mapa/bodygraph.py lê estas variáveis) */
  --bg-definido: #1B1418;
  --bg-canal: #CC0170;
  --bg-aberto: #FFFFFF;
  --bg-linha: #E6DDE2;
  --bg-contorno: #CBBEC5;

  --estrela: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0C6.45 3.75 8.25 5.55 12 6C8.25 6.45 6.45 8.25 6 12C5.55 8.25 3.75 6.45 0 6C3.75 5.55 5.55 3.75 6 0Z' fill='black'/%3E%3C/svg%3E");
  --seta-botao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='%23FFFFFF'/%3E%3Cpath d='M12.08 17.92L17.92 12.08M17.92 17.33V12.08H12.67' stroke='%23CC0170' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  --seta-botao-branco: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Ccircle cx='15' cy='15' r='15' fill='%23CC0170'/%3E%3Cpath d='M12.08 17.92L17.92 12.08M17.92 17.33V12.08H12.67' stroke='%23FFFFFF' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  --estrela-mag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 0C6.45 3.75 8.25 5.55 12 6C8.25 6.45 6.45 8.25 6 12C5.55 8.25 3.75 6.45 0 6C3.75 5.55 5.55 3.75 6 0Z' fill='%23CC0170'/%3E%3C/svg%3E");
  --seta: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M4.08331 9.91683L9.91665 4.0835M9.91665 9.3335V4.0835H4.66665' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--claro);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
.escondido { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.visualmente-escondido { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Estrutura ─────────────────────────────── */

.seccao {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.seccao > * { position: relative; }
.seccao > .marca-agua { position: absolute; }
.fundo-claro { background: var(--claro); }
.fundo-medio { background: var(--medio); }
.fundo-escuro { background: var(--escuro); color: var(--branco); }
.fundo-grad-claro { background: var(--grad-claro); }
.fundo-grad-mag { background: var(--grad-mag); color: var(--branco); }

.w1200 { width: 1200px; max-width: 100%; }
.w1260 { width: 1260px; max-width: 100%; }
.w1032 { width: 1032px; max-width: 100%; }
.w1000 { width: 1000px; max-width: 100%; }
.w900 { width: 900px; max-width: 100%; }

.marca-agua {
  position: absolute;
  top: 0;
  left: calc(50% - 960px);
  font-family: var(--script);
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

/* ── Tipografia ────────────────────────────── */

.titulo {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
}
.titulo em, .titulo .destaque { font-style: italic; color: var(--mag); }
.fundo-escuro .titulo em { color: var(--rosa); }
.fundo-grad-mag .titulo em { color: var(--rosa-claro); }

.sobretitulo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
}
.sobretitulo::before, .estrela {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: var(--estrela) center / contain no-repeat;
  mask: var(--estrela) center / contain no-repeat;
}
.estrela { display: inline-block; color: var(--mag); }
.estrela-10 { width: 10px; height: 10px; }
.estrela-8 { width: 8px; height: 8px; }
.fundo-escuro .sobretitulo { color: var(--rosa); }
.fundo-grad-mag .sobretitulo { color: var(--branco); }

.rotulo {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mag);
}

/* ── Botões ────────────────────────────────── */

.botao {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 16px 30px;
  border: 0;
  border-radius: 999px;
  background: var(--mag);
  color: var(--branco);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(204, 1, 112, 0.28);
  transition: translate .15s ease, box-shadow .15s ease;
}
/* A seta é um pseudo-elemento para sobreviver às mudanças de texto feitas pelo JS. */
.botao::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  background: var(--seta-botao) center / 30px 30px no-repeat;
}
.botao:hover { translate: 0 -1px; box-shadow: 0 14px 28px rgba(204, 1, 112, 0.34); }
.botao:disabled { opacity: .75; cursor: progress; translate: none; }

.botao-branco { --seta-botao: var(--seta-botao-branco); background: var(--branco); color: var(--mag); box-shadow: none; }
.botao-branco:hover { box-shadow: 0 10px 24px rgba(74, 0, 39, 0.18); }
.botao-largo { width: 100%; justify-content: space-between; }

.botao-secundario {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border: 1px solid rgba(204, 1, 112, 0.5);
  border-radius: 999px;
  background: none;
  color: var(--mag);
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.botao-secundario:hover { background: rgba(204, 1, 112, 0.06); }

/* ── Topo ──────────────────────────────────── */

.topo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 1200px;
  max-width: 100%;
}
.topo-marca {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 31px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tinta);
  text-decoration: none;
}
.topo-linha { width: 100%; height: 1px; background: rgba(27, 20, 24, 0.12); }

/* ── Hero ──────────────────────────────────── */

.hero { padding: 40px 0 140px; gap: 80px; }
.hero-colunas { display: flex; gap: 100px; align-items: flex-start; }
.hero-texto { width: 600px; flex: none; display: flex; flex-direction: column; gap: 30px; padding-top: 70px; }
.hero-texto .titulo { font-size: 72px; }
.subtitulo { font-size: 18px; line-height: 1.7; color: var(--suave); }

.pontos-lista { display: flex; flex-direction: column; gap: 16px; padding: 10px 0; }
.pontos-lista li { display: flex; align-items: center; gap: 14px; font-size: 16px; line-height: 24px; }

.sistemas { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--suave); }

/* ── Formulário ────────────────────────────── */

.cartao-form {
  width: 560px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px 44px 40px;
  border-radius: 24px;
  background: var(--branco);
  box-shadow: 0 24px 60px rgba(27, 20, 24, 0.10);
  scroll-margin-top: 24px;
}
.cartao-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form-pergunta { font-family: var(--serif); font-size: 32px; line-height: 1.1; font-weight: 400; padding: 0; }
.form-pergunta em { font-style: italic; color: var(--mag); }
.opcoes-grupo { display: flex; flex-direction: column; gap: 22px; }
.opcoes { display: flex; flex-direction: column; gap: 10px; }
.opcao { position: relative; display: block; cursor: pointer; }
.opcao input { position: absolute; opacity: 0; pointer-events: none; }
.opcao span {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(27, 20, 24, 0.12);
  border-radius: 12px;
  background: var(--branco);
  font-size: 15px;
  line-height: 1.4;
  transition: border-color .15s ease, background .15s ease;
}
.opcao span::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: inset 0 0 0 1.5px rgba(27, 20, 24, 0.3);
  transition: box-shadow .15s ease;
}
.opcao:hover span { border-color: rgba(204, 1, 112, 0.45); }
.opcao input:checked + span { border-color: var(--mag); background: rgba(204, 1, 112, 0.06); font-weight: 500; }
.opcao input:checked + span::before { box-shadow: inset 0 0 0 5px var(--mag); }
.opcao input:focus-visible + span { outline: 2px solid var(--mag); outline-offset: 2px; }

.divisor { height: 1px; background: rgba(27, 20, 24, 0.10); }

.campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.campo-rotulo { font-size: 13px; font-weight: 500; line-height: 20px; color: var(--tinta); }
.campo-caixa {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(27, 20, 24, 0.14);
  border-radius: 12px;
  background: var(--campo);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo-caixa:focus-within { border-color: var(--mag); box-shadow: 0 0 0 3px rgba(204, 1, 112, 0.12); }
.campo-caixa input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 15px;
  color: var(--tinta);
}
.campo-caixa input::placeholder { color: rgba(94, 83, 89, 0.7); opacity: 1; }
.campo-icone { font-size: 13px; font-weight: 500; color: var(--mag); }
.campo-linha { display: flex; gap: 14px; }
.campo-linha > * { flex: 1; }

.data-partes { gap: 0; }
.data-partes input { flex: none; }
.data-partes input[name="dia"], .data-partes input[name="mes"] { width: 1.6em; }
.data-partes input[name="ano"] { flex: 1; }
.data-partes i { font-style: normal; font-size: 15px; color: rgba(94, 83, 89, 0.7); padding: 0 0.35em 0 0.2em; }

/* Fica acima dos campos seguintes (que têm camadas próprias por causa das animações). */
.campo-cidade { position: relative; z-index: 20; }
.cidades {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 5;
  padding: 6px;
  border: 1px solid rgba(27, 20, 24, 0.12);
  border-radius: 12px;
  background: var(--branco);
  box-shadow: 0 18px 40px rgba(27, 20, 24, 0.12);
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.cidades li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 14px; line-height: 1.4; }
.cidades li small { color: var(--suave); }
.cidades li[aria-selected="true"], .cidades li:hover { background: var(--claro); }

.caixa-verificar { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 20px; color: var(--suave); cursor: pointer; }
.caixa-verificar input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border-radius: 4px;
  background: var(--branco);
  box-shadow: inset 0 0 0 1.5px rgba(27, 20, 24, 0.3);
  cursor: pointer;
}
.caixa-verificar input:checked {
  background: var(--mag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: none;
}
.caixa-verificar input:focus-visible { outline: 2px solid var(--mag); outline-offset: 2px; }
.caixa-verificar a { color: var(--mag); }

.form-erro { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(204, 1, 112, 0.08); color: var(--mag); font-size: 14px; line-height: 1.5; }
.form-nota { font-size: 12px; line-height: 1.6; color: var(--suave); text-align: center; }

/* ── Faixa ─────────────────────────────────── */

.faixa { height: 64px; background: var(--mag); overflow: hidden; position: relative; }
.faixa-loop {
  position: absolute;
  top: 20px;
  left: calc(50% - 1020px);
  display: flex;
  align-items: center;
  gap: 30px;
  white-space: nowrap;
  color: var(--branco);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.faixa-loop .estrela { color: var(--branco); }

/* ── LP · 03 O que recebes ─────────────────── */

.recebes { padding: 140px 0 150px; gap: 70px; }
.recebes-colunas { display: flex; gap: 110px; align-items: center; }
.recebes-texto { width: 590px; flex: none; display: flex; flex-direction: column; gap: 26px; }
.recebes-texto .titulo { font-size: 72px; line-height: .98; color: var(--branco); }
.texto-claro { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }
.lista-itens li {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.lista-itens .estrela { color: var(--rosa); margin-top: 4px; }
.lista-itens div { display: flex; flex-direction: column; gap: 6px; }
.lista-itens strong { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.lista-itens span { font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }

.previa {
  width: 500px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}
.previa .titulo { font-size: 40px; line-height: 1.08; letter-spacing: 0; color: var(--branco); }
.previa-dados div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.previa-dados dt { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.previa-dados dd { font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.previa-citacao { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: rgba(255, 255, 255, 0.85); }

/* ── LP · 04 Para quem é ───────────────────── */

.para-ti { padding: 140px 0; gap: 80px; }
.duas-colunas { display: flex; gap: 110px; align-items: flex-start; }
.coluna-titulo { width: 460px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.coluna-titulo .titulo { font-size: 72px; line-height: .98; }
.coluna-texto { width: 630px; flex: none; display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
.paragrafo { font-size: 18px; line-height: 1.7; color: var(--suave); }
.frase-destaque { font-family: var(--serif); font-style: italic; font-size: 30px; line-height: 1.2; color: var(--mag); }

.cartoes-3 { display: flex; gap: 24px; }
.cartao-num {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 34px;
  border-radius: 20px;
  background: var(--branco);
}
.cartao-num .num { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--mag); }
.cartao-num h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.cartao-num p { font-size: 16px; line-height: 1.65; color: var(--suave); }

/* ── LP · 05 Sobre ─────────────────────────── */

.sobre { padding: 140px 0; }
.sobre-colunas { display: flex; gap: 110px; align-items: center; }
.sobre-foto {
  width: 460px;
  height: 580px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 230px 230px 0 0;
  background: var(--foto);
  font-size: 13px;
  font-weight: 500;
  color: rgba(94, 83, 89, 0.7);
}
.sobre-foto img { width: 100%; height: 100%; object-fit: cover; }
.sobre-texto { width: 630px; flex: none; display: flex; flex-direction: column; gap: 24px; }
.sobre-texto .titulo { font-size: 64px; }
.sobre-fecho { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.25; }

/* ── Perguntas frequentes ──────────────────── */

.faq { padding: 130px 0 140px; gap: 56px; }
.cabecalho-centro { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.faq .titulo { font-size: 64px; color: var(--branco); }
.faq-lista details { border-bottom: 1px solid rgba(255, 255, 255, 0.14); padding: 30px 0; }
.faq-lista summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1.3;
}
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-lista summary::after { content: "+"; flex: none; font-family: var(--sans); font-size: 24px; line-height: 1; color: var(--rosa); }
.faq-lista details[open] summary::after { content: "−"; }
.faq-lista details p { margin-top: 14px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); }

/* ── Fecho ─────────────────────────────────── */

.fecho { padding: 150px 0 160px; gap: 36px; text-align: center; }
.fecho .titulo { font-size: 90px; color: var(--branco); }
.fecho-texto { font-size: 18px; line-height: 27px; color: rgba(255, 255, 255, 0.85); }
.espaco-10 { height: 10px; }

/* ── Rodapé ────────────────────────────────── */

.rodape { padding: 56px 16px; gap: 24px; background: var(--escuro); color: var(--branco); text-align: center; }
.rodape-marca { font-family: var(--serif); font-size: 26px; line-height: 34px; letter-spacing: 0.22em; text-transform: uppercase; }
.rodape-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; font-size: 13px; line-height: 20px; }
.rodape-links a, .rodape-links button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.rodape-links a:hover, .rodape-links button:hover { color: var(--branco); }
.rodape-direitos { font-size: 12px; line-height: 18px; color: rgba(255, 255, 255, 0.35); }

/* ── Resultado · Hero ──────────────────────── */

.hero-resultado .hero-colunas { align-items: center; }
.hero-resultado .hero-texto { width: 620px; gap: 28px; padding-top: 0; }
.hero-resultado .hero-texto .titulo { font-size: 66px; }
.frase-escolhida { padding: 4px 0 4px 22px; border-left: 2px solid var(--mag); font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.25; }
.dados-nascimento { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; line-height: 20px; color: var(--suave); }
.acoes { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

.cartao-mapa {
  width: 540px;
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--branco);
  box-shadow: 0 24px 60px rgba(27, 20, 24, 0.10);
}
.separadores { display: flex; gap: 8px; padding: 5px; border-radius: 999px; background: var(--claro); }
.separadores button {
  flex: 1;
  padding: 12px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  font-size: 13px;
  font-weight: 600;
  line-height: 20px;
  color: var(--suave);
  cursor: pointer;
}
.separadores button[aria-selected="true"] { background: var(--mag); color: var(--branco); }
.painel {
  height: 470px;
  border-radius: 16px;
  background: #F7F3F5;
  overflow: auto;
}
.painel[hidden] { display: none; }
.painel-bodygraph { display: flex; align-items: center; justify-content: center; padding: 20px; }
.painel-bodygraph .bodygraph { height: 100%; width: auto; }
.painel-lista { padding: 12px 28px; }
.painel-lista div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(27, 20, 24, 0.08); }
.painel-lista div:last-child { border-bottom: 0; }
.painel-lista dt { font-size: 13px; font-weight: 500; color: var(--suave); }
.painel-lista dd { font-family: var(--serif); font-size: 21px; line-height: 1.25; text-align: right; }
.painel-lista dd small { display: block; font-family: var(--sans); font-size: 12px; color: var(--suave); }
.legenda { display: flex; gap: 18px; align-items: center; font-size: 12px; line-height: 18px; color: var(--suave); }
.legenda span { display: inline-flex; align-items: center; gap: 8px; }
.legenda i { width: 8px; height: 8px; border-radius: 50%; background: var(--tinta); }
.legenda i.canal { background: var(--mag); }
.legenda[hidden] { display: none; }

/* ── Resultado · Em síntese ────────────────── */

.sintese { padding: 90px 0 100px; gap: 40px; }
.sintese-cabecalho { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sintese-cabecalho > div { display: flex; flex-direction: column; gap: 16px; }
.sintese-cabecalho .titulo { font-size: 56px; }
.sintese-cabecalho > p { font-size: 14px; line-height: 21px; color: var(--suave); }
.grelha { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mosaico {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 26px 28px;
  border-radius: 18px;
  background: var(--branco);
  text-decoration: none;
  transition: translate .25s ease, box-shadow .25s ease;
}
.mosaico:hover { translate: 0 -2px; box-shadow: 0 14px 30px rgba(27, 20, 24, 0.08); }
.mosaico .rotulo { font-weight: 500; }
.mosaico-chave { font-size: 14px; line-height: 21px; color: var(--suave); }
.mosaico-valor { font-family: var(--serif); font-size: 40px; line-height: 1; }

/* ── Resultado · Leitura ───────────────────── */

.leitura-seccao { padding: 130px 0 140px; }
.leitura-colunas { display: flex; gap: 140px; align-items: flex-start; }
.indice { width: 280px; flex: none; padding-top: 8px; position: sticky; top: 32px; }
.indice .rotulo { display: block; margin-bottom: 18px; }
.indice li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(27, 20, 24, 0.10);
  font-size: 14px;
  line-height: 21px;
  color: var(--suave);
  text-decoration: none;
}
.indice li a::before { content: attr(data-num); font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--mag); }
.indice li a[aria-current="true"] { color: var(--tinta); font-weight: 600; }

.artigo { width: 780px; flex: none; min-width: 0; }
.leitura { counter-reset: capitulo; }
.leitura h3 {
  counter-increment: capitulo;
  margin: 90px 0 24px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: -0.01em;
  scroll-margin-top: 32px;
}
.leitura h3:first-child { margin-top: 0; }
.leitura h3::before {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mag);
  content: "0" counter(capitulo);
  padding-left: 22px;
  background: var(--estrela-mag) left center / 12px 12px no-repeat;
}
/* Ordem fixa das secções no prompt da leitura (mapa/leitura.py) */
.leitura h3:nth-of-type(1)::before { content: "01 · Astrologia"; }
.leitura h3:nth-of-type(2)::before { content: "02 · Human Design"; }
.leitura h3:nth-of-type(3)::before { content: "03 · Gene Keys"; }
.leitura h3:nth-of-type(4)::before { content: "04 · Os três em conjunto"; }
.leitura h3:nth-of-type(5)::before { content: "05 · O teu momento"; }
.leitura h3 em { font-style: italic; color: var(--mag); }
.leitura p { margin: 0 0 24px; font-size: 18px; line-height: 1.75; color: var(--suave); }
.leitura p:last-child { margin-bottom: 0; }
.leitura > p:first-child {
  margin-bottom: 90px;
  padding: 26px 30px 28px;
  border-left: 3px solid var(--mag);
  border-radius: 16px;
  background: var(--branco);
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  line-height: 1.35;
  color: var(--tinta);
}
.leitura strong { font-weight: 600; color: var(--tinta); }
.leitura .cursor::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 2px;
  vertical-align: -2px;
  background: var(--mag);
  animation: pulso 1s steps(2) infinite;
}
.a-escrever { display: flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 14px; letter-spacing: .06em; color: var(--suave); }
.a-escrever[hidden] { display: none; }
.pontos { display: inline-flex; gap: 5px; }
.pontos i { width: 6px; height: 6px; border-radius: 50%; background: var(--mag); animation: pulso 1.2s ease-in-out infinite; }
.pontos i:nth-child(2) { animation-delay: .2s; }
.pontos i:nth-child(3) { animation-delay: .4s; }
#leitura-erro { margin-top: 24px; }
@keyframes pulso { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ── Resultado · Os três em conjunto ───────── */

.conjunto { padding: 140px 0 150px; gap: 60px; }
.conjunto .cabecalho-centro { gap: 20px; }
.conjunto .titulo { font-size: 72px; color: var(--branco); }
.conjunto-texto { font-size: 19px; line-height: 1.75; color: rgba(255, 255, 255, 0.8); }
.ciclo {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 44px 52px;
  border: 1px solid rgba(226, 58, 152, 0.4);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}
.ciclo-rotulo { width: 220px; flex: none; display: flex; flex-direction: column; gap: 6px; }
.ciclo-rotulo .rotulo { color: var(--rosa); }
.ciclo-rotulo strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1.1; }
.ciclo-texto { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.8); }
.ciclo-texto .destaque-rosa { color: var(--rosa); font-weight: 500; }

/* ── Resultado · Próximo passo (NLF) ───────── */

.proximo { padding: 140px 0 150px; gap: 60px; }
.proximo .cabecalho-centro { gap: 20px; }
.proximo .titulo { font-size: 64px; line-height: 1.02; color: var(--branco); }
.comparacao { display: flex; gap: 32px; align-items: stretch; }
.comparacao > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}
.comparacao > div.forte { background: rgba(255, 255, 255, 0.16); }
.comparacao h3 { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.3; }
.comparacao ul { display: flex; flex-direction: column; gap: 18px; }
.comparacao li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 1.5; color: rgba(255, 255, 255, 0.9); }
.comparacao .estrela { color: var(--branco); }

.planos { display: flex; gap: 32px; align-items: stretch; }
.plano {
  width: 500px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 52px 48px 48px;
  border-radius: 24px;
  background: var(--branco);
  color: var(--tinta);
  box-shadow: 0 24px 60px rgba(74, 0, 39, 0.25);
}
.plano-nome { font-family: var(--serif); font-size: 30px; line-height: 1; }
.plano-nome em { display: block; font-style: italic; color: var(--rosa); }
.plano-preco { font-family: var(--serif); font-size: 104px; line-height: .9; letter-spacing: -0.02em; color: var(--mag); }
.plano-linha { height: 1px; background: rgba(27, 20, 24, 0.14); }
.plano-texto { flex: 1; font-size: 17px; line-height: 1.65; color: var(--suave); }
.plano .botao { align-self: flex-start; margin-top: 26px; }
.plano-escuro { background: var(--cartao-escuro); color: var(--branco); }
.plano-escuro .plano-preco { color: var(--branco); }
.plano-escuro .plano-linha { background: rgba(255, 255, 255, 0.14); }
.plano-escuro .plano-texto { color: rgba(255, 255, 255, 0.75); }
.plano-escuro .plano-texto strong { font-weight: 600; color: var(--rosa); }
.proximo-nota { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, 0.8); text-align: center; }

/* ── Resultado · Guardar ───────────────────── */

.guardar { padding: 110px 0 120px; gap: 28px; text-align: center; }
.guardar .titulo { font-size: 56px; }
.guardar-texto { font-size: 17px; line-height: 1.7; color: var(--suave); }
.link-unico {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(27, 20, 24, 0.12);
  border-radius: 999px;
  background: var(--branco);
}
.link-unico span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; }

/* ── Páginas simples (404, privacidade) ────── */

.pagina-simples { padding: 40px 0 140px; gap: 80px; }
.pagina-simples-corpo { width: 780px; max-width: 100%; display: flex; flex-direction: column; gap: 28px; }
.pagina-simples-corpo.centrado { align-items: center; text-align: center; }
.pagina-simples-corpo .titulo { font-size: 66px; }
.texto-legal h2 { margin-top: 20px; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1.2; }
.texto-legal p { font-size: 17px; line-height: 1.7; color: var(--suave); }
.texto-legal a { color: var(--mag); }

/* ── Aviso de cookies ──────────────────────── */

.cookies {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 50;
  width: min(420px, calc(100% - 32px));
  padding: 22px 24px;
  border-radius: 20px;
  background: var(--branco);
  box-shadow: 0 24px 60px rgba(27, 20, 24, 0.18);
  font-size: 14px;
  line-height: 1.6;
}
.cookies p { margin: 0 0 16px; color: var(--suave); }
.cookies a { color: var(--mag); }
.cookies-botoes { display: flex; gap: 10px; justify-content: flex-end; }
.cookies-botoes button {
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.cookies-botoes .recusar { border: 1px solid rgba(204, 1, 112, 0.5); background: none; color: var(--mag); }
.cookies-botoes .aceitar { border: 0; background: var(--mag); color: var(--branco); }

/* ── Formulário em duas etapas ─────────────── */

.etapa { display: flex; flex-direction: column; gap: 22px; }
.etapa[hidden] { display: none; }
.progresso { display: flex; gap: 6px; }
.progresso i { flex: 1; height: 3px; border-radius: 3px; background: rgba(27, 20, 24, 0.08); overflow: hidden; position: relative; }
.progresso i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mag);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.progresso i.ativo::after { transform: scaleX(1); }
.etapa-topo { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.etapa-topo .rotulo:focus { outline: none; }
.etapa-voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--suave);
  cursor: pointer;
}
.etapa-voltar::before { content: "←"; transition: transform .2s ease; }
.etapa-voltar:hover { color: var(--mag); }
.etapa-voltar:hover::before { transform: translateX(-3px); }
.frase-escolhida-form {
  padding: 4px 0 4px 16px;
  border-left: 2px solid var(--mag);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
}
.frase-escolhida-form:empty { display: none; }
.etapa-aviso { font-size: 13px; color: var(--mag); }
.etapa-aviso[hidden] { display: none; }
.cartao-form:not(.com-etapas) .progresso,
.cartao-form:not(.com-etapas) [data-avancar],
.cartao-form:not(.com-etapas) .etapa-voltar { display: none; }

/* ─────────────────────────────────────────────────────────────────────
   Animações
   ───────────────────────────────────────────────────────────────────── */

:root { --suave-saida: cubic-bezier(.2, .7, .2, 1); }

/* Entradas ao fazer scroll (classes postas por js/animacoes.js) */
.revelar {
  opacity: 0;
  transform: translateY(28px);
  /* translate/box-shadow ficam livres para os efeitos ao passar o rato */
  transition-property: opacity, transform, translate, box-shadow;
  transition-duration: .9s, .9s, .35s, .35s;
  transition-timing-function: var(--suave-saida);
  transition-delay: var(--atraso, 0ms), var(--atraso, 0ms), 0s, 0s;
}
.revelar.revelado { opacity: 1; transform: none; }
.cartao-form.revelar, .cartao-mapa.revelar, .previa.revelar { transform: translateX(40px); }
.cartao-form.revelar.revelado, .cartao-mapa.revelar.revelado, .previa.revelar.revelado { transform: none; }
.plano.revelar, .mosaico.revelar, .cartao-num.revelar { transform: translateY(36px) scale(.97); }
.plano.revelar.revelado, .mosaico.revelar.revelado, .cartao-num.revelar.revelado { transform: none; }
.sobre-foto.revelar { transform: translateY(40px) scale(.96); transition-duration: 1.3s, 1.3s, .35s, .35s; }
.sobre-foto.revelar.revelado { transform: none; }
.sobre-foto img { transform: scale(1.08); transition: transform 1.8s var(--suave-saida); }
.sobre-foto.revelado img { transform: none; }
.topo.revelar { transform: translateY(-12px); }
.topo.revelar.revelado { transform: none; }
.topo .topo-linha { transform: scaleX(0); transition: transform 1.4s var(--suave-saida) .2s; }
.topo.revelado .topo-linha { transform: none; }
/* Divisores das listas desenham-se da esquerda para a direita */
.lista-itens li.revelar { transform: translateY(18px); }

/* Títulos palavra a palavra */
.titulo-palavras.revelar { opacity: 1; transform: none; }
.titulo-palavras .palavra {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .08em .12em 0;
  margin: 0 -.08em -.12em 0;
}
.titulo-palavras .palavra > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--suave-saida);
  transition-delay: calc(var(--atraso, 0ms) + var(--i) * 55ms);
}
.titulo-palavras.revelado .palavra > span { transform: none; }

/* Estrela dos sobretítulos: um giro ao entrar */
.sobretitulo.revelado::before { animation: estrela-giro 1.2s var(--suave-saida) calc(var(--atraso, 0ms) + .15s) both; }
@keyframes estrela-giro { from { transform: rotate(-180deg) scale(0); } to { transform: none; } }

/* Marca d'água caligráfica: flutua devagar */
.marca-agua { animation: flutuar 22s ease-in-out infinite alternate; }
.seccao > .marca-agua:nth-of-type(2n) { animation-duration: 28s; animation-direction: alternate-reverse; }
@keyframes flutuar {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-30px, 26px, 0) rotate(-3deg); }
}

/* Faixa em movimento contínuo (3 grupos iguais, desliza um grupo) */
.faixa-loop { left: 0; padding-right: 30px; animation: faixa 38s linear infinite; }
.faixa:hover .faixa-loop { animation-play-state: paused; }
@keyframes faixa { from { transform: translateX(0); } to { transform: translateX(-33.3333%); } }

/* Botões: a seta avança ao passar por cima; brilho no botão principal */
.botao::after { transition: transform .35s var(--suave-saida); }
.botao:hover::after { transform: translate(3px, -3px) rotate(8deg); }
.botao { position: relative; overflow: hidden; isolation: isolate; }
.botao::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.botao:hover::before { animation: brilho 1s var(--suave-saida); }
@keyframes brilho { to { transform: translateX(120%); } }
.botao-secundario { transition: background .2s ease, border-color .2s ease, translate .2s ease; }
.botao-secundario:hover { translate: 0 -1px; border-color: var(--mag); }

/* Cartões: sobem ligeiramente ao passar por cima */
.cartao-num:hover { translate: 0 -4px; box-shadow: 0 18px 40px rgba(27, 20, 24, 0.08); }
.plano:hover { translate: 0 -6px; box-shadow: 0 32px 70px rgba(74, 0, 39, 0.32); }
.comparacao > div:hover { translate: 0 -3px; }
.mosaico-valor { transition: color .25s ease; }
.mosaico:hover .mosaico-valor { color: var(--mag); }
.lista-itens li .estrela { transition: transform .4s var(--suave-saida); }
.lista-itens li:hover .estrela { transform: rotate(90deg) scale(1.25); }

/* Formulário: transições das etapas e das opções */
.etapa.entra-direita { animation: entra-direita .5s var(--suave-saida) both; }
.etapa.entra-esquerda { animation: entra-esquerda .5s var(--suave-saida) both; }
@keyframes entra-direita { from { opacity: 0; transform: translateX(40px); } }
@keyframes entra-esquerda { from { opacity: 0; transform: translateX(-40px); } }
.etapa[data-etapa="1"] .opcao { animation: sobe .6s var(--suave-saida) both; }
.revelar .etapa[data-etapa="1"] .opcao { animation-play-state: paused; }
.revelado .etapa[data-etapa="1"] .opcao { animation-play-state: running; }
.etapa[data-etapa="1"] .opcao:nth-child(1) { animation-delay: .35s; }
.etapa[data-etapa="1"] .opcao:nth-child(2) { animation-delay: .42s; }
.etapa[data-etapa="1"] .opcao:nth-child(3) { animation-delay: .49s; }
.etapa[data-etapa="1"] .opcao:nth-child(4) { animation-delay: .56s; }
.etapa[data-etapa="1"] .opcao:nth-child(5) { animation-delay: .63s; }
.etapa[data-etapa="1"] .opcao:nth-child(6) { animation-delay: .70s; }
.etapa[data-etapa="1"].entra-esquerda .opcao { animation: none; }
@keyframes sobe { from { opacity: 0; transform: translateY(14px); } }
.opcao span { transition: border-color .2s ease, background .2s ease, transform .2s var(--suave-saida); }
.opcao:hover span { transform: translateX(3px); }
.opcao input:checked + span::before { animation: radio .35s var(--suave-saida); }
@keyframes radio { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: none; } }
.opcoes.abanar { animation: abanar .45s ease; }
@keyframes abanar { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.etapa[data-etapa="2"].entra-direita > * { animation: sobe .55s var(--suave-saida) both; }
.etapa[data-etapa="2"].entra-direita > :nth-child(2) { animation-delay: .05s; }
.etapa[data-etapa="2"].entra-direita > :nth-child(3) { animation-delay: .10s; }
.etapa[data-etapa="2"].entra-direita > :nth-child(4) { animation-delay: .15s; }
.etapa[data-etapa="2"].entra-direita > :nth-child(5) { animation-delay: .20s; }
.etapa[data-etapa="2"].entra-direita > :nth-child(6) { animation-delay: .25s; }
.etapa[data-etapa="2"].entra-direita > :nth-child(n+7) { animation-delay: .30s; }
.form-erro:not([hidden]) { animation: abanar .45s ease; }
.cidades:not([hidden]) { animation: descer .25s var(--suave-saida); }
@keyframes descer { from { opacity: 0; transform: translateY(-6px); } }
.botao:disabled::after { animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Mapa: o bodygraph desenha-se, separadores com transição */
.cartao-mapa .bodygraph line { stroke-dasharray: 500; stroke-dashoffset: 500; }
.cartao-mapa.revelado .bodygraph line { animation: tracar 1.6s var(--suave-saida) .5s forwards; }
.cartao-mapa .bodygraph polygon { transform-box: fill-box; transform-origin: center; opacity: 0; }
.cartao-mapa.revelado .bodygraph polygon { animation: centro .7s var(--suave-saida) forwards; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(1) { animation-delay: .35s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(2) { animation-delay: .45s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(3) { animation-delay: .55s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(4) { animation-delay: .65s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(5) { animation-delay: .75s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(6) { animation-delay: .85s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(7) { animation-delay: .95s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(8) { animation-delay: 1.05s; }
.cartao-mapa.revelado .bodygraph polygon:nth-of-type(9) { animation-delay: 1.15s; }
@keyframes tracar { to { stroke-dashoffset: 0; } }
@keyframes centro { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.separadores button { transition: background .3s var(--suave-saida), color .3s ease; }
.painel:not([hidden]) { animation: aparecer .45s var(--suave-saida); }
.painel-lista:not([hidden]) div { animation: sobe .5s var(--suave-saida) both; }
.painel-lista div:nth-child(2) { animation-delay: .04s; }
.painel-lista div:nth-child(3) { animation-delay: .08s; }
.painel-lista div:nth-child(4) { animation-delay: .12s; }
.painel-lista div:nth-child(n+5) { animation-delay: .16s; }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } }

/* Perguntas frequentes: a resposta abre com suavidade, o + roda */
.faq-lista summary::after { transition: transform .3s var(--suave-saida); }
.faq-lista details[open] summary::after { transform: rotate(180deg); }
.faq-lista details[open] p { animation: aparecer .45s var(--suave-saida); }
.faq-lista summary { transition: color .2s ease; }
.faq-lista summary:hover { color: var(--rosa-claro); }

/* Leitura: novos blocos aparecem suavemente enquanto a leitura é escrita */
.indice li a { transition: color .2s ease; }
.indice li a::before { transition: transform .3s var(--suave-saida); display: inline-block; }
.indice li a[aria-current="true"]::before { transform: scale(1.2); }
.indice li a:hover { color: var(--mag); }

/* Ciclo atual: contorno a pulsar devagar */
.ciclo.revelado { animation: pulso-contorno 4s ease-in-out 1.2s infinite; }
@keyframes pulso-contorno {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 58, 152, 0); }
  50% { box-shadow: 0 0 0 6px rgba(226, 58, 152, 0.10), 0 0 60px rgba(226, 58, 152, 0.12); }
}

/* Preços entram com um pequeno destaque */
.plano.revelado .plano-preco { animation: preco .9s var(--suave-saida) calc(var(--atraso, 0ms) + .3s) both; }
@keyframes preco { from { opacity: 0; transform: translateY(20px); letter-spacing: .04em; } }

/* Barra de progresso da leitura */
.barra-leitura {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  height: 3px;
  background: linear-gradient(90deg, var(--mag), var(--rosa));
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0;
  transition: opacity .3s ease;
}
.barra-leitura.visivel { opacity: 1; }

/* Cookies: sobe ao aparecer */
.cookies:not([hidden]) { animation: sobe .5s var(--suave-saida) .4s both; }

/* Quem prefere menos movimento vê tudo parado */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar, .titulo-palavras .palavra > span { opacity: 1 !important; transform: none !important; }
  .cartao-mapa .bodygraph line { stroke-dashoffset: 0; }
  .cartao-mapa .bodygraph polygon { opacity: 1; }
  .faixa-loop { left: calc(50% - 1020px); }
}

@media print {
  .revelar, .titulo-palavras .palavra > span { opacity: 1 !important; transform: none !important; }
  .cartao-mapa .bodygraph line { stroke-dashoffset: 0 !important; animation: none !important; }
  .cartao-mapa .bodygraph polygon { opacity: 1 !important; animation: none !important; }
  .barra-leitura { display: none; }
}

/* ── Ecrãs mais pequenos que o desenho (1920) ── */

@media (max-width: 1340px) {
  .seccao { padding-left: 40px; padding-right: 40px; }
  .hero-colunas, .recebes-colunas, .duas-colunas, .sobre-colunas, .leitura-colunas { gap: 64px; }
  .hero-texto, .coluna-texto, .sobre-texto, .recebes-texto, .artigo { flex: 1; width: auto; }
  .hero-resultado .hero-texto { width: auto; }
  .coluna-titulo { width: 38%; }
  .sobre-foto { width: 40%; height: auto; aspect-ratio: 460 / 580; }
  .previa { width: 45%; }
  .indice { width: 220px; }
  .plano { width: auto; flex: 1; }
}

@media (max-width: 1080px) {
  .hero-colunas, .recebes-colunas, .duas-colunas, .sobre-colunas, .leitura-colunas { flex-direction: column; align-items: stretch; }
  .cartao-form, .cartao-mapa, .previa, .coluna-titulo, .sobre-foto { width: 100%; max-width: 620px; }
  .hero-colunas, .recebes-colunas, .sobre-colunas { align-items: center; }
  .hero-texto, .recebes-texto, .sobre-texto, .coluna-texto { width: 100%; max-width: 620px; }
  .hero-texto { padding-top: 20px; }
  .sobre-foto { max-width: 420px; }
  .indice { position: static; width: 100%; }
  .artigo { width: 100%; }
  .cartoes-3, .comparacao, .planos { flex-direction: column; }
  .grelha { grid-template-columns: repeat(2, 1fr); }
  .ciclo { flex-direction: column; align-items: flex-start; }
  .plano .botao { margin-top: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .seccao { padding-left: 16px; padding-right: 16px; }
  .hero, .pagina-simples { padding-top: 24px; padding-bottom: 80px; gap: 40px; }
  .recebes, .para-ti, .sobre, .faq, .fecho, .conjunto, .proximo, .leitura-seccao { padding-top: 80px; padding-bottom: 90px; }
  .sintese, .guardar { padding-top: 64px; padding-bottom: 72px; }
  .hero-texto .titulo, .hero-resultado .hero-texto .titulo, .recebes-texto .titulo, .coluna-titulo .titulo,
  .conjunto .titulo, .pagina-simples-corpo .titulo { font-size: 44px; }
  .sobre-texto .titulo, .faq .titulo, .proximo .titulo, .guardar .titulo, .sintese-cabecalho .titulo { font-size: 40px; }
  .fecho .titulo { font-size: 50px; }
  .leitura h3 { font-size: 36px; margin-top: 64px; }
  .leitura > p:first-child { margin-bottom: 64px; font-size: 21px; }
  .cartao-form { padding: 28px 20px; border-radius: 20px; }
  .form-pergunta { font-size: 27px; }
  .campo-linha { flex-direction: column; }
  .cartao-mapa { padding: 18px; }
  .painel { height: 400px; }
  .separadores button { font-size: 12px; padding: 10px 4px; }
  .previa { padding: 28px 22px; }
  .previa-dados div { gap: 12px; }
  .previa-dados dd { text-align: right; }
  .sintese-cabecalho { flex-direction: column; align-items: flex-start; }
  .mosaico { padding: 20px 18px; }
  .mosaico-valor { font-size: 28px; }
  .faq-lista summary { font-size: 24px; }
  .ciclo { padding: 28px 22px; }
  .plano { padding: 36px 26px 30px; }
  .plano-preco { font-size: 80px; }
  .comparacao > div { padding: 26px 22px; }
  .botao { white-space: normal; text-align: left; }
  .acoes .botao, .acoes .botao-secundario { width: 100%; justify-content: space-between; }
  .acoes .botao-secundario { justify-content: center; }
  .link-unico { width: 100%; }
  .cookies { left: 16px; bottom: 16px; }
}

/* ── Impressão (Descarregar em PDF) ────────── */

@media print {
  body { background: #fff; }
  .topo, .acoes, .separadores, .sintese-cabecalho p, .indice, .proximo, .guardar, .rodape, .cookies, .marca-agua, .a-escrever { display: none !important; }
  .seccao { padding: 24px 0 !important; overflow: visible; }
  .fundo-escuro, .fundo-grad-mag, .fundo-grad-claro, .fundo-medio { background: #fff !important; color: var(--tinta) !important; }
  .conjunto .titulo, .conjunto-texto, .ciclo-texto { color: var(--tinta) !important; }
  .hero-colunas, .leitura-colunas { flex-direction: column; }
  .cartao-mapa, .mosaico { box-shadow: none; border: 1px solid #ddd; }
  .leitura h3 { break-after: avoid; }
}
