/*
 * ESTILOS DEFINITIVOS E CONSOLIDADOS DO INDEX.HTML (COM RODAPÉ CLARO)
 * Alterações: 
 * 1. Cores de títulos (h2, h3) padronizadas para #DAA520 (Dourado Clássico).
 * 2. Detalhes (borda, autor) da seção Testimonials alterados de laranja para dourado.
 * 3. Botão de navegação entre seções (.section-separator) ocultado.
 * 4. Seção HERO estática substituída por HERO SLIDER (Carrossel) animado.
 * 5. [MUDANÇA] Slogan (.hero-slogan) removido.
 * 6. [MUDANÇA] Bloco de texto do Hero elevado (não mais centralizado).
 * 7. [MUDANÇA] Aumentado espaço acima do botão do hero (margin-bottom do <p>).
*/

/* Regra global para previnir estouro de texto */
p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* =================================================
INÍCIO DOS NOVOS ESTILOS DO HERO SLIDER
=================================================
*/

@keyframes kenBurns {
  0% {
    transform: scale(1) translate(0, 0); /* Começa em 1 (sem zoom) */
    opacity: 1;
  }
  100% {
    transform: scale(1.1) translate(0, 0); /* Termina com 10% de zoom */
    opacity: 1;
  }
}

/* --- NOVAS ANIMAÇÕES --- */
@keyframes textSlideIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes textSlideInFromLeft {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes textSlideInFromRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* --- FIM DAS NOVAS ANIMAÇÕES --- */


.hero-slider {
  position: relative;
  width: 100%;
  height: 90vh; /* Altura do slider */
  min-height: 500px;
  max-height: 700px;
  overflow: hidden; /* Esconde slides que não estão ativos */
  background-color: #333; /* Fundo de fallback */
  z-index: 5;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  opacity: 0; /* Começa invisível */
  visibility: hidden; /* Começa escondido */
  transition: opacity 3.0s ease, visibility 3.0s ease; /* Transição de fade LENTA */
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Animação de Zoom (Ken Burns) na imagem de fundo */
.hero-slide.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit; /* Herda a imagem de fundo do pai */
  background-size: cover;
  background-position: center center;
  z-index: 1;
  animation: kenBurns 15s ease-out forwards; /* Duração de 15s (sincronizada com o JS) */
}

/* --- [SUGESTÃO 1 APLICADA] OVERLAY MAIS ESCURO --- */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* MODIFICADO: de 0.3 para 0.4 para mais contraste */
  z-index: 2; /* Fica acima da imagem, abaixo do texto */
}


/* Este é o contêiner para H1, P, e Botão */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  /* (Subir o texto) */
  justify-content: flex-start; /* Alterado de 'center' para 'flex-start' */
  align-items: center;
  padding: 150px 20px 30px 20px; /* Padding-top aumentado de 50px para 150px */
  box-sizing: border-box;
}

/* Animação do Texto - Slogan não está mais aqui */
.hero-slide .hero-content h1,
.hero-slide .hero-content p,
.hero-slide .hero-content button {
  opacity: 0; /* Começa invisível */
}

/* --- REGRAS DE ANIMAÇÃO CORRIGIDAS --- */
/* (O Slogan não está mais aqui) */

.hero-slide.active .hero-content h1 {
  animation: textSlideInFromRight 2.0s ease 0.2s forwards; 
}
.hero-slide.active .hero-content p {
  animation: textSlideIn 2.0s ease 0.5s forwards; 
}
.hero-slide.active .hero-content button {
  animation: textSlideIn 2.0s ease 0.8s forwards; 
}
/* --- FIM DAS MUDANÇAS --- */


/* * Regras .hero-slogan foram removidas 
*/


/* Estilos do Texto e Botão */
.hero-content h1 {
  font-family: 'Playfair Display', serif; 
  font-weight: 400; 
  font-size: 2.7rem; 
  margin: 0 0 15px 0; /* Espaçamento */
  color: #FFFFFF; 
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-content p {
  font-family: 'Montserrat', sans-serif; 
  font-weight: 400; 
  font-size: 1.1rem; 
  /* 👇 MUDANÇA APLICADA AQUI 👇
  */
  margin: 0 0 40px 0; /* Espaçamento inferior aumentado de 25px para 40px */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero-highlight { 
  position: relative; 
  display: inline-block; 
}
.hero-highlight::after { 
  content: ''; 
  position: absolute; 
  width: 90%; 
  height: 2px; 
  background: rgba(255, 255, 255, 0.7); 
  bottom: -5px; 
  left: 50%; 
  transform: translateX(-50%); 
  border-radius: 1px; 
  opacity: 0.7; 
}

/* --- [SUGESTÃO 2 APLICADA] Botão Preto com Borda Laranja e Sombra --- */
.hero-content button { 
  background: #000000; /* Fundo PRETO */
  color: white; /* Texto BRANCO */
  border: 2px solid #eb7516; /* Borda LARANJA */
  padding: 14px 40px; 
  font-weight: 400; 
  font-size: 1.1rem; 
  border-radius: 8px; 
  cursor: pointer; 
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s ease; /* MODIFICADO: Adicionada 'transform' */
  z-index: 10; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Sombra mais intensa */
}
/* --- [SUGESTÃO 2 APLICADA] Efeito de hover mais sutil no botão --- */
.hero-content button:hover { 
  background: #333333; 
  color: white; 
  border-color: #f57c00; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  transform: scale(1.03); /* [SUGESTÃO 2 APLICADA] Leve zoom no hover */
}


/* Navegação por Pontos (Dots) */
.slider-nav {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.nav-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}
.nav-dot.active {
  background-color: #f57c00;
  border: 1px solid #fff;
  transform: scale(1.1);
}

/* =================================================
FIM DOS NOVOS ESTILOS DO HERO SLIDER
=================================================
*/

/* Estrutura Main */
main { padding: 0; }
.services, .about, .testimonials, .contact { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }

/* Seção Services */
.services { padding-top: 30px; padding-bottom: 60px; background-color: #ffffff; /* Fundo branco */ color: #333; position: relative; z-index: 6; text-align: center; overflow: visible; }
/* Título Services */
.services h2 { font-family: 'Playfair Display', serif !important; font-weight: 400 !important; color: #B8860B; /* MODIFICADO: Dourado */ text-shadow: none; font-size: 2.6rem; position: relative; z-index: 2; display: inline-block; padding-bottom: 10px; margin-top: 0; margin-bottom: 15px; }

/* Títulos Gerais (About, Contact, Testimonials) */
.about-text h2, .contact h2, .testimonials h2 { font-family: 'Montserrat', sans-serif; position: relative; display: inline-block; padding-bottom: 10px; }
.testimonials h2, .contact h2 { font-weight: 400; font-size: 2.2rem; color: #B8860B; /* MODIFICADO: Dourado */ text-shadow: none; margin-top: 10px; margin-bottom: 15px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-weight: 400; font-size: 2.2rem; margin-top: 0; margin-bottom: 20px; text-align: center; color: #B8860B; /* MODIFICADO: Dourado */ text-shadow: none; }
.contact h2 { font-size: 2.2rem; margin-bottom: 20px;}

/* Cards de Serviço */
.service-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 25px auto 0 auto; position: relative; z-index: 2; }
.card { background: white; border-radius: 0; box-shadow: 0 5px 15px rgba(0,0,0,0.1); overflow: hidden; display: flex; flex-direction: column; flex: 1 1 300px; max-width: 350px; opacity: 0; transition: transform 0.3s, box-shadow 0.3s, opacity 1s; z-index: 2; }
.card.visible { opacity: 1; }
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.card img { width: 100%; height: 220px; object-fit: cover; filter: grayscale(100%); transition: filter 1s ease-out; }
.card.visible img { filter: grayscale(0%); }
.card-content { padding: 25px 20px; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-family: 'Playfair Display', serif; color: #B8860B; /* MODIFICADO: Dourado */ font-size: 1.5rem; font-weight: 400; margin-top: 0; margin-bottom: 10px; padding-bottom: 0; border-bottom: none; }
.card-content p { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; line-height: 1.6; color: #555; margin: 0; flex-grow: 1; }

/* Seção About */
.about { background: #fff; padding-top: 60px; padding-bottom: 30px; }
.about-container { display: flex; align-items: flex-start; gap: 30px; max-width: 1100px; margin: 0 auto; justify-content: center; flex-wrap: wrap; }
.about-main-img { flex-shrink: 0; width: 100%; max-width: 200px; border-radius: 0; border: none; box-shadow: none; height: 250px; object-fit: cover; }
.about-main-img:hover { transform: none; box-shadow: none; }
.about-text { flex-grow: 1; opacity: 0; animation: fadeInRight 1s forwards 0.3s; max-width: 600px; }
.about-text p { font-family: 'Montserrat', sans-serif; font-weight: 400; line-height: 1.7; margin-bottom: 8px; text-align: left; font-size: 1rem; }
.certifications { margin-top: 20px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }
.certifications .cert-img, .cert-pm { width: 60px; height: 60px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); border: 2px solid #ddd; box-sizing: border-box; }
.certifications .cert-img { object-fit: contain; background-color: white; }
.certifications .cert-nccer { object-fit: cover; }
.cert-pm { background-color: #eb7516; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); color: white; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.2rem; line-height: 56px; text-align: center; display: inline-block; border: 2px solid #ddd; box-sizing: border-box; }

/* Seção Testimonials */
.testimonials { text-align: center; padding-top: 40px; padding-bottom: 40px; }
.testimonial-cards-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 25px auto 0 auto; }
.testimonial-card { background: white; padding: 30px; border-radius: 0; box-shadow: 0 4px 12px rgba(0,0,0,0.1); flex: 1 1 300px; max-width: 350px; text-align: center; border-top: 4px solid #B8860B; /* MODIFICADO: Dourado */ transition: transform 0.3s, box-shadow 0.3s; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.15); }
.testimonial-text { font-size: 1.1rem; font-style: italic; color: #333; margin-bottom: 15px; line-height: 1.4; }
.testimonial-author { font-weight: 700; color: #B8860B; /* MODIFICADO: Dourado */ margin-top: 0; }

/* Seção Contact */
.contact { background: #f9f9f9; padding: 40px 20px; text-align: center; }
.contact form { max-width: 600px; margin: 30px auto 0 auto; display: flex; flex-direction: column; gap: 15px; }
.contact input, .contact textarea { padding: 12px; border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
.contact button { background: #eb7516; color: white; border: none; padding: 12px; font-size: 1.1rem; font-weight: bold; border-radius: 8px; cursor: pointer; transition: background-color 0.3s; }
.contact button:hover { background: #d46a14; }
.whatsapp-btn { display: inline-block; margin-top: 25px; padding: 12px 25px; background: #25D366; color: white; border-radius: 8px; font-weight: bold; text-decoration: none; transition: background-color 0.3s; }
.whatsapp-btn:hover { background: #1da851; }

/* Quality Seal */
.quality-seal-container {
  max-width: 1200px; /* Mesma largura max do .services */
  margin: 0 auto; /* Centraliza */
  padding: 0 20px; /* Mesmo padding lateral do .services */
  box-sizing: border-box; /* Garante padding dentro da largura */
  position: relative; /* Contexto para posicionamento absoluto */
  height: 0; /* NÃO ocupa espaço vertical */
  z-index: 10; /* Fica acima das seções */
  /* Remove margem negativa se houver */
}
.quality-seal-img {
  width: 110px; /* Tamanho desktop */
  height: auto;
  opacity: 0; /* Começa invisível para animação */
  animation: fadeInSeal 1.5s forwards 0.5s; /* Animação */
  position: absolute;
  top: -80px; /* *** Posição Vertical: Sobe 80px a partir do container (que tem altura 0) *** */
  right: 20px; /* *** ALTERADO: Posiciona a 20px da borda direita do container *** */
  /* 'left' e 'transform' removidos */
}

/* Separador de Seção */
.section-separator {
  display: none; /* <-- MUDANÇA APLICADA AQUI (para esconder) */
  background-color: #f0f0f0; 
  padding: 10px 0; 
  width: 100%; 
  box-sizing: border-box; 
  justify-content: center; 
  align-items: center; 
}
.section-nav-btn { display: inline-flex; justify-content: center; align-items: center; width: 50px; height: 50px; background-color: #555; color: white; border-radius: 50%; text-decoration: none; font-size: 1.5rem; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); transition: background-color 0.3s, transform 0.3s; z-index: 5; }
.section-nav-btn:hover { background-color: #eb7516; transform: translateY(-3px); }

/* --- ESTILOS DO RODAPÉ ESPECÍFICOS PARA INDEX.HTML (Rodapé Claro) --- */
footer { background: #f8f8f8 !important; color: #555 !important; padding: 20px 15px !important; text-align: center !important; border-top: 1px solid #eee !important; font-size: 0.9rem !important; margin-top: auto !important; }
footer .payment-icons { display: none !important; }
footer p { margin: 5px 0 !important; color: #555 !important; font-family: 'Montserrat', sans-serif;}
footer p .fa-envelope { color: #eb7516 !important; }
footer a { color: #777 !important; text-decoration: none !important; transition: color 0.3s !important; font-family: 'Montserrat', sans-serif;}
footer a:hover { color: #eb7516 !important; text-decoration: none !important; }
.footer-links { margin-top: 10px !important; margin-bottom: 10px !important; display: flex !important; justify-content: center !important; gap: 15px !important; flex-wrap: wrap !important; }
footer .developer-signature { font-size: 0.8rem !important; color: #999 !important; margin-top: 10px !important; margin-bottom: 0 !important; font-family: 'Montserrat', sans-serif;}

/* --- CSS ADICIONADO --- */
footer .footer-tagline {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  color: #888 !important; /* Um pouco mais escuro que a assinatura do dev */
  font-size: 0.9rem;
  margin: 8px 0 !important;
  padding: 0 !important;
}
/* --- FIM DA ADIÇÃO --- */


/* Responsividade */
@media (max-width: 768px) {
  .hero-slider { height: 80vh; min-height: 450px; } /* Altura menor no mobile */
  
  
  .hero-content {
    /* (Subir o texto) */
    padding-top: 100px; /* Ajustado de 50px para 100px para subir (mas menos que o desktop) */
  }
  
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }

  /* --- PONTO 3: Esconder Selo no Mobile --- */
  .quality-seal-img {
    display: none; /* MODIFICADO: Selo escondido em telas < 768px */
  }
  
  .services, .about, .testimonials, .contact { padding-top: 20px !important; padding-bottom: 20px !important; }
  .services { background-attachment: scroll !important; overflow: hidden; /* Volta para hidden no mobile */ }
  .services h2, .testimonials h2, .about-text h2, .contact h2 { margin-top: 15px !important; margin-bottom: 20px !important; }
  .about-text h2 { margin-top: 0 !important; }
  .service-cards, .testimonial-cards-container { margin-top: 25px !important; padding-top: 0 !important; }
  .whatsapp-btn { margin-top: 20px !important; }
  .about-container { flex-direction: column; align-items: center; text-align: center; }
  .about-main-img { max-width: 60%; height: auto; margin-bottom: 20px; margin-right: 0; }
  .about-text { max-width: 100%; }
  .about-text h2 { text-align: center; }
  .about-text p { text-align: left; }
  .certifications { justify-content: center; }
  .section-nav-btn { width: 45px !important; height: 45px !important; font-size: 1.3rem !important; }
}

@media (min-width: 769px) {
    /* Regras Desktop específicas para About */
    .about-container { flex-direction: row; align-items: flex-start; }
    .about-main-img { margin-right: 30px; margin-bottom: 0; }
    .about-text { text-align: left; }
    .about-text h2 { text-align: left; }
    .certifications { justify-content: flex-start; }
}