/* ============================================================
   TOKENS — Design System Susana Dias Ramos (canónicos, iguais
   aos da página de vendas em 08-site/index.html)
   ============================================================ */
:root {
  /* neutros quentes */
  --cream-50:  #FDF8F2;
  --cream-100: #F8F1E8;
  --cream-200: #F1E6D9;
  --sand-300:  #E7D6C4;
  --sand-400:  #D6C1AC;
  --taupe-500: #A38E7D;
  --taupe-600: #7A6656;
  --umber-700: #574539;
  --umber-800: #3A2B23;
  --espresso-900: #271B15;

  /* terracota */
  --terracotta-300: #E0A88E;
  --terracotta-400: #CC8264;
  --terracotta-500: #BE6A4D;
  --terracotta-600: #A6543A;
  --terracotta-700: #8A4230;

  /* vinho */
  --wine-400: #8E3549;
  --wine-500: #6E2233;
  --wine-600: #591A29;
  --wine-700: #45131F;

  /* blush */
  --blush-100: #F6E7E1;
  --blush-200: #EBCEC4;
  --blush-300: #DCAFA2;
  --blush-400: #C98F80;

  /* ameixa */
  --plum-500: #4A2536;
  --plum-600: #37192A;
  --plum-700: #2A1320;
  --plum-800: #1F0D18;

  /* estado */
  --success-500: #6E7A4B;

  /* aliases semânticos */
  --bg-page:        var(--cream-100);
  --surface-card:   var(--cream-50);
  --surface-raised: var(--cream-200);
  --text-strong:    var(--espresso-900);
  --text-body:      var(--umber-800);
  --text-muted:     var(--taupe-600);
  --text-subtle:    var(--taupe-500);
  --text-on-primary: var(--cream-50);
  --text-on-dark:   var(--cream-100);
  --brand-primary:      var(--terracotta-500);
  --brand-primary-hover: var(--terracotta-600);
  --brand-primary-active: var(--terracotta-700);
  --brand-deep:         var(--wine-500);
  --brand-accent:       var(--blush-300);
  --border-hairline: var(--sand-300);
  --border-strong:   var(--sand-400);

  /* tipografia — regra de ouro: Italiana só no logótipo */
  --font-logo:    "Italiana", Georgia, "Times New Roman", serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body:    "Mulish", -apple-system, "Segoe UI", Helvetica, sans-serif;

  --ls-eyebrow: 0.18em;

  /* cantos */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* sombras castanho-quentes */
  --shadow-xs: 0 1px 2px rgba(58, 43, 35, 0.06);
  --shadow-sm: 0 2px 8px rgba(58, 43, 35, 0.07);
  --shadow-md: 0 10px 30px -12px rgba(58, 43, 35, 0.16);
  --shadow-lg: 0 24px 60px -20px rgba(58, 43, 35, 0.22);
  --shadow-focus: 0 0 0 3px rgba(190, 106, 77, 0.28);

  /* contentores */
  --container-sm: 640px;
  --container-md: 820px;
  --container-lg: 1120px;

  /* movimento */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--wine-500); transition: color 0.2s ease; }
a:hover { color: var(--terracotta-600); }

::selection { background: var(--blush-200); color: var(--espresso-900); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-xs); }

section { scroll-margin-top: 88px; }

a, button, summary { touch-action: manipulation; }

/* saltar para o conteúdo (navegação por teclado) */
.skip-link {
  position: absolute;
  top: -100px; left: 16px;
  z-index: 100;
  background: var(--wine-500);
  color: var(--cream-50);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; color: var(--cream-50); }

/* ============================================================
   ANIMAÇÕES DE ENTRADA (scroll reveal)
   ============================================================ */
.reveal.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.reveal.in { opacity: 1; transform: none; }
.reveal.rd-1 { transition-delay: 0.08s; }
.reveal.rd-2 { transition-delay: 0.16s; }
.reveal.rd-3 { transition-delay: 0.24s; }
.reveal.rd-4 { transition-delay: 0.32s; }

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

/* ============================================================
   PRIMITIVOS
   ============================================================ */
.container    { max-width: var(--container-lg); margin: 0 auto; padding: 0 24px; }
.container-md { max-width: var(--container-md); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: var(--container-sm); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--terracotta-600);
  margin-bottom: 1rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 1.5rem; max-width: 26ch; }
h3 { font-size: 1.3rem; line-height: 1.25; }

.center { text-align: center; }
.center h2 { margin-left: auto; margin-right: auto; }
.center .lead { margin-left: auto; margin-right: auto; }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.15rem; }

.lead { font-size: 1.125rem; line-height: 1.65; max-width: 56ch; }

em.intima { font-style: italic; color: var(--wine-500); }

.section-head { margin-bottom: 3rem; }

/* ============================================================
   BOTÕES
   — fundo terracota-600: contraste 5.03:1 com o texto creme (AA)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 1.05rem 2.2rem;
  background: var(--terracotta-600);
  color: var(--text-on-primary);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}
.btn:hover  { background: var(--terracotta-700); color: var(--text-on-primary); box-shadow: var(--shadow-md); }
.btn:active { transform: scale(0.98); background: var(--terracotta-700); }
.btn:focus-visible { box-shadow: var(--shadow-focus); }

.btn-lg { font-size: 1.05rem; padding: 1.2rem 2.2rem; }
.btn-sm { font-size: 0.85rem; padding: 0.68rem 1.35rem; }
.btn-block { width: 100%; }

.btn-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   FORMULÁRIO DE INSCRIÇÃO
   ============================================================ */
.form-card {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem);
}
.form-card .form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-strong);
  margin-bottom: 0.35rem;
}
.form-card .form-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.4rem;
}

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--umber-700);
  margin-bottom: 0.4rem;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-strong);
  background: var(--cream-100);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.05rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder { color: var(--text-subtle); }
.field input:focus {
  outline: none;
  background: var(--cream-50);
  border-color: var(--terracotta-500);
  box-shadow: var(--shadow-focus);
}

/* caixa RGPD */
.rgpd {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin: 1.1rem 0 1.3rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--text-muted);
  cursor: pointer;
}
.rgpd input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 20px; height: 20px;
  margin-top: 2px;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-xs);
  background: var(--cream-50);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rgpd input[type="checkbox"]:checked {
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
}
.rgpd input[type="checkbox"]:checked::after {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--cream-50);
  border-bottom: 2px solid var(--cream-50);
  transform: rotate(-45deg) translateY(-1px);
}
.rgpd input[type="checkbox"]:focus-visible { box-shadow: var(--shadow-focus); }

/* armadilha anti-robô — fora do ecrã, e ignorada por leitores de ecrã */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* botão a enviar */
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }

/* mensagem de erro do formulário */
.form-erro {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--wine-600);
  background: var(--blush-100);
  border-left: 3px solid var(--wine-500);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
}
.form-erro:empty { display: none; }

/* selos de confiança */
.selos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}
.selos span { display: inline-flex; align-items: center; gap: 0.45rem; }
.selos svg { flex: none; color: var(--terracotta-600); }

/* ============================================================
   PLACEHOLDER DE IMAGEM (fotografia por entrar)
   ============================================================ */
.img-ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(110% 85% at 30% 0%, rgba(246, 231, 225, 0.55), rgba(246, 231, 225, 0) 55%),
    linear-gradient(155deg, var(--blush-300) 0%, var(--terracotta-400) 45%, var(--wine-500) 115%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.img-ph::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(85% 60% at 50% 18%, rgba(253, 248, 242, 0.30), transparent 62%);
  pointer-events: none;
}
.ph-tag {
  position: relative; z-index: 1;
  margin: 0 18px 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(42, 19, 32, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #F4E7DF;
  font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  text-align: center;
}
.ratio-34  { aspect-ratio: 3 / 4; }
.arch { border-radius: 999px 999px var(--radius-xl) var(--radius-xl); }

/* ============================================================
   LOGÓTIPO — selo S + wordmark (Italiana, exclusiva)
   ============================================================ */
.brand-lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }

.seal {
  position: relative;
  width: 42px; height: 42px;
  flex: none;
  border: 1.6px solid var(--wine-500);
  border-radius: 50%;
  font-family: var(--font-logo);
}
.seal .o {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--wine-500); line-height: 1;
  padding-bottom: 2px;
}
.seal--light { border-color: #F4E7DF; }
.seal--light .o { color: #F4E7DF; }

.wordmark {
  font-family: var(--font-logo);
  font-size: 1.32rem;
  color: var(--espresso-900);
  line-height: 1.1;
  white-space: nowrap;
}
.wordmark small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-600);
  margin-top: 2px;
}

/* ============================================================
   HEADER — mínimo: marca + um só CTA (página de captura não
   tem navegação para não dispersar)
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 248, 242, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-hairline);
}
.site-header .inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
@media (max-width: 560px) {
  .site-header .inner { padding: 10px 16px; }
  .brand-lockup { gap: 9px; }
  .seal { width: 34px; height: 34px; border-width: 1.5px; }
  .seal .o { font-size: 18px; }
  .wordmark { font-size: 1.02rem; }
  .wordmark small { display: none; }
  .site-header .btn { font-size: 0.78rem; padding: 0.6rem 1.05rem; }
}

/* ============================================================
   BLOCO 1 — HERO com formulário à vista
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero::before {
  content: "";
  position: absolute;
  top: -25%; right: -10%;
  width: 900px; height: 900px;
  background: radial-gradient(closest-side, rgba(220, 175, 162, 0.38), rgba(220, 175, 162, 0) 72%);
  pointer-events: none;
}
.hero .inner { position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-areas:
    "intro form"
    "mais  form";
  gap: 0 clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
.hero-intro { grid-area: intro; }
.hero-mais  { grid-area: mais; }
.hero-form  { grid-area: form; position: sticky; top: 96px; }

.hero-intro .eyebrow { color: var(--wine-500); }
.hero-intro h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.9rem);
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.hero-intro .sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--wine-500);
  max-width: 44ch;
  margin-bottom: 1.5rem;
}
.hero-mais .entrada {
  font-size: 1.02rem;
  color: var(--umber-700);
  max-width: 54ch;
  border-left: 3px solid var(--blush-300);
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

@media (max-width: 960px) {
  .hero { padding-top: 1.25rem; }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "mais";
    gap: 0;
  }
  .hero-form { position: static; max-width: 520px; margin: 1.5rem 0 2rem; }
  .hero-intro h1 { font-size: clamp(2rem, 8vw, 2.4rem); margin-bottom: 1rem; }
  .hero-intro .sub { font-size: 1.08rem; margin-bottom: 0; }
}

/* mobile: cartão do formulário mais compacto, para o botão
   ficar o mais perto possível da dobra */
@media (max-width: 560px) {
  .form-card { padding: 1.35rem 1.25rem; }
  .form-card .form-sub { margin-bottom: 1.1rem; }
  .field { margin-bottom: 0.85rem; }
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"] { min-height: 46px; padding: 0.72rem 0.95rem; }
  .rgpd { margin: 0.9rem 0 1.1rem; }
}

/* ============================================================
   SECÇÕES — bandas
   ============================================================ */
.band       { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.band-card  { background: var(--surface-card); border-top: 1px solid var(--border-hairline); border-bottom: 1px solid var(--border-hairline); }
.band-blush { background: var(--blush-100); }
.band-blush .eyebrow { color: var(--terracotta-700); }
.band-plum  { background: var(--plum-700); }
.band-plum h2 { color: #F4E7DF; }
.band-plum .eyebrow { color: var(--terracotta-300); }
.band-plum p { color: #E7D2C6; }

/* ============================================================
   BLOCO 2 — dores + reenquadramento
   ============================================================ */
.dores { list-style: none; max-width: 62ch; }
.dores li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 1.02rem;
  line-height: 1.55;
}
.dores li:last-child { border-bottom: none; }
.dores li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.6rem;
  width: 18px; height: 1.5px;
  background: var(--terracotta-500);
}

.reenquadra {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  background: var(--blush-100);
  border-left: 4px solid var(--wine-500);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 68ch;
}
.reenquadra .abre {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  font-weight: 500;
  color: var(--wine-500);
  line-height: 1.3;
  margin-bottom: 1.1rem;
}
.reenquadra p + p { margin-top: 1rem; }
.reenquadra .fecha { font-weight: 600; color: var(--text-strong); }

/* ============================================================
   BLOCO 3 — programação
   ============================================================ */
.pontos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
}
.ponto {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.7rem;
}
.ponto .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--terracotta-500);
  margin-bottom: 0.9rem;
}
.ponto h3 { margin-bottom: 0.6rem; }
.ponto p { font-size: 0.95rem; color: var(--umber-700); }
@media (max-width: 800px) { .pontos { grid-template-columns: 1fr; } }

.fecho-programa {
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.5;
  color: var(--wine-500);
  border-left: 3px solid var(--blush-300);
  padding-left: 1.25rem;
  max-width: 52ch;
}
.nota-seguranca {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 60ch;
}

/* ============================================================
   BLOCO 4 — o que está incluído
   ============================================================ */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }
.card-item {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem 1.7rem;
}
.card-item .icone {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--terracotta-700);
  margin-bottom: 1.1rem;
}
.card-item h3 { margin-bottom: 0.6rem; }
.card-item p { font-size: 0.95rem; color: var(--umber-700); }

/* ============================================================
   BLOCO 5 — discrição (banda escura íntima)
   ============================================================ */
.discricao-lista { list-style: none; max-width: 58ch; margin-top: 2rem; }
.discricao-lista li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2.1rem;
  color: #E7D2C6;
  font-size: 1rem;
  line-height: 1.55;
}
.discricao-lista li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.15rem;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta-300);
}
.discricao-fecho {
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  color: var(--blush-300) !important;
  max-width: 46ch;
}

/* ============================================================
   BLOCO 6 — quem é a Susana
   ============================================================ */
.quem-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.quem-grid .foto { max-width: 400px; }
@media (max-width: 900px) {
  .quem-grid { grid-template-columns: 1fr; }
  .quem-grid .foto { max-width: 340px; margin: 0 auto; }
}
.citacao {
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  line-height: 1.45;
  color: var(--wine-500);
  border-left: 3px solid var(--blush-300);
  padding-left: 1.25rem;
  max-width: 40ch;
}

/* ============================================================
   BLOCO 7 — para quem é
   ============================================================ */
.contraponto {
  margin-top: 2rem;
  font-weight: 600;
  color: var(--wine-500);
  max-width: 56ch;
}

/* ============================================================
   BLOCO 8 — CTA final
   ============================================================ */
.final .linha-apoio {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  color: var(--wine-500);
  margin: -0.5rem auto 2.25rem;
  max-width: 44ch;
}
.final .form-card { max-width: 520px; margin: 0 auto; text-align: left; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--plum-800);
  padding: 3rem 0 2.5rem;
}
.site-footer .inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.site-footer .wordmark { color: #F4E7DF; font-size: 1.1rem; }
.site-footer .wordmark small { color: #967A6C; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { display: inline-block; padding: 12px 0; font-size: 0.8rem; color: #BFA091; text-decoration: none; }
.site-footer a:hover { color: var(--blush-300); }
.site-footer a.brand-lockup { display: inline-flex; padding: 0; }
.site-footer .copy-line { font-size: 0.78rem; color: #A38E7D; width: 100%; margin-top: 1rem; line-height: 1.7; }
.site-footer .aviso { font-size: 0.72rem; color: #7d6a5e; width: 100%; margin-top: 1.25rem; line-height: 1.7; max-width: 74ch; }

/* ============================================================
   BARRA CTA FIXA
   ============================================================ */
.cta-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: rgba(253, 248, 242, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-hairline);
  box-shadow: 0 -6px 24px rgba(58, 43, 35, 0.08);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform 0.3s ease, visibility 0.3s;
}
.cta-bar.visible { transform: translateY(0); visibility: visible; }
.cta-bar .inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cta-bar .info { font-size: 0.88rem; color: var(--umber-700); }
.cta-bar .info strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--wine-500); font-weight: 500; }
@media (max-width: 640px) {
  .cta-bar .info .detalhe { display: none; }
}

/* ============================================================
   PÁGINA DE OBRIGADO
   ============================================================ */

/* selo de confirmação */
.confirmado {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.confirmado .visto {
  display: inline-flex; align-items: center; justify-content: center;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--success-500);
  margin-bottom: 1.5rem;
}
.confirmado h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 1rem;
}
.confirmado .sub {
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  color: var(--umber-700);
  max-width: 46ch;
  margin: 0 auto;
}

/* os dois passos */
.passos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 2.5rem;
  align-items: start;
}
@media (max-width: 860px) { .passos { grid-template-columns: 1fr; } }

.passo {
  background: var(--surface-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.passo .etapa {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--terracotta-700);
  margin-bottom: 1rem;
}
.passo .etapa .bola {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blush-100);
  font-size: 0.85rem;
  letter-spacing: 0;
}
.passo h2 {
  font-size: 1.45rem;
  margin-bottom: 0.8rem;
  max-width: none;
}
.passo p { font-size: 0.96rem; color: var(--umber-700); }
.passo p + p { margin-top: 0.8rem; }
.passo .acao { margin-top: auto; padding-top: 1.5rem; }
.passo .btn { width: 100%; }

/* botão secundário — contorno, para o passo 2 não competir com o passo 1 */
.btn-contorno {
  background: transparent;
  color: var(--terracotta-700);
  box-shadow: inset 0 0 0 1.5px var(--terracotta-600);
}
.btn-contorno:hover {
  background: var(--terracotta-600);
  color: var(--text-on-primary);
  box-shadow: inset 0 0 0 1.5px var(--terracotta-600), var(--shadow-md);
}

/* contador */
.contador-bloco { text-align: center; }
.contador {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin: 2rem 0 1.5rem;
}
.contador .casa { min-width: 68px; }
.contador .valor {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  color: var(--blush-300);
  font-variant-numeric: tabular-nums;
}
.contador .rotulo {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--taupe-500);
}
.contador-nota { font-size: 0.95rem; }
.contador-comecou {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--blush-300);
  margin: 2rem 0 1rem;
}

/* ============================================================
   PESQUISA — pop-up da página de obrigado e página /aula/pesquisa/.
   Um só conjunto de estilos para as duas.
   ============================================================ */

/* pop-up: ecrã inteiro, nada a competir com a pergunta */
.q-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--cream-100);
  overflow-y: auto;
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vh, 56px) 24px;
}
.q-modal[hidden] { display: none; }
.q-caixa { width: 100%; max-width: 640px; }

/* o X: discreto, mas com área de toque a sério */
.q-fechar {
  position: fixed;
  top: 14px; right: 14px;
  z-index: 2;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: none;
  background: transparent;
  color: var(--taupe-500);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s ease, color 0.18s ease;
}
.q-fechar:hover { background: var(--cream-200); color: var(--umber-800); }

/* entrada de cada pergunta */
.q-palco { animation: q-entra 0.34s var(--ease-out) both; }
.q-entra-tras { animation-name: q-entra-tras; }
@keyframes q-entra { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes q-entra-tras { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .q-palco { animation: none; } }

/* topo: progresso + contagem */
.q-topo { margin-bottom: 1.8rem; }
.q-prog {
  height: 3px;
  background: var(--sand-300);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.q-prog-cheio {
  height: 100%;
  background: var(--terracotta-500);
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--ease-out);
}
.q-conta {
  margin-top: 0.7rem;
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--taupe-500);
}

.q-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.6vw, 2.25rem);
  font-weight: 500;
  line-height: 1.22;
  color: var(--text-strong);
  margin-bottom: 0.8rem;
  max-width: 22ch;
}
.q-apoio {
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.9rem;
  max-width: 46ch;
}

.q-campo { display: grid; gap: 11px; }

/* opções, com a letra do teclado à esquerda */
.q-opcao {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--text-body);
  background: var(--surface-card);
  border: 1.5px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  min-height: 56px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease;
}
.q-opcao:hover { border-color: var(--terracotta-400); background: var(--cream-50); }
.q-opcao:active { transform: scale(0.995); }
.q-letra {
  flex: none;
  width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xs);
  font-size: 0.72rem; font-weight: 700;
  color: var(--taupe-600);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.q-opcao.escolhida {
  border-color: var(--terracotta-600);
  background: var(--blush-100);
  font-weight: 600;
}
.q-opcao.escolhida .q-letra {
  background: var(--terracotta-600);
  border-color: var(--terracotta-600);
  color: var(--cream-50);
}
@media (max-width: 560px) { .q-letra { display: none; } }

.q-outra {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-strong);
  background: var(--cream-50);
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  min-height: 52px;
}
.q-outra:focus { outline: none; border-style: solid; border-color: var(--terracotta-500); box-shadow: var(--shadow-focus); }

/* caixa de texto — generosa de propósito: uma caixa pequena diz "responde curto" */
.q-area {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-strong);
  background: var(--surface-card);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.05rem 1.2rem;
  resize: vertical;
}
.q-area:focus { outline: none; border-color: var(--terracotta-500); box-shadow: var(--shadow-focus); }

.q-aviso {
  min-height: 1.2rem;
  margin-top: 0.7rem;
  font-size: 0.87rem;
  color: var(--wine-600);
}
.q-aviso:empty { min-height: 0; margin-top: 0; }

.q-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 1.6rem;
}
.q-acoes-fim { margin-top: 2rem; }

.q-dica { font-size: 0.8rem; color: var(--text-subtle); }
.q-dica kbd {
  font-family: var(--font-body);
  font-size: 0.72rem;
  background: var(--cream-200);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-xs);
  padding: 0.15rem 0.4rem;
}

.q-voltar, .q-saltar {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.7rem 0.3rem;
}
.q-voltar:hover, .q-saltar:hover { color: var(--terracotta-700); }
.q-saltar { margin-left: auto; text-decoration: underline; }

/* ecrã final */
.q-fim { text-align: center; }
.q-fim .q-titulo, .q-fim .q-apoio { max-width: none; margin-left: auto; margin-right: auto; }
.q-fim .q-acoes { justify-content: center; }
.q-visto {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blush-100);
  color: var(--success-500);
  margin-bottom: 1.3rem;
}

/* barra discreta para retomar, se ela fechar a meio */
.q-retomar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 80;
  background: var(--surface-card);
  border-top: 1px solid var(--border-hairline);
  box-shadow: 0 -6px 24px rgba(58, 43, 35, 0.08);
  padding: 12px 24px calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.q-retomar[hidden] { display: none; }
.q-retomar p { font-size: 0.88rem; color: var(--umber-700); margin: 0; }

/* página autónoma: mesmo motor, sem overlay */
.q-pagina { max-width: 640px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 24px; }

/* consentimento — discreto mas legível; é exigência legal, não letra miúda */
.q-consent {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--cream-200);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  margin-bottom: 1.6rem;
  max-width: 52ch;
}
.q-consent a { color: var(--terracotta-700); }
