/* ========================================================
   COMPLEXO ESCOLAR PRIVADO GLOBAL LUANDA
   Nome de Comunicação: COLÉGIO GLOBAL LUANDA
   Slogan: "CAMINHO DE SUCESSO"
   Estilo Institucional e Sóbrio (style.css)
   ======================================================== */

:root {
  --primary: #173B73;
  --primary-dark: #102B54;
  --primary-light: #224C8F;
  --secondary: #E87524;
  --secondary-dark: #C85D16;
  --secondary-light: #F28639;
  --white: #FFFFFF;
  --dark: #172033;
  --text: #4B5563;
  --muted: #6B7280;
  --light: #F5F7FB;
  --border: #E5E7EB;
  --border-subtle: #ECEEF2;
  --shadow-sm: 0 1px 3px rgba(23, 32, 51, 0.06);
  --shadow-md: 0 4px 14px rgba(23, 32, 51, 0.08);
  --shadow-lg: 0 10px 28px rgba(23, 32, 51, 0.1);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease-in-out;
}

/* Reset e Base Tipográfica */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utilitários Institucionais */
.text-primary-cgl { color: var(--primary) !important; }
.text-secondary-cgl { color: var(--secondary) !important; }
.text-dark-cgl { color: var(--dark) !important; }
.bg-primary-cgl { background-color: var(--primary) !important; }
.bg-primary-dark-cgl { background-color: var(--primary-dark) !important; }
.bg-secondary-cgl { background-color: var(--secondary) !important; }
.bg-light-cgl { background-color: var(--light) !important; }

/* REGRAS DE LEGIBILIDADE CRÍTICA: Textos e Títulos Claros em Cards e Seções Azuis */
.bg-primary,
.bg-primary-cgl,
.bg-primary-dark-cgl,
.page-header-banner,
.cta-banner-section,
.hero-section,
.card-primary,
.card.bg-primary,
[class*="bg-primary"] {
  color: #FFFFFF !important;
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary h4, .bg-primary h5, .bg-primary h6,
.bg-primary-cgl h1, .bg-primary-cgl h2, .bg-primary-cgl h3, .bg-primary-cgl h4, .bg-primary-cgl h5, .bg-primary-cgl h6,
.bg-primary-dark-cgl h1, .bg-primary-dark-cgl h2, .bg-primary-dark-cgl h3, .bg-primary-dark-cgl h4, .bg-primary-dark-cgl h5, .bg-primary-dark-cgl h6,
.page-header-banner h1, .page-header-banner h2, .page-header-banner h3, .page-header-banner h4, .page-header-banner h5, .page-header-banner h6,
.cta-banner-section h1, .cta-banner-section h2, .cta-banner-section h3, .cta-banner-section h4, .cta-banner-section h5, .cta-banner-section h6,
.hero-section h1, .hero-section h2, .hero-section h3, .hero-section h4, .hero-section h5, .hero-section h6,
[class*="bg-primary"] h1, [class*="bg-primary"] h2, [class*="bg-primary"] h3, [class*="bg-primary"] h4, [class*="bg-primary"] h5, [class*="bg-primary"] h6 {
  color: #FFFFFF !important;
}

.bg-primary p,
.bg-primary-cgl p,
.bg-primary-dark-cgl p,
.page-header-banner p,
.cta-banner-section p,
.hero-section p,
[class*="bg-primary"] p {
  color: rgba(255, 255, 255, 0.95) !important;
}

.bg-primary .text-muted,
.bg-primary-cgl .text-muted,
.bg-primary-dark-cgl .text-muted,
.page-header-banner .text-muted,
.cta-banner-section .text-muted,
.hero-section .text-muted,
.bg-primary .text-white-50,
.bg-primary-cgl .text-white-50,
.bg-primary-dark-cgl .text-white-50,
.page-header-banner .text-white-50,
.cta-banner-section .text-white-50,
.hero-section .text-white-50,
[class*="bg-primary"] .text-muted,
[class*="bg-primary"] .text-white-50 {
  color: rgba(255, 255, 255, 0.88) !important;
}

.bg-primary strong,
.bg-primary-cgl strong,
.bg-primary-dark-cgl strong,
.page-header-banner strong,
.cta-banner-section strong,
.hero-section strong,
[class*="bg-primary"] strong {
  color: #FFFFFF !important;
}

/* Marca Oficial: Logotipo Harmonizado com o Nome do Colégio */
.cgl-brand-info {
  line-height: 1.15;
  text-align: left;
}

.cgl-brand-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary);
  display: block;
}

.cgl-brand-subtitle {
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--secondary);
  display: block;
}

.cgl-brand-slogan {
  font-size: 0.68rem;
  color: #64748B;
  letter-spacing: 0.04em;
  font-style: italic;
  display: block;
}

@media (max-width: 576px) {
  .cgl-brand-title {
    font-size: 0.9rem;
  }
  .cgl-brand-subtitle {
    font-size: 0.72rem;
  }
}

/* Seletor de Idioma Elegante e de Alto Contraste */
.lang-badge-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.lang-badge-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.lang-badge-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(232, 117, 36, 0.3);
}

.lang-badge-btn-dark {
  border-color: #CBD5E1;
  color: #475569;
}

.lang-badge-btn-dark:hover {
  background: #F1F5F9;
  color: var(--primary);
}

.lang-badge-btn-dark.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

/* Botões Institucionais */
.btn-cgl-primary {
  background-color: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-cgl-primary:hover, .btn-cgl-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-cgl-secondary {
  background-color: var(--secondary);
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--secondary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-cgl-secondary:hover, .btn-cgl-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-cgl-outline {
  background-color: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-cgl-outline:hover, .btn-cgl-outline:focus {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-cgl-outline-primary {
  background-color: transparent;
  color: var(--primary);
  font-weight: 600;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-cgl-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Header & Top Bar */
.top-contact-bar {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-contact-bar a {
  color: rgba(255, 255, 255, 0.9);
}

.top-contact-bar a:hover {
  color: var(--secondary);
}

.lang-selector button {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-selector button:hover,
.lang-selector button.active {
  color: var(--secondary) !important;
}

.cgl-navbar {
  background-color: var(--white);
  transition: all 0.25s ease;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  z-index: 1030;
}

.cgl-navbar.navbar-scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 12px rgba(23, 32, 51, 0.06);
}

.cgl-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}

.cgl-navbar .navbar-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.cgl-navbar.navbar-scrolled .navbar-brand img {
  height: 46px;
}

.cgl-navbar .nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: var(--dark);
  padding: 0.5rem 0.8rem !important;
  position: relative;
  transition: var(--transition);
}

.cgl-navbar .nav-link:hover,
.cgl-navbar .nav-link.active {
  color: var(--secondary);
}

.cgl-navbar .dropdown-menu {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
}

.cgl-navbar .dropdown-item {
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition);
}

.cgl-navbar .dropdown-item:hover {
  background-color: var(--light);
  color: var(--primary);
}

/* Badges Sóbrios */
.cgl-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(232, 117, 36, 0.09);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.cgl-badge-primary {
  color: var(--primary);
  background: rgba(23, 59, 115, 0.08);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--white);
  padding: 6.5rem 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(16, 43, 84, 0.93) 0%,
    rgba(23, 59, 115, 0.85) 55%,
    rgba(23, 32, 51, 0.9) 100%
  );
  z-index: 1;
}

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

.hero-slogan-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFA057;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* Faixa de Destaques Rápidos */
.highlights-bar {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
}

.highlight-box {
  background: var(--white);
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  border-top: 3.5px solid var(--secondary);
  transition: var(--transition);
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.highlight-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--primary);
}

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(23, 59, 115, 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* Cards Sóbrios */
.education-card, .activity-card, .news-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.education-card:hover, .activity-card:hover, .news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(23, 59, 115, 0.3);
}

.card-img-holder {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #E5E7EB;
}

.card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.education-card:hover .card-img-holder img,
.activity-card:hover .card-img-holder img,
.news-card:hover .card-img-holder img {
  transform: scale(1.04);
}

/* Blocos de Pilares da Educação Integrada */
.pillar-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.pillar-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(23, 59, 115, 0.08);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Galeria */
.gallery-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--dark);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.gallery-item-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}

.gallery-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item-card:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 32, 51, 0.92) 0%, rgba(23, 32, 51, 0.2) 65%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
}

.gallery-item-card:hover .gallery-item-overlay {
  opacity: 1;
}

/* Banner de Páginas Internas */
.page-header-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0 3.5rem;
  position: relative;
}

/* Banner de Chamada / CTA */
.cta-banner-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  border-top: 3px solid var(--secondary);
}

/* Footer Sóbrio */
.cgl-footer {
  background-color: var(--dark);
  color: #D1D5DB;
  padding: 4.5rem 0 1.5rem;
  border-top: 3.5px solid var(--secondary);
}

.cgl-footer a {
  color: #D1D5DB;
  transition: var(--transition);
}

.cgl-footer a:hover {
  color: var(--secondary);
}

.cgl-footer .footer-logo-img {
  max-height: 54px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1.05rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--secondary);
  color: var(--white);
}

.footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.825rem;
  color: #9CA3AF;
}

/* Floating WhatsApp Button - Expande no hover e sobe suavemente ao alcançar o rodapé */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25D366;
  color: var(--white) !important;
  height: 52px;
  min-width: 52px;
  padding: 0 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  text-decoration: none;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.25s ease,
              box-shadow 0.25s ease,
              padding 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.whatsapp-floating-btn i {
  font-size: 1.45rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

/* O texto Secretaria só aparece ao passar o cursor (hover) */
.whatsapp-floating-btn .whatsapp-label {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.95rem;
  font-weight: 700;
  margin-left: 0;
  letter-spacing: 0.01em;
  transition: max-width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              margin-left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* No Desktop com suporte a hover: expande e revela "Secretaria" */
@media (hover: hover) and (pointer: fine) {
  .whatsapp-floating-btn:hover {
    background-color: #1EBE5D;
    color: var(--white) !important;
    padding: 0 18px 0 16px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.52);
  }

  .whatsapp-floating-btn:hover i {
    transform: scale(1.06);
  }

  .whatsapp-floating-btn:hover .whatsapp-label {
    max-width: 140px;
    opacity: 1;
    margin-left: 8px;
  }
}

/* Animação de subida quando chega à linha dos direitos do rodapé */
.whatsapp-floating-btn.whatsapp-elevated {
  transform: translateY(-62px);
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-floating-btn.whatsapp-elevated:hover {
    transform: translateY(-66px);
  }
}

/* Dispositivos móveis: tamanho compacto, apenas o ícone */
@media (max-width: 767.98px) {
  .whatsapp-floating-btn {
    bottom: 20px;
    right: 18px;
    width: 50px;
    height: 50px;
    min-width: 50px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-floating-btn .whatsapp-label {
    display: none !important;
  }

  .whatsapp-floating-btn.whatsapp-elevated {
    transform: translateY(-58px);
  }
}

/* Formulários */
.cgl-form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.95rem;
  font-size: 0.925rem;
  transition: var(--transition);
  background-color: var(--white);
}

.cgl-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 59, 115, 0.12);
  outline: none;
}

/* ========================================================
   Responsividade Mobile Avançada (Não tudo na vertical)
   Evita padrões genéricos através de grids 2x2, cards horizontais
   e diagramação proporcional e dinâmica para dispositivos móveis
   ======================================================== */

@media (max-width: 991.98px) {
  .hero-section {
    min-height: auto;
    padding: 4.5rem 0 3.5rem;
  }
  .highlights-bar {
    margin-top: -2rem;
  }
}

@media (max-width: 767.98px) {
  /* Espaçamentos de Seções Sóbrios no Mobile */
  section.py-5,
  section[style*="padding: 5rem 0"],
  section[style*="padding: 5.5rem 0"],
  section[style*="padding: 4.5rem 0"] {
    padding: 2.75rem 0 !important;
  }

  /* Títulos de Seção Proporcionais */
  .display-6 {
    font-size: 1.55rem !important;
    line-height: 1.25;
  }

  .cgl-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.65rem;
    letter-spacing: 0.05em;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 3rem 0 2.5rem;
  }

  .hero-slogan-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-size: 1.75rem;
    line-height: 1.22;
    margin-bottom: 0.75rem;
  }

  .hero-desc {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.25rem;
  }

  .hero-cta-group {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    width: 100%;
  }

  .hero-cta-group .btn-cgl-secondary,
  .hero-cta-group .btn-cgl-outline {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.6rem 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  /* 1. Faixa de Destaques: Grid 2x2 Compacto no Mobile */
  .highlights-bar {
    margin-top: -1.25rem;
  }

  .highlight-box {
    padding: 0.75rem 0.7rem;
    gap: 0.6rem;
    border-radius: var(--radius-sm);
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-box .highlight-icon {
    width: 34px;
    height: 34px;
    font-size: 1.1rem;
    border-radius: 6px;
  }

  .highlight-box h6 {
    font-size: 0.76rem;
    letter-spacing: 0.01em;
    margin-bottom: 0.15rem;
  }

  .highlight-box p {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .highlight-box-accent-secondary {
    border-top: 3px solid var(--secondary) !important;
  }

  .highlight-box-accent-primary {
    border-top: 3px solid var(--primary) !important;
  }

  .highlight-box-accent-success {
    border-top: 3px solid #10B981 !important;
  }

  .highlight-box-accent-warning {
    border-top: 3px solid #F59E0B !important;
  }

  /* 2. Pilares da Educação Integrada (Grid 2 colunas equilibrado) */
  .pillar-card {
    padding: 0.75rem 0.7rem;
    border-radius: var(--radius-sm);
  }

  .pillar-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    margin-bottom: 0.4rem;
    border-radius: 6px;
  }

  .pillar-title {
    font-size: 0.8rem !important;
    line-height: 1.25;
  }

  .pillar-desc {
    font-size: 0.7rem !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 3. Níveis de Ensino: Card Horizontal Dinâmico no Mobile */
  .education-card {
    flex-direction: row !important;
    align-items: stretch;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    min-height: 140px;
  }

  .education-card .card-img-holder {
    width: 110px;
    min-width: 110px;
    max-width: 110px;
    height: auto !important;
    align-self: stretch;
  }

  .education-card .card-img-holder img {
    height: 100%;
    object-fit: cover;
  }

  .education-card .education-card-body {
    padding: 0.75rem 0.85rem !important;
  }

  .education-card h5 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem !important;
  }

  .education-card p {
    font-size: 0.75rem !important;
    line-height: 1.35;
    margin-bottom: 0.4rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .education-card .badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.45rem;
    margin-bottom: 0.3rem !important;
  }

  .education-card a {
    font-size: 0.78rem;
  }

  /* 4. Atividades de Apoio ao Plano Curricular: Grid Visual 2 colunas */
  .activity-card {
    border-radius: var(--radius-sm);
  }

  .activity-card .card-img-holder {
    height: 95px !important;
  }

  .activity-card .activity-card-body {
    padding: 0.55rem 0.65rem !important;
  }

  .activity-card h6 {
    font-size: 0.78rem;
  }

  .activity-card p {
    font-size: 0.68rem;
  }

  /* 5. Galeria no Mobile: Grid 2 colunas */
  .gallery-item-card {
    aspect-ratio: 1 / 1 !important;
    border-radius: var(--radius-sm);
  }

  .gallery-item-overlay {
    padding: 0.5rem !important;
  }

  .gallery-item-overlay .badge {
    font-size: 0.62rem !important;
    padding: 0.2rem 0.4rem !important;
    margin-bottom: 0.15rem !important;
  }

  .gallery-item-overlay h6 {
    font-size: 0.74rem !important;
    line-height: 1.2;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  /* 6. Notícias no Mobile: Card Horizontal Dinâmico */
  .news-card {
    flex-direction: row !important;
    align-items: stretch;
    border-radius: var(--radius-sm);
    min-height: 115px;
  }

  .news-card .card-img-holder {
    width: 95px;
    min-width: 95px;
    max-width: 95px;
    height: auto !important;
    align-self: stretch;
  }

  .news-card .card-img-holder img {
    height: 100%;
    object-fit: cover;
  }

  .news-card .news-card-body {
    padding: 0.65rem 0.75rem !important;
  }

  .news-card h6 {
    font-size: 0.82rem;
    margin-bottom: 0.2rem !important;
  }

  .news-card .small.text-muted {
    font-size: 0.68rem !important;
  }

  .news-card a {
    font-size: 0.76rem;
  }

  /* 7. Destaque Bilingue Mobile */
  .bilingual-lang-box {
    padding: 0.75rem !important;
  }

  .bilingual-lang-box > div {
    font-size: 0.8rem !important;
  }

  /* 8. Cards de Diferenciais Locais */
  .local-feature-card {
    padding: 0.65rem 0.7rem !important;
  }

  .local-feature-card .fw-bold {
    font-size: 0.78rem;
  }
}

