* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f1f1f1;
  color: #222;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* HERO – textura + gradiente + imagem */
.hero {
  position: relative;
  height: 100vh;
  background:
    linear-gradient(135deg, rgba(15,25,32,0.85), rgba(15,25,32,0.6)),
    url("imagens/galeria/hero-textura.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  display: none;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 700px;
}

.hero-logo {
  width: 360px;
  max-width: 80%;
  margin-bottom: 25px;
  opacity: 0.95;
  transform: scale(1.8);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #c9a24d;
}

.hero p {
  opacity: 0.9;
}

/* BOTÃO COM HOVER */
.btn-primary {
  display: inline-block;
  margin-top: 40px;
  padding: 14px 36px;
  background: #0e4f5c;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #117285;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

/* SEÇÕES */
section {
  padding: 100px 0;
}

h2 {
  text-align: center;
  font-size: 2.4rem;
  margin-bottom: 10px;
}

.section-desc {
  text-align: center;
  opacity: 0.7;
  margin-bottom: 60px;
}

/* ANTES E DEPOIS */
.antes-depois {
  background: linear-gradient(135deg, #0f1920, #1c2e38);
  color: #fff;
}

.grid-antes-depois {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.comparacao {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.img {
  position: relative;
  overflow: hidden;
}

.img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
}

.img span {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  padding: 4px 10px;
  font-size: 0.75rem;
}

.comparacao:hover img {
  transform: scale(1.12);
  filter: contrast(1.1);
}

/* ===== CARROSSEL DUPLO ===== */
.carousel {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease;
}

.slide-duplo {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.slide-duplo .img {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.slide-duplo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 20px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.slide-duplo .img:hover img {
  transform: scale(1.08);
  filter: contrast(1.1);
}

.slide-duplo span {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(0,0,0,0.6);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* MOBILE */
@media (max-width: 700px) {
  .slide-duplo {
    grid-template-columns: 1fr;
  }

  .slide-duplo img {
    height: 300px;
  }
}

/* ===== BOTÕES DO CARROSSEL – ESTILO PREMIUM ===== */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  cursor: pointer;

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  color: #fff;
  font-size: 1.4rem;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: all 0.35s ease;
  z-index: 10;
}

/* POSIÇÃO */
.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

/* HOVER */
.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

/* CLIQUE */
.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* MOBILE – MAIS DISCRETO */
@media (max-width: 600px) {
  .carousel-btn {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }
}

/* ===== LIGHTBOX FULLSCREEN ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(9, 6, 6, 0.95);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox .close {
  position: absolute;
  top: 30px;
  right: 40px;

  color: #fff;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
}


/* VÍDEOS */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-items: center;
}


.videos video {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  height: 400px;
  width: 300px;
  object-fit: cover;
}

/* SERVIÇOS – 3x2 DESKTOP */
.servicos {
  background: #e6e6e6;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.servico-card {
  position: relative;
  background: #fff;
  padding: 40px 20px;
  text-align: center;
  font-weight: 500;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* “Borda” animada */
.servico-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: #0e4f5c;
  transition: all 0.5s ease;
}

/* Hover */
.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Move a borda suavemente para a direita */
.servico-card:hover::before {
  left: calc(100% - 5px);
  background: #22b7d4;
}

/* CONTATO */
.contato {
  background:
    linear-gradient(135deg, rgba(15,25,32,0.9), rgba(15,25,32,0.7)),
    url("imagens/galeria/contato.jpg") center/cover no-repeat;
}

.contato-box {
  max-width: 700px;
  margin: auto;
  text-align: center;
  color: #fff;
}

.contato-box p {
  margin: 20px 0 40px;
  opacity: 0.9;
  color: #c9a24d;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.1rem;
  }

  section {
    padding: 70px 0;
  }

  .servicos-grid {
    grid-template-columns: 1fr;
  }

  .comparacao {
    grid-template-columns: 1fr;
  }
}
