/*
  Zupzi Read — o site read.zupzi.io (30/09/2026).
  A mesma planta dos sites da família (www.zupzi.io, art.zupzi.io e, sobretudo, math.zupzi.io,
  de onde este arquivo foi copiado e adaptado): cabeçalho de vidro, herói com a família, cartões
  de vidro, Nunito pesada, botões de brinquedo, o roxo da marca.
  O que é do Read (LerKitUI/Tokens.swift e docs/DESIGN-VISUAL.md): o roxo do gatinho (#7038D8) e o
  dourado do ícone (#FFC83D), o cartão creme com moldura dourada do "Storybook Valley", o céu do
  vale, a folha pautada de caderno de caligrafia bem de leve por baixo, peças de letra minúscula
  flutuando nas bordas, e a fonte das PALAVRAS DE LER ("Zupzi Read Words", o subconjunto latino
  da Andika que o app usa — scripts/site/fontes-site.py explica o nome).
*/

/* Fredoka e Nunito (OFL 1.1, variáveis), subconjunto latino, servidas daqui (as mesmas do site do Math). */
@font-face {
  font-family: "Fredoka"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("/fonts/fredoka-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/fonts/nunito-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* As palavras de ler: a Andika do app (a e g de um andar só; I, l e 1 diferentes), recortada e renomeada. */
@font-face {
  font-family: "Zupzi Read Words"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/words-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Zupzi Read Words"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("/fonts/words-bold-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #2b1c46;          /* tinta do app: AA em todo fundo claro daqui (15:1 no branco) */
  --text: #4b3f66;         /* 9,5:1 no branco */
  --muted: #62587d;        /* 6,5:1 no branco */
  --purple: #7038d8;       /* o roxo do gatinho e do ícone */
  --purple-dark: #4f22a3;
  --purple-soft: #f2ecff;
  --violet: #8b4cf6;
  --gold: #ffc83d;         /* o dourado do ícone */
  --gold-dark: #d9a520;
  --gold-ink: #4a3200;
  --gold-soft: #fff4d6;
  --honey: #8a5a00;        /* o dourado escuro dos rótulos: 5,9:1 no branco */
  --cream: #fff8ec;        /* o cartão do mundo */
  --cream-line: #f2c66d;
  --cream-step: #d9a24a;
  --sky-top: #6fb8ff;
  --sky: #cdebff;
  --sky-soft: #eaf5ff;
  --leaf: #6cc062;
  --leaf-far: #a6db8c;
  --green: #17703d;        /* o verde do "LET'S GO", escurecido para AA (6,1:1) */
  --blue: #2477f3;
  --coral: #d6403f;
  --pink: #ff6fa8;         /* o coração da heart word */
  --glass: rgba(255, 255, 255, 0.82);
  --glass-line: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 44px rgba(76, 52, 140, 0.12);
  --shadow-pic: 0 22px 50px rgba(60, 40, 120, 0.2);
  --radius-card: 32px;
  --font: "Nunito", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-logo: "Fredoka", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-words: "Zupzi Read Words", "Nunito", ui-rounded, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 700;
  color: var(--ink);
  background: #f7f4ff;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.w { font-family: var(--font-words); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- o céu do vale, fixo atrás da página ---------- */
.paper {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60vmax 42vmax at 4% 0%, rgba(160, 214, 255, 0.7), transparent 60%),
    radial-gradient(48vmax 38vmax at 98% 12%, rgba(214, 196, 255, 0.55), transparent 62%),
    radial-gradient(52vmax 38vmax at 88% 100%, rgba(166, 219, 140, 0.34), transparent 62%),
    radial-gradient(40vmax 30vmax at 0% 88%, rgba(255, 214, 120, 0.34), transparent 60%),
    linear-gradient(180deg, #e2f0ff 0%, #f5f1ff 42%, #fbf7ff 70%, #fff8ec 100%);
}
/* a folha pautada de caligrafia (a linha de cima cheia, a do meio tracejada), quase invisível */
.paper::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48'><path d='M0 .5H48' stroke='rgba(112,56,216,0.09)'/><path d='M0 24.5H48' stroke='rgba(112,56,216,0.08)' stroke-dasharray='6 6'/></svg>");
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 60%, #000 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 60%, #000 100%);
}

/* ---------- as peças de letra, nas bordas (as peças de montar do app) ---------- */
.toys { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.toy {
  position: absolute; display: grid; place-items: center;
  width: var(--s, 52px); height: var(--s, 52px); border-radius: 30%;
  background: var(--c); color: var(--g, #fff);
  font-family: var(--font-words); font-weight: 700; font-size: calc(var(--s, 52px) * 0.62); line-height: 1;
  box-shadow: 0 5px 0 rgba(43, 28, 70, 0.14), inset 0 -4px 0 rgba(43, 28, 70, 0.08), inset 0 3px 0 rgba(255, 255, 255, 0.35);
  transform: rotate(var(--r, 0deg));
  opacity: 0.8;
  animation: bob var(--d, 12s) ease-in-out 4 alternate;   /* para sozinho depois de 4 idas e voltas (WCAG 2.2.2) */
  animation-delay: var(--w, 0s);
}
.toy b { font-weight: 700; transform: translateY(-5%); }
@keyframes bob {
  0% { transform: translateY(0) rotate(var(--r, 0deg)); }
  100% { transform: translateY(-16px) rotate(calc(var(--r, 0deg) + 7deg)); }
}
.toy.t1 { --c: #47c979; --g: #18213d; --r: -8deg; --s: 54px; left: max(-22px, calc((100vw - 1240px) / 2 - 72px)); top: 21%; --d: 11s; }
.toy.t2 { --c: #2477f3; --r: 6deg; --s: 46px; right: max(-18px, calc((100vw - 1240px) / 2 - 64px)); top: 33%; --d: 13s; --w: -3s; }
.toy.t3 { --c: #ffc83d; --g: #18213d; --r: 10deg; --s: 50px; left: max(-20px, calc((100vw - 1240px) / 2 - 66px)); top: 64%; --d: 12s; --w: -6s; }
.toy.t4 { --c: #8b4cf6; --r: -6deg; --s: 56px; right: max(-22px, calc((100vw - 1240px) / 2 - 74px)); top: 72%; --d: 14s; --w: -2s; }
.toy.t5 { --c: #ff6b6b; --r: 4deg; --s: 40px; right: max(-16px, calc((100vw - 1240px) / 2 - 54px)); top: 11%; --d: 10s; --w: -5s; }
.toy.t6 { --c: #1bb5c4; --g: #18213d; --r: -12deg; --s: 38px; left: max(-16px, calc((100vw - 1240px) / 2 - 50px)); top: 88%; --d: 12s; --w: -8s; }
@media (max-width: 1360px) { .toy { opacity: 0.55; } }
@media (min-width: 1024px) { .toy.t4 { top: min(72%, 520px); } }
@media (min-width: 961px) and (max-width: 1279px) {
  .toy.t1, .toy.t3, .toy.t6 { left: calc(10px - var(--s)); }
  .toy.t2, .toy.t4, .toy.t5 { right: calc(10px - var(--s)); }
}
@media (max-width: 960px) {
  .toy { --s: 34px !important; opacity: 0.4; }
  .toy.t2, .toy.t5, .toy.t6 { display: none; }
}

/* ---------- cabeçalho ---------- */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(248, 245, 255, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.header-in {
  max-width: 1240px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; flex-shrink: 0; }
.brand .brand-logo { height: 32px; width: auto; display: block; }
.footer .brand .brand-logo { height: 28px; }
.nav { display: flex; gap: 20px; font-size: 14px; font-weight: 800; color: var(--text); }
.nav a { text-decoration: none; white-space: nowrap; transition: color .15s; }
.nav-desktop a { display: inline-flex; align-items: center; min-height: 44px; }
.nav a[aria-current="page"] { color: var(--purple); }
@media (hover: hover) { .nav a:hover { color: var(--purple); } }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.header-cta svg { width: 16px; height: 16px; }
.nav-mobile { display: none; }
@media (max-width: 1140px) {
  .nav-desktop { display: none; }
  .header-in { padding-bottom: 4px; }
  .nav-mobile { display: flex; overflow-x: auto; padding: 0 14px 2px; gap: 0; scrollbar-width: none; }
  .nav-mobile a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
  .nav-mobile::-webkit-scrollbar { display: none; }
}
@media (max-width: 520px) { .header .brand .brand-logo { height: 23px; } .header-in { padding: 8px 16px 2px; } .nav-mobile { padding: 0 6px 2px; } }
@media (max-width: 600px) {
  .nav-mobile {
    padding-right: 36px;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
  }
}
@media (max-width: 420px) { .header-cta span { display: none; } .header-cta { width: 44px; padding: 0; justify-content: center; } }

/* ---------- herói ---------- */
.hero { position: relative; padding: 0; }
.hero-in { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 72px 24px 40px; }
.hero-copy { max-width: 540px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.86); border: 1px solid var(--glass-line); font-size: 13px; font-weight: 900;
  color: var(--purple); box-shadow: 0 6px 18px rgba(112, 56, 216, 0.1);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 200, 61, 0.3); }
h1 {
  margin: 18px 0 0; font-weight: 900; letter-spacing: -0.05em; line-height: 0.95;
  font-size: clamp(46px, 7vw, 78px);
}
h1 .l1, h1 .l3 { display: block; }
h1 .l3 { margin-top: 0.08em; }
h1 .l2 { display: block; color: var(--purple); position: relative; width: fit-content; }
h1 .l2 svg { position: absolute; left: -3%; bottom: -16px; width: 106%; height: 24px; overflow: visible; }
.draw { stroke-dasharray: 300 400; animation: draw 1.1s .45s cubic-bezier(.6, 0, .3, 1) backwards; }
@keyframes draw { from { stroke-dashoffset: 350; } to { stroke-dashoffset: 0; } }
.lede { margin: 28px 0 0; font-size: 19px; line-height: 1.6; color: var(--text); max-width: 500px; }
.actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px 16px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 24px;
  border-radius: 999px; font-family: inherit; font-size: 15px; font-weight: 900; text-decoration: none; cursor: pointer;
  border: 0; transition: transform .12s ease, box-shadow .12s ease;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 6px 0 var(--purple-dark); }
.btn-primary:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--purple-dark); }

.store {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px 0 16px; border-radius: 16px;
  background: #111; color: #fff; text-decoration: none; box-shadow: 0 6px 0 #000;
  transition: transform .12s ease, box-shadow .12s ease;
}
a.store:active { transform: translateY(4px); box-shadow: 0 2px 0 #000; }
span.store { box-shadow: none; background: #2b2e45; cursor: default; }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; font-weight: 700; opacity: .9; line-height: 1.1; }
.store strong { display: block; font-size: 17px; font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }

.pills { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 900;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pill svg { width: 16px; height: 16px; flex-shrink: 0; }

.hero-art { position: relative; margin-top: 8px; width: 100%; aspect-ratio: 3 / 2; }
.hero-art img, .hero-art video { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero-art video { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-art video.on { opacity: 1; }
@media (min-width: 1024px) {
  .hero { min-height: 700px; }
  .hero-art {
    position: absolute; inset: 0 0 0 auto; width: min(68%, 1120px); margin: 0; aspect-ratio: auto; z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 82%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-composite: intersect;
  }
  .hero-art img, .hero-art video { object-position: right 12%; }
}
/* o título do Read é mais comprido que o do Math: 68 px no máximo, para "Learning to read," caber numa linha */
.hero h1 { font-size: clamp(44px, 5.4vw, 68px); }
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero-in { padding-top: 56px; }
  .hero-copy { max-width: min(540px, calc(100vw - 600px)); }
  .hero h1 { font-size: clamp(50px, 5.4vw, 62px); }
  .lede { font-size: 17px; }
  .hero-art { bottom: auto; height: 640px; width: 64%; }
}
@media (min-width: 1600px) { .hero { min-height: 760px; } }
@media (min-width: 1921px) {
  .hero-art {
    right: calc((100vw - 1920px) / 2);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to left, transparent 0%, #000 12%), linear-gradient(to bottom, #000 82%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 30%), linear-gradient(to left, transparent 0%, #000 12%), linear-gradient(to bottom, #000 82%, transparent 100%);
  }
}
@media (max-width: 1023px) {
  .hero-in { padding-top: 44px; padding-bottom: 8px; }
  .hero-art { aspect-ratio: 5 / 4; }
  .hero-art img, .hero-art video { object-position: 88% 50%; }
  .hero-art { -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%); }
}
@media (max-width: 520px) { .hero-in { padding-left: 16px; padding-right: 16px; } .lede { font-size: 17.5px; } }

/* ---------- a conta em números ---------- */
.stats-wrap { padding: 0 24px; }
@media (max-width: 520px) { .stats-wrap { padding: 0 16px; } }
.stats {
  position: relative; z-index: 3; max-width: 1100px; margin: 12px auto 0; padding: 22px 12px; border-radius: 30px;
  display: grid; grid-template-columns: repeat(5, 1fr); list-style: none;
}
.stats li { text-align: center; padding: 6px 10px; position: relative; }
.stats li + li::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; border-radius: 2px; background: rgba(112, 56, 216, 0.1); }
.stats b { display: block; font-family: var(--font-logo); font-weight: 700; font-size: clamp(34px, 4vw, 46px); line-height: 1; letter-spacing: -0.02em; color: var(--c, var(--purple)); }
.stats span { display: block; margin-top: 6px; font-size: 13px; font-weight: 800; color: var(--muted); line-height: 1.3; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 10px 0; }
  .stats li + li::before { display: none; }
  .stats li:last-child { grid-column: 1 / -1; }
}

/* ---------- ouvir ---------- */
.listen {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--glass-line); color: var(--ink); cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 900; box-shadow: var(--shadow);
}
.listen[hidden], .hear[hidden] { display: none; }
.listen .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--ink); }
.listen .ic svg { width: 16px; height: 16px; }
.listen .bars { display: none; gap: 3px; align-items: flex-end; height: 16px; }
.listen .bars i { width: 3px; border-radius: 2px; background: var(--ink); animation: bar 0.9s ease-in-out infinite; }
.listen .bars i:nth-child(2) { animation-delay: .15s; } .listen .bars i:nth-child(3) { animation-delay: .3s; } .listen .bars i:nth-child(4) { animation-delay: .45s; }
.listen.playing .bars { display: inline-flex; }
.listen.playing .play-ic { display: none; }
.listen .stop-ic { display: none; }
.listen.playing .stop-ic { display: block; }
@keyframes bar { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.hear {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 44px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--purple-soft); color: var(--purple-dark); border: 0; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 900;
}
.hear .ic { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--purple); color: #fff; }
.hear .ic svg { width: 10px; height: 10px; }
.hear.playing .ic { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.18); } }

/* ---------- seções ---------- */
main { max-width: 1240px; margin: 0 auto; }
section { padding: 72px 24px; scroll-margin-top: 90px; }
@media (max-width: 520px) { section { padding: 60px 16px; } }
.sec-title { max-width: 760px; margin: 0 auto; text-align: center; }
.kicker { display: inline-block; font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: var(--honey); }
h2 { margin: 8px 0 0; font-size: clamp(32px, 4.6vw, 44px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.06; }
h2 em { font-style: normal; color: var(--purple); }
.sub { margin: 14px auto 0; font-size: 18px; color: var(--text); max-width: 660px; }
.sub a, .story p a, .card p a { color: var(--purple); font-weight: 900; }

.glass {
  background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
/* o cartão do mundo do app: creme opaco, moldura dourada, degrau embaixo */
.cream { background: var(--cream); border: 3px solid var(--cream-line); box-shadow: 0 6px 0 var(--cream-step), 0 18px 34px rgba(43, 28, 70, 0.12); }

.grid3 { margin-top: 44px; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; } }
.card { border-radius: var(--radius-card); padding: 12px 12px 26px; display: flex; flex-direction: column; }
.card .pic { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky); }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
@media (hover: hover) { .card:hover .pic img { transform: scale(1.04); } }
.card h3 { margin: 20px 12px 0; font-size: 22px; font-weight: 900; letter-spacing: -0.02em; color: var(--purple); }
.card p { margin: 8px 12px 14px; font-size: 15px; color: var(--text); }
.card .hear { margin: auto 0 0 12px; align-self: flex-start; }

/* ---------- a palavra que se junta, entre as seções ---------- */
.blendline { max-width: 560px; margin: 0 auto; padding: 16px 24px 0; display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; gap: 8px 22px; }
.blendline .bl-tiles { display: flex; gap: 8px; grid-column: 1; }
.blendline .bl-tiles span {
  display: grid; place-items: center; width: 50px; height: 56px; border-radius: 14px; background: #fff;
  border: 2px solid var(--cream-line); box-shadow: 0 4px 0 var(--cream-step);
  font-family: var(--font-words); font-weight: 700; font-size: 32px; color: var(--ink);
  transition: background .25s ease calc(.25s + var(--i) * .38s), transform .25s ease calc(.25s + var(--i) * .38s);
}
.blendline .bl-track { grid-column: 1; grid-row: 2; position: relative; height: 10px; border-radius: 99px; background: rgba(43, 28, 70, 0.1); }
.blendline .bl-ball {
  position: absolute; top: 50%; left: 0; width: 26px; height: 26px; margin: -13px 0 0 -4px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6c9, var(--gold) 55%, var(--gold-dark)); box-shadow: 0 3px 8px rgba(160, 110, 0, 0.35);
  transition: left 1.25s cubic-bezier(.5, 0, .35, 1) .2s;
}
.blendline .bl-word {
  grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-words); font-weight: 700; font-size: 44px; color: var(--purple);
  opacity: 0; transform: scale(.8); transition: opacity .35s ease 1.5s, transform .35s cubic-bezier(.3, 1.6, .5, 1) 1.5s;
}
.blendline.in .bl-ball { left: calc(100% - 22px); }
.blendline.in .bl-tiles span { background: var(--gold-soft); transform: translateY(-4px); }
.blendline.in .bl-word { opacity: 1; transform: none; }
.no-js .blendline .bl-ball { left: calc(100% - 22px); }
.no-js .blendline .bl-word { opacity: 1; transform: none; }
@media (max-width: 520px) {
  .blendline { padding: 16px 16px 0; gap: 8px 16px; }
  .blendline .bl-tiles span { width: 42px; height: 48px; font-size: 27px; }
  .blendline .bl-word { font-size: 36px; }
}

/* ---------- como funciona ---------- */
.steps .step { border-radius: 26px; padding: 22px 22px 24px; }
.steps h3 { margin: 0; font-size: 19px; font-weight: 900; display: flex; align-items: flex-start; }
.steps h3 .num { flex: none; }
.steps p { margin: 8px 0 0; font-size: 15px; color: var(--text); }
.num {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 30%; margin-right: 10px;
  background: var(--c, var(--gold)); color: var(--g, var(--ink)); font-family: var(--font-logo); font-size: 17px; font-weight: 700; vertical-align: 2px;
  box-shadow: 0 3px 0 rgba(43, 28, 70, 0.14); transform: rotate(var(--r, -5deg));
}

/* a lição do dia, como a barra de passos do app: pedrinhas numa trilha */
.trail {
  list-style: none; margin: 40px auto 0; padding: 26px 18px 22px; max-width: 1080px; border-radius: 30px;
  display: grid; grid-template-columns: repeat(var(--n, 8), 1fr); gap: 0;
}
.trail li { position: relative; text-align: center; padding: 0 5px; }
.trail li::before {
  content: ""; position: absolute; top: 25px; left: -50%; width: 100%; height: 0;
  border-top: 3px dashed rgba(217, 162, 74, 0.6); z-index: 0;
}
.trail li:first-child::before { display: none; }
.trail .dot {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto; border-radius: 50%;
  background: var(--c, #fff); color: var(--g, var(--ink)); font-family: var(--font-logo); font-weight: 700; font-size: 19px;
  box-shadow: 0 4px 0 rgba(43, 28, 70, 0.14); border: 3px solid #fff;
}
.trail b { display: block; margin-top: 10px; font-size: 14.5px; font-weight: 900; line-height: 1.25; }
.trail small { display: block; margin-top: 3px; font-size: 12.5px; font-weight: 800; color: var(--muted); line-height: 1.35; }
@media (max-width: 900px) {
  .trail { grid-template-columns: 1fr; gap: 16px; max-width: 460px; padding: 22px; }
  .trail li { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; align-items: center; padding: 0; }
  .trail li::before { top: -17px; left: 24px; width: 0; height: 17px; border-top: 0; border-left: 3px dashed rgba(217, 162, 74, 0.6); }
  .trail .dot { grid-row: span 2; margin: 0; }
  .trail b { margin-top: 0; align-self: end; }
  .trail small { align-self: start; }
}

/* ---------- telas reais (o app em pé, numa moldura de celular) ---------- */
.telas-wrap:not(:has(figure)) { display: none; }
.telas-wrap { margin-top: 56px; }
.phones {
  display: flex; gap: 28px; justify-content: safe center; align-items: flex-start;
  overflow-x: auto; overscroll-behavior-x: contain; padding: 10px 4px 34px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.phones::-webkit-scrollbar { display: none; }
.phones:focus-visible { outline-offset: -3px; }
.phone { flex: 0 0 auto; width: 236px; margin: 0; scroll-snap-align: center; text-align: center; }
.phone .frame {
  position: relative; border-radius: 42px; padding: 9px; background: #1f1733;
  box-shadow: 0 24px 50px rgba(40, 20, 90, 0.25), inset 0 0 0 2px #3d3358;
  transition: transform .45s cubic-bezier(.2, .9, .3, 1.3), box-shadow .45s ease;
}
.phone .frame::after {
  content: ""; position: absolute; left: 50%; top: calc(9px + 1.3%); width: 31%; height: 4.2%;
  transform: translateX(-50%); border-radius: 99px; background: #0b0814;
}
.phone .frame img { border-radius: 34px; width: 100%; height: auto; background: #fff; }
.phone.landscape { width: 440px; }
.phone.landscape .frame { border-radius: 30px; padding: 10px; }
.phone.landscape .frame::after { left: calc(10px + 1.3%); top: 50%; width: 4.2%; height: 31%; transform: translateY(-50%); }
.phone.landscape .frame img { border-radius: 21px; }
.phone figcaption { margin-top: 14px; font-size: 14.5px; font-weight: 900; color: var(--ink); line-height: 1.3; }
@media (hover: hover) {
  .phone:hover .frame { transform: translateY(-6px) rotate(-0.8deg); box-shadow: 0 32px 60px rgba(40, 20, 90, 0.3), inset 0 0 0 2px #3d3358; }
  .phone:nth-child(even):hover .frame { transform: translateY(-6px) rotate(0.8deg); }
}
.phones-tall { gap: 30px; padding-bottom: 64px; }
.phones-tall .phone:nth-child(even) { translate: 0 30px; }
.telas-note { text-align: center; margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.swipe-hint { display: none; }
.telas-wrap.rola .swipe-hint { display: inline; }
@media (max-width: 1080px) {
  .phones { justify-content: flex-start; margin-inline: -24px; padding-inline: 24px; scroll-padding-inline: 24px; }
  .phones .reveal { opacity: 1; transform: none; transition: none; }
  .phones-tall .phone { width: 200px; }
  .phones-tall { gap: 22px; }
}
@media (max-width: 700px) {
  .phones-tall { padding-bottom: 50px; }
  .phones-tall .phone:nth-child(even) { translate: 0 22px; }
  .phone .frame { border-radius: 36px; padding: 8px; }
  .phone .frame::after { top: calc(8px + 1.3%); }
  .phone .frame img { border-radius: 29px; }
}
@media (max-width: 520px) {
  .phones { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
  .phones-tall .phone { width: 62vw; max-width: 236px; }
  .phone.landscape { width: 80vw; }
}

/* ---------- linhas de história ---------- */
.stories { margin-top: 48px; display: grid; gap: 84px; }
.story { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.story.flip > .pic-framed, .story.flip > .stage, .story.flip > .side { order: 2; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; gap: 26px; } .story.flip > .pic-framed, .story.flip > .stage, .story.flip > .side { order: 0; } }
.pic-framed { border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-pic); outline: 1px solid rgba(255, 255, 255, 0.85); aspect-ratio: 3 / 2; background: var(--sky); position: relative; }
.pic-framed img { width: 100%; height: 100%; object-fit: cover; }
.story h3 { margin: 10px 0 0; font-size: clamp(28px, 3.4vw, 36px); font-weight: 900; letter-spacing: -0.035em; line-height: 1.1; }
.story p { margin: 14px 0 0; font-size: 17.5px; color: var(--text); }
.story p b { color: var(--ink); font-weight: 900; }
.story ul.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.story ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--text); }
.story ul.ticks li svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px; color: var(--green); }
.story ul.ticks li b { color: var(--ink); }

/* ---------- peças de letra (como as do app) ---------- */
.tiles { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.tile {
  display: inline-grid; place-items: center; min-width: 58px; height: 64px; padding: 0 14px; border-radius: 16px;
  background: #fff; border: 3px solid var(--cream-line); box-shadow: 0 5px 0 var(--cream-step);
  font-family: var(--font-words); font-weight: 700; font-size: 34px; color: var(--ink); line-height: 1;
}
.tile small { display: block; font-family: var(--font); font-size: 11px; font-weight: 900; color: var(--muted); margin-top: 2px; }
.tile.tall { height: auto; padding: 10px 14px 8px; }

/* ---------- o slider de sons (a demo) ---------- */
.try {
  margin: 64px auto 0; max-width: 1040px; border-radius: 34px; padding: 30px clamp(20px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px 40px; align-items: center;
}
.no-js .try { display: none; }
@media (max-width: 860px) { .try { grid-template-columns: minmax(0, 1fr); } }
.try h3 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 32px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.try p { margin: 10px 0 0; font-size: 16px; color: var(--text); }
.slider {
  position: relative; border-radius: 28px; padding: 26px 22px 30px; min-width: 0;
  background: linear-gradient(180deg, #d9eeff 0%, #eef7ff 58%, #e6f6dc 58%, #cfeebd 100%);
}
.slider .sons { display: flex; justify-content: center; gap: 10px; }
.slider .som {
  display: grid; place-items: center; min-width: 72px; height: 86px; padding: 0 12px; border-radius: 20px; background: #fff;
  border: 3px solid var(--cream-line); box-shadow: 0 6px 0 var(--cream-step);
  font-family: var(--font-words); font-weight: 700; font-size: 50px; color: var(--ink); line-height: 1;
  transition: background .2s, transform .2s cubic-bezier(.3, 1.6, .5, 1);
}
.slider .som.aceso { background: var(--gold-soft); transform: translateY(-6px); }
.slider.pronto .sons { animation: pular .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pular { 40% { transform: translateY(-14px) scale(1.06); } }
.slider .trilho { position: relative; margin: 26px 8px 0; height: 16px; border-radius: 99px; background: var(--cream); border: 3px solid var(--cream-line); touch-action: none; }
.slider .bola {
  position: absolute; top: 50%; left: 0; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 0; padding: 0;
  cursor: grab; touch-action: none;
  background: radial-gradient(circle at 35% 30%, #fff6c9, var(--gold) 55%, var(--gold-dark)); box-shadow: 0 6px 14px rgba(160, 110, 0, 0.35), 0 0 0 6px rgba(255, 200, 61, 0.25);
}
.slider .bola:active { cursor: grabbing; }
.slider .bola:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }
.slider .dica { margin: 18px 0 0; text-align: center; font-size: 14px; font-weight: 900; color: var(--honey); }
.slider-palavra { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.slider-palavra .btn-soft { margin: 0; }
.try .try-say { margin-top: 14px; min-height: 26px; font-size: 16px; font-weight: 900; color: var(--purple); }
.btn-soft { height: 44px; padding: 0 18px; background: var(--purple-soft); color: var(--purple-dark); font-size: 14px; }
@media (max-width: 520px) {
  .slider { padding: 22px 12px 26px; }
  .slider .som { min-width: 58px; height: 72px; font-size: 40px; padding: 0 8px; }
  .slider .sons { gap: 8px; }
}

/* ---------- a professora e o gatinho ---------- */
.stage { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; margin: 0 auto; }
.stage::before {
  content: ""; position: absolute; inset: 5%; border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, #ffffff 0%, #f6f0ff 34%, #e7dcff 70%, #ffeec2 100%);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.32), 0 26px 54px rgba(80, 50, 160, 0.16);
}
.stage .disc { position: absolute; inset: 5%; border-radius: 50%; overflow: hidden; clip-path: circle(50%); display: flex; align-items: center; justify-content: center; }
.stage .disc::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.9); pointer-events: none; }
.stage .disc img { width: var(--img-w, 78%); height: auto; animation: float 4.5s ease-in-out 4 alternate; filter: drop-shadow(0 10px 16px rgba(80, 50, 160, 0.2)); }
@keyframes float { from { transform: translateY(4px); } to { transform: translateY(-8px); } }
.bubble {
  position: absolute; z-index: 1; top: 3%; right: -2%; padding: 12px 16px; border-radius: 22px 22px 22px 6px;
  background: #fff; font-size: 16px; font-weight: 900; color: var(--ink); box-shadow: 0 10px 26px rgba(60, 40, 120, 0.16);
  transform: rotate(3deg); max-width: 220px; line-height: 1.3;
}
@media (max-width: 520px) { .bubble { font-size: 14.5px; padding: 10px 14px; max-width: 180px; right: 0; } }
.stage .twinkle { position: absolute; width: 22px; height: 22px; color: var(--gold-dark); animation: twinkle 2.6s ease-in-out 3; }
.stage .twinkle.a { left: 12%; top: 22%; }
.stage .twinkle.b { left: 20%; bottom: 18%; width: 16px; height: 16px; animation-delay: -1s; }
.stage .twinkle.c { right: 14%; bottom: 26%; width: 18px; height: 18px; animation-delay: -1.8s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }

/* ---------- os mascotes dos sons ---------- */
.mascots { margin: 40px auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; max-width: 1080px; }
@media (max-width: 900px) { .mascots { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.mascot { border-radius: 26px; padding: 12px 12px 16px; background: #fff; border: 1px solid #ece4fb; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; align-items: center; }
.mascot .foto { width: 100%; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; background: #fff; }
.mascot .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
@media (hover: hover) { .mascot:hover .foto img { transform: translateY(-4px) rotate(-2deg); } }
.mascot .letra { margin-top: 8px; font-family: var(--font-words); font-weight: 700; font-size: 40px; line-height: 1; color: var(--purple); }
.mascot .nome { margin-top: 6px; font-size: 15.5px; font-weight: 900; color: var(--ink); line-height: 1.25; }
.mascot .chave { margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--muted); }
.mascot .hear { margin-top: 10px; }

/* ---------- os livrinhos ---------- */
.books { margin: 40px auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; list-style: none; padding: 0; }
@media (max-width: 1000px) { .books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.book { border-radius: 22px; padding: 10px 10px 14px; }
.book:nth-child(odd) { transform: rotate(-1.2deg); } .book:nth-child(even) { transform: rotate(1.2deg); }
.book .capa { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky); }
.book .capa img { width: 100%; height: 100%; object-fit: cover; }
.book h3 { margin: 10px 4px 0; font-family: var(--font-words); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--ink); }
.book p { margin: 4px 4px 0; font-family: var(--font-words); font-weight: 400; font-size: 17px; line-height: 1.35; color: var(--text); }
.book small { display: block; margin: 8px 4px 0; font-size: 12.5px; font-weight: 800; color: var(--muted); }
.book .hear { margin: 10px 0 0 4px; }

/* uma página de livro, grande (o leitor do app: ilustração em cima, texto em papel creme) */
.page-demo { border-radius: 30px; padding: 12px; }
.page-demo .ilustra { border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; border: 3px solid var(--cream-line); }
.page-demo .ilustra img { width: 100%; height: 100%; object-fit: cover; }
.page-demo .texto { margin: 12px 4px 4px; padding: 16px 18px; border-radius: 18px; background: #fff; font-family: var(--font-words); font-size: clamp(24px, 3vw, 32px); font-weight: 400; line-height: 1.35; color: var(--ink); text-align: center; }
.page-demo .texto mark { background: var(--gold-soft); color: inherit; border-radius: 8px; padding: 0 4px; }

/* ---------- o caminho N0–N10 ---------- */
.path { margin: 44px auto 0; max-width: 1100px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; list-style: none; padding: 0; }
@media (max-width: 1000px) { .path { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .path { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.region { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 2 / 3; box-shadow: var(--shadow-pic); background: var(--sky); }
.region img { width: 100%; height: 100%; object-fit: cover; }
.region .rot { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 248, 236, 0.96); border: 2px solid var(--cream-line); }
.region .rot b { display: block; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--honey); }
.region .rot a, .region .rot span { display: block; font-size: 14.5px; font-weight: 900; color: var(--ink); line-height: 1.25; text-decoration: none; }
/* alvo de toque de 28 px nos links da trilha (WCAG 2.2 2.5.8 pede 24; auditoria de 30/09, P1-3) */
.region .rot a { display: flex; align-items: center; min-height: 28px; }
.region .rot a + a { margin-top: 0; }
@media (hover: hover) { .region .rot a:hover { color: var(--purple); } }
.path-more { text-align: center; margin: 26px 0 0; font-size: 16px; color: var(--text); }
.path-more a { color: var(--purple); font-weight: 900; }

/* ---------- para os adultos ---------- */
.parents { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .parents { grid-template-columns: 1fr; } }
.mini { display: grid; gap: 14px; }
.mini .glass { border-radius: 24px; padding: 18px 20px; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start; }
.mini .ico { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 30%; background: var(--c, var(--purple-soft)); color: var(--g, var(--purple)); }
.mini .ico svg { width: 22px; height: 22px; }
.mini h3 { margin: 0; font-size: 17px; font-weight: 900; }
.mini p { margin: 0; font-size: 14.5px; color: var(--text); }

/* ---------- promessa ---------- */
.promise { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }
.promise ul { list-style: none; margin: 26px 0 0; padding: 22px; border-radius: 26px; display: grid; gap: 14px; }
.promise li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--text); }
.promise li svg { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; color: var(--green); }
.promise li b { font-weight: 900; color: var(--ink); }
.promise a { color: var(--purple); font-weight: 900; }

/* ---------- baixar ---------- */
.get { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
@media (max-width: 900px) { .get { grid-template-columns: 1fr; } }
.get .stage { max-width: 420px; --img-w: 82%; }
.get-card { border-radius: var(--radius-card); padding: 30px; max-width: 470px; width: 100%; margin: 0 auto; }
.get-card h3 { margin: 0; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; }
.get-card .tag { margin: 4px 0 0; font-size: 14px; color: var(--text); }
.get-card ul { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 12px; font-size: 15px; color: var(--text); }
.get-card li { display: flex; gap: 10px; align-items: flex-start; }
.get-card li svg { flex-shrink: 0; width: 19px; height: 19px; margin-top: 2px; color: var(--green); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq details { border-radius: 24px; padding: 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 16.5px; font-weight: 900; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 22px; min-height: 44px; border-radius: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple); font-size: 26px; line-height: 1; transition: transform .2s; font-family: var(--font-logo); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 22px 18px; font-size: 15px; color: var(--text); }
.faq a { color: var(--purple); font-weight: 900; }
.more { text-align: center; margin-top: 22px; font-size: 15px; color: var(--text); }
.more a { color: var(--purple); font-weight: 900; }

/* ---------- faixa final ---------- */
.cta-band {
  position: relative; margin: 20px 24px 0; border-radius: 40px; overflow: hidden; padding: 60px 32px; text-align: center;
  background:
    radial-gradient(40% 70% at 12% 10%, rgba(255, 255, 255, 0.18), transparent 70%),
    linear-gradient(135deg, #5a2cc0 0%, #7038d8 48%, #b0548f 100%);
  color: #fff; box-shadow: 0 24px 60px rgba(90, 44, 192, 0.3);
}
.cta-band h2 { font-size: clamp(30px, 4.4vw, 46px); color: #fff; }
.cta-band p { margin: 12px auto 26px; max-width: 560px; font-size: 18.5px; color: #fff; }
.cta-band .store { box-shadow: 0 6px 0 #000; }
.cta-band span.store { box-shadow: none; }
.cta-band .gato { position: absolute; right: 18px; bottom: -18px; width: 190px; height: auto; transform: rotate(-6deg); filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.25)); }
.cta-band .toy { position: absolute; opacity: 0.95; animation-duration: 9s; }
.cta-band .toy.b1 { --c: #ffc83d; --g: #18213d; --r: -10deg; --s: 46px; left: 26px; top: 26px; }
.cta-band .toy.b2 { --c: #47c979; --g: #18213d; --r: 8deg; --s: 36px; left: 88px; top: 92px; --w: -4s; }
@media (max-width: 800px) {
  .cta-band { margin: 20px 16px 0; padding: 52px 22px 150px; }
  .cta-band .gato { width: 140px; right: 50%; margin-right: -70px; bottom: -14px; transform: rotate(0); }
  .cta-band .toy.b2 { display: none; }
  .cta-band .toy.b1 { --s: 34px; left: 16px; top: 16px; }
}

/* ---------- rodapé ---------- */
.footer { max-width: 1240px; margin: 0 auto; padding: 56px 24px 40px; }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; padding-top: 28px; border-top: 1px solid rgba(43, 28, 70, 0.12); }
.footer p { margin: 10px 0 0; max-width: 380px; font-size: 14px; color: var(--text); }
.footer p a { color: var(--purple); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 14px; font-weight: 800; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text); }
@media (hover: hover) { .footer nav a:hover { color: var(--purple); } }
.footer .fine { margin-top: 28px; font-size: 12.5px; color: var(--muted); max-width: none; }
@media (max-width: 520px) { .footer { padding-left: 16px; padding-right: 16px; } }
.footer-brand { flex: 1 1 260px; }
.footer .footer-col { flex: 0 1 auto; flex-direction: column; flex-wrap: nowrap; gap: 0; min-width: 150px; }
.footer .footer-col b { font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.footer .footer-col a { min-height: 32px; }
@media (min-width: 900px) { .footer .footer-col-2 { display: grid; grid-template-columns: repeat(2, auto); column-gap: 22px; } .footer .footer-col-2 b { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer .footer-col a { min-height: 44px; } }

/* ---------- entrada suave ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.book.reveal.in:nth-child(odd) { transform: rotate(-1.2deg); } .book.reveal.in:nth-child(even) { transform: rotate(1.2deg); }

/* ---------- menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .blendline .bl-ball { left: calc(100% - 22px); }
  .blendline .bl-word { opacity: 1; transform: none; }
  .hero-art video { display: none; }
}

/* ---------- páginas de texto e de busca ---------- */
.doc-hero { max-width: 880px; margin: 0 auto; padding: 56px 24px 8px; display: flex; gap: 24px; align-items: center; }
.doc-gato {
  flex-shrink: 0; display: grid; place-items: end center; width: 120px; height: 120px; border-radius: 34%; overflow: hidden;
  background: radial-gradient(circle at 50% 60%, #fff 0%, #ece1ff 60%, #ffeec2 100%); box-shadow: var(--shadow);
}
.doc-gato img { width: 104px; height: auto; margin-bottom: -4px; }
.doc-hero h1 { font-size: clamp(38px, 5.4vw, 56px); margin: 6px 0 0; }
.doc-hero p { margin: 8px 0 0; color: var(--text); font-size: 16px; }
@media (max-width: 560px) {
  .doc-hero { flex-direction: column; align-items: flex-start; padding: 40px 16px 8px; }
  .doc-gato { width: 88px; height: 88px; } .doc-gato img { width: 76px; margin-bottom: -3px; }
}
.doc {
  max-width: 880px; margin: 24px auto 0; padding: 36px clamp(22px, 5vw, 56px) 44px; border-radius: 36px;
  font-weight: 600; font-size: 16.5px; color: #3c3056;
}
.doc h2 { font-size: 26px; margin: 38px 0 0; letter-spacing: -0.025em; color: var(--ink); scroll-margin-top: 90px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; font-weight: 900; margin: 26px 0 0; color: var(--purple); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.doc h3 small { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--muted); }
.doc h3 a { color: var(--purple); text-decoration: none; }
.doc p, .doc ul, .doc ol, .doc table { margin: 12px 0 0; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--honey); }
.doc strong { font-weight: 900; color: var(--ink); }
.doc a { color: var(--purple); font-weight: 800; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #ebe3f7; vertical-align: top; }
.doc th { font-weight: 900; color: var(--ink); background: #f4efff; }
@media (max-width: 420px) { .doc th, .doc td { padding: 8px 6px; } .doc td { overflow-wrap: break-word; } }
.doc-wrap { padding: 0 24px; }
@media (max-width: 520px) { .doc-wrap { padding: 0 16px; } }
.aviso { margin: 0 0 18px; padding: 14px 18px; border-radius: 18px; background: var(--gold-soft); border: 2px dashed var(--cream-line); color: var(--gold-ink); font-weight: 800; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; list-style: none; margin: 0 0 4px; padding: 0; font-size: 13px; font-weight: 800; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: #a39bbb; }
.crumbs a { color: var(--purple-dark); text-decoration: none; }
@media (hover: hover) { .crumbs a:hover { text-decoration: underline; } }
.in-short { margin: 0; padding: 18px 22px; border-radius: 22px; background: var(--cream); border: 2px solid var(--cream-line); }
.in-short b { display: block; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--honey); }
.in-short p { margin: 6px 0 0; font-size: 17px; line-height: 1.55; color: var(--ink); }
.doc .facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.doc .facts li { margin: 0; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid #ebe3f7; box-shadow: 0 3px 0 #e4daf5; font-size: 13px; font-weight: 900; color: var(--ink); }
.doc .facts li b { color: var(--purple); }
.doc .src { font-size: 13.5px; color: var(--muted); }
.page-art { margin: 0 0 22px; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--sky); box-shadow: var(--shadow-pic); }
.page-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot { margin: 22px 0 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: var(--shadow-pic); }
.shot-tall { max-width: 300px; margin-left: auto; margin-right: auto; }
.shot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* listas de palavras, heart words e grafemas nas páginas de busca */
.doc .words { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.doc .words li { margin: 0; padding: 6px 12px; border-radius: 12px; background: #fff; border: 2px solid #efe6d2; box-shadow: 0 3px 0 #eadcbf; font-family: var(--font-words); font-weight: 700; font-size: 20px; color: var(--ink); line-height: 1.2; }
.doc .words.small li { font-size: 17px; padding: 4px 10px; }
.doc .hearts { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.doc .hearts li { margin: 0; padding: 12px 14px 8px; border-radius: 14px; background: #fff; border: 2px solid #f6d4e4; box-shadow: 0 3px 0 #efc1d6; font-family: var(--font-words); font-weight: 700; font-size: 24px; color: var(--ink); line-height: 1.2; }
.hl { position: relative; color: #c2185b; }
.hl::before { content: "♥"; position: absolute; left: 50%; top: -12px; transform: translateX(-50%); font-family: var(--font); font-size: 11px; color: var(--pink); }
.doc .gpcs { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.doc .gpcs li { margin: 0; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #ebe3f7; font-size: 13.5px; font-weight: 800; color: var(--muted); line-height: 1.3; }
.doc .gpcs li .w { display: block; font-size: 26px; color: var(--purple); line-height: 1.1; }
.doc .lessons { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; counter-reset: l; }
.doc .lessons li { margin: 0; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px; background: #fff; border: 1px solid #ebe3f7; }
.doc .lessons li > i { font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); border: 2px solid var(--cream-line); font-family: var(--font-logo); font-weight: 700; font-size: 16px; color: var(--gold-ink); }
.doc .lessons li > div > b { display: block; font-size: 16px; color: var(--ink); }
.doc .lessons .w b { color: var(--purple); }
.doc .lessons li > div > span { display: block; font-size: 14px; color: var(--muted); font-weight: 700; }
.doc .lessons .w { color: var(--ink); font-size: 16px; }
.doc .level-nav, .doc .topic-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.doc .level-nav li, .doc .topic-nav li { margin: 0; }
.level-nav a, .topic-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid #ebe3f7; box-shadow: 0 3px 0 #e4daf5; font-weight: 900; text-decoration: none; color: var(--ink) !important; font-size: 14.5px; }
.level-nav a small { font-size: 12px; color: var(--honey); font-weight: 900; }
.level-nav a[aria-current], .topic-nav a[aria-current] { background: var(--purple); border-color: var(--purple); box-shadow: 0 3px 0 var(--purple-dark); color: #fff !important; }
.level-nav a[aria-current] small { color: #fff; }
@media (hover: hover) { .level-nav a:hover, .topic-nav a:hover { border-color: var(--purple); } }
.doc .faq { margin: 16px 0 0; max-width: none; }
.doc .faq details { background: #fff; border: 1px solid #ebe3f7; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.doc .faq p { margin: 0; }
.doc .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 640px) { .doc .pair { grid-template-columns: 1fr; } }
.doc .pair > div { padding: 16px 18px; border-radius: 18px; background: #fff; border: 1px solid #ebe3f7; }
.doc .pair h3 { margin-top: 0; }
@media (max-width: 560px) { .in-short p { font-size: 16px; } }

/* A página /apps: os apps da família Zupzi */
.familia-logo { display: flex; justify-content: center; margin: 4px 0 18px; }
.familia-logo img { width: min(360px, 80%); height: auto; }
.familia-intro, .familia-fim { text-align: center; max-width: 620px; margin-left: auto; margin-right: auto; }
.app-cards { display: grid; gap: 18px; margin: 26px 0; }
.app-card { display: flex; gap: 20px; align-items: flex-start; padding: 22px; background: #fff; border: 2px solid #ebe3f7; border-bottom-width: 6px; border-radius: 24px; }
.app-card-aqui { border-color: #d9c8ff; }
.app-icon { width: 88px; height: 88px; border-radius: 22px; flex: none; box-shadow: 0 6px 16px rgba(43, 28, 70, 0.16); }
.app-body h2 { margin: 0; font-family: var(--font-logo); font-size: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.app-tag { margin: 2px 0 8px; font-weight: 800; color: var(--purple); }
.app-body p { margin-top: 6px; }
.app-aqui { font-family: var(--font); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; color: #fff; background: var(--purple); padding: 4px 10px; border-radius: 999px; }
.app-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 14px; }
.app-site { font-weight: 900; text-decoration: none; color: var(--purple); }
.app-soon { font-weight: 800; font-size: 14px; color: var(--text); background: var(--sky-soft); padding: 9px 14px; border-radius: 12px; }
.app-store-link { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: #111; color: #fff !important; text-decoration: none; font-weight: 900; font-size: 14px; }
.app-store-link svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .app-card { flex-direction: column; } .app-icon { width: 72px; height: 72px; border-radius: 18px; } }

/* os vídeos das cenas (quando existem): por cima da cena, que é o pôster */
.pic-framed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.pic-framed video.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pic-framed video { display: none; } }

/* o escopo e a sequência: a região do mapa ao lado do nível */
.doc .lvl-head { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; margin-top: 12px; }
.doc .lvl-head > div > p:first-child { margin-top: 0; }
.doc .lvl-map { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 2 / 3; box-shadow: var(--shadow-pic); border: 3px solid var(--cream-line); }
.doc .lvl-map img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .doc .lvl-head { grid-template-columns: 96px 1fr; gap: 14px; } }
.doc .lessons li > i + div { min-width: 0; }
.doc .lessons li > div > span { overflow-wrap: break-word; }
/* as palavras e a parte de coração ficam na linha do texto (o ♥ em cima das letras certas) */
.doc .lessons .w, .doc .lessons .hl { display: inline; }
/* no meio do texto (listas de lições, tabelas) o ♥ vai logo depois da parte de coração, na linha, sem cobrir a linha de cima */
.doc .lessons .hl::before, .doc td .hl::before { content: none; }
.doc .lessons .hl::after, .doc td .hl::after { content: "♥"; font-family: var(--font); font-size: 10px; color: var(--pink); margin-left: 1px; vertical-align: 0.35em; line-height: 0; }
.doc .lessons b small { font-size: 12px; font-weight: 900; color: var(--honey); margin-left: 6px; }
.doc .steps-list span { color: var(--text); }

/* as páginas dos livros */
.doc .book-pages { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.doc .book-pages li { margin: 0; }
.doc .book-pages .texto { font-size: clamp(20px, 2.4vw, 26px); }
.doc .book-pages .hear { margin: 10px 0 0 6px; }
@media (max-width: 700px) { .doc .book-pages { grid-template-columns: 1fr; } }

/* os mascotes numa página de texto */
.doc .doc-mascots { margin-top: 16px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 0; }
.doc .doc-mascots li { margin: 0; }
.doc .doc-mascots .chave { font-size: 12.5px; line-height: 1.35; }
@media (max-width: 700px) { .doc .doc-mascots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* a linha honesta do programa (páginas que descrevem níveis do currículo) */
.doc .aviso-programa { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; background: var(--purple-soft); border: 1px solid #e2d6ff; font-size: 14.5px; font-weight: 800; color: var(--purple-dark); }
/* tabelas das páginas de tema */
.doc .tile-sm { min-width: 40px; height: 44px; padding: 0 10px; font-size: 24px; border-width: 2px; box-shadow: 0 3px 0 var(--cream-step); border-radius: 12px; }
.doc table td .tile-sm + .tile-sm { margin-left: 4px; }
.doc .tag-stretchy, .doc .tag-stop { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 900; }
.doc .tag-stretchy { background: var(--gold-soft); color: var(--gold-ink); }
.doc .tag-stop { background: #e8eefc; color: #23408f; }
.doc .hear-mini { margin: 0; min-height: 36px; padding: 6px 12px 6px 6px; font-size: 12px; }
.doc table td { vertical-align: middle; }
.doc .familias td { padding-top: 6px; padding-bottom: 6px; }
.doc .familias th .w { font-size: 20px; color: var(--purple); }
.doc .words.with-lesson li { display: inline-flex; align-items: baseline; gap: 6px; }
.doc .words.with-lesson li small { font-family: var(--font); font-size: 11px; font-weight: 900; color: var(--honey); }
.doc .familias .words { margin: 0; }
.doc .hearts li small { display: block; font-family: var(--font); font-size: 11px; font-weight: 900; color: var(--muted); text-align: center; }
.doc .hearts li .hw { display: block; text-align: center; }
.doc .pairs li { font-size: 19px; }
.doc .metodo th, .doc .padroes th { min-width: 90px; }
.doc .metodo td, .doc .padroes td { font-size: 14.5px; }
.doc .som-tabela td .w { font-size: 17px; }
.doc .grafias-tabela td .w { font-size: 17px; }
@media (max-width: 640px) { .doc table { font-size: 13.5px; } .doc .tile-sm { font-size: 20px; height: 38px; min-width: 34px; } }

/* um bloco de letras nunca se parte ("eigh" fica inteiro); as etiquetas também não */
.tile, .doc .tag-stretchy, .doc .tag-stop { white-space: nowrap; }
/* tabelas de prosa no celular: cada linha vira um cartão, com o nome da coluna antes de cada célula
   (montar-site.py › empilhar_tabelas põe o data-label e os papéis ARIA) */
@media (max-width: 640px) {
  .doc table.empilha { display: block; overflow: visible; font-size: 14.5px; }
  .doc table.empilha thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .doc table.empilha tbody, .doc table.empilha tr, .doc table.empilha td, .doc table.empilha tbody th { display: block; }
  .doc table.empilha tr { padding: 14px 0; border-bottom: 1px solid #ebe3f7; }
  .doc table.empilha td, .doc table.empilha tbody th { border: 0; padding: 4px 0; overflow-wrap: break-word; }
  .doc table.empilha td[data-label]::before, .doc table.empilha tbody th[data-label]::before {
    content: attr(data-label); content: attr(data-label) / "";
    display: block; margin-bottom: 2px; font-size: 11px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  }
  .doc table.empilha tbody th { color: var(--purple); }
  /* os sons: o bloco da letra à esquerda, o som e a etiqueta em cima, o amigo e a lição embaixo, o botão à direita */
  .doc table.sons-tabela.empilha tr { display: grid; grid-template-columns: 50px minmax(0, 1fr) auto; grid-template-areas: "l s k" "l f h" "l n h";
    column-gap: 12px; row-gap: 2px; align-items: center; padding: 12px 0; }
  .doc table.sons-tabela.empilha td { padding: 0; }
  .doc table.sons-tabela.empilha td::before { content: none; }
  .doc table.sons-tabela.empilha td:nth-child(1) { grid-area: l; }
  .doc table.sons-tabela.empilha td:nth-child(2) { grid-area: s; font-weight: 900; color: var(--ink); }
  .doc table.sons-tabela.empilha td:nth-child(3) { grid-area: k; justify-self: end; }
  .doc table.sons-tabela.empilha td:nth-child(4) { grid-area: f; }
  .doc table.sons-tabela.empilha td:nth-child(5) { grid-area: n; color: var(--muted); font-size: 13px; font-weight: 800; }
  .doc table.sons-tabela.empilha td:nth-child(6) { grid-area: h; justify-self: end; }
  .doc table.sons-tabela.empilha td:nth-child(4):empty { display: none; }
  /* grafias e sons (dígrafos, times de vogais): empilhados como os outros, com o nome de cada coluna */
}

/* imprimir: tudo visível, mesmo o que ainda não entrou na tela (auditoria de 30/09, P2-9) */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
}
