/* RESET BÁSICO E CONFIGURAÇÕES GLOBAIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #A67B5B; /* Um tom de bronze/dourado queimado */
    --secondary-color: #F5F0E6; /* Um fundo bege/off-white muito claro */
    --text-color: #333333; /* Cinza escuro para texto */
    --light-text-color: #FFFFFF;
    --font-title: 'Cormorant Garamond', serif; /* Fonte elegante para títulos */
    --font-body: 'Montserrat', sans-serif; /* Fonte limpa para textos */
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* CABEÇALHO FIXO - GLOBAL */
.main-header {
    background-color: #FFF;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
    position: sticky; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

main {
    /* Padding para a versão desktop, evitando que o conteúdo fique atrás do cabeçalho */
    padding-top: 101px; 
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex; 
    align-items: center; 
    text-decoration: none; 
    color: var(--text-color);
}

.logo-container img {
    max-height: 70px; /* Tamanho do símbolo ajustado */
    margin-right: 15px; 
}

.logo-container span {
    font-family: 'Montserrat', sans-serif; /* Fonte do texto da logo */
    font-size: 22px; 
    font-weight: 500;
    color: var(--primary-color); /* Cor dourada */
}

.main-nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.header-icons a {
    margin-left: 15px;
    text-decoration: none;
    font-size: 18px;
    color: var(--text-color);
}

/* SEÇÃO BANNER PRINCIPAL (HERO) */
.hero-section {
    position: relative;
    text-align: center;
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.hero-section h1 {
    font-family: var(--font-title);
    font-size: 64px;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #8c6649;
}

/* BARRA DE CONFIANÇA */
.trust-bar {
    background-color: #fff;
    padding: 15px 0;
}
.trust-bar .container {
    display: flex;
    justify-content: space-around;
    font-weight: 500;
    color: #555;
    flex-wrap: wrap;
}

/* PRODUTOS EM DESTAQUE */
.featured-products {
    padding: 80px 0;
    text-align: center;
}

.featured-products h2 {
    font-family: var(--font-title);
    font-size: 42px;
    margin-bottom: 50px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #FFF;
    border: 1px solid #eee;
    padding-bottom: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-card h3 {
    font-size: 18px;
    margin: 15px 15px 5px 15px;
    min-height: 44px; /* Garante altura mínima para nomes de 2 linhas */
}

.product-description {
    font-size: 14px;
    color: #777;
    margin-bottom: 10px;
    padding: 0 10px;
}

.product-card .price {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* SEÇÃO GRUPO VIP (NEWSLETTER) */
.newsletter {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 60px 0;
    text-align: center;
}
.newsletter h2 {
    font-family: var(--font-title);
    font-size: 36px;
    margin-bottom: 10px;
}
.newsletter p {
    margin-bottom: 30px;
}
.newsletter .whatsapp-button {
    font-size: 18px;
    background-color: var(--text-color);
}
.newsletter .whatsapp-button i {
    margin-right: 10px;
}

/* RODAPÉ */
.main-footer {
    background-color: #333;
    color: #ccc;
    padding: 60px 0 20px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-family: var(--font-title);
    font-size: 22px;
}

.footer-col a, .footer-col .social-icons a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col a:hover, .footer-col .social-icons a:hover {
    color: var(--primary-color);
}

.footer-col a i, .contact-link i {
    margin-right: 8px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
}

/* PÁGINA DE CONTATO */
.contact-info h3 {
    font-family: var(--font-title);
    font-size: 28px;
    margin: 30px 0 20px 0;
}
.contact-link {
    display: block;
    font-size: 18px;
    margin-bottom: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}
.contact-link:hover {
    color: var(--primary-color);
}

/* ESTILOS PARA FILTROS */
.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    font-family: var(--font-body);
}


/* ADAPTAÇÃO PARA TELAS MENORES (Mobile) */
@media (max-width: 768px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo-container {
        width: calc(100% - 80px); /* Deixa espaço para os ícones */
    }

    .logo-container span {
        font-size: 16px; 
    }
    .logo-container img {
        max-height: 50px;
    }

    .main-nav {
        order: 3; /* Coloca a navegação por último */
        width: 100%; 
        margin: 10px 0 0 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }

    .main-nav a {
        margin: 5px 8px;
        font-size: 14px;
    }

    .header-icons {
        order: 2; /* Mantém os ícones no canto superior direito */
    }

    main {
        /* Ajusta o padding para o cabeçalho móvel que agora tem 2 linhas */
        padding-top: 140px; 
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .product-card h3 {
        font-size: 16px;
        min-height: 58px;
    }

    .footer-columns {
        flex-direction: column;
        text-align: center;
    }
    .footer-col {
        margin-bottom: 30px;
    }
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        justify-content: space-between;
    }
}

/* Estilo para o Aviso de Catálogo */
.aviso-catalogo {
    background-color: var(--primary-color); /* Usa a cor primária do seu site */
    color: var(--light-text-color); /* Usa a cor de texto clara */
    padding: 12px 50px 12px 20px; /* Espaçamento interno */
    text-align: center;
    position: relative; /* Importante para o posicionamento do botão de fechar */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

.aviso-catalogo p {
    margin: 0;
}

#fechar-aviso {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--light-text-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 5px;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .aviso-catalogo {
        font-size: 13px;
        padding-right: 45px; /* Garante espaço para o botão de fechar */
    }
}