:root {
  --ink: #1F2A2E;
  --muted: #5B6662;
  --line: #D9E0DC;
  --bg: #FFFFFF;
  --sand: #F5F0E7;
  --teal-900: #1C3A3E;
  --teal-800: #24484C;
  --teal-700: #2F5D62;
  --teal-100: #E3EEEC;
  --clay: #B8664E;
  --clay-100: #F8E9E3;
  --cta: #C25B3F;
  --cta-hover: #A84A31;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(28, 58, 62, 0.45);
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Lora", Georgia, serif; line-height: 1.2; margin: 0 0 16px; color: var(--ink); }
h1 { font-size: clamp(32px, 7vw, 52px); letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 5vw, 36px); }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
a { color: var(--teal-700); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
section { padding: 64px 0; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--clay); margin-bottom: 14px;
}
.lead { font-size: 19px; color: var(--muted); }
.center { text-align: center; }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--cta); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px;
  padding: 18px 28px; border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(194, 91, 63, 0.8);
  transition: background .15s ease, transform .15s ease; text-align: center; width: 100%; max-width: 440px;
  min-height: 56px;
}
.btn:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); margin-top: 14px; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal-700); flex: none; }

/* hero */
.hero { background: var(--sand); padding: 28px 0 48px; }
.hero-grid { display: grid; gap: 18px; grid-template-areas: "copy" "media" "cta" "checks"; }
.hero-copy { grid-area: copy; }
.hero-media { grid-area: media; }
.hero-cta { grid-area: cta; }
.hero .checks { grid-area: checks; margin: 10px 0 0; }
.hero h1 { margin-bottom: 14px; }
.hero .sub { font-size: 17px; color: var(--muted); margin-bottom: 0; }
.hero-cover { width: min(44%, 220px); margin: 0 auto; border-radius: 8px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.checks { list-style: none; padding: 0; margin: 0 0 24px; }
.checks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* dor */
.pain { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.pain li { background: var(--clay-100); border-radius: var(--radius); padding: 16px 18px 16px 50px; position: relative; }
.pain li::before { content: "“"; position: absolute; left: 16px; top: 2px; font-family: "Lora", serif; font-size: 40px; color: var(--clay); }

/* alarme */
.dark { background: var(--teal-800); color: #F5F0E7; }
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark p { color: #DCE7E4; }
.dark .kicker { color: #E8B9A5; }

/* PARAR */
.acro { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 28px 0; }
.acro div { background: var(--teal-100); border-radius: 12px; padding: 14px 6px; text-align: center; }
.acro b { display: block; font-family: "Lora", serif; font-size: 34px; color: var(--teal-700); line-height: 1; }
.acro span { display: block; font-size: 12px; font-weight: 600; margin-top: 8px; line-height: 1.3; }
.split { display: grid; gap: 32px; align-items: center; }
.page-shot { border-radius: 8px; box-shadow: var(--shadow); width: min(100%, 360px); margin: 0 auto; border: 1px solid var(--line); }

/* conteúdo */
.toc { list-style: none; padding: 0; margin: 0; columns: 1; }
.toc li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; break-inside: avoid; }
.toc b { font-family: "Lora", serif; color: var(--clay); min-width: 22px; }

/* bônus */
.bonus-grid { display: grid; gap: 20px; margin-top: 28px; }
.bonus { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; background: var(--sand); border-radius: var(--radius); padding: 18px; }
.bonus img { border-radius: 6px; box-shadow: 0 10px 22px -12px rgba(0,0,0,.5); }
.bonus .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--teal-700); color: #fff; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.bonus h3 { margin-bottom: 6px; }
.bonus p { margin: 0; font-size: 15px; color: var(--muted); }

/* para quem */
.fit { display: grid; gap: 18px; margin-top: 24px; }
.fit > div { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.fit .yes { background: var(--teal-100); border-color: transparent; }
.fit ul { margin: 0; padding-left: 20px; }
.fit li { margin-bottom: 10px; }

/* oferta */
.offer { background: var(--sand); }
.offer-card {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow); padding: 28px 22px; max-width: 560px; margin: 0 auto;
  border: 2px solid var(--teal-700);
}
.offer-covers { display: flex; justify-content: center; align-items: flex-end; margin: 0 0 22px; }
.offer-covers img { width: 30%; border-radius: 5px; box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); }
.offer-covers img:nth-child(1) { transform: rotate(-6deg) translateX(14px); }
.offer-covers img:nth-child(2) { width: 38%; position: relative; z-index: 2; }
.offer-covers img:nth-child(3) { transform: rotate(6deg) translateX(-14px); }
.stack { list-style: none; padding: 0; margin: 0 0 22px; }
.stack li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.stack li::before { content: "✓"; color: var(--teal-700); font-weight: 700; }
.price { text-align: center; margin: 8px 0 18px; }
.price .value { font-family: "Lora", serif; font-size: 56px; font-weight: 700; color: var(--teal-800); line-height: 1; }
.price .value small { font-size: 26px; vertical-align: top; margin-right: 4px; }
.price .note { color: var(--muted); font-size: 15px; margin-top: 8px; }
.offer-card .btn { max-width: none; }

/* garantia */
.guarantee { display: grid; gap: 22px; align-items: center; justify-items: center; text-align: center; }
.seal { width: 132px; height: 132px; }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 36px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 26px; color: var(--clay); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* rodapé */
footer { background: var(--teal-900); color: #C9D6D2; font-size: 14px; padding: 40px 0 120px; }
footer a { color: #fff; }
footer p { margin-bottom: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; }

/* barra fixa (celular) */
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -12px rgba(0,0,0,.25); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 14px; transform: translateY(110%); transition: transform .25s ease;
}
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy .p { font-family: "Lora", serif; font-weight: 700; font-size: 22px; color: var(--teal-800); white-space: nowrap; }
.sticky-buy .btn { padding: 12px 18px; font-size: 16px; min-height: 48px; }
.has-cookie-notice .sticky-buy { display: none; }

/* aviso de cookies */
.cookie-notice {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50; background: var(--teal-900); color: #E5EEEB;
  border-radius: 14px; padding: 14px 16px; font-size: 14px; display: flex; gap: 14px; align-items: center;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); max-width: 640px; margin: 0 auto;
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; }
.cookie-notice a { color: #fff; }
.cookie-notice button {
  flex: none; background: #fff; color: var(--teal-900); border: 0; border-radius: 999px; padding: 10px 16px;
  font: 600 14px "Inter", sans-serif; cursor: pointer; min-height: 44px;
}

/* aviso de configuração pendente (só aparece se config.js estiver incompleto) */
.config-warning {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: #B42318; color: #fff; font: 600 14px/1.4 "Inter", sans-serif;
  padding: 10px 16px; text-align: center;
}

/* política de privacidade */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: clamp(30px, 6vw, 40px); }
.legal h2 { font-size: 22px; margin-top: 32px; }

@media (min-width: 760px) {
  section { padding: 88px 0; }
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; column-gap: 56px; row-gap: 24px; align-items: start;
    grid-template-areas: "copy media" "cta media" "checks media"; }
  .hero-media { align-self: center; }
  .hero .sub { font-size: 19px; }
  .hero-cover { width: 100%; max-width: 340px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .toc { columns: 2; column-gap: 40px; }
  .bonus-grid { grid-template-columns: 1fr 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: auto 1fr; text-align: left; justify-items: start; }
  .sticky-buy { display: none; }
  footer { padding-bottom: 48px; }
  .acro span { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .sticky-buy { transition: none; }
}
