/* =========================================================
   HERO
========================================================= */

.page-hero {
    position: relative;
    padding: 4.5rem 0 3rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.page-hero--about {
    background: linear-gradient(
        135deg,
        var(--color-primary) 0%,
        var(--color-primary) 45%,
        var(--color-primary) 100%
    );
}

.page-hero--about::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at top right,
        rgba(255, 255, 255, 0.14) 0%,
        rgba(255, 255, 255, 0.04) 25%,
        rgba(255, 255, 255, 0) 55%
    );
}

.page-hero--about::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.18);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero .eyebrow {
    color: rgba(230, 230, 230, 0.9);
}

.page-hero h1 {
    margin: 0.5rem 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    color: #ffffff;
}

.page-hero__text {
    max-width: 65ch;
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.94);
}

/* image à droite uniquement sur desktop */
@media (min-width: 901px) {
    .page-hero--about::before {
        background:
            linear-gradient(
                90deg,
                rgba(158, 59, 26, 1) 0%,
                rgba(158, 59, 26, 1) 20%,
                rgba(158, 59, 26, 1) 50%,
                rgba(158, 59, 26, 0) 100%
            ),
            radial-gradient(
                circle at top right,
                rgba(255, 255, 255, 0.14) 0%,
                rgba(255, 255, 255, 0.04) 25%,
                rgba(255, 255, 255, 0) 55%
            ),
            url("../images/fond-elearning-2.png");
        background-repeat: no-repeat, no-repeat, no-repeat;
        background-position: top right;
        background-size: 60%;
        opacity: 0.45;
    }
}

/* =========================================================
   LAYOUT
========================================================= */

.about-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.about-card {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    overflow: hidden;
}

.about-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--color-primary);
}

/* Variante éditoriale sans carte */
.about-card--main {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    max-width: 850px;
}

.about-card--main::before {
    display: none;
}

.about-card h2 {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.7rem;
    line-height: 1.2;
}

.about-card h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 12px;
    background: var(--color-primary);
}

.about-card p {
    margin: 0 0 1.2rem;
    color: var(--color-text);
    line-height: 1.8;
}

.about-card p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   ENGAGEMENTS
========================================================= */

.about-card--values {
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.about-commitments {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-commitments li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

.about-commitments li::before {
    content: "";
    position: absolute;
    top: 0.72rem;
    left: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--color-primary);
}

.about-commitments li:last-child {
    margin-bottom: 0;
}

/* =========================================================
   HIGHLIGHTS
========================================================= */

.about-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.highlight-box {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    overflow: hidden;
}

.highlight-box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: var(--color-primary);
}

.highlight-box h2 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.highlight-box p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.7;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 960px) {
    .about-layout,
    .about-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-hero {
        padding: 3.5rem 0 2.5rem;
    }

    .about-card,
    .highlight-box {
        padding: 1.5rem;
    }
}