body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #ddd;
}

.logo-nome {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #c9a24a;
}

.logo-nome span {
    color: #444;
}

.logo-slogan {
    font-size: 12px;
    letter-spacing: 2px;
    color: #777;
    text-transform: uppercase;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

nav a:hover {
    color: #c9a24a;
}

.menu-hamburguer {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

/* Hero Centralizado */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
}

.hero h1 {
    color: #c9a24a;
    margin-bottom: 10px;
    text-transform: uppercase; /* Letras maiúsculas dão mais autoridade */
    letter-spacing: 2px;
}

/* .hero p {
    margin: 0;
    color: #666;
} */
 .hero p {
    margin: 0;
    color: #444; /* Um cinza mais escuro para dar mais leitura e "peso" */
    font-size: 16px; /* Aumentamos um pouco o tamanho */
    letter-spacing: 1px; /* Um leve respiro para combinar com o H1 */
    font-style: italic; /* O itálico traz um ar de exclusividade/curadoria */
    opacity: 0.9;
    line-height: 1.6; /* Melhora o respiro vertical */
}

/* Alinhamento do Catálogo com o Grid */
#catalogo {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.titulo-catalogo {
    margin: 0 0 25px 0;
    font-size: 24px;
}

.produtos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.card.esgotado img {
    filter: grayscale(1);
    opacity: 0.6;
}

.badge-esgotado {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #888;
    color: white;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 20px;
    z-index: 10;
    text-transform: uppercase;
}

.card-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
}

.concentracao, .genero {
    font-size: 13px;
    margin-bottom: 4px;
}

.genero {
    color: #c9a24a;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Preços */
.preco-pix {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap; /* Não deixa quebrar */
}

.valor {
    font-size: 22px;
    font-weight: bold;
    color: #c9a24a;
    white-space: nowrap; /* Não deixa quebrar o R$ do valor */
}

.pix {
    font-size: 12px;
    color: #777;
    white-space: nowrap;
}

.parcelamento {
    font-size: 14px;
    color: #555;
    margin-top: 4px;
}

/* Botões do Card */
.card-acoes {
    margin-top: auto;
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-consultar, .btn-avisar {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
}

.btn-consultar {
    background: #c9a24a;
    color: white;
}

.btn-avisar {
    background: #888;
    color: white;
}

.btn-detalhes {
    text-align: center;
    text-decoration: none;
    color: #777;
    font-size: 13px;
    padding: 5px;
}

.btn-detalhes:hover {
    text-decoration: underline;
    color: #c9a24a;
}

/* Página de Detalhes */
.detalhe-wrapper {
    max-width: 1000px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 20px;
}

.detalhe-foto {
    position: relative;
    width: 100%;
}

.detalhe-wrapper .badge-esgotado {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

.detalhe-foto img {
    width: 100%;
    border-radius: 10px;
    background: white;
}

.detalhe-preco-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Footer */
footer {
    margin-top: 60px;
    background: white;
    border-top: 1px solid #ddd;
}

.footer-container {
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 40px;
    flex-wrap: wrap;
}

.copyright {
    text-align: center;
    padding: 15px;
    font-size: 12px;
    color: #777;
    border-top: 1px solid #eee;
}

/* --- MEDIA QUERIES PARA MOBILE --- */
@media(max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .menu-hamburguer {
        display: block;
    }

    nav {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 80px; 
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1001;
        gap: 15px;
    }

    /* ESSENCIAL: Faz o menu aparecer via JS */
    nav.ativo {
        display: flex !important;
    }

    .produtos {
        grid-template-columns: repeat(2, 1fr); 
        gap: 12px;
        padding: 0 10px;
    }

    .card img {
        height: 180px; 
        padding: 5px;
    }

    .card-info {
        padding: 15px 10px; 
    }

    .card h3 {
        font-size: 15px;
    }

    /* Ajuste de Preço no Mobile */
    .valor {
        font-size: 18px; 
    }
    
    .pix {
        font-size: 10px;
    }

    .footer-container {
        gap: 40px;
        flex-direction: column;
        text-align: center;
    }
}

@media(max-width: 900px) {
    .detalhe-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Formatação dos links do rodapé */
.footer-col a {
    text-decoration: none;
    color: #444;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #c9a24a;
}

.contato-item i {
    color: #c9a24a;
    font-size: 18px;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 12px;
}

.btn-voltar {
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-voltar:hover {
    color: #c9a24a;
}

.detalhe-descricao p {
    line-height: 1.8;
    color: #555;
    font-size: 15px;
    text-align: justify;
    margin: 0;
    white-space: pre-line;
}

.detalhe-descricao b, 
.detalhe-descricao strong {
    color: #222;
    font-weight: bold;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Tamanho do ícone para não cortar e ficar centralizado */
.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Tooltip elegante (o modo estruturado que você preferiu) */
.whatsapp-float::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 75px;
    background-color: #333;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(10px);
    pointer-events: none;
}

.whatsapp-float:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Ajustes para Mobile */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
    .whatsapp-float::after {
        display: none;
        white-space: nowrap;
    }
}