/* =====================================================
   AGITA Trust Banner — Frontend CSS
   Reproduit exactement le design de l'image cible
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ─── Banner wrapper ───────────────────────────── */
.atb-banner {
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 4px 24px rgba(15, 78, 163, .10);
    border-radius: 16px;
    margin: -28px auto 0;          /* overlaps hero bottom */
    position: relative;
    z-index: 10;
    max-width: 1140px;
    padding: 0 24px;
    font-family: 'Poppins', sans-serif;

    /* Fallback if no negative margin possible (inside page container) */
}

/* When placed directly after hero section (no container) */
.ha-hero + .atb-banner,
.ha-hero + * .atb-banner {
    margin-top: -28px;
}

/* ─── Inner flex row ───────────────────────────── */
.atb-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    padding: 28px 16px;
}

/* ─── Each block ───────────────────────────────── */
.atb-block {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 180px;
    padding: 4px 12px;
}

/* ─── Icon circle ──────────────────────────────── */
.atb-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EEF4FB 0%, #DBEAFE 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0F4EA3;
    transition: transform .3s ease, background .3s ease;
}

.atb-block:hover .atb-icon-wrap {
    background: linear-gradient(135deg, #0F4EA3 0%, #0A3570 100%);
    color: #FFFFFF;
    transform: scale(1.08);
}

.atb-icon-wrap svg {
    width: 26px;
    height: 26px;
    display: block;
}

/* ─── Text ─────────────────────────────────────── */
.atb-block-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.atb-block-text strong {
    font-size: .92rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.25;
    display: block;
}

.atb-block-text span {
    font-size: .78rem;
    font-weight: 400;
    color: #64748B;
    line-height: 1.4;
    display: block;
}

/* ─── Dividers ─────────────────────────────────── */
.atb-divider {
    width: 1px;
    height: 40px;
    background: #E2E8F0;
    flex-shrink: 0;
    align-self: center;
}

/* ─── Responsive ───────────────────────────────── */

/* Tablet */
@media (max-width: 900px) {
    .atb-banner {
        margin: 0 16px;
        border-radius: 12px;
    }
    .atb-divider { display: none; }
    .atb-banner-inner {
        gap: 16px;
        padding: 20px 12px;
    }
    .atb-block {
        flex: 0 0 calc(50% - 16px);
        min-width: 0;
        padding: 8px;
        border-radius: 10px;
        background: #F8FAFC;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .atb-banner {
        margin: 0 12px;
        border-radius: 10px;
    }
    .atb-banner-inner {
        padding: 16px 8px;
        gap: 10px;
    }
    .atb-block {
        flex: 0 0 calc(50% - 10px);
        gap: 10px;
        padding: 10px 8px;
    }
    .atb-icon-wrap {
        width: 42px;
        height: 42px;
        border-radius: 10px;
    }
    .atb-icon-wrap svg { width: 20px; height: 20px; }
    .atb-block-text strong { font-size: .82rem; }
    .atb-block-text span   { font-size: .72rem; }
}

@media (max-width: 380px) {
    .atb-block { flex: 0 0 100%; }
}
