 .menu {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: #003366; /* <- Cor certa do header */
  padding: 20px;
  font-family: Arial, sans-serif;

}

.menu a {
  color: white;
  text-decoration: none;
  position: relative;
  font-weight: bold;
}

 /* ===== HEADER ===== */
.header {
  background: #003366;
  width: 100%;
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 55px;
}

/* MENU DESKTOP */
.menu-desktop {
  display: flex;
  gap: 30px;
}

.menu-desktop a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

/* HAMBURGER */
.hamburger {
  display: none;
  font-size: 32px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

/* MENU MOBILE */
.menu-mobile {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #003366;
  padding: 30px 20px;
  transform: translateX(100%); /* FECHADO */
  transition: transform 0.3s ease;
  z-index: 1001;
}

.menu-mobile .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1002; /* 👈 ESSENCIAL */
}


.menu-mobile.open {
  transform: translateX(0);
}

.menu-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 60px;
}

.menu-mobile nav a {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
}

/* OVERLAY */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 1000;
    display: none;

}

.overlay.show {
  display: block !important; 
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
  #sobre-nos {
    flex-direction: column;      /* 👈 empilha */
    text-align: left;
    padding: 32px 20px;
    margin: 24px 16px;     /* cria respiro lateral */
    border-radius: 20px;  /* reforça formato de card */
    width: 100%;          /* evita colar nas bordas */
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  }

  #sobre-nos .texto-sobre,
  #sobre-nos .imagem-sobre {
    width: 100%;
  }

  #sobre-nos h2 {
  font-size: 22px;
  text-align: left;  }

  #sobre-nos p {
    font-size: 16px;
  }

  #sobre-nos img {
    max-height: 180px;
    margin-top: 20px;
  }
   .sobre-texto {
    max-width: 100%;
  }
  .header-content {
  justify-content: space-between 
  }
   .logo img {
    height: 80px;           /* aumenta a logo */
  }
}
/* ===== CONTAINER ===== */
.sobre-wrapper {
  padding: 40px 16px;
}

/* ===== CARD ===== */
#sobre-nos {
  background-color: #5e82a1;
  color: white;

  max-width: 1200px;
  margin: 0 auto;

  padding: 60px 40px;
  border-radius: 20px;

  display: flex;
  align-items: center;
  gap: 40px;
}

/* TEXTO */
.sobre-texto {
  flex: 1;
}

.sobre-texto h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.sobre-texto p {
  font-size: 20px;
  line-height: 1.5;
  text-align: justify;
}

/* IMAGEM */
.sobre-imagem {
  flex: 1;
  text-align: center;
}

.sobre-imagem img {
  max-width: 100%;
  max-height: 250px;
}
@media (min-width: 769px) {
  .menu-mobile,
  .overlay {
    display: none;
  }
  #sobre-nos {
    flex-direction: row;
    align-items: center;
  }

  .sobre-imagem {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .sobre-imagem img {
    max-height: 250px;
  }

   /* HEADER */
  .header-content {
    gap: 280px;              /* aproxima logo e menu */
  }

  /* LOGO */
  .logo img {
    height: 100px;           /* aumenta a logo */
  }

  .menu-desktop a {
    font-size: 20px;        /* aumenta o texto */
    padding: 6px 0;         /* melhora a área de clique */
  }
   .menu-desktop {
    gap: 50px;              /* aproxima os links entre si */
  }
}

