/* ============================================================
   KRIMBO — COMPAGNIE ARTISTIQUE
   FEUILLE DE STYLE PRINCIPALE — VERSION CORRIGÉE
   One Page responsive : ordinateur, tablette et mobile
============================================================ */

/* 01. VARIABLES */
:root {
    --black: #0b0b0b;
    --black-soft: #121212;
    --black-light: #1b1b1b;
    --white: #fff;
    --ivory: #f4efe6;
    --ivory-soft: #faf7f1;
    --gold: #c89b3c;
    --gold-light: #dfbb6c;
    --gold-dark: #a67d27;
    --gray: #aaa;
    --gray-light: #d5d5d5;
    --border: rgba(255,255,255,.12);
    --container: 1240px;
    --header-height: 82px;
    --topbar-height: 38px;
    --radius: 4px;
    --transition: .3s ease;
}

/* 02. RESET ET BASE */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 12px);
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* 03. TYPOGRAPHIE */
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(3.4rem, 7vw, 7rem); }
h2 { font-size: clamp(2.4rem, 4.8vw, 5rem); }
h3 { font-size: 1.25rem; }
h1 em, h2 em {
    color: var(--gold);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
}
.eyebrow {
    margin-bottom: 20px;
    color: var(--gold);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

/* 04. BARRE SUPÉRIEURE : DATE, HEURE ET RÉSEAUX SOCIAUX */
.topbar-krimbo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    width: 100%;
    min-height: var(--topbar-height);
    padding: 6px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    background: #fff;
    color: #777;
    border-bottom: 1px solid #eee;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.5;
}
.topbar-krimbo .topbar-date {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: #777;
}
.topbar-krimbo .topbar-separator { color: #ccc; }
.topbar-krimbo .topbar-socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
}
.topbar-krimbo .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-size: 16px;
    text-decoration: none;
    transition: color .25s ease, transform .25s ease;
}
.topbar-krimbo .social-icon:hover { transform: translateY(-2px); }
.topbar-krimbo .facebook:hover { color: #1877f2; }
.topbar-krimbo .whatsapp:hover { color: #25d366; }
.topbar-krimbo .youtube:hover { color: #f00; }
.topbar-krimbo .tiktok:hover { color: #000; }

/* 05. HEADER FIXE ET NAVIGATION */
.header {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    z-index: 10000;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: rgba(8,8,8,.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header .logo {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    line-height: 1;
    text-decoration: none;
}
.header .logo b {
    color: var(--white);
    font-size: 1.75rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.header .logo small {
    margin-top: 6px;
    color: var(--gold);
    font-size: .5rem;
    letter-spacing: .22em;
}
.header nav { display: flex; align-items: center; gap: 27px; }
.header nav a {
    position: relative;
    color: var(--white);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-decoration: none;
    transition: color var(--transition);
}
.header nav a:not(.pill)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width var(--transition);
}
.header nav a:not(.pill):hover { color: var(--gold); }
.header nav a:not(.pill):hover::after { width: 100%; }
.header nav .pill {
    padding: 10px 20px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    transition: background var(--transition), color var(--transition);
}
.header nav .pill:hover { background: var(--gold); color: var(--black); }
.header .menu {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 1.8rem;
}

/* 06. ACCUEIL / HERO */
.hero {
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--header-height) - var(--topbar-height));
    display: flex;
    align-items: center;
    padding: 130px 8% 100px;
    overflow: hidden;
    background: linear-gradient(110deg, #787777 0%, #7a7171 50%, #6d5d44 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: linear-gradient(90deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,.78) 42%, rgba(5,5,5,.25) 100%), url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    opacity: .85;
}
.hero-content { position: relative; z-index: 2; width: min(800px, 100%); }
.hero h1 { margin-bottom: 28px; }
.hero-content > p:not(.eyebrow) {
    max-width: 620px;
    margin-bottom: 35px;
    color: var(--gray-light);
    font-size: 1.08rem;
}
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.ghost {
    position: absolute;
    right: -4%;
    bottom: -2%;
    z-index: -1;
    color: rgba(255,255,255,.025);
    font-size: clamp(8rem, 22vw, 22rem);
    font-weight: 900;
    line-height: .75;
    letter-spacing: -.07em;
    user-select: none;
}

/* 07. BOUTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn.gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.outline { background: transparent; border-color: rgba(255,255,255,.45); color: var(--white); }
.btn.outline:hover { border-color: var(--gold); color: var(--gold); }
.btn.dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn.dark:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* 08. SECTIONS GÉNÉRALES */
.section { width: min(var(--container), calc(100% - 10%)); margin: 0 auto; padding: 120px 0; }
.section > .eyebrow { margin-bottom: 18px; }
.section > h2 { margin-bottom: 55px; }

/* 09. PRÉSENTATION DE LA COMPAGNIE */
.intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 80px;
}
.intro .copy { padding-left: 35px; border-left: 1px solid var(--gold); }
.intro .copy p { margin-bottom: 22px; color: var(--gray-light); font-size: 1rem; }
.intro .copy p:last-child { margin-bottom: 0; }

/* 10. SPECTACLE */
.split { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 650px; }
.visual {
    position: relative;
    min-height: 550px;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.75)), url("../images/ailes-et-racines.jpg");
    background-size: cover;
    background-position: center;
}
.visual-label {
    position: absolute;
    left: 8%;
    bottom: 8%;
    padding-left: 20px;
    border-left: 2px solid var(--gold);
    color: var(--white);
    font-size: .75rem;
    letter-spacing: .15em;
    line-height: 1.7;
}
.visual-label b { color: var(--gold); font-size: 1.1rem; }
.dark-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10%;
    background: var(--black-soft);
}
.dark-panel h2 { margin-bottom: 30px; }
.dark-panel > p:not(.eyebrow) { max-width: 540px; margin-bottom: 32px; color: var(--gray-light); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.tags span {
    padding: 7px 12px;
    border: 1px solid rgba(200,155,60,.45);
    color: var(--gold);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .12em;
}

/* 11. ARTISTES */
#artistes {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    background: var(--ivory);
    color: var(--black);
}
#artistes .eyebrow { color: var(--gold-dark); }
#artistes h2 em { color: var(--gold-dark); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cards article {
    position: relative;
    min-height: 280px;
    padding: 35px;
    border: 1px solid rgba(0,0,0,.12);
    background: var(--ivory-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}
.cards article:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(0,0,0,.1); }
.cards article > b { display: block; margin-bottom: 35px; color: var(--gold-dark); font-size: .75rem; letter-spacing: .15em; }
.cards h3 { margin-bottom: 15px; }
.cards p { color: #555; font-size: .94rem; }

/* 12. CITATION */
.quote { padding: 110px 8%; text-align: center; background: linear-gradient(135deg, #15120c, #080808); }
.quote > span { display: block; margin-bottom: 30px; color: var(--gold); font-family: Georgia, serif; font-size: 6rem; line-height: .5; }
.quote blockquote {
    max-width: 900px;
    margin: 0 auto 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 3rem);
    font-style: italic;
    line-height: 1.35;
}
.quote small { color: var(--gold); font-size: .65rem; letter-spacing: .2em; }

/* 13. AGENDA */
.agenda { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.events { display: flex; flex-direction: column; gap: 15px; }
.event {
    display: grid;
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 25px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.1);
    background: var(--black-soft);
    transition: border-color var(--transition), transform var(--transition);
}
.event:hover { border-color: rgba(200,155,60,.5); transform: translateX(5px); }
.date { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 85px; border-right: 1px solid rgba(200,155,60,.35); }
.date strong { color: var(--gold); font-size: 2.5rem; line-height: 1; }
.date small { margin-top: 5px; color: var(--gray); font-size: .65rem; letter-spacing: .12em; }
.event h3 { margin-bottom: 10px; color: var(--white); }
.event p { color: var(--gray); font-size: .9rem; }

/* 14. GALERIE */
.gallery { border-top: 1px solid rgba(255,255,255,.08); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 45px; }
.grid > div {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    display: flex;
    align-items: flex-end;
    padding: 25px;
    overflow: hidden;
    background-color: #717070;
    background-size: cover;
    background-position: center;
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    transition: transform var(--transition), border-color var(--transition);
    border: 1px solid rgba(255,255,255,.08);
}
.grid > div::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.8)); }
.grid > div:hover { transform: scale(1.015); border-color: var(--gold); }
.grid > div:nth-child(1) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-1.jpg"); }
.grid > div:nth-child(2) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-2.jpg"); }
.grid > div:nth-child(3) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-3.jpg"); }
.grid > div:nth-child(4) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-4.jpg"); }
.grid > div:nth-child(5) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-5.jpg"); }
.grid > div:nth-child(6) { background-image: linear-gradient(180deg, transparent, rgba(0,0,0,.7)), url("../images/gallery-6.jpg"); }
.hint { margin-top: 20px; color: #777; font-size: .8rem; }

/* 15. CONTACT */
.contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 90px;
    padding: 120px 8%;
    background: var(--ivory);
    color: var(--black);
}
.contact .eyebrow, .contact h2 em { color: var(--gold-dark); }
.contact > div > p { max-width: 550px; margin-top: 22px; color: #555; }
.contact form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.contact input, .contact select, .contact textarea {
    width: 100%;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid rgba(0,0,0,.18);
    border-radius: 0;
    outline: none;
    background: #fff;
    color: var(--black);
    transition: border-color var(--transition);
}
.contact input:focus, .contact select:focus, .contact textarea:focus { border-color: var(--gold); }
.contact textarea { min-height: 150px; resize: vertical; }
.contact select, .contact textarea, .contact button { grid-column: 1 / -1; }
.contact button { width: max-content; }

/* 16. PIED DE PAGE */
footer {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: center;
    padding: 40px 5%;
    background: #050505;
    color: #888;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .75rem;
}
footer > div:nth-child(2) { text-align: center; }
footer > div:nth-child(3) { text-align: right; }
.footer-logo { display: flex; flex-direction: column; color: var(--white); font-size: 1.3rem; font-weight: 800; letter-spacing: .1em; }
.footer-logo small { margin-top: 4px; color: var(--gold); font-size: .48rem; letter-spacing: .2em; }

/* 17. TABLETTES ET PETITS ORDINATEURS */
@media (max-width: 1000px) {
    .header { padding-left: 3%; padding-right: 3%; }
    .header nav { gap: 18px; }
    .header nav a { font-size: .72rem; }
    .intro, .agenda, .contact { gap: 50px; }
    .split { grid-template-columns: 1fr; }
    .visual { min-height: 500px; }
    .dark-panel { min-height: 420px; }
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 18. MOBILES */
@media (max-width: 760px) {
    :root { --header-height: 72px; }
    html { scroll-padding-top: calc(var(--header-height) + var(--topbar-height) + 10px); }
    body { padding-top: calc(var(--header-height) + var(--topbar-height)); }

    .topbar-krimbo { padding: 6px 12px; gap: 8px; }
    .topbar-krimbo .topbar-date { gap: 4px; font-size: 10px; }
    .topbar-krimbo .topbar-socials { gap: 10px; }
    .topbar-krimbo .social-icon { font-size: 14px; }

    .header { top: var(--topbar-height); height: var(--header-height); padding: 0 20px; }
    .header .logo b { font-size: 1.45rem; }
    .header .logo small { font-size: .42rem; }
    .header .menu { display: block; }
    .header nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px 20px 22px;
        background: rgba(8,8,8,.99);
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    .header nav.active { display: flex; }
    .header nav a { padding: 14px 5px; font-size: .8rem; }
    .header nav a:not(.pill)::after { display: none; }
    .header nav .pill { margin-top: 8px; text-align: center; }

    .hero { min-height: calc(100svh - var(--header-height) - var(--topbar-height)); padding: 80px 7%; }
    .hero-bg { background-position: 60% center; }
    .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
    .hero-content > p:not(.eyebrow) { font-size: .95rem; }
    .actions { flex-direction: column; align-items: stretch; }
    .actions .btn { width: 100%; }
    .ghost { right: -15%; bottom: 3%; font-size: 35vw; }

    .section { width: calc(100% - 40px); padding: 80px 0; }
    .section > h2 { margin-bottom: 35px; }
    .intro { display: block; }
    .intro .copy { margin-top: 35px; padding-left: 20px; }

    .visual { min-height: 420px; }
    .dark-panel { min-height: auto; padding: 70px 25px; }
    #artistes { padding-left: 20px; padding-right: 20px; }
    .cards { grid-template-columns: 1fr; gap: 12px; }
    .cards article { min-height: auto; }
    .quote { padding: 80px 25px; }
    .quote > span { font-size: 5rem; }
    .agenda { display: block; }
    .events { margin-top: 40px; }
    .event { grid-template-columns: 75px minmax(0, 1fr); gap: 15px; padding: 20px; }
    .date strong { font-size: 2rem; }
    .event h3 { font-size: 1rem; }
    .event p { font-size: .82rem; }
    .grid { grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
    .grid > div { min-height: 230px; }

    .contact { grid-template-columns: 1fr; gap: 50px; padding: 80px 20px; }
    .contact form { grid-template-columns: 1fr; }
    .contact select, .contact textarea, .contact button { grid-column: auto; }
    .contact button { width: 100%; }

    footer { grid-template-columns: 1fr; text-align: center; padding: 35px 20px; }
    footer > div:nth-child(2), footer > div:nth-child(3) { text-align: center; }
    .footer-logo { align-items: center; }
}

/* 19. TRÈS PETITS ÉCRANS */
@media (max-width: 420px) {
    .topbar-krimbo { padding-left: 8px; padding-right: 8px; gap: 5px; }
    .topbar-krimbo .topbar-date { gap: 3px; font-size: 9px; }
    .topbar-krimbo .topbar-socials { gap: 8px; }
    .topbar-krimbo .social-icon { font-size: 13px; }
    .hero { padding-left: 20px; padding-right: 20px; }
    .eyebrow { font-size: .62rem; letter-spacing: .16em; }
    .hero h1 { font-size: 3.1rem; }
    .dark-panel h2 { font-size: 2.8rem; }
    .event { grid-template-columns: 65px minmax(0, 1fr); padding: 15px; }
}

/* 20. ACCESSIBILITÉ : LIMITER LES ANIMATIONS SI NÉCESSAIRE */
@media (prefers-reduced-motion: no-preference) {
    .hero-content { animation: heroReveal .9s ease both; }
    @keyframes heroReveal {
        from { opacity: 0; transform: translateY(25px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }

}



/* ============================================================
   IMAGE DU SPECTACLE — AILES ET RACINES
   Affiche entière, responsive et sans découpage
============================================================ */

.visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 550px;
    padding: 25px;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    background: #121212;
}

/* Affiche complète */
.visual .spectacle-image {
    display: block;
    position: relative;
    z-index: 0;

    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 600px;

    object-fit: contain;
    object-position: center;

    margin: auto;
}

/* Titre superposé à l'affiche */
.visual .visual-label {
    position: absolute;
    z-index: 2;
    left: 8%;
    bottom: 8%;

    padding-left: 20px;
    border-left: 2px solid var(--gold);

    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

/* Tablettes */
@media (max-width: 1000px) {
    .visual {
        min-height: 450px;
        padding: 20px;
    }

    .visual .spectacle-image {
        max-height: 520px;
    }
}

/* Téléphones */
@media (max-width: 760px) {
    .visual {
        min-height: 0;
        height: auto;
        padding: 15px;
        aspect-ratio: 3 / 4;
    }

    .visual .spectacle-image {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: contain;
    }

    .visual .visual-label {
        left: 7%;
        bottom: 7%;
        font-size: 0.68rem;
    }

    .visual .visual-label b {
        font-size: 0.95rem;
    }
}

/* Petits téléphones */
@media (max-width: 420px) {
    .visual {
        padding: 10px;
    }

    .visual .visual-label {
        padding-left: 12px;
    }
}


/* ============================================================
   HISTORIQUE KRIMBO — STYLE BLOG CULTUREL
============================================================ */

#historique {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 100px 5%;
    background: #f5f1e9;
    color: #171717;
}

#historique .historique-panel {
    width: 100%;
}

#historique .historique-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* INTRODUCTION */
#historique .historique-entete {
    max-width: 900px;
    margin: 0 auto 65px;
    text-align: center;
}

#historique .historique-entete .eyebrow {
    color: #a67d27;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.22em;
}

#historique .historique-entete h2 {
    margin: 18px 0 25px;
    font-size: clamp(2.2rem, 4.5vw, 4.3rem);
    line-height: 1.12;
    color: #171717;
}

#historique .historique-entete h2::after {
    content: "";
    display: block;
    width: 85px;
    height: 3px;
    margin: 28px auto 0;
    background: #c89b3c;
}

#historique .historique-introduction {
    max-width: 720px;
    margin: 0 auto;
    color: #666;
    font-size: 1.08rem;
    line-height: 1.9;
}

/* MISE EN PAGE PRINCIPALE */
#historique .historique-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.8fr);
    gap: 45px;
    align-items: start;
}

/* COLONNE ÉDITORIALE */
#historique .historique-texte {
    min-width: 0;
    font-size: 1rem;
    line-height: 1.95;
}

#historique .historique-texte > p {
    margin: 0 0 24px;
    color: #555;
}

#historique .historique-texte strong {
    color: #171717;
}

/* TITRES DES ARTICLES */
#historique .historique-texte h3 {
    position: relative;
    margin: 65px 0 28px;
    padding: 0 0 17px 20px;
    border-bottom: 1px solid #d9c9a7;
    color: #171717;
    font-size: clamp(1.5rem, 2.5vw, 2.1rem);
    line-height: 1.3;
    letter-spacing: -0.025em;
}

#historique .historique-texte h3::before {
    content: "";
    position: absolute;
    top: 3px;
    bottom: 17px;
    left: 0;
    width: 4px;
    background: #c89b3c;
}

#historique .historique-texte h3:first-of-type {
    margin-top: 35px;
}

/* CITATION */
#historique .historique-citation {
    margin: 40px 0;
    padding: 30px;
    border-left: 4px solid #c89b3c;
    background: #fff;
    color: #282828;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.8;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
}

#historique .historique-citation span {
    display: block;
    margin-top: 15px;
    color: #777;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-style: normal;
    line-height: 1.7;
}

/* ILLUSTRATIONS DES ARTICLES */
#historique .historique-illustration {
    margin: 30px 0;
    overflow: hidden;
    background: #e5ded1;
    border-radius: 5px;
}

#historique .historique-illustration img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 430px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

#historique .historique-illustration:hover img {
    transform: scale(1.025);
}

#historique .historique-illustration figcaption {
    padding: 12px 16px;
    background: #fff;
    color: #777;
    font-size: 0.8rem;
    line-height: 1.6;
}

/* PHOTO LATÉRALE */
#historique .historique-photo {
    position: sticky;
    top: 130px;
    align-self: start;
    padding: 12px;
    background: #fff;
    border: 1px solid #e6dfd3;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

#historique .historique-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
}

#historique .historique-photo-caption {
    padding: 16px 8px 8px;
    color: #222;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.6;
}

#historique .historique-photo-caption span {
    display: block;
    margin-top: 5px;
    color: #888;
    font-size: 0.8rem;
    font-weight: 400;
}

/* CHRONOLOGIE */
#historique .historique-chronologie {
    position: relative;
    margin: 35px 0 50px;
    padding-left: 28px;
    border-left: 2px solid #d8bd80;
}

#historique .historique-etape {
    position: relative;
    display: grid;
    grid-template-columns: 75px minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 18px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e9e1d4;
    border-radius: 4px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#historique .historique-etape::before {
    content: "";
    position: absolute;
    top: 29px;
    left: -36px;
    width: 13px;
    height: 13px;
    border: 3px solid #f5f1e9;
    border-radius: 50%;
    background: #c89b3c;
    box-shadow: 0 0 0 1px #c89b3c;
}

#historique .historique-etape:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

#historique .historique-annee {
    color: #a67d27;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.4;
}

#historique .historique-etape h4 {
    margin: 0 0 8px;
    color: #222;
    font-size: 1.02rem;
    line-height: 1.5;
}

#historique .historique-etape p {
    margin: 0;
    color: #666;
    font-size: 0.92rem;
    line-height: 1.8;
}

/* LISTE DES MISSIONS */
#historique .historique-liste {
    margin: 25px 0 35px;
    padding: 25px 30px 25px 48px;
    background: #fff;
    border: 1px solid #e9e1d4;
}

#historique .historique-liste li {
    margin-bottom: 14px;
    padding-left: 5px;
    color: #555;
}

#historique .historique-liste li:last-child {
    margin-bottom: 0;
}

#historique .historique-liste li::marker {
    color: #c89b3c;
}

/* SIGNATURE FINALE */
#historique .historique-signature {
    margin-top: 45px !important;
    padding: 25px;
    background: #171717;
    border-bottom: 3px solid #c89b3c;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

/* TABLETTES */
@media (max-width: 900px) {
    #historique {
        padding: 75px 5%;
    }

    #historique .historique-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    #historique .historique-photo {
        position: static;
        grid-row: 1;
        max-width: 600px;
        margin: 0 auto;
    }

    #historique .historique-photo img {
        max-height: 450px;
        object-fit: contain;
    }
}

/* TÉLÉPHONES */
@media (max-width: 600px) {
    #historique {
        padding: 55px 20px;
    }

    #historique .historique-entete {
        margin-bottom: 40px;
    }

    #historique .historique-entete h2 {
        font-size: 2.1rem;
    }

    #historique .historique-introduction {
        font-size: 0.95rem;
    }

    #historique .historique-texte {
        font-size: 0.95rem;
        line-height: 1.85;
    }

    #historique .historique-texte h3 {
        margin-top: 45px;
        margin-bottom: 22px;
        padding-left: 15px;
        font-size: 1.55rem;
    }

    #historique .historique-citation {
        padding: 22px;
        font-size: 1.08rem;
    }

    #historique .historique-illustration img {
        aspect-ratio: 4 / 3;
    }

    #historique .historique-chronologie {
        padding-left: 20px;
    }

    #historique .historique-etape {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px;
    }

    #historique .historique-etape::before {
        left: -28px;
    }

    #historique .historique-annee {
        font-size: 1.2rem;
    }

    #historique .historique-liste {
        padding: 22px 22px 22px 38px;
    }

    #historique .historique-signature {
        padding: 20px 15px;
    }
}

/* ACCESSIBILITÉ */
@media (prefers-reduced-motion: reduce) {
    #historique .historique-illustration img,
    #historique .historique-etape {
        transition: none;
    }
}

/* =================================================
   PARTENAIRES KRIMBO — STYLE CARDS BOOTSTRAP
================================================== */

.historique-partenaires {
    padding: 60px 20px;
}

/* En-tête */
.partenaires-surtitre {
    display: inline-block;
    margin-bottom: 12px;
    color: #c49a45;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.partenaires-titre {
    margin-bottom: 18px;
    color: #202020;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    line-height: 1.25;
}

.partenaires-description {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
    font-size: 15px;
    line-height: 1.9;
}

/* Grille */
.historique-partenaires-grille {
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

/* Carte */
.historique-partenaire {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.045);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

/* Survol */
.historique-partenaire:hover {
    transform: translateY(-7px);
    border-color: rgba(196, 154, 69, 0.55);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

/* Zone du logo */
.historique-partenaire-visuel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 185px;
    padding: 25px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.historique-partenaire-visuel img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 125px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.historique-partenaire:hover
.historique-partenaire-visuel img {
    transform: scale(1.05);
}

/* Texte de la carte */
.historique-partenaire .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    padding: 20px 15px;
    text-align: center;
}

.historique-partenaire .card-title {
    margin: 0;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
}

/* Petit accent doré */
.partenaire-indicateur {
    width: 35px;
    height: 3px;
    margin-top: 14px;
    background: #c49a45;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.historique-partenaire:hover .partenaire-indicateur {
    width: 65px;
}

/* Tablettes */
@media (max-width: 991.98px) {
    .historique-partenaires {
        padding: 45px 15px;
    }

    .historique-partenaire-visuel {
        height: 165px;
    }
}

/* Mobiles */
@media (max-width: 575.98px) {
    .historique-partenaires {
        padding: 35px 10px;
    }

    .partenaires-description {
        font-size: 14px;
    }

    .historique-partenaire-visuel {
        height: 145px;
        padding: 18px;
    }

    .historique-partenaire-visuel img {
        height: 105px;
    }

    .historique-partenaire .card-body {
        min-height: 85px;
        padding: 15px 10px;
    }

    .historique-partenaire .card-title {
        font-size: 14px;
    }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .historique-partenaire,
    .historique-partenaire-visuel img,
    .partenaire-indicateur {
        transition: none;
    }

    .historique-partenaire:hover,
    .historique-partenaire:hover
    .historique-partenaire-visuel img {
        transform: none;
    }
}

/* TEST VISUEL TEMPORAIRE KRIMBO */
.historique-partenaires .historique-partenaire {
    display: block !important;
    background: #ffffff !important;
    border: 2px solid #c49a45 !important;
    border-radius: 16px !important;
    padding: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.historique-partenaires .historique-partenaire-visuel {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 180px !important;
    background: #ffffff !important;
}

.historique-partenaires .historique-partenaire-visuel img {
    max-width: 100% !important;
    max-height: 130px !important;
    object-fit: contain !important;
}

.historique-partenaires .historique-partenaires-grille {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 25px !important;
}

/* =====================================================
   ARTISTES KRIMBO — CATÉGORIES CLIQUABLES
===================================================== */

.artistes-categories .artiste-categorie {
    cursor: pointer;
    position: relative;
    transition: transform .3s ease, border-color .3s ease,
                background .3s ease;
}

.artistes-categories .artiste-categorie:hover {
    transform: translateY(-6px);
    border-color: #c49a45;
}

.artistes-categories .artiste-categorie:focus-visible {
    outline: 3px solid #c49a45;
    outline-offset: 5px;
}

.artiste-categorie-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    color: #c49a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.artiste-categorie-action span {
    font-size: 20px;
    transition: transform .3s ease;
}

.artiste-categorie:hover .artiste-categorie-action span {
    transform: translate(4px, -4px);
}

/* ANNuaire */

.artistes-annuaire {
    margin-top: 60px;
    padding-top: 35px;
    border-top: 1px solid rgba(196, 154, 69, .45);
    animation: apparitionArtistes .45s ease;
}

.artistes-annuaire[hidden],
.artistes-personnes[hidden] {
    display: none !important;
}

.artistes-annuaire-entete {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.artistes-annuaire-entete h3 {
    margin: 8px 0 12px;
    font-size: clamp(25px, 3vw, 36px);
}

.artistes-annuaire-entete p {
    line-height: 1.7;
}

.artistes-retour {
    flex-shrink: 0;
    padding: 12px 18px;
    color: inherit;
    background: transparent;
    border: 1px solid #c49a45;
    border-radius: 3px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.artistes-retour:hover {
    color: #fff;
    background: #c49a45;
}

/* GRILLE DES PERSONNES */

.artistes-personnes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.artiste-personne {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    color: #242424;
    border: 1px solid #e9e9e9;
    border-radius: 8px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.artiste-personne:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.artiste-personne-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #eee;
}

.artiste-personne-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.artiste-personne:hover .artiste-personne-photo img {
    transform: scale(1.04);
}

.artiste-personne-infos {
    padding: 20px;
}

.artiste-personne-infos h4 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.artiste-personne-infos p {
    margin: 0;
    color: #777;
    font-size: 14px;
    line-height: 1.6;
}

@keyframes apparitionArtistes {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLETTES */

@media (max-width: 900px) {
    .artistes-personnes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .artiste-personne-photo {
        height: 260px;
    }
}

/* MOBILES */

@media (max-width: 600px) {
    .artistes-annuaire {
        margin-top: 40px;
        padding-top: 25px;
    }

    .artistes-annuaire-entete {
        align-items: flex-start;
        flex-direction: column;
    }

    .artistes-personnes {
        grid-template-columns: 1fr;
    }

    .artiste-personne-photo {
        height: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .artiste-categorie,
    .artiste-personne,
    .artiste-personne-photo img,
    .artiste-categorie-action span {
        transition: none !important;
    }

    .artistes-annuaire {
        animation: none;
    }
}


/* =========================================
   AGENDA KRIMBO — FOND NOIR
========================================= */

.events {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.event {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr) 120px;
    align-items: center;
    gap: 22px;

    padding: 20px;

    background: #111111;
    color: #ffffff;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.event:hover {
    transform: translateY(-3px);
    border-color: #005BAC;
    box-shadow: 0 8px 24px rgba(0, 91, 172, 0.18);
}

/* DATE */
.event .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 90px;
    padding: 10px 5px;

    background: #005BAC;
    color: #ffffff;
    text-align: center;
    border-radius: 10px;
}

.event .date strong {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
}

.event .date small {
    margin-top: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* INFORMATIONS DU SPECTACLE */
.event-info {
    min-width: 0;
}

.event-info h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
}

.event-info p {
    margin: 6px 0;
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
}

/* MINIATURE À DROITE */
.event-thumbnail {
    position: relative;
    display: block;

    width: 120px;
    height: 135px;

    overflow: hidden;
    border-radius: 10px;
    background: #222222;
    text-decoration: none;
}

.event-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.event-thumbnail:hover img {
    transform: scale(1.08);
}

/* EFFET DE SURVOL */
.thumbnail-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 91, 172, 0.65);
    color: #ffffff;
    font-size: 22px;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-thumbnail:hover .thumbnail-overlay,
.event-thumbnail:focus-visible .thumbnail-overlay {
    opacity: 1;
}

.event-thumbnail:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

/* RESPONSIVE — TÉLÉPHONES */
@media (max-width: 650px) {
    .event {
        grid-template-columns: 65px minmax(0, 1fr) 85px;
        gap: 12px;
        padding: 13px;
    }

    .event .date {
        min-height: 75px;
    }

    .event .date strong {
        font-size: 27px;
    }

    .event .date small {
        font-size: 9px;
        letter-spacing: 0;
    }

    .event-info h3 {
        font-size: 15px;
    }

    .event-info p {
        font-size: 12px;
    }

    .event-thumbnail {
        width: 85px;
        height: 105px;
    }
}

@media (max-width: 380px) {
    .event {
        grid-template-columns: 55px minmax(0, 1fr) 70px;
        gap: 8px;
        padding: 10px;
    }

    .event .date strong {
        font-size: 23px;
    }

    .event-thumbnail {
        width: 70px;
        height: 90px;
    }

    .event-info h3 {
        font-size: 13px;
    }

    .event-info p {
        font-size: 11px;
    }
}

/* ==========================================
   GALERIE KRIMBO — THÈME NOIR
========================================== */

.gallery {
    background: #000;
    color: #fff;
}

.gallery-description {
    max-width: 700px;
    margin: 15px 0 30px;
    color: #bdbdbd;
    line-height: 1.8;
}

/* FILTRES */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.gallery-filter {
    padding: 11px 17px;
    border: 1px solid #333;
    border-radius: 30px;

    background: #111;
    color: #ddd;

    font: inherit;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #e5b415;
    border-color: #005BAC;
    color: #fff;
}

.gallery-filter:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* GRILLE */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

/* PHOTOGRAPHIES */
.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;

    overflow: hidden;
    border-radius: 12px;
    background: #151515;
    text-decoration: none;

    animation: galleryAppear 0.35s ease;
}

.gallery-item[hidden] {
    display: none;
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

/* VOILE SUR LA PHOTO */
.gallery-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;

    padding: 20px;
    color: #fff;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0.05) 70%
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.gallery-overlay i {
    font-size: 20px;
}

.gallery-item:focus-visible {
    outline: 2px solid #005BAC;
    outline-offset: 3px;
}

/* MESSAGE SI LA CATÉGORIE EST VIDE */
.gallery-empty {
    margin: 25px 0;
    color: #aaa;
    text-align: center;
}

/* ANIMATION */
@keyframes galleryAppear {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLETTE */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* MOBILE */
@media (max-width: 550px) {
    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter {
        padding: 9px 12px;
        font-size: 10px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-overlay {
        padding: 10px;
        opacity: 1;
    }

    .gallery-caption {
        font-size: 10px;
        letter-spacing: 0;
    }

    .gallery-overlay i {
        font-size: 15px;
    }
}


/* =====================================================
   GALERIE KRIMBO
===================================================== */

.gallery-description {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #c8c8c8;
    line-height: 1.8;
}

/* Filtres */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0;
}

.gallery-filter {
    padding: 10px 16px;
    border: 1px solid #333;
    border-radius: 30px;
    background: #111;
    color: #eee;
    font: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease;
}

.gallery-filter:hover,
.gallery-filter.active {
    background: #eabb30;
    border-color: #dfb323;
    color: #fff;
}

/* Grille des catégories */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gallery-category-card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid #252525;
    border-radius: 12px;
    background: #111;
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.gallery-category-card[hidden] {
    display: none !important;
}

.gallery-category-card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.gallery-category-card:hover > img,
.gallery-category-card:focus-visible > img {
    transform: scale(1.06);
}

.gallery-category-card:focus-visible,
.gallery-filter:focus-visible,
.gallery-back:focus-visible {
    outline: 2px solid #65b5ff;
    outline-offset: 4px;
}

/* Voile et texte sur les vignettes */

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88),
        rgba(0, 0, 0, 0.05) 75%
    );
    color: #fff;
}

.gallery-caption {
    font-weight: 700;
    letter-spacing: 0.06em;
}

.gallery-overlay > i {
    flex-shrink: 0;
    font-size: 1.25rem;
}

/* Galeries détaillées */

.gallery-detail {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #252525;
    border-radius: 12px;
    background: #080808;
    color: #fff;
}

.gallery-detail[hidden],
.gallery-grid[hidden],
.gallery-filters[hidden],
.gallery-empty[hidden] {
    display: none !important;
}

.gallery-detail-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.gallery-detail-header .eyebrow {
    margin-bottom: 8px;
}

.gallery-detail-header h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.gallery-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 16px;
    border: 1px solid #e8c219;
    border-radius: 6px;
    background: #eab628;
    color: #fff;
    font: inherit;
    cursor: pointer;
    transition: background 0.25s ease;
}

.gallery-back:hover {
    background: #daa022;
}

/* Mosaïque des photographies */

.gallery-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.gallery-detail-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    background: #151515;
    transition: transform 0.3s ease;
}

.gallery-detail-grid img:hover {
    transform: scale(1.02);
}

.gallery-empty {
    margin: 25px 0;
    color: #bbb;
    text-align: center;
}

.gallery .hint {
    margin-top: 25px;
    color: #999;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* Tablettes */

@media (max-width: 900px) {
    .gallery-grid,
    .gallery-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Téléphones */

@media (max-width: 560px) {
    .gallery-grid,
    .gallery-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gallery-category-card {
        border-radius: 8px;
    }

    .gallery-overlay {
        padding: 12px;
        gap: 8px;
    }

    .gallery-caption {
        font-size: 0.75rem;
    }

    .gallery-overlay > i {
        font-size: 1rem;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter {
        padding: 9px 12px;
        font-size: 0.75rem;
    }

    .gallery-detail {
        padding: 15px;
    }

    .gallery-detail-header {
        align-items: flex-start;
    }

    .gallery-back {
        width: 100%;
    }
}



/* RÉSEAUX SOCIAUX KRIMBO */

.footer-socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
}

.footer-socials a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex: 0 0 44px;

    padding: 0;
    margin: 0;
    box-sizing: border-box;

    border: 1px solid #333;
    border-radius: 50%;
    background: #111;
    color: #fff;

    text-decoration: none;
    font-size: 18px;
}

.footer-socials a i {
    display: inline-block;
    margin: 0;
    padding: 0;
    line-height: 1;
}


/* COULEURS OFFICIELLES AU SURVOL DES RÉSEAUX SOCIAUX */

/* Facebook */
.footer-socials a[aria-label*="Facebook"]:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    color: #FFFFFF;
}

/* WhatsApp */
.footer-socials a[aria-label*="WhatsApp"]:hover {
    background-color: #25D366;
    border-color: #25D366;
    color: #FFFFFF;
}

/* YouTube */
.footer-socials a[aria-label*="YouTube"]:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    color: #FFFFFF;
}

/* TikTok */
.footer-socials a[aria-label*="TikTok"]:hover {
    background-color: #010101;
    border-color: #25F4EE;
    color: #FFFFFF;
    box-shadow: 0 0 12px rgba(37, 244, 238, 0.35);
}

/* Animation commune */
.footer-socials a {
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-socials a:hover {
    transform: translateY(-4px);
}


/* Téléphones */
@media (max-width: 600px) {
    .footer-socials {
        gap: 12px;
    }

    .footer-socials a {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }
}


/* =========================================================
   AGENDA DYNAMIQUE KRIMBO — CARTES ÉVÉNEMENTS
   Styles complémentaires pour les éléments rendus depuis MySQL
========================================================= */
.agenda .events {
    width: 100%;
    min-width: 0;
}

.agenda .event {
    grid-template-columns: 90px minmax(0, 1fr) 150px;
    align-items: stretch;
    min-width: 0;
}

.agenda .event .event-info {
    min-width: 0;
    align-self: center;
}

.agenda .event .event-info h3 {
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.agenda .event .event-info p {
    margin: 7px 0;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.agenda .event .event-info .event-description {
    margin-top: 12px;
    color: #b7b7b7;
    font-size: .88rem;
}

.agenda .event .event-booking-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
    color: var(--gold);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: color var(--transition);
}

.agenda .event .event-booking-link:hover {
    color: #f0cf83;
    text-decoration: underline;
}

.agenda .event .event-thumbnail {
    position: relative;
    display: block;
    align-self: stretch;
    min-height: 135px;
    overflow: hidden;
    background: #222;
    border: 1px solid rgba(255,255,255,.12);
}

.agenda .event .event-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 135px;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.agenda .event .event-thumbnail:hover img {
    transform: scale(1.06);
}

.agenda .event .thumbnail-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0,0,0,.28);
    opacity: 0;
    transition: opacity .25s ease;
}

.agenda .event .event-thumbnail:hover .thumbnail-overlay,
.agenda .event .event-thumbnail:focus-visible .thumbnail-overlay {
    opacity: 1;
}

.agenda .event-empty {
    grid-template-columns: 90px minmax(0, 1fr) 150px;
}

@media (max-width: 1000px) {
    .agenda .event,
    .agenda .event-empty {
        grid-template-columns: 75px minmax(0, 1fr) 120px;
        gap: 16px;
        padding: 22px;
    }
}

@media (max-width: 760px) {
    .agenda .event,
    .agenda .event-empty {
        grid-template-columns: 65px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .agenda .event .event-thumbnail {
        grid-column: 2;
        width: 100%;
        max-width: 240px;
        min-height: 130px;
        margin-top: 5px;
    }

    .agenda .event .event-thumbnail img {
        min-height: 130px;
        max-height: 180px;
    }

    .agenda .event .event-info .event-description {
        font-size: .82rem;
    }

    .agenda .event .thumbnail-overlay {
        opacity: 1;
        background: rgba(0,0,0,.12);
    }
}

@media (max-width: 420px) {
    .agenda .event,
    .agenda .event-empty {
        grid-template-columns: 54px minmax(0, 1fr);
        gap: 12px;
        padding: 14px;
    }

    .agenda .event .event-thumbnail {
        max-width: 100%;
    }
}


/* KRIMBO — Compléments du module artistes dynamique */
.artistes-categorie-compteur {
    margin: 12px 0 0;
    color: #c49a45;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
}
.artistes-vide {
    grid-column: 1 / -1;
    margin: 0;
    padding: 28px;
    color: #cfcfcf;
    background: rgba(255,255,255,.04);
    border: 1px dashed rgba(196,154,69,.45);
    border-radius: 8px;
    line-height: 1.7;
}
.artiste-personne-biographie {
    margin-top: 12px !important;
    color: #555 !important;
    white-space: normal;
}

/* ============================================================
   ACTUALITÉS KRIMBO — articles et événements synchronisés avec l'agenda
============================================================ */
.actualites-section { display:block; padding-top:110px; padding-bottom:110px; background:#101010; }
.actualites-heading { max-width:800px; margin:0 auto 48px; text-align:center; }
.actualites-heading h2 { margin-bottom:22px; }
.actualites-intro,.actualites-agenda-heading>p:last-child { max-width:700px; margin:0 auto; color:#bcbcbc; }
.actualites-grid,.actualites-events-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; max-width:1240px; margin:0 auto; }
.actualite-card,.actualite-event-card { min-width:0; overflow:hidden; background:#181818; border:1px solid rgba(255,255,255,.1); border-radius:5px; transition:transform .25s ease,border-color .25s ease; }
.actualite-card:hover,.actualite-event-card:hover { transform:translateY(-4px); border-color:rgba(200,155,60,.55); }
.actualite-image { display:block; position:relative; height:250px; overflow:hidden; background:#222; }
.actualite-image img,.actualite-event-card>img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.actualite-card:hover .actualite-image img { transform:scale(1.04); }
.actualite-tag { position:absolute; left:16px; top:16px; padding:5px 10px; background:var(--gold); color:#111; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.actualite-card-content,.actualite-event-content { padding:24px; }
.actualite-date { color:var(--gold-light); font-size:.78rem; letter-spacing:.04em; margin-bottom:12px; }
.actualite-card-content h3,.actualite-event-content h4 { color:#fff; font-size:1.25rem; line-height:1.3; margin-bottom:13px; }
.actualite-card-content>p:not(.actualite-date),.actualite-event-content>p:not(.actualite-date) { color:#bcbcbc; font-size:.92rem; line-height:1.7; margin-bottom:17px; }
.actualite-readmore { display:inline-flex; align-items:center; gap:9px; margin-top:4px; color:var(--gold-light); font-weight:700; font-size:.85rem; text-decoration:none; }
.actualite-readmore:hover { color:#fff; }
.actualites-empty { max-width:1240px; margin:0 auto 60px; padding:35px; border:1px dashed rgba(255,255,255,.2); text-align:center; color:#aaa; }
.actualites-empty i { display:block; color:var(--gold); font-size:1.8rem; margin-bottom:12px; }
.actualites-agenda-heading { max-width:1240px; margin:95px auto 32px; text-align:center; }
.actualites-agenda-heading h3 { font-size:clamp(1.6rem,3vw,2.5rem); margin-bottom:15px; }
.actualites-events-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.actualite-event-card>img { display:block; height:220px; }
.actualite-event-status { display:inline-block; padding:4px 9px; margin-bottom:12px; border-radius:2px; font-size:.68rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; }
.actualite-event-status.is-upcoming { background:rgba(200,155,60,.17); color:var(--gold-light); }
.actualite-event-status.is-past { background:rgba(255,255,255,.09); color:#bbb; }
.actualite-event-content .actualite-event-description { margin-top:5px; }
@media(max-width:900px) { .actualites-grid,.actualites-events-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .actualite-image { height:220px; } }
@media(max-width:600px) { .actualites-section { padding-top:75px; padding-bottom:75px; } .actualites-grid,.actualites-events-grid { grid-template-columns:1fr; gap:18px; } .actualite-image { height:240px; } .actualite-card-content,.actualite-event-content { padding:20px; } .actualites-agenda-heading { margin-top:65px; } }


/* =========================================================
   GALERIE DYNAMIQUE — ALBUMS ET CARROUSEL
========================================================= */
.gallery-count { display:inline-flex; align-items:center; gap:7px; font-size:.78rem; color:#eee; white-space:nowrap; }
.gallery-album-description { margin:10px 0 0; color:#bbb; line-height:1.65; max-width:720px; }
.gallery-carousel { position:relative; display:flex; align-items:center; justify-content:center; min-height:260px; padding:0 56px 40px; }
.gallery-slide { width:100%; margin:0; min-width:0; }
.gallery-slide-item { width:100%; text-align:center; }
.gallery-slide-item[hidden] { display:none !important; }
.gallery-slide-item > img { display:block; width:100%; max-height:72vh; min-height:240px; aspect-ratio:16/9; object-fit:contain; background:#050505; border-radius:10px; }
.gallery-slide-item figcaption { display:flex; flex-direction:column; gap:5px; padding:12px 5px 0; color:#ddd; text-align:left; line-height:1.5; }
.gallery-slide-item figcaption strong { color:#eabb30; }
.gallery-slide-item figcaption span { color:#aaa; }
.gallery-slide-nav { position:absolute; z-index:2; top:45%; transform:translateY(-50%); width:44px; height:44px; display:flex; align-items:center; justify-content:center; border:1px solid #d6b16d; border-radius:50%; background:rgba(12,12,12,.92); color:#fff; font-size:1rem; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.gallery-slide-nav:hover { background:#d6b16d; color:#111; }
.gallery-prev { left:0; }
.gallery-next { right:0; }
.gallery-slide-counter { position:absolute; bottom:7px; left:50%; transform:translateX(-50%); color:#ddd; font-size:.88rem; font-variant-numeric:tabular-nums; }
.gallery-thumbnails { display:flex; flex-wrap:wrap; justify-content:center; gap:9px; margin-top:12px; }
.gallery-thumbnail { width:78px; height:58px; padding:0; border:2px solid transparent; border-radius:6px; overflow:hidden; background:#111; cursor:pointer; opacity:.68; }
.gallery-thumbnail.active, .gallery-thumbnail:hover { border-color:#eabb30; opacity:1; }
.gallery-thumbnail img { width:100%; height:100%; display:block; object-fit:cover; }
.gallery-empty { text-align:center; color:#aaa; padding:28px 15px; }
.gallery-empty i { color:#d6b16d; font-size:2rem; }
@media(max-width:600px) {
 .gallery-carousel { padding:0 36px 36px; min-height:190px; }
 .gallery-slide-item > img { min-height:180px; aspect-ratio:4/3; }
 .gallery-slide-nav { width:32px; height:32px; font-size:.8rem; }
 .gallery-thumbnail { width:61px; height:46px; }
 .gallery-count { font-size:.68rem; }
}



/* ==================================================
   KRIMBO — BARRE D'INFORMATION DÉFILANTE
   Positionnée sous la navigation fixe
================================================== */

.krimbo-info-bar {
    display: flex !important;
    position: fixed !important;
    top: calc(var(--topbar-height) + var(--header-height)) !important;
    left: 0;
    right: 0;
    z-index: 9999 !important;

    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0;

    align-items: center;
    overflow: hidden;

    background: #ffffff;
    color: #111111;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);

    box-sizing: border-box;
    visibility: visible !important;
    opacity: 1 !important;
}

.krimbo-info-track {
    display: flex;
    flex: 0 0 auto;
    align-items: center;

    width: max-content;
    height: 100%;
    white-space: nowrap;

    animation: krimbo-info-defilement var(--krimbo-vitesse, 30s) linear infinite;
    will-change: transform;
}

.krimbo-info-item {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 24px;

    padding: 0 24px;

    color: #111111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.krimbo-info-item a {
    color: #005bac;
    text-decoration: none;
}

.krimbo-info-item a:hover {
    color: #a67d27;
    text-decoration: underline;
}

.krimbo-info-separator {
    flex-shrink: 0;
    color: #c49a45;
}

@keyframes krimbo-info-defilement {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.krimbo-info-bar:hover .krimbo-info-track {
    animation-play-state: paused;
}

/* Décalage du contenu sous les éléments fixes : ordinateur */
@media (min-width: 761px) {
    body {
        padding-top: calc(
            var(--topbar-height) +
            var(--header-height) +
            44px
        );
    }
}

/* Tablettes et téléphones */
@media (max-width: 760px) {
    .krimbo-info-bar {
        height: 40px;
        min-height: 40px;
    }

    .krimbo-info-item {
        gap: 14px;
        padding: 0 14px;
        font-size: 12px;
    }

    .krimbo-info-separator {
        margin-left: 0;
    }

    body {
        padding-top: calc(
            var(--topbar-height) +
            var(--header-height) +
            40px
        );
    }
}

/* Petits téléphones */
@media (max-width: 420px) {
    .krimbo-info-item {
        gap: 10px;
        padding: 0 10px;
        font-size: 11px;
    }
}

/* Respect des préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
    .krimbo-info-track {
        animation: none;
        will-change: auto;
    }
}

/* ============================================================
   KRIMBO — CARROUSEL DES PARTENAIRES
   Défilement horizontal de droite à gauche
============================================================ */

.historique-partenaires .partenaires-entete {
    max-width: 850px;
    margin: 0 auto 35px;
    text-align: center;
}

.historique-partenaires .partenaires-surtitre {
    display: inline-block;
    margin-bottom: 12px;
    color: #a67d27;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.historique-partenaires .partenaires-titre {
    margin: 0 0 18px;
    color: #202020;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
}

.historique-partenaires .partenaires-description {
    max-width: 760px;
    margin: 0 auto;
    color: #666;
    font-size: 15px;
    line-height: 1.9;
}

/* Fenêtre du carrousel */
.historique-partenaires .partenaires-carrousel {
    width: 100%;
    max-width: 1250px;
    margin: 35px auto 0;
    overflow: hidden;
    padding: 12px 0 22px;
    position: relative;
}

/* Piste animée */
.historique-partenaires .partenaires-piste {
    display: flex;
    align-items: stretch;
    gap: 24px;
    width: max-content;
    animation: krimboDefilementPartenaires 42s linear infinite;
    will-change: transform;
}

/* Chaque logo garde exactement la même largeur */
.historique-partenaires .historique-partenaire {
    display: flex !important;
    flex: 0 0 260px;
    flex-direction: column;
    width: 260px;
    min-width: 260px;
    min-height: 300px;
    padding: 0 !important;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #e9e1d4 !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06) !important;
    color: #222;
    text-decoration: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}

.historique-partenaires .historique-partenaire:hover {
    transform: none;
    border-color: #c89b3c !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .12) !important;
}

/* Zone uniforme réservée au logo */
.historique-partenaires .historique-partenaire-visuel {
    display: flex !important;
    flex: 0 0 180px;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    height: 180px !important;
    padding: 22px;
    overflow: hidden;
    background: #fff !important;
    border-bottom: 1px solid #f0f0f0;
}

.historique-partenaires .historique-partenaire-visuel img {
    display: block;
    width: 100%;
    max-width: 190px !important;
    height: 125px;
    max-height: 130px !important;
    object-fit: contain !important;
    transition: transform .3s ease;
}

.historique-partenaires .historique-partenaire:hover
.historique-partenaire-visuel img {
    transform: scale(1.04);
}

/* Nom et description */
.historique-partenaires .historique-partenaire .card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    padding: 18px 15px;
    text-align: center;
}

.historique-partenaires .historique-partenaire .card-title {
    margin: 0;
    color: #252525;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.historique-partenaires .partenaire-description {
    margin-top: 8px;
    color: #666;
    font-size: 12px;
    line-height: 1.5;
}

.historique-partenaires .partenaire-indicateur {
    flex-shrink: 0;
    width: 35px;
    height: 3px;
    margin-top: 12px;
    background: #c49a45;
    border-radius: 10px;
}

.historique-partenaires .partenaire-lien {
    display: flex;
    flex: 1;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.historique-partenaires .partenaire-logo-absent {
    color: #777;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    overflow-wrap: anywhere;
}

.historique-partenaires .partenaires-defilement-note {
    margin-top: 10px;
    color: #777;
    font-size: 12px;
    text-align: center;
}

.historique-partenaires .partenaires-aucun {
    margin: 25px 0;
    color: #666;
    text-align: center;
}

/* Défilement continu */
@keyframes krimboDefilementPartenaires {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Pause au survol pour faciliter la lecture */
.historique-partenaires .partenaires-carrousel:hover
.partenaires-piste {
    animation-play-state: paused;
}

/* Tablettes */
@media (max-width: 760px) {
    .historique-partenaires .historique-partenaire {
        flex-basis: 220px;
        width: 220px;
        min-width: 220px;
        min-height: 270px;
    }

    .historique-partenaires .partenaires-piste {
        gap: 16px;
        animation-duration: 34s;
    }

    .historique-partenaires .historique-partenaire-visuel {
        flex-basis: 155px;
        height: 155px !important;
        padding: 18px;
    }

    .historique-partenaires .historique-partenaire-visuel img {
        height: 110px;
    }
}

/* Petits écrans */
@media (max-width: 420px) {
    .historique-partenaires .historique-partenaire {
        flex-basis: 190px;
        width: 190px;
        min-width: 190px;
    }

    .historique-partenaires .partenaires-piste {
        gap: 12px;
        animation-duration: 30s;
    }
}

/* Accessibilité : désactiver le défilement automatique si demandé */
@media (prefers-reduced-motion: reduce) {
    .historique-partenaires .partenaires-piste {
        animation: none;
        transform: none;
    }

    .historique-partenaires .historique-partenaire-visuel img {
        transition: none;
    }
}


/* =====================================================
   KRIMBO — CORRECTION DU CARROUSEL DES PARTENAIRES
   À placer tout à la fin de assets/css/style.css
===================================================== */

.historique-partenaires .partenaires-carrousel {
    position: relative;
    display: block;
    width: 100%;
    max-width: 1250px;
    margin: 25px auto 0;
    padding: 10px 0 25px;
    overflow: hidden;
}

.historique-partenaires .partenaires-fenetre {
    display: block;
    width: 100%;
    overflow: hidden;
}

.historique-partenaires .partenaires-piste {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0 !important;
    width: max-content !important;
    max-width: none !important;
    animation: krimboDefilementPartenaires 35s linear infinite;
    will-change: transform;
}

/* Les deux groupes doivent contenir les mêmes partenaires */
.historique-partenaires .partenaires-groupe {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    flex: 0 0 auto !important;
    width: max-content !important;
    padding-right: 24px;
}

/* Taille fixe de chaque carte */
.historique-partenaires .partenaires-element {
    display: block !important;
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    height: auto;
    margin: 0 !important;
    align-self: stretch;
}

/* Même hauteur pour le cadre de chaque logo */
.historique-partenaires .partenaires-element .historique-partenaire-visuel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px !important;
    min-height: 180px;
    max-height: 180px;
    padding: 15px;
    overflow: hidden;
    background: #fff;
}

.historique-partenaires .partenaires-element
.historique-partenaire-visuel img {
    display: block;
    width: 100%;
    max-width: 190px !important;
    height: 130px !important;
    max-height: 130px !important;
    margin: auto;
    object-fit: contain;
}

/* Le lien ne doit pas agrandir la carte */
.historique-partenaires .partenaires-element > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.historique-partenaires .partenaires-element .card-body {
    min-height: 90px;
    text-align: center;
}

/* Défilement continu vers la gauche */
@keyframes krimboDefilementPartenaires {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause lorsque la souris survole le carrousel */
.historique-partenaires .partenaires-carrousel:hover
.partenaires-piste {
    animation-play-state: paused;
}

/* Adaptation aux petits écrans */
@media (max-width: 600px) {
    .historique-partenaires .partenaires-groupe {
        gap: 15px;
        padding-right: 15px;
    }

    .historique-partenaires .partenaires-element {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }

    .historique-partenaires .partenaires-piste {
        animation-duration: 30s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .historique-partenaires .partenaires-piste {
        animation: none;
    }
}


/* ================================================
   KRIMBO — CARROUSEL PARTENAIRES : CORRECTION
================================================ */

.historique-partenaires .partenaires-carrousel {
    display: block;
    width: 100%;
    max-width: 1800px;
    margin: 25px auto;
    padding: 10px 0 25px;
    overflow: hidden;
}

.historique-partenaires .partenaires-piste {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch;
    width: max-content !important;
    max-width: none !important;
    gap: 0 !important;
    animation: krimboPartenairesDefilement 35s linear infinite;
    will-change: transform;
}

.historique-partenaires .partenaires-groupe {
    display: flex !important;
    flex: 0 0 auto !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch;
    justify-content: flex-start;
    gap: 24px;
    width: max-content !important;
    padding-right: 24px;
}

/* Une largeur fixe pour toutes les cartes */
.historique-partenaires .partenaires-element {
    display: block !important;
    flex: 0 0 260px !important;
    width: 260px !important;
    min-width: 260px !important;
    max-width: 260px !important;
    margin: 0 !important;
    align-self: stretch;
}

/* Les liens remplissent la carte sans modifier sa largeur */
.historique-partenaires .partenaire-lien {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

/* Cadres de logos uniformes */
.historique-partenaires .partenaires-element
.historique-partenaire-visuel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px !important;
    min-height: 180px;
    max-height: 180px;
    padding: 15px;
    overflow: hidden;
    background: #fff;
}

.historique-partenaires .partenaires-element
.historique-partenaire-visuel img {
    display: block;
    width: 100%;
    max-width: 190px !important;
    height: 130px !important;
    max-height: 130px !important;
    object-fit: contain;
}

/* Animation continue : le second groupe reprend le premier */
@keyframes krimboPartenairesDefilement {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause au survol */
.historique-partenaires .partenaires-carrousel:hover
.partenaires-piste {
    animation-play-state: paused;
}

/* Adaptation aux téléphones */
@media (max-width: 600px) {
    .historique-partenaires .partenaires-groupe {
        gap: 15px;
        padding-right: 15px;
    }

    .historique-partenaires .partenaires-element {
        flex-basis: 220px !important;
        width: 220px !important;
        min-width: 220px !important;
        max-width: 220px !important;
    }

    .historique-partenaires .partenaires-piste {
        animation-duration: 30s;
    }
}

@media (prefers-reduced-motion: reduce) {
    .historique-partenaires .partenaires-piste {
        animation: none;
    }
}

/* KRIMBO — Annonce du prochain spectacle */
.spectacle-prochainement {
    min-height: 360px;
    padding: 70px 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f4eadb;
    background:
        radial-gradient(ellipse at center, rgba(200, 155, 60, 0.13), transparent 65%),
        #111;
    border-top: 1px solid rgba(200, 155, 60, 0.35);
    border-bottom: 1px solid rgba(200, 155, 60, 0.35);
}

.spectacle-prochainement-contenu {
    max-width: 760px;
    margin: 0 auto;
}

.spectacle-prochainement .eyebrow {
    color: #c89b3c;
    letter-spacing: 4px;
    font-size: 12px;
    font-weight: 700;
}

.spectacle-prochainement h2 {
    margin: 20px 0;
    color: #f4eadb;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.2;
}

.spectacle-prochainement h2 em {
    color: #c89b3c;
    font-style: normal;
}

.spectacle-prochainement-contenu > p:not(.eyebrow) {
    color: #d5cec3;
    font-size: 16px;
    line-height: 1.8;
}

.spectacle-prochainement-ligne {
    display: block;
    width: 75px;
    height: 3px;
    margin: 30px auto 0;
    background: #c89b3c;
}