/* ===== Mazal Groove Radio : pages radio.html, radio-hd.html, radio-mobile.html ===== */
.radio-wrap { max-width: 980px; margin: -5rem auto 4rem; padding: 0 16px; position: relative; z-index: 2; }

/* Carte "a l'antenne" */
.radio-now {
    display: flex; align-items: center; gap: 1.2rem;
    background: var(--verre); border: 1px solid var(--verre-bord); border-radius: 22px;
    padding: 1rem 1.2rem; margin-bottom: 2rem; backdrop-filter: blur(10px);
}
.radio-now img { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex-shrink: 0; background: #1e0b45; }
.radio-now .infos { min-width: 0; flex: 1; }
.radio-now .label { font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cyan); }
.radio-now .titre { font-family: var(--font-heading); font-size: 1.25rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-now .artiste { color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.radio-now .auditeurs { font-size: .85rem; color: #c9b2ff; white-space: nowrap; }

.badge-live {
    display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .6rem; border-radius: 20px;
    background: rgba(255, 62, 165, .18); color: #ff8fca; font-size: .75rem; font-weight: 600; margin-left: .4rem;
}
.badge-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); animation: pulse-live 1.4s infinite; }
@keyframes pulse-live { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* Les deux choix */
.radio-choix { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.radio-carte {
    display: flex; flex-direction: column; gap: .8rem; text-decoration: none; color: var(--text-color);
    background: var(--verre); border: 1px solid var(--verre-bord); border-radius: 24px; padding: 2rem 1.6rem;
    transition: transform .25s, box-shadow .25s, border-color .25s; position: relative;
}
.radio-carte:hover, .radio-carte:focus-visible { transform: translateY(-6px); border-color: rgba(255, 62, 165, .55); box-shadow: 0 18px 50px rgba(155, 92, 255, .35); }
.radio-carte .icone { font-size: 2.4rem; background: var(--gradient-neon); -webkit-background-clip: text; background-clip: text; color: transparent; }
.radio-carte h2 { font-family: var(--font-heading); font-weight: 400; color: #fff; font-size: 1.6rem; margin: 0; }
.radio-carte .debit { font-size: 2.2rem; font-weight: 700; color: #fff; }
.radio-carte .debit small { font-size: 1rem; font-weight: 400; color: var(--text-color); }
.radio-carte ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.radio-carte li i { color: var(--cyan); width: 1.3rem; }
.radio-carte .go {
    margin-top: auto; align-self: flex-start; padding: .75rem 1.6rem; border-radius: 30px;
    background: var(--gradient-accent); color: #fff; font-weight: 600;
}
.radio-carte.conseille { border-color: rgba(34, 211, 238, .6); }
.radio-carte .reco {
    position: absolute; top: -12px; right: 18px; padding: .2rem .8rem; border-radius: 20px;
    background: var(--cyan); color: #0a0618; font-size: .8rem; font-weight: 700; display: none;
}
.radio-carte.conseille .reco { display: inline-block; }
.radio-note { text-align: center; margin-top: 2rem; font-size: .9rem; color: #b9b1d9; }
.radio-note a { color: var(--cyan); }

/* Lecteur */
.lecteur {
    background: var(--verre); border: 1px solid var(--verre-bord); border-radius: 28px;
    padding: 2rem 1.5rem; text-align: center; backdrop-filter: blur(10px);
}
.lecteur .pochette {
    width: min(320px, 80vw); aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #1e0b45;
    filter: drop-shadow(0 0 30px rgba(155, 92, 255, .5));
}
.lecteur .titre { font-family: var(--font-heading); font-size: 1.6rem; color: #fff; margin: 1.2rem 0 .2rem; }
.lecteur .artiste { color: var(--text-color); font-size: 1.1rem; }
.lecteur .qualite { display: inline-block; margin-top: .8rem; padding: .2rem .8rem; border-radius: 20px; background: rgba(34, 211, 238, .15); color: var(--cyan); font-size: .85rem; }
.btn-play {
    width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer; margin: 1.6rem auto 1rem;
    display: flex; align-items: center; justify-content: center; font-size: 2.2rem; color: #fff;
    background: var(--gradient-accent); box-shadow: 0 12px 40px rgba(255, 62, 165, .45); transition: transform .2s;
}
.btn-play:hover { transform: scale(1.06); }
.btn-play:active { transform: scale(.96); }
.lecteur .etat { min-height: 1.5em; color: #c9b2ff; font-size: .95rem; }
.lecteur .volume { display: flex; align-items: center; justify-content: center; gap: .8rem; margin-top: 1rem; color: var(--text-color); }
.lecteur .volume input { width: min(260px, 60vw); accent-color: var(--magenta); }
.lecteur .suivant { margin-top: 1.4rem; font-size: .9rem; color: #b9b1d9; }
.lecteur .suivant strong { color: #fff; font-weight: 500; }
.lecteur-liens { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }
.lecteur-liens a {
    padding: .6rem 1.2rem; border-radius: 30px; border: 1px solid var(--verre-bord); color: #fff; text-decoration: none; font-size: .9rem;
}
.lecteur-liens a:hover { border-color: var(--cyan); color: var(--cyan); }

@media (max-width: 600px) {
    .radio-wrap { margin-top: -4rem; }
    .radio-now { flex-wrap: wrap; }
    .radio-now .auditeurs { width: 100%; }
}
.badge-live[hidden] { display: none !important; }
.hero .baseline {
    display: inline-block; margin-bottom: .4rem; font-size: 1.35em; font-weight: 600;
    background: linear-gradient(90deg, #ff3ea5, #c084fc 55%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ----- Affiches et baseline (v3) ----- */
.hero h1.h1-baseline { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.15; }
.hero h1.h1-baseline .baseline-2 {
    background: linear-gradient(90deg, #ff3ea5, #c084fc 55%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.affiche {
    display: block; width: min(520px, 100%); height: auto; aspect-ratio: 1; margin: 0 auto 1.5rem;
    border-radius: 26px; border: 1px solid var(--verre-bord);
    box-shadow: 0 0 40px rgba(155, 92, 255, .45), 0 0 90px rgba(255, 62, 165, .2);
}
.affiche-accueil { margin-bottom: 2rem; }
.lecteur .morceau {
    display: flex; align-items: center; gap: 1rem; text-align: left;
    max-width: 520px; margin: 0 auto; padding: .8rem 1rem; border-radius: 18px;
    background: rgba(255, 255, 255, .04); border: 1px solid var(--verre-bord);
}
.lecteur .mini-pochette { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: #1e0b45; }
.lecteur .morceau-infos { min-width: 0; }
.lecteur .morceau .label { font-size: .75rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cyan); }
.lecteur .morceau .titre { font-size: 1.25rem; margin: .1rem 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lecteur .morceau .artiste { font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----- Espacements reduits du haut de page (v5) ----- */
.hero.hero-radio { padding-top: 1rem; padding-bottom: 2.9rem; margin-bottom: 0; }
.hero.hero-radio .hero-content p { margin-top: .5rem; margin-bottom: 0; }
.hero.hero-radio .mg-onde { height: 46px; }
.hero.hero-radio .mg-eq { height: 36px; }
.hero.hero-radio + .radio-wrap { margin-top: .4rem; }
@media (max-width: 600px) {
    .hero.hero-radio { padding-top: .8rem; padding-bottom: 2.6rem; }
    .hero.hero-radio + .radio-wrap { margin-top: .3rem; }
}
/* bouton qui pulse quand le navigateur attend un premier geste */
.btn-play.btn-play-attente { animation: pulse-play 1.2s ease-in-out infinite; }
@keyframes pulse-play { 0%,100% { transform: scale(1); box-shadow: 0 12px 40px rgba(255,62,165,.45); } 50% { transform: scale(1.1); box-shadow: 0 0 0 14px rgba(255,62,165,.18), 0 12px 50px rgba(255,62,165,.7); } }
/* voile plein ecran quand le navigateur bloque le son automatique */
.mg-voile-play {
    position: fixed; inset: 0; z-index: 9999; cursor: pointer;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
    background: rgba(10, 6, 24, .72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    color: #fff; text-align: center; font-family: var(--font-primary);
}
.mg-voile-rond {
    width: 140px; height: 140px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 3.4rem; padding-left: 10px; background: var(--gradient-accent);
    box-shadow: 0 0 0 12px rgba(255,62,165,.18), 0 20px 70px rgba(255,62,165,.6);
    animation: pulse-play 1.2s ease-in-out infinite;
}
.mg-voile-texte { font-size: 1.3rem; line-height: 1.5; }
.mg-voile-texte strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem;
    background: linear-gradient(90deg, #ff3ea5, #c084fc 55%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
