/* =========================================================================
   The Ingredient Brief — Design System "Berry Press" (r04, 18/07/2026)
   Linho + vinho-cranberry + sage; CTA âmbar-queimado = única cor quente
   saturada (regra medida no KetoSana: o olho vai direto ao botão).
   Plus Jakarta Sans self-hosted. Mobile-first (tráfego 100% mobile) ·
   WCAG AA >= 4.5:1 · :focus-visible · prefers-reduced-motion.

   1. Chrome estrutural (.site-header/.site-footer/.container/.prose/.legal/
      .cmp-banner) + 2. componentes de conversão (seção 22: .adv-hero,
      .offer-line, .pkg-cards, .ad-label, .buybar, captura). Comentado por seção.
   ========================================================================= */

/* ====================== 0. FONTES (self-hosted) ========================
   Plus Jakarta Sans self-hospedada (SIL OFL — ver assets/fonts/OFL.txt).
   Elimina o render-block do Google Fonts (~834ms confirmado no /qa-lp).
   É uma fonte VARIÁVEL: 1 woff2 por subset cobre o eixo de peso 400–700,
   por isso o mesmo arquivo é referenciado em todos os font-weight.
   Subsets latin + latin-ext (acentos pt-BR). font-display: swap.
   Os pesos críticos (latin) são pré-carregados via <link rel="preload"> no <head>.
   ----------------------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;             /* eixo variável: cobre 400/500/600/700 */
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fallback ajustado por métrica: enquanto a webfont carrega (swap), o texto usa
   Arial reescalado para casar as métricas de Plus Jakarta Sans → swap sem CLS.
   Valores Capsize/fontaine (PJS sobre Arial). Entra em --font-sans ANTES das
   fontes de sistema cruas, para que o fallback do swap seja o ajustado. */
@font-face {
  font-family: "Plus Jakarta Sans Fallback";
  src: local("Arial");
  ascent-override: 92.7%;
  descent-override: 23.16%;
  line-gap-override: 0%;
  size-adjust: 104.34%;
}

/* ============================ 1. TOKENS (:root) ========================= */
:root {
  /* --- Cores: "Berry Press" (The Ingredient Brief, r04 — escolha do dono 18/07) ---
     Linho quente + vinho-cranberry dessaturado (remete ao ingrediente do rótulo) +
     sage de apoio. O CTA âmbar-queimado é a ÚNICA cor quente saturada da página
     (regra medida no KetoSana: o olho vai direto ao botão). Tudo tokenizado; o
     HTML não tem hex cravado. Contrastes WCAG AA anotados por par. */
  --bg:            #FAF6F0;   /* linho claro — fundo geral */
  --bg-rgb:        250, 246, 240;  /* canais de --bg p/ header translúcido */
  --surface:       #FFFFFF;   /* superfície de card/painel */
  --primary:       #7C2D4A;   /* vinho-cranberry — marca (textual: ~8.6:1 s/ branco, AA) */
  --primary-text:  #63243C;   /* vinho profundo p/ ênfase textual (~10.9:1 s/ branco) */
  --secondary:     #8FA382;   /* sage — acento decorativo (NÃO-textual) */
  --cta:           #B45309;   /* âmbar-queimado — ação (branco 4.6:1, AA UI/large) */
  --cta-hover:     #92400E;   /* âmbar profundo — hover (branco 6.3:1, AA) */
  --ink:           #262219;   /* texto principal (quase-preto quente, ~14:1) */
  --muted:         #5A544B;   /* texto secundário (~6.2:1 s/ linho, AA) */
  --border:        #EDE4D8;   /* hairline quente */
  --border-strong: #DBCDBB;   /* hairline de destaque */

  /* Aliases de compatibilidade: nomes que o CSS/HTML antigos esperavam.
     Mantidos para que nada referencie variável inexistente. */
  --text:       var(--ink);
  --panel:      var(--surface);
  --line:       var(--border);
  --line-bright:var(--border-strong);
  --ink-muted:  var(--muted);
  --warn:       var(--cta);

  /* --- Tipografia: Plus Jakarta Sans (self-hosted; @font-face na seção 0) ---
     "Plus Jakarta Sans Fallback" (Arial reescalado) absorve o swap sem CLS. */
  --font-sans: "Plus Jakarta Sans", "Plus Jakarta Sans Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Escala clamp() da v1 */
  --fs-h1:    clamp(2.1rem, 1.4rem + 3vw, 3.6rem);
  --fs-h2:    clamp(1.75rem, 1.3rem + 2vw, 2.5rem);
  --fs-h3:    clamp(1.15rem, 1.05rem + 0.6vw, 1.4rem);
  --fs-lead:  clamp(1.05rem, 0.98rem + 0.5vw, 1.25rem);
  --fs-body:  1rem;
  --fs-small: 0.85rem;
  --lh-tight: 1.15;
  --lh-body:  1.6;

  /* --- Forma / espaço --- */
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 18px;
  --maxw:      1120px;
  --maxw-prose: 42rem;
  --gap:       clamp(36px, 5.5vw, 72px); /* espaço vertical entre seções */
  --pad-x:     24px;

  /* Espaçamentos nomeados (compat com HTML que usa var(--space-*) inline) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  /* --- Sombras (tons do ink quente, herdam a paleta via --shadow-rgb) --- */
  --shadow-rgb: 38, 34, 25;  /* base das sombras (ink quente) */
  --shadow-sm: 0 4px 18px -14px rgba(var(--shadow-rgb), 0.35);
  --shadow:    0 14px 40px -22px rgba(var(--shadow-rgb), 0.45);
  --shadow-lg: 0 20px 50px -30px rgba(var(--shadow-rgb), 0.50);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* (Temas alternativos kraft/olive removidos na r04 — a paleta oficial é a
   Berry Press do :root; troca futura de tema = trocar só os tokens acima.) */

/* ============================ 2. RESET / BASE =========================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { max-width: 100%; display: block; height: auto; }
a { color: var(--primary-text); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 {
  font-family: var(--font-sans);
  line-height: var(--lh-tight);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--space-2);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 var(--space-2); color: var(--muted); }
strong, b { color: var(--ink); font-weight: 600; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em; background: var(--bg);
  border: 1px solid var(--border); border-radius: 6px; padding: 0.1em 0.4em;
}

/* Foco visível (a11y) */
:focus-visible { outline: 3px solid var(--primary-text); outline-offset: 3px; border-radius: 6px; }

/* Skip link (estrutural — preservado) */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff;
  font-size: var(--fs-small); font-weight: 600;
  padding: var(--space-1) var(--space-2); border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ============================ 3. LAYOUT / UTILS ========================= */
/* .container = grade principal do site (estrutural — preservado) */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
/* .wrap = equivalente da v1 (alias para LPs novas que usam .wrap) */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

.prose { max-width: var(--maxw-prose); }
.muted { color: var(--muted); }
.small { font-size: var(--fs-small); }
.mono  { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.center { text-align: center; }
.center .eyebrow { display: inline-block; }

/* .section = bloco vertical (estrutural — preservado). Usa o gap da v1. */
.section { padding-block: var(--gap); border-top: 1px solid var(--border); }
/* <section> nu (LPs v1 que não usam .section) */
section { padding-block: var(--gap); }

/* .section-tag (home) e .eyebrow (v1) — mesmo papel: rótulo de seção. */
.section-tag,
.eyebrow {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary-text); margin-bottom: 14px;
}

/* .lead = subtítulo de seção/hero */
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); }
.center .lead { max-width: 62ch; margin-inline: auto; }

/* ============================ 4. HEADER (sticky + blur) ================= */
/* .site-header = chrome real do site. header.site = variante v1 p/ LPs. */
.site-header,
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(var(--bg-rgb), 0.85); /* fundo translúcido (= --bg, themeable) */
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--border);
}
/* Masthead centrado (pedido do dono, 19/07): marca no CENTRO em cima,
   menu centrado embaixo — em todas as larguras, estilo publicação. */
.site-header .container {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 62px; padding-top: 10px; padding-bottom: 8px;
}
/* .nav da v1 (LP): wrapper flex de header */
header.site .nav,
.site-header .nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--pad-x); max-width: var(--maxw); margin-inline: auto;
}

/* Marca / logo */
.brand,
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--ink);
}
.brand:hover, .logo:hover { text-decoration: none; }
.brand .logo-mark { width: 26px; height: 26px; flex: 0 0 auto; color: var(--primary); }
.brand b { color: var(--primary); font-weight: 700; }
.logo .mark {
  width: 30px; height: 30px; border-radius: 8px; flex: 0 0 auto;
  background: var(--primary); display: grid; place-items: center; color: #fff;
}

/* Nav de links (home) */
/* `.site-header nav` (elemento nu) além de `.nav`: as 27 páginas usam <nav> sem classe, e sem esta
   regra os links do menu perdem o flex e viram texto corrido — o cabeçalho quebrava em 3 linhas no
   celular (medido em 390px). Corrigir no CSS, não em 27 arquivos. */
.site-header .nav,
.site-header nav { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.site-header .brand { white-space: nowrap; }

/* Mobile: marca + 4 links não cabem lado a lado em 390px (a marca quebrava em 3 linhas).
   Empilha — marca em cima, menu embaixo — e deixa o menu rolar em vez de quebrar.
   O tráfego desta property é 100% mobile: este é o layout PADRÃO, não o caso de borda. */
@media (max-width: 640px) {
  .site-header nav,
  .site-header .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    gap: var(--space-2);
    padding-bottom: 2px;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a,
  .site-header .nav a { font-size: 0.86rem; }
}
.site-header .nav a,
.site-header nav a { color: var(--muted); font-size: 0.95rem; font-weight: 500; white-space: nowrap; }
.site-header .nav a:hover,
.site-header nav a:hover { color: var(--primary-text); text-decoration: none; }
/* CTA no header (v1) */
header.site .btn,
.site-header .nav .btn { padding: 11px 18px; font-size: 0.92rem; }
/* o .btn-cta do header precisa vencer o `.nav a { color: var(--muted) }` (especificidade) */
.site-header .nav a.btn-cta,
.site-header .nav a.btn-cta:hover { color: #fff; }
@media (max-width: 640px) {
  .site-header .nav { gap: var(--space-2); }
  .nav-hide-sm { display: none; }
  /* CTA do header atropela o layout apertado do mobile; o CTA do hero (topo) e a
     barra sticky de compra (no scroll) cobrem a conversão. */
  .site-header .nav .btn-cta { display: none; }
}

/* ============================ 5. BOTÕES ================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-size: 1rem; font-weight: 600; line-height: 1;
  padding: 16px 28px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: background 0.18s var(--ease), transform 0.18s var(--ease),
              border-color 0.18s var(--ease), color 0.18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { flex: 0 0 auto; }

/* CTA laranja (ação principal) */
.btn-cta { background: var(--cta); color: #fff; border-color: var(--cta); }
.btn-cta:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; }

/* Botão fantasma (secundário) */
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--primary); color: var(--ink); }

/* .btn-primary = alias usado pelo HTML atual (home/forms/CMP) → estilo CTA. */
.btn-primary { background: var(--cta); color: #fff; border-color: var(--cta); }
.btn-primary:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-1px); }

/* Linha de CTAs (home: .cta-row · v1: .hero-cta) */
.cta-row,
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-4); }

/* ============================ 6. HERO ================================== */
.hero { padding-top: clamp(32px, 4.5vw, 56px); }
.hero-main { max-width: 36rem; }
.hero h1 { font-size: var(--fs-h1); margin-bottom: var(--space-3); }
.hero .sub,
.hero .lead { font-size: var(--fs-lead); margin-top: 20px; max-width: 54ch; color: var(--muted); }

/* ====================== 8. CARDS / GRIDS / LISTAS ====================== */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }
/* Responsivo DEPOIS da base (senão a base sobrescreve por ordem de fonte). */
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; margin-bottom: 10px; }

/* Lista de checks (v1) */
ul.checks { list-style: none; display: grid; gap: 16px; margin: 0; padding: 0; }
ul.checks li { display: flex; gap: 12px; align-items: flex-start; }
ul.checks li svg { flex: 0 0 auto; margin-top: 3px; color: var(--primary); }
ul.checks li b { color: var(--ink); font-weight: 600; }

/* ====================== 11. GARANTIA ================================== */
.guarantee {
  display: flex; flex-direction: column; gap: 20px; align-items: center;
  flex-wrap: wrap; justify-content: center; text-align: center;
}
.guarantee .seal {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--primary);
  display: grid; place-items: center; color: var(--primary);
}

/* ====================== 12. LEAD MAGNET (v1) ========================== */
.lead-magnet {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 48px); box-shadow: var(--shadow-lg);
}
.form-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.form-row input[type="email"], .form-row input[type="text"] {
  flex: 1 1 240px; font-family: inherit; font-size: 1rem; padding: 15px 16px;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink);
}
.form-row input::placeholder { color: #64748B; }
.form-row .btn-cta, .form-row .btn-primary { flex: 0 0 auto; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 12px; }

/* ====================== 13. FORMS (estrutural — home/contato) ========= */
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-2); }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-field input, .form-field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: #64748B; }
.form-field input:focus, .form-field textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(46, 107, 67, 0.18); }
.form-status { font-size: var(--fs-small); margin-top: var(--space-1); min-height: 1.2em; }
.form-status[data-state="ok"]  { color: #0F766E; }   /* teal-700, AA sobre claro */
.form-status[data-state="err"] { color: #B91C1C; }   /* red-700, AA sobre claro */

/* FAQ em parágrafos (advertorial r04 usa .faq > p, não <details>) */
.faq > p {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 12px;
}

/* ====================== 14. FAQ <details> (v1) ======================== */
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0; margin-bottom: 14px; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; color: var(--ink);
  font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform 0.2s var(--ease); color: var(--primary-text); flex: 0 0 auto; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .ans { padding: 0 24px 22px; color: var(--muted); }
.faq-disclaimer {
  margin-top: 26px; font-size: 0.9rem; color: var(--muted); background: var(--bg);
  border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: 18px 20px;
}

/* ====================== 16. DISCLOSURE DE AFILIADO ==================== */
.affiliate-disclosure {
  display: block; font-size: var(--fs-small); line-height: 1.6; color: var(--muted);
  background: var(--bg); border: 1px solid var(--border); border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm); padding: var(--space-2) var(--space-3); margin-block: var(--space-4) 0;
}
.affiliate-disclosure strong { color: var(--ink); }
/* Variante compacta de 1 linha, colada abaixo de cada CTA (FTC: clara e próxima;
   a versão em box acima fica para topo/rodapé) */
.affiliate-disclosure.inline {
  background: none; border: 0; padding: 0; margin-block: 6px 0;
  font-size: 0.78rem; text-align: center;
}

/* ====================== 17. CONTEÚDO LEGAL =========================== */
.legal { max-width: var(--maxw-prose); }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); margin-bottom: var(--space-3); }
.legal h2 { font-size: var(--fs-h2); margin-top: var(--space-4); }
.legal h3 { font-size: var(--fs-h3); margin-top: var(--space-3); }
.legal ul { padding-left: 1.2rem; color: var(--muted); }
.legal li { margin-bottom: 0.4rem; }
.legal a { color: var(--primary-text); text-decoration: underline; text-underline-offset: 2px; }
.placeholder { font-family: ui-monospace, monospace; font-size: 0.85em; color: var(--cta-hover); }

/* ====================== 18. FOOTER =================================== */
/* .site-footer = footer real do site. footer.site = variante v1 p/ LPs. */
.site-footer,
footer.site {
  background: var(--bg); border-top: 1px solid var(--border); margin-top: 0;
  padding-block: 44px 56px; font-size: 0.9rem; color: var(--muted);
}
.site-footer .container,
footer.site .frow {
  display: flex; flex-wrap: wrap; gap: 18px;
  justify-content: space-between; align-items: flex-start;
}
.site-footer strong, footer.site strong { color: var(--ink); font-weight: 700; }
.site-footer nav,
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a,
footer .links a { color: var(--muted); text-decoration: none; }
.site-footer a:hover,
footer .links a:hover { color: var(--primary-text); }
footer .brand-disc {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border);
  max-width: 70ch; font-size: 0.84rem;
}

/* ====================== 19. BANNER DE CONSENTIMENTO (CMP) ============= */
/* Injetado por consent.js — classes não podem mudar. */
.cmp-banner {
  position: fixed; inset: auto 0 0 0; z-index: 80;
  background: var(--surface); border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 30px -20px rgba(var(--shadow-rgb), 0.5);
  padding: var(--space-3);
  transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.cmp-banner::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.cmp-banner[data-open="true"] { transform: translateY(0); }
.cmp-banner .cmp-inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3);
}
.cmp-banner p { flex: 1 1 320px; margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }
.cmp-banner a { color: var(--primary-text); }
.cmp-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.cmp-actions .btn { padding: 0.7rem 1.15rem; font-size: 0.92rem; }

/* ====================== 21. LP CONVERSÃO (v2) ======================== */
/* Outcome nos cards */
.takeaway {
  margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border);
  color: var(--ink); font-size: 0.95rem;
}
.takeaway b { color: var(--primary-text); }

/* Demonstração — artefatos reais */
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 36px; }
.demo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  /* overflow-x: auto (era `hidden`): uma tabela de comparação larga CORTAVA no celular em vez de
     rolar — medido em 390px: tabela de 555px dentro de um container de 340px, e as colunas de
     custo/dia (o ponto do artigo) sumiam. O tráfego desta property é 100% mobile. */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}
.demo-card > h3 { margin: 0; padding: 18px 20px 0; }
.demo-card > p { margin: 0; padding: 6px 20px 0; color: var(--muted); }
.demo-table {
  width: calc(100% - 40px); margin: 14px 20px 20px; border-collapse: collapse; font-size: 0.9rem;
  /* a tabela não encolhe abaixo do legível: prefere rolar (regra acima) a espremer a coluna */
  min-width: 34rem;
}
.demo-table th, .demo-table td {
  text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.demo-table thead th {
  color: var(--muted); font-weight: 600; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.demo-table tbody td { color: var(--muted); }
.demo-table tbody td b { color: var(--ink); font-weight: 600; }
.demo-table tbody tr:last-child td { border-bottom: none; }
/* Eco de garantia colado ao botão */
.guarantee-echo {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 0.9rem; color: var(--muted); text-align: left;
}
.guarantee-echo svg { color: var(--primary); flex: 0 0 auto; }

/* Barra sticky de compra (mobile/tablet) */
.buybar {
  position: fixed; inset: auto 0 0 0; z-index: 70;
  background: var(--surface); border-top: 1px solid var(--border-strong);
  box-shadow: 0 -10px 30px -20px rgba(var(--shadow-rgb), 0.5);
  padding: 10px 14px; transform: translateY(110%); transition: transform 0.3s var(--ease);
}
.buybar[data-show="true"] { transform: translateY(0); }
.buybar .inner {
  max-width: var(--maxw); margin-inline: auto;
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
}
.buybar .bb-info { display: flex; flex-direction: column; line-height: 1.2; }
.buybar .bb-info b { color: var(--ink); font-size: 0.95rem; }
.buybar .bb-info span { color: var(--muted); font-size: 0.75rem; }
.buybar .btn { padding: 11px 18px; white-space: nowrap; }
@media (min-width: 760px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .buybar { display: none; } }

/* ====================== 20. prefers-reduced-motion =================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .btn:active, .btn-primary:hover { transform: none; }
}

/* honeypot anti-spam: fora da tela sem display:none (bots às vezes ignoram display:none) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Tabelas do advertorial (r03: rótulo ingrediente-a-ingrediente + pacotes/preço).
   Mobile-first: a tabela NÃO espreme coluna — rola dentro do wrap (o body nunca rola no eixo X). */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--space-3) 0; }
.prose .table-wrap table { width: 100%; min-width: 30rem; border-collapse: collapse; font-size: 0.92rem; }
.prose .table-wrap th, .prose .table-wrap td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.prose .table-wrap thead th {
  color: var(--muted); font-weight: 600; font-size: 0.74rem;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.prose .table-wrap tbody tr:last-child td { border-bottom: none; }

/* Figura do produto (imagem oficial de afiliado do vendor) */
.product-figure { margin: var(--space-3) 0; text-align: center; }
.product-figure img { max-width: min(420px, 100%); height: auto; }
.product-figure figcaption { color: var(--muted); margin-top: 6px; }

/* ====================== 15. CAPTURA (spec 0003) ======================= */
/* Box inline do checklist (advertorial, DEPOIS dos CTAs de venda) — visual
   editorial, deliberadamente mais quieto que o .btn-cta de venda. */
.capture-box {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--primary); border-radius: var(--radius-sm);
  padding: clamp(20px, 4vw, 30px); margin: var(--space-3) 0;
}
.capture-box h3 { margin: 0 0 8px; font-size: 1.15rem; }
.capture-box p { margin: 0 0 4px; }
.capture-consent { font-size: 0.78rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* Slide-in de saída (capture.js decide quando mostrar; nunca cobre um CTA) */
.capture-slidein {
  position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60;
  max-width: 460px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 20px 22px;
  animation: capture-in 0.25s var(--ease) both;
}
@keyframes capture-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .capture-slidein { animation: none; } }
.capture-slidein h3 { margin: 0 0 6px; font-size: 1.05rem; padding-right: 32px; }
.capture-slidein p { margin: 0 0 4px; font-size: 0.9rem; color: var(--muted); }
.capture-slidein-close {
  position: absolute; top: 10px; right: 10px;
  background: none; border: 0; cursor: pointer; color: var(--muted);
  font-size: 1.3rem; line-height: 1; padding: 6px;
}
.capture-slidein-close:hover { color: var(--ink); }

/* ====================== 22. CONVERSÃO r04 (fórmulas KetoSana) =========== */
/* Rótulo de anúncio (FTC: claro e conspícuo; discreto ≠ ilegível — AA mantido).
   Era classe órfã sem regra nenhuma; agora é o kicker do advertorial. */
.ad-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 10px; margin: 14px 0 6px;
}
.ad-label::before { content: ""; width: 22px; height: 2px; background: var(--secondary); }

/* Hero do advertorial: "a 1ª tela É a página" (95% não rolam) — tudo o que
   decide precisa caber em ~660px de viewport útil no iPhone. */
.adv-hero { text-align: center; padding-top: 4px; }
.adv-hero h1 {
  font-size: clamp(1.4rem, 1.05rem + 2.3vw, 2.2rem);
  line-height: 1.18; margin: 4px 0 6px; letter-spacing: -0.01em;
}
.adv-hero .sub { font-size: 0.95rem; color: var(--muted); max-width: 34rem; margin: 0 auto 8px; }
.adv-hero .product-shot {
  display: block; width: min(150px, 40vw); height: auto; margin: 6px auto 6px;
}
.adv-hero .btn-cta { width: 100%; max-width: 420px; font-size: 1.05rem; padding: 15px 22px; }
.adv-hero .hero-alt { display: block; margin-top: 10px; font-size: 0.9rem; color: var(--primary-text); }

/* Linha de oferta: preços + garantia em UMA linha, ACIMA do botão (KetoSana r07) */
.offer-line {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 4px 10px; margin: 4px auto 12px; font-size: 0.92rem; color: var(--muted);
}
.offer-line b { color: var(--ink); font-weight: 700; }
.offer-line .sep { color: var(--border-strong); }

/* Cards de pacote (informativos — o pacote é escolhido no order page do vendor) */
.pkg-cards { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 22px 0 6px; }
@media (min-width: 760px) { .pkg-cards { grid-template-columns: repeat(3, 1fr); } }
.pkg-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px; text-align: center;
}
.pkg-card .pkg-name { font-weight: 600; color: var(--ink); }
.pkg-card .pkg-price { font-size: 1.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; margin: 6px 0 2px; }
.pkg-card .pkg-per { font-size: 0.85rem; color: var(--muted); }
.pkg-card .pkg-ship { font-size: 0.8rem; color: var(--muted); margin: 6px 0 12px; }
.pkg-card .btn { width: 100%; }
.pkg-card.best { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.pkg-card.best .pkg-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px;
  white-space: nowrap;
}

/* Rodapé legal: os parágrafos pesados moram aqui (o rótulo e as disclosures
   de 1 linha continuam no corpo — trava FTC/gate) */
.legal-footnotes { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.legal-footnotes p { margin-bottom: 10px; }

/* Mock visual do checklist (squeeze) — zero imagem, zero peso */
.magnet-mock {
  width: min(210px, 56vw); margin: 12px auto; background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: var(--shadow);
  padding: 16px 14px; text-align: left; transform: rotate(-1.5deg);
}
.magnet-mock .mm-title { height: 10px; width: 70%; background: var(--primary); border-radius: 3px; margin-bottom: 10px; opacity: 0.85; }
.magnet-mock .mm-line { height: 6px; background: var(--border-strong); border-radius: 3px; margin: 7px 0; }
.magnet-mock .mm-line.short { width: 55%; }
.magnet-mock .mm-check { display: flex; gap: 8px; align-items: center; margin: 8px 0; }
.magnet-mock .mm-check::before {
  content: "✓"; color: var(--primary-text); font-weight: 700; font-size: 0.8rem;
}
.magnet-mock .mm-check .mm-line { flex: 1; margin: 0; }
