:root{ --green:#2ecc71; --dark:#0e3d26; --muted:#f8f8f8; }
*{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,Arial,sans-serif;background:var(--muted);color:#222}
nav{position:fixed;top:0;left:0;width:100%;background:var(--dark);padding:12px 20px;display:flex;justify-content:space-between;align-items:center;z-index:99}
nav .logo{display:flex;align-items:center;gap: 8px;color:var(--green);font-weight:700}
    .logo img {width: 105px;height: 50px;object-fit: cover;}
nav a{color:#fff;text-decoration:none;margin-left:14px}
header{background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url('images/bg.webp') center/cover;padding:120px 20px 80px;margin-top:60px;color:#fff;text-align:center}
header h1{font-size:40px;margin:0}
.btn{display:inline-block;margin-top:18px;padding:12px 24px;background:var(--green);color:#000;border-radius:10px;text-decoration:none;font-weight:700}
main{max-width:1200px;margin:auto;padding:36px 20px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.card{background:#fff;padding:18px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
.portfolio{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}
.portfolio img{width:100%;height:220px;object-fit:cover;border-radius:10px}
form{background:#fff;padding:20px;border-radius:10px;box-shadow:0 6px 18px rgba(0,0,0,.06)}
form input,form textarea{width:100%;padding:10px;margin-bottom:12px;border-radius:8px;border:1px solid #e6e6e6}
form button{background:var(--green);border:none;padding:12px;border-radius:8px;font-weight:700}
.cta{background:#111;color:#fff;padding:40px;border-radius:8px;text-align:center}
footer{background:var(--dark);color:#fff;padding:18px;text-align:center;margin-top:30px}
a:link {
    color: #eaeef3;}

    
.whats-float{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#1bd45f;display:flex;align-items:center;justify-content:center}
@media(max-width:600px){header{padding:80px 12px}header h1{font-size:28px}}
.btn-link {
  display: inline-block;
  margin-top: 10px;
  color: #145c2e;
  text-decoration: none;
  font-weight: bold;
}
.btn-link:hover {
  text-decoration: underline;
}
/* Container da nova Grid */
.grid-moderna {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* O Card Individual */
.card-ambiente {
  display: flex;
  align-items: flex-end;
  height: 350px;
  border-radius: 15px;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
  position: relative;
}

.card-ambiente:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Texto dentro do Card */
.card-info {
  padding: 30px;
  color: white;
  width: 100%;
}

.card-info h3 {
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.card-info span {
  background: #1e6b2e;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  transition: background 0.3s;
}

.card-ambiente:hover .card-info span {
  background: #145c2e;
}

/* Responsividade para Celular */
@media (max-width: 600px) {
  .card-ambiente {
    height: 250px;
  }
  .card-info h3 {
    font-size: 1.5rem;
  }
}
.hero-video-container {
  position: relative;
  width: 100%;
  height: 80vh; /* Ocupa 80% da altura da tela */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: white;
  text-align: center;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover; /* Garante que o vídeo cubra todo o espaço */
}

.overlay-video {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5); /* Escurece um pouco o vídeo para o texto aparecer */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.overlay-video h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* Ajuste para celular */
@media (max-width: 768px) {
  .hero-video-container { height: 60vh; }
  .overlay-video h1 { font-size: 2rem; }
}

.contato-page {
    background-color: #f8f9fa;
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contato-header {
    text-align: center;
    margin-bottom: 50px;
}

.contato-header h2 {
    font-size: 36px;
    color: #145c2e;
    font-weight: 800;
}

.contato-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
}

.contato-card-form, .contato-card-info {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.info-detalhes {
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    background: #1e6b2e;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
}

.mapa-wrapper {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid #eee;
}

/* Responsividade */
@media (max-width: 992px) {
    .contato-grid { grid-template-columns: 1fr; }
    .contato-header h2 { font-size: 28px; }
}
.depoimentos {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}
.grid-depoimentos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1100px;
    margin: 40px auto 0;
}
.card-depoimento {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.estrelas { color: #f1c40f; margin-bottom: 10px; }

/* Seção FAQ */
.faq {
    padding: 60px 20px;
    background: #145c2e; /* Verde da sua marca */
    color: white;
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}
.faq-item {
    background: rgba(255,255,255,0.1);
    margin-bottom: 10px;
    padding: 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}
.faq-item:hover { background: rgba(255,255,255,0.2); }
.faq-item h4 { margin: 0 0 10px 0; color: #fff; display: flex; justify-content: space-between; }
.faq-item p { margin: 0; font-size: 15px; color: #e0e0e0; }

/* Container do Chat */
#whatsapp-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none; /* Começa escondido e aparece via JS */
  font-family: Arial, sans-serif;
}

/* O Balão de Mensagem */
.chat-box {
  background: white;
  width: 280px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #eee;
  animation: slideIn 0.5s ease-out;
}

.chat-header {
  background: #1e6b2e;
  color: white;
  padding: 15px;
  font-size: 14px;
  font-weight: bold;
}

.chat-body {
  padding: 15px;
  font-size: 14px;
  color: #333;
  background: #f0f0f0;
}

.chat-msg {
  background: white;
  padding: 10px;
  border-radius: 10px;
  border-bottom-left-radius: 0;
  display: inline-block;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* O Botão de Iniciar Conversa */
.chat-btn {
  background: #25D366;
  color: white;
  text-align: center;
  padding: 12px;
  display: block;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  margin: 10px;
  border-radius: 8px;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Melhoria visual do Pop-up */
#popup-overlay {
  position: fixed; /* Fixa na tela, não no fim da página */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8); /* Fundo escuro atrás */
  display: none; /* Começa escondido */
  justify-content: center;
  align-items: center;
  z-index: 100000; /* Garante que fique acima de tudo, inclusive do chat */
  backdrop-filter: blur(5px);
}

/* Ajustes para Celular (Telas até 768px) */
@media (max-width: 768px) {
    /* Ajuste do Pop-up */
    #popup-box {
        width: 95% !important; /* Quase a largura toda no celular */
        max-width: none !important;
    }
    
    #popup-top h2 {
        font-size: 20px !important;
    }

    /* Ajuste do Chatbot do WhatsApp */
    #whatsapp-chat {
        right: 10px !important;
        bottom: 10px !important;
    }

    .chat-box {
        width: 250px !important; /* Um pouco mais estreito no celular */
        bottom: 75px !important;
        right: 5px !important;
        position: absolute;
    }

    /* Evita que o botão flutuante fique gigante */
    #waFloat {
        width: 50px !important;
        height: 50px !important;
    }
    .seu-chatbot-classe {
    position: fixed; /* Garante que ele flutue */
    bottom: 20px;    /* Distância do fundo */
    right: 20px;     /* Distância da direita */
    z-index: 9999;   /* Garante que fique sobre as fotos dos móveis */
}
/* Ajuste específico para o Chatbot no Mobile */
@media (max-width: 768px) {
    .container-do-seu-chat, .botao-do-chat, .mensagem-do-chat {
        position: fixed !important; /* Força o chat a flutuar */
        bottom: 80px;               /* Altura para não cobrir o botão do Whats */
        right: 20px;                /* Alinhado à direita */
        z-index: 9998;              /* Um nível abaixo do botão do WhatsApp */
        width: auto;                /* Evita que ele ocupe a largura toda e desconfigure */
        max-width: 90%;             /* Garante que a mensagem não saia da tela */
    }
}

}