/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  background-color: #0d47a1;
  color: white;
  overflow-x: hidden;
}

/* NAVBAR FIXA */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: 0 auto;
}

.logo-navbar { height: 45px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav ul li a:hover { color: #00e5ff; }

/* CAPA */
.capa-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.capa-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(1); /* sem escurecer */
}

.logo-central {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.logo-central img {
  width: 320px;
  max-width: 80%;
  height: auto;
  animation: fadeIn 2s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -55%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* SEÇÕES */
section {
  padding: 80px 20px;
  text-align: center;
}

#sobre, #servicos, #contato {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1000px;
  padding: 60px 30px;
}

h2 { color: #00e5ff; margin-bottom: 20px; }
p { line-height: 1.6; }

/* BLOCO SOBRE / NOSSA MISSÃO - PADRONIZAÇÃO DE IMAGENS */
.imagens-sobre {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.imagens-sobre img,
.nossa-missao + img,
.nossa-missao + img + img {
  width: 45%;         /* duas imagens lado a lado */
  height: 250px;      /* altura uniforme */
  object-fit: cover;  /* mantém proporção e corta excesso */
  border-radius: 10px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .imagens-sobre img,
  .nossa-missao + img,
  .nossa-missao + img + img {
    width: 90%;       /* mobile: ocupa quase toda a largura */
    height: auto;     /* mantém proporção */
  }
}


/* SERVIÇOS */
.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.servico-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  max-width: 280px;
  transition: transform 0.3s;
}

.servico-item:hover { transform: scale(1.05); }

.servico-thumb {
  width: 100%;
  height: 200px; /* altura uniforme */
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 10px;
}

.servico-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FORMULÁRIO */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

form input, form textarea {
  width: 80%;
  padding: 12px;
  margin: 8px 0;
  border: none;
  border-radius: 10px;
  resize: none;
  font-size: 1rem;
  color: #000;
}

form textarea { min-height: 120px; }

form button {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  background-color: #00e5ff;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

form button:hover { background-color: #00bcd4; }

/* WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 999;
}

/* FOOTER */
footer {
  background-color: #000000b3;
  padding: 20px;
  text-align: center;
}

footer a {
  color: #00e5ff;
  text-decoration: none;
}

footer a:hover { color: #fff; }

/* RESPONSIVO */
/* === AJUSTE DE IMAGENS PARA CELULARES === */
@media (max-width: 768px) {
  .capa-container {
    height: 70vh; /* reduz altura da capa em celulares */
  }

  .capa-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
  }

  .logo-central img {
    width: 60%;
    max-width: 250px;
  }

  /* Ajuste geral para imagens das seções */
  .imagens-sobre img {
    width: 95%;
    height: auto;
  }
}

