:root {
  --cor-primaria: #004a99;
  --cor-secundaria: #ddd;
  --cor-destaque: #ffffff;
  --cor-menu: #004a998f;
  --cor-seta: #04305edf;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: 'Times New Roman', Times, serif;
  /* evita barra lateral */
}

header {
  background-color: var(--cor-primaria);
  color: var(--cor-destaque);
  display: flex;
  align-items: center;
  padding: 0.3rem 0.11rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

}

.nome-escola {
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
}

.logo-central {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.logo-central img {
  width: 125px;
  height: 125px;
}

/* MENU LATERAL */
#menu-lateral {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: var(--cor-menu);
  transition: left 0.3s ease-in-out;
  padding-top: 5rem;
  z-index: 999;
}

#menu-lateral.show {
  left: 0;
}

#menu-lateral ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 2rem;
}

#menu-lateral a {
  text-decoration: none;
  color: var(--cor-destaque);
  font-weight: bold;
}

/* MENU TOPO */
.menu-topo {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.menu-topo ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.menu-topo a {
  text-decoration: none;
  color: var(--cor-destaque);
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.menu-topo a:hover {
  color: var(--cor-destaque);
}

/* BOTÃO HAMBÚRGUER */
.hamburguer {
  width: 40px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px;
  z-index: 1001;
}

.hamburguer span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: var(--cor-secundaria);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburguer.ativo span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburguer.ativo span:nth-child(2) {
  opacity: 0;
}

.hamburguer.ativo span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ===================== HERO ===================== */
.hero {
  width: 100%;
  overflow: hidden;
  position: fixed;
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  filter: brightness(0.9);
}

/* ===================== HISTÓRIA ===================== */
.historia {
  background-color: var(--cor-destaque);
  color: #222;
  padding: 4rem 2rem;
  text-align: justify;
  line-height: 1.8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.h2-historia {
  text-align: center;
  font-size: 2rem;
  color: var(--cor-primaria);
  margin-bottom: 1.5rem;
}

/* ===================== ENTREVISTA ===================== */
.entrevista {
  background: linear-gradient(180deg, #004a99, #00346e);
  color: var(--cor-destaque);
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.h2-entrevista {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.entrevista-conteudo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  max-width: 1000px;
}

.entrevista-foto img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.entrevista-texto {
  max-width: 600px;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
}

/* ===================== RESPONSIVIDADE ===================== */
@media (max-width: 768px) {

  .entrevista-conteudo {
    flex-direction: column;
  }

  .entrevista-foto img {
    width: 200px;
    height: 200px;
  }
}

body {
  background-color: #f9fafc;
  /* fundo neutro e suave */
  color: #222;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

/* Seções */
section {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito hover suave */
section:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Títulos */
h2 {
  text-align: center;
  color: #004a99;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Parágrafos */
p {
  color: #333;
  font-size: 1.05rem;
  text-align: justify;
}

/* Seção da entrevista */
.entrevista {
  background-color: #004a99;
  color: #fff;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.entrevista p {
  color: #f1f1f1;
}

.h2-entrevista {
  color: #fffef1;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Imagem da diretora */
.entrevista-foto img {
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {

  h2 {
    font-size: 1.6rem;
  }

  p {
    font-size: 1rem;
  }
}

footer {
  background: var(--cor-primaria);
  color: var(--cor-destaque);
  padding: 10px 10px;
  text-align: center;
}

.footer-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-logo {
  width: 100px;
  height: auto;
  border-radius: 50%;
}

.footer-nome {
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.footer-links a {
  color: var(--cor-destaque);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  transform: scale(1.1);
  color: #0870e0;
}

.direitos {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.8;
  align-items: center;
  color: var(--cor-destaque);
}

/* ======= MODAL DE IMAGEM ======= */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-conteudo {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fechar {
  position: absolute;
  top: 25px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.fechar:hover {
  color: #ffeb3b;
}

/* ==================== MOBILE (até 600px) ==================== */
@media (max-width: 600px) {
  header {
    display: flex;
    flex-direction: row;
    /* mantém horizontal */
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem 2.5rem;
    /* espaço extra para a logo */
    position: fixed;
  }

  /* Botão hambúrguer */
  .hamburguer {
    width: 35px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin: 0;
    order: 0;
  }

  .hamburguer span {
    height: 5px;
    border-radius: 3px;
  }

  /* Nome da escola */
  .nome-escola {
    font-size: 1rem;
    position: absolute;
    /* fixa dentro do header */
    top: 58px;
    /* desce */
    left: 50%;
    /* centraliza */
    transform: translateX(-50%);
    margin: 2;
    text-align: center;
    font-weight: bold;
    white-space: nowrap;
    /* impede o texto de quebrar */
  }

  /* Logo central */
  .logo-central {
    position: absolute;
    top: -10px;
    /* ajusta a altura */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    order: 1;
  }

  .logo-central img {
    width: 100px;
    height: 100px;
  }

  .menu-topo {
    width: 81%;
    margin-top: 70px;
    /* encosta mais no header */
    background-color: var(--cor-primaria);
    padding: 0.8rem;
    /* altura mínima */
    line-height: 1;
    /* compacta ainda mais */
    align-items: center;

  }

  /* Esconde barra de rolagem mas mantém scroll */
  .menu-topo::-webkit-scrollbar {
    display: none;
  }

  .menu-topo {
    -ms-overflow-style: none;
    scrollbar-width: none;
    align-items: center;
  }

  .menu-topo ul {
    display: inline-flex;
    gap: 0.8rem;
    /* espaçamento menor */
    padding: 0 0.5rem;
    list-style: none;
  }

  .menu-topo a {
    display: inline-block;
    color: var(--cor-destaque);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    /* fonte menor */
    padding: 0.2rem 0.4rem;
    /* só um respiro */
  }

  .menu-topo a:hover {
    color: #ffdd57;
  }

  #menu-lateral {
    width: 200px;
  }

  .hero {
    width: 400px;
    height: 40px;
    display: flex;
    justify-content: center;
    /* Centraliza na horizontal */
    align-items: center;
    /* Centraliza na vertical */
  }

  .hero-img {
    max-width: 479px;
    height: auto;
    align-items: center;
  }

}

/* ==================== HERO BANNER ==================== */
.hero {
  width: 100%;
  min-width: 100vw;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
  margin: 0;
  padding: 0;
  max-width: 100% !important;
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}