@charset "UTF-8";

/* ======================================================================
   BANDEAU TEMPORAIRE — SITE EN COURS DE CONSTRUCTION
   ====================================================================== */
.home-construction-banner {
    display: flex;
    align-items: start;
    gap: 16px;
    margin: 1.25rem 0 0.8rem;
    padding: 18px 20px;
    border: 2px solid #DC2626;
    border-left-width: 8px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
    box-shadow: 0 10px 28px rgba(127, 29, 29, 0.10);
    color: #7F1D1D;
}

.home-construction-banner-icon {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DC2626;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
}

.home-construction-banner-copy {
    min-width: 0;
}

.home-construction-banner-title {
    display: block;
    margin: 0 0 3px;
    color: #991B1B;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: .25px;
    text-transform: uppercase;
}

.home-construction-banner-text {
    display: block;
    margin: 0;
    color: #7C2D12;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 700;
}

@media (max-width: 600px) {
    .home-construction-banner {
        align-items: flex-start;
        padding: 15px 16px;
    }

    .home-construction-banner-icon {
        width: 40px;
        height: 40px;
        font-size: 21px;
    }

    .home-construction-banner-title {
        font-size: 15px;
    }

    .home-construction-banner-text {
        font-size: 13px;
    }
}

/* ======================================================================
   HOME V3 — styles locaux de validation.
   Après validation de la page d'accueil, les composants réutilisables
   pourront être transférés dans assets/css/charte.css pour les catalogues.
   ====================================================================== */

.home-v3 {
    --home-shadow: 0 16px 44px rgba(15, 23, 34, 0.08);
}

.home-hero-split {
    display: grid;
    /* Le visuel reçoit davantage de largeur, mais sans créer un grand cadre vide. */
    grid-template-columns: minmax(0, 0.76fr) minmax(540px, 1.24fr);
    gap: 24px;
    align-items: center;
    margin: 2.6rem 0 1.6rem;
}

.home-hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-hero-copy .hero-tag {
    margin-bottom: 16px;
}

.home-hero-title {
    font-family: var(--font-serif);
    font-size: clamp(34px, 4.6vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.7px;
    color: var(--brand-text);
    font-weight: 400;
    margin: 0;
}

.home-hero-title strong {
    display: block;
    color: var(--accent);
    font-weight: 500;
    margin-top: 4px;
}

.home-hero-sub {
    max-width: 640px;
    margin: 20px 0 0;
    color: var(--brand-text-muted);
    font-size: 16px;
    line-height: 1.72;
}

.home-hero-sub strong {
    color: var(--brand-text);
}

.home-hero-tagline {
    margin: 18px 0 0;
    color: var(--brand-text);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 700;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
}

.home-hero-actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.home-independent {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 8px 12px;
    background: #FFF9E8;
    border: 1px solid #F2D27A;
    border-radius: 10px;
    color: #7A5A10;
    font-size: 11px;
    line-height: 1.45;
}

.home-independent-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #F7D774;
    color: #6A4A00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex: 0 0 auto;
    margin-top: 1px;
}

.home-hero-media {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 3px;
    box-shadow: var(--home-shadow);
    overflow: hidden;
}

.home-hero-media::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(230,241,251,0.48), transparent 38%, rgba(240,237,251,0.32));
}

.home-hero-media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 11px;
}

.home-pillar-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 2rem;
}

.home-pillar {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 999px;
    background: var(--card-bg);
    border: 1px solid var(--brand-border);
    color: var(--brand-text);
    font-size: 11px;
    font-weight: 700;
}

.home-access-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 8%, rgba(91,33,182,0.10), transparent 24%),
        radial-gradient(circle at 8% 92%, rgba(0,120,212,0.08), transparent 25%),
        linear-gradient(135deg, #FFFFFF 0%, #F7FBFF 52%, #F8F5FF 100%);
    border: 1px solid #D9E2EF;
    border-radius: 18px;
    padding: 24px;
    margin: 0 0 2.8rem;
    box-shadow: 0 14px 38px rgba(15, 23, 34, 0.06);
}

.home-access-band::after {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    right: -130px;
    top: -150px;
    background: rgba(230,241,251,0.72);
}

.home-access-intro {
    position: relative;
    z-index: 1;
    display: block;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(12,68,124,0.12);
}

.home-access-intro h2 {
    font-family: var(--font-serif);
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.18;
    font-weight: 500;
    margin: 0 0 9px;
    color: var(--brand-text);
}

.home-access-intro p {
    margin: 0;
    max-width: 980px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--brand-text-muted);
}

.home-access-price {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EAF4FF 0%, #F1ECFF 100%);
    border: 1px solid #C9DDF4;
    border-radius: 14px;
    padding: 17px 18px;
    box-shadow: 0 8px 22px rgba(12,68,124,0.08);
}

.home-access-price::before {
    content: '€';
    position: absolute;
    right: 14px;
    top: -9px;
    font-family: var(--font-serif);
    font-size: 64px;
    line-height: 1;
    color: rgba(12,68,124,0.08);
}

.home-access-price strong {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--accent);
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 5px;
}

.home-access-price span {
    position: relative;
    z-index: 1;
    display: block;
    color: var(--brand-text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.home-access-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-access-item {
    min-width: 0;
    min-height: 150px;
    background: #FFFFFF;
    border: 1px solid transparent;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(15,23,34,0.045);
}

.home-access-item.access-blue   { background:#F2F8FF; border-color:#CFE3F7; }
.home-access-item.access-green  { background:#F0FBF5; border-color:#CDEEDB; }
.home-access-item.access-orange { background:#FFF7ED; border-color:#F7D9B5; }
.home-access-item.access-violet { background:#F7F3FF; border-color:#DDD2FA; }

.home-access-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 700;
}

.access-blue .home-access-icon   { background:#DCEEFF; color:#0C447C; }
.access-green .home-access-icon  { background:#DCFCE7; color:#166534; }
.access-orange .home-access-icon { background:#FFEDD5; color:#C65D0E; }
.access-violet .home-access-icon { background:#EDE9FE; color:#5B21B6; }

.home-access-item h3 {
    font-size: 13px;
    line-height: 1.35;
    color: var(--brand-text);
    margin: 0 0 5px;
}

.home-access-item p {
    font-size: 11px;
    line-height: 1.58;
    color: var(--brand-text-muted);
    margin: 0;
}


/* ===============================================================
   ACCESSIBILITÉ — voix, prompt et confort de lecture
   =============================================================== */
.home-accessibility-section {
    margin: 0 0 3rem;
    padding: 28px;
    border: 1px solid #D9E2EF;
    border-radius: 18px;
    background:
        radial-gradient(circle at 92% 10%, rgba(91,33,182,.08), transparent 24%),
        radial-gradient(circle at 8% 88%, rgba(0,120,212,.07), transparent 24%),
        #FFFFFF;
    box-shadow: 0 14px 38px rgba(15,23,34,.055);
}

.home-accessibility-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .45fr);
    gap: 28px;
    align-items: end;
    margin-bottom: 20px;
}

.home-accessibility-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 9px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #F1ECFF;
    color: #5B21B6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.home-accessibility-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.16;
    font-weight: 500;
    color: var(--brand-text);
    margin: 0 0 10px;
}

.home-accessibility-head p {
    margin: 0;
    max-width: 760px;
    color: var(--brand-text-muted);
    font-size: 14px;
    line-height: 1.72;
}

.home-accessibility-note {
    padding: 13px 14px;
    border-radius: 12px;
    background: #F6F9FD;
    border: 1px solid #DCE5EF;
    color: #173B63;
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}

.home-accessibility-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-accessibility-card {
    min-width: 0;
    min-height: 180px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid #E2E8F0;
    background: #FFFFFF;
}

.home-accessibility-card:nth-child(1) { background:#F2F8FF; border-color:#CFE3F7; }
.home-accessibility-card:nth-child(2) { background:#F0FBF5; border-color:#CDEEDB; }
.home-accessibility-card:nth-child(3) { background:#FFF7ED; border-color:#F7D9B5; }
.home-accessibility-card:nth-child(4) { background:#F7F3FF; border-color:#DDD2FA; }

.home-accessibility-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    border-radius: 11px;
    background: rgba(255,255,255,.78);
    font-size: 20px;
}

.home-accessibility-card h3 {
    margin: 0 0 6px;
    color: var(--brand-text);
    font-size: 14px;
    line-height: 1.35;
}

.home-accessibility-card p {
    margin: 0;
    color: var(--brand-text-muted);
    font-size: 11.5px;
    line-height: 1.6;
}

.home-accessibility-footer {
    margin-top: 16px;
    padding: 11px 13px;
    border-radius: 11px;
    background: #F8FAFD;
    border: 1px solid #E4EAF1;
    color: var(--brand-text);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}



/* ===============================================================
   Présentation publique d'une formation Mandragore
   Placée après le modèle économique et avant les académies.
   =============================================================== */
.home-public-section {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(340px, 1.12fr);
    gap: 34px;
    align-items: center;
    margin: 0 0 3rem;
    padding: 28px;
    border: 1px solid #D9E2EF;
    border-radius: 18px;
    background:
        radial-gradient(circle at 10% 12%, rgba(0,120,212,.07), transparent 26%),
        radial-gradient(circle at 94% 88%, rgba(91,33,182,.07), transparent 25%),
        #FFFFFF;
    box-shadow: 0 14px 38px rgba(15, 23, 34, 0.055);
}

.home-public-copy {
    min-width: 0;
}

.home-public-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    padding: 6px 11px;
    border-radius: 999px;
    background: #EEF5FF;
    color: #185FA5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.home-public-copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.16;
    font-weight: 500;
    color: var(--brand-text);
    margin: 0 0 12px;
}

.home-public-copy > p {
    margin: 0 0 18px;
    max-width: 580px;
    color: var(--brand-text-muted);
    font-size: 14px;
    line-height: 1.72;
}

.home-public-positioning {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 14px;
    padding: 11px 13px;
    border-radius: 11px;
    background: #F2F7FD;
    border: 1px solid #D7E5F4;
    color: #173B63;
    font-size: 12px;
    line-height: 1.55;
}

.home-public-positioning strong {
    color: #0C447C;
}

.home-public-steps {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.home-public-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 11px;
    align-items: start;
    padding: 11px 12px;
    border-radius: 12px;
    background: #F8FAFD;
    border: 1px solid #E5EAF1;
}

.home-public-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 700;
}

.home-public-step:nth-child(1) .home-public-step-icon {
    background: #EDE9FE;
    color: #5B21B6;
}
.home-public-step:nth-child(2) .home-public-step-icon {
    background: #DCFCE7;
    color: #166534;
}
.home-public-step:nth-child(3) .home-public-step-icon {
    background: #DBEAFE;
    color: #185FA5;
}
.home-public-step:nth-child(4) .home-public-step-icon {
    background: #FFEDD5;
    color: #C65D0E;
}

.home-public-step strong {
    display: block;
    margin: 0 0 2px;
    color: var(--brand-text);
    font-size: 13px;
}

.home-public-step span {
    display: block;
    color: var(--brand-text-muted);
    font-size: 11px;
    line-height: 1.5;
}

.home-public-audience {
    margin-top: 15px !important;
    font-size: 12px !important;
    font-weight: 700;
    color: var(--accent-text) !important;
}

.home-public-media {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 10px;
    border-radius: 16px;
    background: linear-gradient(145deg, #F8FBFF 0%, #FBF9FF 100%);
    border: 1px solid #E1E7F0;
}

.home-public-media-desc {
    margin: 0 0 14px;
    color: var(--brand-text-muted);
    font-size: 14px;
    line-height: 1.72;
}

.home-public-media-title {
    margin: 0 0 8px;
    color: var(--brand-text);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 750;
}

.home-public-media-desc {
    margin: 0 0 13px;
    color: var(--brand-text-muted);
    font-size: 13px;
    line-height: 1.6;
}

.home-public-media .home-public-positioning {
    margin: 0 0 14px;
}

.home-public-media img {
    display: block;
    width: min(100%, 430px);
    height: auto;
    max-height: 600px;
    object-fit: contain;
    border-radius: 12px;
    align-self: center;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin: 0 0 16px;
}

.home-section-head h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--brand-text);
    margin: 0 0 5px;
}

.home-section-head p {
    margin: 0;
    color: var(--brand-text-muted);
    font-size: 13px;
}

.home-academy-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 3rem;
    scroll-margin-top: 90px;
}

.home-academy-link {
    text-decoration: none;
    display: block;
    min-width: 0;
}

.home-academy-card {
    border-radius: var(--radius-lg);
    padding: 22px;
    height: 100%;
    transition: box-shadow 0.18s, transform 0.18s;
}

.home-academy-link.is-active:hover .home-academy-card {
    box-shadow: 0 8px 26px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}

.home-academy-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 15px;
}

.home-academy-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
}

.home-academy-status {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.25px;
}

.home-academy-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.home-academy-card .academy-desc {
    min-height: 60px;
    font-size: 12px;
    line-height: 1.55;
    color: var(--brand-text-muted);
    margin: 0 0 15px;
}

.home-academy-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    border-top: 1px solid rgba(95,94,90,0.12);
}

.home-academy-footer span {
    font-size: 11px;
    font-weight: 700;
}

.home-academy-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    padding: 8px 11px;
    border-radius: 10px;
    background: rgba(255,255,255,.72);
    border: 1px solid currentColor;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.home-academy-link.is-active:hover .home-academy-cta {
    background: #fff;
}

.home-academy-extra {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(95,94,90,0.16);
}

.home-academy-extra strong {
    display: block;
    font-size: 10.5px;
    line-height: 1.45;
    margin-bottom: 3px;
}

.home-academy-extra span {
    display: block;
    font-size: 10px;
    line-height: 1.45;
    color: var(--brand-text-muted);
}

.home-proof-section {
    margin: 0 0 3rem;
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
    gap: 26px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 22px;
}

.home-proof-copy .hero-tag {
    margin-bottom: 12px;
}

.home-proof-copy h2 {
    font-family: var(--font-serif);
    font-size: 27px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 10px;
}

.home-proof-copy p {
    color: var(--brand-text-muted);
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 10px;
}

.home-proof-rule {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--accent-bg);
    color: var(--accent-text);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 600;
}

.home-proof-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--brand-border);
    box-shadow: 0 12px 34px rgba(32,20,90,0.08);
}

.home-org-section{margin:-1rem 0 3rem;display:grid;grid-template-columns:minmax(0,.78fr) minmax(420px,1.22fr);gap:26px;align-items:center;background:#fff;border:1px solid var(--brand-border);border-radius:16px;padding:22px;box-shadow:0 12px 32px rgba(15,23,34,.05)}
.home-org-copy .hero-tag{margin-bottom:12px}.home-org-copy h2{font-family:var(--font-serif);font-size:27px;font-weight:500;line-height:1.2;margin:0 0 10px;color:var(--brand-text)}.home-org-copy p{color:var(--brand-text-muted);font-size:13px;line-height:1.65;margin:0 0 10px}.home-org-points{display:grid;gap:8px;margin-top:14px}.home-org-point{display:flex;align-items:flex-start;gap:9px;padding:9px 11px;border-radius:10px;background:#F7FAFD;border:1px solid #E1E8F0;color:var(--brand-text);font-size:12px;line-height:1.5}.home-org-point-icon{flex:0 0 auto;color:#0C447C;font-weight:800}.home-org-media img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid var(--brand-border);box-shadow:0 12px 34px rgba(12,68,124,.10)}

.home-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 3rem;
}

.home-value-card {
    display: block;
    background: var(--card-bg);
    border: 0.5px solid var(--brand-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-decoration: none;
}

.home-value-card.is-link {
    transition: border-color 0.15s, background 0.15s;
}

.home-value-card.is-link:hover {
    border-color: var(--accent);
    background: var(--accent-bg);
}

.home-value-icon {
    font-size: 23px;
    margin: 0 0 7px;
}

.home-value-title {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--brand-text);
}

.home-value-desc {
    font-size: 11px;
    line-height: 1.55;
    color: var(--brand-text-muted);
    margin: 0;
}


/* ===============================================================
   PORTAIL — Parcours de compétences
   Placé immédiatement après le catalogue des académies.
   =============================================================== */
.home-competences-band {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) auto;
    grid-column: span 2;
    gap: 24px;
    align-items: center;
    align-self: stretch;
    margin: 0;
    padding: 22px 24px;
    background: linear-gradient(135deg, #F8F5FF 0%, #FFFFFF 58%, #F3F8FF 100%);
    border: 1px solid #D9D1F2;
    border-left: 4px solid #5B21B6;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(32, 20, 90, 0.05);
}

.home-competences-copy {
    min-width: 0;
}

.home-competences-kicker {
    display: inline-block;
    margin: 0 0 7px;
    color: #5B21B6;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
}

.home-competences-copy h2 {
    font-family: var(--font-serif);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--brand-text);
    margin: 0 0 7px;
}

.home-competences-copy p {
    max-width: 760px;
    margin: 0;
    color: var(--brand-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-competences-action {
    flex: 0 0 auto;
}

.home-competences-action .btn {
    min-width: 168px;
    text-align: center;
    border-color: #B8ACE4;
    color: #5B21B6;
    background: #FFFFFF;
    font-weight: 700;
    padding: 9px 13px;
    font-size: 12px;
}

.home-competences-action .btn:hover {
    background: #F0EDFB;
}


/* ===============================================================
   EN CE MOMENT — sélection éditoriale
   =============================================================== */
.home-now-section {
    margin: 0 0 3rem;
}

.home-now-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.home-now-head h2 {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--brand-text);
    margin: 0 0 5px;
}

.home-now-head p {
    margin: 0;
    max-width: 720px;
    color: var(--brand-text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.home-now-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.home-now-card {
    min-height: 170px;
    border-radius: var(--radius-lg);
    padding: 18px;
    border: 1px solid var(--brand-border);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .18s, box-shadow .18s;
}

.home-now-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15,23,34,.08);
}

.home-now-kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .35px;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.home-now-title {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--brand-text);
    margin: 0 0 8px;
}

.home-now-desc {
    font-size: 12px;
    line-height: 1.58;
    color: var(--brand-text-muted);
    margin: 0 0 14px;
}

.home-now-link {
    margin-top: auto;
    padding-top: 11px;
    border-top: 1px solid rgba(95,94,90,.12);
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 920px) {
    .home-hero-split,
    .home-proof-section,
    .home-org-section,
    .home-public-section,
    .home-competences-band,
    .home-accessibility-head {
        grid-template-columns: 1fr;
    }

    .home-hero-media {
        height: auto;
    }

    .home-hero-media img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

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

    .home-competences-band {
        grid-column: 1 / -1;
    }

    .home-now-grid {
        grid-template-columns: 1fr;
    }

    .home-competences-action {
        justify-self: start;
    }

    .home-hero-copy {
        text-align: center;
    }

    .home-hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .home-hero-actions,
    .home-pillar-row {
        justify-content: center;
    }

    .home-independent {
        text-align: left;
    }

    .home-access-intro {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home-access-grid,
    .home-accessibility-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .home-hero-split {
        margin-top: 1.7rem;
        gap: 22px;
    }

    .home-hero-title {
        font-size: clamp(31px, 10vw, 42px);
    }

    .home-access-band,
    .home-proof-section,
    .home-org-section,
    .home-public-section,
    .home-accessibility-section {
        padding: 16px;
    }

    .home-access-grid,
    .home-accessibility-grid {
        grid-template-columns: 1fr;
    }

    .home-section-head {
        display: block;
    }

    .home-academy-grid {
        grid-template-columns: 1fr;
    }

    .home-academy-card .academy-desc {
        min-height: 0;
    }
}

/* HOME — Présentation multilingue, fin du portail */
.home-languages-section {
    margin: 0 0 3rem;
    padding: 25px 28px;
    border: 1px solid #D9E2EF;
    border-left: 4px solid #0C447C;
    border-radius: 16px;
    background: linear-gradient(135deg, #F7FBFF 0%, #FFFFFF 55%, #F8F5FF 100%);
    box-shadow: 0 10px 28px rgba(15, 23, 34, 0.05);
}
.home-languages-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 13px;
}
.home-languages-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: #EAF4FF;
    color: #0C447C;
    font-size: 23px;
}
.home-languages-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(24px, 3vw, 31px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--brand-text);
}
.home-languages-section p {
    color: var(--brand-text-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 10px;
}
.home-languages-section .home-languages-lead {
    font-weight: 700;
    color: var(--brand-text);
}
.home-languages-section .home-languages-emphasis {
    font-weight: 700;
    color: var(--brand-text);
}
.home-languages-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px;
}
.home-languages-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 51px;
    height: 35px;
    padding: 0 9px;
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    color: var(--brand-text);
}
.home-languages-flag-svg {
    display: block;
    width: 24px;
    height: 16px;
    flex: 0 0 24px;
    overflow: hidden;
    border-radius: 2px;
}
.home-languages-flag-code {
    display: inline-block;
    flex: 0 0 auto;
    line-height: 1.2;
    white-space: nowrap;
}
@media (max-width: 600px) {
    .home-languages-section { padding: 18px 16px; }
    .home-languages-head { align-items: flex-start; }
}


/* ========================================================================
   HOME — Contraste et hiérarchie, V1.
   Les couleurs/ombres/rayons communs sont exclusivement dans charte.css.
   Rien de global ici hormis le fond du body (home.css n'est chargé que sur index).
   ======================================================================== */

.home-v3 { color: var(--ui-ink); }
.home-v3 .home-hero-title,
.home-v3 .home-section-head h2,
.home-v3 .home-now-head h2,
.home-v3 .home-access-intro h2,
.home-v3 .home-public-copy h2,
.home-v3 .home-accessibility-head h2,
.home-v3 .home-proof-copy h2,
.home-v3 .home-org-copy h2,
.home-v3 .home-competences-copy h2,
.home-v3 .home-languages-section h2 {color: var(--ui-ink);}
.home-v3 .home-hero-sub,
.home-v3 .home-access-intro p,
.home-v3 .home-public-step span,
.home-v3 .home-public-media-desc,
.home-v3 .home-accessibility-head p,
.home-v3 .home-access-item p,
.home-v3 .home-accessibility-card p,
.home-v3 .home-academy-card .academy-desc,
.home-v3 .home-now-desc,
.home-v3 .home-proof-copy p,
.home-v3 .home-org-copy p,
.home-v3 .home-value-desc,
.home-v3 .home-section-head p,
.home-v3 .home-now-head p,
.home-v3 .home-languages-section p,
.home-v3 .home-competences-copy p {color: var(--ui-ink-secondary);}
.home-v3 .home-hero-sub, .home-v3 .home-accessibility-head p,
.home-v3 .home-public-copy > p {font-size: var(--ui-type-body);}
.home-v3 .home-access-band,
.home-v3 .home-public-section,
.home-v3 .home-accessibility-section,
.home-v3 .home-proof-section,
.home-v3 .home-org-section,
.home-v3 .home-competences-band,
.home-v3 .home-languages-section {
  border-color: var(--ui-border-strong);
  box-shadow: var(--ui-shadow-card);
}
.home-v3 .home-hero-media {
  border-color: var(--ui-border-strong);
  box-shadow: var(--ui-shadow-hero);
}
.home-v3 .home-access-item,
.home-v3 .home-public-step,
.home-v3 .home-accessibility-card,
.home-v3 .home-value-card,
.home-v3 .home-now-card {
  border-color: var(--ui-border);
  box-shadow: var(--ui-shadow-sm);
}
.home-v3 .home-access-item h3, .home-v3 .home-accessibility-card h3,
.home-v3 .home-value-title, .home-v3 .home-now-title {color: var(--ui-ink);}
.home-v3 .home-access-item p, .home-v3 .home-accessibility-card p,
.home-v3 .home-value-desc, .home-v3 .home-academy-card .academy-desc {font-size: 13px; line-height: 1.6;}
.home-v3 .home-public-step span {font-size: 12.5px; line-height: 1.6;}
.home-v3 .home-academy-card {
  border-color: var(--ui-border-strong);
  box-shadow: var(--ui-shadow-card);
}
.home-v3 .home-academy-card .academy-desc {min-height: 74px;}
.home-v3 .home-academy-cta {
  background: var(--ui-surface);
  box-shadow: var(--ui-shadow-sm);
  font-size: 12px;
  padding: 10px 13px;
}
.home-v3 .home-academy-link.is-active:hover .home-academy-card {
  box-shadow: var(--ui-shadow-hero);
}
.home-v3 .home-pillar {border-color:var(--ui-border-strong); box-shadow: var(--ui-shadow-sm); font-size: 12px;}
.home-v3 .home-competences-action .btn {background:var(--ui-primary); color:#fff; border-color:var(--ui-primary); font-size: 13px;}
.home-v3 .home-competences-action .btn:hover {background:var(--ui-primary-hover); color:#fff;}
.home-v3 a:focus-visible, .home-v3 button:focus-visible {outline:3px solid var(--ui-ring); outline-offset:3px;}
.home-v3 .home-proof-media img, .home-v3 .home-org-media img {box-shadow:var(--ui-shadow-hero); border-color:var(--ui-border-strong);}
.home-v3 .home-languages-flag {border-color:var(--ui-border-strong); box-shadow:var(--ui-shadow-sm);}
@media (max-width:600px) {
  .home-v3 .home-academy-card .academy-desc {min-height:0;}
  .home-v3 .home-access-item p, .home-v3 .home-accessibility-card p {font-size:13px;}
}

/* V2 — contrastes des surfaces de la page portail */
.home-v3 .home-access-band {background:linear-gradient(135deg,#FFFFFF 0%,var(--ui-surface-blue) 60%,#F3ECFF 100%);}
.home-v3 .home-access-item.access-blue {background:#DFEDFD;border-color:#A8C5E6;}
.home-v3 .home-access-item.access-green {background:#E0F4E9;border-color:#AED8C0;}
.home-v3 .home-access-item.access-orange {background:#FFF0DD;border-color:#E6C09A;}
.home-v3 .home-access-item.access-violet {background:#EBE3FB;border-color:#C8BAE8;}
.home-v3 .home-accessibility-card:nth-child(1){background:#E3EFFC;border-color:#B1CBE7;}
.home-v3 .home-accessibility-card:nth-child(2){background:#E0F3E8;border-color:#AED7BD;}
.home-v3 .home-accessibility-card:nth-child(3){background:#FFF0DF;border-color:#E4C19E;}
.home-v3 .home-accessibility-card:nth-child(4){background:#EEE5FD;border-color:#CBB8EB;}
.home-v3 .home-public-step {background:var(--ui-surface-alt);}
.home-v3 .home-competences-band {background:linear-gradient(125deg,#ECE3FE 0%,#FFFFFF 58%,#E1EDFB 100%);}
.home-v3 .home-languages-section {background:linear-gradient(125deg,#E3EFFB 0%,#FFFFFF 58%,#EFE7FD 100%);}
.home-v3 .home-academy-status {box-shadow:0 2px 8px rgba(18,43,70,.13);}
.home-v3 .home-academy-card h3 {font-size:18px;}
.home-v3 .home-value-card {background:var(--ui-surface);}

/* V3 — LISIBILITÉ UNIQUEMENT : contraste du texte et légère augmentation
   Tailles et couleurs de texte centralisées dans charte.css.
   Aucun changement de surface, espacement, grille ou interaction. */
.home-v3 .home-hero-sub,
.home-v3 .home-access-intro p,
.home-v3 .home-public-copy > p,
.home-v3 .home-public-media-desc,
.home-v3 .home-accessibility-head p,
.home-v3 .home-proof-copy p,
.home-v3 .home-org-copy p,
.home-v3 .home-competences-copy p,
.home-v3 .home-languages-section p {
  color: var(--ui-ink-secondary);
  font-size: var(--ui-type-body);
}
.home-v3 .home-access-item p,
.home-v3 .home-accessibility-card p,
.home-v3 .home-academy-card .academy-desc,
.home-v3 .home-now-desc,
.home-v3 .home-value-desc,
.home-v3 .home-public-step span,
.home-v3 .home-section-head p,
.home-v3 .home-now-head p,
.home-v3 .home-org-point,
.home-v3 .home-accessibility-note,
.home-v3 .home-accessibility-footer,
.home-v3 .home-public-positioning {
  color: var(--ui-ink-secondary);
  font-size: var(--ui-type-card);
}
.home-v3 .home-academy-footer span,
.home-v3 .home-academy-extra span,
.home-v3 .home-now-link,
.home-v3 .home-value-title,
.home-v3 .home-public-audience,
.home-v3 .home-access-price span,
.home-v3 .home-academy-cta,
.home-v3 .home-pillar {
  font-size: var(--ui-type-detail);
}

/* V4 — Contraste texte uniquement. Aucune taille, graisse ou disposition modifiée.
   Couleurs pilotées exclusivement par les variables de charte.css. */
.home-v3 .home-hero-sub,
.home-v3 .home-access-intro p,
.home-v3 .home-public-media-desc,
.home-v3 .home-public-step span,
.home-v3 .home-proof-copy p,
.home-v3 .home-org-copy p,
.home-v3 .home-section-head p,
.home-v3 .home-now-head p,
.home-v3 .home-access-item p,
.home-v3 .home-accessibility-card p,
.home-v3 .home-academy-card .academy-desc,
.home-v3 .home-now-desc,
.home-v3 .home-value-desc,
.home-v3 .home-org-point,
.home-v3 .home-public-positioning,
.home-v3 .home-accessibility-note,
.home-v3 .home-accessibility-footer {
  color: var(--ui-ink-secondary);
}
.home-v3 .home-academy-extra span,
.home-v3 .home-access-price span,
.home-v3 .home-academy-footer span {
  color: var(--ui-ink-soft);
}
