
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
}


.header {
    width: 100%;
    background: #b60000; /* vermelho */
    color: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}


.header .container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 40px;
    filter: brightness(0) invert(1);
    animation: floatLogo 3s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

.logo h1 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}


.nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav ul li a {
    color: white;
    font-weight: 500;
    font-size: 16px;
    transition: 0.3s ease;
    position: relative;
}


.nav ul li a::after {
    content: "";
    width: 0%;
    height: 2px;
    background: white;
    position: absolute;
    bottom: -4px;
    left: 0;
    transition: 0.4s ease;
    border-radius: 4px;
}

.nav ul li a:hover::after {
    width: 100%;
}

.nav ul li a:hover {
    opacity: 0.8;
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 5px;
    transition: 0.3s;
}

@media (max-width: 860px) {
    .nav {
        position: absolute;
        top: 70px;
        right: 0;
        background: #b60000;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    }

    .nav.open {
        max-height: 300px;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 18px;
    }

    .hamburger {
        display: flex;
    }
}



.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #b4000f, #ff4d4d); 
    color: white;
}

.hero h1 {
    font-size: 2.6rem;
    margin-bottom: 10px;
}

.hero p {
    opacity: .9;
    font-size: 1.2rem;
}


.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    padding: 60px;
}

.product {
    background: #fff;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transition: 0.3s;
}

.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product img {
    width: 100%;
    border-radius: 12px;
}

.product h3 {
    margin: 15px 0 5px;
    font-size: 1.2rem;
}

.price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #b4000f; 
    margin-bottom: 12px;
}


.buy-btn {
    background: #b4000f;
    border: none;
    color: white;
    padding: 12px 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
}

.buy-btn:hover {
    background: #7a000a; 
    transform: scale(1.07);
}



.slider {
    position: relative;
    height: 10vh; 
    min-height: 420px;
    max-height: 600px;
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    filter: brightness(55%);
}


.slide-text {
    position: absolute;
    left: 80px;
    bottom: 80px;
    color: #fff;
    max-width: 500px;
}

.slide-text h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.slide-text p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.8);
    font-size: 22px;
    cursor: pointer;
    z-index: 10;
    transition: 0.3s;
}

.slider-controls button:hover {
    background: #b4000f;
    color: white;
}

.prev { left: 30px; }
.next { right: 30px; }


@media (max-width: 768px) {
    .slider {
        height: 70vh;
    }

    .slide-text {
        left: 20px;
        bottom: 40px;
    }

    .slide-text h2 {
        font-size: 2rem;
    }
}



@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.slider-controls button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.6);
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    font-size: 22px;
    border-radius: 8px;
    transition: .3s;
}

.slider-controls button:hover {
    background: #ffffff;
}

.prev { left: 20px; }
.next { right: 20px; }


.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.dots div {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: .3s;
}

.dots .active-dot {
    background: #b4000f; /* vermelho */
}

.hero-mini {
    padding: 50px 20px;
    text-align: center;
    background: #ffffff;
    margin-top: 20px;
}

.hero-mini .tag {
    display: inline-block;
    padding: 6px 14px;
    background: #b4000f;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-mini h2 {
    margin-top: 15px;
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer {
    background: #b60000;
    padding: 30px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icons img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
    opacity: 0.85;
}

@media (max-width: 600px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.copy {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
}


.btn-carrinho {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #b4000f;
    color: #fff;
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 9999;
}

.btn-carrinho:hover {
    background: #7a000a;
    transform: scale(1.07);
}



.cart-icon {
    position: fixed;
    top: 25px;
    right: 25px;
    background: #b4000f;
    color: #fff;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
}

.cart-icon:hover {
    transform: scale(1.05);
}

.cart-count {
    background: #fff;
    color: #b4000f;
    padding: 2px 7px;
    border-radius: 50%;
    font-size: 0.9rem;
    margin-left: 6px;
}


.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -3px 0 15px rgba(0,0,0,0.2);
    padding: 20px;
    z-index: 10000;
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}


.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 1.4rem;
    color: #b4000f;
}

#closeCart {
    background: transparent;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
}


.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cart-item span {
    font-size: 1rem;
}


.finish-btn {
    background: #b4000f;
    color: #fff;
    padding: 14px;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: .3s;
}

.finish-btn:hover {
    background: #7a000a;
}

.product-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 16px;
    background: #f5f5f5;
}

.product-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-images img.active {
    opacity: 1;
}

.product-prev,
.product-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.55);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 2;
    transition: 0.3s;
}

.product-prev:hover,
.product-next:hover {
    background: #b4000f;
}

.product-prev { left: 12px; }
.product-next { right: 12px; }

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.remove-item {
    background: none;
    border: none;
    color: #b4000f;
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: bold;
}

.remove-item:hover {
    color: #7a000a;
    transform: scale(1.2);
}



