/* =========================================================
   Turminha da Tia Moni
   ========================================================= */
:root {
  --azul: #0B4EA2;
  --azul-escuro: #0A2A52;
  --azul-ceu: #DCEBFF;
  --amarelo: #F2B705;
  --amarelo-escuro: #D59E00;
  --manteiga: #FFF4CC;
  --coral: #FF9B85;
  --pessego: #FFE3DA;
  --verde: #7CCB97;
  --menta: #DDF3E4;
  --papel: #FFFBF2;
  --texto: #23304A;
  --suave: #5D6880;
  --branco: #FFFFFF;

  --titulo: "Fredoka", "Nunito", system-ui, sans-serif;
  --corpo: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mao: "Caveat", "Comic Sans MS", cursive;
  --largura: 1180px;
  --sombra-dura: 4px 4px 0 var(--azul-escuro);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texto);
  background: var(--papel);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--titulo); font-weight: 600; line-height: 1.1; color: var(--azul-escuro); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1rem; }
.container { width: min(var(--largura), 100% - 2.5rem); margin-inline: auto; position: relative; }

.ic {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em;
}

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .75rem 1.35rem;
  border: 2.5px solid var(--azul-escuro);
  border-radius: 999px;
  font: 700 1rem/1.1 var(--titulo);
  letter-spacing: .01em;
  text-decoration: none; text-align: center;
  cursor: pointer;
  box-shadow: var(--sombra-dura);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--azul-escuro); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--azul-escuro); }
.btn--grande { padding: .95rem 1.7rem; font-size: 1.1rem; }
.btn--azul { background: var(--azul); color: var(--branco); }
.btn--branco { background: var(--branco); color: var(--azul-escuro); }
.btn--amarelo { background: var(--amarelo); color: var(--azul-escuro); }
.btn--largo { width: 100%; }
a:focus-visible, button:focus-visible { outline: 3px dashed var(--azul); outline-offset: 3px; }

/* ===== Rabiscos decorativos ===== */
.doodle { position: absolute; pointer-events: none; fill: none; stroke: var(--azul); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(var(--r, 0deg)); }
.doodle--estrela { width: 44px; height: 44px; fill: var(--amarelo); stroke: var(--azul-escuro); }
.doodle--nuvem { width: 96px; height: 60px; fill: var(--branco); stroke: var(--azul-escuro); }
.doodle--espiral { width: 46px; height: 46px; stroke: var(--coral); stroke-width: 3; }
.doodle--sol { width: 64px; height: 64px; fill: var(--amarelo); stroke: var(--azul-escuro); }
.doodle--claro { stroke: rgba(255,255,255,.6); }
.doodle--estrela.doodle--claro { fill: var(--amarelo); stroke: var(--azul-escuro); }
.doodle--branco { fill: var(--branco); }

/* ===== Barra superior ===== */
.barra { background: var(--azul-escuro); color: var(--branco); font-size: .9rem; font-weight: 700; }
.barra__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 42px; }
.barra__aviso { margin: 0; display: flex; align-items: center; gap: .5rem; }
.barra__aviso .ic { fill: var(--amarelo); stroke: none; }
.barra__links { display: flex; align-items: center; gap: 1.2rem; }
.barra__links a { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; }
.barra__links a:hover { color: var(--amarelo); }

/* ===== Cabeçalho ===== */
.topo { position: sticky; top: 0; z-index: 50; background: var(--papel); border-bottom: 2.5px solid var(--azul-escuro); }
.topo__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.marca { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.marca img { width: 72px; mix-blend-mode: multiply; }
.marca__nome { font-family: var(--titulo); font-weight: 700; font-size: 1.45rem; color: var(--azul); line-height: 1; }
.marca__nome em { display: block; font-style: normal; font-family: var(--mao); font-size: 1.35rem; color: var(--amarelo-escuro); font-weight: 700; margin-top: .1rem; }

.menu { display: flex; align-items: center; gap: 1.8rem; }
.menu a:not(.btn) { text-decoration: none; font-family: var(--titulo); font-weight: 600; font-size: 1.05rem; color: var(--azul-escuro); position: relative; }
.menu a:not(.btn)::after {
  content: ""; position: absolute; left: -2px; right: -2px; bottom: -6px; height: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cpath d='M2 8c6-8 12-8 18 0s12 8 18 0 12-8 18 0 12 8 18 0' fill='none' stroke='%23F2B705' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  opacity: 0; transition: opacity .15s;
}
.menu a:not(.btn):hover::after { opacity: 1; }
.menu-btn { display: none; background: var(--amarelo); border: 2.5px solid var(--azul-escuro); border-radius: 12px; padding: .45rem; color: var(--azul-escuro); cursor: pointer; box-shadow: 3px 3px 0 var(--azul-escuro); }
.menu-btn .ic { width: 24px; height: 24px; display: block; }
.menu-btn .ic--fechar { display: none; }
.menu-btn[aria-expanded="true"] .ic--abrir { display: none; }
.menu-btn[aria-expanded="true"] .ic--fechar { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 1px 1px, rgba(10,42,82,.09) 1.5px, transparent 0) 0 0 / 22px 22px,
    var(--manteiga);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__inner > * { min-width: 0; }
.selo {
  display: inline-block; margin-bottom: 1.4rem;
  font-family: var(--titulo); font-weight: 600; font-size: .95rem; color: var(--azul-escuro);
  background: var(--branco); border: 2px solid var(--azul-escuro); border-radius: 999px; padding: .35rem 1rem;
  transform: rotate(-1.5deg);
}
.hero h1 { margin-bottom: 1.3rem; }
.rabisco { position: relative; color: var(--azul); white-space: nowrap; }
.rabisco::after {
  content: ""; position: absolute; left: -4%; right: -4%; bottom: -.18em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 16'%3E%3Cpath d='M2 8c6-8 12-8 18 0s12 8 18 0 12-8 18 0 12 8 18 0' fill='none' stroke='%23F2B705' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__lead { font-size: 1.2rem; max-width: 44ch; margin-bottom: 2rem; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__fotos { position: relative; height: 480px; }
.hero__fotos .polaroid { position: absolute; width: 58%; }
.polaroid--1 { top: 0; left: 4%; --r: -6deg; z-index: 2; }
.polaroid--2 { top: 14%; right: 0; --r: 5deg; z-index: 1; }
.polaroid--3 { bottom: 0; left: 22%; --r: -1deg; z-index: 3; width: 52% !important; }
.hero__selo-logo {
  position: absolute; right: 2%; bottom: 2%; z-index: 4;
  width: 130px; background: var(--branco); border-radius: 50%; padding: 10px;
  border: 2.5px solid var(--azul-escuro); box-shadow: var(--sombra-dura);
  transform: rotate(8deg);
}

/* ===== Polaroid / fotos ===== */
.polaroid {
  margin: 0; background: var(--branco); padding: 10px 10px 0;
  border: 2px solid var(--azul-escuro); border-radius: 4px;
  box-shadow: var(--sombra-dura);
  transform: rotate(var(--r, 0deg));
  position: relative;
}
.polaroid::before { /* fita adesiva */
  content: ""; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(242,183,5,.75); border-left: 2px dashed rgba(255,255,255,.6); border-right: 2px dashed rgba(255,255,255,.6);
}
.polaroid figcaption { font-family: var(--mao); font-size: 1.5rem; font-weight: 700; color: var(--azul); text-align: center; padding: .35rem 0 .5rem; line-height: 1.1; }
.polaroid:not(:has(figcaption)) { padding-bottom: 10px; }

.foto {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 2px;
  background:
    radial-gradient(circle at 1px 1px, rgba(11,78,162,.14) 1.5px, transparent 0) 0 0 / 16px 16px,
    var(--azul-ceu);
}
.foto:empty::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 36px; height: 36px;
  background: var(--azul);
  opacity: .45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z'/%3E%3Ccircle cx='12' cy='13' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ===== Seções ===== */
.secao { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; overflow: hidden; }
.secao--azul { background: var(--azul); color: var(--branco); }
.secao--amarelo { background: var(--amarelo); }

.titulo { margin-bottom: 3rem; }
.titulo__nota { font-family: var(--mao); font-size: 1.7rem; font-weight: 700; color: var(--coral); margin: 0 0 .2rem; line-height: 1; transform: rotate(-2deg); display: inline-block; }
.titulo--claro h2 { color: var(--branco); }
.titulo--claro .titulo__nota { color: var(--amarelo); }
.titulo--linha { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.secao--amarelo .titulo__nota { color: var(--azul-escuro); }

/* Turmas */
.turmas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.turma {
  background: var(--fundo); border: 2.5px solid var(--azul-escuro); border-radius: 28px;
  padding: 1.75rem 1.5rem 1.6rem; box-shadow: 6px 6px 0 var(--azul-escuro);
  transition: transform .15s;
}
.turma:nth-child(odd) { transform: rotate(-1deg); }
.turma:nth-child(even) { transform: rotate(1deg); }
.turma:hover { transform: rotate(0) translateY(-6px); }
.turma--azul { --fundo: var(--azul-ceu); }
.turma--amarelo { --fundo: var(--manteiga); }
.turma--verde { --fundo: var(--menta); }
.turma--coral { --fundo: var(--pessego); }
.turma__arte { width: 110px; height: 110px; margin: -.25rem 0 .75rem -.25rem; }
.turma h3 { font-size: 1.7rem; margin-bottom: .5rem; }
.turma p { margin: 0; font-size: .98rem; }

/* Períodos */
.periodos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.periodo {
  background: var(--branco); color: var(--texto); border: 2.5px solid var(--azul-escuro);
  border-radius: 28px; padding: 2rem 1.5rem; text-align: center;
  box-shadow: 6px 6px 0 var(--azul-escuro);
}
.periodo--destaque { background: var(--amarelo); }
.periodo__arte { width: 84px; height: 84px; margin: 0 auto .75rem; display: block; }
.periodo h3 { font-size: 1.8rem; }
.periodo p { margin: .3rem 0 0; font-weight: 700; color: var(--suave); }
.periodo--destaque p { color: var(--azul-escuro); }
.periodos__nota { margin: 2.25rem 0 0; text-align: center; font-weight: 700; color: rgba(255,255,255,.85); }

/* A escola */
.escola { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.escola > * { min-width: 0; }
.escola__foto { position: relative; padding: 1rem; }
.polaroid--grande { --r: -3deg; }
.escola__texto h2 { margin-bottom: 1.2rem; }
.pilares { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.pilares li { display: flex; gap: .9rem; align-items: flex-start; font-size: .97rem; color: var(--suave); }
.pilares strong { display: block; font-family: var(--titulo); font-weight: 600; font-size: 1.15rem; color: var(--azul-escuro); }
.pilar__ic {
  flex: none; width: 50px; height: 50px; display: grid; place-items: center;
  border: 2.5px solid var(--azul-escuro); border-radius: 16px; color: var(--azul-escuro);
  box-shadow: 3px 3px 0 var(--azul-escuro);
}
.pilar__ic .ic { width: 24px; height: 24px; }
.pilar__ic--amarelo { background: var(--amarelo); }
.pilar__ic--azul { background: var(--azul-ceu); }
.pilar__ic--coral { background: var(--coral); }
.pilar__ic--verde { background: var(--verde); }

/* Mural de fotos */
.mural { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.25rem 2rem; }
.mural .polaroid:nth-child(3n+1) { --r: -2.5deg; }
.mural .polaroid:nth-child(3n+2) { --r: 1.5deg; }
.mural .polaroid:nth-child(3n) { --r: -1deg; }
.mural .polaroid:nth-child(even)::before { background: rgba(255,155,133,.8); }
.mural .polaroid::before { background: rgba(220,235,255,.9); }

/* Avaliações */
.avaliacoes { background: var(--azul-ceu); }
.avaliacoes__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.avaliacoes__inner > * { min-width: 0; }
.avaliacoes__inner:has(.depos:empty) { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.depos:empty { display: none; }
.nota h2 { margin-bottom: 1.5rem; }
.nota__cartao {
  display: inline-flex; align-items: center; gap: 1.1rem;
  background: var(--branco); border: 2.5px solid var(--azul-escuro); border-radius: 24px;
  padding: 1.1rem 1.6rem; box-shadow: 6px 6px 0 var(--azul-escuro); transform: rotate(-1.5deg); text-align: left;
}
.nota__valor { font-family: var(--titulo); font-weight: 700; font-size: 3.6rem; line-height: 1; color: var(--azul); }
.nota__estrelas { display: flex; gap: 3px; }
.nota__estrelas svg { width: 26px; height: 26px; fill: var(--amarelo); stroke: var(--azul-escuro); stroke-width: 2.5; stroke-linejoin: round; }
.nota__total { display: block; margin-top: .25rem; font-weight: 700; color: var(--suave); }
.nota__acoes { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.avaliacoes__inner:has(.depos:empty) .nota__acoes { justify-content: center; }

.depos { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.depo {
  margin: 0; background: var(--branco); border: 2.5px solid var(--azul-escuro); border-radius: 24px;
  padding: 1.5rem; box-shadow: 5px 5px 0 var(--azul-escuro); display: flex; flex-direction: column; gap: 1rem;
}
.depo:nth-child(odd) { transform: rotate(-1deg); }
.depo:nth-child(even) { transform: rotate(1deg); }
.depo blockquote { margin: 0; font-size: .98rem; }
.depo blockquote::before { content: "“"; display: block; font-family: var(--titulo); font-size: 3rem; line-height: .6; color: var(--amarelo); margin-bottom: .3rem; }
.depo figcaption { margin-top: auto; font-size: .9rem; }
.depo figcaption strong { display: block; font-family: var(--titulo); font-weight: 600; font-size: 1.05rem; color: var(--azul-escuro); }
.depo figcaption span { color: var(--suave); }

/* Contato */
.contato { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contato > * { min-width: 0; }
.contato__info h2 { margin-bottom: 1rem; }
.contato__lista { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1rem; }
.contato__lista li { display: flex; gap: .9rem; align-items: center; font-weight: 600; }
.contato__lista a { text-decoration: none; color: var(--azul); font-weight: 700; }
.contato__lista a:hover { text-decoration: underline; }
.contato__tels { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
.contato__ic { flex: none; width: 40px; height: 40px; display: grid; place-items: center; background: var(--manteiga); border: 2px solid var(--azul-escuro); border-radius: 12px; color: var(--azul-escuro); }
.mapa {
  height: 260px; border: 2.5px solid var(--azul-escuro); border-radius: 24px; overflow: hidden;
  box-shadow: 6px 6px 0 var(--azul-escuro); background: var(--azul-ceu);
}
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

.formulario {
  position: relative; background: var(--branco); border: 2.5px solid var(--azul-escuro); border-radius: 28px;
  padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: 8px 8px 0 var(--azul-escuro);
}
.formulario__estrela { top: -26px; right: 24px; width: 56px; height: 56px; --r: 12deg; }
.formulario h3 { font-size: 2rem; }
.formulario__sub { color: var(--suave); margin: .3rem 0 1.5rem; }
.formulario label { display: block; font-family: var(--titulo); font-weight: 600; font-size: 1rem; color: var(--azul-escuro); margin-bottom: 1rem; }
.opcional { font-family: var(--corpo); font-weight: 400; color: var(--suave); font-size: .85rem; }
.formulario input, .formulario select, .formulario textarea {
  display: block; width: 100%; margin-top: .35rem; padding: .75rem .95rem;
  border: 2px solid #C9D3E3; border-radius: 14px; background: var(--papel);
  font: 1rem var(--corpo); color: var(--texto);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.formulario input:focus, .formulario select:focus, .formulario textarea:focus { outline: none; border-color: var(--azul); background: var(--branco); box-shadow: 0 0 0 4px rgba(11,78,162,.15); }
.formulario .invalido { border-color: #D2462F; background: #FFF4F1; }
.formulario__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.formulario .btn { margin-top: .5rem; }
.formulario__status { margin: 1rem 0 0; font-weight: 700; min-height: 1.4em; }
.formulario__status.erro { color: #B8341F; }
.formulario__status.ok { color: #1E7B4F; }

/* Rodapé */
.rodape { position: relative; background: var(--azul-escuro); color: rgba(255,255,255,.8); padding-top: 4rem; margin-top: 40px; }
.rodape__onda { position: absolute; top: -39px; left: 0; width: 100%; height: 40px; fill: var(--azul-escuro); }
.rodape__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.rodape__marca img { width: 110px; background: var(--branco); border-radius: 50%; padding: 8px; margin-bottom: 1.2rem; }
.rodape h4 { color: var(--amarelo); font-size: 1.2rem; margin-bottom: 1rem; }
.rodape nav { display: grid; gap: .45rem; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--amarelo); }
.rodape__social { display: flex; gap: .9rem; }
.rodape__social .ic { width: 24px; height: 24px; }
.rodape__copy {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; font-size: .88rem; color: rgba(255,255,255,.55);
}
.rodape__credito { display: inline-flex; align-items: center; gap: .3rem; }
.rodape__credito a { color: var(--amarelo); font-weight: 700; }
.rodape__credito a:hover { text-decoration: underline; }
.ic--coracao { fill: var(--coral); stroke: var(--coral); width: 1em; height: 1em; }

/* WhatsApp */
.whats {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #22B35E; color: var(--branco);
  border: 2.5px solid var(--azul-escuro); box-shadow: 3px 3px 0 var(--azul-escuro);
  display: grid; place-items: center; transition: transform .12s;
}
.whats:hover { transform: translate(-2px, -2px); }
.whats .ic { width: 28px; height: 28px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ===== Responsivo ===== */
@media (max-width: 1060px) {
  .turmas { grid-template-columns: repeat(2, 1fr); }
  .menu { gap: 1.3rem; }
}

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--papel); border-bottom: 2.5px solid var(--azul-escuro);
    padding: .5rem 1.25rem 1.5rem;
  }
  .menu.aberto { display: flex; }
  .menu a:not(.btn) { padding: .85rem 0; border-bottom: 2px dashed #E3D9BF; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 1rem; }
  .hero__inner, .escola, .contato, .avaliacoes__inner { grid-template-columns: 1fr; }
  .hero__fotos { height: 440px; max-width: 520px; width: 100%; margin: 1rem auto 0; }
  .periodos { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
  .escola__foto { max-width: 440px; }
  .mural { grid-template-columns: repeat(2, 1fr); }
  .rodape__inner { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .barra__aviso { font-size: .8rem; }
  .barra__tel { display: none !important; }
  .topo__inner { height: 76px; }
  .marca img { width: 56px; }
  .marca__nome { font-size: 1.2rem; }
  .marca__nome em { font-size: 1.15rem; }
  .hero__acoes .btn { flex: 1 1 100%; }
  .hero__fotos { height: 360px; }
  .hero__selo-logo { width: 96px; }
  .polaroid figcaption { font-size: 1.25rem; }
  .turmas { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; }
  .depos { grid-template-columns: 1fr; }
  .nota__valor { font-size: 2.8rem; }
  .mural { gap: 1.5rem 1rem; }
  .formulario__linha { grid-template-columns: 1fr; gap: 0; }
  .rodape__inner { grid-template-columns: 1fr; }
  .doodle--nuvem, .hero .doodle--estrela { display: none; }
}
