@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700;900&display=swap');

:root {
    --accent: #000;
    --zinc-100: #f4f4f5;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

/* --- CARROSSEL REFEITO (ESTRUTURA BRUTA) --- */
.carousel-container {
    position: relative;
    width: 100%;
    height: 90vh; /* Altura de impacto */
    overflow: hidden;
    background: #000;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.carousel-slide {
    flex: 0 0 100%; /* Força cada slide a ocupar 100% da largura do container */
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha sem distorcer */
    filter: brightness(0.6);
    transform: scale(1.1);
    transition: transform 2s ease;
}

.carousel-slide.active img {
    transform: scale(1);
}

/* Overlay de Conteúdo */
.slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.carousel-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Botões de Navegação */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-btn:hover { background: #fff; color: #000; }
.prev { left: 30px; }
.next { right: 30px; }

/* Dots */
.dot-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.dot {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
}

.dot.active { background: #fff; width: 80px; }
/* Overlay e Conteúdo */
.slide-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10% 5%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

.carousel-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

/* Controles */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    opacity: 0;
}

.carousel-container:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: #fff; color: #000; transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 40px; }
.carousel-btn.next { right: 40px; }

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: #fff;
    width: 0%;
    z-index: 20;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.dot-container {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 10px;
}

.dot {
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active { background: #fff; width: 60px; }

/* --- GERAL & ANIMAÇÕES --- */
.nav-link { font-size: 11px; letter-spacing: 2px; font-weight: 700; position: relative; }
.nav-link::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background: #000; transition: 0.3s; }
.nav-link:hover::after { width: 100%; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.product-card img { transition: 0.8s cubic-bezier(0.19, 1, 0.22, 1); }
.product-card:hover img { transform: scale(1.04); }

/* --- GRADE DE PRODUTOS --- */
.section-title {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #eee;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px 30px;
    }
}

/* Efeito Quick View */
.product-card {
    position: relative;
    group;
}

.image-container {
    position: relative;
    aspect-ratio: 3/4;
    background: #f9f9f9;
    overflow: hidden;
    margin-bottom: 15px;
}

.quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    padding: 12px;
    font-size: 10px;
    font-weight: 700;
    text-align: center;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    letter-spacing: 2px;
}

.product-card:hover .quick-add {
    bottom: 0;
}

.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 5;
}

.badge-sale { background: #e63946; }
/* --- GRADE DE PRODUTOS PREMIUM --- */
.section-title {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.section-title span {
    font-weight: 300;
    font-style: italic;
    color: #a1a1aa; /* Zinc 400 */
    margin-left: 10px;
    letter-spacing: 2px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px; /* Espaçamento menor em celular */
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 60px 30px; /* Espaçamento maior em desktop */
    }
}

.product-card {
    position: relative;
    group; /* Necessário para Tailwind saber que o hover afeta os filhos */
}

/* Container da Imagem com Zoom e Badges */
.image-container {
    position: relative;
    aspect-ratio: 3/4;
    background: #fdfdfd;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid rgba(0,0,0,0.02); /* Borda imperceptível */
}

/* Imagem Principal */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .product-image {
    transform: scale(1.05); /* Zoom sutil */
}

/* Badges (Novo, Sale) */
.badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: #000;
    padding: 3px 10px;
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    z-index: 5;
    letter-spacing: 1px;
}
.badge-sale { background: rgba(230, 57, 70, 0.1); color: #e63946; } /* Fundo vermelho sutil */

/* Overlay de Ação e Preço Sutil */
.hover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-card:hover .hover-overlay {
    opacity: 1;
    transform: translateY(0);
}

.product-price-subtle {
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 15px;
}

.product-add-btn {
    background: #fff;
    color: #000;
    width: 100%;
    padding: 12px;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.product-add-btn:hover {
    background: #000;
    color: #fff;
}