html {
    scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --cor-fundo: #1a1a1a;
  --cor-texto: #ffffff;
  --cor-texto-sec: #cccccc;
  --cor-destaque: #f39c12; /* Laranja Drywall */
  --cor-detalhe: #2c2c2c;
  --transicao: 0.3s ease;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--cor-texto);
  background: var(--cor-fundo);
  line-height: 1.6;
  overflow-x: hidden;
}

/* =========================================
   2. HEADER & LOGO
   ========================================= */
.header-topo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
  background: linear-gradient(to bottom, #111, var(--cor-fundo));
}

.logo {
  width: 200px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--transicao), box-shadow var(--transicao);
}

.logo:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
}

.info h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.info p {
  color: var(--cor-texto-sec);
  font-weight: 300;
}


/* =========================================
   3. CARROSSEL (SERVIÇOS)
   ========================================= */
.servicos {
  padding: 60px 20px;
}

.servicos h2 {
  margin-bottom: 30px;
  color: var(--cor-destaque);
  text-transform: uppercase;
}

.carrossel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden; 
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1); /* 🔥 leve zoom */
  transition: transform 1s ease;
}

/* Legendas do Carrossel */
.legenda {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  text-align: left;
  z-index: 5;
}

.legenda h3 {
  color: var(--cor-destaque);
  margin-bottom: 5px;
}

/* Controles (Setas e Dots) */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  padding: 15px 20px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transicao);
  border-radius: 0 5px 5px 0;
}

.next { right: 0; border-radius: 5px 0 0 5px; }
.prev:hover, .next:hover { background: var(--cor-destaque); }

.dots {
  margin-top: 15px;
}

.dots span {
  height: 12px;
  width: 12px;
  background: #555;
  display: inline-block;
  margin: 0 6px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transicao);
}

.dots span.active {
  background: var(--cor-destaque);
  transform: scale(1.3);
}

/* =========================================
   4. GALERIA & CONTATO
   ========================================= */
.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.galeria img {
  width: 350px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: var(--transicao);
  filter: grayscale(30%);
}

.galeria img:hover {
  filter: grayscale(0%);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

/* Seção Contato */
.contato {
  background: var(--cor-detalhe);
  margin-top: 50px;
  border-radius: 20px 20px 0 0;
}

.email {
  margin: 20px 0;
}

.email a {
  color: var(--cor-texto-sec);
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transicao);
}

.email a:hover { color: var(--cor-destaque); }
.botoes {
    display: flex;          /* Transforma a div em um container flexível */
    justify-content: center; /* Alinha os botões no centro horizontal */
    gap: 20px;              /* Cria o espaço de 20px entre um botão e outro */
    width: 100%;            /* Garante que a div ocupe a largura toda da página */
    margin-top: 20px;       /* Dá um respiro em relação ao e-mail acima */
}

.botoes a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  margin: 0 10px;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  text-decoration: none;
  transition: var(--transicao);
}

.whatsapp { background: #25D366; }
.instagram { background: #E1306C; }

.botoes a:hover {
  transform: translateY(-5px) rotate(8deg);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =========================================
   5. ANIMAÇÕES & RESPONSIVIDADE
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .header-topo { flex-direction: column; text-align: center; }
  .slide { height: 300px; }
  .info h1 { font-size: 1.5rem; }
  .galeria img { width: 100%; margin: 0 10px; }
  .prev, .next { padding: 10px 15px; }
}
.contato {
  background: var(--cor-detalhe);
  margin-top: 50px;
  border-radius: 20px 20px 0 0;
  text-align: center; /* 🔥 centraliza tudo */
  padding: 40px 20px;
}

.contato h2 {
  margin-bottom: 20px;
}
.antes-depois {
  padding: 60px 20px;
  text-align: center;
}

.antes-depois h2 {
  color: var(--cor-destaque);
  margin-bottom: 40px;
}

/* ANTES (duas imagens lado a lado) */
.antes {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.antes .item {
  position: relative;
}

.antes img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

/* DEPOIS (imagem maior embaixo) */
.depois {
  position: relative;
}

.depois img {
  width: 600px; /* 🔥 maior */
  max-width: 90%;
  border-radius: 12px;
}

/* LABELS */
.depois {
  position: relative;
  display: inline-block;
}
.depois span {
    position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(0,0,0,0.7);
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  .antes {
    flex-direction: column;
    align-items: center;
  }

  .antes img {
    width: 100%;
    height: auto;
  }

  .depois img {
    width: 100%;
  }
}
.item img,
.depois img {
  opacity: 1;
  transform: translateY(20px);
  will-change: transform, opacity;
  animation: subirFade 0.8s ease forwards;
}

@keyframes subirFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.antes .item:nth-child(1) img {
  animation-delay: 0.2s;
}

.antes .item:nth-child(2) img {
  animation-delay: 0.4s;
}

.depois img {
  animation-delay: 0.6s;
}
.item span,
.depois span {
  opacity: 1;
  transform: translateY(10px);
  animation: labelFade 0.6s ease forwards;
  animation-delay: 0.8s;
}

@keyframes labelFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.item img:hover,
.depois img:hover {
  transform: translateY(0) scale(1.03);
  transition: transform 0.3s ease;
}
.propaganda-container {
    text-align: center;
    padding: 40px 20px;
    background-color: #1a1a1a; /* Mantendo seu fundo escuro */
    color: white;
    font-family: sans-serif;
}

.propaganda-container h2 {
    color: #ffd700; /* Um tom de destaque (ex: dourado/amarelo) para o título */
    margin-bottom: 10px;
}

.beneficios {
    max-width: 600px;
    margin: 30px auto; /* Centraliza o bloco da lista */
    text-align: left; /* Texto da lista alinhado à esquerda para leitura fácil */
}

.beneficios ul {
    list-style: none; /* Tira as bolinhas padrão */
    padding: 0;
}

.beneficios li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.beneficios li::before {
    content: "✔️"; /* Ícone simples antes de cada item */
    position: absolute;
    left: 0;
}
/* da galeria de fotos */
/* Container que segura todas as fotos */
.grade-fotos {
    display: grid;
    /* Cria colunas de no máximo 250px. Se a tela diminuir, elas se ajustam sozinhas */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px; /* Espaço entre as fotos */
    padding: 20px;
}

/* Ajuste individual de cada foto */
.item-galeria {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-galeria img {
    width: 100%;       /* Ocupa toda a largura da coluna de 250px */
    height: 250px;      /* Altura fixa para todas ficarem iguais */
    object-fit: cover;  /* Corta a imagem levemente para preencher o quadrado sem esticar */
    border-radius: 8px; /* Cantos arredondados */
    transition: transform 0.3s; /* Efeito suave ao passar o mouse */
}

/* Efeito opcional: a foto aumenta um pouco quando passa o mouse */
.item-galeria img:hover {
    transform: scale(1.05);
}

.item-galeria figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #ccc;
    text-align: center;
}