/**
 * Design system du site public AIPIJ (/v2) — par-dessus le thème GXON (Bootstrap 5.3).
 *
 * Palette issue du logo : bleu #117AD6, rouge #D00C0D, blanc.
 * Tout est portée par `.page-layout-public` afin de ne rien changer au
 * legacy ni au back-office qui partagent les mêmes feuilles GXON.
 */

/* ============================================================
   1. Jetons de design
   ============================================================ */
:root {
    /* Couleurs de marque (relevées sur le logo) */
    --v2-blue: #117AD6;
    --v2-blue-600: #0E68B8;
    --v2-blue-700: #0B5296;
    --v2-blue-50: #EAF3FD;
    --v2-blue-100: #D6E8FA;
    --v2-red: #D00C0D;
    --v2-red-600: #B10A0B;
    --v2-red-50: #FDECEC;

    /* Encre & surfaces */
    --v2-navy: #0B1F3D;
    --v2-ink: #16233B;
    --v2-muted: #5D6B84;
    --v2-faint: #8A96AC;
    --v2-surface: #FFFFFF;
    --v2-canvas: #F5F8FC;
    --v2-border: #E3EAF4;
    --v2-border-strong: #CFDBEC;

    /* Alias conservés pour la compatibilité des anciens gabarits */
    --v2-primary: var(--v2-blue);
    --v2-soft: var(--v2-blue-50);

    /* Élévations : bleutées, jamais grises */
    --v2-shadow-xs: 0 1px 2px rgba(11, 31, 61, .06);
    --v2-shadow-sm: 0 2px 8px rgba(11, 31, 61, .06);
    --v2-shadow-md: 0 10px 28px rgba(11, 31, 61, .09);
    --v2-shadow-lg: 0 24px 60px rgba(11, 31, 61, .14);
    --v2-shadow-blue: 0 14px 34px rgba(17, 122, 214, .28);

    /* Rayons */
    --v2-r-sm: 10px;
    --v2-r-md: 14px;
    --v2-r-lg: 20px;
    --v2-r-xl: 28px;
    --v2-r-pill: 999px;

    --v2-ease: cubic-bezier(.22, .61, .36, 1);
}

[data-bs-theme="dark"] {
    --v2-navy: #E8EEF9;
    --v2-ink: #E8EEF9;
    --v2-muted: #9FAECA;
    --v2-faint: #7E8CA8;
    --v2-surface: #131C2E;
    --v2-canvas: #0C1424;
    --v2-border: rgba(255, 255, 255, .10);
    --v2-border-strong: rgba(255, 255, 255, .18);
    --v2-blue-50: rgba(17, 122, 214, .16);
    --v2-blue-100: rgba(17, 122, 214, .26);
    --v2-red-50: rgba(208, 12, 13, .18);
    --v2-soft: var(--v2-blue-50);
}

/* ============================================================
   2. Cadre général du site public

   `.v2-site` = uniquement le site vitrine refondu (layout base_v2), pour les
   règles qui touchent à la structure. `.page-layout-public` reste utilisé pour
   l'habillage des composants, partagé avec la fiche publique de l'espace
   interprète qui charge aussi cette feuille.
   ============================================================ */
.page-layout-public {
    --bs-body-color: var(--v2-ink);
}

.v2-site {
    background: var(--v2-canvas);
    scroll-behavior: smooth;
}

html:has(.v2-site) {
    scroll-behavior: smooth;
    background: var(--v2-canvas);
}

.v2-site .app-wrapper {
    background: transparent;
    /* GXON réserve 30px sous l'en-tête applicatif, absent de ce layout : la
       barre de navigation collante doit toucher le haut de la fenêtre. */
    padding-top: 0;
    padding-bottom: 3rem;
}

/* Les pages sans bandeau respirent sous la barre de navigation. */
.v2-site .app-wrapper > .container {
    padding-top: 2.5rem;
}

.v2-site .v2-hero + .container {
    padding-top: 0;
}

.page-layout-public h1,
.page-layout-public h2,
.page-layout-public h3,
.page-layout-public h4 {
    color: var(--v2-navy);
    letter-spacing: -.02em;
}

/* Habillage des composants Bootstrap aux couleurs de la marque.
   Bootstrap 5.3 expose des variables par bouton : on les redéfinit
   uniquement dans le périmètre public. */
.page-layout-public .btn {
    --bs-btn-border-radius: var(--v2-r-sm);
    --bs-btn-font-weight: 600;
    --bs-btn-padding-x: 1.15rem;
    --bs-btn-padding-y: .6rem;
    transition: transform .18s var(--v2-ease), box-shadow .18s var(--v2-ease),
                background-color .18s var(--v2-ease), color .18s var(--v2-ease);
}

.page-layout-public .btn-primary {
    --bs-btn-bg: var(--v2-blue);
    --bs-btn-border-color: var(--v2-blue);
    --bs-btn-hover-bg: var(--v2-blue-600);
    --bs-btn-hover-border-color: var(--v2-blue-600);
    --bs-btn-active-bg: var(--v2-blue-700);
    --bs-btn-active-border-color: var(--v2-blue-700);
    --bs-btn-disabled-bg: var(--v2-blue);
    --bs-btn-disabled-border-color: var(--v2-blue);
    box-shadow: var(--v2-shadow-blue);
}

.page-layout-public .btn-primary:hover,
.page-layout-public .btn-danger:hover,
.page-layout-public .btn-outline-primary:hover {
    transform: translateY(-1px);
}

.page-layout-public .btn-danger {
    --bs-btn-bg: var(--v2-red);
    --bs-btn-border-color: var(--v2-red);
    --bs-btn-hover-bg: var(--v2-red-600);
    --bs-btn-hover-border-color: var(--v2-red-600);
    --bs-btn-active-bg: var(--v2-red-600);
    --bs-btn-active-border-color: var(--v2-red-600);
    box-shadow: 0 14px 34px rgba(208, 12, 13, .26);
}

.page-layout-public .btn-outline-primary {
    --bs-btn-color: var(--v2-blue);
    --bs-btn-border-color: var(--v2-border-strong);
    --bs-btn-hover-bg: var(--v2-blue);
    --bs-btn-hover-border-color: var(--v2-blue);
    --bs-btn-hover-color: #fff;
}

.page-layout-public .btn-ghost {
    --bs-btn-color: var(--v2-navy);
    --bs-btn-bg: var(--v2-surface);
    --bs-btn-border-color: var(--v2-border);
    --bs-btn-hover-color: var(--v2-blue);
    --bs-btn-hover-bg: var(--v2-surface);
    --bs-btn-hover-border-color: var(--v2-blue);
    box-shadow: var(--v2-shadow-xs);
}

.page-layout-public a {
    text-decoration: none;
}

.page-layout-public .text-primary {
    color: var(--v2-blue) !important;
}

/* Champs de formulaire */
.page-layout-public .form-control,
.page-layout-public .form-select {
    border-radius: var(--v2-r-sm);
    border-color: var(--v2-border-strong);
    padding: .65rem .9rem;
    background-color: var(--v2-surface);
    color: var(--v2-ink);
    transition: border-color .15s var(--v2-ease), box-shadow .15s var(--v2-ease);
}

.page-layout-public .form-control:focus,
.page-layout-public .form-select:focus {
    border-color: var(--v2-blue);
    box-shadow: 0 0 0 4px rgba(17, 122, 214, .14);
}

.page-layout-public .form-check-label {
    color: var(--v2-ink);
    font-weight: 500;
}

.page-layout-public .form-check-input {
    border-color: var(--v2-border-strong);
}

.page-layout-public .form-check-input:checked {
    background-color: var(--v2-blue);
    border-color: var(--v2-blue);
}

.page-layout-public .form-check-input:focus {
    border-color: var(--v2-blue);
    box-shadow: 0 0 0 4px rgba(17, 122, 214, .14);
}

.page-layout-public .form-label {
    color: var(--v2-navy);
    font-weight: 600;
    font-size: .88rem;
    margin-bottom: .4rem;
}

/* select2 : même gabarit que les champs ci-dessus */
.page-layout-public .select2-container--default .select2-selection--single,
.page-layout-public .select2-container--default .select2-selection--multiple {
    border-radius: var(--v2-r-sm);
    border-color: var(--v2-border-strong);
    min-height: calc(1.5em + 1.3rem + 2px);
    padding: .2rem .25rem;
}

.page-layout-public .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: calc(1.5em + 1.05rem);
    padding-left: .65rem;
    color: var(--v2-ink);
}

.page-layout-public .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: calc(1.5em + 1.3rem);
}

.page-layout-public .select2-container--default.select2-container--focus .select2-selection--single,
.page-layout-public .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--v2-blue);
    box-shadow: 0 0 0 4px rgba(17, 122, 214, .14);
}

/* Lien d'évitement (accessibilité clavier) */
.v2-skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 2000;
    background: var(--v2-blue);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--v2-r-sm);
    font-weight: 600;
    transition: top .2s var(--v2-ease);
}

.v2-skip:focus {
    top: 1rem;
    color: #fff;
}

/* ============================================================
   3. Barre de navigation
   ============================================================ */
.v2-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    padding: .55rem 0;
    background: rgba(255, 255, 255, .78);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background .25s var(--v2-ease), border-color .25s var(--v2-ease),
                box-shadow .25s var(--v2-ease);
}

[data-bs-theme="dark"] .v2-navbar {
    background: rgba(12, 20, 36, .78);
}

.v2-navbar.is-stuck {
    border-bottom-color: var(--v2-border);
    box-shadow: var(--v2-shadow-sm);
}

.v2-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    padding: 0;
    margin: 0;
}

.v2-brand-mark {
    display: block;
    height: 52px;
    width: auto;
    border-radius: 8px;
    box-shadow: var(--v2-shadow-xs);
    transition: transform .25s var(--v2-ease);
}

.v2-navbar .navbar-brand:hover .v2-brand-mark {
    transform: rotate(-2deg) scale(1.03);
}

.v2-brand-text {
    display: none;
    line-height: 1.1;
}

@media (min-width: 992px) {
    .v2-brand-text { display: block; }
}

.v2-brand-text strong {
    display: block;
    color: var(--v2-navy);
    font-weight: 800;
    font-size: .98rem;
    letter-spacing: -.01em;
}

.v2-brand-text span {
    display: block;
    color: var(--v2-muted);
    font-size: .72rem;
    font-weight: 500;
    /* Nom complet de l'association : on le laisse passer sur deux lignes. */
    max-width: 17rem;
}

.v2-navbar .nav-link {
    position: relative;
    color: var(--v2-navy);
    font-weight: 600;
    font-size: .93rem;
    padding: .5rem .85rem;
    border-radius: var(--v2-r-sm);
    transition: color .15s var(--v2-ease), background .15s var(--v2-ease);
}

.v2-navbar .nav-link::after {
    content: "";
    position: absolute;
    left: .85rem;
    right: .85rem;
    bottom: .28rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--v2-blue), var(--v2-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--v2-ease);
}

.v2-navbar .nav-link:hover,
.v2-navbar .nav-link.active {
    color: var(--v2-blue);
}

.v2-navbar .nav-link:hover::after,
.v2-navbar .nav-link.active::after {
    transform: scaleX(1);
}

.v2-navbar .dropdown-toggle::after {
    margin-left: .35rem;
}

.v2-navbar .dropdown-menu {
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-md);
    box-shadow: var(--v2-shadow-md);
    padding: .4rem;
    margin-top: .5rem;
    background: var(--v2-surface);
}

.v2-navbar .dropdown-item {
    border-radius: 8px;
    font-weight: 500;
    color: var(--v2-ink);
    padding: .5rem .75rem;
}

.v2-navbar .dropdown-item:hover,
.v2-navbar .dropdown-item:focus {
    background: var(--v2-blue-50);
    color: var(--v2-blue);
}

.v2-navbar .navbar-toggler {
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-sm);
    padding: .45rem .6rem;
}

.v2-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 4px rgba(17, 122, 214, .14);
}

.v2-nav-cta {
    margin-left: .5rem;
}

@media (max-width: 991.98px) {
    .v2-navbar .navbar-collapse {
        margin-top: .75rem;
        padding: .6rem;
        background: var(--v2-surface);
        border: 1px solid var(--v2-border);
        border-radius: var(--v2-r-md);
        box-shadow: var(--v2-shadow-md);
    }
    .v2-nav-cta { margin: .4rem 0 0; }
    .v2-navbar .nav-link::after { display: none; }
    .v2-navbar .nav-link.active { background: var(--v2-blue-50); }
}

/* ============================================================
   4. Bandeau d'accueil (hero)
   ============================================================ */
.v2-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(1100px 480px at 12% -10%, rgba(17, 122, 214, .55), transparent 62%),
        radial-gradient(760px 420px at 92% 8%, rgba(208, 12, 13, .38), transparent 60%),
        linear-gradient(158deg, #0B2C55 0%, #0B1F3D 55%, #08172E 100%);
    color: #fff;
    padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(5rem, 10vw, 7rem);
    margin-bottom: 0;
}

/* Voile de grille discret + vague de séparation */
.v2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(80% 70% at 50% 0%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(80% 70% at 50% 0%, #000 30%, transparent 78%);
}

.v2-hero > .container {
    position: relative;
    z-index: 2;
}

.v2-hero h1,
.v2-hero h2 {
    color: #fff;
}

.v2-hero--compact {
    padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2.5rem;
}

.v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    font-weight: 700;
    padding: .35rem .8rem .35rem .55rem;
    border-radius: var(--v2-r-pill);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    backdrop-filter: blur(6px);
}

.v2-eyebrow i {
    color: #fff;
}

.v2-eyebrow .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #35D07F;
    box-shadow: 0 0 0 4px rgba(53, 208, 127, .22);
}

.v2-hero__title {
    font-size: clamp(2rem, 5.2vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    margin: 1rem 0 0;
    max-width: 18ch;
}

.v2-hero__title .accent {
    background: linear-gradient(100deg, #7FC0FF 0%, #FFFFFF 45%, #FF9C9C 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.v2-hero__lead {
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.6vw, 1.14rem);
    line-height: 1.65;
    max-width: 56ch;
    margin: 1rem 0 0;
}

.v2-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.75rem;
}

/* Sur mobile, le bandeau d'accueil ne doit pas repousser la recherche sous la
   ligne de flottaison : le titre et le chapô sont retirés de l'affichage et le
   bandeau est resserré. Le <h1> reste dans la page (structure du document,
   lecteurs d'écran, moteurs) mais n'occupe plus d'espace. */
@media (max-width: 767.98px) {
    .v2-hero {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

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

    .v2-hero__lead {
        display: none;
    }

    /* Le bouton « Rechercher un interprète » fait double emploi sur mobile :
       la carte de recherche est juste en dessous. */
    .v2-hero__actions {
        margin-top: 1rem;
    }

    .v2-hero__actions .btn-light {
        display: none;
    }

    /* Un seul bouton : pleine largeur, plein et lisible (zone tactile confortable). */
    .v2-hero__member {
        width: 100%;
        padding: .7rem 1rem;
        font-weight: 700;
        background: #fff;
        color: var(--v2-navy);
        border-color: #fff;
    }

    .v2-hero__member:hover,
    .v2-hero__member:focus-visible {
        background: #fff;
        color: var(--v2-blue);
    }

    /* La pastille d'intro tient sur une ligne plus compacte. */
    .v2-eyebrow {
        font-size: .68rem;
        letter-spacing: .06em;
        padding: .4rem .8rem;
    }
}

.v2-hero .btn-light {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: #fff;
    --bs-btn-color: var(--v2-navy);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-color: var(--v2-blue);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.v2-hero .btn-hero-ghost {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .34);
    --bs-btn-hover-bg: rgba(255, 255, 255, .12);
    --bs-btn-hover-border-color: rgba(255, 255, 255, .6);
    --bs-btn-hover-color: #fff;
}

/* Chiffres clés dans le hero */
/* Visuel décoratif à droite du hero */
.v2-hero__visual {
    position: relative;
    display: none;
}

@media (min-width: 992px) {
    .v2-hero__visual { display: block; }
}

.v2-hero__badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .95rem;
    border-radius: var(--v2-r-md);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .24);
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    animation: v2-float 6s ease-in-out infinite;
}

.v2-hero__badge i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .16);
}

.v2-hero__badge--1 { top: 4%; right: 12%; }
.v2-hero__badge--2 { top: 42%; right: 44%; animation-delay: -2s; }
.v2-hero__badge--3 { bottom: 2%; right: 6%; animation-delay: -4s; }

.v2-hero__ring {
    width: 300px;
    height: 300px;
    margin-left: auto;
    border-radius: 50%;
    background:
        conic-gradient(from 200deg, rgba(17, 122, 214, .0), rgba(127, 192, 255, .55), rgba(208, 12, 13, .5), rgba(17, 122, 214, .0));
    filter: blur(2px);
    opacity: .75;
    animation: v2-spin 26s linear infinite;
}

@keyframes v2-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes v2-spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   5. En-tête de page (pages intérieures)
   ============================================================ */
.v2-pagehead {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.v2-pagehead__title {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0;
}

.v2-pagehead__sub {
    color: var(--v2-muted);
    margin: .4rem 0 0;
    max-width: 62ch;
}

.v2-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--v2-blue);
    background: var(--v2-blue-50);
    padding: .3rem .75rem;
    border-radius: var(--v2-r-pill);
    margin-bottom: .7rem;
}

/* ============================================================
   6. Carte de recherche
   ============================================================ */
.v2-search-card {
    position: relative;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-xl);
    box-shadow: var(--v2-shadow-lg);
    padding: 1.4rem;
}

@media (min-width: 768px) {
    .v2-search-card { padding: 1.75rem; }
}

/* Posée à cheval sur le bas du hero (à partir de la tablette : sur mobile le
   bandeau est resserré, le chevauchement recouvrirait le bouton du hero). */
.v2-search-card--floating {
    margin-top: 1rem;
    scroll-margin-top: 96px;
    z-index: 3;
}

@media (min-width: 768px) {
    .v2-search-card--floating { margin-top: -5rem; }
}

.v2-search-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.15rem;
}

.v2-search-card__title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 700;
    color: var(--v2-navy);
    margin: 0;
    font-size: 1.05rem;
}

.v2-search-card__title i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: .95rem;
}

.v2-phone-pill {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .45rem .9rem;
    border-radius: var(--v2-r-pill);
    background: var(--v2-blue-50);
    color: var(--v2-blue-700);
    font-weight: 600;
    font-size: .86rem;
}

.v2-phone-pill a {
    color: inherit;
    text-decoration: none;
}

.v2-phone-pill a:hover {
    text-decoration: underline;
}

/* Mobile : la pastille d'accueil téléphonique doit tenir sur une seule ligne. */
@media (max-width: 767.98px) {
    .v2-phone-pill {
        gap: .35rem;
        padding: .32rem .65rem;
        font-size: .74rem;
        white-space: nowrap;
    }
}

.v2-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .5rem;
    font-size: .8rem;
    margin-top: 1.15rem;
    padding-top: 1.15rem;
    border-top: 1px dashed var(--v2-border-strong);
}

.v2-legend .v2-status {
    background: var(--v2-canvas);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-pill);
    padding: .28rem .7rem;
    color: var(--v2-muted);
}

/* ============================================================
   7. Panneaux, statistiques et pastilles
   ============================================================ */
.v2-panel {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.5rem;
}

.v2-panel__title {
    display: flex;
    align-items: center;
    gap: .65rem;
    color: var(--v2-navy);
    font-weight: 700;
    font-size: 1.02rem;
    margin-bottom: 1.1rem;
}

.v2-panel__title i {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: .92rem;
}

.v2-stat {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.35rem 1.5rem;
    height: 100%;
    transition: transform .2s var(--v2-ease), box-shadow .2s var(--v2-ease);
}

.v2-stat:hover {
    transform: translateY(-3px);
    box-shadow: var(--v2-shadow-md);
}

/* Filet de couleur sur le bord gauche */
.v2-stat::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--v2-blue);
}

.v2-stat--red::before { background: var(--v2-red); }

.v2-stat__icon {
    display: grid;
    place-items: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: var(--v2-r-md);
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: 1.3rem;
}

.v2-stat--red .v2-stat__icon {
    background: var(--v2-red-50);
    color: var(--v2-red);
}

.v2-stat__value {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.025em;
    color: var(--v2-navy);
}

.v2-stat__label {
    color: var(--v2-muted);
    font-size: .85rem;
    margin-top: .25rem;
}

/* Mobile : les compteurs doivent tenir sur une ligne chacun, sans repousser la
   suite de la page. Bloc resserré, chiffre plus discret, pastilles alignées à
   la suite du libellé. */
@media (max-width: 767.98px) {
    .v2-stat {
        gap: .7rem;
        padding: .8rem .9rem;
    }

    .v2-stat__icon {
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        font-size: .95rem;
    }

    .v2-stat__value {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .v2-stat__label {
        display: flex;
        flex-wrap: wrap;
        gap: .25rem;
        font-size: .74rem;
        margin-top: .15rem;
    }

    .v2-stat__label .v2-pill {
        margin: 0;
        padding: .12rem .45rem;
        font-size: .68rem;
    }
}

/* Bandeau d'invitation */
.v2-callout {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-radius: var(--v2-r-lg);
    padding: 1.15rem 1.35rem;
    background: linear-gradient(120deg, var(--v2-blue-50), rgba(208, 12, 13, .06));
    border: 1px solid var(--v2-border);
    color: var(--v2-ink);
}

.v2-callout i {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--v2-blue);
    color: #fff;
    box-shadow: var(--v2-shadow-blue);
}

.v2-callout strong {
    color: var(--v2-navy);
}

/* Pastilles d'état */
.v2-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .78rem;
    font-weight: 600;
}

.v2-status .status-dot {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
}

.v2-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .75rem;
    font-weight: 700;
    padding: .28rem .7rem;
    border-radius: var(--v2-r-pill);
    border: 1px solid transparent;
}

.v2-pill--ok      { background: #E7F7EE; color: #12764A; border-color: #C9EDD9; }
.v2-pill--tel     { background: #EEF1F6; color: #1F2A3D; border-color: #DCE2EC; }
.v2-pill--sms     { background: #FFF4E1; color: #8A5A00; border-color: #FBE3B8; }
.v2-pill--unknown { background: #FBECEC; color: #93231F; border-color: #F3D4D2; }

[data-bs-theme="dark"] .v2-pill--ok      { background: rgba(18, 118, 74, .2);  color: #6FE3AC; border-color: rgba(111, 227, 172, .25); }
[data-bs-theme="dark"] .v2-pill--tel     { background: rgba(255, 255, 255, .08); color: #D5DEEE; border-color: rgba(255, 255, 255, .14); }
[data-bs-theme="dark"] .v2-pill--sms     { background: rgba(138, 90, 0, .24);   color: #FFCE73; border-color: rgba(255, 206, 115, .25); }
[data-bs-theme="dark"] .v2-pill--unknown { background: rgba(147, 35, 31, .24);  color: #FF9E98; border-color: rgba(255, 158, 152, .25); }

.v2-pill .status-dot {
    width: 7px;
    height: 7px;
    background: currentColor !important;
}

.v2-chip {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .74rem;
    font-weight: 600;
    padding: .26rem .65rem;
    border-radius: var(--v2-r-pill);
    background: var(--v2-blue-50);
    color: var(--v2-blue-700);
    border: 1px solid transparent;
    margin: .18rem .22rem 0 0;
}

[data-bs-theme="dark"] .v2-chip { color: #9BC9F5; }

.v2-chip--muted {
    background: var(--v2-canvas);
    color: var(--v2-muted);
    border-color: var(--v2-border);
}

.v2-chip--flag { gap: .35rem; }

a.v2-chip {
    transition: background .15s var(--v2-ease), color .15s var(--v2-ease), transform .15s var(--v2-ease);
}

a.v2-chip:hover {
    background: var(--v2-blue);
    color: #fff;
    transform: translateY(-1px);
}

/* Nuages de liens des pages « interprètes par langue / département » */
.v2-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .1rem;
}

.v2-chip--link {
    font-size: .8rem;
    padding: .38rem .8rem;
}

.v2-chip__count {
    display: inline-grid;
    place-items: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 .3rem;
    border-radius: var(--v2-r-pill);
    background: rgba(17, 122, 214, .16);
    font-size: .68rem;
}

a.v2-chip:hover .v2-chip__count {
    background: rgba(255, 255, 255, .28);
    color: #fff;
}

/* Fil d'Ariane */
.v2-fil {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.35rem;
    font-size: .82rem;
    color: var(--v2-muted);
}

.v2-fil a {
    color: var(--v2-muted);
    text-decoration: none;
}

.v2-fil a:hover {
    color: var(--v2-blue);
    text-decoration: underline;
}

.v2-fil i {
    font-size: .62rem;
    opacity: .6;
}

.v2-fil [aria-current="page"] {
    color: var(--v2-ink);
    font-weight: 600;
}

/* ============================================================
   8. Grille et cartes d'interprètes
   ============================================================ */
.v2-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 576px) { .v2-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .v2-grid { grid-template-columns: repeat(3, 1fr); } }

.v2-results-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.v2-results-count {
    font-weight: 700;
    color: var(--v2-navy);
}

.v2-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.35rem;
    overflow: hidden;
    transition: transform .22s var(--v2-ease), box-shadow .22s var(--v2-ease),
                border-color .22s var(--v2-ease);
    animation: v2-rise .45s var(--v2-ease) both;
}

/* Halo de marque révélé au survol */
.v2-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(420px 140px at 50% -30%, rgba(17, 122, 214, .13), transparent 70%);
    opacity: 0;
    transition: opacity .22s var(--v2-ease);
}

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

.v2-card:hover::before { opacity: 1; }

.v2-card__head {
    display: flex;
    gap: .95rem;
    align-items: center;
}

.v2-avatar {
    width: 66px;
    height: 66px;
    flex: 0 0 66px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--v2-blue-50);
    padding: 3px;
    box-shadow: 0 0 0 2px var(--v2-border);
    transition: box-shadow .22s var(--v2-ease);
}

.v2-card:hover .v2-avatar {
    box-shadow: 0 0 0 2px var(--v2-blue);
}

.v2-card__name {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--v2-navy);
    line-height: 1.2;
    margin: 0;
}

.v2-card__title {
    font-size: .82rem;
    color: var(--v2-muted);
    margin-top: .1rem;
}

.v2-card__langs {
    display: flex;
    flex-wrap: wrap;
    margin-top: .9rem;
}

.v2-card__meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-top: .75rem;
    font-size: .82rem;
    color: var(--v2-muted);
}

.v2-card__meta i { color: var(--v2-blue); }

.v2-card__foot {
    margin-top: auto;
    padding-top: 1.1rem;
}

/* Carte compacte : nom, photo, disponibilité, appel en un clic, lien fiche discret */
.v2-card--compact { padding: 1rem 1.15rem; }
.v2-card--compact .v2-card__foot { padding-top: .85rem; }
.v2-card__call { font-weight: 700; letter-spacing: .02em; }
.v2-card__fiche {
    display: block;
    margin-top: .55rem;
    text-align: center;
    font-size: .8rem;
    color: var(--v2-muted);
    text-decoration: none;
}
.v2-card__fiche:hover { color: var(--v2-blue); text-decoration: underline; }

/* Résultats de recherche : une ligne par interprète, deux colonnes sur grand écran,
   pour voir un maximum de résultats sans défiler. */
.v2-grid--dense { gap: .6rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .v2-grid--dense { grid-template-columns: 1fr; } }
@media (min-width: 992px) { .v2-grid--dense { grid-template-columns: repeat(2, 1fr); } }

.v2-grid--dense .v2-card--compact {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: .75rem;
    padding: .55rem .8rem;
    border-radius: var(--v2-r-md);
}
.v2-grid--dense .v2-card__head { flex: 1 1 auto; min-width: 0; gap: .7rem; margin: 0; align-items: center; }
.v2-grid--dense .v2-avatar { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; }
.v2-grid--dense .v2-card__name {
    font-size: .95rem;
    line-height: 1.25;
    margin: 0;
    overflow-wrap: anywhere;
}
.v2-grid--dense .v2-card__head > div { min-width: 0; }
.v2-grid--dense .v2-pill { font-size: .72rem; padding: .1rem .5rem; }
.v2-grid--dense .v2-card__foot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: 0;
    border: 0;
    margin: 0;
}
.v2-grid--dense .v2-card__call { white-space: nowrap; font-size: .85rem; padding: .3rem .65rem; }
.v2-grid--dense .v2-card__fiche { margin: 0; white-space: nowrap; font-size: .78rem; }
/* Mobile (usage principal) : une seule ligne par interprète. Le nom mène à la fiche,
   l'appel se fait en un tap sur le numéro. */
.v2-card__name-link { color: inherit; text-decoration: none; }
.v2-card__name-link:hover { color: var(--v2-blue); }
@media (max-width: 575.98px) {
    .v2-grid--dense { gap: .4rem; }
    .v2-grid--dense .v2-card--compact { padding: .4rem .5rem .4rem .55rem; gap: .4rem; }
    .v2-grid--dense .v2-avatar { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
    .v2-grid--dense .v2-card__head { gap: .5rem; }
    .v2-grid--dense .v2-card__name { font-size: .86rem; }
    .v2-grid--dense .v2-pill { white-space: nowrap; font-size: .68rem; padding: .05rem .42rem; }
    .v2-grid--dense .v2-card__call { padding: .45rem .55rem; font-size: .8rem; min-height: 40px; display: inline-flex; align-items: center; }
    .v2-grid--dense .v2-card__call i { display: none; }
    .v2-grid--dense .v2-card__fiche { display: none; }
    .v2-results-head { margin-bottom: .5rem; }
}


/* Apparition en cascade des cartes */
@keyframes v2-rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.v2-grid > *:nth-child(1)  { animation-delay: .02s; }
.v2-grid > *:nth-child(2)  { animation-delay: .06s; }
.v2-grid > *:nth-child(3)  { animation-delay: .10s; }
.v2-grid > *:nth-child(4)  { animation-delay: .14s; }
.v2-grid > *:nth-child(5)  { animation-delay: .18s; }
.v2-grid > *:nth-child(6)  { animation-delay: .22s; }
.v2-grid > *:nth-child(7)  { animation-delay: .26s; }
.v2-grid > *:nth-child(8)  { animation-delay: .30s; }
.v2-grid > *:nth-child(n+9) { animation-delay: .34s; }

/* États vides / chargement */
.v2-empty {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: var(--v2-surface);
    border: 1px dashed var(--v2-border-strong);
    border-radius: var(--v2-r-lg);
    color: var(--v2-muted);
}

.v2-empty i {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: 1.4rem;
}

.v2-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 3rem 1rem;
    color: var(--v2-muted);
    font-weight: 600;
}

.v2-spinner {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid var(--v2-blue-100);
    border-top-color: var(--v2-blue);
    animation: v2-spin .7s linear infinite;
}

/* ============================================================
   9. Actualités
   ============================================================ */
.v2-news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    overflow: hidden;
    transition: transform .22s var(--v2-ease), box-shadow .22s var(--v2-ease);
    animation: v2-rise .45s var(--v2-ease) both;
}

.v2-news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-md);
}

.v2-news-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--v2-blue-50), var(--v2-red-50));
    overflow: hidden;
}

.v2-news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--v2-ease);
}

.v2-news-card:hover .v2-news-card__media img {
    transform: scale(1.05);
}

.v2-news-card__media--empty {
    display: grid;
    place-items: center;
    color: var(--v2-blue);
    font-size: 1.8rem;
    opacity: .5;
}

.v2-news-card__pin {
    position: absolute;
    top: .7rem;
    left: .7rem;
    z-index: 2;
    background: var(--v2-red);
    color: #fff;
    border-radius: var(--v2-r-pill);
    font-size: .72rem;
    font-weight: 700;
    padding: .25rem .7rem;
    box-shadow: 0 6px 18px rgba(208, 12, 13, .35);
}

.v2-news-card__pin--ok      { background: #12764A; box-shadow: 0 6px 18px rgba(18, 118, 74, .32); }
.v2-news-card__pin--neutral { background: var(--v2-navy); box-shadow: none; }

.v2-news-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem 1.35rem 1.4rem;
}

.v2-news-card__title {
    font-weight: 700;
    color: var(--v2-navy);
    line-height: 1.3;
    margin: .35rem 0 .5rem;
}

.v2-news-card__excerpt {
    color: var(--v2-muted);
    font-size: .9rem;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.v2-news-meta {
    font-size: .78rem;
    font-weight: 600;
    color: var(--v2-faint);
    text-transform: uppercase;
    letter-spacing: .05em;
}

.v2-news-more {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: 1rem;
    color: var(--v2-blue);
    font-weight: 700;
    font-size: .88rem;
}

.v2-news-more i {
    transition: transform .22s var(--v2-ease);
}

.v2-news-card:hover .v2-news-more i {
    transform: translateX(4px);
}

.v2-article {
    max-width: 820px;
    margin: 0 auto;
}

.v2-article-content {
    color: var(--v2-ink);
    font-size: 1.03rem;
    line-height: 1.78;
}

.v2-article-content h2,
.v2-article-content h3 {
    color: var(--v2-navy);
    font-weight: 700;
    margin: 2rem 0 .7rem;
}

.v2-article-content p { margin: 0 0 1.15rem; }
.v2-article-content ul,
.v2-article-content ol { margin: 0 0 1.15rem; padding-left: 1.4rem; }
.v2-article-content li { margin-bottom: .35rem; }

.v2-article-content a {
    color: var(--v2-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.v2-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--v2-r-md);
}

.v2-article-content blockquote {
    margin: 1.5rem 0;
    padding: .35rem 0 .35rem 1.25rem;
    border-left: 3px solid var(--v2-blue);
    color: var(--v2-muted);
    font-style: italic;
}

.v2-carousel img {
    border-radius: var(--v2-r-lg);
    aspect-ratio: 16 / 9;
    object-fit: cover;
    width: 100%;
}

/* ============================================================
   10. Fiche interprète
   ============================================================ */
.v2-fiche-hero {
    position: relative;
    overflow: hidden;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-xl);
    box-shadow: var(--v2-shadow-md);
    padding: 0 0 1.75rem;
}

/* Bandeau de couverture aux couleurs de la marque */
.v2-fiche-cover {
    height: 130px;
    background:
        radial-gradient(600px 220px at 15% 0%, rgba(255, 255, 255, .22), transparent 60%),
        linear-gradient(120deg, var(--v2-blue) 0%, #0B2C55 58%, var(--v2-red) 165%);
}

.v2-fiche-body {
    padding: 0 1.5rem;
    margin-top: -58px;
}

@media (min-width: 768px) {
    .v2-fiche-body { padding: 0 2rem; }
}

.v2-fiche-head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Le texte démarre toujours sous le bandeau : nom et titre ne chevauchent plus
   le dégradé foncé (lisibilité). Seule la photo déborde sur le bandeau. */
.v2-fiche-id { min-width: 0; flex: 1 1 auto; }

@media (min-width: 768px) {
    .v2-fiche-head { flex-direction: row; align-items: flex-start; gap: 1.5rem; }
    .v2-fiche-id { padding-top: calc(58px + .9rem); }
}

.v2-photo-btn {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    background: none;
    border-radius: var(--v2-r-lg);
    cursor: zoom-in;
    flex: 0 0 auto;
}
.v2-photo-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(11, 31, 61, .75);
    color: #fff;
    font-size: .8rem;
}
.v2-photo-btn:focus-visible { outline: 3px solid var(--v2-blue); outline-offset: 3px; }
.v2-photo-modal { background: transparent; border: 0; align-items: center; }
.v2-photo-modal__img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-lg);
    background: var(--v2-surface);
}
.v2-photo-modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    background-color: #fff;
    border-radius: 50%;
    padding: .6rem;
    opacity: 1;
}

.v2-fiche-qualites { color: var(--v2-muted); font-size: .92rem; line-height: 1.5; }

.v2-photo {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border-radius: var(--v2-r-lg);
    background: var(--v2-blue-50);
    border: 4px solid var(--v2-surface);
    box-shadow: var(--v2-shadow-md);
}

.v2-fiche-name {
    color: var(--v2-navy);
    font-weight: 800;
    font-size: clamp(1.55rem, 3.4vw, 2.15rem);
    letter-spacing: -.025em;
    margin: 0;
}

.v2-fiche-role {
    color: var(--v2-blue-700);
    font-weight: 600;
}

.v2-fiche-bio {
    color: var(--v2-muted);
    line-height: 1.7;
    max-width: 66ch;
}

.v2-badge-assermente {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--v2-blue-50);
    color: var(--v2-blue-700);
    border-radius: var(--v2-r-pill);
    padding: .3rem .8rem;
    font-size: .78rem;
    font-weight: 700;
}

[data-bs-theme="dark"] .v2-badge-assermente { color: #9BC9F5; }

/* Encadré de contact collant */
.v2-contact-card {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-md);
    padding: 1.35rem;
}

@media (min-width: 992px) {
    .v2-contact-card { position: sticky; top: 92px; }
}

.v2-contact-line {
    display: flex;
    align-items: center;
    gap: .7rem;
    padding: .5rem .65rem;
    border-radius: var(--v2-r-sm);
    color: var(--v2-ink);
    font-weight: 500;
    transition: background .15s var(--v2-ease);
}

a.v2-contact-line:hover {
    background: var(--v2-blue-50);
    color: var(--v2-blue-700);
}

.v2-contact-line i {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: .85rem;
}

.v2-lang-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-lang-row:last-child { border-bottom: 0; }

.v2-lang-flag {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--v2-border);
}

/* Pays d'une langue : seuls leurs drapeaux sont affichés (recherche de l'accueil). */
.v2-pays-flag {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1px var(--v2-border);
}

.v2-lang-name { font-weight: 600; color: var(--v2-navy); }
.v2-lang-level { font-size: .8rem; color: var(--v2-muted); }

.v2-cert {
    display: flex;
    gap: .75rem;
    padding: .6rem 0;
    border-bottom: 1px solid var(--v2-border);
}

.v2-cert:last-child { border-bottom: 0; }

.v2-cert > i {
    display: grid;
    place-items: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: .85rem;
}

.v2-cert__title { font-weight: 600; color: var(--v2-navy); }
.v2-cert__sub { font-size: .82rem; color: var(--v2-muted); }

.v2-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--v2-r-md);
    background: var(--v2-canvas);
    border: 1px solid var(--v2-border);
    color: var(--v2-navy);
    font-size: 1.05rem;
    transition: transform .18s var(--v2-ease), background .18s var(--v2-ease),
                color .18s var(--v2-ease), border-color .18s var(--v2-ease);
}

.v2-social:hover {
    transform: translateY(-3px);
    background: var(--v2-blue);
    border-color: var(--v2-blue);
    color: #fff;
}

/* ============================================================
   11. Pages de contenu « Association » / sections
   ============================================================ */
.v2-section-hero {
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-xl);
    box-shadow: var(--v2-shadow-sm);
    padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
    text-align: center;
}

.v2-section-hero > i {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: 1.7rem;
}

.v2-section-hero h1 {
    color: var(--v2-navy);
    font-weight: 800;
    letter-spacing: -.02em;
}

.v2-section-hero p { color: var(--v2-muted); }

.asso-page { max-width: 1080px; margin: 0 auto; }

.asso-anchor { scroll-margin-top: 96px; }

/* ---------- Bandes pleine largeur ----------
   Chaque section de la page « Association » occupe toute la largeur et alterne
   de surface, pour que la page se lise comme une suite de chapitres plutôt que
   comme une colonne continue. */
.asso-band {
    padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.asso-band--head {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

.asso-band--white { background: var(--v2-surface); }

/* Teinte pleine (et non dégradée) : une bande qui s'estompe se confondrait
   avec la bande neutre suivante. */
.asso-band--tint { background: #E9F2FD; }

[data-bs-theme="dark"] .asso-band--tint { background: rgba(17, 122, 214, .12); }

/* Filet de séparation entre deux bandes claires voisines. */
.asso-band + .asso-band { border-top: 1px solid var(--v2-border); }
.asso-band--feature,
.asso-band--feature + .asso-band { border-top-color: transparent; }

/* Point d'orgue de la page (organigramme) : bande marine aux couleurs du hero. */
.asso-band--feature {
    background:
        radial-gradient(760px 320px at 12% 0%, rgba(17, 122, 214, .45), transparent 62%),
        radial-gradient(600px 280px at 92% 8%, rgba(208, 12, 13, .24), transparent 60%),
        linear-gradient(160deg, #0B2140 0%, #08172E 100%);
    color: rgba(255, 255, 255, .78);
}

.asso-band--feature .asso-block__title,
.asso-band--feature .asso-prose h1,
.asso-band--feature .asso-prose h2,
.asso-band--feature .asso-prose h3 { color: #fff; }

.asso-band--feature .asso-prose,
.asso-band--feature .text-muted { color: rgba(255, 255, 255, .78) !important; }

.asso-band--feature .orga-tier:not(:first-child)::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .1));
}

.asso-band--feature .orga-card {
    box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
    border-color: transparent;
}

.asso-band--feature .orga-tier--0 .orga-card {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, .55), 0 18px 44px rgba(0, 0, 0, .34);
}

/* Quand la page se termine sur la bande marine, elle se prolonge dans le pied
   de page : deux blocs sombres séparés par une respiration claire se liraient
   comme une erreur de montage. */
.v2-site:has(.asso-band--feature:last-child) .app-wrapper { padding-bottom: 0; }
.v2-site:has(.asso-band--feature:last-child) .v2-footer { margin-top: 0; }

/* Sur fond blanc, les cartes doivent rester détachées de leur bande. */
.asso-band--white .asso-card,
.asso-band--white .asso-link-card {
    background: var(--v2-canvas);
}

.asso-band--white .asso-card__icon,
.asso-band--white .asso-link-card__icon {
    background: var(--v2-surface);
}

.asso-block__title {
    position: relative;
    color: var(--v2-navy);
    font-weight: 800;
    letter-spacing: -.025em;
    font-size: clamp(1.5rem, 3vw, 2.05rem);
    padding-left: 1rem;
    margin-bottom: 1.75rem;
}

.asso-block__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .15em;
    bottom: .15em;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--v2-blue), var(--v2-red));
}

.asso-band--feature .asso-block__title::before {
    background: linear-gradient(180deg, #7FC0FF, #FF9C9C);
}

.asso-hero__eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .74rem;
    font-weight: 700;
    color: var(--v2-blue);
    background: var(--v2-blue-50);
    padding: .3rem .8rem;
    border-radius: var(--v2-r-pill);
    margin-bottom: .75rem;
}

.asso-hero__title {
    color: var(--v2-navy);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    letter-spacing: -.03em;
    margin: 0;
}

.asso-prose {
    color: var(--v2-ink);
    font-size: 1.02rem;
    line-height: 1.78;
}

.asso-prose h1,
.asso-prose h2,
.asso-prose h3 {
    color: var(--v2-navy);
    font-weight: 700;
    margin: 1.6rem 0 .7rem;
}

.asso-prose img { max-width: 100%; height: auto; border-radius: var(--v2-r-md); }

.asso-prose a {
    color: var(--v2-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.asso-figure {
    width: 100%;
    max-height: 380px;
    border-radius: var(--v2-r-xl);
    object-fit: contain;
    background: var(--v2-surface);
    box-shadow: var(--v2-shadow-lg);
}

.asso-card {
    height: 100%;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.65rem;
    transition: transform .22s var(--v2-ease), box-shadow .22s var(--v2-ease);
}

.asso-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-md);
}

.asso-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--v2-r-md);
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: 1.35rem;
    margin-bottom: 1.1rem;
}

.asso-card__title {
    color: var(--v2-navy);
    font-weight: 700;
    font-size: 1.08rem;
    margin-bottom: .45rem;
}

.asso-card__text { color: var(--v2-muted); margin: 0; line-height: 1.65; }

.asso-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: 100%;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.2rem 1.4rem;
    transition: transform .22s var(--v2-ease), box-shadow .22s var(--v2-ease),
                border-color .22s var(--v2-ease);
}

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

.asso-link-card__icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--v2-r-md);
    background: var(--v2-blue-50);
    color: var(--v2-blue);
    font-size: 1.2rem;
}

.asso-link-card__body { flex: 1; min-width: 0; }
.asso-link-card__chevron { color: var(--v2-faint); transition: transform .22s var(--v2-ease), color .22s var(--v2-ease); }
.asso-link-card:hover .asso-link-card__chevron { color: var(--v2-blue); transform: translateX(4px); }

/* ---------- Organigramme ---------- */
.orga {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    padding-top: 1rem;
}

.orga-tier {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.orga-tier:not(:first-child)::before {
    content: "";
    position: absolute;
    top: -2.5rem;
    left: 50%;
    width: 2px;
    height: 2.5rem;
    background: linear-gradient(180deg, var(--v2-blue), var(--v2-border));
}

.orga-card {
    width: 224px;
    margin: 0;
    background: var(--v2-surface);
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-r-lg);
    box-shadow: var(--v2-shadow-sm);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform .22s var(--v2-ease), box-shadow .22s var(--v2-ease);
}

.orga-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--v2-shadow-md);
}

.orga-card__photo {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--v2-surface);
    box-shadow: 0 0 0 2px var(--v2-blue-100);
    margin-bottom: .9rem;
}

.orga-card__body { display: flex; flex-direction: column; gap: .15rem; }

.orga-card__role {
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: .7rem;
    font-weight: 800;
    color: var(--v2-blue);
}

.orga-card__name { color: var(--v2-navy); font-weight: 700; font-size: 1.02rem; }
.orga-card__desc { color: var(--v2-muted); font-size: .84rem; margin-top: .3rem; }

/* Le président est mis en avant */
.orga-tier--0 .orga-card {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--v2-blue), var(--v2-shadow-blue);
}

@media (max-width: 575.98px) {
    .orga-card { width: 100%; max-width: 280px; }
}

/* ============================================================
   12. Pied de page public
   ============================================================ */
.v2-footer {
    position: relative;
    margin-top: 4rem;
    padding: 3.5rem 0 1.5rem;
    background:
        radial-gradient(800px 320px at 10% 0%, rgba(17, 122, 214, .38), transparent 62%),
        radial-gradient(620px 300px at 95% 12%, rgba(208, 12, 13, .26), transparent 60%),
        linear-gradient(160deg, #0B2140 0%, #08172E 100%);
    color: rgba(255, 255, 255, .74);
}

.page-layout-public .v2-footer a { color: rgba(255, 255, 255, .74); }
.page-layout-public .v2-footer a:hover { color: #fff; }

.v2-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
}

.v2-footer__brand img {
    height: 42px;
    width: auto;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
}

.v2-footer__brand strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.v2-footer__brand span {
    display: block;
    font-size: .76rem;
    color: rgba(255, 255, 255, .6);
}

.v2-footer__tagline {
    max-width: 42ch;
    line-height: 1.7;
    font-size: .92rem;
}

.v2-footer__title {
    color: #fff;
    font-weight: 700;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1rem;
}

.v2-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .92rem;
}

.v2-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: transform .18s var(--v2-ease);
}

.v2-footer__links a:hover { transform: translateX(3px); }

.v2-footer__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem 1.15rem;
    border-radius: var(--v2-r-sm);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff !important;
    font-weight: 600;
    font-size: .9rem;
    transition: background .18s var(--v2-ease), transform .18s var(--v2-ease);
}

.v2-footer__cta:hover {
    background: rgba(255, 255, 255, .18);
    transform: translateY(-2px);
}

.v2-footer__cta--solid {
    background: var(--v2-red);
    border-color: var(--v2-red);
}

.v2-footer__cta--solid:hover { background: var(--v2-red-600); }

.v2-footer__bottom {
    margin-top: 2.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .84rem;
    color: rgba(255, 255, 255, .55);
}

/* ============================================================
   13. Confort de lecture / préférences système
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    .page-layout-public *,
    .page-layout-public *::before,
    .page-layout-public *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---- Page « Documents » : cartes avec miniature du PDF ---- */
.v2-doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.v2-doc-card { display: flex; flex-direction: column; background: var(--v2-surface); border: 1px solid var(--v2-border); border-radius: var(--v2-r-lg); box-shadow: var(--v2-shadow-sm); overflow: hidden; transition: box-shadow .2s var(--v2-ease), transform .2s var(--v2-ease); }
.v2-doc-card:hover { box-shadow: var(--v2-shadow-md); transform: translateY(-2px); }
.v2-doc-card__thumb { position: relative; display: flex; align-items: flex-start; justify-content: center; height: 220px; padding: 0; border: 0; background: var(--v2-blue-50); overflow: hidden; cursor: pointer; color: var(--v2-blue); }
.v2-doc-card__thumb--static { cursor: default; align-items: center; font-size: 3rem; }
.v2-doc-card__thumb canvas { display: none; width: 100%; height: auto; box-shadow: var(--v2-shadow-sm); }
.v2-doc-card__thumb.is-ready canvas { display: block; }
.v2-doc-card__thumb.is-ready .v2-doc-card__icon { display: none; }
.v2-doc-card__icon { align-self: center; font-size: 3rem; }
.v2-doc-card__zoom { position: absolute; inset: auto .75rem .75rem auto; padding: .35rem .7rem; border-radius: var(--v2-r-pill); background: rgba(11, 31, 61, .82); color: #fff; font-size: .8rem; opacity: 0; transition: opacity .2s; }
.v2-doc-card__thumb:hover .v2-doc-card__zoom, .v2-doc-card__thumb:focus-visible .v2-doc-card__zoom { opacity: 1; }
.v2-doc-card__body { display: flex; flex-direction: column; flex: 1; gap: .5rem; padding: 1rem 1.1rem 1.1rem; }
.v2-doc-card__title { margin: 0; font-size: 1.05rem; color: var(--v2-ink); }
.v2-doc-card__desc { margin: 0; font-size: .9rem; color: var(--v2-muted); }
.v2-doc-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .25rem; }
.v2-doc-card__actions { display: flex; gap: .5rem; margin-top: .5rem; }
.v2-doc-card__actions .btn { flex: 1; }
.v2-doc-modal iframe { width: 100%; height: 80vh; border: 0; }

#v2-results { scroll-margin-top: 80px; }
