/* =========================================================
   AKLIO — Recruitment V2
   Styles spécifiques à la page recrutement uniquement.

   Principe :
   - la couleur de fond et la couleur générale des sections sont
     pilotées dans le HTML par les classes génériques
     section-neutral / section-universe / section-universe-soft ;
   - ce fichier ne gère que les composants propres au recrutement
     et les exceptions visuelles voulues pour cette page.
   ========================================================= */


/* =========================================================
   1. HERO
   ========================================================= */

.hero-recruitment-aklio > img {
    width: 100%;
    height: 720px;
    object-fit: cover;
    display: block;
}

.recruitment-hero-v2 {
    text-align: center;
}

.recruitment-hero-v2 h1 {
    color: var(--navy);
}

.recruitment-hero-v2 .section-lead {
    color: var(--dark-blue);
    margin-bottom: 28px;
    hyphens: none;
}

.recruitment-hero-v2 .recruitment-hero-buttons {
    position: static;
    margin-top: 0;
    padding: 0;
}

/* Boutons du hero : palette Recrutement */
body .recruitment-hero-v2 .hero-buttons .btn-primary,
body .recruitment-hero-v2 .hero-buttons .btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 3px solid var(--orange);
}

body .recruitment-hero-v2 .hero-buttons .btn-primary:hover,
body .recruitment-hero-v2 .hero-buttons .btn-secondary:hover {
    background: var(--orange);
    color: var(--navy);
    border-color: var(--orange);
}


/* =========================================================
   2. WHY JOIN AKLIO
   ========================================================= */

.recruitment-why .intro-card {
    background: var(--almond);
    color: var(--dark-blue);
}

.recruitment-why .intro-card h3 {
    color: var(--navy);
}

.recruitment-why .intro-card p {
    color: var(--dark-blue);
}

.recruitment-why .intro-card .icon {
    color: var(--orange);
}

.recruitment-why .section-lead {
    hyphens: none;
}


/* =========================================================
   3. TEACHING OPPORTUNITIES
   ========================================================= */

.recruitment-opportunities > h2 {
    color: var(--cornflower);
}

.recruitment-opportunities .section-lead {
    hyphens: none;
}

.recruitment-opportunities .recruitment-program-card {
    background: var(--pale-orange);
    border: 2px solid var(--orange);
    color: var(--dark-blue);
}

.recruitment-opportunities .recruitment-program-card h3,
.recruitment-opportunities .recruitment-program-card h4 {
    color: var(--navy);
}

.recruitment-opportunities .program-icon {
    color: var(--orange);
}

.recruitment-opportunities .recruitment-program-note {
    color: var(--navy);
}

.recruitment-program-card ul {
    padding-left: 1.2rem;
}

.recruitment-program-card li + li {
    margin-top: .45rem;
}


/* =========================================================
   4. RECRUITMENT PROCESS
   Style inspiré des cartes AKLIO Immersion
   ========================================================= */

.recruitment-process .section-lead {
    hyphens: none;
}

.recruitment-process .recruitment-process-item {
    height: 100%;
    padding: 24px;
    background: var(--almond);
    color: var(--dark-blue);
    border: 2px solid var(--sky-blue);
    border-radius: 20px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.recruitment-process .recruitment-process-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.recruitment-process .recruitment-process-item h3 {
    color: var(--orange);
}

.recruitment-process .recruitment-process-item p {
    color: var(--dark-blue);
}

.recruitment-process .recruitment-process-item .method-icon {
    margin-left: auto;
    margin-right: auto;
    background: var(--cornflower);
    color: var(--almond);
    border-color: var(--cornflower);
}


/* =========================================================
   5. FINAL CTA
   ========================================================= */

.recruitment-v2-final h2 {
    color: var(--orange);
}

.recruitment-application-v2 {
    display: block;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.recruitment-application-v2 .recruitment-application-content {
    max-width: 820px;
    margin: 0 auto;
}

.recruitment-application-v2 p {
    text-align: left;
    hyphens: none;
}

.recruitment-v2-final .recruitment-application-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 28px;
}

/* CTA final : indépendant de la couleur générique de la section */
body .recruitment-v2-final .recruitment-application-buttons .btn-primary,
body .recruitment-v2-final .recruitment-application-buttons .btn-primary:visited {
    background: transparent;
    color: var(--navy);
    border: 3px solid var(--orange);
}

body .recruitment-v2-final .recruitment-application-buttons .btn-primary:hover {
    background: var(--orange);
    color: var(--navy);
    border-color: var(--orange);
}


/* =========================================================
   6. RESPONSIVE — TABLETTE
   ========================================================= */

@media (max-width: 900px) {

    .hero-recruitment-aklio {
        overflow: hidden;
    }

    .hero-recruitment-aklio > img {
        width: 100%;
        height: clamp(240px, 56vw, 420px);
        object-fit: cover;
        object-position: center top;
        display: block;
    }

    .recruitment-program-grid {
        grid-template-columns: 1fr;
    }

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


/* =========================================================
   7. RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 620px) {

    .recruitment-process-grid {
        grid-template-columns: 1fr;
    }

    .recruitment-hero-v2 {
        padding-top: 24px;
        padding-bottom: 28px;
    }

    .recruitment-hero-v2 .section-lead {
        margin-bottom: 24px;
    }

    .recruitment-hero-v2 .recruitment-hero-buttons {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        margin: 0;
    }

    .recruitment-hero-v2 .recruitment-hero-buttons .btn {
        width: min(100%, 320px);
        min-width: 0;
        margin: 0;
        padding: 11px 14px;
        font-size: 15px;
        line-height: 1.2;
        white-space: normal;
    }

    .recruitment-v2-final .recruitment-application-buttons {
        margin-top: 24px;
    }

    body .recruitment-v2-final .recruitment-application-buttons .btn-primary {
        width: auto;
        max-width: 320px;
        padding: 11px 18px;
        font-size: 15px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }
}
