/* =========================================================
   Meu caminho como artista — estilos
   Segue o ebook: papel branco, letreiro em pincel arco-íris,
   escrita manuscrita e lavagens de aquarela.
   ========================================================= */

:root {
  /* Papel e tinta */
  --paper: #fffdf9;
  --paper-2: #f6f2ea;
  --ink: #1e2b4f;          /* azul-marinho do texto */
  --ink-soft: #46527a;
  --line: #d9d3c7;

  /* Aquarelas do livro */
  --blue: #1f64d0;
  --teal: #0e8a9e;
  --green: #3f8f43;
  --green-soft: #b9dfae;
  --yellow: #f6c343;
  --yellow-ink: #b67c00;
  --coral: #e05a49;
  --coral-soft: #f8b3a5;
  --purple: #7d55c2;
  --brand-orange: #ff5a00;  /* marca Arte Afetiva */

  --shadow-wash: rgba(30, 43, 79, .10);
  --shadow-page: 0 1px 2px rgba(30,43,79,.10), 0 10px 28px -8px rgba(30,43,79,.28);

  --rainbow: linear-gradient(100deg, #1f64d0 0%, #1590b8 20%, #3f9a45 38%, #d19300 52%, #e8604f 68%, #c2416e 84%, #7d55c2 100%);

  /* Tipografia */
  --font-brush: 'Caveat Brush', 'Comic Sans MS', cursive;
  --font-hand: 'Patrick Hand', 'Segoe Print', 'Comic Sans MS', system-ui, sans-serif;

  --step--1: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-0: clamp(1.15rem, 1.08rem + .35vw, 1.3rem);
  --step-1: clamp(1.4rem, 1.25rem + .7vw, 1.75rem);
  --step-2: clamp(1.8rem, 1.5rem + 1.4vw, 2.6rem);
  --step-3: clamp(2.5rem, 1.9rem + 3vw, 4.2rem);
  --step-4: clamp(3.1rem, 2rem + 5.4vw, 6.4rem);

  --gutter: clamp(1rem, .6rem + 2vw, 2.5rem);
  --radius-hand: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --ease-paint: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-hand);
  font-size: var(--step-0);
  line-height: 1.5;
  font-variant-ligatures: no-common-ligatures;
  color: var(--ink);
  background-color: var(--paper);
  /* Grão de papel sutil */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .4 0 0 0 0 .32 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  overflow-x: clip;
}
html, main { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; }
button { font: inherit; color: inherit; }
p { margin: 0 0 .9em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only, .sr-defs {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 2 * var(--gutter)); }

/* ---------- Tipografia de pincel ---------- */
.brush-title {
  font-family: var(--font-brush);
  font-size: var(--step-3);
  line-height: .98;
  letter-spacing: -.01em;
  background: var(--rainbow);
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-block: .06em .1em;
  text-wrap: balance;
}
.brush-title--sm { font-size: var(--step-2); }
@media (forced-colors: active) { .brush-title { color: CanvasText; background: none; } }

.hand-title {
  font-family: var(--font-hand);
  font-size: var(--step-1);
  line-height: 1.2;
  color: var(--ink);
}

/* Sublinhado de pincel, como nos subtítulos do livro */
.underline { display: inline-block; position: relative; padding-bottom: .2em; }
.underline::after {
  content: ""; position: absolute; left: -.1em; right: -.2em; bottom: 0; height: .32em;
  background: var(--u, var(--blue)); opacity: .55; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  filter: url(#wc-edge); z-index: -1;
}
.underline--blue { --u: #9cc3f2; }
.underline--coral { --u: var(--coral-soft); }

/* Etiqueta lavada em aquarela (como "Caminho 1") */
.wash-tag {
  display: inline-block;
  font-size: var(--step--1);
  color: var(--ink);
  padding: .25em .9em .3em;
  margin-bottom: .9rem;
  position: relative;
  isolation: isolate;
}
.wash-tag::before {
  content: ""; position: absolute; inset: -2px -4px; z-index: -1;
  background: radial-gradient(60% 90% at 30% 50%, var(--w), transparent 75%),
              radial-gradient(55% 80% at 75% 45%, var(--w), transparent 72%);
  opacity: .7; filter: url(#wc-edge);
  border-radius: 40px;
}
.wash-tag--blue { --w: #b8d4f6; }
.wash-tag--green { --w: #c8e7bf; }
.wash-tag--purple { --w: #dccbf3; }
.wash-tag--coral { --w: #fbcabe; }
.wash-tag--yellow { --w: #fbe2a0; }

.section { padding-block: clamp(4rem, 3rem + 5vw, 7.5rem); position: relative; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.section-head .brush-title { margin-bottom: .35em; }
.section-intro { font-size: var(--step-1); line-height: 1.4; color: var(--ink-soft); max-width: 40rem; }

/* ---------- Botões ---------- */
.btn {
  --bg: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: .55rem 1.5rem .6rem;
  font-family: var(--font-hand); font-size: var(--step-0); line-height: 1.1;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); border-radius: var(--radius-hand);
  background: var(--bg); color: var(--ink);
  transition: transform .2s var(--ease-paint), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px) rotate(-.6deg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--ghost:hover { background: #fff; box-shadow: 3px 4px 0 var(--yellow); }

.btn--paint {
  --bg: var(--blue);
  color: #fff; border-color: transparent;
  box-shadow: 4px 5px 0 var(--coral-soft);
  position: relative;
}
.btn--paint:hover { --bg: #1a55b3; box-shadow: 5px 7px 0 var(--yellow); }
.btn--paint:focus-visible { outline-color: var(--ink); }
.btn--paint[aria-busy="true"] { cursor: progress; }
.btn--paint[aria-busy="true"] .btn-label::before {
  content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .5em; vertical-align: -.1em;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn--paint.is-added { --bg: var(--green); box-shadow: 4px 5px 0 var(--green-soft); }
.btn--wide { width: 100%; }
.price-tag {
  font-size: .95em; padding: .1em .55em; border-radius: 999px;
  background: rgba(255,255,255,.18);
}
.price-tag:empty { display: none; }

.text-link {
  background: none; border: 0; padding: .3rem 0; cursor: pointer;
  color: var(--ink); font-size: var(--step-0);
  text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}
.text-link:hover { color: var(--blue); }

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 18px -14px rgba(30,43,79,.4); }
.header-inner {
  width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-brush); font-size: 1.45rem; color: var(--ink); }
.brand-tag { font-size: .95rem; color: var(--brand-orange); filter: brightness(.82); }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: .3rem; margin: 0; padding: 0; }
.main-nav a {
  display: block; padding: .45rem .75rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 1.12rem;
}
.main-nav a:hover { background: #eaf1fc; }

.header-tools { display: flex; align-items: center; gap: .5rem; }
.select-chip {
  display: flex; align-items: center; gap: .2rem; padding: 0 .35rem 0 .55rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-soft);
}
.select-chip select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--ink); padding: .4rem 1.1rem .4rem .2rem; cursor: pointer; width: 4.4rem;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 5px) 55%;
  background-size: 4px 4px; background-repeat: no-repeat;
}
.select-chip:focus-within { border-color: var(--blue); box-shadow: 0 0 0 2px #b8d4f6; }
.select-chip select:focus-visible { outline: none; }

.cart-button {
  position: relative; display: grid; place-items: center;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  border: 2px solid var(--ink); background: #fff; cursor: pointer;
  transition: transform .2s var(--ease-paint);
}
.cart-button:hover { transform: rotate(-6deg); }
.cart-button.is-bumped { animation: bump .5s var(--ease-paint); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 1.35rem; height: 1.35rem;
  display: grid; place-items: center; padding: 0 .3rem;
  background: var(--coral); color: #fff; border-radius: 999px; font-size: .9rem; line-height: 1;
  border: 2px solid var(--paper);
}
@keyframes bump { 30% { transform: scale(1.18) rotate(-8deg); } 60% { transform: scale(.95); } }

.menu-toggle { display: none; }

@media (max-width: 960px) {
  .menu-toggle {
    display: grid; place-items: center; width: 2.9rem; height: 2.9rem;
    border: 0; background: transparent; cursor: pointer; border-radius: 50%;
  }
  .menu-lines, .menu-lines::before, .menu-lines::after {
    display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative;
    transition: transform .25s, opacity .2s;
  }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
  .menu-lines::before { top: -7px; }
  .menu-lines::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 24px -18px rgba(30,43,79,.5);
    padding: .5rem var(--gutter) 1rem; display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 1.3rem; padding: .7rem .5rem; border-radius: 10px; }
  .header-tools { margin-left: auto; }
}
@media (max-width: 520px) {
  .brand-text { display: none; }
  .header-inner { gap: .5rem; }
  .header-tools { gap: .35rem; }
  .select-chip svg { display: none; }
  .select-chip { padding-left: .35rem; }
}

/* ---------- Manchas de aquarela ---------- */
.blob {
  position: absolute; z-index: -1; pointer-events: none;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  filter: url(#wc-blob);
  mix-blend-mode: multiply;
}
.blob--blue { width: 34rem; height: 26rem; right: 6%; top: 4%; background: radial-gradient(closest-side, rgba(120,170,240,.42), rgba(120,170,240,.18) 70%, transparent); }
.blob--yellow { width: 18rem; height: 15rem; right: 38%; bottom: 2%; background: radial-gradient(closest-side, rgba(250,205,90,.5), rgba(250,205,90,.15) 70%, transparent); }
.blob--coral { width: 14rem; height: 12rem; left: -4rem; top: 18%; background: radial-gradient(closest-side, rgba(240,140,120,.38), rgba(240,140,120,.12) 70%, transparent); }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(2.5rem, 2rem + 4vw, 6rem) clamp(3.5rem, 3rem + 4vw, 7rem);
}
.hero-title { font-size: var(--step-4); margin-bottom: .25em; }
.hero-lead { font-size: var(--step-2); line-height: 1.15; color: var(--ink); margin-bottom: .6em; }
.hero-text { font-size: var(--step-0); color: var(--ink-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 2rem; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: .55rem 1.6rem; }
.facts li { display: flex; align-items: center; gap: .55rem; font-size: 1.12rem; }
.dot { width: .95rem; height: .95rem; border-radius: 48% 52% 45% 55%; flex-shrink: 0; filter: url(#wc-edge); }
.dot--blue { background: #5f97e6; } .dot--green { background: #6fb766; } .dot--yellow { background: var(--yellow); } .dot--coral { background: #ec7d6c; }

.hero-book { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 620 / 877; }
.book-cover, .book-page { position: absolute; inset: 0; margin: 0; }
.book-cover { transform: rotate(-3.5deg); z-index: 3; }
.book-cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px 8px 8px 3px; box-shadow: var(--shadow-page), inset 0 0 0 1px rgba(0,0,0,.04); background: #fff; }
.book-cover::after { /* lombada */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; border-radius: 3px 0 0 3px;
  background: linear-gradient(90deg, rgba(30,43,79,.18), rgba(255,255,255,.3) 45%, transparent);
}
.book-page { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-page); background: #fff; }
.book-page--mid { transform: rotate(4deg) translate(9%, 2%); z-index: 2; }
.book-page--back { transform: rotate(10deg) translate(17%, 5%); z-index: 1; filter: saturate(.9); }

.tape { position: absolute; width: 96px; height: 28px; z-index: 4; background: rgba(250, 226, 160, .78); box-shadow: 0 1px 2px rgba(0,0,0,.06); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%); }
.tape--tl { left: -26px; top: 16px; transform: rotate(-38deg); }
.tape--br { right: -24px; bottom: 30px; transform: rotate(-34deg); background: rgba(184, 212, 246, .8); }
.tape--top { left: 50%; top: -14px; transform: translateX(-50%) rotate(-3deg); }

.pages-badge {
  position: absolute; z-index: 5; left: -2.2rem; bottom: 12%;
  width: 7.4rem; height: 7.4rem; margin: 0; display: grid; place-content: center; text-align: center;
  line-height: 1; color: var(--ink); transform: rotate(-8deg);
}
.pages-badge::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 45% 40%, #ffe08a, #f6c343 70%);
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%; filter: url(#wc-edge);
}
.pages-badge strong { font-family: var(--font-brush); font-size: 2.6rem; font-weight: 400; }
.pages-badge span { font-size: .92rem; max-width: 5.5rem; margin-inline: auto; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-book { width: min(56%, 300px); order: -1; margin-top: .25rem; justify-self: start; margin-left: 12%; }
  .blob--blue { width: 22rem; height: 18rem; right: -6rem; top: 0; }
  .pages-badge { width: 6rem; height: 6rem; left: -1.5rem; }
  .pages-badge strong { font-size: 2.1rem; }
  .pages-badge span { font-size: .8rem; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
  .facts li { font-size: 1.02rem; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* Entrada orquestrada do hero */
.js .hero-title { clip-path: inset(0 100% 0 0); }
.js .hero-lead, .js .hero-text, .js .hero-actions, .js .facts { opacity: 0; transform: translateY(10px); }
.js .book-cover, .js .book-page, .js .pages-badge { opacity: 0; }
.js .blob { opacity: 0; transform: scale(.7); }
.is-ready .hero-title { animation: brush-wipe 1.1s var(--ease-paint) .15s forwards; }
.is-ready .hero-lead { animation: rise .7s var(--ease-paint) .75s forwards; }
.is-ready .hero-text { animation: rise .7s var(--ease-paint) .9s forwards; }
.is-ready .hero-actions { animation: rise .7s var(--ease-paint) 1.05s forwards; }
.is-ready .facts { animation: rise .7s var(--ease-paint) 1.2s forwards; }
.is-ready .blob { animation: bloom 1.8s var(--ease-paint) forwards; }
.is-ready .blob--yellow { animation-delay: .35s; }
.is-ready .blob--coral { animation-delay: .6s; }
.is-ready .book-page--back { animation: page-in 1s var(--ease-paint) .35s forwards; --r: 10deg; --t: 17%, 5%; }
.is-ready .book-page--mid { animation: page-in 1s var(--ease-paint) .5s forwards; --r: 4deg; --t: 9%, 2%; }
.is-ready .book-cover { animation: page-in 1s var(--ease-paint) .2s forwards; --r: -3.5deg; --t: 0, 0; }
.is-ready .pages-badge { animation: stamp .6s var(--ease-paint) 1.3s forwards; }

@keyframes brush-wipe { to { clip-path: inset(0 -5% 0 0); } }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes bloom { to { opacity: 1; transform: scale(1); } }
@keyframes page-in {
  from { opacity: 0; transform: rotate(calc(var(--r) - 6deg)) translate(var(--t)) translateY(30px); }
  to { opacity: 1; transform: rotate(var(--r)) translate(var(--t)); }
}
@keyframes stamp { from { opacity: 0; transform: rotate(-20deg) scale(1.4); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }

/* Revelação ao rolar */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease-paint), transform .8s var(--ease-paint); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 2. Apresentação ---------- */
.about { background:
  radial-gradient(40rem 22rem at 92% 8%, rgba(185, 223, 174, .32), transparent 70%),
  radial-gradient(30rem 18rem at 4% 92%, rgba(184, 212, 246, .3), transparent 70%); }

.pillars { list-style: none; padding: 0; margin: 0 0 3rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.pillars li {
  font-family: var(--font-brush); font-size: var(--step-1); color: var(--c);
  padding: .3rem 1.1rem .4rem; position: relative; isolation: isolate;
}
.pillars li::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50px;
  background: var(--c); opacity: .1; filter: url(#wc-edge);
}

.audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3.5rem); margin-bottom: 4rem; }
.audience { position: relative; padding: 1.75rem 1.75rem 1.25rem; background: #fff; border-radius: 6px; box-shadow: var(--shadow-page); }
.audience:nth-child(1) { transform: rotate(-.6deg); }
.audience:nth-child(2) { transform: rotate(.5deg); }
.js .audience.reveal.is-visible:nth-child(1) { transform: rotate(-.6deg); }
.js .audience.reveal.is-visible:nth-child(2) { transform: rotate(.5deg); }
.audience .hand-title { margin-bottom: 1rem; position: relative; z-index: 0; }

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { position: relative; padding-left: 1.9rem; margin-bottom: .6rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.05rem; height: 1.05rem;
  border-radius: 46% 54% 50% 50%; background: var(--li, #9cc3f2); filter: url(#wc-edge);
}
.check-list li::after {
  content: ""; position: absolute; left: .32rem; top: .5em; width: .42rem; height: .62rem;
  border: solid var(--ink); border-width: 0 2.4px 2.4px 0; transform: rotate(40deg);
}
.check-list li:nth-child(5n+2) { --li: #a8d99c; }
.check-list li:nth-child(5n+3) { --li: #f8d77a; }
.check-list li:nth-child(5n+4) { --li: var(--coral-soft); }
.check-list li:nth-child(5n+5) { --li: #d4c1f1; }

.route .hand-title { margin-bottom: 1.4rem; }
.route-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; counter-reset: none; position: relative; }
.route-list::before { /* trilha pontilhada */
  content: ""; position: absolute; left: 4%; right: 4%; top: 1.15rem; border-top: 3px dashed #c9c1b2; z-index: -1;
}
.route-step { display: flex; flex-direction: column; gap: .4rem; font-size: 1.1rem; line-height: 1.3; }
.route-step::before {
  content: ""; width: 2.3rem; height: 2.3rem; border-radius: 50% 46% 52% 48%;
  background: var(--c); opacity: .85; filter: url(#wc-edge); margin-bottom: .3rem;
}
.route-label { font-family: var(--font-brush); font-size: 1.4rem; line-height: 1; color: var(--c, var(--blue)); }
.route-label--lg { font-size: var(--step-1); margin: 0 0 .1rem; }
.route-text { color: var(--ink); }

@media (max-width: 960px) {
  .route-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 1.6rem; }
  .route-list::before { display: none; }
}
@media (max-width: 700px) {
  .audiences { grid-template-columns: 1fr; }
  .route-list { grid-template-columns: 1fr; gap: 0; }
  .route-step { flex-direction: row; align-items: center; flex-wrap: wrap; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
  .route-step::before { width: 1.6rem; height: 1.6rem; margin: 0; }
  .route-label { width: auto; }
}

/* ---------- 3. Prévia: livro aberto que folheia sozinho ---------- */
.preview { background: linear-gradient(180deg, transparent, rgba(246, 242, 234, .7) 18%, rgba(246, 242, 234, .7) 82%, transparent); }
.book-stage { width: min(100%, 940px); margin-inline: auto; display: grid; justify-items: center; gap: 1.2rem; }

.book {
  --leaf-radius: 3px;
  position: relative; width: 100%;
  padding: clamp(8px, 1.4vw, 14px);
  background: linear-gradient(160deg, #2a52a0, #1b3770);
  border-radius: 12px;
  box-shadow: 0 2px 0 #142a58, 0 34px 50px -28px rgba(30, 43, 79, .7);
}
.book-spread {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  aspect-ratio: 1040 / 735; perspective: 2400px;
  /* folhas empilhadas embaixo do miolo */
  box-shadow: 0 3px 0 -1px #f3efe6, 0 6px 0 -2px #e6e0d3, 0 9px 0 -3px #d9d2c3;
  border-radius: 4px;
}
.book-left, .book-right { position: relative; overflow: hidden; background: #fff; }
.book-left { border-radius: 4px 0 0 4px; container-type: inline-size; }
.book-right { border-radius: 0 4px 4px 0; }
.book-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; user-select: none; -webkit-user-drag: none;
}
/* Só uma espiada: a parte de baixo da página some no papel */
.book-right::after, .leaf-front::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.9) 42%, #fff 66%);
}

.book-leaf {
  position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 50%;
  transform-origin: left center; transform-style: preserve-3d;
  will-change: transform;
}
.leaf-face {
  position: absolute; inset: 0; overflow: hidden; background: #fff;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.leaf-front { border-radius: 0 4px 4px 0; }
.leaf-back { transform: rotateY(180deg); border-radius: 4px 0 0 4px; container-type: inline-size; }
.leaf-shade { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; }
.leaf-front .leaf-shade { background: linear-gradient(90deg, rgba(30,43,79,.38), rgba(30,43,79,.08) 45%, rgba(255,255,255,.25) 80%, transparent); }
.leaf-back .leaf-shade { background: linear-gradient(270deg, rgba(30,43,79,.32), rgba(30,43,79,.06) 45%, transparent); }
.book-cast { /* sombra que a folha joga na página de baixo */
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, rgba(30,43,79,.35), rgba(30,43,79,.1) 30%, transparent 65%);
}
.book.is-turning .leaf-front .leaf-shade { animation: shade-in 1.4s cubic-bezier(.5,.02,.25,1) forwards; }
.book.is-turning .leaf-back .leaf-shade { animation: shade-out 1.4s cubic-bezier(.5,.02,.25,1) forwards; }
.book.is-turning .book-cast { animation: cast 1.4s cubic-bezier(.5,.02,.25,1) forwards; }
@keyframes shade-in { 0% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes shade-out { 0%, 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes cast { 0% { opacity: .9; } 70% { opacity: .35; } 100% { opacity: 0; } }

.book-gutter { /* dobra do meio */
  position: absolute; z-index: 4; top: 0; bottom: 0; left: 50%; width: 9%; transform: translateX(-50%);
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(30,43,79,.07) 35%, rgba(30,43,79,.2) 50%, rgba(30,43,79,.07) 65%, transparent);
}
.book .stamp {
  position: absolute; z-index: 5; right: -12px; top: 18px;
  font-family: var(--font-brush); font-size: 1.35rem; color: #b33a2b;
  padding: .05rem .8rem .15rem; border: 2.5px solid #b33a2b; border-radius: 8px;
  transform: rotate(9deg); background: rgba(255,253,249,.9);
}

/* Página-legenda (esquerda), no estilo das páginas do livro */
.caption-page {
  --c: var(--blue);
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3.5cqi;
  padding: 11cqi 10cqi 8cqi;
  background:
    radial-gradient(38cqi 30cqi at 92% 8%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%),
    radial-gradient(30cqi 26cqi at 6% 96%, color-mix(in srgb, var(--yellow) 22%, transparent), transparent 70%),
    #fff;
}
.cap-label {
  align-self: flex-start; margin: 0; padding: .4cqi 4cqi 1cqi;
  font-family: var(--font-brush); font-size: 7cqi; line-height: 1.2; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff); border-radius: 40px;
}
.cap-title {
  font-family: var(--font-brush); font-size: 12.5cqi; line-height: .98;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 1cqi;
}
.cap-text { margin: 0; font-size: 5.6cqi; line-height: 1.45; color: var(--ink-soft); }
.cap-folio { margin: auto 0 0; font-size: 4.2cqi; color: var(--ink-soft); }
.caption-mobile { display: none; }

.book-controls { display: flex; align-items: center; gap: 1.2rem; }
.book-dots { list-style: none; display: flex; gap: .45rem; margin: 0; padding: 0; }
.book-dots li { width: .7rem; height: .7rem; border-radius: 999px; background: var(--line); transition: width .4s var(--ease-paint), background-color .4s; }
.book-dots li.is-active { width: 2rem; background: var(--c); }
.book-toggle {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 2.6rem; padding: .35rem 1rem .4rem .8rem;
  font-family: var(--font-hand); font-size: 1.05rem; color: var(--ink); cursor: pointer;
  background: #fff; border: 2px solid var(--ink); border-radius: 999px;
}
.book-toggle:hover { background: #eaf1fc; }
.book-toggle .i-play, .book-toggle.is-paused .i-pause { display: none; }
.book-toggle.is-paused .i-play { display: block; }
.preview-note { font-size: 1rem; color: var(--ink-soft); margin: 0; text-align: center; }

/* Celular: uma página por vez, legenda embaixo do livro */
@media (max-width: 699px) {
  .book { width: min(84vw, 340px); padding: 8px 8px 8px 12px; }
  .book-spread { grid-template-columns: 1fr; aspect-ratio: 520 / 735; }
  .book-left { display: none; }
  .book-right, .leaf-front { border-radius: 0 4px 4px 0; }
  .book-leaf { left: 0; width: 100%; }
  .book-gutter { left: 0; width: 16%; transform: none; background: linear-gradient(90deg, rgba(30,43,79,.22), rgba(30,43,79,.05) 50%, transparent); }
  .book .stamp { right: -10px; font-size: 1.15rem; }
  .caption-mobile {
    --c: var(--blue);
    display: grid; gap: .35rem; justify-items: center; text-align: center; max-width: 34rem; min-height: 9.5rem;
  }
  .caption-mobile .cap-label { font-size: 1.15rem; padding: .1rem .9rem .2rem; align-self: center; }
  .caption-mobile .cap-title { font-size: var(--step-2); }
  .caption-mobile .cap-text { font-size: var(--step-0); }
  .caption-mobile .cap-folio { display: none; }
}

/* ---------- 4. Monstrinho ---------- */
.monster-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.monster-controls { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 1.4rem; }
.chip-btn {
  --c: var(--blue);
  font-family: var(--font-hand); font-size: 1.15rem; line-height: 1.1;
  min-height: 2.9rem; padding: .5rem 1.05rem; cursor: pointer; color: var(--ink);
  background: #fff; border: 2px solid var(--c); border-radius: var(--radius-hand);
  transition: transform .15s var(--ease-paint), background-color .15s;
  touch-action: manipulation;
}
.chip-btn:hover { background: color-mix(in srgb, var(--c) 12%, #fff); transform: rotate(-1.5deg); }
.chip-btn:active { transform: scale(.94); }
.chip-btn--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip-btn--solid:hover { background: #2b3c6a; }
.monster-note { font-size: 1.05rem; color: var(--ink-soft); max-width: 32rem; }

.monster-stage { margin: 0; }
.monster-paper {
  position: relative; background: #fff; border-radius: 4px; box-shadow: var(--shadow-page);
  padding: clamp(.5rem, 2vw, 1.5rem); transform: rotate(1.2deg);
  background-image: radial-gradient(circle at 20% 15%, rgba(220,203,243,.35), transparent 40%), radial-gradient(circle at 85% 90%, rgba(251,226,160,.35), transparent 40%);
}
.monster-paper::before {
  content: ""; position: absolute; width: 110px; height: 30px; top: -14px; left: 50%; transform: translateX(-50%) rotate(-4deg);
  background: rgba(220, 203, 243, .8); clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
#monster-svg { width: 100%; height: auto; display: block; max-height: 70vh; }
#monster-body { transform-origin: 150px 260px; }
#monster-body.is-changing { animation: wobble .5s var(--ease-paint); }
@keyframes wobble { 0% { transform: scale(.9, 1.08); } 50% { transform: scale(1.06, .95); } 100% { transform: none; } }
.m-blink { animation: blink 4.5s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

@media (max-width: 820px) {
  .monster-grid { grid-template-columns: 1fr; }
  .monster-stage { order: -1; width: min(100%, 420px); margin-inline: auto; }
  .monster-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chip-btn--solid { grid-column: 1 / -1; }
}

/* ---------- 5. Professora ---------- */
.teacher { background: radial-gradient(42rem 26rem at 12% 50%, rgba(251, 202, 190, .28), transparent 70%); }
.teacher-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.teacher-figure { position: relative; margin: 0; text-align: center; }
/* Personagem animada: balança de leve, o pincel solta gotas de tinta e a mão brilha */
.teacher-art {
  position: relative; z-index: 1; width: min(100%, 340px); margin-inline: auto;
  transform-origin: 50% 100%;
  animation: teacher-sway 5.5s ease-in-out infinite;
}
.teacher-img { width: 100%; height: auto; filter: drop-shadow(0 18px 18px rgba(30, 43, 79, .14)); }
@keyframes teacher-sway {
  0%, 100% { transform: translateY(0) rotate(-1.2deg); }
  50% { transform: translateY(-10px) rotate(1.2deg); }
}

.paint-drops { position: absolute; left: 2%; top: 28.5%; width: 0; height: 0; }
.drop {
  position: absolute; left: -7px; top: -7px; width: 14px; height: 14px;
  background: var(--c); border-radius: 50% 45% 55% 48% / 55% 48% 52% 45%;
  opacity: 0; filter: url(#wc-edge);
  animation: drop-fly 3.5s cubic-bezier(.2,.7,.3,1) var(--d) infinite;
}
@keyframes drop-fly {
  0% { opacity: 0; transform: translate(0, 0) scale(.2); }
  12% { opacity: .95; }
  55% { opacity: .85; transform: translate(var(--dx), var(--dy)) scale(1); }
  80%, 100% { opacity: 0; transform: translate(calc(var(--dx) * 1.15), calc(var(--dy) * 1.15 + 18px)) scale(1.5); }
}

.sparks { position: absolute; left: 93%; top: 54%; width: 0; height: 0; }
.sparks i {
  position: absolute; left: 0; top: 0; width: 5px; height: 20px; border-radius: 4px;
  background: var(--yellow); transform-origin: 50% 34px;
  animation: spark 1.8s ease-in-out infinite;
}
.sparks i:nth-child(1) { --r: -40deg; }
.sparks i:nth-child(2) { --r: 0deg; animation-delay: .15s; }
.sparks i:nth-child(3) { --r: 40deg; animation-delay: .3s; }
@keyframes spark {
  0%, 100% { transform: translateY(-34px) rotate(var(--r)) scaleY(.5); opacity: .25; }
  45% { transform: translateY(-34px) rotate(var(--r)) scaleY(1.1); opacity: 1; }
}
.teacher-wash {
  position: absolute; z-index: 0; inset: 12% 4% 14% 8%;
  background: radial-gradient(closest-side, rgba(184, 212, 246, .7), rgba(185, 223, 174, .35) 70%, transparent);
  border-radius: 52% 48% 44% 56% / 48% 56% 44% 52%; filter: url(#wc-blob);
}
.teacher-figure figcaption { font-size: 1rem; color: var(--ink-soft); margin-top: .6rem; }
.teacher-copy p { max-width: 38rem; }
.signature { font-family: var(--font-brush); font-size: var(--step-2); color: var(--teal); margin: 1.4rem 0 1.6rem; line-height: 1.1; }
.signature .heart { color: var(--coral); }
.teacher-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }
.ext { font-size: .9em; }

@media (max-width: 820px) {
  .teacher-grid { grid-template-columns: 1fr; }
  .teacher-art { width: min(62%, 270px); }
}

/* ---------- Como usar ---------- */
.how-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); counter-reset: step; }
.how-step { counter-increment: step; position: relative; padding-top: 4.2rem; }
.how-step::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 3.3rem; height: 3.3rem; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 2rem; color: var(--ink);
  background: color-mix(in srgb, var(--c) 30%, #fff);
  border-radius: 50% 46% 54% 48% / 48% 52% 46% 54%;
}
.how-step .hand-title { margin-bottom: .4rem; }
.how-step p { color: var(--ink-soft); }
@media (max-width: 760px) { .how-steps { grid-template-columns: 1fr; } .how-step { padding: 0 0 0 4.4rem; min-height: 3.3rem; } }

/* ---------- Bônus: certificado ---------- */
.cert { background:
  radial-gradient(40rem 26rem at 78% 50%, rgba(251, 226, 160, .45), transparent 70%),
  radial-gradient(26rem 18rem at 8% 20%, rgba(220, 203, 243, .35), transparent 70%); }
.cert-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.cert-copy .check-list { margin: 1.2rem 0 1.6rem; }

.bonus-ribbon {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  padding: .3rem 1.6rem .4rem 1.1rem;
  font-family: var(--font-brush); font-size: 1.35rem; line-height: 1.1; color: var(--ink);
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%);
  transform: rotate(-2deg);
}
.bonus-ribbon::before { content: "★"; color: #b35a00; }

.cert-try { display: grid; gap: .4rem; max-width: 26rem; }
.cert-try label { font-size: var(--step-0); color: var(--ink); }
.cert-try input {
  font-family: var(--font-brush); font-size: 1.7rem; color: #1f4fae;
  padding: .35rem .9rem .45rem; border: 2px dashed var(--ink); border-radius: 12px; background: #fff;
  width: 100%;
}
.cert-try input::placeholder { color: #9aa3bd; }
.cert-try input:focus { outline: 3px solid #b8d4f6; outline-offset: 1px; border-style: solid; border-color: var(--blue); }
.cert-try .fine { margin: 0; }

.cert-visual { margin: 0; }
.cert-paper {
  position: relative; container-type: inline-size;
  background: #fff; border-radius: 4px; transform: rotate(1.6deg);
  box-shadow: 0 0 0 10px #fff, 0 0 0 11px rgba(30,43,79,.06), 0 30px 46px -22px rgba(30,43,79,.5);
}
.cert-paper::before, .cert-paper::after { /* fitas */
  content: ""; position: absolute; z-index: 3; width: 92px; height: 26px;
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 45%);
}
.cert-paper::before { left: -30px; top: 6px; transform: rotate(-35deg); background: rgba(250, 226, 160, .85); }
.cert-paper::after { right: -30px; bottom: 10px; transform: rotate(-35deg); background: rgba(184, 212, 246, .85); }
.cert-paper img { width: 100%; height: auto; border-radius: 4px; }

/* Nome escrito sobre a linha do certificado */
.cert-name {
  position: absolute; left: 20%; right: 16.4%; top: 33%; height: 13.2%; margin: 0;
  display: flex; align-items: flex-end; justify-content: center;
  font-family: var(--font-brush); font-size: 5.2cqi; line-height: 1; color: #1f4fae;
  white-space: nowrap; overflow: hidden;
}
#cert-name-out { display: inline-block; }
.cert-name.is-sample { color: #5b7fc4; }
.cert-caret { display: inline-block; width: .45cqi; height: 4.2cqi; margin-left: .4cqi; margin-bottom: .6cqi; background: currentColor; animation: caret 1s steps(1) infinite; }
.cert-name.is-done .cert-caret { visibility: hidden; }
@keyframes caret { 50% { opacity: 0; } }
.cert-name.is-writing #cert-name-out { animation: brush-write .55s var(--ease-paint); }
@keyframes brush-write { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.cert-date { margin: 0; }
.cert-date span {
  position: absolute; top: 71.2%; transform: translateX(-50%);
  font-family: var(--font-brush); font-size: 3.4cqi; line-height: 1; color: #1f4fae;
}
#cert-d { left: 47.6%; } #cert-m { left: 54.8%; } #cert-y { left: 63.6%; }

.cert-shine { position: absolute; left: 89%; top: 76.5%; width: 0; height: 0; pointer-events: none; }
.cert-shine::before, .cert-shine::after {
  content: ""; position: absolute; width: 4.2cqi; height: 4.2cqi; margin: -2.1cqi;
  background: #fffbe6;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 4px #ffd96b);
  animation: twinkle 2.4s ease-in-out infinite;
}
.cert-shine::before { transform: translate(-3.5cqi, -5cqi); }
.cert-shine::after { transform: translate(4cqi, 1cqi); animation-delay: 1.2s; width: 3cqi; height: 3cqi; }
@keyframes twinkle { 0%, 100% { opacity: 0; scale: .3; } 45% { opacity: 1; scale: 1; } 60% { opacity: .9; scale: .85; } }

/* Item bônus na lista da oferta */
.check-list li.is-bonus { font-weight: 400; }
.bonus-pill {
  display: inline-block; margin-right: .3rem; padding: 0 .55rem .1rem;
  font-family: var(--font-brush); font-size: .95em; color: var(--ink);
  background: var(--yellow); border-radius: 999px; transform: rotate(-3deg);
}

@media (max-width: 860px) {
  .cert-grid { grid-template-columns: 1fr; }
  .cert-visual { order: -1; }
  .cert-paper::before, .cert-paper::after { width: 70px; height: 22px; }
}

/* ---------- 6. Oferta ---------- */
.offer { background:
  radial-gradient(36rem 24rem at 20% 40%, rgba(184, 212, 246, .38), transparent 70%),
  radial-gradient(30rem 20rem at 85% 80%, rgba(251, 226, 160, .4), transparent 70%); }
.offer-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.offer-visual { position: relative; width: min(100%, 380px); justify-self: center; aspect-ratio: 620 / 877; }
.offer-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: var(--shadow-page); background: #fff; }
.offer-visual img:first-child { transform: rotate(-4deg); z-index: 2; }
.offer-cert { transform: rotate(7deg) translate(18%, 6%); z-index: 1; }

.offer-card {
  position: relative; background: #fff; padding: clamp(1.75rem, 3vw, 2.75rem);
  border-radius: 6px; box-shadow: var(--shadow-page); max-width: 34rem;
}
.offer-card .brush-title { font-size: var(--step-3); margin-bottom: .1em; }
.offer-sub { font-size: var(--step-1); margin-bottom: 1.3rem; }
.offer-card .check-list { margin-bottom: 1.6rem; }
.offer-price { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.price { font-family: var(--font-brush); font-size: clamp(3rem, 2.4rem + 2.6vw, 4.4rem); line-height: 1; margin: 0; color: var(--ink); }
.price-label { margin: 0; color: var(--ink-soft); }
.fine { font-size: 1rem; color: var(--ink-soft); margin: 1rem 0 0; }
.fine--lang[hidden] { display: none; }
.offer-unavailable { color: #a23a2c; font-size: 1.05rem; margin: .6rem 0 0; }

@media (max-width: 860px) {
  .offer-grid { grid-template-columns: 1fr; }
  .offer-visual { width: min(66%, 300px); margin-right: 14%; }
  .offer-card { justify-self: center; }
}

/* ---------- 9. FAQ ---------- */
.faq-list details {
  border-bottom: 2px dashed var(--line);
}
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem .25rem; font-size: var(--step-1); line-height: 1.25; border-radius: 6px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex-shrink: 0; width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  font-family: var(--font-brush); font-size: 1.8rem; line-height: 1; color: var(--ink);
  background: color-mix(in srgb, var(--yellow) 45%, #fff);
  border-radius: 50% 46% 54% 48%; transition: transform .3s var(--ease-paint), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: color-mix(in srgb, var(--coral) 35%, #fff); }
.faq-list summary:hover { color: var(--blue); }
.faq-list details p { padding: 0 3rem 1.3rem .25rem; color: var(--ink-soft); max-width: 44rem; }
.faq-list details[open] p { animation: rise-in .4s var(--ease-paint); }
@keyframes rise-in { from { opacity: 0; transform: translateY(-4px); } }

/* ---------- 10. Rodapé ---------- */
.site-footer { background: var(--ink); color: #eef1f8; padding: 3.5rem 0 2rem; position: relative; margin-top: 3rem; }
.site-footer::before { /* borda rasgada em aquarela */
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 44px; background: var(--ink);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; filter: url(#wc-edge);
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; position: relative; }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { background: #fff; border-radius: 50%; padding: 8px; width: 56px; height: 56px; object-fit: contain; }
.footer-name { font-family: var(--font-brush); font-size: 1.9rem; margin: 0; line-height: 1; color: #fff; }
.footer-tag { color: #ffb58a; margin: .2rem 0 .4rem; }
.footer-text { color: #c8cfe3; margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-content: flex-start; max-width: 32rem; }
.footer-links a { color: #fff; text-decoration-color: rgba(255,255,255,.4); padding: .3rem 0; }
.footer-links a:hover { text-decoration-color: var(--yellow); }
.site-footer :focus-visible { outline-color: var(--yellow); }
.footer-rights { color: #aab3cc; font-size: 1rem; margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.14); }

/* ---------- 7. Sacola ---------- */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 60; background: rgba(30, 43, 79, .42);
  opacity: 0; transition: opacity .3s;
}
.drawer-overlay.is-open { opacity: 1; }
.cart-drawer {
  position: fixed; z-index: 61; top: 0; right: 0; bottom: 0; width: min(440px, 100%);
  background: var(--paper); display: flex; flex-direction: column;
  box-shadow: -18px 0 40px -20px rgba(30,43,79,.5);
  transform: translateX(100%); transition: transform .4s var(--ease-paint);
}
.cart-drawer.is-open { transform: none; }
.cart-drawer::before { /* borda de papel */
  content: ""; position: absolute; left: -10px; top: 0; bottom: 0; width: 20px; background: var(--paper); filter: url(#wc-edge);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem .6rem; position: relative; }
.icon-btn { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: #eaf1fc; }
.drawer-body { flex: 1; overflow-y: auto; padding: .6rem 1.4rem 1.4rem; position: relative; }
.drawer-foot { padding: 1.1rem 1.4rem 1.4rem; border-top: 2px dashed var(--line); display: grid; gap: .7rem; justify-items: center; position: relative; }
.cart-legal { margin: 0; font-size: .95rem; line-height: 1.4; text-align: center; max-width: 34ch; }
.cart-legal a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; width: 100%; font-size: var(--step-1); }
.cart-total strong { font-family: var(--font-brush); font-weight: 400; font-size: 2.1rem; }

.cart-empty { text-align: center; padding: 2rem .5rem; display: grid; justify-items: center; gap: .3rem; }
.cart-empty[hidden] { display: none; }
.empty-blob { width: 7rem; height: 6rem; margin-bottom: .8rem; background: radial-gradient(closest-side, rgba(184, 212, 246, .9), rgba(220, 203, 243, .4) 70%, transparent); border-radius: 50%; filter: url(#wc-blob); }
.cart-empty .btn { margin-top: 1rem; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); animation: rise-in .35s var(--ease-paint); }
.cart-line img { width: 76px; border-radius: 3px; box-shadow: var(--shadow-page); transform: rotate(-2deg); }
.cart-line-name { font-family: var(--font-brush); font-size: 1.5rem; line-height: 1.05; margin: 0 0 .2rem; color: var(--ink); }
.cart-line-format { font-size: 1rem; color: var(--ink-soft); margin: 0 0 .5rem; }
.cart-line-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.qty { display: flex; align-items: center; gap: .4rem; font-size: 1rem; color: var(--ink-soft); }
.qty-value { min-width: 2rem; height: 2rem; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); background: #fff; }
.qty-btn { width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; cursor: pointer; line-height: 1; }
.qty-btn:disabled { opacity: .35; cursor: not-allowed; }
.cart-line-price { font-size: 1.3rem; color: var(--ink); }
.remove-btn { background: none; border: 0; padding: .3rem 0; color: #a23a2c; text-decoration: underline; cursor: pointer; font-size: 1.05rem; }
.qty-note { font-size: .95rem; color: var(--ink-soft); width: 100%; margin: .3rem 0 0; }

.checkout-view { display: block; padding-top: .4rem; }
.checkout-view[hidden] { display: none; }
.checkout-badge { width: 5.5rem; height: 5.5rem; display: grid; place-items: center; color: var(--ink); margin-bottom: .6rem; position: relative; isolation: isolate; }
.checkout-badge::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(closest-side, #fbe2a0, rgba(251,226,160,.3) 75%, transparent); border-radius: 50%; filter: url(#wc-blob); }
.checkout-msg { font-size: var(--step-0); max-width: 22rem; }
.co-center .checkout-badge + .hand-title { margin-top: .2rem; }

/* ---------- Checkout na sacola ---------- */
.cart-drawer.is-checkout { width: min(500px, 100%); }
.co-state { display: grid; gap: .6rem; }
.co-state[hidden] { display: none; }
.co-center { justify-items: center; text-align: center; padding-top: 1.5rem; }
.co-center .btn { margin-top: .6rem; }
.co-state .hand-title:focus { outline: none; }

/* Gotas de tinta girando = carregando */
.paint-loader { position: relative; width: 4.5rem; height: 4.5rem; margin: .5rem auto 1rem; animation: spin 2.4s linear infinite; }
.paint-loader i {
  position: absolute; width: 1.5rem; height: 1.5rem; border-radius: 50% 45% 55% 48%;
  filter: url(#wc-edge); animation: blob-pulse 1.2s ease-in-out infinite;
}
.paint-loader i:nth-child(1) { left: 1.5rem; top: 0; background: #5f97e6; }
.paint-loader i:nth-child(2) { left: 0; bottom: .3rem; background: var(--yellow); animation-delay: .2s; }
.paint-loader i:nth-child(3) { right: 0; bottom: .3rem; background: #ec7d6c; animation-delay: .4s; }
@keyframes blob-pulse { 50% { transform: scale(.7); } }

.co-summary {
  display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center;
  padding: .7rem .8rem; background: #fff; border-radius: 12px; box-shadow: 0 1px 3px rgba(30,43,79,.12);
}
.co-summary img { width: 46px; border-radius: 2px; box-shadow: var(--shadow-page); transform: rotate(-3deg); }
.co-product { margin: 0; font-family: var(--font-brush); font-size: 1.25rem; line-height: 1.05; }
.co-meta { margin: .15rem 0 0; font-size: .95rem; color: var(--ink-soft); }
.co-total { font-family: var(--font-brush); font-weight: 400; font-size: 1.6rem; white-space: nowrap; }
.co-test {
  margin: 0; padding: .55rem .8rem; font-size: .98rem; line-height: 1.35;
  background: color-mix(in srgb, var(--yellow) 30%, #fff); border: 1.5px dashed var(--yellow-ink); border-radius: 10px;
}
.co-test strong { display: block; font-weight: 400; font-family: var(--font-brush); font-size: 1.1rem; }
#co-form { display: grid; gap: .5rem; margin-top: .3rem; }
.co-label { margin: .4rem 0 0; font-size: 1.08rem; color: var(--ink); }
.co-element { min-height: 2.5rem; }
.co-error {
  margin: .2rem 0 0; padding: .55rem .8rem; border-radius: 10px; font-size: 1.02rem;
  color: #8a1c14; background: #fdecea; border: 1.5px solid #f3b8b1;
}
.co-error[hidden] { display: none; }
#co-pay { margin-top: .5rem; }
#co-pay[aria-busy="true"] .btn-label::before {
  content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .5em; vertical-align: -.1em;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite;
}
.co-secure { margin: .2rem 0 .4rem; text-align: center; }
.co-secure::before { content: "🔒 "; }
.co-state > .text-link { justify-self: center; }

.co-icon { width: 5rem; height: 5rem; display: grid; place-items: center; position: relative; isolation: isolate; margin-bottom: .4rem; }
.co-icon::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; filter: url(#wc-blob); }
.co-icon--success { color: #1f6b2a; }
.co-icon--success::before { background: radial-gradient(closest-side, #b9dfae, rgba(185,223,174,.3) 75%, transparent); }
.co-icon--pending { color: #8a5a00; }
.co-icon--pending::before { background: radial-gradient(closest-side, #fbe2a0, rgba(251,226,160,.3) 75%, transparent); }
.co-icon--error { color: #8a1c14; }
.co-icon--error::before { background: radial-gradient(closest-side, #f8c4bb, rgba(248,196,187,.3) 75%, transparent); }
[data-co="success"] .brush-title { margin: 0; }

/* WordPress: administradores logados veem a barra do WP no topo */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.admin-bar .cart-drawer { top: var(--wp-admin--admin-bar--height, 32px); }

/* Faixa de modo de teste (só no WordPress em Sandbox) */
.test-ribbon {
  position: relative; z-index: 45; padding: .35rem 1rem; text-align: center; font-size: .98rem;
  background: var(--yellow); color: var(--ink);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 70; left: 50%; bottom: max(1.2rem, env(safe-area-inset-bottom));
  transform: translate(-50%, 140%); transition: transform .4s var(--ease-paint);
  display: flex; align-items: center; gap: 1rem; padding: .7rem .8rem .7rem 1.2rem;
  background: var(--ink); color: #fff; border-radius: var(--radius-hand);
  box-shadow: 0 14px 30px -12px rgba(30,43,79,.6); width: max-content; max-width: calc(100% - 2rem);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast-action { background: var(--yellow); color: var(--ink); border: 0; border-radius: 999px; padding: .4rem .9rem; cursor: pointer; white-space: nowrap; }
.toast-action:focus-visible { outline-color: var(--yellow); }

/* ---------- Botão de compra chamativo ---------- */
.btn--cta {
  overflow: hidden; isolation: isolate;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.btn--cta::after { /* brilho de tinta molhada passando */
  content: ""; position: absolute; z-index: -1; top: -30%; bottom: -30%; left: -70%; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55) 45%, rgba(255,240,170,.6) 55%, transparent);
  transform: skewX(-22deg);
  animation: cta-shine 3.2s cubic-bezier(.5,0,.3,1) infinite;
  pointer-events: none;
}
.btn--cta .btn-label { position: relative; }
.btn--cta:hover { animation-play-state: paused; }
.btn--cta.is-added { animation: none; }
.btn--cta.is-added::after { display: none; }
@keyframes cta-shine { 0%, 50% { left: -70%; } 85%, 100% { left: 130%; } }
@keyframes cta-pulse {
  0%, 100% { box-shadow: 4px 5px 0 var(--coral-soft), 0 0 0 0 rgba(31, 100, 208, .45); transform: none; }
  45% { box-shadow: 5px 6px 0 var(--yellow), 0 0 0 12px rgba(31, 100, 208, 0); transform: scale(1.025) rotate(-.4deg); }
  60% { transform: none; }
}

/* Preço como adesivo amarelo */
.btn--cta .price-tag {
  position: relative; background: var(--yellow); color: var(--ink);
  font-size: 1.05em; padding: .12em .6em .16em; border-radius: 40% 60% 45% 55% / 60% 45% 55% 40%;
  transform: rotate(-4deg); box-shadow: 1px 2px 0 rgba(30,43,79,.25);
  animation: sticker 3.2s ease-in-out infinite;
}
@keyframes sticker {
  0%, 70%, 100% { transform: rotate(-4deg); }
  76% { transform: rotate(5deg) scale(1.12); }
  82% { transform: rotate(-7deg) scale(1.06); }
  88% { transform: rotate(2deg); }
}

/* ---------- Painel de valor: páginas e caminhos ---------- */
.value-panel {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.4rem;
  margin: 0 0 1.6rem; padding: 1.1rem 1.2rem;
  background: color-mix(in srgb, var(--yellow) 14%, #fff);
  border: 2px dashed color-mix(in srgb, var(--yellow-ink) 45%, transparent);
  border-radius: 14px;
}
.flipbook { position: relative; width: 104px; aspect-ratio: 520 / 735; perspective: 700px; }
.flipbook-pages { position: absolute; inset: 0; transform: rotate(-3deg); }
.flipbook-pages::before, .flipbook-pages::after { /* pilha de folhas */
  content: ""; position: absolute; inset: 0; background: #fff; border-radius: 2px 5px 5px 2px;
  box-shadow: var(--shadow-page);
}
.flipbook-pages::before { transform: translate(5px, 5px); }
.flipbook-pages::after { transform: translate(2.5px, 2.5px); }
.fb-under, .fb-leaf {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  object-fit: cover; object-position: top; background: #fff; border-radius: 2px 5px 5px 2px;
}
.fb-leaf {
  z-index: 2; transform-origin: left center; backface-visibility: hidden;
  box-shadow: 2px 0 6px rgba(30,43,79,.14);
}
.flipbook-spine { position: absolute; z-index: 3; left: -3px; top: -2px; bottom: -2px; width: 7px; border-radius: 3px; background: var(--blue); transform: rotate(-3deg); transform-origin: bottom; }

.value-stats { display: grid; gap: .3rem; }
.stat { display: flex; align-items: baseline; gap: .55rem; margin: 0; line-height: 1; }
.stat-num {
  font-family: var(--font-brush); font-size: 2.4rem; min-width: 1.4ch; text-align: right;
  font-variant-numeric: tabular-nums; color: var(--coral);
}
.stat--big .stat-num {
  font-size: clamp(3.6rem, 3rem + 2.4vw, 4.8rem); min-width: 2ch;
  background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-num.is-done { animation: num-pop .45s var(--ease-paint); }
@keyframes num-pop { 40% { transform: scale(1.18) rotate(-4deg); } }
.stat-label { font-size: var(--step-0); color: var(--ink); }
.stat--big .stat-label { font-size: var(--step-1); }

/* Preço circulado à mão */
.price-circle { position: relative; display: inline-block; padding: .05em .25em; }
.price-scribble { position: absolute; left: -12%; top: -22%; width: 124%; height: 150%; overflow: visible; pointer-events: none; }
.price-scribble path { fill: none; stroke: var(--coral); stroke-width: 3.2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .offer-card.is-visible .price-scribble path { animation: draw-circle 1.1s var(--ease-paint) .5s forwards; }
html:not(.js) .price-scribble path { stroke-dashoffset: 0; }
@keyframes draw-circle { to { stroke-dashoffset: 0; } }
.per-page {
  display: inline-block; margin: -.2rem 0 1.1rem; padding: .2rem .7rem;
  font-size: 1.1rem; color: var(--ink); background: color-mix(in srgb, var(--green) 14%, #fff);
  border-radius: 999px;
}
.per-page:empty { display: none; }

@media (max-width: 420px) {
  .value-panel { gap: 1rem; padding: 1rem; }
  .flipbook { width: 80px; }
}

/* ---------- Barra de compra fixa (celular) ---------- */
.buybar { display: none; }
@media (max-width: 860px) {
  .buybar {
    position: fixed; z-index: 50; left: .6rem; right: .6rem; bottom: max(.6rem, env(safe-area-inset-bottom));
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .7rem;
    padding: .55rem .55rem .55rem .7rem; background: #fff; border-radius: 18px;
    box-shadow: 0 14px 34px -10px rgba(30,43,79,.45), 0 0 0 1.5px var(--line);
    transform: translateY(150%); transition: transform .45s var(--ease-paint);
  }
  .buybar.is-visible { transform: none; }
  .buybar img { width: 34px; border-radius: 2px; box-shadow: var(--shadow-page); transform: rotate(-4deg); }
  .buybar-info { min-width: 0; }
  .buybar-name { font-family: var(--font-brush); font-size: 1.15rem; line-height: 1; margin: 0 0 .15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-meta { margin: 0; font-size: .95rem; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buybar-meta strong { color: var(--ink); font-weight: 400; font-size: 1.1rem; }
  .buybar-btn { min-height: 2.8rem; padding: .45rem 1rem; font-size: 1.05rem; }
  .has-buybar .toast { bottom: calc(max(.6rem, env(safe-area-inset-bottom)) + 4.6rem); }
  .site-footer { padding-bottom: 6.5rem; }
}
@media (max-width: 380px) {
  .buybar img { display: none; }
  .buybar { grid-template-columns: 1fr auto; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero-title { clip-path: none; }
  .js .hero-lead, .js .hero-text, .js .hero-actions, .js .facts,
  .js .book-cover, .js .book-page, .js .pages-badge, .js .blob, .js .reveal { opacity: 1; transform: none; }
  .js .book-cover { transform: rotate(-3.5deg); }
  .js .book-page--mid { transform: rotate(4deg) translate(9%, 2%); }
  .js .book-page--back { transform: rotate(10deg) translate(17%, 5%); }
  .js .pages-badge { transform: rotate(-8deg); }
  .m-blink { animation: none; }
  .btn--cta::after { display: none; }
  .paint-drops, .sparks { display: none; }
  .cert-caret, .cert-shine { display: none; }
  .btn--cta .price-tag { transform: rotate(-4deg); }
  .js .offer-card.is-visible .price-scribble path, .price-scribble path { stroke-dashoffset: 0; }
}
