/* ==========================================================================
   1. RESET BÁSICO E VARIÁVEIS (TEMA CLARO)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-color: #ffffff;         /* Fundo Principal Branco */
    --bg-darker: #f9f9f9;        /* Fundo Secundário (Cinza bem claro) */
    --text-main: #222222;        /* Texto Escuro para leitura */
    --text-muted: #666666;       /* Texto Secundário (Cinza médio) */
    --accent-gold: #d4af37;      /* Dourado Mariart's */
    --accent-dark: #111111;
    --whatsapp-green: #25d366;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* ==========================================================================
   2. CABEÇALHO (HEADER) E NAVEGAÇÃO
   ========================================================================== */
header {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem 5%;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95); /* Fundo branco transparente */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeaea; /* Linha sutil separando o menu */
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: var(--text-main); /* Texto escuro */
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--accent-gold);
}

/* ==========================================================================
   3. SEÇÃO PRINCIPAL (SHOWCASE)
   ========================================================================== */
.showcase-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 2rem 5%;
    gap: 4rem;
}

.product-display {
    position: relative;
    width: 450px;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glow-background {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    /* No fundo branco, o brilho precisa ser mais suave (0.3 de opacidade) */
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, rgba(255,255,255,0) 70%);
    filter: blur(45px);
    transition: background 0.8s ease, transform 0.5s ease;
    z-index: 1;
}

.product-image {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Sombra da imagem ajustada para fundo claro */
    filter: drop-shadow(0px 25px 25px rgba(0,0,0,0.25));
    transition: opacity 0.4s ease, transform 0.4s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.product-info {
    max-width: 500px;
}

.product-info h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    /* Gradiente escuro para dourado */
    background: linear-gradient(90deg, #111, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-info p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-comprar {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-gold);
    color: var(--accent-dark);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.btn-comprar:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.controls {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.controls button {
    background: transparent;
    border: 1px solid #ccc; /* Borda cinza no tema claro */
    color: var(--text-main);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controls button:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background-color: rgba(212, 175, 55, 0.05);
}

/* ==========================================================================
   4. ESTRUTURA GERAL DAS NOVAS SEÇÕES
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.content-section {
    padding: 5rem 0;
}

.darker-bg {
    background-color: var(--bg-darker);
}

.section-title {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* ==========================================================================
   5. CATÁLOGO / CATEGORIAS (GRID)
   ========================================================================== */
.grid-categorias {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card-categoria {
    background: #ffffff;
    border: 1px solid #eaeaea;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); /* Sombra suave para destacar o cartão */
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.card-categoria:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15); /* Sombra dourada no hover */
}

.card-categoria h3 {
    color: var(--text-main);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.card-categoria p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   6. SOBRE NÓS (Com Layout Travado para não espremer)
   ========================================================================== */
.flex-sobre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap; /* Permite quebrar linha no mobile */
}

.sobre-texto {
    flex: 1 1 45%; /* Ocupa 45% do espaço */
    min-width: 300px; /* Não encolhe mais que isso */
}

.sobre-texto .section-title {
    text-align: left;
}

.sobre-texto p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.sobre-imagem {
    flex: 1 1 45%; /* Ocupa os outros 45% do espaço */
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.imagem-sobre {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 15px; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); /* Sombra ajustada para tema claro */
    object-fit: cover;
}

/* ==========================================================================
   7. RODAPÉ (FOOTER)
   ========================================================================== */
footer {
    background-color: #f1f1f1; /* Fundo cinza bem suave */
    padding-top: 4rem;
    border-top: 1px solid #e0e0e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links h3, .footer-contato h3 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a, .footer-contato a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover, .footer-contato a:hover {
    color: var(--accent-gold);
}

.footer-contato p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem;
    background: #e6e6e6; /* Base escura do tema claro */
    color: #555;
    font-size: 0.9rem;
}

/* ==========================================================================
   8. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--whatsapp-green);
    border-radius: 50px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   9. RESPONSIVIDADE (MOBILE E TABLETS)
   ========================================================================== */
@media screen and (max-width: 992px) {
    .showcase-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding-top: 2rem;
    }

    .flex-sobre {
        flex-direction: column; /* Força empilhar Imagem e Texto */
        text-align: center;
        gap: 3rem;
    }

    .sobre-texto .section-title {
        text-align: center;
    }

    .sobre-texto, .sobre-imagem {
        width: 100%; /* Ocupa 100% da tela no tablet/celular */
        flex: none;
    }

    .product-info h1 {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }

    header nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .product-display {
        width: 100%;
        height: 350px;
    }

    .product-info h1 {
        font-size: 2rem;
    }
    
    .glow-background {
        width: 250px;
        height: 250px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}