:root {
    --primary: #27ae60;
    --dark: #0f172a;
    --text: #475569;
    --light: #f8fafc;
    --white: #ffffff;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Plus Jakarta Sans', sans-serif; scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 25px; }

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    height: 90px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo img { height: 50px; }

.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 700; transition: var(--transition); font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* AJUSTE DO HAMBURGUER PARA APARECER */
#hamburger {
    display: block;
    width: 25px;
    border-top: 2px solid var(--primary);
}
#hamburger::after, #hamburger::before {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
}

.hero { height: 85vh; position: relative; overflow: hidden; display: flex; align-items: center; }
.hero-img { position: absolute; width: 100%; height: 100%; object-fit: cover; z-index: -1; transform: scale(1.05); }
.hero-overlay { background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.3)); width: 100%; height: 100%; display: flex; align-items: center; color: white; }
.hero h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 800; line-height: 1; margin: 20px 0; }
.text-gradient { background: linear-gradient(90deg, #27ae60, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.btn-primary { background: var(--primary); color: white; padding: 18px 35px; border-radius: 12px; text-decoration: none; font-weight: 800; transition: var(--transition); border: 2px solid var(--primary); display: inline-block; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3); }
.btn-whatsapp-hero { background: rgba(255,255,255,0.1); backdrop-filter: blur(5px); color: white; padding: 18px 35px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 2px solid rgba(255,255,255,0.3); transition: var(--transition); display: flex; align-items: center; gap: 10px; }
.btn-whatsapp-hero:hover { background: #25d366; border-color: #25d366; transform: translateY(-3px); }

.stats { background: var(--dark); color: white; padding: 40px 0; }
.stats-wrapper { display: flex; justify-content: space-around; text-align: center; }
.stat-item strong { font-size: 2.5rem; display: block; color: var(--primary); }
.stat-item span { font-size: 0.9rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 1px; }

.section { padding: 80px 0; }
.section-title { font-size: 2.5rem; text-align: center; margin-bottom: 50px; color: var(--dark); font-weight: 800; }
.section-title span { color: var(--primary); }







/* Grid e Cards */
.ambientes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.ambiente-card { 
    height: 400px; 
    border-radius: 20px; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    cursor: pointer; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

.overlay-card { 
    position: absolute; inset: 0; 
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); 
    display: flex; align-items: flex-end; 
    padding: 30px; transition: 0.4s; 
}

.card-content span { 
    display: block; color: white; font-weight: 800; 
    font-size: 1.4rem; text-transform: uppercase; letter-spacing: 1px;
}

.card-content p { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 5px; opacity: 0; transform: translateY(10px); transition: 0.3s; }

.ambiente-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.ambiente-card:hover .overlay-card { background: rgba(39, 174, 96, 0.9); }
.ambiente-card:hover .card-content p { opacity: 1; transform: translateY(0); }

/* Painel de Detalhes Animado */
.detail-panel { 
    margin-top: 30px; 
    background: white; 
    border-radius: 20px; 
    padding: 30px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: none; /* JS controla isso */
    animation: slideUp 0.5s ease forwards;
    border-left: 6px solid var(--primary);
}

.detail-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.detail-text h3 { font-size: 1.8rem; color: var(--dark); margin-bottom: 10px; }
.detail-text p { color: var(--text); line-height: 1.6; max-width: 700px; }

.btn-detail-whats { 
    background: #25d366; color: white; padding: 15px 30px; 
    border-radius: 12px; text-decoration: none; font-weight: 800;
    transition: 0.3s; display: inline-block;
}
.btn-detail-whats:hover { background: #128c7e; transform: scale(1.05); }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}









.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.promo-card { background: white; border-radius: 15px; overflow: hidden; border: 1px solid #eee; display: flex; flex-direction: column; transition: var(--transition); }
.promo-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.promo-img { height: 160px; background-size: cover; background-position: center; position: relative; width: 100%; }
.tag-oferta { position: absolute; top: 10px; right: 10px; background: #ff4757; color: white; font-size: 0.65rem; padding: 3px 8px; border-radius: 5px; font-weight: 800; }
.p-content { padding: 12px; display: flex; flex-direction: column; flex-grow: 1; }
.p-content h3 { font-size: 0.9rem; color: var(--dark); margin-bottom: 8px; height: 2.4em; overflow: hidden; }
.price-container { margin-bottom: 12px; }
.old-price { display: block; text-decoration: line-through; color: #a4b0be; font-size: 0.75rem; }
.new-price { display: block; color: var(--primary); font-weight: 800; font-size: 1.1rem; }
.btn-zap-mini { background: #25d366; color: white; text-decoration: none; text-align: center; padding: 8px; border-radius: 8px; font-size: 0.85rem; font-weight: 700; margin-top: auto; }

.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; margin-top: 50px; }
.step { text-align: center; padding: 30px; background: var(--white); border-radius: 20px; transition: var(--transition); border: 1px solid rgba(0,0,0,0.03); }
.step:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.step-num { width: 60px; height: 60px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-weight: 800; font-size: 1.4rem; box-shadow: 0 8px 15px rgba(39, 174, 96, 0.3); }
.step h3 { margin-bottom: 12px; color: var(--dark); font-size: 1.1rem; font-weight: 800; }
.step p { font-size: 0.9rem; line-height: 1.5; color: var(--text); }


/* --- Estilo do Botão (Escondido por padrão no PC) --- */
#btn-mobile {
    display: none; /* Esconde no monitor normal */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

/* --- Estilo visual das linhas do hambúrguer --- */
#hamburger {
    display: block;
    width: 25px;
    border-top: 2px solid var(--primary);
    position: relative;
}

#hamburger::after, #hamburger::before {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary);
    margin-top: 5px;
    transition: 0.3s;
    position: relative;
}

/* --- CONFIGURAÇÃO DO RESPONSIVO --- */


.footer { padding: 40px 0; text-align: center; border-top: 1px solid #eee; }



/* ============================================================
   ESTILOS RESPONSIVOS CORRIGIDOS (MOBILE)
   ============================================================ */
/* ============================================================
   ESTILOS RESPONSIVOS FINAIS (MOBILE)
   ============================================================ */
@media screen and (max-width: 768px) {
    
    /* 1. Navbar: Logo de um lado, Hambúrguer do outro */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 75px;
        background: #ffffff;
        z-index: 9999;
        display: flex;
        align-items: center;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-wrapper {
        display: flex;
        justify-content: space-between; /* Empurra logo pra esquerda e burger pra direita */
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }

    /* ESCONDE OS LINKS DIRETOS NO MOBILE (Evita redundância) */
    .nav-links {
        display: none; 
    }

    /* Botão Hambúrguer sempre visível no mobile */
    #btn-mobile {
        display: flex !important;
        background: none;
        border: none;
        cursor: pointer;
    }

    /* Menu quando aberto pelo JS */
    #nav.active .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 75px;
        left: 0;
        width: 100%;
        height: auto;
        background: white;
        padding: 40px 20px;
        gap: 25px;
        text-align: center;
        border-bottom: 4px solid var(--primary);
    }

    /* 2. Hero Section: Imagem idêntica ao tamanho da section */
    .hero {
        margin-top: 75px;
        height: 70vh; /* Define a altura da seção */
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 20px;
        overflow: hidden;
    }

    .hero-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important; /* Mesma largura da section */
        height: 100% !important; /* Mesma altura da section */
        object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
        z-index: -1;
    }

    .hero-overlay {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5); /* Sombra para leitura */
        z-index: 0;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

    .hero h1 {
        font-size: 1.8rem !important;
        color: white;
    }

    /* 3. Ajuste de Grades e Conteúdo */
    .stats-wrapper,
    .promo-grid, 
    .ambientes-grid, 
    .process-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-whatsapp-hero {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}




