/* =============================================
   VARIABLES GLOBALES
   ============================================= */
:root {
    --color-primary:   #0a2e38;
    --color-gold:      #d4af37;
    --color-gold-dark: #b8952d;
    --color-light:     #f9f9f9;
    --color-dark:      #333;
    --color-white:     #ffffff;
    --shadow-sm:       0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md:       0 4px 10px rgba(0, 0, 0, 0.15);
    --radius-sm:       4px;
    --radius-md:       8px;
    --transition:      0.3s ease;
}

/* =============================================
   RESET MINIMAL (sans sélecteur universel *)
   ============================================= */
html,
body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, li,
figure, figcaption,
header, footer, nav, main, section, article {
    margin: 0;
    padding: 0;
}

html {
    box-sizing: border-box;
}

/* Héritage de box-sizing sans sélecteur universel */
body,
input,
button,
select,
textarea {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =============================================
   CONTENEUR
   ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =============================================
   EN-TÊTE
   ============================================= */
.site-header {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 0 0 auto;
}

.logo img {
    max-width: 100px;
    height: auto;
}

/* Navigation */
.main-nav {
    flex: 0 0 auto;
    padding: 0.5rem 0;
}

.menu {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 15px;
}

/* Liens du menu — sélecteur simplifié */
.menu a {
    color: var(--color-white);
    font-weight: 500;
    padding: 10px;
    text-decoration: none;
    transition: color var(--transition);
    display: inline-block;
}

.menu a:hover,
.menu a.active {
    color: var(--color-gold);
}

/* Menu recrutement sur deux lignes */
.menu-recrutement a {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: center;
}

.menu-line1,
.menu-line2 {
    font-size: 0.85rem;
}

/* =============================================
   PIED DE PAGE
   ============================================= */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* =============================================
   BOUTONS COMMUNS
   ============================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-sm);
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: background-color var(--transition), transform var(--transition);
    border: none;
}

.btn-gold {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-gold:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.btn-join {
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color var(--transition), transform var(--transition);
}

.btn-join:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.btn-concerts {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-size: 1.2rem;
    transition: background-color var(--transition);
}

.btn-concerts:hover {
    background-color: var(--color-gold-dark);
}

/* =============================================
   PAGE D'ACCUEIL — VIDÉO EN FOND
   ============================================= */
.home {
    position: relative;
    min-height: calc(100vh - 88px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    overflow: hidden;
    padding-bottom: 6vh;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}

#background-video {
    width: 100%;
    height: 100%;
    /* object-fit est CSS3 — parfaitement supporté par tous les navigateurs modernes */
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 1.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius-md);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--color-white);
}

/* =============================================
   PAGE RECRUTEMENT
   ============================================= */

/* Hero alternatif avec photo */
.recrutement-hero-alt {
    padding: 4rem 0;
    background-color: var(--color-light);
}

.hero-content-alt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-text {
    flex: 1;
    text-align: center;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-text .slogan {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 2rem;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Pourquoi nous rejoindre */
.recrutement-why {
    padding: 4rem 0;
    background-color: var(--color-light);
}

.recrutement-why h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

/* Note : grid et gap sont CSS3 — validés par tous les navigateurs modernes */
.why-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.why-item {
    flex: 1 1 280px;
    text-align: center;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition);
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-item i {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.why-item h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Témoignages */
.recrutement-testimonials {
    padding: 4rem 0;
    background-color: var(--color-white);
}

/* Sélecteur non qualifié — h2 dans .recrutement-testimonials */
.recrutement-testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-item {
    flex: 1 1 280px;
    background: var(--color-light);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    display: block;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: var(--color-primary);
}

/* Comment nous rejoindre */
.recrutement-how {
    padding: 4rem 0;
    background-color: #f0f8ff;
}

.recrutement-how h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.how-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

.how-steps {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-number {
    background-color: var(--color-gold);
    color: var(--color-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* h3 dans .step-item — non qualifié par élément */
.step-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.how-form {
    flex: 1 1 300px;
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inscription-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color var(--transition);
}

.btn-submit:hover {
    background-color: var(--color-gold-dark);
}

/* FAQ */
.recrutement-faq {
    padding: 4rem 0;
    background-color: var(--color-white);
}

.recrutement-faq h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-item h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Messages d'alerte formulaires */
.alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* =============================================
   ADAPTATION MOBILE
   ============================================= */
@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        width: 100%;
        margin-top: 10px;
    }

    .menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .menu li {
        margin: 0 5px 5px 0;
    }

    .menu a {
        padding: 5px 8px;
        font-size: 0.85rem;
    }

    .home {
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-content {
        padding: 1rem;
        margin: 0 1rem;
    }

    .logo img {
        max-width: 150px;
    }

    .hero-content-alt {
        flex-direction: column;
    }

    .recrutement-hero h1 {
        font-size: 2rem;
    }
}

/* =============================================
   HEADER FIXE (pages avec parallaxe / hero)
   ============================================= */
.site-header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.site-header.fixed.scrolled {
    background: rgba(10, 46, 56, 0.98);
    padding: 10px 0;
}

/* Compensation du header fixe */
.has-fixed-header {
    padding-top: 80px;
}

/* =============================================
   HÉROS DE PAGE (bannière avec image de fond)
   ============================================= */
.page-header {
    background: linear-gradient(rgba(10, 46, 56, 0.85), rgba(10, 46, 56, 0.85)),
                url('/images/IMG_0198.JPG') no-repeat center center;
    background-size: cover;
    color: var(--color-white);
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
}

.page-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* =============================================
   TITRES DE SECTION COMMUNS
   ============================================= */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    color: var(--color-primary);
    font-size: 2.2rem;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
    margin-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--color-gold);
}

.section-title p {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* =============================================
   PAGE PRÉSENTATION
   ============================================= */
.parallax-container {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 88px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('/images/background-chorale.jpeg') no-repeat center center;
    background-size: cover;
    z-index: -1;
}

@media (max-width: 767px) {
    .parallax-bg {
        background-attachment: scroll;
    }
    .parallax-container {
        height: calc(80vh - 130px);
        min-height: 400px;
    }
}

.parallax-content {
    max-width: 95%;
    min-width: 40%;
    padding: 2rem 3rem;
    background-color: rgba(10, 46, 56, 0.7);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
}

.parallax-content h1 {
    font-size: 2.2rem;
    line-height: 1.2;
    white-space: nowrap;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .parallax-content h1 {
        white-space: normal;
        font-size: 1.8rem;
    }
}

.scroll-down {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--color-gold);
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Sous-titre de section avec trait doré */
.section-heading {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--color-primary);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-heading::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--color-gold);
    margin: 0.5rem auto;
}

.content-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.content-text {
    flex: 1;
    line-height: 1.8;
    color: #333;
}

.content-image {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    transition: transform var(--transition);
    display: block;
}

.content-image img:hover {
    transform: scale(1.02);
}

.content-wrapper:nth-child(odd)  { flex-direction: row; }
.content-wrapper:nth-child(even) { flex-direction: row-reverse; }

.quote {
    font-style: italic;
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin: 3rem 0;
    padding: 1rem;
    border-left: 4px solid var(--color-gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.quote-author {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: right;
}

.feature-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.feature-list li::before {
    content: '✦';
    color: var(--color-gold);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: bold;
    margin: 1rem 0;
    transition: background-color var(--transition);
}

.cta-button:hover {
    background-color: var(--color-gold-dark);
}

/* Grille projets — flex pour compatibilité validateur */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.project-card {
    flex: 1 1 240px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.project-card-content {
    padding: 1rem;
}

.project-card h4 {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column !important;
    }
    .parallax-container {
        height: 70vh;
    }
    .content-text,
    .content-image {
        width: 100%;
    }
    .scroll-down {
        bottom: -30px;
    }
}

/* =============================================
   PAGE CONCERTS
   ============================================= */
.main-content {
    margin-top: 80px;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto 50px;
    position: relative;
    z-index: 2;
    background: var(--color-white);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    /* Portées musicales décoratives en fond */
    background-image: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 49px,
        rgba(212, 175, 55, 0.05) 49px,
        rgba(212, 175, 55, 0.05) 51px
    );
    background-size: 100% 50px;
}

/* Notes musicales décoratives */
.music-notes {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    font-size: 3rem;
    z-index: 1;
    opacity: 0.8;
    animation: float 15s linear infinite;
}

.music-notes:nth-child(1)  { top: 10%; left: 5%;   transform: rotate(-15deg); }
.music-notes:nth-child(2)  { top: 15%; left: 20%;  transform: rotate(5deg); }
.music-notes:nth-child(3)  { top: 20%; left: 35%;  transform: rotate(-10deg); }
.music-notes:nth-child(4)  { top: 25%; left: 50%;  transform: rotate(15deg); }
.music-notes:nth-child(5)  { top: 30%; left: 65%;  transform: rotate(-5deg); }
.music-notes:nth-child(6)  { top: 35%; left: 80%;  transform: rotate(10deg); }
.music-notes:nth-child(7)  { top: 50%; right: 15%; transform: rotate(10deg); }
.music-notes:nth-child(8)  { top: 60%; right: 30%; transform: rotate(-15deg); }
.music-notes:nth-child(9)  { top: 65%; right: 45%; transform: rotate(5deg); }
.music-notes:nth-child(10) { bottom: 30%; left: 20%; transform: rotate(-5deg); }
.music-notes:nth-child(11) { bottom: 25%; left: 40%; transform: rotate(10deg); }
.music-notes:nth-child(12) { bottom: 20%; left: 60%; transform: rotate(-10deg); }
.music-notes:nth-child(13) { bottom: 15%; left: 80%; transform: rotate(15deg); }

@keyframes float {
    0%   { transform: translateY(0)     rotate(0deg); }
    25%  { transform: translateY(-10px) rotate(5deg); }
    50%  { transform: translateY(0)     rotate(0deg); }
    75%  { transform: translateY(10px)  rotate(-5deg); }
    100% { transform: translateY(0)     rotate(0deg); }
}

/* Grille concerts — flex pour compatibilité validateur */
.concerts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 50px;
}

.concert-card {
    flex: 1 1 280px;
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all var(--transition);
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.concert-card:nth-child(1) { animation-delay: 0.1s; }
.concert-card:nth-child(2) { animation-delay: 0.2s; }
.concert-card:nth-child(3) { animation-delay: 0.3s; }
.concert-card:nth-child(4) { animation-delay: 0.4s; }

.concert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.concert-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.concert-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.concert-card:hover .concert-card-image img {
    transform: scale(1.05);
}

.concert-card-content {
    padding: 20px;
}

.concert-card-title {
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.concert-date {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--color-gold);
    font-weight: 600;
}

.concert-date i {
    margin-right: 10px;
}

.concert-location {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.concert-location i {
    margin-right: 10px;
    color: var(--color-gold);
}

.concert-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    white-space: pre-line;
}

.concert-programme {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--color-gold);
}

.concert-programme h4 {
    color: var(--color-primary);
    margin: 0 0 5px;
    font-size: 1rem;
}

.concert-programme p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.reservation-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 10px 0;
    text-align: center;
}

.reservation-badge.chapeau      { background-color: rgba(46, 204, 113, 0.2); color: #2ecc71; }
.reservation-badge.prochainement { background-color: rgba(52, 152, 219, 0.2); color: #3498db; }
.reservation-badge.billeterie    { background-color: rgba(212, 175, 55, 0.3);  color: var(--color-primary); }

.concert-action {
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    margin-top: 10px;
}

.concert-action.primary {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.concert-action.primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.programme-link {
    display: block;
    text-align: center;
    margin-top: 15px;
}

.programme-link a {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 8px 15px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all var(--transition);
}

.programme-link a:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
}

.past-concerts {
    background-color: rgba(248, 249, 250, 0.7);
    padding: 30px;
    border-radius: 10px;
    margin-top: 50px;
}

.past-concerts h3 {
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.past-concerts h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--color-gold);
}

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

@media (max-width: 768px) {
    .page-header h1  { font-size: 2.5rem; }
    .page-header p   { font-size: 1.1rem; }
    .concerts-grid   { flex-direction: column; }
    .main-container  { border-radius: 0; padding: 20px; }
    .music-notes:nth-child(n+7) { display: none; }
}

/* =============================================
   PAGE CONTACT
   ============================================= */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.contact-hero {
    background: linear-gradient(rgba(10, 46, 56, 0.7), rgba(10, 46, 56, 0.7)),
                url('/images/IMG_0198.JPG') no-repeat center center;
    background-size: cover;
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 3rem;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contact-main {
    background-color: #f8f9fa;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

.logo-container {
    background-color: #e9ecef;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: inline-block;
}

.logo-container img {
    width: 200px;
    height: auto;
}

.contact-info {
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.info-item i {
    color: var(--color-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.info-item h3 {
    color: var(--color-primary);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-hero h1  { font-size: 2rem; }
    .logo-container img { width: 150px; }
}

/* =============================================
   PAGE ACCUEIL — AFFICHE CONCERT
   ============================================= */
.prochain-concert-hero {
    margin-top: 20px;
}

.concert-affiche-miniature {
    width: 210px;
    height: 297px;
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
}

.concert-affiche-miniature:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.concert-affiche-miniature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.concert-affiche-miniature:hover img {
    transform: scale(1.05);
}

.concert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 46, 56, 0.1) 0%, rgba(10, 46, 56, 0.5) 100%);
    color: var(--color-white);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 0;
    transition: opacity var(--transition);
}

.concert-affiche-miniature:hover .concert-overlay {
    opacity: 1;
}

.concert-date-badge {
    background: rgba(212, 175, 55, 0.9);
    color: var(--color-primary);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    width: fit-content;
    margin: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .concert-affiche-miniature { width: 180px; height: 254px; }
    .concert-date-badge        { font-size: 0.8rem; padding: 4px 8px; }
}

/* =============================================
   ESPACE MEMBRES — LOGIN
   ============================================= */
.login-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: #f5f5f5;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
}

.login-form .form-group {
    margin-bottom: 1rem;
}

.login-form label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--color-primary);
}

.login-form input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
}

.login-form input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.login-form button {
    width: 100%;
    padding: 0.85rem;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--transition);
}

.login-form button:hover {
    background: var(--color-gold-dark);
}

/* =============================================
   ESPACE MEMBRES — DASHBOARD & PAGES MEMBRES
   ============================================= */

.page-wrapper {
    min-height: calc(100vh - 120px);
    background-color: var(--color-light);
    padding: 2rem 1rem;
}

.dashboard-container {
    max-width: 1000px;
    margin: 0 auto;
}

.welcome-message {
    text-align: center;
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.welcome-message h1 {
    color: var(--color-primary);
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.welcome-message p {
    color: #666;
}

/* Sections du dashboard */
.dashboard-section {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
}

.dashboard-section-title {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dashboard-section-title i {
    color: var(--color-gold);
}

/* Liste des événements */
.event-list {
    list-style: none;
    margin: 0 0 1rem;
}

.event-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: baseline;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.event-item:last-child {
    border-bottom: none;
}

.event-type {
    font-weight: 600;
    color: var(--color-primary);
    text-transform: capitalize;
    min-width: 120px;
}

.event-date {
    color: var(--color-gold);
    font-weight: 500;
}

.event-lieu {
    color: #555;
}

.event-objet {
    color: #777;
    font-style: italic;
    flex-basis: 100%;
    padding-left: 0;
    font-size: 0.9rem;
}

.no-data {
    color: #999;
    font-style: italic;
    padding: 1rem 0;
}

.btn-link {
    display: inline-block;
    color: var(--color-gold);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.btn-link:hover {
    color: var(--color-gold-dark);
}

/* Cartes membres */
.member-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.member-card {
    flex: 1 1 200px;
    background-color: var(--color-light);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid #eee;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
}

.member-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.member-card i {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
    display: block;
}

.member-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.member-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.card-link {
    display: inline-block;
    color: var(--color-white);
    background: var(--color-gold);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background var(--transition);
}

.card-link:hover {
    background: var(--color-gold-dark);
}

.member-card--admin {
    border-color: var(--color-primary);
    background: rgba(10, 46, 56, 0.04);
}

/* Login — logo */
.login-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.login-logo img {
    width: 120px;
    height: auto;
    margin: 0 auto;
}

.login-back {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.login-back a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 500;
}

.login-back a:hover {
    color: var(--color-gold-dark);
}

/* Responsive membres */
@media (max-width: 768px) {
    .page-wrapper { padding: 1rem; }
    .dashboard-section { padding: 1rem; }
    .member-content { flex-direction: column; }
    .event-item { flex-direction: column; gap: 0.2rem; }
    .event-type { min-width: unset; }
}

/* =============================================
   PAGE PARTITION (détail)
   ============================================= */
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f5f5f5; }
        .container { max-width: 1000px; margin: 20px auto; padding: 20px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); }
        .partition-header { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
        .partition-title { font-size: 2rem; color: var(--color-primary); font-family: 'Montserrat', sans-serif; }
        .partition-meta { display: flex; flex-wrap: wrap; gap: 1rem; color: #666; }
        .partition-meta span { display: flex; align-items: center; gap: 0.5rem; }
        .partition-meta i { color: var(--color-gold); }
        .partition-description { margin: 2rem 0; line-height: 1.6; color: #333; }
        .partition-compositeur { background-color: #f9f9f9; padding: 1.5rem; border-radius: 8px; margin: 2rem 0; }
        .partition-compositeur h3 { color: var(--color-primary); margin-bottom: 0.5rem; }
        .partition-files { margin: 2rem 0; }
        .partition-files h3 { color: var(--color-primary); margin-bottom: 1rem; }
        .file-category { margin-bottom: 2rem; padding-left: 1rem; border-left: 3px solid var(--color-gold); }
        .category-title { color: var(--color-primary); font-size: 1.2rem; margin-bottom: 1rem; padding-left: 0.5rem; }
        .file-subcategory { margin-left: 1rem; margin-bottom: 1.5rem; padding-left: 1rem; border-left: 2px solid #ccc; }
        .subcategory-title { color: var(--color-gold); font-size: 1.1rem; margin-bottom: 0.5rem; padding-left: 0.5rem; }
        .file-list { margin-left: 1rem; }
        .file-item { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; padding-left: 0.5rem; }
        .file-item a { color: var(--color-primary); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
        .file-item a:hover { color: var(--color-gold); }
        .file-item i { color: var(--color-gold); width: 20px; text-align: center; }
        .youtube-videos { margin: 2rem 0; }
        .youtube-videos h3 { color: var(--color-primary); margin-bottom: 1rem; }
        .youtube-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
        .youtube-video { aspect-ratio: 16/9; border-radius: 8px; overflow: hidden; }
        .youtube-video iframe { width: 100%; height: 100%; }

        /* Conteneur pour le bouton et le titre */
        .partition-header-container {
            position: relative;
            margin-bottom: 2rem;
        }

        /* Positionnement du bouton */
        .partition-back-button {
            position: absolute;
            top: 0;
            right: 0;
            z-index: 10;
        }

        /* Style du bouton */
        .btn-back {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background-color: #95a5a6;
            color: white !important;
            text-decoration: none;
            border: none;
            border-radius: 4px;
            font-weight: 500;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .btn-back:hover {
            background-color: #7f8c8d;
        }

        /* Style pour la section de traduction */
        .traduction-section {
            background-color: #f0f8ff;
            padding: 1.5rem;
            border-radius: 8px;
            margin: 2rem 0;
            border-left: 4px solid var(--color-gold);
        }

        .traduction-section h3 {
            color: var(--color-primary);
            margin-top: 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .traduction-section h3 i {
            color: var(--color-gold);
        }

        .traduction-file {
            margin-top: 1rem;
            padding: 0.5rem;
            background-color: white;
            border-radius: 4px;
            border: 1px solid #ddd;
        }

        .traduction-file a {
            color: var(--color-gold);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .traduction-file a:hover {
            color: var(--color-primary);
        }
        
        .partition-compositeur img {
        max-width: 200px;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        }  
        
        
.compositeur-container {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.compositeur-photo {
    flex-shrink: 0;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.compositeur-info {
    flex: 1;
}

/* =============================================
   HEADER FIXE (toujours visible au scroll)
   Réduit à ~60% de sa hauteur d'origine
   ============================================= */
.site-header--fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 0.6rem 0; /* au lieu de 1rem */
}

.site-header--fixed .logo img {
    max-width: 60px; /* au lieu de 100px */
}

.site-header--fixed .main-nav {
    padding: 0.3rem 0; /* au lieu de 0.5rem */
}

.site-header--fixed .menu a {
    padding: 6px; /* au lieu de 10px */
    font-size: 0.9rem;
}

.site-header--fixed .menu-line1,
.site-header--fixed .menu-line2 {
    font-size: 0.75rem; /* réduit proportionnellement */
}

/* Compense la hauteur RÉELLE du header fixe (logo 60px + padding ≈ 88px) */
body.has-fixed-header {
    padding-top: 88px;
}

@media (max-width: 768px) {
    body.has-fixed-header {
        padding-top: 130px; /* le menu passe sur 2 lignes en mobile */
    }
    .site-header--fixed .logo img {
        max-width: 50px;
    }
}

/* =============================================
   SÉLECTEUR DE LANGUE
   ============================================= */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    flex-shrink: 0;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.lang-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.lang-active {
    color: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    background: rgba(212, 175, 55, 0.1) !important;
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 6px;
    }
}

/* En paysage sur mobile : header sur une seule ligne, tout visible */
@media (max-width: 900px) and (orientation: landscape) {
    .site-header--fixed {
        padding: 0.3rem 0;
    }

    .header-wrapper {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 0.5rem;
    }

    .site-header--fixed .logo img {
        max-width: 36px;
    }

    .main-nav {
        width: auto;
        margin-top: 0;
        flex: 1;
    }

    .menu {
        flex-wrap: nowrap;
        gap: 0;
    }

    .menu li {
        margin: 0;
    }

    .menu a {
        padding: 4px 5px;
        font-size: 0.7rem;
    }

    .menu-line1,
    .menu-line2 {
        font-size: 0.65rem;
    }

    .lang-switcher {
        margin-left: 4px;
        margin-top: 0;
        flex-shrink: 0;
        gap: 3px;
    }

    .lang-btn {
        padding: 2px 5px;
        font-size: 0.7rem;
    }

    .lang-flag {
        font-size: 0.85rem;
    }

    body.has-fixed-header {
        padding-top: 48px;
    }
}

/* =============================================
   BANDEAU NEWSLETTER (discret, bas d'écran)
   ============================================= */
.newsletter-banner {
    position: fixed;
    bottom: -200px;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transition: bottom 0.5s ease;
    padding: 1rem 1.5rem;
}

.newsletter-banner--visible {
    bottom: 0;
}

.newsletter-banner-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
}

.newsletter-banner-close:hover {
    color: var(--color-white);
}

.newsletter-banner-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.newsletter-banner-text {
    flex: 1 1 280px;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.newsletter-banner-text strong {
    font-size: 1.05rem;
    color: var(--color-gold);
}

.newsletter-banner-text span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
}

.newsletter-banner-form {
    flex: 2 1 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.newsletter-banner-form input[type="email"] {
    flex: 1 1 200px;
    padding: 0.6rem 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
}

.newsletter-banner-consent {
    flex: 1 1 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.newsletter-banner-consent input {
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.newsletter-banner-consent span {
    flex: 1;
}

.newsletter-banner-consent a {
    color: var(--color-gold);
}

.newsletter-banner-form button[type="submit"] {
    padding: 0.6rem 1.4rem;
    background: var(--color-gold);
    color: var(--color-primary);
    border: none;
    border-radius: var(--radius-sm);
    font-weight: bold;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.newsletter-banner-form button[type="submit"]:hover {
    background: var(--color-gold-dark);
    color: var(--color-white);
}

.newsletter-banner-message {
    max-width: 1100px;
    margin: 0.6rem auto 0;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.newsletter-banner-message.is-success {
    background: rgba(46, 204, 113, 0.2);
    color: #d4f5e0;
}

.newsletter-banner-message.is-error {
    background: rgba(231, 76, 60, 0.2);
    color: #fcd5d2;
}

/* Mobile portrait : formulaire masqué, seulement titre + lien + fermer */
@media (max-width: 768px) and (orientation: portrait) {
    .newsletter-banner {
        padding: 0;
    }

    /* Croix large et bien touchable en premier */
    .newsletter-banner-close {
        position: static;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        width: 100%;
        background: rgba(0, 0, 0, 0.25);
        color: var(--color-white);
        font-size: 1.4rem;
        font-weight: bold;
        padding: 14px 16px;
        text-align: right;
        border: none;
        cursor: pointer;
        line-height: 1;
        min-height: 48px; /* taille tactile minimale recommandée */
    }

    .newsletter-banner-close::before {
        content: 'Fermer';
        font-size: 0.85rem;
        font-weight: normal;
        opacity: 0.85;
    }

    /* Contenu simplifié : titre + lien seulement, sans le formulaire */
    .newsletter-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 0.8rem 1rem 1.2rem;
        gap: 0.5rem;
    }

    .newsletter-banner-text {
        flex: unset;
    }

    /* Masquer le formulaire complet sur mobile portrait */
    .newsletter-banner-form {
        display: none;
    }

    /* Afficher à la place un lien vers contact.php */
    .newsletter-banner-text::after {
        content: '';
        display: block;
        margin-top: 0.6rem;
    }

    .newsletter-banner-mobile-link {
        display: inline-block !important;
    }
}

/* Mobile paysage : version compacte sur une ligne */
@media (max-width: 900px) and (orientation: landscape) {
    .newsletter-banner {
        padding: 0.5rem 1rem;
    }

    .newsletter-banner-content {
        flex-wrap: nowrap;
        gap: 0.8rem;
    }

    .newsletter-banner-text span {
        display: none; /* masque le sous-titre pour gagner de la place */
    }

    .newsletter-banner-form {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.4rem;
    }

    .newsletter-banner-consent {
        display: none; /* trop compact pour la case RGPD, l'inscription se fait via contact.php */
    }
}

/* Tablette et desktop : comportement original inchangé */
@media (min-width: 769px) {
    .newsletter-banner-mobile-link {
        display: none !important;
    }
}

/* =============================================
   BOUTON RÉSERVER (HelloAsso)
   ============================================= */
.btn-reserver-helloasso {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    margin: 10px 0;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.btn-reserver-helloasso:hover {
    background: var(--color-gold-dark);
    transform: translateY(-2px);
}

/* =============================================
   MODALE DE RÉSERVATION HELLOASSO
   ============================================= */
.helloasso-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.helloasso-modal--visible {
    display: flex;
}

.helloasso-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 46, 56, 0.75);
}

.helloasso-modal-content {
    position: relative;
    background: var(--color-white);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: helloassoModalIn 0.25s ease;
}

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

.helloasso-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
    z-index: 1;
}

.helloasso-modal-close:hover {
    color: var(--color-primary);
}

.helloasso-modal-title {
    padding: 1.2rem 3rem 0.8rem 1.5rem;
    margin: 0;
    color: var(--color-primary);
    font-size: 1.15rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.helloasso-modal-iframe-wrapper {
    flex: 1;
    overflow-y: auto;
    background: #f5f5f5;
}

.helloasso-modal-iframe-wrapper iframe {
    width: 100%;
    height: 70vh;
    border: none;
    display: block;
}

@media (max-width: 600px) {
    .helloasso-modal-content {
        max-height: 95vh;
    }
    .helloasso-modal-iframe-wrapper iframe {
        height: 75vh;
    }
}
