/* Les Zabloks — landing page. Couleurs tirées de la pochette de Franck Cascales. */
:root {
  --papier: #fffaf0;
  --encre: #1a1614;
  --gris: #5b544e;
  --rose: #d4137f;
  --rose-fonce: #a90e65;
  --bleu: #a9c4ea;
  --rose-pale: #f4b6c6;
  --vert: #a9d9a8;
  --jaune: #f7d88a;
  --or-1: #f5e3a1;
  --or-2: #b8892c;
  --trait: 3px solid var(--encre);
  --ombre: 6px 6px 0 var(--encre);
  --titre: 'Luckiest Guy', 'Arial Black', sans-serif;
  --texte: 'Barlow', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.1rem/1.6 var(--texte); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--rose-fonce); }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(2rem, 5vw, 3.3rem)/1.05 var(--titre); letter-spacing: .01em; margin-bottom: .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
.enveloppe { width: min(1160px, 100% - 32px); margin-inline: auto; }
.surtitre { font: 700 .95rem/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .14em; color: var(--rose); margin-bottom: .6em; }
.lead { font-size: 1.2rem; font-weight: 500; }
.petit { font-size: .9rem; color: var(--gris); margin-top: 1.2em; }
section { padding: clamp(64px, 9vw, 112px) 0; }

/* Boutons */
.bouton { display: inline-block; padding: .75em 1.4em; font: 400 1.05rem/1 var(--titre); letter-spacing: .03em; text-decoration: none; border: var(--trait); border-radius: 999px; transition: transform .15s, box-shadow .15s; }
.bouton-rose { background: var(--rose); color: #fff; box-shadow: 4px 4px 0 var(--encre); }
.bouton-ligne { background: #fff; color: var(--encre); box-shadow: 4px 4px 0 var(--encre); }
.bouton:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--encre); }
.bouton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--encre); }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

/* Barre */
.barre { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px clamp(16px, 3vw, 32px); transition: background .2s, box-shadow .2s; }
.barre.pleine { background: var(--papier); box-shadow: 0 3px 0 var(--encre); }
.barre-nom { font: 400 1.4rem/1 var(--titre); color: var(--encre); text-decoration: none; opacity: 0; transition: opacity .2s; }
.barre-nom img { display: block; height: 44px; width: auto; }
.barre.pleine .barre-nom { opacity: 1; }
.barre nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); }
.barre nav a:not(.bouton) { color: var(--encre); text-decoration: none; font: 600 1rem/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.barre nav a:not(.bouton):hover { color: var(--rose); }
.barre .bouton { padding: .6em 1.1em; font-size: .95rem; }

/* Ouverture : les quatre bandes de couleur de la pochette */
.ouverture { position: relative; overflow: hidden; padding: 110px 0 72px; border-bottom: var(--trait); }
.bandes { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); z-index: -1; }
.bandes span { background: linear-gradient(var(--c) 0%, var(--papier) 78%); border-right: 3px solid rgba(26, 22, 20, .12); }
.bandes span:nth-child(1) { --c: var(--bleu); }
.bandes span:nth-child(2) { --c: var(--rose-pale); }
.bandes span:nth-child(3) { --c: var(--vert); }
.bandes span:nth-child(4) { --c: var(--jaune); }
.ouverture-grille { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.ouverture h1 img { width: min(560px, 100%); filter: drop-shadow(4px 4px 0 #fff); }
.accroche { font: 400 clamp(1.3rem, 2.6vw, 1.75rem)/1.25 var(--titre); margin: .8em 0 1.2em; max-width: 22ch; text-wrap: balance; }
.carte-release { display: block; max-width: 440px; padding: 18px 22px; margin-bottom: 28px; background: #fff; border: var(--trait); border-radius: 14px; box-shadow: var(--ombre); color: var(--encre); text-decoration: none; transform: rotate(-1.5deg); transition: transform .2s; }
.carte-release:hover { transform: rotate(0); }
.carte-etiquette { display: inline-block; background: var(--rose); color: #fff; font: 700 .8rem/1 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .12em; padding: .45em .7em; border-radius: 4px; }
.carte-titre { display: block; font: 400 2.4rem/1.1 var(--titre); margin: .25em 0 .1em; background: linear-gradient(180deg, var(--or-1), var(--or-2) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1px var(--encre); }
.carte-info { display: block; font-weight: 600; }
.ouverture-boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.ouverture-dessin { margin: 0; justify-self: center; width: min(420px, 100%); transform: rotate(2deg); }
.ouverture-dessin img { border: var(--trait); border-radius: 10px; box-shadow: 10px 10px 0 var(--encre); background: #fff; }

/* Chiffres */
.chiffres { background: var(--encre); color: var(--papier); padding: 26px 0; }
.chiffres ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.chiffres strong { display: block; font: 400 clamp(1.8rem, 4vw, 2.6rem)/1 var(--titre); color: var(--jaune); }
.chiffres li:nth-child(2) strong { color: var(--rose-pale); }
.chiffres li:nth-child(3) strong { color: var(--vert); }
.chiffres li:nth-child(4) strong { color: var(--bleu); }
.chiffres span { font: 600 .95rem/1.3 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; }

/* Release party */
.release-grille { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.invitation { margin: 0; transform: rotate(-2deg); }
.invitation img { border: var(--trait); border-radius: 8px; box-shadow: var(--ombre); }
.programme { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 10px; }
.programme li { display: flex; gap: 16px; align-items: baseline; padding: 12px 16px; background: #fff; border: var(--trait); border-radius: 10px; }
.programme time { font: 400 1.5rem/1 var(--titre); color: var(--rose); min-width: 3.2em; }
.lieu { margin: 1.2em 0 1.4em; }

/* Spectacle */
.spectacle { background: var(--encre); color: var(--papier); }
.spectacle .surtitre { color: var(--jaune); }
.spectacle-grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.etiquettes { list-style: none; padding: 0; margin: 1.6em 0; display: flex; flex-wrap: wrap; gap: 10px; }
.etiquettes li { font: 400 1.2rem/1 var(--titre); padding: .5em .8em .4em; color: #fff; border: 3px solid var(--papier); border-radius: 6px; }
.etiquettes li:nth-child(odd) { transform: rotate(-3deg); }
.etiquettes li:nth-child(even) { transform: rotate(2deg); }
.e-vert { background: #3d9a3a; } .e-bleu { background: #3b6fc4; } .e-jaune { background: #b39b1f; } .e-rose { background: var(--rose); }
.equipe { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 32px; margin: 0; }
.equipe dt { font: 600 .85rem/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--rose-pale); }
.equipe dd { margin: 0; font-weight: 600; }
.affiche { margin: 0; justify-self: center; width: min(380px, 100%); transform: rotate(2deg); }
.affiche img { border: 3px solid var(--papier); border-radius: 8px; box-shadow: 8px 8px 0 var(--rose); }
figcaption { font-size: .8rem; color: inherit; opacity: .7; margin-top: .6em; text-align: right; }

/* Album */
.album { background: linear-gradient(90deg, var(--bleu) 0 25%, var(--rose-pale) 25% 50%, var(--vert) 50% 75%, var(--jaune) 75%); border-block: var(--trait); }
.album-grille { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; background: var(--papier); border: var(--trait); border-radius: 18px; box-shadow: 10px 10px 0 var(--encre); padding: clamp(24px, 5vw, 56px); }
.album-pochette { position: relative; width: min(340px, 100%); aspect-ratio: 1; justify-self: center; }
.pochette { position: absolute; inset: 0 18% 0 0; overflow: hidden; border: var(--trait); border-radius: 6px; background: #fff; z-index: 1; box-shadow: 6px 6px 0 var(--encre); }
.pochette img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.disque { position: absolute; top: 4%; bottom: 4%; right: 0; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--papier) 0 7%, var(--encre) 7.5% 30%, #2d2723 31% 33%, var(--encre) 34% 60%, #2d2723 61% 63%, var(--encre) 64%); border: var(--trait); transition: transform .6s; }
.album-pochette:hover .disque, .album-pochette.vu .disque { transform: translateX(8%) rotate(200deg); }
.or { background: linear-gradient(180deg, var(--or-1), var(--or-2) 75%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-stroke: 1.5px var(--encre); font-size: 1.3em; }
.credit { font-size: .95rem; color: var(--gris); }

/* Dessins animés */
.dessins-tete { max-width: 680px; margin-bottom: 36px; }
.capsules { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.capsule { position: relative; border: var(--trait); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 5px 5px 0 var(--encre); aspect-ratio: 9 / 16; }
.capsule:nth-child(4n+1) { box-shadow: 5px 5px 0 #3b6fc4; } .capsule:nth-child(4n+2) { box-shadow: 5px 5px 0 var(--rose); }
.capsule:nth-child(4n+3) { box-shadow: 5px 5px 0 #3d9a3a; } .capsule:nth-child(4n+4) { box-shadow: 5px 5px 0 #b39b1f; }
.capsule video { width: 100%; height: 100%; object-fit: cover; }
.capsule-titre { position: absolute; left: 10px; right: 52px; bottom: 10px; font: 400 1.05rem/1.1 var(--titre); color: var(--encre); background: var(--papier); border: 2px solid var(--encre); border-radius: 6px; padding: .35em .5em .25em; }
/* Nom centré dans son cartouche, à la hauteur du bouton son */
.capsule-titre { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 38px; padding: .45em .5em .15em; }
.capsule:not(:has(.son)) .capsule-titre { right: 10px; }
.son { position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--encre); background: var(--papier) center / 22px no-repeat; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1614' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%231a1614'/%3E%3Cpath d='M17 9l5 6M22 9l-5 6'/%3E%3C/svg%3E"); }
.son[aria-pressed="true"] { background-color: var(--rose);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 9h4l5-4v14l-5-4H4z' fill='%23fff'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19.5 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E"); }

/* Vidéos YouTube */
.videos-section { background: #fff; border-block: var(--trait); }
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.video { position: relative; aspect-ratio: 16 / 9; padding: 0; border: var(--trait); border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--encre) var(--vignette) center / cover; box-shadow: 5px 5px 0 var(--encre); }
.video iframe { width: 100%; height: 100%; border: 0; }
.lecture { position: absolute; inset: 50% auto auto 50%; width: 72px; height: 72px; translate: -50% -50%; border-radius: 50%; background: var(--rose); border: 3px solid var(--encre); transition: scale .15s; }
.lecture::after { content: ''; position: absolute; inset: 50% auto auto 54%; translate: -50% -50%; border: 13px solid transparent; border-left: 20px solid #fff; border-right: 0; }
.video:hover .lecture { scale: 1.1; }
.video-titre { position: absolute; left: 12px; bottom: 12px; font: 400 1.05rem/1 var(--titre); background: var(--papier); color: var(--encre); border: 2px solid var(--encre); border-radius: 6px; padding: .4em .6em .3em; }

/* Dates */
.liste-dates { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.date { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 14px 18px; background: #fff; border: var(--trait); border-radius: 12px; box-shadow: 4px 4px 0 var(--encre); }
.date-jour { display: grid; justify-items: center; min-width: 84px; font: 600 .85rem/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .06em; }
.date-jour b { font: 400 2.2rem/1 var(--titre); color: var(--rose); }
.date-lieu b { display: block; font: 400 1.35rem/1.2 var(--titre); }
.date-lieu span { color: var(--gris); }
.date-vide { padding: 18px; border: 3px dashed var(--encre); border-radius: 12px; }
.complet { font: 400 1rem/1 var(--titre); color: var(--gris); }
.suivre { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-weight: 600; }
.reseaux { display: inline-flex; gap: 10px; }
.reseau { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--rose); color: #fff; border: 2px solid var(--encre); transition: transform .15s; }
.reseau:hover { transform: translateY(-2px) rotate(-6deg); }
.reseau svg { width: 22px; height: 22px; }

/* Programmateurs */
.programmer { background: var(--jaune); border-top: var(--trait); }
.fiche { list-style: none; padding: 0; margin: 1.4em 0 2em; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.fiche li { background: var(--papier); border: var(--trait); border-radius: 10px; padding: 14px 16px; font-weight: 600; }
.fiche b { display: block; font: 600 .85rem/1.2 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .1em; color: var(--rose-fonce); margin-bottom: .3em; }
.programmer .lead { max-width: 760px; }

/* Pied de page */
footer { background: var(--encre); color: var(--papier); padding: 28px 0; }
footer .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
footer p { margin: 0; }
footer a { color: var(--papier); }

/* Page texte (mentions légales) */
.texte-page { padding: 120px 0 80px; max-width: 760px; }
.texte-page h1 { font: 400 2.6rem/1.1 var(--titre); margin-bottom: .8em; }
.texte-page h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; }

/* Apparitions */
.apparait { opacity: 0; translate: 0 24px; transition: opacity .6s, translate .6s; }
.apparait.vu { opacity: 1; translate: 0 0; }

@media (max-width: 960px) {
  .barre nav a:not(.bouton) { display: none; }
  .barre-nom { opacity: 1; }
  .ouverture-grille, .release-grille, .spectacle-grille, .album-grille { grid-template-columns: 1fr; }
  .ouverture-dessin { width: min(340px, 80%); }
  .capsules { grid-template-columns: repeat(2, 1fr); }
  .fiche { grid-template-columns: repeat(2, 1fr); }
  .invitation { width: min(420px, 100%); justify-self: center; }
}
@media (max-width: 600px) {
  body { font-size: 1.02rem; }
  .ouverture { padding-top: 88px; }
  .bandes span { background: linear-gradient(var(--c) 0%, var(--papier) 60%); }
  .chiffres ul { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .videos { grid-template-columns: 1fr; }
  .capsules { gap: 14px; }
  .capsule-titre { font-size: .9rem; right: 48px; }
  .date { grid-template-columns: auto 1fr; }
  .date .bouton { grid-column: 1 / -1; justify-self: start; }
  .equipe { grid-template-columns: 1fr 1fr; }
  .fiche { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .apparait { opacity: 1; translate: none; transition: none; }
  .disque { transition: none; }
}
