/* ===== Colégio Educare Arco-Íris ===== */

:root {
  --azul: #1E73E8;
  --amarelo: #FFC629;
  --verde: #26B56B;
  --vermelho: #EF3B3B;
  --laranja: #FF8A2B;
  --preto: #1F2D2A;
  --cinza: #9CA3AF;
  --bege: #F7F5EE;

  /* variantes escuras: usadas onde a cor precisa carregar texto ou ícone */
  --azul-forte: #1558C0;
  --verde-forte: #15703F;
  --vermelho-forte: #B02121;

  --cor: var(--azul);
  --cor-texto: var(--azul-forte);
  --cor-chapa: var(--azul-forte);
  --cor-tinta: #fff;

  --raio: 18px;
  --sombra: 0 10px 30px rgba(31, 45, 42, 0.10);
  --sombra-alta: 0 18px 44px rgba(31, 45, 42, 0.16);
  --arco: linear-gradient(90deg, var(--azul), var(--verde), var(--amarelo), var(--laranja), var(--vermelho));
}

/* --cor      = cor viva, para preenchimentos decorativos
   --cor-texto = mesma família, escura o bastante para texto sobre fundo claro
   --cor-chapa = fundo sólido seguro para texto --cor-tinta em cima */
.c-azul     { --cor: var(--azul);     --cor-texto: #1558C0; --cor-chapa: #1558C0; --cor-tinta: #fff; }
.c-verde    { --cor: var(--verde);    --cor-texto: #15703F; --cor-chapa: #15703F; --cor-tinta: #fff; }
.c-amarelo  { --cor: var(--amarelo);  --cor-texto: #8A6100; --cor-chapa: #FFC629; --cor-tinta: var(--preto); }
.c-laranja  { --cor: var(--laranja);  --cor-texto: #A64B00; --cor-chapa: #FF8A2B; --cor-tinta: var(--preto); }
.c-vermelho { --cor: var(--vermelho); --cor-texto: #B02121; --cor-chapa: #B02121; --cor-tinta: #fff; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  margin: 0;
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--preto);
  background: #fff;
  line-height: 1.65;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--azul-forte);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-estreito { max-width: 780px; }
.centro { text-align: center; }
.escondido { position: absolute; left: -9999px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--preto);
  color: var(--bege);
  padding: 12px 20px;
  z-index: 300;
}
.skip-link:focus { left: 0; }

/* Marca conteúdo ainda por preencher.
   Apague este bloco (e a classe .editar no HTML) antes de publicar. */
.editar { outline: 2px dashed #C89A00; outline-offset: 6px; border-radius: 6px; }

.nota-editar {
  font-size: 0.85rem;
  color: #6B5A20;
  background: #FCEFC7;
  border-radius: 999px;
  padding: 10px 22px;
  display: table;
  margin: 32px auto 0;
}

/* ===== Barra de progresso arco-íris ===== */

.progresso {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 250;
  background: rgba(31, 45, 42, 0.07);
}
.progresso span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--arco);
}

.arco { height: 8px; background: var(--arco); }

/* ===== Header ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 45, 42, 0.08);
}

.header-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo { display: block; line-height: 0; }
.logo img { width: 152px; }

.nav { display: flex; align-items: center; gap: 2px; }

.nav a {
  font-weight: 600;
  font-size: 0.96rem;
  padding: 12px 14px;
  border-radius: 999px;
  position: relative;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:not(.btn):hover { background: rgba(21, 88, 192, 0.10); color: var(--azul-forte); }
.nav a:not(.btn).ativo { color: var(--azul-forte); }
.nav a:not(.btn).ativo::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 5px;
  height: 3px;
  border-radius: 3px;
  background: var(--arco);
}

.btn-nav { background: var(--azul-forte); color: #fff; margin-left: 10px; }
.btn-nav:hover { background: var(--preto); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 13px 11px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle .barra {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--preto);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .barra:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .barra:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .barra:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Botões ===== */

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-primario { background: var(--azul-forte); color: #fff; box-shadow: var(--sombra); }
.btn-primario:hover { background: var(--preto); box-shadow: var(--sombra-alta); }
.btn-fantasma { background: transparent; color: var(--preto); box-shadow: inset 0 0 0 2px rgba(31,45,42,0.22); }
.btn-fantasma:hover { box-shadow: inset 0 0 0 2px var(--preto); }
.btn-laranja { background: var(--laranja); color: var(--preto); box-shadow: var(--sombra); }
.btn-laranja:hover { background: var(--amarelo); }

/* ===== Hero ===== */

.hero { padding: 72px 0 0; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 76px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}

.hero h1 .destaque {
  background: var(--arco);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline { font-size: 1.16rem; max-width: 30em; color: #3C4A46; }

.hero-acoes { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 16px; }
.hero-nota { font-size: 0.9rem; color: #5A6863; margin: 0; }
.hero-foto { aspect-ratio: 4 / 3.4; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra-alta); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; }

/* Briefing dos espaços de foto ainda vazios */

.foto-brief {
  height: 100%;
  border-radius: var(--raio);
  background: color-mix(in srgb, var(--cor) 14%, #fff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 30px 24px;
}
.foto-brief svg {
  width: 40px; height: 40px;
  fill: none;
  stroke: var(--cor-texto);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.foto-brief strong { font-size: 1.05rem; color: var(--cor-texto); }
.foto-brief span { font-size: 0.87rem; color: #4A5854; max-width: 22em; }

/* ===== Faixa de fatos ===== */

.fatos { background: var(--preto); padding: 34px 0; }

.fatos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.fatos-grid li {
  background: var(--cor-chapa);
  color: var(--cor-tinta);
  padding: 24px 22px;
  border-radius: 14px;
}
.fatos-grid strong { display: block; font-size: 1.1rem; margin-bottom: 3px; }
.fatos-grid span { font-size: 0.85rem; opacity: 0.85; }

.fatos .nota-editar { margin-top: 24px; }

/* ===== Seções ===== */

.secao { padding: 96px 0; }
.secao-clara { background: #fff; }
.secao-principios { background: var(--bege); }
.secao-dia { background: #fff; }
.secao-depoimentos { background: var(--bege); }
.secao-contato { background: var(--preto); color: var(--bege); }

.titulo-secao {
  font-size: clamp(1.95rem, 4.2vw, 2.8rem);
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.sub-secao {
  text-align: center;
  color: #5A6863;
  max-width: 44em;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.secao-contato .sub-secao { color: rgba(247,245,238,0.80); }

.etiqueta {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cor) 16%, #fff);
  color: var(--cor-texto);
  margin-bottom: 18px;
}

/* ===== Nossa história ===== */

.historia {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.historia h2 { font-size: clamp(1.85rem, 3.8vw, 2.5rem); margin-bottom: 20px; }
.historia p { color: #3C4A46; }
.assinatura { font-weight: 700; color: var(--preto); font-size: 1.1rem; }
.historia-foto { aspect-ratio: 4 / 3; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra-alta); position: relative; }
.historia-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.historia-foto figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
  color: #fff; font-size: 0.9rem; font-weight: 600;
}

.numeros {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-top: 76px;
  padding-top: 48px;
  border-top: 2px solid rgba(31,45,42,0.09);
  text-align: center;
}
.numeros strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
  background: var(--arco);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.numeros span { font-size: 0.9rem; color: #5A6863; }
.numero-texto strong { font-size: 1.3rem; line-height: 1.2; }

/* ===== Princípios ===== */

.principios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 22px;
}

.principio {
  background: color-mix(in srgb, var(--cor) 13%, #fff);
  border-radius: var(--raio);
  padding: 34px 26px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.principio:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }

.principio-icone {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.principio-icone svg {
  width: 28px; height: 28px;
  fill: none;
  stroke: var(--cor-texto);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.principio h3 { font-size: 1.12rem; margin-bottom: 6px; color: var(--cor-texto); }
.principio p { font-size: 0.9rem; color: #3C4A46; margin: 0; }

/* ===== Nossa estrutura ===== */

.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.estrutura-item {
  margin: 0;
  background: #fff;
  border-radius: var(--raio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.estrutura-item:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }
.estrutura-item img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.estrutura-item.landscape img { aspect-ratio: 4 / 3; }
.estrutura-item.landscape { grid-column: span 2; }
.estrutura-item figcaption {
  padding: 14px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #3C4A46;
}

/* ===== Ensino ===== */

.ensino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}

.card-ensino {
  background: color-mix(in srgb, var(--cor) 11%, #fff);
  border-radius: var(--raio);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card-ensino:hover { transform: translateY(-6px); box-shadow: var(--sombra-alta); }

.card-fase {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--cor-chapa);
  color: var(--cor-tinta);
  margin-bottom: 16px;
}
.card-ensino h3 { font-size: 1.45rem; color: var(--cor-texto); }
.card-ensino > p:not(.card-fase) { color: #3C4A46; font-size: 0.97rem; flex: 1; }

.link-wpp {
  font-weight: 700;
  color: var(--cor-texto);
  padding: 10px 0;
  display: inline-block;
}
.link-wpp::after { content: " →"; }
.link-wpp:hover { text-decoration: underline; }


/* ===== Galeria (feed do Instagram) ===== */

.insta-embed-wrap {
  border-radius: var(--raio);
  overflow: hidden;
  min-height: 420px;
}
.insta-embed-wrap iframe { width: 100%; border: none; display: block; }

.galeria-cta { margin: 52px 0 0; }

/* ===== Depoimentos ===== */

.depoimentos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.depoimentos blockquote {
  margin: 0;
  background: #fff;
  border-radius: var(--raio);
  padding: 34px 30px;
  box-shadow: var(--sombra);
}
.depoimentos blockquote::before {
  content: "";
  display: block;
  width: 52px; height: 5px;
  border-radius: 3px;
  background: var(--arco);
  margin-bottom: 20px;
}
.depoimentos p { font-size: 1rem; color: #3C4A46; }
.depoimentos footer { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.depoimentos footer strong { display: block; }
.depoimentos footer span { font-size: 0.85rem; color: #5A6863; }
.depoimento-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

/* ===== FAQ ===== */

.faq details {
  background: var(--bege);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq details:nth-child(1) { --cor: var(--azul);     --cor-texto: #1558C0; }
.faq details:nth-child(2) { --cor: var(--verde);    --cor-texto: #15703F; }
.faq details:nth-child(3) { --cor: var(--amarelo);  --cor-texto: #8A6100; }
.faq details:nth-child(4) { --cor: var(--laranja);  --cor-texto: #A64B00; }
.faq details:nth-child(5) { --cor: var(--vermelho); --cor-texto: #B02121; }
.faq details:nth-child(6) { --cor: var(--azul);     --cor-texto: #1558C0; }

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.03rem;
  padding: 20px 58px 20px 24px;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--cor-texto);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { background: rgba(31,45,42,0.04); }
.faq details p { margin: 0; padding: 0 24px 22px; color: #4A5854; font-size: 0.95rem; }

/* ===== Contato ===== */

.wpp-opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-bottom: 64px;
}
.wpp-card {
  background: var(--verde-forte);
  border-radius: var(--raio);
  padding: 26px 24px;
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.wpp-card:hover { transform: translateY(-5px); background: var(--verde); color: var(--preto); }
.wpp-card strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.wpp-card span { font-size: 0.88rem; }

.contato-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}
.contato-info h3 { font-size: 1rem; color: var(--amarelo); margin-top: 28px; }
.contato-info h3:first-child { margin-top: 0; }
.contato-info p { color: rgba(247,245,238,0.88); }
.mapa-embed {
  margin-top: 14px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
}
.lista-contato a {
  display: inline-block;
  padding: 11px 0;
  font-weight: 600;
  color: var(--bege);
  border-bottom: 2px solid transparent;
}
.lista-contato a:hover { border-bottom-color: var(--amarelo); }

.form-contato {
  background: rgba(255,255,255,0.07);
  border-radius: var(--raio);
  padding: 34px 32px;
}
.form-contato h3 { font-size: 1.25rem; margin-bottom: 22px; }
.campo { display: block; margin-bottom: 18px; }
.campo label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: rgba(247,245,238,0.92);
}
.campo input, .campo select, .campo textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid transparent;
  background: #fff;
  color: var(--preto);
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--amarelo); }
.form-contato .btn-primario { width: 100%; background: var(--amarelo); color: var(--preto); }
.form-contato .btn-primario:hover { background: #fff; }
.form-nota { font-size: 0.84rem; color: rgba(247,245,238,0.70); margin: 14px 0 0; text-align: center; }

/* ===== WhatsApp flutuante ===== */

.whatsapp-flutuante {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--verde-forte);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(21, 112, 63, 0.45);
  z-index: 240;
  transition: transform 0.18s ease, opacity 0.22s ease;
}
.whatsapp-flutuante:hover { transform: scale(1.09); }
.whatsapp-flutuante svg { width: 32px; height: 32px; fill: #fff; }
.whatsapp-flutuante.oculto {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

/* ===== Rodapé ===== */

.rodape { background: var(--preto); color: var(--bege); }
.rodape .arco { margin-bottom: 52px; }
.rodape-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.rodape-logo { width: 190px; margin-bottom: 14px; }
.rodape-slogan { font-weight: 600; color: rgba(247,245,238,0.82); }
.rodape h3 { font-size: 1rem; color: var(--amarelo); }
.rodape p { color: rgba(247,245,238,0.88); margin-bottom: 6px; }
.rodape a { border-bottom: 2px solid transparent; padding: 11px 0; display: inline-block; }
.rodape a:hover { border-bottom-color: var(--amarelo); }
.rodape-fim {
  text-align: center;
  font-size: 0.83rem;
  color: rgba(247,245,238,0.62);
  border-top: 1px solid rgba(255,255,255,0.10);
  margin: 0;
  padding: 22px 24px;
}

/* ===== Entrada ao rolar (só com JS e movimento aceito) ===== */

html.movimento .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.movimento .reveal.visivel { opacity: 1; transform: none; }

/* ===== Responsivo ===== */

@media (max-width: 900px) {
  .hero-grid, .historia, .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-foto { aspect-ratio: 16 / 10; }
  .historia-foto { aspect-ratio: 4 / 3; }
  .rodape-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: #fff;
    padding: 14px 24px 22px;
    border-bottom: 1px solid rgba(31,45,42,0.10);
    box-shadow: var(--sombra);
    display: none;
  }
  .nav.aberto { display: flex; }
  .nav a { padding: 14px 16px; }
  .nav a:not(.btn).ativo::after { left: 16px; right: auto; width: 26px; bottom: 9px; }
  .btn-nav { margin: 10px 0 0; text-align: center; }
  .nav-toggle { display: flex; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .secao { padding: 68px 0; }
  .container { padding: 0 20px; }
  .hero { padding-top: 48px; }
  .hero-grid { padding-bottom: 54px; }
  .hero-acoes .btn { width: 100%; text-align: center; }
  .sub-secao { margin-bottom: 40px; }
  .numeros { margin-top: 48px; padding-top: 36px; }
  .rodape-grid { grid-template-columns: 1fr; gap: 28px; }
  .estrutura-grid { grid-template-columns: 1fr; }
  .estrutura-item.landscape { grid-column: auto; }
  .insta-embed-wrap { min-height: 320px; }
  .galeria-cta { margin-top: 36px; }
  .form-contato { padding: 26px 22px; }
  .whatsapp-flutuante { width: 58px; height: 58px; bottom: 18px; right: 18px; }
}

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

/* ===== Impressão / PDF ===== */

@media print {
  @page { margin: 12mm; }

  body {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    font-size: 11pt;
  }

  .progresso, .whatsapp-flutuante, .nav-toggle, .skip-link, .nav, .insta-embed-wrap { display: none !important; }
  .header { position: static; background: #fff; }

  /* nada de conteúdo escondido por animação no papel */
  .reveal { opacity: 1 !important; transform: none !important; }
  details > *:not(summary) { display: block !important; }
  .faq summary::after { content: "" !important; }

  .secao { padding: 28px 0; }
  .hero { padding-top: 24px; }
  .hero-grid { padding-bottom: 32px; }

  h2, h3 { break-after: avoid; }
  .card-ensino, .principio, .faq details,
  .depoimentos blockquote, .wpp-card, .fatos-grid li {
    break-inside: avoid;
  }
  .secao-contato, .rodape { break-before: auto; }

  a { text-decoration: none; }
}
