﻿/* Design system — identidade Case IH (extraída de caseih.com):
   vermelho #a71930 / #8b0018, preto #1e1e1d, neutros quentes, Open Sans */

/* Open Sans self-hosted. Antes era @import do Google Fonts: serializava três viagens
   bloqueantes (base.css -> css do Google -> woff2) e dependia de terceiro domínio.
   Arquivo único variável (400-800), subset latin — cobre todo o português. */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400 800; /* variável: os 4 pesos do site saem deste arquivo */
  font-stretch: 100%;
  font-display: swap;
  src: url('../fonts/open-sans-latin-var.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;
}

:root {
  --red: #a71930;
  --red-dark: #8b0018;
  --fg: #1e1e1d;
  --fg-muted: rgba(30, 30, 29, .68);
  --accent: #a71930;
  --bg: #fff;
  --bg-subtle: #f4f4f4;
  --bg-subtle-strong: #edebe8;
  --bg-subtle-x: #ded9d4;
  --inverse: #1e1e1d;
  --inverse-strong: #000;
  --inverse-hover: #8b0018;
  --border-subtle: rgba(127, 115, 102, .3);
  --border: #7f7366;
  --r-tiny: 3px;
  --r-small: 4px;
  --r-med: 10px;
  --r-large: 14px;
  --section: clamp(56px, 9vw, 128px);
  --wrap: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--fg);
  background: var(--bg-subtle);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* height:auto é obrigatório: o build injeta width/height nas tags e sem isso o atributo
   vira altura fixa e distorce quando o container encolhe. Regras com height próprio
   (.hero-bg, .author-photo img) são mais específicas e continuam mandando. */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* Seleção de texto na cor da marca */
::selection { background: var(--red); color: #fff; }
::-moz-selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
section { padding: var(--section) 0; }

h1, h2, h3, h4 { font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.7rem); line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); line-height: 1.25; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--fg-muted); }
.muted { color: var(--fg-muted); }
/* destaque vermelho dentro dos títulos */
.hl { color: var(--red); }
.hero .hl, .cta .hl { color: #ff2233; } /* vermelho vivo: o da marca (#a71930) fica escuro demais sobre preto */

/* Botões — CTA Case IH: vermelho, retangular, texto em caixa alta */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--red); color: #fff;
  border: 0; border-radius: var(--r-small); cursor: pointer;
  padding: 14px 24px; font: 700 .9rem/1.2 "Open Sans", Arial, sans-serif;
  text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap; /* rótulo de CTA nunca quebra em duas linhas */
  text-decoration: none; transition: background .2s cubic-bezier(.25,.46,.45,.94);
}
.btn:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(167, 25, 48, .9); }
.btn { box-shadow: 0 6px 18px -12px rgba(167, 25, 48, .8); transition: background .2s, transform .2s, box-shadow .2s; }
.btn:active { transform: translateY(0); }
.btn.big { padding: 17px 30px; font-size: .95rem; }
.btn.ghost {
  background: transparent; color: var(--fg);
  box-shadow: inset 0 0 0 2px var(--fg);
}
.btn.ghost:hover { background: rgba(30, 30, 29, .07); }
/* Botão inverso para superfícies escuras/vermelhas */
.btn.lime { background: #fff; color: var(--red); }
.btn.lime:hover { background: #f1e9e9; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }

.checkout-loading {
  position: fixed; inset: 0; z-index: 1100;
  display: grid; place-items: center; padding: 24px;
  background: rgba(10, 10, 10, .72);
}
.checkout-loading-box {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: min(100%, 380px); padding: 32px 24px;
  border-radius: var(--r-large); background: #fff; color: var(--fg);
  text-align: center; box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
}
.checkout-loading-box strong { font-size: 1.1rem; line-height: 1.3; }
.checkout-loading-box > span:last-child { color: var(--fg-muted); }
.checkout-spinner {
  width: 36px; height: 36px; border: 3px solid rgba(167, 25, 48, .18);
  border-top-color: var(--red); border-radius: 50%; animation: checkout-spin .8s linear infinite;
}
@keyframes checkout-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .checkout-spinner { animation: none; } }

/* Header escuro em vidro */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 10, .92); color: #fff;
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 10px 30px -24px #000;
}
header.site .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 4vw, 32px); max-width: var(--wrap); margin: 0 auto; }
/* Nome do produtor: peso máximo, caixa alta e leve espaçamento */
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff;
  font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .04em; line-height: 1.1;
}
.logo svg { flex: none; }
.logo small {
  display: block; font-weight: 400; font-size: .72rem; letter-spacing: .02em;
  text-transform: none; color: rgba(255, 255, 255, .6); margin-top: 2px;
}
header.site .btn { padding: 10px 18px; font-size: .8rem; }
/* o CTA do topo pode quebrar: com nowrap ele alargava a barra e criava rolagem lateral no celular */
header.site .btn { white-space: normal; text-align: center; }
.mobile-home { display: none; }
.mobile-menu, .menu-panel { display: contents; }
/* <details> fechado esconde o conteúdo pelo shadow DOM, e o display:contents acima não
   alcança isso — sem esta linha a nav some no desktop. No celular quem esconde o painel
   é a regra .menu-panel{display:none}, então liberar aqui não abre o menu sozinho. */
.mobile-menu::details-content { display: contents; content-visibility: visible; }
.mobile-menu > summary { display: none; }
/* Nav do topo: menu-pílula entre as páginas; some no celular (fica o CTA + rodapé) */
header.site .site-nav {
  display: flex; align-items: center; gap: 2px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px; padding: 4px 6px;
}
header.site .site-nav a {
  color: rgba(255, 255, 255, .72); text-decoration: none;
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
  padding: 7px 16px; border-radius: 999px; transition: color .2s, background .2s;
}
header.site .site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
@media (max-width: 860px) {
  header.site { backdrop-filter: none; -webkit-backdrop-filter: none; }
  /* o blur por chip é o que travava o marquee no celular; sem ele a animação roda lisa */
  .proof { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, .1); }
  .tm-track { animation: none !important; transform: none !important; }
  .tm-rail { overflow-x: auto !important; -webkit-mask-image: none; mask-image: none; }
  .panel-top .dot { animation: none !important; }
  header.site .bar { flex-wrap: wrap; }
  .mobile-home { display: inline-flex; align-items: center; }
  header.site .site-nav {
    order: 3; width: 100%; overflow-x: auto; scrollbar-width: none;
    border: 0; border-top: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0; margin-top: 2px; padding: 7px 0 0; background: none;
  }
  header.site .site-nav::-webkit-scrollbar { display: none; }
  header.site .site-nav a { flex: none; padding: 6px 13px; }
  .mobile-cta { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(20, 20, 19, .96); }
}
@media (max-width: 560px) {
  header.site .bar { gap: 10px; padding-block: 10px; }
  .logo { min-width: 0; gap: 9px; font-size: .92rem; }
  .logo svg { width: 30px; height: 30px; }
  .logo span { min-width: 0; }
  header.site > .bar > .btn { display: none; }
}

/* Cards genéricos */
.card {
  background: var(--bg); border-radius: var(--r-large);
  border: 1px solid var(--border-subtle); padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -28px rgba(0, 0, 0, .5);
  transition: transform .25s cubic-bezier(.25,.46,.45,.94), box-shadow .25s, border-color .25s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 25, 48, .35);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 26px 48px -30px rgba(0, 0, 0, .55);
}

/* Capa real do e-book: altura livre, na proporção original da arte. Sem crop, sem moldura. */
.cover-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-small);
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .55);
}

/* Capa de e-book desenhada em CSS (placeholder até existirem as capas reais) */
.cover {
  aspect-ratio: 3 / 4; border-radius: var(--r-small);
  background: linear-gradient(165deg, #2c2c2b, #000);
  border-top: 6px solid var(--red);
  color: #fff; padding: 12% 10%;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 18px 34px -18px rgba(0, 0, 0, .55);
  position: relative; overflow: hidden;
}
.cover::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 85% -10%, rgba(167, 25, 48, .35), transparent 60%);
}
.cover .k { font-size: .6em; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cover .t { font-weight: 800; font-size: 1.05em; line-height: 1.2; letter-spacing: -.01em; text-transform: uppercase; }
.cover .m { font-size: .62em; opacity: .65; }

/* FAQ nativo */
details.faq { border-bottom: 1px solid var(--border-subtle); }
details.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 20px 4px; font-weight: 700; font-size: 1.02rem;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--red); transition: transform .2s; flex: none; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 4px 20px; color: var(--fg-muted); max-width: 60ch; }

/* Faixa de ancoragem para a coleção completa */
.band {
  background: var(--inverse); color: #fff; border-radius: var(--r-med);
  border-left: 6px solid var(--red);
  padding: clamp(28px, 4vw, 48px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.band h3, .band h2 { color: #fff; }
.band .accent { color: #fff; }
.band p { color: rgba(255, 255, 255, .8); }

/* Barra fixa inferior no celular, em vidro */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(20, 20, 19, .72);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  color: #fff; border-top: 1px solid rgba(167, 25, 48, .5);
  box-shadow: 0 -12px 32px -24px #000;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-cta .p { font-size: .82rem; line-height: 1.3; }
.mobile-cta .p strong { display: block; font-size: .92rem; }
.mobile-cta .btn { flex: none; padding: 11px 16px; font-size: .8rem; background: var(--red); color: #fff; }
@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  :root { --section: 52px; }
  /* clip, não hidden: hidden faz do body um container de rolagem e mata o
     position: sticky do header. clip corta igual sem criar o container.
     hidden fica como piso: Safari < 16 não conhece clip e descarta a linha —
     lá o header volta a não grudar, mas não aparece rolagem lateral. */
  html, body { overflow-x: hidden; overflow-x: clip; }
  .wrap { padding-inline: 16px; }
  section { scroll-margin-top: 58px; }
  h1 { font-size: clamp(1.9rem, 9vw, 2.45rem); overflow-wrap: anywhere; }
  h2 { font-size: clamp(1.6rem, 7.5vw, 2rem); overflow-wrap: anywhere; }
  .lead { font-size: 1rem; }
  .card { padding: 20px; }
  .btn, .btn.big { width: 100%; max-width: 100%; padding: 14px 16px; white-space: normal; text-align: center; }
  header.site .btn { width: auto; }
  .band { align-items: stretch; padding: 24px 20px; }
  .band .btn { width: 100%; }
  .mobile-cta { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 8px; }
  .mobile-cta .p { min-width: 0; font-size: .72rem; }
  .mobile-cta .p strong { font-size: .8rem; }
  .mobile-cta .btn { width: auto; max-width: 112px; padding: 10px 12px; font-size: .7rem; }
}

/* Tabela comparativa */
.compare { width: 100%; border-collapse: collapse; background: var(--bg); border-radius: var(--r-med); overflow: hidden; font-size: .95rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border-subtle); }
.compare th { font-weight: 700; background: var(--inverse); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.compare tr:last-child td { border-bottom: 0; }
.compare td:first-child { font-weight: 700; }
.compare .hl { background: rgba(167, 25, 48, .07); box-shadow: inset 4px 0 0 var(--red); }
.table-scroll { overflow-x: auto; border-radius: var(--r-med); border: 1px solid var(--border-subtle); }

footer.site {
  background: #0a0a0a; color: rgba(255, 255, 255, .7);
  padding: clamp(48px, 6vw, 72px) 0 32px; font-size: .88rem;
  border-top: 4px solid var(--red);
}
footer.site a { color: #fff; text-decoration: none; }

/* colunas */
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-brand .logo { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: rgba(255, 255, 255, .55); font-size: .88rem; max-width: 42ch; line-height: 1.6; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .85);
  transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.footer-social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }

.footer-col h3 {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .45); margin-bottom: 16px;
}
.footer-col a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .8); font-size: .9rem; transition: color .2s, padding-left .2s; }
.footer-col a:hover { color: #fff; padding-left: 4px; }

/* rodapé do rodapé: copyright à esquerda, disclaimer à direita */
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: flex-start;
  padding-top: 28px; font-size: .8rem; color: rgba(255, 255, 255, .45);
}
.footer-bottom > span { flex: none; padding-top: 2px; }
.footer-bottom .disclaimer {
  flex: 1 1 420px; max-width: 70ch; text-align: right;
  font-size: .76rem; line-height: 1.6; color: rgba(255, 255, 255, .4);
}

/* assinatura da agência, isolada e centralizada */
.credit-row {
  display: flex; justify-content: center;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.credit-row .credit {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; color: rgba(255, 255, 255, .4);
}
.credit-row .credit img { height: 18px; width: auto; opacity: .7; transition: opacity .2s; }
.credit-row .credit:hover img { opacity: 1; }
@media (max-width: 720px) { .footer-bottom .disclaimer { text-align: left; } }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand .logo { justify-content: center; }
  .footer-brand p { margin-inline: auto; } /* tem max-width: 42ch, senão a caixa fica à esquerda */
  .footer-social { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  /* vem depois do @media 720px de propósito: lá o disclaimer é forçado à esquerda */
  .footer-bottom .disclaimer { text-align: center; margin-inline: auto; }
}

/* ============================================================
   Cabeçalho escuro das páginas internas (ebooks, combos)
   mesmo idioma do hero do home: preto + brilho vermelho + retícula
   ============================================================ */
.inner-hero {
  position: relative; isolation: isolate; color: #fff;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(167, 25, 48, .40), transparent 60%),
    radial-gradient(50% 100% at 95% 10%, rgba(167, 25, 48, .22), transparent 60%),
    var(--inverse);
  padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px);
}
.inner-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(rgba(0, 0, 0, .4) .9px, transparent 1px) 0 0 / 5px 5px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent);
  mask-image: linear-gradient(180deg, #000, transparent);
  opacity: .5;
}
/* foto de fundo: mesmo tratamento do .author-bg (cinza + 14%), pra virar textura e não
   disputar com o texto centralizado. -2 põe ela sob a retícula do ::before. */
.inner-hero .hero-bg {
  z-index: -2; object-position: center;
  filter: grayscale(100%) contrast(1.05);
  opacity: .14;
}
.inner-hero .wrap { text-align: center; }
.inner-hero h1 { color: #fff; }
.inner-hero .lead { color: rgba(255, 255, 255, .75); margin-left: auto; margin-right: auto; }
.inner-hero .eyebrow {
  display: inline-block; margin-bottom: 16px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 6px 16px;
}

/* ============================================================
   Seções compartilhadas (Sobre / FAQ+Garantia / Fechamento)
   usadas em index, ebooks e combos. Editar aqui reflete em todas.
   ============================================================ */

/* Autoridade: bloco escuro, foto com selo de vidro e credenciais em chip */
.author {
  /* sem overflow: hidden — ele anularia o position: sticky da foto */
  position: relative; isolation: isolate;
  color: #fff;
  background:
    radial-gradient(60% 80% at 10% 0%, rgba(167, 25, 48, .35), transparent 65%),
    radial-gradient(55% 70% at 95% 100%, rgba(167, 25, 48, .25), transparent 65%),
    var(--inverse);
}
.author-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  opacity: .14;
}
.author::before { /* grade técnica em traço claro, por cima da foto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent);
}
.author-grid { display: grid; grid-template-columns: minmax(0, 400px) 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.author h2 { color: #fff; max-width: 18ch; }
.author .lead { color: rgba(255, 255, 255, .74); margin-top: 20px; max-width: 52ch; }
.author-photo {
  position: sticky; top: 96px; /* 96px = header fixo + respiro */
  aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(160deg, #2c2c2b, #111);
  border: 1px solid rgba(255, 255, 255, .12);
  display: grid; place-items: center; text-align: center; padding: 20px;
  color: rgba(255, 255, 255, .5); font-size: .9rem;
  box-shadow: 0 50px 90px -50px #000;
}
.author-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.author-badge { /* selo de vidro pousado na base da foto */
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1;
  padding: 14px 16px; border-radius: 16px; text-align: left;
  background: rgba(20, 20, 19, .6);
  border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.author-badge b { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.author-badge span { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.author-quote {
  margin-top: 24px; padding-left: 20px; border-left: 3px solid var(--red);
  font-size: clamp(1.2rem, 1.7vw, 1.6rem); font-weight: 700; line-height: 1.35; color: #fff;
}
.author-quote::before { content: "\201C"; }
.author-quote::after { content: "\201D"; }
.creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.cred {
  padding: 18px 16px; border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .25s, border-color .25s, background .25s;
}
.cred:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); }
.cred-ico {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(150deg, #c02141, var(--red-dark)); color: #fff;
  box-shadow: 0 10px 20px -10px rgba(167, 25, 48, .95), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.cred strong { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.cred span { font-size: .84rem; color: rgba(255, 255, 255, .62); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.author .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); }
.author .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
.ico-social { width: 18px; height: 18px; flex: none; }
@media (max-width: 900px) {
  .author-grid { grid-template-columns: 1fr; }
  .author h2 { max-width: none; }
  /* relative, não static: a foto interna é absolute e precisa deste card como âncora.
     com static ela escapava e preenchia a .author inteira, tapando o texto.
     top: auto é obrigatório junto — o top: 96px do sticky vira offset real no relative. */
  .author-photo { position: relative; top: auto; max-width: 380px; }
  .creds { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .author-photo { width: 100%; max-width: none; border-radius: var(--r-med); }
  .author-badge { left: 12px; right: 12px; bottom: 12px; padding: 12px; }
  .author-badge b { font-size: 1.15rem; }
  .author-quote { padding-left: 16px; }
  .socials { display: grid; grid-template-columns: 1fr; }
}

/* Garantia + FAQ lado a lado: perguntas à esquerda, garantia fixa à direita */
.faq-grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-grid .promise { order: 2; }
.faq-grid .faq-list { order: 1; }
.faq-list h2 { margin-bottom: 24px; }
.faq-list .a .btn { margin-top: 20px; }
.promise {
  position: sticky; top: 96px;
  isolation: isolate; overflow: hidden;
  border-radius: 24px; background: var(--inverse); color: #fff;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 40px 80px -50px #000;
}
.promise-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: grayscale(60%) brightness(.55) contrast(1.05);
}
.promise::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(rgba(0, 0, 0, .35) 1.1px, transparent 1.2px) 0 0 / 10px 10px,
    linear-gradient(160deg, rgba(15, 15, 14, .88) 0%, rgba(15, 15, 14, .8) 55%, rgba(15, 15, 14, .62) 100%);
}
.promise-body { text-align: center; }
.promise-body h2 { margin-inline: auto; color: #fff; font-size: clamp(1.4rem, 2vw, 1.9rem); }
.promise-seal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 12px; border-radius: 999px; margin-bottom: 20px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.promise-seal svg { width: 18px; height: 18px; color: #ff2233; flex: none; }
.promise-body p { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.promise-body .btn { margin-top: 28px; width: 100%; }
.promise .accent { color: #ff2233; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  /* top: auto junto do relative: o top: 96px do sticky viraria offset e empurraria
     o bloco 96px pra baixo, por cima do FAQ. */
  .promise { position: relative; top: auto; }
  /* sem inverter a ordem aqui: a garantia fica depois do FAQ, como no desktop */
}
@media (max-width: 560px) {
  details.faq summary { align-items: flex-start; padding-block: 17px; font-size: .95rem; }
  .promise { padding: 24px 20px; border-radius: var(--r-med); }
  .promise-seal { padding-inline: 10px 12px; font-size: .7rem; }
}

/* Fechamento — CTA de largura total com foto ao fundo */
.cta {
  position: relative; isolation: isolate;
  padding: clamp(90px, 13vw, 180px) 0;
  background: var(--inverse);
  color: #fff;
  border-top: 4px solid var(--red);
}
.cta .cta-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(rgba(0, 0, 0, .45) .9px, transparent 1px) 0 0 / 5px 5px,
    linear-gradient(90deg, rgba(15, 15, 14, .94) 0%, rgba(15, 15, 14, .82) 40%, rgba(15, 15, 14, .38) 75%, rgba(15, 15, 14, .25) 100%),
    linear-gradient(180deg, rgba(15, 15, 14, .5), transparent 40%);
}
.cta h2 { max-width: 20ch; color: #fff; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }
@media (max-width: 700px) {
  .cta::before { background: linear-gradient(180deg, rgba(15,15,14,.9), rgba(15,15,14,.82)); }
  .cta h2 { max-width: none; text-align: center; }
  .cta { padding: 72px 0; }
  .cta-actions { display: grid; margin-top: 28px; }
}
.btn.outline { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.btn.outline:hover { background: rgba(255, 255, 255, .12); }

/* ============================================================
   "Veja como os materiais são organizados" — painel vermelho
   compartilhado (home + ebooks). Ver partials/organizados.html
   ============================================================ */
.showcase-panel {
  position: relative; overflow: hidden;
  border-radius: clamp(24px, 3vw, 40px);
  background: radial-gradient(120% 120% at 0% 0%, #c02141 0%, var(--red) 45%, var(--red-dark) 100%);
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  min-height: 440px; display: flex; align-items: center;
}
.showcase-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 52px 52px;
}
.showcase-copy { position: relative; z-index: 2; max-width: 31rem; color: #fff; }
.showcase-copy h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.4; }
.showcase-copy .chip {
  display: inline-block;
  background: #fff; color: var(--red); border-radius: var(--r-med); padding: .04em .3em .1em;
  line-height: 1.1; white-space: nowrap;
}
.showcase-copy p { margin-top: 20px; color: rgba(255, 255, 255, .72); font-size: 1rem; line-height: 1.65; max-width: 44ch; }
.showcase .pill {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 28px;
  background: #fff; color: var(--red); font-weight: 700; font-size: .95rem;
  border-radius: 999px; padding: 14px 26px;
  box-shadow: 0 16px 42px rgba(139, 0, 24, .45);
  transition: transform .15s, background .15s;
}
.showcase .pill:hover { background: rgba(255, 255, 255, .9); }
.showcase .pill:active { transform: scale(.97); }
.showcase-shot { position: absolute; right: 4%; bottom: 0; width: 44%; max-width: 520px; z-index: 1; pointer-events: none; }
.showcase-shot img { width: 100%; display: block; }
@media (max-width: 760px) {
  .showcase-panel { flex-direction: column; align-items: stretch; padding: 32px 20px 0; min-height: 0; border-radius: var(--r-med); }
  .showcase-copy { max-width: none; text-align: center; }
  .showcase-copy h2 { font-size: clamp(1.3rem, 6.4vw, 1.8rem); line-height: 1.5; }
  .showcase-line { display: block; white-space: nowrap; }
  .showcase-copy p { margin-left: auto; margin-right: auto; }
  .showcase-shot { position: static; width: 100%; max-width: 480px; margin: 32px auto 0; }
}

/* ============================================================
   Hero + marquee de capas — compartilhado (home e combos).
   Marca: partials/hero-covers.html
   ============================================================ */

/* Barra de provas: marquee de chips de vidro sobre o preto.
   Marca: partials/proofbar.html — o override mobile de .proof está lá em cima, no @media 860px. */
.proofbar {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 140% at 20% 0%, rgba(167, 25, 48, .35), transparent 70%),
    radial-gradient(50% 140% at 85% 100%, rgba(167, 25, 48, .22), transparent 70%),
    var(--inverse);
  padding: 10px 0;
}
.proofbar-track { display: flex; align-items: center; gap: 12px; width: max-content; animation: proof-slide 42s linear infinite; }
@keyframes proof-slide { to { transform: translateX(calc(-50% - 6px)); } } /* -6px = metade do gap */
.proofbar:hover .proofbar-track { animation-play-state: paused; }
.proof { /* chip de vidro */
  display: inline-flex; align-items: center; gap: 9px; flex: none; white-space: nowrap;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .9); font-size: .84rem; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.proof-ico { /* selo do ícone dentro do chip */
  display: grid; place-items: center; flex: none;
  width: 28px; height: 28px; border-radius: 999px;
  background: linear-gradient(150deg, var(--red), var(--red-dark));
  color: #fff; box-shadow: 0 5px 12px -5px rgba(167, 25, 48, .9);
}
.proof-ico svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) { .proofbar-track { animation: none; } }

/* Hero — foto da máquina ao fundo do preto */
.hero {
  --hero-pad: clamp(48px, 6vw, 88px);
  position: relative; isolation: isolate; overflow: hidden;
  /* degradê preto: é ele que preenche o que sobra do banner, em vez de cortar o topo da foto */
  background: linear-gradient(180deg, #000 0%, #1a1a19 55%, var(--inverse) 100%);
  color: #fff;
  padding-top: var(--hero-pad);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom; /* preenche o hero inteiro */
}
/* trama de pontos + sombra preta em degradê sobre a foto do hero */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    /* retícula fina */
    radial-gradient(rgba(0, 0, 0, .45) .9px, transparent 1px) 0 0 / 5px 5px,
    /* escurece topo e base */
    linear-gradient(180deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.2) 30%, rgba(0,0,0,.45) 65%, rgba(0,0,0,.92) 100%),
    /* escurece o lado do texto */
    linear-gradient(90deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.1) 100%);
  opacity: .95;
}

/* luz vermelha que segue o mouse (só no hero) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, -100%),
              rgba(214, 40, 70, .38), rgba(167, 25, 48, .18) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0; transition: opacity .35s ease;
}
.hero:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero::after { display: none; } }
/* o hero cresce junto com a tela, em vez de travar em 1200px */
.hero { --hero-h: clamp(620px, 46vw, 960px); min-height: var(--hero-h); }
/* o wrap (não o hero) centraliza o conteúdo: assim as capas, que são absolutas
   dentro dele, conseguem alcançar o topo e a base da seção com margem negativa */
.hero .wrap {
  position: relative; max-width: min(1680px, 94vw);
  display: flex; align-items: center;
  min-height: calc(var(--hero-h) - var(--hero-pad) - var(--section));
}
.hero .grid { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: #fff; font-size: clamp(1.9rem, 2.7vw, 3.6rem); }
.hero .lead { color: rgba(255, 255, 255, .78); font-size: clamp(1.02rem, 1.15vw, 1.35rem); }
/* título e subtítulo quebram na mesma medida: o bloco fica alinhado dos dois lados */
.hero .grid > div:first-child {
  max-width: clamp(420px, 44vw, 700px);
  padding-right: clamp(16px, 3vw, 56px);
}
.hero h1, .hero .lead { max-width: 100%; }
/* Carrossel das capas: duas colunas, absolutas, do topo à base do hero */
.hero-visual { /* ancorado no container (não na janela) e crescendo junto com a tela */
  position: absolute; z-index: 0;
  top: calc(-1 * var(--hero-pad)); bottom: calc(-1 * var(--section)); right: 0;
  width: clamp(320px, 40vw, 700px);
  /* o recorte acontece na borda do padding: essa folga lateral é o que impede
     a capa inclinada de ser cortada (overflow-x: visible não serve, vira auto e cria scrollbar) */
  overflow: hidden; padding-inline: 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.4vw, 24px);
}
.hero-visual { perspective: 900px; } /* dá profundidade ao tilt das capas */
.hero-visual .col { display: flex; flex-direction: column; gap: 14px; animation: rise 34s linear infinite; }
.hero-visual .col.slow { animation-duration: 44s; animation-direction: reverse; }

/* capa com borda em degradê girando */
.ebook {
  position: relative; flex: none;
  padding: 2px; border-radius: 22px; overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s;
}
.ebook::before { /* o degradê cônico que gira por trás da capa */
  content: ""; position: absolute; z-index: 0;
  top: 50%; left: 50%; width: 180%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background:
    conic-gradient(from 0deg at 50% 50%, transparent 0deg, #ff2233 60deg, transparent 60.1deg),
    conic-gradient(from 0deg at 50% 50%, transparent 190deg, var(--red) 250deg, transparent 250.1deg);
  filter: blur(14px);
  animation: rotacao-borda 8s linear infinite;
}
.ebook .cover-img { position: relative; z-index: 1; width: 100%; height: auto; border-radius: 20px; box-shadow: none; }
/* sombra atrás do livro: sempre presente, mais profunda no hover */
.ebook { box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .85), 0 8px 18px -10px rgba(0, 0, 0, .6); }
.ebook:hover { box-shadow: 0 44px 80px -30px #000, 0 12px 26px -12px rgba(0, 0, 0, .7); }
@keyframes rotacao-borda { to { transform: translate(-50%, -50%) rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .ebook::before { animation: none; } }
@keyframes rise { to { transform: translateY(calc(-50% - 7px)); } } /* -7px = metade do gap */
.hero-visual:hover .col { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .hero-visual .col { animation: none; } }
/* celular e tablet: hero em coluna; as capas viram um marquee horizontal de uma linha */
@keyframes slide-x { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 860px) {
  .hero { min-height: 0; display: block; padding-bottom: clamp(36px, 8vw, 60px); }
  .hero .wrap { max-width: 100%; }
  .hero .grid { grid-template-columns: 1fr; }
  .hero .grid > div:first-child { padding-right: 0; }
  .hero h1, .hero .lead { max-width: none; }
  .hero-visual {
    position: static; width: auto; margin-top: 28px; padding-inline: 0;
    display: block; overflow-x: auto;
    -webkit-mask-image: none; mask-image: none;
  }
  .hero-visual .col.slow { display: none; }
  .hero-visual .col { flex-direction: row; width: max-content; gap: 12px; animation: slide-x 34s linear infinite; will-change: transform; }
  .hero-visual .ebook { width: 116px; }
  .ebook::before { display: none; animation: none; }
}
@media (max-width: 560px) {
  .hero { --hero-pad: 40px; padding-bottom: 36px; }
  .hero .wrap { min-height: 0; padding-inline: 16px; }
  .hero h1 { font-size: clamp(1.9rem, 9vw, 2.45rem); }
  .hero .lead { font-size: 1rem; }
  .hero-visual { margin-top: 24px; }
  .hero-visual .ebook { width: 96px; }
  .inner-hero { padding: 40px 0 36px; }
  .inner-hero .eyebrow { max-width: 100%; font-size: .66rem; white-space: normal; }
}

/* Menu mobile nativo: mantém todo texto recolhido atrás do hambúrguer. */
@media (max-width: 860px) {
  header.site .bar { flex-wrap: nowrap; }
  .mobile-home { display: none; }
  .mobile-menu { display: block; position: relative; margin-left: auto; }
  .mobile-menu > summary {
    display: grid; place-content: center; gap: 5px;
    width: 42px; height: 42px; border-radius: 8px; cursor: pointer; list-style: none;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .07);
  }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .mobile-menu > summary span { width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  .mobile-menu[open] > summary span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu[open] > summary span:nth-child(2) { opacity: 0; }
  .mobile-menu[open] > summary span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu:not([open]) > .menu-panel { display: none; }
  .mobile-menu[open] > .menu-panel {
    position: fixed; inset: 0; z-index: 1;
    display: grid; align-content: start; gap: 8px;
    width: auto; overflow-y: auto;
    /* ponytail: 78px ≈ altura do header; se mudar o padding da .bar, ajuste aqui */
    padding: 78px 16px calc(16px + env(safe-area-inset-bottom));
    border: 0; border-radius: 0; box-shadow: none;
    background: #151514;
  }
  /* logo e hambúrguer sobem acima do overlay, senão não há como fechar o menu */
  .mobile-menu > summary, header.site .bar .logo { position: relative; z-index: 2; }
  /* o header é z-index 50 e o .mobile-cta é 60: sem isso a barra de CTA fura o overlay */
  header.site:has(.mobile-menu[open]) { z-index: 70; }
  /* no html, não no body: o overflow do body só chega ao viewport se o html
     estiver visible, e a ≤560px ele não está. */
  html:has(.mobile-menu[open]) { overflow: hidden; }
  header.site .mobile-menu .site-nav {
    display: grid; width: 100%; overflow: visible; margin: 0; padding: 0;
    border: 0; border-radius: 0; background: none;
  }
  header.site .mobile-menu .site-nav a { padding: 12px 14px; border-radius: 6px; }
  header.site .mobile-menu .btn { display: flex; justify-content: center; width: 100%; margin-top: 2px; }
}
@media (max-width: 560px) {
  /* o nome fica; quem sai é só o subtítulo (.logo small, escondido lá em cima) */
  header.site .logo span { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .hero-visual .col { animation: none; transform: none; will-change: auto; }
}
