/* Style Principal - Atelier Agadir des Arts */
:root {
    --primary-color: #006699;
    --primary-dark: #004466;
    --accent-color: #e65c00;
    --bg-light: #f8f9fa;
    --text-color: #2c3e50;
    --text-muted: #555555;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.8;
}

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="ltr"] body { direction: ltr; text-align: left; }

h1, h2, h3, h4 { font-weight: 700; color: #1a1a1a; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
ul { list-style: none; }

.container { width: 90%; max-width: 1140px; margin: 0 auto; }
.section { padding: 70px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.badge {
    display: inline-block;
    background-color: rgba(0, 102, 153, 0.1);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Optimization Navbar Header PC */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 3%;
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.site-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo-text a {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary-color);
    white-space: nowrap;
}

.logo-text span { color: var(--accent-color); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 4px 6px;
}

.nav-links a:hover { color: var(--accent-color); }

.btn-nav, .lang-switch {
    padding: 5px 12px !important;
    font-size: 0.85rem !important;
    border-radius: 6px;
    white-space: nowrap;
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Menu Déroulant (Dropdown PC) */
.dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 180px;
    z-index: 1001;
}

html[dir="rtl"] .dropdown-menu { left: auto; right: 0; }

.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li { width: 100%; }

.dropdown-menu a {
    display: block;
    padding: 8px 16px;
    color: var(--text-color);
    font-size: 0.85rem;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

/* Bouton Burger Mobile */
.mobile-toggle {
    display: none;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    font-size: 1.3rem;
    cursor: pointer;
}

/* Responsive Navigation Mobile */
@media (max-width: 992px) {
    .mobile-toggle { display: block !important; }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 15px 20px 30px 20px;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        gap: 10px;
        margin: 0;
        text-align: center;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active { display: flex !important; }
    .nav-links li { width: 100%; }

    .nav-links a {
        display: block;
        padding: 12px 10px;
        border-bottom: 1px solid #eee;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        background: rgba(0, 102, 153, 0.04);
        border-radius: 4px;
    }

    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.active .dropdown-menu { display: block; }

    .nav-links a.btn-nav, .nav-links a.lang-switch {
        border-bottom: none;
        color: #ffffff !important;
        margin-top: 8px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.hero-content h1 { font-size: 2.8rem; color: var(--white); margin: 15px 0; }
.hero .subtitle { color: var(--accent-color); font-size: 1.2rem; font-weight: 700; }
.hero p { font-size: 1.2rem; margin-bottom: 25px; }

.hero-buttons { display: flex; gap: 15px; justify-content: center; }

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary { background-color: var(--accent-color); color: var(--white); }
.btn-primary:hover { background-color: #cc5200; }
.btn-secondary { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background-color: var(--white); color: var(--text-color); }

/* Welcome Box */
.welcome-box {
    background: var(--bg-light);
    padding: 35px;
    border-radius: var(--radius);
    margin-top: 25px;
    box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .welcome-box { border-right: 5px solid var(--primary-color); }
html[dir="ltr"] .welcome-box { border-left: 5px solid var(--primary-color); }

.welcome-box p { margin-bottom: 18px; font-size: 1.05rem; text-align: justify; }
.welcome-box .lead-text { font-size: 1.15rem; font-weight: 600; color: var(--primary-color); }

.quote-footer {
    background: #eef6fa;
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-dark);
}

/* Grids Base */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; }

@media (max-width: 992px) {
    .grid-2, .grid-3 { grid-template-columns: 1fr !important; }
}

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

html[dir="rtl"] .timeline-container { padding-right: 30px; border-right: 3px solid var(--primary-color); }
html[dir="ltr"] .timeline-container { padding-left: 30px; border-left: 3px solid var(--primary-color); }

.timeline-item { position: relative; margin-bottom: 35px; }
html[dir="rtl"] .timeline-item { padding-right: 25px; }
html[dir="ltr"] .timeline-item { padding-left: 25px; }

.timeline-dot {
    position: absolute;
    top: 5px; width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid var(--white);
}

html[dir="rtl"] .timeline-dot { right: -39px; }
html[dir="ltr"] .timeline-dot { left: -39px; }

.timeline-date {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.timeline-future .timeline-dot, .timeline-future .timeline-date { background: #27ae60; }

/* Section Teaser & Audio */
.media-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 35px; align-items: stretch; }
@media (max-width: 992px) { .media-wrapper { grid-template-columns: 1fr; } }

.video-preview-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 320px;
    cursor: pointer;
}

.video-poster { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.video-preview-card:hover .video-poster { transform: scale(1.05); }

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.8));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    color: var(--white); text-align: center; padding: 20px;
}

.play-btn-circle {
    width: 70px; height: 70px;
    background: var(--accent-color); color: var(--white);
    border-radius: 50%; display: flex;
    justify-content: center; align-items: center;
    font-size: 1.8rem; margin-bottom: 15px;
    box-shadow: 0 0 25px rgba(230, 92, 0, 0.6);
    transition: transform 0.3s ease;
}

.video-preview-card:hover .play-btn-circle { transform: scale(1.15); }

.audio-player-card {
    background: var(--white); padding: 30px;
    border-radius: var(--radius); box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary-color);
    display: flex; flex-direction: column; justify-content: space-between; height: 100%;
}

.audio-info { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.audio-icon { font-size: 2rem; color: var(--primary-color); background: rgba(0, 102, 153, 0.1); padding: 15px; border-radius: 50%; }
.custom-audio-player { width: 100%; margin-bottom: 15px; }

/* Modal Video Pop-up */
.video-modal {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); z-index: 3000;
    justify-content: center; align-items: center;
}

.video-modal-content { position: relative; width: 90%; max-width: 800px; background: #000; border-radius: var(--radius); overflow: hidden; }
.close-video-modal { position: absolute; top: 10px; right: 15px; color: var(--white); font-size: 2.5rem; cursor: pointer; z-index: 3001; }
.iframe-container { position: relative; padding-bottom: 56.25%; height: 0; }
.iframe-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Section Calendrier */
.calendar-filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter-btn {
    background: var(--white); border: 2px solid var(--primary-color);
    color: var(--primary-color); padding: 8px 18px; border-radius: 25px;
    font-weight: bold; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary-color); color: var(--white); }
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.event-card {
    background: var(--white); border-radius: var(--radius); padding: 20px;
    box-shadow: var(--shadow-sm); border-top: 4px solid var(--primary-color);
    display: flex; flex-direction: column; justify-content: space-between;
}
.event-card.future { border-top-color: var(--accent-color); background: #fffbf8; }

/* Section Presse */
.press-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-top: 30px; }
@media (max-width: 992px) { .press-grid { grid-template-columns: 1fr; } }
.press-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; }
@media (max-width: 768px) { .press-card { flex-direction: column; } }
.press-img-box { width: 45%; min-height: 200px; }
@media (max-width: 768px) { .press-img-box { width: 100%; } }
.press-img-box img { width: 100%; height: 100%; object-fit: cover; }
.press-content { padding: 25px; width: 55%; display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 768px) { .press-content { width: 100%; } }
.btn-press { background: var(--primary-color); color: var(--white); padding: 10px 20px; border-radius: var(--radius); font-weight: bold; display: inline-block; }

.press-kit-box {
    background: linear-gradient(135deg, #006699 0%, #004080 100%);
    color: var(--white); padding: 30px; border-radius: var(--radius);
    text-align: center; display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.press-kit-icon { font-size: 3rem; color: var(--accent-color); margin-bottom: 15px; }
.btn-download-kit { background: var(--accent-color); color: var(--white); padding: 12px 22px; border-radius: 25px; font-weight: bold; display: inline-block; margin-top: 15px; }

/* Section Inscription */
.join-wrapper {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    background: linear-gradient(135deg, #006699 0%, #004080 100%);
    border-radius: var(--radius); padding: 40px; color: var(--white);
}
@media (max-width: 992px) { .join-wrapper { grid-template-columns: 1fr; padding: 25px; } }
.join-form-card { background: var(--white); color: var(--text-color); padding: 30px; border-radius: var(--radius); }
.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 576px) { .form-row { grid-template-columns: 1fr; } }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px; border: 1px solid #ddd; border-radius: var(--radius); font-family: inherit; }
.btn-submit-join { width: 100%; background: var(--accent-color); color: var(--white); border: none; padding: 13px; border-radius: var(--radius); font-weight: bold; cursor: pointer; }

/* Section Partenaires */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; margin-top: 35px; }
@media (max-width: 992px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) { .partners-grid { grid-template-columns: 1fr; } }

.partner-card { background: var(--white); border: 1px solid rgba(0,0,0,0.08); border-radius: var(--radius); padding: 25px; text-align: center; height: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.partner-logo { max-width: 90px; max-height: 65px; object-fit: contain; filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
.partner-card:hover .partner-logo { filter: grayscale(0%); opacity: 1; transform: scale(1.08); }

/* Footer */
footer { background: #111; color: var(--white); padding: 30px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: var(--white); margin-left: 15px; font-size: 1.2rem; }

/* Media Queries PC */
@media (min-width: 993px) {
    .media-wrapper { display: grid !important; grid-template-columns: 2fr 1fr !important; gap: 30px !important; }
    .join-wrapper { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
    .partners-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 25px !important; }
}

/* Animations au Défilement et Fallback pour contenu visible */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.no-js .animate-on-scroll,
.animate-on-scroll.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Prochains Spectacles */
.upcoming-shows-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 750px;
    margin: 35px auto 0 auto;
}

.upcoming-show-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.upcoming-show-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.show-date-badge {
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
    min-width: 90px;
    flex-shrink: 0;
}

.show-date-badge.orange { background-color: var(--accent-color); }
.show-date-badge.blue { background-color: var(--primary-color); }

.show-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.show-date-badge .month {
    font-size: 0.85rem;
    font-weight: 700;
}

.show-card-content { flex-grow: 1; }
.show-card-content h3 { font-size: 1.25rem; margin-bottom: 6px; color: #1a1a1a; }
.show-card-content p { font-size: 0.9rem; color: var(--text-muted); margin: 3px 0; }

/* Boutons de Partage */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-share.whatsapp {
    background-color: #25D366;
    color: #ffffff !important;
}

.btn-share.whatsapp:hover {
    background-color: #1eba57;
    transform: translateY(-2px);
}

.btn-share.generic {
    background-color: #f0f2f5;
    color: var(--text-color) !important;
    border: 1px solid #ddd;
}

.btn-share.generic:hover {
    background-color: #e4e6eb;
    transform: translateY(-2px);
}

/* Compte à Rebours */
.countdown-container {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    max-width: 750px;
    margin: 25px auto 35px auto;
    box-shadow: var(--shadow-md);
}

.countdown-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.countdown-header h3 { color: var(--white); font-size: 1.15rem; font-weight: 600; }

.pulse-dot {
    width: 10px; height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%; display: inline-block;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 92, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(230, 92, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 92, 0, 0); }
}

.countdown-timer { display: flex; justify-content: center; gap: 15px; }

.timer-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 12px; min-width: 80px;
    display: flex; flex-direction: column; align-items: center;
}

.timer-box span { font-size: 1.8rem; font-weight: 900; line-height: 1; color: #ffffff; }
.timer-box small { font-size: 0.75rem; margin-top: 5px; color: rgba(255, 255, 255, 0.85); }

/* Bannières Réduites */
.hero.hero-small {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    padding: 0 15px !important;
    margin-top: 60px !important;
}

.hero-small .hero-content h1 { font-size: 1.5rem !important; margin: 0 !important; }
.hero-small .hero-subtitle-light, .hero-small h2 { font-size: 0.95rem !important; margin-top: 4px !important; }

@media (max-width: 576px) {
    .upcoming-show-card { padding: 15px; gap: 15px; }
    .show-date-badge { min-width: 75px; padding: 10px 14px; }
    .show-date-badge .day { font-size: 1.4rem; }
    .show-card-content h3 { font-size: 1.05rem; }
    .countdown-timer { gap: 8px; }
    .timer-box { min-width: 65px; padding: 8px; }
    .timer-box span { font-size: 1.3rem; }
}
/* =========================================================
   Ajustements spécifiques : Membres, Presse & Réservation
   ========================================================= */

/* Section Membres (team-grid) */
.team-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.team-img-box {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #eee;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.05);
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.team-role {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Section Presse (articles-blog-grid & blog-card) */
.articles-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 30px !important;
    margin-top: 30px !important;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

html[dir="ltr"] .blog-category {
    right: auto;
    left: 15px;
}

.blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-read-more:hover {
    color: var(--accent-color);
}

/* Section Réservation (booking-wrapper) */
.booking-wrapper {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 35px !important;
    align-items: start;
}

@media (max-width: 992px) {
    .booking-wrapper {
        grid-template-columns: 1fr !important;
    }
}

.booking-info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
    border-top: 4px solid var(--primary-color);
}

.show-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    padding: 15px;
    border-radius: var(--radius);
    margin-top: 15px;
    box-shadow: var(--shadow-sm);
}

.show-date {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px;
    border-radius: var(--radius);
    text-align: center;
    min-width: 75px;
}

.show-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.show-date .month {
    font-size: 0.8rem;
    font-weight: 700;
}

.booking-form-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.btn-submit-booking {
    width: 100%;
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.btn-submit-booking:hover {
    background: #cc5200;
}
/* Style Vidéo Seule Centrée */
.video-standalone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.teaser-video {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
/* Style Vidéo Seule Centrée */
.video-standalone-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 850px;
    margin: 0 auto;
}

.teaser-video {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    cursor: pointer; /* Indique que la vidéo est cliquable */
}
/* Body propre sans overflow bloquant */
body {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
    line-height: 1.8;
    position: relative;
}

/* Orbes lumineux animés en arrière-plan */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px); /* Flou doux */
    opacity: 0.35; /* Transparence légère pour ne pas gêner la lecture */
    z-index: -1; /* Indispensable : placé derrière tout le contenu */
    pointer-events: none; /* Empêche tout blocage de clics ou de défilement */
    will-change: transform;
}

/* Orbe 1 - Bleu Atelier */
.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--primary-color);
    top: -50px;
    left: -50px;
    animation: floatShape1 18s ease-in-out infinite alternate;
}

/* Orbe 2 - Orange Atelier */
.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--accent-color);
    bottom: 10%;
    right: -100px;
    animation: floatShape2 22s ease-in-out infinite alternate;
}

/* Orbe 3 - Nuance Bleue Centrale */
.shape-3 {
    width: 300px;
    height: 300px;
    background: #004466;
    top: 40%;
    left: 30%;
    animation: floatShape3 20s ease-in-out infinite alternate;
}

/* Animations de mouvement doux */
@keyframes floatShape1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(120px, 150px) scale(1.2); }
}

@keyframes floatShape2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-150px, -100px) scale(1.15); }
}

@keyframes floatShape3 {
    0% { transform: translate(0, 0) scale(0.9); }
    100% { transform: translate(80px, -80px) scale(1.1); }
}
/* Style Vidéo Format Portrait (TikTok / Reels 9:16) */
.video-portrait-wrapper {
    position: relative;
    max-width: 320px; /* Largeur idéale pour le format vertical */
    aspect-ratio: 9 / 16;
    margin: 20px auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background-color: #000000;
}

.teaser-video-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    display: block;
}

/* Bouton du Son Flottant */
.video-mute-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 10;
}

html[dir="rtl"] .video-mute-btn {
    right: auto;
    left: 15px;
}

.video-mute-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}
/* =========================================================
   Ajustements Responsives Mobiles (index.html & fr.html)
   ========================================================= */

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        height: auto !important;
        min-height: 80vh !important;
        padding: 90px 15px 40px 15px !important;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .hero-buttons {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-buttons .btn {
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center !important;
    }

    /* Compte à Rebours Mobile */
    .countdown-container {
        padding: 15px 10px !important;
        margin: 20px 10px !important;
    }

    .countdown-header h3 {
        font-size: 0.95rem !important;
    }

    .countdown-timer {
        gap: 6px !important;
    }

    .timer-box {
        min-width: 55px !important;
        padding: 6px 4px !important;
    }

    .timer-box span {
        font-size: 1.2rem !important;
    }

    .timer-box small {
        font-size: 0.65rem !important;
    }

    /* Section Carte Spectacle Mobile */
    .upcoming-show-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }

    .show-date-badge {
        width: 100% !important;
    }

    .share-buttons {
        justify-content: center !important;
    }

    /* Section Presse Mobile */
    .press-card {
        flex-direction: column !important;
    }

    .press-img-box, .press-content {
        width: 100% !important;
    }

    .press-img-box {
        height: 180px !important;
    }

    /* Formulaires et Boutons de Contact Mobile */
    .contact-buttons {
        justify-content: center !important;
    }

    .contact-buttons a {
        width: 100% !important;
        justify-content: center !important;
    }
}
/* Style de l'image cliquable */
.show-poster-box {
    text-align: center;
    margin: 20px 0;
}

.clickable-poster {
    width: 100%;
    max-width: 450px;
    border-radius: var(--radius);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clickable-poster:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.poster-hint {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Modal Lightbox Plein Écran */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* =========================================================
   Espace Publicitaire (Ads Banner Section)
   ========================================================= */
.ads-banner-section {
    background-color: #f4f6f9;
    padding: 50px 0;
    border-top: 2px dashed rgba(0, 0, 0, 0.08);
    border-bottom: 2px dashed rgba(0, 0, 0, 0.08);
}

.badge-orange {
    background-color: #e65c00 !important;
    color: #ffffff !important;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ad-card {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    text-decoration: none !important;
    color: var(--text-color) !important;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.ad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e65c00;
}

.ad-badge-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.06);
    color: #666;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

html[dir="ltr"] .ad-badge-tag {
    right: auto;
    left: 10px;
}

.ad-icon {
    font-size: 2.2rem;
    color: #e65c00;
    margin-bottom: 12px;
}

.ad-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.ad-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Carte Appel à l'action (Espace disponible) */
.ad-placeholder {
    border: 2px dashed #e65c00;
    background: rgba(230, 92, 0, 0.02);
}

.btn-ad-call {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #e65c00;
}

@media (max-width: 576px) {
    .ads-banner-section {
        padding: 30px 15px;
    }
}
/* =========================================================
   Pop-up Modale Trophée IRCAM 2025
   ========================================================= */
.trophy-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    backdrop-filter: blur(5px);
    opacity: 1;
    transition: opacity 0.4s ease;
}

.trophy-modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid #d4af37; /* Liseré doré */
    animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.trophy-modal-close {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.trophy-modal-close:hover {
    color: #e65c00;
}

.trophy-badge {
    display: inline-block;
    background: #d4af37;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 12px;
}

.trophy-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.trophy-modal-header h2 {
    color: var(--primary-color);
    font-size: 1.35rem;
    line-height: 1.5;
    margin-bottom: 6px;
}

.trophy-subtitle {
    color: #e65c00;
    font-weight: 600;
    font-size: 0.95rem;
}

.facebook-embed-wrapper {
    text-align: center;
    margin: 15px 0 20px 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 5px;
}

.trophy-text-content {
    line-height: 1.7;
    color: #333;
    font-size: 0.95rem;
}

.trophy-text-content .lead-p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.thanks-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.thanks-list li {
    position: relative;
    padding-right: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.thanks-list li::before {
    content: "✦";
    color: #d4af37;
    position: absolute;
    right: 0;
}

.footer-note {
    font-weight: bold;
    text-align: center;
    color: #d4af37;
    margin-top: 15px;
}

.trophy-modal-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}