/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

/* CONTAINER GERAL */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
header {
  background-color: #004080;
  color: white;
  padding: 0.5rem 0; /* antes era 1rem */
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  width: 60px;
  height: auto;
}

.logo-texto {
  display: flex;
  flex-direction: column;
}

.empresa-nome {
  font-weight: bold;
  font-size: 1.2rem;
}

.slogan {
  font-size: 0.9rem;
  font-style: italic;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* HERO / BANNER */
.hero {
  position: relative;
  background: url('images/imagefundo.png') center center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}

/* Overlay escurecido */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Escurece o fundo */
  z-index: 0;
}

/* Conteúdo acima da camada escura */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Sombra no texto */
}

.hero-content p {
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Sombra no subtítulo */
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

/* SEÇÕES */
.section {
  padding: 60px 20px;
  background-color: white;
  margin-bottom: 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #004080;
}

.servicos {
  list-style: none;
  font-size: 1.1rem;
  padding-left: 0;
}

.servicos li {
  margin-bottom: 1rem;
}

/* RODAPÉ */
footer {
  background-color: #004080;
  color: white;
  text-align: center;
  padding: 1rem 0;
}

/* WHATSAPP FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero {
  padding: 60px 20px 40px; /* diminui o espaçamento inferior */
  }

}

@media (max-width: 480px) {
  .btn-whatsapp {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .logo {
    width: 45px;
  }

  .empresa-nome {
    font-size: 1rem;
  }

  .slogan {
    font-size: 0.8rem;
  }
}
/* ÍCONES DE REDES SOCIAIS NO RODAPÉ */
.social-icons {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

/* MENU DESKTOP */
.desktop-menu {
  display: none;
}

@media (min-width: 768px) {
  .desktop-menu {
    display: block;
  }

  .desktop-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
  }

  .desktop-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
}

/* MENU MOBILE */
.mobile-menu {
  background-color: #004080;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

#menu-toggle {
  font-size: 16px;
  color: #fff;
  background-color: #0066cc;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
  margin-top: 4px;
}


#menu-toggle:hover {
  background-color: #005bb5;
}

#menu-items {
  width: 100%;
  margin-top: 10px;
}

#menu-items li {
  list-style: none;
  margin-bottom: 8px;
}

#menu-items a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 0;
  display: block;
}

/* Mostrar/ocultar menu */
.menu-hidden {
  display: none;
}

.menu-visible {
  display: block;
}

/* Esconder o menu mobile no desktop */
@media (min-width: 768px) {
  .mobile-menu {
    display: none;
  }
}


