/*
Theme Name: Escola Brincando Sério
Theme URI: https://brincandoserio.com.br
Author: Escola Brincando Sério
Description: Portal escolar completo para a Escola Brincando Sério — Educação Infantil (Maternal ao Grupo 5) e Ensino Fundamental Anos Iniciais (1º ao 5º ano). Página de matrículas com link de interessados, calculadora de turma por data de nascimento, blog, turmas, calendário com "salvar na agenda", comunicados, Área da Família, app instalável (PWA), acessibilidade com VLibras, leitura em voz alta, SEO e dados estruturados.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: brincando-serio
Tags: education, blog, custom-logo, custom-menu, featured-images, accessibility-ready, translation-ready
*/

/* ===== Tokens ===== */
:root {
	--red: #D7141A;
	--red-600: #B80F15;
	--red-800: #9E0B10;
	--red-900: #6E070B;
	--red-50: #FFF4F3;
	--red-100: #FFE3E3;
	--red-200: #FFC9C9;
	--sun: #FFC93C;
	--ink: #1F1A1C;
	--ink-2: #3B3236;
	--muted: #6B6266;
	--line: #F1E3E3;
	--bg: #FFFFFF;
	--soft: #FFF7F5;
	--radius: 22px;
	--radius-lg: 32px;
	--shadow-sm: 0 2px 10px rgba(110, 7, 11, .06);
	--shadow: 0 14px 40px -12px rgba(110, 7, 11, .18);
	--shadow-lg: 0 30px 70px -20px rgba(110, 7, 11, .32);
	--font-head: "Fredoka", "Baloo 2", system-ui, sans-serif;
	--font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--fs: 1rem;
	--container: 1200px;
	--header-h: 78px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ===== Base ===== */
[hidden] { display: none !important; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: calc(100% * var(--fs-scale, 1)); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	overflow-x: clip;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red-800); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }
.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; z-index: 999; top: 12px; left: 12px; background: #fff; padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow); font-weight: 700; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.narrow { max-width: 820px; margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section-tight { padding: 32px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head-row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; text-align: left; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.empty { color: var(--muted); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--red); background: var(--red-100); padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.eyebrow-light { color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }

/* ===== Botões ===== */
.btn {
	--b: var(--red);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.1;
	cursor: pointer; text-align: center; transition: transform .25s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -8px rgba(215, 20, 26, .55); }
.btn-primary:hover { background: var(--red-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(215, 20, 26, .6); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { color: var(--red-800); transform: translateY(-2px); }
.btn-ghost { background: var(--red-50); color: var(--red-800); border-color: var(--red-100); }
.btn-ghost:hover { background: var(--red-100); color: var(--red-800); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .06); }
.btn-outline-light:hover { background: #fff; color: var(--red); border-color: #fff; }
.btn-ghost-light { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 17px 30px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; color: var(--red); }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }
.icon-btn {
	width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 14px;
	border: 0; background: var(--red-50); color: var(--red-800); cursor: pointer; transition: background .2s, transform .2s;
}
.icon-btn:hover { background: var(--red-100); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ===== Barra de progresso de leitura ===== */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 200; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sun), var(--red)); transition: width .1s linear; }

/* ===== Topbar ===== */
.topbar { background: var(--red-900); color: #fff; font-size: .9rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; }
.topbar a { color: #fff; }
.topbar-msg { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.topbar-msg strong { display: inline-flex; align-items: center; gap: 4px; color: var(--sun); white-space: nowrap; }
.topbar-msg:hover strong { text-decoration: underline; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 201, 60, .7); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 201, 60, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 201, 60, 0); } }
.topbar-contacts { display: flex; align-items: center; gap: 16px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }
.topbar-contacts a:hover { opacity: 1; }

/* ===== Header ===== */
.site-header {
	position: sticky; top: 0; z-index: 100;
	border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
/* O desfoque fica num pseudo-elemento para não prender o menu lateral (position: fixed) dentro do cabeçalho. */
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -14px rgba(110, 7, 11, .25); border-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.header-brand { flex: none; }
.brand, .custom-logo-link { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 50px; height: 50px; flex: none; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-small { font-family: var(--font-body); font-weight: 800; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); }
.brand-big { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; margin-top: 3px; }
.custom-logo { max-height: 58px; width: auto; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu a {
	display: block; padding: 10px 13px; border-radius: 12px; color: var(--ink-2);
	font-family: var(--font-head); font-weight: 500; font-size: 1rem; white-space: nowrap; transition: background .2s, color .2s;
}
.main-nav .menu a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a, .main-nav .current-menu-ancestor > a { color: var(--red); background: var(--red-50); }
.main-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: #fff; border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: .2s var(--ease);
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-drawer-head, .nav-drawer-foot { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.nav-toggle { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(31, 26, 28, .45); z-index: 140; backdrop-filter: blur(3px); }

@media (max-width: 1180px) {
	.nav-toggle { display: inline-grid; }
	.main-nav {
		position: fixed; inset: 0 0 0 auto; width: min(380px, 88vw); z-index: 150; background: #fff;
		flex-direction: column; justify-content: flex-start; padding: 20px; overflow-y: auto;
		transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; box-shadow: var(--shadow-lg);
	}
	.main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
	.nav-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
	.nav-drawer-head .brand-mark { width: 42px; height: 42px; }
	.nav-drawer-head .brand-big { font-size: 1.2rem; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 4px; }
	.main-nav .menu a { padding: 14px 16px; font-size: 1.1rem; background: var(--soft); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 4px 14px; }
	.nav-drawer-foot { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }
}
@media (max-width: 560px) {
	.header-cta { display: none; }
	.brand-mark { width: 42px; height: 42px; }
	.brand-big { font-size: 1.18rem; }
	.topbar-contacts { display: none; }
	.topbar-msg { font-size: .82rem; }
}
body.nav-locked { overflow: hidden; }

/* ===== Busca ===== */
.search-modal { position: fixed; inset: 0; z-index: 300; background: rgba(31, 26, 28, .55); backdrop-filter: blur(6px); display: grid; align-items: start; padding: 12vh 16px 16px; }
.search-modal[hidden] { display: none; }
.search-box { width: min(720px, 100%); margin: 0 auto; background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow-lg); animation: pop .3s var(--ease); }
.search-box form { display: flex; align-items: center; gap: 12px; padding: 4px 6px 4px 14px; }
.search-box form > .icon { width: 24px; height: 24px; color: var(--red); }
.search-box input { flex: 1; border: 0; outline: 0; font-size: 1.2rem; padding: 12px 0; min-width: 0; background: transparent; }
.search-suggest { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 14px 6px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); align-items: center; }
.search-suggest a { background: var(--red-50); padding: 6px 12px; border-radius: 999px; font-weight: 700; }
@keyframes pop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }

/* ===== Hero ===== */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: radial-gradient(1200px 600px at 85% -10%, #F0383E 0%, transparent 60%), linear-gradient(140deg, #E0161C 0%, var(--red) 40%, var(--red-800) 100%);
	padding: clamp(48px, 7vw, 96px) 0 clamp(120px, 12vw, 150px);
}
.hero-bg, .page-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero .b1 { width: 520px; height: 520px; right: -140px; top: -180px; background: rgba(255, 255, 255, .07); }
.hero .b2 { width: 300px; height: 300px; left: -120px; bottom: -60px; background: rgba(255, 201, 60, .14); }
.grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(90deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-title { color: #fff; font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; margin-bottom: 20px; text-wrap: balance; }
.hero-text { font-size: clamp(1.08rem, 1.6vw, 1.28rem); max-width: 560px; opacity: .95; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.hero-visual { position: relative; }
.hero-art { width: 100%; height: auto; display: block; }
.hero-photo { border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; overflow: hidden; aspect-ratio: 1 / 1; box-shadow: var(--shadow-lg); border: 8px solid rgba(255, 255, 255, .25); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-chip {
	position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px;
	background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.hero-chip span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-100); color: var(--red); }
.hero-chip strong { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.1; }
.hero-chip small { color: var(--muted); font-size: .82rem; }
.chip-1 { left: -8px; bottom: 12%; }
.chip-2 { right: -4px; bottom: 2%; animation-delay: -3s; }
.chip-2 span { background: #FFF3CF; color: #A86B00; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; color: var(--bg); }
.float-a { animation: floaty 7s ease-in-out infinite; transform-box: fill-box; }
.float-b { animation: floaty 6s ease-in-out infinite -2s; transform-box: fill-box; }
.float-c { animation: floaty 8s ease-in-out infinite -4s; transform-box: fill-box; }
.float-slow { animation: spin 40s linear infinite; transform-origin: 455px 95px; }
.float-plane { animation: plane 9s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes plane { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(14px, -10px) rotate(-3deg); } }

@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; text-align: left; }
	.hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
	.chip-1 { left: 0; }
}
@media (max-width: 560px) {
	.hero-actions .btn { width: 100%; }
	.hero-chip { padding: 8px 12px 8px 8px; }
	.hero-chip span { width: 34px; height: 34px; }
	.hero-chip small { display: none; }
}

/* ===== Acesso rápido ===== */
.quick { position: relative; z-index: 2; margin-top: -88px; }
.quick-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 10px; }
.quick-item { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 22px; color: var(--ink); transition: background .2s, transform .25s var(--ease); }
.quick-item:hover { background: var(--red-50); color: var(--ink); transform: translateY(-3px); }
.quick-item strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.2; }
.quick-item small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.35; margin-top: 2px; }
.quick-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; box-shadow: 0 10px 20px -8px rgba(215, 20, 26, .6); transition: transform .3s var(--ease); }
.quick-item:hover .quick-icon { transform: rotate(-8deg) scale(1.06); }
.quick-icon .icon { width: 24px; height: 24px; }
@media (max-width: 1080px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
	.quick-grid { grid-template-columns: 1fr 1fr; padding: 8px; }
	.quick-item { flex-direction: column; text-align: center; gap: 10px; padding: 16px 8px; }
	.quick-item:last-child:nth-child(odd) { grid-column: span 2; }
}

/* ===== Segmentos ===== */
.seg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.seg-card {
	position: relative; overflow: hidden; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg);
	background: var(--soft); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s;
}
.seg-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.seg-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; right: -80px; top: -80px; background: var(--red-100); z-index: 0; }
.seg-card > * { position: relative; z-index: 1; }
.seg-fundamental { background: var(--red); color: #fff; border-color: var(--red); }
.seg-fundamental::after { background: rgba(255, 255, 255, .1); }
.seg-fundamental h3, .seg-fundamental .link-arrow { color: #fff; }
.seg-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.seg-sub { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: var(--red); margin-bottom: 6px; }
.seg-fundamental .seg-sub { color: var(--sun); }
.seg-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 22px; }
.seg-fundamental .seg-icon { background: #fff; color: var(--red); }
.seg-icon .icon { width: 30px; height: 30px; }
.chips { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .92rem; transition: .2s; }
.chips a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.seg-fundamental .chips a { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .25); color: #fff; }
.seg-fundamental .chips a:hover { background: #fff; color: var(--red); }
@media (max-width: 820px) { .seg-grid { grid-template-columns: 1fr; } }

/* ===== Calculadora ===== */
.calc {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start;
	background: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--line);
	position: relative; overflow: hidden;
}
.calc::before { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: var(--red-50); left: -140px; bottom: -160px; }
.calc > * { position: relative; }
.calc-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--sun); color: var(--red-900); margin-bottom: 18px; }
.calc-icon .icon { width: 30px; height: 30px; }
.calc-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.calc-intro p { color: var(--muted); }
.calc-form { display: grid; gap: 8px; }
.calc-form label { font-weight: 800; font-size: .95rem; margin-top: 6px; }
.calc-form .opt { font-weight: 600; color: var(--muted); }
.calc-form input, .calc-form select, .inline-search input {
	width: 100%; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--soft); font-size: 1.05rem; transition: border-color .2s, background .2s;
}
.calc-form input:focus, .calc-form select:focus { border-color: var(--red); background: #fff; outline: 0; }
.calc-form .btn { margin-top: 14px; }
.calc-result { grid-column: 1 / -1; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--red), var(--red-800)); color: #fff; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; animation: pop .4s var(--ease); }
.calc-result.is-warn { background: linear-gradient(135deg, #FFF3CF, #FFE7A1); color: var(--ink); }
.calc-result .res-badge { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1; background: rgba(255, 255, 255, .15); padding: 14px 20px; border-radius: 18px; }
.calc-result .res-text { flex: 1; min-width: 220px; }
.calc-result .res-text p { margin: 0; }
.calc-result .res-text small { opacity: .85; }
.calc-result .res-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 820px) { .calc { grid-template-columns: 1fr; } }

/* ===== Proposta / diferenciais ===== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-copy { position: sticky; top: calc(var(--header-h) + 24px); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.feature-grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature h3 { font-size: 1.2rem; margin: 16px 0 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 1rem; }
.feature-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red-100); color: var(--red); transition: .3s var(--ease); }
.feature:hover .feature-icon { background: var(--red); color: #fff; transform: rotate(-6deg); }
.feature-icon .icon { width: 26px; height: 26px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pillar { padding: 26px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); display: grid; gap: 6px; }
.pillar span { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 8px; }
.pillar strong { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.pillar small { color: var(--muted); font-size: .98rem; }
@media (max-width: 960px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-copy { position: static; }
	.feature-grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .feature-grid, .feature-grid-3, .pillars { grid-template-columns: 1fr; } }

/* ===== Mural / eventos ===== */
.board-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; }
.board-col { background: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.board-head h2 { font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: 10px; }
.board-head h2 .icon { color: var(--red); }
.notice-list, .event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.notice a { display: flex; gap: 16px; padding: 16px; border-radius: 18px; background: var(--soft); color: var(--ink); border: 1px solid transparent; transition: .2s; }
.notice a:hover { border-color: var(--red-200); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.notice.is-important a { background: var(--red-50); border-left: 4px solid var(--red); }
.notice-date { font-family: var(--font-head); font-weight: 600; color: var(--red); min-width: 48px; }
.notice-body strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; line-height: 1.3; }
.notice-body small { color: var(--muted); display: block; margin-top: 4px; font-size: .94rem; }
.notice-list-lg .notice a { padding: 22px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--red); color: #fff; padding: 3px 9px; border-radius: 999px; margin: 0 6px 6px 0; }
.badge-soft { background: var(--red-100); color: var(--red-800); }
.event-mini { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 18px; color: var(--ink); transition: background .2s; }
.event-mini:hover { background: var(--soft); color: var(--ink); }
.event-mini strong { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.event-mini small { color: var(--muted); font-size: .9rem; }
.date-badge { width: 60px; flex: none; text-align: center; border-radius: 16px; background: var(--red); color: #fff; padding: 8px 0; line-height: 1; box-shadow: 0 8px 16px -8px rgba(215, 20, 26, .6); }
.date-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; }
.date-badge small { color: #fff !important; opacity: .9; text-transform: uppercase; font-weight: 800; font-size: .72rem; letter-spacing: .08em; }
.date-badge-lg { width: 78px; padding: 12px 0; }
.date-badge-lg strong { font-size: 2.1rem; }
@media (max-width: 900px) { .board-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .board-head h2 { font-size: 1.25rem; } .board-head .link-arrow { white-space: nowrap; font-size: .95rem; } }

/* ===== Cards do blog ===== */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--red-100); }
.card-media img, .card-media svg, .featured-media img, .featured-media svg { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.card:hover .card-media img, .card:hover .card-media svg { transform: scale(1.05); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.tag { align-self: flex-start; display: inline-block; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--red); background: var(--red-50); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.card-title { font-size: 1.28rem; margin-bottom: 8px; }
.card-title a { color: var(--ink); }
.card-title a:hover { color: var(--red); }
.card-excerpt { color: var(--muted); font-size: 1rem; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; margin: 0; }
.featured-post { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 36px; box-shadow: var(--shadow-sm); }
.featured-media { display: block; min-height: 320px; overflow: hidden; }
.featured-post:hover .featured-media img, .featured-post:hover .featured-media svg { transform: scale(1.04); }
.featured-body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.featured-body h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.featured-body h2 a { color: var(--ink); }
.featured-body h2 a:hover { color: var(--red); }
.featured-body > p { color: var(--muted); }
.featured-body .btn { align-self: flex-start; margin-top: 18px; }
@media (max-width: 960px) { .card-grid { grid-template-columns: 1fr 1fr; } .featured-post { grid-template-columns: minmax(0, 1fr); } .featured-media { min-height: 0; aspect-ratio: 16/9; } }
@media (max-width: 620px) { .card-grid { grid-template-columns: 1fr; } }

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; justify-content: center; }
.pill { padding: 10px 18px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.pill:hover { border-color: var(--red); color: var(--red); }
.pill.is-active { background: var(--red); color: #fff; border-color: var(--red); }
.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: inline-grid; place-items: center; border-radius: 14px; background: var(--soft); color: var(--ink); font-weight: 800; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--red); color: #fff; }

/* ===== Depoimentos ===== */
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 24px; scrollbar-width: thin; }
.testi { scroll-snap-align: start; margin: 0; background: #fff; border-radius: var(--radius); padding: 32px 28px 26px; border: 1px solid var(--line); position: relative; display: flex; flex-direction: column; }
.testi-quote { position: absolute; top: -6px; right: 22px; font-family: Georgia, serif; font-size: 6rem; line-height: 1; color: var(--red-100); }
.testi blockquote { margin: 0 0 20px; font-size: 1.05rem; color: var(--ink-2); flex: 1; position: relative; }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; font-family: var(--font-head); font-weight: 600; }
.testi figcaption small { color: var(--muted); }
.testi-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex: none; }
.testi-initial { display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; }

/* ===== CTA ===== */
.cta-band { padding: 0 0 clamp(56px, 7vw, 90px); }
.cta-band-inner {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
	background: radial-gradient(600px 300px at 100% 0%, rgba(255, 201, 60, .25), transparent 60%), linear-gradient(135deg, var(--red), var(--red-800));
	color: #fff; border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 60px); box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band-inner::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(270deg, #000, transparent 50%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 50%); pointer-events: none; }
.cta-band-inner > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 8px; max-width: 620px; }
.cta-band p { margin: 0; opacity: .92; max-width: 560px; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.section-soft + .cta-band, .section-soft ~ .cta-band { padding-top: 0; }
.site-main > .section:last-child.section-soft + * { margin-top: 0; }

/* ===== Rodapé ===== */
.site-footer { background: var(--red-900); color: rgba(255, 255, 255, .85); padding: clamp(56px, 7vw, 80px) 0 0; position: relative; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--red), var(--sun), var(--red)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-small { color: var(--sun); }
.footer-brand .brand-mark rect:first-child { fill: #fff; }
.footer-brand .brand-mark path:first-of-type { fill: var(--red); }
.footer-brand .brand-mark path:nth-of-type(3) { fill: var(--red); }
.footer-about p { margin: 18px 0; font-size: .98rem; }
.footer-title { color: #fff; font-size: 1.1rem; margin-bottom: 16px; }
.footer-menu.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.footer-menu, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.footer-contact .icon { margin-top: 4px; color: var(--sun); }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: .2s; }
.social a:hover { background: var(--red); transform: translateY(-3px); }
.install-app { margin-top: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 48px; padding: 22px 0 28px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Páginas internas ===== */
.page-hero {
	position: relative; overflow: hidden; color: #fff; padding: clamp(36px, 5vw, 64px) 0 clamp(70px, 8vw, 100px);
	background: radial-gradient(800px 400px at 90% -20%, #F0383E 0%, transparent 60%), linear-gradient(140deg, var(--red) 0%, var(--red-800) 100%);
}
.page-hero .b1 { width: 380px; height: 380px; right: -120px; top: -140px; background: rgba(255, 255, 255, .07); }
.page-hero .b2 { width: 180px; height: 180px; left: 8%; bottom: -100px; background: rgba(255, 201, 60, .18); }
.page-hero-inner { position: relative; max-width: 900px; }
.page-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: 12px; text-wrap: balance; }
.page-subtitle { font-size: 1.15rem; opacity: .93; max-width: 680px; }
.page-hero .hero-actions { margin-top: 24px; }
.page-hero .hero-wave { height: 60px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
.breadcrumbs li + li::before { content: "›"; opacity: .7; }
.breadcrumbs a { color: inherit; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: #fff; }

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; position: relative; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; position: relative; transition: transform .3s var(--ease), box-shadow .3s; }
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-n { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; margin-bottom: 16px; }
.step:nth-child(2) .step-n { background: var(--red-800); }
.step:nth-child(3) .step-n { background: var(--sun); color: var(--red-900); }
.step:nth-child(4) .step-n { background: var(--ink); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Tabela de idades */
.age-table { max-width: 760px; margin: 0 auto; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.age-group { margin: 0; padding: 14px 24px; background: var(--red-50); color: var(--red-800); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .07em; }
.age-row { display: grid; grid-template-columns: 1fr auto 24px; align-items: center; gap: 16px; padding: 16px 24px; border-top: 1px solid var(--line); color: var(--ink); transition: background .2s; }
.age-row:hover { background: var(--soft); color: var(--ink); }
.age-row strong { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; }
.age-row span { color: var(--red); font-weight: 800; background: var(--red-50); padding: 4px 12px; border-radius: 999px; font-size: .92rem; }
.age-row .icon { color: var(--muted); }

/* Checklist */
.docs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 2px solid var(--line); border-radius: 16px; cursor: pointer; font-weight: 700; transition: .2s; }
.checklist label:hover { border-color: var(--red-200); }
.checklist input { position: absolute; opacity: 0; pointer-events: none; }
.check-box { width: 28px; height: 28px; border-radius: 9px; border: 2px solid var(--red-200); display: grid; place-items: center; flex: none; color: transparent; transition: .2s; }
.checklist input:checked + .check-box { background: var(--red); border-color: var(--red); color: #fff; }
.checklist input:checked ~ span:last-child { text-decoration: line-through; color: var(--muted); }
.checklist input:focus-visible + .check-box { outline: 3px solid var(--sun); outline-offset: 2px; }
.checklist-progress { font-weight: 800; color: var(--red); }
@media (max-width: 860px) { .docs-grid { grid-template-columns: 1fr; gap: 24px; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { width: 30px; height: 30px; border-radius: 50%; background: var(--red-50); position: relative; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--red); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq-plus { transform: rotate(45deg); background: var(--red); }
.faq details[open] .faq-plus::before, .faq details[open] .faq-plus::after { background: #fff; }
.faq-a { padding: 0 24px 20px; color: var(--ink-2); }
.faq-a p { margin: 0; }
.extra-content { margin-top: 48px; }

/* Tiles (Área da Família / Contato) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile-grid-2 { grid-template-columns: repeat(2, 1fr); }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
a.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--ink); border-color: transparent; }
.tile strong { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; margin-top: 10px; }
.tile small { color: var(--muted); font-size: .95rem; word-break: break-word; }
.tile-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--red); color: #fff; flex: none; }
.tile-icon .icon { width: 26px; height: 26px; }
.tile.is-off { opacity: .55; }
.tile.is-off .tile-icon { background: var(--muted); }
.admin-hint { margin-top: 20px; padding: 14px 18px; border-radius: 14px; background: #FFF8E1; border: 1px dashed #E0B400; font-size: .95rem; }
.app-promo { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 24px; border-radius: var(--radius); background: #fff; border: 2px dashed var(--red-200); flex-wrap: wrap; }
.app-promo > div { flex: 1; min-width: 220px; }
.app-promo h3 { margin-bottom: 4px; }
.app-promo p { margin: 0; color: var(--muted); }
@media (max-width: 960px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile-grid, .tile-grid-2 { grid-template-columns: 1fr 1fr; gap: 12px; } .tile { padding: 18px; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--soft); }
.info-list .icon { color: var(--red); width: 24px; height: 24px; margin-top: 2px; }
.info-list strong { display: block; font-family: var(--font-head); font-weight: 600; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; box-shadow: var(--shadow); background: var(--soft); position: sticky; top: calc(var(--header-h) + 20px); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.map-placeholder { min-height: 460px; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--muted); align-content: center; gap: 10px; }
.map-placeholder .icon { width: 56px; height: 56px; color: var(--red); margin: 0 auto; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-wrap { position: static; } }

/* Turmas */
.turma-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.turma-card { position: relative; display: flex; flex-direction: column; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.turma-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--red); }
.turma-card.seg-fundamental::before { background: linear-gradient(90deg, var(--red-800), var(--sun)); }
.turma-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--ink); }
.turma-age { align-self: flex-start; font-weight: 800; font-size: .82rem; color: var(--red); background: var(--red-50); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.turma-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.turma-card p { color: var(--muted); font-size: .98rem; flex: 1; }

/* Layout com coluna lateral */
.with-aside { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 20px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.aside-title { font-size: 1.3rem; margin: 0; }
.facts { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; }
.facts .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--red-50); color: var(--red); }
.facts small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.facts strong { font-family: var(--font-head); font-weight: 600; line-height: 1.25; }
.entry-thumb { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
@media (max-width: 960px) { .with-aside { grid-template-columns: 1fr; } .aside-card { position: static; } }

/* Calendário */
.month-title { font-size: 1.6rem; margin: 40px 0 16px; display: flex; align-items: center; gap: 12px; }
.month-title:first-child { margin-top: 0; }
.month-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.event-stack { display: grid; gap: 16px; }
.event-card { display: flex; gap: 22px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s; }
.event-card:hover { box-shadow: var(--shadow); }
.event-body { flex: 1; min-width: 0; }
.event-body h3 { margin-bottom: 8px; }
.event-body h3 a { color: var(--ink); }
.event-body h3 a:hover { color: var(--red); }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; }
.event-meta span { display: inline-flex; align-items: center; gap: 6px; }
.event-meta .icon { color: var(--red); }
.event-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.notice-meta { margin-bottom: 18px; }
.empty-state { text-align: center; padding: 48px 20px; }
.empty-state > .icon { width: 64px; height: 64px; color: var(--red); margin-bottom: 12px; }
@media (max-width: 560px) { .event-card { flex-direction: column; gap: 14px; } }

/* ===== Artigo ===== */
.article-head { padding: clamp(32px, 5vw, 60px) 0 24px; background: linear-gradient(180deg, var(--red-50), #fff); }
.article-head .breadcrumbs { color: var(--muted); }
.article-head .breadcrumbs a { color: var(--red); }
.article-title { font-size: clamp(2rem, 4.6vw, 3.1rem); text-wrap: balance; }
.article-lead { font-size: 1.22rem; color: var(--ink-2); }
.article-meta { display: flex; align-items: center; gap: 12px; margin: 24px 0 18px; }
.article-meta img { border-radius: 50%; }
.article-meta strong { display: block; }
.article-meta small { color: var(--muted); }
.article-tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-weight: 700; font-size: .92rem; cursor: pointer; transition: .2s; }
.tool-btn:hover, .tool-btn[aria-pressed="true"] { border-color: var(--red); color: var(--red); background: var(--red-50); }
.tool-btn[aria-pressed="true"] .icon { animation: pulse-ic 1.2s infinite; }
@keyframes pulse-ic { 50% { transform: scale(1.15); } }
.article-cover { margin-top: 12px; margin-bottom: 8px; }
.article-cover img { border-radius: var(--radius-lg); width: 100%; max-height: 560px; object-fit: cover; }
.article-body { padding-top: 32px; padding-bottom: 40px; }
.toc { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 32px; }
.toc-title { font-family: var(--font-head); font-weight: 600; margin-bottom: 8px; color: var(--red); }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--ink-2); font-weight: 600; }
.toc a:hover, .toc a.is-active { color: var(--red); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; }
.tag-list a { padding: 6px 14px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink-2); }
.article-cta { display: flex; align-items: center; gap: 20px; justify-content: space-between; flex-wrap: wrap; margin: 40px 0; padding: 26px 28px; border-radius: var(--radius); background: var(--red-50); border: 1px solid var(--red-100); }
.article-cta strong { font-family: var(--font-head); font-size: 1.25rem; font-weight: 600; }
.article-cta p { margin: 4px 0 0; color: var(--ink-2); }

/* Conteúdo editável */
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); margin-top: 1.8em; scroll-margin-top: calc(var(--header-h) + 20px); }
.entry-content h3 { font-size: 1.35rem; margin-top: 1.5em; }
.entry-content p, .entry-content li { font-size: 1.12rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .5em; }
.entry-content ul li::marker { color: var(--red); }
.entry-content a { text-decoration: underline; text-decoration-color: var(--red-200); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.entry-content a:hover { text-decoration-color: var(--red); }
.entry-content blockquote, .entry-content .wp-block-quote { margin: 1.8em 0; padding: 24px 28px; border-left: 0; border-radius: var(--radius); background: var(--red); color: #fff; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.45; position: relative; }
.entry-content blockquote p { font-size: inherit; margin: 0; }
.entry-content img, .entry-content figure img { border-radius: 18px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { color: var(--muted); font-size: .92rem; text-align: center; margin-top: 8px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-button__link { background: var(--red); color: #fff; border-radius: 999px; padding: 14px 26px; text-decoration: none; font-family: var(--font-head); font-weight: 600; }
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.has-vermelho-color { color: var(--red); } .has-vermelho-background-color { background: var(--red); }
.has-vermelho-escuro-color { color: var(--red-800); } .has-vermelho-escuro-background-color { background: var(--red-800); }
.has-rosa-claro-background-color { background: var(--red-50); }
.has-branco-color { color: #fff; } .has-branco-background-color { background: #fff; }
.has-grafite-color { color: var(--ink); } .has-grafite-background-color { background: var(--ink); }
.has-amarelo-color { color: var(--sun); } .has-amarelo-background-color { background: var(--sun); }

/* Comentários */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 20px; border-radius: 18px; background: var(--soft); margin-bottom: 14px; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--soft); }
.comment-form textarea:focus, .comment-form input:focus { border-color: var(--red); outline: 0; background: #fff; }

/* Busca inline */
.inline-search { display: flex; align-items: center; gap: 10px; max-width: 620px; margin: 0 auto 36px; background: var(--soft); border: 2px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.inline-search > .icon { color: var(--red); }
.inline-search input { border: 0; background: transparent; padding: 10px 4px; outline: 0; }
.big-404 { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 18vw, 10rem); line-height: 1; color: var(--red); letter-spacing: -.04em; }
.big-404 span { display: inline-block; color: var(--sun); animation: floaty 3s ease-in-out infinite; }

/* Widgets */
.widget { margin-bottom: 32px; }
.widget-title { font-size: 1.2rem; }

/* ===== Botão WhatsApp ===== */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; display: inline-flex; align-items: center; gap: 10px;
	background: #25D366; color: #fff; padding: 14px; border-radius: 999px; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
	font-family: var(--font-head); font-weight: 600; transition: transform .25s var(--ease), padding .25s;
}
.wa-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); }
.wa-float .icon { width: 30px; height: 30px; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.wa-float:hover span, .wa-float:focus-visible span { max-width: 140px; padding-right: 6px; }

/* ===== Acessibilidade ===== */
.a11y { position: fixed; left: 16px; bottom: 20px; z-index: 95; }
.a11y-toggle { width: 52px; height: 52px; border-radius: 50%; border: 0; background: #1F4BD8; color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 12px 26px -10px rgba(31, 75, 216, .8); transition: transform .2s; }
.a11y-toggle:hover { transform: scale(1.06); }
.a11y-toggle .icon { width: 28px; height: 28px; }
.a11y-panel { position: absolute; bottom: 64px; left: 0; width: 250px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 12px; display: grid; gap: 6px; animation: pop .25s var(--ease); }
.a11y-panel[hidden] { display: none; }
.a11y-title { font-family: var(--font-head); font-weight: 600; margin: 4px 8px 6px; }
.a11y-panel button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--soft); cursor: pointer; font-weight: 700; font-size: .95rem; }
.a11y-panel button:hover, .a11y-panel button[aria-pressed="true"] { background: var(--red-100); color: var(--red-800); }
/* VLibras fica acima do botão de acessibilidade */
[vw].enabled { z-index: 96 !important; }
[vw] [vw-access-button] { right: 10px !important; left: auto !important; top: auto !important; bottom: 96px !important; }

html.a11y-contrast body { background: #000; color: #fff; }
html.a11y-contrast *:not(svg):not(path):not(rect):not(circle):not(text):not(g) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; background-image: none !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #FFEB3B !important; }
html.a11y-contrast .btn { border: 2px solid #FFEB3B !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 1px dashed currentColor; outline-offset: 2px; }
html.a11y-dyslexia body { letter-spacing: .04em; word-spacing: .12em; line-height: 1.9; }
html.a11y-dyslexia h1, html.a11y-dyslexia h2, html.a11y-dyslexia h3 { letter-spacing: .02em; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* ===== Aviso de cookies ===== */
.cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; width: min(680px, calc(100% - 32px)); background: var(--ink); color: #fff; border-radius: 20px; padding: 16px 18px 16px 22px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-lg); animation: pop .4s var(--ease); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: .92rem; }
.cookie a { color: var(--sun); text-decoration: underline; }
@media (max-width: 560px) { .cookie { flex-direction: column; align-items: stretch; bottom: 86px; } }

/* ===== Animações de entrada ===== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ===== Impressão ===== */
@media print {
	.topbar, .site-header, .cta-band, .site-footer, .wa-float, .a11y, .cookie, [vw], .page-hero .hero-actions, .article-tools, .event-actions, .progress, .hero-wave { display: none !important; }
	.page-hero, .hero { background: none !important; color: #000 !important; padding: 0 !important; }
	.page-title, .hero-title { color: #000 !important; }
	.js .reveal { opacity: 1 !important; transform: none !important; }
	body { font-size: 12pt; }
}
