/* Fake Marketing — landing (mobile first)
   Paleta: um vermelho só (o da capa) + salmão das barras como apoio. */
:root {
  --black: #000;
  --ink: #0d0d0d;
  --ink-2: #161515;
  --ink-3: #242222;
  --red: #e83338;      /* vermelho da capa */
  --salmon: #e76c5a;   /* barras da capa (apoio) */
  --white: #fff;
  --text: #f2f0ef;
  --muted: #b9b4b2;    /* 9.6:1 sobre --ink */
  --line: #3a3636;
  --radius: 10px;
  --wrap: 1120px;
  --font-title: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-text: "Barlow", Arial, sans-serif;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-text);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--salmon); text-underline-offset: 3px; }
a:hover { color: var(--white); }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.05; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--salmon); outline-offset: 3px; border-radius: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--black); padding: 10px 14px; font-weight: 600; border-radius: 6px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  font: 700 1.1875rem/1.1 var(--font-title); letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: 8px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
/* Texto branco 19px bold sobre o vermelho = texto grande (contraste 4.2:1, AA para texto grande) */
.btn-buy { background: var(--red); color: var(--white); }
.btn-buy:hover { background: var(--white); color: var(--black); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--salmon); color: var(--white); }
.btn-whats { background: var(--white); color: var(--black); }
.btn-whats:hover { background: var(--salmon); color: var(--black); }
.btn-lg { min-height: 56px; font-size: 1.375rem; padding: 14px 28px; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 1.1875rem; } /* ≥19px bold: mantém o critério de texto grande do AA */
.btn-block { width: 100%; }

/* ---------- "Fake" glitch / riscado (só nesta palavra) ---------- */
.fake { position: relative; display: inline-block; color: var(--red); }
.fake::before, .fake::after { position: absolute; inset: 0; pointer-events: none; }
/* fatia deslocada em salmão (glitch) */
.fake::before { content: attr(data-text); color: var(--salmon); clip-path: inset(100% 0 0 0); animation: glitch-a 4.2s steps(1) infinite; }
/* corte escuro horizontal, como na capa (riscado) */
.fake::after {
  content: "";
  background: linear-gradient(transparent 46%, var(--ink) 46%, var(--ink) 52%, transparent 52%);
  animation: glitch-b 3.6s steps(1) infinite;
}
@keyframes glitch-a {
  0%, 86%, 96%, 100% { transform: none; clip-path: inset(100% 0 0 0); }
  88% { transform: translateX(.06em); clip-path: inset(62% 0 22% 0); }
  91% { transform: translateX(-.08em); clip-path: inset(30% 0 56% 0); }
  94% { transform: translateX(.04em); clip-path: inset(10% 0 80% 0); }
}
@keyframes glitch-b {
  0%, 86%, 100% { transform: translateY(0); }
  88% { transform: translateY(-14%); }
  92% { transform: translateY(10%); }
}
.site-header .fake::after, .site-footer .fake::after { background: linear-gradient(transparent 46%, var(--black) 46%, var(--black) 54%, transparent 54%); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fake::before, .fake::after { animation: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(0,0,0,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #1f1d1d; }
.header-inner { display: flex; align-items: center; gap: 10px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--white); margin-right: auto; }
.brand img { width: 34px; height: 44px; object-fit: contain; }
.brand-name { font: 800 1.375rem/1 var(--font-title); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.hide-xs { display: none; }

.nav { order: 3; }
.nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; color: var(--white); border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.nav-list { display: none; list-style: none; margin: 0; padding: 8px 16px 16px; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); border-bottom: 1px solid var(--line); }
.nav-list.open { display: block; }
.nav-list a { display: block; padding: 12px 0; color: var(--text); text-decoration: none; font: 600 1.25rem/1.2 var(--font-title); text-transform: uppercase; border-bottom: 1px solid #1f1d1d; }
.nav-list a:hover { color: var(--salmon); }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 40px; background: radial-gradient(120% 70% at 80% 30%, #2a1314 0%, var(--ink) 60%); overflow: hidden; }
/* Mobile: título, depois capa pequena ao lado do texto/preço, botão acima da dobra */
.hero-grid {
  display: grid; column-gap: 16px;
  grid-template-columns: 36% minmax(0, 1fr);
  grid-template-areas: "eyebrow eyebrow" "title title" "cover info" "actions actions" "trust trust";
}
.hero-copy { display: contents; }
.hero .eyebrow { grid-area: eyebrow; }
.hero-title { grid-area: title; }
.hero-info { grid-area: info; align-self: center; }
.hero-actions { grid-area: actions; }
.trust { grid-area: trust; }
.nowrap { white-space: nowrap; }
.eyebrow { font: 700 .9375rem/1.2 var(--font-title); text-transform: uppercase; letter-spacing: .14em; color: var(--salmon); margin-bottom: .75em; }
.hero-title { font-size: clamp(3rem, 14vw, 6.5rem); text-transform: uppercase; color: var(--white); margin-bottom: .35em; }
.hero-sub { display: block; font-family: var(--font-text); font-weight: 500; text-transform: none; font-size: clamp(1.25rem, 5.4vw, 2.125rem); line-height: 1.2; margin-top: .3em; color: var(--text); }
.lead { font-size: 1rem; line-height: 1.45; max-width: 34em; margin-bottom: .75em; }
.price-line { font-size: .9375rem; line-height: 1.35; margin: 0; color: var(--muted); }
.price-line strong { display: block; font: 800 2rem/1 var(--font-title); color: var(--white); margin-bottom: 4px; }
.price-line .nowrap { color: var(--salmon); font-weight: 600; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 12px; }
.trust { font-size: .9375rem; color: var(--muted); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pix-badge { display: inline-block; background: var(--salmon); color: var(--black); font: 800 .875rem/1 var(--font-title); padding: 5px 8px; border-radius: 4px; letter-spacing: .06em; text-transform: uppercase; }
.hero-cover { grid-area: cover; align-self: center; }
.cover { border-radius: 4px; box-shadow: 0 30px 60px -20px rgba(232,51,56,.45), 0 10px 30px rgba(0,0,0,.6); }

/* ---------- Seções ---------- */
.section { padding: 56px 0; }
.section-alt { background: var(--ink-2); }
.h2 { font-size: clamp(2.125rem, 8vw, 3.25rem); text-transform: uppercase; color: var(--white); }
.h3 { font-size: 1.625rem; color: var(--white); }
.section-lead { font-size: 1.125rem; color: var(--muted); max-width: 40em; }

/* ---------- Quiz ---------- */
.quiz { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-top: 20px; }
.quiz-progress { height: 6px; background: var(--ink-3); border-radius: 6px; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--red); transition: width .3s; }
.quiz-count { font-size: .9375rem; color: var(--muted); margin: 10px 0 6px; }
.quiz-q { border: 0; margin: 0; padding: 0; }
.quiz-q legend { font: 700 1.5rem/1.2 var(--font-title); color: var(--white); margin-bottom: 18px; padding: 0; }
.quiz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-opts button {
  min-height: 56px; font: 700 1.375rem/1 var(--font-title); text-transform: uppercase;
  background: var(--ink); color: var(--white); border: 2px solid var(--line); border-radius: 8px; cursor: pointer;
}
.quiz-opts button:hover { border-color: var(--salmon); }
.quiz-result:focus { outline: none; }
.quiz-score { font: 800 3rem/1 var(--font-title); color: var(--red); margin-bottom: .2em; }
.quiz-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

/* ---------- Tabs ---------- */
.tablist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--ink-2); padding: 4px; border-radius: var(--radius); margin: 20px 0 0; }
.tablist [role="tab"] {
  min-height: 48px; background: transparent; color: var(--muted); border: 0; border-radius: 7px; cursor: pointer;
  font: 700 1.125rem/1 var(--font-title); text-transform: uppercase; letter-spacing: .03em;
}
.tablist [role="tab"][aria-selected="true"] { background: var(--red); color: var(--white); }
.tablist [role="tab"]:hover { color: var(--white); }
.tabpanel { padding: 22px 2px 0; }
.panel-actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.link-more { font-weight: 600; }

/* ---------- Dentro do livro ---------- */
.parts { display: grid; gap: 10px; margin: 24px 0 40px; }
.part { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); }
.part summary { cursor: pointer; padding: 16px 44px 16px 16px; font: 700 1.25rem/1.2 var(--font-title); color: var(--white); list-style: none; position: relative; }
.part summary::-webkit-details-marker { display: none; }
.part summary::after, .faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 700 1.5rem/1 var(--font-title); color: var(--salmon); }
.part[open] summary::after, .faq details[open] summary::after { content: "–"; }
.part-n { display: block; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--salmon); margin-bottom: 4px; }
.part ul { margin: 0; padding: 0 16px 18px 34px; color: var(--muted); }
.part li { margin: 6px 0; }
.methods-title { margin-bottom: 16px; }
.methods { display: grid; gap: 14px; }
.method { background: var(--ink); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px; }
.method h4 { font-size: 1.625rem; color: var(--white); text-transform: uppercase; margin-bottom: .3em; }
.method p { color: var(--muted); margin: 0; }
.four-i { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; counter-reset: i; }
.four-i li { background: var(--ink-3); border-radius: 6px; padding: 8px 10px; font: 600 1.0625rem/1 var(--font-title); text-transform: uppercase; color: var(--white); }
.four-i li::before { counter-increment: i; content: counter(i) " · "; color: var(--salmon); }

.sample { margin-top: 40px; background: linear-gradient(135deg, #2a1314, var(--ink) 70%); border: 1px solid #4a2324; border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.sample-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.field-row { display: flex; flex-direction: column; gap: 10px; }
.sample-form input {
  min-height: 52px; width: 100%; padding: 12px 14px; font: 500 1.0625rem var(--font-text);
  color: var(--white); background: var(--ink); border: 2px solid #6b6464; border-radius: 8px;
}
.sample-form input:focus { border-color: var(--salmon); outline: none; box-shadow: 0 0 0 3px rgba(231,108,90,.35); }
.sample-form input[aria-invalid="true"] { border-color: var(--red); }
.help { font-size: .875rem; color: var(--muted); margin: 8px 0 0; }
.form-msg { font-weight: 600; margin: 6px 0 0; min-height: 1.4em; }
.form-msg.ok { color: #9be3a8; }
.form-msg.err { color: #ff9a9e; }

/* ---------- Depoimentos ---------- */
.carousel { margin-top: 18px; }
.carousel-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 10px; }
.carousel-status { margin: 0; color: var(--muted); font-size: .9375rem; min-width: 3.5em; text-align: center; }
.arrow { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink-2); color: var(--white); border: 2px solid var(--line); border-radius: 50%; cursor: pointer; }
.arrow:hover:not(:disabled) { border-color: var(--salmon); }
.arrow:disabled { opacity: .35; cursor: default; }
.slides { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 16px; border-radius: var(--radius); }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.quote { margin: 0; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 100%; display: flex; flex-direction: column; }
.quote blockquote { margin: 0; }
.quote-hl { font: 600 1.5rem/1.25 var(--font-title); color: var(--white); }
.quote-full p { color: var(--muted); }
.expand { align-self: flex-start; background: none; border: 0; padding: 6px 0; color: var(--salmon); font: 600 1rem var(--font-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; margin-bottom: 16px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.quote figcaption b { display: block; color: var(--white); font-size: 1rem; }

.gallery-title { margin-top: 48px; }
.gallery { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 70%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; }
.gallery li { scroll-snap-align: start; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }

/* ---------- Autor ---------- */
.author { display: grid; gap: 24px; }
.author-photo { width: 100%; max-width: 360px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); filter: grayscale(.15); }
.talk { margin-top: 24px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.talk p { color: var(--muted); }

/* ---------- Oferta ---------- */
.offer-section { background: radial-gradient(90% 60% at 20% 20%, #2a1314 0%, var(--ink) 65%); }
.offer { display: grid; gap: 24px; align-items: center; }
.offer-cover { display: none; }
.offer-card { background: var(--black); border: 2px solid var(--red); border-radius: 14px; padding: 24px 20px; }
.offer-price { font: 800 3.5rem/1 var(--font-title); color: var(--white); margin: .1em 0 .3em; }
.offer-list { list-style: none; margin: 0 0 20px; padding: 0; }
.offer-list li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid #1f1d1d; }
.offer-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 12px; height: 7px; border-left: 3px solid var(--salmon); border-bottom: 3px solid var(--salmon); transform: rotate(-45deg); }
.offer-kit { margin: 14px 0 0; font-size: .9375rem; color: var(--muted); }
.faq-title { margin-top: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 40px 18px 0; font: 700 1.25rem/1.25 var(--font-title); color: var(--white); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { right: 4px; }
.faq details p { color: var(--muted); padding-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); padding: 40px 0 120px; border-top: 1px solid #1f1d1d; font-size: .9375rem; color: var(--muted); }
.footer-sign { font: 700 1.5rem/1.2 var(--font-title); color: var(--white); text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 16px 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.small { font-size: .8125rem; }

/* ---------- Barra fixa (mobile) ---------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0,0,0,.96); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s;
}
.buybar.show { transform: translateY(0); }
.buybar-info { display: flex; flex-direction: column; line-height: 1.15; }
.buybar-info b { font: 800 1.5rem/1 var(--font-title); color: var(--white); }
.buybar-info span { font-size: .8125rem; color: var(--muted); }
.buybar .btn { flex: 1; max-width: 220px; }

.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 80; max-width: calc(100% - 32px); background: var(--white); color: var(--black); padding: 12px 16px; border-radius: 8px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.5); }

/* ---------- Breakpoints ---------- */
@media (min-width: 480px) {
  .hide-xs { display: inline; }
  .hero-actions, .quiz-actions { flex-direction: row; flex-wrap: wrap; }
  .field-row { flex-direction: row; }
  .field-row .btn { flex: none; }
  .gallery { grid-auto-columns: 45%; }
}
@media (min-width: 900px) {
  :root { --header-h: 72px; }
  .nav { order: 0; }
  .nav-toggle { display: none; }
  .nav-list { display: flex; position: static; padding: 0; background: none; border: 0; gap: 22px; }
  .nav-list a { border: 0; padding: 6px 0; font-size: 1.0625rem; }
  .brand-name { font-size: 1.5rem; }
  .hero { padding: 56px 0 72px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px; column-gap: 56px;
    grid-template-areas: "eyebrow cover" "title cover" "info cover" "actions cover" "trust cover";
    grid-template-rows: 1fr auto auto auto auto 1fr;
    grid-template-areas: ". cover" "eyebrow cover" "title cover" "info cover" "actions cover" "trust cover";
  }
  .hero-cover { align-self: center; }
  .lead { font-size: 1.25rem; }
  .price-line { font-size: 1.0625rem; }
  .price-line strong { display: inline; font-size: 2.25rem; margin-right: .3em; }
  .section { padding: 88px 0; }
  .quiz { padding: 32px; }
  .methods { grid-template-columns: repeat(3, 1fr); }
  .sample { grid-template-columns: 1fr 1.3fr; align-items: center; padding: 32px; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: auto; overflow: visible; }
  .author { grid-template-columns: 360px minmax(0, 1fr); gap: 48px; align-items: start; }
  .offer { grid-template-columns: 300px minmax(0, 520px); justify-content: center; gap: 56px; }
  .offer-cover { display: block; }
  .offer-card { padding: 32px; }
  .buybar { display: none; }
  .site-footer { padding-bottom: 40px; }
  .toast { bottom: 32px; }
}

/* Barra de administração do WordPress (só aparece logado) */
.admin-bar .site-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .site-header { top: 32px; } }
