/* ------------------------------ */
/*          POLICES              */
/* ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&amp;display=swap');

@font-face {
    font-family: "Stencil";
    src: url("stencil.html");
}

/* ------------------------------ */
/*          VARIABLES             */
/* ------------------------------ */
:root {
    --noir: #000000;
    /* Noir pur pour matcher le fond des logos */
    /* Variables logos – modifie ici pour redimensionner */
     --logo-langue-w: 300px;
    --logo-main-w: 600px;
    --logo-social-w: 32px;   /* hauteur auto = ratio préservé */
    --logo-gap: 0px;         /* espace entre les deux logos */
    --blanc: #FFFFFF;
    --rouge: #FF1A1A;
    --gris-clair: #D9D9D9;
    --texte: #FFFFFF;
    --texte-noir: #0A0A0A;
    --rouge-dark: #cc1414;
    --rouge-glow: rgba(255, 26, 26, 0.35);
}

/* ------------------------------ */
/*          GLOBAL                */
/* ------------------------------ */
* { box-sizing: border-box; }

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Arial", sans-serif;
    background-color: var(--noir);
    color: var(--texte);
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--rouge);
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--rouge);
    border-radius: 2px;
}

blockquote {
    font-family: "Stencil", sans-serif;
    font-size: 20px;
    color: var(--rouge);
    padding-left: 10px;
    margin: 10px 0;
}

/* ------------------------------ */
/*          TOPBAR                */
/* ------------------------------ */
.topbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 50px;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
    z-index: 10000;
    border-bottom: 1px solid rgba(255, 26, 26, 0.25);
}

#burger-toggle { display: none; }

.burger {
    font-size: 28px;
    cursor: pointer;
    color: var(--rouge);
    transition: color 0.3s, transform 0.2s;
    padding: 5px 8px;
    border-radius: 4px;
}
.burger:hover { color: var(--gris-clair); transform: scale(1.1); }

/* ------------------------------ */
/*          HEADER                */
/* ------------------------------ */
header {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px 0;          /* haut/bas réduit : logos plus serrés */
    background: #000000;        /* noir pur = fond des logos */
    border-bottom: 2px solid rgba(255, 26, 26, 0.12);
}

/* .logo img géré par .logo-main et .logo-langue ci-dessous */

/* ------------------------------ */
/*     MENU PERMANENT             */
/* ------------------------------ */
.menu-permanent {
    width: 100%;
    background: var(--noir);
    border-bottom: 2px solid var(--rouge);
    position: sticky;
    top: 50px;
    z-index: 100;
}

.menu-permanent ul {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.menu-permanent a {
    color: var(--gris-clair);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 18px;
    display: block;
    transition: color 0.25s, background 0.25s;
    position: relative;
}

.menu-permanent a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 2px;
    background: var(--rouge);
    transition: width 0.3s ease;
}

.menu-permanent a:hover {
    color: var(--blanc);
    background: rgba(255, 26, 26, 0.08);
}
.menu-permanent a:hover::after { width: 80%; }
.menu-permanent a.active { color: var(--rouge); }
.menu-permanent a.active::after { width: 80%; }

/* ------------------------------ */
/*     MENU BURGER LATERAL        */
/* ------------------------------ */
.menu-container {
    position: fixed;
    top: 0; right: -320px;
    width: 280px;
    height: 100vh;
    background: #0d0d0d;
    border-left: 2px solid var(--rouge);
    padding-top: 50px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    box-shadow: -8px 0 32px rgba(0,0,0,0.8);
}

#burger-toggle:checked ~ .menu-container { right: 0; }

.menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 20px;
    margin: 0;
}

.menu li { border-bottom: 1px solid rgba(255, 26, 26, 0.1); }

.menu a {
    color: var(--gris-clair);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    padding: 14px 10px;
    transition: color 0.25s, padding-left 0.25s;
}

.menu a:hover {
    color: var(--rouge);
    padding-left: 18px;
}

.close-btn {
    position: absolute;
    top: 18px; right: 20px;
    font-size: 22px;
    color: var(--rouge);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s, background 0.3s;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,26,26,0.4);
    border-radius: 50%;
}

.close-btn:hover {
    color: var(--blanc);
    background: var(--rouge);
    transform: rotate(90deg);
}

/* ------------------------------ */
/*      SECTIONS ALTERNÉES        */
/* ------------------------------ */
.noir {
    background-color: var(--noir);
    color: var(--texte);
    padding: 5px 5px;
}

.blanc {
    background-color: var(--blanc);
    color: var(--texte-noir);
    padding: 5px 5px;
}

.blanc h2, .blanc h3 { color: var(--rouge); }
.noir h2, .blanc h2 { margin-top: 0; font-size: 22px; }
.noir p, .blanc p {font-size: 14px; line-height: 1.2;margin-top: 4px !important;
    margin-bottom: 4px !important;}
.blanc ul li { font-size: 14px; line-height: 1.2; }

/* ------------------------------ */
/*  SECTIONS IMAGE PLEINE LARGEUR */
/*  Ajouter class="img-flush"     */
/*  sur la <section> concernée    */
/* ------------------------------ */
.img-flush {
    padding: 0;               /* supprime le padding hérité de .noir/.blanc */
    line-height: 0;           /* évite le petit espace baseline sous l'img  */
    font-size: 0;
}

.img-flush img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;                /* écrase le margin: 20px auto des .noir img  */
}

/* Variante : image centrée avec largeur max réduite (ex: vignettes larges) */
.img-flush--center img {
    max-width: 900px;         /* limite la largeur des très grandes images  */
    margin: 0 auto;           /* centre horizontalement                     */
    width: 100%;
}

/* ------------------------------ */
/*        TRANSITION SECTION      */
/* ------------------------------ */
.section-transition {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--rouge), transparent);
    opacity: 0.4;
}

/* ------------------------------ */
/*          VIDEO WRAPPER         */
/* ------------------------------ */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 10px auto;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,26,26,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* ------------------------------ */
/*          FOOTER                */
/* ------------------------------ */
footer {
    text-align: center;
    padding: 28px 20px;
    background-color: var(--noir);
    color: var(--rouge);
    border-top: 2px solid rgba(255, 26, 26, 0.2);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Centrage */
.noir, .blanc { text-align: center; }
.noir p, .blanc p {
    text-align: center;
    margin-left: auto; margin-right: auto;
    max-width: 760px;
}
.noir img, .blanc img { display: block; margin: 10px auto; }

.section-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}
.section-content p { text-align: left; }
.section-image {
    width: 100%;
    max-width: 900px; /* limite la taille pour éviter que ce soit trop grand */
    height: auto;
    object-fit: cover;
}
.page-container { max-width: 100%; }

/* ------------------------------ */
/*    GALERIE PHOTOS (accordéon)   */
/* ------------------------------ */
.liste-annees { padding: 40px 20px; }

.annee {
    background: #111;
    color: var(--rouge);
    margin: 14px auto;
    width: 340px;
    max-width: 95vw;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    border: 1px solid rgba(255,26,26,0.15);
}

.annee:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,26,26,0.15);
}
.annee.open {
    box-shadow: 0 8px 32px rgba(255,26,26,0.2);
    border-color: rgba(255,26,26,0.4);
    width: 100%;
    max-width: 740px;
}

.annee-header {
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,26,26,0.1);
    transition: background 0.25s;
    gap: 10px;
}

.annee:hover .annee-header,
.annee.open .annee-header { background: rgba(255,26,26,0.06); }

.annee-header h3 { margin: 0; font-size: 20px; letter-spacing: 3px; flex: 1; }
.annee-header p { margin: 0; font-size: 12px; color: var(--gris-clair); opacity: 0.6; }

.annee-chevron {
    font-size: 20px;
    color: var(--rouge);
    transition: transform 0.3s;
    line-height: 1;
}
.annee.open .annee-chevron { transform: rotate(180deg); }

.annee-content {
    max-height: 0;
    overflow: hidden;
    background: #111;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 15px;
}
.annee.open .annee-content { max-height: 900px; padding-bottom: 20px; }

/* Galerie interne */
.galerie { text-align: center; margin-top: 10px; }

.galerie-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.photo-principale {
    flex: 1;
    max-width: 560px;
    width: 100%;
    border-radius: 8px;
    display: block;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    max-height: 600px; /* ajuste si tu veux */
height: auto;
object-fit: contain;
background: #000; /* évite les bandes blanches */

}

.btn-prev, .btn-next {
    background: transparent;
    border: 2px solid var(--rouge);
    color: var(--rouge);
    font-size: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}
.btn-prev:hover, .btn-next:hover {
    background: var(--rouge);
    color: var(--blanc);
    transform: scale(1.1);
}

.compteur { color: var(--gris-clair); margin-top: 10px; font-size: 13px; opacity: 0.7; }

.miniatures {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.miniatures img {
    width: 72px; height: 54px;
    object-fit: cover;
    border-radius: 5px;
    opacity: 0.55;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.25s, border-color 0.25s;
    border: 2px solid transparent;
}

.miniatures img.active,
.miniatures img:hover {
    opacity: 1;
    transform: scale(1.07);
    border-color: var(--rouge);
}

/* ------------------------------ */
/*       GALERIE VIDEOS           */
/* ------------------------------ */
.liste-annees-videos { padding: 40px 20px; }

.annee-video {
    background: #111;
    color: var(--rouge);
    margin: 14px auto;
    width: 340px;
    max-width: 95vw;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, width 0.35s, max-width 0.35s;
    border: 1px solid rgba(255,26,26,0.15);
}

.annee-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,26,26,0.15);
}
.annee-video.open {
    width: 100%;
    max-width: 860px;
    box-shadow: 0 8px 32px rgba(255,26,26,0.2);
    border-color: rgba(255,26,26,0.4);
    transform: none;
}

.annee-video-header {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,26,26,0.1);
    transition: background 0.25s;
}

.annee-video:hover .annee-video-header,
.annee-video.open .annee-video-header { background: rgba(255,26,26,0.06); }

.annee-video-header h3 { margin: 0; font-size: 20px; letter-spacing: 3px; flex: 1; }
.annee-video-header p { margin: 0; font-size: 12px; color: var(--gris-clair); opacity: 0.6; }

.annee-video-chevron {
    font-size: 20px;
    color: var(--rouge);
    transition: transform 0.3s;
}
.annee-video.open .annee-video-chevron { transform: rotate(180deg); }

.annee-video-content {
    max-height: 0;
    overflow: hidden;
    background: #111;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 15px;
}
.annee-video.open .annee-video-content { max-height: 3000px; padding-bottom: 24px; }

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    background: #0d0d0d;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,26,26,0.1);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.video-item:hover {
    border-color: rgba(255,26,26,0.35);
    box-shadow: 0 4px 20px rgba(255,26,26,0.12);
}
.video-item .video-wrapper {
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    max-width: 100%;
}
.video-titre {
    padding: 10px 14px;
    font-size: 12px;
    color: var(--gris-clair);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
}

/* ------------------------------ */
/*       INTERVENANTS             */
/* ------------------------------ */
/* --- LISTE INTERVENANTS EN MODE LIGNE --- */
.intervenants-liste {
    max-width: 900px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Une ligne = photo + texte */
.intervenant-ligne {
    display: flex;
    align-items: center;
    gap: 30px;
    background: #111;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,26,26,0.25);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Photo ronde */
.intervenant-photo {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rouge);
    box-shadow: 0 0 12px rgba(255,26,26,0.4);
}

/* Texte */
.intervenant-texte {
    flex: 1;
    text-align: left;
}

.intervenant-texte h3 {
    margin: 0 0 10px;
    font-size: 22px;
    color: white; /* plus de rouge */
    letter-spacing: 1px;
}

.intervenant-texte p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #ddd;
}

/* Responsive */
@media (max-width: 700px) {
    .intervenant-ligne {
        flex-direction: column;
        text-align: center;
    }
    .intervenant-texte {
        text-align: center;
    }
}

.intervenants {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
}

.intervenant {
    cursor: pointer;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    background: #111;
    border-radius: 16px;
    padding: 28px 20px;
    border: 1px solid rgba(255,26,26,0.15);
}
.intervenant:hover {
    transform: translateY(-4px);
    border-color: rgba(255,26,26,0.5);
    box-shadow: 0 12px 32px rgba(255,26,26,0.2);
}
.intervenant img {
    width: 200px; height: 200px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--rouge);
    box-shadow: 0 4px 16px rgba(255,26,26,0.2);
}
.intervenant h3 { font-size: 16px; margin: 16px 0 0; letter-spacing: 1px; }

@media (max-width: 700px) {
    .intervenants { grid-template-columns: repeat(2, 1fr); }
    .intervenant { padding: 16px 10px; }
    .intervenant img { width: 120px; height: 120px; }
}
@media (max-width: 420px) {
    .intervenants { grid-template-columns: 1fr; }
    .intervenant img { width: 160px; height: 160px; }
}

.bio-prof-ligne {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: 40px auto;
    background: #111;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(255,26,26,0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}

.bio-photo img {
    width: 260px;
    height: 260px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid rgba(255,26,26,0.4);
    box-shadow: 0 0 20px rgba(255,26,26,0.3);
}

.bio-texte {
    flex: 1;
    text-align: left;
}

.bio-texte h2 {
    margin-top: 0;
    color: var(--rouge);
    font-size: 32px;
}

.bio-texte p {
    font-size: 15px;
    line-height: 1.6;
    color: #ddd;
    margin-top: 0 !important;
}

.bio-texte a {
    color: #c59bff;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.bio-texte a:hover {
    color: #e3caff;
    text-shadow: 0 0 8px rgba(197,155,255,0.6);
}

@media (max-width: 700px) {
    .bio-prof-ligne {
        flex-direction: column;
        text-align: center;
    }
    .bio-texte {
        text-align: center;
    }
}



/* ------------------------------ */
/*       BOUTONS                  */
/* ------------------------------ */
#retour, .btn-rock {
    margin-top: 24px;
    padding: 12px 28px;
    cursor: pointer;
    background: transparent;
    color: var(--rouge);
    border: 2px solid var(--rouge);
    border-radius: 4px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.15s;
}
#retour:hover, .btn-rock:hover {
    background: var(--rouge);
    color: var(--blanc);
    box-shadow: 0 4px 20px var(--rouge-glow);
    transform: translateY(-2px);
}

/* ------------------------------ */
/*         MAP CONTAINER          */
/* ------------------------------ */
.map-container {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.map-container iframe {
    display: block;
    width: 100%; max-width: 700px;
    height: 380px; border: none;
}

/* ------------------------------ */
/*         RESPONSIVE             */
/* ------------------------------ */
@media (max-width: 768px) {
    /* logos responsive gérés dans le bloc @media dédié */
    .menu-permanent { display: none; }
    .annee, .annee-video { width: 95vw; }
    .annee.open, .annee-video.open { width: 95vw; max-width: 95vw; }
}

/* ------------------------------ */
/*   IMAGE DE PRÉSENTATION        */
/*   Pas de découpe : tout visible */
/* ------------------------------ */

/* Harmonisation des images de présentation */
.presentation-img {
    width: 100% !important;
    max-width: 900px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block;
    object-fit: contain !important;
}



/* ====================== STATISTIQUES - 3 BOÎTES ====================== */

.stats-container {
    display: flex;
    justify-content: center;        /* Centre horizontalement */
    gap: 30px;
    flex-wrap: wrap;
    margin: 25px auto;
    max-width: 1100px;
    padding: 0 15px;
}

.stat-box {
    background: #111;
    border: 2px solid rgba(255,26,26,0.3);
    padding: 22px 25px;
    border-radius: 12px;
    text-align: center;
    width: 180px;
    min-width: 160px;
    transition: transform 0.3s ease, border-color 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: var(--rouge);
}

.stat-box h3 {
    font-size: 36px;
    color: var(--rouge);
    margin: 0 0 8px 0;
    font-weight: 700;
}

.stat-box p {
    margin: 0;
    font-size: 15px;
    color: #ddd;
    line-height: 1.3;
}

/* Mobile */
@media (max-width: 768px) {
    .stats-container {
        gap: 20px;
    }
    .stat-box {
        width: 150px;
        padding: 18px 15px;
    }
    .stat-box h3 {
        font-size: 32px;
    }
}

/* --- HEADER STRUCTURÉ EN 3 BLOCS --- */
.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

/* Gauche */
.header-left {
    justify-self: start;
}
.logo-langue {
    width: var(--logo-langue-w);
    height: auto;
}

/* Centre */
.header-center {
    justify-self: center;
}
.logo-main {
    width: var(--logo-main-w);
    height: auto;
}

/* Droite */
.header-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-social {
    width: var(--logo-social-w);
    height: var(--logo-social-w);
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 0 10px rgba(255,26,26,0.25);
}

.logo-social:hover {
    transform: scale(1.12);
    box-shadow: 0 0 14px rgba(255,26,26,0.55);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-langue { width: 20vw; }
    .logo-main   { width: 52vw; }
    .logo-social { width: 26px; height: 26px; }
    .header-right { gap: 8px; }
    .header-container { padding: 6px 10px; }
}

@media (max-width: 380px) {
    .logo-langue { width: 18vw; }
    .logo-main   { width: 50vw; }
    .logo-social { width: 22px; height: 22px; }
    .header-right { gap: 6px; }
}


.bandeau-affiche {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2px auto;
    display: block;
}

/* SECTION CORINE — texte gauche / photo droite */
.section-gauche-droite {
    padding: 20px 20px;
}

.gauche-droite-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.gauche-droite-texte {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.gauche-droite-texte p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
}

.gauche-droite-photo img {
    width: 360px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid rgba(255,26,26,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* ← Responsive placé ICI, après les règles de base */
@media (max-width: 800px) {
    .gauche-droite-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
    .gauche-droite-texte {
        text-align: center;
        min-width: 0;
        width: 100%;
    }
    .gauche-droite-photo {
        width: 100%;
    }
    .gauche-droite-photo img {
        width: 100%;
        max-width: 100%;
    }
}

/* SECTION — photo gauche / texte droite */
.section-droite-gauche {
    padding: 60px 20px;
}

.droite-gauche-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.droite-gauche-photo img {
    width: 360px;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    border: 3px solid rgba(255,26,26,0.4);
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.droite-gauche-texte {
    flex: 1;
    min-width: 280px;
    text-align: left;
}

.droite-gauche-texte p {
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
}

/* Responsive */
@media (max-width: 800px) {
    .droite-gauche-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .droite-gauche-texte {
        text-align: center;
        min-width: 0;
        width: 100%;
    }
    .droite-gauche-photo {
        width: 100%;
    }
    .droite-gauche-photo img {
        width: 100%;
        max-width: 100%;
    }
}
.section-contact {
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

@media (max-width: 768px) {
    .section-contact {
        padding: 30px 15px;
    }
}

.section-contact h2 {
    margin-bottom: 30px;
}

.section-contact p {
    font-size: 15px;
    line-height: 1.6;
   
}
/* --- Merchandising : images sur une seule ligne --- */
.merch-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.merch-row img {
    width: 200px;
    height: auto;
    margin: 0 !important;
    display: block;
}

@media (max-width: 600px) {
    .merch-row img {
        width: calc(50% - 20px);
        min-width: 120px;
    }
}
.section-evenements {
    position: relative;
    background-image: url("fond.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Hauteur type bannière */
    min-height: 420px;

    /* Centrage vertical + horizontal */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: 60px 20px;
    text-align: center;
    color: white;
}

/* Overlay sombre pour lisibilité */
.section-evenements::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(1px);
    z-index: 0;
}

/* Le contenu passe au-dessus de l’overlay */
.section-evenements * {
    position: relative;
    z-index: 1;
}

/* Style du bloc texte */
.section-evenements h2,
.section-evenements p,
.section-evenements ul {
    margin: 10px 0;
    padding: 10px 20px;
    background: rgba(0,0,0,0.45);
    border-radius: 8px;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-evenements h2,
    .section-evenements p,
    .section-evenements ul {
        display: block;
        width: 90%;
        text-align: left;
        box-sizing: border-box;
    }
    .section-evenements ul {
        padding-left: 30px;
    }
    .section-evenements li {
        font-size: 13px;
        line-height: 1.5;
    }
}
.section-pedagogie {
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    animation: bgRock 4s infinite alternate ease-in-out;
}

@media (max-width: 768px) {
    .section-pedagogie {
        height: auto;
        min-height: 180px;
        padding: 20px 0;
    }
}

/* Animation du fond */
@keyframes bgRock {
    0% {
        background-color: #000000; /* noir */
    }
    100% {
        background-color: #b30000; /* rouge rock */
    }
}

/* ====================== GALERIE VIDEOS (identique aux photos) ====================== */

.liste-annees-videos {
    padding: 40px 20px;
}

.galerie-video {
    text-align: center;
    margin-top: 20px;
}

.galerie-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.video-principale-wrapper {
    flex: 1;
    max-width: 680px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}

.video-principale {
    width: 100%;
    height: 100%;
    border: none;
}

.btn-prev, .btn-next {
    background: transparent;
    border: 2px solid var(--rouge);
    color: var(--rouge);
    font-size: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-prev:hover, .btn-next:hover {
    background: var(--rouge);
    color: white;
    transform: scale(1.1);
}

.compteur {
    color: var(--gris-clair);
    margin: 12px 0;
    font-size: 14px;
    opacity: 0.8;
}

.miniatures {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.video-mini {
    width: 120px;
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s;
}

.video-mini img {
    width: 100%;
    height: auto;
    display: block;
}

.video-mini:hover,
.video-mini.active {
    border-color: var(--rouge);
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(255,26,26,0.4);
}
/* ====================== MASTERCLASSE - Texte à droite ====================== */

.masterclasse-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1400px;
    margin: 40px auto;
    justify-content: center;
    align-items: flex-start;
}

.masterclasse-container .section-image {
    max-width: 900px;           /* garde exactement la taille d'avant */
    width: 100%;
    flex-shrink: 0;
    margin: 0;                  /* on enlève le centrage auto pour permettre le flex */
}

.masterclasse-info {
    flex: 1 1 380px;
    min-width: 340px;
    text-align: left;
    padding-top: 40px;
}

.masterclasse-info h4 {
    color: var(--rouge);
    margin: 0 0 25px 0;
    font-size: 1.85rem;
}

.masterclasse-info ul {
    padding-left: 28px;
}

.masterclasse-info li {
    margin-bottom: 16px;
    font-size: 1.22rem;
}

.masterclasse-info .renseignement {
    margin-top: 35px;
    font-style: italic;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .masterclasse-container {
        flex-direction: column;
        gap: 35px;
    }
    .masterclasse-info {
        text-align: center;
        padding-top: 10px;
        min-width: 0;
        width: 100%;
    }
}/* ====================== SECTION CORINE ====================== */

.corine-premiere-phrase {
    color: var(--rouge);
    font-weight: 700;
    font-size: 20px;
}

/* ====================== CITATION CORINE - TEXTE CLASSIQUE ====================== */

.citation-classique {
    font-family: Arial, sans-serif;
    font-size: 18.5px;
    line-height: 1.5;
    color: var(--texte);           /* blanc */
    font-style: italic;
    margin: 30px 0 20px 0;
    padding: 0 20px;
    text-align: left;
    max-width: 620px;
}

/* Sur mobile */
@media (max-width: 768px) {
    .citation-classique {
        font-size: 17px;
        padding: 0 15px;
    }
}