/* ========================================
   BENEFITS GRID / BENEFIT CARDS
   CSS antigo separado do home2(8).css
======================================== */

/* SECTION BASE */
.ef-benefits__head {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px 20px;
    color: black;
}



/* HEADER */
.ef-benefits__head header {
    text-align: center;
    margin: 0;
    margin-bottom: 60px;
}

.ef-benefits__head h2 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
    color: white;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.12;
    font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(2.4rem, 2vw, 4.4rem);
    color: var(--ink);
    text-align: center;
}

.ef-benefits__head h2 {
  margin: 0;
}

.ef-benefits__head p {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: var(--ink);
    max-width: 58ch;
    text-align: center;
    font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    margin: auto;

}

.ef-benefits {
    background: white;
}

.ef-benefits__head .ef-benefits__head h2 {
    color: black;
}

.ef-benefits__head header p {
    font-size: 20px;
    line-height: 1.7;
    color: #333;
    max-width: 820px;
    margin: 0 auto;
}

/* GRID */
.ef-benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* CARD */
.ef-benefit-card {
    position: relative;
    background: #111;
    color: #fff;
    padding: 50px 26px 28px;
    border-radius: 16px;
    transition: all .35s ease;
}

/* HOVER */
.ef-benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* TITLE */
.ef-benefit-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 800;
}

/* TEXT */
.ef-benefit-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
}

/* STRONG */
.ef-benefit-card strong {
    color: #fff;
}

/* ICON BADGE */
.ef-benefit-card__icon {
    display: flex;
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #F8EC8E, #E1AD42);
    box-shadow: 0 10px 20px rgba(225, 173, 66, 0.25), 0 0 25px rgba(225, 173, 66, 0.35);
    z-index: 2;
    align-items: center;
    justify-content: center;
}

/* GLOW INTERNO DO ÍCONE */
.ef-benefit-card::after {
    content: "";
    position: absolute;
    top: -26px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25), transparent 70%);
    opacity: .4;
    pointer-events: none;
}

.ef-benefit-card__icon svg {
    width: 30px;
    height: 30px;
    color: #111;
}

.ef-benefit-card__icon svg use {
    color: inherit;
    stroke-width: 2px;
}

/* ========================================
   RESPONSIVO
======================================== */

@media (max-width: 1024px) {
    .ef-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ef-benefits__grid {
        grid-template-columns: 1fr;
    }

    .ef-benefits__head header h2 {
        font-size: 28px;
    }

    .ef-benefits__head header p {
        font-size: 16px;
    }

    .ef-benefits__head {
        color: black;
    }
}