/* ============================================================
   PORTAL ESCOLAS DO BRASIL - THEME OFICIAL DAS ESCOLAS
   MODELO BOM JARDIM (PADRÃO NACIONAL UNIFICADO)
   ============================================================ */

:root {
  --primary: #1e40af;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #059669;
  --estadual: #7c3aed;
  --estadual-bg: #f5f3ff;
  --estadual-border: #ddd6fe;
  --municipal: #0284c7;
  --municipal-bg: #f0f9ff;
  --municipal-border: #bae6fd;
  --privada: #d97706;
  --privada-bg: #fffbeb;
  --privada-border: #fde68a;
  --dark: #0f172a;
  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --verified-color: #059669;
  --verified-bg: #ecfdf5;
  --verified-border: #a7f3d0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f8fafc;
  color: var(--gray-800);
  line-height: 1.6;
}

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

/* Breadcrumb & Navigation */
.school-nav {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.school-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.875rem;
}

.breadcrumb-list a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb-list a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--gray-400);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--gray-600);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

/* Verification Badge */
.verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--verified-bg);
  border: 1px solid var(--verified-border);
  color: var(--verified-color);
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* School Hero Header */
.school-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
  color: var(--white);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.school-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.school-hero-content {
  position: relative;
  z-index: 1;
}

.school-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-estadual { background: #7c3aed; color: #ffffff; }
.tag-municipal { background: #0284c7; color: #ffffff; }
.tag-privada { background: #d97706; color: #ffffff; }
.tag-urbana { background: rgba(255,255,255,0.2); color: #ffffff; }
.tag-rural { background: #059669; color: #ffffff; }

.school-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.school-hero-subtitle {
  font-size: 1rem;
  color: var(--gray-300);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   BARRA SUPERIOR DE COMPARTILHAMENTO & CONVITE (NOVO)
   ============================================================ */
.school-share-invite-strip {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-bottom: 1px solid #bfdbfe;
  padding: 14px 0;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.04);
}

.share-invite-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.share-invite-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #1e3a8a;
}

.share-invite-callout i.fa-bullhorn {
  font-size: 1.25rem;
  color: #2563eb;
  animation: pulse-speaker 2s infinite ease-in-out;
}

@keyframes pulse-speaker {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15) rotate(-6deg); }
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-social-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  color: #ffffff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.btn-social-share:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.btn-share-zap {
  background: #25D366;
}
.btn-share-zap:hover {
  background: #20ba5a;
}

.btn-share-x {
  background: #000000;
  border: 1px solid #27272a;
}
.btn-share-x:hover {
  background: #18181b;
}

.btn-share-face {
  background: #1877F2;
}
.btn-share-face:hover {
  background: #1565cf;
}

.btn-share-copy {
  background: #ffffff;
  color: #334155 !important;
  border: 1px solid #cbd5e1;
  cursor: pointer;
}
.btn-share-copy:hover {
  background: #f1f5f9;
  color: #0f172a !important;
}

/* Quick Metrics Bar */
.metrics-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
  box-shadow: var(--shadow-sm);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.metric-box {
  padding: 12px 16px;
  border-left: 3px solid #2563eb;
  background: var(--gray-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.metric-box-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
}

.metric-box-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-top: 2px;
}

/* Main Content Area */
.school-main-section {
  padding: 40px 0 80px 0;
}

.school-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

/* Content Cards */
.content-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-100);
}

.card-title i {
  color: #2563eb;
}

/* Data Table / Key Value Pairs */
.kv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.kv-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.kv-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
}

.kv-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 2px;
}

/* Infrastructure Grid */
.infra-badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.infra-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
}

.infra-badge-item.yes {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.infra-badge-item.yes i {
  color: #10b981;
}

.infra-badge-item.no {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.infra-badge-item.no i {
  color: #ef4444;
}

/* Verification Box */
.verification-card {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.verification-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.verification-card p {
  font-size: 0.875rem;
  color: #15803d;
  line-height: 1.5;
}

/* Contact Sidebar */
.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 84px;
  box-shadow: var(--shadow-sm);
}

.contact-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #2563eb;
  color: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9375rem;
  margin-top: 14px;
  transition: var(--transition);
}

.contact-btn-primary:hover {
  background: #1d4ed8;
}

.contact-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 8px;
  transition: var(--transition);
}

.contact-btn-secondary:hover {
  background: var(--gray-200);
}

/* Footer */
.school-footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 32px 0;
  font-size: 0.875rem;
  text-align: center;
  border-top: 1px solid #1e293b;
}

.school-footer a {
  color: #60a5fa;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 860px) {
  .school-layout {
    grid-template-columns: 1fr;
  }
  .kv-grid {
    grid-template-columns: 1fr;
  }
  .school-hero-title {
    font-size: 1.8rem;
  }
  .contact-card {
    position: static;
  }
  .share-invite-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   ESTILOS COMPARTILHADOS PARA HUBS MUNICIPAIS & FILTROS
   ============================================================ */
.city-hero-rich {
  background: linear-gradient(135deg, #1e3a8a 0%, #0284c7 100%);
  color: #ffffff;
  padding: 56px 0 42px 0;
  text-align: center;
  position: relative;
}
.badge-city-uf {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #93c5fd;
  margin-bottom: 14px;
}
.filter-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0 30px 0;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 20px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tab-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}
.tab-btn.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.tab-btn .badge-counter {
  background: rgba(0,0,0,0.08);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.8rem;
}
.tab-btn.active .badge-counter {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
}
.schools-city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 20px;
}
.school-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
}
.school-card-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -3px rgba(0,0,0,0.08);
  border-color: #93c5fd;
}
.search-input-box {
  width: 100%;
  padding: 14px 20px 14px 48px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.search-input-box:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.social-share-strip-top {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 10px 0;
  font-size: 0.85rem;
}
.social-share-strip-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.social-invite-text {
  color: #475569;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.social-btns-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.btn-share-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  color: #ffffff;
  transition: opacity 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn-share-social:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.btn-share-zap { background: #25D366; }
.btn-share-x { background: #0f1419; }
.btn-share-face { background: #1877F2; }
.btn-share-copy { background: #64748b; }
.btn-school-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2563eb;
  color: #ffffff !important;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-school-action:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

/* ============================================================
   DELUXE UI ENHANCEMENTS - BOM JARDIM / PORTAL NACIONAL
   ============================================================ */

.action-bar-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.action-btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.action-btn-call {
  background: #10b981;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}
.action-btn-call:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.35);
}

.action-btn-maps {
  background: #2563eb;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.action-btn-maps:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}

.action-btn-whatsapp {
  background: #22c55e;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}
.action-btn-whatsapp:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.action-btn-copy {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}
.action-btn-copy:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.action-btn-print {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}
.action-btn-print:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Dashboard KPIs do Município */
.kpi-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: -32px auto 36px auto;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  padding: 0 20px;
}

.kpi-dash-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kpi-dash-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.12);
}

.kpi-dash-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.kpi-dash-icon.blue { background: #eff6ff; color: #2563eb; }
.kpi-dash-icon.green { background: #ecfdf5; color: #059669; }
.kpi-dash-icon.amber { background: #fffbeb; color: #d97706; }
.kpi-dash-icon.purple { background: #f5f3ff; color: #7c3aed; }

.kpi-dash-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.kpi-dash-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.kpi-dash-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

/* Ficha Técnica Oficial (Tabela Governamental) */
.ficha-tecnica-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.ficha-tecnica-table tr {
  border-bottom: 1px solid #f1f5f9;
}

.ficha-tecnica-table tr:last-child {
  border-bottom: none;
}

.ficha-tecnica-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.ficha-label-cell {
  width: 38%;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  border-right: 1px solid #f1f5f9;
}

.ficha-value-cell {
  padding: 12px 18px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
}

/* Badges e Filtros Avançados */
.filter-group-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-row-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.filter-pills-row:last-child {
  margin-bottom: 0;
}

.filter-pill-item {
  padding: 7px 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill-item:hover {
  border-color: #93c5fd;
  color: #2563eb;
  background: #eff6ff;
}

.filter-pill-item.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.25);
}

/* Escolas Próximas (Card Grid) */
.related-schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.related-school-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.related-school-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.district-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  margin-bottom: 6px;
}

/* Micro-badge de IDEB com Gradiente */
.ideb-gauge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.ideb-high { background: #dcfce7; color: #15803d; }
.ideb-med { background: #e0f2fe; color: #0369a1; }

/* Print Media Styles */
@media print {
  .school-nav, .action-bar-pills, .contact-card, .school-footer, iframe {
    display: none !important;
  }
  body {
    background: #ffffff;
    color: #000000;
  }
  .content-card {
    border: 1px solid #cccccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}

/* ============================================================
   ESTILOS ADICIONAIS: PORTAL ESTADUAL & CATALOGO DE MUNICIPIOS
   ============================================================ */
.hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 24px;
}
.hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.hub-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(15, 23, 42, 0.12);
  border-color: #93c5fd;
}
.cities-catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.city-card-pe {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.city-card-pe:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px -4px rgba(15, 23, 42, 0.12);
  border-color: #2563eb;
}
