/* =====================================================================
   Read Veritas Books  |  style.css
   Paleta: marinho (das capas e do logo), papel e dourado.
   Tipografia: Newsreader (títulos e prosa) + Source Sans 3 (interface).
   ===================================================================== */

/* ---------- tokens ---------- */
:root {
  --navy-900: #061b33;
  --navy-800: #082848;
  --navy-700: #0f3a68;
  --navy-100: #d9e2ee;
  --paper: #f5efe3;
  --paper-2: #ebe2cf;
  --paper-3: #d9ccae;
  --white: #fffdf8;
  --ink: #14243a;
  --ink-2: #4a5a70;
  --ink-3: #75839a;
  --gold: #f8b818;
  --gold-2: #dfa00a;
  --gold-ink: #7e5b00;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-ui: "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(60px, 8vw, 108px);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 74px;
  --shadow-cover: 0 22px 44px -20px rgba(6, 27, 51, 0.6);
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
html.nav-open, html.nav-open body { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.16em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.008em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--navy-900); padding: 10px 14px; border-radius: 8px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.85em 1.5em; border-radius: 10px; border: 1.5px solid transparent;
  font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem; line-height: 1.15; text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-2); }
.btn-navy { background: var(--navy-800); color: var(--paper); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(245, 239, 227, 0.45); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.12rem; padding: 1em 1.8em; }

/* ---------- etiquetas e preços ---------- */
.tag { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.01em; padding: 0.22em 0.65em; border-radius: 999px; background: var(--paper-2); color: var(--ink-2); }
.tag-gold { background: var(--gold); color: var(--navy-900); }
.price { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1em; margin: 0.25rem 0 0.85rem; }
.price-old { color: var(--ink-3); font-size: 0.92rem; }
.price-now { font-size: 1.55rem; font-weight: 700; color: var(--navy-800); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price-label { display: inline; font-size: 0.74rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; margin-right: 0.45em; vertical-align: 0.35em; }

/* ---------- cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245, 239, 227, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.header.is-scrolled { border-bottom-color: var(--paper-3); box-shadow: 0 8px 24px -20px rgba(6, 27, 51, 0.35); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(0.6rem, 2vw, 1.8rem); }
.nav-links { display: flex; gap: clamp(0.6rem, 2vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: var(--navy-800); padding: 0.4em 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { border-bottom-color: var(--gold); }
.lang { display: inline-flex; border: 1.5px solid var(--navy-100); border-radius: 999px; padding: 3px; gap: 2px; background: var(--white); }
.lang a { text-decoration: none; font-size: 0.82rem; font-weight: 700; padding: 0.35em 0.7em; border-radius: 999px; color: var(--navy-800); letter-spacing: 0.02em; }
.lang a[aria-current="true"] { background: var(--navy-800); color: var(--paper); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--navy-100); border-radius: 10px; background: var(--white); position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 12px; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle span { top: 21px; }
.menu-toggle span::before { top: -6px; left: 0; }
.menu-toggle span::after { top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--paper); overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(88px, 10vw, 132px); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 78% 40%, rgba(248, 184, 24, 0.22), transparent 70%), radial-gradient(40% 50% at 10% 90%, rgba(15, 58, 104, 0.8), transparent 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.05rem, 3.6vw + 1rem, 3.7rem); color: var(--white); margin-bottom: 0.45em; }
.hero-lead { font-family: var(--font-display); font-size: clamp(1.12rem, 1.1vw + 0.8rem, 1.36rem); line-height: 1.5; color: rgba(245, 239, 227, 0.86); max-width: 56ch; margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem 1rem; align-items: center; margin-bottom: 1.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 0 0 1.3rem; padding: 0; list-style: none; font-size: 0.95rem; color: rgba(245, 239, 227, 0.8); }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5em; }
.hero-trust li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.hero-langs { font-size: 0.95rem; color: rgba(245, 239, 227, 0.75); display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.6rem; }
.hero-langs a { color: var(--paper); text-decoration: none; border: 1px solid rgba(245, 239, 227, 0.35); padding: 0.28em 0.75em; border-radius: 999px; font-weight: 600; font-size: 0.86rem; }
.hero-langs a[aria-current="true"] { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }
.hero-langs a:hover { border-color: var(--gold); }
.fan { position: relative; height: clamp(300px, 34vw, 470px); }
.fan-item { position: absolute; left: 50%; top: 50%; width: clamp(160px, 17vw, 240px); transform: translate(-50%, -50%) rotate(0deg); transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-cover); background: var(--navy-800); }
.fan-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.fan-1 { z-index: 1; }
.fan-2 { z-index: 3; }
.fan-3 { z-index: 2; }
.fan.is-open .fan-1 { transform: translate(-96%, -46%) rotate(-11deg); }
.fan.is-open .fan-2 { transform: translate(-50%, -54%) rotate(0deg) scale(1.06); }
.fan.is-open .fan-3 { transform: translate(-4%, -46%) rotate(11deg); }
@media (prefers-reduced-motion: reduce) { .fan-item { transition: none; } }

/* ---------- folhas (seções) ---------- */
.sheet { position: relative; background: var(--paper); }
.sheet-first { margin-top: -34px; border-radius: 28px 28px 0 0; z-index: 2; }
.section { padding: var(--section) 0; }
.section-head { max-width: 68ch; margin-bottom: clamp(24px, 3vw, 40px); }
.section-title { font-size: clamp(1.75rem, 2.3vw + 0.8rem, 2.55rem); margin-bottom: 0.35em; }
.section-lead { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.on-navy { background: var(--navy-800); color: var(--paper); }
.on-navy .section-title { color: var(--white); }
.on-navy .section-lead { color: rgba(245, 239, 227, 0.8); }
.on-paper-2 { background: var(--paper-2); }

/* ---------- destaque ---------- */
.spotlight { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 56px); align-items: center; background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); padding: clamp(18px, 3vw, 36px); }
.spotlight + .spotlight { margin-top: clamp(20px, 3vw, 32px); }
.spotlight.is-reverse .spotlight-media { grid-column: 2; grid-row: 1; }
.spotlight.is-reverse .spotlight-body { min-width: 0;  grid-column: 1; grid-row: 1; }
.spotlight-media { display: block; border-radius: 10px; overflow: hidden; background: radial-gradient(70% 70% at 50% 40%, #12365f, var(--navy-900)); }
.spotlight-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; padding: 4%; }
.spotlight-kicker { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.9rem; }
.spotlight-title { font-size: clamp(1.55rem, 1.6vw + 0.9rem, 2.2rem); margin-bottom: 0.3em; }
.spotlight-sub { font-weight: 600; color: var(--navy-700); margin-bottom: 0.8rem; }
.spotlight-desc { font-family: var(--font-display); font-size: 1.1rem; line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.spotlight .price-now { font-size: 2rem; }
.spotlight-trust { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--ink-2); margin: 1rem 0 0; }
.spotlight-trust img { height: 20px; width: auto; }

/* ---------- catálogo ---------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; padding: 0.9rem 1.2rem; margin-bottom: clamp(22px, 3vw, 36px); background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius-sm); font-size: 0.95rem; color: var(--ink-2); }
.trust-strip img { height: 22px; width: auto; }
.filters { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px 2px 12px; margin-bottom: clamp(18px, 2.5vw, 28px); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 0.45em; border: 1.5px solid var(--navy-100); background: var(--white); color: var(--navy-800); border-radius: 999px; padding: 0.5em 1em; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease; }
.chip:hover { border-color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); color: var(--paper); border-color: var(--navy-800); }
.chip-count { font-size: 0.78em; opacity: 0.7; font-weight: 700; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); gap: clamp(14px, 2vw, 24px); }
.grid-empty { grid-column: 1 / -1; padding: 2rem; text-align: center; color: var(--ink-2); font-family: var(--font-display); font-size: 1.1rem; }
.card[hidden], .grid-empty[hidden], .cookies[hidden] { display: none; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.card:hover { border-color: var(--navy-100); box-shadow: 0 16px 30px -22px rgba(6, 27, 51, 0.5); }
.card-cover { display: block; background: radial-gradient(80% 70% at 50% 30%, #12365f, var(--navy-900)); }
.card-cover img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 7%; transition: transform 0.35s ease; }
.card:hover .card-cover img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .card-cover img, .card:hover .card-cover img { transition: none; transform: none; } }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 0.95rem 1rem 1.1rem; }
.card-meta { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0 0 0.55rem; }
.card-title { font-size: 1.12rem; line-height: 1.22; margin: 0 0 0.35rem; }
.card-title a { text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-sub { font-size: 0.88rem; line-height: 1.4; color: var(--ink-2); margin: 0 0 0.5rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card .price { margin-top: auto; }

/* ---------- por que ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.why-item { padding: clamp(18px, 2vw, 26px) clamp(16px, 2vw, 22px); background: rgba(6, 27, 51, 0.45); border: 1px solid rgba(245, 239, 227, 0.12); border-radius: var(--radius); }
.why-icon { width: 54px; height: 54px; background-color: var(--gold); -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; margin-bottom: 1rem; }
.why-item h3 { font-size: 1.32rem; color: var(--white); margin-bottom: 0.4em; }
.why-item p { margin: 0; color: rgba(245, 239, 227, 0.82); font-size: 0.98rem; line-height: 1.5; }

/* ---------- autores ---------- */
.authors { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 36px); }
.author { display: grid; grid-template-columns: 132px 1fr; gap: clamp(16px, 2vw, 26px); background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); padding: clamp(18px, 2.4vw, 28px); align-items: start; }
.author img { width: 132px; height: 132px; object-fit: cover; border-radius: 12px; }
.author h3 { font-size: 1.45rem; margin-bottom: 0.25em; }
.author-role { font-size: 0.92rem; font-weight: 600; color: var(--navy-700); margin-bottom: 0.7rem; }
.author p { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.5; color: var(--ink-2); margin: 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius-sm); margin-bottom: 0.7rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.15rem; font-family: var(--font-display); font-size: 1.18rem; font-weight: 500; color: var(--navy-800); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--navy-800); border-bottom: 2px solid var(--navy-800); transform: rotate(45deg); transition: transform 0.2s ease; margin-right: 4px; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 0; padding: 0 1.15rem 1.1rem; color: var(--ink-2); line-height: 1.55; font-family: var(--font-display); font-size: 1.05rem; }

/* ---------- CTA final ---------- */
.cta { text-align: left; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; }
.cta h2 { font-size: clamp(1.6rem, 2vw + 0.8rem, 2.3rem); color: var(--white); margin: 0 0 0.3em; max-width: 24ch; }
.cta p { margin: 0; color: rgba(245, 239, 227, 0.8); max-width: 52ch; font-family: var(--font-display); font-size: 1.1rem; }

/* ---------- rodapé ---------- */
.footer { background: var(--navy-900); color: rgba(245, 239, 227, 0.8); padding: clamp(44px, 6vw, 72px) 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: clamp(24px, 4vw, 56px); margin-bottom: clamp(24px, 4vw, 40px); }
.footer-brand { display: inline-block; background: var(--paper); border-radius: 12px; padding: 12px 16px; margin-bottom: 1rem; }
.footer-brand img { height: 56px; width: auto; }
.footer h4 { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; color: var(--gold); margin: 0 0 0.8em; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 0.45em; }
.footer a { color: var(--paper); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-legal { font-size: 0.86rem; line-height: 1.55; color: rgba(245, 239, 227, 0.62); border-top: 1px solid rgba(245, 239, 227, 0.14); padding-top: 1.4rem; }
.footer-legal p { margin-bottom: 0.6em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1.2rem; font-size: 0.86rem; color: rgba(245, 239, 227, 0.62); }
.social { display: flex; gap: 0.6rem; margin-top: 0.8rem; }
.social a { display: inline-flex; align-items: center; padding: 0.45em 1em; border-radius: 999px; border: 1px solid rgba(245, 239, 227, 0.3); font-weight: 600; font-size: 0.9rem; }
.social a:hover { border-color: var(--gold); }

/* ---------- cookies ---------- */
.cookies { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); width: min(100% - 24px, 720px); z-index: 60; background: var(--white); color: var(--ink); border: 1px solid var(--paper-3); border-radius: 12px; box-shadow: 0 20px 40px -20px rgba(6, 27, 51, 0.5); padding: 0.9rem 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.7rem 1rem; font-size: 0.92rem; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1 1 260px; }
.cookies a { color: var(--navy-700); }
.cookies-actions { display: flex; gap: 0.5rem; }
.cookies .btn { padding: 0.55em 1em; font-size: 0.92rem; }
.btn-quiet { background: var(--paper-2); color: var(--navy-800); }
.btn-quiet:hover { background: var(--paper-3); }

/* ---------- páginas legais ---------- */
.legal-page { padding: clamp(40px, 6vw, 80px) 0; }
.legal-page .prose { max-width: 76ch; }
.legal-page h1 { font-size: clamp(2rem, 3vw + 0.8rem, 3rem); }
.legal-page h2 { font-size: 1.7rem; margin-top: 2.2em; padding-top: 1.2em; border-top: 1px solid var(--paper-3); }
.legal-page h3 { font-size: 1.2rem; font-family: var(--font-ui); font-weight: 700; margin-top: 1.6em; }
.legal-page p, .legal-page li { font-family: var(--font-display); font-size: 1.08rem; line-height: 1.6; color: var(--ink-2); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1.2rem 0 2rem; }
.legal-note { background: var(--paper-2); border-left: 4px solid var(--gold); padding: 0.9rem 1.1rem; border-radius: 0 8px 8px 0; font-size: 0.95rem; }

/* ---------- entrada suave ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   RESPONSIVO
   ===================================================================== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 46px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; }
  .nav.is-open .nav-links { display: flex; position: absolute; left: 0; right: 0; top: var(--header-h); flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--paper-3); padding: 0.5rem var(--gutter) 1rem; box-shadow: 0 20px 30px -20px rgba(6, 27, 51, 0.4); }
  .nav.is-open .nav-links a { display: block; padding: 0.85em 0; border-bottom: 1px solid var(--paper-2); font-size: 1.05rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .fan { height: clamp(250px, 46vw, 360px); margin-top: 0.5rem; }
  .fan-item { width: clamp(150px, 30vw, 220px); }
  .spotlight { grid-template-columns: 1fr; }
  .spotlight.is-reverse .spotlight-media, .spotlight.is-reverse .spotlight-body { grid-column: auto; grid-row: auto; }
  .spotlight-media img { aspect-ratio: 4 / 3; }
  .authors { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 0.75rem 0.75rem 0.9rem; }
  .card-title { font-size: 1.02rem; }
  .card-sub { display: none; }
  .price-now { font-size: 1.32rem; }
  .card .btn { padding: 0.7em 0.9em; font-size: 0.95rem; }
  .why-grid { grid-template-columns: 1fr; }
  .author { grid-template-columns: 1fr; }
  .author img { width: 110px; height: 110px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cookies-actions { width: 100%; }
  .cookies-actions .btn { flex: 1; }
}
@media (max-width: 400px) {
  .fan-item { width: 138px; }
  .lang a { padding: 0.35em 0.5em; }
}

/* =====================================================================
   V2: AIDA e âncoras visuais
   ===================================================================== */
/* fatos do hero */
.hero-trust strong { color: var(--gold); font-weight: 700; font-size: 1.05em; }

/* destaque: benefícios, faixa do que está incluído e bônus */
.benefits-title { font-weight: 600; color: var(--navy-800); margin: 0.2rem 0 0.4rem; }
.benefits { list-style: none; margin: 0 0 1.1rem; padding: 0; display: grid; gap: 0.4rem; }
.benefits li { position: relative; padding-left: 1.7rem; color: var(--ink-2); line-height: 1.4; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23061b33' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.spotlight-extra { grid-column: 1 / -1; min-width: 0; max-width: 100%; border-top: 1px solid var(--paper-2); padding-top: clamp(16px, 2vw, 24px); margin-top: 0.4rem; }
.strip-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--navy-800); margin: 0 0 0.8rem; }
.strip { list-style: none; margin: 0 0 1.2rem; padding: 4px 2px 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.strip li { flex: 0 0 116px; scroll-snap-align: start; }
.strip img { width: 116px; height: 160px; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 22px -14px rgba(6, 27, 51, 0.7); background: var(--navy-900); }
.strip span { display: block; font-size: 0.76rem; line-height: 1.25; color: var(--ink-2); margin-top: 0.45rem; }
.bonus-box { background: var(--paper); border: 1px dashed var(--paper-3); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem; }
.bonus-title { font-weight: 700; color: var(--navy-800); margin: 0 0 0.5rem; }
.bonus-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 0.3rem 1.2rem; color: var(--ink-2); font-size: 0.95rem; }
.bonus-list li { padding-left: 1.1rem; position: relative; }
.bonus-list li::before { content: "+"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 700; }
.bonus-note { margin: 0.6rem 0 0; font-size: 0.86rem; color: var(--ink-3); }

/* como funciona: sequência numerada */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); counter-reset: passo; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--gold); font-family: var(--font-display); font-size: 1.5rem; display: inline-flex; align-items: center; justify-content: center; }
.step h3 { font-size: 1.25rem; margin-bottom: 0.3em; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }

/* garantia */
.guarantee { display: grid; grid-template-columns: 200px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); padding: clamp(22px, 3.5vw, 44px); }
.guarantee .section-title { font-size: clamp(1.5rem, 1.8vw + 0.8rem, 2.1rem); }
.guarantee .section-lead { margin-bottom: 1.2rem; }
.badge-7 { width: 180px; height: 180px; border-radius: 50%; margin: 0 auto; background: var(--navy-800); border: 6px solid var(--gold); box-shadow: 0 0 0 6px var(--navy-800), 0 20px 40px -22px rgba(6, 27, 51, 0.6); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--paper); text-align: center; }
.badge-7-num { font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--gold); }
.badge-7-txt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; max-width: 8ch; line-height: 1.15; margin-top: 0.3rem; }

/* CTA fixo (só no celular) */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.6rem var(--gutter) calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: rgba(6, 27, 51, 0.96); color: rgba(245, 239, 227, 0.85); font-size: 0.86rem; transform: translateY(110%); transition: transform 0.3s ease; }
  .sticky-cta.is-on { transform: none; }
  .sticky-cta .btn { padding: 0.65em 1.1em; font-size: 0.95rem; white-space: nowrap; }
  .cookies { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
  html.cookies-open .sticky-cta { display: none; }
  .steps { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: center; }
  .guarantee .section-head, .guarantee .section-lead { margin-inline: auto; }
  .badge-7 { width: 150px; height: 150px; }
  .badge-7-num { font-size: 3.4rem; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* =====================================================================
   BLOG
   ===================================================================== */
.post-hero { background: var(--navy-900); color: var(--paper); padding: clamp(32px, 5vw, 64px) 0 clamp(28px, 4vw, 48px); }
.post-hero h1 { color: var(--white); font-size: clamp(1.9rem, 2.8vw + 0.9rem, 3rem); max-width: 26ch; margin-bottom: 0.4em; }
.crumbs { font-size: 0.88rem; color: rgba(245, 239, 227, 0.7); margin-bottom: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.crumbs a { color: var(--paper); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: rgba(245, 239, 227, 0.85); }
.post-meta { margin: 0; color: rgba(245, 239, 227, 0.75); font-size: 0.95rem; }
.post-lead { font-family: var(--font-display); font-size: 1.15rem; max-width: 62ch; color: rgba(245, 239, 227, 0.85); }
.post-cover { margin-top: -18px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-cover); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 5vw, 64px); padding: clamp(28px, 4vw, 56px) 0; align-items: start; }
.post-body { max-width: 72ch; }
.post-body p, .post-body li { font-family: var(--font-display); font-size: 1.14rem; line-height: 1.62; color: var(--ink); }
.post-body p { margin-bottom: 1.15em; }
.post-body h2 { font-size: clamp(1.45rem, 1.4vw + 0.8rem, 1.9rem); margin: 1.8em 0 0.6em; }
.post-body h3 { font-size: 1.25rem; margin: 1.4em 0 0.5em; }
.post-body ol, .post-body ul { padding-left: 1.4em; margin: 0 0 1.2em; }
.post-body li { margin-bottom: 0.45em; }
.post-body a { color: var(--navy-700); text-decoration-thickness: 1.5px; }
.post-body a:hover { color: var(--gold-ink); }
.post-aside { position: sticky; top: calc(var(--header-h) + 16px); background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); padding: 1.2rem; }
.post-aside-title { font-size: 1.25rem; margin-bottom: 0.9rem; }
.post-aside-note { font-size: 0.85rem; color: var(--ink-2); margin: 1rem 0 0; }
.post-ebook { display: grid; grid-template-columns: 84px 1fr; gap: 0.9rem; text-decoration: none; color: inherit; padding: 0.75rem 0; border-top: 1px solid var(--paper-2); align-items: center; }
.post-ebook:first-of-type { border-top: 0; padding-top: 0; }
.post-ebook img { width: 84px; aspect-ratio: 4 / 5; object-fit: contain; border-radius: 6px; background: var(--navy-900); }
.post-ebook-body { display: flex; flex-direction: column; gap: 0.35rem; }
.post-ebook-body strong { font-family: var(--font-display); font-weight: 500; font-size: 1.02rem; line-height: 1.25; }
.post-ebook-price { font-weight: 700; color: var(--navy-800); }
.post-ebook .btn { padding: 0.5em 0.9em; font-size: 0.9rem; align-self: flex-start; }
.post-related { padding: 0 0 clamp(40px, 6vw, 80px); }
.post-related .section-title { font-size: clamp(1.5rem, 1.6vw + 0.8rem, 2rem); margin-bottom: 1rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(16px, 2.5vw, 28px); margin-bottom: 1.5rem; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--paper-3); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.post-card:hover { border-color: var(--navy-100); box-shadow: 0 16px 30px -22px rgba(6, 27, 51, 0.5); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1rem 1.1rem 1.2rem; }
.post-card-body strong { font-family: var(--font-display); font-weight: 500; font-size: 1.22rem; line-height: 1.25; color: var(--navy-800); }
.post-card-body span { color: var(--ink-2); font-size: 0.95rem; line-height: 1.45; }
.post-card-more { color: var(--gold-ink) !important; font-weight: 600; margin-top: 0.2rem; }
.post-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; }
}
