/***********************/
/* CSS du site vitrine */
/***********************/

@font-face {
    font-family: "Montserrat";
    src: url("../assets/fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Version REGULAR */
@font-face {
    font-family: 'MontserratAlternates';
    src: url('../assets/fonts/MontserratAlternates-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Version LIGHT */
@font-face {
    font-family: 'MontserratAlternates';
    src: url('../assets/fonts/MontserratAlternates-Light.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/* Version BOLD (Gras) */
@font-face {
    font-family: 'MontserratAlternates';
    src: url('../assets/fonts/MontserratAlternates-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

/* Version EXTRABOLD */
@font-face {
    font-family: 'MontserratAlternates';
    src: url('../assets/fonts/MontserratAlternates-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}


html, body {
    max-width: 100%;
    overflow-x: clip; /* Empêche le scroll horizontal sans casser le sticky comme le ferait hidden sur certains navigateurs */
}

:root {
    /* Font sizes en rem */
    --fs-12: 0.75rem; /* 12px */
    --fs-14: 0.875rem; /* 14px */
    --fs-16: 1rem; /* 16px */
    --fs-18: 1.125rem; /* 18px */
    --fs-20: 1.25rem; /* 20px */
    --fs-24: 1.5rem; /* 24px */
    --fs-30: 1.875rem; /* 30px */
    --fs-36: 2.25rem; /* 36px */
    --fs-48: 3rem; /* 48px */
    --fs-80: 5rem; /* 80px */

    /* Border radius */
    --bd-radius: 8px;
    --bd-radius-full: 9999px;

    /* Couleurs */
    --color-primary: #BC3AB0;
    --color-primary-text-secondary: rgb(90 43 145 / 0.5);
    --color-primary-background-secondary: rgb(90 43 145 / 0.1);
    --color-primary-background-secondary-hover: rgb(90 43 145 / 0.05);
    --color-primary-dark: #721378;
    --color-primary-light: #5A2B91;
    --primary-soft: #fdf2ff;

    --color-secondary: #F26A2E;
    --color-secondary-dark: #F26A2E;
    --color-secondary-light: #F26A2E;

    --color-third: #FBCD76;
    --color-third-dark: #FBCD76;
    --color-third-light: #FBCD76;

    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;

    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    --color-white: #ffffff;
    --color-black: #000000;

    /* Couleurs background et text */
    --bg-primary: var(--color-primary);
    --bg-secondary: var(--color-white);
    --text-primary: var(--color-white);
    --text-secondary: var(--color-primary);
    --text-muted: var(--color-gray-400);
}

.all-screen {
    height: 100vh;
}

.location-search {
    height: 55vh;
}

#header.fixed-top {
    background: transparent !important;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050; /* S'assure d'être au dessus de tout */
}


#header.fixed-top.scrolled {
    background: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding-top: 0;
    padding-bottom: 0;
}

#header.fixed-top.scrolled .navbar-brand {
    width: 110px;
}

#header.fixed-top .nav-link-custom {
    color: var(--color-gray-900);
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 5px;
}

#header.fixed-top .nav-link-custom:hover {
    color: var(--color-primary);
    background: rgba(188, 58, 176, 0.05);
}

#header.fixed-top .nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

@media (max-width: 991.98px) {
    #header.fixed-top .nav-link-custom::after {
        display: none;
    }
    
    #header.fixed-top .navbar-collapse {
        background: white;
        margin: 0 -1rem;
        padding: 1rem;
        border-bottom: 1px solid var(--color-gray-200);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        max-height: 80vh;
        overflow-y: auto;
    }

    #header.fixed-top.scrolled .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(15px);
    }
}

/* On masque la flèche Bootstrap par défaut sans bloquer l'animation ::after */
.no-caret::after, .no-caret::before {
    background-image: none !important;
    border: none !important;
}

#header.fixed-top .nav-link-custom:hover::after {
    width: 20px;
}

#header.fixed-top .dropdown-menu {
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    margin-top: 10px !important;
    min-width: 220px;
}

#header.fixed-top .dropdown-item {
    font-weight: 600;
    color: var(--color-gray-700);
    transition: all 0.2s ease;
}

#header.fixed-top .dropdown-item:hover {
    background-color: var(--color-primary-background-secondary);
    color: var(--color-primary);
    transform: translateX(5px);
}

.btn-primary-iwd {
    background-color: var(--color-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 99px;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 15px rgba(188, 58, 176, 0.2);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-iwd:hover {
    background-color: var(--color-primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(188, 58, 176, 0.3);
}

#header.fixed-top .navbar-brand {
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* responsive facile (Nettoyage pour navbar Bootstrap) */
.mode-tablette, .mode-mobile {
    display: none !important;
}

@media (min-width: 1024px) {
    #main {
        padding: 0 5%;
    }

    .w-lg-25 {
        width: 25%;
    }
}

/* for all sections */
#main {
    padding: 0;
}

.pt-6 {
    padding-top: 5rem !important;
}

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

.search-main-container {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

.title h1 {
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 800;
    font-size: 80px; /* Taille généreuse comme sur le design */
    line-height: 1.1; /* Interligne serré pour l'effet compact */
    letter-spacing: -2px; /* IMPORTANT : rapproche les lettres comme sur l'image */
    color: var(--gray-900); /* Le noir très sombre du design */
    animation: fadeInUp 0.8s ease-out forwards;

}

/* Vos deux couleurs spécifiques */
.text-gradient-design {
    /* On crée un grand cercle lumineux qui part du centre haut */
    background: radial-gradient(
            circle at 50% 0%,
            #FAD395 0%, /* Rose/Blanc très clair au point d'impact */ var(--color-primary) 50%, /* Ta couleur violette principale */ var(--color-primary-dark) 100% /* Une nuance plus sombre sur les bords lointains */
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.title h2 {
    font-size: 38px;
    text-transform: uppercase;
}

.title p {
    font-size: 22px;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0; /* Caché au début */
}


/* #presentation-appli & presentation-appli__past (sitemap) */
#form-search .group-header-input,
#form-search__past .group-header-input {
    gap: 10px;
    flex-direction: row;
}

@media (max-width: 1024px) {
    #form-search .group-header-input,
    #form-search__past .group-header-input {
        flex-direction: column;
        gap: 10px;
    }

    .title p {
        font-size: 16px;
    }
}

#form-search .input-group,
#form-search__past .input-group {
    background-color: var(--color-primary-background-secondary);
    border-radius: var(--bd-radius);
    appearance: none;
    height: 44px;
}

#form-search .input-group:hover,
#form-search__past .input-group:hover {
    background-color: var(--color-primary-background-secondary-hover);
}

#form-search .input-group-text, #form-search .form-control,
#form-search__past .input-group-text, #form-search__past .form-control {
    border: none;
    background-color: transparent;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

#form-search .input-group-text,
#form-search__past .input-group-text {
    background-color: transparent;
    padding: 0 5px 0 10px;
}

#form-search div.separator,
#form-search__past div.separator {
    width: 20px;
}

#form-search input[type="date"]::-webkit-inner-spin-button, #form-search input[type="date"]::-webkit-calendar-picker-indicator,
#form-search__past input[type="date"]::-webkit-inner-spin-button, #form-search__past input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

#some-kpi div.separator {
    width: 140px;
}

#some-kpi .kpi p {
    margin-bottom: 0;
}

#some-kpi .kpi p.detail {
    font-size: var(--fs-36);
    font-weight: 800;
}

#some-kpi .kpi p.title {
    font-size: var(--fs-16);
    color: var(--color-primary-text-secondary);
}

/* #liste-style_danse */
#liste-style_danse a {
    color: black;
    text-decoration: none;
    border: 1px solid #808080;
    border-radius: 6px;
    display: block;
    cursor: pointer;
}

#liste-style_danse a:hover *, #liste-style_danse a.show * {
    color: white;
}

#liste-style_danse a:hover, #liste-style_danse a.show {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* #selection-programme */
#selection-programme div.programme {
    color: black;
    text-decoration: none;
    border-radius: 6px;
}

#selection-programme div.programme div.body {
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#selection-programme div.programme p.description {
    color: #808080;
}

#liste-evenement a.evenement,
#liste-evenement__past a.evenement {
    display: block;
    color: #1a1a1a;
    text-decoration: none;
    background-color: #ffffff;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04),
    0 4px 6px -4px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

/* --- Effet au Survol (Hover) --- */
#liste-evenement a.evenement:hover,
#liste-evenement__past a.evenement:hover {

    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(157, 48, 154, 0.2);
}

/* --- Style pour les événements passés (Variante) --- */
#liste-evenement__past a.evenement {
    filter: grayscale(0.4); /* Légère désaturation */
    opacity: 0.85;
}

#liste-evenement__past a.evenement:hover {
    filter: grayscale(0); /* Reprend ses couleurs au survol */
    opacity: 1;
}

a.evenement img {
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    transform: scale(1);
    will-change: transform; /* Optimisation GPU */
}

a.evenement:hover img {
    transform: scale(1.05);
}

a.evenement p.description {
    color: #808080 !important;
}


/* Optionnel : Délai pour chaque carte si tu peux injecter un style inline en PHP/JS */
/* Exemple : style="animation-delay: 0.1s" */

/* #form-contact */
#form-contact {

}

#form-contact * {
    color: white;
}

/* event-all_info */
#event-all_info .shadow {
    border-radius: 5px;
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#event-all_info .champ {
    border-radius: 5px;
    background-color: #5a2b9121;
    text-decoration: none;
    color: var(--color-primary);
}

/* #other-events */
#other-events a.evenement {
    color: black;
    text-decoration: none;
    border-radius: 6px;
}

#other-events a.evenement div.body {
    -webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

#other-events a.evenement p.description {
    color: #808080 !important;
}

/*-------------------
        FOOTER
 ------------------*/

/* Import de la police si non fait en HTML */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

:root {
    --f-bg: #fdfdfd; /* Un blanc cassé très léger pour plus de classe */
    --f-text: #1a1a1a;
    --f-text-light: #7f8c8d;
    --f-accent: #000;
    --f-font: 'Montserrat', sans-serif;
}

.site-footer {
    background-color: var(--f-bg);
    color: var(--f-text);
    padding: 80px 0 40px 0;
    font-family: var(--f-font);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

/* Titres stylisés */
.footer-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--f-text);
    text-decoration: none;
    transition: 0.3s;
}

.footer-title:hover {
    color: var(--f-text-light);
}

/* Listes et Animation de soulignement */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: var(--f-text-light);
    font-size: 0.85rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.3s;
}

/* L'effet de barre sous le lien */
.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--f-accent);
    transition: width 0.3s ease-in-out;
}

.footer-links a:hover {
    color: var(--f-accent);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Séparateur minimaliste */
.footer-line {
    border: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin: 20px 0 30px 0;
}

/* Bas du footer */
.footer-logo {
    max-height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.copyright-text {
    font-size: 0.8rem;
    color: var(--f-text-light);
    margin-bottom: 12px;
}

.hms-link {
    font-weight: 600;
    text-decoration: none;
    color: var(--f-text);
}

.footer-sub-links {
    display: flex;
    gap: 25px;
}

.footer-sub-links a {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--f-text-light);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-sub-links a:hover {
    color: var(--f-accent);
}

.separator {
    margin: 0 10px;
    opacity: 0.3;
}

/* Adaptation Mobile */
@media (max-width: 768px) {
    .site-footer {
        padding: 50px 0 30px 0;
    }

    .footer-col {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 40px;
    }

    .footer-base {
        flex-direction: column;
        text-align: center;
    }

    .footer-sub-links {
        justify-content: center;
        margin-top: 15px;
    }
}

/******************************/
/* surcharge de CSS Bootstrap */
/******************************/

.btn {
    padding: 10px 20px;
    font-size: var(--fs-24);
}

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

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

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

.btn.btn-primary, .btn.text-primary:active, .btn.btn-primary:active {
    color: white !important;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn.text-primary:hover, .btn.btn-primary:hover {
    color: white !important;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn.btn-tertiary, .btn.btn-tertiary:active {
    color: white !important;
    background-color: #FBCD76;
    border-color: #FBCD76;
}

.btn.btn-tertiary:hover {
    color: white !important;
    background-color: #FFB31C;
    border-color: #FFB31C;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(157, 30, 179, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(157, 30, 179, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(157, 30, 179, 0);
    }
}


/* btn-primary-iwd */

:root {
    /* === COULEURS PRINCIPALES === */
    --color-primary: oklch(59.1% 0.293 322.896);
    --color-primary-dark: oklch(45.2% 0.211 324.591);
    --color-primary-background: oklch(59.1% 0.293 322.896 / 0.1);
    --color-text-primary: oklch(74% 0.238 322.16);
    --color-primary-table-dark: oklch(29.1% 0.149 302.717);
    --color-secondary: #FAD395;
    --color-secondary-background: #FAD3954D;
    --color-secondary-dark: #7E2A0C;

    --border-radius-base: 24px;

    /* === COULEURS SECONDAIRES === */
    --gray-100: #F5F5F4;
    --gray-500: #737373;
    --gray-900: #171717;
}

.btn-primary-iwd {
    border-radius: var(--border-radius-base);
    background-color: var(--color-primary-background);
    color: var(--color-primary);
    display: inline-block;
    padding: 8px 22px;
    font-weight: 500;
    text-decoration: none;
    transition: ransform 0.3s ease-in-out, background-color 0.3s;
}

.connexion-inscription {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.btn-primary-iwd:hover {
    background-color: var(--bg-primary);
    color: white;
    transform: scale(0.98);
}

.btn-langue {
    padding: 5px;
    width: 30px;
    height: 30px;
    border-radius: 50px;
}

/*!* --- Mise en page globale --- *!*/
/*#presentation-appli,*/
/*#presentation-appli__past {*/
/*    background: radial-gradient(circle at top right, #fdf2f8 0%, #ffffff 60%);*/
/*    padding: 80px 20px;*/
/*    min-height: 60vh;*/
/*}*/

/*#presentation-appli h1,*/
/*#presentation-appli__past h1 {*/
/*    font-size: 3.5rem;*/
/*    font-weight: 800;*/
/*    color: #1a1a1a;*/
/*    letter-spacing: -2px;*/
/*}*/

/*!* --- Barre de recherche "Capsule" --- *!*/
/*.group-header-input {*/
/*    background: #ffffff;*/
/*    border-radius: 100px;*/
/*    padding: 8px 8px 8px 30px;*/
/*    box-shadow: 0 15px 40px rgba(185, 58, 157, 0.12);*/
/*    border: 1px solid rgba(0,0,0,0.03);*/
/*    display: inline-flex !important; !* Garde les éléments alignés *!*/
/*    align-items: center;*/
/*    gap: 0;*/
/*}*/

/*!* Style des blocs générés par PublicWebsite *!*/
/*.group-header-input .input-group {*/
/*    border: none;*/
/*    flex-direction: column;*/
/*    align-items: flex-start;*/
/*    padding: 0 25px;*/
/*    width: auto;*/
/*}*/

/*!* Masquer les icônes Bootstrap par défaut *!*/
/*.group-header-input .input-group-text {*/
/*    display: none;*/
/*}*/

/*!* Style des champs (Input & Select) *!*/
/*.group-header-input input.form-control,*/
/*.group-header-input select.form-control {*/
/*    border: none !important;*/
/*    background: transparent !important;*/
/*    box-shadow: none !important;*/
/*    padding: 0 !important;*/
/*    font-weight: 600;*/
/*    color: #1a1a1a;*/
/*    font-size: 16px;*/
/*    height: auto;*/
/*    width: 100%;*/
/*}*/

/*!* Séparateurs gris *!*/
/*.group-header-input .separator {*/
/*    width: 1px;*/
/*    height: 40px;*/
/*    background-color: #f0f0f0;*/
/*    margin: 0;*/
/*}*/

/*!* --- Bouton Rechercher (Rose Magenta) --- *!*/
button.btn-rechercher-iwd {
    background-color: #b93a9d;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 35px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(185, 58, 157, 0.4);
}

button.btn-rechercher-iwd:hover {
    transform: scale(1.05);
    background-color: #9d2e84;
}

/* --- KPI Stats --- */
#some-kpi .kpi .detail,
#kpi__past .kpi .detail {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: -5px;
}

#some-kpi .kpi .title,
#kpi__past .kpi .title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9ca3af;
    font-weight: 600;
}

/*----------------------
 PAGE MENTIONS LEGALES
 ----------------------*/

body {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth; /* Permet un défilement doux lors du clic sur le menu */
}

/* Style du menu de gauche */
.legal-nav .nav-link {
    color: #7f8c8d;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 10px 0;
    border-left: 2px solid transparent;
    padding-left: 15px;
    transition: all 0.3s ease;
}

.legal-nav .nav-link:hover,
.legal-nav .nav-link.active {
    color: #000;
    border-left: 2px solid #000;
    padding-left: 20px;
}

/* Style du contenu */
.legal-content h1, .legal-content h2 {
    letter-spacing: 2px;
    color: #1a1a1a;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.content-box {
    background: #fff;
    /* Optionnel : ajouter un léger ombrage ou bordure si besoin */
}

/* Ajustement pour le header fixed (si vous en avez un) */
section {
    scroll-margin-top: 100px; /* Évite que le titre soit caché sous le header lors du scroll */
}

/*-------------
  header form
 -------------*/

.search-main-container {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 100px; /* Forme pilule */
    padding: 10px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    max-width: 1000px;
}

.search-section {
    flex: 1;
    padding: 0 20px;
}

/* On neutralise les styles Bootstrap des fonctions PHP */
.search-section .input-group,
.search-section .input-group-text,
.search-section .form-control,
.search-section .form-select {
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: auto !important;
}

/* Style des labels générés dans le PHP */
.search-section label, .location-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 2px !important;
    display: block;
}

/* Alignement icône + input pour Localisation */
.section-loc .input-group {
    display: flex;
    align-items: center;
}

.section-loc i.bi-geo-alt-fill {
    color: #c2185b;
    margin-right: 8px;
    font-size: 1.2rem;
}

/* Séparateur vertical */
.v-separator {
    width: 1px;
    height: 40px;
    background-color: #eee;
}

/* --- CONFIGURATION DESKTOP --- */
@media (min-width: 993px) {
    .search-main-container {
        display: flex;
        align-items: center;
        background: #fff;
        border-radius: 100px;
        padding: 10px 30px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
        border: 1px solid #f0f0f0;
    }

    .search-main-container .custom-pill {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .v-separator {
        width: 1px;
        height: 50px;
        background-color: #eee;
        margin: 0 15px;
    }
}

/* --- CORRECTIF MOBILE : EMPILAGE VERTICAL COMPLET --- */
@media (max-width: 992px) {

    /* 1. On libère la section pour qu'elle puisse défiler verticalement */
    #presentation-appli.all-screen,
    #presentation-appli__past.all-screen {
        height: auto !important;
        min-height: 100vh;
        display: block !important; /* On casse le flex vertical qui écrase le contenu */
        padding: 60px 20px !important;
    }

    /* 2. On réduit le titre pour laisser de la place */
    .title h1 {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    /* 3. On force la barre à devenir une colonne de 100% de large */
    .search-main-container {
        flex-direction: column !important;
        background: transparent !important; /* On enlève le fond blanc global */
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 20px !important; /* Espace entre les blocs */
    }

    /* 4. Chaque section prend 100% */
    .search-section {
        width: 100% !important;
        padding: 0 !important;
    }

    /* 5. On recrée les pilules blanches pour chaque champ */
    .search-section .custom-pill {
        background: #fff !important;
        border: 1px solid #eee !important;
        border-radius: 15px !important;
        padding: 15px !important;
        width: 100% !important;
        display: flex !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
        min-height: 80px !important; /* Hauteur confortable pour le doigt */
    }

    /* 6. On annule les limites de largeur sur les conteneurs internes */
    .location-container {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* 7. On cache les traits verticaux */
    .v-separator {
        display: none !important;
    }

    /* 9. Ajustement du slider pour mobile */
    .section-range .custom-pill {
        flex-direction: row;
        align-items: center;
    }
}

/* Style du Slider (Magenta) */
.custom-range-purple {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #efefef;
    border-radius: 10px;
    outline: none;
}

.custom-range-purple::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: var(--color-primary-dark) !important;
    border: 3px solid #ffffff90;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

/*-------------------
Bouton header landing
 --------------------*/

/*-------------------
Bouton header landing Premium ANIMÉ
 --------------------*/
#form-search .btn-primary,
#form-search__past .btn-primary {
    position: relative;
    overflow: hidden;
    width: 65% !important;
    min-width: 280px;
    padding: 20px 40px !important;
    border-radius: 50px !important;
    font-family: 'MontserratAlternates', sans-serif;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff !important;

    background: linear-gradient(135deg, var(--color-primary), #ff4eb8, #5A2B91, var(--color-primary)) !important;
    background-size: 400% 400% !important;
    border: none !important;

    /* On combine les animations ici */
    animation: gradientMove 8s ease infinite,
    hero-button-pulse 3s infinite;

    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    cursor: pointer;
}

/* --- Animation Unique pour l'Ombre et le Glow --- */
@keyframes hero-button-pulse {
    0% {
        box-shadow: 0 10px 30px rgba(192, 0, 122, 0.4), 0 0 0 0 rgba(192, 0, 122, 0.5);
    }
    50% {
        /* L'ombre devient plus forte ET le halo s'élargit */
        box-shadow: 0 15px 45px rgba(192, 0, 122, 0.6), 0 0 0 15px rgba(192, 0, 122, 0);
    }
    100% {
        box-shadow: 0 10px 30px rgba(192, 0, 122, 0.4), 0 0 0 0 rgba(192, 0, 122, 0);
    }
}

/* Garde ton gradientMove tel quel */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


/* --- L'effet de reflet (Shimmer) --- */
#form-search .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 100%
    );
    transform: skewX(-25deg);
    transition: 0.8s;
}

#form-search__past .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 100%
    );
    transform: skewX(-25deg);
    transition: 0.8s;
}

/* --- Actions au Survol --- */
#form-search .btn-primary:hover {
    transform: translateY(-5px) scale(1.03);
    animation: gradientMove 2s linear infinite; /* Accélère le mouvement au survol */
    box-shadow: 0 20px 50px rgba(192, 0, 122, 0.7) !important;
}

#form-search .btn-primary:hover::before {
    left: 150%;
}

#form-search__past .btn-primary:hover::before {
    left: 150%;
}

/* Adaptation Mobile */
@media (max-width: 992px) {
    #form-search .btn-primary {
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 16px 20px !important;
        animation: gradientMove 10s ease infinite; /* Plus lent sur mobile pour économiser la batterie */
    }

    #form-search__past .btn-primary {
        width: 100% !important;
        font-size: 0.95rem !important;
        padding: 16px 20px !important;
        animation: gradientMove 10s ease infinite; /* Plus lent sur mobile pour économiser la batterie */
    }
}

/*--------------
 Input location
--------------*/

.location-container {
    font-family: 'Montserrat', sans-serif;
    max-width: 320px; /* Largeur ajustable */
}

/* Style du label "OÙ ?" */
.location-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #4b5563; /* Gris foncé bleuté */
    margin-bottom: 6px;
    margin-left: 12px;
    letter-spacing: 0.5px;
}

/* La capsule (le champ arrondi) */
.custom-pill {
    background-color: #ffffff !important;
    border: 1px solid #e5e7eb; /* Bordure très fine */
    border-radius: 50px !important; /* Forme pilule parfaite */
    padding: 4px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Effet au clic (focus) sur l'ensemble du champ */
.custom-pill:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

/* L'icône magenta */
.text-magenta {
    color: var(--color-primary-dark) !important; /* Magenta proche de ton image */
    font-size: 1.1rem;
}

/* L'input texte */
.custom-pill .form-control {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 500;
}

/* Couleur du texte d'aide (placeholder) */
.custom-pill .form-control::placeholder {
    color: #9ca3af;
    opacity: 0.8;
}

/*-------------
 Range header
--------------*/

.range-label {
    font-size: 1rem;
    color: var(--gray-900);
}

.input-group:has(.rayon-range-container) {
    border: 1px solid var(--gray-100);

}

.range-value {
    font-size: 1.1rem;
    color: var(--color-primary); /* Utilise ta variable #5A2B91 ou #b93a9d */
}

.range-limit {
    font-size: 0.9rem;
    opacity: 0.5;
}

/* Custom Range Styling */
.custom-range-purple {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 5px;
    outline: none;
}

/* Le bouton (Thumb) - Chrome/Safari */
.custom-range-purple::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease;
}

.custom-range-purple::-webkit-slider-thumb:active {
    transform: scale(1.2);
}

/* Le bouton (Thumb) - Firefox */
.custom-range-purple::-moz-range-thumb {
    width: 24px;
    height: 24px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

/*-----------
 input danse
---------- */

.custom-select-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    /* Flèche Chevron Magenta */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23c0007a' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;

    padding-right: 40px !important; /* Espace pour la flèche */
    cursor: pointer;
}

.custom-pill .form-control {
    padding-left: 5px !important; /* Petit espace après l'icône */
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-select-arrow option {
    padding: 15px !important;
    background-color: #ffffff;
    color: #333;
    font-size: 1rem;
}

/* Option sélectionnée dans la liste */
.custom-select-arrow option:checked {
    background-color: #fce7f3 !important; /* Fond rose très clair */
    color: #c0007a !important;
}

/*-------------
 hover global header input
------------- */

/* 1. On définit le comportement de la zone parente */
.location-container {
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    border-radius: 20px; /* Pour que le fond ne dépasse pas des arrondis */
    padding: 10px 15px !important; /* On donne un peu d'air à l'intérieur */
    margin: -10px -5px; /* On compense le padding pour ne pas bouger les éléments */
}

/* 2. L'effet au survol de la section entière */
.location-container:hover {
    background-color: rgba(192, 0, 122, 0.05) !important; /* Un voile magenta très léger */
}

/* 3. On anime les icônes à l'intérieur au survol du parent */
.location-container:hover i {
    transform: scale(1.1);
    color: #ff4eb8 !important; /* Le magenta s'illumine */
    transition: all 0.3s ease;
}

/* 4. On anime le label au survol */
.location-container:hover .location-label {
    color: #c0007a !important;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* 5. Optionnel : une ombre légère pour décoller la section */
.location-container:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/*-------------
 bg blur hero page
 --------------*/

/* Conteneur principal */
#presentation-appli {
    position: relative; /* Indispensable pour positionner les ronds */
    /*overflow: hidden; !* Empêche les débordements du flou *!*/
    background-color: #fff; /* Fond blanc de base */
    z-index: 1;
}

#presentation-appli__past {
    position: relative; /* Indispensable pour positionner les ronds */
    overflow: hidden; /* Empêche les débordements du flou */
    background-color: #fff; /* Fond blanc de base */
    z-index: 1;
}

/* Style commun aux deux ronds */
#presentation-appli::before, #presentation-appli::after,
#presentation-appli__past::before, #presentation-appli__past::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(60px); /* L'effet de flou */
    opacity: 0.5; /* Opacité légère pour ne pas gêner la lecture */
    z-index: -1; /* Place derrière le texte */
}

/* Animation de flottaison */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Rond Violet (en haut à gauche) */
#presentation-appli::before,
#presentation-appli__past::before {
    background-color: #FAD395; /* Violet selon ton image */
    top: -100px;
    left: -150px;
    animation: float 20s ease-in-out infinite;
}

/* Rond Jaune/Orange (en bas à droite) */
#presentation-appli::after,
#presentation-appli__past::after {
    background-color: var(--color-primary); /* Jaune/Ambre */
    bottom: -150px;
    right: -100px;
    opacity: 0.25;
    animation: float 15s ease-in-out infinite reverse; /* Sens inverse */
}

/*-------------
    btn event
 --------------*/

.btn-event {
    background-color: var(--color-primary-background) !important;
    color: var(--color-primary);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

/* HOVER : Utilise ta couleur foncée */
.btn-event:hover {
    background-color: var(--color-primary) !important; /* Ton #BC3AB0 */
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(188, 58, 176, 0.4);
}

/* ACTIVE : Effet de pression */
.btn-event:active {
    transform: scale(0.96);
    filter: brightness(0.9);
}

/* Bouton Outline (Plus d'information) */
.btn-event-outline {
    width: 100%;
    background: #fdf2f8; /* Fond rose très pâle */
    color: #BC3AB0;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-event-outline:hover {
    background: #fce7f3;
    transform: scale(1.02);
}

/* Force la majuscule sur la première lettre uniquement */
.capitalize-first {
    text-transform: lowercase !important;
}

.capitalize-first::first-letter {
    text-transform: uppercase !important;
}

/*===================
    CTA section
====================*/

/* Container principal avec le dégradé de l'image */
.cta-dance-section {
    background: linear-gradient(90deg, #B538AE 0%, #7A26A9 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.cta-container {
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

/* --- Bouton Principal (L'action prioritaire) --- */
.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #FAD395;
    color: #2d1b4d; /* Un bleu/violet très foncé pour un meilleur contraste que #333 */
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.btn-main:hover {
    transform: translateY(-2px); /* Effet d'élévation */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: #FAD39595; /* Blanchit légèrement pour montrer l'interaction */
    color: #000;
}

.btn-main:active {
    transform: translateY(0) scale(0.96); /* Effet de pression physique */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* --- Bouton Secondaire (Le lien "En savoir plus") --- */
.btn-link {
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Bordure discrète */
    background: rgba(255, 255, 255, 0.05); /* Fond très légèrement blanc */
    backdrop-filter: blur(5px); /* Optionnel : floute le fond pour un effet premium */
}

.btn-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-link:hover {
    background: rgba(255, 255, 255, 0.2); /* S'illumine au survol */
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-link:hover i {
    transform: translateX(5px); /* Anime la flèche vers la droite */
}

/* --- Accessibilité Focus --- */
.btn-main:focus-visible, .btn-link:focus-visible {
    outline: 3px solid #FAD395;
    outline-offset: 4px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .cta-title {
        font-size: 1.8rem;
    }

    .btn-main {
        width: 100%;
        margin-bottom: 15px;
    }
}

/*===================
  Nom de la section
====================*/

.title-section {
    text-align: left; /* Aligné à gauche comme sur l'image */
}

.main-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

/* L'effet de dégradé sur le texte */
.gradient-text {
    background: linear-gradient(90deg, #9d309a 0%, #f7a072 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.subtitle {
    font-size: 1rem;
    color: #64748b; /* Un gris bleuté doux comme sur l'image */
    max-width: 700px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 0;
}

/* Adaptabilité mobile */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}

/*======================
    DATE SECTION EVENT
=======================*/

/* 1. Le parent doit permettre le sticky */
.day-wrapper {
    position: relative;
    width: 100%;
    transition: all 0.5s ease;
    padding: 15px;
    border-radius: 24px;
    /* On s'assure qu'aucun parent ne bloque le sticky */
    overflow: visible!important;
}

#main.container-fluid,
#main .container,
#main .row,
section#liste-evenement,
section#liste-evenement .row {
    overflow: visible!important;
}

/* Mise en évidence de toute la section quand la date est fixée */
.day-wrapper.is-stuck-section {
    background-color: var(--primary-soft);
    box-shadow: 0 10px 30px rgba(188, 58, 176, 0.05);
}

.day-wrapper:hover {
    background-color: var(--primary-soft);
    box-shadow: 0 10px 30px rgba(188, 58, 176, 0.05);
}

/* 2. Le container de la date */
.sticky-date-wrapper {
    position: sticky;
    top: 85px; /* Augmenté légèrement pour être sûr de passer sous la navbar */
    z-index: 1010;
    width: 100%;
    min-height: 85px; /* Évite les sauts de layout lors de l'animation du container */
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* Laisse passer les clics vers les éléments dessous si besoin */
    background: transparent;
}

.sticky-date-container {
    pointer-events: auto; /* Mais réactive les clics sur la pastille elle-même */
    background-color: transparent; /* Fond transparent par défaut pour éviter le flash blanc sur le fond soft */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 0;
    margin-bottom: 10px;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-radius: 12px;
}

.sticky-date-container.is-stuck {
    /* 1. Ombre uniquement bottom */
    box-shadow: 0 12px 15px -10px rgba(0, 0, 0, 0.12);

    /* 2. Bordure légère */
    /*border-bottom: 1px solid rgba(188, 58, 176, 0.5);*/
    border-radius: 500px;
    padding: 5px 15px;
    padding-left: 5px!important;

    /* 3. LE BLUR (La clé est ici) */
    /* On utilise un bg primary soft à 85% d'opacité pour bien montrer le focus */
    /*background-color: rgba(253, 242, 255, 0.85);*/
    background-color: rgba(255, 255, 255, 0.8);

    /* Effet de flou sur ce qui passe DERRIÈRE la barre */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Pour Safari */

    /* 4. Animation fluide */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* On repasse en fit-content pour l'effet "pilule" */
    width: fit-content;
    margin-top: 0!important;
    position: relative;
    z-index: 1011;
}

/* Réduire la pastille quand c'est collé pour gagner de la place */
.sticky-date-container.is-stuck .date-badge {
    transform: scale(0.85);
    transition: transform 0.3s ease;
    margin-right: 5px;
}

/* Faire ressortir le nom du jour */
.sticky-date-container.is-stuck .day-label {
    font-size: 1rem;
    color: var(--color-primary);
}
.sticky-date-container.is-stuck .month-label {
    font-size: 0.75rem;
}

/* Styles visuels (UX améliorée) */
.date-badge {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    min-width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.date-text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.day-label {
    font-weight: 800;
    font-size: 1.3rem;
    color: #1e293b;
    text-transform: uppercase;
}

.month-label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #64748b;
}

.date-line-separator {
    flex-grow: 1;
    height: 2px;
    background: linear-gradient(to left, var(--color-primary), var(--color-third));
    opacity: 0.4;
    transition: all 0.3s ease;
}

.date-line-separator.left {
    margin-right: 25px;
}

.date-line-separator.right {
    margin-left: 25px;
    background: linear-gradient(to right, var(--color-primary), var(--color-third));
}

.sticky-date-container.is-stuck .date-line-separator {
    flex-grow: 0;
    width: 0;
    opacity: 0;
    margin: 0;
}

/*===================
    CARD EVENT
====================*/

/* Container : On joue sur la profondeur */
.event-card-modern {
    text-decoration: none !important;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #dddfe3;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.event-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Typographie & Contenu */
.event-card-modern .body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags-wrapper {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}


/* UX Typo : Titre plus serré pour éviter les blancs inutiles */
.event-card-modern .title {
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

/* UX Typo : Description avec interlignage pour le confort de lecture */
.event-card-modern .description {
    font-size: 0.85rem;
    text-transform: lowercase;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Évite les cartes de hauteurs différentes */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: #475569;
}

.info-item i {
    color: #9d309a; /* Ton violet */
    font-size: 1rem;
}

/* Bouton : Feedback visuel au hover */
.btn-event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(157, 48, 154, 0.08); /* Plus subtil */
    color: #9d309a;
    border: none;
    padding: 12px 20px;
    border-radius: 16px; /* Plus moderne que le full pill */
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    transition: all 0.3s ease;
}

.event-card-modern:hover .btn-event {
    background-color: #9d309a !important;
    color: #ffffff;
}

.event-card-modern .btn-event i {
    transition: all 0.3s ease;
}

.event-card-modern:hover .btn-event i {
    transform: translateX(4px) scale(1.25);
}


/*======================================
   PAGE EVENT - BADGE DATE ET HORAIRE
=======================================*/


/* Le carré arrondi beige */
.calendar-icon-bg {
    background-color: #fff2e2; /* Couleur beige clair */
    width: 48px;
    height: 48px;
    border-radius: 20px; /* Coins très arrondis */
}

/* L'icône de calendrier */
.calendar-icon-bg i {
    color: #7b341e; /* Marron foncé */
    font-size: 1.4rem;
}

/* Style de la date (gras et bleu foncé) */
.event-date {
    font-weight: 600 !important;
    color: #435165 !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    text-transform: capitalize;
}

/* Style de l'heure */
.event-time {
    font-weight: 500 !important;
    color: #5c6c80 !important;
    font-size: 1rem;
}

/* Le conteneur circulaire bleu clair */
.places-icon-bg {
    background-color: #f0f7ff;
    width: 48px;
    height: 48px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* L'icône de groupe bleue */
.places-icon-bg i {
    color: #0061ff; /* Bleu vif comme sur l'image */
    font-size: 1.4rem;
}

/* Le texte "80 Places" */
.places-text {
    font-weight: 600 !important;
    color: #435165 !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    text-transform: capitalize;
}

/* Conteneur de l'icône de prix */
.price-icon-bg {
    background-color: #c800de10;
    width: 48px;
    height: 48px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* L'icône de devise */
.price-icon-bg i {
    color: oklch(59.1% 0.293 322.896); /* Bleu électrique */
    font-size: 1.8rem;
}

/* Texte principal (ex: Payant) */
.price-main {
    font-weight: 600 !important;
    color: #435165 !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
    text-transform: capitalize;
}

/* Sous-texte (ex: Le montant) */
.price-sub {
    font-weight: 500 !important;
    color: #5c6c80 !important;
    font-size: 1rem;
}

/* Conteneur de l'icône violette */
.org-icon-bg {
    background-color: #f8ecf6; /* Rose/Violet très clair */
    width: 48px;
    height: 48px;
    border-radius: 20px;
    flex-shrink: 0;
}

/* L'icône de localisation / organisateur */
.org-icon-bg i {
    color: #ba33a6; /* Violet/Fuchsia comme sur l'image */
    font-size: 1.4rem !important;
}

/* Nom de l'organisateur (ex: The Rhythm Studio) */
.org-main {
    font-weight: 600 !important;
    color: #435165 !important;
    font-size: 1.1rem !important;
    line-height: 1.2 !important;
}

/* Texte secondaire (ex: Proposé par) */
.org-sub {
    font-weight: 500 !important;
    color: #5c6c80 !important;
    font-size: 1rem !important;
}

/*======================================
        Aperçu evenement
=======================================*/

.card-dance {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-dance:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08) !important;
}

.title-dance {
    color: #d633ff; /* Ton fuchsia */
    font-size: 1.25rem;
    font-weight: 700;
}

/* Style des badges de danse venant du back */
.card-dance .badge, .card-dance .label {
    background: #f8f0ff !important;
    color: #d633ff !important;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
}

.calendar-box {
    background: linear-gradient(135deg, #d633ff 0%, #a833ff 100%);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.info-row {
    background: #fcfaff;
    border-radius: 12px;
    padding: 12px;
}

.price-tag {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    gap: 4px;
    background-color: #ebfaf0; /* Vert très pâle pour le fond */
    color: #219653; /* Vert plus profond et lisible pour l'accessibilité */
    padding: 4px 12px;
    border-radius: 50px; /* Forme pilule très moderne */
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(39, 174, 96, 0.1);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.price-tag .price-tag-person {
    margin-left: 4px;
    font-size: 0.6rem;
    font-weight: 400;
}

/* Petit effet de brillance au survol */
.price-tag:hover {
    background-color: #27ae60;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(39, 174, 96, 0.2);
}

.price-tag i {
    font-size: 0.9rem;
    /* L'icône change de couleur en même temps que le texte au hover */
    color: inherit;
}

/*======================================
        BOUTON CTA EVENT PAGE
=======================================*/

/* Bouton Principal (Fuchsia) */
.btn-cta-dance {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d633ff 0%, #a833ff 100%);
    color: #ffffff !important;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(214, 51, 255, 0.3);
    cursor: pointer;
}

.btn-cta-dance:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214, 51, 255, 0.4);
    filter: brightness(1.1);
}

.btn-cta-dance:active {
    transform: translateY(0);
}

/* Bouton Secondaire / Infos (Gris neutre) */
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #e9ecef;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Alignement spécifique pour btn_reservation_2 */
.btn-cta-dance.text-start {
    justify-content: flex-start;
}

/* Adaptation pour les liens de contact (téléphone/mail) */
.contact-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #d633ff;
    border: 2px solid #d633ff;
    padding: 10px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s;
}

.contact-wrapper a:hover {
    background: #fdf2ff;
}

/* bouton contact */

.contact-item-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #d633ff10 100%);
    border: 1px solid #f0f0f0;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-item-card::before {
    content: "RÉSERVATION";
    position: absolute;
    top: -23px;
    right: 20px;
    background: #d633ff;
    color: white;
    font-size: 0.6rem;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 10px 10px 0 0;
    letter-spacing: 1px;
}

.contact-item-card:hover {
    border-color: #d633ff;
    box-shadow: 0 15px 35px rgba(214, 51, 255, 0.1);
    transform: translateY(-2px);
}

.contact-avatar {
    width: 50px;
    height: 50px;
    background: #f3e5f5;
    color: #d633ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-body {
    flex-grow: 1;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: -2px;
}

.contact-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #2d3436;
}

/* Boutons d'actions épurés */
.contact-actions {
    display: flex;
    gap: 10px;
}

.btn-action-round {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eee;
    text-decoration: none;
    font-size: 1.3rem;
    color: #2d3436;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-action-round:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: transparent;
    color: #fff !important;
}

/* Couleurs au hover (Glow effects) */
.btn-action-round.wa:hover {
    background-color: #25d366;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-action-round.tel:hover {
    background-color: #d633ff;
    box-shadow: 0 8px 20px rgba(214, 51, 255, 0.3);
}

.btn-action-round.mail:hover {
    background-color: #0084ff;
    box-shadow: 0 8px 20px rgba(0, 132, 255, 0.3);
}

/*======================================
CARD INFO SALLE / GERANT / DJ / ECT EVENT PAGE
=======================================*/

/* Conteneur principal */
.card-reservation-premium {
    background: #ffffff;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.card-reservation-premium:empty {
    display: none;
}

.instance-name {
    font-size: 1.25rem;
    color: #1e1e2d;
    letter-spacing: -0.5px;
}

/* Boutons secondaires (Pilules claires) */
.btn-pill-soft {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: var(--primary-soft);
    color: #d633ff !important;
    padding: 10px 18px;
    border-radius: 100px; /* Force l'aspect pilule */
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    width: 100%;
}

.btn-pill-soft:hover {
    background-color: #f8e4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 51, 255, 0.1);
}

/* Bouton de réservation (CTA Principal) */
/* Cible l'élément généré par {btn_reservation_2} */
.btn-cta-dance,
.card-reservation-premium button.btn-primary {
    background: var(--color-primary) !important;
    color: white !important;
    border-radius: 100px !important;
    padding: 16px 28px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: none !important;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(195, 51, 180, 0.3) !important;
}

.btn-cta-dance:hover {
    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.1);
    box-shadow: 0 15px 30px rgba(195, 51, 180, 0.4) !important;
}

/* Détails de la salle (Stade, Carrelage, etc.) */
.dance-hall-details {
    color: #444;
    font-size: 0.9rem;
}

.dance-hall-details br {
    display: block;
    content: "";
    margin-top: 8px;
}

/* Harmonisation des icônes dans la liste d'infos */
.dance-hall-details i {
    color: var(--color-primary);
    font-size: 1.1rem;
    margin-right: 10px;
    vertical-align: middle;
}

/*======================================
        CARD INFO EVENT PAGE - CONTAINER DE LA SALLE DE DANSE
=======================================*/

.dancehall-info-container {
    padding-top: 15px;
}

/* Titre de la salle (Fuchsia comme le reste) */
.dh-title {
    color: #c333b4;
    font-weight: 700;
    font-size: 1.05rem;
}

.dh-subtitle {
    color: #d633ff;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Alignement des lignes d'icônes */
.dh-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #444;
}

/* Icônes de la DA */
.dh-item i {
    color: #d633ff; /* Ton fuchsia */
    font-size: 1.1rem;
    width: 20px; /* Aligne verticalement toutes les icônes */
    text-align: center;
}

.dh-item a {
    font-weight: 400;
    color: #444;
    text-decoration: none;
}

.dh-item span {
    font-weight: 400;
}

/*======================================
        CARD INFO EVENT PAGE - CONTAINER DU DJ
=======================================*/

.artist-avatar-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #fdf2ff;
}

.artist-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Avatar de remplacement (si pas de photo) */
.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: #fdf2ff;
    color: #c333b4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Séparateur entre deux artistes */
.border-bottom-soft {
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

/* Les icônes réseaux sociaux */
.social-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.social-bubble img {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain;
}

.transition-soft {
    transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.transition-soft:hover {
    transform: scale(1.15) translateY(-2px);
    background: #fdf2ff; /* Rappel fuchsia au survol */
}

/*======================================
        CARD INFO EVENT PAGE - CONTAINER DU TEACHER DANCE
=======================================*/

/* Le conteneur circulaire pour la photo */
.artist-avatar-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #fdf2ff;
}

.artist-avatar-circle img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

/* Avatar de remplacement (Enseignant) */
.placeholder-avatar {
    width: 100%;
    height: 100%;
    background: #fdf2ff;
    color: #c333b4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* On retire la bordure sur le dernier prof pour que ce soit propre dans la card */
.artist-profile-row:last-of-type {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.social-bubble {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-bubble:hover {
    transform: scale(1.1);
    background: #fdf2ff;
}

/*======================================
        SECTION EVENT PAST AND FUTUR
=======================================*/


/* La carte de section */
.timeline-navigation-card {
    background: linear-gradient(135deg, #ffffff 0%, #fdfaff 100%);
    border-radius: 30px;
    border: 2px dashed #f3e5f5; /* Bordure pointillée pour inviter à l'action */
    transition: all 0.4s ease;
}

.timeline-navigation-card:hover {
    border-style: solid;
    border-color: #d633ff;
    box-shadow: 0 15px 35px rgba(214, 51, 255, 0.08);
}

/* L'icône d'en-tête */
.timeline-icon-header {
    width: 60px;
    height: 60px;
    background: #fdf2ff;
    color: #d633ff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(214, 51, 255, 0.1);
}

/* Le bouton switch (Style pilule comme ta DA) */
.btn-switch-timeline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: #d633ff;
    color: #ffffff !important;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(214, 51, 255, 0.3);
}

.btn-switch-timeline:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 25px rgba(214, 51, 255, 0.4);
    filter: brightness(1.1);
}

.btn-switch-timeline:active {
    transform: scale(0.97);
    box-shadow: 0 12px 25px rgba(214, 51, 255, 0.4);
}

.btn-switch-timeline i {
    font-size: 1.2rem;
}

/* ==========================================================================
   VERSION COMPACTE ET MODERNE DE LA CARTE ÉVÉNEMENT
   ========================================================================== */

.event-card-modern-compact {
    text-decoration: none !important;
    background: #ffffff;
    border-radius: 16px; /* Arrondi légèrement plus discret et moderne */
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
}

/* Hauteur maximale de l'image réduite pour éviter le côté "gros bloc" */
.event-card-modern-compact .header-compact {
    height: 140px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

/* Force l'image générée à bien remplir le conteneur réduit sans se déformer */
.event-card-modern-compact .header-compact img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.event-card-modern-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.event-card-modern-compact:hover .header-compact img {
    transform: scale(1.04);
}

/* Padding interne réduit pour rendre le bloc plus dense et compact */
.body-compact {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.tags-wrapper-compact {
    margin-bottom: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Titre plus petit et élégant */
.event-card-modern-compact .title-compact {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.05rem; /* Réduit par rapport au 1.25rem d'origine */
    color: #0f172a;
    line-height: 1.3;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

/* Description plus discrète */
.event-card-modern-compact .description-compact {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Coupe proprement à 2 lignes maximum */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Zone d'informations techniques resserrée */
.info-container-compact {
    margin-top: auto; /* Pousse les infos vers le bas */
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0; /* Ligne de séparation fine */
}

.info-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.78rem;
    color: #475569;
}

.info-item-compact:last-child {
    margin-bottom: 0;
}

.info-item-compact i {
    color: var(--color-primary); /* Reprend votre couleur magenta/violette */
    font-size: 0.85rem;
}

/* ==========================================================================
   HARMONISATION ET MODERNISATION DES TAGS D'ÉVÉNEMENT
   ========================================================================== */

/* Ciblage des tags générés dans le bloc d'événement */
.tags-wrapper-compact .badge,
.tags-wrapper-compact .label,
.tags-wrapper-compact a,
.tags-wrapper-compact span {
    background-color: var(--color-primary-background) !important; /* Fond violet très clair et subtil */
    color: var(--color-primary) !important; /* Texte de votre couleur violette principale */
    border: none !important;

    /* Style pilule (parfaitement arrondi) */
    border-radius: var(--bd-radius-full) !important;

    /* Ajustement de la taille pour le côté compact */
    padding: 4px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-transform: capitalize !important;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

/* ==========================================================================
   SÉLECTEUR DE LANGUE PREMIUM (STYLE PILULE)
   ========================================================================== */

/* Le bouton déclencheur principal */
.btn-lang-selector {
    padding: 6px 10px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-radius: 8px; /* Ajout d'un border-radius pour plus de cohérence */
}

@media (min-width: 992px) {
    .btn-lang-selector {
        padding: 6px 14px;
    }
}

.btn-lang-selector:hover,
.btn-lang-selector[aria-expanded="true"] {
    background-color: #f8fafc;
    border-color: #cbd5e1;
}

/* Formatage des drapeaux pour qu'ils soient tous identiques et nets */
.lang-flag-img {
    width: 18px;
    height: 12px;
    object-fit: cover;
    border-radius: 2px; /* Léger arrondi sur le drapeau pour le style */
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .lang-flag-img {
        width: 20px;
        height: 14px;
    }
}

/* Le texte de la langue (ex: FR) */
.btn-lang-selector .lang-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

@media (min-width: 992px) {
    .btn-lang-selector .lang-text {
        font-size: 0.85rem;
    }
}

/* Petite flèche animée */
.lang-chevron {
    font-size: 0.75rem;
    color: #64748b;
    transition: transform 0.2s ease;
}

/* Rotation de la flèche quand le menu est ouvert */
.btn-lang-selector[aria-expanded="true"] .lang-chevron {
    transform: rotate(180deg);
}

/* Personnalisation des éléments du menu dropdown */
.btn_lang_yd .dropdown-menu .dropdown-item {
    color: #475569;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.15s ease;
    transform: translateX(0px)!important;
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--color-primary-background, rgba(114, 19, 120, 0.05));
    color: var(--color-primary, #721378);
}

/* Supprime la marge minime par défaut de Bootstrap pour l'alignement */
.dropdown-menu-end {
    min-width: auto !important;
}

.link-timeline-subtle {
    font-family: 'MontserratAlternates', sans-serif !important;
    font-size: 0.95rem;
    color: #b93a9d !important; /* Ta couleur magenta */
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

/* Création d'une ligne de soulignement personnalisée et fine */
.link-timeline-subtle::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #6a1b9a; /* Devient violet foncé au survol */
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-timeline-subtle:hover {
    color: #6a1b9a !important; /* Changement subtil de couleur */
}

/* L'animation de la ligne au survol */
.link-timeline-subtle:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Légère animation sur l'icône flèche */
.link-timeline-subtle i {
    transition: transform 0.3s ease;
}
.link-timeline-subtle:hover i {
    transform: translateX(3px); /* Décale légèrement la flèche vers la droite */
}

.banner-container {
    width: 100%;
    padding: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-family: 'Montserrat', 'Segoe UI', sans-serif; /* Une police géométrique similaire */
    color: #ffffff;

    /* Dégradé linéaire fidèle aux couleurs de l'image */
    background: linear-gradient(
            90deg,
            rgba(80,34,132,1) 0%,
            rgba(117,89,147,1) 50%,
            rgb(255, 255, 255) 100%
    );
}

.banner-subtitle {
    font-size: 1rem;
    font-weight: 300;
    margin: 0 0 8px 0;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.banner-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.5px;
}

/* Responsiveness pour les petits écrans (mobiles) */
@media (max-width: 768px) {
    .banner-container {
        padding: 40px 20px;
    }
    .banner-subtitle {
        font-size: 0.9rem;
    }
    .banner-title {
        font-size: 1.75rem;
    }
}