@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --azul: #0756b5;
  --azul-escuro: #082d58;
  --cinza: #6f7782;
  --borda: #e7edf4;
  --largura: 1280px;
  --verde: #2f8b35;
  --amarelo: #ffd400;
}

/* Transição nativa entre páginas (sem JS/framework) -- suportada em
   navegadores baseados em Chromium; em outros, cai no comportamento padrão
   sem prejuízo nenhum. */
@view-transition {
  navigation: auto;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: var(--azul-escuro);
  background: #fff;
}

a { color: inherit; }

img { max-width: 100%; }

/* ===== Cabeçalho ===== */

.cabecalho {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--borda);
  box-shadow: 0 8px 24px rgba(8, 45, 88, .08);
  position: sticky;
  top: 0;
  z-index: 50;
}

.barra-superior { background: var(--azul); color: #fff; }

.barra-superior__conteudo {
  width: min(var(--largura), calc(100% - 40px));
  min-height: 44px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  overflow-x: auto;
}

.link-topo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 17px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s ease;
}

.link-topo:hover { opacity: .8; }
.link-topo + .link-topo { border-left: 1px solid rgba(255,255,255,.55); }
.link-topo svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.principal {
  width: min(var(--largura), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 0;
}

.marcas { display: block; flex: 0 0 auto; }
.logo { display: block; width: 84px; height: 74px; object-fit: contain; }

.identidade { min-width: 0; }
.identidade h1 { margin: 0 0 4px; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.1; letter-spacing: -.5px; color: var(--azul-escuro); }
.identidade p { margin: 0; color: var(--cinza); font-size: clamp(12px, 1.2vw, 15px); line-height: 1.3; }

.redes { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; margin-left: auto; }
.rede { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: #fff; text-decoration: none; transition: transform .18s ease, opacity .18s ease; }
.rede:hover { transform: translateY(-2px); opacity: .9; }
.rede--instagram { background: linear-gradient(135deg, #f7a621, #ee2a48 50%, #9b2bb7); }
.rede--facebook { background: #315b98; }
.rede svg { width: 22px; height: 22px; fill: currentColor; }

/* ===== Navegação principal ===== */

.site-nav { border-top: 1px solid var(--borda); }

.site-nav-toggle { display: none; }

#menu-principal {
  width: min(var(--largura), calc(100% - 40px));
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
}

.item-menu {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--azul-escuro);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color .15s ease, color .15s ease;
  border-radius: 6px 6px 0 0;
}

.item-menu:hover, .item-menu.ativo { background: var(--azul); color: #fff; }
.item-menu.destaque { background: var(--amarelo); color: var(--azul-escuro); border-radius: 8px; }
.item-menu.destaque:hover { filter: brightness(1.05); background: var(--amarelo); color: var(--azul-escuro); }

.tem-submenu { position: relative; }
.seta { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .15s ease; }
.tem-submenu.aberto .seta { transform: rotate(180deg); }

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(8,45,88,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 40;
}

.tem-submenu:hover .submenu,
.tem-submenu.aberto .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--azul-escuro);
  transition: background-color .15s ease;
}

.submenu a:hover, .submenu a.ativo { background: var(--borda); }

@media (max-width: 900px) {
  .barra-superior__conteudo { justify-content: flex-start; }
  .principal { flex-wrap: wrap; }

  .site-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    margin: 10px auto;
    background: none;
    border: 1px solid var(--borda);
    border-radius: 8px;
    cursor: pointer;
  }
  .site-nav-toggle span { display: block; height: 2px; background: var(--azul-escuro); margin: 0 8px; }

  #menu-principal {
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  #menu-principal.aberto { max-height: 1200px; padding-bottom: 12px; }

  .item-menu { width: 100%; border-radius: 0; justify-content: space-between; }
  .tem-submenu .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    display: none;
    background: #f7f9fc;
  }
  .tem-submenu.aberto .submenu { display: block; }
}

@media (max-width: 560px) {
  .principal { justify-content: center; text-align: center; }
  .marcas { width: 100%; display: flex; justify-content: center; }
  .identidade { flex-basis: 100%; }
  .redes { margin: 8px auto 0; }
}

/* ===== Breadcrumb ===== */

.breadcrumb { background: #f7f9fc; border-bottom: 1px solid var(--borda); }
.breadcrumb-inner { width: min(var(--largura), calc(100% - 40px)); margin: 0 auto; padding: 10px 0; font-size: 13px; color: var(--cinza); }
.breadcrumb-inner a { color: var(--azul); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }

/* ===== Conteúdo ===== */

main { min-height: 50vh; }

/* ===== Hero da home (conteúdo real extraído do site original) ===== */

.apae-hero {
  position: relative; width: 100%; min-height: 700px; padding: 60px 7% 120px; overflow: hidden;
  background:
    radial-gradient(circle at 84% 30%, rgba(215,239,255,.96) 0 25%, transparent 26%),
    radial-gradient(circle at 105% 76%, rgba(255,204,0,.95) 0 25%, transparent 26%),
    linear-gradient(120deg,#eef8ff 0%,#ffffff 55%,#fff8dc 100%);
}
.apae-hero::before { content:""; position:absolute; left:-170px; top:-120px; width:420px; height:620px; background:rgba(198,231,255,.45); border-radius:50%; }
.apae-hero::after { content:""; position:absolute; right:-180px; bottom:-180px; width:520px; height:520px; background:rgba(255,202,0,.75); border-radius:50%; filter:blur(2px); }

.doe-top {
  position: absolute; right: 7%; top: 40px; z-index: 30; background: var(--amarelo); color: var(--azul-escuro);
  padding: 16px 30px; border-radius: 15px; text-decoration: none; font-weight: 800;
  box-shadow: 0 8px 20px rgba(0,0,0,.14); transition: transform .2s ease; display: inline-flex; align-items: center; gap: 8px;
}
.doe-top:hover { transform: translateY(-3px); }
.doe-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.apae-hero-content { position: relative; z-index: 5; max-width: 1420px; margin: 0 auto; display: flex; align-items: flex-start; gap: 20px; }
.apae-text { width: 48%; position: relative; z-index: 12; padding-top: 40px; }
.apae-text h1 { font-size: 64px; line-height: .95; margin: 0; color: #003b82; font-weight: 900; }
.apae-text h2 { font-size: 30px; line-height: 1.15; color: var(--verde); margin: 20px 0 18px; font-weight: 900; }
.apae-text p { font-size: 17px; line-height: 1.75; max-width: 560px; color: #222; margin: 0; }

.apae-buttons { display: flex; gap: 18px; margin-top: 30px; flex-wrap: wrap; }
.apae-btn-blue, .apae-btn-yellow {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-radius: 36px;
  padding: 15px 28px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease;
}
.apae-btn-blue { background: #003b82; color: #fff; }
.apae-btn-yellow { background: var(--amarelo); color: var(--azul-escuro); }
.apae-btn-blue:hover, .apae-btn-yellow:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.apae-btn-blue svg, .apae-btn-yellow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.apae-child { position: relative; width: 48%; z-index: 4; display: flex; justify-content: center; overflow: hidden; }
.apae-child img { width: 100%; max-width: 460px; border-radius: 24px; object-fit: cover; display: block; box-shadow: 0 20px 40px rgba(0,0,0,.15); }

.apae-cards {
  position: relative; z-index: 20; max-width: 1320px; margin: -70px auto 60px; padding: 0 25px;
  display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
}
.apae-card {
  background: #fff; min-height: 180px; border-radius: 18px; padding: 26px 16px; text-align: center;
  text-decoration: none; color: var(--azul-escuro); box-shadow: 0 14px 34px rgba(0,0,0,.1); transition: transform .2s ease, box-shadow .2s ease;
}
.apae-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.16); }
.apae-card .icone { width: 44px; height: 44px; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef4fb; color: #003b82; }
.apae-card .icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.apae-card h3 { margin: 0 0 8px; color: #003b82; font-size: 16px; font-weight: 800; }
.apae-card p { margin: 0; font-size: 13px; line-height: 1.5; color: #333; }

.apae-mission { max-width: 1280px; margin: 30px auto 70px; padding: 0 30px; display: grid; grid-template-columns: 34% 34% 32%; gap: 36px; align-items: center; }
.apae-building img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%; box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.apae-mission-text h2 { color: #003b82; font-size: 32px; margin: 0 0 16px; font-weight: 900; }
.apae-mission-text p { font-size: 16px; line-height: 1.75; color: #222; }
.apae-quote {
  background: linear-gradient(135deg, #eaf6e8, #f5fbf2);
  border-radius: 24px;
  padding: 48px 40px;
  font-size: 22px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.6;
  color: var(--azul-escuro);
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--verde);
  box-shadow: 0 8px 24px rgba(8, 45, 88, .08);
}
.apae-quote::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  right: 20px;
  font-size: 160px;
  font-style: normal;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(47, 139, 53, .12);
  line-height: 1;
  pointer-events: none;
}
.apae-quote svg {
  width: 44px;
  height: 44px;
  padding: 11px;
  box-sizing: border-box;
  color: #fff;
  background: var(--verde);
  border-radius: 50%;
  margin-bottom: 20px;
  fill: currentColor;
  position: relative;
}

.apae-numbers {
  max-width: 1260px; margin: 0 auto 60px; background: linear-gradient(135deg,#1b75bb,#3a95d6); border-radius: 26px;
  padding: 30px 20px; display: grid; grid-template-columns: repeat(4,1fr); color: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.16);
}
.number-item { text-align: center; border-right: 1px dashed rgba(255,255,255,.65); }
.number-item:last-child { border-right: 0; }
.number-item strong { display: block; font-size: 28px; font-weight: 900; }
.number-item small { font-size: 13px; }

@media (max-width: 1050px) {
  .apae-hero { min-height: auto; padding: 40px 7% 70px; }
  .apae-hero-content { display: block; text-align: center; }
  .apae-text { width: 100%; padding-top: 25px; }
  .apae-text p { margin: auto; }
  .apae-buttons { justify-content: center; }
  .apae-child { width: 100%; margin-top: 25px; }
  .apae-cards { grid-template-columns: repeat(2,1fr); margin-top: 25px; }
  .apae-mission { grid-template-columns: 1fr; text-align: center; }
  .apae-numbers { grid-template-columns: repeat(2,1fr); gap: 18px; }
  .number-item { border-right: 0; }
}
@media (max-width: 650px) {
  .doe-top { position: relative; top: auto; right: auto; display: inline-flex; margin-bottom: 20px; }
  .apae-text h1 { font-size: 42px; }
  .apae-text h2 { font-size: 24px; }
  .apae-cards, .apae-numbers { grid-template-columns: 1fr; }
}

/* ===== Padrão genérico "página institucional" (banner + cards + citação) =====
   Reaproveitado em Nossa História, Missão/Visão/Valores, Perguntas Frequentes,
   Transparência, Saúde, Educação Especial, Assistência Social etc. -- todas
   as páginas internas seguem o mesmo template visual no site original. */

.pagina-hero {
  min-height: 260px; padding: 50px 7%; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 85% 25%, rgba(255,210,0,.28), transparent 24%), linear-gradient(135deg,#003e8a 0%,#0056b3 55%,var(--verde) 100%);
}
.pagina-hero-content { max-width: 1000px; }
.pagina-selo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 8px 18px; border-radius: 30px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.pagina-selo svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pagina-hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; font-weight: 900; }
.pagina-hero p { font-size: 17px; line-height: 1.7; max-width: 850px; margin: 0 auto; }

.pagina-container { max-width: 1200px; margin: 0 auto; padding: 55px 20px; }

.card-branco {
  background: #fff; border-radius: 24px; padding: 34px; box-shadow: 0 16px 38px rgba(0,62,138,.12);
  border-top: 7px solid var(--amarelo); margin-bottom: 40px;
}
.card-branco h2 { color: #003e8a; font-size: 28px; margin: 0 0 16px; font-weight: 900; }
.card-branco p { color: #333; font-size: 15.5px; line-height: 1.8; margin: 0 0 16px; }
.card-branco p:last-child { margin-bottom: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 45px; }
.card-borda {
  background: #fff; border-radius: 20px; padding: 26px 24px; box-shadow: 0 14px 34px rgba(0,62,138,.1);
  transition: transform .25s ease, box-shadow .25s ease; border-left: 6px solid #003e8a;
}
.card-borda:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,62,138,.16); }
.card-borda .icone-grande { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card-borda .icone-grande svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-borda h3 { color: #003e8a; font-size: 19px; margin: 0 0 10px; font-weight: 800; }
.card-borda p { color: #444; font-size: 14.5px; line-height: 1.65; margin: 0; }

.citacao-grande {
  background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; border-radius: 26px; padding: 40px 32px;
  text-align: center; box-shadow: 0 16px 38px rgba(0,62,138,.2); margin-bottom: 40px;
}
.citacao-grande svg { width: 40px; height: 40px; color: var(--amarelo); margin-bottom: 14px; fill: currentColor; }
.citacao-grande p { max-width: 900px; margin: 0 auto; font-size: 20px; line-height: 1.6; font-weight: 700; }

.timeline-area { background: #fff; border-radius: 24px; padding: 38px 32px; box-shadow: 0 16px 38px rgba(0,62,138,.1); margin-bottom: 40px; }
.timeline-area h2 { color: #003e8a; font-size: 28px; text-align: center; margin: 0 0 30px; font-weight: 900; }
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom,#003e8a,var(--amarelo),var(--verde)); border-radius: 20px; }
.timeline-item { position: relative; padding-left: 76px; margin-bottom: 28px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-year { position: absolute; left: 0; top: 0; width: 54px; height: 54px; border-radius: 50%; background: var(--amarelo); color: #003e8a; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; box-shadow: 0 8px 20px rgba(0,0,0,.14); text-align: center; }
.timeline-box { background: #f7fbff; border: 1px solid #dbeafc; border-radius: 18px; padding: 20px; }
.timeline-box h3 { margin: 0 0 6px; color: #003e8a; font-size: 19px; font-weight: 800; }
.timeline-box p { margin: 0; color: #444; font-size: 15px; line-height: 1.65; }

.lista-valores { list-style: none; margin: 0; padding: 0; }
.lista-valores li { padding: 7px 0 7px 20px; position: relative; font-size: 15px; color: #333; }
.lista-valores li::before { content: ''; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .pagina-hero h1 { font-size: 30px; } .card-branco { padding: 26px; } }
@media (max-width: 600px) { .pagina-container { padding: 40px 16px; } .timeline::before { left: 20px; } .timeline-item { padding-left: 64px; } .timeline-year { width: 44px; height: 44px; font-size: 11px; } }

/* ===== Nossa Equipe ===== */

.eq-resumo { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 16px; margin-bottom: 30px; }
.eq-resumo-card { background: #fff; border-radius: 20px; padding: 22px; box-shadow: 0 8px 24px rgba(0,62,138,.09); border-left: 6px solid #003e8a; text-align: center; }
.eq-resumo-card:nth-child(2) { border-left-color: var(--amarelo); }
.eq-resumo-card:nth-child(3) { border-left-color: var(--verde); }
.eq-resumo-card:nth-child(4) { border-left-color: #1b75bb; }
.eq-resumo-card strong { display: block; color: #003e8a; font-size: 30px; font-weight: 900; }
.eq-resumo-card span { color: #444; font-size: 14px; font-weight: 700; }

.eq-filtros { background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 8px 24px rgba(0,62,138,.09); margin-bottom: 32px; }
.eq-busca { width: 100%; padding: 13px 16px; border: 2px solid #dce9f8; border-radius: 14px; font-size: 15px; outline: none; margin-bottom: 16px; font-family: inherit; }
.eq-busca:focus { border-color: #003e8a; }
.eq-botoes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.eq-btn { border: none; padding: 11px 16px; border-radius: 40px; background: #f4f8fd; color: #003e8a; font-weight: 800; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; font-family: inherit; font-size: 13.5px; }
.eq-btn:hover, .eq-btn.ativo { background: #003e8a; color: #fff; transform: translateY(-2px); }

.eq-setor { margin-bottom: 38px; }
.eq-setor-titulo { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eq-setor-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; flex-shrink: 0; }
.eq-setor-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.eq-setor-titulo h2 { margin: 0; color: #003e8a; font-size: 24px; font-weight: 900; }

.eq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.eq-card { background: #fff; border-radius: 20px; padding: 20px; min-height: 100px; box-shadow: 0 8px 24px rgba(0,62,138,.09); border: 1px solid #dce9f8; border-left: 6px solid #003e8a; }
.eq-card.professores { border-left-color: var(--amarelo); }
.eq-card.apoio { border-left-color: var(--verde); }
.eq-card h3 { margin: 0 0 8px; color: #003e8a; font-size: 16px; font-weight: 800; line-height: 1.3; }
.eq-cargo { display: inline-block; padding: 5px 11px; border-radius: 30px; background: #eef6ff; color: var(--verde); font-size: 12px; font-weight: 800; }

.eq-final { margin-top: 40px; background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; border-radius: 24px; padding: 30px 24px; text-align: center; box-shadow: 0 12px 30px rgba(0,62,138,.18); }
.eq-final h2 { margin: 0 0 10px; color: var(--amarelo); font-size: 24px; font-weight: 900; }
.eq-final p { max-width: 850px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

@media (max-width: 700px) { .eq-grid { grid-template-columns: 1fr; } .eq-btn { width: 100%; } }

/* ===== Perguntas Frequentes ===== */

.faq-item { background: #fff; margin-bottom: 14px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,.07); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 46px 20px 22px; font-size: 16px; font-weight: 700; color: #003f92; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .sinal { position: absolute; right: 20px; top: 18px; width: 22px; height: 22px; color: var(--verde); }
.faq-item summary .sinal svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.5; }
.faq-item summary .sinal .menos { display: none; }
.faq-item[open] summary .mais { display: none; }
.faq-item[open] summary .menos { display: block; }
.faq-conteudo { padding: 0 22px 22px; line-height: 1.8; color: #555; font-size: 15px; }

/* ===== Patrimônio - Consulta ===== */

.pat-container { max-width: 1200px; margin: -60px auto 0; padding: 0 18px 50px; position: relative; z-index: 3; }
.pat-card-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 22px; }
.pat-card { background: #fff; border: 1px solid var(--borda); border-radius: 20px; padding: 18px; box-shadow: 0 12px 30px rgba(0,45,100,.1); }
.pat-card small { display: block; color: #56647a; font-weight: 800; margin-bottom: 6px; font-size: 12.5px; }
.pat-card strong { display: block; font-size: 28px; color: #003f87; font-weight: 900; }

.pat-panel { background: #fff; border-radius: 22px; box-shadow: 0 16px 38px rgba(0,45,100,.12); padding: 22px; margin-bottom: 22px; }
.pat-title { margin: 0 0 16px; font-size: 21px; font-weight: 900; color: #003f87; }
.pat-filtros { display: grid; grid-template-columns: 1fr 2fr 1fr auto; gap: 14px; align-items: end; }
.pat-field label { display: block; font-size: 12.5px; font-weight: 800; margin-bottom: 6px; }
.pat-field input, .pat-field select { width: 100%; border: 1px solid #d4e1f0; background: #fff; padding: 12px 14px; border-radius: 10px; font-size: 14px; outline: none; font-family: inherit; }
.pat-field input:focus, .pat-field select:focus { border-color: #0056b3; box-shadow: 0 0 0 3px rgba(0,86,179,.1); }
.pat-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.pat-btn { border: 0; cursor: pointer; padding: 12px 16px; border-radius: 10px; font-weight: 900; font-family: inherit; transition: transform .2s ease; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; }
.pat-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.pat-btn:hover { transform: translateY(-2px); }
.pat-primary { background: linear-gradient(135deg,#0056b3,#003f87); color: #fff; }
.pat-green { background: linear-gradient(135deg,#2f9e44,#1d7a34); color: #fff; }
.pat-gray { background: #eef3f9; color: #22344d; }
.pat-alerta { background: #fff8e6; border: 1px solid #ffe1a6; color: #6b4b00; padding: 13px 15px; border-radius: 12px; font-size: 13px; line-height: 1.6; margin-top: 14px; }

.pat-table-wrap { overflow: auto; background: #fff; border: 1px solid var(--borda); border-radius: 18px; box-shadow: 0 10px 26px rgba(0,45,100,.08); }
.pat-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.pat-table th { position: sticky; top: 0; background: #003f87; color: #fff; padding: 12px; text-align: left; font-size: 12px; text-transform: uppercase; }
.pat-table td { padding: 11px 12px; border-bottom: 1px solid #edf2f8; font-size: 13.5px; }
.pat-table tr:hover td { background: #f8fbff; }
.pat-table tr.inativo td { background: #e8f8ee; color: #0c5b28; font-weight: 700; }
.pat-badge { padding: 5px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 900; display: inline-block; }
.badge-ativo { background: #eaf2ff; color: #0056b3; }
.badge-inativo { background: #c9f2d6; color: #0c6b2d; }
.pat-info { font-size: 12.5px; color: #5b6b80; line-height: 1.6; margin-top: 12px; }

@media (max-width: 1000px) { .pat-card-grid { grid-template-columns: repeat(2,1fr); } .pat-filtros { grid-template-columns: 1fr; } }
@media print { .pat-panel.pat-filtro-panel, .nao-imprimir, .cabecalho, .site-nav, .breadcrumb, .footer-apae { display: none !important; } }

/* ===== Grid de cards com seta (Transparência) ===== */

.apae-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; margin-bottom: 40px; }
.apae-card {
  position: relative; background: #fff; border-radius: 22px; padding: 26px 22px; min-height: 190px;
  color: var(--azul-escuro); overflow: hidden; border: 1px solid var(--borda); border-left: 6px solid #003e8a;
  box-shadow: 0 10px 26px rgba(0,62,138,.09); transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; display: block;
}
.apae-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,62,138,.16); }
.apae-card.amarelo { border-left-color: var(--amarelo); }
.apae-card.verde { border-left-color: var(--verde); }
.apae-icon { width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.apae-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.apae-card h3 { margin: 0 0 8px; color: #003e8a; font-size: 18px; font-weight: 900; }
.apae-card p { margin: 0; color: #444; font-size: 14px; line-height: 1.6; }
.apae-arrow { position: absolute; right: 20px; bottom: 16px; color: var(--verde); }
.apae-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }

.apae-aviso { margin-top: 10px; background: linear-gradient(135deg,#003e8a,#1b75bb); color: #fff; border-radius: 22px; padding: 30px 24px; text-align: center; box-shadow: 0 12px 30px rgba(0,62,138,.18); }
.apae-aviso h2 { margin: 0 0 8px; color: var(--amarelo); font-size: 24px; font-weight: 900; }
.apae-aviso p { max-width: 850px; margin: 0 auto; font-size: 15px; line-height: 1.7; }

/* ===== Grupos de atendimento (Educação Especial / Assistência Social / Saúde) ===== */

.grupo-titulo { display: flex; align-items: center; gap: 14px; margin: 40px 0 20px; }
.grupo-icone { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.grupo-icone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.grupo-icone.azul { background: linear-gradient(135deg,#003e8a,#1b75bb); }
.grupo-icone.verde { background: linear-gradient(135deg,#2f8b35,#55b947); }
.grupo-titulo h2 { margin: 0; font-size: 22px; color: #003e8a; font-weight: 900; }

.servico-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); gap: 20px; }
.servico-card { background: #fff; border-radius: 22px; padding: 26px; box-shadow: 0 10px 25px rgba(0,0,0,.08); }
.servico-card.azul { border-left: 6px solid #003e8a; }
.servico-card.verde { border-left: 6px solid var(--verde); }
.servico-card .card-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 16px; }
.servico-card .card-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.servico-card.azul .card-icon { background: linear-gradient(135deg,#003e8a,#1b75bb); }
.servico-card.verde .card-icon { background: linear-gradient(135deg,#2f8b35,#55b947); }
.servico-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 800; }
.servico-card.azul h3 { color: #003e8a; }
.servico-card.verde h3 { color: var(--verde); }
.servico-card p { margin: 0; color: #555; line-height: 1.7; font-size: 14.5px; }

/* ===== Notícias ===== */

.noticias-info { max-width: 1100px; margin: -50px auto 30px; padding: 0 16px; position: relative; z-index: 3; }
.noticias-box { background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 12px 30px rgba(0,62,138,.14); border-top: 6px solid var(--amarelo); text-align: center; }
.noticias-box h2 { margin: 0 0 10px; color: #003e8a; font-size: 24px; font-weight: 900; }
.noticias-box p { margin: 0 auto; max-width: 850px; color: #444; font-size: 15px; line-height: 1.75; }
.noticias-atalhos { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.noticias-atalho { text-decoration: none; padding: 11px 18px; border-radius: 40px; background: #f4f8fd; color: #003e8a; font-weight: 800; font-size: 13.5px; border: 1px solid var(--borda); transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.noticias-atalho:hover { background: #003e8a; color: #fff; transform: translateY(-3px); }

/* ===== Doe Agora ===== */

.doe-hero {
  min-height: 260px; padding: 50px 7%; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  background: radial-gradient(circle at 85% 20%, rgba(255,210,0,.28), transparent 24%), linear-gradient(135deg,#003e8a 0%,#0056b3 55%,var(--verde) 100%);
}
.doe-hero-box { max-width: 1050px; }
.doe-selo { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); padding: 8px 18px; border-radius: 30px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.doe-selo svg { width: 16px; height: 16px; fill: currentColor; }
.doe-hero h1 { font-size: 40px; line-height: 1.15; margin: 0 0 16px; font-weight: 900; }
.doe-hero p { font-size: 17px; line-height: 1.7; max-width: 850px; margin: 0 auto; }

.doe-container { max-width: 1200px; margin: 0 auto; padding: 55px 20px; }
.doe-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 30px; align-items: stretch; }

.pix-card { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 16px 38px rgba(0,62,138,.13); border-top: 7px solid var(--amarelo); }
.pix-card h2 { color: #003e8a; font-size: 28px; margin: 0 0 12px; font-weight: 900; }
.pix-card p { font-size: 15.5px; line-height: 1.7; color: #444; margin: 0 0 24px; }
.pix-box { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.qr-area { background: #f1f7ff; border-radius: 20px; padding: 18px; text-align: center; border: 1px solid #dbeafc; }
.qr-area img { width: 180px; height: 180px; display: block; margin: 0 auto 10px; background: #fff; border-radius: 12px; }
.qr-area small { display: block; color: #333; font-weight: 600; font-size: 12px; }
.pix-dados { display: flex; flex-direction: column; gap: 12px; }
.info-box { background: #f7fbff; border: 1px solid #dbeafc; border-radius: 14px; padding: 13px 15px; }
.info-box span { display: block; color: #003e8a; font-size: 11px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.info-box strong { font-size: 14px; color: var(--azul-escuro); word-break: break-word; }
.pix-botoes { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.btn-pix { border: 0; cursor: pointer; padding: 13px 22px; border-radius: 30px; font-family: inherit; font-weight: 800; font-size: 13.5px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .2s ease, box-shadow .2s ease; }
.btn-pix svg { width: 16px; height: 16px; }
.btn-copiar { background: #003e8a; color: #fff; }
.btn-copiar:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(0,0,0,.16); }
.btn-whatsapp { background: linear-gradient(135deg,#25D366,#128C7E); color: #fff; box-shadow: 0 8px 20px rgba(18,140,126,.28); }
.btn-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(18,140,126,.45); }
.btn-whatsapp svg { fill: currentColor; }

.impact-card { background: linear-gradient(160deg,#003e8a,#1b75bb); color: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 16px 38px rgba(0,62,138,.2); position: relative; overflow: hidden; }
.impact-card::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,210,0,.18); right: -80px; bottom: -80px; }
.impact-card h2 { position: relative; z-index: 2; color: var(--amarelo); font-size: 26px; margin: 0 0 16px; font-weight: 900; }
.impact-card p { position: relative; z-index: 2; font-size: 15.5px; line-height: 1.75; margin: 0 0 22px; }
.impact-list { position: relative; z-index: 2; display: grid; gap: 13px; }
.impact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.5; }
.impact-item svg { width: 20px; height: 20px; flex: none; color: var(--amarelo); fill: none; stroke: currentColor; stroke-width: 2.5; margin-top: 2px; }

.seguro-area { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.seguro-card { background: #fff; border-radius: 18px; padding: 22px; text-align: center; box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.seguro-card .icone-seguro { width: 44px; height: 44px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #eef4fb; color: #003e8a; }
.seguro-card .icone-seguro svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seguro-card h3 { margin: 0 0 6px; color: #003e8a; font-size: 18px; }
.seguro-card p { margin: 0; color: #444; font-size: 14px; line-height: 1.6; }

.aviso { margin-top: 32px; background: #fff8d9; border-left: 6px solid var(--amarelo); border-radius: 16px; padding: 20px 24px; color: #3a2f00; font-size: 15px; line-height: 1.65; }
.aviso strong { color: #003e8a; }

@media (max-width: 950px) {
  .doe-grid, .pix-box, .seguro-area { grid-template-columns: 1fr; }
  .doe-hero h1 { font-size: 30px; }
}
@media (max-width: 600px) {
  .pix-botoes { flex-direction: column; }
  .btn-pix { width: 100%; justify-content: center; }
}

/* ===== Segunda leva de cards da home (12 links de acesso rápido) ===== */

.cards-apae-home { width: 100%; padding: 50px 15px; background: #f5f8fd; }
.cards-container2 { max-width: 1300px; margin: auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 22px; }

.card-home {
  position: relative; background: #fff; border-radius: 22px; padding: 28px 24px; min-height: 200px;
  text-decoration: none; color: #1a1a1a; overflow: hidden; border-left: 8px solid #0b4a93;
  box-shadow: 0 10px 26px rgba(0,0,0,.08); transition: transform .25s ease, box-shadow .25s ease;
}
.card-home:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,.13); }
.card-home.card-doe { border-left-color: var(--amarelo); }
.card-home.card-voluntario { border-left-color: var(--verde); }

.icone-card {
  width: 60px; height: 60px; border-radius: 16px; background: linear-gradient(135deg,#0b4a93,#1b75bb);
  display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px;
}
.icone-card svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-home h3 { margin: 0 0 10px; color: #0b4a93; font-size: 19px; font-weight: 800; }
.card-home p { margin: 0; color: #555; line-height: 1.6; font-size: 14px; }
.card-home .seta { position: absolute; right: 22px; bottom: 18px; color: var(--verde); }
.card-home .seta svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.5; }

/* Carrossel do hero: crossfade em opacity -- fluido, sem custo de layout. */
.hero-carrossel { position: relative; width: 100%; overflow: hidden; aspect-ratio: 1448 / 560; background: var(--borda); }
.hero-carrossel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .8s ease;
}
.hero-carrossel img.ativo { opacity: 1; }
.hero-carrossel .pontos { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-carrossel .pontos button {
  width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.6);
  cursor: pointer; padding: 0; transition: background-color .2s ease, transform .2s ease;
}
.hero-carrossel .pontos button.ativo { background: #fff; transform: scale(1.25); }

/* Galeria de fotos + lightbox */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.banner-pagina { width: 100%; display: block; }
.banner-pagina img { width: 100%; height: auto; display: block; }

.secao { width: min(var(--largura), calc(100% - 40px)); margin: 50px auto; }
.secao h2 { font-size: 24px; margin-bottom: 18px; }
.secao .ver-tudo { display: inline-block; margin-top: 16px; color: var(--azul); font-weight: 600; text-decoration: none; }
.secao .ver-tudo:hover { text-decoration: underline; }

.grade-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.grade-fotos button {
  padding: 0; border: none; background: none; cursor: pointer; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/3; line-height: 0;
}
.grade-fotos img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .25s ease;
}
.grade-fotos button:hover img { transform: scale(1.06); }

.lightbox {
  position: fixed; inset: 0; background: rgba(8,45,88,.92); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.aberto { display: flex; opacity: 1; }
.lightbox img { max-width: min(1100px, 100%); max-height: 85vh; border-radius: 8px; }
.lightbox button.fechar {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: none; color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: background-color .15s ease;
}
.lightbox button.fechar:hover { background: rgba(255,255,255,.3); }
.lightbox button.fechar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

.hero-banners { width: 100%; overflow: hidden; }
.hero-banners img { width: 100%; height: auto; display: block; }

.pagina-em-breve {
  width: min(var(--largura), calc(100% - 40px));
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #f7f9fc;
  border: 1px solid var(--borda);
  border-radius: 14px;
}
.pagina-em-breve .tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--amarelo);
  color: var(--azul-escuro);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}
.pagina-em-breve h1 { margin: 0 0 12px; font-size: 28px; }
.pagina-em-breve p { color: var(--cinza); max-width: 640px; margin: 0 auto 10px; line-height: 1.6; }
.pagina-em-breve .links-relacionados { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.pagina-em-breve .links-relacionados a {
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--azul);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform .15s ease, background-color .15s ease;
}
.pagina-em-breve .links-relacionados a:hover { transform: translateY(-2px); background: var(--azul-escuro); }

.pagina-conteudo { width: min(var(--largura), calc(100% - 40px)); margin: 50px auto; line-height: 1.7; }
.pagina-conteudo h1 { font-size: 30px; margin-bottom: 20px; }

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

.footer-apae {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  margin-top: 60px;
  background:
    radial-gradient(circle at top left, rgba(255,212,0,.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(135deg, #003f92 0%, #005ab5 50%, var(--verde) 100%);
}

.footer-container { max-width: 1350px; margin: auto; padding: 45px 20px 35px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.footer-col { position: relative; }
.footer-col:not(:last-child) { border-right: 1px solid rgba(255,255,255,.18); padding-right: 35px; }
.footer-logo { text-align: center; }
.footer-logo img { width: 100px; margin-bottom: 18px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.18)); }
.footer-logo h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.footer-logo p { line-height: 1.8; font-size: 15px; }
.footer-title { color: var(--amarelo); font-size: 20px; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.footer-info { display: flex; gap: 14px; margin-bottom: 16px; line-height: 1.7; }
.footer-info a { color: #fff; text-decoration: none; }
.footer-info a:hover { color: var(--amarelo); }
.footer-icon { width: 36px; height: 36px; min-width: 36px; border-radius: 50%; background: rgba(255,255,255,.15); display: flex; align-items: center; justify-content: center; }
.footer-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 15px; transition: padding-left .2s ease, color .2s ease; display: inline-block; }
.footer-links a:hover { color: var(--amarelo); padding-left: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.18); padding: 18px 20px; }
.footer-bottom-content { max-width: 1350px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #fff; text-decoration: none; }
.footer-bottom a:hover { color: var(--amarelo); }
.footer-dev { display: flex; align-items: center; gap: 12px; }
.footer-dev img { width: 38px; height: auto; object-fit: contain; }
.footer-dev strong { font-weight: 700; }

@media (max-width: 950px) {
  .footer-container { grid-template-columns: 1fr; text-align: center; }
  .footer-col { border: none !important; padding-right: 0 !important; }
  .footer-info { justify-content: center; text-align: left; }
  .footer-bottom-content { flex-direction: column; }
  .footer-dev { justify-content: center; }
}

/* Anima apenas transform/opacity -- fluido em qualquer dispositivo, não força
   reflow de layout como width/height/background-position animados. */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
