:root {
    --rouge: #d9302a;
    --rouge-clair: #f15a50;
    --noir: #0f0e0e;
    --gris: #1a1818;
    --blanc: #fff8f0;
    --jaune: #ffd700;
    --line: rgba(217, 48, 42, .15);
}

/* =====================================================
   RESET / BASE
===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--noir);
    color: var(--blanc);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(100% - 40px, 1400px);
    margin: auto;
    padding: 0 20px;
}

/* =====================================================
   TITRES GÉNÉRAUX
===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.1;
}

h1,
h2,
h3 {
    margin: 0;
}

#content .container a {
    color: rgb(217, 48, 42);
    text-decoration: none;
}

hr {
    color: #ddd;
}

/* =====================================================
   HEADER SIMPLE / LEGACY
===================================================== */

header {
    font-family: 'Playfair Display', serif;
    background: rgba(15, 14, 14, .95);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--line);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    gap: 24px;
    flex-wrap: wrap;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--rouge);
    letter-spacing: 2px;
}

.menu {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.menu a {
    color: #ccc;
    font-weight: 600;
    padding: 8px 0;
    transition: .3s;
}

.menu a:hover {
    color: var(--rouge);
    border-bottom: 2px solid var(--rouge);
}

/* =====================================================
   HERO VIDÉO
===================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    background: #000;
    z-index: 1;
}

.hero-empty {
    min-height: 300px;
}

.hero-overlay,
.hero-overlay-2 {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(217, 48, 42, .85),
            rgba(217, 48, 42, .45) 70%
        ),
        url('/images/alban_2.jpg') center 30% / cover;
    background-blend-mode: multiply;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 0 24px;
}

.hero-badge {
    background: var(--rouge);
    color: #fff;
    padding: 12px 24px;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border-radius: 4px;
    box-shadow: 0 8px 25px rgba(217, 48, 42, .4);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 12vw, 8.5rem);
    font-weight: 700;
    line-height: .95;
    margin: 0 0 20px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, .8);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #fff8e0;
    margin-bottom: 40px;
    max-width: 900px;
    line-height: 1.6;
}

.play-btn {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: var(--rouge);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 15px 40px rgba(217, 48, 42, .6);
    cursor: pointer;
    transition: .3s;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(217, 48, 42, .8);
}

.play-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
    width: 0;
    height: 0;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    border-left: 28px solid #fff;
}

/* =====================================================
   LIGHTBOX
===================================================== */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .98);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-video-container {
    width: 90vw;
    max-width: 1200px;
    height: 70vh;
    max-height: 600px;
}

.lightbox-video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    cursor: pointer;
    font-weight: 700;
    border: 0;
    background: transparent;
}

/* =====================================================
   SECTIONS / BACKGROUNDS
===================================================== */

section {
    padding: 90px 0;
}

.bg-transparent {
    background: transparent;
}

.bg-noir {
    background: var(--noir);
}

.bg-gris {
    background: var(--gris);
}

.bg-blanc {
    background: var(--blanc);
}

.bg-rouge {
    background: var(--rouge);
}

.section-header {
    margin-bottom: 60px;
}

.section-header .section-badge,
.section-header .section-title {
    text-align: center;
}

.section-badge {
    color: var(--rouge);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

/* =====================================================
   CARDS
===================================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 0;
    transition: .3s;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--rouge);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(217, 48, 42, .3);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: var(--rouge);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
}

.card h5, .card h6, .card li a,
.card-body small {
    color: #ddd;
}

.card p {
    color: #ddd;
    line-height: 1.7;
    text-align: justify;
}

#albums .card:hover {
    transform: none;
    box-shadow: 0 25px 60px rgba(217, 48, 42, .3);
}

/* =====================================================
   BOUTONS / BOOTSTRAP OVERRIDES
===================================================== */

.btn-deezer {
    background-color: rgb(147, 51, 232);
    color: white;
    border: none;
}

.btn-deezer:hover {
    background-color: rgb(127, 40, 210);
    color: white;
}

.btn-dark {
    background-color: rgb(217, 48, 42);
    color: white;
    border: none;
}

.btn-dark:hover {
    background-color: rgb(217, 48, 42);
    color: white;
}

.btn.btn-light.btn-lg.rounded-circle.position-absolute {
    background-color: rgba(255, 255, 255, .6) !important;
    opacity: .7 !important;
    border: none !important;
}

.btn.btn-light.btn-lg.rounded-circle.position-absolute:hover {
    background-color: rgba(255, 255, 255, .9) !important;
    opacity: .9 !important;
}

/* =====================================================
   GALERIE
===================================================== */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: .4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .9));
    color: #fff;
    padding: 28px;
    transition: .3s;
    transform: translateY(100%);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.3rem;
}

.gallery-overlay p {
    margin: 0;
    color: rgb(217, 48, 42);
    font-size: .95rem;
}

/* =====================================================
   AGENDA
===================================================== */

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.event {
    background: var(--gris);
    border-radius: 16px;
    padding: 32px;
    border-left: 5px solid var(--rouge);
    transition: .3s;
}

.event:hover {
    transform: translateX(8px);
    box-shadow: 0 15px 40px rgba(217, 48, 42, .2);
}

.event-date {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--rouge);
    margin-bottom: 12px;
    line-height: 1;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.event-location {
    color: #ddd;
    font-size: .95rem;
}

/* =====================================================
   FOOTER
===================================================== */

footer {
    padding: 60px 0;
    background: var(--gris);
    text-align: center;
    color: #999;
    border-top: 1px solid var(--line);
}

/* =====================================================
   HEADER / MENU
===================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(15, 14, 14, .95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}

.menu-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 95px;
    gap: 30px;
}

.logo {
    font-size: 2rem;
    white-space: nowrap;
}

.nav-menu li a.active,
.nav-menu li.active > a,
.menu a.active {
    color: var(--rouge);
}

.nav-menu li a.active::before,
.nav-menu li.active > a::before {
    width: 100%;
}

.nav-menu li.active > a,
.nav-menu li a.active {
    color: var(--rouge);
}

.nav-menu li.active > a::before,
.nav-menu li a.active::before {
    width: 100%;
}

#mobile-nav li.active > a,
#mobile-nav a.active {
    color: var(--rouge);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-menu li a {
    font-family: 'Montserrat', sans-serif;
    color: #ccc;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 8px 0;
    transition: .3s;
}

.nav-menu li a:hover {
    color: var(--rouge);
}

.nav-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--rouge);
    transition: .3s;
}

.nav-menu > li > a:hover::before {
    width: 100%;
}

.desktop-chevron {
    margin-left: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, .55);
    font-weight: 300;
    line-height: 1;
}

.submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: var(--gris);
    border: 1px solid var(--line);
    list-style: none;
    padding: 12px 0;
    margin: 0;
    display: none;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .4);
}

.menu-has-children {
    position: relative;
}

.menu-has-children::after {
    content: "";
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 20px;
}

.menu-has-children > a {
    position: relative;
    display: inline-block;
}

.menu-has-children > a::after {
    content: "⌄";
    display: inline-block;
    margin-left: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    font-weight: 400;
    vertical-align: middle;
    transition: .3s ease;
}

.menu-has-children:hover > a::after {
    color: var(--rouge);
}

.submenu li {
    width: 100%;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: #ddd;
    text-transform: none;
    letter-spacing: .5px;
}

.submenu li a:hover {
    background: rgba(217, 48, 42, .12);
    color: var(--rouge-clair);
}

.menu-has-children:hover .submenu {
    display: block;
}

/* =====================================================
   MENU MOBILE
===================================================== */

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

#mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(15, 14, 14, .98);
    z-index: 9999;
    overflow-y: auto;
    transition: .3s ease;
    padding: 30px;
}

#mobile-nav-overlay.active {
    left: 0;
}

.mobile-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

#mobile-nav ul {
    list-style: none;
    padding: 0;
    margin-top: 70px;
}

#mobile-nav li {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

#mobile-nav a {
    font-family: 'Montserrat', sans-serif;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.mobile-submenu-toggle {
    color: rgba(255, 255, 255, .6);
    margin-right: 12px;
    font-size: 18px;
    cursor: pointer;
}

.mobile-submenu {
    display: none;
    padding-left: 25px;
    margin-top: 15px;
}

.menu-has-children.open .mobile-submenu {
    display: block;
}

.mobile-submenu a {
    font-size: 16px;
    color: #ccc;
}

/* =====================================================
   ACCORDIONS
===================================================== */

.accordion-button {
    background-color: #f8f9fa;
}

.accordion-button:not(.collapsed) {
    background-color: #e9ecef !important;
    color: #212529;
    box-shadow: none;
}

.accordion-button:not(.collapsed):hover {
    background-color: #dee2e6;
}

/* =====================================================
   CMS HTML BLOCKS
===================================================== */

.cms-html-section {
    padding: 90px 0;
    margin: auto;
    max-width:1100px;
}

.cms-html-content h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--rouge);
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 16px;
}

.cms-html-content h1,
.cms-html-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    color: var(--blanc);
}

.cms-html-content p {
    margin: 1.5rem auto 0;
    line-height: 1.7;
    color: #ddd;
}

.cms-html-content ul,
.cms-html-content ol {
    display: inline-block;
    text-align: left;
    margin: 1.5rem auto 0;
}

.bg-blanc .cms-html-content h1,
.bg-blanc .cms-html-content h2 {
    color: var(--noir);
}

.bg-blanc .cms-html-content p {
    color: #222;
}

/* =====================================================
   CMS FLOW SPACING
===================================================== */

.cms-html-content > * {
    margin-top: 0;
}

.cms-html-content > * + * {
    margin-top: 1.5rem;
}

/* =====================================================
   SECTION TITLES
===================================================== */

.cms-html-content h1,
.cms-html-content h2 {
    margin-bottom: 0;
    line-height: 1;
}

.cms-html-content h3 {
    margin-bottom: 0;
}

/* =====================================================
   TEXT CONTENT
===================================================== */

.cms-html-content p,
.cms-html-content ul,
.cms-html-content ol,
.cms-html-content blockquote,
.cms-html-content table {
    line-height: 1.7;
    text-align: justify;
}

/* listes centrées mais texte aligné à gauche */
.cms-html-content ul,
.cms-html-content ol {
    margin-left: auto;
    margin-right: auto;
}

/* =====================================================
   BIG TITLE SPACING
===================================================== */

.cms-html-content h3 + h1,
.cms-html-content h3 + h2 {
    margin-top: .5rem;
}

.cms-html-content h1 + p,
.cms-html-content h2 + p {
    margin-top: 3rem;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .menu-wrapper {
        min-height: 80px;
    }
}

@media (max-width: 768px) {
    .nav {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
    }

    .menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero h1 {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .cards,
    .gallery,
    .agenda-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gallery img {
        height: 250px;
    }
}

@media (max-width: 400px) {
    .gallery-item {
        max-width: 250px;
    }
}

/* =====================================================
   CMS CONTENT SPACING
===================================================== */

.cms-html-content h1,
.cms-html-content h2,
.cms-html-content h3,
.cms-html-content h4,
.cms-html-content h5,
.cms-html-content h6 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.cms-html-content p,
.cms-html-content ul,
.cms-html-content ol,
.cms-html-content blockquote,
.cms-html-content table {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* espace logique après un titre */
.cms-html-content h1 + p,
.cms-html-content h2 + p,
.cms-html-content h3 + p,
.cms-html-content h4 + p {
    margin-top: 0;
}

/* espace entre paragraphes */
.cms-html-content p + p {
    margin-top: 1rem;
}

.cms-html-content a {
    color: #b30000;
}

.cms-html-content a:hover {
    color: #8a0000;
}