@import url(./index.css);
/* ========================================
   SECTION 1 — APRESENTAÇÃO
======================================== */

.hero {
    padding-block: 5rem;
    text-align: center;
    background:
        radial-gradient(
            ellipse at top,
            rgba(0, 117, 254, 0.10),
            transparent 65%
        ),
        var(--bg-page);
}

.hero .container {
    max-width: 850px;
}

.hero h1 {
    max-width: 800px;
    margin-inline: auto;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hero h1 span {
    display: block;
    color: var(--bg-btn);
}

.hero p {
    max-width: 600px;
    margin: 1.25rem auto 1.75rem;
    color: var(--txt-muted);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* ========================================
   SECTION 2 — DIFERENCIAIS
======================================== */

.benefits {
    padding-block: 2rem;
    background-color: var(--bg-card);
    border-block: 1px solid var(--border-color);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.benefit {
    min-width: 0;
    text-align: center;
    padding: 0.75rem;
}

.benefit img {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    margin: 0 auto 0.75rem;
}

.benefit h2 {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
}

.benefit p {
    color: var(--txt-muted);
    font-size: 0.85rem;
}

/* ========================================
   SECTION 3 — PRODUTOS
======================================== */

.offers {
    background-color: var(--bg-page);
}

.products-grid {
    display: grid;

    /* Cria novas linhas automaticamente */
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(100%, 14rem), 1fr)
    );

    gap: 1.5rem;
    align-items: stretch;
}

.product-card {
    min-width: 0;
    display: flex;
    flex-direction: column;

    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-card);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-image {
    height: 13rem;
    padding: 1rem;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #FFFFFF;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    padding: 1.25rem;
}

.product-tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.25rem 0.6rem;

    color: #005DCC;
    background-color: #EAF3FF;
    border-radius: 999px;

    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.product-content h3 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.product-description {
    flex: 1;
    color: var(--txt-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.product-price {
    color: var(--txt-color);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.btn-product {
    width: 100%;
    margin-top: auto;
}

/* ========================================
   SECTION 4 — CONFIANÇA
======================================== */

.trust {
    color: var(--txt-light);
    background-color: var(--bg-color);
}

.trust .eyebrow {
    color: #60A5FA;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.trust-card {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    background-color: rgba(255, 255, 255, 0.04);
}

.trust-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    color: #CBD5E1;
    font-size: 0.9rem;
}

/* ========================================
   RESPONSIVIDADE
======================================== */

/* Celulares */
@media (max-width: 600px) {
    .section {
        padding-block: 3rem;
    }

    .hero {
        padding-block: 3.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .benefit {
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        column-gap: 0.85rem;
        align-items: center;

        text-align: left;
        padding: 0.75rem 0;
    }

    .benefit img {
        grid-row: 1 / 3;
        margin: 0;
    }

    .benefit h2 {
        margin: 0;
    }

    .benefit p {
        grid-column: 2;
    }

    .products-grid {
        gap: 0.75rem;
    }

    .product-image {
        height: 9rem;
        padding: 0.75rem;
    }

    .product-content {
        padding: 0.75rem;
    }

    .product-content h3 {
        font-size: 0.9rem;
    }

    .product-description {
        font-size: 0.8rem;
    }

    .product-price {
        font-size: 1.05rem;
    }

    .btn-product {
        padding: 0.65rem 0.35rem;
        font-size: 0.8rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }
}

/* Tablets e telas intermediárias */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Computadores maiores */
@media (min-width: 1100px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
