@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-color: #D4AF37; /* Dourado Major */
    --primary-hover: #F3CA45;
    --bg-dark: #0A0A0A; /* Fundo Preto Principal */
    --bg-darker: #000000;
    --bg-light: #f5f5f5; /* Fundo da vitrine (para destacar produtos) */
    --text-light: #ffffff;
    --text-dark: #111111;
    --text-gray: #666666;
    --border-color: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-light); /* Corpo claro para destacar as peças */
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ================= HEADER ================= */
.top-bar {
    background-color: var(--primary-color);
    color: var(--bg-darker);
    text-align: center;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-header {
    background-color: var(--bg-darker);
    color: var(--text-light);
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.3));
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text-major {
    font-family: 'Marcellus', serif;
    font-size: 1.8rem;
    color: var(--primary-color);
    line-height: 1;
    letter-spacing: 2px;
}

.logo-text-griffe {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #fff;
    letter-spacing: 3px;
    font-weight: 500;
}

.search-bar {
    flex: 1;
    max-width: 600px;
    position: relative;
    display: flex;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background-color: #1a1a1a;
    color: white;
    outline: none;
    font-family: inherit;
}

.search-bar button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color);
    color: black;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: var(--transition);
}

.search-bar button:hover {
    background-color: var(--primary-hover);
}

.user-actions {
    display: flex;
    gap: 25px;
    align-items: center;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
    color: #ccc;
    cursor: pointer;
}

.action-item i {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--text-light);
    transition: var(--transition);
}

.action-item:hover i, .action-item:hover {
    color: var(--primary-color);
}

/* Nav Menu */
.nav-menu {
    background-color: var(--bg-dark);
    padding: 15px 0;
    border-bottom: 1px solid #222;
}

.nav-list {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-list a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list a:hover {
    color: var(--primary-color);
}

/* ================= BANNERS ================= */
.hero-section {
    padding: 30px 0;
    background-color: var(--bg-light);
}

.banner-slider {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    height: 500px;
    overflow: hidden;
}

.banner-item {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 5s ease-in-out;
    transform: scale(1);
    border-radius: 12px;
    overflow: hidden;
}

.banner-item.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1.05);
}

.banner-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, #050505 0%, rgba(5,5,5,0.7) 40%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content.center-style {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 2;
    text-align: left;
    max-width: 500px;
    border-left: 2px solid var(--primary-color);
    padding-left: 30px;
}

.center-style .subtitle {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 6px;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.center-style .title-main {
    font-family: 'Marcellus', serif;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 25px;
}

.center-style .title-main span {
    color: #fff;
}

.banner-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: black;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 30px;
    margin-top: 20px;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.banner-btn:hover {
    background-color: white;
    color: black;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.4);
}

/* ================= CATEGORIAS CARDS ================= */
.categories-cards {
    padding: 40px 0;
    background-color: var(--bg-light);
}

.cards-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 350px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    border-color: var(--primary-color);
}

.category-card:hover img {
    transform: scale(1.05);
}

.btn-confira {
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    color: var(--primary-color);
    padding: 8px 30px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    border: 1px solid #000;
    border-bottom: none;
    border-radius: 4px 4px 0 0;
    transition: var(--transition);
    z-index: 2;
    white-space: nowrap;
}

.category-card:hover .btn-confira {
    background-color: var(--primary-color);
    color: #000;
}

/* ================= FAIXAS DE PREÇO ================= */
.price-banners {
    padding: 0 0 30px 0;
    background-color: var(--bg-light);
}

.price-grid {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.price-btn {
    flex: 1;
    min-width: 220px;
    background: linear-gradient(to bottom, #444444 0%, #1a1a1a 45%, #000000 50%, #111111 100%);
    color: white;
    text-align: center;
    padding: 12px 10px;
    border: 1px solid #111111;
    outline: 1px solid var(--primary-color);
    outline-offset: -4px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.3), 0 5px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.price-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: 0.5s;
}

.price-btn:hover::before {
    left: 200%;
}

.price-btn:hover {
    outline-offset: -3px;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.4), 0 5px 20px rgba(212,175,55,0.3);
    color: var(--primary-color);
}

.price-btn strong {
    font-weight: 800;
    font-size: 1.2rem;
    color: inherit;
}

/* ================= OFERTAS DO DIA ================= */
.daily-offers {
    background-color: var(--bg-light);
    padding-bottom: 20px;
}

.offers-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
    background: #111;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.offers-header .section-title {
    margin-bottom: 0;
    color: white;
    padding-bottom: 0;
}

.offers-header .section-title::after {
    display: none;
}

.countdown-timer {
    background-color: var(--primary-color);
    color: black;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.countdown-timer span {
    font-weight: 800;
    font-size: 1.4rem;
    background: #000;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    letter-spacing: 2px;
}

.offers-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #eee;
}

.offers-slider::-webkit-scrollbar {
    height: 8px;
}
.offers-slider::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 10px;
}

.offers-slider .product-card {
    min-width: 320px;
    max-width: 320px;
    scroll-snap-align: center;
    flex-shrink: 0;
}

/* ================= PRODUTOS ================= */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
    color: var(--bg-darker);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
}

.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #000;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.product-img {
    width: 100%;
    height: 300px;
    background-color: #f9f9f9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.discount-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #000;
    color: var(--primary-color);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 4px;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.brand {
    font-size: 0.85rem;
    color: var(--text-gray);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.price-box {
    margin-bottom: 15px;
}

.old-price {
    color: #999;
    text-decoration: line-through;
    font-size: 0.95rem;
    margin-right: 10px;
}

.new-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--bg-darker);
}

.btn-buy {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--bg-darker);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid var(--bg-darker);
    border-radius: 4px;
    cursor: pointer;
}

.btn-buy:hover {
    background-color: var(--primary-color);
    color: black;
    border-color: var(--primary-color);
}

/* ================= BREAK BANNER ================= */
.break-banner {
    background-color: #080808; 
    height: 160px;
    margin: 120px 0;
    display: flex;
    align-items: center;
    position: relative;
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.banner-img-left {
    position: relative;
    height: 100%;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.banner-img-left img.img-out-of-bounds {
    height: 480px; 
    position: relative;
    margin-top: -160px;
    margin-bottom: -160px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.8));
    z-index: 10;
}

.banner-text-center {
    flex: 1;
    display: flex;
    justify-content: center;
    text-align: left;
}

.banner-text-center h2 {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 800;
    text-transform: none; 
    line-height: 1.1;
}

.banner-text-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex: 1;
}

.discount-huge {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}

.discount-huge span {
    font-size: 4.5rem;
    font-weight: 900;
    letter-spacing: -2px;
}

.btn-confira-banner {
    background-color: #444;
    color: white;
    padding: 10px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-confira-banner:hover {
    background-color: #111;
    color: var(--primary-color);
}

.collection-products {
    background-color: var(--bg-light);
}

/* ================= FOOTER ================= */
.site-footer {
    background-color: var(--bg-darker);
    color: #ccc;
    padding: 60px 0 20px;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #222;
    border-radius: 50%;
    color: white;
}

.social-links a:hover {
    background-color: var(--primary-color);
    color: black;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* ================= RESPONSIVO MOBILE ================= */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
    }
    .logo { order: 1; }
    .user-actions {
        order: 2;
        width: auto;
    }
    .nav-list {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 20px;
        width: 100vw;
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 5px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .nav-list::-webkit-scrollbar { display: none; }
    .banner-slider {
        height: 350px;
    }
    .center-style .title-main {
        font-size: 2.2rem;
    }
    .center-style .subtitle {
        font-size: 0.8rem;
    }
    .banner-content.center-style {
        left: 5%;
        padding-left: 15px;
    }
    
    /* Swipe Nativo para Produtos no Mobile */
    .products-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        scrollbar-width: none;
        width: 100vw;
        margin-left: -20px; /* Compensar padding do container */
        padding-left: 20px;
    }
    .products-grid::-webkit-scrollbar { display: none; }
    
    .product-card {
        min-width: 260px;
        max-width: 260px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    .product-card:last-child {
        margin-right: 20px;
    }

    .cat-wrap {
        gap: 20px;
    }
    .cat-circle .img-wrap {
        width: 80px;
        height: 80px;
    }

    .cards-wrap {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        width: 100vw;
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .cards-wrap::-webkit-scrollbar { display: none; }
    .category-card {
        height: 350px;
        min-width: 260px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .price-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        width: 100vw;
        margin-left: -20px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 10px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .price-grid::-webkit-scrollbar { display: none; }
    .price-btn {
        min-width: 200px;
        scroll-snap-align: center;
        flex-shrink: 0;
    }
    
    .offers-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .offers-slider .product-card {
        min-width: 260px;
        max-width: 260px;
    }

    /* Mobile Break Banner Layout Correction */
    .break-banner {
        height: 120px;
        margin: 80px 0;
        padding: 0;
    }
    .banner-container {
        position: relative;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 20px;
        text-align: left;
        height: 100%;
        padding-left: 140px; 
    }
    .banner-img-left {
        position: absolute;
        left: -10px;
        top: 50%;
        transform: translateY(-50%);
        width: 140px;
        margin: 0;
        display: flex;
        justify-content: center;
        z-index: 10;
    }
    .banner-img-left img.img-out-of-bounds {
        height: 280px;
        margin-top: 0;
        margin-bottom: 0;
        position: relative;
        top: 0; left: 0;
        transform: none;
    }
    .banner-text-center {
        flex: none;
        justify-content: center;
    }
    .banner-text-center h2 {
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .banner-text-right {
        flex: none;
        align-items: center;
        text-align: center;
    }
    .discount-huge { font-size: 0.8rem; line-height: 1.1; }
    .discount-huge span { font-size: 2.2rem; }
    .btn-confira-banner {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* ================= PRELOADER ================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease;
}

.preloader-content {
    text-align: center;
    animation: pulse 2s infinite;
}

.preloader-content img {
    height: 80px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.4));
}

.preloader-text {
    display: block;
    font-family: 'Marcellus', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

/* ================= PARALLAX ================= */
.parallax-section {
    background-image: url('../images/banner_major.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 350px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.parallax-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
.parallax-content {
    position: relative;
    z-index: 2;
}
.parallax-content h2 {
    font-family: 'Marcellus', serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.parallax-content p {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 25px;
}
.parallax-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 30px;
    transition: var(--transition);
}
.parallax-btn:hover {
    background-color: #fff;
}
@media (max-width: 768px) {
    .parallax-section { height: 250px; }
    .parallax-content h2 { font-size: 1.6rem; }
}
