@font-face { font-family: "Outfit"; src: url("polices/outfit-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("polices/outfit-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("polices/outfit-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Syne"; src: url("polices/syne-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --fond: #0b0b14;
  --surface: #12121e;
  --surface-2: #191927;
  --surface-3: #232336;
  --bord: #2a2a3f;
  --texte: #f3f2fa;
  --texte-2: #a9a8c0;
  --texte-3: #7c7b95;
  --bleu: #5e7dff;
  --violet: #7b3cf4;
  --rose: #ff4fa6;
  --degrade: linear-gradient(100deg, #5e7dff 0%, #7b3cf4 52%, #ff4fa6 100%);
  --rayon: 10px;
  --police: "Outfit", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --titre: "Syne", "Outfit", sans-serif;
  --lecteur-h: 88px;
  --sur: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--fond); color: var(--texte); font-family: var(--police); -webkit-font-smoothing: antialiased; }
body { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
img { display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--bleu); outline-offset: 2px; border-radius: 6px; }

/* ------------------------------------------------ structure */
.appli { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: minmax(0, 1fr) auto; height: 100dvh; gap: 8px; padding: 8px; }
.cote { grid-row: 1; background: var(--surface); border-radius: var(--rayon); padding: 22px 14px; display: flex; flex-direction: column; gap: 22px; overflow: hidden; }
.cote-logo img { height: 34px; margin: 0 8px; }
.cote-nav { display: flex; flex-direction: column; gap: 2px; }
.cote-nav a, .onglets a { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 8px; color: var(--texte-2); font-weight: 600; transition: color .15s, background .15s; }
.cote-nav a:hover { color: var(--texte); }
.cote-nav a.actif { color: var(--texte); background: var(--surface-3); }
.cote-bloc { flex: 1; min-height: 0; display: flex; flex-direction: column; border-top: 1px solid var(--bord); padding-top: 16px; }
.cote-titre { margin: 0 12px 10px; font-size: 13px; color: var(--texte-3); text-transform: uppercase; letter-spacing: .08em; }
.cote-liste { overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.cote-liste a { display: flex; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; }
.cote-liste a:hover { background: var(--surface-2); }
.cote-liste img { width: 40px; height: 40px; border-radius: 4px; object-fit: cover; }
.cote-liste span { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.cote-liste small { color: var(--texte-3); font-size: 12px; }
.cote-vide { color: var(--texte-3); font-size: 13px; margin: 0 12px; line-height: 1.45; }

.contenu { grid-row: 1; background: linear-gradient(180deg, #1a1530 0%, var(--surface) 340px); border-radius: var(--rayon); overflow-y: auto; position: relative; }
.barre-haut { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 14px 28px; background: rgba(18, 18, 30, .0); transition: background .2s; }
.barre-haut.opaque { background: rgba(18, 18, 30, .92); backdrop-filter: blur(14px); }
.logo-mobile { display: none; height: 26px; }
#btn-retour { display: none; }
body.page-detail #btn-retour { display: grid; }
.rond { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.45); display: grid; place-items: center; }
.vue { padding: 0 28px 40px; }
.pied { padding: 20px 28px 40px; color: var(--texte-3); font-size: 12px; border-top: 1px solid var(--bord); }

/* ------------------------------------------------ boutons */
.bouton-installer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 14px; border-radius: 999px; background: var(--surface-3); font-weight: 600; font-size: 14px; }
.bouton-installer.petit { padding: 7px 12px; font-size: 13px; }
.bouton-installer svg { width: 18px; height: 18px; }
.bouton-plein { padding: 12px 24px; border-radius: 999px; background: var(--degrade); font-weight: 600; color: #fff; }
.icone-btn { width: 36px; height: 36px; display: grid; place-items: center; color: var(--texte-2); border-radius: 50%; transition: color .15s, transform .1s; }
.icone-btn:hover { color: var(--texte); }
.icone-btn:active { transform: scale(.92); }
.icone-btn svg { width: 20px; height: 20px; }
.icone-btn.actif { color: var(--rose); }
.coeur.actif { color: var(--rose); }
.play { width: 40px; height: 40px; border-radius: 50%; background: var(--texte); color: var(--fond); display: grid; place-items: center; transition: transform .1s; }
.play:hover { transform: scale(1.06); }
.play svg { width: 20px; height: 20px; }
.gros-play { width: 56px; height: 56px; border-radius: 50%; background: var(--degrade); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(123,60,244,.45); transition: transform .12s; }
.gros-play:hover { transform: scale(1.05); }
.gros-play svg { width: 26px; height: 26px; }

/* ------------------------------------------------ accueil */
.salut { font-family: var(--titre); font-size: 34px; margin: 8px 0 4px; letter-spacing: -.01em; }
.compteur { color: var(--texte-2); margin: 0 0 22px; font-size: 14px; }
.raccourcis { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin-bottom: 34px; }
.raccourci { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.07); border-radius: 6px; overflow: hidden; font-weight: 600; position: relative; transition: background .15s; }
.raccourci:hover { background: rgba(255,255,255,.14); }
.raccourci img { width: 64px; height: 64px; object-fit: cover; }
.raccourci .gros-play { position: absolute; right: 10px; width: 40px; height: 40px; opacity: 0; transition: opacity .15s; }
.raccourci .gros-play svg { width: 18px; height: 18px; }
.raccourci:hover .gros-play { opacity: 1; }
.rayon-titre { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 14px; }
.rayon-titre h2 { font-family: var(--titre); font-size: 22px; margin: 0; }
.rayon-titre a { color: var(--texte-3); font-size: 13px; font-weight: 600; }
.rayon-titre a:hover { color: var(--texte); text-decoration: underline; }
.rangee { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(168px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.rangee::-webkit-scrollbar { display: none; }
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 16px; }
.carte { padding: 12px; border-radius: 8px; background: transparent; transition: background .2s; position: relative; scroll-snap-align: start; min-width: 0; }
.carte:hover { background: var(--surface-2); }
.carte .visuel { position: relative; margin-bottom: 12px; }
.carte img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.carte.ronde img { border-radius: 50%; }
.carte .gros-play { position: absolute; right: 8px; bottom: 8px; width: 46px; height: 46px; opacity: 0; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.carte:hover .gros-play { opacity: 1; transform: none; }
.carte h3 { font-size: 15px; margin: 0 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.carte p { font-size: 13px; color: var(--texte-3); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.genre-tuile { aspect-ratio: 1.6; border-radius: 8px; padding: 14px; font-weight: 700; font-size: 19px; font-family: var(--titre); position: relative; overflow: hidden; display: flex; align-items: flex-start; }
.genre-tuile span { position: relative; z-index: 1; max-width: 72%; line-height: 1.1; }
.genre-tuile small { position: absolute; bottom: 12px; left: 14px; font-family: var(--police); font-weight: 500; font-size: 12px; opacity: .85; }
.genre-tuile img { position: absolute; right: -14px; bottom: -6px; width: 44%; aspect-ratio: 1; object-fit: cover; transform: rotate(24deg); border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }

/* ------------------------------------------------ pages artiste / album / genre */
.entete-page { display: flex; align-items: flex-end; gap: 24px; margin: 6px -28px 0; padding: 40px 28px 26px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }
.entete-page img { width: 220px; height: 220px; object-fit: cover; border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.5); flex: none; }
.entete-page.artiste img { border-radius: 50%; }
.entete-page .type { font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.entete-page h1 { font-family: var(--titre); font-size: clamp(32px, 6vw, 72px); line-height: 1; margin: 0 0 14px; letter-spacing: -.02em; word-break: break-word; }
.entete-page .meta { color: var(--texte-2); font-size: 14px; margin: 0; }
.entete-page .meta a { color: var(--texte); font-weight: 600; }
.entete-page .meta a:hover { text-decoration: underline; }
.actions { display: flex; align-items: center; gap: 18px; padding: 24px 0; }
.bio { color: var(--texte-2); max-width: 720px; line-height: 1.6; margin: 0 0 10px; }

.titres { display: flex; flex-direction: column; }
.titre-ligne { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto 56px; align-items: center; gap: 14px; padding: 8px 12px; border-radius: 6px; cursor: pointer; }
.titre-ligne:hover { background: var(--surface-2); }
.titre-ligne .num { color: var(--texte-3); text-align: right; font-variant-numeric: tabular-nums; }
.titre-ligne.en-cours .num, .titre-ligne.en-cours .t-titre { color: #c4a6ff; }
.titre-ligne .t-info { display: flex; gap: 12px; align-items: center; min-width: 0; }
.titre-ligne img { width: 42px; height: 42px; border-radius: 4px; object-fit: cover; }
.titre-ligne .t-textes { display: flex; flex-direction: column; min-width: 0; }
.titre-ligne .t-titre { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titre-ligne .t-artiste { font-size: 13px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.titre-ligne .t-artiste a:hover { color: var(--texte); text-decoration: underline; }
.titre-ligne .t-duree { color: var(--texte-3); font-size: 14px; text-align: right; font-variant-numeric: tabular-nums; }
.titre-ligne .coeur { opacity: 0; }
.titre-ligne:hover .coeur, .titre-ligne .coeur.actif { opacity: 1; }
.badge { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-3); color: var(--texte-2); white-space: nowrap; }

/* ------------------------------------------------ recherche */
.champ-recherche { display: flex; align-items: center; gap: 10px; background: var(--surface-3); border-radius: 999px; padding: 12px 18px; max-width: 520px; margin: 4px 0 24px; border: 1px solid transparent; }
.champ-recherche:focus-within { border-color: var(--texte-2); }
.champ-recherche input { flex: 1; background: none; border: 0; color: var(--texte); font: inherit; font-size: 16px; outline: none; }
.vide { color: var(--texte-2); padding: 40px 0; text-align: center; }
.vide strong { display: block; font-size: 20px; color: var(--texte); margin-bottom: 8px; font-family: var(--titre); }

/* ------------------------------------------------ lecteur bas */
.lecteur { grid-column: 1 / -1; height: var(--lecteur-h); display: grid; grid-template-columns: minmax(180px, 30%) 1fr minmax(180px, 30%); align-items: center; gap: 16px; padding: 0 12px; }
.lecteur-morceau { display: flex; align-items: center; gap: 12px; min-width: 0; cursor: pointer; }
.lecteur-morceau img { width: 56px; height: 56px; border-radius: 6px; object-fit: cover; }
.l-textes { display: flex; flex-direction: column; min-width: 0; }
.l-textes strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-textes span { font-size: 12px; color: var(--texte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lecteur-centre { display: flex; flex-direction: column; align-items: center; gap: 6px; max-width: 720px; width: 100%; justify-self: center; }
.commandes { display: flex; align-items: center; gap: 16px; }
.progression { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 12px; color: var(--texte-3); font-variant-numeric: tabular-nums; }
.progression span { min-width: 36px; text-align: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--texte) var(--avance, 0%), #4a4a63 var(--avance, 0%)); cursor: pointer; }
input[type="range"]:hover { background: linear-gradient(90deg, #a77bff var(--avance, 0%), #4a4a63 var(--avance, 0%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; border-radius: 50%; background: #fff; opacity: 0; }
input[type="range"]:hover::-webkit-slider-thumb { opacity: 1; }
input[type="range"]::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: #fff; }
.lecteur-droite { display: flex; align-items: center; gap: 10px; justify-self: end; width: 100%; max-width: 220px; color: var(--texte-2); }
.lecteur-droite svg.petite { width: 18px; height: 18px; }
.mini-play, .mini-barre { display: none; }

/* ------------------------------------------------ lecteur plein écran */
.plein { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; padding: calc(14px + env(safe-area-inset-top, 0px)) 24px calc(28px + var(--sur)); gap: 18px; overflow: hidden; animation: monte .28s ease; background: var(--fond); }
@keyframes monte { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.plein-fond { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; filter: blur(60px) saturate(1.4) brightness(.45); transform: scale(1.3); }
.plein-haut { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--texte-2); }
.plein-corps { flex: 1; min-height: 0; display: grid; place-items: center; }
.plein-pochette { width: min(100%, 52vh, 520px); aspect-ratio: 1; object-fit: cover; border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.55); }
.plein-paroles { width: 100%; max-width: 640px; height: 100%; overflow-y: auto; font-size: 22px; font-weight: 600; line-height: 1.5; padding: 10px 0 40px; }
.plein-paroles p { margin: 0 0 4px; }
.plein-paroles .section { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.5); margin: 22px 0 8px; font-weight: 600; }
.plein-infos { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 640px; width: 100%; margin: 0 auto; }
.plein-infos h2 { margin: 0 0 4px; font-size: 24px; font-family: var(--titre); }
.plein-infos a { color: var(--texte-2); }
.plein .progression, .plein .commandes { max-width: 640px; width: 100%; margin: 0 auto; }
.commandes.grand { justify-content: space-between; }
.commandes.grand .play { width: 66px; height: 66px; }
.commandes.grand .play svg { width: 28px; height: 28px; }
.commandes.grand .icone-btn svg { width: 26px; height: 26px; }
.icone-btn.grand svg { width: 26px; height: 26px; }

/* ------------------------------------------------ aide iPhone */
.aide-ios { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); display: grid; place-items: end center; padding: 16px; }
.aide-ios-carte { background: var(--surface-2); border-radius: 16px; padding: 22px; max-width: 420px; width: 100%; margin-bottom: var(--sur); }
.aide-ios-carte h3 { margin: 0 0 12px; font-family: var(--titre); }
.aide-ios-carte ol { padding-left: 20px; line-height: 1.6; color: var(--texte-2); margin: 0 0 18px; }
.aide-ios-carte strong { color: var(--texte); }
.aide-ios-carte .bouton-plein { width: 100%; }

.onglets { display: none; }
.squelette { background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: brille 1.2s infinite; border-radius: 8px; }
@keyframes brille { to { background-position: -200% 0; } }

/* ------------------------------------------------ mobile */
@media (max-width: 820px) {
  body { overflow: hidden; }
  .appli { display: block; height: 100dvh; padding: 0; }
  .cote { display: none; }
  .contenu { height: 100dvh; border-radius: 0; padding-bottom: calc(150px + var(--sur)); }
  .barre-haut { padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; }
  .logo-mobile { display: block; }
  body.page-detail .logo-mobile { display: none; }
  .vue { padding: 0 16px 20px; }
  .pied { padding: 20px 16px; }
  .salut { font-size: 26px; margin: 4px 0 4px; }
  .raccourcis { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 20px; }
  .raccourci { font-size: 13px; gap: 8px; }
  .raccourci img { width: 54px; height: 54px; }
  .raccourci .gros-play { display: none; }
  .rangee { grid-auto-columns: 42%; gap: 12px; margin: 0 -16px; padding: 0 16px 6px; scroll-padding-inline: 16px; }
  .carte { padding: 0; }
  .carte:hover { background: none; }
  .carte .gros-play { display: none; }
  .grille { grid-template-columns: 1fr 1fr; gap: 14px; }
  .rayon-titre h2 { font-size: 19px; }
  .entete-page { flex-direction: column; align-items: center; text-align: center; padding: 10px 16px 20px; margin: 0 -16px; }
  .entete-page img { width: 62vw; height: 62vw; max-width: 280px; max-height: 280px; }
  .entete-page h1 { font-size: 30px; }
  .actions { padding: 14px 0; }
  .titre-ligne { grid-template-columns: minmax(0, 1fr) 40px; padding: 8px 0; gap: 10px; }
  .titre-ligne .num, .titre-ligne .t-duree { display: none; }
  .titre-ligne .coeur { opacity: 1; }
  .lecteur { position: fixed; left: 8px; right: 8px; bottom: calc(64px + var(--sur)); z-index: 20; height: 60px; display: flex; gap: 10px; padding: 0 8px; border-radius: 8px; background: #2a2440; box-shadow: 0 8px 24px rgba(0,0,0,.5); overflow: hidden; }
  .lecteur-morceau { flex: 1; }
  .lecteur-morceau img { width: 44px; height: 44px; border-radius: 4px; }
  .lecteur-centre, .lecteur-droite { display: none; }
  .lecteur .mini-play { display: grid; width: 36px; height: 36px; background: none; color: var(--texte); }
  .lecteur .mini-play svg { width: 24px; height: 24px; }
  .mini-barre { display: block; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px; background: rgba(255,255,255,.2); border-radius: 1px; }
  .mini-barre div { height: 100%; width: 0; background: #fff; border-radius: 1px; }
  .onglets { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 6px 8px var(--sur); background: linear-gradient(180deg, rgba(11,11,20,.7), var(--fond) 40%); }
  .onglets a { flex: 1; flex-direction: column; gap: 3px; font-size: 11px; font-weight: 500; padding: 8px 0; }
  .onglets a.actif { color: var(--texte); background: none; }
  .onglets svg { width: 24px; height: 24px; }
  .plein-paroles { font-size: 20px; }
  .genre-tuile { font-size: 16px; }
}
@media (min-width: 821px) {
  .plein { padding: 24px 10vw 32px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
.icone-btn[data-une="1"]::after { content: "1"; position: absolute; top: 3px; right: 3px; font-size: 9px; font-weight: 700; background: var(--rose); color: #fff; border-radius: 50%; width: 13px; height: 13px; display: grid; place-items: center; }

/* ------------------------------------------------ comptes et abonnement */
.haut-droite { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.bouton-essai { padding: 9px 18px; border-radius: 999px; background: var(--degrade); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; }
.lien-connexion { font-weight: 600; font-size: 14px; color: var(--texte-2); white-space: nowrap; }
.lien-connexion:hover { color: var(--texte); }
.avatar { background: var(--surface-3); }
.pied-liens a { color: var(--texte-2); text-decoration: underline; }
.banniere { position: relative; overflow: hidden; border-radius: 14px; padding: 28px; margin: 4px 0 28px; background: radial-gradient(120% 140% at 0% 0%, rgba(94,125,255,.55), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(255,79,166,.5), transparent 60%), #1a1630; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.banniere h2 { font-family: var(--titre); font-size: 26px; margin: 0 0 6px; }
.banniere p { margin: 0; color: var(--texte-2); }
.banniere .bouton-plein { white-space: nowrap; display: inline-block; }
.offre { max-width: 560px; margin: 10px auto 30px; text-align: center; }
.offre .logo-offre { height: 44px; margin: 10px auto 18px; }
.offre h1 { font-family: var(--titre); font-size: clamp(28px, 5vw, 42px); line-height: 1.1; margin: 0 0 12px; }
.offre .sous { color: var(--texte-2); margin: 0 0 26px; font-size: 17px; }
.carte-offre { background: var(--surface-2); border: 1px solid var(--bord); border-radius: 18px; padding: 26px; text-align: left; position: relative; overflow: hidden; }
.carte-offre::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--degrade); }
.carte-offre .etiquette { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,79,166,.15); color: #ff8cc6; margin-bottom: 12px; }
.carte-offre .prix { font-family: var(--titre); font-size: 40px; margin: 0; }
.carte-offre .prix small { font-family: var(--police); font-size: 16px; color: var(--texte-2); font-weight: 500; }
.carte-offre .apres { color: var(--texte-2); margin: 4px 0 18px; }
.carte-offre ul { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 10px; }
.carte-offre li { display: flex; gap: 10px; align-items: flex-start; }
.carte-offre li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--degrade); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.5 17.2-5-5 1.4-1.4 3.6 3.6 7.1-7.1 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-1.5 17.2-5-5 1.4-1.4 3.6 3.6 7.1-7.1 1.4 1.4z'/%3E%3C/svg%3E") center/contain no-repeat; }
.carte-offre .bouton-plein { width: 100%; font-size: 16px; padding: 15px; }
.petit-texte { font-size: 13px; color: var(--texte-3); margin: 12px 0 0; text-align: center; line-height: 1.5; }
.formulaire { max-width: 400px; margin: 10px auto 30px; display: flex; flex-direction: column; gap: 14px; }
.formulaire h1 { font-family: var(--titre); font-size: 30px; margin: 0 0 6px; text-align: center; }
.formulaire label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.formulaire input[type=email], .formulaire input[type=password], .formulaire input[type=text] { padding: 13px 14px; border-radius: 10px; border: 1px solid var(--bord); background: var(--surface-2); color: var(--texte); font: inherit; font-size: 16px; }
.formulaire input:focus { outline: none; border-color: var(--bleu); }
.formulaire .case { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--texte-2); }
.formulaire .case input { margin-top: 3px; accent-color: var(--violet); width: 18px; height: 18px; flex: none; }
.formulaire .case a { color: var(--texte); text-decoration: underline; }
.formulaire .bouton-plein { padding: 14px; font-size: 16px; }
.formulaire .bouton-plein[disabled] { opacity: .6; }
.formulaire .bascule { text-align: center; color: var(--texte-2); font-size: 14px; }
.formulaire .bascule a { color: var(--texte); font-weight: 600; text-decoration: underline; }
.erreur-form { background: rgba(255,79,100,.12); color: #ff9aa8; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.ok-form { background: rgba(34,211,163,.12); color: #7ee8c7; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.compte { max-width: 560px; margin: 10px auto 30px; display: flex; flex-direction: column; gap: 16px; }
.compte h1 { font-family: var(--titre); font-size: 30px; margin: 0; }
.bloc { background: var(--surface-2); border: 1px solid var(--bord); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.bloc h2 { font-size: 16px; margin: 0; color: var(--texte-2); font-weight: 600; }
.bloc .grand-statut { font-family: var(--titre); font-size: 22px; }
.bloc p { margin: 0; color: var(--texte-2); line-height: 1.5; }
.bouton-second { padding: 12px 20px; border-radius: 999px; background: var(--surface-3); font-weight: 600; text-align: center; }
.texte-legal { max-width: 720px; white-space: pre-wrap; line-height: 1.6; color: var(--texte-2); }
.texte-legal h1 { font-family: var(--titre); color: var(--texte); white-space: normal; }
@media (max-width: 820px) {
  .lien-connexion { font-size: 13px; }
  .bouton-essai { padding: 8px 14px; font-size: 13px; }
  .banniere { padding: 20px; }
  .banniere h2 { font-size: 21px; }
  .onglets a { font-size: 10.5px; }
}

/* sans accès : seulement l'offre et le compte */
body.verrou .cote, body.verrou .onglets, body.verrou .lecteur { display: none !important; }
body.verrou .appli { grid-template-columns: 1fr; }
body.verrou #btn-retour { display: none !important; }
@media (min-width: 821px) { body.verrou .barre-haut .logo-mobile { display: block; } }
@media (max-width: 820px) { body.verrou .contenu { padding-bottom: 40px; } }

.code-promo { margin: 0 0 16px; }
.code-promo summary { cursor: pointer; color: var(--texte-2); font-size: 14px; font-weight: 600; }
.ligne-code { display: flex; gap: 8px; margin-top: 10px; }
.ligne-code input { flex: 1; min-width: 0; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--bord); background: var(--surface-3); color: var(--texte); font: inherit; text-transform: uppercase; }
#code-msg > div { margin-top: 10px; }
