/* =========================================================
   Educação Anguera - novo layout (/novo-site)
   Independente do style.css do site original.
   ========================================================= */
:root {
  --navy: #0c4166;
  --navy-dark: #0a3a5c;
  --yellow: #fdc300;
  --amber: #fdb52c;
  --sky: #e8f2fb;
  --yellow-soft: #fff4cc;
  --orange: #ae5f36;
  --teal: #0098b7;
  --red: #dc4e4e;
  --text: #2b2f33;
  --muted: #5f6770;
  --line: #e3e7eb;
  --bg: #f5f7f9;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 2px 10px rgba(12, 65, 102, .08);
  --shadow-lg: 0 10px 28px rgba(12, 65, 102, .16);
  --font: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-title: "Montserrat", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
img.is-broken { visibility: hidden; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.25; margin: 0; color: var(--navy); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); font-size: .95rem; }
.empty { padding: 40px 0; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-dark); color: #cfe0ec; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 22px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #cfe0ec; white-space: nowrap; }
.topbar a:hover { color: var(--yellow); }
.topbar i { margin-right: 6px; opacity: .8; }

/* ---------- Header ---------- */
.site-header { background: var(--white); position: relative; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 84px; }
/* Cabecalho com mais respiro (todas as paginas); nenhuma pagina tem topo fixo */
@media (min-width: 861px) {
  .header-inner { padding-top: 16px; padding-bottom: 16px; }
}
.brand img { width: 230px; height: auto; }
.nav-wrap { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 18px; padding: 8px 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 2px; }
.main-nav a { position: relative; display: block; padding: 8px 12px 10px; font-family: var(--font-title); font-weight: 700; font-size: 14px; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 1px; height: 3px; border-radius: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.main-nav a:hover { color: var(--navy); }
.main-nav a:hover::after { transform: scaleX(1); opacity: .55; }
.main-nav a.is-active::after { transform: scaleX(1); opacity: 1; }

.search { display: flex; }
.search input { border: 1px solid var(--line); border-right: 0; border-radius: 8px 0 0 8px; padding: 7px 12px; font: inherit; font-size: .9rem; width: 210px; background: var(--bg); }
.search input:focus { background: #fff; border-color: var(--teal); outline: none; }
.search button { border: 0; background: var(--red); color: #fff; padding: 0 14px; border-radius: 0 8px 8px 0; cursor: pointer; font: inherit; font-weight: 700; }
.search button:hover { background: #c43e43; }
.search-lg { margin-bottom: 24px; }
.search-lg input { flex: 1; width: auto; padding: 12px 16px; font-size: 1rem; }
.search-lg button { padding: 0 22px; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* ---------- Page hero (internas) ---------- */
.page-hero { background: linear-gradient(135deg, var(--yellow) 0%, #f9a825 100%); padding: 34px 0 38px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.page-hero h1 { color: var(--navy-dark); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; position: relative; z-index: 1; }
.breadcrumb { margin-bottom: 14px; position: relative; z-index: 1; }
.breadcrumb ol { list-style: none; margin: 0; padding: 7px 16px 7px 12px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; background: rgba(255, 255, 255, .55); border-radius: 999px; font-size: .9rem; line-height: 1.4; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 4px; }
.breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.breadcrumb a, .breadcrumb a:hover { text-decoration: none; }
.breadcrumb a:hover { background: rgba(255, 255, 255, .8); color: var(--navy-dark); }
.breadcrumb .sep { color: rgba(10, 58, 92, .55); font-size: 1.1rem; }
.breadcrumb [aria-current] { color: var(--navy-dark); font-weight: 500; padding: 2px 6px; }

/* ---------- Seções ---------- */
.section { padding: 44px 0; }
.section-alt { background: #fff; }
.section-dark { background: var(--navy); }
.section-dark .section-title, .section-dark .link-more { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.section-title { font-size: 1.6rem; font-weight: 800; padding-left: 14px; border-left: 5px solid var(--yellow); }
.section-sub { margin: 6px 0 0 19px; color: var(--muted); font-size: .95rem; }
.link-more { font-weight: 700; font-size: .95rem; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.arrows { display: flex; gap: 8px; }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; font-size: .95rem; transition: background .15s, color .15s; }
.arrow:hover { background: var(--navy); color: #fff; }
.arrow[disabled] { opacity: .35; cursor: default; background: #fff; color: var(--navy); }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }

/* ---------- Home v2 (baseada nos protótipos do Claude Design) ---------- */
[hidden] { display: none !important; }
.lift { transition: transform .15s, box-shadow .15s; }
.lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sec-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 24px; }
.sec-title { font-size: 1.9rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.sec-title::before { content: ""; width: 6px; height: 32px; border-radius: 3px; background: var(--yellow); display: block; flex: none; }
.sec-sub { margin: 8px 0 0 18px; color: #3d4b57; }
.more { font-weight: 700; }
.btn-navy, .btn-yellow, .btn-white { min-height: 46px; padding: 0 22px; font-size: .95rem; justify-content: center; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); color: #fff; }
.btn-yellow { background: var(--yellow); color: var(--navy-dark); }
.btn-yellow:hover { background: #e6af00; color: var(--navy-dark); }
.btn-white { border-color: #fff; color: #fff; background: transparent; }
.btn-white:hover { background: #fff; color: var(--navy); }
.btn-block { width: 100%; margin-top: 8px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Destaque + agenda */
.hero2 { background: var(--amber); padding: 32px 0; }
.hero2-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 24px; align-items: start; }
.slider { position: relative; background: var(--navy); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 24px rgba(10, 58, 92, .18); }
.slides { position: relative; flex: none; aspect-ratio: 1.73 / 1; background: var(--navy-dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) brightness(.7); }
.slide img { position: relative; width: 100%; height: 100%; }
.arr { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(10, 58, 92, .55); color: #fff; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s, background .2s; }
.arr.prev { left: 12px; }
.arr.next { right: 12px; }
.slider:hover .arr, .arr:focus-visible { opacity: 1; }
.arr:hover { background: rgba(10, 58, 92, .85); }
.dots { position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(10, 58, 92, .25); cursor: pointer; transition: width .2s; }
.dots button.on { width: 28px; background: var(--yellow); }
.side { display: flex; flex-direction: column; gap: 20px; }
.hero2 .card { border-radius: 18px; padding: 22px; box-shadow: none; }
.card h2 { font-size: 1.35rem; margin-bottom: 10px; }
.agenda-card { display: flex; flex-direction: column; padding: 16px 18px !important; }
.agenda-card .card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.agenda-card .card-head h2 { margin: 0; font-size: 1.25rem; }
.agenda-card .card-head a { font-size: .85rem; font-weight: 700; }
.ag-i { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); color: var(--text); }
.ag-i:hover { color: var(--navy); }
.ag-d { flex: none; min-width: 58px; text-align: center; border-radius: 10px; padding: 5px 4px; font-family: var(--font-title); background: var(--sky); color: var(--navy); }
.ag-d.hot { background: var(--navy); color: #fff; }
.ag-d small { display: block; font-size: .75rem; font-weight: 600; }
.ag-d b { display: block; font-size: 1.15rem; font-weight: 800; line-height: 1.1; }
.ag-t { font-weight: 700; line-height: 1.3; font-size: .92rem; }
.calcard { background: var(--navy) !important; color: #fff; }
.calcard h2 { color: #fff; font-size: 1.2rem; }
.calcard p { margin: 6px 0 16px; color: #dbe8f1; font-size: .95rem; }

/* Acessos rápidos */
.quick { background: var(--bg); }
.quick-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; padding-top: 32px; padding-bottom: 32px; align-content: start; }
.q { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 700; color: var(--navy); font-size: .82rem; line-height: 1.25; }
.q:hover { color: var(--navy); }
.q i { width: 46px; height: 46px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; font-size: 1.5rem; font-style: normal; }

/* Notícias + coluna direita */
.news { padding: 56px 0; background: #fff; }
.news-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.ngrid { display: flex; flex-direction: column; gap: 16px; }
.nc { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: stretch; }
/* A moldura da miniatura ocupa toda a altura do cartao; a imagem aparece inteira (sem corte) e o espaco
   que sobra e preenchido por uma copia desfocada dela mesma, sem faixas vazias. */
.nc .ph { position: relative; display: block; background: var(--sky); overflow: hidden; align-self: stretch; min-height: 200px; }
.ph-bg { position: absolute; inset: -16px; background-size: cover; background-position: center; filter: blur(16px) brightness(.95); }
.nc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nc .ph.fb { display: grid; place-items: center; }
.ph.fb { background: var(--navy); display: grid; place-items: center; color: var(--yellow); font-size: 3rem; }
.tx { padding: 16px 22px; display: flex; flex-direction: column; gap: 8px; }
.meta { font-size: .82rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.meta time { margin: 0; display: inline; }
.tag { background: var(--yellow); color: var(--navy-dark); font-weight: 700; border-radius: 6px; padding: 2px 10px; font-size: .75rem; }
.nc h3 { font-size: 1.1rem; line-height: 1.3; text-transform: uppercase; }
.nc .tx { justify-content: center; }
.nc h3 a { color: var(--navy); }
.nc h3 a:hover { text-decoration: underline; }
.nc p { margin: 0; color: #3d4b57; font-size: .95rem; }
.nside { display: flex; flex-direction: column; gap: 20px; }
.side-banner { display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(10, 58, 92, .12); }
.side-banner img { width: 100%; height: auto; }
.side-menu { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.side-menu summary { cursor: pointer; list-style: none; color: var(--navy); font-family: var(--font-title); font-weight: 800; font-size: 1.1rem; padding: 16px 18px; display: flex; justify-content: space-between; align-items: center; background: var(--sky); }
.side-menu summary::-webkit-details-marker { display: none; }
.side-menu summary::after { content: "\f107"; font-family: FontAwesome; font-size: 1.2rem; transition: transform .2s; }
.side-menu[open] summary::after { transform: rotate(180deg); }
.side-menu ul { list-style: none; margin: 0; padding: 4px 18px 10px; }
.side-menu li + li { border-top: 1px solid var(--line); }
.side-menu li a { display: block; padding: 10px 0; color: var(--text); font-size: .93rem; line-height: 1.35; }
.side-menu li a:hover, .side-menu li a.is-active { color: var(--navy); font-weight: 700; }

/* Calendário do mês */
.cal { background: var(--sky); padding: 56px 0; }
.cal-grid { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cal-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 18px; }
.cal-text p { margin: 0; font-size: 1.1rem; color: #2c3a46; max-width: 520px; }
.mini { flex: 1 1 360px; max-width: 460px; background: #fff; border-radius: 16px; padding: 22px; }
.mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.mh b { font-family: var(--font-title); font-size: 1.2rem; color: var(--navy); font-weight: 800; }
.mh-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #c5d3de; background: #fff; display: grid; place-items: center; color: var(--navy); cursor: pointer; font: inherit; }
.mh-nav[disabled] { opacity: .35; cursor: default; background: var(--bg); }
.mh-nav[disabled]:hover { background: var(--bg); }
.mh-nav:hover { background: var(--sky); }
.g7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; }
.g7 .w { font-size: .75rem; font-weight: 700; color: var(--muted); padding: 6px 0; }
.g7 .d { height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 500; }
.g7 .we { background: #e3e9ee; color: var(--muted); }
.g7 .ev { background: var(--yellow); color: var(--navy-dark); font-weight: 700; }
.g7 .td { background: var(--navy); color: #fff; font-weight: 700; }
.leg { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; font-size: .8rem; color: var(--muted); }
.leg span { display: flex; gap: 6px; align-items: center; }
.leg i { width: 12px; height: 12px; border-radius: 50%; display: block; }

/* Escolas */
.esc { padding: 56px 0; background: #fff; }
.esc .chips { align-items: center; }
.esc .chips > span { display: contents; }
.esc .chips input { margin-left: auto; height: 44px; border: 1px solid #9fb3c3; border-radius: 8px; padding: 0 14px; font: inherit; font-size: .95rem; min-width: 240px; }
.school-scroller { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: none; }
.school-scroller::-webkit-scrollbar { display: none; }
.ec { flex: 0 0 300px; scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: var(--text); }
.ec:hover { color: var(--text); }
/* moldura de tamanho fixo (4:3); a imagem aparece inteira e o resto e preenchido por uma copia desfocada */
.ec .ph { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.ec .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ec .tx { flex: 1; }
.ec strong { font-family: var(--font-title); font-size: 1rem; line-height: 1.3; color: var(--navy); }
.ec small { color: var(--muted); font-size: .85rem; line-height: 1.4; }
.ec .go { margin-top: auto; font-weight: 700; font-size: .95rem; color: var(--navy); padding-top: 6px; }
.nuc-badge { align-self: flex-start; background: var(--sky); color: var(--navy); font-weight: 700; font-size: .75rem; border-radius: 6px; padding: 2px 10px; }

/* Fotos / vídeos / projetos / chamada */
.photos { background: var(--amber); padding: 56px 0; }
.photos .sec-title, .photos .more { color: var(--navy-dark); }
.photos .sec-title::before { background: var(--navy-dark); }
.photos .more { text-decoration: none; }
.pc { display: block; background: #fff; border-radius: 14px; overflow: hidden; color: var(--navy); }
.pc .ph { display: block; aspect-ratio: 3 / 2; background: var(--sky); }
.pc .ph img { width: 100%; height: 100%; object-fit: cover; }
.pc .tx { padding: 16px 18px; }
.pc h3 { font-size: 1.05rem; line-height: 1.3; }
.videos { background: var(--navy); padding: 56px 0; }
.videos .sec-title, .videos .more { color: #fff; }
.videos .more { text-decoration: none; }
.proj { padding: 56px 0; background: var(--bg); }
.prow { display: grid; grid-template-columns: 1fr; gap: 20px; }
.pgroup { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.pgroup h3 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.pgroup h3::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--yellow); }
.plist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pj { display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; color: var(--navy); }
.pj:hover { color: var(--navy); border-color: var(--navy); }
.pj-img { display: grid; place-items: center; height: 180px; padding: 18px; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.pj-img img { width: 100%; height: 144px; max-width: 100%; max-height: 144px; object-fit: contain; }
.pj-img b { width: 56px; height: 56px; border-radius: 50%; background: var(--sky); color: var(--navy); display: grid; place-items: center; font-family: var(--font-title); font-size: 1.5rem; }
.pj-name { padding: 14px 14px 16px; text-align: center; font-weight: 700; font-size: .98rem; line-height: 1.3; }
.cta { background: var(--navy); padding: 44px 0; }
.cta-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.cta h2 { color: #fff; font-size: 1.9rem; margin-bottom: 6px; }
.cta p { margin: 0; color: #dbe8f1; font-size: 1.05rem; }
.is-home .site-footer { margin-top: 0; }

/* ---------- Mídia ---------- */
.media-card { display: block; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.media-card:hover { transform: translateY(-3px); }
.media-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.media-title { display: block; padding: 14px 16px 16px; font-family: var(--font-title); font-weight: 700; font-size: .95rem; color: var(--navy); }
.video-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #000 center / cover no-repeat; }
.video-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-thumb .play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: rgba(220, 78, 78, .92); color: #fff; display: grid; place-items: center; font-size: 1.4rem; padding-left: 4px; transition: transform .15s; }
.video-thumb:hover .play { transform: scale(1.1); }
.video-info { padding: 14px 16px 16px; }
.video-info h3 { font-size: .95rem; }
.info-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-card .body { padding: 16px 20px 20px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.banner-item { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.banner-item img { width: 100%; aspect-ratio: 690 / 392; object-fit: cover; cursor: zoom-in; }
.banner-item figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); text-align: center; }
.photo-grid { columns: 4 220px; column-gap: 14px; margin-bottom: 28px; }
.photo { display: block; margin-bottom: 14px; border-radius: 10px; overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.photo img { width: 100%; transition: transform .25s; }
.photo:hover img { transform: scale(1.03); }

/* ---------- Listagens ---------- */
.list { display: grid; gap: 16px; }
.list-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.list-item .thumb { position: relative; align-self: stretch; background: var(--sky); display: block; overflow: hidden; min-height: 180px; }
.list-item .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.list-item .body { padding: 16px 20px 18px 0; }
.list-item:not(:has(.thumb)) .body { padding-left: 20px; }
.list-item:not(:has(.thumb)) { grid-template-columns: 1fr; }
.list-item h2 { font-size: 1.1rem; margin-bottom: 6px; }
.list-item p { margin: 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.download-row { display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow); }
.download-row i { font-size: 1.8rem; color: var(--navy); }
.download-row a { font-family: var(--font-title); font-weight: 700; font-size: .98rem; line-height: 1.3; }
.download-row small { display: block; color: var(--muted); margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chips a, .chips button { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: 6px 14px; border-radius: 999px; font: inherit; font-size: .88rem; font-weight: 500; cursor: pointer; }
.chips a:hover, .chips button:hover { border-color: var(--teal); color: var(--teal); }
.chips .is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Artigo ---------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; min-width: 0; }
.article-title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.article-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.article-figure { margin: 0 0 22px; }
.article-figure img { border-radius: 10px; margin: 0 auto; width: auto; max-width: 100%; max-height: 520px; }
.article-figure.is-logo { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; }
.article-figure.is-logo img { max-height: 300px; border-radius: 8px; }
.article-figure figcaption { text-align: center; font-size: .82rem; color: var(--muted); padding-top: 8px; }
.prose { font-size: 1.04rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose p { margin: 0 0 1em; }
.prose img { height: auto !important; border-radius: 8px; }
.prose a { text-decoration: underline; }
.prose h2, .prose h3, .prose h4 { margin: 1.4em 0 .5em; }
.prose table { max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 10px; }
.prose iframe { max-width: 100%; }
.prose.lead { margin-bottom: 24px; }
.source { color: var(--muted); font-size: .9rem; }
.attachments { margin-top: 32px; }
.attachments h3 { margin-bottom: 14px; }
.attachments .download-row { box-shadow: none; border: 1px solid var(--line); }

/* ---------- Botões / formulários ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 10px; padding: 9px 16px; font: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--teal); color: #fff; padding: 13px 28px; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; }
.btn-primary:hover { background: #007c96; color: #fff; }
.btn-primary[disabled] { opacity: .6; cursor: wait; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 5px; color: var(--navy); }
.form input, .form textarea, .form select { width: 100%; border: 1px solid #cfd6dd; border-radius: 10px; padding: 12px 14px; font: inherit; background: #fff; color: var(--text); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--teal); outline: 3px solid rgba(0, 152, 183, .18); }
.form .is-invalid { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-status { margin: 14px 0 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.ok { color: #1b7f3b; }
.form-status.err { color: var(--red); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list i { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--navy); color: var(--navy); font-size: 1.3rem; }
.contact-list small { display: block; color: var(--muted); margin-top: 6px; line-height: 1.5; }

/* ---------- Agenda ---------- */
.month-filter { margin-bottom: 10px; }
.events { display: grid; gap: 16px; margin: 20px 0; }
.event { display: grid; grid-template-columns: 130px minmax(0, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; scroll-margin-top: 110px; }
.event:target { outline: 3px solid var(--yellow); }
.event-date { background: var(--navy); color: #fff; font-family: var(--font-title); font-weight: 800; padding: 18px 12px; text-align: center; display: grid; place-items: center; font-size: .95rem; }
.event-body { padding: 16px 22px 18px; }
.event-body h2 { font-size: 1.1rem; margin-bottom: 6px; }
.dot { display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--yellow); margin-right: 8px; }

/* ---------- Paginação (markup do LincePaginatorPresenter) ---------- */
.pagination { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 32px 0 0; }
.pagination li a, .pagination li span { display: block; min-width: 38px; text-align: center; padding: 7px 12px; border-radius: 8px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: .9rem; }
.pagination li a:hover { border-color: var(--teal); color: var(--teal); }
.pagination li.active span, .pagination li.active a { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination li.disabled span { opacity: .45; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; background: rgba(5, 20, 33, .92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 24px; }
.lb.is-open { display: flex; }
.lb img { max-width: 100%; max-height: 100%; border-radius: 6px; }
.lb button { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb button:hover { background: rgba(255, 255, 255, .3); }
.lb .lb-close { top: 16px; right: 16px; }
.lb .lb-prev { left: 16px; }
.lb .lb-next { right: 16px; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: #d3e2ee; margin-top: 30px; border-top: 8px solid var(--yellow); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 36px; }
.site-footer h2 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; text-transform: uppercase; }
.site-footer p { margin: 0 0 12px; line-height: 1.65; font-weight: 300; }
.site-footer a { color: #d3e2ee; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .more { color: var(--yellow); font-weight: 700; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.footer-links li { padding: 4px 0; break-inside: avoid; }
.footer-links a::before { content: "\00bb\00a0"; color: var(--yellow); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; }
.footer-contact i { width: 20px; margin-top: 4px; color: #fff; text-align: center; }
.footer-logo { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 14px; margin-bottom: 16px; }
.footer-logo img { height: 48px; width: auto; display: block; }
.footer-copy { border-top: 1px solid #1f5679; padding: 18px 0; font-size: .9rem; color: #b9cddb; }
.footer-copy .container { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.footer-copy .dev { display: inline-flex; align-items: center; gap: 10px; }
.lince-svg { width: 44px; height: auto; fill: rgba(255, 255, 255, .75); display: block; transition: fill .2s; }
.lince:hover .lince-svg { fill: var(--yellow); }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .brand img { width: 190px; }
  .main-nav a { padding: 7px 9px 9px; font-size: 13px; }
  .main-nav a::after { left: 9px; right: 9px; }
  .hero2-grid { grid-template-columns: 1fr; }
  .side { flex-direction: row; }
  .side > * { flex: 1; }
  .news-layout { grid-template-columns: 1fr; }
  .prow { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .q { font-size: .95rem; padding: 20px 14px; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-inner { flex-wrap: wrap; min-height: 68px; gap: 0 12px; }
  .nav-wrap { display: none; width: 100%; align-items: stretch; margin: 0; padding: 4px 0 14px; }
  .nav-wrap.is-open { display: flex; }
  .main-nav ul { flex-direction: column; justify-content: flex-start; }
  .main-nav a { padding: 12px 10px; font-size: .9rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { left: 10px; right: auto; width: 36px; bottom: 6px; }
  .search { order: -1; margin-bottom: 8px; }
  .search input { flex: 1; width: auto; }
  .hide-sm { display: none; }
  .topbar-inner { justify-content: center; gap: 14px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 32px 0; }
  .side { flex-direction: column; }
  .slides { aspect-ratio: 4 / 3; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
        .ec { flex-basis: 78%; }
  .esc .chips input { margin-left: 0; width: 100%; min-width: 0; }
  .sec-title { font-size: 1.5rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nc { grid-template-columns: 1fr; }
  .nc .ph { min-height: 0; aspect-ratio: 16 / 9; align-self: auto; }
  .nc .tx { padding: 14px 18px 18px; }
  .nc h3 { font-size: 1rem; }
  .list-item { grid-template-columns: 1fr; gap: 0; }
  .list-item .thumb { min-height: 0; aspect-ratio: 16 / 9; align-self: auto; }
  .list-item .body { padding: 14px 18px 18px; }
  .article { padding: 20px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .event { grid-template-columns: 1fr; }
  .event-date { padding: 10px; }
  .footer-links { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   Telas do Claude Design: Fale Conosco, Escolas e A Secretaria
   ========================================================= */
.page-hero .hero-intro { margin: 10px 0 0; font-size: 1.1rem; color: #2a3947; position: relative; z-index: 1; }
.rq { color: #b3261e; font-weight: 700; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* ---------- Fale Conosco ---------- */
.contato-wrap { display: flex; flex-direction: column; gap: 48px; }
.contato-cols { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.fcard { flex: 1.6 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 8px 28px rgba(12, 65, 102, .08); }
.fcard h2 { font-size: 1.6rem; margin-bottom: 6px; }
.fcard .lead { margin: 0 0 22px; color: #3d4b57; font-size: 1rem; }
.row2 { display: flex; flex-wrap: wrap; gap: 0 18px; }
.fld { flex: 1 1 240px; display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.fld.full { flex-basis: 100%; }
.fld label { font-weight: 700; font-size: .95rem; color: var(--navy); margin: 0; }
.fld .op { font-weight: 400; color: var(--muted); }
.fld input, .fld select, .fld textarea { width: 100%; border: 1.5px solid #9fb3c3; border-radius: 10px; padding: 0 14px; font: inherit; font-size: 1rem; color: var(--text); background: #fff; min-height: 50px; }
.fld textarea { padding: 12px 14px; min-height: 150px; resize: vertical; line-height: 1.5; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.fld.bad input, .fld.bad select, .fld.bad textarea { border-color: #b3261e; background: #fff8f7; }
.err { display: none; color: #b3261e; font-size: .88rem; font-weight: 500; }
.fld.bad .err, .consent.bad + .consent-err { display: block; }
.help { font-size: .82rem; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }
.help .count { margin-left: auto; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 8px; font-size: .95rem; line-height: 1.5; color: #2c3a46; cursor: pointer; font-weight: 400; }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--navy); flex: none; }
.consent.bad { color: #b3261e; }
.consent-err { margin: -2px 0 6px 34px; }
.sub { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.sub .btn { min-height: 54px; font-size: 1.05rem; padding: 0 32px; }
.ok { text-align: center; padding: 28px 12px; }
.ok .ck { width: 76px; height: 76px; border-radius: 50%; background: #d6f0e0; color: #14532d; display: grid; place-items: center; margin: 0 auto 18px; font-size: 2rem; }
.ok h2 { margin-bottom: 8px; }
.ok p { margin: 0 0 20px; color: #3d4b57; }
.contato-side { flex: 1 1 340px; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.ic2 { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.ic2 > i { width: 50px; height: 50px; border-radius: 50%; background: var(--sky); display: grid; place-items: center; flex: none; color: var(--navy); font-size: 1.3rem; }
.ic2 small { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ic2 b, .ic2 a { font-size: 1.05rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.ic2 span { display: block; font-size: .95rem; color: #3d4b57; }
.ic2 .route { display: inline-block; margin-top: 6px; font-size: .95rem; font-weight: 700; text-decoration: none; }
.ic2 .route:hover { color: var(--teal); }
.contato-map { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 20px rgba(12, 65, 102, .06); }
.contato-map iframe { display: block; width: 100%; height: min(320px, 55vw); min-height: 220px; border: 0; }
.chan-wrap .sec-title { margin-bottom: 20px; }
.chan { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.chan a { display: flex; flex-direction: column; gap: 8px; background: var(--sky); border-radius: 16px; padding: 22px; color: var(--navy); }
.chan a:hover { box-shadow: var(--shadow-lg); }
.chan a b { font-family: var(--font-title); font-size: 1.15rem; }
.chan a span { font-size: .95rem; color: #2c3a46; }
.chan a em { font-style: normal; font-weight: 700; margin-top: 4px; }

/* ---------- Escolas ---------- */
.esc-layout { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.filters { flex: 0 0 270px; position: static; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.filters h2 { font-size: 1.1rem; }
.sbox { position: relative; }
.sbox input { width: 100%; height: 46px; border: 1px solid #9fb3c3; border-radius: 10px; padding: 0 14px 0 42px; font: inherit; font-size: 1rem; }
.sbox i { position: absolute; left: 15px; top: 15px; color: var(--muted); }
.fg { border: 0; padding: 0; margin: 0; }
.fg legend { font-family: var(--font-title); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.ck { display: flex; align-items: center; gap: 10px; min-height: 40px; font-size: 1rem; cursor: pointer; }
.ck input { width: 20px; height: 20px; accent-color: var(--navy); }
.ck small { margin-left: auto; color: var(--muted); font-size: .8rem; }
.clear { background: none; border: 0; color: var(--navy); font-weight: 700; text-decoration: underline; font-size: .95rem; align-self: flex-start; padding: 4px 0; cursor: pointer; }
.esc-list { flex: 1 1 640px; min-width: 0; }
.bar { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.bar .cnt { font-size: 1rem; color: #3d4b57; }
.bar .sort { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: #3d4b57; font-weight: 400; }
.bar select { height: 44px; border: 1px solid #9fb3c3; border-radius: 10px; padding: 0 12px; font: inherit; font-size: .95rem; background: #fff; color: var(--text); }
.sgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.sc { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.sc[hidden] { display: none; }
.sc .ph { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--sky); overflow: hidden; }
.sc .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc .ph.fb { background: var(--navy); display: grid; place-items: center; color: var(--yellow); font-size: 3rem; }
.sc .tx { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bd { display: flex; flex-wrap: wrap; gap: 6px; min-height: 0; }
.bd span { font-size: .75rem; font-weight: 700; border-radius: 6px; padding: 2px 9px; background: var(--sky); color: var(--navy); }
.bd span.y { background: var(--yellow); color: var(--navy-dark); }
.sc h3 { font-size: 1.05rem; line-height: 1.3; }
.sc h3 a { color: var(--navy); }
.sc h3 a:hover { text-decoration: underline; }
.sc p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.5; }
.sc .act { margin-top: auto; padding-top: 6px; }
.sc .act a { font-weight: 700; font-size: .95rem; }
.empty { text-align: center; padding: 48px 16px; background: #fff; border: 1px dashed var(--line); border-radius: 14px; color: #3d4b57; }
.empty b { font-family: var(--font-title); color: var(--navy); font-size: 1.2rem; }
.empty p { margin: 8px 0 0; }

/* ---------- A Secretaria ---------- */
.sec-layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.toc { flex: 0 0 250px; position: static; align-self: flex-start; }
.toc h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc nav a { display: block; padding: 10px 14px; border-left: 3px solid var(--line); color: var(--text); font-weight: 500; font-size: .95rem; }
.toc nav a:hover { background: var(--sky); }
.toc nav a.on { border-left-color: var(--yellow); background: var(--sky); color: var(--navy); font-weight: 700; }
.btn-block-s { margin-top: 18px; width: 100%; justify-content: center; min-height: 44px; }
.sec-content { flex: 1 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 56px; }
.stats { display: flex; flex-wrap: wrap; gap: 16px; }
.st { flex: 1 1 180px; background: var(--sky); border-radius: 14px; padding: 18px 20px; }
.st b { display: block; font-family: var(--font-title); font-weight: 800; font-size: 25px; color: var(--navy); line-height: 1.1; }
.st span { font-size: .88rem; color: #3d4b57; }
.blk h2 { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 12px; margin-bottom: 18px; scroll-margin-top: 24px; }
.blk h2::before { content: ""; width: 6px; height: 28px; border-radius: 3px; background: var(--yellow); flex: none; }
.blk > p { margin: 0 0 14px; font-size: 1.05rem; line-height: 1.65; color: #2c3a46; max-width: 760px; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 12px; padding: 18px 20px; margin: 6px 0 16px; max-width: 760px; }
.callout b { color: var(--navy); }
.callout p { margin: 0; font-size: 1rem; }
.tl { list-style: none; margin: 0; padding: 0 0 0 6px; border-left: 3px solid var(--line); display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.tl li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; padding: 10px 0 10px 22px; position: relative; }
.tl li::before { content: ""; position: absolute; left: -12px; top: 50%; margin-top: -7px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); }
.tl li.cur::before { background: var(--yellow); }
.tl .y { min-width: 96px; font-family: var(--font-title); font-weight: 800; color: var(--navy); }
.tl .n { font-weight: 500; }
.tl .mu { color: var(--muted); font-style: italic; }
.pill { background: var(--yellow); color: var(--navy-dark); font-weight: 700; font-size: .75rem; border-radius: 6px; padding: 2px 10px; margin-left: 6px; }
.pill.o { background: var(--sky); color: var(--navy); }
.org { display: flex; flex-direction: column; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 28px 20px; }
.lv { width: 100%; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.lbl { width: 100%; text-align: center; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.bx { background: #fff; border: 2px solid var(--navy); border-radius: 10px; padding: 10px 14px; font-weight: 700; font-size: .88rem; color: var(--navy); text-align: center; flex: 1 1 150px; max-width: 230px; display: flex; align-items: center; justify-content: center; }
.bx.top { background: var(--navy); color: #fff; max-width: 300px; font-size: 1rem; padding: 14px 20px; }
.bx.as { border-style: dashed; max-width: 240px; }
.bx.sm { font-size: .8rem; font-weight: 500; border-width: 1px; border-color: #9fb3c3; flex: 1 1 130px; max-width: 190px; }
.cn { width: 3px; height: 24px; background: var(--navy); }
.sub-h { font-family: var(--font-title); font-weight: 700; font-size: 1.1rem; color: var(--navy); margin: 26px 0 12px; }
.nuc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.nuc h3 { font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.nuc h3 span { font-family: var(--font); font-size: .75rem; font-weight: 700; background: var(--sky); border-radius: 6px; padding: 2px 8px; color: var(--navy); white-space: nowrap; }
.nuc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.two-lst { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 32px; }
.lst { list-style: none; margin: 0; padding: 0; }
.lst li { border-top: 1px solid var(--line); padding: 9px 0; font-size: .95rem; color: var(--text); }
.blk > p.more-p { margin: 32px 0 0; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.fc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.fc > i { width: 48px; height: 48px; border-radius: 12px; background: var(--sky); display: grid; place-items: center; margin-bottom: 12px; color: var(--navy); font-size: 1.3rem; }
.fc h3 { font-size: 1.15rem; margin-bottom: 8px; }
.fc p { font-size: 1rem; margin: 0; }
.cons { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin: 8px 0 16px; }
.cons a, .cons .cons-item { display: flex; flex-direction: column; gap: 6px; background: var(--bg); border-radius: 12px; padding: 16px 18px; color: var(--navy); font-weight: 700; border: 1px solid var(--line); }
.cons a:hover { border-color: var(--navy); }
.cons small { font-weight: 400; color: var(--muted); font-size: .88rem; }

@media (max-width: 1080px) {
  .filters { position: static; flex: 1 1 100%; }
  .toc { position: static; flex: 1 1 100%; }
  .toc nav { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc nav a { border: 2px solid var(--line); border-radius: 999px; padding: 8px 14px; }
  .toc .btn, .toc h2 { display: none; }
}
@media (max-width: 700px) {
  .fcard { padding: 22px; }
  .sgrid { grid-template-columns: 1fr; }
}

/* ---------- Calendario Escolar ---------- */
.cp { display: flex; flex-direction: column; gap: 48px; }
.cp .sec-title { margin-bottom: 24px; }
.cp-docs { display: grid; gap: 16px; }
.cp-doc { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--yellow); border-radius: 16px; padding: 24px 28px; box-shadow: 0 6px 20px rgba(12, 65, 102, .08); }
.cp-pdf { width: 68px; height: 80px; border-radius: 10px; background: var(--navy); color: #fff; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 10px; font-family: var(--font-title); font-weight: 800; font-size: .95rem; position: relative; flex: none; }
.cp-pdf::before { content: ""; position: absolute; right: 0; top: 0; border-style: solid; border-width: 0 20px 20px 0; border-color: transparent #fff transparent transparent; }
.cp-dt { flex: 1 1 360px; min-width: 0; }
.cp-dt small { display: block; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-size: .75rem; margin-bottom: 4px; }
.cp-dt h2 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 6px; text-transform: uppercase; }
.cp-mt { font-size: .88rem; color: var(--muted); }
.cp-ac { display: flex; flex-wrap: wrap; gap: 10px; }
.cp-texto { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 28px; }
.cp-calw { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.cp-mview { flex: 2 1 520px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.cp-mtop { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.cp-mtop h3 { font-size: 1.6rem; font-weight: 800; }
.cp-nv { display: flex; gap: 8px; align-items: center; }
.cp-nv button, .cp-nv select { height: 46px; min-width: 46px; border-radius: 10px; border: 1px solid #c5d3de; background: #fff; color: var(--navy); font-weight: 700; padding: 0 12px; font-family: inherit; font-size: 1rem; cursor: pointer; }
.cp-nv button:hover { background: var(--sky); }
.cp-g7 { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cp-g7 .w { font-size: .8rem; font-weight: 700; color: var(--muted); text-align: center; padding: 6px 0; text-transform: uppercase; letter-spacing: .04em; }
.cp-g7 .dy { height: 104px; min-height: 0; overflow: hidden; border-radius: 10px; padding: 4px 6px; font-weight: 500; display: flex; flex-direction: column; justify-content: space-between; gap: 2px; background: #fff; border: 1px solid #edf1f4; font-size: 1rem; }
.cp-g7 .dy.o { visibility: hidden; }
.cp-g7 .dy.we { background: #eef1f4; color: var(--muted); }
.cp-g7 .dy.ho { background: #cfe4f6; color: var(--navy); border-color: #9fc3dd; font-weight: 700; }
.cp-g7 .dy.ev { background: var(--yellow); color: var(--navy-dark); font-weight: 700; border-color: #e2ac00; }
.cp-g7 .dy.td { outline: 3px solid var(--navy); outline-offset: 1px; font-weight: 800; }
.cp-g7 .dy small { font-size: .66rem; line-height: 1.1; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; overflow-wrap: break-word; hyphens: auto; margin-top: auto; }
.cp-leg { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 16px; font-size: .88rem; color: #3d4b57; }
.cp-leg span { display: flex; gap: 8px; align-items: center; }
.cp-leg i { width: 16px; height: 16px; border-radius: 5px; display: block; border: 1px solid #c5d3de; }
.cp-hn { font-size: .88rem; color: var(--muted); margin: 10px 0 0; }
.cp-mside { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.cp-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; max-height: 440px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.cp-card h3 { font-size: 1.15rem; margin-bottom: 10px; position: sticky; top: -20px; background: #fff; padding: 20px 0 6px; margin-top: -20px; z-index: 1; }
.cp-ml { list-style: none; margin: 0; padding: 0; }
.cp-ml li { display: flex; gap: 14px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.cp-ml .d { min-width: 52px; text-align: center; border-radius: 10px; padding: 6px 4px; font-family: var(--font-title); background: var(--sky); color: var(--navy); line-height: 1.1; flex: none; }
.cp-ml .d b { display: block; font-size: 1.25rem; font-weight: 800; }
.cp-ml .d small { font-size: .7rem; font-weight: 600; }
.cp-ml .d.ev { background: var(--yellow); color: var(--navy-dark); }
.cp-ml .t { font-weight: 700; line-height: 1.3; }
.cp-ml .s { font-size: .88rem; color: var(--muted); }
.cp-ml .emp { color: var(--muted); padding: 12px 0; display: block; }
.cp-sync { background: var(--navy); color: #fff; border-radius: 16px; padding: 22px; }
.cp-sync h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.cp-sync p { margin: 0 0 14px; color: #dbe8f1; font-size: .95rem; }
.cp-year { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cp-yc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 16px; text-align: left; font: inherit; cursor: pointer; color: var(--text); }
.cp-yc:hover { box-shadow: 0 8px 22px rgba(12, 65, 102, .14); }
.cp-yc.cur { border: 2px solid var(--navy); }
.cp-yc h4 { font-size: 1rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.cp-yc h4 span { font-family: var(--font); font-size: .75rem; color: var(--muted); font-weight: 700; }
.cp-mg { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; text-align: center; font-size: .7rem; }
.cp-mg i { font-style: normal; height: 22px; line-height: 22px; border-radius: 5px; }
.cp-mg .wd { color: var(--muted); font-weight: 700; }
.cp-mg .we { background: #eef1f4; color: var(--muted); }
.cp-mg .ho { background: #cfe4f6; color: var(--navy); font-weight: 700; }
.cp-mg .ev { background: var(--yellow); color: var(--navy-dark); font-weight: 700; }
.cp-mg .td { background: var(--navy); color: #fff; font-weight: 700; }
.cp-rel { background: var(--sky); border-radius: 16px; padding: 24px 26px; }
.cp-rel h2 { font-size: 1.35rem; margin-bottom: 12px; }
.cp-rel a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid #c5d3de; font-weight: 500; color: var(--navy); }
.cp-rel a span { font-weight: 700; font-size: .8rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 700px) {
  .cp-g7 .dy { height: 46px; padding: 4px; }
  .cp-g7 .dy small { display: none; }
  .cp-mview { padding: 16px; }
  .cp-doc { padding: 20px; }
}

/* ---------- Banners ---------- */
.bn-bar { margin-bottom: 20px; font-size: 1rem; color: #3d4b57; }
.bn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.bn-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.bn-th { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--sky); overflow: hidden; margin: 0; cursor: zoom-in; }
.bn-bg { position: absolute; inset: -14px; background-size: cover; background-position: center; filter: blur(14px) brightness(.92); }
.bn-th img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.bn-th:hover img { transform: scale(1.03); }
.bn-zoom { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10, 58, 92, .9); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.bn-th:hover .bn-zoom, .bn-th:focus-visible .bn-zoom { opacity: 1; }
.bn-tx { padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bn-tx time { font-size: .85rem; color: var(--muted); }
.bn-tx h3 { font-size: 1.05rem; line-height: 1.3; }
.bn-act { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 6px; }
.bn-act a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--navy); min-height: 36px; }
.bn-act a:hover { color: var(--teal); }
@media (max-width: 700px) { .bn-grid { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .plist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .pj-img { height: 150px; } .pj-img img { height: 114px; max-height: 114px; } }
/* legenda e acoes dentro do visualizador de imagens */
.lb-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 24px 18px; text-align: center; color: #fff; background: linear-gradient(transparent, rgba(5, 20, 33, .9)); }
.lb-cap b { display: block; font-family: var(--font-title); font-size: 1.05rem; }
.lb-cap span { font-size: .88rem; color: #cfe0ec; }
.lb-cap a { display: inline-flex; align-items: center; gap: 6px; margin: 8px 8px 0; padding: 6px 14px; border-radius: 999px; border: 1px solid #6f93ad; color: #fff; font-weight: 700; font-size: .88rem; }
.lb-cap a:hover { background: rgba(255, 255, 255, .15); }
.lb img { max-height: calc(100% - 120px); }

/* ---------- Anexos e tiles ---------- */
.att-count { font-family: var(--font); font-size: .9rem; font-weight: 500; color: var(--muted); }
.att-selects { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.att-selects label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.att-selects select { min-width: 200px; height: 46px; border: 1.5px solid #9fb3c3; border-radius: 10px; padding: 0 12px; font: inherit; background: #fff; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin: 24px 0; }
.tile { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--navy); }
.tile:hover { box-shadow: var(--shadow-lg); color: var(--navy); }
.tile img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--sky); }
.tile span { padding: 14px 16px 16px; font-family: var(--font-title); font-weight: 700; line-height: 1.3; }
.tile small { display: block; margin-top: 6px; font-family: var(--font); font-weight: 700; color: var(--teal); }

/* ---------- Impressao ---------- */
@media print {
  .topbar, .site-header, .site-footer, .page-hero, .article-actions, .two-col > aside, .sec-layout > .toc,
  .attachments .chips, .att-selects, .nav-toggle, .lb { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding: 0; }
  .container { max-width: none; padding: 0; }
  .two-col { display: block; }
  .article { border: 0; box-shadow: none; padding: 0; background: #fff; }
  .article-title { font-size: 20pt; }
  .prose img, .article-figure img { max-width: 100%; page-break-inside: avoid; }
  a { color: #000; text-decoration: none; }
}
