/*
 * Nouveau design (maquettes Claude Design « Sunset Liner Notes », « Golden Hour », « La Station »…).
 * Feuille commune chargée par le layout APRÈS main.css : en-tête mobile, menu, pied de page,
 * lecteur global, bandeau cookies, fenêtre d'installation, boutons et vinyles.
 * En-tête ordinateur (> 1200 px) : bandeau photo + barre blanche réorganisée (`.barre-*`).
 */
:root {
  --nuit: #143052; --nuit-2: #0E2440; --bleu: #27558D; --orange: #CD8131; --orange-fonce: #9A5512;
  --peche: #FBAB7E; --soleil: #F7CE68; --encre: #1B2430; --gris: #5A6472; --creme: #FFF8EE; --sable: #FDF0DC;
  --degrade-soleil: linear-gradient(180deg, #F7CE68 0%, #FBAB7E 62%, #EE8A57 100%);
  --degrade-nuit: linear-gradient(170deg, #0E2440 0%, #143052 55%, #27558D 100%);
  --ombre: 0 12px 30px rgba(20, 48, 82, .12);
  --ombre-forte: 0 24px 60px rgba(20, 48, 82, .22);
}

/* Sous la page (page plus courte que l'écran, rebond du défilement) : la couleur du pied de page, jamais un vide */
html { background: var(--nuit); }
/* Fond du site : le lagon, sur toutes les tailles d'écran */
body { background: #EAF4F6 url(/v2/polynesia.jpg) center top / 100% auto fixed; }
@media (max-width: 1200px) { body { background: #EAF4F6 url(/v2/polynesia.jpg) center top / auto 1100px repeat-y scroll; } }
@media (max-width: 600px) { body { background-size: auto 900px; } }

.v2, .v2 * { box-sizing: border-box; }
.v2 { font-family: Roboto, Arial, sans-serif; color: var(--encre); }
:where(.v2) a { color: var(--bleu); }
:where(.v2) :where(h1, h2, h3) { font-family: 'Poiret One', cursive; color: var(--nuit); }
:where(.v2-page) { max-width: 1440px; margin: 0 auto; padding: 0 40px 72px; }
@media (max-width: 1200px) { :where(.v2-page) { padding: 0 24px 56px; } }
@media (max-width: 600px) { :where(.v2-page) { padding: 0 12px 40px; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.surtitre { font-family: Roboto, Arial, sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-fonce); }
.pastille { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--nuit); color: #fff; font: 700 12px/1 Roboto, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.carte-blanche { background: rgba(255, 255, 255, .93); border-radius: 22px; box-shadow: var(--ombre); }
.titre-section { margin: 0; font-family: 'Poiret One', cursive; font-weight: 400; font-size: clamp(30px, 4vw, 52px); color: var(--nuit); text-shadow: 0 2px 0 rgba(255, 255, 255, .8); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; cursor: pointer; font: 700 15px Roboto, Arial, sans-serif; text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .v2 button:focus-visible, .v2 a:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; }
.btn-nuit { background: var(--nuit); color: #fff !important; }
.btn-soleil { background: var(--soleil); color: var(--nuit) !important; }
.btn-blanc { background: #fff; color: var(--nuit) !important; box-shadow: 0 8px 20px rgba(20, 48, 82, .12); }
.btn-contour { background: transparent; border: 2px solid var(--nuit); color: var(--nuit) !important; }
.btn-contour-clair { background: transparent; border: 1.5px solid rgba(255, 255, 255, .45); color: #fff !important; }
.btn-rond { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; }
.btn svg { flex-shrink: 0; }

/* Vinyles et animations */
.vinyle { border-radius: 50%; background: radial-gradient(circle, #F7CE68 0 12%, #143052 12.5% 14%, transparent 14.5%), repeating-radial-gradient(circle, #2563B8 0 2px, #1C4F99 2px 4px); }
.vinyle-sillons { border-radius: 50%; background: repeating-radial-gradient(circle, #2563B8 0 2px, #1C4F99 2px 4px); }
@keyframes v2-tourne { to { transform: rotate(360deg); } }
@keyframes v2-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes v2-pulse { 0% { box-shadow: 0 0 0 0 rgba(247, 206, 104, .8); } 100% { box-shadow: 0 0 0 14px rgba(247, 206, 104, 0); } }
@keyframes v2-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes v2-defile { to { transform: translateX(-50%); } }
@keyframes v2-sortie { 0%, 100% { transform: translateX(0) rotate(0); } 45%, 60% { transform: translateX(44%) rotate(200deg); } }
@keyframes v2-monte { from { transform: translateY(100%); } to { transform: none; } }
@keyframes v2-apparait { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.tourne { animation: v2-tourne 3.2s linear infinite; }
.tourne.arret, .arret .tourne, .eq.arret span { animation-play-state: paused; }
.flotte { animation: v2-flotte 4.5s ease-in-out infinite; }
.flotte-2 { animation: v2-flotte 5.5s ease-in-out .8s infinite; }
.pulse { animation: v2-pulse 1.6s infinite; }
.sortie { animation: v2-sortie 7s ease-in-out infinite; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; color: currentColor; }
.eq span { display: block; width: 4px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: v2-eq .9s ease-in-out infinite; }
.eq span:nth-child(2) { animation-delay: .2s; } .eq span:nth-child(3) { animation-delay: .45s; } .eq span:nth-child(4) { animation-delay: .1s; } .eq span:nth-child(5) { animation-delay: .3s; }
.carte-levee { transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.carte-levee:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 24px 40px rgba(20, 48, 82, .22); }
.carte-levee .vin { transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.carte-levee:hover .vin { transform: translateX(42%) rotate(160deg); }
@media (prefers-reduced-motion: reduce) { .v2 *, .v2 *::before, .v2 *::after { animation: none !important; transition: none !important; } }

/* ---------- En-tête ordinateur (> 1200 px) : bandeau photo + barre blanche ---------- */
/* On neutralise le style historique de main.css (header en flex, header > img en absolu, header a…) */
.pss-public > header.barre { display: block; position: relative; height: auto; padding: 250px 0 0; background: transparent; box-shadow: none; font: inherit; z-index: 20; }
.pss-public > header.barre > img.barre-bandeau { position: absolute; top: 0; left: 0; width: 100%; height: 250px; object-fit: cover; }
.pss-public > header.barre a { line-height: normal; text-shadow: none; }
.barre-drsoul { position: absolute; top: 150px; right: 30px; width: 300px; z-index: 3; animation: animButtonDrSoul 2s infinite; }
.barre-drsoul img { display: block; width: 100%; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3)); }
.barre-blanche { position: relative; display: grid; grid-template-columns: 1fr 380px 1fr; align-items: center; height: 66px; padding: 0 32px; background: #fff; box-shadow: 0 6px 22px rgba(20, 48, 82, .14); }
.barre-menu { display: flex; align-items: center; justify-content: space-evenly; gap: 18px; }
.barre-droite { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.barre-droite .barre-menu { flex: 1; }
.pss-public > header.barre .barre-menu a { position: relative; padding: 8px 2px; font: 700 24px/1.2 'Poiret One', cursive; color: var(--nuit); text-decoration: none; white-space: nowrap; transition: color .25s; }
.barre-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.pss-public > header.barre .barre-menu a:hover, .pss-public > header.barre .barre-menu a.actif { color: var(--orange-fonce); }
.barre-menu a:hover::after, .barre-menu a.actif::after { transform: scaleX(1); }
.barre-logo { position: relative; align-self: stretch; display: block; z-index: 2; }
.barre-logo img { position: absolute; left: 50%; bottom: -26px; height: 280px; transform: translateX(-50%); transition: transform .5s; filter: drop-shadow(0 10px 16px rgba(20, 48, 82, .25)); }
.barre-logo:hover img { transform: translateX(-50%) scale(1.08); }
@media (max-width: 1440px) {
  .barre-blanche { grid-template-columns: 1fr 300px 1fr; padding: 0 20px; }
  .pss-public > header.barre .barre-menu a { font-size: 21px; }
  .barre-logo img { height: 240px; }
}
@media (max-width: 1200px) { .pss-public > header.barre { display: none !important; } }

/* Pastilles des réseaux (Facebook, Instagram, Threads) */
.reseaux { display: flex; align-items: center; gap: 10px; }
.reseau { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #EEF2F7; color: var(--nuit) !important; text-decoration: none; transition: transform .25s, background .25s, color .25s, box-shadow .25s; }
.reseau svg { width: 22px; height: 22px; }
.reseau:hover { transform: translateY(-3px); color: #fff !important; box-shadow: 0 8px 18px rgba(20, 48, 82, .25); }
.reseau.facebook:hover { background: #1877F2; }
.reseau.instagram:hover { background: radial-gradient(circle at 30% 107%, #FDF497 0%, #FDF497 5%, #FD5949 45%, #D6249F 60%, #285AEB 90%); }
.reseau.threads:hover { background: #000; }
.reseaux.sombre .reseau { width: 46px; height: 46px; background: rgba(255, 255, 255, .14); color: #fff !important; border: 1px solid rgba(255, 255, 255, .22); }
.reseaux.sombre .reseau:hover { border-color: transparent; }
@media (max-width: 1440px) { .barre-droite .reseau { width: 38px; height: 38px; } .barre-droite .reseau svg { width: 20px; height: 20px; } .barre-droite .reseaux { gap: 8px; } }

/* ---------- En-tête tablette / smartphone (≤ 1200 px) ---------- */
.em { display: none; }
@media (max-width: 1200px) {
  .pss-public > header, .headermobile, .iconBurger, .burger { display: none !important; }
  .buttonConnxion, .containerConnexion { display: none !important; }
  .em { display: block; position: relative; height: 230px; border-radius: 0 0 32px 32px; overflow: hidden; box-shadow: 0 14px 32px rgba(20, 48, 82, .25); }
  .em-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .em-voile { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 48, 82, .5) 0%, rgba(20, 48, 82, .08) 45%, rgba(20, 48, 82, .45) 100%); }
  .em-barre { position: absolute; top: 16px; left: 20px; right: 20px; display: flex; align-items: center; justify-content: space-between; z-index: 2; }
  .em-menu { width: 52px; height: 52px; border-radius: 18px; background: rgba(20, 48, 82, .6); border: 1px solid rgba(255, 255, 255, .3); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .em-compte { position: relative; height: 48px; padding: 0 6px 0 18px; border-radius: 24px; background: #fff; color: var(--nuit) !important; text-decoration: none; font: 700 15px Roboto, Arial, sans-serif; display: flex; align-items: center; gap: 12px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
  .em-compte-icone { width: 36px; height: 36px; border-radius: 18px; background: var(--soleil); display: flex; align-items: center; justify-content: center; }
  .em-badge { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #D93A2B; color: #fff; font: 700 11px/20px Roboto, Arial, sans-serif; text-align: center; }
  .em-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 210px; }
  .em-logo img { width: 100%; display: block; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)); }
  .em-drsoul { position: absolute; right: 24px; bottom: 18px; width: 130px; transform: rotate(-6deg); }
  .em-drsoul img { width: 100%; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)); }
}
@media (max-width: 600px) {
  .em { height: 190px; border-radius: 0 0 28px 28px; }
  .em-barre { top: 12px; left: 12px; right: 12px; }
  .em-menu { width: 48px; height: 48px; border-radius: 16px; }
  .em-compte { width: 48px; padding: 0; justify-content: center; background: var(--soleil); border: 2px solid #fff; }
  .em-compte-texte { display: none; }
  .em-compte-icone { background: transparent; }
  .em-logo { width: 170px; }
  .em-drsoul { right: 12px; bottom: 12px; width: 92px; }
}

/* Menu tiroir */
.tiroir { position: fixed; inset: 0; z-index: 1000; }
.tiroir-voile { position: absolute; inset: 0; background: rgba(14, 36, 64, .55); border: 0; width: 100%; cursor: pointer; }
.tiroir-panneau { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: var(--degrade-nuit); color: #fff; padding: 18px 20px 24px; overflow: auto; animation: v2-tiroir .35s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; gap: 6px; }
@keyframes v2-tiroir { from { transform: translateX(-100%); } to { transform: none; } }
.tiroir-haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.tiroir-haut img { width: 140px; }
.tiroir-fermer { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.tiroir nav a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; border-radius: 14px; color: #fff !important; text-decoration: none; font: 700 22px 'Poiret One', cursive; }
.tiroir nav a:hover, .tiroir nav a.router-link-exact-active { background: rgba(247, 206, 104, .16); color: var(--soleil) !important; }
.tiroir-section { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .15); font-family: Roboto, Arial, sans-serif; }
.tiroir-section h2 { margin: 0 0 8px; font: 700 12px Roboto, Arial, sans-serif; letter-spacing: .14em; color: var(--soleil); text-transform: uppercase; }
.tiroir-notif { display: block; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff !important; text-decoration: none; font-size: 14px; margin-bottom: 6px; }
.tiroir-reseaux { margin-top: 18px; }
.tiroir-installer { width: 100%; margin-top: 14px; min-height: 50px; }

/* ---------- Pied de page ---------- */
footer.pied { position: relative; margin-top: 0; overflow: hidden; background: var(--nuit); color: #E6ECF3; padding: 56px 40px 32px; font-family: Roboto, Arial, sans-serif; }
.pied-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; pointer-events: none; }
.pied-contenu { position: relative; max-width: 1248px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; }
.pied-logo { height: 110px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: center; }
.pied nav a, .pied-bas a, .pied-bas button { color: #E6ECF3 !important; font-size: 15px; text-decoration: none; }
.pied nav a:hover { color: var(--soleil) !important; }
.pied-bas { position: relative; max-width: 1248px; margin: 28px auto 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: #B9C6D6; }
.pied-bas button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; font-family: inherit; }
@media (max-width: 900px) {
  footer.pied { padding: 40px 20px 28px; text-align: center; }
  .pied-contenu { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .pied nav a { padding: 6px 0; }
  .pied-bas { justify-content: center; text-align: center; }
}

/* ---------- Lecteur global (clips YouTube et playlists audio) ---------- */
.lecteur { position: fixed; right: 24px; bottom: 24px; width: 400px; z-index: 900; background: var(--nuit); color: #fff; border-radius: 22px; padding: 12px; box-shadow: 0 24px 50px rgba(10, 26, 46, .45); font-family: Roboto, Arial, sans-serif; animation: v2-apparait .35s ease-out; }
.lecteur-video { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 200px; border-radius: 12px; overflow: hidden; background: #000; }
.lecteur-video > div, .lecteur-video iframe { position: absolute; inset: 0; width: 100% !important; height: 100% !important; border: 0; }
.lecteur-garde { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px; text-align: center; font-size: 14px; line-height: 1.45; background-size: cover; background-position: center; }
.lecteur-garde::before { content: ""; position: absolute; inset: 0; background: rgba(14, 36, 64, .78); }
.lecteur-garde > * { position: relative; }
.lecteur-garde .btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.lecteur-ligne { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.lecteur-pochette { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.lecteur-infos { flex: 1; min-width: 0; }
.lecteur-etat { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--soleil); text-transform: uppercase; }
.lecteur-titre { margin: 2px 0 0; font: 700 18px 'Poiret One', cursive; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.lecteur button { cursor: pointer; font-family: inherit; }
.lecteur-btn { width: 44px; height: 44px; border-radius: 22px; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; font-size: 12px; }
.lecteur-btn-principal { width: 52px; height: 52px; border-radius: 26px; background: var(--soleil); color: var(--nuit); }
.lecteur a.lecteur-btn { text-decoration: none; }
.lecteur-progres { position: relative; height: 18px; margin-top: 8px; cursor: pointer; }
.lecteur-progres-piste { position: absolute; left: 0; right: 0; top: 7px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.lecteur-progres-fait { position: absolute; left: 0; top: 7px; height: 4px; border-radius: 2px; background: var(--soleil); }
.lecteur-temps { display: flex; justify-content: space-between; font-size: 11px; color: #9FB0C4; }
.lecteur-credit { font-size: 11px; color: #9FB0C4; }
.lecteur-credit a { color: #C9D5E4 !important; }
.lecteur-espace { position: relative; height: 0; }
.lecteur-espace.actif { height: 300px; }
@media (max-width: 700px) {
  .lecteur { left: 8px; right: 8px; bottom: 8px; width: auto; border-radius: 20px; padding: 8px; }
  .lecteur.audio { padding: 10px 12px; }
  .lecteur-espace.actif { height: 320px; }
  .lecteur-espace.actif.audio { height: 140px; }
}
@media (min-width: 701px) { .lecteur-espace.actif.audio { height: 220px; } }

/* ---------- Bandeau cookies (RGPD) ---------- */
.rgpd { position: fixed; z-index: 950; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(1120px, calc(100vw - 32px)); background: #fff; border-radius: 26px; padding: 22px 26px; box-shadow: 0 20px 60px rgba(14, 36, 64, .35); display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 20px; align-items: center; font-family: Roboto, Arial, sans-serif; color: var(--encre); animation: v2-apparait .4s ease-out; }
.rgpd-vinyle { width: 52px; height: 52px; border-radius: 50%; background: radial-gradient(circle, #F7CE68 0 16%, #143052 17% 20%, transparent 21%), repeating-radial-gradient(circle, #2563B8 0 1.5px, #1C4F99 1.5px 3px); }
.rgpd h2 { margin: 0; font: 700 26px 'Poiret One', cursive; color: var(--nuit); }
.rgpd p { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: #3B4654; }
.rgpd-actions { display: flex; flex-direction: column; gap: 6px; min-width: 330px; }
.rgpd-actions .deux { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rgpd-actions .liens { display: flex; justify-content: space-between; gap: 10px; }
.rgpd-lien { min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 700 14px Roboto, Arial, sans-serif; color: var(--nuit); }
.rgpd-lien.discret { font-weight: 400; font-size: 13px; color: var(--gris); text-decoration: underline; }
@media (max-width: 900px) {
  .rgpd { left: 8px; right: 8px; bottom: 8px; transform: none; width: auto; grid-template-columns: 1fr; gap: 10px; padding: 16px; border-radius: 24px; }
  .rgpd-vinyle { display: none; }
  .rgpd h2 { font-size: 22px; }
  .rgpd p { font-size: 14px; }
  .rgpd-actions { min-width: 0; }
}
.prefs-voile { position: fixed; inset: 0; z-index: 960; background: rgba(14, 36, 64, .55); }
.prefs { position: fixed; z-index: 961; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(660px, calc(100vw - 24px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 28px; padding: 26px 28px 22px; box-shadow: 0 30px 80px rgba(14, 36, 64, .45); font-family: Roboto, Arial, sans-serif; color: var(--encre); }
.prefs h2 { margin: 0; font: 700 30px 'Poiret One', cursive; color: var(--nuit); }
.prefs-entete { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prefs-fermer { width: 44px; height: 44px; border-radius: 22px; border: 0; background: #F1ECE3; color: var(--nuit); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.prefs-intro { margin: 6px 0 16px; font-size: 14px; line-height: 1.5; color: var(--gris); }
.prefs-ligne { border: 1px solid #EFE7DA; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.prefs-ligne.fixe { background: var(--creme); }
.prefs-ligne strong { display: block; font-size: 16px; color: var(--nuit); }
.prefs-ligne span.d { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: #3B4654; }
.prefs-ligne span.q { display: block; margin-top: 3px; font-size: 12px; color: var(--gris); }
.prefs-toujours { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--bleu); background: #E6ECF3; padding: 6px 10px; border-radius: 999px; }
.interrupteur { flex-shrink: 0; position: relative; width: 56px; height: 32px; border-radius: 16px; border: 0; cursor: pointer; padding: 0; background: #C9CFD8; transition: background .2s; }
.interrupteur::after { content: ""; position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 13px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s; }
.interrupteur[aria-checked="true"] { background: var(--bleu); }
.interrupteur[aria-checked="true"]::after { transform: translateX(24px); }
.prefs-boutons { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; margin-top: 16px; }
@media (max-width: 600px) { .prefs { top: auto; bottom: 0; transform: translateX(-50%); border-radius: 26px 26px 0 0; width: 100vw; max-height: 92vh; padding: 18px 18px 16px; } .prefs-boutons { grid-template-columns: 1fr 1fr; } .prefs-boutons .btn-soleil { grid-column: 1 / -1; order: -1; } }
.toast { position: fixed; z-index: 970; left: 24px; bottom: 24px; max-width: 460px; background: var(--nuit); color: #fff; border-radius: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 12px 30px rgba(14, 36, 64, .35); font: 14px/1.4 Roboto, Arial, sans-serif; animation: v2-apparait .3s ease-out; }
.toast-icone { width: 34px; height: 34px; border-radius: 17px; background: var(--soleil); color: var(--nuit); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
@media (max-width: 600px) { .toast { left: 12px; right: 12px; bottom: 12px; } }

/* Encart « contenu extérieur bloqué » (vidéo YouTube, anti-spam…) */
.garde { position: relative; border-radius: 16px; overflow: hidden; background: var(--nuit-2); color: #fff; padding: 24px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font: 15px/1.5 Roboto, Arial, sans-serif; min-height: 200px; }
.garde-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .3; filter: blur(2px); }
.garde > *:not(.garde-fond) { position: relative; }
.garde .btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Fenêtre « installer l'application » ---------- */
.inst-voile { position: fixed; inset: 0; z-index: 980; background: rgba(14, 36, 64, .45); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.inst { position: fixed; z-index: 981; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: #fff; border-radius: 28px 28px 0 0; padding: 12px 20px 22px; box-shadow: 0 -12px 40px rgba(14, 36, 64, .3); font-family: Roboto, Arial, sans-serif; color: var(--encre); animation: v2-monte .45s cubic-bezier(.2, .8, .2, 1); max-height: 50vh; max-height: 50dvh; overflow: auto; overscroll-behavior: contain; }
.inst-poignee { width: 44px; height: 5px; border-radius: 3px; background: #D9D3C7; margin: 0 auto 10px; }
.inst-tete { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.inst-tete img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 3px 10px rgba(20, 48, 82, .25); flex-shrink: 0; }
.inst-tete h2 { flex: 1; }
.inst-tete .prefs-fermer { align-self: flex-start; }
.inst-action { width: 100%; margin-top: 12px; min-height: 50px; font-size: 16px; }
.inst-autres { margin-top: 4px !important; font-size: 14px !important; text-align: center; }
.inst-autres a { display: inline-block; margin: 0 4px; padding: 4px 2px; font-weight: 700; color: var(--nuit); text-decoration: underline; }
.inst-illu { position: relative; height: 150px; border-radius: 20px; background: var(--degrade-soleil); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.inst-tel { width: 118px; height: 136px; border: 6px solid var(--nuit); border-bottom: 0; border-radius: 24px 24px 0 0; background: #E8EEF5; padding: 14px 12px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.inst-tel span { height: 24px; border-radius: 7px; background: #C3CFDD; }
.inst-tel .moi { background: #fff; box-shadow: 0 3px 8px rgba(20, 48, 82, .35); display: flex; align-items: center; justify-content: center; overflow: hidden; animation: v2-pop 2.6s ease-out infinite; }
.inst-tel .moi img { width: 26px; }
@keyframes v2-pop { 0%, 40% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.18); opacity: 1; } 75%, 100% { transform: scale(1); } }
.inst h2 { margin: 0; font: 700 22px/1.15 'Poiret One', cursive; color: var(--nuit); }
.inst p { margin: 0; font-size: 15px; line-height: 1.5; color: #3B4654; }
.inst ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.inst li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.inst-puce { flex-shrink: 0; width: 30px; height: 30px; border-radius: 15px; background: #FDE9C9; color: var(--nuit); display: flex; align-items: center; justify-content: center; }
.inst-rassure { margin-top: 14px !important; font-size: 13px !important; color: var(--gris) !important; }
.inst-bas { display: flex; justify-content: space-between; margin-top: 6px; }
.inst-lien { min-height: 44px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: 700 15px Roboto, Arial, sans-serif; color: var(--nuit); }
.inst-lien.discret { font-weight: 400; font-size: 13px; color: var(--gris); text-decoration: underline; }
.inst-etape { margin-top: 10px; border-radius: 16px; background: var(--creme); border: 1px solid #F1E3CB; padding: 12px 14px; }
.inst-etape .num { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; color: var(--orange-fonce); }
.inst-etape .consigne { margin: 4px 0 10px; font-size: 16px; font-weight: 700; color: var(--nuit); line-height: 1.35; }
.inst-points { display: flex; gap: 6px; }
.inst-points span { width: 8px; height: 8px; border-radius: 4px; background: #D9D3C7; transition: width .2s; }
.inst-points span.actif { width: 22px; background: var(--nuit); }
.inst-fleche { position: fixed; z-index: 982; left: 50%; bottom: 6px; margin-left: -14px; color: var(--soleil); animation: v2-rebond 1.1s ease-in-out infinite; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
@keyframes v2-rebond { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Lecteur : direct MBS (point rouge, logo à la place de la pochette) */
.lecteur-point { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #FF5A4E; box-shadow: 0 0 0 0 rgba(255, 90, 78, .7); animation: v2-pulse-rouge 1.6s infinite; vertical-align: 1px; }
@keyframes v2-pulse-rouge { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 78, .7); } 100% { box-shadow: 0 0 0 10px rgba(255, 90, 78, 0); } }
.lecteur-pochette.logo { object-fit: contain; background: #fff; padding: 5px; }
/* Lecteur : lecteurs intégrés Doctor Soul */
.lecteur-integre { display: block; width: 100%; margin-top: 10px; border: 0; border-radius: 12px; background: #fff; }
.lecteur-integre.soundcloud { height: 166px; }
.lecteur-integre.bandcamp { height: 120px; }
@media (max-width: 700px) { .lecteur-espace.actif.integre { height: 260px; } }

/* Compte (ordinateur) : boutons en haut à droite, sur le bandeau */
.compte { position: absolute; top: 12px; right: 20px; z-index: 50; display: flex; align-items: center; gap: 10px; font-family: Roboto, Arial, sans-serif; }
.compte-pastille { height: 46px; padding: 0 5px 0 18px; border-radius: 23px; background: #fff; color: var(--nuit) !important; text-decoration: none; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s; }
.compte-pastille:hover { transform: translateY(-2px); }
.compte-nom { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.compte-avatar { width: 36px; height: 36px; border-radius: 18px; background: var(--soleil); color: var(--nuit); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.compte-btn { position: relative; width: 46px; height: 46px; border-radius: 23px; border: 0; background: rgba(20, 48, 82, .78); color: #fff !important; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s; }
.compte-btn:hover { transform: translateY(-2px); }
.compte-btn.sonne svg { animation: compte-sonne 2.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes compte-sonne { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.compte-badge { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #D93A2B; color: #fff; font: 700 11px/20px Roboto, Arial, sans-serif; text-align: center; border: 2px solid #fff; }
.compte-notifs { position: relative; }
.compte-menu { position: absolute; right: 0; top: 56px; width: 340px; max-height: 420px; overflow: auto; background: #fff; border-radius: 20px; padding: 14px; box-shadow: 0 20px 50px rgba(14, 36, 64, .35); animation: v2-apparait .25s ease-out; }
.compte-menu-titre { margin: 2px 6px 10px; font: 700 12px Roboto, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-fonce); }
.compte-notif { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 14px; text-decoration: none; color: var(--encre) !important; font-size: 14px; }
.compte-notif:hover { background: var(--creme); }
.compte-notif strong { color: var(--nuit); font-size: 13px; }
.compte-notif em { font-style: normal; font-size: 12px; color: var(--gris); }
.compte-vide { margin: 6px; font-size: 14px; color: var(--gris); }
@media (max-width: 1200px) { .compte { display: none; } }
@media (prefers-reduced-motion: reduce) { .compte-btn.sonne svg { animation: none; } }
