/* 🎯 RESET E BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  background: url('banner.jpg') no-repeat center center fixed;
  background-size: cover;
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

html {
  max-width: 100%;
  overflow-x: hidden;
}

/* 🌒 OVERLAY ESCURECEDOR */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: -1;
}

/* 📌 MENU FIXO */
.menu {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.7);
  padding: 10px 0;
  z-index: 1000;
}

.menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.menu ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.menu ul li a:hover {
  color: #ffcc66;
}

/* 🏷️ TÍTULO PRINCIPAL */
.titulo-principal {
  margin-top: 80px;
  font-size: 24px;
  font-weight: bold;
  padding: 10px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  word-break: break-word;
  color: #ffcc66;
}

.titulo-principal h1 {
  margin: 0;
  line-height: 1.2;
}

.subtitulo {
  margin-top: 40px;
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  color: white;
}

/* 📦 SEÇÕES COM FADE */
section {
  padding: 60px 40px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

section p {
  text-align: justify;
  margin: 0 auto;
  max-width: 800px;
  padding: 0 20px;
}

section h1,
section h2 {
  text-align: center;
  margin-bottom: 20px;
}

/* 🧱 LAYOUT FLEXÍVEL */
.content-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: left;
  max-width: 1200px;
  margin: 0 auto;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.text, .image {
  flex: 1 1 500px;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  display: block;
  margin: 0 auto;
}

/* ✨ FADE INDIVIDUAL */
.fade-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-section.visible .fade-element {
  opacity: 1;
  transform: translateY(0);
}

/* 🧘 CARDS DE SERVIÇOS */
.cards-servicos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card-servico {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card-servico:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

#servicos .content-row {
  align-items: flex-start;
  text-align: left;
}

#servicos .image {
  flex: 1 1 40%;
}

#servicos .text {
  flex: 1 1 55%;
}

#servicos .cards-servicos {
  justify-content: flex-start;
}

/* 📞 CONTATO E LOCALIZAÇÃO */
#contato,
#localizacao {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  margin: 40px auto;
  max-width: 900px;
}

#localizacao h1,
#localizacao p {
  color: white;
}

.mapa-container {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* 📍 ÍCONES FLUTUANTES */
.icones-flutuantes {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.icones-flutuantes img {
  width: 50px;
  height: 50px;
}

/* 🔘 BOTÕES DE CONTATO */
.botoes-contato {
  display: inline-flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.botao {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: background 0.3s ease;
  color: white;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.icone-botao {
  width: 20px;
  height: 20px;
}

.botao.whatsapp {
  background-color: #25D366;
}

.botao.whatsapp:hover {
  background-color: #1DA851;
}

.botao.instagram {
  background-color: #E1306C;
}

.botao.instagram:hover {
  background-color: #C1275B;
}

/* 🪟 MODAIS DE SERVIÇOS */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  background-color: rgba(20, 20, 20, 0.95);
  margin: 10% auto;
  padding: 30px 20px;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  color: white;
  text-align: center;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  position: relative;
  animation: fadeInModal 0.5s ease;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #ccc;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #fff;
}

.modal-img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.modal-text {
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  padding: 0 10px;
}

/* 🌿 MÉTODO ALINHAR */
#metodo-alinhar {
  padding: 60px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  max-width: 1200px;
  margin: 60px auto;
}

#metodo-alinhar h1 {
  font-size: 32px;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
}

.descricao-metodo {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: justify;
  padding: 0 20px;
}

.metodo-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.metodo-lado {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.quadro {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.quadro h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #ffcc66;
}

.foto-central {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.foto-central:hover {
  transform: scale(1.05);
}

/* 🎬 Container da imagem com ícone de play */
.video-thumb {
  position: relative;
  display: inline-block;
}

.video-thumb img {
  display: block;
  max-width: 250px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* ▶️ Ícone de play */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: #ffcc66;
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  padding: 10px 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

/* 💻 Hover no desktop */
@media (hover: hover) and (pointer: fine) {
  .video-thumb:hover .play-icon {
    opacity: 1;
  }
}

/* 📱 Sempre visível no celular */
@media (hover: none) and (pointer: coarse),
       screen and (max-width: 768px) {
  .play-icon {
    opacity: 1;
    visibility: visible;
  }
}

/* 🎥 MODAL DE VÍDEO */
#modal-video {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content.video-modal {
  background-color: rgba(20, 20, 20, 0.95);
  margin: 5vh auto;
  padding: 20px;
  border-radius: 16px;
  width: 95vw;
  max-width: 800px;
  max-height: 90vh;
  overflow: auto;
  color: white;
  text-align: center;
  box-shadow: 0 0 30px rgba(0,0,0,0.6);
  position: relative;
  animation: fadeInModal 0.5s ease;
}

.modal-content.video-modal video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.modal-content.video-modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #ccc;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-content.video-modal .close:hover {
  color: #fff;
}

/* 📱 RESPONSIVIDADE */
@media (max-width: 768px) {
  .metodo-container {
    flex-direction: column;
    align-items: center;
  }

  .metodo-lado {
    width: 100%;
    flex: 1 1 100%;
    padding: 0 10px;
  }

  .foto-central img {
    max-width: 200px;
  }

  .descricao-metodo {
    font-size: 1rem;
    padding: 0 10px;
  }

  .quadro h2 {
    font-size: 1.1rem;
  }

  .quadro p {
    font-size: 0.95rem;
  }

  .modal-content.video-modal {
    margin: 20% auto;
    padding: 20px 15px;
  }

  .modal-content.video-modal .close {
    font-size: 24px;
    top: 10px;
    right: 15px;
  }
}

/* ✨ Cor dourada para títulos e negritos */
h1, h2, h3, h4, h5, h6 {
  color: #ffcc66;
}

strong {
  color: #ffcc66;
}
