* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #000;
  background-image: url('fotos/fundo5.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* Cabeçalho com vídeo em tela cheia */
.video-header {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: #000;
}

.video-container {
  width: 90%;
  max-width: 1200px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  position: relative;
}


.video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}


.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  margin: -30px 0 0 -30px; /* centraliza */
  border: 8px solid #ccc;
  border-top: 8px solid #00b894; /* cor da barra do spinner */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 5; /* na frente do vídeo */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Seta para rolar para baixo */
.seta-baixo {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  animation: bounce 2s infinite;
}


@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-10px);
  }
}


.video-container video {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0; /* fica atrás do loader */
}

nav {
  background: #111;
  padding: 15px;
  display: flex;
  justify-content: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #00b894;
}

.mensagem {
  padding: 60px 20px;
  text-align: center;
  background: #dcdcdc;
}

.mensagem h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #000000;
}

.galeria {
  padding: 40px 20px;
  background: #111;
  text-align: center;
}

.galeria h2 {
  color: #00b894;
  margin-bottom: 20px;
}

.botoes-galeria button {
  background: #00b894;
  color: white;
  border: none;
  padding: 12px 25px;
  margin: 10px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s ease;
}

.botoes-galeria button:hover {
  background: #00997a;
  transform: scale(1.05);
}

.contato, .agendar {
  padding: 40px 20px;
  text-align: center;
  background: #dcdcdc;
}

.contato h2, .agendar h2 {
  color: #000000;
  margin-bottom: 20px;
}

.contato p {
  font-size: 1.1rem;
  margin: 8px 0;
}

.redes-sociais {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.redes-sociais a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  transition: 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.redes-sociais a.whatsapp { color: #25D366; }
.redes-sociais a.instagram { color: #E4405F; }

.redes-sociais a:hover {
  transform: scale(1.2);
}

.botao-agendar {
  display: inline-block;
  padding: 12px 30px;
  margin: 10px;
  font-size: 1.1rem;
  background-color: #00b894;
  color: white;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.botao-agendar:hover {
  background-color: #00997a;
  transform: scale(1.05);
}

footer {
  background: #0f0f0f;
  padding: 20px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
}

#btn-topo {
  position: fixed;
  bottom: 25px;
  right: 25px;
  padding: 12px 15px;
  font-size: 1.5rem;
  background-color: #00b894;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: 0.3s ease;
  display: none;
}

#btn-topo:hover {
  background-color: #00997a;
}

a[href^="tel:"] {
  text-decoration: none !important;
  color: #000000 !important;
  font-weight: bold;
  font-size: 18px;
}

a[href^="tel:"]:hover {
  text-decoration: underline;
}

/* Responsivo */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .mensagem h2 {
    font-size: 1.5rem;
  }

  .mensagem p {
    font-size: 1rem;
  }

  .botoes-galeria button,
  .botao-agendar {
    width: 90%;
    font-size: 1rem;
    margin: 10px auto;
    display: block;
  }

  .redes-sociais a {
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
  }

  .video-container {
    width: 100%;
    border-radius: 0;
  }

  
  .seta-baixo {
    position: absolute;
    bottom: 120px; /* sobe a seta no mobile */
    left: 50%;
    transform: translateX(-50%);
  }
}

