/* ==========================================================================
   IA FORMATION — Page À propos
   À charger après accueil.css et formations.css
   ========================================================================== */

.about-page .hero-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}


/* ---------- Placeholder commun ---------- */

.about-page .image-placeholder {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    background:
        linear-gradient(135deg, rgba(52, 37, 122, .05), rgba(52, 37, 122, .14)),
        #f4f2fa;
}

.about-page .image-placeholder::before,
.about-page .image-placeholder::after {
    content: "";
    position: absolute;
    background: rgba(52, 37, 122, .12);
}

.about-page .image-placeholder::before {
    width: 60px;
    height: 1px;
}

.about-page .image-placeholder::after {
    width: 1px;
    height: 60px;
}

.about-page .image-placeholder > span {
    position: absolute;
    right: 17px;
    bottom: 15px;

    color: #9089a5;
    font-size: 10px;
    line-height: 1;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* ---------- Présentation ---------- */

.about-intro-section {
    background: #fff;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
    gap: 70px;
    align-items: center;
}

.about-intro-copy h2 {
    max-width: 720px;
    margin: 0 0 28px;
}

.about-intro-copy > p:not(.section-kicker) {
    max-width: 760px;
    margin: 0 0 18px !important;

    color: #5a5663 !important;
    font-size: 16px;
    line-height: 1.8;
}

.about-intro-copy > p strong {
    color: var(--ia-ink);
}

.about-intro-visual {
    min-height: 470px;
    border-radius: 10px;
}


/* ---------- Méthode ---------- */

.about-method-section {
    background: var(--ia-bg);
    border-top: 1px solid var(--ia-line);
    border-bottom: 1px solid var(--ia-line);
}

.about-method-heading {
    max-width: 820px;
    margin: 0 auto 50px;
    text-align: center;
}

.about-method-heading h2 {
    margin-top: 7px;
}

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

.about-method-card {
    min-height: 205px;
    margin: 0;
    padding: 28px;

    background: #fff;
    border: 1px solid var(--ia-line);
    border-radius: 9px;

    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about-method-card:hover {
    transform: translateY(-4px);
    border-color: #cec7e8;
    box-shadow: 0 16px 38px rgba(36, 23, 94, .07);
}

.about-method-index {
    display: block;
    margin-bottom: 28px;

    color: #aaa4bc;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .14em;
}

.about-method-card h3 {
    margin: 0 0 12px;

    color: var(--ia-purple);
    font-size: 21px;
    line-height: 1.25;
}

.about-method-card p {
    margin: 0 !important;

    color: #5a5662 !important;
    font-size: 14px;
    line-height: 1.7;
}


/* ---------- CTA clair ---------- */

.about-cta-section {
    padding: 80px 0 90px;
    background: #fff;
}

.about-cta-box {
    display: grid;
    grid-template-columns: 38% 62%;
    min-height: 390px;

    overflow: hidden;

    background: #f3f3f3;
    border-radius: 14px;
}

.about-cta-image {
    min-height: 390px;
}

.about-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 65px 55px 55px;
}

.about-cta-content h2 {
    max-width: 720px;
    margin: 0 0 20px;

    color: var(--ia-ink);
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.about-cta-content > p:not(.section-kicker) {
    max-width: 680px;
    margin: 0 0 24px !important;

    color: #696574 !important;
    font-size: 16px;
    line-height: 1.75;
}

.about-cta-content .button {
    align-self: flex-start;
}


/* ---------- Responsive ---------- */

@media only screen and (max-width: 1199px) {

    .about-intro-grid {
        gap: 45px;
    }
}


@media only screen and (max-width: 959px) {

    .about-intro-grid {
        grid-template-columns: 1fr;
    }

    .about-intro-visual {
        min-height: 360px;
    }

    .about-method-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-cta-box {
        grid-template-columns: 42% 58%;
    }

    .about-cta-content {
        padding: 45px 40px 45px 35px;
    }
}


@media only screen and (max-width: 767px) {

    .about-intro-section,
    .about-method-section,
    .about-cta-section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .about-intro-visual {
        min-height: 290px;
    }

    .about-method-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .about-method-grid {
        grid-template-columns: 1fr;
    }

    .about-method-card {
        min-height: 0;
    }

    .about-cta-section {
        padding-top: 60px;
        padding-bottom: 70px;
    }

    .about-cta-box {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .about-cta-image {
        min-height: 0;
        height: 260px;
    }

    .about-cta-content {
        padding: 35px 28px 40px;
    }

    .about-cta-content h2 {
        font-size: 29px;
    }

    .about-cta-content .button {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}
