/* =============================================================================
   Matriz — kit Escolar da página imersiva (estilo "Matriz — Escolar v_2.0")
   Veio do protótipo aprovado (projeto paginas, "Matriz — Escolar v_2.0"). Mesmo motor da
   Semijoias v_2.0 (v2.js mede a rolagem e grava --p); este CSS substitui o v2.css.
   Layouts próprios: v2escolar_<tipo> (abertura, turmas, agenda, a escola, chamada); os
   demais blocos usam o v2_<tipo> comum. Cores do tema Escolar + as quatro das pegadas.
   ============================================================================= */

@font-face { font-family: "Lexend"; src: url("../fontes/Lexend.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fontes/Figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
	color-scheme: light;
	--fonte-titulo: "Lexend", system-ui, sans-serif;
	--fonte-texto: "Figtree", system-ui, sans-serif;

	--fundo: #f5f7fc;
	--superficie: #ffffff;
	--superficie-2: #e9eefa;
	--texto: #1c2440;
	--texto-suave: #4e5a78;
	--titulo: #0f1a3d;
	--borda: #dbe2f2;
	--borda-forte: #b8c4e0;
	--azul: #1f4fbf;
	--azul-forte: #1a41a0;
	--noite: #0f1a3d;
	--noite-2: #16255a;
	--sol: #f5b301;
	--sol-texto: #8a6200;
	/* as cores das pegadas da marca */
	--rosa: #e8489a;
	--laranja: #f7941d;
	--verde: #4fae32;
	--ceu: #1fa3dc;

	/* nomes da página imersiva comum (v2_<tipo>, mapa desenhado), nas cores da Escolar */
	--linha: var(--borda-forte); --ouro: var(--rosa); --fundo-2: var(--superficie-2); --cartao: var(--superficie);
	--largura: 1180px;
	--lateral: clamp(1rem, 4vw, 3rem);
	/* distância padrão entre blocos (a mesma da Semijoias v_2.0): todo bloco começa com --bloco-topo
	   e termina colado no último conteúdo; abertura, números e letreiro ficam colados */
	--altura-topo: 4.75rem;
	--respiro: clamp(2rem, 4vw, 2.75rem);
	--bloco-topo: calc(var(--altura-topo) + var(--respiro));
	--raio: 18px;
	--suave: cubic-bezier(.2, .7, .2, 1);
	--mola: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0; background: var(--fundo); color: var(--texto);
	font: 400 1.05rem/1.65 var(--fonte-texto);
	overflow-x: clip;
	/* quadriculado de caderno ao fundo */
	background-image:
		linear-gradient(rgba(31, 79, 191, .05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(31, 79, 191, .05) 1px, transparent 1px);
	background-size: 32px 32px;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 700; line-height: 1.1; margin: 0; color: var(--titulo); letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.6vw, 3.5rem); }
/* realce: o fim do título vira marca-texto amarelo, como em caderno */
h2 em { font-style: normal; background: linear-gradient(transparent 58%, rgba(245, 179, 1, .55) 58%, rgba(245, 179, 1, .55) 92%, transparent 92%); padding-inline: .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
h3 { font-size: 1.3rem; }
p { margin: 0; }
::selection { background: var(--sol); color: var(--noite); }
:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; left: 1rem; top: -4rem; z-index: 99; background: var(--sol); color: var(--noite); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.pular:focus { top: 1rem; }

.olho { display: inline-flex; align-items: center; gap: .55rem; font: 700 .76rem/1 var(--fonte-texto); letter-spacing: .2em; text-transform: uppercase; color: var(--azul); margin-bottom: 1.1rem; }
.olho::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--sol); rotate: 45deg; }

/* pegadas: a cor vem da classe */
.pe-rosa { fill: var(--rosa); color: var(--rosa); }
.pe-laranja { fill: var(--laranja); color: var(--laranja); }
.pe-verde { fill: var(--verde); color: var(--verde); }
.pe-azul { fill: var(--ceu); color: var(--ceu); }

/* ---------- botões ---------- */
.botao {
	display: inline-flex; align-items: center; gap: .6rem; justify-content: center;
	min-height: 3.2rem; padding: .8rem 1.6rem; border-radius: 14px;
	font: 700 .95rem/1 var(--fonte-titulo); text-decoration: none; cursor: pointer;
	transition: transform .3s var(--mola), box-shadow .3s var(--suave), background-color .3s;
	position: relative; overflow: hidden; isolation: isolate;
}
.botao-sol, .botao-ouro, .botao-primario { background: var(--sol); color: #1b1300; box-shadow: 0 5px 0 #c48f00, 0 14px 28px rgba(245, 179, 1, .3); }
.botao-sol:hover, .botao-ouro:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #c48f00, 0 20px 34px rgba(245, 179, 1, .38); }
.botao-sol:active, .botao-ouro:active { transform: translateY(3px); box-shadow: 0 2px 0 #c48f00; }
.botao-contorno { border: 2px solid var(--azul); color: var(--azul); background: transparent; min-height: 2.75rem; padding: .6rem 1.15rem; font-size: .88rem; }
.botao-contorno:hover { background: var(--azul); color: #fff; }
.botao-texto { color: var(--azul); padding-inline: .4rem; }
.abertura .botao-texto, .final .botao-texto { color: #fff; }
.botao-texto span { transition: transform .3s var(--suave); }
.botao-texto:hover span { transform: translateY(3px); }
/* Abertura: o segundo botão é um botão de verdade no fundo escuro (contorno claro, vidro), da altura do amarelo */
.abertura .botao-texto {
	padding-inline: 1.5rem; border: 2px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .1);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 5px 0 rgba(0, 0, 0, .28);
}
.abertura .botao-texto span { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--sol); color: #1b1300; font-size: .85rem; }
.abertura .botao-texto:hover { background: #fff; border-color: #fff; color: var(--noite); transform: translateY(-3px); box-shadow: 0 8px 0 rgba(0, 0, 0, .28), 0 18px 32px rgba(0, 0, 0, .3); }
.abertura .botao-texto:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .28); }
.abertura .botao-texto:focus-visible { outline: 3px solid var(--sol); outline-offset: 3px; }

/* ---------- faixa e topo ---------- */
.faixa {
	display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; justify-content: center; align-items: center;
	padding: .5rem var(--lateral); background: var(--noite); color: #d3dcf3; font-size: .84rem; text-align: center;
}
.faixa b { color: #fff; }

/* Barra do topo do SIPI: cor escolhida e figura (2400 × 80) atrás dos avisos, com um véu para o texto continuar legível */
.faixa.faixa-cor { background-color: var(--faixa-fundo); color: var(--faixa-texto); }
.faixa.faixa-cor b, .faixa.faixa-cor a { color: inherit; }
.faixa.faixa-figura { background-image: linear-gradient(rgba(15, 26, 61, .25), rgba(15, 26, 61, .25)), var(--faixa-figura); background-size: cover; background-position: center; }
.faixa.faixa-figura > * { padding: .12rem .75rem; border-radius: 99px; background: rgba(15, 26, 61, .72); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.faixa-estado { display: inline-flex; align-items: center; gap: .5rem; }
.faixa-estado[data-aberta]::before, .cartao-agora[data-aberta]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 10px #5ee08a; animation: pulsa 1.8s ease-in-out infinite; }
.faixa-estado[data-fechada]::before, .cartao-agora[data-fechada]::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); }
@keyframes pulsa { 50% { opacity: .35; } }

.topo {
	position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	height: var(--altura-topo); padding: 0 var(--lateral);
	background: rgba(245, 247, 252, .0); border-bottom: 1px solid transparent;
	transition: background-color .4s, border-color .4s, box-shadow .4s;
}
/* na abertura escura o topo é claro sobre escuro; depois de rolar vira barra branca */
.topo { color: #fff; }
.topo.rolou { background: rgba(255, 255, 255, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--borda); box-shadow: 0 6px 20px rgba(15, 26, 61, .06); color: var(--titulo); }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; }
.marca-simbolo, .marca-logo, .marca img { width: 44px; height: 44px; border-radius: 12px; background: #fff; padding: 2px; flex: none; object-fit: contain; }
/* logo enviado no SIPI (Cabeçalho): sem caixinha, na proporção dele e maior */
.marca img.marca-figura { width: auto; height: 54px; max-width: 160px; padding: 0; border-radius: 0; background: none; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.marca-logo { width: auto; max-height: 44px; }
.marca-nome { display: grid; min-width: 0; }
.marca-nome b { font: 700 1.05rem/1.15 var(--fonte-titulo); letter-spacing: -.01em; }
.marca small { display: block; font: 600 .66rem/1.5 var(--fonte-texto); letter-spacing: .06em; color: var(--sol); }
.topo.rolou .marca small { color: var(--sol-texto); }
.menu { display: flex; gap: .2rem; padding: .3rem; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.topo.rolou .menu { background: var(--superficie-2); border-color: transparent; }
.menu ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.menu ul ul, .menu .mm-toggler, .menu button { display: none; }
.menu .active > a { opacity: 1; background: var(--sol); color: #1b1300; }
.menu a { display: block; text-decoration: none; font: 500 .9rem/1 var(--fonte-texto); padding: .55rem .9rem; border-radius: 10px; opacity: .85; transition: background-color .3s, color .3s, opacity .3s; }
.menu a:hover, .menu a.atual { opacity: 1; background: var(--sol); color: #1b1300; }
.topo-acoes { display: flex; align-items: center; gap: .6rem; }
.botao-menu { display: none; width: 44px; height: 44px; border-radius: 12px; border: 2px solid rgba(255, 255, 255, .55); background: transparent; color: inherit; place-items: center; cursor: pointer; }
.topo.rolou .botao-menu { border-color: var(--borda-forte); }
.botao-menu svg { width: 22px; height: 22px; }
.topo .botao-contorno { border-color: rgba(255, 255, 255, .55); color: #fff; }
.topo.rolou .botao-contorno { border-color: var(--azul); color: var(--azul); }
.topo .botao-contorno:hover { background: var(--sol); border-color: var(--sol); color: #1b1300; }

.progresso-leitura { position: fixed; right: 10px; top: 20vh; bottom: 20vh; width: 4px; background: rgba(31, 79, 191, .12); z-index: 20; border-radius: 4px; }
.progresso-leitura i { position: absolute; inset: 0; background: linear-gradient(var(--rosa), var(--laranja), var(--verde), var(--ceu)); transform-origin: top; transform: scaleY(var(--leitura, 0)); border-radius: 4px; }

/* ---------- 1. abertura (fundo noite, como um céu de quadro-negro) ---------- */
.abertura {
	--p: 0;
	position: relative; min-height: calc(100svh - 7rem); overflow: hidden; color: #e3e9fb;
	display: grid; grid-template-columns: 1fr minmax(260px, 30%) 1fr; grid-template-rows: auto auto 1fr auto auto;
	padding: 1rem var(--lateral) 2.2rem; column-gap: 2rem; isolation: isolate;
	margin-top: calc(var(--altura-topo) * -1); padding-top: calc(var(--altura-topo) + 1rem);
	background:
		radial-gradient(closest-side, rgba(31, 79, 191, .55), transparent) 50% 60% / min(120vw, 1000px) min(120vw, 1000px) no-repeat,
		linear-gradient(180deg, var(--noite) 0%, var(--noite-2) 100%);
}
.abertura::after { /* quadriculado de giz */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 32px 32px;
}
.confete { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }
.abertura-olho { grid-column: 1 / -1; justify-self: center; font: 600 .74rem/1 var(--fonte-texto); letter-spacing: .26em; text-transform: uppercase; color: var(--sol); padding: .6rem 1.2rem; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(15, 26, 61, .7); }
.abertura-palavra {
	grid-column: 1 / -1; grid-row: 2; text-align: center; position: relative; z-index: 1;
	font-family: var(--fonte-titulo); font-size: clamp(2.6rem, min(8.6vw, calc(134vw / var(--letras, 16))), 9.4rem); line-height: .95; letter-spacing: -.01em; margin-top: .25em; font-weight: 800; color: #fff;
	transform: translateY(calc(var(--p) * -90px)); opacity: calc(1 - var(--p) * 1.2);
}
.abertura-palavra [data-letras] { display: inline-block; white-space: nowrap; }
.letra { display: inline-block; animation: letra-pula .9s var(--mola) both; animation-delay: calc(var(--n) * 60ms + 150ms); }
/* cada letra com uma cor das pegadas, em ciclo */
.letra:nth-child(5n+1) { color: #fff; }
.letra:nth-child(5n+2) { color: var(--sol); }
.letra:nth-child(5n+3) { color: #ff7dbd; }
.letra:nth-child(5n+4) { color: #7fd85f; }
.letra:nth-child(5n+5) { color: #55c6f2; }
@keyframes letra-pula { from { transform: translateY(.7em) scale(.6) rotate(-10deg); opacity: 0; } to { transform: none; opacity: 1; } }

.abertura-blocos {
	grid-column: 2; grid-row: 3 / 5; justify-self: center; align-self: start; z-index: 2; width: min(100%, 380px); margin-top: .4rem;
	transform: translateY(calc(var(--p) * 120px)) scale(calc(1 - var(--p) * .15));
	filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .4));
}
.escada { overflow: visible; }
.cubo { animation: cubo-cai .8s var(--mola) both; animation-delay: calc(var(--c) * 220ms + var(--j) * 90ms + 500ms); }
@keyframes cubo-cai { from { transform: translateY(-220px); opacity: 0; } 60% { opacity: 1; } to { transform: none; opacity: 1; } }
.cubo .f-frente, .cubo .f-topo, .cubo .f-lado { stroke: var(--noite); stroke-width: 2.5; stroke-linejoin: round; }
.cubo-base .f-frente { fill: #f2f5fd; } .cubo-base .f-topo { fill: #ffffff; } .cubo-base .f-lado { fill: #c8d3ee; }
.cubo-rosa .f-frente { fill: var(--rosa); } .cubo-rosa .f-topo { fill: #ff8cc4; } .cubo-rosa .f-lado { fill: #b42d72; }
.cubo-laranja .f-frente { fill: var(--laranja); } .cubo-laranja .f-topo { fill: #ffbe6b; } .cubo-laranja .f-lado { fill: #c26a07; }
.cubo-verde .f-frente { fill: var(--verde); } .cubo-verde .f-topo { fill: #8fdc6c; } .cubo-verde .f-lado { fill: #367c20; }
.cubo-azul .f-frente { fill: var(--ceu); } .cubo-azul .f-topo { fill: #7fd3f6; } .cubo-azul .f-lado { fill: #137aa8; }
.cubo text { font: 800 40px var(--fonte-titulo); fill: #fff; text-anchor: middle; paint-order: stroke; stroke: rgba(15, 26, 61, .35); stroke-width: 3px; }
/* as pegadas sobem os degraus, uma de cada vez, sem parar */
.degrau-pe { opacity: 0; animation: pisa 4.8s ease-in-out infinite; animation-delay: calc(var(--k) * .6s + 1.8s); }
/* nos cubos brancos: sobem a coluna (de baixo para cima) logo antes da pegada do degrau colorido */
.cubo-pe { opacity: 0; animation: pisa 4.8s ease-in-out infinite; animation-delay: calc(var(--c) * .6s + var(--j) * .14s + 1.3s); }
@keyframes pisa { 0% { opacity: 0; transform: translateY(4px); } 8%, 55% { opacity: 1; transform: none; } 75%, 100% { opacity: 0; } }
.estrelas-voando path { transform-box: fill-box; transform-origin: center; animation: cintila 3s ease-in-out infinite; }
.estrelas-voando path:nth-child(2) { animation-delay: 1s; }
.estrelas-voando path:nth-child(3) { animation-delay: 2s; }
@keyframes cintila { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }

.abertura-texto { grid-column: 1; grid-row: 4; align-self: end; position: relative; z-index: 3; max-width: 30rem; animation: aparece 1s 1s var(--suave) both; }
.abertura-titulo { font-size: clamp(1.7rem, 2.6vw, 2.35rem); line-height: 1.15; color: #fff; margin-bottom: .9rem; }
.abertura-titulo em { font-style: normal; color: var(--sol); background: none; }
.abertura-sub { color: #c3cce8; margin-bottom: 1.6rem; }
.acoes { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; }

.abertura-lado { grid-column: 3; grid-row: 3 / 5; align-self: end; justify-self: end; width: min(100%, 300px); display: grid; gap: 1.3rem; position: relative; z-index: 3; animation: aparece 1s 1.2s var(--suave) both; }
/* álbum: fotos da escola impressas e empilhadas; a de cima vai para o fundo a cada troca
   (no site: até 6 fotos 1040×880 do bloco Abertura do SIPI, como na Semijoias v_2.0) */
.album { position: relative; margin: 0; width: 100%; }
.album-pilha { position: relative; aspect-ratio: 1040 / 940; }
.album-pilha img {
	--pos: 0;
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	padding: 10px 10px 34px; background: #fff; border-radius: 6px; box-sizing: border-box;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
	z-index: calc(10 - var(--pos));
	transform: translate(calc(var(--pos) * 9px), calc(var(--pos) * -7px)) rotate(calc(-3deg + var(--pos) * 4deg));
	opacity: calc(1 - max(0, var(--pos) - 2));
	transition: transform 1.1s var(--suave), opacity .8s;
}
.album-pilha img.saiu { transform: translate(-60%, 12%) rotate(-16deg); opacity: 0; transition: transform .9s var(--suave), opacity .9s; }
/* legenda escrita na faixa branca da foto de cima */
.album figcaption { position: absolute; left: 12px; right: 12px; bottom: 3px; z-index: 20; height: 30px; display: flex; align-items: center; gap: .6rem; font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texto); rotate: -3deg; transform-origin: 0 100%; }
.album figcaption span { margin-right: auto; font-weight: 800; color: var(--azul); }
.fotos-conta { font-weight: 700; color: var(--texto-suave); letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.fotos-pausa { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--borda-forte); background: transparent; color: var(--azul); cursor: pointer; display: grid; place-items: center; padding: 0; }
.fotos-pausa i { width: 7px; height: 8px; border-inline: 2.5px solid currentColor; }
.fotos-pausa[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-block: 6px solid transparent; margin-left: 2px; }
.fotos-pausa:hover { background: var(--superficie-2); }
/* adesivo "aberta agora" colado no canto do álbum */
.cartao-agora { position: absolute; z-index: 21; right: -12px; top: -16px; display: flex; align-items: center; gap: .45rem; margin: 0; padding: .5rem .85rem; border-radius: 12px; background: var(--sol); color: #1b1300; font: 700 .8rem/1.2 var(--fonte-titulo); box-shadow: 0 4px 0 #c48f00, 0 10px 20px rgba(0, 0, 0, .3); rotate: 4deg; max-width: 85%; }
.cartao-agora[data-fechada]::before { background: var(--noite); }
.cartao-agora-solto { position: static; justify-self: start; rotate: -2deg; max-width: none; }
.abertura-selos { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; font-size: .88rem; color: #c3cce8; }
.abertura-selos li { display: flex; align-items: center; gap: .55rem; }
.abertura-selos li::before { content: ""; flex: none; width: 10px; height: 5px; border: solid var(--sol); border-width: 0 0 2.5px 2.5px; rotate: -45deg; translate: 0 -2px; }
.role { grid-column: 1 / -1; grid-row: 5; justify-self: center; margin-top: 1.4rem; font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: #8f9ccc; display: grid; justify-items: center; gap: .5rem; }
.role i { width: 2px; height: 34px; background: linear-gradient(var(--sol), transparent); animation: desce 2s ease-in-out infinite; transform-origin: top; }
@keyframes desce { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes aparece { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 2. números ---------- */
.faixa-numeros { padding: clamp(2.4rem, 5vw, 3.6rem) var(--lateral); background: linear-gradient(120deg, var(--azul), var(--azul-forte)); color: #fff; }
.numeros { list-style: none; padding: 0; margin: 0 auto; max-width: var(--largura); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.numeros li { border-top: 3px dashed rgba(255, 255, 255, .35); padding-top: 1rem; }
.numeros b { display: block; font: 800 clamp(2.5rem, 5.4vw, 4.3rem)/1 var(--fonte-titulo); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.numeros li:nth-child(1) b { color: var(--sol); }
.numeros li > span { display: block; margin-top: .4rem; color: #d6e0fa; font-size: .95rem; }

/* números da Escolar: cartões de "bloco de montar" nas cores das pegadas, que caem com quique quando a faixa aparece */
.faixa-numeros-escolar { position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1.2px, transparent 0) 0 0 / 22px 22px, linear-gradient(120deg, var(--azul), var(--azul-forte)); }
.faixa-numeros-escolar[data-cores~="fundo"] { background: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .13) 1.2px, transparent 0) 0 0 / 22px 22px, var(--fundo); }
.numeros-brinquedos { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.numeros-brinquedos svg { position: absolute; width: 38px; height: 38px; opacity: .55; animation: flutua 9s ease-in-out infinite; }
.b-estrela { fill: var(--sol); top: 14%; left: 3%; }
.b-bola { fill: var(--rosa); bottom: 12%; left: 27%; width: 26px !important; height: 26px !important; animation-delay: -3s !important; }
.b-bloco { fill: var(--verde); top: 10%; right: 31%; width: 30px !important; height: 30px !important; animation-delay: -5s !important; }
.b-tri { fill: var(--laranja); bottom: 14%; right: 4%; animation-delay: -1.5s !important; }
.b-estrela.b-2 { fill: var(--ceu); top: auto; bottom: 8%; left: 62%; width: 24px !important; height: 24px !important; animation-delay: -6s !important; }
.b-bola.b-2 { fill: var(--sol); top: 18%; bottom: auto; left: auto; right: 2%; width: 18px !important; height: 18px !important; animation-delay: -7s !important; }
@keyframes flutua { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(10px, -14px) rotate(25deg); } 66% { transform: translate(-8px, 8px) rotate(-15deg); } }

html.js .numeros-cartoes[data-revelar] { opacity: 1; transform: none; }
.numeros-cartoes { gap: clamp(1rem, 2.4vw, 2rem); align-items: stretch; }
.numeros-cartoes .numero-cartao {
	--cor: var(--rosa); --sombra: #a92a6b;
	position: relative; display: flex; flex-direction: column; padding: 1.3rem 1.4rem 1.1rem; border: 2.5px solid var(--noite);
	border-radius: 20px; background: #fff; color: var(--noite); box-shadow: 7px 7px 0 var(--sombra);
	transition: rotate .4s var(--mola), translate .4s var(--mola), box-shadow .4s var(--suave);
}
.numeros-cartoes .numero-cartao:nth-child(even) { rotate: 1.4deg; }
.numeros-cartoes .numero-cartao:nth-child(odd) { rotate: -1.6deg; }
.numeros-cartoes .pe-laranja { --cor: var(--laranja); --sombra: #b86a0c; }
.numeros-cartoes .pe-verde { --cor: var(--verde); --sombra: #367c20; }
.numeros-cartoes .pe-azul { --cor: var(--ceu); --sombra: #137aa8; }
.numeros-cartoes .numero-cartao::before {           /* os pinos do bloco de montar */
	content: ""; position: absolute; top: -11px; left: 1.4rem; width: 54px; height: 9px;
	background: radial-gradient(circle at 9px 9px, var(--cor) 8px, var(--noite) 8.5px, var(--noite) 10px, transparent 10.5px) 0 0 / 27px 18px repeat-x;
}
.numeros-cartoes .numero-cartao:hover { rotate: 0deg; translate: 0 -6px; box-shadow: 10px 13px 0 var(--sombra); }
html.js .numeros-cartoes .numero-cartao { opacity: 0; translate: 0 -120px; }
html.js .numeros-cartoes.visivel .numero-cartao { animation: cartao-cai .9s var(--mola) both; animation-delay: calc(var(--i) * 160ms + 100ms); }
@keyframes cartao-cai { from { opacity: 0; translate: 0 -120px; scale: .8; } 55% { opacity: 1; } to { opacity: 1; translate: 0 0; scale: 1; } }
html.js .numeros-cartoes.visivel .numero-cartao:hover { animation: none; opacity: 1; translate: 0 -6px; }
.numeros-cartoes b { color: var(--cor); font-size: clamp(2.6rem, 5vw, 4rem); text-shadow: 3px 3px 0 color-mix(in srgb, var(--cor) 22%, transparent); }
.numeros-cartoes li:nth-child(1) b { color: var(--cor); }
.numero-nota { position: absolute; top: 1rem; right: 1.1rem; font-style: normal; font-size: 1.6rem; color: var(--sol); animation: cintila-nota 2.4s ease-in-out infinite; }
@keyframes cintila-nota { 0%, 100% { scale: 1; rotate: 0deg; } 50% { scale: 1.25; rotate: 20deg; } }
.numeros-cartoes .numero-texto { display: block; margin-top: .45rem; color: #4a5470; font-size: .95rem; font-weight: 600; line-height: 1.4; }
.numeros-cartoes .numero-barra { display: block; height: 8px; margin-top: auto; border-radius: 99px; background: color-mix(in srgb, var(--cor) 16%, #fff); overflow: hidden; }
.numeros-cartoes .numero-texto { margin-bottom: 1rem; }
.numero-barra i { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--cor) 0 8px, color-mix(in srgb, var(--cor) 75%, #fff) 8px 16px); }
.numeros-cartoes.visivel .numero-barra i { animation: barra-enche 2.2s cubic-bezier(.22, .61, .36, 1) both; animation-delay: calc(var(--i) * 160ms + 600ms); }
@keyframes barra-enche { to { width: 100%; } }
.numeros-cartoes .numero-pes { display: flex; align-items: center; gap: .9rem; margin-top: .75rem; height: 22px; padding-left: .2rem; }
.numero-pes svg { width: 14px; height: 18px; flex: none; overflow: visible; fill: var(--cor); rotate: 90deg; opacity: 0; }
.numero-pes svg:nth-child(2) { translate: 0 6px; }
.numeros-cartoes.visivel .numero-pes svg { animation: pe-anda 4.2s ease-in-out infinite; }
.numeros-cartoes.visivel .numero-pes svg:nth-child(1) { animation-delay: calc(var(--i) * 160ms + 2.6s); }
.numeros-cartoes.visivel .numero-pes svg:nth-child(2) { animation-delay: calc(var(--i) * 160ms + 3s); }
.numeros-cartoes.visivel .numero-pes svg:nth-child(3) { animation-delay: calc(var(--i) * 160ms + 3.4s); }
@keyframes pe-anda { 0% { opacity: 0; } 8%, 60% { opacity: 1; } 80%, 100% { opacity: 0; } }

/* ---------- 3. letreiro ---------- */
.letreiro { padding: 2.2rem 0; overflow: hidden; display: grid; gap: .7rem; background: var(--sol); color: var(--noite); }
.letreiro-faixa { display: flex; width: max-content; animation: corre 40s linear infinite; }
.letreiro-faixa span { display: flex; align-items: center; white-space: pre; font: 800 clamp(1.9rem, 4.6vw, 3.8rem)/1.1 var(--fonte-titulo); letter-spacing: -.02em; }
.pe-sep { display: inline-block; width: .55em; height: .7em; margin-inline: .45em; rotate: 90deg; }
.pe-sep svg { width: 100%; height: 100%; }
.letreiro-volta { animation-direction: reverse; animation-duration: 48s; }
.letreiro-volta span { font: 700 clamp(.9rem, 1.6vw, 1.25rem)/1.2 var(--fonte-texto); letter-spacing: .24em; text-transform: uppercase; color: #5a4100; }
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- seções comuns ---------- */
.secao { padding: var(--bloco-topo) var(--lateral) 0; max-width: var(--largura); margin: 0 auto; }
.secao-cabeca { max-width: 46rem; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.secao-cabeca > p:not(.olho) { color: var(--texto-suave); margin-top: 1.1rem; font-size: 1.1rem; }
html.js [data-revelar] { opacity: .25; transform: translateY(34px); transition: opacity 1s var(--suave), transform 1s var(--suave); }
html.js [data-revelar].visivel { opacity: 1; transform: none; }

/* ---------- 4. trilha das turmas (presa, anda para o lado) ---------- */
.trilha { --p: 0; --desloc: 0; position: relative; }
.trilha-fixo { position: sticky; top: 0; overflow: hidden; display: flex; flex-direction: column; gap: clamp(1.2rem, 3.2vh, 2.4rem); padding: var(--bloco-topo) 0 0; }
.trilha-cabeca { padding-inline: var(--lateral); max-width: calc(var(--largura) + 2 * var(--lateral)); margin: 0 auto; width: 100%; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.trilha-sub { color: var(--texto-suave); margin-top: .9rem; max-width: 34rem; font-size: 1.08rem; }
.trilha-dica { font-size: .74rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--texto-suave); }
.trilha-dica b { font-weight: inherit; }
.trilha-dica span { display: inline-block; animation: empurra 1.6s ease-in-out infinite; color: var(--azul); }
.dica-cel { display: none; }
@keyframes empurra { 50% { transform: translateX(6px); } }
.trilho {
	list-style: none; margin: 0; display: flex; gap: 1.4rem; width: max-content;
	padding: .4rem var(--lateral) 0 max(var(--lateral), calc((100vw - var(--largura)) / 2));
	transform: translateX(calc(var(--p) * var(--desloc) * -1px));
}
.etapa {
	--cor: var(--azul); --cor-clara: #e6edfc;
	position: relative; width: min(clamp(260px, 25vw, 330px), 38vh + 40px); padding: 1.4rem 1.4rem 1.1rem;
	background: var(--superficie); border: 2px solid var(--borda); border-radius: 24px;
	box-shadow: 0 6px 0 var(--borda); transition: transform .4s var(--mola), border-color .3s, box-shadow .3s;
}
.etapa:hover { transform: translateY(-6px) rotate(-1deg); border-color: var(--cor); box-shadow: 0 10px 0 var(--cor); }
.etapa-rosa { --cor: var(--rosa); --cor-clara: #fde4f0; }
.etapa-laranja { --cor: var(--laranja); --cor-clara: #feecd6; }
.etapa-verde { --cor: var(--verde); --cor-clara: #e3f5dc; }
.etapa-azul { --cor: var(--ceu); --cor-clara: #dcf1fb; }
.etapa-sol { --cor: var(--sol-texto); --cor-clara: #fff3cc; }
.etapa-n { display: inline-block; font: 700 .7rem/1 var(--fonte-texto); letter-spacing: .18em; text-transform: uppercase; color: var(--cor); background: var(--cor-clara); padding: .45rem .7rem; border-radius: 999px; }
.etapa-arte { aspect-ratio: 16 / 9; margin: 1rem 0 1.1rem; border-radius: 16px; background: var(--cor-clara); display: grid; place-items: center; }
.etapa-arte { color: var(--cor); overflow: hidden; }
.etapa-arte svg { width: 30%; height: auto; transition: transform .6s var(--mola); }
.etapa-foto img { width: 100%; height: 100%; object-fit: cover; }
.etapa-link { display: inline-flex; gap: .4rem; margin-top: .6rem; font-weight: 700; font-size: .88rem; color: var(--azul); text-decoration: none; }
.etapa-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.etapa-arte .pinta { fill: var(--cor); }
.etapa-arte text { font: 700 13px var(--fonte-titulo); fill: var(--cor); stroke: none; }
.etapa:hover .etapa-arte svg { transform: scale(1.12) rotate(-6deg); }
.etapa h3 { margin-bottom: .4rem; }
.etapa p { color: var(--texto-suave); font-size: .94rem; }
/* três pegadas por cartão: aparecem conforme a trilha anda (k de 0 a 17) */
.etapa-pes { display: flex; gap: 1.3rem; margin-top: .9rem; height: 30px; padding-left: .3rem; }
.etapa-pes svg { width: 19px; height: 25px; fill: var(--cor); --ve: clamp(0, calc(var(--p) * (var(--total) + 2) - var(--k)), 1); opacity: var(--ve); transform: translateY(calc((1 - var(--ve)) * 8px)) rotate(90deg); transition: opacity .2s; }
.etapa-pes svg:nth-child(even) { translate: 0 7px; }
.trilho { --total: 18; }

/* ---------- 5. agenda (presa; datas acendem) ---------- */
.agenda { --p: 0; height: 230vh; position: relative; }
.agenda-fixo {
	position: sticky; top: 0; overflow: hidden;
	display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: clamp(2rem, 5vw, 5rem);
	max-width: var(--largura); margin: 0 auto; padding: var(--bloco-topo) var(--lateral) 0;
}
.agenda-texto > p:not(.olho):not(.agenda-proxima) { color: var(--texto-suave); margin-top: 1.1rem; max-width: 26rem; }
/* folhinha de calendário: mostra o dia aceso */
.folhinha { position: relative; width: 150px; margin-top: 2rem; padding: 1.5rem 0 .9rem; text-align: center; background: #fff; border: 2px solid var(--noite); border-radius: 18px; box-shadow: 6px 6px 0 var(--noite); overflow: hidden; rotate: -3deg; }
.folhinha::before { content: ""; position: absolute; inset: 0 0 auto; height: 2.1rem; background: var(--rosa); border-bottom: 2px solid var(--noite); }
.folhinha-argolas { position: absolute; top: .35rem; left: 0; right: 0; display: flex; justify-content: center; gap: 3.4rem; z-index: 1; }
.folhinha-argolas i { width: 10px; height: 10px; border-radius: 50%; background: var(--noite); }
.folhinha b { position: relative; display: block; margin-top: .9rem; font: 800 4.2rem/1 var(--fonte-titulo); color: var(--titulo); letter-spacing: -.03em; }
.folhinha span { font: 700 .9rem/1 var(--fonte-texto); letter-spacing: .24em; color: var(--rosa); }
.folhinha.vira b { animation: vira .45s var(--suave); }
@keyframes vira { from { transform: rotateX(80deg); opacity: 0; } to { transform: none; opacity: 1; } }
.agenda-proxima { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.6rem; padding: .5rem 1rem; border-radius: 999px; background: var(--noite); color: #fff; font-size: .9rem; font-weight: 600; }
.agenda-proxima:empty { display: none; }
.agenda-proxima::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); animation: pulsa 1.8s ease-in-out infinite; }
.agenda-proxima b { color: var(--sol); }
.agenda-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.agenda-lista li {
	display: grid; grid-template-columns: 4.4rem minmax(0, 1fr) auto; gap: 1rem; align-items: center;
	padding: 1rem 1.1rem; border: 2px solid var(--borda); border-radius: var(--raio); background: var(--superficie);
	opacity: .45; transform: translateX(16px);
	transition: opacity .5s var(--suave), transform .5s var(--suave), border-color .4s, box-shadow .4s;
}
.agenda-lista li.passou { opacity: .8; transform: none; }
.agenda-lista li.ativo { opacity: 1; transform: none; border-color: var(--noite); box-shadow: 5px 5px 0 var(--sol); }
.agenda-lista b { font: 800 1.9rem/1 var(--fonte-titulo); color: var(--titulo); text-align: center; }
.agenda-lista b small { display: block; font: 700 .72rem/1.6 var(--fonte-texto); color: var(--rosa); letter-spacing: .16em; }
.agenda-lista span { color: var(--titulo); font-weight: 600; min-width: 0; }
.agenda-lista span small { display: block; font-weight: 400; font-size: .86rem; color: var(--texto-suave); }
.agenda-lista i { font-style: normal; font-size: .74rem; font-weight: 700; letter-spacing: .06em; padding: .35rem .75rem; border-radius: 999px; background: #fde4f0; color: #a3245f; white-space: nowrap; }
.agenda-lista li[data-marca]::after { content: attr(data-marca); grid-column: 1 / -1; justify-self: start; margin-top: -.25rem; font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--azul); }
.agenda-vazia { grid-column: 2; color: var(--texto-suave); }

/* ---------- 6. a escola ---------- */
.sobre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.sobre p:not(.olho) { color: var(--texto-suave); margin-top: 1.1rem; }
.predio svg { width: 100%; max-width: 480px; margin: 0 auto; overflow: visible; }
.sol { fill: var(--sol); transform-box: fill-box; transform-origin: center; animation: sol-pulsa 5s ease-in-out infinite; }
@keyframes sol-pulsa { 50% { transform: scale(1.08); } }
.nuvem { fill: #fff; stroke: var(--borda-forte); stroke-width: 2; animation: nuvem 14s ease-in-out infinite; }
@keyframes nuvem { 50% { transform: translateX(40px); } }
.bandeira { transform-box: fill-box; transform-origin: 0 50%; animation: tremula 2.6s ease-in-out infinite; }
@keyframes tremula { 50% { transform: skewY(-6deg) scaleX(.92); } }
.ponteiro { transform-box: view-box; transform-origin: 230px 128px; animation: gira 12s linear infinite; }
@keyframes gira { to { rotate: 360deg; } }
.predio-nome { font: 800 22px var(--fonte-titulo); fill: #fff; letter-spacing: .2em; }
.janelas rect { fill: #dbe5fb; transition: fill .6s; }
.predio.visivel .janelas rect { fill: #ffe9a3; transition-delay: calc(var(--i) * 180ms + 400ms); }
.caminho use { opacity: 0; }
.predio.visivel .caminho use { animation: pisa-porta .5s var(--suave) both; animation-delay: calc(var(--i) * 350ms + 900ms); }
@keyframes pisa-porta { from { opacity: 0; } to { opacity: 1; } }
.lista-pes { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.lista-pes li { display: flex; gap: .8rem; align-items: center; font-weight: 600; color: var(--titulo); padding: .7rem 1rem; background: var(--superficie); border: 2px solid var(--borda); border-radius: 14px; }
.lista-pes li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--cor) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.lista-pes li:nth-child(4n+1) { --cor: var(--rosa); }
.lista-pes li:nth-child(4n+2) { --cor: var(--laranja); }
.lista-pes li:nth-child(4n+3) { --cor: var(--verde); }
.lista-pes li:nth-child(4n+4) { --cor: var(--ceu); }

/* ---------- 7. diferenciais: carrossel, cada foto com o seu texto (a cor de cada um segue as pegadas) ---------- */
.diferenciais-palco { display: grid; gap: 2.4rem; }
.diferencial { --cor: var(--azul); --cor-clara: #e6edfc; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; }
.diferencial-rosa { --cor: var(--rosa); --cor-clara: #fde4f0; }
.diferencial-laranja { --cor: var(--laranja); --cor-clara: #feecd6; }
.diferencial-verde { --cor: var(--verde); --cor-clara: #e3f5dc; }
.diferencial-azul { --cor: var(--ceu); --cor-clara: #dcf1fb; }
.diferencial-foto { aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; border: 3px solid var(--noite); box-shadow: 10px 10px 0 var(--cor); background: var(--superficie-2); }
.diferencial-foto img { width: 100%; height: 100%; object-fit: cover; }
.diferencial-texto { position: relative; z-index: 1; margin-left: -3.5rem; display: grid; gap: .7rem; padding: clamp(1.4rem, 2.6vw, 2.2rem); border-radius: 24px; border: 2px solid var(--noite); background: var(--superficie); box-shadow: 6px 6px 0 var(--sol); rotate: 1.5deg; }
.diferencial-texto h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.diferencial-texto p { color: var(--texto-suave); }
.diferencial-conta { justify-self: start; font: 800 .78rem/1 var(--fonte-texto); letter-spacing: .14em; color: var(--cor); background: var(--cor-clara); padding: .45rem .75rem; border-radius: 999px; }
.diferencial-conta i { font-style: normal; opacity: .6; }
.diferenciais.pronto .diferenciais-palco { gap: 0; }
.diferenciais.pronto .diferencial { grid-area: 1 / 1; visibility: hidden; }
.diferenciais.pronto .diferencial.atual, .diferenciais.pronto .diferencial.saindo { visibility: visible; }
.diferenciais.pronto .diferencial-foto img { opacity: 0; transform: scale(1.08) rotate(-1deg); transition: opacity .7s ease, transform 6s ease-out; }
.diferenciais.pronto .diferencial.atual .diferencial-foto img { opacity: 1; transform: none; }
.diferenciais.pronto .diferencial-texto { opacity: 0; transform: translateY(24px) rotate(-3deg); transition: opacity .45s ease .15s, transform .6s var(--mola) .15s; }
.diferenciais.pronto .diferencial.atual .diferencial-texto { opacity: 1; transform: none; }
.diferenciais.pronto .diferencial-foto { transition: box-shadow .5s; }
.diferenciais-controles { display: none; }
.diferenciais.pronto .diferenciais-controles { display: flex; align-items: center; gap: .7rem; margin-top: 1.8rem; }
.diferenciais-seta, .diferenciais-pausa { flex: none; width: 48px; height: 48px; border-radius: 14px; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; background: var(--sol); color: #1b1300; box-shadow: 0 4px 0 #c48f00; transition: transform .3s var(--mola); }
.diferenciais-seta:hover { transform: translateY(-3px); }
.diferenciais-seta:active { transform: translateY(3px); box-shadow: 0 1px 0 #c48f00; }
.diferenciais-seta svg { width: 22px; height: 22px; }
.diferenciais-pausa { width: 40px; height: 40px; background: var(--superficie); color: var(--azul); border: 2px solid var(--borda-forte); box-shadow: none; margin-left: auto; border-radius: 12px; }
.diferenciais-pausa i { width: 8px; height: 10px; border-inline: 3px solid currentColor; }
.diferenciais-pausa[aria-pressed="true"] i { width: 0; height: 0; border: 0; border-left: 10px solid currentColor; border-block: 6px solid transparent; margin-left: 3px; }
.diferenciais-abas { display: flex; flex-wrap: wrap; gap: .45rem; min-width: 0; }
.diferenciais-aba { padding: .55rem 1rem; border-radius: 12px; border: 2px solid var(--borda); background: var(--superficie); color: var(--titulo); font: 600 .88rem/1.2 var(--fonte-texto); cursor: pointer; transition: border-color .2s, background-color .2s, color .2s; }
.diferenciais-aba:hover { border-color: var(--azul); }
.diferenciais-aba[aria-current="true"] { background: var(--noite); border-color: var(--noite); color: #fff; }

/* ---------- 8. dúvidas ---------- */
.perguntas { display: grid; gap: .7rem; }
.perguntas details { background: var(--superficie); border: 2px solid var(--borda); border-radius: var(--raio); transition: border-color .3s, box-shadow .3s; }
.perguntas details[open] { border-color: var(--noite); box-shadow: 5px 5px 0 var(--sol); }
.perguntas summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1.1rem; padding: 1.15rem 1.3rem; font: 600 clamp(1.05rem, 1.8vw, 1.25rem)/1.3 var(--fonte-titulo); color: var(--titulo); }
.perguntas summary::-webkit-details-marker { display: none; }
.perguntas summary::after { content: "+"; margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--superficie-2); font: 500 1.4rem/1 var(--fonte-texto); color: var(--azul); transition: rotate .4s var(--mola), background-color .3s; }
.perguntas details[open] summary::after { rotate: 45deg; background: var(--sol); color: var(--noite); }
.perguntas summary b { font: 700 .78rem var(--fonte-texto); letter-spacing: .1em; color: var(--rosa); }
.perguntas details p { padding: 0 1.3rem 1.3rem 3.7rem; color: var(--texto-suave); max-width: 46rem; }

/* ---------- 9. chamada final ---------- */
.final { position: relative; overflow: hidden; text-align: center; margin: var(--bloco-topo) var(--lateral) 0; padding: clamp(3rem, 7vw, 5rem) var(--lateral); border-radius: 32px; color: #e3e9fb; background: radial-gradient(600px 360px at 50% 0%, rgba(31, 79, 191, .65), transparent 70%), var(--noite); max-width: var(--largura); margin-inline: auto; }
.final .olho { color: var(--sol); justify-content: center; }
.final h2 { color: #fff; max-width: 52rem; margin: 0 auto 1rem; }
.final h2 em { color: var(--sol); background: none; }
.final-sub { color: #c3cce8; margin: 0 auto 2rem; max-width: 36rem; }
.final-contador { display: flex; justify-content: center; align-items: baseline; gap: .3rem .5rem; flex-wrap: wrap; margin-bottom: 2.2rem; font-variant-numeric: tabular-nums; }
.final-contador[hidden] { display: none; }
.final-contador-rotulo { width: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8f9ccc; margin-bottom: .4rem; }
.final-contador span { font: 800 clamp(2.4rem, 6vw, 3.8rem)/1 var(--fonte-titulo); color: #fff; min-width: 2ch; }
.final-contador small { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sol); margin-right: .9rem; }
.final-pes { position: absolute; left: 6%; bottom: 10%; display: flex; gap: 1.6rem; rotate: -18deg; opacity: .9; pointer-events: none; }
.final-pes svg { width: 22px; height: 28px; rotate: 90deg; opacity: 0; animation: pisa-final 6s ease-in-out infinite; animation-delay: calc(var(--i) * .5s); }
.final-pes svg:nth-child(even) { translate: 0 14px; }
@keyframes pisa-final { 0% { opacity: 0; } 8%, 50% { opacity: .85; } 70%, 100% { opacity: 0; } }

/* ---------- 10. contato ---------- */
.contatos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.contatos li { --cor: var(--azul); position: relative; padding: 1.3rem 1.4rem; border: 2px solid var(--borda); border-top: 6px solid var(--cor); border-radius: var(--raio); background: var(--superficie); transition: transform .4s var(--mola), box-shadow .3s; min-width: 0; overflow-wrap: anywhere; color: var(--titulo); font-weight: 600; }
.contatos li:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--borda); }
.contatos li:nth-child(4n+1) { --cor: var(--rosa); } .contatos li:nth-child(4n+2) { --cor: var(--verde); } .contatos li:nth-child(4n+3) { --cor: var(--ceu); } .contatos li:nth-child(4n+4) { --cor: var(--laranja); }
.contatos-1 { grid-template-columns: minmax(0, 24rem); } .contatos-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contatos-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.selecionavel { user-select: all; }
.contatos small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); margin-bottom: .4rem; }
.contatos a { text-decoration: none; font: 700 1.3rem/1.2 var(--fonte-titulo); }
.contatos a::after { content: ""; position: absolute; inset: 0; }

/* ---------- rodapé ---------- */
.rodape { margin-top: var(--bloco-topo); padding: clamp(2.6rem, 5vw, 3.6rem) var(--lateral) 1.4rem; font-size: .9rem; color: #aab6d6; background: var(--noite); position: relative; }
.rodape::before { /* borda de lápis de cor no alto do rodapé */
	content: ""; position: absolute; inset: 0 0 auto; height: 6px;
	background: linear-gradient(90deg, var(--rosa) 0 25%, var(--laranja) 25% 50%, var(--verde) 50% 75%, var(--ceu) 75%);
}
.rodape-grade { max-width: var(--largura); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.rodape-grade p + p { margin-top: .4rem; }
.rodape-marca { display: grid; font: 700 1.1rem/1.2 var(--fonte-titulo); color: #fff; margin-bottom: 1rem; }
.rodape-marca small { font: 600 .68rem/1.5 var(--fonte-texto); color: var(--sol); letter-spacing: .04em; }
.rodape-nav { display: grid; align-content: start; gap: .35rem; }
.rodape-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.rodape-legal { display: flex; flex-wrap: wrap; gap: .2rem .8rem; }
.rodape-redes { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.rodape-redes a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 2px solid #33417a; color: #fff; transition: background-color .2s, transform .2s; }
.rodape-redes a:hover { background: var(--sol); color: var(--noite); border-color: var(--sol); transform: translateY(-2px); }
.rodape-redes svg { width: 20px; height: 20px; }
.rodape-titulo { font-weight: 700; color: #fff; margin-bottom: .6rem; }
.rodape nav { display: grid; align-content: start; gap: .35rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--sol); }
.rodape-compartilhar { margin-top: 1.2rem; }
.compartilhar { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.15rem 0 1rem; border: 2px solid var(--sol); border-radius: 14px; background: transparent; color: var(--sol); font: 700 .9rem/1 var(--fonte-titulo); cursor: pointer; transition: background-color .2s, color .2s, transform .3s var(--mola); }
.compartilhar:hover { background: var(--sol); color: #1b1300; transform: translateY(-2px); }
.compartilhar svg { width: 20px; height: 20px; }
.secao .compartilhar, .depo-convite .compartilhar { border-color: var(--azul); color: var(--azul); }
.secao .compartilhar:hover, .depo-convite .compartilhar:hover { background: var(--azul); color: #fff; }
.rodape-linha p { margin: 0; }
.rodape-linha { max-width: var(--largura); margin: 2rem auto 0; padding-top: 1.2rem; border-top: 1px solid #24305a; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; font-size: .8rem; padding-right: 4.5rem; }

.whats-flutuante { position: fixed; right: calc(1.2rem + env(safe-area-inset-right, 0px)); bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 18px; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 5px 0 #1a9e4b, 0 14px 30px rgba(0, 0, 0, .25); transform: scale(0); transition: transform .5s var(--mola); }
.whats-flutuante.mostrar { transform: scale(1); }
.whats-flutuante svg { width: 30px; height: 30px; }

/* ---------- blocos comuns da página imersiva (layouts v2_<tipo>) no visual da Escolar ---------- */
.olho-n::before { counter-increment: none; }
.nota { font-size: .8rem; color: var(--texto-suave); }
.numeros-4 { grid-template-columns: repeat(4, 1fr); }
.numeros-2 { grid-template-columns: repeat(2, 1fr); }
.numeros b i { font-style: normal; font-size: .55em; vertical-align: .5em; margin-left: .1em; color: var(--sol); }
.sobre-foto { margin: 0; }
.sobre-foto img { width: 100%; height: auto; border-radius: 28px; border: 3px solid var(--noite); box-shadow: 10px 10px 0 var(--sol); }
.equipe { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .8rem; }
.equipe li { display: flex; align-items: center; gap: .8rem; padding: .6rem 1.1rem .6rem .6rem; border: 2px solid var(--borda); border-radius: 18px; background: var(--superficie); }
.equipe img { flex: none; width: 52px; height: 52px; border-radius: 14px; object-fit: cover; }
.equipe span, .depo-quem span { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--azul); color: #fff; font: 700 .85rem var(--fonte-titulo); }
.equipe b, .depo-quem b { font-size: .95rem; color: var(--titulo); }
.equipe small, .depo-quem small { display: block; font-weight: 400; font-size: .82rem; color: var(--texto-suave); }

/* depoimentos: duas faixas em sentidos opostos */
.depoimentos { padding: var(--bloco-topo) 0 0; overflow: hidden; }
.secao-cabeca-centro { text-align: center; margin-inline: auto; padding-inline: var(--lateral); }
.secao-cabeca-centro .olho { justify-content: center; }
.depo-faixas { display: grid; gap: 1.2rem; padding-block: 6px 12px; }
.depo-faixa { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; width: max-content; animation: corre 52s linear infinite; }
.depo-volta { animation-direction: reverse; animation-duration: 60s; }
.depo-faixas:hover .depo-faixa, .depo-faixas:focus-within .depo-faixa { animation-play-state: paused; }
.depo { flex: none; width: clamp(270px, 30vw, 380px); display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; border: 2px solid var(--borda); border-radius: 22px; background: var(--superficie); box-shadow: 0 6px 0 var(--borda); }
.depo blockquote { margin: 0; flex: 1; font: 500 1.08rem/1.5 var(--fonte-titulo); color: var(--titulo); }
.depo blockquote::before { content: "“"; color: var(--rosa); }
.depo blockquote::after { content: "”"; color: var(--rosa); }
.estrelas { color: var(--sol); letter-spacing: .2em; font-size: 1rem; }
.estrelas-vazias { opacity: .25; }
.depo-quem { display: flex; align-items: center; gap: .8rem; }
.depo-quem img { flex: none; width: 44px; height: 44px; border-radius: 14px; object-fit: cover; }
.depo-convite { max-width: var(--largura); margin: 2.4rem auto 0; padding: 0 var(--lateral); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 1.2rem; text-align: center; }
.depo-convite p { margin: 0; font: 600 1.15rem/1.3 var(--fonte-titulo); color: var(--titulo); }

/* publicações (comunicados) */
.feiras-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.feiras-lista li { position: relative; display: grid; grid-template-columns: 3.4rem 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.2rem; border: 2px solid var(--borda); border-radius: var(--raio); background: var(--superficie); transition: border-color .3s, box-shadow .3s; }
.feiras-lista li:hover { border-color: var(--noite); box-shadow: 5px 5px 0 var(--sol); }
.feiras-lista b { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 14px; background: #e6edfc; color: var(--azul); }
.feiras-lista b svg { width: 26px; height: 26px; }
.feiras-lista span { font-weight: 600; color: var(--titulo); }
.feiras-lista small { display: block; font-weight: 400; font-size: .86rem; color: var(--texto-suave); }
.feiras-lista i { font-style: normal; font-size: .76rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; background: #fde4f0; color: #a3245f; }
.feiras-lista a { text-decoration: none; }
.feiras-lista a::after { content: ""; position: absolute; inset: 0; }
.feiras-lista .destaque { border-color: var(--azul); }

/* contato: mapa e formulário */
.mapa-v2 { position: relative; display: block; margin-top: 1rem; border: 2px solid var(--noite); border-radius: var(--raio); overflow: hidden; text-decoration: none; box-shadow: 6px 6px 0 var(--sol); }
.mapa-v2 svg { width: 100%; height: clamp(160px, 22vw, 260px); }
.mapa-v2 svg rect:first-child { fill: #e9eefa; }
.mapa-v2-rotulo { position: absolute; right: 1rem; bottom: 1rem; font-size: .76rem; font-weight: 700; padding: .45rem .8rem; border-radius: 10px; background: var(--noite); color: #fff; }
.mapa-v2-google iframe { display: block; width: 100%; height: clamp(220px, 30vw, 340px); border: 0; }
.formulario { margin-top: 1rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.2rem, 3vw, 2rem); border: 2px solid var(--borda); border-radius: 22px; background: var(--superficie); }
.formulario:focus-within { border-color: var(--noite); box-shadow: 6px 6px 0 var(--sol); }
.formulario label { display: grid; gap: .4rem; font-size: .8rem; font-weight: 700; color: var(--titulo); }
.formulario-largo, .formulario-retorno, .formulario .botao { grid-column: 1 / -1; }
.formulario .botao { justify-self: start; border: 0; cursor: pointer; }
.formulario input, .formulario select, .formulario textarea { font: inherit; font-weight: 400; color: var(--titulo); background: var(--fundo); border: 2px solid var(--borda); border-radius: 12px; padding: .7rem .85rem; }
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 3px rgba(31, 79, 191, .2); }
.formulario .consentimento { display: flex; gap: .7rem; align-items: start; font-weight: 400; font-size: .9rem; }
.formulario .consentimento input { width: 18px; height: 18px; flex: none; margin-top: .15rem; accent-color: var(--azul); }
.formulario .isca { position: absolute; left: -9999px; }
.formulario-retorno { padding: .8rem 1rem; border-radius: 12px; font-size: .92rem; }
.formulario-retorno.ok { background: #dcf3e6; color: #0b6b3e; }
.formulario-retorno.erro { background: #fde4f0; color: #a3245f; }

/* aviso de cookies */
.aviso-cookies { position: fixed; left: calc(1.2rem + env(safe-area-inset-left, 0px)); bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); z-index: 45; width: min(26rem, calc(100% - 2.4rem)); display: grid; gap: .9rem; padding: 1.1rem 1.2rem; border: 2px solid var(--noite); border-radius: var(--raio); background: var(--superficie); color: var(--texto); box-shadow: 6px 6px 0 var(--sol); font-size: .9rem; }
.aviso-cookies p { margin: 0; }
.aviso-cookies div { display: flex; flex-wrap: wrap; gap: .6rem; }
.aviso-cookies .botao { min-height: 2.6rem; padding: .5rem 1.1rem; }
.aviso-cookies .botao-contorno { border-color: var(--azul); color: var(--azul); }

/* cores escolhidas no SIPI para um bloco (MatrizBiblioteca::coresV2) */
[data-cores~="fundo"] { background-color: var(--fundo); color: var(--texto); box-shadow: 0 0 0 100vmax var(--fundo); clip-path: inset(0 -100vmax); padding-bottom: calc(var(--respiro) * 2); }
.faixa-numeros[data-cores~="fundo"] { background: var(--fundo); }
[data-cores~="destaque"] { --sol: var(--ouro); --azul: var(--ouro); }
[data-cores~="cartao"] :is(.etapa, .agenda-lista li, .contatos li, .formulario, .equipe li, .depo, .diferencial-texto, .perguntas details, .lista-pes li) { --superficie: var(--cartao); --titulo: var(--cartao-texto); --texto: var(--cartao-texto); --texto-suave: color-mix(in srgb, var(--cartao-texto) 72%, var(--cartao)); background: var(--cartao); color: var(--texto); }

/* páginas internas (artigos, listas, formulários do Joomla) */
.pagina { padding-bottom: 0; }
.pagina-com-lateral { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 3rem; align-items: start; }
.pagina-conteudo { min-width: 0; max-width: 52rem; }
.pagina-com-lateral .pagina-conteudo { max-width: none; }
.voltar-inicio { margin-bottom: 2rem; }
.voltar-inicio-fim { margin-top: 3rem; }
.pagina-conteudo h1, .pagina-conteudo h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 1.2rem; }
.pagina-conteudo h3 { margin: 1.8rem 0 .6rem; }
.pagina-conteudo p, .pagina-conteudo ul, .pagina-conteudo ol { color: var(--texto-suave); margin: 0 0 1rem; }
.pagina-conteudo a { color: var(--azul); }
.pagina-conteudo img { height: auto; border-radius: var(--raio); }
.pagina-conteudo .article-info { font-size: .84rem; color: var(--texto-suave); margin-bottom: 1.4rem; }
.pagina-conteudo input, .pagina-conteudo select, .pagina-conteudo textarea { font: inherit; color: var(--titulo); background: #fff; border: 2px solid var(--borda); border-radius: 12px; padding: .6rem .8rem; }
.pagina-conteudo .btn, .pagina-conteudo button[type="submit"] { font: 700 .92rem/1 var(--fonte-titulo); padding: .85rem 1.4rem; border: 0; border-radius: 14px; background: var(--sol); color: #1b1300; cursor: pointer; box-shadow: 0 4px 0 #c48f00; }
.pagina-conteudo .pagination ul, .pagina-conteudo ul.pagination { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; }
.pagina-conteudo .pagination a, .pagina-conteudo .pagination span { display: block; padding: .4rem .8rem; border: 2px solid var(--borda); border-radius: 10px; text-decoration: none; }
.pagina-conteudo table { width: 100%; border-collapse: collapse; margin: 0 0 1.4rem; }
.pagina-conteudo th, .pagina-conteudo td { padding: .6rem .8rem; border-bottom: 1px solid var(--borda); text-align: left; }
.pagina-conteudo a.botao { color: #1b1300; text-decoration: none; }
.lateral { display: grid; gap: 1.6rem; font-size: .94rem; }
.lateral h2, .lateral h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.lateral ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lateral ul ul, .lateral .mm-toggler, .lateral button { display: none; }
.lateral a { color: var(--texto-suave); text-decoration: none; }
.lateral a:hover, .lateral .active > a { color: var(--azul); }
#system-message-container { max-width: var(--largura); margin: 1rem auto 0; padding-inline: var(--lateral); }
#system-message-container:not(:has(*)) { margin: 0; padding: 0; }
.visually-hidden, .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
	.formulario, .contatos-2, .contatos-3, .contatos-4 { grid-template-columns: 1fr; }
	.feiras-lista li { grid-template-columns: 3rem 1fr; }
	.feiras-lista i { grid-column: 2; justify-self: start; }
	.numeros-4, .numeros-2 { grid-template-columns: 1fr; }
}

/* ---------- telas baixas: trilha mais enxuta para caber presa ---------- */
@media (min-width: 761px) and (max-height: 700px) {
	.trilha-sub { display: none; }
	.etapa { padding: 1.1rem 1.1rem .8rem; }
	.etapa-arte { margin: .7rem 0 .8rem; aspect-ratio: 2 / 1; }
}

/* ---------- tablet e celular ---------- */
@media (max-width: 960px) {
	:root { --altura-topo: 4rem; }
	.menu { display: none; }
	.menu.aberto { display: grid; position: absolute; top: 100%; left: var(--lateral); right: var(--lateral); gap: .2rem; padding: .5rem; border-radius: var(--raio); background: #fff; border: 2px solid var(--noite); box-shadow: 6px 6px 0 var(--sol); }
	.menu.aberto ul { display: grid; gap: .2rem; }
	.menu.aberto a { padding: .8rem 1rem; border-radius: 10px; font-size: 1rem; color: var(--titulo); opacity: 1; }
	.botao-menu { display: grid; }
	.topo:has(.menu.aberto) { background: rgba(255, 255, 255, .97); color: var(--titulo); }
	.contatos-3, .contatos-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.formulario { grid-template-columns: 1fr 1fr; }
	.pagina-com-lateral { grid-template-columns: 1fr; }
	.abertura { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto auto; }
	.abertura-palavra { grid-row: 2; }
	.abertura-palavra [data-letras] { display: block; }
	.abertura-blocos { grid-column: 1; grid-row: 3; width: min(70vw, 300px); margin-top: 1.2rem; }
	.abertura-texto { grid-column: 1; grid-row: 4; margin-top: 1.6rem; }
	.abertura-lado { grid-column: 1; grid-row: 5; justify-self: stretch; width: auto; max-width: 380px; margin-top: 2rem; }
	.role { display: none; }
	.sobre { grid-template-columns: 1fr; }
	.predio svg { max-width: 380px; }
	.agenda-fixo { grid-template-columns: 1fr; align-content: start; gap: 1.2rem; }
	.agenda-texto > p:not(.olho):not(.agenda-proxima) { display: none; }
	/* folhinha menor, ao lado do aviso "faltam N dias" (mostra a próxima data) */
	.agenda-texto { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1.1rem; align-items: center; }
	.agenda-texto > :not(.folhinha):not(.agenda-proxima) { grid-column: 1 / -1; }
	.folhinha { grid-column: 1; width: 96px; margin: 1rem 0 .4rem .2rem; padding: 1.1rem 0 .55rem; border-radius: 14px; box-shadow: 4px 4px 0 var(--noite); }
	.folhinha::before { height: 1.45rem; }
	.folhinha-argolas { top: .25rem; gap: 2.1rem; }
	.folhinha-argolas i { width: 8px; height: 8px; }
	.folhinha b { margin-top: .5rem; font-size: 2.7rem; }
	.folhinha span { font-size: .72rem; letter-spacing: .2em; }
	.agenda-proxima { grid-column: 2; justify-self: start; display: block; position: relative; margin-top: .6rem; padding: .6rem 1rem .6rem 1.9rem; border-radius: 16px; line-height: 1.4; }
	.agenda-proxima::before { position: absolute; left: .85rem; top: 1.05rem; }
	.agenda-vazia { grid-column: 1; }
	.rodape-grade { grid-template-columns: 1fr 1fr; }
	.rodape-grade > div:first-child { grid-column: 1 / -1; }
	.marca-nome b { font-size: .95rem; }
}
@media (max-width: 760px) {
	/* trilha vira rolagem lateral do dedo, sem prender a página */
	.trilha { height: auto !important; }
	.trilha-fixo { position: static; height: auto; }
	.trilho { transform: none; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: none; }
	.trilho::-webkit-scrollbar { display: none; }
	.etapa { flex: none; width: 78vw; scroll-snap-align: center; }
	.etapa-pes svg { --ve: 1; }
	.dica-pc { display: none; }
	.dica-cel { display: inline; }
	.numeros { grid-template-columns: 1fr; gap: 0; }
	.numeros li { padding-block: .9rem; border-top-width: 2px; }
	.numeros b { font-size: 2.5rem; white-space: nowrap; }
	.numeros li > span { margin-top: .2rem; }
	.numeros-cartoes { gap: 1.6rem; padding-top: .6rem; }
	.numeros-cartoes .numero-cartao { padding: 1.1rem 1.2rem 1rem; }
	.numeros-cartoes b { font-size: 2.6rem; }
	.abertura-olho { letter-spacing: .16em; font-size: .64rem; text-align: center; line-height: 1.5; }
	.final { margin-inline: var(--lateral); border-radius: 24px; }
	.final-contador { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 0 1rem; }
	.final-contador-rotulo { grid-column: 1 / -1; }
	.final-contador span { font-size: 2.4rem; }
	.final-contador small { grid-row: 3; margin-right: 0; }
	.faixa { font-size: .76rem; }
	.faixa-pc { display: none; }
	/* agenda vira lista comum */
	.agenda { height: auto; }
	.agenda-fixo { position: static; height: auto; }
	.agenda-lista li, .agenda-lista li.passou { opacity: 1; transform: none; }
	.agenda-lista li { grid-template-columns: 3.6rem minmax(0, 1fr); }
	.agenda-lista i { grid-column: 2; justify-self: start; }
	.contatos, .rodape-grade { grid-template-columns: 1fr; }
	.marca small { display: none; }
	.marca-nome b { font-size: .88rem; }
	.marca img, .marca-simbolo { width: 38px; height: 38px; }
	.marca img.marca-figura { width: auto; height: 42px; max-width: 120px; }
	.topo .botao-contorno { padding: .5rem .8rem; font-size: .8rem; min-height: 2.5rem; }
	.progresso-leitura { display: none; }
	.perguntas details p { padding-left: 1.3rem; }
	.diferencial { grid-template-columns: 1fr; }
	.diferencial-texto { margin: -2.6rem .8rem 0; rotate: 0deg; }
	.diferenciais.pronto .diferenciais-controles { flex-wrap: wrap; }
	.diferenciais-abas { order: -1; flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0 6px; }
	.diferenciais-abas::-webkit-scrollbar { display: none; }
	.diferenciais-aba { flex: none; }
}
@media (max-width: 420px) {
	.topo .botao-contorno { display: none; }
}

/* ---------- modo de teste (?y=): entradas já no estado final, para capturas ---------- */
html.teste *, html.teste *::before, html.teste *::after { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }
html.teste .degrau-pe, html.teste .cubo-pe { opacity: 1; }

/* ---------- movimento reduzido: tudo visível, nada se mexe sozinho ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	html.js [data-revelar] { opacity: 1; transform: none; }
	.degrau-pe, .cubo-pe, .caminho use, .final-pes svg, .numero-pes svg { opacity: 1; }
	html.js .numeros-cartoes .numero-cartao { opacity: 1; translate: none; animation: none !important; }
	.numero-barra i { width: 100%; animation: none !important; }
	.numeros-brinquedos svg, .numero-nota { animation: none !important; }
	.album-pilha img { transition: none; }
	.agenda { height: auto; }
	.agenda-fixo { position: static; height: auto; }
	.agenda-lista li { opacity: 1; transform: none; }
	.abertura-palavra, .abertura-blocos { transform: none; opacity: 1; }
	.trilha { height: auto !important; }
	.trilha-fixo { position: static; height: auto; }
	.trilho { transform: none; width: auto; overflow-x: auto; }
	.etapa { flex: none; }
	.etapa-pes svg { --ve: 1; }
	.letreiro-faixa { width: auto; flex-wrap: wrap; }
	.letreiro-faixa span + span { display: none; }
	.confete { display: none; }
}
