.insights-section {
    background: linear-gradient(180deg, #f3f6fc 0%, #eef3fb 100%);
}

.page-header {
    position: relative;
    height: 320px;
    width: 100%;
    background: url("../../img/actualite.jpg") center/cover no-repeat;
    background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
    margin-top: var(--header-offset);
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.page-header h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    width: 100%;
    padding: 0 12px;
    margin: 0;
    color: #0A1A44;
    font-weight: 900;
    letter-spacing: 0.2px;
    font-size: clamp(2.8rem, 6vw, 4.2rem);
}

.insights-head {
    margin: 0 auto 30px;
    max-width: 900px;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(10, 26, 68, 0.12);
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(10, 26, 68, 0.08);
    padding: 24px 24px 22px;
}

.insights-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    color: #1b4fd6;
    background: rgba(43, 111, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.insights-head h2 {
    margin: 12px 0 10px;
    color: #0A1A44;
    font-weight: 800;
}

.insights-head p {
    margin: 0;
    color: #5a6680;
    font-size: 1.02rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.insight-card {
    background: #fff;
    border: 1px solid rgba(10, 26, 68, 0.12);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(10, 26, 68, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 38px rgba(10, 26, 68, 0.14);
}

.insight-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #edf2fb;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.insight-card:hover .insight-image img {
    transform: scale(1.04);
}

.insight-body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.insight-label {
    margin-bottom: 10px;
    color: #4c5a76;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.insight-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
    color: #6a7793;
    font-size: 0.84rem;
    font-weight: 600;
}

.insight-body h3 {
    margin: 0 0 10px;
    line-height: 1.3;
    font-size: 1.25rem;
}

.insight-body h3 a {
    color: #0c2a5a;
    text-decoration: none;
}

.insight-body h3 a:hover {
    color: var(--primary);
}

.insight-body p {
    margin: 0 0 16px;
    color: #4f5d79;
    line-height: 1.62;
    flex: 1;
}

.insight-btn {
    align-self: flex-start;
    border-radius: 999px;
    padding: 9px 16px;
    font-weight: 700;
}

@media (max-width: 1399.98px) {
    .insights-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .page-header {
        margin-top: var(--header-offset);
        height: 220px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .insights-head {
        padding: 20px 16px 18px;
    }
}

@media (max-width: 767.98px) {
    .insights-grid {
        grid-template-columns: 1fr;
    }

    .insight-body h3 {
        font-size: 1.12rem;
    }
}
