:root {
    --font-main: normal normal 200 48px / 1.4em 'Work Sans', sans-serif;
    --font-sub: normal normal 200 22px / 1.4em 'Work Sans', sans-serif;
    --font-main-section: normal normal 200 28px / 1.4em 'Work Sans', sans-serif;
    --font-nav: normal normal 200 18px / 1.4em 'Work Sans', sans-serif;
    --color-white: white;
    --v2-gold: #D4AF37;
    --spacing-main: 0.1em;
    --spacing-sub: 0.3em;
    --background-gradient: linear-gradient(to bottom, #87453099, #383637);
    --background-gradient-reverse: linear-gradient(to bottom, #38363799, #874530);
    --background-opacity: rgba(0, 0, 0, 0.8);
    --background-opacity-light: rgba(255, 255, 255, 0.2);
    --background-opacity-dark: rgba(0, 0, 0, 0.7);
    --font-size-small: 14px;
    --font-size-medium: 18px;
    --font-size-large: 24px;
    --font-size-xlarge: 36px;
    --font-size-xxlarge: 48px;
    --padding-small: 10px;
    --padding-medium: 20px;
    --padding-large: 50px;
    --margin-small: 10px;
    --margin-medium: 20px;
    --margin-large: 50px;
    --border-radius: 5px;
    --line-height: 1.4em;
    --line-height-tight: 1em;
    --line-height-loose: 1.6em;
    --width-full: 100%;
    --height-full: 100vh;
    --width-half: 50%;
    --width-quarter: 25vw;
    --height-auto: auto;
    --z-index-background: -1;
    --z-index-fixed: 100;
    --z-index-overlay: 200;
    --z-index-above-overlay: 300;
    
    /* === PHASE 2: Breakpoints === */
    --bp-mobile: 480px;
    --bp-tablet: 768px;
    --bp-desktop: 1024px;
    --bp-wide: 1440px;
    
    /* === PHASE 2: Container widths === */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    
    /* === PHASE 2: Section heights === */
    --section-hero: 100vh;
    --section-compact: 60vh;
    --section-auto: auto;

    /* === Hero (Single BG + Layers) === */
    --hero-height: clamp(260px, 40vh, 420px);
    --hero-overlay: rgba(0, 0, 0, 0.35);
    --hero-bg-position: center 20%;
}

body, html {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
}

/* === PHASE 2: Utility Classes === */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--container-xl);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--padding-medium);
    padding-right: var(--padding-medium);
}

.container-sm { max-width: var(--container-sm); }
.container-md { max-width: var(--container-md); }
.container-lg { max-width: var(--container-lg); }

/* === END PHASE 2 Utilities === */

/* === PHASE 3: Focus & Accessibility === */
:focus-visible {
    outline: 2px solid var(--v2-gold);
    outline-offset: 2px;
}

/* Remove default outline only when custom focus is applied */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
    outline: none;
}

/* === PHASE 3: Button Base Styles === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: var(--font-size-small);
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--v2-gold);
    color: #1A1A1A;
    border: 2px solid var(--v2-gold);
}

.btn-primary:hover {
    background: #B8954D;
    border-color: #B8954D;
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: none;
    padding: 8px 16px;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* === PHASE 3: Link Styles === */
.link {
    color: var(--v2-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.link:hover {
    color: #B8954D;
    text-decoration: underline;
}

/* === PHASE 4: Skip Link (Accessibility) === */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--v2-gold);
    color: #1A1A1A;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 9999;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
}

/* === END PHASE 4 Accessibility === */

/* === END PHASE 3 Components === */

/* ========================================
   HERO SYSTEM - Option D (Combiné A + B)
   ========================================
   
   Stratégie :
   - Image de fond unique (ChristianeNajjar.jpg) sur toutes les pages
   - Texte décalé vers le bas pour éviter le visage
   - background-position différent par page via variantes
   - Bandeau semi-opaque optionnel (.hero__content--with-bg)
   - Responsive mobile/tablet/desktop
   - Variables CSS pour faciliter les ajustements
   
   ======================================== */

/* === VARIABLES CSS PAR PAGE === */
:root {
    /* HOME: visage centré et visible, texte en bas */
    --hero-home-bg-position: center 20%;
    --hero-home-height: 90vh;
    --hero-home-overlay: rgba(0, 0, 0, 0.25);
    --hero-home-content-align: flex-end;
    --hero-home-content-padding: 80px 20px;
    
    /* BIOGRAPHY: visage décalé vers le haut */
    --hero-bio-bg-position: center 15%;
    --hero-bio-height: 45vh;
    --hero-bio-overlay: rgba(0, 0, 0, 0.35);
    --hero-bio-content-align: flex-end;
    --hero-bio-content-padding: 40px 20px;
    
    /* MY MUSIC: visage décalé, texte centré-bas */
    --hero-music-bg-position: center 18%;
    --hero-music-height: 45vh;
    --hero-music-overlay: rgba(0, 0, 0, 0.35);
    --hero-music-content-align: flex-end;
    --hero-music-content-padding: 40px 20px;
    
    /* EVENTS: visage décalé, texte bas */
    --hero-events-bg-position: center 22%;
    --hero-events-height: 45vh;
    --hero-events-overlay: rgba(0, 0, 0, 0.38);
    --hero-events-content-align: flex-end;
    --hero-events-content-padding: 40px 20px;
    
    /* Bandeau semi-opaque optionnel */
    --hero-bg-banner: rgba(0, 0, 0, 0.5);
    --hero-bg-banner-backdrop: blur(8px);
}

/* === CLASSE DE BASE HERO === */
.hero {
    position: relative;
    min-height: var(--hero-height);
    width: 100%;
    display: flex;
    align-items: var(--hero-content-align, center);
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* === OVERLAY (DÉGRADÉ TRANSPARENT) === */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

/* === CONTENEUR DE TEXTE === */
.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-lg);
    padding: var(--hero-content-padding, 40px 20px);
    color: #ffffff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

/* === VARIANTE: BANDEAU SEMI-OPAQUE DERRIÈRE LE TEXTE === */
.hero__content--with-bg {
    background: var(--hero-bg-banner);
    backdrop-filter: var(--hero-bg-banner-backdrop);
    -webkit-backdrop-filter: var(--hero-bg-banner-backdrop);
    border-radius: 12px;
    padding: 32px 40px;
    max-width: 800px;
    margin: 0 20px;
}

/* === TITRE ET SOUS-TITRE === */
.hero__title {
    font: var(--font-main);
    letter-spacing: var(--spacing-main);
    line-height: var(--line-height);
    margin: 0;
}

.hero__subtitle {
    font: var(--font-sub);
    letter-spacing: var(--spacing-sub);
    line-height: var(--line-height);
    margin: 18px 0 0 0;
    opacity: 0.95;
}

/* ========================================
   VARIANTES PAR PAGE
   ======================================== */

/* --- HOME PAGE --- */
.hero--home {
    min-height: var(--hero-home-height);
    --hero-overlay: var(--hero-home-overlay);
    --hero-content-align: var(--hero-home-content-align);
    --hero-content-padding: var(--hero-home-content-padding);
}

/* --- BIOGRAPHY PAGE --- */
.hero--biography {
    min-height: var(--hero-bio-height);
    --hero-overlay: var(--hero-bio-overlay);
    --hero-content-align: var(--hero-bio-content-align);
    --hero-content-padding: var(--hero-bio-content-padding);
}

/* --- MY MUSIC PAGE --- */
.hero--mymusic {
    min-height: var(--hero-music-height);
    --hero-overlay: var(--hero-music-overlay);
    --hero-content-align: var(--hero-music-content-align);
    --hero-content-padding: var(--hero-music-content-padding);
}

/* --- EVENTS PAGE --- */
.hero--events {
    min-height: var(--hero-events-height);
    --hero-overlay: var(--hero-events-overlay);
    --hero-content-align: var(--hero-events-content-align);
    --hero-content-padding: var(--hero-events-content-padding);
}

/* ========================================
   RESPONSIVE MOBILE (< 768px)
   ======================================== */
@media (max-width: 768px) {
    :root {
        /* Ajustements mobiles */
        --hero-home-height: 70vh;
        --hero-home-content-padding: 40px 20px;
        --hero-home-overlay: rgba(0, 0, 0, 0.35);
        
        --hero-bio-height: 35vh;
        --hero-bio-content-padding: 30px 20px;
        
        --hero-music-height: 35vh;
        --hero-music-content-padding: 30px 20px;
        
        --hero-events-height: 35vh;
        --hero-events-content-padding: 30px 20px;
    }
    
    .hero {
        min-height: clamp(220px, 35vh, 320px);
        align-items: flex-end;
    }
    
    .hero--home {
        min-height: clamp(400px, 65vh, 600px);
    }
    
    .hero__content {
        padding: 30px 16px;
    }
    
    .hero__content--with-bg {
        padding: 24px 20px;
        margin: 0 12px;
        border-radius: 8px;
    }

    .hero__title {
        font-size: var(--font-size-large);
        letter-spacing: var(--spacing-sub);
        line-height: var(--line-height-tight);
    }

    .hero__subtitle {
        font-size: var(--font-size-medium);
        letter-spacing: 0.08em;
        margin-top: 12px;
    }
}

/* ========================================
   RESPONSIVE TABLET (768px - 1024px)
   ======================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    :root {
        --hero-home-height: 80vh;
        --hero-bio-height: 40vh;
        --hero-music-height: 40vh;
        --hero-events-height: 40vh;
    }
    
    .hero__content--with-bg {
        max-width: 700px;
        padding: 28px 36px;
    }
}

/* ========================================
   BACKGROUND FIXE GLOBAL
   (utilisé sur les pages legacy avec overlay hero)
   ======================================== */
.fixed-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/ChristianeNajjar.jpg") no-repeat center 20%;
    background-size: cover;
    z-index: -1;
}

/* Variantes de positionnement pour fixed-background */
.fixed-background--home {
    background-position: var(--hero-home-bg-position);
}

.fixed-background--biography {
    background-position: var(--hero-bio-bg-position);
}

.fixed-background--mymusic {
    background-position: var(--hero-music-bg-position);
}

.fixed-background--events {
    background-position: var(--hero-events-bg-position);
}

.background, .biographie {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 40vh; /* Réduit de 100vh à 40vh pour moins de chevauchement */
    position: relative;
    background: url("../images/ChristianeNajjar.jpg") no-repeat var(--hero-bg-position);
    background-size: cover;
    background-attachment: fixed;
}

/* Overlay harmonisé avec index.php */
.background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
    z-index: 1;
}

.background .centered-text {
    position: relative;
    z-index: 2; /* Au-dessus de l'overlay */
}

.biographie h1, .background h1, .background h2 {
    color: var(--color-white);
    text-align: center;
    margin: 0;
    padding: 20px;
}

.background h1, .biographie h1 {
    font: var(--font-main);
    letter-spacing: var(--spacing-main);
    line-height: var(--line-height);
}

.background h2 {
    font: var(--font-sub);
    letter-spacing: 6.6px;
    line-height: 35.2px;
}

.centered-text {
    text-align: center;
}

.content {
    background-color: transparent;
    text-align: center;
    color: var(--color-white);
}

.content h1 {
    font: var(--font-main);
    margin-top: 200px;
}

.content h2 {
    font-size: var(--font-size-xlarge);
}

nav {
    background-color: transparent;
    position: fixed;
    width: var(--width-full);
    top: 0;
    left: 0;
    z-index: var(--z-index-fixed);
    display: flex;
    justify-content: space-between;
    padding-top: var(--padding-medium);
}

.nav-left, .nav-right {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

nav ul li a {
    color: var(--color-white);
    text-decoration: none;
    font: var(--font-nav);
    padding: var(--padding-small) var(--padding-medium);
    display: block;
}

nav ul li a:hover {
    background-color: var(--background-opacity-light);
    border-radius: var(--border-radius);
}

.burger-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    position: fixed;
    top: var(--padding-small);
    right: var(--padding-small);
    z-index: var(--z-index-overlay);
}

.burger-menu input {
    display: none;
}

.burger-menu label {
    display: block;
    cursor: pointer;
    padding: var(--padding-small);
    font-size: var(--font-size-xxlarge);
    color: var(--color-white);
    transition: transform 0.3s ease;
    z-index: var(--z-index-above-overlay);
}

.burger-menu label .fa-times {
    display: none;
}

.burger-menu input:checked ~ .menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-opacity);
    position: fixed;
    top: 0;
    right: 0;
    width: var(--width-full);
    height: var(--height-full);
    justify-content: center;
    z-index: var(--z-index-fixed);
}

.burger-menu input:checked + label .fa-bars {
    display: none;
}

.burger-menu input:checked + label .fa-times {
    display: block;
}

.burger-menu input:checked + label {
    transform: rotate(0deg);
}

.menu-content {
    display: none;
    flex-direction: column;
    align-items: center;
}

.menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.burger-menu-text {
    position: absolute;
    top: 20px;
    width: 100%;
}

.menu-content ul li {
    margin: 20px 0;
}

.menu-content ul li a {
    color: var(--color-white);
    font-size: 24px;
    text-decoration: none;
}

.burger-icons {
    display: flex;
    gap: 5px;
}

.burger-icons a {
    color: var(--color-white);
}

.section {
    height: var(--height-full);
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-left, .section-right {
    width: var(--width-half);
    height: var(--height-full);
}

.section-left {
    background: var(--background-gradient);
}

.section-right {
    background: var(--background-gradient-reverse);
}

.section .left, .section .right {
    width: var(--width-quarter);
    margin-top: 12.5vh;
    margin-left: 12.5vw;
    text-align: center;
}

.section .right img {
    width: var(--width-quarter);
    height: var(--height-auto);
}

.section h2 {
    font: var(--font-main-section);
}

.section hr {
    border: 1px solid var(--color-white);
    width: 12.5%;
    margin: 20px auto;
}

.section p {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-loose);
    color: var(--color-white);
}

.section iframe {
    width: var(--width-quarter);
    margin-top: 20px;
}

.section .right p {
    font: var(--font-sub);
    font-size: var(--font-size-small);
    color: var(--color-white);
    margin-top: 10px;
}

.section .right h3 {
    font: var(--font-main-section);
    color: var(--color-white);
    margin-top: 10px;
}

.control-bar {
    margin-top: 10px;
}

.control-bar audio {
    width: var(--width-full);
}

.subscription-form {
    text-align: center;
    padding: var(--padding-large);
    background-color: transparent;
}

.subscription-form h2 {
    font: var(--font-main-section);
    font-weight: 300;
    color: var(--color-white);
    padding-bottom: var(--padding-large);
}

.subscription-form p {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-loose);
    color: var(--color-white);
}

.subscription-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subscription-form button {
    margin-top: var(--margin-medium);
    padding: var(--padding-medium) var(--padding-large);
    font-size: var(--font-size-small);
    color: var(--color-white);
    background-color: transparent;
    border: 1px solid var(--color-white);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.subscription-form button:hover {
    background-color: var(--background-opacity-light);
}

/* Footer Contact Buttons */
.footer-contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s;
}

.footer-btn-primary {
    background: var(--v2-gold);
    color: #1A1A1A;
    border: 2px solid var(--v2-gold);
}

.footer-btn-primary:hover {
    background: #B8954D;
    border-color: #B8954D;
}

.footer-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.footer-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.footer-email {
    margin-top: 20px;
}

.footer-email a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
}

.footer-email a:hover {
    color: var(--v2-gold);
}

.minimalist-input {
    width: 50vw;
    padding: var(--padding-small);
    font-size: var(--font-size-small);
    margin: var(--margin-medium) 0;
    border: none;
    border-bottom: 1px solid var(--color-white);
    background: transparent;
    color: var(--color-white);
    text-align: center;
}

.minimalist-input::placeholder {
    color: var(--color-white);
    opacity: 0.7;
}

.minimalist-input:focus {
    outline: none;
    border-color: var(--v2-gold);
    box-shadow: 0 2px 0 0 var(--v2-gold);
}

textarea.minimalist-input {
    height: 100px;
    resize: none;
    margin: var(--margin-medium) 0;
    border: 1px solid var(--color-white);
    border-radius: var(--border-radius);
    padding: var(--padding-medium);
    background: transparent;
    color: var(--color-white);
}

select.minimalist-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    padding: var(--padding-medium);
    font-size: var(--font-size-small);
    margin-bottom: var(--margin-medium);
    border: none;
    border-bottom: 1px solid var(--color-white);
    color: var(--color-white);
    text-align: center;
}

footer {
    text-align: center;
    padding: 15vh var(--padding-medium) var(--padding-medium);
    background-color: var(--background-opacity-dark);
    color: var(--color-white);
}

footer ul {
    list-style-type: none;
    padding: 0;
    margin: 15vh 0 10px 0;
    display: flex;
    justify-content: center;
}

footer ul li {
    margin: 0 15px 19px 15px;
}

footer ul li a {
    color: var(--color-white);
    font-size: var(--font-size-small);
    font-weight: 300;
    text-decoration: none;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer p {
    margin: 0 0 15px 0;
    font-size: var(--font-size-small);
}

.biographie p {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-loose);
    margin-bottom: var(--margin-medium);
}

.biographie img {
    max-width: var(--width-full);
    height: var(--height-auto);
    margin-bottom: var(--margin-medium);
}

.biographie-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
    padding: 80px 20px;
    margin-top: 0; /* Pas de margin négatif */
    background: transparent;
    position: relative;
    z-index: 1;
}

.biographie-section .left {
    width: var(--width-half);
    text-align: center;
}

.biographie-section .right {
    width: var(--width-half);
    padding: 50px 60px;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.3); /* Fond semi-transparent plus léger */
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.biographie-section img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.biographie-section img:hover {
    transform: scale(1.02);
}

.biographie-section h1 {
    font: var(--font-main);
    color: var(--color-white);
    text-align: left;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(212, 175, 120, 0.3);
    padding-bottom: 15px;
}

.biographie-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: left;
    color: rgba(255, 255, 255, 0.95);
}

.biographie-section p strong {
    color: var(--v2-gold);
    font-weight: 500;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.my-music-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--height-full);
    background: var(--background-gradient);
}

.my-music-section .left {
    width: var(--width-half);
    text-align: center;
}

.my-music-section .right {
    width: var(--width-half);
    padding: var(--padding-medium);
    color: var(--color-white);
}

.my-music-section h1 {
    font: var(--font-main);
    color: var(--color-white);
    text-align: center;
    margin-bottom: var(--margin-medium);
}

.my-music-section p {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-loose);
    margin-bottom: var(--margin-medium);
}

.events-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: var(--height-full);
    background: var(--background-gradient);
}

.events-section .left {
    width: var(--width-half);
    text-align: center;
}

.events-section .right {
    width: var(--width-half);
    padding: var(--padding-medium);
    color: var(--color-white);
}

.events-section h1 {
    font: var(--font-main);
    color: var(--color-white);
    text-align: center;
    margin-bottom: var(--margin-medium);
}

.events-section p {
    font-size: var(--font-size-medium);
    line-height: var(--line-height-loose);
    margin-bottom: var(--margin-medium);
}

/* =========================================
   UI ENHANCEMENTS (Modern & Premium Look)
   ========================================= */

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.events-container {
    animation: fadeInUp 0.8s ease-out;
}

/* --- Next Event Card (Refined Premium Design) --- */
.events-page .next-event-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    padding: 48px 56px;
    text-align: center;
    margin-bottom: 64px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    backdrop-filter: blur(12px);
    position: relative;
}

.next-event-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--v2-gold);
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.next-event-label i {
    color: var(--v2-gold);
    font-size: 0.85rem;
}

.next-event-title {
    font-size: 2.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.next-event-datetime {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.next-event-venue {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 6px;
    font-weight: 500;
}

.next-event-location {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    font-weight: 300;
}

.next-event-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.next-event-link {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.05);
}

.next-event-link:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255,255,255,0.1);
    color: #ffffff;
}

.next-event-link-primary {
    background: rgba(212,175,55,0.15);
    border-color: rgba(212,175,55,0.4);
    color: var(--v2-gold);
}

.next-event-link-primary:hover {
    background: rgba(212,175,55,0.25);
    border-color: var(--v2-gold);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

/* --- Event Type Badge --- */
.event-type-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 12px;
    background: rgba(212,175,55,0.15);
    color: var(--v2-gold);
    border: 1px solid rgba(212,175,55,0.3);
    margin-left: 12px;
    font-weight: 600;
    vertical-align: middle;
}

/* --- Event Actions (Tickets/Calendar Links) --- */
.event-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.event-location-link,
.event-tickets-link,
.event-calendar-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    font-weight: 500;
}

.event-location-link::after,
.event-tickets-link::after,
.event-calendar-link::after {
    content: '→';
    margin-left: 4px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    display: inline-block;
}

.event-location-link:hover,
.event-tickets-link:hover,
.event-calendar-link:hover {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.4);
    text-underline-offset: 4px;
}

.event-location-link:hover::after,
.event-tickets-link:hover::after,
.event-calendar-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.event-tickets-link {
    color: rgba(212,175,55,0.9);
}

.event-tickets-link:hover {
    color: var(--v2-gold);
}

.event-contact-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .next-event-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .next-event-link {
        width: auto;
        max-width: 200px;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .event-type-badge {
        display: block;
        margin: 8px 0 0 0;
        width: fit-content;
    }
    
    /* Home V2 next event buttons on mobile */
    .v2-next-event-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .v2-next-event-buttons .v2-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-width: auto;
        width: auto;
        max-width: 160px;
    }
}

/* --- Filter Section --- */
.events-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.events-filters label {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
}

.events-filters select {
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.events-filters select:hover,
.events-filters select:focus {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* --- Table Interactions --- */
.events-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
    margin-top: 24px;
}

.events-table thead th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: transparent;
}

.events-table tbody tr {
    background: rgba(255,255,255,0.04);
    transition: all 0.25s ease;
}

.events-table tbody td {
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    vertical-align: middle;
    line-height: 1.6;
}

.events-table tbody td:first-child {
    border-left: 1px solid rgba(255,255,255,0.05);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    font-weight: 500;
}

.events-table tbody td:last-child {
    border-right: 1px solid rgba(255,255,255,0.05);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Desktop Hover Effect */
@media (min-width: 769px) {
    .events-table tbody tr:hover {
        background: rgba(255,255,255,0.08);
        transform: translateX(4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
}

/* --- Mobile Card Polish --- */
@media (max-width: 768px) {
    .events-page tr {
        background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
        border: 1px solid rgba(255,255,255,0.15);
        margin-bottom: 20px;
        transition: transform 0.3s ease;
    }

    .events-page tr:active {
        transform: scale(0.98);
    }

    .events-page td::before {
        color: #ffd27f; /* Gold accent for labels */
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
    
    .events-page .next-event-card {
        padding: 32px 24px;
    }
    
    .next-event-title {
        font-size: 1.75rem;
    }
    
    .next-event-datetime {
        font-size: 1.1rem;
    }
    
    .next-event-venue {
        font-size: 1.05rem;
    }
    
    .next-event-location {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }
}

/* --- Event Type Heading Refinement --- */
.event-type-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin: 40px 0 24px 0;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-left: 4px solid var(--v2-gold);
    padding-left: 16px;
}

/* --- Icon Only Links (Map & Calendar) --- */
.icon-only-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-top: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.icon-only-link:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Adjust spacing in table cells */
.events-table td .icon-only-link {
    margin-left: 5px;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .burger-icons {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: var(--padding-small);
    }
    .background h1 {
        font-size: var(--font-size-large);
        letter-spacing: var(--spacing-sub);
        line-height: var(--line-height-tight);
    }
    .background h2 {
        font-size: var(--font-size-medium);
    }
    .section hr {
        width: 12.5%;
        margin: 5vh auto;
    }
    .section {
        display: block;
        height: var(--height-auto);
    }
    .section-left, .section-right {
        height: var(--height-full);
        width: var(--width-full);
        display: block;
    }
    .section .left, .section .right {
        width: var(--width-full);
        margin: 0;
        text-align: center;
    }
    .section h2 {
        padding-top: 10vh;
    }
    .section .right p {
        font-size: var(--font-size-small);
        margin-top: var(--margin-small);
        padding: 5vw;
    }
    .section .right img {
        width: 80vw;
        height: var(--height-auto);
    }
    .section iframe {
        width: 95vw;
        margin: 5vh auto;
    }
    .control-bar {
        margin-top: 10px;
    }
    .control-bar audio {
        width: 90vw;
    }
    footer {
        display: block;
    }
    footer ul {
        display: block;
    }
    /* Biography Hero - Responsive */
    .background {
        height: 35vh;
        background-attachment: scroll;
    }
    
    .background h1 {
        font-size: 32px;
    }
    
    .background h2 {
        font-size: 16px;
    }

    /* Biography Section - Stack vertical sur mobile */
    .biographie-section {
        flex-direction: column;
        height: auto;
        padding: 40px 15px;
    }
    
    .biographie-section .left {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .biographie-section .right {
        width: 100%;
        padding: 30px 20px;
    }
    
    .biographie-section img {
        max-width: 280px;
        margin-bottom: 25px;
    }
    
    .biographie-section h1 {
        font-size: 28px;
        text-align: center;
    }
    
    .biographie-section p {
        font-size: 15px;
        line-height: 1.7;
    }
}

.language-selector {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 100%;
    padding: 10px;
    cursor: pointer;
    z-index: var(--z-index-fixed);
}

.language-selector:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.language-selector:hover .language-options {
    display: block;
}

/* NOTE: Main .language-button styles defined later in file (~L2104) */

.language-options {
    display: none;
    position: absolute;
    bottom: 50px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    z-index: var(--z-index-overlay);
}

.language-options a {
    display: block;
    padding: 10px;
    color: white;
    text-decoration: none;
}

.language-options a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-options.show {
    display: block;
}

/* ===== Events Section (nouvelle version glass + texte blanc) ===== */

.events-section {
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--background-gradient);
}

.events-container {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.65); /* bloc sombre semi-transparent */
  padding: 30px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  color: #ffffff;
}

/* Titres Events */
.events-container h1,
.events-container h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #ffffff;
}

.events-container h1 {
  font-size: 2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.events-container h2 {
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 25px;
}

/* Table de concerts */
.events-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  color: #ffffff;
}

/* En-tête */
.events-table thead th {
  background: rgba(255, 255, 255, 0.15);
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

/* Lignes */
.events-table tbody td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  vertical-align: top;
  color: #ffffff;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

/* Ligne sur deux */
.events-table tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.04);
}

/* Hover */
.events-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Colonne Type */
.events-table td:nth-child(5) {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #ffd27f;
}

/* Colonne Tickets */
.events-table td:nth-child(6) {
  text-align: center;
}

/* Lien Tickets */
.events-table a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  display: inline-block;
  transition: all 0.2s ease-in-out;
  color: #ffffff;
}

.events-table a:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Tiret quand pas de tickets */
.events-table td:nth-child(6) {
  color: #e0e0e0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .events-section {
    padding: 20px 10px;
  }

  .events-container {
    padding: 20px;
  }

  .events-table {
    font-size: 0.85rem;
  }

  .events-table thead {
    display: none; /* on cache l'en-tête sur mobile */
  }

  .events-table tbody tr {
    display: block;
    margin-bottom: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
  }

  .events-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }

  .events-table tbody td:last-child {
    border-bottom: none;
  }

  .events-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 10px;
    color: #f5f5f5;
    text-shadow: 0 0 4px rgba(0,0,0,0.8);
  }
}

.music-platforms {
    list-style: none;
    padding: 0;
}

.music-platforms li {
    margin: 8px 0;
}

.music-platforms a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    opacity: 0.9;
}

.music-platforms a:hover {
    opacity: 1;
    text-decoration: none;
}
.music-intro-image {
    margin-top: 20px;
    text-align: center;
}

.music-intro-image .music-photo {
    width: 100%;
    max-width: 480px;   /* adapte la taille ici */
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.35);
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-intro-image .music-photo:hover {
    opacity: 1;
    transform: scale(1.02);
}

/* ===== Music Gallery / Carousel ===== */

.music-intro-image {
  margin-top: 20px;
  text-align: center;
}

.music-intro-image .music-photo {
  width: 100%;
  max-width: 480px;
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0,0,0,0.35);
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-intro-image .music-photo:hover {
  opacity: 1;
  transform: scale(1.02);
}

.music-gallery {
  position: relative;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  padding: 10px 40px;
}

.gallery-track {
  position: relative;
  width: 100%;
}

.gallery-slide {
  display: none;
  text-align: center;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.gallery-caption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #f5f5f5;
  text-shadow: 0 0 4px rgba(0,0,0,0.8);
}

/* Boutons de navigation */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-nav:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #000;
}

/* Petits points en dessous */
.gallery-dots {
  margin-top: 12px;
  text-align: center;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.gallery-dot.active {
  background: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .music-gallery {
    padding: 10px 30px;
  }

  .gallery-nav {
    font-size: 1.6rem;
    width: 30px;
    height: 30px;
  }

  .gallery-slide img {
    max-width: 100%;
  }
}

/* ===== Themed Portfolio ===== */

.music-themes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;
}

.theme-tab {
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.theme-tab:hover {
  opacity: 1;
  background: rgba(255,255,255,0.12);
}

.theme-tab.active {
  background: #ffffff;
  color: #000;
  opacity: 1;
}

.music-themes-panels {
  margin-top: 10px;
}

.theme-panel {
  display: none;
}

.theme-panel.active {
  display: block;
}

.theme-description {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #f0f0f0;
}


/* ===== FIX GLOBAL ===== */
.theme-videos-grid iframe,
iframe {
  max-width: 100% !important;
  width: 100% !important;
  display: block;
}

/* ===== GRID ===== */
.theme-videos-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  box-sizing: border-box;
}

.theme-video-card {
  background: rgba(0,0,0,0.35);
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.45);
  width: 100%;
  box-sizing: border-box;
}

.theme-video-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.theme-video-frame iframe {
  width: 100% !important;
  height: 200px;
  border-radius: 10px;
}

.theme-video-title {
  margin-top: 10px;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
}

/* MOBILE */
@media (max-width: 768px) {
  .theme-video-frame iframe {
    height: 180px;
  }
}

.section {
  margin-bottom: 60px !important;
}

/* ===== Overrides pour la page MUSIC ===== */

.music-page .section {
  height: auto;               /* plus de 100vh imposé */
  align-items: flex-start;    /* on aligne en haut, pas centré verticalement */
  padding: 40px 0;            /* un peu d'air */
}

.music-page .section-left,
.music-page .section-right {
  height: auto;               /* plus de 100vh imposé sur les colonnes */
}

.music-page .section .left,
.music-page .section .right {
  width: 80%;                 /* plus large que 25vw */
  margin: 0 auto 40px auto;   /* centré, avec marge bas */
  text-align: left;           /* optionnel : texte aligné à gauche */
}

/* Pour les iframes dans la page music (sécurisé) */
.music-page .theme-video-frame iframe {
  width: 100% !important;
  height: 220px;
}

@media (max-width: 768px) {
  .music-page .section .left,
  .music-page .section .right {
    width: 90%;
  }
  .music-page .theme-video-frame iframe {
    height: 190px;
  }
}

/* ===== SECTION PORTFOLIO MUSIQUE ===== */

.music-portfolio {
  padding: 40px 0 60px;
}

.music-portfolio-inner {
  width: min(1100px, 92vw);  /* large mais pas collé aux bords */
  margin: 0 auto;
}

/* Onglets */
.music-themes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 20px;
}

.theme-tab {
  border: 1px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  transition: all 0.2s ease;
}

.theme-tab:hover {
  opacity: 1;
  background: rgba(255,255,255,0.12);
}

.theme-tab.active {
  background: #ffffff;
  color: #000;
  opacity: 1;
}

.music-themes-panels {
  margin-top: 10px;
}

.theme-panel {
  display: none;
}

.theme-panel.active {
  display: block;
}

.theme-description {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #f0f0f0;
}

/* GRID VIDÉOS */
.theme-videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.theme-video-card {
  background: rgba(0,0,0,0.45);
  padding: 12px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.55);
}

.theme-video-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.theme-video-frame iframe {
  width: 100%;
  height: 200px;
  border: 0;
  display: block;
}

.theme-video-title {
  margin-top: 8px;
  font-size: 0.9rem;
  text-align: center;
  color: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
  .music-themes-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .theme-tab {
    width: 100%;
    text-align: left;
  }

  .theme-video-frame iframe {
    height: 190px;
  }
}

@media (max-width: 768px) {
  .music-portfolio {
    padding: 30px 0 40px;
  }

  .music-portfolio-inner h2 {
    font-size: 1.3rem;
  }

  .theme-description {
    font-size: 0.9rem;
  }
}
/* ===== Overrides pour la page EVENTS ===== */

.events-page {
  display: block !important;      /* Désactive flexbox pour éviter le centrage vertical qui coupe le haut */
  height: auto !important;        /* Force la hauteur automatique pour éviter le chevauchement du footer */
  min-height: 100vh;
  padding-top: 140px;             /* Espace pour le header fixe */
  padding-bottom: 60px;           /* Espace avant le footer */
  background: rgba(0,0,0,0.35);
}

.events-page .events-container {
  height: auto !important;
  margin-bottom: 20px;
}

/* Carte "Next Event" bien visible */
.events-page .next-event-card {
  margin-top: 10px;
}
/* ----- FORMULAIRE CONTACT PREMIUM ----- */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.contact-form label {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.minimalist-input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: 0.2s ease;
}

.minimalist-input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.6);
}

.minimalist-input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Bouton */
.contact-form button {
  margin-top: 10px;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  background: #ffffff;
  color: #000;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form button:hover {
  background: #e4e4e4;
}

/* RTL pour l'arabe */
html[lang="ar"] .contact-form {
  direction: rtl;
  text-align: right;
}

/* ----- STYLE DU SELECT ------ */

.minimalist-input,
select.minimalist-input {
    background-color: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

/* Style des options dans la liste déroulante */
select.minimalist-input option {
    background-color: #2b2b2b !important;
    color: #fff !important;
}

/* Pour Chrome / Edge */
select.minimalist-input::-internal-list-box {
    background-color: #2b2b2b !important;
    color: #fff !important;
}

/* Pour Firefox */
select.minimalist-input option:checked,
select.minimalist-input option:hover {
    background-color: #444 !important;
    color: #fff !important;
}

.language-selector {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
}

.language-button {
  background: rgba(0,0,0,0.7);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.6);
  width: 40px;
  height: 40px;
  color: #fff;
  cursor: pointer;
}

/* Hide reCAPTCHA badge (per Google's allowed approach with attribution in footer) */
.grecaptcha-badge {
  visibility: hidden !important;
}

.language-options {
  position: absolute;
  bottom: 50px;
  right: 0;
  background: rgba(0,0,0,0.85);
  border-radius: 8px;
  padding: 8px 10px;
  display: none;                /* caché par défaut */
}

.language-selector.open .language-options {
  display: block;               /* visible quand .open est présent */
}

.language-options a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 0;
}

.language-options a:hover {
  text-decoration: underline;
}


/* Fix espace Events / Footer sur mobile */
@media (max-width: 768px) {
  .events-page .events-container {
    padding-bottom: 260px; /* augmente ou diminue si besoin */
  }
}


@media (max-width: 768px) {
  .subscription-form {
    margin-top: 50px; 
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2); /* option visuelle */
  }
}

/* Mise en forme de base du tableau d'événements */
.events-page table {
  width: 100%;
  border-collapse: collapse;
}

.events-page th,
.events-page td {
  padding: 6px 8px;
}

/* Sur mobile : style carte pour éviter le scroll horizontal */
@media (max-width: 768px) {
  .events-page {
    overflow-x: hidden; /* On évite le scroll horizontal global */
  }

  .events-page table {
    min-width: auto;    /* On laisse le tableau s'adapter à la largeur */
    width: 100%;
    display: block;     /* Nécessaire pour que les tr deviennent des blocs */
  }
  
  .events-page thead {
      display: none;
  }

  .events-page tbody {
      display: block;
      width: 100%;
  }

  .events-page tr {
      display: block;
      margin-bottom: 15px;
      background: rgba(0,0,0,0.4);
      border-radius: 10px;
      padding: 10px;
      border: 1px solid rgba(255,255,255,0.1);
  }

  .events-page td {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: right;
      padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      font-size: 0.9rem;
  }

  .events-page td:last-child {
      border-bottom: none;
  }

  .events-page td::before {
      content: attr(data-label);
      font-weight: bold;
      text-transform: uppercase;
      font-size: 0.8rem;
      color: rgba(255,255,255,0.7);
      text-align: left;
      margin-right: 10px;
      flex-shrink: 0; /* Empêche le label de rétrécir */
  }
}

/* --- Utilities --- */
.hidden {
    display: none !important;
}

/* Section Events : styles nettoyés */

/* --- Refresh Button --- */
.refresh-btn {
    margin-top: 20px;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    background: #fff;
    color: #000;
}

.refresh-btn i {
    margin-right: 8px;
}

/* --- KPI Bar --- */
.kpi-bar-container {
    display: flex;
    justify-content: center;
    margin: 40px 0 60px 0; /* Spacing for footer placement */
    position: relative;
    z-index: 10;
    padding: 0 20px;
}

.kpi-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    padding: 20px 40px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    width: 100%;
    max-width: 900px;
}

.kpi-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.kpi-icon-circle {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffd27f, #b8860b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.kpi-text {
    display: flex;
    flex-direction: column;
}

.kpi-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.kpi-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kpi-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .kpi-bar-container {
        margin-top: 0;
        padding: 20px;
        background: var(--background-gradient); /* Blend with background on mobile */
    }
    
    .kpi-bar {
        flex-direction: column;
        gap: 20px;
        border-radius: 20px;
        padding: 25px;
    }
    
    .kpi-divider {
        width: 100%;
        height: 1px;
    }
    
    .kpi-item {
        width: 100%;
        justify-content: flex-start;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 60px 20px;
    background: transparent;
    text-align: center;
    height: auto !important; /* Override default section height */
    display: block !important;
}

.testimonials-container {
    max-width: 1100px;
    margin: 0 auto;
}

.testimonials-container h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.testimonials-container .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    display: block;
    margin-top: 5px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.review-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-icon {
    font-size: 1.5rem;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-meta {
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.review-date {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    font-style: italic;
}

@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr; /* Stack on mobile */
    }
}

/* --- FAITH SECTION --- */
.faith-section {
    position: relative;
    width: 100%;
    min-height: 25vh; /* Reduced by half (was 50vh) */
    background-image: url('../images/Believe_dark.png');
    background-attachment: fixed; /* Parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0; /* Removed margin to fit seamlessly */
    box-shadow: inset 0 0 50px rgba(0,0,0,0.5); /* Inner shadow for depth */
}

.faith-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Darker overlay for the dark image */
}

.faith-message {
    position: relative;
    z-index: 2;
    font-family: 'Work Sans', sans-serif;
    font-size: 1.5rem; /* Slightly smaller font */
    font-weight: 300;
    color: #ffffff; /* White text for dark background */
    text-align: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5); /* Dark glass effect */
    backdrop-filter: blur(4px);
    border-radius: 2px;
    border-left: 3px solid #874530; /* Accent color matching the theme */
    max-width: 800px;
    margin: 0 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    font-style: italic;
}

@media (max-width: 768px) {
    .faith-section {
        background-attachment: scroll; /* Disable parallax on mobile for performance */
        background-size: cover; /* Fill the area so it's not tiny */
        background-position: center;
        min-height: 30vh; /* Reduced by half (was 60vh) */
        align-items: center; /* Center vertically again since it's smaller */
        padding-bottom: 0; /* Remove extra padding */
    }
    .faith-message {
        font-size: 1rem; /* Smaller font to save space */
        padding: 10px 15px;
        margin: 0 15px;
        background: rgba(0, 0, 0, 0.7); /* More opaque dark background */
        width: auto; /* Let it fit content */
    }
}

/* === PHASE 2: Tablet Breakpoint (1024px) === */
@media (max-width: 1024px) and (min-width: 769px) {
    .section .left, .section .right {
        width: 100%;
    }
    
    .biographie-section {
        flex-direction: column;
    }
    
    .biographie-section .left,
    .biographie-section .right {
        width: 100%;
        max-width: var(--container-md);
        margin: 0 auto;
    }
    
    .my-music-section,
    .events-section {
        flex-direction: column;
        height: var(--section-auto);
        min-height: var(--section-compact);
    }
    
    .my-music-section .left,
    .my-music-section .right,
    .events-section .left,
    .events-section .right {
        width: 100%;
        padding: var(--padding-medium);
    }
}

/* === PHASE 5: Reduced Motion Support === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .next-event-card,
    .biographie-section img,
    .gallery-nav,
    .event-tickets-link,
    .next-event-link {
        animation: none !important;
        transition: none !important;
    }
}

/* === PHASE 5: Performance Optimizations === */
.will-change-transform {
    will-change: transform;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
}
