/* ====== ESTILO GERAL ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(180deg, #e8f0ff 0%, #b3c7ff 100%);
  color: #222;
}

.logo img {

    max-width: 1000px; 
    width: 100%; 
    height: auto;
    margin-top: 80px;
    margin-bottom: 10px;
}

/* ====== CABEÇALHO ====== */
header {
  text-align: center;
}


h1 {
  font-size: 5em;
  padding: 20px;
  color: #0b1a47;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* ====== HERO ====== */
.hero {
  background: url("img/capa.png") center/cover no-repeat;
  color: white;
  height:35vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-attachment: fixed;
}

.hero h2 {
  font-size: 25px;
  background: rgba(220, 220, 220, 0.5);
  padding: 2rem 2rem;
  border-radius: 8px;
}

/* ====== SEÇÕES ====== */
section {
  padding: 3rem 10%;
}

section h2 {
  color: #0b1a47;
  margin-bottom: 1rem;
  font-size: 1.8rem;
  border-left: 5px solid #0b1a47;
  padding-left: 10px;
}

.sobre p {
  line-height: 1.6;
  margin-top: 1rem;
}


/* ====== SERVIÇOS ====== */
.servicos-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.servico {
  background-color: #ffffffcc;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.servico:hover {
  transform: translateY(-5px);
}

/* ====== FORMULÁRIO ====== */
.orcamento form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.orcamento input,
.orcamento select,
.orcamento textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

.btn-enviar {
  background-color: #0b1a47;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-enviar:hover {
  background-color: #183a8a;
}

/* ====== RODAPÉ ====== */
footer {
  background-color: #0b1a47;
  color: white;
  text-align: center;
  padding: 1rem;
}

/* ====== BOTÃO WHATSAPP FLUTUANTE ====== */
.whatsapp-float {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  background-color: #80ca9b;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

/* ===== ALERTA PERSONALIZADO ===== */
.alerta {
  display: none; /* escondido por padrão */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* fundo escuro translúcido */
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.alerta.mostrar {
  display: flex; /* exibe o alerta */
  animation: fadeIn 0.3s ease;
}

.alerta-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  animation: scaleUp 0.3s ease;
}

.alerta-box p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #0b1a47;
  font-weight: 500;
}

.alerta-box button {
  background-color: #0b1a47;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
}

.alerta-box button:hover {
  background-color: #183a8a;
}

/* Efeitos de animação */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== GALERIA ===== */

.galeria-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.imagem-modal {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 70vh;
  border-radius: 10px;
}

.fechar {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 45px;
  font-weight: bold;
  cursor: pointer;
}

.galeria-controle {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

.galeria-controle button {
  padding: 10px 20px;
  font-size: 22px;
  border: none;
  cursor: pointer;
  background: white;
  border-radius: 8px;
}

.galeria-controle button:hover {
  background: #ddd;
}

/* ===== GALERIA MODERNA ===== */

.galeria-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

.galeria-modal.mostrar {
  display: flex;
}

.galeria-conteudo {
  position: relative;
  max-width: 80%;
  max-height: 80%;
  animation: zoomIn 0.3s ease;
}

.imagem-modal {
  width: 100%;
  height: auto;
  border-radius: 14px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.imagem-modal.zoom {
  transform: scale(1.4);
  cursor: zoom-out;
}

.legenda {
  color: #fff;
  margin-top: 10px;
  text-align: center;
  font-size: 1.2rem;
}

/* Botões de navegação */
.seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 55px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: 0.2s;
}

.seta:hover {
  color: #56aaff;
}

#seta-esq {
  left: -20px;
}

#seta-dir {
  right: -20px;
}

/* Botão fechar */
.fechar {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
}

.fechar:hover {
  color: #ff7070;
}

/* Indicadores (bolinhas) */
.indicadores {
  text-align: center;
  margin-top: 15px;
}

.indicadores span {
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #999;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s;
}

.indicadores .ativo {
  background-color: #fff;
}

/* Animações */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}
