/* ==========================================================================
   A Rotina do Sono — página de vendas
   Tokens herdados do sistema visual do e-book (06 Projetos/A Rotina do Sono),
   que é a mesma família de cor do banner do checkout.
   Nenhuma cor fora daqui. Spacing base 4.
   ========================================================================== */

:root {
  /* — cor: sistema do e-book — */
  --paper: #FAF6F2;
  --paper-warm: #F5EDE3;
  --sand: #EFDCCB;
  --blush: #F8E8DB;
  --terra: #A9673F;
  --terra-tint: #C89268;
  --terra-deep: #7C4926;
  --ink: #2C2219;
  --ink-soft: #6A5A4D;
  --sage: #CBD9D5;
  --rule: #E4D6C8;

  /* — cor: derivados desta página — */
  --terra-night: #5C3419;                 /* fundo noturno */
  --green: #2F7A55;                       /* CTA — pedido de 16/09: botões verdes */
  --green-deep: #245F42;                  /* CTA no hover */
  --green-glow: rgb(47 122 85 / 0.40);    /* sombra do CTA no hover */
  --green-ring: rgb(47 122 85 / 0.45);    /* pulso do CTA parado */
  --shine: rgb(255 255 255 / 0.38);       /* brilho que atravessa o CTA */
  --ink-body: #4A3B2F;                    /* texto corrido com mais contraste que --ink-soft */
  --dot: rgb(169 103 63 / 0.16);          /* pontilhado do fundo */
  --grid-line: rgb(169 103 63 / 0.08);    /* grade dentro das caixas */
  --grid-line-dark: rgb(250 246 242 / 0.06);
  --on-dark: rgb(250 246 242 / 0.8);
  --on-dark-rule: rgb(250 246 242 / 0.16);
  --shadow-ink: rgb(44 34 25 / 0.28);
  --shadow-ink-soft: rgb(44 34 25 / 0.12);

  /* — tipografia — */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Aspekta", "Helvetica Neue", Arial, sans-serif;
  --font-script: "Allison", cursive;

  /* — spacing (base 4) — */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 20px;
  --s6: 24px;
  --s8: 32px;
  --s10: 40px;
  --s12: 48px;
  --s16: 64px;
  --s20: 80px;
  --s24: 96px;
  --s30: 120px;

  /* — radius — */
  --r-box: 32px;
  --r-card: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --r-pill: 999px;

  /* — layout — */
  --wrap: 1200px;
  --gutter: 16px;
  --section-y: clamp(64px, 9vw, 120px);

  /* — motion — */
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-tone: 300ms;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

/* ==========================================================================
   Base
   ========================================================================== */

*,
*::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: 17px;
  line-height: 1.6;
  color: var(--ink-body);
  background-color: var(--paper);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.4px);
  background-size: 24px 24px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg { display: block; max-width: 100%; }
img {
  height: auto;
  /* imagens não podem ser arrastadas nem selecionadas (pedido de 16/09) */
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

strong { font-weight: 600; color: var(--ink); }

a { color: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: min(var(--wrap), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

.icon { width: 1em; height: 1em; flex: none; }

.nw { white-space: nowrap; }

.center { display: flex; justify-content: center; margin-top: var(--s12); }

::selection { background: var(--sand); color: var(--ink); }

/* ==========================================================================
   Tipografia
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  margin-bottom: var(--s4);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra-deep);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}
.eyebrow--on-dark { color: var(--terra-tint); }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--terra-deep);
  background-image: linear-gradient(transparent 62%, var(--sand) 62%, var(--sand) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding-inline: 0.06em;
}
.about .h2 em,
.final__title em { background-image: none; padding-inline: 0; }

/* grifo para trechos-chave no texto corrido */
.hl {
  background-image: linear-gradient(transparent 58%, var(--sand) 58%, var(--sand) 94%, transparent 94%);
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  padding-inline: 0.08em;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.note {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 0.9;
  color: var(--terra);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.5); }

.section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto var(--s12);
  text-align: center;
}
.section__sub {
  margin-top: var(--s4);
  max-width: 52ch;
  color: var(--ink-body);
}

/* ==========================================================================
   Botões, selos e peças reutilizadas
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  min-height: 60px;
  padding: var(--s4) var(--s8);
  border-radius: var(--r-pill);
  background: var(--green);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: inset 0 -3px 0 var(--shadow-ink-soft), 0 0 0 0 var(--green-ring);
  transition:
    background-color var(--t-tone) ease-out,
    transform var(--t-tone) var(--ease-out),
    box-shadow var(--t-tone) var(--ease-out);
  animation: cta-pulse 2.6s ease-out infinite;
}
/* brilho diagonal que atravessa o botão de tempos em tempos */
.btn::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: 38%;
  background: linear-gradient(100deg, transparent, var(--shine), transparent);
  transform: translateX(-160%) skewX(-20deg);
  animation: cta-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}
.btn .icon {
  width: 18px;
  height: 18px;
  transition: transform var(--t-tone) var(--ease-out);
}
.btn:hover {
  background: var(--green-deep);
  transform: translateY(-3px) scale(1.02);
  box-shadow: inset 0 -3px 0 var(--shadow-ink-soft), 0 16px 32px -12px var(--green-glow);
  animation: none;                               /* pulso para; a sombra do hover assume */
}
.btn:hover::after { animation: cta-shine-hover 0.9s var(--ease-out) forwards; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:hover .icon { transform: translateX(4px); }
.btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

/* no fundo escuro o CTA continua verde; só o anel de foco muda */
.btn--light:focus-visible { outline-color: var(--paper); }

.btn--block { width: 100%; }

@media (max-width: 639px) {
  .btn {
    padding-inline: var(--s6);
    font-size: 14px;
    letter-spacing: 0.04em;
  }
}

.btn--sm { animation: none; }
.btn--sm {
  min-height: 48px;
  padding: var(--s3) var(--s5);
  font-size: 13px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s5);
  margin-top: var(--s5);
  font-size: 14px;
  color: var(--ink-soft);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
.trust .icon {
  width: 16px;
  height: 16px;
  color: var(--terra);
  --paper: var(--blush);
}
.trust--center { justify-content: center; }
.trust--on-dark { color: var(--on-dark); }
.trust--on-dark .icon { color: var(--terra-tint); --paper: var(--terra-deep); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--terra-deep);
}
.brand .icon { width: 18px; height: 18px; color: var(--terra); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border: 1px solid var(--rule);
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 13px;
  font-weight: 500;
  color: var(--terra-deep);
}
.badge .icon { width: 14px; height: 14px; color: var(--terra); }

@media (max-width: 399px) {
  .badge { padding-inline: var(--s3); font-size: 12px; white-space: nowrap; }
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s3);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.tag .icon { width: 16px; height: 16px; color: var(--terra); }

/* Selo recortado com texto circular — a versão sóbria dos stickers da referência */
.stamp {
  position: relative;
  width: 128px;
  aspect-ratio: 1;
  color: var(--terra-deep);
}
.stamp__shape { width: 100%; height: 100%; }
.stamp__ring {
  position: absolute;
  inset: 0;
  animation: spin 28s linear infinite;
}
.stamp__ring svg { width: 100%; height: 100%; }
.stamp__ring text {
  fill: var(--paper);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}
.stamp__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28%;
  height: 28%;
  transform: translate(-50%, -50%);
  color: var(--paper);
}
.stamp--tint { color: var(--terra-tint); }
.stamp--tint .stamp__ring text { fill: var(--terra-night); }
.stamp--tint .stamp__icon { color: var(--terra-night); }

.icon-circle {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--terra);
}
.icon-circle .icon { width: 26px; height: 26px; --paper: var(--blush); }

.icon-circle--lg { width: 88px; height: 88px; background: var(--sand); }
.icon-circle--lg .icon { width: 40px; height: 40px; --paper: var(--sand); }

/* Seta desenhada à mão */
.note__arrow {
  width: 96px;
  height: auto;
  margin-top: var(--s1);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Livro — capa real do PDF com páginas empilhadas */
.book {
  position: relative;
  width: 100%;
  max-width: 340px;
  transform: rotate(-4deg);
}
.book__cover {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 3px 8px 8px 3px;
  box-shadow:
    5px 5px 0 -1px var(--paper),
    6px 6px 0 -1px var(--rule),
    10px 10px 0 -2px var(--paper),
    11px 11px 0 -2px var(--rule),
    32px 48px 64px -24px var(--shadow-ink);
}
.book::after {
  /* dobra da lombada */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 7%;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, var(--shadow-ink-soft), transparent 35%, var(--grid-line-dark) 55%, transparent);
  pointer-events: none;
}

.twinkle { animation: twinkle 4.5s ease-in-out infinite; }

/* ==========================================================================
   01 · Hero
   ========================================================================== */

.hero { padding-top: var(--s6); padding-bottom: var(--s10); }

.hero__box {
  position: relative;
  display: grid;
  gap: var(--s8);
  padding: var(--s8) var(--s6) 0;
  border-radius: var(--r-card);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--blush);
  box-shadow: inset 0 0 0 1px var(--rule);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.hero__blob { position: absolute; fill: var(--sand); }
.hero__blob--a { width: 520px; right: -140px; bottom: -180px; opacity: 0.9; }
.hero__blob--b { width: 100%; height: 28%; left: 0; bottom: -2px; fill: var(--paper-warm); opacity: 0.7; }
.hero__moon { position: absolute; top: 28px; right: 28px; width: 56px; color: var(--terra-tint); transform: rotate(-12deg); }
.hero__star { position: absolute; color: var(--terra-tint); }
.hero__star--1 { width: 18px; top: 104px; right: 104px; }
.hero__star--2 { width: 10px; top: 40px; right: 128px; animation-delay: 1.4s; }
.hero__star--3 { width: 12px; top: 136px; right: 44px; animation-delay: 2.6s; }
.hero__heart { position: absolute; top: 20px; left: 45%; width: 22px; color: var(--terra-tint); transform: rotate(-14deg); }

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero__content > * { animation: rise 900ms var(--ease-out) both; }
.hero__content > :nth-child(2) { animation-delay: 80ms; }
.hero__content > :nth-child(3) { animation-delay: 160ms; }
.hero__content > :nth-child(4) { animation-delay: 240ms; }
.hero__content > :nth-child(5) { animation-delay: 320ms; }

.hero .brand { margin-bottom: var(--s8); }

.hero__title {
  display: flex;
  flex-direction: column;
  margin: var(--s5) 0 var(--s5);
  font-family: var(--font-display);
  font-size: clamp(42px, 4.6vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.hero__title .t-light { font-weight: 400; }

/* abaixo de 1024 o tamanho acompanha a largura para "Faça seu bebê dormir" caber
   numa linha só (a linha mede ~8,4em em Fraunces Light) */
@media (max-width: 1023px) {
  .hero__title { font-size: clamp(30px, calc((100vw - 80px) / 8.6), 66px); }
}
.hero__title strong { font-weight: 600; color: var(--terra-deep); }
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra);
}

.hero__lead {
  max-width: 46ch;
  font-size: 19px;
  color: var(--ink-body);
}

.hero__cta { margin-top: var(--s8); }

.hero__media {
  position: relative;
  z-index: 1;
  min-height: 420px;
  margin-inline: calc(var(--s6) * -1);
}
.hero__arch {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(86%, 360px);
  height: 82%;
  border-radius: var(--r-pill) var(--r-pill) 0 0;
  background: var(--sand);
  transform: translateX(-50%);
  box-shadow: inset 0 0 0 12px var(--paper-warm);
}
.hero__img {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: auto;
  max-width: none;
  height: 100%;
  transform: translateX(-50%);
  animation: settle 1200ms var(--ease-out) both 120ms;
}

.hero__note {
  position: absolute;
  z-index: 3;
  top: 4px;
  left: var(--s4);
  font-size: 40px;
  transform: rotate(-8deg);
}
.hero__note .note__arrow { width: 72px; margin-left: 56px; }

.hero__stamp {
  position: absolute;
  z-index: 3;
  left: var(--s4);
  bottom: var(--s6);
  width: 104px;
}

.hero__tag {
  position: absolute;
  z-index: 3;
  right: var(--s4);
  bottom: 96px;
  transform: rotate(4deg);
}

@media (min-width: 1024px) {
  .hero { padding-top: var(--s24); padding-bottom: var(--s16); }

  .hero__box {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    min-height: 620px;
    padding: var(--s16) 0 0 var(--s16);
    border-radius: var(--r-box);
  }

  .hero__content { padding-bottom: var(--s16); }

  .hero__blob--a { width: 640px; right: -120px; bottom: -220px; }
  .hero__moon { top: 40px; right: 48px; width: 72px; }
  .hero__star--1 { width: 20px; top: 132px; right: 148px; }
  .hero__star--2 { width: 12px; top: 56px; right: 176px; }
  .hero__star--3 { width: 14px; top: 176px; right: 60px; }

  .hero__media {
    min-height: 0;
    margin: 0;
  }
  .hero__arch { width: 88%; height: 78%; max-width: none; }
  .hero__img {
    /* a foto passa do topo da caixa: padding da caixa + 64px de estouro */
    height: calc(100% + var(--s16) + var(--s16));
    max-height: 860px;
  }

  .hero__note {
    top: 30%;
    left: -150px;
    font-size: 50px;
    transform: rotate(-10deg);
  }
  .hero__note .note__arrow { width: 72px; margin: -4px 0 0 64px; transform: rotate(-12deg); }

  .hero__stamp { left: -36px; bottom: 64px; width: 136px; }
  .hero__tag { right: 24px; bottom: 136px; }
}

/* ==========================================================================
   02 · Faixa de selos
   ========================================================================== */

.ribbon {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-block: var(--s4);
  padding-block: var(--s4);
  background: var(--terra-deep);
  transform: rotate(-1.5deg);
  box-shadow: 0 0 0 1px var(--terra-deep);
}
.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon__list {
  display: flex;
  flex: none;
  align-items: center;
}
.ribbon__list li {
  display: inline-flex;
  align-items: center;
  gap: var(--s8);
  padding-right: var(--s8);
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--paper);
  white-space: nowrap;
}
.ribbon__list li::after {
  content: "";
  width: 14px;
  height: 14px;
  background: var(--terra-tint);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.7 5.4 3 8.3 10.5 10.5C15 14.2 12.7 17.1 12 22.5 11.3 17.1 9 14.2 1.5 12 9 9.8 11.3 6.9 12 1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5c.7 5.4 3 8.3 10.5 10.5C15 14.2 12.7 17.1 12 22.5 11.3 17.1 9 14.2 1.5 12 9 9.8 11.3 6.9 12 1.5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ==========================================================================
   03 · Identificação
   ========================================================================== */

.pain__grid {
  display: grid;
  gap: var(--s12);
}

.pain__photo {
  position: relative;
  margin-top: var(--s8);
}
.pain__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-pill) var(--r-pill) var(--r-card) var(--r-card);
}
.pain__note {
  position: absolute;
  right: var(--s4);
  bottom: calc(var(--s6) * -1);
  padding: var(--s2) var(--s5) var(--s3);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
  font-size: 40px;
  transform: rotate(-4deg);
}

.pain__list { counter-reset: pain; }
.pain__list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s4);
  align-items: baseline;
  padding-block: var(--s6);
  border-bottom: 1px solid var(--rule);
}
.pain__list li:first-child { padding-top: 0; }
.pain__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--terra-tint);
}
.pain__list p { font-size: 18px; }

.callout {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  margin-top: var(--s8);
  padding: var(--s6);
  border-radius: var(--r-md);
  background: var(--blush);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
}
.callout .icon { width: 24px; height: 24px; margin-top: var(--s1); color: var(--terra); }
.callout strong { font-weight: 600; color: var(--terra-deep); }

@media (min-width: 1024px) {
  .pain__grid {
    grid-template-columns: 5fr 6fr;
    gap: var(--s20);
    align-items: start;
  }
  .pain__aside { position: sticky; top: var(--s12); }
}

/* ==========================================================================
   04 · Conheça (caixa escura)
   ========================================================================== */

.about {
  position: relative;
  display: grid;
  gap: var(--s10);
  padding: var(--s6) var(--s6) var(--s10);
  border-radius: var(--r-card);
  background:
    linear-gradient(var(--grid-line-dark) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid-line-dark) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--terra-deep);
  color: var(--on-dark);
}
.about__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.about__moon { position: absolute; right: 32px; bottom: 32px; width: 48px; color: var(--terra); transform: rotate(18deg); }
.about__star { position: absolute; color: var(--terra-tint); }
.about__star--1 { width: 16px; top: 40px; right: 96px; }
.about__star--2 { width: 10px; top: 88px; right: 48px; animation-delay: 2s; }

.about__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about__book {
  width: 100%;
  max-width: 520px;
  transform: rotate(-2deg);
}
.about__stamp {
  position: absolute;
  right: 2%;
  bottom: -8px;
  width: 96px;
}

.about .h2 { color: var(--paper); }
.about .h2 em { color: var(--terra-tint); white-space: nowrap; }

@media (max-width: 1023px) {
  .about__moon { display: none; }
  .about { margin-top: var(--s12); }
  /* no mobile o livro fica maior e sai pelo topo e pelas laterais da caixa */
  .about__media { margin: calc(var(--s16) * -1) calc(var(--s6) * -1) 0; }
  .about__book { max-width: none; transform: rotate(-3deg); }
  .about__stamp { right: 6%; bottom: -12px; width: 92px; }
}
.about strong { color: var(--paper); }

.about__lead { margin-top: var(--s5); font-size: 18px; max-width: 50ch; }

.checks {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s8);
  padding-top: var(--s8);
  border-top: 1px solid var(--on-dark-rule);
}
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s3);
  align-items: start;
}
.checks__dot {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terra-tint);
  color: var(--terra-night);
}
.checks__dot .icon { width: 16px; height: 16px; }

@media (min-width: 1024px) {
  .about {
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: center;
    padding: var(--s16);
    border-radius: var(--r-box);
  }
  .about__book { max-width: 540px; }
  .about__stamp { right: 2%; bottom: 6%; width: 116px; }
}

/* ==========================================================================
   05 · Por dentro
   ========================================================================== */

.inside { padding-bottom: calc(var(--section-y) * 0.6); }

/* Duas fileiras de páginas reais correndo devagar em sentidos opostos,
   sobre uma faixa terracota. A segunda lista de cada fileira é cópia (aria-hidden)
   para o loop fechar sem salto. */
.shelf {
  position: relative;
  display: grid;
  gap: var(--s6);
  padding-block: var(--s6);
}
.shelf__row {
  position: relative;
  overflow: hidden;
  /* folga para a sombra dos cards não ser cortada */
  padding-bottom: var(--s12);
  margin-bottom: calc(var(--s12) * -1);
}
.shelf__track {
  display: flex;
  width: max-content;
  animation: marquee 90s linear infinite;
}
.shelf__row--reverse .shelf__track {
  animation-direction: reverse;
  animation-duration: 100s;
}
.shelf:hover .shelf__track { animation-play-state: paused; }
.shelf__list {
  display: flex;
  flex: none;
  gap: var(--s5);
  padding-right: var(--s5);
}

.leaf { flex: none; width: 200px; }
.leaf img {
  width: 100%;
  border-radius: 6px;
  background: var(--paper);
  box-shadow:
    0 0 0 1px var(--rule),
    0 2px 4px var(--shadow-ink-soft),
    0 20px 36px -16px var(--shadow-ink);
}
.leaf figcaption {
  display: grid;
  gap: 2px;
  padding: var(--s4) var(--s1) 0;
}
.leaf__part {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
}
.leaf__title {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.25;
  color: var(--ink);
  min-height: 2.5em;   /* duas linhas: cards com a mesma altura */
}

.parts {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s10);
}
.part {
  padding: var(--s6);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.part__n {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 40px;
  line-height: 1;
  color: var(--terra-tint);
}
.part__title {
  margin: var(--s2) 0 var(--s4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--terra-deep);
}
.part ul {
  display: grid;
  gap: var(--s2);
  font-size: 15px;
  line-height: 1.45;
}
.part li {
  position: relative;
  padding-left: var(--s5);
}
.part li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 1px;
  background: var(--terra);
}

@media (min-width: 640px) {
  .parts { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .leaf { width: 256px; }
  .leaf__title { font-size: 17px; }
  .shelf { gap: var(--s8); padding-block: var(--s8); }
  .shelf__list { gap: var(--s6); padding-right: var(--s6); }
  .shelf__row--reverse { margin-left: -140px; }
  .parts { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
}

/* ==========================================================================
   06 · Benefícios
   ========================================================================== */

.benefits { padding-top: calc(var(--section-y) * 0.6); }

.benefits__grid {
  display: grid;
  gap: var(--s4);
}
.benefit {
  display: grid;
  gap: var(--s3);
  align-content: start;
  padding: var(--s8) var(--s6);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.benefit .icon-circle {
  margin-bottom: var(--s2);
  transition: background-color var(--t-tone) ease-out;
}
.benefit:hover .icon-circle { background: var(--sand); }

/* Microanimações dos ícones — bem discretas, cada uma no seu ritmo.
   Anima o <span> em volta do SVG (elemento HTML gira e escala pelo centro). */
.ico { display: grid; place-items: center; }
.ico--float { animation: ico-float 3.6s ease-in-out infinite; }
.ico--rock  { animation: ico-rock 4.8s ease-in-out infinite; }
.ico--spin  { animation: ico-spin 14s linear infinite; }
.ico--pulse { animation: ico-pulse 3.2s ease-in-out infinite; }
.ico--beat  { animation: ico-beat 2.6s ease-in-out infinite; }
.ico--sway  { animation: ico-sway 4.2s ease-in-out infinite; transform-origin: 20% 90%; }

/* no hover do card o gesto fica um pouco mais evidente */
.benefit:hover .ico--float { animation-duration: 1.8s; }
.benefit:hover .ico--rock  { animation-duration: 2.4s; }
.benefit:hover .ico--spin  { animation-duration: 5s; }
.benefit:hover .ico--pulse { animation-duration: 1.6s; }
.benefit:hover .ico--beat  { animation-duration: 1.3s; }
.benefit:hover .ico--sway  { animation-duration: 2.1s; }
.benefit p { font-size: 16px; }

@media (min-width: 640px) {
  .benefits__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .benefits__grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
  .benefit { padding: var(--s10) var(--s8); }
}

/* ==========================================================================
   07 · Depoimentos
   ========================================================================== */

.voices {
  position: relative;
  background: var(--paper-warm);
  border-block: 1px solid var(--rule);
}

.voices__grid {
  display: grid;
  gap: var(--s4);
}
.voice {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s5);
  padding: var(--s8) var(--s6) var(--s6);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule);
  break-inside: avoid;
}
.voice::before {
  content: "“";
  position: absolute;
  top: var(--s2);
  right: var(--s6);
  font-family: var(--font-display);
  font-size: 96px;
  line-height: 1;
  color: var(--sand);
}
.stars { display: flex; gap: 2px; color: var(--terra); }
.stars svg { width: 18px; height: 18px; }
.voice blockquote {
  position: relative;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink);
}
.voice__who {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-top: auto;
  padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.4;
}
.voice__who strong { display: block; font-size: 15px; }
.avatar {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sand);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--terra-deep);
}

/* 5 depoimentos: 3 em cima, 2 embaixo — sem buraco na grade */
@media (min-width: 768px) {
  .voices__grid { grid-template-columns: repeat(2, 1fr); gap: var(--s5); }
  .voice:last-child { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .voices__grid { grid-template-columns: repeat(6, 1fr); }
  .voice { grid-column: span 2; }
  .voice:nth-child(n + 4) { grid-column: span 3; }
  .voice:last-child { grid-column: span 3; }
}

/* ==========================================================================
   08 · Oferta
   ========================================================================== */

.offer__box {
  position: relative;
  display: grid;
  gap: var(--s10);
  padding: var(--s12) var(--s4) var(--s4);
  border-radius: var(--r-card);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--blush);
  box-shadow: inset 0 0 0 1px var(--rule);
}

.offer__media {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* Tablet + celular desenhados em CSS: mostram que o e-book é lido na tela.
   Genéricos de propósito (sem marca de aparelho). */
.devices {
  position: relative;
  width: min(100%, 300px);
  padding: 0 var(--s10) var(--s8) 0;
}
.device {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.device img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.device--tablet {
  aspect-ratio: 900 / 1273;
  padding: 10px;
  border-radius: 22px;
  transform: rotate(-4deg);
  box-shadow:
    inset 0 0 0 1px var(--grid-line-dark),
    0 40px 60px -30px var(--shadow-ink);
}
.device--tablet img { border-radius: 12px; }
.device--phone {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 44%;
  aspect-ratio: 9 / 19;
  padding: 6px;
  border-radius: 24px;
  transform: rotate(6deg);
  box-shadow:
    inset 0 0 0 1px var(--grid-line-dark),
    -12px 28px 44px -18px var(--shadow-ink);
}
.device--phone img { border-radius: 18px; }
.device--phone::before {
  /* ilha da câmera */
  content: "";
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 50%;
  width: 28%;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--ink);
  transform: translateX(-50%);
}
.devices__tag {
  position: absolute;
  left: -8px;
  bottom: 12px;
  transform: rotate(-3deg);
}
.offer__note {
  margin-top: var(--s8);
  font-size: 40px;
  text-align: center;
  transform: rotate(-4deg);
}
.offer__note .note__arrow--down { display: none; }

.price-card {
  padding: var(--s8) var(--s6);
  border-radius: calc(var(--r-card) - 4px);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule), 0 32px 64px -40px var(--shadow-ink);
}
.price-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.price-card__title em { font-style: italic; font-weight: 400; color: var(--terra); }

.price-card__list {
  display: grid;
  gap: var(--s3);
  margin-top: var(--s6);
  font-size: 16px;
}
.price-card__list li { display: grid; grid-template-columns: 20px 1fr; gap: var(--s3); }
.price-card__list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--terra); }

.price {
  margin: var(--s8) 0 var(--s6);
  padding-top: var(--s6);
  border-top: 1px dashed var(--rule);
  text-align: center;
}
.price__from { font-size: 15px; }
.price__from s { color: var(--ink-soft); text-decoration-color: var(--terra); }
.price__now {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s1);
  margin-top: var(--s1);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(72px, 9vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--terra-deep);
}
.price__cur { margin-top: 0.3em; font-size: 0.3em; font-weight: 400; letter-spacing: 0; }
.price__cents { margin-top: 0.12em; font-size: 0.42em; }
.price__terms {
  margin-top: var(--s2);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}

.urgency {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
  margin-top: var(--s5);
  padding: var(--s4);
  border-radius: var(--r-sm);
  background: var(--paper-warm);
  font-size: 14px;
  line-height: 1.45;
}
.urgency .icon { width: 20px; height: 20px; margin-top: 1px; color: var(--terra); }
.urgency strong { display: block; color: var(--terra-deep); }

.price-card .trust { font-size: 13px; }

@media (min-width: 1024px) {
  .offer__box {
    grid-template-columns: 1fr 1fr;
    gap: var(--s16);
    align-items: center;
    padding: var(--s16);
    border-radius: var(--r-box);
  }
  .devices { width: min(100%, 400px); padding: 0 var(--s16) var(--s10) 0; }
  .device--tablet { padding: 12px; border-radius: 28px; }
  .device--tablet img { border-radius: 16px; }
  .device--phone { padding: 7px; border-radius: 30px; }
  .device--phone img { border-radius: 23px; }
  .offer__note {
    order: -1;
    align-self: flex-start;
    margin: 0 0 var(--s2) var(--s6);
    font-size: 48px;
    text-align: left;
    transform: rotate(-6deg);
  }
  .offer__note .note__arrow--down { display: block; margin-left: 96px; }
  .price-card { padding: var(--s12) var(--s10); }
}

/* ==========================================================================
   09 · Garantia (composição do banner)
   ========================================================================== */

.guarantee { padding-top: calc(var(--section-y) * 0.6); }

.guarantee__grid {
  display: grid;
  gap: var(--s12);
  align-items: center;
}

.guarantee__content { display: grid; gap: var(--s10); }

.assure {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s5);
  align-items: start;
}
.assure .icon-circle--lg { width: 72px; height: 72px; }
.assure .icon-circle--lg .icon { width: 32px; height: 32px; }

.assure__title {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--s3);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
}
.assure__title strong {
  font-weight: 600;
  font-size: 1.25em;
  color: var(--terra-deep);
}
.assure__title em { font-style: italic; }
.assure p { max-width: 48ch; font-size: 16px; }
.assure__kicker {
  margin-top: var(--s3);
  font-weight: 600;
  color: var(--terra-deep);
}

.guarantee__note {
  position: relative;
  justify-self: start;
  font-size: clamp(44px, 5vw, 60px);
  transform: rotate(-4deg);
}
.guarantee__heart {
  position: absolute;
  right: -20px;
  bottom: 16px;
  width: 24px;
  color: var(--terra-tint);
}

.guarantee__media {
  position: relative;
  padding: var(--s8) var(--s2) 0;
}
.guarantee__blob {
  overflow: hidden;
  border-radius: 58% 42% 48% 52% / 52% 46% 54% 48%;
  box-shadow: 0 0 0 12px var(--blush);
}
.guarantee__blob img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: 40% 50%;
}
.guarantee__moon {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 8%;
  width: 72px;
  color: var(--terra-tint);
  transform: rotate(-16deg);
}
.guarantee__star { position: absolute; z-index: 2; color: var(--terra-tint); }
.guarantee__star--1 { width: 20px; top: 12%; right: 0; }
.guarantee__star--2 { width: 12px; top: 2%; right: 30%; animation-delay: 1.8s; }
.guarantee__star--3 { width: 14px; top: 26%; right: 4%; animation-delay: 3s; }

@media (min-width: 1024px) {
  .guarantee__grid { grid-template-columns: 1fr 1fr; gap: var(--s20); }
  .guarantee__media { padding: var(--s10) var(--s10) 0; }
  .guarantee__moon { width: 96px; right: 4%; }
  .assure { grid-template-columns: 88px 1fr; gap: var(--s6); }
  .assure .icon-circle--lg { width: 88px; height: 88px; }
  .assure .icon-circle--lg .icon { width: 40px; height: 40px; }
}

/* ==========================================================================
   10 · FAQ
   ========================================================================== */

.faq { padding-top: 0; }

.faq__grid { display: grid; gap: var(--s8); }

.faq__list { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s6);
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color var(--t-tone) ease-out;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--terra-deep); }
.faq summary:focus-visible { outline: 2px solid var(--terra); outline-offset: 4px; border-radius: 4px; }
.faq summary .icon {
  width: 20px;
  height: 20px;
  color: var(--terra);
  transition: transform var(--t-tone) var(--ease-out);
}
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p {
  max-width: 62ch;
  padding-bottom: var(--s6);
  font-size: 16px;
}

@media (min-width: 1024px) {
  .faq__grid { grid-template-columns: 4fr 7fr; gap: var(--s20); align-items: start; }
}

/* ==========================================================================
   11 · CTA final (caixa noturna)
   ========================================================================== */

.final {
  position: relative;
  overflow: hidden;
  padding: var(--s16) var(--s6);
  border-radius: var(--r-card);
  background:
    radial-gradient(120% 90% at 50% 0%, var(--terra-deep), transparent 70%),
    var(--terra-night);
  text-align: center;
}
.final__bg { position: absolute; inset: 0; pointer-events: none; }
.final__star { position: absolute; color: var(--terra-tint); }
.final__star--1 { width: 18px; top: 18%; left: 10%; }
.final__star--2 { width: 10px; top: 34%; left: 20%; animation-delay: 1.2s; }
.final__star--3 { width: 14px; top: 22%; right: 12%; animation-delay: 2.4s; }
.final__star--4 { width: 10px; bottom: 22%; right: 20%; animation-delay: 3.4s; }

.final__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin-inline: auto;
}
.final__moon { width: 56px; margin-bottom: var(--s6); color: var(--terra-tint); transform: rotate(-16deg); }
.final__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.final__title em { display: block; font-style: italic; font-weight: 400; color: var(--terra-tint); }
.final__lead { max-width: 44ch; margin: var(--s5) 0 var(--s8); font-size: 18px; color: var(--on-dark); }

@media (min-width: 1024px) {
  .final { padding: var(--s24) var(--s16); border-radius: var(--r-box); }
}

/* ==========================================================================
   Rodapé e barra fixa
   ========================================================================== */

.footer {
  padding: var(--s12) 0 calc(var(--s12) + 80px);
  text-align: center;
  font-size: 14px;
}
.footer p + p { margin-top: var(--s2); }
.footer .brand { margin-bottom: var(--s3); }
.footer__legal { font-size: 13px; color: var(--ink-soft); }

@media (min-width: 900px) {
  .footer { padding-bottom: var(--s12); }
}

.sticky-cta {
  position: fixed;
  z-index: 50;
  left: var(--s3);
  right: var(--s3);
  bottom: var(--s3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s2) var(--s2) var(--s2) var(--s5);
  border-radius: var(--r-pill);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule), 0 16px 40px -16px var(--shadow-ink);
  transform: translateY(calc(100% + var(--s6)));
  transition: transform 400ms var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__price {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.sticky-cta__price s { font-size: 12px; }
.sticky-cta__price strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--terra-deep);
}

@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* ==========================================================================
   Revelação e animações
   ========================================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes settle {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to { opacity: 1; transform: translateX(-50%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ico-float {
  0%, 100% { transform: translateY(1px); }
  50%      { transform: translateY(-2px); }
}
@keyframes ico-rock {
  0%, 100% { transform: rotate(-8deg); }
  50%      { transform: rotate(8deg); }
}
@keyframes ico-spin { to { transform: rotate(360deg); } }
@keyframes ico-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.1); }
}
@keyframes ico-beat {
  0%, 40%, 100% { transform: scale(1); }
  12%           { transform: scale(1.14); }
  24%           { transform: scale(1.04); }
  32%           { transform: scale(1.12); }
}
@keyframes ico-sway {
  0%, 100% { transform: rotate(-7deg); }
  50%      { transform: rotate(6deg); }
}
@keyframes cta-pulse {
  0%   { box-shadow: inset 0 -3px 0 var(--shadow-ink-soft), 0 0 0 0 var(--green-ring); }
  70%  { box-shadow: inset 0 -3px 0 var(--shadow-ink-soft), 0 0 0 14px transparent; }
  100% { box-shadow: inset 0 -3px 0 var(--shadow-ink-soft), 0 0 0 0 transparent; }
}
@keyframes cta-shine {
  0%, 55% { transform: translateX(-160%) skewX(-20deg); }
  100%    { transform: translateX(360%) skewX(-20deg); }
}
@keyframes cta-shine-hover {
  from { transform: translateX(-160%) skewX(-20deg); }
  to   { transform: translateX(360%) skewX(-20deg); }
}
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .ribbon__track { animation: none; }
  .shelf__track { animation: none; }
  .btn, .btn::after { animation: none !important; }
  .ico { animation: none !important; }
  .btn:hover { transform: none; }
  .shelf__row { overflow-x: auto; }
}
