:root {
    --primary: #89A085; 
    --secondary: #A4BEA0;
    --bg-dark: #060806; 
    --bg-glass: rgba(137, 160, 133, 0.08); 
    --text-light: #F0F4F0;
    --text-muted: #A0AAB0;
    --border-glass: 1px solid rgba(137, 160, 133, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; }
body { background: var(--bg-dark); color: var(--text-light); overflow-x: hidden; }

#bg-canvas { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; }

header {
    position: fixed; top: 0; width: 100%; display: flex; justify-content: space-between;
    align-items: center; padding: 15px 5%; background: rgba(6, 8, 6, 0.9);
    backdrop-filter: blur(10px); border-bottom: var(--border-glass); z-index: 1000;
}
.logo-container { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.header-icon { height: 30px; width: auto; } 
.logo-text { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 18px; color: #fff; text-transform: uppercase; }
.logo-text span { color: var(--primary); }

nav { display: flex; align-items: center; }
nav a { margin: 0 15px; text-decoration: none; color: var(--text-light); font-weight: 500; font-size: 14px; transition: 0.3s; }
nav a:hover { color: var(--primary); }

.btn-header { background: var(--primary); color: var(--bg-dark) !important; padding: 8px 20px; border-radius: 30px; font-weight: 600; text-align: center; }

.menu-mobile-btn { display: none; cursor: pointer; z-index: 1002; }
.menu-mobile-btn .bar { width: 25px; height: 3px; background: var(--primary); margin: 5px 0; transition: 0.4s; }
.menu-mobile-btn.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.menu-mobile-btn.active .bar:nth-child(2) { opacity: 0; }
.menu-mobile-btn.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

.menu-mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(6, 8, 6, 0.98);
    z-index: 1001; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.4s;
}
.menu-mobile-overlay.active { opacity: 1; pointer-events: auto; }
.mobile-nav-links { display: flex; flex-direction: column; text-align: center; gap: 25px; }
.mobile-nav-links a { text-decoration: none; color: var(--text-light); font-size: 22px; font-weight: 600; font-family: 'Montserrat', sans-serif;}

section { padding: 120px 20px; max-width: 1200px; margin: auto; text-align: center; }
h1, h2 { font-family: 'Montserrat', sans-serif; color: var(--text-light); }
h2 { font-size: 32px; margin-bottom: 50px; font-weight: 700; }

.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding-top: 80px; }
.hero-content { width: 100%; }
.hero h1 { font-size: 48px; line-height: 1.2; margin-bottom: 20px; font-weight: 800; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 17px; color: var(--text-muted); margin-bottom: 40px; max-width: 700px; margin-left: auto; margin-right: auto; }

.hero-buttons, .cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary { 
    padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; 
    font-size: 15px; font-family: 'Montserrat', sans-serif; text-align: center; transition: 0.3s; border: none; cursor: pointer;
}
.btn-primary { background: var(--primary); color: var(--bg-dark); }
.btn-primary:hover { background: var(--secondary); transform: translateY(-3px); }
.btn-secondary { background: transparent; color: var(--text-light); border: 2px solid var(--primary); }
.btn-secondary:hover { background: rgba(137, 160, 133, 0.1); }

/* CARDS E ÍCONES */
.servicos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 25px; }
.servico-card { background: var(--bg-glass); border: var(--border-glass); padding: 35px 25px; border-radius: 20px; text-align: left; }
.card-icon { font-size: 42px; margin-bottom: 15px; color: var(--primary); display: block; } 
.servico-card h3 { font-size: 18px; margin-bottom: 15px; color: var(--text-light); font-family: 'Montserrat', sans-serif; }
.servico-card p { color: var(--text-muted); font-size: 14px; }

.sobre-container { background: var(--bg-glass); border: var(--border-glass); padding: 50px; border-radius: 20px; max-width: 900px; margin: auto; }
.sobre-container p { font-size: 16px; color: var(--text-muted); line-height: 1.8; }

.mapa-wrapper { width: 100%; height: 400px; border-radius: 20px; overflow: hidden; border: var(--border-glass); }

.cta-content { background: linear-gradient(45deg, var(--bg-glass), transparent); border: var(--border-glass); padding: 60px 20px; border-radius: 20px; }
.cta-content p { font-size: 17px; color: var(--text-muted); margin-top: 15px; margin-bottom: 35px; }

/* FOOTER COM ÍCONES PHOSPHOR */
footer { background: #030403; padding: 50px 20px 20px; border-top: var(--border-glass); text-align: center; }
.footer-logo { max-width: 150px; height: auto; margin-bottom: 20px; }
.footer-info p { color: var(--text-muted); font-size: 15px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; gap: 8px;}
.footer-info i { font-size: 20px; color: var(--primary); }
.footer-copy { border-top: var(--border-glass); padding-top: 20px; margin-top: 20px; color: var(--text-muted); font-size: 13px; }

/* WHATSAPP EXPANSÍVEL */
.whatsapp-expand {
    position: fixed; bottom: 25px; right: 25px; background: #25D366; height: 55px; width: 55px;
    border-radius: 50px; display: flex; align-items: center; padding: 0 13px; 
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); z-index: 1000; text-decoration: none;
    overflow: hidden; transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.whatsapp-expand .wa-logo { width: 29px; height: 29px; min-width: 29px; fill: white; }
.whatsapp-expand .wa-text { color: white; font-weight: 600; font-family: 'Poppins', sans-serif; font-size: 15px; white-space: nowrap; margin-left: 10px; opacity: 0; transition: opacity 0.2s ease; }
.whatsapp-expand:hover { width: 195px; }
.whatsapp-expand:hover .wa-text { opacity: 1; transition-delay: 0.15s; }

/* MODAIS */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(6, 8, 6, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 2000; display: flex; justify-content: center; align-items: center;
    opacity: 0; pointer-events: none; transition: 0.4s;
}
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box {
    background: #060806; border: 1px solid var(--primary); padding: 40px; border-radius: 20px; 
    width: 90%; max-width: 450px; position: relative; transform: translateY(-30px); 
    transition: 0.4s; text-align: left; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.info-modal-box { max-width: 650px; max-height: 85vh; overflow-y: auto; } /* Ajuste pro modal de leitura */
.modal-overlay.active .modal-box { transform: translateY(0); }
.close-modal {
    position: absolute; top: 15px; right: 20px; font-size: 28px; background: none; 
    border: none; color: var(--text-muted); cursor: pointer; transition: 0.3s;
}
.close-modal:hover { color: var(--primary); }
.modal-box h3 { font-family: 'Montserrat', sans-serif; font-size: 22px; color: #fff; margin-bottom: 10px; }
.modal-box p { color: var(--text-muted); font-size: 14px; margin-bottom: 25px; }

.modal-box input, .modal-box textarea {
    width: 100%; padding: 15px; margin-bottom: 15px; border-radius: 10px;
    background: rgba(137, 160, 133, 0.05); border: 1px solid rgba(137, 160, 133, 0.3);
    color: #fff; font-family: 'Poppins', sans-serif; font-size: 14px; outline: none; transition: 0.3s;
}
.modal-box input:focus, .modal-box textarea:focus { border-color: var(--primary); background: rgba(137, 160, 133, 0.1); }
.modal-box button[type="submit"], .btn-fechar-info { width: 100%; padding: 15px; border-radius: 10px; font-size: 16px; margin-top: 10px; }

.info-content-text { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 25px; }

/* TOAST DE NOTIFICAÇÃO (Estilo Pílula de Conhecimento) */
#toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 1500; display: flex; flex-direction: column; gap: 15px; }
.toast {
    background: rgba(6, 8, 6, 0.85); backdrop-filter: blur(10px); border-left: 4px solid var(--primary);
    border-radius: 8px; padding: 15px 20px; width: 320px; box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    cursor: pointer; transform: translateX(-150%); transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.toast.show { transform: translateX(0); }
.toast-title { color: #fff; font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.toast-desc { color: var(--text-muted); font-size: 12px; line-height: 1.4; }
.toast-footer { color: var(--primary); font-size: 11px; margin-top: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;}

.fade-in { opacity: 0; transform: translateY(30px); transition: 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* MOBILE */
@media (max-width: 768px) {
    #menu { display: none; }
    .menu-mobile-btn { display: block; }
    .header-icon { height: 25px; } 
    .logo-text { font-size: 15px; }
    .hero h1 { font-size: 34px; }
    .hero-buttons, .cta-buttons { flex-direction: column; align-items: center; width: 100%; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 280px; padding: 12px 20px; }
    section { padding: 80px 20px; }
    h2 { font-size: 26px; }
    .mapa-wrapper { height: 300px; }
    .footer-logo { max-width: 120px; } 
    .whatsapp-expand { width: 55px !important; bottom: 20px; right: 20px; }
    .whatsapp-expand .wa-text { display: none; }
    
    /* Notificação no mobile fica no topo para não brigar com o botão do WhatsApp */
    #toast-container { bottom: auto; top: 80px; left: 50%; transform: translateX(-50%); }
    .toast { transform: translateY(-150%); width: 90vw; }
    .toast.show { transform: translateY(0); }
}