/* ========================================================
   🎨 LEVIA PROJECT - ESTILOS ESPECÍFICOS POR PÁGINA
   ======================================================== */

/* ========================================================
   🏠 1. PÁGINA INICIAL (INDEX.HTML)
   ======================================================== */
.hero-container { 
    position: relative; 
    width: 100%; 
    height: calc(100vh - 120px); 
    display: flex; 
    overflow: hidden; 
}

.split { 
    width: 50%; 
    height: 100%; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    cursor: pointer; 
}

.bg-img { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s ease; 
    z-index: 1; 
}
/* 🚀 Destranca o efeito de desvanecer nas duas imagens de campanha do index */
.split .bg-img.reveal-img {
    opacity: 0;
    transition: opacity 1s ease-out, transform 0.8s ease;
}

.split .bg-img.reveal-img.visible {
    opacity: 1;
}

.overlay-dark { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0,0,0,0.2); 
    z-index: 2; 
    transition: background 0.5s; 
}

.split:hover .bg-img { 
    transform: scale(1.05); 
}

.split:hover .overlay-dark { 
    background: rgba(0,0,0,0.5); 
}

.content { 
    position: relative; 
    z-index: 3; 
    text-align: center; 
}

.content h2 { 
    font-family: 'Playfair Display', serif; 
    color: white; 
    font-size: 3.5rem; 
    margin-bottom: 20px; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.3); 
}

.btn-discover { 
    display: inline-block; 
    padding: 15px 40px; 
    background: white; 
    color: var(--dark); 
    text-decoration: none; 
    font-family: 'Lato', sans-serif; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-weight: 700; 
    transition: all 0.3s; 
}

.btn-discover:hover { 
    background: var(--bordeaux); 
    color: white; 
}

.collection-overlay { 
    position: absolute; 
    bottom: 12%; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 10; 
    text-align: center; 
    pointer-events: none; 
    width: 100%; 
}

.collection-name { 
    font-family: 'Playfair Display', serif; 
    font-size: 6.5rem; 
    color: white; 
    font-style: italic; 
    line-height: 1; 
    margin-bottom: 10px; 
    text-shadow: 0 4px 20px rgba(0,0,0,0.5); 
}

.collection-season { 
    font-family: 'Lato', sans-serif; 
    font-size: 1.2rem; 
    color: white; 
    text-transform: uppercase; 
    letter-spacing: 12px; 
    font-weight: 300; 
    text-shadow: 0 4px 10px rgba(0,0,0,0.5); 
}

.history { 
    display: flex; 
    align-items: center; 
    padding: 100px 50px; 
    background: white; 
    gap: 50px; 
}

.history-text { 
    flex: 1; 
    padding: 0 50px; 
}

.history-text h2 { 
    font-size: 2.5rem; 
    color: var(--bordeaux); 
    margin-bottom: 20px; 
    font-family: 'Playfair Display', serif; 
}

.history-text p { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: #555; 
    margin-bottom: 30px; 
}

/* 🚀 RESTAURO DA IMAGEM DA HISTÓRIA */
.history-img { 
    flex: 1; 
    height: 500px; 
    background: url('../imagens/historia.jpg') center/cover !important; 
    background-color: #eaddd7; 
}

.society { 
    text-align: center; 
    padding: 100px 20px; 
    background: var(--ivory); 
}

.society h2 { 
    font-size: 2.5rem; 
    color: var(--bordeaux); 
    margin-bottom: 15px; 
    font-family: 'Playfair Display', serif; 
}

.society p { 
    font-size: 1rem; 
    color: #666; 
    max-width: 600px; 
    margin: 0 auto 40px; 
    line-height: 1.6; 
}

.society-form { 
    display: flex; 
    max-width: 500px; 
    margin: 0 auto; 
}

.society-form input { 
    flex: 1; 
    padding: 15px; 
    border: 1px solid #ccc; 
    font-family: 'Lato', sans-serif; 
    border-right: none; 
}

.society-form input:focus { 
    outline: none; 
    border-color: var(--bordeaux); 
}

.society-form button { 
    padding: 15px 30px; 
    background: var(--bordeaux); 
    color: var(--gold); 
    border: none; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 700; 
    cursor: pointer; 
    transition: 0.3s; 
}

.society-form button:hover { 
    background: #4a0d17; 
}

@media (max-width: 768px) {
    .hero-container { flex-direction: column; height: auto; }
    .split { width: 100%; height: 50vh; }
    .collection-overlay { bottom: 50%; transform: translate(-50%, 50%); }
    .collection-name { font-size: 3.5rem; }
    .collection-season { font-size: 0.9rem; letter-spacing: 6px; }
    .history { flex-direction: column; padding: 50px 20px; text-align: center; }
    .history-img { width: 100%; height: 300px; }
}


/* ========================================================
   🛍️ 2. MONTRA / COLECÇÕES (HOMEM.HTML & MULHER.HTML)
   ======================================================== */
.shop-header { 
    padding: 60px 20px 20px; 
    text-align: center; 
}

.shop-header h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.5rem; 
    color: var(--bordeaux); 
    margin-bottom: 30px; 
}

.toolbar { 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto 40px; 
    padding: 0 20px; 
    display: flex !important; 
    justify-content: space-between !important; 
    align-items: center; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 15px; 
}

.btn-filter { 
    background: none; 
    border: none; 
    font-family: 'Lato', sans-serif; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 700; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    transition: 0.3s; 
    color: var(--dark); 
}

.btn-filter:hover { 
    color: var(--bordeaux); 
}

.toolbar-right { 
    display: flex; 
    align-items: center; 
    gap: 30px; 
}

.sort-container { 
    position: relative; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    height: 30px; 
}

.sort-label { 
    font-family: 'Lato', sans-serif; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-weight: 700; 
    color: var(--dark); 
    transition: 0.3s; 
}

.sort-label span { 
    font-weight: 400; 
    color: #666; 
    margin-left: 5px; 
}

.sort-label::after { 
    content: '▼'; 
    font-size: 0.5rem; 
    margin-left: 6px; 
    vertical-align: middle; 
}

.sort-container:hover .sort-label { 
    color: var(--bordeaux); 
}

.sort-dropdown-menu { 
    position: absolute; 
    top: 100%; 
    right: 0; 
    background: white; 
    border: 1px solid #eee; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    width: 220px; 
    opacity: 0; 
    visibility: hidden; 
    transform: translateY(10px); 
    transition: all 0.3s ease; 
    z-index: 1000; 
    display: flex; 
    flex-direction: column; 
}

.sort-container:hover .sort-dropdown-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.sort-option { 
    padding: 12px 20px; 
    font-family: 'Lato', sans-serif; 
    font-size: 0.75rem; 
    color: var(--dark); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    transition: 0.2s; 
    border-bottom: 1px solid #f9f9f9; 
}

.sort-option:last-child { 
    border-bottom: none; 
}

.sort-option:hover { 
    background: #f9f9f9; 
    color: var(--bordeaux); 
}

.sort-option.active { 
    font-weight: 700; 
    color: var(--bordeaux); 
}

.grid-toggles { 
    display: none; 
    gap: 10px; 
}

.btn-grid-toggle { 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: #ccc; 
    cursor: pointer; 
    transition: 0.3s; 
    padding: 0; 
    line-height: 1; 
}

.btn-grid-toggle.active { 
    color: var(--dark); 
}

/* --- CORREÇÃO DOS FILTROS LATERAIS --- */
.filter-drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.5); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; }
.filter-drawer-overlay.active { opacity: 1; visibility: visible; }
.filter-drawer { position: fixed; top: 0; left: -400px; width: 100%; max-width: 350px; height: 100dvh; background: white; z-index: 2001; transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 5px 0 30px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.filter-drawer.active { left: 0; }
.filter-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 30px; border-bottom: 1px solid #eee; }
.filter-header h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--dark); font-weight: 400; }
.btn-close-filter { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; transition: 0.3s; }
.btn-close-filter:hover { color: var(--bordeaux); }
.filter-content { padding: 30px; flex: 1; overflow-y: auto; }
.filter-group { margin-bottom: 30px; }
.filter-group-title { font-family: 'Lato', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 15px; color: var(--dark); border-bottom: 1px solid #eee; padding-bottom: 10px;}
.checkbox-container { display: flex; align-items: center; margin-bottom: 12px; cursor: pointer; font-size: 0.9rem; color: #555; transition: 0.2s; }
.checkbox-container:hover { color: var(--bordeaux); }
.checkbox-container input { display: none; }
.checkmark { width: 18px; height: 18px; border: 1px solid #ccc; margin-right: 12px; display: inline-flex; justify-content: center; align-items: center; border-radius: 2px; }
.checkbox-container input:checked + .checkmark { background: var(--bordeaux); border-color: var(--bordeaux); }
.checkbox-container input:checked + .checkmark::after { content: '✓'; color: white; font-size: 0.8rem; }
.count-badge { font-size: 0.75rem; color: #999; margin-left: 5px; }
.color-swatch-filter { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #ddd; margin-right: 8px; display: inline-block; }
.filter-footer { padding: 20px 30px; border-top: 1px solid #eee; display: flex; gap: 15px; }
.btn-filter-action { flex: 1; padding: 15px; border: none; font-family: 'Lato', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: 0.3s; }
.btn-clear { background: #f5f5f5; color: var(--dark); }
.btn-clear:hover { background: #e0e0e0; }
.btn-apply { background: var(--dark); color: white; }
.btn-apply:hover { background: var(--bordeaux); }

/* --- GRELHA DE PRODUTOS --- */
.product-grid { max-width: 1200px; margin: 0 auto 100px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; padding: 0 20px; transition: all 0.3s ease; }
.product-card { background: white; padding: 20px; text-align: center; border: 1px solid #eee; transition: 0.3s; }
.img-box { width: 100%; height: 400px; overflow: hidden; margin-bottom: 20px; background: #f9f9f9; position: relative; }
.img-main, .img-hover-effect { width: 100%; height: 100%; object-fit: cover; position: absolute; top: 0; left: 0; transition: opacity 0.6s ease; }
.img-hover-effect { opacity: 0; z-index: 2; }
@media (hover: hover) and (pointer: fine) {
    .img-box:hover .img-hover-effect { opacity: 1; }
    .img-box:hover .img-main { opacity: 0; }
}
.product-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; margin-bottom: 10px; }
.product-color-name { font-size: 0.7rem; text-transform: uppercase; color: #999; margin-bottom: 15px; display: block; }
.swatches { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.swatch { width: 18px; height: 18px; border-radius: 50%; cursor: pointer; border: 1px solid #ddd; transition: 0.2s; }
.swatch.active { border: 2px solid var(--bordeaux); outline: 2px solid white; outline-offset: -3px; transform: scale(1.2); }

@media (max-width: 768px) {
    .toolbar { flex-wrap: wrap; gap: 15px; }
    .sort-label { font-size: 0.75rem; }
    .grid-toggles { display: flex; }
    
    /* 📱 GRELHA MÓVEL LEVIA: Força o alinhamento reto das linhas de produtos */
    .product-grid { 
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important; 
        gap: 16px !important; 
        padding: 0 15px !important; 
        align-items: stretch !important;
    }
    
    /* 📱 CARTÃO: Força os quadrados das duas colunas a manter rigorosamente a mesma altura */
    .product-card { 
        padding: 10px; 
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        justify-content: space-between !important;
        background: #ffffff;
    }
    
    /* 📱 CAIXA DA IMAGEM: Blinda as proporções para que sejam verticais e simétricas */
    .img-box { 
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3/4 !important; 
        margin-bottom: 10px; 
        position: relative;
    }
    
    .img-main, .img-hover-effect {
        object-fit: cover !important;
    }

    /* 📱 TÍTULO: Permite que o texto quebre linha livremente sem cortar com reticências */
    .product-title { 
        font-size: 0.9rem; 
        margin-bottom: 5px; 
        white-space: normal !important; 
        overflow: visible !important;
        text-overflow: clip !important;
    }
    
    .swatches { gap: 6px; margin-bottom: 10px; }
    .swatch { width: 14px; height: 14px; outline-offset: -2px; }
    
    /* 📱 MODO 1 COLUNA: Mantém a consistência de proporção vertical premium */
    .product-grid.grid-1-col { grid-template-columns: 1fr !important; gap: 30px !important; }
    .product-grid.grid-1-col .img-box { height: auto !important; aspect-ratio: 3/4 !important; }
    .product-grid.grid-1-col .product-title { font-size: 1.3rem; white-space: normal; overflow: visible; }
    .product-grid.grid-1-col .swatch { width: 18px; height: 18px; }
}


/* ========================================================
   👕 3. DETALHE DO PRODUTO (PRODUTO.HTML)
   ======================================================== */
.product-container { max-width: 1400px; margin: 40px auto; padding: 0 50px; display: grid; grid-template-columns: 1fr 400px; gap: 60px; align-items: start; }
.btn-back { display: inline-flex; align-items: center; gap: 10px; background: none; border: none; font-family: 'Lato', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #666; cursor: pointer; margin-bottom: 30px; transition: 0.3s; grid-column: 1 / -1;}
.btn-back:hover { color: var(--bordeaux); transform: translateX(-5px); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.zoom-container { width: 100%; aspect-ratio: 3/4; background: var(--light-grey); overflow: hidden; position: relative; cursor: none; }
.base-image { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s ease-in-out; }
.zoomed-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: 200%; background-repeat: no-repeat; opacity: 0; transition: opacity 0.2s ease-in-out; pointer-events: none; }
.zoom-cursor-ball { position: absolute; width: 40px; height: 40px; background: rgba(255, 255, 255, 0.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #111; font-weight: 300; pointer-events: none; opacity: 0; transition: opacity 0.2s ease-in-out; box-shadow: 0 4px 15px rgba(0,0,0,0.08); z-index: 10; transform: translate(-50%, -50%); }
.zoom-container:hover .zoomed-image { opacity: 1; }
.zoom-container:hover .base-image { opacity: 0; }
.zoom-container:hover .zoom-cursor-ball { opacity: 1; }

.info-section { position: sticky; top: 120px; }
.prod-title { font-family: 'Playfair Display', serif; font-size: 3rem; color: var(--dark); margin-bottom: 15px; line-height: 1.1; font-weight: 400; }
.section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: #888; margin-bottom: 10px; display: block; }
.prod-color-name { font-weight: bold; color: var(--dark); font-size: 0.9rem; margin-bottom: 15px; display: block; }
.info-section .swatches { justify-content: flex-start; gap: 14px; margin-bottom: 30px; padding: 5px; }
.info-section .swatch { width: 30px; height: 30px; border: 1px solid rgba(0,0,0,0.2); outline-offset: 3px; }
.info-section .swatch:hover { outline-color: #ccc; }
.info-section .swatch.active { outline-color: var(--gold); }

.size-picker-container { margin-bottom: 30px; } 
.size-picker { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.size-btn { padding: 15px 0; background: white; border: 1px solid #ddd; font-family: 'Lato', sans-serif; font-size: 1rem; text-transform: uppercase; cursor: pointer; transition: all 0.3s; text-align: center; }
.size-btn:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.size-btn.active { background: var(--bordeaux); color: white; border-color: var(--bordeaux); }
.stock-warning { display: none; color: #888; font-size: 0.8rem; font-style: italic; line-height: 1.5; padding: 10px; background: #fafafa; border-left: 2px solid var(--gold); }
.stock-warning.visible { display: block; animation: fadeIn 0.4s ease; }

.btn-add-giant { width: 100%; padding: 20px; background: var(--bordeaux); color: white; border: none; font-family: 'Lato', sans-serif; font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; cursor: pointer; transition: all 0.3s; font-weight: 700; }
.btn-add-giant:hover { background: var(--dark); } 

.details-section { margin-top: 40px; border-top: 1px solid #eee; padding-top: 20px; }
.details-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.size-guide-link { font-size: 0.7rem; color: #666; text-decoration: underline; text-transform: uppercase; letter-spacing: 1px; cursor: pointer; transition: 0.3s; }
.size-guide-link:hover { color: var(--bordeaux); }
.details-text { font-size: 0.9rem; color: #666; line-height: 1.6; font-weight: 300; }

.title-container { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; }
.share-wrapper { position: relative; display: inline-block; margin-top: 10px; }
.btn-share { background: none; border: none; color: #999; cursor: pointer; transition: 0.3s; padding: 5px; display: flex; align-items: center; }
.btn-share:hover { color: var(--bordeaux); transform: scale(1.1); }
.share-tooltip { position: absolute; background: var(--dark); color: white; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; padding: 6px 12px; border-radius: 2px; top: -35px; right: 0; opacity: 0; visibility: hidden; transition: 0.3s; white-space: nowrap; }
.share-tooltip.active { opacity: 1; visibility: visible; top: -45px; }

.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: white; padding: 40px; width: 90%; max-width: 600px; position: relative; transform: translateY(-20px); transition: 0.3s; }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: #999; }
.size-table { width: 100%; border-collapse: collapse; text-align: center; }
.size-table th { font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 1px; padding: 15px 10px; border-bottom: 2px solid var(--dark); }
.size-table td { padding: 15px 10px; border-bottom: 1px solid #eee; font-size: 0.95rem; color: #555; }

.levia-toast { position: fixed; top: 110px; right: -350px; background: white; color: var(--dark); padding: 18px 25px; box-shadow: 0 10px 40px rgba(0,0,0,0.06); border-left: 3px solid var(--bordeaux); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; display: flex; align-items: center; gap: 25px; z-index: 10000; transition: right 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.levia-toast.show { right: 50px; }
.levia-toast a { color: var(--bordeaux); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--bordeaux); padding-bottom: 2px; }

@media (max-width: 768px) {
    .product-container { grid-template-columns: 1fr !important; gap: 40px !important; padding: 0 20px !important; margin: 20px auto !important; }
    .info-section { position: static !important; }
    .prod-title { font-size: 2.2rem !important; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
    .zoom-container { aspect-ratio: 3/4 !important; width: 100% !important; height: auto !important; cursor: default !important; }
}


/* ========================================================
   💳 4. PÁGINA DE CHECKOUT (CHECKOUT.HTML)
   ======================================================== */
.container { max-width: 600px; margin: 50px auto 100px; background: white; padding: 40px; box-shadow: 0 5px 30px rgba(0,0,0,0.03); }
.container h2 { font-family: 'Playfair Display'; color: var(--bordeaux); margin-bottom: 30px; font-size: 2rem; border-bottom: 1px solid #eee; padding-bottom: 15px;}
.item { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #eee; }
.item img { width: 70px; height: 90px; object-fit: cover; background: #f9f9f9; }
.item-info { flex: 1; }
.item-info h4 { font-size: 1rem; margin-bottom: 5px; color: var(--dark); font-family: 'Playfair Display', serif; font-weight: 600;}
.item-info p { font-size: 0.75rem; color: #777; text-transform: uppercase; }
.btn-del { background: none; border: none; color: #cc0000; cursor: pointer; font-size: 1.2rem; font-weight: bold; transition: 0.3s; }
.btn-del:hover { transform: scale(1.2); }
.upsell { text-align: center; margin: 20px 0; font-size: 0.85rem; }
.upsell a { color: var(--bordeaux); font-weight: 700; text-decoration: underline; }
.form-group { margin: 20px 0; }
.form-group label { display: block; font-size: 0.7rem; text-transform: uppercase; font-weight: 700; margin-bottom: 5px; color: var(--bordeaux); }
.form-group input { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 0; font-family: 'Lato', sans-serif; background: #fdfdfd; }
.btn-confirm { width: 100%; padding: 20px; background: var(--dark); color: white; border: none; font-family: 'Playfair Display'; font-size: 1.2rem; cursor: pointer; transition: 0.3s; margin-top: 10px; }
.btn-confirm:hover { background: var(--bordeaux); color: var(--gold); }

.payment-section { margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }
.payment-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: var(--dark); margin-bottom: 15px; }
.payment-tabs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
@media (min-width: 480px) { .payment-tabs { grid-template-columns: repeat(4, 1fr); } }
.payment-tab { padding: 15px 10px; background: white; border: 1px solid #ddd; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; cursor: pointer; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.payment-tab:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.payment-tabs .payment-brand-img { height: 20px; width: auto; object-fit: contain; }
.payment-tabs .wallet-logos-container { display: flex; gap: 8px; align-items: center; justify-content: center; height: 20px; }
.payment-tabs .payment-wallet-img { height: 16px; width: auto; object-fit: contain; }
.payment-tabs .payment-tab.active { background: white !important; color: var(--bordeaux) !important; border-color: var(--bordeaux) !important; box-shadow: 0 5px 15px rgba(93, 16, 29, 0.05) !important; }
.payment-panel { display: none; background: #fafafa; padding: 20px; border: 1px solid #eee; margin-bottom: 20px; }
.payment-panel.active { display: block; }
.panel-text { font-size: 0.85rem; color: #666; line-height: 1.5; font-weight: 300; }
.mbway-input-group { margin-top: 15px; }
.mbway-input-group label { font-size: 0.65rem; color: #555; text-transform: uppercase; font-weight: bold; display: block; margin-bottom: 5px; }
.mbway-input-group input { width: 100%; padding: 12px; border: 1px solid #ddd; }
.nif-obrigatorio { color: var(--bordeaux) !important; font-weight: bold; }


/* ========================================================
   ✧ 5. PÁGINA DE SUCESSO (SUCESSO.HTML)
   ======================================================== */
.icon-success { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.container h2 { font-family: 'Playfair Display', serif; color: var(--bordeaux); font-size: 2.5rem; margin-bottom: 20px; font-weight: 400; }
.container p { color: #555; line-height: 1.7; margin-bottom: 15px; font-size: 1rem; font-weight: 300; }
.order-id { font-weight: 700; color: var(--dark); background: #fafafa; padding: 10px 20px; display: inline-block; margin: 15px 0 35px; border: 1px solid #eee; letter-spacing: 1px; font-size: 0.9rem; }
.btn-return { display: inline-block; padding: 18px 40px; background: var(--dark); color: white; text-decoration: none; font-family: 'Lato', sans-serif; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 700; transition: 0.3s; }
.btn-return:hover { background: var(--bordeaux); color: var(--gold); }

/* ========================================================
   ⚖️ 6. PÁGINAS LEGAIS E DE APOIO (PASTA RODAPE/)
   ======================================================== */
.legal-container {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
    flex: 1; /* Empurra o footer para o fundo da página de forma elegante */
}

.back-link {
    text-decoration: none;
    color: #666;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.back-link:hover {
    color: var(--bordeaux);
}

.legal-header {
    margin-top: 30px;
    margin-bottom: 40px;
}

.legal-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--bordeaux);
    margin-bottom: 5px;
    font-weight: 400;
}

.legal-header p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.legal-content {
    line-height: 1.8;
    color: #555;
}

.legal-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--dark);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 400;
}

.legal-content p {
    margin-bottom: 20px;
}

/* Formatação do botão do Instagram adaptado ao teu estilo premium */
.btn-instagram {
    display: inline-block;
    padding: 15px 40px;
    background: var(--dark);
    color: white;
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    transition: all 0.3s;
    margin-top: 20px;
}

.btn-instagram:hover {
    background: var(--bordeaux);
    color: var(--gold);
}

/* --- 🛍️ ESTILOS DE PREÇO E PROMOÇÃO (LEVIA COLECÇÕES) --- */
.produto-preco-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.preco-riscado {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85rem;
}

.preco-atual {
    font-weight: 700;
    color: var(--dark);
    font-size: 1rem;
}

.tag-desconto {
    background: var(--bordeaux);
    color: white;
    padding: 3px 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- 👕 AJUSTE DE PREÇO EXCLUSIVO PARA A PÁGINA DE PRODUTO --- */
.info-section .produto-preco-container {
    justify-content: flex-start !important; /* Alinha à esquerda com o texto */
    margin: 15px 0 25px 0 !important;
    gap: 15px;
}

.info-section .preco-atual {
    font-size: 1.8rem !important; /* Devolve o tamanho grande original */
    color: var(--bordeaux) !important; /* Cor assinatura da Levia */
    font-family: 'Lato', sans-serif;
    font-weight: 300;
}

.info-section .preco-riscado {
    font-size: 1.1rem !important;
    color: #999;
}

.info-section .tag-desconto {
    font-size: 0.8rem !important;
    padding: 4px 8px !important;
}

/* ========================================================
   🚀 ANIMAÇÃO PRESTIGE: PARTÍCULA VOADORA DO CARRINHO
   ======================================================== */
.cart-particle {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: var(--bordeaux);
    border-radius: 50%;
    z-index: 10000;
    pointer-events: none;
    /* Transição suave de 0.8s idêntica à do JavaScript */
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease-out;
}

/* 🎁 Efeito elástico na Navbar quando a peça aterra no carrinho */
@keyframes bump {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); color: var(--bordeaux); }
    100% { transform: scale(1); }
}

.bump-cart {
    display: inline-block;
    animation: bump 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ========================================================
   ✨ NOVOS BLOCOS DA PÁGINA INICIAL (PILARES & MANIFESTO)
   ======================================================== */

/* --- 1. SAVOIR-FAIRE TÊXTIL / PILARES --- */
.pilares-section {
    padding: 90px 50px;
    background: var(--ivory);
    border-top: 1px solid #EAE6DF;
    border-bottom: 1px solid #EAE6DF;
}

.pilares-container {
    max-width: 1200px;
    margin: 0 auto;
}

.pilares-header {
    text-align: center;
    margin-bottom: 50px;
}

.pilares-subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.pilares-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark);
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pilar-card {
    background: white;
    padding: 35px 25px;
    border: 1px solid #E2DDD5;
    transition: all 0.3s ease;
}

.pilar-card:hover {
    transform: translateY(-5px);
    border-color: var(--bordeaux);
    box-shadow: 0 10px 25px rgba(93, 16, 29, 0.06);
}

.pilar-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.pilar-card h3 {
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.pilar-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* --- 2. O MANIFESTO DA LEVIA --- */
.manifesto-section {
    padding: 100px 30px;
    background-color: var(--bordeaux);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    color: white;
    text-align: center;
}

.manifesto-content {
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-symbol {
    font-size: 1.5rem;
    color: var(--gold);
    display: block;
    margin-bottom: 20px;
}

.manifesto-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}

.manifesto-author {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    font-weight: 700;
}

/* Adaptatividade no Telemóvel */
@media (max-width: 768px) {
    .pilares-grid { grid-template-columns: 1fr; }
    .pilares-section { padding: 50px 20px; }
    .manifesto-section { padding: 70px 20px; }
    .manifesto-quote { font-size: 1.25rem; }
}


/* ========================================================
   📐 PROVADOR DIGITAL & TABELA DE MEDIDAS (LEVIA MODAL)
   ======================================================== */
.modal-tabs {
    display: flex;
    border-bottom: 1px solid #EEE;
    margin-bottom: 20px;
}

.modal-tab-btn {
    flex: 1;
    padding: 10px 5px;
    background: transparent;
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.modal-tab-btn.active {
    color: var(--bordeaux);
    border-bottom-color: var(--bordeaux);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.provador-desc {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 18px;
    text-align: center;
}

.provador-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.provador-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.provador-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.provador-field label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
}

.provador-field input {
    padding: 10px 12px;
    border: 1px solid #CCC;
    font-size: 0.88rem;
    font-family: 'Lato', sans-serif;
    outline: none;
    background: #FFF;
    transition: border-color 0.3s ease;
}

.provador-field input:focus {
    border-color: var(--bordeaux);
}

.fit-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.fit-btn {
    padding: 8px 4px;
    background: #F7F5F0;
    border: 1px solid #DDD;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.fit-btn:hover {
    border-color: var(--bordeaux);
}

.fit-btn.active {
    background: var(--dark);
    color: white;
    border-color: var(--dark);
}

.btn-calcular-provador {
    width: 100%;
    padding: 12px;
    background: var(--bordeaux);
    color: white;
    border: none;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    margin-top: 5px;
    transition: background 0.3s ease;
}

.btn-calcular-provador:hover {
    background: var(--dark);
}

.provador-result-box {
    margin-top: 16px;
    padding: 15px;
    background: #F7F5F0;
    border: 1px solid #E2DEC9;
    text-align: center;
}

.result-badge {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    margin-bottom: 4px;
}

.result-size {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--bordeaux);
    margin-bottom: 6px;
}

.result-explanation {
    font-size: 0.8rem;
    color: #444;
    margin-bottom: 12px;
    line-height: 1.4;
}

.btn-aplicar-tamanho {
    display: inline-block;
    padding: 10px 20px;
    background: var(--dark);
    color: white;
    border: none;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-aplicar-tamanho:hover {
    background: var(--bordeaux);
}

.table-responsive {
    overflow-x: auto;
}

.provador-subtle-link {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #666;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    display: inline-block;
    margin-top: 10px;
    font-family: 'Lato', sans-serif;
}

.provador-subtle-link:hover {
    color: var(--bordeaux);
}