/* =========================================================
   Design sobre "éditeur / théâtre" (signature différente)
   - Noir chaud / ivoire + accent cuivre
   - Serif seulement sur titres
   - Boutons capsules
   ========================================================= */

:root{
  --bg: #0c0b09;          /* noir chaud */
  --bg2:#12100d;          /* nuance */
  --paper:#fbf7f0;        /* ivoire */
  --ink:#14110c;          /* texte sombre */
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(20,17,12,.62);

  --accent:#c18f59;       /* cuivre */
  --line: rgba(255,255,255,.18);
  --line2: rgba(20,17,12,.14);

  --wrap: 1100px;

  /* Typo: sans propre partout + serif "littéraire" seulement titres */
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  --serif: ui-serif, Georgia, "Times New Roman", Times, serif;

  --shadow: 0 18px 55px rgba(0,0,0,.32);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: var(--sans);
  background: radial-gradient(1200px 700px at 20% 10%, rgba(193,143,89,.08), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
}

a{ color: inherit; text-decoration:none; }
.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================================================
   Topbar
   ========================================================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12,11,9,.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.topbar__inner{
  height: 84px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand__name{
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .2px;
  text-transform: none;
}

.nav{
  display:flex;
  gap: 22px;
  align-items:center;
  justify-content:center;
  flex: 1;
}
.nav a{
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .78;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover{
  opacity: 1;
  border-color: rgba(193,143,89,.9);
}

.social{
  display:flex;
  gap: 12px;
  align-items:center;
}
.icon{
  width: 30px; height: 30px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  font-size: 12px;
  opacity:.85;
}
.icon:hover{ border-color: rgba(193,143,89,.65); }

/* =========================================================
   Hero
   ========================================================= */
.hero{
  min-height: 560px;
  display:flex;
  align-items:center;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position: relative;
  overflow:hidden;
}

/* texture / glow léger */
.hero::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(800px 420px at 20% 35%, rgba(193,143,89,.16), transparent 60%),
    radial-gradient(900px 520px at 75% 20%, rgba(255,255,255,.06), transparent 62%);
  opacity:.9;
  pointer-events:none;
}

/* Option image de fond (si --hero-bg défini) */
.hero[style*="--hero-bg"]::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: .26;
  filter: saturate(.95) contrast(1.05);
  mix-blend-mode: screen;
}

.hero__inner{
  position: relative;
  z-index: 2;
  padding: 84px 0;
  text-align:center;
}

.hero__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(193,143,89,.95);
  margin: 0 0 14px;
}
.hero__headline{
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 700;
  margin: 0 0 12px;
}
.hero__subline{
  font-size: 16px;
  color: var(--muted);
  margin: 0 0 26px;
}

/* =========================================================
   Buttons / Links
   ========================================================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.20);
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px; /* capsule */
  box-shadow: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(193,143,89,.70);
  background: rgba(193,143,89,.10);
}

.btn--outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.32);
}
.btn--outline:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(193,143,89,.70);
}

.btn--dark{
  background: #1a1712;
  border-color: rgba(20,17,12,.18);
  color: #fff;
}
.btn--dark:hover{
  background: #221e18;
}

.link{
  text-decoration: underline;
  text-decoration-color: rgba(193,143,89,.45);
  text-underline-offset: 4px;
}

/* =========================================================
   Sections (alternance + rythme)
   ========================================================= */
.section{
  padding: 78px 0;
}
.section--dark{
  background: rgba(255,255,255,.02);
}
.section--light{
  background: var(--paper);
  color: var(--ink);
}

.section__title{
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  text-align:center;
  margin: 0 0 36px;
  letter-spacing: .2px;
  text-transform: none;
  position: relative;
}
.section__title::after{
  content:"";
  display:block;
  width: 86px;
  height: 2px;
  margin: 18px auto 0;
  background: rgba(193,143,89,.75);
  border-radius: 99px;
}

.section--dark .section__note{ color: var(--muted); text-align:center; margin-top: 18px; }
.section--light .link{ color: var(--ink); text-decoration-color: rgba(193,143,89,.45); }

/* =========================================================
   Spectacles list
   ========================================================= */
.list{
  border-top: 1px solid var(--line);
}
.section--light .list{ border-top: 1px solid var(--line2); }

.row{
  display:grid;
  grid-template-columns: 220px 140px 1fr 170px; /* spectacle | date | lieu | CTA */
  gap: 22px;
  align-items:center;
  padding: 18px 6px;
  border-bottom: 1px solid var(--line);
}
.section--light .row{ border-bottom: 1px solid var(--line2); }

.row__date{
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .9;
}
.row__spectacle{
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .95;
}
.row__lieu{
  font-weight: 750;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
}
.row__ville{
  font-weight: 650;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .85;
}
.row__cta{ text-align:right; }
@media (max-width: 980px){
  .row{
    grid-template-columns: 1fr 120px;
    grid-template-areas:
      "spectacle cta"
      "place cta"
      "date cta";
    align-items:start;
  }
  .row__spectacle{ grid-area: spectacle; }
  .row__place{ grid-area: place; }
  .row__date{ grid-area: date; }
  .row__cta{ grid-area: cta; text-align:right; }
}
/* =========================================================
   Grids (chansons / livres)
   ========================================================= */
.grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 22px;
}
.grid--small{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
  margin: 0 auto;
}

.tile{
  display:block;
  text-align:center;
}
.tile__media{
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  transition: transform .18s ease, border-color .18s ease;
}
.section--light .tile__media{
  background: rgba(20,17,12,.04);
  border: 1px solid rgba(20,17,12,.14);
}
.tile:hover .tile__media{
  transform: translateY(-2px);
  border-color: rgba(193,143,89,.55);
}

.tile__meta{ padding-top: 12px; }
.tile__year{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .75;
}
.section--light .tile__year{ color: var(--muted2); }
.tile__title{
  font-size: 15px;
  font-weight: 700;
  margin-top: 6px;
}

.tile--book .tile__media{
  aspect-ratio: 3 / 4;
  max-width: 320px;
  margin: 0 auto;
}

/* ===== LIVRES avec image ===== */

.tile__media--book{
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.12);
}

.tile__media--book img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== centrage automatique si 1 seul livre ===== */
.grid--center{
  display: flex;
  justify-content: center;
}

.grid--center .tile{
  max-width: 420px;
}
/* =========================================================
   Videos
   ========================================================= */
.video-strip{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items:start;
}

.video__thumb{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(20,17,12,.06);
  border: 1px solid rgba(20,17,12,.14);
  border-radius: 14px;
  position: relative;
  display:grid;
  place-items:center;
}
.section--dark .video__thumb{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}

.play{
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid rgba(193,143,89,.55);
  display:grid;
  place-items:center;
  background: rgba(193,143,89,.14);
  color: #fff;
  font-size: 18px;
}
.video__title{
  margin-top: 10px;
  text-align:center;
  font-size: 13px;
  font-weight: 700;
  opacity:.9;
}

.center{ text-align:center; margin-top: 30px; }

/* =========================================================
   Newsletter
   ========================================================= */
.news{
  max-width: 640px;
  margin: 0 auto;
  display:grid;
  gap: 12px;
  justify-items:center;
}

.news input[type="email"]{
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 16px;
  outline: none;
}
.news input::placeholder{ color: rgba(255,255,255,.55); }

.check{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}
.check input{ margin-top: 2px; }

/* =========================================================
   Footer
   ========================================================= */
.footer{
  background: var(--paper);
  color: var(--ink);
  padding: 22px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap: 16px;
  flex-wrap:wrap;
  font-size: 13px;
}
.footer .link{
  color: var(--ink);
  text-decoration-color: rgba(193,143,89,.45);
}
.sep{ opacity: .5; padding: 0 8px; }

/* =========================================================
   Accessibility
   ========================================================= */
.sr{
  position:absolute;
  width:1px; height:1px;
  padding:0; margin:-1px;
  overflow:hidden; clip: rect(0,0,0,0);
  white-space:nowrap; border:0;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px){
  .nav{ display:none; }
  .row{ grid-template-columns: 140px 1fr 140px; }
  .grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-strip{ grid-template-columns: 1fr; }
}
@media (max-width: 520px){
  .topbar__inner{ height: 76px; }
  .brand__name{ font-size: 26px; }
  .row{ grid-template-columns: 1fr; text-align:center; }
  .row__cta{ text-align:center; }
  .btn--outline{ width: 100%; max-width: 260px; }
}

/* Menu "Spectacles" sur 2 lignes + sous-titre doré */
.navstack{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.navsub{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(193,143,89,.95); /* même doré que le kicker */
}
/* ===== HERO SLIDER (multi hero) ===== */
.hero--slider{
  position: relative;
  padding: 0;
}

.hero__slides{
  position: relative;
  min-height: 560px; /* même hauteur que ton hero */
}

.hero__slide{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}

/* on garde ton style de fond "hero" existant */
.hero__slide::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(800px 420px at 20% 35%, rgba(193,143,89,.16), transparent 60%),
    radial-gradient(900px 520px at 75% 20%, rgba(255,255,255,.06), transparent 62%);
  opacity:.9;
  pointer-events:none;
}

.hero__slide[style*="--hero-bg"]::after{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  opacity: .26;
  filter: saturate(.95) contrast(1.05);
  mix-blend-mode: screen;
}

.hero__slide.is-active{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero__slide .hero__inner{
  position: relative;
  z-index: 2;
}

/* Flèches */
.hero__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.hero__nav:hover{ border-color: rgba(193,143,89,.65); }
.hero__nav--prev{ left: 16px; }
.hero__nav--next{ right: 16px; }

/* Dots */
.hero__dots{
  position: absolute;
  left: 0; right: 0;
  bottom: 20px;
  display:flex;
  justify-content:center;
  gap: 10px;
  z-index: 5;
}
.hero__dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.40);
  background: rgba(255,255,255,.12);
  cursor:pointer;
}
.hero__dot.is-active{
  border-color: rgba(193,143,89,.9);
  background: rgba(193,143,89,.45);
}

/* Mobile : flèches plus discrètes */
@media (max-width: 520px){
  .hero__nav{ width: 40px; height: 40px; font-size: 24px; }
  .hero__nav--prev{ left: 10px; }
  .hero__nav--next{ right: 10px; }
}
/* ===== HERO LAYOUT : contenu large, aligné à gauche ===== */
.hero__inner{
  text-align: left;               /* on casse le centrage */
  padding: 96px 0;                /* plus de respiration */
}

/* grille : texte à gauche, vide à droite */
.hero__inner--grid{
  display: grid;
  grid-template-columns: minmax(320px, 560px) 1fr;
  gap: 48px;
  align-items: center;
}

.hero__content{
  max-width: 560px;               /* bloc texte confortable */
}

/* titres un peu plus “présents” */
.hero__headline{
  max-width: 18ch;                /* belle coupe (évite les lignes trop longues) */
}

/* CTA aligné à gauche */
.hero .btn{
  justify-content: flex-start;
}

/* Responsive : on repasse en 1 colonne */
@media (max-width: 980px){
  .hero__inner--grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hero__content{
    max-width: 720px;
  }
  .hero__inner{
    padding: 72px 0;
  }
}
/* ===== BUGFIX : slider dans un hero flex (contenu absolu => largeur 0) ===== */
.hero--slider{
  display: block;         /* au lieu de flex */
  min-height: 560px;      /* garde la hauteur */
}

.hero--slider .hero__slides{
  width: 100%;
  min-height: 560px;
}

.hero--slider .hero__slide{
  width: 100%;
}
/* ===== Boutons adaptés aux sections claires ===== */
.section--light .btn{
  background: rgba(20,17,12,.06);
  color: var(--ink);
  border-color: rgba(20,17,12,.18);
}

.section--light .btn:hover{
  background: rgba(193,143,89,.12);
  border-color: rgba(193,143,89,.55);
}

/* "Outline" en clair : outline sombre */
.section--light .btn--outline{
  background: transparent;
  color: var(--ink);
  border-color: rgba(20,17,12,.30);
}

.section--light .btn--outline:hover{
  background: rgba(20,17,12,.06);
  border-color: rgba(193,143,89,.55);
}
.section--light .btn--dark{
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(20,17,12,.20);
}
.section--light .btn--dark:hover{
  background: #0f0d09;
}
/* =========================================================
   Section Auteur (dark)
   ========================================================= */

.section-author{
  padding: 110px 0;
}

.author{
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}

/* Photo */
.author__photo img{
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
}

/* Contenu */
.author__content{
  max-width: 720px;
}

.section__title--left{
  text-align: left;
  margin-bottom: 28px;
}

.section__title--left::after{
  margin-left: 0;
}

/* Texte */
.author__lead{
  font-size: 18px;
  font-weight: 600;
  color: rgba(193,143,89,.95);
  margin-bottom: 18px;
}

.author__content p{
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Signature */
.author__signature{
  margin-top: 28px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

/* Responsive */
@media (max-width: 980px){
  .author{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .author__photo{
    max-width: 320px;
  }

  .section__title--left{
    text-align: center;
  }

  .section__title--left::after{
    margin: 18px auto 0;
  }
}
/* ===== Comédies musicales amateurs ===== */

.tile--amateur{
  max-width: 760px;
  margin: 0 auto;
}

.tile__media--amateur{
  aspect-ratio: 16 / 9;
  background: rgba(20,17,12,.06);
  border: 1px solid rgba(20,17,12,.14);
  border-radius: 18px;
  margin-bottom: 18px;
}

.tile__text{
  font-size: 15px;
  line-height: 1.55;
  color: rgba(20,17,12,.75);
  margin: 12px 0 20px;
  text-align: center;
}
/* ===== Spectacles PRO ===== */
.tile--spectacle{
  max-width: 520px;
  margin: 0 auto;
}

.tile__media--spectacle{
  aspect-ratio: 16 / 9;
  background: rgba(20,17,12,.06);
  border: 1px solid rgba(20,17,12,.14);
  border-radius: 18px;
  margin-bottom: 18px;
}

/* ===== Spectacles AMATEURS ===== */
.tile--amateur{
  max-width: 760px;
  margin: 0 auto;
}

.tile__media--amateur{
  aspect-ratio: 16 / 9;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  margin-bottom: 18px;
}

.tile__text{
  font-size: 15px;
  line-height: 1.55;
  margin: 12px 0;
  text-align: center;
}

.section--dark .tile__text{
  color: rgba(255,255,255,.75);
}
.section--light .tile__text{
  color: rgba(20,17,12,.75);
}
.tile__media{
  position: relative;
  overflow: hidden;           /* CLÉ */
}

.tile__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;          /* CLÉ */
  object-position: center;    /* ajustable */
  display: block;
}
/* ===== Chansons audio ===== */

.songs{
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.song{
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(20,17,12,.04);
  border: 1px solid rgba(20,17,12,.14);
}

.song__title{
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--ink);
}

/* Player */
.song audio{
  width: 100%;
  outline: none;
}

/* Dark section compatibility */
.section--dark .song{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
}
.section--dark .song__title{
  color: var(--text);
}/* ===== Chansons : bande horizontale (défilement) ===== */

.hstrip{
  position: relative;

  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 340px);
  gap: 16px;

  overflow-x: auto;
  padding: 6px 28px 14px;      /* marge intérieure pour éviter que ça colle aux bords */
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 28px; /* snap plus agréable */
  -webkit-overflow-scrolling: touch;
}

/* Les voiles de fondu (ne coupent PAS le contenu) */
.hstrip::before,
.hstrip::after{
  content:"";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 46px;
  pointer-events: none;
  z-index: 5;
}

.hstrip::before{
  left: 0;
  background: linear-gradient(90deg, rgba(251,247,240,1), rgba(251,247,240,0));
}

.hstrip::after{
  right: 0;
  background: linear-gradient(270deg, rgba(251,247,240,1), rgba(251,247,240,0));
}

/* Si jamais tu utilises la strip dans une section dark */
.section--dark .hstrip::before{
  background: linear-gradient(90deg, rgba(12,11,9,1), rgba(12,11,9,0));
}
.section--dark .hstrip::after{
  background: linear-gradient(270deg, rgba(12,11,9,1), rgba(12,11,9,0));
}

.section--dark .hstrip::-webkit-scrollbar-track{ background: rgba(255,255,255,.08); }
.section--dark .hstrip::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.18); }

.hcard{
  scroll-snap-align: start;
  border-radius: 16px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(20,17,12,.14);
  background: rgba(20,17,12,.04);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);
}

.hcard__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hcard__title{
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ink);
}

.hcard__sub{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(193,143,89,.90);
}

.hcard__player{
  width: 100%;
}

/* Dark compat (si tu réutilises ce composant en section dark) */
.section--dark .hcard{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
}
.section--dark .hcard__title{
  color: var(--text);
}
/* Bande horizontale : cartes plus hautes */
.hstrip{
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 360px); /* un peu plus large */
  gap: 18px;

  overflow-x: auto;
  padding: 6px 28px 14px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 28px;
  -webkit-overflow-scrolling: touch;
}

/* Carte chanson = carte haute */
.hcard--song{
  scroll-snap-align: start;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(20,17,12,.14);
  background: rgba(20,17,12,.03);
  box-shadow: 0 18px 55px rgba(0,0,0,.08);

  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 300px; /* CLÉ: hauteur "spectacle" */
}

/* Visuel haut (comme un spectacle) */
.hcard__media{
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(20,17,12,.06);
}

.hcard__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.95) contrast(1.05);
}

/* Corps */
.hcard__body{
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.hcard__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hcard__title{
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--ink);
}

.hcard__sub{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(193,143,89,.90);
}

/* Player */
.hcard__player{
  width: 100%;
}

/* Dark compat si tu réutilises */
.section--dark .hcard--song{
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 18px 55px rgba(0,0,0,.32);
}
.section--dark .hcard__title{ color: var(--text); }

.hstrip{ position: relative; }
.hstrip > *{ position: relative; z-index: 2; } /* les cartes AU-DESSUS */
.hstrip::before,
.hstrip::after{ z-index: 1; }                 /* le fondu EN-DESSOUS */

.hcard__title{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.hcard__meta > *{ min-width: 0; } /* IMPORTANT */

/* Le conteneur meta est en flex : on autorise le shrink */
.hcard__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

/* IMPORTANT : autorise la réduction du titre dans le flex */
.hcard__title{
  min-width: 0;           /* clé pour que l’ellipsis marche en flex */
  flex: 1 1 auto;         /* prend la place dispo */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* “ÉCOUTER” ne doit pas rétrécir */
.hcard__sub{
  flex: 0 0 auto;
  white-space: nowrap;
}

.tile__media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===== Placeholder chanson (sans image) ===== */

.hcard__placeholder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;

  background:
    radial-gradient(120% 120% at 20% 20%, rgba(193,143,89,.35), transparent 55%),
    linear-gradient(180deg, #f2eee6, #ebe5da);

  border-bottom: 1px solid rgba(20,17,12,.12);
}

.hcard__placeholder span{
  font-family: var(--serif);
  font-size: 68px;
  font-weight: 800;
  color: rgba(20,17,12,.25);
  letter-spacing: .04em;
}

/* Description chanson */
.hcard__desc{
  font-size: 14px;
  line-height: 1.45;
  color: rgba(20,17,12,.75);
  margin: 6px 0 10px;
}

/* Dark compatibility */
.section--dark .hcard__placeholder{
  background:
    radial-gradient(120% 120% at 20% 20%, rgba(193,143,89,.25), transparent 55%),
    linear-gradient(180deg, #1a1712, #14110c);
}
.section--dark .hcard__placeholder span{
  color: rgba(255,255,255,.25);
}

/* =========================
   CHANSONS – cartes + player
   ========================= */

.hcard--song{
  width: 340px;                 /* ajuste si besoin */
  border-radius: 26px;
  border: 1px solid rgba(20,17,12,.18);
  background: rgba(255,255,255,.22);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);
  overflow: hidden;
}

.hcard--song .hcard__media{
  height: 160px;                /* media moins haute, plus “showcase” */
  overflow: hidden;
  background: rgba(20,17,12,.03);
}

.hcard--song .hcard__media img,
.hcard--song .hcard__media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hcard--song .hcard__body{
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Titre + “écouter” */
.hcard--song .hcard__meta{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.hcard--song .hcard__title{
  min-width: 0;
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hcard--song .hcard__sub{
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(193,143,89,.95);
  white-space: nowrap;
}

/* Description : max 2 lignes, pas de trou énorme */
.hcard--song .hcard__desc{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(20,17,12,.70);

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Player : toujours proche du texte, pas collé en bas */
.hcard--song .hcard__player{
  margin-top: 10px;
  width: 100%;
}

/* Placeholder (si pas d'image) : garde le style mais dans ce ratio */
.hcard--song .hcard__placeholder{
  width: 100%;
  height: 100%;
}
.hcard--song .hcard__placeholder span{
  font-size: 72px;   /* un poil plus grand */
}

.hstrip{
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 18px 6px 10px;
  scroll-snap-type: x mandatory;

  /* évite les effets de “masque” chelous */
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

.hstrip > .hcard{ scroll-snap-align: start; }

.hstrip::-webkit-scrollbar{ height: 10px; }
.hstrip::-webkit-scrollbar-thumb{
  background: rgba(20,17,12,.18);
  border-radius: 999px;
}

/* ===== FIX CHANSONS (carrousel) ===== */

/* Le carrousel */
.hstrip{
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 18px 6px 28px; /* + bas pour éviter que le player soit coupé */
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hstrip > *{ scroll-snap-align: start; }

/* La carte */
.hcard--song{
  flex: 0 0 420px;            /* largeur stable, pas minuscule */
  border-radius: 28px;
  border: 1px solid rgba(20,17,12,.18);
  background: rgba(255,255,255,.22);
  box-shadow: 0 14px 40px rgba(0,0,0,.06);

  overflow: visible;          /* IMPORTANT : ne coupe pas les contrôles audio */
}

/* Zone visuel */
.hcard--song .hcard__media{
  height: 210px;              /* plus proche du “format spectacle” */
  overflow: hidden;           /* ok ici seulement */
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  border-bottom: 1px solid rgba(20,17,12,.10);
}

/* Placeholder ou img/video */
.hcard--song .hcard__media img,
.hcard--song .hcard__media video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Le contenu */
.hcard--song .hcard__body{
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Titre sur 2 lignes max (au lieu d’être tronqué) */
.hcard--song .hcard__title{
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Descriptif 2 lignes max */
.hcard--song .hcard__desc{
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(20,17,12,.70);

  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Player : plein large, pas coupé */
.hcard--song .hcard__player{
  width: 100%;
  display: block;
  margin-top: 6px;
}

/* ===== CHANSONS : version plus légère ===== */

.hcard--song{
  flex: 0 0 360px;     /* au lieu de 420px */
}

.hcard--song .hcard__media{
  height: 140px;       /* au lieu de 210px */
}

.hcard--song .hcard__body{
  padding: 14px 16px 14px;
  gap: 8px;
}

.hcard--song .hcard__desc{
  font-size: 14px;
  -webkit-line-clamp: 1; /* 1 ligne suffit en aperçu */
}

.hstrip{
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 4px 24px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hcard{
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;              /* ⬅️ ESSENTIEL */
  flex: 0 0 360px;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.hcard__player{
  width: 100%;
  max-width: 100%;
  display: block;
}

.section--light{
  overflow-x: hidden;
}

.playlist {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.track {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-radius: 16px;
  background: rgba(0,0,0,0.03);
  transition: background .25s ease;
}

.track:hover {
  background: rgba(0,0,0,0.06);
}

.track__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.track__desc {
  margin-top: .3rem;
  font-size: .9rem;
  opacity: .75;
}

.track__player audio {
  width: 260px;
}

/* =========================================================
   Newsletter en section LIGHT (inputs + bouton visibles)
   ========================================================= */
.section--light .news input[type="email"]{
  border: 1px solid rgba(20,17,12,.18);
  background: rgba(255,255,255,.75);
  color: var(--ink);
}

.section--light .news input::placeholder{
  color: rgba(20,17,12,.45);
}

.section--light .check{
  color: rgba(20,17,12,.70);
}

.section--light .check input{
  accent-color: var(--accent); /* couleur du checkbox */
}

/* Bouton en light : version "dark" automatique */
.section--light .news .btn{
  background: #1a1712;
  border-color: rgba(20,17,12,.18);
  color: #fff;
}

.section--light .news .btn:hover{
  background: #221e18;
}

/* =========================================================
   Contact form (LIGHT)
   ========================================================= */
.section__lead{
  max-width: 760px;
  margin: -8px auto 28px;
  text-align: center;
  color: rgba(20,17,12,.70);
  font-size: 16px;
  line-height: 1.5;
}

.form{
  max-width: 860px;
  margin: 0 auto;
}

.form__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
  margin-bottom: 14px;
}

.field{
  display:grid;
  gap: 8px;
}

.field label{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(20,17,12,.70);
}

.field input,
.field textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(20,17,12,.18);
  background: rgba(255,255,255,.78);
  color: var(--ink);
  font-size: 16px;
  padding: 12px 14px;
  outline: none;
}

.field textarea{
  resize: vertical;
  min-height: 160px;
}

.field input:focus,
.field textarea:focus{
  border-color: rgba(193,143,89,.80);
  box-shadow: 0 0 0 4px rgba(193,143,89,.18);
}

.field--full{
  grid-column: 1 / -1;
}

.section--light .check{
  color: rgba(20,17,12,.70);
  justify-content:center;
  max-width: 760px;
  margin: 10px auto 0;
}

.section--light .check input{
  accent-color: var(--accent);
}

.form__note{
  text-align:center;
  margin-top: 16px;
  color: rgba(20,17,12,.60);
  font-size: 13px;
}

@media (max-width: 760px){
  .form__grid{ grid-template-columns: 1fr; }
}

.section__lead--dark{
  max-width: 860px;
  margin: -8px auto 34px;
  text-align: center;
  color: var(--muted);
  line-height: 1.55;
}

.tile__kicker{
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(193,143,89,.95);
  margin-bottom: 10px;
}

.tile__bullets{
  margin: 14px 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.tile__bullets li{
  padding-left: 16px;
  position: relative;
}
.tile__bullets li::before{
  content: "•";
  position: absolute;
  left: 0;
  color: rgba(193,143,89,.9);
}

.tile__ctaRow{
  display:flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.tile__fine{
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  line-height: 1.45;
}

.nowrap{ white-space: nowrap; }

/* =========================================================
   Page chansons : header + playlist
   ========================================================= */
.pagehead--light{
  padding: 54px 0 22px;
  background: var(--paper);
  color: var(--ink);
  border-bottom: 1px solid rgba(20,17,12,.10);
}
.pagehead__title{
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4.2vw, 52px);
  text-align: center;
}
.pagehead__sub{
  margin: 12px auto 0;
  max-width: 780px;
  text-align: center;
  color: rgba(20,17,12,.70);
  line-height: 1.55;
}

.searchbar{
  margin: 22px auto 0;
  max-width: 780px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.searchbar input[type="search"]{
  flex: 1 1 360px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(20,17,12,.18);
  background: rgba(255,255,255,.75);
  padding: 0 16px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.searchbar input[type="search"]:focus{
  border-color: rgba(193,143,89,.80);
  box-shadow: 0 0 0 4px rgba(193,143,89,.18);
}

/* Playlist */
.playlist--full{
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.track{
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(20,17,12,.12);
  background: rgba(20,17,12,.03);
}
.track__left{
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
}
.track__cover{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(20,17,12,.12);
  background: rgba(20,17,12,.05);
  overflow: hidden;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.track__cover img{ width:100%; height:100%; object-fit:cover; display:block; }
.track__mark{
  font-family: var(--serif);
  letter-spacing: .06em;
  color: rgba(20,17,12,.55);
  font-size: 18px;
}
.track__info{ min-width: 0; }
.track__title{
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
}
.track__desc{
  margin-top: 6px;
  color: rgba(20,17,12,.68);
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.track__right{ display:flex; justify-content:flex-end; }
.track__player{ width: 100%; }
.track__missing{ opacity:.6; font-size: 13px; }

/* Responsive */
@media (max-width: 920px){
  .track{ grid-template-columns: 1fr; }
  .track__right{ justify-content: flex-start; }
}
/* ===== Mobile nav ===== */
.mnav__btn{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.12);
  color: #fff;
  cursor: pointer;
}
.mnav__btn:hover{ border-color: rgba(193,143,89,.65); }

.mnav__burger{
  width: 18px;
  height: 2px;
  background: #fff;
  display:block;
  margin: 0 auto;
  position: relative;
}
.mnav__burger::before,
.mnav__burger::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  height:2px;
  background:#fff;
}
.mnav__burger::before{ top:-6px; }
.mnav__burger::after{ top:6px; }

.mnav{
  position: fixed;
  top: 84px;
  left: 16px;
  right: 16px;
  z-index: 50;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(12,11,9,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 10px;
}
.mnav a{
  display:block;
  padding: 14px 14px;
  border-radius: 14px;
  font-size: 14px;
  letter-spacing: .10em;
  text-transform: uppercase;
  opacity: .92;
}
.mnav a:hover{
  background: rgba(255,255,255,.06);
}

/* Affichage mobile */
@media (max-width: 980px){
  .nav{ display:none; }
  .mnav__btn{ display:inline-grid; place-items:center; }
}
@media (max-width: 520px){
  .mnav{ top: 76px; }
}