/* Fiche du titre de la pièce (pochette, titre, crédits, badge) : styles repris à l'identique de la page Audio spatial,
   pour les pages qui ne les ont pas (landings, accueils). Charger AVANT piece.css. */
:root { --mb: #ffffff; }
.piece-lp { padding-top: 0 !important; }                          /* collée sous le player A/B (même fond, pas de double espace) */
.piece-accueil { margin-top: 100px; scroll-margin-top: 75px; }    /* accueils : dans la section Écouter, sous le player A/B (même écart qu'entre deux sections) */
@media (max-width: 900px) { .piece-accueil { margin-top: 72px; scroll-margin-top: 67px; } }
@media (max-width: 480px) { .piece-accueil { margin-top: 64px; } }
.rel-cover { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--card); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.rel-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
@media (hover: hover) {
  .rel-cover:hover img { transform: scale(1.04); }
}
.rel-date { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.rel-meta { font-size: 0.78rem; color: var(--muted); margin-top: 6px; display: flex; flex-wrap: wrap; gap: 0 6px; }
.rel-meta .sep { color: #7a7a7a; }
.rel-listen { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; min-height: 40px; border: 1px solid var(--border); border-radius: 999px; color: var(--text); text-decoration: none; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; transition: color .2s, border-color .2s; }
.rel-listen svg { width: 12px; height: 14px; }
.rel-listen:hover { color: var(--teal); border-color: var(--teal); }
.rel-exc { margin: 0; font-size: 0.72rem; color: var(--text-secondary); }
.feat-body { padding: 0 4px; }
.feat-body { display: flex; flex-direction: column; min-width: 0; }
.feat-title { font-size: 1.08rem; line-height: 1.28; font-weight: 800; color: var(--white); margin-top: 6px; min-height: 2.56em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-artist { font-size: 0.92rem; font-weight: 600; color: var(--text-secondary); margin-top: 4px; }
.feat-body .rel-meta { margin-top: 8px; display: block; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feat-body .rel-meta .sep { margin: 0 6px; color: #7a7a7a; }
.feat-foot { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.feat-foot .rel-date { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.feat-title { margin-top: 0 !important; }
.feat-foot .rel-listen { padding: 0; min-height: 32px; border: 0; font-size: 0.7rem; color: var(--teal); gap: 6px; white-space: nowrap; }
.feat-foot .rel-listen:hover { color: var(--white); }
.feat-foot .rel-exc { font-size: 0.7rem; padding-left: 12px; position: relative; }
.feat-foot .rel-exc::before { content: ''; position: absolute; left: 0; top: .45em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
@media (max-width: 900px) {
  .feat-body { padding: 0; }
  .feat-title { font-size: 1rem; min-height: 0; }
}
.feat-foot .rel-listen.am-badge { display: inline-flex; height: auto; min-height: 0; padding: 0; background: none; border: 0; border-radius: 0; text-decoration: none; transition: none; }
.am-badge img { display: block; height: 34px; width: auto; }
@media (max-width: 820px) {
  .rel-foot-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rel-foot-row .rel-date { order: -1; }
}
.rel-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(12,12,12,.45); color: #fff; opacity: 0; transition: opacity .25s; }
.rel-play svg { width: 30px; height: 30px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
@media (hover: hover) {
  .rel-cover:hover .rel-play { opacity: 1; }
}
.rel-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
/* « Dans la pièce » : petite ligne au-dessus du titre, accroche, 3 étapes, légende sous la cage */
.piece-kicker { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .2em; color: var(--teal); margin-bottom: 12px; line-height: 1; }
.piece-intro.piece-accroche { font-size: 1.08rem; color: var(--text); margin: -14px 0 18px; }
.piece-etapes { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 24px; padding: 0; }
.piece-etapes li { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--text-secondary); }
.piece-etapes span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(91,181,255,.55); color: var(--teal); font-size: .72rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.piece-legende { margin: 14px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.6; }
@media (max-width: 600px) { .piece-etapes { flex-direction: column; gap: 8px; } .piece-intro.piece-accroche { font-size: 1rem; } }
.piece-intro.ecoute-accroche { max-width: none; margin-bottom: 26px; }              /* accroche du player A/B (section Écouter) */
.player-toggle .toggle-label { white-space: nowrap; }                  /* « Dolby Atmos » ne se coupe jamais sur deux lignes */
/* Bouton de contact juste après la démonstration 3D (accueils et landings) : pilule comme « Contact » du menu, en plus grand */
.piece-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 13px 24px 13px calc(24px + .12em); border: 1px solid rgba(91,181,255,.7); border-radius: 999px; color: var(--teal); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.2; transition: background .2s, color .2s, border-color .2s; }
.piece-cta svg { width: 14px; height: 14px; flex: none; transition: transform .2s; }
.piece-cta:hover, .piece-cta:focus-visible { background: var(--teal); border-color: var(--teal); color: #0c0c0c; }
.piece-cta:hover svg { transform: translateX(3px); }
.piece-cta:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 600px) { .piece-cta { display: flex; justify-content: center; } }
@media (max-width: 360px) { .piece-cta { gap: 8px; padding: 12px 14px 12px calc(14px + .06em); letter-spacing: .06em; font-size: .74rem; text-align: center; line-height: 1.35; border-radius: 18px; } }
