/**
 * Styles personnalisés pour le site SACII
 * Couleurs principales : #731820 (primary), #000000 (secondary), #D56D20 (tertiary)
 */

:root {
    --color-primary: #731820;
    --color-secondary: #000000;
    --color-tertiary: #D56D20;
    --color-success: #28a745;
    --color-warning: #ffc107;
    --bg-info: #d1ecff;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --motion-duration-fast: 0.3s;
    --motion-duration-normal: 0.6s;
    --motion-duration-slow: 0.9s;
    --motion-easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --motion-easing-decelerate: cubic-bezier(0, 0, 0.2, 1);
    --motion-easing-accelerate: cubic-bezier(0.4, 0, 1, 1);
    --motion-distance-small: 20px;
    --motion-distance-medium: 30px;
}

/* Reset des marges par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Responsive global : images fluides, pas de débordement */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container, .container-fluid {
    max-width: 100%;
}

/* Typographie */
body {
    font-family: var(--font-family);
    /* padding-top: 82px;  */
}

/* ============================================
   NAVIGATION - DESIGN RÉFÉRENCE, IDENTITÉ SACII
   Barre horizontale claire, séparateurs, CTAs à droite
   ============================================ */

/* Barre supérieure fine (charte SACII - primaire) */
.nav-top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--color-primary);
    z-index: 1031;
}

/* Conteneur principal du menu - FOND NOIR (charte SACII) */
.nav-main,
.nav-main.navbar {
    margin: 0;
    padding: 0.5rem 0;
    background: #000000 !important;
    background-color: #000000 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.3s ease;
    top: 4px !important;
    z-index: 1030;
}

@media (max-width: 991.98px) {
    .nav-main {
        z-index: 1050;
    }
    /* Garantir que le header reste au-dessus du menu overlay */
    .nav-main .navbar-brand,
    .nav-main .nav-mobile-controls,
    .nav-main .nav-mobile-cta {
        position: relative;
        z-index: 1060;
    }
}

.nav-main.scrolled {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.nav-main .container-fluid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* Logo tout à gauche - fond noir */
.nav-main .navbar-brand.nav-brand-block {
    margin: 0;
    padding: 0;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    color: #fff;
    transition: opacity 0.2s ease;
}

/* Centrage du menu : spacers + liens au milieu */
.nav-main .nav-collapse-centering {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

.nav-main .nav-spacer {
    flex: 1;
    min-width: 0;
}

.nav-main .nav-spacer-left,
.nav-main .nav-spacer-right {
    flex: 1;
}

.nav-main .navbar-brand:hover {
    opacity: 0.9;
    color: #fff;
}

.nav-tagline {
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    max-width: 220px;
    line-height: 1.2;
}

.nav-logo {
    max-height: 48px;
    width: auto;
    height: 48px;
    object-fit: contain;
}

/* Groupe des liens avec séparateurs pointillés */
.nav-links-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item-with-sep {
    position: relative;
}

/* Séparateur vertical pointillé entre les items (fond noir) */
.nav-item-with-sep:not(:first-child)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 1.2em;
    background: transparent;
    border-left: 1px dashed rgba(255, 255, 255, 0.45);
}

/* Liens de navigation - fond noir, texte clair */
.nav-main .nav-link {
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.nav-main .nav-link .nav-link-icon {
    font-size: 0.9em;
    opacity: 0.9;
}

.nav-main .nav-link:hover {
    color: var(--color-tertiary) !important;
    background-color: rgba(255, 255, 255, 0.06);
}

.nav-main .nav-link:hover .nav-link-icon {
    color: var(--color-tertiary);
}

/* État actif - icône + couleur tertiaire SACII */
.nav-main .nav-link.active {
    color: var(--color-tertiary) !important;
    background-color: rgba(213, 109, 32, 0.15);
    font-weight: 700;
}

.nav-main .nav-link.active .nav-link-icon {
    color: var(--color-tertiary);
}

.nav-main .nav-link.active::before,
.nav-main .nav-link::after {
    display: none;
}

/* Dropdown parent : position static pour que le mega menu puisse prendre toute la largeur */
.nav-main .dropdown-mega {
    position: static;
}

/* Flèche du menu déroulant Ressources : vers le bas par défaut */
/* .nav-main .dropdown-mega .dropdown-toggle::after {
    content: "";
    display: block;
    margin-left: 0.1em;
    border-top-color: rgba(255, 255, 255, 0.9);
    border-width: 0.35em 0.35em 0;
    vertical-align: 0.2em;
    transition: transform 0.25s ease;
}
*/
.nav-main .dropdown-mega .dropdown-toggle::after {
    content: "";
    display: inline-block;
    margin-left: 0.1em;
    border-top: 0.35em solid rgba(255, 255, 255, 0.9);
    border-left: 0.35em solid transparent;
    border-right: 0.35em solid transparent;
    transition: transform 0.25s ease;
}

/* Au clic, menu ouvert : flèche pointe vers le haut */
/* .nav-main .dropdown-mega.show > .dropdown-toggle::after {
    display: block;
    transform: rotate(180deg);
}  */
.nav-main .dropdown-mega .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* ============================================
   MEGA MENU - Inscription (style référence)
   Fond clair, zone gauche image+CTA, zone droite colonnes
   ============================================ */
.dropdown-menu-mega {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    background: #ffffff !important;
    min-height: 280px;
}

.mega-menu-inner {
    display: flex;
    flex-wrap: nowrap;
    min-height: 280px;
}

/* Zone gauche : image + CTA */
.mega-menu-left {
    flex: 0 0 42%;
    max-width: 42%;
    display: flex;
    flex-direction: column;
    background: #f8f8f8;
}

.mega-menu-image-wrap {
    position: relative;
    flex: 1;
    min-height: 200px;
    overflow: hidden;
}

.mega-menu-image-wrap .mega-menu-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mega-menu-image-wrap .mega-menu-image:first-child {
    opacity: 1;
}

.mega-menu-image-wrap.mega-slide-1 .mega-menu-image { opacity: 0; }
.mega-menu-image-wrap.mega-slide-1 .mega-menu-image:nth-child(1) { opacity: 1; }
.mega-menu-image-wrap.mega-slide-2 .mega-menu-image { opacity: 0; }
.mega-menu-image-wrap.mega-slide-2 .mega-menu-image:nth-child(2) { opacity: 1; }
.mega-menu-image-wrap.mega-slide-3 .mega-menu-image { opacity: 0; }
.mega-menu-image-wrap.mega-slide-3 .mega-menu-image:nth-child(3) { opacity: 1; }

.mega-menu-cta {
    display: block;
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fff !important;
    background-color: var(--color-primary);
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 0;
}

.mega-menu-cta:hover {
    background-color: #5a1320;
    color: #fff !important;
}

/* Zone droite : colonnes de liens */
.mega-menu-right {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    padding: 1.5rem 2rem;
    gap: 0 1.5rem;
}

.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.mega-menu-column-full {
    flex: 0 0 100%;
    width: 100%;
}

.mega-menu-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.mega-menu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #214371;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: color 0.2s ease;
}

.mega-menu-link:last-child {
    border-bottom: none;
}

.mega-menu-link:hover {
    color: var(--color-tertiary);
}

.mega-menu-arrow {
    color: var(--color-tertiary);
    font-size: 1rem;
}

.mega-menu-sep-vertical {
    width: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.mega-menu-sep-dotted {
    flex: 0 0 100%;
    width: 100%;
    height: 0;
    margin: 0.5rem 0;
    border-top: 1px dotted var(--color-tertiary);
    opacity: 0.8;
}

.mega-menu-border-bottom {
    height: 3px;
    background: var(--color-tertiary);
    width: 100%;
}

/* Animation d'apparition du mega menu */
/* Position du mega menu : aligné sous le header */
.dropdown-menu-mega {
    top: 88px !important;
    /* top: 68px !important; */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.dropdown-mega.show .dropdown-menu-mega,
.dropdown-menu-mega.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive mega menu */
@media (max-width: 991px) {
    .dropdown-menu-mega {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        max-height: 70vh;
        overflow-y: auto;
    }

    .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
    }

    .mega-menu-left {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .mega-menu-image-wrap {
        min-height: 160px;
    }

    .mega-menu-right {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .mega-menu-sep-vertical,
    .mega-menu-sep-dotted {
        display: none;
    }
}

/* Panneau droit : CTAs globaux persistants (5 blocs) */
.nav-side-panel {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    min-width: 200px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.3);
}

.nav-side-panel-ctas {
    min-width: 220px;
}

.nav-side-panel-ctas .nav-panel-cta {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.nav-side-panel-ctas .nav-panel-programmes {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    background-color: var(--color-tertiary);
}

.nav-side-panel-ctas .nav-panel-programmes:hover {
    background-color: #c45f1a;
}

.nav-side-panel-ctas .nav-panel-benevole,
.nav-side-panel-cta {
    display: block;
    font-weight: 700;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
    border-radius: 0;
}

.nav-side-panel-ctas .nav-panel-benevole {
    background-color: var(--color-primary);
}

.nav-side-panel-ctas .nav-panel-benevole:hover {
    background-color: #5a1320;
}

.nav-side-panel-ctas .nav-panel-entreprise,
.nav-side-panel-ctas .nav-panel-sponsor,
.nav-side-panel-ctas .nav-panel-immigration {
    background-color: rgba(115, 24, 32, 0.9);
}

.nav-side-panel-ctas .nav-panel-entreprise:hover,
.nav-side-panel-ctas .nav-panel-sponsor:hover,
.nav-side-panel-ctas .nav-panel-immigration:hover {
    background-color: #5a1320;
}

/* Rétrocompatibilité */
.nav-panel-cta {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: #fff !important;
    background-color: var(--color-tertiary);
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
    border-radius: 0;
}

.nav-panel-cta:hover {
    background-color: #c45f1a;
    color: #fff !important;
}

.nav-panel-info {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff !important;
    background-color: var(--color-primary);
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
    border-radius: 0;
}

.nav-panel-info:hover {
    background-color: #5a1320;
    color: #fff !important;
}

/* Toggler mobile - fond noir */
.nav-main .navbar-toggler.nav-toggler-sacii {
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0.35rem 0.6rem;
}

.nav-main .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.nav-main .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive - menu mobile (fond noir conservé) */
@media (max-width: 991px) {
    .nav-top-bar {
        height: 3px;
    }

    .nav-main {
        top: 3px !important;
    }

    .nav-links-group {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-item-with-sep::before {
        display: none;
    }

    .nav-main .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-main .nav-collapse-centering {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-main .nav-spacer {
        display: none;
    }

    .nav-side-panel {
        width: 100%;
        margin-left: 0;
        margin-top: 0.75rem;
        flex-direction: row;
        min-width: auto;
        border-radius: 0;
    }

    .nav-panel-cta,
    .nav-panel-info {
        flex: 1;
    }

    .nav-panel-info {
        border-radius: 0;
    }
}

/* ============================================
   MENU MOBILE - Overlay plein écran (≤992px)
   Conforme aux maquettes de référence
   ============================================ */
@media (max-width: 991.98px) {
    /* Masquer le toggler Bootstrap si présent */
    .nav-main .navbar-toggler {
        display: none !important;
    }

    /* Logo réduit */
    .nav-main .nav-logo {
        max-height: 40px;
        height: 40px;
    }

    /* Structure header mobile : logo | hamburger */
    .nav-main .container-fluid {
        flex-wrap: wrap;
    }

    .nav-main .navbar-brand {
        order: 1;
        flex: 1;
        margin-right: 0;
    }

    .nav-mobile-controls {
        order: 2;
        flex-shrink: 0;
    }

    /* Boutons CTA horizontaux (sous le header) */
    .nav-mobile-cta {
        order: 3;
        width: 100%;
        display: flex !important;
        gap: 0;
        margin-top: 0;
        padding: 0;
    }

    .nav-mobile-cta-inscrire,
    .nav-mobile-cta-programmes {
        flex: 1;
        text-align: center;
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
        font-weight: 600;
        text-decoration: none;
        color: #fff;
        transition: opacity 0.2s;
    }

    .nav-mobile-cta-inscrire {
        background: var(--color-tertiary, #D56D20);
    }

    .nav-mobile-cta-inscrire:hover {
        opacity: 0.9;
        color: #fff;
    }

    .nav-mobile-cta-programmes {
        background: var(--color-primary, #731820);
    }

    .nav-mobile-cta-programmes:hover {
        opacity: 0.9;
        color: #fff;
    }

    /* Toggler hamburger → X */
    .nav-toggler-custom {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        color: #fff;
        transition: transform 0.2s;
    }

    .nav-toggler-custom:focus {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
    }

    .nav-toggler-bar {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        margin: 3px 0;
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-toggler-custom[aria-expanded="true"] .nav-toggler-bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggler-custom[aria-expanded="true"] .nav-toggler-bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggler-custom[aria-expanded="true"] .nav-toggler-bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Collapse = overlay SOUS le header (le header reste toujours visible) */
    .nav-main .navbar-collapse {
        position: fixed !important;
        top: var(--nav-mobile-header-height, 115px) !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: calc(100vh - var(--nav-mobile-header-height, 115px)) !important;
        min-height: 0 !important;
        background: rgba(0, 0, 0, 0.98) !important;
        z-index: 1040;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        box-shadow: none !important;
    }

    .nav-main .navbar-collapse:not(.show) {
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-main .navbar-collapse.show {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        animation: navMobileFadeIn 0.3s ease;
    }

    .nav-main .navbar-collapse.collapsing {
        transition: opacity 0.3s ease !important;
    }

    @keyframes navMobileFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    /* Contenu menu mobile */
    .nav-mobile-menu {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 1.5rem 2rem;
    }

    .nav-mobile-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .nav-mobile-list > li {
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .nav-mobile-link {
        display: block;
        padding: 0.9rem 1rem;
        color: #fff !important;
        font-size: 1.1rem;
        font-weight: 600;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        transition: background 0.2s;
    }

    .nav-mobile-link:hover,
    .nav-mobile-link.active {
        background: rgba(115, 24, 32, 0.3);
        color: #fff !important;
    }

    .nav-mobile-toggle {
        width: 100%;
        background: none;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        cursor: pointer;
        text-align: center;
        font-size: 1.1rem;
        font-weight: 600;
        color: #fff;
        padding: 0.9rem 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-mobile-chevron {
        font-size: 0.75rem;
        transition: transform 0.3s;
    }

    .nav-mobile-toggle[aria-expanded="true"] .nav-mobile-chevron {
        transform: rotate(180deg);
    }

    .nav-mobile-sublist {
        list-style: none;
        margin: 0;
        padding: 0.5rem 0 1rem;
        background: rgba(0,0,0,0.3);
    }

    .nav-mobile-sublist a {
        display: block;
        padding: 0.6rem 1.5rem;
        color: rgba(255,255,255,0.9);
        text-decoration: none;
        font-size: 0.95rem;
        transition: background 0.2s;
    }

    .nav-mobile-sublist a:hover {
        background: rgba(115, 24, 32, 0.4);
        color: #fff;
    }

    /* Accordion Ressources : animation fluide */
    #navMobileResources.collapsing {
        transition: height 0.3s ease;
    }
}

/* Animation d'entrée du menu mobile */
@media (max-width: 991px) {
    .navbar-collapse.collapsing {
        transition: height 0.3s ease;
    }
}

/* ============================================
   HERO SECTION - STORYTELLING AMÉLIORÉ
   ============================================ */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    will-change: transform;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.2s var(--motion-easing-decelerate),
                transform 1.2s var(--motion-easing-decelerate);
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(115, 24, 32, 0.719), rgba(0, 0, 0, 0.678));
    z-index: 1;
    transition: opacity 0.5s var(--motion-easing-standard);
}

.hero-content {
    position: relative;
    padding-top: 82px;
    z-index: 2;
}

.hero-texts {
    position: relative;
    min-height: 300px;
}

/* Hero fixe : titre, sous-titre, description et CTAs toujours visibles */
.hero-texts-fixed {
    min-height: auto;
}

.hero-text-fixed .hero-subtitle {
    font-size: 1.35rem;
}

.hero-text-fixed .hero-description {
    font-size: 1.1rem;
    opacity: 0.95;
}

.hero-edition-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.hero-ctas-fixed .btn-hero-cta {
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-hero-cta-primary {
    background-color: var(--color-tertiary);
    color: #fff !important;
    border: 2px solid var(--color-tertiary);
}

.btn-hero-cta-primary:hover {
    background-color: #c45f1a;
    border-color: #c45f1a;
    color: #fff !important;
    transform: translateY(-2px);
}

.btn-hero-cta-secondary {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--color-primary) !important;
    border: 2px solid #fff;
}

.btn-hero-cta-secondary:hover {
    background-color: #fff;
    color: var(--color-primary) !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-hero-cta-outline {
    background-color: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.9);
}

.btn-hero-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-2px);
}

.hero-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s var(--motion-easing-decelerate),
                transform 0.8s var(--motion-easing-decelerate);
    pointer-events: none;
    will-change: opacity, transform;
}

.hero-text.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

/* Animation d'entrée pour le logo */
.hero-text.active img {
    animation: fadeDown 0.8s var(--motion-easing-decelerate) 0.2s both;
}

/* Animation d'entrée pour le texte */
.hero-text.active p,
.hero-text.active h1,
.hero-text.active h5 {
    animation: fadeUp 0.8s var(--motion-easing-decelerate) 0.4s both;
}

.hero-cta {
    margin-top: 2rem;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: opacity 0.6s var(--motion-easing-decelerate) 0.6s,
                transform 0.6s var(--motion-easing-decelerate) 0.6s;
}

.hero-text.active ~ .hero-cta,
.hero-cta.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ============================================
   BANDEAU INFORMATIF HERO (remplace le CTA inscription)
   Disposition en blocs horizontaux, charte SACII
   ============================================ */
.hero-info-banner {
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    animation: fadeUp 0.6s var(--motion-easing-decelerate) 0.5s both;
}

.hero-banner-inner {
    display: flex;
    flex-wrap: nowrap;
    min-height: 0;
}

.hero-banner-left {
    flex: 0 0 58%;
    max-width: 58%;
    display: flex;
    flex-direction: column;
}

.hero-banner-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero-banner-row {
    padding: 0.85rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.hero-banner-row-accent {
    background-color: var(--color-tertiary);
    color: #fff;
}

.hero-banner-row-light {
    background-color: #fff;
    color: var(--color-primary);
}

.hero-banner-row-dark {
    background-color: var(--color-primary);
    color: #fff;
}

.hero-banner-icon {
    margin-right: 0.5rem;
    opacity: 0.95;
}

.hero-banner-sep {
    width: 2px;
    min-width: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-banner-border-bottom {
    height: 3px;
    background: var(--color-tertiary);
    width: 100%;
}

@media (max-width: 768px) {
    .hero-info-banner {
        max-width: 100%;
    }

    .hero-banner-inner {
        flex-direction: column;
    }

    .hero-banner-left,
    .hero-banner-right {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .hero-banner-sep {
        width: 100%;
        height: 2px;
        min-width: 0;
    }

    .hero-banner-row {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
}

.hero-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--motion-easing-standard) 1s both;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--motion-duration-fast) var(--motion-easing-standard);
    transform: translate3d(0, 0, 0);
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2) translate3d(0, 0, 0);
}

.hero-indicator.active {
    background: var(--color-tertiary);
    width: 30px;
    border-radius: 6px;
}

/* Boutons - Micro-interactions harmonisées */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    font-weight: 600;
    padding: 0.75rem 2rem;
    transition: all var(--motion-duration-fast) var(--motion-easing-standard);
    transform: translate3d(0, 0, 0);
}

.btn-primary:hover {
    background-color: #5a1419;
    border-color: #5a1419;
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* Sections */
.section-title {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 2rem;
}

.page-header {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0;
}

/* Cards - Animations harmonisées */
.card {
    transition: transform var(--motion-duration-fast) var(--motion-easing-standard),
                box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
    border: none;
    transform: translate3d(0, 0, 0);
}

.card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.target-card {
    min-height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}

.target-card .card-body {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    border-radius: 10px;
}

/* ============================================
   SECTION REJOIGNEZ-NOUS - Hub de participation
   Positionnée juste après le Hero pour meilleure visibilité
   Cartes cliquables avec icônes, hover et responsive
   ============================================ */

.rejoignez-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.rejoignez-section .section-title {
    color: var(--color-primary, #731820);
}

/* Grille flexbox : centrage dynamique des cartes, lignes incomplètes centrées */
.rejoignez-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.rejoignez-col {
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 768px) {
    .rejoignez-col {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
    }
}

@media (min-width: 992px) {
    .rejoignez-col {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
    }
}

/* Uniformiser la hauteur des cartes */
.rejoignez-col .rejoignez-card {
    height: 100%;
}

.rejoignez-card {
    position: relative;
    min-height: 280px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rejoignez-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(115, 24, 32, 0.2) !important;
}

.rejoignez-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.rejoignez-card:hover .rejoignez-card-bg {
    transform: scale(1.06);
}

.rejoignez-card .card-body {
    position: relative;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    border-radius: 12px;
    padding: 1.5rem;
}

.rejoignez-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.35rem;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.rejoignez-card:hover .rejoignez-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.rejoignez-cta {
    transition: transform 0.25s ease, background 0.25s ease;
}

.rejoignez-card:hover .rejoignez-cta {
    transform: translateX(4px);
}

.rejoignez-card:hover .rejoignez-cta i {
    transition: transform 0.25s ease;
}

.rejoignez-card:hover .rejoignez-cta i {
    transform: translateX(3px);
}

/* Section Trois parcours. Une ambition commune. - Layout épuré, feature blocks */
.trois-parcours-section .section-title {
    color: var(--color-primary);
}

.trois-parcours-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
}

.trois-parcours-grid {
    align-items: stretch;
}

.parcours-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(115, 24, 32, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
}

.parcours-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(115, 24, 32, 0.12);
    border-color: rgba(115, 24, 32, 0.15);
}

.parcours-pastille {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
}

.parcours-pastille-1 {
    background-color: var(--color-primary);
}

.parcours-block-1:hover .parcours-pastille-1 {
    box-shadow: 0 4px 12px rgba(115, 24, 32, 0.35);
}

.parcours-pastille-2 {
    background-color: var(--color-tertiary);
}

.parcours-block-2:hover .parcours-pastille-2 {
    box-shadow: 0 4px 12px rgba(213, 109, 32, 0.35);
}

.parcours-pastille-3 {
    background-color: #1a5f3a;
}

.parcours-block-3:hover .parcours-pastille-3 {
    box-shadow: 0 4px 12px rgba(26, 95, 58, 0.35);
}

.parcours-block-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.parcours-block-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.parcours-block-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.parcours-block-cta:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.parcours-block-cta i {
    font-size: 0.8em;
    transition: transform 0.25s ease;
}

.parcours-block-cta:hover i {
    transform: translateX(4px);
}

/* Responsive Trois parcours */
@media (max-width: 991.98px) {
    .parcours-block {
        padding: 1.75rem 1.25rem;
    }
}

@media (max-width: 767.98px) {
    .parcours-block {
        padding: 1.5rem 1rem;
    }

    .parcours-pastille {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .parcours-block-title {
        font-size: 1.05rem;
    }

    .parcours-block-text {
        font-size: 0.9rem;
    }
}

/* CTA contextuels au scroll */
.section-cta-contextuel {
    padding: 1.5rem 0;
    text-align: center;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 249, 250, 0.8) 50%, transparent 100%);
}

.section-cta-contextuel .cta-contextuel-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.section-cta-contextuel .btn-cta-contextuel {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.section-cta-contextuel .btn-cta-contextuel-primary {
    background-color: var(--color-tertiary);
    color: #fff !important;
    border: 2px solid var(--color-tertiary);
}

.section-cta-contextuel .btn-cta-contextuel-primary:hover {
    background-color: #c45f1a;
    border-color: #c45f1a;
    color: #fff !important;
}

.section-cta-contextuel .btn-cta-contextuel-outline {
    background-color: transparent;
    color: var(--color-primary) !important;
    border: 2px solid var(--color-primary);
}

.section-cta-contextuel .btn-cta-contextuel-outline:hover {
    background-color: var(--color-primary);
    color: #fff !important;
}

/* Responsive : cartes empilées sur mobile */
@media (max-width: 991.98px) {
    .rejoignez-section {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    .rejoignez-card {
        min-height: 240px;
    }
}

@media (max-width: 575.98px) {
    .rejoignez-card {
        min-height: 220px;
    }

    .rejoignez-card .card-body {
        padding: 1.25rem;
    }

    .rejoignez-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* Responsive Trois parcours & Hero CTAs */
@media (max-width: 767.98px) {
    .hero-ctas-fixed {
        flex-direction: column;
    }

    .hero-ctas-fixed .btn-hero-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .section-cta-contextuel .cta-contextuel-inner {
        flex-direction: column;
    }

    .section-cta-contextuel .btn-cta-contextuel {
        width: 100%;
        max-width: 280px;
    }
}

/* ============================================
   SECTION MOT DU PRÉSIDENT & MOT DU PCO
   Deux blocs côte à côte, fond blanc, charte SACII
   ============================================ */

.message-duo-section {
    background-color: #fff !important;
}

.message-duo-block-wrap {
    display: flex;
    justify-content: center;
}

.message-duo-block {
    max-width: 480px;
    width: 100%;
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
}

.message-duo-photo-wrap {
    margin-bottom: 1.25rem;
}

.message-duo-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto;
}

.message-duo-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.message-duo-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.message-duo-title {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.message-duo-text {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-align: left;
}

.message-duo-cta {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.message-duo-cta:hover {
    background-color: #5a1319;
    color: #fff;
    border-color: #5a1319;
    transform: translateY(-1px);
}

/* Modal message complet - style référence (photo, nom, titres, fond dégradé, forme en coin) */
.message-duo-modal .modal-dialog {
    max-width: 720px;
}

.message-duo-modal .modal-content.message-duo-modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(180deg, rgba(115, 24, 32, 0.395) 0%, rgba(255, 255, 255, 1) 35%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.message-duo-modal-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 16%;
    height: 220px;
    background: var(--color-primary);
    border-radius: 0 0 100% 0;
    pointer-events: none;
}

.message-duo-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    width: 48px;
    height: 48px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.message-duo-modal-close:hover {
    background-color: #5a1319;
    color: #fff;
    transform: scale(1.05);
}

.message-duo-modal-inner {
    position: relative;
    padding: 2rem 3rem 2.5rem;
    max-height: 85vh;
    overflow-y: auto;
}

.message-duo-modal-speaker {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
}

.message-duo-modal-photo-wrap {
    flex-shrink: 0;
}

.message-duo-modal-photo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.message-duo-modal-meta {
    flex: 1;
    min-width: 0;
}

.message-duo-modal-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 0.35rem;
    line-height: 1.3;
}

.message-duo-modal-titles {
    font-size: 0.9rem;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.message-duo-modal-body {
    font-size: 1rem;
    color: #333;
    line-height: 1.65;
    text-align: left;
}


@media (max-width: 767px) {
    .message-duo-modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .message-duo-modal-inner {
        padding: 1.5rem 1.25rem 2rem;
    }

    .message-duo-modal-speaker {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .message-duo-modal-photo {
        width: 90px;
        height: 90px;
    }

    .message-duo-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
    }

    .message-duo-modal-shape {
        height: 160px;
    }
}

@media (max-width: 991px) {
    .message-duo-block {
        padding: 1.75rem 1rem;
    }

    .message-duo-photo {
        width: 120px;
        height: 120px;
    }
}

/* Formulaires multi-étapes */
.step-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 20px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 3px;
    background: #e0e0e0;
    z-index: 0;
    border-radius: 2px;
}

.step-progress-bar {
    position: absolute;
    top: 20px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
    z-index: 1;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.step-indicator .step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
    cursor: default;
}

.step-indicator .step .step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-indicator .step.active .step-number {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(115, 24, 32, 0.3);
}

.step-indicator .step.completed .step-number {
    background: var(--color-tertiary);
    color: white;
    position: relative;
}

.step-indicator .step.completed .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-indicator .step .step-label {
    font-size: 0.875rem;
    color: #666;
    transition: all 0.3s ease;
    font-weight: 400;
}

.step-indicator .step.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.step-indicator .step.completed .step-label {
    color: var(--color-tertiary);
    font-weight: 500;
}

.step-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.step-content.d-none {
    display: none !important;
}

/* Message d'erreur pour les étapes */
.step-error-message {
    margin-bottom: 1.5rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Bouton de soumission avec loader */
button[type="submit"].submitting {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

button[type="submit"].submitting .spinner-border {
    display: inline-block;
}

button[type="submit"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Validation des champs */
.form-control.is-valid,
.form-select.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 3.6 1.4 1.4M7.2 3.6l-1.4 1.4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-check.is-invalid .form-check-input {
    border-color: #dc3545;
}

/* Loader overlay pour la soumission du formulaire */
.page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-loader-overlay.show {
    opacity: 1;
}

.page-loader-content {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.page-loader-content .spinner-border {
    border-width: 4px;
    animation: spin 1s linear infinite;
}

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

.page-loader-content h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-loader-content p {
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive pour les indicateurs d'étapes */
@media (max-width: 768px) {
    .step-indicator {
        flex-wrap: wrap;
        padding: 0 10px;
    }
    
    .step-indicator .step {
        flex: 0 0 50%;
        margin-bottom: 1rem;
    }
    
    .step-indicator .step .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .step-indicator .step .step-label {
        font-size: 0.75rem;
    }
    
    .step-content {
        padding: 1.5rem;
    }
    
    .page-loader-content {
        padding: 2rem 1.5rem;
        margin: 0 1rem;
    }
    
    .page-loader-content h4 {
        font-size: 1.1rem;
    }
    
    .page-loader-content p {
        font-size: 0.85rem;
    }
}

/* Formulaires */
.form-control:focus,
.form-select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(115, 24, 32, 0.25);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ============================================
   FORMULAIRES D'INSCRIPTION - TEXTES D'INTRODUCTION
   ============================================ */
/* Rappel formule choisie (commandites) - encart visible et attractif */
.formula-reminder {
    border-radius: 12px;
}
.formula-reminder-icon {
    color: var(--color-primary, #731820);
}
.formula-reminder-details {
    row-gap: 1rem;
}
.formula-reminder-item {
    min-width: 140px;
}
@media (max-width: 767.98px) {
    .formula-reminder .card-body {
        padding: 1rem 1.25rem !important;
    }
    .formula-reminder-icon i {
        font-size: 1.5rem !important;
    }
}

.registration-intro {
    animation: fadeUp var(--motion-duration-normal) var(--motion-easing-decelerate);
}

.registration-intro .card {
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--color-primary);
}

.registration-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.registration-intro .lead {
    color: #333;
    font-weight: 500;
}

.registration-intro p {
    color: #555;
    line-height: 1.7;
}

/* Responsive pour les textes d'introduction */
@media (max-width: 768px) {
    .registration-intro .d-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .registration-icon {
        margin: 0 auto 1rem;
    }
    
    .registration-icon i {
        font-size: 2rem !important;
    }
}

/* Footer - aucune marge ni espace en dessous */
.footer {
    position: relative;
    background-color: var(--color-secondary) !important;
    color: white;
    bottom: 0;
    left: 0;
    right: 0;
    
    /* margin-bottom: 0 !important; */
    
}

html,
body {
    margin-bottom: 0 !important;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--color-tertiary);
}

.social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* ============================================
   MOTION SYSTEM - SYSTÈME D'ANIMATIONS HARMONISÉ
   ============================================ */

/* Variables de timing et easing pour cohérence globale */


/* Keyframes harmonisés */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translate3d(0, var(--motion-distance-small), 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translate3d(0, calc(-1 * var(--motion-distance-small)), 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Classes d'animation réutilisables */
.fade-in {
    animation: fadeIn var(--motion-duration-normal) var(--motion-easing-standard);
}

.fade-up {
    animation: fadeUp var(--motion-duration-normal) var(--motion-easing-decelerate);
}

.fade-down {
    animation: fadeDown var(--motion-duration-normal) var(--motion-easing-decelerate);
}

.scale-in {
    animation: scaleIn var(--motion-duration-normal) var(--motion-easing-standard);
}

/* Classes pour animations au scroll (révélation progressive) */
.reveal {
    opacity: 0;
    transform: translate3d(0, var(--motion-distance-medium), 0);
    transition: opacity var(--motion-duration-slow) var(--motion-easing-decelerate),
                transform var(--motion-duration-slow) var(--motion-easing-decelerate);
}

.reveal.visible,
.reveal.fade-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Animations hover harmonisées */
.hover-lift {
    transition: transform var(--motion-duration-fast) var(--motion-easing-standard),
                box-shadow var(--motion-duration-fast) var(--motion-easing-standard);
}

.hover-lift:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.hover-scale {
    transition: transform var(--motion-duration-fast) var(--motion-easing-standard);
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Micro-interactions pour boutons */
.btn {
    transition: all var(--motion-duration-fast) var(--motion-easing-standard);
    transform: translate3d(0, 0, 0);
}

.btn:hover {
    transform: translate3d(0, -2px, 0);
}

.btn:active {
    transform: translate3d(0, 0, 0);
    transition-duration: 0.1s;
}

/* ============================================
   PAGE D'ACCUEIL - SECTIONS À PROPOS / MISSION / VISION
   ============================================ */

/* Section À propos - accueil */
.home-about-section {
    background: #ffffff;
}

/* Pourquoi le SACII - Proposition de valeur */
.pourquoi-sacii-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.pourquoi-sacii-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pourquoi-sacii-value-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.pourquoi-sacii-value-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-tertiary);
}

/* Module statistiques par édition */
/* Pourquoi SACII - Layout rééquilibré : contenu 58% | image 42% */
.pourquoi-sacii-content {
    display: flex;
    flex-direction: column;
}

.pourquoi-sacii-stats-inline {
    margin-top: 0;
}

.pourquoi-sacii-stats-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Grille stats compacte - 3 colonnes desktop, adaptatif */
.stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
}

.stats-card-compact {
    background: #fff;
    border: 1px solid rgba(115, 24, 32, 0.1);
    border-radius: 10px;
    padding: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stats-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(115, 24, 32, 0.1);
}

.stats-card-compact-featured,
.stats-card-compact.stats-card-featured {
    border-color: var(--color-primary);
    border-width: 2px;
}

.stats-card-compact-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stats-card-compact .stats-card-year {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    background: rgba(115, 24, 32, 0.08);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.stats-card-compact.stats-card-featured .stats-card-year {
    background: var(--color-primary);
    color: #fff;
}

.stats-badge-recent {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.stats-card-compact-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stats-metric-compact {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.stats-metric-compact .stats-metric-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(115, 24, 32, 0.08);
    color: var(--color-primary);
    border-radius: 6px;
    font-size: 0.85rem;
}

.stats-metric-compact-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.stats-metric-compact .stats-metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.stats-metric-compact .stats-metric-label {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.2;
}

.pourquoi-sacii-ctas .btn {
    transition: transform 0.25s ease;
}

.pourquoi-sacii-ctas .btn:hover {
    transform: translateY(-2px);
}

/* Image colonne droite - réduite, border-radius */
.pourquoi-sacii-image-col {
    display: flex;
    align-items: center;
}

.pourquoi-sacii-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
    max-height: 480px;
}

.pourquoi-sacii-image-wrapper .home-about-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.12), rgba(0, 0, 0, 0.2));
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.pourquoi-sacii-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pourquoi-sacii-image-wrapper:hover .pourquoi-sacii-image {
    transform: scale(1.03);
}

/* Responsive Pourquoi SACII */
@media (max-width: 991.98px) {
    .stats-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .pourquoi-sacii-image-wrapper {
        max-height: 320px;
    }

    .pourquoi-sacii-image-col {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .stats-grid-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .stats-metric-compact .stats-metric-value {
        font-size: 1.1rem;
    }

    .stats-card-compact {
        padding: 0.875rem;
    }

    .pourquoi-sacii-ctas .btn-lg {
        font-size: 1rem;
    }
}

.home-about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.home-about-image-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.15), rgba(0, 0, 0, 0.3));
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

.home-about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.6s ease;
}

.home-about-image-wrapper:hover .home-about-image {
    transform: scale(1.08);
}

/* Section Mission - accueil */
.home-mission-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.home-mission-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner/SACII-DSCF1957-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Image fixe */
    transform: translate3d(0, 0, 0) scale(1.05);
    z-index: 0;
    will-change: transform;
}

.home-mission-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(213, 109, 32, 0.85), rgba(115, 24, 32, 0.95));
    mix-blend-mode: multiply;
    z-index: 1;
}

.home-mission-section .container {
    position: relative;
    z-index: 2;
}

.home-mission-pill {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    color: #fff;
    transition: all 0.35s ease;
}

.home-mission-pill i {
    color: var(--color-tertiary);
    font-size: 1.4rem;
}

.home-mission-pill:hover {
    background: rgba(0, 0, 0, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

/* Section Vision - accueil */
.home-vision-section {
    position: relative;
    padding: 5rem 0 5.5rem;
    overflow: hidden;
}

.home-vision-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner/SACII-DSCF1957-scaled.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Image fixe pour effet immersif */
    transform: translate3d(0, 0, 0) scale(1.04);
    z-index: 0;
    will-change: transform;
}

.home-vision-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.85), rgba(115, 24, 32, 0.9));
    z-index: 1;
}

.home-vision-section .container {
    position: relative;
    z-index: 2;
}

.home-vision-text {
    font-size: 1.05rem;
    line-height: 1.85;
}

.btn-vision-cta {
    background-color: var(--color-tertiary);
    color: #fff !important;
    border: 2px solid var(--color-tertiary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.25s ease;
}

.btn-vision-cta:hover {
    background-color: #c45f1a;
    border-color: #c45f1a;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Révélations au scroll dédiées à la home - Harmonisé */
.home-scroll-reveal {
    opacity: 0;
    transform: translate3d(0, var(--motion-distance-medium), 0);
    transition: opacity var(--motion-duration-slow) var(--motion-easing-decelerate),
                transform var(--motion-duration-slow) var(--motion-easing-decelerate);
}

.home-scroll-reveal.fade-in,
.home-scroll-reveal.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Carousel */
.carousel-item img {
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .step-indicator {
        flex-direction: column;
        gap: 1rem;
    }

    .step-indicator::before {
        display: none;
    }

    .step-indicator .step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .step-indicator .step .step-number {
        margin: 0;
    }

    .hero-section {
        min-height: 70vh;
    }

    .target-card {
        min-height: 250px;
    }

    .home-mission-background,
    .home-vision-background {
        background-attachment: scroll; 
    }

    .home-mission-section,
    .home-vision-section {
        padding: 3.5rem 0;
    }

    /* Réduire les animations sur mobile */
    .hero-text {
        transform: translate3d(0, 15px, 0) !important;
    }

    .hero-text.active {
        transform: translate3d(0, 0, 0) !important;
    }

    /* Simplifier les transitions sur mobile */
    .reveal,
    .home-scroll-reveal {
        transform: translate3d(0, 15px, 0) !important;
    }
}

/* Bouton Back-to-Top */
.back-to-top {
    position: fixed;
    bottom: 60px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.back-to-top.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-tertiary);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.back-to-top i {
    font-size: 1.5rem;
}

/* Scroll fluide */
html {
    scroll-behavior: smooth;
}

/* ============================================
   ACCESSIBILITÉ - RESPECT DES PRÉFÉRENCES UTILISATEUR
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    /* Désactiver toutes les animations */
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-slide,
    .hero-text,
    .reveal,
    .home-scroll-reveal {
        transition: none !important;
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero-slide.active {
        transform: none !important;
    }
}

/* Utilitaires */
.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: var(--color-primary) !important;
}

.bg-secondary {
    background-color: var(--color-secondary) !important;
}

.bg-success {
    background-color: var(--color-success) !important;
}

.bg-warning {
    background-color: var(--color-warning) !important;
}

.bg-info {
    background-color: var(--color-info) !important;
}

.text-tertiary {
    color: var(--color-tertiary) !important;
}

/* Validation des formulaires */
.is-invalid {
    border-color: #dc3545;
}

.is-valid {
    border-color: #28a745;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
}

/* ============================================
   SECTION GALERIE - ARRIÈRE-PLAN
   ============================================ */
.gallery-section {
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.95) 0%, rgba(115, 24, 32, 0.85) 100%);
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.gallery-section .section-title {
    color: white;
    position: relative;
    z-index: 1;
}

.gallery-section .carousel {
    position: relative;
    z-index: 1;
}

.gallery-section .carousel-control-prev,
.gallery-section .carousel-control-next {
    opacity: 0.9;
}

.gallery-section .carousel-control-prev:hover,
.gallery-section .carousel-control-next:hover {
    opacity: 1;
}

/* ============================================
   SECTION GALERIE ACCUEIL - Deux zones (référence)
   Zone gauche : icône, titre, CTA | Zone droite : grande image
   ============================================ */
.gallery-home-section {
    background-color: #fff;
}

.gallery-home-left {
    padding-right: 1rem;
}

.gallery-home-icon-wrap {
    margin-bottom: 1.25rem;
}

.gallery-home-icon {
    font-size: 3rem;
    color: var(--color-tertiary);
}

.gallery-home-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    line-height: 1.3;
}

.gallery-home-ctas {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gallery-home-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    border: none;
    text-align: left;
}

.gallery-home-cta:hover {
    transform: translateY(-2px);
}

.gallery-home-cta-primary {
    background-color: var(--color-tertiary);
    color: #fff;
}

.gallery-home-cta-primary:hover {
    background-color: #c25d1a;
    color: #fff;
}

.gallery-home-cta-secondary {
    background-color: var(--color-primary);
    color: #fff;
}

.gallery-home-cta-secondary:hover {
    background-color: #5a1319;
    color: #fff;
}

.gallery-home-cta-icon {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Bloc slider : fond transparent, design épuré */
.gallery-home-slider-wrap {
    width: 100%;
    position: relative;
    background: transparent;
}

.gallery-home-slider-wrap .gallery-home-image,
.gallery-home-slider-wrap img.gallery-home-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

/* Navigation en haut à droite (hors overlay) */
.gallery-home-nav-top {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gallery-home-nav-btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 8px;
    color: #495057;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.gallery-home-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.25);
}

.gallery-home-nav-btn:hover:not(:disabled) {
    background: #f8f9fa;
    color: var(--color-tertiary);
    border-color: var(--color-tertiary);
}

.gallery-home-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Carousel 2 images par slide */
.gallery-home-carousel {
    width: 100%;
}

.gallery-home-carousel .carousel-inner,
.gallery-home-carousel .carousel-item {
    overflow: hidden;
}

.gallery-home-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gallery-home-slide-cell {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: #f8f9fa;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.gallery-home-slide-cell:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.gallery-home-slide-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.gallery-home-slide-cell-empty {
    background: transparent;
    box-shadow: none;
}

.gallery-home-slide-cell-empty:hover {
    transform: none;
    box-shadow: none;
}

.gallery-home-single-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    aspect-ratio: 16 / 9;
    min-height: 200px;
    background: #f8f9fa;
}

.gallery-home-single-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

@media (max-width: 991px) {
    .gallery-home-section .row {
        flex-direction: column-reverse;
    }

    .gallery-home-left {
        padding-right: 0;
        text-align: center;
    }

    .gallery-home-ctas {
        align-items: center;
    }

    .gallery-home-cta {
        justify-content: center;
    }

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

    .gallery-home-slide-cell {
        min-height: 180px;
    }
}

@media (max-width: 575px) {
    .gallery-home-slide-grid {
        grid-template-columns: 1fr;
    }

    .gallery-home-slide-cell-empty {
        display: none;
    }

    .gallery-home-slide-cell {
        min-height: 220px;
    }
}

/* ============================================
   SECTION VIDÉOS - PAGE D'ACCUEIL
   Fond attrayant pour distinguer de la galerie
   ============================================ */
.videos-home-section-bg {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    overflow: hidden;
}

.videos-home-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(115, 24, 32, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(213, 109, 32, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.videos-home-section-bg .container {
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.videos-home-left {
    padding-right: 1.5rem;
}

.videos-home-icon-wrap {
    margin-bottom: 1.25rem;
}

.videos-home-icon {
    font-size: 3rem;
    color: var(--color-primary);
    display: inline-block;
    transition: transform 0.3s ease;
}

.videos-home-icon-wrap:hover .videos-home-icon {
    transform: scale(1.1);
}

.videos-home-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.videos-home-lead {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
}

.videos-home-cta {
    margin-top: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 24, 32, 0.2);
}

.videos-home-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 24, 32, 0.3);
}

.videos-home-cta-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.videos-home-right {
    padding-left: 1.5rem;
}

.video-card-home {
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-thumbnail-home-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Ratio 16:9 */
    overflow: hidden;
    background: #000;
    border-radius: 8px 8px 0 0;
}

.video-thumbnail-home {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card-home:hover .video-thumbnail-home {
    transform: scale(1.05);
}

.video-play-overlay-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
    z-index: 1;
}

.video-play-overlay-home i {
    font-size: 3rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.video-card-home:hover .video-play-overlay-home {
    background: rgba(0, 0, 0, 0.5);
}

.video-card-home:hover .video-play-overlay-home i {
    transform: scale(1.1);
}

.video-title-home {
    font-size: 0.95rem;
    font-weight: 600;
    color: #212529;
    padding: 0.75rem;
    margin: 0;
    line-height: 1.4;
}

.video-card-home small {
    display: block;
    padding: 0 0.75rem 0.75rem;
    color: #6c757d;
    font-size: 0.85rem;
}

/* Responsive pour la section vidéos */
@media (max-width: 991.98px) {
    .videos-home-section-bg {
        padding: 3.5rem 0 !important;
    }

    .videos-home-section-bg .row {
        flex-direction: column-reverse;
    }

    .videos-home-left {
        padding-right: 0;
        padding-left: 0;
        text-align: center;
        margin-top: 2rem;
    }

    .videos-home-right {
        padding-left: 0;
    }

    .videos-home-title {
        font-size: 1.75rem;
    }

    .videos-home-icon {
        font-size: 2.5rem;
    }
}

/* ============================================
   SLIDER PARTENAIRES - DÉFILEMENT AUTOMATIQUE
   ============================================ */
.partners-section {
    overflow: hidden;
    position: relative;
}

.partners-slider-wrapper {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partners-slider {
    display: flex;
    width: fit-content;
    animation: slidePartners linear infinite;
}

/* Désactiver l'animation si moins de 3 partenaires (pas besoin de slider) */
.partners-slider.single-track {
    animation: none;
    justify-content: center;
    width: 100%;
}

.partners-slider.single-track .partners-track {
    justify-content: center;
}

.partners-slider[data-speed="30"] {
    animation-duration: 30s;
}

.partners-slider[data-speed="40"] {
    animation-duration: 40s;
}

.partners-slider[data-speed="50"] {
    animation-duration: 50s;
}

/* Pause au survol */
.partners-section:hover .partners-slider {
    animation-play-state: paused;
}

.partners-track {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 20px;
    flex-shrink: 0;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 100px;
    padding: 15px 20px;
    transition: transform 0.3s ease;
}

.partner-item:hover {
    transform: scale(1.05);
}

.partner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.partner-logo {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.partner-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
}

/* Animation du slider */
@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive pour le slider partenaires */
@media (max-width: 768px) {
    .partners-track {
        gap: 30px;
    }
    
    .partner-item {
        min-width: 120px;
        height: 80px;
        padding: 10px 15px;
    }
    
    .partner-logo {
        max-height: 70px;
    }
    
    .partners-slider[data-speed="30"] {
        animation-duration: 20s;
    }
}

@media (max-width: 576px) {
    .partners-track {
        gap: 20px;
    }
    
    .partner-item {
        min-width: 100px;
        height: 60px;
        padding: 8px 12px;
    }
    
    .partner-logo {
        max-height: 50px;
    }
}

/* ============================================
   FENÊTRE DE CONSENTEMENT COOKIES (RGPD)
   Charte SACII, position bas-droite, overlay
   ============================================ */

.cookie-consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-consent-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-modal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    font-family: var(--font-family);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookie-consent-modal.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cookie-consent-modal-inner,
.cookie-consent-settings-panel .cookie-consent-settings-inner {
    padding: 1.25rem 1.5rem;
}

.cookie-consent-logo-row {
    margin-bottom: 0.75rem;
}

.cookie-consent-logo-link {
    display: inline-block;
}

.cookie-consent-logo {
    display: block;
    max-height: 36px;
    width: auto;
    object-fit: contain;
}

.cookie-consent-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cookie-consent-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.3;
    flex: 1;
}

.cookie-consent-close {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--color-secondary);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.cookie-consent-close::before {
    content: '\00d7';
    font-size: 1.5rem;
    line-height: 1;
}

.cookie-consent-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: var(--color-primary);
}

.cookie-consent-body .cookie-consent-text {
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
    text-align: left;
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-consent-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    font-family: var(--font-family);
}

.cookie-consent-btn-accept {
    background-color: var(--color-primary);
    color: #fff;
    border: 1px solid var(--color-primary);
}

.cookie-consent-btn-accept:hover {
    background-color: #5a1319;
    color: #fff;
    border-color: #5a1319;
}

.cookie-consent-btn-refuse,
.cookie-consent-btn-settings {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-consent-btn-refuse:hover,
.cookie-consent-btn-settings:hover {
    background: #eee;
    border-color: #ccc;
}

.cookie-consent-link-wrap {
    margin: 0;
    text-align: center;
}

.cookie-consent-link {
    color: var(--color-primary);
    text-decoration: underline;
    font-size: 0.9rem;
}

.cookie-consent-link:hover {
    color: #5a1319;
}

/* Panneau Paramètres des cookies */
.cookie-consent-settings-panel {
    display: none;
    padding: 1.25rem 1.5rem;
}

.cookie-consent-settings-panel.is-visible {
    display: block;
}

.cookie-consent-modal-inner.is-hidden {
    display: none;
}

.cookie-consent-settings-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-secondary);
}

.cookie-consent-settings-desc {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: #555;
}

.cookie-consent-setting {
    margin-bottom: 1rem;
}

.cookie-consent-setting-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.cookie-consent-setting-input {
    margin: 0;
}

.cookie-consent-setting small {
    display: block;
    margin-top: 0.2rem;
    margin-left: 1.5rem;
    font-size: 0.8rem;
    color: #666;
}

.cookie-consent-settings-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

@media (max-width: 480px) {
    .cookie-consent-modal {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BARRE FLOTTANTE CTA - BILLET GRATUIT
   Fixée en bas de page, charte SACII
   ============================================ */

/* Quand la float bar est visible, éviter que le contenu soit masqué en bas */
body.float-bar-visible {
    padding-bottom: 56px;
}

/* Mobile/tablette (≤992px) : masquer la barre flottante CTA
   - Évite de gêner la lecture
   - CTA accessible via menu mobile (S'inscrire / Programmes)
   - Aucun padding résiduel sur body */
@media (max-width: 991.98px) {
    .float-bar-wrapper {
        display: none !important;
    }

    body.float-bar-visible {
        padding-bottom: 0 !important;
    }
}

.float-bar-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 1029;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-tertiary) 100%);
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.float-bar-wrapper.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.float-bar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem 0 1.25rem;
}

.float-bar-icon {
    color: var(--color-tertiary);
    font-size: 1.25rem;
    flex-shrink: 0;
    filter: brightness(1.15);
}

.float-bar-text {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.float-bar-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1rem;
    background: #fff;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.float-bar-cta:hover {
    background: #f5f5f5;
    color: var(--color-primary);
    transform: scale(1.02);
}

.float-bar-cta-arrows {
    font-weight: 700;
}

.float-bar-close {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.float-bar-close::before {
    content: '\00d7';
    font-size: 1.5rem;
    line-height: 1;
}

.float-bar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 991px) {
    .float-bar-wrapper {
        height: 44px;
    }

    .float-bar-inner {
        padding: 0 2.75rem 0 0.75rem;
        gap: 0.5rem;
    }

    .float-bar-text {
        font-size: 0.85rem;
        white-space: normal;
        line-height: 1.2;
    }

    .float-bar-cta {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }

    .float-bar-close {
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .float-bar-wrapper {
        height: 48px;
    }

    .float-bar-inner {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.4rem 2.5rem 0.4rem 0.6rem;
    }

    .float-bar-icon {
        display: none;
    }

    .float-bar-text {
        font-size: 0.8rem;
        flex: 1 1 100%;
        text-align: center;
        order: 1;
    }

    .float-bar-cta {
        order: 2;
    }

    .float-bar-close {
        right: 0.35rem;
        top: 50%;
    }
}

/* ============================================
   Galerie détail – Hero avec image de couverture
   ============================================ */

.gallery-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    max-height: 70vh;
    height: 520px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(162, 127, 1, 0.489); */
    /* background:rgba(22, 141, 117, 0.646); */
    background: rgba(103, 22, 29, 0.63);
    pointer-events: none;
}

.gallery-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.gallery-hero-back {
    flex: 0 0 auto;
}

.gallery-hero-back-link {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0.25rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background 0.2s, color 0.2s;
}

.gallery-hero-back-link:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary, #731820);
}

.gallery-hero-center {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0;
}

.gallery-hero-title {
    color: #fff;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.gallery-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

.gallery-hero-meta-item {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.gallery-hero-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.gallery-hero-btn {
    padding: 0.6rem 1.25rem;
    font-weight: 600;
    border-radius: 0.25rem;
    white-space: nowrap;
    transition: opacity 0.2s, transform 0.2s;
}

.gallery-hero-btn-primary {
    background: var(--color-primary, #731820);
    color: #fff;
    border: none;
}

.gallery-hero-btn-primary:hover {
    color: #fff;
    opacity: 0.95;
    transform: translateY(-1px);
}

.gallery-hero-btn-outline {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.gallery-hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary, #731820);
    border-color: #fff;
}

.gallery-hero-feedback {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

/* Responsive – hero galerie */
@media (max-width: 991px) {
    .gallery-hero {
        min-height: 45vh;
        max-height: 60vh;
        height: 420px;
    }

    .gallery-hero-inner {
        flex-direction: column;
        justify-content: center;
        padding: 2rem 1rem;
    }

    .gallery-hero-back {
        position: absolute;
        top: 1rem;
        left: 1rem;
    }

    .gallery-hero-actions {
        margin-top: 0.5rem;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gallery-hero {
        min-height: 40vh;
        height: 340px;
    }

    .gallery-hero-inner {
        padding: 3rem 0.75rem 1.5rem;
    }

    .gallery-hero-back-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.75rem;
    }

    .gallery-hero-title {
        font-size: 1.5rem;
    }

    .gallery-hero-meta-item {
        font-size: 0.9rem;
    }

    .gallery-hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .gallery-hero-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   FAQ - Foire aux questions (charte SACII)
   ============================================ */

.faq-hero {
    position: relative;
    overflow: hidden;
}

.faq-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent);
    pointer-events: none;
}

.faq-hero-inner {
    position: relative;
    z-index: 1;
}

.faq-hero-icon-wrap {
    margin-bottom: 1rem;
}

.faq-hero-icon {
    font-size: 3rem;
    opacity: 0.95;
    animation: faqIconPulse 2.5s ease-in-out infinite;
}

@keyframes faqIconPulse {
    0%, 100% { opacity: 0.95; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.faq-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.faq-hero-lead {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Révélation au chargement */
.fade-in-on-scroll {
    opacity: 0;
    animation: faqFadeInUp 0.6s var(--motion-easing-decelerate) forwards;
}

.fade-in-on-scroll[data-delay="1"] { animation-delay: 0.05s; }
.fade-in-on-scroll[data-delay="2"] { animation-delay: 0.15s; }
.fade-in-on-scroll[data-delay="3"] { animation-delay: 0.25s; }
.fade-in-on-scroll[data-delay="4"] { animation-delay: 0.35s; }
.fade-in-on-scroll[data-delay="5"] { animation-delay: 0.45s; }

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

.faq-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #fff 100%);
}

.faq-contact-link {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.faq-contact-link:hover {
    color: var(--color-tertiary);
    text-decoration: underline;
}

.faq-group {
    margin-bottom: 3rem;
}

.faq-group:last-of-type {
    margin-bottom: 0;
}

.faq-group-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--color-tertiary);
}

.faq-group-icon {
    font-size: 1.25rem;
    opacity: 0.9;
}

.faq-accordion {
    --bs-accordion-border-color: rgba(115, 24, 32, 0.15);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(115, 24, 32, 0.2);
    --bs-accordion-active-bg: rgba(115, 24, 32, 0.06);
    --bs-accordion-active-color: var(--color-primary);
}

.faq-accordion-item {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 4px 12px rgba(115, 24, 32, 0.08);
    border-color: rgba(115, 24, 32, 0.2);
}

.faq-accordion-item:last-child {
    margin-bottom: 0;
}

.faq-accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    background: #fff !important;
    padding: 1rem 1.25rem;
    transition: color 0.2s ease, background 0.2s ease;
}

.faq-accordion-button:not(.collapsed) {
    color: var(--color-primary) !important;
    background: rgba(115, 24, 32, 0.05) !important;
}

.faq-accordion-button::after {
    display: none;
}

.faq-accordion-button .faq-question-text {
    flex: 1;
    text-align: left;
}

.faq-accordion-chevron {
    font-size: 0.85rem;
    margin-left: 0.5rem;
    transition: transform 0.35s var(--motion-easing-standard);
    color: var(--color-primary);
}

.faq-accordion-button:not(.collapsed) .faq-accordion-chevron {
    transform: rotate(180deg);
}

.faq-accordion-body {
    padding: 1rem 1.25rem 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #444;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(248, 249, 250, 0.8);
}

.faq-accordion .accordion-collapse {
    transition: height 0.35s var(--motion-easing-standard);
}

.faq-cta-wrapper {
    padding-top: 1rem;
}

.faq-cta-btn {
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.faq-cta-btn:hover {
    background: #5a1319;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(115, 24, 32, 0.3);
}

.py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}
.py-7 {
    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;
}
.py-8 {
    padding-top: 5.5rem !important;
    padding-bottom: 5.5rem !important;
}
.py-9 {
    padding-top: 6.5rem !important;
    padding-bottom: 6.5rem !important;
}
.py-10 {
    padding-top: 7.5rem !important;
    padding-bottom: 7.5rem !important;
}
.py-11 {
    padding-top: 8.5rem !important;
    padding-bottom: 8.5rem !important;
}
.py-12 {
    padding-top: 9.5rem !important;
    padding-bottom: 9.5rem !important;
}
.mt-6 {
    margin-top: 3.5rem !important;
}
.mt-7 {
    margin-top: 4.5rem !important;
}
.mt-8 {
    margin-top: 5.5rem !important;
}
.mt-9 {
    margin-top: 6.5rem !important;
}
.mt-10 {
    margin-top: 7.5rem !important;
}
.mt-11 {
    margin-top: 8.5rem !important;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-hero-icon {
        font-size: 2.5rem;
    }

    .faq-hero-lead {
        font-size: 1rem;
    }

    .faq-group-title {
        font-size: 1.2rem;
        flex-wrap: wrap;
    }

    .faq-accordion-button {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .faq-accordion-body {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .faq-cta-wrapper .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem !important;
    }

    .faq-cta-wrapper .btn-lg.ms-2,
    .faq-cta-wrapper .btn-lg.ms-md-3 {
        margin-left: 0 !important;
    }
}

/* ============================================
   PAGE ENTREPRISES & INVESTISSEURS
   Landing page orientée conversion
   ============================================ */

.ei-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.ei-sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ei-sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-tertiary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(213, 109, 32, 0.4);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.ei-sticky-cta-btn:hover {
    background: #c25d1a;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(213, 109, 32, 0.5);
}

/* Hero */
.ei-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    margin-top: 4px;
}

.ei-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ei-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.ei-hero-content {
    position: relative;
    z-index: 2;
}

.ei-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.ei-hero-lead {
    font-size: 1.2rem;
    opacity: 0.95;
}

.ei-btn-primary {
    background: var(--color-tertiary);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s, transform 0.2s;
}

.ei-btn-primary:hover {
    background: #c25d1a;
    color: #fff;
    transform: translateY(-2px);
}

.ei-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.ei-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

.ei-btn-outline {
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.ei-btn-outline:hover {
    background: var(--color-primary);
    color: #fff;
}

/* Sections */
.ei-section {
    scroll-margin-top: 100px;
}

.ei-section-light {
    background: #f8f9fa;
}

.ei-section-stats {
    background: #fff;
}

.ei-section-form {
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.ei-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}

.ei-section-intro {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Pourquoi participer */
.ei-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ei-value-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ei-value-list li:last-child {
    border-bottom: none;
}

.ei-list-icon {
    color: var(--color-tertiary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Stats cards */
.ei-stats-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ei-stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.ei-stats-card-featured {
    border: 2px solid var(--color-tertiary);
}

.ei-stats-card-header {
    background: var(--color-primary);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ei-stats-year {
    font-size: 1.5rem;
    font-weight: 700;
}

.ei-stats-badge {
    font-size: 0.75rem;
    background: var(--color-tertiary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.ei-stats-card-body {
    padding: 1.25rem;
}

.ei-stats-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.ei-stats-metric:last-child {
    border-bottom: none;
}

.ei-stats-icon {
    color: var(--color-tertiary);
    font-size: 1.25rem;
}

.ei-stats-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.ei-stats-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Opportunités - Bandes full-width immersives */
.ei-opp-section {
    margin: 0;
    padding: 0;
}

.ei-opp-intro {
    padding: 3rem 1rem 2rem;
}

.ei-opp-band {
    margin: 0;
    padding: 0;
    min-height: 400px;
    display: flex;
    align-items: stretch;
}

.ei-opp-band-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 400px;
}

.ei-opp-band-text-right .ei-opp-band-inner {
    direction: rtl;
}

.ei-opp-band-text-right .ei-opp-text-col,
.ei-opp-band-text-right .ei-opp-img-col {
    direction: ltr;
}

.ei-opp-text-col {
    display: flex;
    align-items: center;
    padding: 3rem 4rem;
}

.ei-opp-content {
    max-width: 520px;
}

.ei-opp-icon-wrap {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.ei-opp-band:hover .ei-opp-icon-wrap {
    transform: scale(1.05);
}

.ei-opp-icon {
    font-size: 1.5rem;
}

.ei-opp-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ei-opp-desc {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.ei-opp-cta {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.25s ease, opacity 0.25s ease;
}

.ei-opp-cta:hover {
    opacity: 0.9;
}

/* Thème rouge */
.ei-opp-band-red {
    background: var(--color-primary);
}

.ei-opp-band-red .ei-opp-text-col {
    background: var(--color-primary);
}

.ei-opp-band-red .ei-opp-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ei-opp-band-red .ei-opp-title,
.ei-opp-band-red .ei-opp-desc,
.ei-opp-band-red .ei-opp-cta {
    color: #fff;
}

.ei-opp-band-red .ei-opp-cta:hover {
    color: rgba(255, 255, 255, 0.95);
}

/* Thème clair */
.ei-opp-band-light {
    background: #f8f9fa;
}

.ei-opp-band-light .ei-opp-text-col {
    background: #f8f9fa;
}

.ei-opp-band-light .ei-opp-icon-wrap {
    background: var(--color-primary);
    color: #fff;
}

.ei-opp-band-light .ei-opp-title {
    color: var(--color-primary);
}

.ei-opp-band-light .ei-opp-desc {
    color: #495057;
}

.ei-opp-band-light .ei-opp-cta {
    color: var(--color-tertiary);
}

/* Thème gradient */
.ei-opp-band-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #5a1319 100%);
}

.ei-opp-band-gradient .ei-opp-text-col {
    background: transparent;
}

.ei-opp-band-gradient .ei-opp-icon-wrap {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.ei-opp-band-gradient .ei-opp-title,
.ei-opp-band-gradient .ei-opp-desc,
.ei-opp-band-gradient .ei-opp-cta {
    color: #fff;
}

/* Thème image + overlay */
.ei-opp-band-image-overlay {
    position: relative;
}

.ei-opp-band-image-overlay .ei-opp-text-col {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ei-opp-band-text-right.ei-opp-band-image-overlay .ei-opp-text-col {
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.ei-opp-band-image-overlay .ei-opp-icon-wrap {
    background: var(--color-tertiary);
    color: #fff;
}

.ei-opp-band-image-overlay .ei-opp-title,
.ei-opp-band-image-overlay .ei-opp-desc,
.ei-opp-band-image-overlay .ei-opp-cta {
    color: #fff;
}

.ei-opp-band-image-overlay .ei-opp-img-overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Colonne image */
.ei-opp-img-col {
    position: relative;
    min-height: 400px;
}

.ei-opp-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ei-opp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ei-opp-band:hover .ei-opp-img {
    transform: scale(1.03);
}

.ei-opp-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.ei-opp-band-light .ei-opp-img-overlay,
.ei-opp-band-red .ei-opp-img-overlay {
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.ei-opp-band-text-right .ei-opp-band-light .ei-opp-img-overlay,
.ei-opp-band-text-right .ei-opp-band-red .ei-opp-img-overlay {
    background: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.ei-opp-band-gradient .ei-opp-img-overlay {
    background: rgba(115, 24, 32, 0.5);
}

/* Animation reveal */
.ei-opp-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ei-opp-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .ei-opp-reveal {
        opacity: 1;
        transform: none;
    }
}

/* Indicateur de progression scroll */
.ei-opp-scroll-progress {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1032;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ei-opp-scroll-progress.active {
    opacity: 1;
}

.ei-opp-scroll-progress-bar {
    height: 100%;
    background: var(--color-tertiary);
    width: 0%;
    transition: width 0.1s ease;
}

/* Responsive opportunités */
@media (max-width: 991px) {
    .ei-opp-band-inner {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .ei-opp-band-text-right .ei-opp-band-inner {
        direction: ltr;
    }

    .ei-opp-text-col {
        order: 2;
        padding: 2rem 1.5rem;
    }

    .ei-opp-img-col {
        order: 1;
        min-height: 280px;
    }

    .ei-opp-content {
        max-width: none;
    }

    .ei-opp-band-light .ei-opp-img-overlay,
    .ei-opp-band-red .ei-opp-img-overlay {
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    }
}

@media (max-width: 575px) {
    .ei-opp-text-col {
        padding: 1.5rem 1rem;
    }

    .ei-opp-title {
        font-size: 1.4rem;
    }

    .ei-opp-img-col {
        min-height: 220px;
    }
}

/* Formulaire */
.ei-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.ei-form-block {
    margin-bottom: 2rem;
}

.ei-form-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.ei-form-success {
    padding: 3rem 2rem;
    border-radius: 12px;
}

.ei-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ei-radio-option {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.ei-radio-option:hover {
    border-color: var(--color-tertiary);
}

.ei-radio-option input {
    margin: 0;
}

.ei-radio-option input:checked + span {
    font-weight: 600;
}

.ei-radio-option:has(input:checked) {
    border-color: var(--color-tertiary);
    background: rgba(213, 109, 32, 0.08);
}

@media (max-width: 991px) {
    .ei-hero {
        min-height: 60vh;
    }

    .ei-opp-image {
        height: 220px;
    }
}

@media (max-width: 575px) {
    .ei-sticky-cta {
        bottom: 16px;
        right: 16px;
    }

    .ei-sticky-cta-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .ei-form {
        padding: 1.25rem;
    }

    .ei-radio-group {
        flex-direction: column;
    }
}

/* ============================================
   PAGE SPONSORS & COMMANDITES
   Landing page orientée conversion
   ============================================ */

.sc-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.sc-sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.sc-sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--color-tertiary);
    color: #fff !important;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(213, 109, 32, 0.4);
    transition: background 0.2s, transform 0.2s;
}
.sc-sticky-cta-btn:hover {
    background: #c25d1a;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Hero */
.sc-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    margin-top: 4px;
}
.sc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.sc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.85) 0%, rgba(0, 0, 0, 0.7) 100%);
}
.sc-hero-content { position: relative; z-index: 2; }
.sc-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.sc-hero-lead { font-size: 1.2rem; opacity: 0.95; }
.sc-btn-primary {
    background: var(--color-tertiary);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s, transform 0.2s;
}
.sc-btn-primary:hover {
    background: #c25d1a;
    color: #fff;
    transform: translateY(-2px);
}
.sc-btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Sections */
.sc-section { scroll-margin-top: 100px; }
.sc-section-light { background: #f8f9fa; }
.sc-section-cta {
    background: var(--color-primary);
}
.sc-btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.sc-btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}
.sc-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}
.sc-section-cta .sc-section-title { color: #fff; }
.sc-section-intro { font-size: 1.1rem; color: #6c757d; }

/* Pourquoi sponsoriser */
.sc-value-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sc-value-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.sc-value-list li:last-child { border-bottom: none; }
.sc-list-icon {
    color: var(--color-tertiary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Profil visiteurs - grid collée, image + titre */
.sc-section-profiles { background: #fff; }
.sc-profiles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.sc-profile-card {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sc-profile-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.sc-profile-image-wrap {
    position: relative;
    flex: 1;
    min-height: 140px;
    overflow: hidden;
}
.sc-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.sc-profile-card:hover .sc-profile-image {
    transform: scale(1.05);
}
.sc-profile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--profile-color) 0%, transparent 60%);
    opacity: 0.85;
}
.sc-profile-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 0.75rem;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    background: var(--profile-color);
    z-index: 2;
}

/* Options commandites */
.sc-offre-card {
    position: relative;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}
.sc-offre-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.sc-offre-recommended {
    border: 2px solid var(--color-tertiary);
}
.sc-offre-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--color-tertiary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}
.sc-offre-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}
.sc-offre-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-tertiary);
    margin-bottom: 1rem;
}
.sc-offre-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}
.sc-offre-benefits li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

/* Sélection offre (mini cartes) */
.sc-select-offres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.sc-select-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.sc-select-card:hover {
    border-color: var(--color-tertiary);
}
.sc-select-card.selected {
    border-color: var(--color-tertiary);
    background: rgba(213, 109, 32, 0.08);
}
.sc-select-name { font-weight: 600; font-size: 0.95rem; }
.sc-select-price { font-size: 0.85rem; color: #6c757d; }

/* Formulaire */
.sc-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
.sc-form-offre-recap {
    background: #f8f9fa;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--color-tertiary);
}
.sc-form-block { margin-bottom: 2rem; }
.sc-form-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

@media (max-width: 991px) {
    .sc-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 575px) {
    .sc-profiles-grid {
        grid-template-columns: 1fr;
    }
    .sc-sticky-cta { bottom: 16px; right: 16px; }
    .sc-sticky-cta-btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
}

/* ============================================
   DIASPORA & IMMIGRATION (di-)
   ============================================ */
.di-sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1020;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.di-sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}
.di-sticky-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: var(--color-primary);
    color: white !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(115, 24, 32, 0.4);
}
.di-sticky-cta-btn:hover { color: white !important; background: #5a1319; }

.di-progress-wrap {
    position: fixed;
    top: 4px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(0,0,0,0.1);
    z-index: 1032;
}
.di-progress-bar {
    height: 100%;
    background: var(--color-tertiary);
    width: 0%;
    transition: width 0.1s linear;
}

.di-hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
}
.di-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.di-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}
.di-hero-content { position: relative; z-index: 2; }
.di-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}
.di-hero-lead { font-size: 1.2rem; opacity: 0.95; }
.di-btn-primary {
    background: var(--color-primary);
    color: white !important;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}
.di-btn-primary:hover { background: #5a1319; color: white !important; }
.di-btn-secondary {
    background: rgba(255,255,255,0.2);
    color: white !important;
    border: 2px solid white;
}
.di-btn-secondary:hover { background: rgba(255,255,255,0.3); color: white !important; }

.di-section { scroll-margin-top: 100px; }
.di-section-light { background: #f8f9fa; }
.di-section-cta {
    background: var(--color-primary);
}
.di-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
}
.di-section-cta .di-section-title { color: #fff; }
.di-section-intro { font-size: 1.1rem; color: #6c757d; }

/* Ce que vous trouverez - blocs alternés, sans gap */
.di-section-value { background: #fff; }
.di-value-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
}
.di-value-block.di-value-reverse {
    direction: rtl;
}
.di-value-block.di-value-reverse > * { direction: ltr; }
.di-value-content {
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
    background: #f8f9fa;
}
.di-value-reverse .di-value-content { background: #fff; }
.di-value-reverse .di-value-image-wrap { background: #f8f9fa; }
.di-value-inner { max-width: 520px; }
.di-badge-certified {
    display: inline-block;
    background: var(--color-tertiary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.di-value-title { font-size: 1.35rem; font-weight: 700; color: var(--color-primary); margin-bottom: 0.75rem; }
.di-value-text { color: #555; line-height: 1.7; margin: 0; }
.di-value-image-wrap {
    overflow: hidden;
    position: relative;
}
.di-value-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pourquoi participer */
.di-why-card {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
}
.di-why-icon {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}
.di-why-title { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 0.5rem; }
.di-why-text { font-size: 0.95rem; color: #6c757d; margin: 0; }

/* Formulaire */
.di-section-form { background: #f8f9fa; }
.di-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.di-form-block { margin-bottom: 2rem; }
.di-form-block-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}
.di-form-success { padding: 2rem; }

@media (max-width: 991px) {
    .di-value-block {
        grid-template-columns: 1fr;
        min-height: auto;
        direction: ltr;
    }
    .di-value-block.di-value-reverse { direction: ltr; }
    .di-value-content { padding: 2rem 1.5rem; }
    .di-value-image-wrap { min-height: 220px; }
}
@media (max-width: 575px) {
    .di-sticky-cta { bottom: 16px; right: 16px; }
    .di-sticky-cta-btn { padding: 0.6rem 1rem; font-size: 0.9rem; }
}

/* ============================================
   BANDEAU STRATÉGIQUE (toutes les pages, avant footer)
   ============================================ */
.sacii-strategic-cta {
    position: relative;
    overflow: hidden;
    margin-top: 0;
}
.sacii-strategic-cta-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/banner/SACII-DSCF1957-scaled.jpg');
    background-size: cover;
    background-position: center;
}
.sacii-strategic-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(115, 24, 32, 0.92) 0%, rgba(0, 0, 0, 0.88) 100%);
}
.sacii-strategic-cta .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}
.sacii-strategic-cta-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.9;
}
.sacii-strategic-cta-title {
    font-size: clamp(1.35rem, 3.5vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}
.sacii-strategic-cta-lead {
    font-size: 1.05rem;
    opacity: 0.92;
    max-width: 640px;
}
.sacii-strategic-cta-btn {
    background: var(--color-tertiary);
    color: #fff !important;
    border: none;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.sacii-strategic-cta-btn:hover {
    background: #c45e1a;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* ============================================
   PAGE À PROPOS — TIMELINE HISTOIRE
   ============================================ */
.about-histoire-section {
    border-bottom: 1px solid #eee;
}
.about-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 1rem 0 2rem;
}
.about-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--color-primary), var(--color-tertiary));
    border-radius: 4px;
    transform: translateX(-50%);
    z-index: 0;
}
.about-timeline-item {
    position: relative;
    width: 50%;
    padding: 1.25rem 2rem;
    box-sizing: border-box;
    z-index: 1;
}
.about-timeline-item--left {
    left: 0;
    text-align: right;
    padding-right: 2.5rem;
}
.about-timeline-item--right {
    left: 50%;
    text-align: left;
    padding-left: 2.5rem;
}
.about-timeline-dot {
    position: absolute;
    top: 2rem;
    width: 18px;
    height: 18px;
    background: var(--color-tertiary);
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--color-primary);
    z-index: 2;
}
.about-timeline-item--left .about-timeline-dot {
    right: -9px;
    transform: translateX(50%);
}
.about-timeline-item--right .about-timeline-dot {
    left: -9px;
    transform: translateX(-50%);
}
.about-timeline-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    border: 1px solid rgba(115,24,32,0.08);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.about-timeline-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.about-timeline-img-col {
    min-height: 180px;
}
.about-timeline-img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}
.about-timeline-body {
    padding: 1.25rem 1.5rem;
}
.about-timeline-year {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-right: 0.5rem;
}
.about-timeline-meta {
    font-size: 0.9rem;
    color: #6c757d;
}
.about-timeline-desc {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #444;
}
@media (max-width: 767px) {
    .about-timeline::before {
        left: 14px;
        transform: none;
    }
    .about-timeline-item,
    .about-timeline-item--left,
    .about-timeline-item--right {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 1rem 1rem 1rem 2.75rem;
    }
    .about-timeline-item--left .about-timeline-dot,
    .about-timeline-item--right .about-timeline-dot {
        left: 5px;
        right: auto;
        transform: none;
    }
}

/* ============================================
   PAGE CHOIX DE PARCOURS
   ============================================ */
.parcours-choix-section {
    background: #f8f9fa;
}
.parcours-choix-section .parcours-choix-card {
    opacity: 0;
}
.parcours-choix-section .parcours-choix-card.is-visible {
    opacity: 1;
}
.parcours-choix-card {
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.parcours-choix-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.parcours-choix-card-inner {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    height: 100%;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}
.parcours-choix-card--primary .parcours-choix-card-inner {
    border-color: rgba(115, 24, 32, 0.25);
}
.parcours-choix-card--primary .parcours-choix-icon-wrap {
    color: var(--color-primary);
}
.parcours-choix-card--tertiary .parcours-choix-card-inner {
    border-color: rgba(213, 109, 32, 0.35);
}
.parcours-choix-card--tertiary .parcours-choix-icon-wrap {
    color: var(--color-tertiary);
}
.parcours-choix-card--deep .parcours-choix-card-inner {
    border-color: rgba(0, 0, 0, 0.12);
}
.parcours-choix-card--deep .parcours-choix-icon-wrap {
    color: #2c3e50;
}
.parcours-choix-icon-wrap {
    font-size: 2.5rem;
}
.parcours-choix-title {
    color: #1a1a1a;
    font-weight: 700;
}
.parcours-choix-text {
    color: #5a5a5a;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}
.parcours-choix-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.95rem;
}
.parcours-choix-card:hover .parcours-choix-link {
    text-decoration: underline;
}

/* Scroll reveal (choix parcours) */
.parcours-choix-section .parcours-choix-card.is-visible {
    animation: parcoursFadeUp 0.55s ease forwards;
}
@keyframes parcoursFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
