/* ================================================
   BENJAMIN ET SA GUITARE — skin.css
   Re-skin "univers album" (chargé APRÈS style.css)
   Palette ciel / nuages / colline + illustrations d'Albertine
   ================================================ */

:root {
  --sky:        #9AD4F2;
  --sky-light:  #C9ECFB;
  --sky-deep:   #6FBEE8;
  --grass:      #9CCB5C;
  --grass-deep: #6FA83E;
  --cloud:      #FFFFFF;
}

/* ===== NAV sur ciel clair (texte foncé avant scroll) ===== */
.skin .nav:not(.nav--scrolled) .nav__link        { color: var(--green-deep); }
/* wordmark nav = lettrage exact de la pochette (image) */
.nav__logo { height: 24px; }
@media (max-width: 560px) { .nav__logo { height: 18px; } }
.skin .nav:not(.nav--scrolled) .nav__link:hover   { color: var(--green-deep); background: rgba(15,61,56,.08); }
.skin .nav:not(.nav--scrolled) .nav__cta          { color: #fff !important; }
.skin .nav:not(.nav--scrolled) .nav__burger span  { background: var(--green-deep); }

/* ===== BTN ghost clair ===== */
.btn--sky-ghost {
  background: rgba(255,255,255,.55);
  color: var(--green-deep);
  border-color: var(--green-deep);
  backdrop-filter: blur(4px);
}
.btn--sky-ghost:hover { background: #fff; }

/* ================================================
   HERO — ciel
   ================================================ */
.hero--sky { background: linear-gradient(180deg, #CDEDFB 0%, var(--sky) 55%, var(--sky-deep) 100%); }
.hero--sky .hero__sky { position: absolute; inset: 0; overflow: hidden; }

/* nuages puffy */
.cloud {
  position: absolute;
  background: var(--cloud);
  border-radius: 100px;
  opacity: .92;
  filter: drop-shadow(0 10px 24px rgba(80,140,180,.18));
}
.cloud::before, .cloud::after {
  content: ''; position: absolute; background: var(--cloud); border-radius: 50%;
}
.cloud::before { width: 58%; height: 160%; top: -70%; left: 12%; }
.cloud::after  { width: 42%; height: 130%; top: -45%; right: 14%; }
.cloud--1 { width: 180px; height: 46px; top: 14%;  left: 8%;  animation: cloud-drift 70s linear infinite; }
.cloud--2 { width: 120px; height: 34px; top: 26%;  left: 70%; animation: cloud-drift 90s linear infinite; }
.cloud--3 { width: 220px; height: 54px; top: 50%;  left: 78%; opacity: .8; animation: cloud-drift 110s linear infinite reverse; }
.cloud--4 { width: 100px; height: 30px; top: 62%;  left: 14%; opacity: .85; animation: cloud-drift 80s linear infinite reverse; }
.cloud--5 { width: 150px; height: 40px; top: 9%;   left: 44%; opacity: .9; animation: cloud-drift 130s linear infinite; }
@keyframes cloud-drift { to { transform: translateX(40px); } }

.hero--sky .hero__canvas { opacity: .5; }

/* contenu : texte foncé sur ciel */
.hero--sky .hero__content { max-width: 1100px; text-align: left; padding-bottom: clamp(48px, 9vh, 110px); }
.hero--sky .hero__eyebrow { color: var(--red); }
.hero--sky .hero__title {
  /* lettrage manuscrit « façon pochette » (Caveat Brush), casse mixte comme le livret */
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  line-height: .95;
  font-size: clamp(64px, 10vw, 132px);
  color: var(--green-deep);
  text-shadow: 0 2px 0 rgba(255,255,255,.35);
}
.hero--sky .hero__title-line--accent { color: var(--red); }
.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 46px);
  color: var(--green);
  line-height: 1;
  margin: -8px 0 22px;
  opacity: 0; /* animé par GSAP */
}
.hero--sky .hero__subtitle { color: var(--ink-soft); max-width: 620px; }

/* ===================================================================
   Typographie « pochette » — tous les titres en manuscrit (Caveat Brush)
   Remplace Alfa Slab MAJUSCULES pour coller au lettrage du livret.
   Couleurs/marges d'origine conservées ; seuls police, casse, interlignage
   et taille sont ajustés (le manuscrit « pèse » moins que le slab).
   =================================================================== */
.section__title,
.story__chapter-title,
.contact__info-title,
.t-display {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.02;
}
.section__title    { font-size: clamp(46px, 6.2vw, 84px); }
.story__chapter-title { font-size: clamp(40px, 4.6vw, 64px); }
.contact__info-title  { font-size: clamp(44px, 5.6vw, 74px); }

/* titres de cartes (définis dans style.css) — mêmes règles manuscrites */
.service-card__title,
.agenda__featured-title,
.player__track-name,
.event-card__title {
  font-family: var(--font-display);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.05;
}
.service-card__title    { font-size: 28px; }
.agenda__featured-title { font-size: 32px; }
.player__track-name     { font-size: 22px; }
.event-card__title      { font-size: 22px; }

/* colline + personnages */
.hero__hill {
  position: relative;
  z-index: 2;
  height: clamp(78px, 12vh, 124px);
  background: var(--grass);
  border-radius: 50% 50% 0 0 / 90px 90px 0 0;
  margin-top: 0;
}
.hero__hill::after { /* ombre douce au sommet */
  content: ''; position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 8px 20px rgba(255,255,255,.25);
}
.hero__char {
  position: absolute;
  bottom: 6px;
  height: clamp(96px, 15vh, 168px);
  width: auto;
  filter: drop-shadow(0 8px 10px rgba(40,80,40,.22));
  pointer-events: none;
  z-index: 3;
}
.hero__char--rooster { left: 4%;  height: clamp(66px, 9.5vh, 112px); }
.hero__char--dancer  { left: 18%; height: clamp(58px, 8.5vh, 98px); }
.hero__char--snail   { left: 52%; height: clamp(50px, 7vh, 84px); transform: translateX(-50%); }
.hero__char--croco   { right: 5%; height: clamp(92px, 13vh, 150px); }
.hero__char--train   { right: 28%; bottom: 2px; height: clamp(44px, 6.5vh, 78px); }

/* bandeau chiffres : bande verte foncée au pied du héros */
.hero--sky .hero__proof {
  position: relative; z-index: 2;
  background: var(--green-deep);
  border-top: none;
  margin-top: 0;
}
.hero--sky .hero__proof-item { border-right-color: rgba(255,255,255,.12); }

/* ================================================
   ALBUM — vraie pochette + tracklist
   ================================================ */
/* intro (titre + tagline + desc + genres) centrée au-dessus de la pochette */
.album__intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(36px, 5vw, 60px);
}
.album__intro .album__desc {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.album__intro .album__genres {
  justify-content: center;
  margin-bottom: 0;
}

.album__cover--real {
  background: none;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.album__cover--real img { width: 100%; height: 100%; object-fit: cover; }

.album__tagline {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--yellow);
  margin: -6px 0 18px;
}

/* genres = chips descriptives (non interactives) */
.album .genre-pill { cursor: default; }

/* note sous le bouton play */
.player__note {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-style: italic;
}

/* tracklist complète 14 titres */
.player__tracks--full {
  list-style: none;
  margin-top: 18px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.player__tracks--full .player__track-item {
  display: grid;
  grid-template-columns: 40px 16px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 12px;
}
.player__track-thumb {
  width: 40px; height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255,255,255,.08);
  padding: 3px;
}
.player__track-n {
  font-size: 12px; color: rgba(255,255,255,.35);
  text-align: right; font-variant-numeric: tabular-nums;
}
.player__track-meta { display: flex; flex-direction: column; min-width: 0; }
.player__track-meta b {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.9);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__track-meta b em { font-style: normal; color: var(--red); font-size: 11px; }
.player__track-meta i {
  font-style: normal; font-size: 11px;
  color: rgba(255,255,255,.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.player__track-dur {
  font-size: 12px; color: rgba(255,255,255,.5);
  font-variant-numeric: tabular-nums;
}
.player__track-item.playing .player__track-meta b { color: var(--yellow); }
.player__track-item .player__track-thumb { transition: transform .25s var(--ease-out); }
.player__track-item:hover .player__track-thumb { transform: scale(1.08) rotate(-3deg); }

/* ================================================
   CHANSONS EN IMAGES — cartes illustrées (marquee)
   ================================================ */
.chansons { background: linear-gradient(180deg, var(--sky-light) 0%, var(--cream) 100%); }
.song-card {
  flex-shrink: 0;
  width: 230px;
  margin: 0;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 6px 22px rgba(60,120,160,.14);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.song-card:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 18px 44px rgba(60,120,160,.22); }
.song-card__art {
  position: relative;
  height: 180px;
  display: flex; align-items: center; justify-content: center;
  background: #D9ECFA;
  padding: 18px;
}
.song-card__art img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(40,80,110,.18)); transition: opacity .35s var(--ease-out); }
.song-card__video {
  position: absolute; top: 18px; left: 18px;
  width: calc(100% - 36px); height: calc(100% - 36px);
  object-fit: contain;
  filter: drop-shadow(0 6px 8px rgba(40,80,110,.18));
  opacity: 0; pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.song-card.is-playing .song-card__video { opacity: 1; }
.song-card.is-playing .song-card__art img { opacity: 0; }
.song-card figcaption { padding: 14px 18px 18px; display: flex; flex-direction: column; gap: 2px; }
.song-card figcaption b {
  font-family: var(--font-slab); font-size: 14px;
  text-transform: uppercase; color: var(--green-deep); line-height: 1.15;
}
.song-card figcaption span { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ================================================
   SERVICES — illustration en tête de carte
   ================================================ */
.service-card__top--illus {
  display: flex; align-items: flex-end; justify-content: center;
  height: 150px; padding: 14px;
  background: linear-gradient(180deg, var(--sky-light), var(--sky));
}
.service-card:nth-child(2) .service-card__top--illus { background: linear-gradient(180deg, #FFE9A8, var(--yellow)); }
.service-card:nth-child(3) .service-card__top--illus { background: linear-gradient(180deg, #BFE3A0, var(--grass)); }
.service-card__illus { max-height: 124px; width: auto; filter: drop-shadow(0 6px 8px rgba(40,80,40,.2)); transition: transform .4s var(--ease-out); }
.service-card:hover .service-card__illus { transform: translateY(-6px) scale(1.05); }

/* ================================================
   ARTISANS / CRÉDITS
   ================================================ */
.artisans__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-bottom: 48px;
}
.artisan-card {
  background: #fff; border-radius: 22px; padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border-top: 5px solid var(--yellow);
}
.artisan-card:nth-child(2) { border-top-color: var(--red); }
.artisan-card:nth-child(3) { border-top-color: var(--green); }
.artisan-card__role {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
}
.artisan-card__name {
  font-family: var(--font-display); font-size: 34px; text-transform: none; letter-spacing: 0;
  color: var(--green-deep); margin: 8px 0 10px; line-height: 1.02;
}
.artisan-card__note { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

.artisans__list {
  background: #fff; border-radius: 24px; padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.artisans__list-title {
  font-family: var(--font-display); font-size: 26px; text-transform: none; letter-spacing: 0;
  color: var(--green-deep); margin-bottom: 22px;
}
.credits {
  list-style: none;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px 28px;
}
.credits li { display: flex; flex-direction: column; border-left: 3px solid var(--yellow); padding-left: 12px; }
.credits li b { font-size: 15px; color: var(--ink); }
.credits li span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.artisans__prod {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08);
  font-size: 13px; color: var(--muted); line-height: 1.7;
}
.artisans__prod span { font-weight: 700; color: var(--green); }

/* ================================================
   AGENDA — placeholder honnête
   ================================================ */
/* l'attribut hidden doit l'emporter sur .agenda__countdown{display:flex} du base */
.agenda__countdown[hidden] { display: none !important; }

.agenda__empty {
  background: #fff; border-radius: 22px; padding: 48px 40px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  min-height: 280px; justify-content: center;
  border: 2px dashed rgba(15,61,56,.18);
}
.agenda__empty-title { font-family: var(--font-display); font-size: 30px; text-transform: none; color: var(--green-deep); }
.agenda__empty-text { font-size: 15px; color: var(--ink-soft); line-height: 1.6; max-width: 420px; }
.agenda__empty .btn { margin-top: 8px; }

/* ================================================
   MERCI — mur de noms (185 familles)
   ================================================ */
.merci { background: linear-gradient(180deg, var(--cream) 0%, var(--sky-light) 100%); overflow: hidden; }
.merci__wall { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.merci__row {
  display: flex; gap: 14px; white-space: nowrap; width: max-content;
  will-change: transform;
  animation: merci-scroll 90s linear infinite;
}
.merci__row--rev { animation-direction: reverse; animation-duration: 110s; }
.merci__row--slow { animation-duration: 130s; }
.merci__name {
  flex-shrink: 0;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: var(--green-deep);
  background: #fff;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(60,120,160,.12);
}
.merci__name::before { content: '♥'; color: var(--red); margin-right: 7px; font-size: 11px; }
@keyframes merci-scroll { to { transform: translateX(-50%); } }

/* ================================================
   FOOTER — strip "ciel" (4e de couverture)
   ================================================ */
.footer { padding-top: 0; }
.footer__clouds {
  width: 100%;
  max-width: none;                 /* pleine largeur, bord à bord */
  height: auto;                    /* scène entière, aucun personnage coupé */
  display: block;
  margin: 0 0 -30px;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.footer__wordmark { margin-top: 40px; }
.footer__credits-line {
  width: var(--container); margin: 0 auto 24px;
  text-align: center; font-size: 12px; color: rgba(255,255,255,.4);
  line-height: 1.7; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .artisans__grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .hero__char--snail, .hero__char--train { display: none; }
  .hero__char--rooster { left: 2%; }
  .hero__char--croco { right: 2%; }
  .hero--sky .hero__content { text-align: center; margin: 0 auto; }
  .hero--sky .hero__subtitle { margin-left: auto; margin-right: auto; }
  /* titre & eyebrow : autoriser le retour à la ligne (sinon débordement droite) */
  .hero--sky .hero__title { font-size: clamp(44px, 13vw, 68px); }
  .hero--sky .hero__title-line { white-space: normal; }
  .hero--sky .hero__eyebrow { font-size: clamp(15px, 4.4vw, 22px); }
  .hero--sky .hero__tagline { font-size: clamp(22px, 6.5vw, 32px); }
  /* CTA : empilés pleine largeur */
  .hero__cta { flex-wrap: wrap; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .credits { grid-template-columns: 1fr 1fr; }
  .player__tracks--full { max-height: 320px; }
}
@media (max-width: 480px) {
  .credits { grid-template-columns: 1fr; }
  .song-card { width: 180px; }
  .song-card__art { height: 150px; }
}

/* ===================================================================
   FOOTER — logo « nuage » (bandeau transparent avec le titre)
   Le logo contient déjà le titre + sous-titre : on l'affiche tel quel,
   sans recadrage carré ni cadre (ce n'est plus une vignette de disque).
   =================================================================== */
.footer__brand-logo img {
  width: clamp(200px, 24vw, 300px);
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 4px;
}

/* ================================================
   PERF / FLUIDITÉ  (audit performance)
   ================================================ */
/* smooth-scroll natif (remplace Lenis) + décalage des ancres sous la nav fixe */
html { scroll-behavior: smooth; }
main section[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* anti-CLS : réserve la hauteur de la scène footer avant son chargement */
.footer__clouds { aspect-ratio: 1430 / 760; }

/* pause le défilement des noms quand la section « merci » est hors écran (CPU/batterie) */
.merci__wall.is-paused .merci__row { animation-play-state: paused; }

/* Menu mobile : la croix (X) doit rester visible sur l'overlay vert foncé.
   Sinon, sur le hero, les barres du burger sont vert foncé → invisibles quand ouvert. */
.nav__burger.open span { background: #fff !important; }
.nav__burger.open { z-index: calc(var(--z-nav) + 1); position: relative; }

/* Footer entièrement centré */
.footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  text-align: center;
  gap: 40px 56px;
}
.footer__grid > div { display: flex; flex-direction: column; align-items: center; }
.footer__brand-logo { margin: 0 auto; }
.footer__links { align-items: center; }
.footer__bottom { justify-content: center; gap: 8px 28px; text-align: center; flex-wrap: wrap; }
@media (max-width: 768px) {
  /* mobile : tout empilé en une seule colonne centrée (pas d'enroulement 2 par 2) */
  .footer__grid { flex-direction: column; align-items: center; gap: 32px; }
}
