
.header {
  background: transparent;
}

.header::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130px;

  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.header.scrolled::before {
  opacity: 1;
}



.hero-servicos {
  min-height: 100vh;
  background-image: url("../img/bg-hero-servicos.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  
  padding-top: 130px;
  position: relative; 
}


.hero-servicos .hero-container {
  margin: auto;
  padding: 0 20px;
  text-align: center;
  z-index: 2;
}




.hero-servicos p {
  font-size: 1rem;
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.4;
  margin-top: +50px;
  margin-left: -150px;
  margin-right: 950px;
}



.section-servicos .section-container {
  max-width: none;     
  margin: 0;            
  padding-left: 190px;   
  padding-right: 800px;
  margin-top: -700px;
}


.servicos-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;

  
  max-width: 800px;

  
  margin-left: 0;
}




.servicos-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #1f2f44;
  margin-bottom: 32px;
  text-align: center;      
  max-width: 420px;      
}








.servico-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}





@media (max-width: 900px) {
  .section-servicos {
    margin-top: -140px;
  }

  .servicos-grid {
    grid-template-columns: 1rem;
    

  }

  .servicos-title {
    font-size: 2rem;
    text-align: center;
  }
}

.servico-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #4fa3c7;
}

.servico-card p {
  font-size: 0.95rem;
  line-height: 1rem;
  margin-bottom: 18px;
  color: #1f2f44;
}



.servico-logo {
  flex-shrink: 0; 
}

.servico-logo img {
  width: 102px;       
  height: auto;
  max-width: 200px;    
  opacity: 0.75;
}





@media (max-width: 400px) {
  .servico-icons {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .servico-card {
    flex-direction: column;
    text-align: center;
  }

  .servico-logo img {
    margin-top: 12px;
  }
}

.servico-texto {
  display: flex;
  flex-direction: column; 
}

.footer {
  background: #1f2f44;   
  color: #ffffff;        
  margin-top: -160px;
  
}



@media (max-width: 768px) {

  
  .hero-servicos {
    padding-top: 100px;
    min-height: auto;
    
  }

  .hero-servicos h1 {
    font-size: 2rem;
    margin: 0px;
    text-align: center;
    
   
    
  }

  .hero-servicos p {
    margin: 20px auto 0;
    max-width: 90%;
    text-align: center;
    margin-top: +500px;
  }


  .servicos-grid {
    max-width: 100%;
    gap: 24px;
  }

  .servicos-title {
    text-align: center;
    margin: 0 auto 24px;
    font-size: 2rem;
  }

  
  .servico-card {
    flex-direction: column;
    text-align: center;
    padding: 40px;

  }

  .servico-logo img {
    width: 80px;
    margin: 12px auto 0;
  }

  .servico-texto p {
    line-height: 1.4rem;
  }

  
  .footer {
    margin-top: 40px;
    text-align: center;
  }
}

.hero-foto-mobile {
  display: none;
}

.hero-foto-mobile img {
  width: 100%;
  max-width: 320px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .hero-foto-mobile {
    display: block;
  }
}


@media (max-width: 768px) {

  .servico-card {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 16px;
    margin-top: 40px;
  }

  .servico-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    
  }

  .servico-card p {
    font-size: 0.9rem;
    line-height: 1.3rem;
    margin-bottom: 12px;
  }

  .servico-logo img {
    width: 64px;
    opacity: 0.85;
  }
}


@media (max-width: 768px) {

  .hero-servicos {
    min-height: 100vh;
    padding-top: 100px;

    background-image: url("../img/foto-mobile.jpg.png"); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

}

@media (max-width: 768px) {

  
  .section-servicos .section-container {
    margin-top: 150px;   
    padding: 0 20px;
  }

  
  .servicos-title {
    margin-top: 80px;   
  }

}



@media (max-width: 768px) {

  .hero-servicos .hero-container {
    margin-top: 550px;   
  }

 
  .hero-servicos h1 {
    margin: 0;
  }

  .hero-servicos p {
    margin-top: 16px;
  }

}


.servico-card + .servico-card {
  margin-top: 36px;
}

.servico-card {
  opacity: 0;
  transform: translateY(40px);
  animation: cardFadeUp 0.8s ease forwards;
}


.servico-card:nth-child(1) { animation-delay: 0.2s; }
.servico-card:nth-child(2) { animation-delay: 0.4s; }
.servico-card:nth-child(3) { animation-delay: 0.6s; }

@keyframes cardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.titulo-desktop {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #1f2f44;
  margin-bottom: 20px;
}


@media (max-width: 768px) {
  .titulo-desktop {
    display: none;
  }
}




.titulo-desktop {
  position: absolute;      
  top: 240px;             
  left: 200px;             

  z-index: 5;              

  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #1f2f44;

  pointer-events: none;    
}


@media (max-width: 768px) {
  .titulo-desktop {
    display: none;
  }
}



.titulo-desktop {
  position: absolute;
  top: 220px;       
  left: 280px;

  z-index: 5;

  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: #1f2f44;

  
  opacity: 0;
  transform: translateY(40px);
  animation: cardFadeUp 0.8s ease forwards;
  animation-delay: 0.1s; 
}


@media (max-width: 768px) {
  .titulo-desktop {
    display: none;
  }
}


.logo,
.nav a,
.menu-toggle {
  opacity: 0;
  transform: translateY(-20px);
}




.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-main {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.3s ease;
}

.whatsapp-main img {
  width: 30px;
}

.whatsapp-main:hover {
  transform: scale(1.08);
}


.whatsapp-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.2);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 240px;
}

.whatsapp-options a {
  text-decoration: none;
  color: #1f2f44;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.3s ease;
}

.whatsapp-options a:hover {
  background: #f4f8fc;
}


.whatsapp-float.active .whatsapp-options {
  display: flex;
}


@media (max-width: 768px) {
  .whatsapp-main {
    width: 54px;
    height: 54px;
  }

  .whatsapp-main img {
    width: 26px;
  }
}


.whatsapp-icon {
  width: 28px;
  height: 28px;
  background-image: url("https://cdn-icons-png.flaticon.com/512/733/733585.png");
  background-size: cover;
  background-repeat: no-repeat;
}
