/* =========================================
   CONFIGURAÇÕES GLOBAIS E PALETA DE CORES
   ========================================= */
:root {
    --cor-principal: #d88373; /* Tom salmão/terra elegante */
    --cor-fundo: #faf8f5;     /* Fundo off-white luxuoso */
    --cor-texto: #333333;
    --cor-texto-claro: #666666;
    --cor-botao: #2c3e20;     /* Verde escuro musgo para conversão */
    --cor-botao-hover: #1e2b15;
    --cor-promo: #b23a3a;     /* Vermelho para urgência e ofertas */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--cor-fundo);
    color: var(--cor-texto);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* =========================================
   1. BARRA DE PROMOÇÃO
   ========================================= */
.promo-bar {
    background-color: var(--cor-promo);
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* =========================================
   2. CABEÇALHO E MENU
   ========================================= */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--cor-texto);
}

.menu-desktop ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu-desktop a {
    text-decoration: none;
    color: var(--cor-texto-claro);
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.menu-desktop a:hover {
    color: var(--cor-principal);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.cart-icon .material-symbols-outlined {
    font-size: 28px;
    color: var(--cor-texto);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--cor-promo);
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================================
   3. PRIMEIRA DOBRA (HERO SECTION)
   ========================================= */
.hero {
    background-color: #f1e8e2; 
    padding: 100px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.hero h1 {
    font-size: 45px;
    font-weight: 800;
    margin-bottom: 20px;
    max-width: 800px;
    line-height: 1.2;
    color: #222;
}

.hero p {
    font-size: 18px;
    color: var(--cor-texto-claro);
    margin-bottom: 35px;
    max-width: 650px;
    line-height: 1.6;
}

.btn-cta {
    background-color: var(--cor-botao);
    color: white;
    padding: 18px 45px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(44, 62, 32, 0.3);
}

.btn-cta:hover {
    background-color: var(--cor-botao-hover);
    transform: translateY(-2px);
}

/* =========================================
   4. BARRA DE CONFIANÇA
   ========================================= */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 50px;
    background-color: white;
    padding: 25px 5%;
    border-bottom: 1px solid #eee;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item .material-symbols-outlined {
    font-size: 32px;
    color: var(--cor-principal);
}

.trust-item strong {
    display: block;
    font-size: 16px;
    color: var(--cor-texto);
}

.trust-item p {
    font-size: 13px;
    color: var(--cor-texto-claro);
}

/* =========================================
   5. VITRINE DE PRODUTOS
   ========================================= */
.vitrine {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.vitrine-header {
    text-align: center;
    margin-bottom: 50px;
}

.vitrine-header h2 {
    font-size: 35px;
    color: var(--cor-texto);
    margin-bottom: 10px;
}

.vitrine-header p {
    font-size: 16px;
    color: var(--cor-promo);
    font-weight: bold;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.producto-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.producto-card:hover {
    transform: translateY(-8px);
}

.tag-oferta {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--cor-promo);
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 3px;
    text-transform: uppercase;
    z-index: 10;
}

.producto-info {
    padding: 25px;
    text-align: center;
}

.producto-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--cor-texto);
}

.desc-corta {
    font-size: 14px;
    color: var(--cor-texto-claro);
    margin-bottom: 15px;
}

.precio {
    font-size: 24px;
    font-weight: 900;
    color: var(--cor-principal);
    margin-bottom: 20px;
}

.btn-comprar {
    width: 100%;
    padding: 15px;
    background-color: #111;
    color: white;
    border: none;
    font-size: 15px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-comprar:hover {
    background-color: var(--cor-principal);
}

/* =========================================
   6. SEÇÃO DE BENEFÍCIOS
   ========================================= */
.beneficios {
    background-color: white;
    padding: 80px 5%;
}

.beneficios-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.beneficios-texto {
    flex: 1;
}

.beneficios-texto h2 {
    font-size: 32px;
    margin-bottom: 25px;
}

.beneficios-texto ul {
    list-style: none;
}

.beneficios-texto li {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--cor-texto-claro);
    position: relative;
    padding-left: 30px;
}

.beneficios-texto li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cor-principal);
    font-weight: bold;
    font-size: 18px;
}

/* =========================================
   7. PERGUNTAS FREQUENTES (FAQ)
   ========================================= */
.faq {
    padding: 80px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.03);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--cor-principal);
}

.faq-item p {
    font-size: 15px;
    color: var(--cor-texto-claro);
    line-height: 1.5;
}

/* =========================================
   8. CARRINHO DE COMPRAS (MODAL) E BOTÕES
   ========================================= */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 1000;
    display: none;
    justify-content: flex-end;
}

.cart-overlay.active {
    display: flex;
}

.cart-sidebar {
    width: 420px;
    max-width: 100%;
    background-color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    transform: translateX(100%);
    animation: slideIn 0.4s forwards;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.cart-header {
    padding: 20px 25px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    font-size: 22px;
}

.close-cart {
    cursor: pointer;
    font-size: 28px;
    color: #999;
    transition: 0.3s;
}

.close-cart:hover {
    color: red;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.cart-item-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--cor-principal);
    font-weight: bold;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 13px;
    text-decoration: underline;
}

.remove-btn:hover {
    color: red;
}

.cart-footer {
    padding: 25px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-resumo p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 16px;
    color: var(--cor-texto-claro);
}

.total-destaque {
    font-size: 22px !important;
    font-weight: 900;
    color: var(--cor-texto) !important;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 5px;
}

.progress-bar-container {
    margin: 20px 0;
}

.frete-aviso {
    font-size: 14px;
    text-align: center;
    margin-bottom: 8px;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    transition: all 0.4s ease;
}

/* BOTÃO NOVO: CONTINUAR COMPRANDO */
.btn-continuar {
    width: 100%;
    padding: 15px;
    background-color: #e0e0e0;
    color: #333;
    border: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    margin-bottom: 12px;
    transition: 0.3s;
}

.btn-continuar:hover {
    background-color: #ccc;
}

.btn-checkout {
    width: 100%;
    padding: 18px;
    background-color: var(--cor-botao);
    color: white;
    border: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-checkout:hover {
    background-color: var(--cor-botao-hover);
}

.pagos-seguros {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

/* =========================================
   9. RODAPÉ
   ========================================= */
.footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 14px;
    color: #ccc;
}

/* =========================================
   RESPONSIVIDADE (PARA CELULARES)
   ========================================= */
@media (max-width: 768px) {
    .menu-desktop {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .beneficios-container {
        flex-direction: column;
    }
}

/* =========================================
   CARROSSEL ANTIGO (MANTIDO POR SEGURANÇA)
   ========================================= */
.carrossel-produto {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: 400px;
    position: relative;
    background-color: #e6e6e6;
}

.carrossel-produto::-webkit-scrollbar {
    display: none; 
}

.carrossel-produto img, .carrossel-produto video {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scroll-snap-align: start;
}

/* =========================================
   NOVA GALERIA DE FOTOS GRANDE (LIGHTBOX)
   ========================================= */
.galeria-overlay {
    display: none; 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.galeria-overlay.active {
    display: flex;
}

.galeria-conteudo {
    width: 90%;
    max-width: 500px;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.close-galeria {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 45px;
    cursor: pointer;
    z-index: 2001;
}

.btn-nav {
    background: transparent;
    border: none;
    color: white;
    font-size: 45px;
    cursor: pointer;
    padding: 20px;
    z-index: 2001;
}