/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', 'Poppins', sans-serif;
  background: linear-gradient(135deg, #e0f2ff, #ffffff);
  background-attachment: fixed;
  color: #1e3a8a;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* Cabeçalho */
header.container {
  background: linear-gradient(90deg, #003366, #003366);
  padding: 40px 0;
  text-align: center;
  color: white;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: 1.5px;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 25px;
  list-style: none;
}

nav a {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  border-color: #e11d48;
  color: #ffdee3;
}

/* Conteúdo principal */
main.container {
  flex: 1;
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInMain 1s ease forwards;
}

@keyframes fadeInMain {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  color: #003366;
}

main p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 50px;
}

/* Seção sobre a escola */
.sobre-escola {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.info {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-top: 6px solid #e11d48;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeUp 0.8s ease forwards;
}

.info:nth-child(1) { animation-delay: 0.2s; }
.info:nth-child(2) { animation-delay: 0.4s; }
.info:nth-child(3) { animation-delay: 0.6s; }
.info:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.info:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.info h3 {
  font-size: 1.6rem;
  color: #003366;
  margin-bottom: 15px;
}

.info p {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
}

/* Rodapé */
footer {
  background-color: #003366;
  color: white;
  padding: 30px 0;
  text-align: center;
  font-size: 1rem;
  border-top: 4px solid #e11d48;
}
.logo-titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.logo-img {
  height: 75px; /* aumenta ou reduz conforme seu gosto */
}

header h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: white;
  margin: 0;
}

/* Menu Responsivo */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 35px;
  right: 20px;
  z-index: 1000;
}

.nav-menu ul {
  flex-direction: row;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    background-color: #003366;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    text-align: center;
    padding: 20px 0;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 15px;
  }
}

.menu a {
  color: var(--branco);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.menu a:hover {
  background: var(--amarelo);
  color: var(--azul);
  transform: translateY(-3px);
}

:root {
  --azul: #003366;
  --vermelho: #cc0000;
  --amarelo: #ffcc00;
  --branco: #ffffff;
}

.nav-menu .menu li a {
  font-size: 16px; /* ou o tamanho que quiser, tipo 14px */
}
