/* ===== VARIÁVEIS ===== */
:root {
  --green-primary: #0B6623;
  --green-secondary: #07662d;
  --white: #F8F8F8;
  --gray-light: #E5E5E5;
  --text-dark: #222;
}

/* ===== TIPOGRAFIA ===== */
body {
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
}

/* ===== SCROLL SUAVE ===== */
html {
  scroll-behavior: smooth;
}


h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  color: var(--green-primary);
  font-weight: 700;
}

p, li, a, input, textarea, button {
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== HEADER ===== */
header {
  background: var(--green-primary);
  color: white;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
}

.logo img {
  max-height: 120px;
  width: auto;
  border-radius: 10%;
  object-fit: cover;
  border: 3px solid white;
}

/* ===== MENU ===== */
.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 0;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: white;
  user-select: none;
  z-index: 1100;
}

/* ===== HERO ===== */
.hero {
  background: var(--white);
  padding: 60px 20px;
}

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
}

.hero-text {
  flex: 1 1 50%;
  max-width: 600px;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.hero-buttons .btn {
  text-decoration: none;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 5px;
  display: inline-block;
  font-weight: bold;
  font-size: 16px;
  background: var(--green-primary);
  color: white;
  border: none;
  transition: background 0.3s ease;
}

.hero-buttons .btn:hover {
  background: var(--green-secondary);
}

.hero-image {
  flex: 1 1 50%;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* ===== SEÇÕES ===== */
h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  position: relative;
}

h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--green-secondary);
  margin: 10px auto 0 auto;
  border-radius: 2px;
}

section {
  padding: 60px 20px;
}

/* ===== RESUMO DE SERVIÇOS ===== */



/* ===== FORMULÁRIO ===== */
.form-contato {
  display: flex;
  flex-direction: column;
}

.form-contato input,
.form-contato textarea {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid var(--gray-light);
  border-radius: 5px;
  width: 100%;
}

.form-contato button {
  background: var(--green-primary);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
  background: var(--green-primary);
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .box-servico {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
  }

  /* AQUI você pode adicionar os estilos do menu mobile */
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: var(--green-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .nav-links.active {
    max-height: 500px;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 0;
    font-weight: bold;
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    width: 100%;
    text-align: center;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1100;
  }
}


  .hero-text {
    text-align: center;
    margin-bottom: 20px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 14px;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .servico-item h3 {
    font-size: 1.2rem;
  }

  .resumo-servicos {
    flex-direction: column;
    align-items: center;
  }

  .box-servico {
    flex: 1 1 90%;
    max-width: 400px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--green-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 999;
  }

  .nav-links.active {
    max-height: 500px;
  }


/* ===== MENU DESKTOP ===== */
/* ===== MENU DESKTOP ===== */
@media (min-width: 769px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    max-height: none;
    background: transparent;
  }

  .nav-links li {
    margin-left: 20px;
  }

  .nav-links a {
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    text-decoration: none;
  }

  .menu-toggle {
    display: none; /* esconder o botão hambúrguer no desktop */
  }
}




/* ===== CARDS DE SERVIÇOS VISUAIS ===== */
.servicos-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.servico-card {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 20px;
  flex: 1 1 250px;
  max-width: 280px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servico-card img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 15px;
  object-fit: cover;
}

.servico-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.servico-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Hover moderno */
.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background: #f9fff9;
}

/* Responsivo */
@media (max-width: 1024px) {
  .servico-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .servico-card {
    flex: 1 1 90%;
  }
}




/* ===== CARDS POR QUE NOS CONTRATAR ===== */
.cards-contratar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.card-contratar {
  background: var(--gray-light);
  border-radius: 20px;
  padding: 25px 20px;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-contratar img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  border-radius: 15px;
  object-fit: cover;
}

.card-contratar h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.card-contratar p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-dark);
}

/* Hover moderno */
.card-contratar:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  background: #f9fff9;
}

/* Responsivo */
@media (max-width: 1024px) {
  .card-contratar {
    flex: 1 1 45%;
  }
}

@media (max-width: 768px) {
  .card-contratar {
    flex: 1 1 90%;
  }
}



/* ===== TEXTO PROFISSIONAL QUEM SOMOS ===== */
/* ===== QUEM SOMOS ===== */
.quem-somos-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.quem-somos-texto {
  flex: 1 1 50%;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  text-align: justify;
}

.quem-somos-texto p:first-child {
  font-weight: 500;
  font-size: 1.15rem;
}

.quem-somos-texto span {
  font-weight: 700;
  color: var(--green-primary);
}

.quem-somos-imagem {
  flex: 1 1 40%;
  text-align: center;
}

.quem-somos-imagem img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
  max-height: 350px;
}

/* ===== CARDS MISSÃO, VISÃO E VALORES ===== */
.valores-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 50px;
}

.valor-box {
  background: #f4f7f6;
  padding: 30px 20px;
  border-radius: 15px;
  flex: 1 1 280px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.valor-box img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.valor-box h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--green-primary);
}

.valor-box p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.valor-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
  background: #eaf6ea;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .quem-somos-container {
    flex-direction: column;
    align-items: center;
  }

  .quem-somos-imagem {
    margin-top: 20px;
  }

  .quem-somos-imagem img {
    max-height: 300px;
  }

  .valor-box {
    flex: 1 1 80%;
  }
}

@media (max-width: 768px) {
  .quem-somos-texto p {
    font-size: 1rem;
  }

  .valor-box {
    flex: 1 1 90%;
  }
}


.whatsapp-float {
    position: fixed; /* flutua sempre */
    bottom: 20px;
    left: 20px; /* lado esquerdo */
    width: 70px;
    height: 70px;
    z-index: 999999 !important; /* acima de tudo */
    display: flex !important; /* garante visibilidade */
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    pointer-events: auto; /* evita bloqueio em mobile */
}

/* Círculo animado com fundo verde */
.whatsapp-circle {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #25D366; /* fundo verde */
    border: 4px solid rgba(255,255,255,0.3); /* borda branca semi-transparente */
    animation: rotatePulse 1.5s linear infinite;
    z-index: -1;
    box-sizing: border-box;
}

/* Ícone do WhatsApp */
.whatsapp-float img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

/* Zoom ao passar o mouse (PC) */
.whatsapp-float:hover img {
    transform: scale(1.2);
}

@keyframes rotatePulse {
    0% { transform: rotate(0deg) scale(0.9); opacity: 0.7; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 1; }
    100% { transform: rotate(360deg) scale(0.9); opacity: 0.7; }
}

/* Mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        bottom: 15px;
        left: 15px;
    }
    .whatsapp-circle {
        width: 60px;
        height: 60px;
        border-width: 3px;
    }
    .whatsapp-float img {
        width: 35px;
        height: 35px;
    }
}

/* Ajuste do HEADER no mobile */
@media (max-width: 768px) {
  header .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logo {
    margin-bottom: 10px; /* espaço entre logo e menu */
    text-align: center;
  }

  .logo img {
    max-height: 220px; /* reduzindo um pouco no mobile */
  }

  .menu-toggle {
    position: static; /* deixa o menu logo abaixo da logo */
    margin-top: 5px;
  }
}

.hero-image video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}



