/* === Illustrations SVG inline (hero / why-us / cta) === */

#hero .hero-illustration,
#call-to-action .cta-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

#hero .hero-illustration svg,
#call-to-action .cta-illustration svg {
    width: 100%;
    height: 100%;
    display: block;
}

#hero .container,
#call-to-action .container {
    position: relative;
    z-index: 2;
}

/* Garde le texte lisible au-dessus de l'illustration */
#hero::after,
#call-to-action::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 26, 38, 0.75) 0%, rgba(10, 26, 38, 0.45) 60%, rgba(10, 26, 38, 0.25) 100%);
    z-index: 1;
    pointer-events: none;
}

#why-us .whyus-illustration {
    background: transparent;
    display: flex;
    align-items: stretch;
    padding: 0;
}

#why-us .whyus-illustration svg {
    width: 100%;
    height: 100%;
    min-height: 380px;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* === Impact dashboard (section features, anciennement image cassée) === */

.impact-dashboard {
    background: var(--surface-color, #ffffff);
    border-radius: 12px;
    padding: 24px 22px 18px;
    box-shadow: 0 10px 40px rgba(27, 47, 69, 0.08);
    border: 1px solid color-mix(in srgb, var(--accent-color, #00bf63), transparent 85%);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.impact-dashboard-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--heading-color, #1b2f45);
    margin: 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.impact-big-number-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.impact-big-number {
    color: #fff;
    border-radius: 10px;
    padding: 16px 14px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(27, 47, 69, 0.18);
}

.impact-big-number--green {
    background: linear-gradient(135deg, #00bf63, #008c47);
}

.impact-big-number--navy {
    background: linear-gradient(135deg, #1b2f45, #0a1a26);
}

.impact-big-number-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    white-space: nowrap;
}

.impact-big-number-unit {
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.impact-big-number-label {
    margin-top: 8px;
    font-size: 0.72rem;
    opacity: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.2;
}

.impact-chart {
    width: 100%;
    min-height: 320px;
}

/* d3-bridge chart container — surcharge legere pour coller a la palette */
.impact-chart .d3b-chart {
    width: 100%;
}

.impact-chart svg text {
    font-family: inherit;
}

@media (max-width: 991px) {
    .impact-dashboard {
        margin-top: 32px;
    }
    .impact-big-number-value {
        font-size: 2.2rem;
    }
}
