/* --- Variáveis e Base --- */
:root {
    --bg-light: #E9E1D6;
    --bg-medium: #D6C6B2;
    --text-dark: #1C1A18;
    --primary-gold: #C8A46B;
    --dark-gold: #8C6A3B;
    --brown-deep: #3A2E24;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Menu Premium --- */
nav.sticky {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--brown-deep);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 2000;
}

.logo-img { height: 55px; width: auto; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-gold);
    cursor: pointer;
    font-size: 1.8rem;
}

nav .nav-links { display: flex; list-style: none; gap: 1.5rem; }

nav .nav-links a {
    text-decoration: none;
    color: var(--bg-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: 0.3s;
}

nav .nav-links a:hover {
    color: var(--text-dark);
    background-color: var(--primary-gold);
    border-radius: 4px;
}

/* --- Banners (Headers) --- */
header.hero, .hero-subpage {
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12rem 2rem 8rem;
    background-size: cover;
    background-position: center;
    color: #fff;
}

header.hero::before, .hero-subpage::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(58, 46, 36, 0.4));
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; max-width: 900px; }

header.hero h1, .hero-subpage h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 1.5rem;
}

/* --- Seções e Grids --- */
.content-section {
    padding: 5rem 5%;
    max-width: 1250px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 4rem;
    color: var(--brown-deep);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.card {
    background: var(--bg-medium);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--primary-gold);
    transition: 0.3s;
    text-align: center;
    padding: 2rem;
}

.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card i, .card svg { font-size: 2.5rem; color: var(--primary-gold); margin-bottom: 1.5rem; display: block; }

/* Grid de Produtos */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.showcase-info h3 {
    font-size: 2.2rem;
    color: var(--brown-deep);
    border-left: 6px solid var(--primary-gold);
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

.showcase-images img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 10px 10px 0 var(--primary-gold);
}

/* --- Botões e Links Padronizados --- */
.btn-link, 
a[href*="detalhes"], 
a[href*="Equipe"] {
    display: inline-block;
    text-decoration: none !important;
    color: var(--brown-deep) !important;
    border: 2px solid var(--primary-gold);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-link:hover, a[href*="detalhes"]:hover, a[href*="Equipe"]:hover {
    background-color: var(--primary-gold);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* WhatsApp do Banner/Corpo (Botão Verde) */
.hero-content a[href*="wa.me"], 
.content-section a[href*="wa.me"],
.cta-banner a[href*="wa.me"] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366 !important;
    color: #fff !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* WhatsApp do Rodapé (Texto Limpo - O que você pediu) */
.footer-contact a[href*="wa.me"], 
.footer-contact a[href*="whatsapp"],
.footer-link-clean {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-block;
    transition: color 0.3s ease;
}

.footer-contact a[href*="wa.me"]:hover {
    color: var(--primary-gold) !important;
}

/* --- Rodapé Profissional Renovare (Versão Compacta) --- */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 2.5rem 5% 1rem; /* Reduzido de 4rem para 2.5rem */
    border-top: 3px solid var(--primary-gold);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr; /* Colunas mais ajustadas */
    gap: 2rem;
}

/* Títulos das Colunas */
.footer-column h4 {
    color: var(--primary-gold);
    text-transform: uppercase;
    font-size: 0.85rem; /* Fonte levemente menor */
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

/* Branding */
.footer-logo {
    font-size: 1.5rem;
    color: var(--primary-gold);
    letter-spacing: 3px;
    margin-bottom: 0.8rem;
}

.branding p {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.7;
    max-width: 280px;
}

/* Links de Navegação */
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
    color: var(--bg-light) !important; /* Força cor clara */
    text-decoration: none !important;
    font-size: 0.85rem;
    transition: 0.3s;
}
.footer-links a:hover { color: var(--primary-gold) !important; }

/* Contatos e Fim do Roxo */
.footer-contact-info p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

/* ESTA REGRA MATA O ROXO DO WHATSAPP */
.footer-contact-info a {
    color: var(--bg-light) !important; /* Garante que fique branco/bege */
    text-decoration: none !important;
    transition: 0.3s;
}

.footer-contact-info a:visited {
    color: var(--bg-light) !important; /* Impede que fique roxo após clicar */
}

.footer-contact-info a:hover {
    color: var(--primary-gold) !important;
}

.footer-contact-info i {
    color: var(--primary-gold);
    width: 16px;
}

/* Copyright Final */
.footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(200, 164, 107, 0.1);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.5;

}

/* Responsividade Mobile */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Empilha tudo no celular */
        text-align: center;
        gap: 2.5rem;
    }
    
    .footer-contact-info p {
        justify-content: center;
    }
    
    .branding p {
        margin: 0 auto;
    }
}
/* --- Galeria --- */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filters button.filter-btn {
    background-color: transparent !important;
    color: var(--brown-deep) !important;
    border: 2px solid var(--primary-gold) !important;
    padding: 10px 25px !important;
    font-family: 'Montserrat', sans-serif !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    transition: 0.3s;
}

.gallery-filters button.filter-btn.active {
    background-color: var(--primary-gold) !important;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    padding: 0 5%;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--primary-gold);
}

.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(58, 46, 36, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    color: var(--white);
    font-weight: 700;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* --- Responsividade --- */
@media (max-width: 768px) {
    .mobile-menu-toggle { display: block; }
    nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: var(--brown-deep);
        padding: 2rem 0;
        text-align: center;
    }
    nav .nav-links.active { display: flex; }
    
    header.hero h1, .hero-subpage h1 { font-size: 2.2rem !important; }
    .product-showcase { grid-template-columns: 1fr; text-align: center; }
    .showcase-info h3 { border-left: none; border-bottom: 4px solid var(--primary-gold); padding: 0 0 10px 0; }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-filters button.filter-btn { width: 100%; }
}
/* --- Ajuste Global de Links de Contato --- */
.contact-item a, 
.contact-link-clean {
    color: var(--brown-deep) !important; /* Força a cor marrom escuro */
    text-decoration: none !important;
    transition: color 0.3s ease;
}

/* Evita que mude de cor após ser clicado (visitado) */
.contact-item a:visited, 
.contact-link-clean:visited {
    color: var(--brown-deep) !important;
}

.contact-item a:hover, 
.contact-link-clean:hover {
    color: var(--primary-gold) !important; /* Muda para dourado no hover */
}

/* --- Estilo dos Campos do Formulário (Inputs) --- */
.premium-form .form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
}

.premium-form label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--brown-deep);
}

.premium-form input, 
.premium-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--primary-gold);
    border-radius: 8px;
    background-color: var(--bg-light); /* Bege clarinho */
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: 0.3s;
}

.premium-form input:focus, 
.premium-form textarea:focus {
    border-color: var(--brown-deep);
    box-shadow: 0 0 5px rgba(200, 164, 107, 0.3);
}

/* Estilo do Botão Enviar Mensagem */
.btn-submit {
    background-color: var(--brown-deep) !important;
    color: var(--primary-gold) !important;
    padding: 1rem;
    border: 1px solid var(--primary-gold) !important;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-gold) !important;
    color: var(--brown-deep) !important;
}