@font-face { font-family: "Atkinson"; src: url("fontes/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("fontes/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fontes/nunito-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --azul: #0B6FD6; --amarelo: #FFD21F; --vermelho: #E3262E; --marinho: #0A2E5C; --ceu: #5CC0FF;
  --fundo: #FFFFFF; --claro: #F2F7FD; --creme: #FFF3C2; --texto: #0A2E5C; --texto-suave: #33507A; --linha: #C9D8EA;
  --foco: #E3262E; --raio: 32px;
}
html[data-contraste="alto"] {
  --azul: #FFD21F; --amarelo: #FFD21F; --marinho: #000000; --fundo: #000000; --claro: #000000; --creme: #000000;
  --texto: #FFFFFF; --texto-suave: #FFFFFF; --linha: #FFFFFF; --foco: #FFD21F; --vermelho: #000000;
}
html[data-contraste="alto"] .onda, html[data-contraste="alto"] .deco, html[data-contraste="alto"] .icone { display: none; }
html[data-contraste="alto"] .botao, html[data-contraste="alto"] .atalhos { color: #000; background: #FFD21F; border-color: #FFD21F; }
html[data-contraste="alto"] .secao-amarela, html[data-contraste="alto"] .secao-vermelha, html[data-contraste="alto"] .secao-marinho, html[data-contraste="alto"] .numeros { color: #fff; background: #000; border-top: 2px solid #fff; }
html[data-contraste="alto"] .logo img, html[data-contraste="alto"] .capa-arte img { background: #fff; border-radius: 16px; padding: 6px; }
html[data-contraste="alto"] .numeros-lista li { background: #000; border: 2px solid #fff; }
html[data-contraste="alto"] .numeros strong { color: #FFD21F; }
html[data-contraste="alto"] .foto, html[data-contraste="alto"] .valores li, html[data-contraste="alto"] .passos li::before, html[data-contraste="alto"] .selo-gratis { background: #000; color: #fff; border: 2px solid #fff; }

* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: "Atkinson", Verdana, sans-serif; color: var(--texto); background: var(--fundo); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { font-family: "Nunito", "Atkinson", sans-serif; font-weight: 900; line-height: 1.12; margin: 0 0 .55em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; border-radius: 6px; }
main:focus, nav:focus { outline: none; }

.largura { width: min(1180px, 100% - 32px); margin-inline: auto; }
.estreito { width: min(820px, 100% - 32px); }
.centro { text-align: center; margin-top: 2rem; }
.visualmente-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.onda { display: block; width: 100%; height: clamp(44px, 7vw, 90px); margin-bottom: -1px; overflow: visible; }
.onda-invertida-marinho { background: #0A2E5C; }
.onda-invertida-clara { background: var(--claro); }
.onda-invertida-creme { background: var(--creme); }
.onda-invertida-vermelha { background: #C81E26; }
.onda-invertida-amarela { background: #FFD21F; }
.onda-rodape { margin-top: 0; }

.atalhos { background: var(--marinho); color: #fff; font-size: .85rem; }
.atalhos-linha, .atalhos-lista, .atalhos-fones, .atalhos-botoes { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.atalhos-linha { justify-content: space-between; padding: .25rem 0; }
.atalhos a { color: inherit; display: inline-flex; align-items: center; min-height: 44px; }
.atalhos button { font: inherit; font-weight: 700; color: var(--marinho); background: #fff; border: 0; border-radius: 999px; padding: .3rem .8rem; min-height: 44px; min-width: 44px; cursor: pointer; }
.atalhos :focus-visible { outline-color: var(--amarelo); }
.atalhos-lista, .atalhos-fones { list-style: none; margin: 0; padding: 0; }
.atalhos-fones a { font-weight: 700; color: var(--amarelo); }

.topo { background: var(--fundo); position: relative; z-index: 15; }
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .55rem 0; flex-wrap: wrap; }
.logo img { width: 215px; }
.abrir-menu { display: none; font: inherit; font-weight: 700; color: var(--texto); background: none; border: 2px solid var(--texto); border-radius: 999px; padding: .4rem 1.2rem; min-height: 44px; cursor: pointer; }
.menu > ul { display: flex; flex-wrap: wrap; gap: .05rem; align-items: center; }
.menu a, .menu button { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem .62rem; font: inherit; font-weight: 700; font-size: .86rem; color: var(--texto); text-decoration: none; background: none; border: 0; border-radius: 999px; cursor: pointer; }
.menu a:hover, .menu button:hover { background: var(--creme); }
.menu a[aria-current] { background: var(--amarelo); color: #0A2E5C; }
html[data-contraste="alto"] .menu a[aria-current] { color: #000; }
.tem-sub { position: relative; }
.tem-sub > button::after { content: ""; margin-left: .4rem; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(3px); }
.submenu { position: absolute; z-index: 20; min-width: 240px; background: var(--fundo); border: 2px solid var(--linha); border-radius: 22px; padding: .45rem; box-shadow: 0 12px 28px rgb(10 46 92 / .18); }
.submenu a { display: flex; }

.capa { position: relative; background: radial-gradient(circle at 80% 30%, #FFE89A 0, var(--creme) 55%); overflow: hidden; }
html[data-contraste="alto"] .capa { background: #000; }
.capa-eventos { background: radial-gradient(circle at 80% 30%, #CFE7FF 0, #E9F4FF 55%); }
.capa-grade { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 2rem; padding: 3.2rem 0 2.2rem; }
.selo-gratis { display: inline-block; font-weight: 700; color: #fff; background: #0A5BB0; padding: .3rem 1rem; border-radius: 999px; margin-bottom: .8rem; }
.headline { font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: #0A5BB0; }
html[data-contraste="alto"] .headline { color: #fff; }
.abertura { font-size: 1.15rem; max-width: 36em; }
.capa-arte img { width: min(390px, 100%); margin-inline: auto; }
.deco { position: absolute; z-index: 0; }
.d1 { width: 92px; top: 28px; left: 42%; transform: rotate(-18deg); }
.d2 { width: 48px; bottom: 120px; left: 6px; }
.d3 { width: 130px; top: 10px; right: 5%; }
.botoes { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.3rem; }
.botao { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: .65rem 1.7rem; font: inherit; font-weight: 700; text-decoration: none; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease; }
.botao:hover { transform: translateY(-2px) scale(1.02); text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .botao { transition: none; } .botao:hover { transform: none; } }
.botao-azul { background: var(--azul); color: #fff; }
.botao-amarelo { background: var(--amarelo); color: var(--marinho); }
.botao-marinho { background: var(--marinho); color: #fff; }

.numeros { background: var(--marinho); color: #fff; padding: .4rem 0 1.4rem; }
.numeros-lista { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.numeros-lista li { background: rgb(255 255 255 / .09); border-radius: 44px; padding: 1.2rem .8rem; }
.numeros strong { display: block; font-family: "Nunito", sans-serif; font-weight: 900; font-size: 2.5rem; line-height: 1.1; color: var(--amarelo); }

.secao { padding: 3rem 0; position: relative; }
.secao-clara { background: var(--claro); }
.secao-amarela { background: #FFD21F; color: #0A2E5C; }
.secao-vermelha { background: #C81E26; color: #fff; overflow: hidden; }
.secao-marinho { background: #0A2E5C; color: #fff; }
.titulo-centro { text-align: center; margin-bottom: 2rem; }
.titulo-centro .intro { margin-inline: auto; }
.titulo-onda::after { content: ""; display: block; width: 84px; height: 12px; margin-top: .5rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 12'%3E%3Cpath d='M2 8c10-8 16-8 26 0s16 8 26 0 16-8 28 0' fill='none' stroke='%23E3262E' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.titulo-centro .titulo-onda::after { margin-inline: auto; }
.intro { font-size: 1.1rem; max-width: 42em; }
.subtitulo-centro { text-align: center; margin-top: 2.6rem; }
.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tres-colunas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.quatro-colunas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.cartao { background: var(--fundo); color: var(--texto); border: 2px solid var(--linha); border-radius: var(--raio); padding: 1.7rem; }
.cartao p:last-child { margin-bottom: 0; }
.icone { width: 64px; height: 64px; margin-bottom: .8rem; }
.cartao-familias { border-color: var(--azul); border-radius: 32px 88px 32px 32px; }
.cartao-doadores { border-color: #C81E26; border-radius: 88px 32px 32px 32px; }
.secao-amarela .cartao { border-color: transparent; border-radius: 40px 40px 40px 12px; }
.texto-e-foto { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.valores { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.1rem; }
.valores li { background: var(--creme); font-weight: 700; padding: .25rem .95rem; border-radius: 999px; }
.link-seta { font-weight: 700; }
.foto { margin: 0; display: grid; place-items: center; text-align: center; padding: 1rem; background: #DCEBFB; color: #0A2E5C; border-radius: 34px; min-height: 150px; }
.foto-bolha { aspect-ratio: 4 / 3; background: #DCEBFB; border-radius: 58% 42% 46% 54% / 52% 48% 56% 44%; border: 6px solid var(--amarelo); }
.secao-vermelha .foto-bolha { border-color: #fff; }
.c1 { background: #DCEBFB; border-radius: 44px 18px 44px 18px; }
.c2 { background: #FFF3C2; border-radius: 18px 44px 18px 44px; }
.c3 { background: #FCE1E2; border-radius: 50px; }
.mosaico { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 1rem; }
.m-grande { grid-column: span 2; grid-row: span 2; }
.m-larga { grid-column: span 2; }

.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; counter-reset: passo; text-align: center; }
.passos li { counter-increment: passo; }
.passos li::before { content: counter(passo); display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto .6rem; border-radius: 50%; font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.6rem; color: #0A2E5C; background: var(--amarelo); }
.passos strong { display: block; font-size: 1.15rem; }
.passos span { display: block; }

.depoimento-corpo { background: var(--creme); padding: 1rem 0 1.4rem; text-align: center; }
blockquote { margin: 0; font-family: "Nunito", sans-serif; font-weight: 900; font-size: clamp(1.35rem, 3vw, 1.9rem); line-height: 1.3; }
.nota-prototipo { font-size: .85rem; font-style: italic; margin: .7rem 0 0; }

.transparencia { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.transparencia h2 { margin-bottom: .4em; }
.transparencia p { margin: 0; max-width: 40em; }

details { background: var(--claro); border-radius: 26px; padding: .35rem 1.3rem; margin-bottom: .7rem; }
html[data-contraste="alto"] details { border: 1px solid #fff; }
summary { font-weight: 700; cursor: pointer; min-height: 48px; display: flex; align-items: center; }
details p { margin-top: .3rem; }

form { background: var(--fundo); border: 2px solid var(--linha); border-radius: 40px; padding: 1.8rem; }
label { display: block; font-weight: 700; margin: .9rem 0 .25rem; }
input, textarea { width: 100%; font: inherit; color: var(--texto); background: var(--fundo); border: 2px solid var(--texto-suave); border-radius: 18px; padding: .6rem .9rem; min-height: 48px; }
form .botao { margin-top: 1.1rem; }
#aviso { margin: .8rem 0 0; font-weight: 700; }
.mapa { width: 100%; height: 240px; border: 0; border-radius: 32px; margin-top: .4rem; }

.rodape { background: #0A2E5C; color: #fff; padding: 1.2rem 0 5rem; position: relative; }
.rodape-grade { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 2rem; }
.rodape a { color: #fff; }
.rodape-titulo { font-size: 1.15rem; color: #FFD21F; }
.rodape li, .rodape address p { margin-bottom: .35rem; }
.rodape-frase { margin-top: .8rem; }
.rodape-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgb(255 255 255 / .3); margin-top: 1.6rem; padding-top: 1rem; font-size: .88rem; }
.rodape-base { align-items: center; }
.rodape-base p { margin: 0; }
.assinatura { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.assinatura a { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; }
.assinatura img { width: 56px; height: 56px; background: #fff; border-radius: 16px; padding: 3px; }
.whats-fixo { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; min-height: 54px; padding: .6rem 1.3rem; font-weight: 700; color: #fff !important; background: #0B6B3A; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 18px rgb(0 0 0 / .28); }

@media (max-width: 1040px) {
  .abrir-menu { display: inline-block; }
  .menu { display: none; width: 100%; }
  .menu.aberto { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; }
  .menu a, .menu button { width: 100%; }
  .submenu { position: static; box-shadow: none; }
  .mosaico { grid-template-columns: repeat(2, 1fr); }
  .numeros-lista { grid-template-columns: repeat(2, 1fr); }
  .quatro-colunas { grid-template-columns: repeat(2, 1fr); }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .logo img { width: 190px; }
  .capa-grade, .duas-colunas, .tres-colunas, .texto-e-foto, .passos, .quatro-colunas, .rodape-grade { grid-template-columns: 1fr; }
  .capa-arte { order: -1; }
  .capa-arte img { width: 170px; }
  .capa-grade { padding: 1.6rem 0 .6rem; }
  .botao { width: 100%; }
  .d1 { left: 74%; width: 62px; }
  .d2 { display: none; }
  .mosaico { grid-auto-rows: 130px; }
  .whats-fixo { padding: .55rem 1rem; }
}

.festas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; }
.festas .cartao { border-color: transparent; text-align: center; padding: 1.4rem 1rem; }
.festas .festa-natal { background: #C81E26; color: #fff; }
html[data-contraste="alto"] .festas .cartao { background: #000; color: #fff; border: 2px solid #fff; }
@media (max-width: 1040px) { .festas { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .festas { grid-template-columns: 1fr; } }

/* Ajustes da revisão de 11/11/2026 */
html { scroll-padding-bottom: 96px; -webkit-tap-highlight-color: rgb(11 111 214 / .18); }
a, button, summary, input, textarea { touch-action: manipulation; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
.botao:active { transform: translateY(0) scale(.98); }

.foto.com-foto { display: block; padding: 0; overflow: hidden; }
.foto.com-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.foto-bolha.com-foto { aspect-ratio: 4 / 3; }

/* ===== Site completo (12/11/2026) ===== */
.h3 { font-family: "Nunito", "Atkinson", sans-serif; font-weight: 900; font-size: 1.35rem; line-height: 1.12; margin: 0 0 .55em; }
.secao-creme { background: var(--creme); }
.centro-texto { text-align: center; margin: 1.5rem auto 0; }
.centro-botoes { justify-content: center; margin-top: 2rem; }
.depoimento-autor { font-weight: 700; margin: .7rem 0 0; }

/* Menu com Área do Professor */
.link-professor { border: 2px solid var(--azul) !important; color: var(--azul) !important; margin-left: .2rem; }
.link-professor[aria-current] { background: var(--azul) !important; color: #fff !important; }
.tem-sub > button.ativo { background: var(--amarelo); color: #0A2E5C; }
@media (max-width: 1240px) {
  .abrir-menu { display: inline-block; }
  .menu { display: none; width: 100%; }
  .menu.aberto { display: block; }
  .menu > ul { flex-direction: column; align-items: stretch; }
  .menu a, .menu button { width: 100%; }
  .submenu { position: static; box-shadow: none; }
  .link-professor { margin: .3rem 0 0; justify-content: center; }
}
@media (max-width: 1100px) { .atalho-email { display: none; } }

/* Capas internas */
.capa-interna h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
.capa-interna .foto-bolha { max-width: 460px; margin-inline: auto; }
.arte-icone { display: grid; place-items: center; }
.arte-icone .icone { width: min(240px, 60vw); height: auto; margin: 0; }

/* Banner Noite das Pizzas */
.banner-pizza-secao { padding: 2.2rem 0 1rem; }
.banner-pizza { position: relative; overflow: hidden; display: grid; grid-template-columns: 230px 1fr; gap: 2.2rem; align-items: center; background: #C81E26; color: #fff; border-radius: 56px 130px 56px 56px; padding: 2rem 2.6rem; box-shadow: 0 14px 34px rgb(200 30 38 / .28); }
.banner-pizza::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: #FFD21F; opacity: .18; }
.pizza-arte { width: 100%; max-width: 230px; position: relative; z-index: 1; }
.banner-pizza-texto { position: relative; z-index: 1; }
.banner-selo { display: inline-block; margin: 0; background: #FFD21F; color: #0A2E5C; font-weight: 700; padding: .2rem 1rem; border-radius: 999px; text-transform: uppercase; letter-spacing: .08em; }
.banner-pizza h2 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); margin: .3em 0 .1em; }
.banner-chamada { font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.6rem; color: #FFD21F; margin-bottom: .4em; }
.banner-pizza p:not(.banner-selo):not(.banner-chamada) { max-width: 36em; }
html[data-contraste="alto"] .banner-pizza { background: #000; border: 2px solid #fff; }
html[data-contraste="alto"] .pizza-arte { display: none; }
.festa-destaque { background: #FFD21F !important; border: 3px solid #C81E26 !important; font-weight: 700; }

/* Números, linha do tempo e marca */
.numeros-claros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; text-align: center; }
.numeros-claros li { background: var(--claro); border-radius: 44px; padding: 1.3rem .8rem; }
.numeros-claros strong { display: block; font-family: "Nunito", sans-serif; font-weight: 900; font-size: 2.6rem; color: var(--azul); line-height: 1.1; }
.linha-tempo { position: relative; display: grid; gap: 1.2rem; max-width: 820px; margin-inline: auto; padding-left: 2.2rem; border-left: 6px dotted var(--amarelo); }
.linha-tempo li { position: relative; background: var(--claro); border-radius: 28px; padding: 1.1rem 1.4rem; }
.linha-tempo li::before { content: ""; position: absolute; left: -3.05rem; top: 1.3rem; width: 26px; height: 26px; border-radius: 50%; background: var(--vermelho); border: 4px solid #fff; }
.linha-tempo strong { display: block; font-family: "Nunito", sans-serif; font-weight: 900; font-size: 1.4rem; }
.marca-foca img { width: min(300px, 70%); margin-inline: auto; }
.mosaico-pequeno { grid-auto-rows: 210px; margin-top: 2rem; }

/* Quero ajudar e transparência */
.ajuda-lista, .documentos { display: grid; gap: 1.3rem; }
.documentos { grid-template-columns: 1fr 1fr; }
.ajuda, .documentos .cartao, .aviso-seguranca { display: grid; grid-template-columns: 64px 1fr; gap: 1.3rem; align-items: start; scroll-margin-top: 1rem; }
.ajuda .icone, .documentos .icone, .aviso-seguranca .icone { margin: 0; }
.destaque-pix { background: var(--creme); padding: .7rem 1rem; border-radius: 18px; font-weight: 700; }
.em-breve { font-weight: 700; color: var(--texto-suave); }
.dados { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; }
.dados div { background: var(--claro); border-radius: 26px; padding: 1rem 1.3rem; }
.dados dt { font-weight: 700; color: var(--texto-suave); }
.dados dd { margin: .2rem 0 0; font-weight: 700; font-size: 1.1rem; }
.aviso-seguranca { margin-top: 2.4rem; }
.botao-grande { font-size: 1.2rem; min-height: 64px; padding-inline: 2.4rem; }

/* Perguntas e textos longos */
.faq-indice { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.6rem; }
.faq-indice a { display: inline-flex; align-items: center; min-height: 44px; padding: .3rem 1.1rem; border-radius: 999px; background: var(--creme); color: var(--texto); font-weight: 700; }
.faq-grupo { margin-top: 2.2rem; scroll-margin-top: 1rem; }
.texto-longo h2 { font-size: 1.45rem; margin-top: 2rem; }
.lista-texto { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.lista-texto li { margin-bottom: .4rem; }

/* Galeria */
.filtros { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1rem 0 .4rem; }
.filtro { font: inherit; font-weight: 700; min-height: 48px; padding: .4rem 1.3rem; border-radius: 999px; border: 2px solid var(--marinho); background: var(--fundo); color: var(--texto); cursor: pointer; scroll-margin-top: 1rem; }
.filtro[aria-pressed="true"] { background: var(--marinho); color: #fff; }
html[data-contraste="alto"] .filtro[aria-pressed="true"] { background: #FFD21F; color: #000; }
.filtro-status { font-size: .95rem; color: var(--texto-suave); }
.galeria-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.galeria-grade li:nth-child(3n+1) .galeria-item { border-radius: 40px 16px 40px 16px; }
.galeria-grade li:nth-child(3n+2) .galeria-item { border-radius: 16px 40px 16px 40px; }
.galeria-grade li:nth-child(3n) .galeria-item { border-radius: 36px; }
.galeria-item { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #DCEBFB; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .25s ease; }
.galeria-item:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) { .galeria-item img { transition: none; } .galeria-item:hover img { transform: none; } }
.videos-grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.3rem; }
.video { padding: 1rem; }
.video video { width: 100%; aspect-ratio: 9 / 16; border-radius: 22px; background: #0A2E5C; object-fit: cover; display: block; }
.video h3 { margin: .9rem 0 .3rem; font-size: 1.2rem; }
.ampliar { width: min(1000px, 94vw); max-height: 94vh; border: 0; border-radius: 28px; padding: 1rem; background: var(--fundo); color: var(--texto); }
.ampliar::backdrop { background: rgb(10 46 92 / .86); }
.ampliar figure { margin: 0; }
.ampliar img { max-height: 72vh; width: auto; margin-inline: auto; border-radius: 18px; }
.ampliar figcaption { text-align: center; margin-top: .7rem; font-weight: 700; }
.ampliar-botoes { display: flex; justify-content: center; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }

/* Contato e formulário */
.lista-contato p { display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: center; margin-bottom: .8rem; }
.lista-contato .icone { width: 48px; height: 48px; margin: 0; }
.lista-contato strong { display: block; }
.form-nota { font-size: .92rem; color: var(--texto-suave); }
.erro { color: #B3141C; font-weight: 700; margin: .3rem 0 0; }
html[data-contraste="alto"] .erro { color: #FFD21F; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #B3141C; border-width: 3px; }
.campo-robo { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consentimento { display: grid; grid-template-columns: 28px 1fr; gap: .6rem; align-items: start; margin-top: 1.1rem; }
.consentimento input { width: 24px; height: 24px; min-height: 0; margin: .2rem 0 0; accent-color: var(--azul); }
.consentimento label { margin: 0; font-weight: 400; }

/* Aviso de cookies (só aparece se a medição estiver configurada) */
.aviso-cookies { position: fixed; left: 16px; bottom: 16px; z-index: 40; width: min(620px, calc(100% - 32px)); background: var(--fundo); color: var(--texto); border: 2px solid var(--marinho); border-radius: 26px; padding: 1rem 1.3rem; box-shadow: 0 10px 30px rgb(0 0 0 / .25); }
.aviso-cookies p { margin: 0 0 .7rem; }
.aviso-cookies .botoes { margin: 0; }
.aviso-cookies .botao { min-height: 48px; padding: .4rem 1.3rem; }

@media (max-width: 1040px) {
  .dados { grid-template-columns: 1fr 1fr; }
  .mosaico-pequeno { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .banner-pizza { grid-template-columns: 1fr; text-align: center; padding: 1.6rem 1.3rem; border-radius: 40px 80px 40px 40px; gap: 1rem; }
  .pizza-arte { max-width: 150px; margin-inline: auto; }
  .numeros-claros, .documentos, .dados { grid-template-columns: 1fr; }
  .ajuda, .documentos .cartao, .aviso-seguranca { grid-template-columns: 1fr; }
  .linha-tempo { padding-left: 1.6rem; }
  .linha-tempo li::before { left: -2.45rem; }
  .ampliar-botoes .botao { width: auto; }
}
html[data-contraste="alto"] .festa-destaque { background: #000 !important; color: #fff; border-color: #fff !important; }
html[data-contraste="alto"] .link-professor { color: #FFD21F !important; border-color: #FFD21F !important; }
html[data-contraste="alto"] .link-professor[aria-current] { background: #FFD21F !important; color: #000 !important; }
/* Menu compacto para caber ao lado do logo */
@media (min-width: 1241px) { .topo-linha { flex-wrap: nowrap; } .logo img { width: 180px; } .menu a, .menu button { font-size: .8rem; padding: .3rem .48rem; } .menu > ul { flex-wrap: nowrap; } }
@media (max-width: 1560px) { .atalho-email { display: none; } }
@media (max-width: 760px) { .galeria-grade { grid-template-columns: repeat(2, 1fr); gap: .6rem; } .galeria-grade li .galeria-item { border-radius: 22px !important; } }

/* ===== Flyers dos eventos (12/11/2026) ===== */
.secao-flyer { padding: 2.2rem 0 1rem; }
.flyer { --fl: 200 30 38; --destaque: #FFD21F; position: relative; isolation: isolate; overflow: hidden; display: grid; color: #fff; border-radius: 48px 120px 48px 48px; box-shadow: 0 18px 40px rgb(0 0 0 / .22); }
.tema-vermelho { --fl: 200 30 38; }
.tema-azul { --fl: 9 92 178; }
.tema-marinho { --fl: 10 46 92; }
.tema-amarelo { --fl: 255 210 31; --destaque: #0A2E5C; color: #0A2E5C; }
.flyer-fundo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.flyer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(var(--fl)) 0%, rgb(var(--fl)) 54%, rgb(var(--fl) / .55) 72%, rgb(var(--fl) / 0) 92%); }
.flyer-conteudo { padding: 2.3rem 2.6rem 2.1rem; display: flex; flex-direction: column; align-items: flex-start; max-width: 620px; }
.flyer-logo { width: 175px; margin-bottom: 1rem; }
.flyer-selo { display: inline-block; margin: 0; padding: .25rem 1.1rem; border-radius: 999px; background: #FFD21F; color: #0A2E5C; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; }
.tema-amarelo .flyer-selo { background: #0A2E5C; color: #fff; }
.flyer-titulo { color: inherit; font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: .98; margin: .35em 0 .15em; text-shadow: 0 3px 0 rgb(0 0 0 / .16); }
.tema-amarelo .flyer-titulo { text-shadow: none; }
.flyer-ano { display: block; color: var(--destaque); font-size: .82em; }
.flyer-chamada { font-family: "Nunito", sans-serif; font-weight: 900; font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--destaque); margin-bottom: .45em; }
.tema-amarelo .flyer-chamada { color: #0A2E5C; }
.flyer-texto { max-width: 30em; }
.flyer-local { font-weight: 700; margin-bottom: 1.1rem; }
.flyer-nota { font-size: .85rem; margin: .8rem 0 0; opacity: .92; }
.tema-amarelo .flyer-botao { background: #0A2E5C; color: #fff; }
.flyer-destaque { position: absolute; right: 7%; bottom: 9%; width: clamp(150px, 19vw, 240px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 8px solid #fff; box-shadow: 0 12px 28px rgb(0 0 0 / .3); transform: rotate(-4deg); }
.flyer-grande { min-height: 470px; }

/* Flyer médio (página de eventos) e flyer no celular: foto em cima, texto embaixo em cor sólida */
.flyers-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.flyer-medio { border-radius: 40px 90px 40px 40px; background: rgb(var(--fl)); }
.flyer-medio::before { display: none; }
.flyer-medio .flyer-fundo { position: relative; z-index: 0; height: 230px; }
.flyer-medio .flyer-conteudo { padding: 1.4rem 1.7rem 1.7rem; max-width: none; }
.flyer-medio .flyer-logo { width: 140px; margin-bottom: .7rem; }
.flyer-medio .flyer-titulo { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.flyer-medio .flyer-destaque { top: 140px; bottom: auto; right: 1.4rem; width: 130px; border-width: 6px; }

html[data-contraste="alto"] .flyer, html[data-contraste="alto"] .flyer-medio { background: #000; color: #fff; border: 2px solid #fff; }
html[data-contraste="alto"] .flyer::before { background: #000; }
html[data-contraste="alto"] .flyer-chamada, html[data-contraste="alto"] .flyer-ano { color: #FFD21F; }

@media (max-width: 900px) {
  .flyers-grade { grid-template-columns: 1fr; }
  .flyer-grande { min-height: 0; background: rgb(var(--fl)); border-radius: 40px 80px 40px 40px; }
  .flyer-grande::before { display: none; }
  .flyer-grande .flyer-fundo { position: relative; z-index: 0; height: 230px; }
  .flyer-grande .flyer-conteudo { padding: 1.4rem 1.4rem 1.7rem; }
  .flyer-grande .flyer-destaque { top: 140px; bottom: auto; right: 1.2rem; width: 130px; border-width: 6px; }
  .flyer-botao { width: 100%; }
}

.botao-whats { background: #0B6B3A; color: #fff; }
html[data-contraste="alto"] .botao-whats { background: #FFD21F; color: #000; }
/* Ícones do rodapé */
.rodape .com-icone { display: flex; align-items: flex-start; gap: .65rem; }
.rodape .com-icone a, .rodape .com-icone span { overflow-wrap: anywhere; }
.ic-rodape { flex: none; width: 24px; height: 24px; margin-top: .2rem; color: #FFD21F; }
