:root {
  --teal: #13b5b1;
  --teal-esc: #0b8f8c;
  --rosa: #f2368a;
  --rosa-esc: #d61f72;
  --amarelo: #ffd23f;
  --amarelo-forte: #f5b400;
  --roxo: #8b5cf6;
  --verde: #3dbb5c;
  --wa: #22c55e;
  --wa-esc: #16a34a;
  --tinta: #24314a;
  --texto: #55607a;
  --creme: #fffaf0;
  --branco: #ffffff;
  --borda: #f1e8d8;
  --raio: 22px;
  --sombra: 0 10px 30px rgba(36, 49, 74, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body { font-family: "Nunito", system-ui, sans-serif; color: var(--texto); background: var(--creme); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Fredoka", "Nunito", sans-serif; color: var(--tinta); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p + p { margin-top: .8em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.teal { color: var(--teal); }
.rosa { color: var(--rosa); }
.roxo { color: var(--roxo); }
.amarelo { color: var(--amarelo); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 800; text-decoration: none; border-radius: 999px; padding: .95em 1.6em; transition: transform .15s, box-shadow .15s, background .15s; font-size: 1rem; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px rgba(34, 197, 94, .35); }
.btn--wa::before { content: ""; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3Zm5.9 15.7c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6-1-.9-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.7l.5-.6.3-.5v-.5l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.8s1.2 3.3 1.4 3.5c.2.2 2.4 3.6 5.7 5 2.8 1.1 3.3.9 4 .8.6-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5l-.7-.4Z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 3a13 13 0 0 0-11.2 19.6L3 29l6.6-1.7A13 13 0 1 0 16 3Zm5.9 15.7c-.3-.2-1.9-.9-2.2-1-.3-.1-.5-.2-.7.2l-1 1.2c-.2.2-.4.2-.7.1-.3-.2-1.4-.5-2.6-1.6-1-.9-1.6-1.9-1.8-2.2-.2-.3 0-.5.1-.7l.5-.6.3-.5v-.5l-1-2.4c-.3-.6-.5-.5-.7-.5h-.6c-.2 0-.6.1-.9.4-.3.3-1.2 1.1-1.2 2.8s1.2 3.3 1.4 3.5c.2.2 2.4 3.6 5.7 5 2.8 1.1 3.3.9 4 .8.6-.1 1.9-.8 2.2-1.5.3-.8.3-1.4.2-1.5l-.7-.4Z'/%3E%3C/svg%3E") center/contain no-repeat; }
.btn--wa:hover { background: var(--wa-esc); }
.btn--linha { border: 2px solid var(--tinta); color: var(--tinta); padding: calc(.95em - 2px) 1.5em; }
.btn--linha:hover { background: var(--tinta); color: #fff; }
.btn--branco { background: #fff; color: var(--rosa-esc); box-shadow: 0 8px 20px rgba(0, 0, 0, .12); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--linha.btn--sm { padding: calc(.6em - 2px) 1.1em; }
.btn--area { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(19, 181, 177, .3); }
.btn--area:hover { background: var(--teal-esc); }
.btn--grande { font-size: 1.1rem; padding: 1.1em 2em; }

/* topo */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 240, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.topo.rolou { border-color: var(--borda); box-shadow: 0 4px 18px rgba(36, 49, 74, .06); }
.topo__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.topo__logo img { height: 46px; width: auto; }
.topo__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 700; font-size: .95rem; }
.topo__nav a { text-decoration: none; color: var(--tinta); }
.topo__nav a:hover { color: var(--rosa); }
.topo__acoes { display: flex; align-items: center; gap: 10px; }
.so-cel { display: none; }

/* hero */
.hero { position: relative; padding: 48px 0 110px; overflow: hidden; background: radial-gradient(ellipse at 75% 30%, #fff3c4 0, transparent 55%), var(--creme); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; position: relative; }
.selo { display: inline-block; background: #ffe1ee; color: var(--rosa-esc); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .45em 1em; border-radius: 999px; margin-bottom: 18px; }
.hero__sub { font-size: 1.12rem; margin: 20px 0 28px; max-width: 34em; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.pilares { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 34px; }
.pilares li { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--sombra); }
.pilares b { color: var(--tinta); font-size: .95rem; line-height: 1.25; }
.pilares small { grid-column: 2; font-size: .8rem; line-height: 1.3; }
.ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-weight: 800; }
.ic--rosa { background: #ffe1ee; color: var(--rosa); }
.ic--amarelo { background: #fff3c4; color: var(--amarelo-forte); }
.ic--teal { background: #d7f5f4; color: var(--teal); }
.ic--roxo { background: #ece4ff; color: var(--roxo); }
.hero__img img { width: 100%; animation: flutua 6s ease-in-out infinite; }
@keyframes flutua { 50% { transform: translateY(-10px); } }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .5; }
.blob--teal { width: 260px; height: 260px; background: #c9f1ef; left: -110px; top: 260px; }
.blob--pink { width: 340px; height: 340px; background: #ffd6e8; right: -140px; bottom: -120px; }
.onda { position: absolute; bottom: -1px; left: 0; width: 100%; height: 70px; fill: var(--branco); }

/* seções */
.secao { padding: 90px 0; }
.secao--branca { background: var(--branco); }
.sobre { display: inline-block; color: var(--rosa); font-weight: 800; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.sobre--claro { color: var(--amarelo); }
.cab { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.cab p { margin-top: 14px; font-size: 1.08rem; }

/* coleção */
.colecao { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.colecao h2 { margin-bottom: 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { font-weight: 800; font-size: .9rem; padding: .5em 1em; border-radius: 999px; }
.tag--rosa { background: #ffe1ee; color: var(--rosa-esc); }
.tag--teal { background: #d7f5f4; color: var(--teal-esc); }
.tag--amarelo { background: #fff3c4; color: #a87b00; }
.trilha { background: var(--creme); border-radius: var(--raio); padding: 28px 24px; border: 2px dashed var(--borda); }
.trilha__tit { font-family: "Fredoka", sans-serif; font-size: 1.2rem; color: var(--tinta); text-align: center; margin-bottom: 22px; }
.trilha__tit b { color: var(--rosa); font-weight: 600; }
.fases { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 12px; }
.fases button { width: 100%; border: 0; background: none; cursor: pointer; text-align: center; font: inherit; color: var(--tinta); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.fases img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 6px 14px rgba(36, 49, 74, .14); transition: transform .2s; }
.fases button:hover img { transform: translateY(-3px) rotate(-1deg); }
.fase__idade { background: var(--c); color: #fff; font-weight: 800; font-size: .72rem; padding: .2em .7em; border-radius: 999px; margin-top: 2px; white-space: nowrap; }
.fases b { font-family: "Fredoka", sans-serif; font-weight: 600; font-size: .95rem; line-height: 1.1; }
.livro__idade { font: 800 .8rem "Nunito", sans-serif; background: var(--c); color: #fff; padding: .25em .8em; border-radius: 999px; vertical-align: middle; white-space: nowrap; }

/* livros */
.abas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.aba { border: 2px solid var(--borda); background: #fff; color: var(--tinta); font: 800 .95rem "Nunito", sans-serif; padding: .7em 1.2em; border-radius: 999px; cursor: pointer; transition: all .15s; }
.aba:hover { border-color: var(--c); }
.aba[aria-selected="true"] { background: var(--c); border-color: var(--c); color: #fff; }
.livro { touch-action: manipulation; background: #fff; border-radius: 28px; padding: 32px 36px 26px; box-shadow: var(--sombra); --c: var(--teal); }
.livro__cab { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.livro__cab h3 { font-size: 1.6rem; color: var(--c); margin-bottom: 4px; }
.livro__cab p { max-width: 40em; }
.btn-auto { flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--c); color: #fff; cursor: pointer; display: grid; place-items: center; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); transition: transform .15s; }
.btn-auto:hover { transform: scale(1.06); }
/* ícone de tocar (triângulo) e de pausar (duas barras), desenhado em CSS */
.btn-auto__ic { width: 0; height: 0; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; margin-left: 5px; }
.btn-auto[aria-pressed="true"] .btn-auto__ic { width: 16px; height: 20px; border: 0; margin: 0; background: linear-gradient(90deg, #fff 0 35%, transparent 35% 65%, #fff 65%); }
.folhear__info { text-align: center; font-weight: 800; color: var(--tinta); margin-top: 10px; min-height: 1.5em; }
.palco { background: radial-gradient(ellipse at 50% 40%, #fbf6ec, #efe6d4); border-radius: 18px; padding: 26px 20px; min-height: 300px; display: flex; justify-content: center;
  overflow: hidden; touch-action: manipulation; } /* a página virando não vaza da tela (o iPhone reajustava o zoom: "chacoalho") e toque duplo não dá zoom */
.palco > div { margin-inline: auto; }
.pg { background: #fffdf7; overflow: hidden; }
.pg > img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
/* última folha do mostruário: convite + WhatsApp + entrada da área da escola */
.pg--fim { background: #fffdf7; background: color-mix(in srgb, var(--c) 10%, #fffdf7); container-type: inline-size; }
.fim { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5em; padding: 10%; text-align: center; color: var(--tinta); font-size: clamp(.72rem, 5.2cqi, 1.1rem); line-height: 1.35; }
.fim__sol { width: 2.4em; height: 2.4em; border-radius: 50%; background: var(--amarelo); color: #fff; display: grid; place-items: center; font-size: 1.3em; margin-bottom: .2em; }
.fim b { font-family: "Fredoka", "Nunito", sans-serif; font-weight: 600; font-size: 1.45em; color: var(--c); line-height: 1.15; }
.fim .btn { margin-top: .7em; font-size: max(.75rem, .9em); }
.fim__area { font-weight: 700; font-size: .85em; color: var(--tinta); margin-top: .3em; }
.folhear__ctl { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; font-weight: 800; color: var(--tinta); }
.folhear__ctl { gap: 22px; }
.seta { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--borda); background: #fff; font-size: 1.2rem; cursor: pointer; color: var(--tinta); transition: all .15s; }
.seta:hover { background: var(--c); border-color: var(--c); color: #fff; }
.barra { display: block; width: min(520px, 100%); margin: 14px auto 0; accent-color: var(--c); cursor: pointer; }
.nota { text-align: center; font-size: .85rem; margin-top: 10px; }

/* diferenciais */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--creme); border-radius: var(--raio); padding: 28px; border-top: 6px solid var(--c); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.card__n { font-family: "Fredoka", sans-serif; font-size: 2.2rem; color: var(--c); line-height: 1; }
.card h3 { margin: 12px 0 8px; }
.card p { font-size: .97rem; }

/* faixa */
.faixa { background: linear-gradient(110deg, var(--rosa), #ff6aa8); color: #fff; padding: 48px 0; }
.faixa__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.faixa h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.faixa p { opacity: .92; margin-top: 4px; }

/* grace */
.grace { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.grace__foto { position: relative; max-width: 420px; margin-inline: auto; width: 100%; }
.grace__circulo { position: absolute; left: 6%; right: 6%; bottom: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #c9f1ef, var(--teal)); }
.grace__foto img { position: relative; width: 100%; -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.grace__cracha { position: absolute; left: -8px; bottom: 40px; background: #fff; border-radius: 16px; padding: 12px 18px; box-shadow: var(--sombra); display: flex; flex-direction: column; line-height: 1.2; }
.grace__cracha small { font-size: .75rem; font-weight: 800; color: var(--rosa); text-transform: uppercase; letter-spacing: .06em; }
.grace__cracha b { font-family: "Fredoka", sans-serif; font-size: 1.3rem; color: var(--tinta); font-weight: 600; }
.grace__txt h2 { margin-bottom: 20px; }
.grace__txt b { color: var(--tinta); }
blockquote { margin: 26px 0; padding: 20px 24px; background: #fff; border-left: 6px solid var(--amarelo); border-radius: 0 16px 16px 0; font-family: "Fredoka", sans-serif; font-size: 1.45rem; color: var(--tinta); box-shadow: var(--sombra); }
blockquote cite { display: block; font: 800 .85rem "Nunito", sans-serif; color: var(--rosa); margin-top: 4px; font-style: normal; }
.exp { display: flex; align-items: center; gap: 16px; }
.exp__n { font-family: "Fredoka", sans-serif; font-size: 2.6rem; color: var(--teal); line-height: 1; background: #fff3c4; border-radius: 14px; padding: 8px 14px; }
.exp b { display: block; }
.exp small { font-size: .9rem; }

/* fechamento */
.fecho { background: radial-gradient(ellipse at 50% 0, #1e3f6e 0, var(--tinta) 70%); color: #d5dbea; padding: 90px 0; text-align: center; }
.fecho__in { max-width: 820px; }
.fecho__sol { margin: 0 auto 14px; width: 64px; }
.fecho h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 36px 0; text-align: left; }
.checks li { background: rgba(255, 255, 255, .07); border-radius: 14px; padding: 14px 16px 14px 48px; position: relative; font-size: .92rem; line-height: 1.35; }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.checks b { display: block; color: #fff; }
.fecho__obs { margin-top: 14px; font-size: .9rem; opacity: .75; }

/* rodapé */
.rodape { background: #1b2538; color: #aab3c7; padding: 56px 0 24px; font-size: .95rem; }
.rodape__in { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; }
.rodape img { width: 200px; margin-bottom: 12px; background: #fff; border-radius: 12px; padding: 8px 12px; }
.rodape b { display: block; color: #fff; margin-bottom: 10px; font-family: "Fredoka", sans-serif; font-weight: 600; font-size: 1.05rem; }
.rodape nav a { display: block; text-decoration: none; padding: 3px 0; }
.rodape nav a:hover { color: #fff; }
.rodape .btn { margin-top: 12px; }
.rodape__area { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-top: 18px; }
.rodape__area small { flex-basis: 100%; font-size: .85rem; }
.rodape__area .btn { margin-top: 4px; }
.rodape__fim { text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; padding-top: 20px; font-size: .85rem; }

/* whatsapp flutuante */
.wa-flutua { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(34, 197, 94, .45); opacity: 0; transform: scale(.6); pointer-events: none; transition: all .25s; }
.wa-flutua.on { opacity: 1; transform: none; pointer-events: auto; }

/* aparecer ao rolar: só desliza, nunca esconde o texto (se travar, o conteúdo continua legível) */
.js .revela { transform: translateY(16px); transition: transform .5s ease-out; }
.js .revela.on { opacity: 1; transform: none; }

/* menu do topo some antes de apertar os botões */
@media (max-width: 1080px) {
  .topo__nav { display: none; }
  .topo__acoes { margin-left: auto; }
}

/* tablet */
@media (max-width: 960px) {
  .hero { padding-top: 24px; }
  .hero__in, .colecao, .grace { grid-template-columns: 1fr; }
  .hero__img { order: -1; max-width: 520px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .rodape__in { grid-template-columns: 1fr 1fr; }
  .rodape__in > div:first-child { grid-column: 1 / -1; }
}

/* celular */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topo__in { height: 62px; }
  .topo__logo img { height: 38px; }
  .topo__in { gap: 12px; }
  .topo__acoes { gap: 8px; }
  .topo__in .btn { font-size: .8rem; padding: .55em .9em; }
  .topo__in .btn--linha { padding: calc(.55em - 2px) .9em; }
  /* no celular o "Fale com a gente" continua inteiro (é o principal) e "Área da escola" vira o link curto "Entrar" */
  .so-grande { display: none; }
  .so-cel { display: inline; }
  .topo__in .topo__entrar { border: 0; padding: .55em .4em; background: none; color: var(--tinta); text-decoration: underline; text-underline-offset: 3px; }
  .topo__in .topo__entrar:hover { background: none; color: var(--rosa); }
  .topo__in .btn--wa { padding: .6em .95em; }
  .hero { text-align: center; padding-bottom: 80px; }
  .hero__acoes { justify-content: center; }
  .hero__acoes .btn { width: 100%; }
  .pilares { grid-template-columns: 1fr; text-align: left; }
  .secao { padding: 64px 0; }
  .trilha { padding: 20px 12px; }
  .fases { gap: 14px 8px; }
  .fases b { font-size: .82rem; }
  .fase__idade { font-size: .62rem; padding: .2em .5em; }
  .abas { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .aba { flex-shrink: 0; }
  .livro { padding: 20px 16px; border-radius: 22px; }
  .livro__cab { flex-direction: column; align-items: flex-start; }
  .livro__cab h3 { font-size: 1.3rem; }
  .livro__cab p { font-size: .92rem; }
  .palco { padding: 14px 8px; margin-inline: -4px; }
  .cards { grid-template-columns: 1fr; }
  .faixa__in { flex-direction: column; text-align: center; }
  .grace__cracha { left: 0; bottom: 20px; }
  blockquote { font-size: 1.2rem; }
  .checks { grid-template-columns: 1fr; }
  .rodape__in { grid-template-columns: 1fr; text-align: center; }
  .rodape img { margin-inline: auto; }
  .rodape__area { justify-content: center; }
  .rodape__fim { padding-bottom: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
