/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f8f9fb;
    font-family: Arial, sans-serif;
    color: #111;
}

/* ================= HERO CARROSSEL ================= */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 30px 30px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    color: white;
    padding: 20px;
}

.tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: bold;
}

.hero-content h1 {
    font-size: 52px;
    max-width: 600px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 18px;
    max-width: 500px;
    margin-bottom: 30px;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: black;
    padding: 14px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-hero:hover {
    transform: translateY(-2px);
}

/* BENEFITS */
.benefits {
    max-width: 1200px;
    margin: -35px auto 50px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 25px;
    gap: 15px;
    position: relative;
    z-index: 5;
}

.benefit-item {
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

/* PRODUCTS */
.products-section {
    max-width: 1400px;
    margin: auto;
    padding: 30px 20px 70px;
}

.section-header {
    text-align: left;
    margin-bottom: 40px;
    margin-left: 6%;
}

.section-header h2 {
    font-size: 25px;
    margin-bottom: 10px;
    background: #DCDCDC;
    padding: 5px;
}

.section-header p {
    color: #777;
    font-size: 15px;
}

/* GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 280px));
    justify-content: center;
    gap: 25px;
}

/* CARD */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.3s;
    width: 280px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.product-card a {
    text-decoration: none;
    color: inherit;
}

/* IMAGE */
.product-image {
    width: 100%;
    height: 280px;
    background: white;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f1f1;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* INFO */
.product-info {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    min-height: 48px;
    margin-bottom: 14px;
}

/* PRICE */
.price {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 5px;
}

.pix-price {
    font-size: 13px;
    color: #666;
    margin-bottom: 18px;
}

/* BUTTON */
.btn-buy {
    margin-top: auto;
    background: #111;
    color: #fff !important;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: block;
    transition: 0.3s;
}

.btn-buy:hover {
    background: #000;
}

/* SEM IMAGEM */
.no-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    color: #999;
    font-size: 14px;
}

/* RESPONSIVO */
@media (max-width: 768px) {

    .hero-slider {
        height: 400px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 220px));
    }

    .product-card {
        width: 220px;
        min-height: 450px;
    }

    .product-image {
        height: 220px;
    }
}