/* ==========================================================
   ENJOYSTATION — DESIGN INSPIRÉ VIRGIN RADIO
   Palette : #111 (dark), #e6002d (red), #fff (white)
   ========================================================== */

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

:root {
    --red:      #e6002d;
    --red-dark: #b5001f;
    --dark:     #111111;
    --dark2:    #1a1a1a;
    --dark3:    #222222;
    --mid:      #2d2d2d;
    --border:   #2a2a2a;
    --white:    #ffffff;
    --grey:     #aaaaaa;
    --light-bg: #f4f4f4;
    --nav-h:    58px;
    --topbar-h: 36px;
    --player-h: 72px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: var(--dark);
    color: var(--white);
    padding-top: calc(var(--topbar-h) + var(--nav-h));
    padding-bottom: var(--player-h);
}

a { color: var(--white); text-decoration: none; transition: color .2s; }
a:hover { color: var(--red); }

img { max-width: 100%; }

/* ==========================================================
   TOPBAR
   ========================================================== */
.topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-h);
    background: var(--dark2);
    border-bottom: 1px solid var(--border);
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    font-size: .75rem;
    letter-spacing: .5px;
}
.topbar__left {
    display: flex;
    align-items: center;
    gap: .8rem;
    overflow: hidden;
    white-space: nowrap;
}
.topbar__on-air {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--red);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: .7rem;
    text-transform: uppercase;
    flex-shrink: 0;
}
.topbar__on-air-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: blink 1.4s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }
.topbar__now {
    color: var(--grey);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 400px;
}
.topbar__social { display: flex; align-items: center; gap: .9rem; }
.topbar__social a { color: var(--grey); font-size: .85rem; transition: color .2s; }
.topbar__social a:hover { color: var(--red); }

/* ==========================================================
   NAVIGATION PRINCIPALE
   ========================================================== */
.main-nav {
    position: fixed;
    top: var(--topbar-h);
    left: 0; right: 0;
    height: var(--nav-h);
    background: var(--dark);
    border-bottom: 2px solid var(--red);
    z-index: 1100;
    box-shadow: 0 2px 16px rgba(0,0,0,.5);
}
.main-nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
}
.main-nav__logo {
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    flex-shrink: 0;
}
.main-nav__logo:hover { color: var(--red); }
.main-nav__logo-icon {
    width: 30px; height: 30px;
    background: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
}
.main-nav__logo-text { color: inherit; }

.main-nav__links {
    display: flex;
    list-style: none;
    gap: .15rem;
    margin: 0 auto 0 2rem;
    padding: 0;
}
.main-nav__link {
    display: block;
    padding: .55rem .9rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey);
    border-radius: 3px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.main-nav__link:hover,
.main-nav__link.active { color: var(--white); background: rgba(255,255,255,.06); }
.main-nav__link.active { color: var(--red); }

.main-nav__cta {
    margin-left: auto;
    flex-shrink: 0;
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .5rem 1.2rem;
    border-radius: 3px;
    transition: background .2s, transform .15s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .4rem;
}
.main-nav__cta:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }

/* Burger (mobile) */
.main-nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
    margin-left: auto;
    order: 3;
}
.main-nav__burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.main-nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.main-nav__burger.is-open span:nth-child(2) { opacity: 0; }
.main-nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   CONTENU PRINCIPAL
   ========================================================== */
.site-main { min-height: 70vh; }

/* Section header style Virgin Radio */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem 0 1rem;
    border-bottom: 2px solid var(--red);
    margin-bottom: 1.4rem;
}
.section-header__title {
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
}
.section-header__title i { color: var(--red); margin-right: .5rem; }
.section-header__link {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    border: 1px solid var(--red);
    padding: .3rem .8rem;
    border-radius: 2px;
    transition: background .2s, color .2s;
}
.section-header__link:hover { background: var(--red); color: var(--white); }

/* Container principal */
.page-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* ==========================================================
   HERO — PAGE ACCUEIL
   ========================================================== */
.hero {
    background: var(--dark2);
    border-bottom: 3px solid var(--red);
    padding: 3.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(230,0,45,.18) 0%, transparent 70%);
    pointer-events: none;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}
.hero__eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    animation: blink 1.4s infinite;
}
.hero__title {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: .6rem;
    line-height: 1.05;
}
.hero__title span { color: var(--red); }
.hero__sub {
    font-size: 1rem;
    color: var(--grey);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-red {
    background: var(--red);
    color: var(--white);
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    padding: .75rem 1.8rem;
    border-radius: 3px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-red:hover { background: var(--red-dark); color: var(--white); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.3);
    padding: .75rem 1.8rem;
    border-radius: 3px;
    cursor: pointer;
    transition: border-color .2s, color .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }

/* ==========================================================
   GRILLE D'ARTICLES — STYLE NEWS VIRGIN RADIO
   ========================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.2rem;
}
.news-card {
    background: var(--dark2);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: var(--white);
    border: 1px solid var(--border);
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.5);
    color: var(--white);
}
.news-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--mid);
}
.news-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.news-card:hover .news-card__img-wrap img { transform: scale(1.04); }
.news-card__category {
    position: absolute;
    top: .7rem; left: .7rem;
    background: var(--red);
    color: var(--white);
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: .22rem .6rem;
    border-radius: 2px;
}
.news-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.news-card__title {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .5rem;
    color: var(--white);
}
.news-card:hover .news-card__title { color: var(--red); }
.news-card__excerpt {
    font-size: .8rem;
    color: var(--grey);
    line-height: 1.5;
    flex: 1;
}
.news-card__footer {
    padding: .6rem 1rem .8rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: .7rem;
    color: var(--grey);
}
.news-card__read { color: var(--red); font-weight: 700; letter-spacing: 1px; }
.news-card:hover .news-card__read { text-decoration: underline; }

/* Article large (mise en avant) */
.news-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
}
.news-card--featured .news-card__img-wrap {
    flex: 0 0 45%;
    aspect-ratio: unset;
    min-height: 220px;
}
.news-card--featured .news-card__body { padding: 1.5rem; }
.news-card--featured .news-card__title { font-size: 1.3rem; }

/* ==========================================================
   PAGE HISTORIQUE — TITRES DIFFUSÉS
   ========================================================== */
.tracklist { list-style: none; padding: 0; margin: 0; }
.tracklist__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--border);
    transition: background .15s;
}
.tracklist__item:hover { background: var(--dark2); }
.tracklist__time {
    font-size: .75rem;
    color: var(--grey);
    min-width: 48px;
    text-align: right;
    flex-shrink: 0;
}
.tracklist__cover {
    width: 44px; height: 44px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid var(--border);
    flex-shrink: 0;
    background: var(--mid);
}
.tracklist__info { flex: 1; min-width: 0; }
.tracklist__title {
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--white);
}
.tracklist__artist {
    font-size: .78rem;
    color: var(--grey);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tracklist__num {
    font-size: .7rem;
    color: var(--mid);
    min-width: 24px;
    text-align: right;
    flex-shrink: 0;
}

/* ==========================================================
   PAGE CONTACT
   ========================================================== */
.contact-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--dark2);
    border-radius: 8px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}
.contact-form-wrap h2 { font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin-bottom: .3rem; }
.contact-form-wrap .subtitle { color: var(--grey); font-size: .85rem; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: .4rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--dark3);
    border: 1px solid var(--border);
    color: var(--white);
    border-radius: 4px;
    padding: .65rem .9rem;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* Validation Bootstrap overrides */
.form-control {
    background: var(--dark3) !important;
    border: 1px solid var(--border) !important;
    color: var(--white) !important;
    border-radius: 4px;
}
.form-control:focus { border-color: var(--red) !important; box-shadow: 0 0 0 2px rgba(230,0,45,.25) !important; }
.form-label { color: var(--grey); font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.invalid-feedback { font-size: .75rem; }

/* ==========================================================
   PAGES LÉGALES / MENTIONS
   ========================================================== */
.legal-page {
    max-width: 820px;
    margin: 0 auto;
    padding: 2rem 0 4rem;
}
.legal-page h1 {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--white);
}
.legal-page h1::after {
    content: '';
    display: block;
    width: 48px; height: 3px;
    background: var(--red);
    margin-top: .5rem;
}
.legal-page h2 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin: 1.5rem 0 .6rem; color: var(--red); }
.legal-page p, .legal-page li { color: var(--grey); line-height: 1.7; font-size: .9rem; }
.legal-page a { color: var(--red); }
.legal-page a:hover { text-decoration: underline; }

/* ==========================================================
   PLAYER BAR (STICKY BOTTOM)
   ========================================================== */
.player-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    height: var(--player-h);
    z-index: 1050;
    background: var(--dark2);
    border-top: 2px solid var(--red);
    box-shadow: 0 -4px 24px rgba(0,0,0,.6);
}
.player-bar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    height: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.player-bar__cover-wrap { position: relative; flex-shrink: 0; }
.player-bar__cover {
    width: 46px; height: 46px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
    transition: border-radius .4s;
}
.player-bar__live-badge {
    position: absolute;
    top: -6px; left: -6px;
    background: var(--red);
    color: var(--white);
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 2px 4px;
    border-radius: 3px;
    text-transform: uppercase;
    animation: blink 1.6s infinite;
}
.player-bar__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.player-bar__station {
    color: var(--red);
    font-size: .58rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}
.player-bar__title {
    color: var(--white);
    font-size: .9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(320px, 35vw);
}

/* Visualizer */
.player-bar__viz {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 22px;
    opacity: 0;
    transition: opacity .4s;
    flex-shrink: 0;
}
.player-bar__viz.is-active { opacity: 1; }
.player-bar__viz-bar {
    display: block;
    width: 4px; height: 4px;
    background: var(--red);
    border-radius: 2px;
}
.player-bar__viz.is-active .player-bar__viz-bar { animation: vizBar .8s ease-in-out infinite alternate; }
.player-bar__viz.is-active .player-bar__viz-bar:nth-child(1) { animation-duration: .7s; }
.player-bar__viz.is-active .player-bar__viz-bar:nth-child(2) { animation-delay: .12s; animation-duration: .9s; }
.player-bar__viz.is-active .player-bar__viz-bar:nth-child(3) { animation-delay: .22s; animation-duration: .6s; }
.player-bar__viz.is-active .player-bar__viz-bar:nth-child(4) { animation-delay: .06s; animation-duration: 1.05s; }
.player-bar__viz.is-active .player-bar__viz-bar:nth-child(5) { animation-delay: .18s; animation-duration: .75s; }
@keyframes vizBar { 0%{height:4px} 100%{height:20px} }

/* Contrôles */
.player-bar__controls { flex-shrink: 0; }
.player-bar__btn {
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background .2s, color .2s, transform .15s;
}
.player-bar__btn--play {
    width: 44px; height: 44px;
    background: var(--red);
    color: var(--white);
    font-size: 1rem;
    box-shadow: 0 2px 16px rgba(230,0,45,.45);
}
.player-bar__btn--play:hover { background: var(--red-dark); transform: scale(1.08); }
.player-bar__btn--mute {
    width: 28px; height: 28px;
    color: var(--grey);
    font-size: .85rem;
}
.player-bar__btn--mute:hover { color: var(--red); }

/* Volume */
.player-bar__volume { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.player-bar__volume-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 80px; height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,.15);
    outline: none;
    cursor: pointer;
}
.player-bar__volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--red);
    cursor: pointer;
}
.player-bar__volume-slider::-moz-range-thumb {
    width: 13px; height: 13px;
    border-radius: 50%;
    background: var(--red);
    border: none;
    cursor: pointer;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
    background: var(--dark2);
    border-top: 2px solid var(--border);
    padding: 3rem 1.5rem 0;
}
.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2.5rem;
}
.site-footer__brand {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: .8rem;
}
.site-footer__brand-icon {
    width: 26px; height: 26px;
    background: var(--red);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .7rem;
    flex-shrink: 0;
}
.site-footer__tagline { color: var(--grey); font-size: .8rem; line-height: 1.5; margin-bottom: 1.2rem; }
.site-footer__social { display: flex; gap: .8rem; }
.site-footer__social a {
    width: 32px; height: 32px;
    background: var(--mid);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--grey);
    font-size: .8rem;
    transition: background .2s, color .2s;
}
.site-footer__social a:hover { background: var(--red); color: var(--white); }
.site-footer__heading {
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col ul li { margin-bottom: .55rem; }
.site-footer__col ul li a, .site-footer__col ul li { font-size: .82rem; color: var(--grey); transition: color .2s; }
.site-footer__col ul li a:hover { color: var(--red); }
.site-footer__bottom {
    max-width: 1280px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    font-size: .72rem;
    color: var(--grey);
    text-align: center;
}
.site-footer__bottom a { color: var(--grey); margin: 0 .3rem; }
.site-footer__bottom a:hover { color: var(--red); }

/* ==========================================================
   CARDS GÉNÉRIQUES (ex. admin, etc.)
   ========================================================== */
.card-dark {
    background: var(--dark2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.5rem;
    color: var(--white);
}

/* ==========================================================
   UTILITAIRES
   ========================================================== */
.text-red { color: var(--red) !important; }
.text-grey { color: var(--grey) !important; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.badge-red {
    background: var(--red);
    color: var(--white);
    font-size: .6rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: .2rem .55rem;
    border-radius: 2px;
}
.alert-info { background: rgba(230,0,45,.08); border: 1px solid rgba(230,0,45,.2); color: var(--grey); border-radius: 4px; padding: .8rem 1rem; font-size: .85rem; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* --- Tablette paysage / petit desktop (≤ 1024px) --- */
@media (max-width: 1024px) {
    .main-nav__inner { gap: .5rem; }
    .main-nav__links { gap: 0; margin-left: 1rem; }
    .main-nav__link { padding: .55rem .65rem; font-size: .68rem; }
    .news-card--featured .news-card__img-wrap { flex: 0 0 38%; }
}

/* --- Tablette portrait / paysage (≤ 900px) --- */
@media (max-width: 900px) {
    .site-footer__inner { grid-template-columns: 1fr 1fr; }
    .news-card--featured { flex-direction: column; }
    .news-card--featured .news-card__img-wrap { flex: unset; min-height: 180px; }
    .page-wrapper { padding: 0 1rem 2.5rem; }
}

/* --- Mobile large / tablette portrait (≤ 768px) --- */
@media (max-width: 768px) {
    :root { --topbar-h: 32px; --nav-h: 52px; --player-h: 64px; }

    /* Topbar */
    .topbar { padding: 0 .9rem; }
    .topbar__social { display: none; }
    .topbar__now { max-width: 55vw; font-size: .68rem; }

    /* Nav burger */
    .main-nav__links {
        display: none;
        position: fixed;
        top: calc(var(--topbar-h) + var(--nav-h));
        left: 0; right: 0;
        background: var(--dark);
        border-bottom: 2px solid var(--red);
        flex-direction: column;
        padding: .5rem 0;
        gap: 0;
        margin: 0;
        z-index: 1099;
        box-shadow: 0 8px 24px rgba(0,0,0,.5);
    }
    .main-nav__links.is-open { display: flex; }
    .main-nav__link {
        padding: .85rem 1.5rem;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        font-size: .8rem;
    }
    .main-nav__burger { display: flex; }
    .main-nav__cta { display: none; }

    /* Player bar */
    .player-bar__viz,
    .player-bar__volume { display: none; }
    .player-bar__inner { gap: .75rem; padding: 0 .9rem; }
    .player-bar__cover { width: 40px; height: 40px; }
    .player-bar__title { font-size: .82rem; }
    .player-bar__btn--play { width: 38px; height: 38px; font-size: .9rem; }

    /* Hero */
    .hero { padding: 2.5rem 1rem; }
    .hero__title { letter-spacing: 0; }
    .hero__sub { font-size: .9rem; }

    /* Section header */
    .section-header { flex-wrap: wrap; gap: .5rem; padding: 1.2rem 0 .8rem; }

    /* Page wrapper */
    .page-wrapper { padding: 0 .9rem 2rem; }

    /* Tracklist */
    .tracklist__cover { width: 38px; height: 38px; }
    .tracklist__item { gap: .7rem; padding: .65rem .5rem; }
    .tracklist__title { font-size: .82rem; }
    .tracklist__artist { font-size: .72rem; }

    /* Footer */
    .site-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .site-footer { padding: 2rem 1rem 0; }

    /* Contact */
    .contact-form-wrap { padding: 1.8rem 1.2rem; }

    /* Article detail */
    .legal-page { padding: 1.5rem 0 3rem; }
}

/* --- Mobile (≤ 480px) --- */
@media (max-width: 480px) {
    :root { --player-h: 60px; }

    /* Topbar : cacher le titre ON AIR, juste le dot + label */
    .topbar__now { max-width: 42vw; font-size: .65rem; }

    /* News */
    .news-grid { grid-template-columns: 1fr; }
    .news-card--featured .news-card__body { padding: 1rem; }

    /* Player bar : station label masquée pour gagner de la place */
    .player-bar__station { display: none; }
    .player-bar__title { font-size: .78rem; }
    .player-bar__cover { width: 36px; height: 36px; }
    .player-bar__btn--play { width: 34px; height: 34px; font-size: .82rem; }
    .player-bar__inner { gap: .5rem; padding: 0 .7rem; }

    /* Hero */
    .hero__actions { flex-direction: column; align-items: center; }
    .btn-red, .btn-outline { width: 100%; max-width: 320px; justify-content: center; }

    /* Tracklist */
    .tracklist__num { display: none; }
    .tracklist__cover { width: 34px; height: 34px; }
    .tracklist__item { gap: .55rem; padding: .6rem .4rem; }

    /* Contact */
    .contact-form-wrap { padding: 1.2rem .9rem; margin: 0; border-radius: 4px; }

    /* Section header */
    .section-header__link { padding: .25rem .55rem; font-size: .65rem; }

    /* Page wrapper */
    .page-wrapper { padding: 0 .6rem 1.5rem; }
}

/* --- Très petits écrans (≤ 360px) --- */
@media (max-width: 360px) {
    .main-nav__logo-text { font-size: 1.1rem; letter-spacing: .5px; }
    .hero__title { font-size: 1.8rem; }
    .tracklist__time { display: none; }
}

/* --- iOS safe-area (encoche / Dynamic Island) --- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .player-bar {
        padding-bottom: env(safe-area-inset-bottom);
        height: calc(var(--player-h) + env(safe-area-inset-bottom));
    }
    body {
        padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
    }
}
