/* ============================================================
   Manual Visual de Sobrevivência — Brasil de Pé
   Estilos (mobile primeiro)
   ============================================================ */

/* Fontes hospedadas na própria página (licença OFL) */
@font-face { font-family: "Oswald"; src: url("../fonts/oswald-latin-wght-normal.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --green-950: #0B2A33;
  --green-900: #1E3B43;
  --green-800: #2A454D;
  --green-700: #395259;
  --gold: #F28C28;
  --gold-soft: #F5AE68;
  --gold-deep: #915418;
  --cream: #F4EBD6;
  --cream-2: #EADDBE;
  --paper: #F7F0DF;
  --ink: #18251E;
  --ink-soft: #3C4A41;
  --line-dark: rgba(242, 140, 40, .28);
  --line-light: rgba(24, 37, 30, .14);

  --font-display: "Oswald", "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5.4vw, 40px);
  --section-y: clamp(56px, 13vw, 112px);
  --radius: 8px;
  --sticky-h: 0px;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.27 0 0 0 0 0.12 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%23F28C28' stroke-width='1.1'%3E%3Cpath d='M-20 120c80-40 150 30 230 0s120-90 210-60 150 40 200 10'/%3E%3Cpath d='M-20 150c90-35 150 40 235 8s125-85 205-55 150 45 200 15'/%3E%3Cpath d='M-20 182c95-30 150 48 240 15s130-78 200-50 150 50 200 20'/%3E%3Cpath d='M420 380c40-60 120-50 140 0s-40 100-90 90-80-40-50-90z'/%3E%3Cpath d='M395 385c45-85 160-75 185 0s-55 135-120 125-110-55-65-125z'/%3E%3Cpath d='M370 390c50-110 200-100 230 0s-70 170-150 160-140-70-80-160z'/%3E%3Cpath d='M-20 470c70 20 120-30 190-10s100 70 170 60'/%3E%3Cpath d='M-20 500c75 18 125-28 195-8s105 72 175 62'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--green-950);
  overflow-x: hidden;
  padding-bottom: var(--sticky-h);
  transition: padding-bottom .25s ease;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }

main { overflow-x: clip; }
.scene-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.section--paper :focus-visible, .section--cream :focus-visible { outline-color: var(--green-700); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--green-950); padding: 10px 16px; font-weight: 700; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 800px; }

/* ---------- Pendências (só na prévia) ---------- */
.preview-note { font-size: .82rem; margin: 10px 0 0; opacity: .7; }
.preview-note--center { text-align: center; }
.pending-chip { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; margin-left: 6px; border: 1px dashed currentColor; border-radius: 99px; vertical-align: middle; opacity: .85; }
.placeholder { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: .88em; background: rgba(242, 140, 40, .18); border: 1px dashed var(--gold-deep); padding: 1px 6px; border-radius: 4px; word-break: break-word; }

/* ---------- Topo ---------- */
.site-header { background: var(--green-950); color: var(--cream); position: relative; z-index: 2; }
.site-header .container { padding-top: 14px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 34px; }
.brand__name { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.35rem; color: var(--gold); }

/* ---------- Seções ---------- */
.section { padding: var(--section-y) 0; position: relative; }
.section--dark { background: var(--green-950); color: var(--cream); }
.section--deep { background: #071C22; color: var(--cream); }
.section--green { background: var(--green-900); color: var(--cream); }
.section--paper { background: var(--paper) var(--grain); background-size: 220px; background-blend-mode: multiply; color: var(--ink); }
.section--cream { background: var(--cream-2); color: var(--ink); }
.section--topo::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--topo); background-size: 600px; opacity: .08; }
.section > .container { position: relative; }

.eyebrow {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  letter-spacing: .18em; font-size: .8rem; color: var(--gold); margin-bottom: 12px;
}
.eyebrow--dark { color: var(--gold-deep); }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 6vw, 52px); }
.section-title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.02; letter-spacing: .005em;
  margin-bottom: 16px; text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--gold); }
.section--paper .section-title, .section--cream .section-title { color: var(--green-900); }
.section--paper .section-title em, .section--cream .section-title em { color: var(--gold-deep); }
.section-title--sm { font-size: clamp(1.7rem, 7vw, 2.4rem); }
.section-lead { font-size: clamp(1.06rem, 2.6vw, 1.25rem); line-height: 1.55; margin-bottom: 0; }
.section--dark .section-lead, .section--deep .section-lead, .section--green .section-lead { color: rgba(244, 235, 214, .82); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35em;
  min-height: 58px; padding: 14px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; text-align: center;
  border-radius: var(--radius); cursor: pointer; border: 0;
  transition: transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold) 55%, #D97E24);
  color: var(--green-950);
  box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 8px 22px -8px rgba(242, 140, 40, .6);
}
.btn--gold:hover { transform: translateY(-1px); }
.btn--block { display: flex; width: 100%; }
.btn [data-price] { white-space: nowrap; }
.btn.is-preview { cursor: not-allowed; }

/* ---------- Preço ---------- */
.format-line { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin: 14px 0 2px; opacity: .78; }
.format-line--center { text-align: center; }
.price { margin: 0; line-height: 1; }
.price__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 17vw, 4.6rem); color: var(--gold); letter-spacing: -.005em; line-height: .95; }

/* ============================================================
   1. ABERTURA — padrão das referências no celular:
   marca → livro grande → título → texto → botão → formato → preço
   ============================================================ */
.hero {
  position: relative; overflow: hidden; color: var(--cream);
  background:
    radial-gradient(ellipse 80% 38% at 50% 22%, rgba(242, 140, 40, .16), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% 30%, rgba(57, 82, 89, .55), transparent 75%),
    var(--green-950);
  padding: 4px 0 40px;
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: var(--topo); background-size: 600px; opacity: .07; pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 12px; }
.hero__book { margin: 0; text-align: center; }
.hero__book img {
  height: clamp(190px, 31svh, 340px); width: auto; margin: 0 auto;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .6)) drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}
.hero__book figcaption { font-size: .72rem; color: rgba(244, 235, 214, .55); margin-top: 8px; }
.hero__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; line-height: .96; }
.hero__title-top { display: block; color: var(--cream); font-size: clamp(1.6rem, 8.4vw, 3rem); }
.hero__title-main { display: block; color: var(--gold); font-size: clamp(2.6rem, 13.4vw, 5.4rem); letter-spacing: -.005em; }
.hero__tagline { font-style: italic; font-weight: 500; font-size: clamp(1.08rem, 4.4vw, 1.4rem); margin: 10px 0 0; }
.hero__lead { color: rgba(244, 235, 214, .82); font-size: clamp(1rem, 4.2vw, 1.2rem); line-height: 1.5; margin: 8px 0 16px; }
.hero .eyebrow { margin-bottom: 8px; }

/* ---------- Faixa de temas ---------- */
.ticker {
  background: var(--gold); color: var(--green-950);
  transform: rotate(-2deg); margin: -14px -12px 0; position: relative; z-index: 3;
  overflow: hidden; border-top: 2px solid var(--green-950); border-bottom: 2px solid var(--green-950);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 1.05rem; padding: 10px 0; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   2. SITUAÇÕES
   ============================================================ */
.questions { list-style: none; margin: 30px 0; display: grid; gap: 10px; }
.questions li {
  display: flex; gap: 16px; align-items: baseline;
  background: rgba(244, 235, 214, .05); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 16px 18px; font-weight: 600; font-size: 1.15rem; line-height: 1.3;
}
.questions span { font-family: var(--font-display); color: var(--gold); font-weight: 600; letter-spacing: .06em; }
.closing-line { margin: 0; padding-left: 16px; border-left: 4px solid var(--gold); color: rgba(244, 235, 214, .86); }
.closing-line strong { color: var(--gold); }

/* ============================================================
   3. DEMONSTRAÇÃO INTERATIVA
   ============================================================ */
.demo__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.demo__tab {
  min-height: 44px; padding: 8px 16px; border-radius: 99px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line-dark); color: var(--cream);
  font-weight: 600; font-size: .98rem;
}
.demo__tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
.demo__grid { display: grid; gap: 16px; }
.demo__scene { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--green-900); aspect-ratio: 3 / 2; }
.demo__scene > svg { display: block; width: 100%; height: 100%; }
.demo__credit { font-size: .8rem; margin: 8px 0 0; color: rgba(244, 235, 214, .6); }

.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 40px; height: 40px; padding: 0; border: 0; background: transparent; cursor: pointer;
  display: grid; place-items: center; -webkit-tap-highlight-color: transparent;
}
.hotspot span {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--green-950);
  font-family: var(--font-display); font-weight: 700; font-size: .9rem;
  box-shadow: 0 0 0 3px rgba(11, 42, 51, .65), 0 3px 8px rgba(0,0,0,.5);
  transition: transform .15s ease, background-color .15s ease;
}
.hotspot::before {
  content: ""; position: absolute; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--gold); animation: pulse 2.2s ease-out infinite; opacity: 0;
}
.hotspot[aria-pressed="true"] span { background: var(--cream); box-shadow: 0 0 0 3px var(--gold), 0 3px 10px rgba(0,0,0,.5); transform: scale(1.15); }
.hotspot[aria-pressed="true"]::before { animation: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2); opacity: 0; } }

.demo__card { background: var(--paper); color: var(--ink); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0,0,0,.7); }
.demo__zoom { position: relative; aspect-ratio: 3 / 2; background: var(--green-900); border-bottom: 3px solid var(--gold); }
.demo__zoom svg { display: block; width: 100%; height: 100%; }
.demo__zoom .zoom-badge {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: var(--cream); color: var(--green-950);
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; box-shadow: 0 0 0 3px var(--gold);
}
.demo__zoom .zoom-tag { position: absolute; left: 12px; bottom: 10px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: rgba(11, 42, 51,.82); color: var(--gold); padding: 3px 9px; border-radius: 99px; }
.demo__info { padding: 18px 18px 16px; }
.demo__count { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; color: var(--gold-deep); margin-bottom: 4px; }
.demo__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; color: var(--green-900); margin-bottom: 8px; }
.demo__text { font-size: 1.02rem; line-height: 1.5; margin-bottom: 12px; }
.demo__task { background: var(--green-900); color: var(--cream); border-radius: 8px; padding: 12px 14px; font-size: .98rem; line-height: 1.45; margin-bottom: 14px; }
.demo__task b { display: block; font-family: var(--font-display); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .74rem; color: var(--gold); margin-bottom: 2px; }
.demo__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.demo__arrow {
  width: 48px; height: 48px; border-radius: 50%; cursor: pointer; flex: none;
  border: 2px solid var(--green-900); background: transparent; color: var(--green-900);
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.demo__arrow:hover { background: var(--green-900); color: var(--gold); }
.demo__dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.demo__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(30, 59, 67, .25); }
.demo__dots i.on { background: var(--gold-deep); width: 20px; border-radius: 4px; }

/* ============================================================
   4. POR DENTRO (páginas) e 6. KIT
   ============================================================ */
.pages { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 14px; }
.pages p { margin: 10px 0 0; font-weight: 600; font-size: .98rem; line-height: 1.3; color: var(--green-900); display: flex; gap: 8px; }
.pages p b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--green-900); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; }
.page-thumb {
  display: block; width: 100%; padding: 0; border: 0; background: var(--cream); cursor: zoom-in;
  border-radius: 8px; overflow: hidden; position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 14px 26px -12px rgba(30, 59, 67, .55);
  transition: transform .18s ease;
}
.page-thumb:hover { transform: translateY(-3px); }
.page-thumb::after {
  content: ""; position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(11, 42, 51, .85) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F28C28' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='m15 15 5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.page-thumb img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.page-thumb--a4 img { aspect-ratio: 1240 / 1754; }
.pages__note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: 22px 0 0; }
.kit { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kit p { margin: 10px 0 0; font-weight: 600; font-size: .95rem; line-height: 1.3; color: var(--green-900); }

/* ============================================================
   5. CONTEÚDO
   ============================================================ */
.parts { display: grid; gap: 10px; }
.part { background: rgba(244, 235, 214, .05); border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; }
.part[open] { background: rgba(244, 235, 214, .08); border-color: rgba(242, 140, 40, .55); }
.part summary { list-style: none; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; padding: 16px; cursor: pointer; }
.part summary::-webkit-details-marker { display: none; }
.part summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-weight: 600; font-size: 1.2rem; line-height: 1; }
.part[open] summary::after { content: "−"; background: var(--gold); color: var(--green-950); }
.part__n { font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: .9; color: var(--gold); }
.part__t { display: grid; gap: 2px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 1.22rem; line-height: 1.15; }
.part__t small { font-size: .7rem; letter-spacing: .16em; color: rgba(244, 235, 214, .6); font-weight: 500; }
.part__t em { font-family: var(--font-body); font-style: normal; text-transform: none; font-weight: 400; font-size: .98rem; line-height: 1.45; color: rgba(244, 235, 214, .78); margin-top: 4px; }
.part ul { list-style: none; padding: 0 16px 18px calc(16px + 2.1rem + 14px); display: grid; gap: 7px; }
.part li { position: relative; padding-left: 20px; font-size: 1rem; color: rgba(244, 235, 214, .92); }
.part li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ============================================================
   7. PARA QUEM É + APLICAÇÃO
   ============================================================ */
.who { display: grid; gap: 44px; }
.checklist { list-style: none; margin-top: 22px; }
.checklist li { position: relative; padding: 12px 0 12px 42px; border-bottom: 1px solid var(--line-light); font-weight: 600; color: var(--green-900); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 12px; width: 26px; height: 26px; border-radius: 4px; background: var(--green-900); }
.checklist li::after { content: ""; position: absolute; left: 9px; top: 16px; width: 7px; height: 13px; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(45deg); }
.apply { background: var(--paper); border-radius: 12px; padding: 22px 20px; border: 1px solid rgba(30, 59, 67,.12); }
.apply__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.35rem; line-height: 1.15; color: var(--green-900); margin-bottom: 14px; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 12px; margin-bottom: 16px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-soft); font-size: 1rem; line-height: 1.45; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--green-900); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.steps b { color: var(--green-900); display: block; }
.note { font-size: .92rem; color: var(--ink-soft); background: rgba(242, 140, 40, .16); padding: 12px 14px; border-radius: 8px; margin: 0; }

/* ============================================================
   8. OFERTA
   ============================================================ */
.offer {
  display: grid; gap: 22px;
  border: 1px solid var(--gold); outline: 1px solid var(--line-dark); outline-offset: 5px;
  border-radius: 6px; padding: 26px 20px 24px;
  background: linear-gradient(180deg, rgba(57, 82, 89, .5), rgba(30, 59, 67, .2));
}
.offer__book { width: min(48vw, 200px); margin: 0 auto; filter: drop-shadow(0 20px 24px rgba(0,0,0,.55)); }
.offer .section-title { text-align: center; }
.offer__intro { text-align: center; color: rgba(244, 235, 214, .8); }
.included { list-style: none; margin-bottom: 22px; }
.included li { display: grid; gap: 2px; padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid rgba(244, 235, 214, .12); }
.included li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 8px; height: 15px; border-right: 3px solid var(--gold); border-bottom: 3px solid var(--gold); transform: rotate(45deg); }
.included strong { font-size: 1.08rem; }
.included span { color: rgba(244, 235, 214, .75); font-size: .96rem; line-height: 1.45; }
.price--offer { text-align: center; }
.offer .btn { margin-top: 18px; }
.extras { margin-top: 24px; padding-top: 18px; border-top: 1px dashed rgba(244, 235, 214, .22); font-size: .92rem; color: rgba(244, 235, 214, .8); }
.extras__title { font-weight: 600; color: var(--cream); margin-bottom: 8px; }
.extras ul { list-style: none; display: grid; gap: 6px; margin-bottom: 8px; }
.extras li span { white-space: nowrap; color: var(--gold-soft); }
.extras__note { margin: 0; font-size: .88rem; }

/* ============================================================
   9–10. AUTORIA E GARANTIA
   ============================================================ */
.author { display: grid; gap: 18px; justify-items: start; margin-bottom: 36px; }
.author__mark { width: 74px; }
.text-link { font-weight: 700; color: var(--green-700); text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--gold); display: inline-block; padding: 6px 0; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 22px; border: 2px solid var(--green-900); border-radius: 10px; background: var(--cream); }
.guarantee__icon { width: 42px; height: 42px; color: var(--green-700); }
.guarantee__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.45rem; color: var(--green-900); margin-bottom: 6px; }
.guarantee p:last-child { margin-bottom: 0; }

/* ============================================================
   11. FAQ
   ============================================================ */
.faq { border-top: 2px solid var(--green-900); margin-top: 10px; }
.faq__item { border-bottom: 1px solid var(--line-light); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; min-height: 56px; font-weight: 700; font-size: 1.08rem; color: var(--green-900); cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--green-700); color: var(--green-700); font-size: 1.2rem; font-weight: 600; line-height: 1; }
.faq__item[open] summary::after { content: "−"; background: var(--green-900); color: var(--gold); border-color: var(--green-900); }
.faq__a { padding: 0 44px 20px 0; color: var(--ink-soft); }
.faq__a p { margin: 0; }

/* ============================================================
   12. FECHAMENTO
   ============================================================ */
.section--closing { background: radial-gradient(ellipse 70% 50% at 50% 20%, rgba(242, 140, 40, .14), transparent 70%), var(--green-950); text-align: center; }
.closing { display: grid; justify-items: center; max-width: 560px; }
.closing__book { width: min(46vw, 210px); margin-bottom: 26px; filter: drop-shadow(0 22px 26px rgba(0,0,0,.6)); }
.closing__title { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.1rem, 10vw, 3.6rem); line-height: 1.02; margin-bottom: 14px; }
.closing__title span { color: var(--gold); }
.closing .section-lead { margin-bottom: 22px; }
.closing .btn { margin-top: 18px; }
.closing__guarantee { font-size: .9rem; margin: 14px 0 0; color: rgba(244, 235, 214, .75); }

/* ---------- Rodapé ---------- */
.site-footer { background: #071C22; color: rgba(244, 235, 214, .75); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: .92rem; }
.footer { display: grid; gap: 16px; }
.footer__brand { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--cream); margin: 0; }
.footer__list { list-style: none; display: grid; gap: 6px; }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__links a { text-underline-offset: 3px; padding: 4px 0; display: inline-block; }
.footer__links a:not([href]) { text-decoration: none; opacity: .75; }
.footer__links a:not([href])::after { content: " [LINK]"; font-family: ui-monospace, Menlo, monospace; font-size: .85em; color: var(--gold); }
.footer__note { margin: 6px 0 0; padding-top: 16px; border-top: 1px solid rgba(244, 235, 214, .12); font-size: .88rem; }
.footer__preview { margin: 0; font-size: .82rem; color: var(--gold); }
.site-footer .placeholder { color: var(--cream); }

/* ---------- Barra fixa ---------- */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(11, 42, 51, .97); border-top: 1px solid var(--line-dark);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -10px 30px rgba(0,0,0,.3);
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy__inner { max-width: 560px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-buy__price { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--gold); white-space: nowrap; }
.sticky-buy .btn { flex: 1; max-width: 280px; min-height: 50px; padding: 10px 14px; font-size: 1rem; }

/* ---------- Aviso ---------- */
.toast {
  position: fixed; left: 50%; z-index: 60; bottom: calc(var(--sticky-h) + 18px + env(safe-area-inset-bottom));
  transform: translateX(-50%); width: min(92vw, 440px);
  background: var(--cream); color: var(--ink); border-left: 5px solid var(--gold-deep);
  padding: 14px 18px; border-radius: var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.35); font-size: 1rem; line-height: 1.4;
}

/* ---------- Ampliação ---------- */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(7, 28, 34, .97); color: var(--cream); }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__frame { max-width: min(96vw, 760px); max-height: 100dvh; overflow: auto; padding: 66px 10px 24px; -webkit-overflow-scrolling: touch; }
.lightbox__frame img { width: 100%; height: auto; border-radius: 6px; background: var(--cream); }
.lightbox__caption { text-align: center; margin: 12px 0 0; font-weight: 600; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-dark); background: rgba(11, 42, 51, .88); color: var(--cream); font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lightbox__close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   Telas maiores
   ============================================================ */
@media (min-width: 600px) {
  .pages { grid-template-columns: repeat(4, 1fr); }
  .kit { max-width: 640px; }
  .hotspot span { width: 34px; height: 34px; font-size: 1.05rem; }
  .hotspot::before { width: 34px; height: 34px; }
  .btn--block { max-width: 460px; }
  .closing .btn--block, .offer .btn--block { margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) {
  .who { grid-template-columns: 1fr 1fr; align-items: start; gap: 56px; }
  .author { grid-template-columns: auto 1fr; gap: 30px; }
  .author__mark { width: 100px; }
  .sticky-buy { display: none; }
  .parts { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 960px) {
  .site-header .container { padding-top: 22px; }
  .hero { padding: 24px 0 90px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero__book { order: 2; }
  .hero__book img { height: auto; width: 420px; }
  .hero__text { max-width: 540px; }
  .btn--block { max-width: 420px; }
  .demo__grid { grid-template-columns: 1.55fr 1fr; align-items: start; }
  .offer { grid-template-columns: .8fr 1.2fr; align-items: center; column-gap: 56px; padding: 48px; }
  .offer__book { width: 100%; max-width: 320px; }
  .offer .section-title, .offer__intro, .price--offer, .offer .format-line--center { text-align: left; }
  .offer .btn--block { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
  .hotspot::before { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
