:root {
    --blue-dark: #0B1D51;
    --blue-primary: #0F2670;
    --blue-light: #1A3A9E;
    --blue-accent: #2E5BFF;
    --white: #FFFFFF;
    --gray-100: #F5F7FA;
    --gray-200: #E8ECF2;
    --gray-300: #C5CDD9;
    --gray-600: #6B7A8D;
    --gray-800: #2D3748;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(11, 29, 81, 0.12);
    --shadow-lg: 0 8px 40px rgba(11, 29, 81, 0.18);
    --transition: 0.3s ease;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Urbanist', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(11, 29, 81, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(11, 29, 81, 0.98);
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-lang select {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 10px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
}

.nav-lang select option {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-listen {
    background: var(--blue-accent) !important;
    color: var(--white) !important;
    padding: 8px 20px !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
}

.btn-listen:hover {
    background: #1a47e6 !important;
    transform: scale(1.02);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--blue-light) 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(46, 91, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 91, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 20px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-weight: 300;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-family: inherit;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--blue-accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #1a47e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 91, 255, 0.35);
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.btn-outline {
    background: transparent;
    color: var(--blue-primary);
    padding: 12px 28px;
    border: 2px solid var(--blue-primary);
    border-radius: 50px;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--blue-primary);
    color: var(--white);
}

.hero-player {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-player iframe {
    border-radius: var(--radius);
    display: block;
}

/* ─── Sections ─── */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

/* ─── Recently Played ─── */
.recently-played {
    background: var(--gray-100);
}

.played-widget {
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.played-widget iframe {
    display: block;
}

.listen-platforms {
    text-align: center;
}

.listen-platforms p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-weight: 500;
}

/* ─── About ─── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-icon {
    background: var(--gray-100);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.about-icon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.about-icon i {
    font-size: 2rem;
    color: var(--blue-accent);
    margin-bottom: 12px;
    display: block;
}

.about-icon span {
    font-weight: 600;
    color: var(--blue-dark);
    font-size: 0.9rem;
}

/* ─── Schedule ─── */
.schedule {
    background: var(--gray-100);
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.schedule-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.schedule-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--blue-accent);
}

.schedule-time {
    display: inline-block;
    background: var(--blue-dark);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.schedule-card h3 {
    font-size: 1.1rem;
    color: var(--blue-dark);
    margin-bottom: 10px;
}

.schedule-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.schedule-card h4 {
    font-size: 1.05rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
    text-align: left;
}

.schedule-card .schedule-anim {
    display: block;
    margin-top: 8px;
    color: var(--gray-600);
    font-size: 0.8rem;
    font-style: italic;
}

.badge-special {
    color: var(--blue-accent);
    margin-left: 6px;
}

/* ─── Schedule semaine (grille dynamique) ─── */
.schedule-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.schedule-day-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.schedule-day-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--blue-dark);
    text-align: center;
    padding: 8px 0;
    background: var(--white);
    border-radius: var(--radius);
    border-bottom: 3px solid var(--blue-accent);
}

.schedule-day-col .schedule-card {
    text-align: left;
    padding: 16px 18px;
}

/* ─── News / Billets (carousel pleine largeur) ─── */
.news {
    background: var(--white);
}

.news-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}
/* Dégradés blancs pilotés par variables CSS (inline JS) */
.news-carousel {
    --grad-left:  0;
    --grad-right: 0;
}
.news-carousel::before,
.news-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 220px;                            /* plus large pour fade très progressif */
    z-index: 10;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.news-carousel::before {
    left: 0;
    opacity: var(--grad-left);
    background: linear-gradient(to right,
        rgba(255, 255, 255, 1.00) 0%,
        rgba(255, 255, 255, 1.00) 32%,      /* solide jusqu'à ~70px (couvre l'arrière de la flèche) */
        rgba(255, 255, 255, 0.95) 45%,
        rgba(255, 255, 255, 0.80) 60%,
        rgba(255, 255, 255, 0.55) 75%,
        rgba(255, 255, 255, 0.25) 88%,
        rgba(255, 255, 255, 0.00) 100%);
}
.news-carousel::after {
    right: 0;
    opacity: var(--grad-right);
    background: linear-gradient(to left,
        rgba(255, 255, 255, 1.00) 0%,
        rgba(255, 255, 255, 1.00) 32%,
        rgba(255, 255, 255, 0.95) 45%,
        rgba(255, 255, 255, 0.80) 60%,
        rgba(255, 255, 255, 0.55) 75%,
        rgba(255, 255, 255, 0.25) 88%,
        rgba(255, 255, 255, 0.00) 100%);
}

@media (max-width: 540px) {
    .news-carousel::before,
    .news-carousel::after { width: 120px; }
}

.news-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 90px 24px;        /* espace de respiration de chaque côté */
    scroll-padding-inline: 90px;   /* snap port aligné sur le padding → snap point au début = scrollLeft 0 */
    scrollbar-width: none;
}
.news-track::-webkit-scrollbar { display: none; }

/* Cards : 5 visibles sur très grand écran, 4 par défaut PC, descendant en mobile */
.news-track .news-card {
    flex: 0 0 calc((100% - 180px - 96px) / 4); /* PC : 4 cards (180 = padding L+R, 96 = 3 gaps) */
    scroll-snap-align: start;
    min-width: 0;
}

@media (min-width: 1400px) {
    .news-track .news-card { flex: 0 0 calc((100% - 180px - 120px) / 5); } /* 5 cards */
}
@media (max-width: 1100px) {
    .news-track .news-card { flex: 0 0 calc((100% - 180px - 72px) / 3); }  /* 3 cards */
}
@media (max-width: 820px) {
    .news-track { padding: 8px 70px 24px; scroll-padding-inline: 70px; }
    .news-track .news-card { flex: 0 0 calc((100% - 140px - 24px) / 2); }   /* 2 cards */
}
@media (max-width: 540px) {
    .news-track { padding: 8px 56px 24px; scroll-padding-inline: 56px; }
    .news-track .news-card { flex: 0 0 calc(100% - 112px); }                /* 1 card */
}

/* Flèches de navigation (z-index plus haut que les dégradés) */
.news-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--blue-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 22px rgba(10, 31, 143, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease,
                background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}
.news-nav:hover:not(:disabled) {
    background: var(--blue-accent);
    color: var(--white);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 10px 28px rgba(46, 91, 255, 0.4);
}
/* Cachée complètement quand pas d'article dans cette direction */
.news-nav.is-hidden {
    display: none !important;
}
.news-nav:disabled {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-50%) scale(0.85);
}
.news-nav--prev { left: 16px; }
.news-nav--next { right: 16px; }

@media (max-width: 540px) {
    .news-nav { width: 40px; height: 40px; font-size: 0.95rem; }
    .news-nav--prev { left: 8px; }
    .news-nav--next { right: 8px; }
}

.news-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.news-img {
    height: 200px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    background-size: cover;
    background-position: center;
}

/* Vidéo : miniature en cover + overlay play */
.news-img-video {
    position: relative;
    overflow: hidden;
}
.news-img-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 50%, rgba(5, 11, 46, 0.55) 100%);
    transition: background 0.25s ease;
}
.news-img-video-overlay i {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 6px; /* compense le triangle play */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease;
}
.news-card:hover .news-img-video-overlay i {
    transform: scale(1.1);
}

/* Pas de miniature dispo → fallback gradient + icône */
.news-img-video--noThumb {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
}

/* Placeholder logo CLIQ FM quand pas d'en-tête */
.news-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent));
}
.news-img--placeholder img {
    height: 70%;
    width: auto;
    opacity: 0.85;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
}

.news-body {
    padding: 24px;
}

/* Badge catégorie — 3 teintes de bleu */
.categorie-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

/* ACTUALITÉ — bleu cyan (le plus vif, "breaking news") */
.categorie-badge.actualite {
    background: rgba(77, 166, 255, 0.15);
    color: #1E78D6;
    border-color: rgba(77, 166, 255, 0.3);
}

/* ÉVÉNEMENT — bleu accent (médian) */
.categorie-badge.evenement {
    background: rgba(46, 91, 255, 0.15);
    color: var(--blue-accent);
    border-color: rgba(46, 91, 255, 0.3);
}

/* INFORMATION — bleu marine profond (sobre) */
.categorie-badge.information {
    background: rgba(11, 29, 81, 0.10);
    color: var(--blue-dark);
    border-color: rgba(11, 29, 81, 0.25);
}

.news-body h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.2rem;
    color: var(--blue-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.news-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.news-excerpt {
    color: var(--gray-800);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ─── Témoignages ─── */
.testimonials {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    color: var(--white);
}

.testimonials .section-header h2,
.testimonials .section-header p { color: var(--white); }
.testimonials .section-header p { opacity: 0.85; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial {
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--white);
    padding: 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    backdrop-filter: blur(8px);
}

.testimonial p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial cite {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 700;
    font-style: normal;
    font-size: 0.9rem;
}

/* ─── Newsletter ─── */
.newsletter {
    background: var(--blue-accent);
    color: var(--white);
    padding: 60px 0;
}

.newsletter-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.newsletter h2 {
    font-family: 'Urbanist', sans-serif;
    color: var(--white);
    margin-bottom: 8px;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 14px 18px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-form .btn {
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 50px;
    padding: 14px 28px;
}

.newsletter-form .btn:hover {
    background: var(--white);
    color: var(--blue-dark);
    transform: translateY(-2px);
}

/* ─── Radio buttons (form contact) ─── */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.radio-group label {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 0 !important;
    font-weight: 500 !important;
}

.radio-group input[type="radio"] {
    accent-color: var(--blue-accent);
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.contact-form input[type="file"] {
    background: var(--white);
    border: 1.5px dashed var(--gray-300);
    padding: 10px;
    cursor: pointer;
}

.contact-form input[type="file"]:hover {
    border-color: var(--blue-accent);
    background: var(--gray-100);
}

/* Statuts de validation des fichiers uploadés */
.upload-status {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    min-height: 1.2em;
}
.upload-status--ok {
    color: #1e8c4f;
    background: rgba(46, 204, 113, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #1e8c4f;
}
.upload-status--ko {
    color: #c0392b;
    background: rgba(231, 76, 60, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #c0392b;
}

/* ─── Cloudflare Turnstile ─── */
.cf-turnstile { display: inline-block; }
.cf-turnstile iframe { border-radius: 8px; }

/* ─── Alerts publics ─── */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.alert-success {
    background: rgba(46, 204, 113, 0.15);
    border: 1px solid rgba(46, 204, 113, 0.4);
    color: #1e8c4f;
}

.alert-error {
    background: rgba(231, 76, 60, 0.15);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: #c0392b;
}

/* ─── Contact ─── */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: var(--gray-100);
    padding: 48px;
    border-radius: var(--radius-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.1);
}

.contact-form .btn-primary {
    width: 100%;
    justify-content: center;
}

/* ─── Footer ─── */
.footer {
    background: var(--blue-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 16px;
}

.footer-brand p {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--blue-accent);
}

.footer-links h4,
.footer-contact-info h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-contact-info i {
    margin-right: 8px;
    color: var(--blue-accent);
}

.footer-bottom {
    text-align: center;
    padding: 24px 0;
    font-size: 0.85rem;
}

/* ─── Responsive ─── */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--blue-dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 20px;
        gap: 4px;
        transform: translateX(100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-menu a {
        font-size: 1.1rem;
        padding: 14px 20px;
        display: block;
        width: 100%;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Animations ─── */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   ✨ MODERN UI UPLIFT — animations, glassmorphism, polish
   ========================================================= */

/* ─── Scroll bar custom ─── */
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--gray-100); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--blue-primary), var(--blue-accent));
    border-radius: 8px;
    border: 2px solid var(--gray-100);
}
::-webkit-scrollbar-thumb:hover { background: var(--blue-accent); }

::selection { background: var(--blue-accent); color: var(--white); }

/* ─── Typo fluide ─── */
h1, h2, h3, h4 { letter-spacing: -0.01em; }

/* ─── HERO 2.0 ─── */
.hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 80% -10%, rgba(46,91,255,0.45), transparent 50%),
      radial-gradient(circle at 0% 100%, rgba(77,166,255,0.25), transparent 55%),
      linear-gradient(135deg, #050B2E 0%, #0A1F8F 55%, #1A3A9E 100%);
    color: var(--white);
    padding: 110px 0 140px;
}

/* Vidéo d'arrière-plan du hero */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
    transition: filter 0.25s ease;
}

/* Overlay subtil pour assombrir / teinter à la couleur CLIQ */
.hero-video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
      radial-gradient(circle at 50% 100%, rgba(10, 31, 143, 0.15), transparent 60%),
      linear-gradient(180deg, rgba(5, 11, 46, 0.35) 0%, rgba(5, 11, 46, 0.45) 60%, rgba(5, 11, 46, 0.7) 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
}

/* Titre Hero avec dégradé subtil */
.hero-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 800;
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    margin-bottom: 24px;
    color: var(--white);
    background: linear-gradient(120deg, #ffffff 30%, #cfe0ff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleIn 0.9s cubic-bezier(.2,.7,.2,1) both;
}
.hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 540px;
    margin-bottom: 32px;
    animation: titleIn 0.9s 0.15s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes titleIn {
    from { opacity: 0; transform: translateY(24px); filter: blur(4px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}

.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: titleIn 0.9s 0.3s cubic-bezier(.2,.7,.2,1) both;
}

/* Badge "EN ONDES" pulsant */
.onair-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: titleIn 0.9s both;
}
.onair-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d6a;
    box-shadow: 0 0 0 0 rgba(255,77,106,0.7);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255,77,106,0.7); }
    70%  { box-shadow: 0 0 0 10px rgba(255,77,106,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,77,106,0); }
}

/* Glass card pour le player */
.glass-card {
    background: rgba(255,255,255,0.08) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.18) !important;
    border-radius: 20px !important;
    padding: 18px !important;
    box-shadow:
      0 12px 48px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.2);
    animation: titleIn 1s 0.4s cubic-bezier(.2,.7,.2,1) both;
}
.hero-player-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 4px;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ff4d6a;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255,77,106,0.5);
}
.live-dot {
    width: 6px; height: 6px;
    background: var(--white);
    border-radius: 50%;
    animation: pulse 1.6s infinite;
}
.hero-player-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Onde SVG en bas du hero */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 2;
    display: block;
}

/* ─── Boutons polish ─── */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-glow {
    box-shadow:
      0 8px 30px rgba(46,91,255,0.4),
      inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
    z-index: -1;
}
.btn-glow:hover::after { transform: translateX(100%); }

.btn-ghost-light {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.btn-ghost-light:hover {
    background: rgba(255,255,255,0.18);
    transform: translateY(-2px);
}

/* ─── Sections : transitions et reveal ─── */
.section { padding: 90px 0; }
.section-header h2 {
    position: relative;
    display: inline-block;
}
.section-header h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-accent), #4DA6FF);
    border-radius: 4px;
    margin: 14px auto 0;
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
                transform 0.7s cubic-bezier(.2,.7,.2,1);
    will-change: transform, opacity;
}
.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* ─── Cards 3D tilt ─── */
.news-card, .schedule-card, .player-card {
    transform-style: preserve-3d;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* =========================================================
   ✨ SECTION À PROPOS — uplift
   ========================================================= */
.about {
    position: relative;
    overflow: hidden;
}
.about-deco {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}
.about-deco--1 {
    width: 380px; height: 380px;
    background: var(--blue-accent);
    top: -120px; left: -120px;
}
.about-deco--2 {
    width: 460px; height: 460px;
    background: #4DA6FF;
    bottom: -160px; right: -140px;
}
.about .container { position: relative; z-index: 1; }

.about-lead {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1.15rem, 1.7vw, 1.35rem) !important;
    font-weight: 600;
    color: var(--blue-dark) !important;
    line-height: 1.55;
    margin-bottom: 24px !important;
    position: relative;
    padding-left: 22px;
    border-left: 4px solid var(--blue-accent);
}
.about-cta-line {
    font-weight: 700;
    color: var(--blue-accent) !important;
    font-size: 1.1rem !important;
}

/* Cartes d'icônes plus impactantes */
.about-icon {
    padding: 28px 20px !important;
    background: var(--white) !important;
    border-radius: 18px !important;
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(.2,.7,.2,1) !important;
    box-shadow: 0 4px 14px rgba(10, 31, 143, 0.04);
}
.about-icon-bubble {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 6px 16px rgba(46, 91, 255, 0.3);
    transition: transform 0.3s ease;
}
.about-icon-bubble i {
    color: var(--white);
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    display: block !important;
    transition: color 0.3s ease;
}
.about-icon:hover {
    transform: translateY(-6px);
    border-color: var(--blue-accent);
    box-shadow: 0 14px 32px rgba(46, 91, 255, 0.18);
}
.about-icon:hover .about-icon-bubble {
    transform: scale(1.08) rotate(-5deg);
    background: var(--white) !important;
    border: 2px solid #2A5BFF;
}
.about-icon:hover .about-icon-bubble i {
    color: #2A5BFF !important;
}
.about-icon span {
    color: var(--blue-dark) !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
}

/* ─── About icons : effet hover ─── */
.about-icon {
    transition: var(--transition);
    border: 2px solid transparent;
}
.about-icon:hover {
    background: var(--white);
    border-color: var(--blue-accent);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 32px rgba(10,31,143,0.18);
}
.about-icon:hover i {
    transform: scale(1.15) rotate(-5deg);
    color: var(--blue-primary);
}
.about-icon i { transition: transform 0.3s ease, color 0.3s; }

/* =========================================================
   📅 PROGRAMMATION — uplift centré
   ========================================================= */
.schedule {
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

/* La grille du calendrier est centrée à la page */
.schedule .schedule-week {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 240px));
    gap: 20px;
    justify-content: center;   /* centre les colonnes dans le container */
    max-width: 1200px;
    margin: 0 auto;
}

.schedule-day-col {
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.schedule-day-col:hover { transform: translateY(-3px); }

/* Pastille du jour de la semaine — moderne et impactante */
.schedule-day-title {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
    color: var(--white);
    text-align: center;
    padding: 14px 12px;
    border-radius: 14px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 6px 18px rgba(10, 31, 143, 0.18);
    border: none !important;
    overflow: hidden;
}
.schedule-day-title::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}
.schedule-day-col:hover .schedule-day-title::before {
    transform: translateX(100%);
}

/* Jour courant : pastille bleu accent vif + glow */
.schedule-day-col--today .schedule-day-title {
    background: linear-gradient(135deg, var(--blue-accent), #4DA6FF) !important;
    color: var(--white) !important;
    box-shadow: 0 8px 24px rgba(46, 91, 255, 0.45),
                0 0 0 3px rgba(46, 91, 255, 0.15);
}

.today-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 8px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    animation: todayPulse 2s ease-in-out infinite;
}
@keyframes todayPulse {
    0%, 100% { transform: scale(1); opacity: 0.95; }
    50%      { transform: scale(1.08); opacity: 1; }
}

.schedule-day-col--today .schedule-card {
    border-color: rgba(46, 91, 255, 0.25) !important;
    box-shadow: 0 4px 16px rgba(46, 91, 255, 0.08);
}

.schedule-card .schedule-time {
    background: var(--blue-dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.schedule-card .schedule-time i { font-size: 0.7rem; }

.schedule-card h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--blue-dark);
    margin: 8px 0 6px;
}

.schedule-anim-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    padding: 5px 12px;
    background: rgba(46, 91, 255, 0.10);
    color: var(--blue-accent);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    border: 1px solid rgba(46, 91, 255, 0.15);
}
.schedule-anim-chip i { font-size: 0.7rem; }

.badge-special {
    color: #F4B400 !important;
    text-shadow: 0 0 8px rgba(244, 180, 0, 0.4);
}

/* =========================================================
   ✉️ CONTACT — formulaire centré
   ========================================================= */
.contact-subtitle {
    max-width: none !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 980px) {
    .contact-subtitle {
        white-space: normal; /* sur mobile, autorise le retour à la ligne */
        font-size: 0.95rem;
    }
}

.contact-alert {
    max-width: 760px;
    margin: 0 auto 24px;
}

/* Form polish */
.section.contact .contact-form {
    max-width: 760px;
    margin: 0 auto;
    box-shadow: 0 14px 40px rgba(10, 31, 143, 0.10);
    border: 1px solid var(--gray-200);
    border-radius: 18px;
    padding: 44px 48px;
    background: var(--white);
}

.section.contact .form-group label {
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

.section.contact .form-group input[type="text"],
.section.contact .form-group input[type="email"],
.section.contact .form-group input[type="tel"],
.section.contact .form-group input[type="number"],
.section.contact .form-group input[type="url"],
.section.contact .form-group select,
.section.contact .form-group textarea {
    background: var(--gray-100);
    border: 1.5px solid transparent;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 0.98rem;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.section.contact .form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: ellipsis;
    padding-right: 40px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23050B2E' d='M6 8L0 0h12z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
}
.section.contact .form-group input:focus,
.section.contact .form-group select:focus,
.section.contact .form-group textarea:focus {
    background: var(--white);
    border-color: var(--blue-accent);
    box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.12);
}

/* Sélecteur de type plus impactant */
.section.contact #type {
    font-weight: 600;
    color: var(--blue-dark);
    background-image: linear-gradient(45deg, transparent 50%, var(--blue-accent) 50%),
                      linear-gradient(135deg, var(--blue-accent) 50%, transparent 50%);
    background-position: calc(100% - 18px) center, calc(100% - 12px) center;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    appearance: none;
    padding-right: 38px !important;
}

/* Intro de bloc (texte d'accueil dans la pub) */
.block-intro {
    background: linear-gradient(135deg, rgba(46,91,255,0.08), rgba(77,166,255,0.04));
    border-left: 4px solid var(--blue-accent);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    color: var(--blue-dark);
    font-weight: 500;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.block-intro i { color: var(--blue-accent); font-size: 1.1rem; }

/* Carte forfait publicitaire */
.package-card {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    color: var(--white);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 28px rgba(46,91,255,0.25);
}
.package-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.05rem;
}
.package-card-head i {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.package-card-body {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}
.package-month-picker { flex: 1; min-width: 180px; }
.package-month-picker label {
    color: rgba(255,255,255,0.85) !important;
    font-size: 0.85rem !important;
    margin-bottom: 6px !important;
}
.package-month-picker select {
    background: rgba(255,255,255,0.15) !important;
    color: var(--white) !important;
    border-color: rgba(255,255,255,0.3) !important;
    font-weight: 600;
}
.package-month-picker select option {
    background: var(--blue-primary);
    color: var(--white);
}
.package-total {
    background: rgba(255,255,255,0.15);
    padding: 12px 20px;
    border-radius: 10px;
    text-align: right;
    min-width: 140px;
}
.package-total span {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.85;
    margin-bottom: 4px;
}
.package-total strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
}

.contact-submit {
    width: 100%;
    justify-content: center;
    margin-top: 12px;
    font-size: 1.05rem !important;
    padding: 16px 24px !important;
    background: linear-gradient(135deg, var(--blue-accent), var(--blue-primary)) !important;
    border-radius: 12px !important;
    transition: all 0.25s ease !important;
}
.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(46, 91, 255, 0.4) !important;
}

@media (max-width: 540px) {
    .section.contact .contact-form { padding: 28px 22px; }
}

/* ─── Schedule modern ─── */
.schedule-day-title {
    position: relative;
    overflow: hidden;
}
.schedule-day-title::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-accent), #4DA6FF);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.schedule-day-col:hover .schedule-day-title::before { transform: none; }

.schedule-card {
    position: relative;
    overflow: hidden;
}
.schedule-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(46,91,255,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.schedule-card:hover::before { opacity: 1; }

/* ─── News cards cliquables ─── */
.news-card[data-billet-id] {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card[data-billet-id]:focus-visible {
    outline: 3px solid var(--blue-accent);
    outline-offset: 4px;
}
.news-read-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--blue-accent);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ─── Modal Actualités ─── */
.billet-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.billet-modal.open { display: flex; animation: modalFadeIn 0.3s ease; }
@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }

.billet-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 11, 46, 0.78);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.billet-modal-card {
    position: relative;
    z-index: 2;
    background: var(--white);
    color: var(--gray-800);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    animation: modalCardIn 0.35s cubic-bezier(.2,.7,.2,1);
}
@keyframes modalCardIn {
    from { transform: translateY(20px) scale(0.96); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.billet-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: var(--blue-dark);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.2s ease;
}
.billet-modal-close:hover {
    background: var(--blue-accent);
    color: var(--white);
    transform: scale(1.08) rotate(90deg);
}

.billet-modal-media {
    flex-shrink: 0;
}
.billet-modal-image {
    width: 100%;
    height: 280px;
    background-size: cover;
    background-position: center;
}
.billet-modal-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-accent));
}
.billet-modal-image--placeholder img {
    height: 70%;
    width: auto;
    opacity: 0.9;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.3));
}
.billet-modal-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    background: var(--blue-dark);
}
.billet-modal-video iframe,
.billet-modal-video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.billet-modal-video--native video {
    background: #000;
    object-fit: contain;
}

.billet-modal-watch-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gray-100);
    color: var(--gray-600);
    padding: 10px 18px;
    font-size: 0.85rem;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
    transition: color 0.2s, background 0.2s;
}
.billet-modal-watch-link:hover {
    color: var(--blue-accent);
    background: var(--white);
}
.billet-modal-watch-link i { font-size: 0.8rem; }

.billet-modal-content {
    padding: 32px 36px 40px;
    overflow-y: auto;
    flex: 1;
}

.billet-modal-content .categorie-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billet-modal-content h2 {
    font-family: 'Urbanist', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--blue-dark);
    margin-bottom: 8px;
    line-height: 1.2;
}

.billet-modal-meta {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.billet-modal-body {
    color: var(--gray-800);
    font-size: 1.02rem;
    line-height: 1.75;
}
.billet-modal-body p { margin-bottom: 14px; }
.billet-modal-body h1,
.billet-modal-body h2,
.billet-modal-body h3 {
    font-family: 'Urbanist', sans-serif;
    color: var(--blue-dark);
    margin: 24px 0 10px;
}
.billet-modal-body a {
    color: var(--blue-accent);
    text-decoration: underline;
}
.billet-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 14px 0;
}
.billet-modal-body ul, .billet-modal-body ol {
    margin: 12px 0 14px 24px;
}
.billet-modal-body blockquote {
    border-left: 4px solid var(--blue-accent);
    padding: 8px 18px;
    background: var(--gray-100);
    color: var(--gray-800);
    margin: 18px 0;
    font-style: italic;
}

@media (max-width: 640px) {
    .billet-modal { padding: 0; }
    .billet-modal-card { max-height: 100vh; border-radius: 0; }
    .billet-modal-content { padding: 24px 20px 30px; }
    .billet-modal-image { height: 200px; }
}

/* ─── News card : zoom doux image ─── */
.news-card { overflow: hidden; }
.news-img {
    transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.news-card:hover .news-img {
    transform: scale(1.06);
}

/* ─── Témoignages : carousel auto-scrolling polish ─── */
.testimonials {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(46,91,255,0.20), transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(77,166,255,0.18), transparent 50%),
        linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
}
.testimonials::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(77,166,255,0.22), transparent 70%);
    top: -250px; right: -250px;
    pointer-events: none;
    animation: testimonialOrb 20s ease-in-out infinite;
}
.testimonials::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(46,91,255,0.18), transparent 70%);
    bottom: -200px; left: -150px;
    pointer-events: none;
    animation: testimonialOrb 25s ease-in-out -10s infinite;
}
@keyframes testimonialOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, -30px) scale(1.1); }
}

.testimonials .section-header {
    position: relative;
    z-index: 2;
}
.testimonials .section-header h2,
.testimonials .section-header p {
    color: var(--white);
}
.testimonials .section-header h2::after {
    background: linear-gradient(90deg, #4DA6FF, rgba(255,255,255,0.5));
}

.testimonials-marquee {
    width: 100%;
    /* On garde overflow visible verticalement (sinon le hover translateY est coupé) */
    overflow-x: hidden;
    overflow-y: visible;
    padding: 30px 0 40px;
    /* Fondu uniquement horizontal */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.testimonials-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 10px 4px;  /* breathing room pour les ombres au hover */
    animation: testimonialsScroll 50s linear infinite;
    will-change: transform;
}

.testimonials-marquee:hover .testimonials-track,
.testimonials-marquee:focus-within .testimonials-track {
    animation-play-state: paused;
}

@keyframes testimonialsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(calc(-100% / var(--repeat, 2))); }
}

.testimonials-track .testimonial {
    flex-shrink: 0;
    width: 380px;
    margin: 0;
    position: relative;
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, background 0.3s ease;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 36px 30px 28px;
    color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
    min-height: 230px;
}

.testimonials-track .testimonial::before {
    content: '\f10d'; /* fa-quote-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 22px;
    left: 30px;
    font-size: 1.6rem;
    color: var(--blue-accent);
    background: rgba(255, 255, 255, 0.95);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(46, 91, 255, 0.35);
}

.testimonials-track .testimonial p {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.02rem;
    line-height: 1.65;
    font-style: italic;
    margin: 50px 0 20px;
    font-weight: 400;
}

.testimonials-track .testimonial cite {
    margin-top: auto;
    color: var(--white);
    font-style: normal;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonials-track .testimonial cite::before {
    content: '';
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue-accent), #4DA6FF);
    box-shadow: 0 4px 12px rgba(46, 91, 255, 0.4);
    flex-shrink: 0;
}

.testimonials-track .testimonial:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28),
                0 0 0 1px rgba(255, 255, 255, 0.25);
}

@media (max-width: 540px) {
    .testimonials-track .testimonial { width: 280px; }
    .testimonials-track { animation-duration: 35s; }
}

/* Respect des préférences d'animation réduite */
@media (prefers-reduced-motion: reduce) {
    .testimonials-track {
        animation: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 24px;
    }
    .testimonials-track .testimonial { scroll-snap-align: start; }
}

/* ─── Newsletter améliorée ─── */
.newsletter {
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    position: relative;
    overflow: hidden;
}
.newsletter::before, .newsletter::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    pointer-events: none;
}
.newsletter::before { top: -200px; left: -200px; }
.newsletter::after  { bottom: -200px; right: -200px; }

/* Boutons sociaux dans la navbar */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--white) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    padding: 0 !important;
}
.nav-socials a:hover {
    background: var(--blue-accent) !important;
    transform: translateY(-2px) scale(1.08);
}
.nav-socials a::after { display: none !important; }

/* ─── Navbar polish ─── */
.navbar {
    transition: all var(--transition);
}
.navbar.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(5, 11, 46, 0.85);
    box-shadow: 0 4px 24px rgba(0,0,0,0.3);
    height: 64px;
}
.nav-menu a {
    position: relative;
}
.nav-menu a:not(.btn-listen)::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 14px; right: 14px;
    height: 2px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s;
}
.nav-menu a:not(.btn-listen):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ─── Burger animé ─── */
.nav-toggle span {
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Footer polish ─── */
.footer-socials a {
    transition: transform 0.25s ease, background 0.25s, color 0.25s;
}
.footer-socials a:hover {
    transform: translateY(-4px) rotate(-5deg);
    background: var(--blue-accent);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .hero { padding: 80px 0 110px; }
    .hero-title { font-size: 2.1rem; }
    .hero-cta-row { flex-direction: column; align-items: stretch; }
    .hero-cta-row .btn { justify-content: center; }
    .section { padding: 60px 0; }
}

/* =========================================================
   🎵 LECTEUR CUSTOM CLIQ FM
   ========================================================= */

.cliq-player {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 6px 4px;
}

.cliq-track-art {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    box-shadow:
      0 10px 32px rgba(0,0,0,0.4),
      inset 0 0 0 1px rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
    display: block;
}
.cliq-track-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: inherit;
}
.cliq-track-art::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.25));
    pointer-events: none;
    border-radius: inherit;
}

.cliq-player-info {
    flex: 1;
    min-width: 0;
}

.cliq-track-meta {
    margin-bottom: 14px;
}
.cliq-track-title {
    color: var(--white);
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cliq-track-artist {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 500;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cliq-player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cliq-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--blue-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 6px 22px rgba(46,91,255,0.45);
    position: relative;
}
.cliq-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 28px rgba(77,166,255,0.6);
    color: var(--blue-accent);
}
.cliq-play-btn:active { transform: scale(0.96); }

.cliq-play-btn.loading {
    background: var(--white);
    color: var(--blue-accent);
    cursor: wait;
}
.cliq-play-btn.loading .fa-spinner { font-size: 1rem; }

.cliq-play-btn.playing {
    background: var(--blue-accent);
    color: var(--white);
    box-shadow: 0 6px 22px rgba(46,91,255,0.6);
}
.cliq-play-btn.playing::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(77,166,255,0.5);
    animation: ringPulse 1.6s infinite;
}
@keyframes ringPulse {
    0%   { transform: scale(0.95); opacity: 1; }
    100% { transform: scale(1.35); opacity: 0; }
}

.cliq-volume-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}
.cliq-volume-wrap i {
    transition: color 0.2s, transform 0.2s;
}
.cliq-volume-wrap i:hover { color: var(--white); transform: scale(1.1); }
.cliq-volume-value {
    min-width: 42px;
    text-align: right;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    font-variant-numeric: tabular-nums;
    font-size: 0.82rem;
}
.cliq-volume-wrap input[type="range"] {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}
.cliq-volume-wrap input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--white);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
    transition: transform 0.2s;
}
.cliq-volume-wrap input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}
.cliq-volume-wrap input[type="range"]::-moz-range-thumb {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =========================================================
   🎶 HISTORIQUE (Recently Played)
   ========================================================= */

.cliq-history-wrap {
    max-width: 720px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
}

.cliq-history {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.hist-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border-radius: 12px;
    background: var(--gray-100);
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.hist-item:hover {
    background: var(--white);
    border-color: var(--blue-accent);
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(10,31,143,0.12);
}

.hist-art {
    width: 52px; height: 52px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: var(--blue-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.hist-art--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
}

.hist-meta {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.hist-meta strong {
    color: var(--blue-dark);
    font-family: 'Urbanist', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hist-meta span {
    color: var(--gray-600);
    font-size: 0.82rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Ligne "Publicités" : style atténué ─── */
.hist-item--ad {
    opacity: 0.6;
    font-style: italic;
}
.hist-item--ad .hist-meta strong { font-style: italic; }

/* ─── Heure (à gauche de la pochette) ─── */
.hist-time {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    color: var(--gray-600);
    font-size: 0.85rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

/* ─── Boutons d'ajout aux bibliothèques (à droite) ─── */
.hist-links {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

.lib-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s ease;
}
.lib-btn--apple   { background: linear-gradient(135deg, #FA5757, #FC3C44); }
.lib-btn--spotify { background: #1DB954; }
.lib-btn:hover {
    transform: translateY(-2px) scale(1.08);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ─── Liens dans le lecteur principal — à droite du titre ─── */
.cliq-track-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.cliq-track-title-row .cliq-track-title {
    flex: 1;
    min-width: 0;
}
.cliq-track-links {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cliq-track-links .lib-btn {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

/* En mobile vertical, les liens repassent sous le titre */
@media (max-width: 520px) {
    .cliq-track-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .cliq-track-links { justify-content: center; }
}

.hist-placeholder {
    text-align: center;
    color: var(--gray-600);
    padding: 40px 20px;
    font-size: 0.95rem;
}
.hist-placeholder i { margin-right: 8px; color: var(--blue-accent); }

/* Player mobile: stack */
@media (max-width: 520px) {
    .cliq-player { flex-direction: column; align-items: stretch; gap: 14px; }
    .cliq-track-art { width: 100%; height: 240px; margin: 0 auto; }
    .cliq-track-title, .cliq-track-artist { text-align: center; }
    .cliq-player-controls { justify-content: center; }
}

/* =========================================================
   ✨ UX FRAMER-STYLE — micro-interactions premium
   ========================================================= */

/* ─── Barre de progression du scroll (top) ─── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 999;
    pointer-events: none;
}
.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--blue-accent), #4DA6FF, var(--white));
    box-shadow: 0 0 10px rgba(46, 91, 255, 0.5);
    transform-origin: left;
    transition: width 0.08s linear;
}

/* ─── Mini-player sticky (apparaît quand on scrolle hors du hero) ─── */
.mini-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(140%);
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 18px 10px 10px;
    background: rgba(5, 11, 46, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
    color: var(--white);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1), opacity 0.3s;
    opacity: 0;
    min-width: 320px;
    max-width: 480px;
}
.mini-player.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.mini-player-play {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--blue-primary);
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(46, 91, 255, 0.4);
    flex-shrink: 0;
}
.mini-player-play:hover { transform: scale(1.08); }
.mini-player-play.playing {
    background: var(--blue-accent);
    color: var(--white);
}
.mini-player-art {
    width: 44px; height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.mini-player-meta {
    flex: 1;
    min-width: 0;
}
.mini-player-title {
    font-weight: 700;
    font-size: 0.92rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mini-player-artist {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.78rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* Equalizer visuel (s'anime quand playing) */
.mini-player-eq {
    display: flex;
    gap: 3px;
    align-items: end;
    height: 18px;
    flex-shrink: 0;
}
.mini-player-eq span {
    width: 3px;
    background: var(--blue-accent);
    border-radius: 2px;
    height: 4px;
    transition: height 0.3s;
}
.mini-player.playing .mini-player-eq span {
    animation: eqBars 0.9s ease-in-out infinite;
}
.mini-player.playing .mini-player-eq span:nth-child(1) { animation-delay: 0s;    }
.mini-player.playing .mini-player-eq span:nth-child(2) { animation-delay: 0.15s; }
.mini-player.playing .mini-player-eq span:nth-child(3) { animation-delay: 0.3s;  }
.mini-player.playing .mini-player-eq span:nth-child(4) { animation-delay: 0.45s; }
@keyframes eqBars {
    0%, 100% { height: 4px; }
    50%      { height: 16px; }
}

@media (max-width: 540px) {
    .mini-player {
        min-width: 0;
        width: calc(100% - 24px);
        left: 12px;
        right: 12px;
        transform: translateY(140%);
        padding: 8px 14px 8px 8px;
        gap: 10px;
    }
    .mini-player.visible { transform: translateY(0); }
}

/* ─── Bouton "Retour en haut" ─── */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 997;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--blue-accent);
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(46, 91, 255, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.85);
    transition: all 0.3s cubic-bezier(.2,.7,.2,1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(46, 91, 255, 0.6);
}
/* Recule si mini-player visible (sur mobile) pour éviter chevauchement */
@media (max-width: 540px) {
    body.mini-player-shown .back-to-top { bottom: 88px; }
}

/* Quand le mini-player est visible, on laisse de l'espace en bas pour que le copyright
   du footer ne soit pas masqué par la barre flottante. */
body.mini-player-shown { padding-bottom: 110px; }
@media (max-width: 540px) {
    body.mini-player-shown { padding-bottom: 90px; }
}

/* ─── Système de notifications "Toast" ─── */
.toast-container {
    position: fixed;
    top: 80px;
    right: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 360px;
    pointer-events: none;
}
.toast {
    background: var(--white);
    color: var(--gray-800);
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
    border-left: 4px solid var(--blue-accent);
    display: flex;
    gap: 12px;
    align-items: start;
    opacity: 0;
    transform: translateX(100%);
    animation: toastIn 0.4s cubic-bezier(.2,.7,.2,1) forwards;
    pointer-events: auto;
}
.toast.toast--success { border-left-color: #1e8c4f; }
.toast.toast--error   { border-left-color: #c0392b; }
.toast.toast--info    { border-left-color: var(--blue-accent); }
.toast-icon {
    flex-shrink: 0;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}
.toast--success .toast-icon { background: #1e8c4f; }
.toast--error   .toast-icon { background: #c0392b; }
.toast--info    .toast-icon { background: var(--blue-accent); }
.toast-body { flex: 1; }
.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-dark);
    margin-bottom: 2px;
}
.toast-message {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.5;
}
.toast-close {
    background: none;
    border: none;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0;
    font-size: 1.1rem;
    line-height: 1;
}
.toast.toast--hiding {
    animation: toastOut 0.3s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes toastIn {
    from { opacity: 0; transform: translateX(120%); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
    from { opacity: 1; transform: translateX(0); }
    to   { opacity: 0; transform: translateX(120%); }
}
@media (max-width: 540px) {
    .toast-container { left: 12px; right: 12px; max-width: none; top: 70px; }
}

/* ─── Skeleton loaders (effet de chargement) ─── */
.hist-skeleton .hist-art,
.hist-skeleton .skel-line {
    background: linear-gradient(
        90deg,
        var(--gray-100) 0%,
        var(--gray-200) 50%,
        var(--gray-100) 100%
    );
    background-size: 200% 100%;
    border-radius: 8px;
}
.skel-anim { animation: skelShimmer 1.4s ease-in-out infinite; }
@keyframes skelShimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skel-line {
    display: block;
    height: 12px;
    width: 70%;
}
.skel-line--lg { height: 16px; width: 90%; margin-bottom: 8px; }

/* ─── Navigation : section active mise en évidence ─── */
.nav-menu a.is-active {
    color: var(--white) !important;
    background: rgba(46, 91, 255, 0.25);
    border-radius: 50px;
    box-shadow: 0 0 12px rgba(46, 91, 255, 0.2);
}

/* ─── Effet "magnétique" sur boutons primaires ─── */
.btn-primary, .btn-glow, .cliq-play-btn {
    will-change: transform;
}

/* =========================================================
   📱 PWA Install Popup
   ========================================================= */
.pwa-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(5, 11, 46, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.pwa-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.pwa-card {
    background: var(--white);
    border-radius: 22px;
    max-width: 440px;
    width: 100%;
    padding: 32px 28px 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5);
    position: relative;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(.2,.7,.2,1);
}
.pwa-overlay.open .pwa-card { transform: scale(1); }
.pwa-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--gray-100);
    color: var(--blue-dark);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.pwa-close:hover {
    background: var(--blue-accent);
    color: var(--white);
    transform: rotate(90deg);
}
.pwa-logo {
    width: 80px; height: 80px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(46,91,255,0.4);
}
.pwa-logo img { width: 50%; height: auto; }
.pwa-card h3 {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.4rem;
    color: var(--blue-dark);
    text-align: center;
    margin-bottom: 8px;
    font-weight: 700;
}
.pwa-intro {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.pwa-steps {
    background: var(--gray-100);
    border-radius: 12px;
    padding: 16px 18px 16px 38px;
    margin: 0 0 20px;
    color: var(--gray-800);
}
.pwa-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.92rem;
}
.pwa-steps li:last-child { margin-bottom: 0; }
.pwa-steps strong { color: var(--blue-accent); }
.pwa-steps i { color: var(--blue-accent); margin: 0 2px; }
.pwa-help {
    text-align: center;
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 16px;
}
.pwa-fallback {
    margin-top: 12px;
    border-top: 1px solid var(--gray-200);
    padding-top: 12px;
}
.pwa-fallback summary {
    cursor: pointer;
    color: var(--blue-accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.pwa-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.pwa-actions .btn {
    flex: 1;
    min-width: 130px;
    justify-content: center;
}
.pwa-actions .btn-ghost-light {
    background: var(--gray-100);
    color: var(--gray-600);
    border-color: var(--gray-200);
}
.pwa-actions .btn-ghost-light:hover {
    background: var(--gray-200);
    color: var(--blue-dark);
}

/* =========================================================
   📱 Optimisations mobile spécifiques
   ========================================================= */
@media (max-width: 768px) {
    /* Hero plus compact */
    .hero { padding: 70px 0 100px; }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 16px;
    }
    .hero-title { font-size: clamp(1.9rem, 7vw, 2.4rem) !important; }
    .hero-subtitle { font-size: 1rem; }
    .hero-cta-row .btn { width: 100%; }

    /* Player */
    .glass-card { padding: 14px !important; }
    .cliq-player { gap: 14px; }
    .cliq-track-art { width: 110px !important; height: 110px !important; }

    /* Navbar */
    .nav-container { height: 64px; padding: 0 14px; position: relative; }
    .logo-img { height: 36px; }
    .nav-toggle {
        display: flex !important;
        position: relative;
        z-index: 1001;
    }
    .nav-menu {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: var(--blue-dark) !important;
        flex-direction: column !important;
        padding: 24px 16px !important;
        gap: 6px !important;
        transform: translateX(100%);
        transition: transform 0.3s ease !important;
        overflow-y: auto;
        z-index: 1000;
        height: calc(100vh - 64px);
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu li { width: 100%; }
    .nav-menu a {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 14px 18px !important;
        font-size: 1.05rem !important;
        background: transparent !important;
        border-radius: 10px;
    }
    .nav-menu a:hover, .nav-menu a.is-active {
        background: rgba(46,91,255,0.18) !important;
    }
    /* Bouton "Écouter en direct" en évidence dans le menu mobile */
    .nav-menu .btn-listen {
        background: var(--blue-accent) !important;
        margin-top: 12px;
        justify-content: center;
    }
    /* Réseaux sociaux en ligne horizontale dans le menu mobile */
    .nav-socials {
        justify-content: center;
        gap: 14px;
        margin: 16px 0;
        padding: 12px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-socials a {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.05rem;
    }

    /* Sections plus serrées */
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.6rem; }
    .container { padding: 0 16px; }

    /* Programmation */
    .schedule-week { grid-template-columns: 1fr; gap: 14px; }

    /* Modal */
    .billet-modal-card { max-width: 100%; }

    /* Mini-player ajusté */
    .mini-player {
        bottom: 12px;
        max-width: calc(100vw - 24px);
        font-size: 0.85rem;
    }
    .mini-player-art { width: 38px; height: 38px; }

    /* Boutons de retour en haut */
    .back-to-top {
        bottom: 76px !important;
        right: 14px;
    }

    /* Carrousel news : améliorer le swipe tactile */
    .news-track {
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
        scroll-snap-stop: always;
    }
    .news-track .news-card {
        scroll-snap-align: center;
    }
}

/* Affiche le bouton burger sur tablette aussi (≤ 1024px) si menu débordant */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-menu:not(.active) {
        transform: translateX(100%);
    }
}

/* Très petits écrans (iPhone SE etc.) */
@media (max-width: 380px) {
    .hero-title { font-size: 1.7rem !important; }
    .pwa-card { padding: 24px 18px 20px; }
    .pwa-card h3 { font-size: 1.15rem; }
}

/* Mode standalone (PWA installée) */
@media (display-mode: standalone) {
    .pwa-overlay { display: none !important; }
}

/* ─── Reduced motion (accessibilité) ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .hero-video {
        /* On garde la vidéo mais figée à la 1re frame */
        animation: none;
    }
}
