/* ============================================================
   PAGE "QUI SOMMES-NOUS" — CREAI-VBG
   Charte : violet de marque, accent indigo, corail urgence (jetons dans base.css)
   ============================================================ */


/* ============================================================
   VARIABLES
   ============================================================ */

/* Jetons : voir base.css */

/* ============================================================
   RESET LOCAL
   ============================================================ */

.apropos-page *,
.apropos-page *::before,
.apropos-page *::after {
    box-sizing: border-box;
}

.apropos-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-page);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */

.apropos-page h1 {
    font-size: 34.5px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0 0 16px;
}

.apropos-page h2 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-primary);
    margin: 0 0 14px;
}

.apropos-page h3 {
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.apropos-page p {
    font-size: 17.5px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0 0 14px;
}

/* ============================================================
   CONTENEURS
   ============================================================ */

.apropos-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.apropos-container--narrow {
    max-width: 780px;
}

/* ============================================================
   HERO
   ============================================================ */

.apropos-hero {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-700) 0%, var(--brand-500) 100%);
    color: #ffffff !important;
    padding: 100px 0 100px;
    position: relative;
    overflow: hidden;
}

.apropos-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.apropos-hero::after {
    content: "";
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.apropos-hero-content {
    max-width: 900px;
    margin: 0;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.apropos-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.apropos-hero h1 {
    font-size: clamp(34.5px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff !important;
    margin: 0 0 24px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    max-width: 800px;
}

.apropos-lead {
    font-size: clamp(17.5px, 1.6vw, 21px);
    font-weight: 400;
    line-height: 1.7;
    color: #ffffff !important;
    max-width: 720px;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    opacity: 0.96;
}

/* ============================================================
   EYEBROWS — titres de section mis en évidence
   ============================================================ */

.eyebrow {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--brand-800);
    margin: 0 0 32px;
    padding-bottom: 14px;
    position: relative;
}

.eyebrow::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--brand-500);
    border-radius: 2px;
}

.eyebrow--teal {
    color: var(--brand-800);
}
.eyebrow--teal::after {
    background: var(--brand-500);
}

.eyebrow--purple {
    color: var(--accent-800);
}
.eyebrow--purple::after {
    background: var(--accent-600);
}

.eyebrow--coral {
    color: var(--coral-900);
}
.eyebrow--coral::after {
    background: var(--coral-500);
}

/* ============================================================
   SECTIONS
   ============================================================ */

.apropos-section {
    width: 100%;
    padding: 70px 0;
    background: var(--surface);
}

.apropos-section--alt {
    background: var(--surface-alt);
}

.apropos-section .apropos-intro {
    font-size: 17.5px;
    color: var(--text-secondary);
    line-height: 1.65;
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}

/* ============================================================
   HISTOIRE
   ============================================================ */

.histoire-content {
    width: 100%;
}

.apropos-text {
    font-size: 17.5px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.apropos-text:last-child {
    margin-bottom: 0;
}

/* ============================================================
   VISION / MISSION — deux cartes dans l'esprit de Solen
   (pastille d'icône pleine, libellé en capitales, texte de
   lecture confortable, repères en pastilles)
   ============================================================ */

.vm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.vm-card {
    --vm-color: var(--brand-500);
    --vm-dark:  var(--brand-800);
    --vm-tint:  var(--brand-50);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 40px 36px 36px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.vm-card--accent {
    --vm-color: var(--accent-600);
    --vm-dark:  var(--accent-800);
    --vm-tint:  var(--accent-50);
}

/* Liseré de couleur en tête de carte */
.vm-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--vm-color);
}

/* Grand cercle décoratif discret */
.vm-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--vm-tint);
    pointer-events: none;
}

.vm-card > * {
    position: relative;
    z-index: 1;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--vm-color);
}

.vm-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: var(--vm-color);
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(51, 20, 58, 0.16);
    transition: transform 0.2s;
}

.vm-card:hover .vm-icon {
    transform: scale(1.06);
}

.vm-icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.vm-label {
    align-self: flex-start;
    margin-bottom: 14px;
    padding-bottom: 12px;
    position: relative;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--vm-dark);
}

.vm-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    border-radius: 2px;
    background: var(--vm-color);
}

.vm-card p {
    margin: 0;
    font-size: 18.5px;
    line-height: 1.75;
    color: var(--text-secondary);
}

.vm-card p strong {
    font-weight: 700;
    color: var(--text-primary);
}

.vm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: auto 0 0;
    padding: 24px 0 0;
    list-style: none;
}

.vm-tags li {
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--vm-tint);
    color: var(--vm-dark);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* ============================================================
   VALEURS — grille de chips
   ============================================================ */

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.value-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent-400);
    border-radius: var(--radius-sm);
    padding: 22px 22px 20px;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.value-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 68, 148, 0.08);
    border-left-color: var(--accent-600);
}

.value-chip h3 {
    font-size: 17.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px;
}

.value-chip p {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.value-chip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--accent-50);
    color: var(--accent-600);
    margin-bottom: 14px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.value-chip:hover .value-chip-icon {
    background: var(--accent-600);
    color: #ffffff;
    transform: scale(1.05);
}

.value-chip-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ============================================================
   OBJECTIFS
   ============================================================ */

.objectifs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.objectif-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 24px 24px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    position: relative;
}

.objectif-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(106, 44, 116, 0.1);
    border-color: var(--brand-200);
}

.objectif-num {
    display: inline-block;
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-500);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.objectif-item h3 {
    font-size: 17.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.objectif-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.objectif-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--brand-50);
    color: var(--brand-700);
    margin: 0 0 14px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.objectif-item:hover .objectif-icon {
    background: var(--brand-500);
    color: #ffffff;
    transform: scale(1.05);
}

.objectif-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ============================================================
   GOUVERNANCE
   ============================================================ */

.gouvernance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gouvernance-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 26px;
    border-top: 4px solid var(--gray-600);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gouvernance-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--gray-900);
}

.gouvernance-item h3 {
    font-size: 17.5px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px;
}

.gouvernance-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

.gouvernance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--gray-600);
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.gouvernance-item:hover .gouvernance-icon {
    background: var(--gray-600);
    color: #ffffff;
    transform: scale(1.05);
}

.gouvernance-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* ============================================================
   ÉQUIPE — tags
   ============================================================ */

.equipe-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 32px;
}

.equipe-tags span {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--accent-200);
    background: var(--accent-50);
    color: var(--accent-800);
    font-size: 15px;
    font-weight: 500;
}

/* ============================================================
   CTA FINAL — teal foncé
   ============================================================ */

.apropos-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 100%);
    padding: 80px 0 90px;
    text-align: center;
    color: #ffffff;
    border-top: 1px solid var(--border);
}

.apropos-cta h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 14px;
}

.apropos-cta p {
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 17.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============================================================
   BOUTONS
   ============================================================ */

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 17.5px;
    font-weight: 600;
    transition: background 0.15s, transform 0.1s, color 0.15s, border-color 0.15s;
    cursor: pointer;
}

.btn-cta--primary {
    background: #ffffff;
    color: var(--brand-700);
    border: 1.5px solid #ffffff;
}

.btn-cta--primary:hover {
    background: var(--brand-50);
    border-color: var(--brand-50);
    transform: translateY(-2px);
}

.btn-cta--outline {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid #ffffff;
}

.btn-cta--outline:hover {
    background: #ffffff;
    color: var(--brand-700);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — tablette
   ============================================================ */

@media (max-width: 900px) {
    .apropos-container {
        padding: 0 32px;
    }

    .apropos-hero-content {
        padding: 0 32px;
    }

    .apropos-hero h1 {
        font-size: 36.5px;
    }

    .apropos-lead {
        font-size: 18.5px;
    }

    .vm-grid,
    .gouvernance-grid {
        grid-template-columns: 1fr;
    }

    .objectifs-grid,
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

/* ============================================================
   RESPONSIVE — mobile
   ============================================================ */

@media (max-width: 600px) {
    .apropos-container {
        padding: 0 20px;
    }

    .apropos-hero {
        padding: 70px 0 60px;
    }

    .apropos-hero-content {
        padding: 0 20px;
    }

    .apropos-hero h1 {
        font-size: 28px;
    }

    .apropos-lead {
        font-size: 17.5px;
    }

    .eyebrow {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .eyebrow::after {
        width: 48px;
        height: 3px;
    }

    .apropos-page h1 { font-size: 28px; }
    .apropos-page h2 { font-size: 21.5px; }
    .apropos-page h3 { font-size: 17.5px; }

    .apropos-section,
    .apropos-cta {
        padding: 50px 0;
    }

    .apropos-cta h2 {
        font-size: 24px;
    }

    .vm-card {
        padding: 32px 24px 28px;
    }

    .vm-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }

    .vm-icon svg {
        width: 24px;
        height: 24px;
    }

    .vm-card p {
        font-size: 17.5px;
    }

    .value-chip,
    .objectif-item,
    .gouvernance-item {
        padding: 22px 20px;
    }

    .value-chip-icon,
    .objectif-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
    }

    .value-chip-icon svg,
    .objectif-icon svg {
        width: 18px;
        height: 18px;
    }

    .gouvernance-icon {
        width: 38px;
        height: 38px;
        border-radius: 9px;
        margin-bottom: 12px;
    }

    .gouvernance-icon svg {
        width: 18px;
        height: 18px;
    }

    .btn-cta {
        width: 100%;
        max-width: 340px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================================
   CONTENEUR CENTRÉ — pour sections courtes
   ============================================================ */

.apropos-container--center {
    text-align: center;
}

.apropos-container--center .eyebrow {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    max-width: 720px;
}

.apropos-container--center .eyebrow::after {
    left: 50%;
    transform: translateX(-50%);
}

.apropos-container--center .apropos-text {
    text-align: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   NOTRE ÉQUIPE — onglets + grille membres
   ============================================================ */

.equipe-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 24px auto 40px;
    max-width: 900px;
}

.equipe-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background: var(--surface);
    color: var(--accent-800);
    border: 1.5px solid var(--accent-200);
    border-radius: 999px;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}

.equipe-tab:hover {
    background: var(--accent-50);
    border-color: var(--accent-600);
    transform: translateY(-1px);
}

.equipe-tab.is-active {
    background: var(--accent-600);
    color: #ffffff;
    border-color: var(--accent-600);
}

.equipe-tab:focus-visible {
    outline: 2px solid var(--accent-600);
    outline-offset: 2px;
}

/* --- Panneaux --- */

.equipe-panels {
    position: relative;
}

.equipe-panel {
    display: none;
    animation: fadeInPanel 0.25s ease;
}

.equipe-panel.is-active {
    display: block;
}

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.equipe-empty {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    font-size: 17.5px;
    padding: 40px 20px;
    background: var(--surface-alt);
    border-radius: var(--radius);
    border: 1px dashed var(--border);
    margin: 0;
}

/* ============================================================
   GRILLE DE MEMBRES — photo en cercle
   ============================================================ */

.membres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 32px 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.membre-card {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.membre-card:focus-visible {
    outline: 3px solid var(--accent-200);
    outline-offset: 6px;
    border-radius: var(--radius);
}

.membre-card .membre-photo,
.membre-card .membre-nom,
.membre-card .membre-poste,
.membre-card .membre-profession,
.membre-card .membre-more {
    display: block;
}

.membre-card .membre-photo {
    margin-left: auto;
    margin-right: auto;
}

.membre-more {
    margin-top: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--accent-600);
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity 0.2s, transform 0.2s;
}

.membre-card:hover .membre-more,
.membre-card:focus-visible .membre-more {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .membre-more { opacity: 1; transform: none; }
}

.membre-card:hover {
    transform: translateY(-4px);
}

/* --- Photo en cercle --- */

.membre-photo {
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--accent-50);
    border: 4px solid var(--surface);
    box-shadow:
        0 0 0 2px var(--accent-200),
        0 8px 20px rgba(76, 68, 148, 0.12);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    position: relative;
}

.membre-card:hover .membre-photo {
    box-shadow:
        0 0 0 2px var(--accent-600),
        0 12px 28px rgba(76, 68, 148, 0.22);
    transform: scale(1.03);
}

.membre-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* --- Texte --- */

.membre-body {
    padding: 0 8px;
}

.membre-nom {
    font-size: 18.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.membre-poste {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--accent-600);
    margin: 0 0 4px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.membre-profession {
    font-size: 16px;
    font-style: italic;         /* ← ITALIQUE */
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 600px) {
    .equipe-tabs {
        gap: 8px;
    }

    .equipe-tab {
        font-size: 14.5px;
        padding: 8px 14px;
    }

    .membres-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 24px 16px;
    }

    .membre-photo {
        width: 110px;
        height: 110px;
        border-width: 3px;
        margin-bottom: 14px;
    }

    .membre-nom {
        font-size: 17.5px;
    }

    .membre-poste {
        font-size: 14px;
    }

    .membre-profession {
        font-size: 15px;
    }
}
/* ============================================================
   NOTRE HISTOIRE — layout 2 colonnes (texte + image)
   ============================================================ */

.histoire-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 16px;
}

.histoire-content {
    width: 100%;
}

.histoire-content .apropos-text {
    font-size: 17.5px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.histoire-content .apropos-text:last-child {
    margin-bottom: 0;
}

.histoire-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-50);
    box-shadow: 0 16px 40px rgba(106, 44, 116, 0.12);
}

.histoire-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s ease;
}

.histoire-image:hover img {
    transform: scale(1.03);
}

/* Petit accent décoratif */
.histoire-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(51, 20, 58, 0.15), transparent);
    pointer-events: none;
    z-index: 2;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
    .histoire-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .histoire-image {
        aspect-ratio: 16 / 10;
        max-width: 100%;
    }

    /* Sur tablette/mobile : image en premier, texte en dessous */
    .histoire-image {
        order: -1;
    }
}

@media (max-width: 600px) {
    .histoire-layout {
        gap: 28px;
    }

    .histoire-content .apropos-text {
        font-size: 17.5px;
    }

    .histoire-image {
        aspect-ratio: 4 / 3;
    }
}
/* ============================================================
   AJOUTS : raccourcis du hero, liens piliers, cadre juridique,
   documents, équipe, partenaires
   ============================================================ */

.apropos-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.apropos-hero-actions .btn-cta {
    padding: 12px 26px;
}

.objectif-item h3 a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1.5px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.objectif-item h3 a:hover {
    color: var(--brand-700);
    border-bottom-color: var(--brand-500);
}

.apropos-more {
    margin: 32px 0 0;
    text-align: center;
    font-size: 17.5px;
    font-weight: 700;
}

.apropos-more--left {
    margin-top: 20px;
    text-align: left;
}

.apropos-more a {
    color: var(--brand-700);
    text-decoration: none;
}

.apropos-more a:hover {
    text-decoration: underline;
}

/* Bouton d'appel mis en évidence (ex. « Découvrir nos cinq piliers d'action ») */
.apropos-more.apropos-more--cta {
    margin: 56px 0 8px;
}

.apropos-big-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 34px;
    background: linear-gradient(135deg, var(--brand-500) 0%, var(--brand-700) 100%);
    color: #fff !important;
    border-radius: 999px;
    font-size: 18.5px;
    font-weight: 800;
    letter-spacing: 0.005em;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(106, 44, 116, 0.35), 0 0 0 4px rgba(106, 44, 116, 0.12);
    transition: transform 0.18s, box-shadow 0.18s;
}

.apropos-big-btn svg {
    width: 22px;
    height: 22px;
    padding: 4px;
    box-sizing: content-box;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    transition: transform 0.18s, background 0.18s;
}

.apropos-big-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(106, 44, 116, 0.45), 0 0 0 6px rgba(106, 44, 116, 0.14);
}

.apropos-big-btn:hover svg { transform: translateX(4px); background: rgba(255, 255, 255, 0.34); }
.apropos-big-btn:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 4px; }

@media (max-width: 600px) {
    .apropos-big-btn { padding: 15px 24px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .apropos-big-btn, .apropos-big-btn svg { transition: none; }
    .apropos-big-btn:hover, .apropos-big-btn:hover svg { transform: none; }
}

/* Cadre juridique + documents */
.cadre-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cadre-infos {
    margin: 0;
    display: grid;
    gap: 18px;
}

.cadre-infos dt {
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 4px;
}

.cadre-infos dd {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-primary);
}

.cadre-infos a {
    color: var(--brand-700);
    font-weight: 600;
}

.cadre-docs h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.docs-liste {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.docs-liste a {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-500);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s;
}

.docs-liste a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.doc-titre {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.doc-desc {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-secondary);
}

.doc-meta {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--brand-700);
}

.docs-vide {
    margin: 0;
    padding: 16px 18px;
    background: var(--brand-50);
    border: 1px solid var(--brand-200);
    border-radius: var(--radius-sm);
    font-size: 17.5px;
    line-height: 1.65;
    color: var(--brand-900);
}

/* Partenaires — liste sur 2 lignes, pleine largeur du navigateur */
.partenaires-liste {
    --cols: 2;
    --gap: 20px;
    width: 100%;
    margin: 28px 0 0;
    padding: 0 clamp(16px, 4vw, 72px);
}

.partenaires-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.partenaires-grid.is-turning {
    animation: partenaires-fade 0.35s ease;
}

@keyframes partenaires-fade {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}

.partenaire-card {
    flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 22px 16px 20px;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.partenaire-card[hidden] {
    display: none;
}

.partenaire-card:hover {
    border-color: var(--brand-200);
    box-shadow: 0 10px 28px rgba(51, 20, 58, 0.09);
    transform: translateY(-2px);
}

.partenaire-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 96px;
    margin-bottom: 8px;
}

.partenaire-logo img {
    max-width: 100%;
    max-height: 84px;
    object-fit: contain;
}

/* Repli quand le partenaire n'a pas de logo */
.partenaire-monogram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: var(--brand-50);
    color: var(--brand-700);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.apropos-page .partenaire-card-nom {
    margin: 0;
    font-size: 17.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    text-wrap: balance;
}

.apropos-page .partenaire-card-type {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.partenaire-card-link {
    margin-top: auto;
    padding-top: 10px;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--brand-700);
    text-decoration: none;
}

.partenaire-card-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 560px)  { .partenaires-liste { --cols: 3; } }
@media (min-width: 800px)  { .partenaires-liste { --cols: 4; } }
@media (min-width: 1100px) { .partenaires-liste { --cols: 5; } }
@media (min-width: 1400px) { .partenaires-liste { --cols: 6; } }

/* Pagination */
.partenaires-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.partenaires-pager[hidden] {
    display: none;
}

.partenaires-pager-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: inherit;
    font-size: 17.5px;
    font-weight: 700;
    color: var(--brand-700);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.partenaires-pager-btn--arrow {
    font-size: 21.5px;
    line-height: 1;
}

.partenaires-pager-btn:hover:not(:disabled):not(.is-current) {
    background: var(--brand-50);
    border-color: var(--brand-200);
}

.partenaires-pager-btn.is-current {
    background: var(--brand-500);
    border-color: var(--brand-500);
    color: #ffffff;
    cursor: default;
}

.partenaires-pager-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.partenaires-pager-btn:focus-visible {
    outline: 3px solid var(--brand-200);
    outline-offset: 2px;
}

.partenaires-pager-gap {
    padding: 0 4px;
    color: var(--text-muted);
}

.partenaires-more {
    margin-top: 32px;
    text-align: center;
}

.btn-cta--outline-dark {
    background: transparent;
    color: var(--brand-700);
    border: 1.5px solid var(--brand-500);
}

.btn-cta--outline-dark:hover {
    background: var(--brand-500);
    color: #ffffff;
    transform: translateY(-2px);
}

.partenaires-section .partenaires-invite {
    margin-top: 56px;
}

.partenaires-invite {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px 48px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 48px 56px;
    overflow: hidden;
    text-align: left;
    background: linear-gradient(135deg, var(--brand-900) 0%, var(--brand-700) 55%, var(--brand-500) 100%);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(51, 20, 58, 0.22);
    color: #ffffff;
}

/* Cercles décoratifs (même motif que les bandeaux du site) */
.partenaires-invite::before,
.partenaires-invite::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.partenaires-invite::before {
    top: -90px;
    right: -60px;
    width: 300px;
    height: 300px;
}

.partenaires-invite::after {
    bottom: -120px;
    left: 32%;
    width: 240px;
    height: 240px;
}

.partenaires-invite-text,
.partenaires-invite-cta {
    position: relative;
    z-index: 1;
}

.partenaires-invite-text {
    max-width: 660px;
}

.partenaires-invite-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
}

.apropos-page .partenaires-invite h3 {
    margin: 0 0 14px;
    font-size: clamp(26px, 2.6vw, 34.5px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-wrap: balance;
}

.apropos-page .partenaires-invite p {
    margin: 0;
    font-size: 18.5px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    text-wrap: pretty;
}

.apropos-page .partenaires-invite p strong {
    font-weight: 700;
    color: #ffffff;
}

.partenaires-invite-cta {
    flex-shrink: 0;
    gap: 10px;
    min-height: 56px;
    padding: 16px 32px;
    font-size: 17.5px;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

@media (max-width: 900px) {
    .partenaires-invite {
        flex-direction: column;
        align-items: flex-start;
        padding: 36px 28px;
    }

    .partenaires-invite-cta {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .partenaires-invite {
        padding: 30px 22px;
        border-radius: 20px;
    }

    .apropos-page .partenaires-invite p {
        font-size: 17.5px;
    }
}

.btn-cta--solid {
    background: var(--brand-500);
    color: #ffffff;
    border: 1.5px solid var(--brand-500);
}

.btn-cta--solid:hover {
    background: var(--brand-700);
    border-color: var(--brand-700);
    transform: translateY(-2px);
}

/* Espace sous la nav fixe pour les ancres */
#documents,
#partenaires-institutionnels {
    scroll-margin-top: 90px;
}

@media (max-width: 900px) {
    .cadre-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .apropos-hero-actions .btn-cta {
        width: 100%;
    }

}

.apropos-more a {
    font-weight: 700;
}

.apropos-section .apropos-intro a {
    color: var(--brand-700);
    font-weight: 700;
    text-decoration: none;
}

.apropos-section .apropos-intro a:hover {
    text-decoration: underline;
}

/* Comité scientifique */
.comite-list { margin: 12px 0 16px; padding-left: 20px; line-height: 1.7; }
.comite-list li { margin-bottom: 6px; }

/* ============================================================
   RÉSEAU COMPLÉMENTAIRE — cartes dans le style des « piliers » de Solen
   ============================================================ */

.reseau-intro {
    max-width: 720px;
    margin: -8px 0 28px;
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.reseau-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-4, 32px);
}

.reseau-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 30px 26px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.reseau-card:hover,
.reseau-card:focus-within {
    transform: translateY(-3px);
    border-color: var(--accent-200);
    box-shadow: 0 10px 28px rgba(51, 20, 58, 0.10);
}

.reseau-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.reseau-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-50);
    color: var(--accent-600);
}

.reseau-icon svg { width: 22px; height: 22px; display: block; }

.reseau-card-tag {
    display: inline-block;
    background: var(--accent-50);
    color: var(--accent-600);
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
}

.reseau-card h3 {
    margin: 0 0 10px;
    font-size: 22.5px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
}

.reseau-card p {
    margin: 0 0 16px;
    font-size: 17.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.reseau-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 22px;
}

.reseau-tag {
    font-size: 14.5px;
    font-weight: 600;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--accent-50);
    color: var(--accent-600);
}

.reseau-link {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    background: var(--brand-500);
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s;
}

.reseau-link svg { width: 16px; height: 16px; transition: transform 0.15s; }
.reseau-link:hover { background: var(--brand-700); }
.reseau-link:hover svg { transform: translateX(3px); }
.reseau-link:focus-visible { outline: 3px solid var(--accent-600); outline-offset: 3px; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 600px) {
    .reseau-grid { grid-template-columns: 1fr; }
    .reseau-card { padding: 24px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .reseau-card, .reseau-link, .reseau-link svg { transition: none; }
    .reseau-card:hover, .reseau-card:focus-within { transform: none; }
}
