/* ========================= */
/* RESET */
/* ========================= */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden; /* Impede rolagem horizontal na raiz */
}

body{
  font-family: 'Poppins', sans-serif;
  background: var(--branco);
  color: var(--texto);
  width: 100%;
  overflow-x: hidden; /* Garante que nada vaze para as laterais */
}

/* ========================= */
/* CORES */
/* ========================= */
:root{
  --azul-principal: #0D2340;
  --amarelo-principal: #FFB800;
  --amarelo-secundario: #FFC933;
  --escuro: #0D0D0D;
  --texto: #1A1A1A;

  --branco: #FFFFFF;
  --cinza-claro: #F5F5F5;
  --cinza-medio: #E8E8E8;
  --cinza-texto: #666666;
  --card: #F9F9F9;
  --borda: rgba(0,0,0,0.1);
}

/* ========================= */
/* GERAL */
/* ========================= */
section{
  padding: 120px 8%;
}

img{
  width: 100%;
  display: block;
}

a{
  text-decoration: none;
}

/* Configuração Geral de Ícones Lucide */
.lucide {
  stroke-width: 2px;
}

/* ========================= */
/* HEADER */
/* ========================= */
.header{
  width: 100%;
  height: 90px;
  position: fixed;
  top: 0;
  left: 0;
  padding: 0 8%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 999;
  transition: 0.4s;
  background: rgba(255,255,255,0.95);
}

.header.scrolled{
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.logo img{
  width: 120px;
  object-fit: contain;
  padding: 10px 0px;
}

.nav{
  display: flex;
  gap: 30px;
}

.nav a{
  color: var(--texto);
  font-size: 15px;
  transition: 0.3s;
  font-weight: 500;
}

.nav a:hover{
  color: var(--amarelo-principal);
}

.btn-header{
  padding: 14px 24px;
  background: var(--amarelo-principal);
  color: var(--escuro);
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-header:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(255,184,0,0.4);
}

.menu-mobile{
  display: none;
  cursor: pointer;
  color: var(--texto);
}

.menu-mobile .lucide {
  width: 32px;
  height: 32px;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 140px;
  position: relative;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F5F5 60%);
}

.hero-overlay{
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--amarelo-principal);
  filter: blur(180px);
  opacity: 0.08;
  top: -100px;
  right: -100px;
}

.hero-content{
  flex: 1;
  position: relative;
  z-index: 2;
}

.tag{
  display: inline-block;
  padding: 10px 18px;
  background: rgba(255,184,0,0.12);
  border: 1px solid rgba(255,184,0,0.4);
  color: var(--azul-principal);
  border-radius: 30px;
  margin-bottom: 25px;
  font-size: 14px;
}

.hero-content h1{
  font-size: 70px;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--texto);
}

.hero-content h1 span{
  color: var(--amarelo-principal);
}

.hero-content p{
  color: var(--cinza-texto);
  font-size: 18px;
  line-height: 1.8;
  max-width: 600px;
}

.hero-buttons{
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.btn-primary{
  padding: 16px 28px;
  background: var(--amarelo-principal);
  color: var(--escuro);
  border-radius: 12px;
  font-weight: 700;
  transition: 0.3s;
}

.btn-primary:hover{
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255,184,0,0.3);
  background: var(--amarelo-secundario);
}

.btn-secondary{
  padding: 16px 28px;
  border: 2px solid var(--azul-principal);
  color: var(--azul-principal);
  border-radius: 12px;
  transition: 0.3s;
}

.btn-secondary:hover{
  background: var(--azul-principal);
  color: var(--branco);
}

.hero-numbers{
  display: flex;
  gap: 25px;
  margin-top: 60px;
}

.number-box{
  background: var(--branco);
  border-left: 3px solid var(--azul-principal);
  padding: 25px;
  border-radius: 18px;
  min-width: 150px;
}

.number-box h2{
  color: var(--amarelo-principal);
  font-size: 36px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.808);
}

.number-box span{
  color: var(--cinza-texto);
}

.hero-image{
  flex: 1;
  position: relative;
  z-index: 2;
}

/* ========================= */
/* BENEFÍCIOS */
/* ========================= */
.benefits{
  background: var(--cinza-claro);
}

.benefits-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.card{
  background: var(--card);
  padding: 35px 25px;
  border-radius: 20px;
  border: 1px solid var(--borda);
  border-left: 4px solid var(--azul-principal);
  transition: 0.4s;
}

.card:hover{
  transform: translateY(-10px);
  border-color: rgba(255,184,0,0.3);
  box-shadow: 0 0 30px rgba(255,184,0,0.1);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: var(--amarelo-principal);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-principal);
  margin-bottom: 20px;
}

.card-icon .lucide {
  width: 26px;
  height: 26px;
}

.card h3{
  margin-bottom: 15px;
  font-size: 22px;
  color: var(--azul-principal);
}

.card p{
  color: var(--cinza-texto);
  line-height: 1.7;
  font-size: 14px;
}

/* ========================= */
/* ABOUT */
/* ========================= */
.about{
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image,
.about-content{
  flex: 1;
}

.about-image img{
  border-radius: 25px;
}

.about-content span{
  color: var(--amarelo-principal);
  font-weight: 600;
}

.about-content h2{
  font-size: 46px;
  margin: 20px 0;
  color: var(--texto);
}

.about-content p{
  color: var(--cinza-texto);
  line-height: 1.8;
}

.about-boxes{
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.about-box{
  background: var(--card);
  padding: 25px;
  border-radius: 20px;
  border: 1px solid var(--borda);
  border-top: 3px solid var(--azul-principal);
  flex: 1;
}

.about-box h3{
  color: var(--azul-principal);
}

/* ========================= */
/* STEPS */
/* ========================= */
.steps{
  background: var(--cinza-claro);
}

.steps-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
}

.step-card{
  background: var(--card);
  padding: 35px;
  border-radius: 20px;
  border: 1px solid var(--borda);
  transition: 0.3s;
  position: relative;
}

.step-card:hover{
  transform: translateY(-8px);
}

.step-number{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--amarelo-principal);
  color: var(--escuro);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 25px;
}

.step-card h3{
  color: var(--azul-principal);
}

.step-card::before{
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 183, 0, 0.959);
  border-radius: 10px 20px 0px 100px;
  top: -2px;
  right:-2px;
}

/* ========================= */
/* CUIDADOS E MANUTENÇÃO */
/* ========================= */
.care {
  background: var(--branco);
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 40px;
}

.care-card {
  background: var(--card);
  padding: 35px 25px;
  border-radius: 20px;
  border: 1px solid var(--borda);
  border-bottom: 4px solid var(--azul-principal);
  transition: 0.4s ease;
  text-align: center;
}

.care-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--amarelo-principal);
  box-shadow: 0 10px 30px rgba(13, 35, 64, 0.08);
}

.care-icon {
  width: 60px;
  height: 60px;
  background-color: var(--amarelo-principal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--azul-principal);
  margin: 0 auto 20px auto;
}

.care-icon .lucide {
  width: 28px;
  height: 28px;
}

.care-card h3 {
  font-size: 20px;
  color: var(--azul-principal);
  margin-bottom: 15px;
}

.care-card p {
  color: var(--cinza-texto);
  font-size: 14px;
  line-height: 1.7;
}

/* ========================= */
/* PROJECTS */
/* ========================= */
.projects{
  background: var(--branco);
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.project-card{
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  border: 2px solid var(--azul-principal);
  transition: 0.3s;
}

.project-card img{
  height: 300px;
  object-fit: cover;
  transition: 0.5s;
}

.project-card:hover{
  border-color: var(--amarelo-principal);
  box-shadow: 0 0 20px rgba(13,35,64,0.2);
}

.project-card:hover img{
  transform: scale(1.1);
}

/* ========================= */
/* TESTIMONIALS */
/* ========================= */
.testimonials{
  background: var(--cinza-claro);
}

.testimonials-grid{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.testimonial-card{
  background: var(--card);
  border: 2px solid var(--borda);
  padding: 35px;
  border-radius: 24px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before{
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 183, 0, 0.959);
  border-radius: 100%;
  top: -80px;
  right: -80px;
}

.testimonial-card:hover{
  transform: translateY(-10px);
  border-color: rgba(255,184,0,0.3);
  box-shadow: 0 0 30px rgba(255,184,0,0.1);
}

.client-top{
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.client-top img{
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,184,0,0.3);
}

.client-info h3{
  font-size: 20px;
  margin-bottom: 5px;
  color: var(--texto);
}

.client-info span{
  color: var(--amarelo-principal);
  font-size: 14px;
}

.stars{
  font-size: 22px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.testimonial-card p{
  color: var(--cinza-texto);
  line-height: 1.8;
  position: relative;
  z-index: 2;
}

/* ========================= */
/* FOOTER */
/* ========================= */
.footer{
  background: var(--escuro);
  padding: 80px 8% 30px;
}

.footer-top{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo{
  font-size: 32px;
  font-weight: 800;
  color: var(--branco);
  margin-bottom: 20px;
}

.footer-logo span{
  color: var(--amarelo-principal);
}

.footer-brand p{
  color: var(--cinza-texto);
  line-height: 1.8;
  max-width: 400px;
}

.footer-links h3{
  margin-bottom: 20px;
  color: var(--branco);
}

.footer-links p{
  color: var(--cinza-texto);
  margin-bottom: 12px;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 25px;
  text-align: center;
}

.footer-bottom p{
  color: var(--cinza-texto);
}

/* ========================= */
/* WHATSAPP FLOAT */
/* ========================= */
.whatsapp-float{
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 0 25px rgba(37,211,102,0.5);
  transition: 0.3s;
}

.whatsapp-float:hover{
  transform: scale(1.1);
}

.whatsapp-float img{
  width: 35px;
}

/* ========================= */
/* ANIMAÇÕES */
/* ========================= */
.reveal{
  opacity: 0;
  transform: translateY(80px);
  transition: 1s ease;
}

.reveal.active{
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title h2 {
  animation: fadeInUp 1s ease forwards;
}

.card {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }

/* ========================= */
/* RESPONSIVO MÍDIA QUERIES  */
/* ========================= */
@media(max-width: 1100px){
  .hero{
    flex-direction: column;
    text-align: center;
  }

  .hero-buttons,
  .hero-numbers{
    justify-content: center;
  }

  .benefits-grid,
  .steps-grid,
  .projects-grid,
  .testimonials-grid,
  .care-grid{
    grid-template-columns: repeat(2,1fr);
  }

  .about{
    flex-direction: column;
  }
}

@media(max-width: 768px){
  .btn-header{
    display: none;
  }

  .hero-content h1{
    font-size: 44px;
  }

  .section-title h2,
  .about-content h2{
    font-size: 30px;
  }

  .benefits-grid,
  .steps-grid,
  .projects-grid,
  .testimonials-grid,
  .care-grid{
    grid-template-columns: 1fr;
  }

  .hero-numbers{
    flex-direction: column;
  }

  .about-boxes{
    flex-direction: column;
  }

  .footer-top{
    grid-template-columns: 1fr;
  }

  /* ========================= */
  /* MENU MOBILE RESPONSIVO FIX */
  /* ========================= */
  .menu-mobile{
    display: block;
    z-index: 1001;
  }

  .nav{
    position: fixed;
    top: 90px;
    left: -100%;
    width: 80%; /* Ajustado para porcentagem para não vazar a tela */
    max-width: 320px; /* Impede que fique exagerado em telas médias */
    height: calc(100vh - 90px); /* Ocupa o restante da tela vertical */
    background: var(--branco);
    display: flex;
    flex-direction: column;
    padding: 40px 8%;
    gap: 25px;
    transition: 0.4s ease;
    z-index: 999;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.1);
    border-radius: 0px;
  }

  .nav.active{
    left: 0;
  }

  .nav a{
    font-size: 18px;
    color: var(--texto);
    border-bottom: 1px solid var(--borda);
    padding-bottom: 15px;
    display: block;
  }
}