/* Canta Dream — direction « la pochette » (choisie par Alexandre le 20/11/2026).
   Papier clair, encre noire, rouge tomate. Un disque, une pochette, des gros titres.
   Jamais la couleur seule : chaque état a aussi un mot, un symbole ou une épaisseur. */
/* Les polices sont servies par le site lui-même (26/11/2026) : aucune adresse IP de visiteur ne part chez Google.
   Licence libre SIL Open Font License (Bricolage Grotesque, Instrument Serif). Bricolage est une police variable. */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/public/police-bricolage-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/public/police-bricolage-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/public/police-instrument-italique-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('/public/police-instrument-italique-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/public/police-instrument-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-weight: 400; font-display: swap; src: url('/public/police-instrument-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --papier: #F3F1EC; --encre: #111111; --rouge: #F0563C; --rouge-texte: #B5321C;
  --gris: #5E5C56; --eteint: #747474; --blanc: #FFFFFF;
  --marge: clamp(20px, 5vw, 64px);
  --grotesque: 'Bricolage Grotesque', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --plume: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--papier); color: var(--encre); font: 18px/1.5 var(--grotesque); overflow-x: hidden; }
a { color: var(--encre); }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 0.95; }
h1 { font-size: clamp(44px, 8vw, 112px); line-height: 0.92; }
h2 { font-size: clamp(36px, 6vw, 84px); }
h3 { font-size: 26px; letter-spacing: -0.01em; line-height: 1.1; }
p { margin: 0; }
.plume { font-family: var(--plume); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--rouge-texte); overflow-wrap: anywhere; }
.surtitre { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.aide { color: var(--gris); font-size: 19px; max-width: 34em; }
.petit-texte { font-size: 15px; color: var(--gris); }
.cache { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.page { width: min(1280px, 100% - 2 * var(--marge)); margin: 0 auto; padding-bottom: 80px; }
.etroit { width: min(780px, 100% - 2 * var(--marge)); margin: 0 auto; padding-bottom: 80px; }
.pile { display: flex; flex-direction: column; gap: 28px; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 4px; }

/* En-tête et pied */
.entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px var(--marge); }
.marque { font-weight: 800; font-size: 22px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
/* L'oiseau du logo d'origine (choix d'Alexandre, 23/11/2026), sans ses lettres : le nom s'écrit à côté. */
.marque { display: inline-flex; align-items: center; gap: 10px; }
.marque img { display: block; width: 56px; height: 56px; margin: -10px 0; }
@media (max-width: 520px) { .marque img { width: 44px; height: 44px; margin: -8px 0; } }
.entete nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 16px; font-weight: 600; }
.entete nav a { text-decoration: none; }
.entete nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
/* La barre du haut reste à l'écran quand on descend (25/11/2026). Une fois descendu : plus fine, soulignée d'un trait. */
.entete.collante { position: sticky; top: 0; z-index: 30; background: var(--papier); transition: padding .2s ease, box-shadow .2s ease; }
.entete.collante.descendu { padding-top: 12px; padding-bottom: 12px; box-shadow: 0 3px 0 var(--encre); }
.entete.collante.descendu .marque img { width: 44px; height: 44px; margin: -6px 0; }
[id] { scroll-margin-top: 104px; }
.entete nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.entete nav .seulement-replie { display: none; }
@media (max-width: 1180px) { .entete nav { gap: 12px 20px; font-size: 15px; } }
.ouvrir-menu { display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px; border: 3px solid var(--encre); border-radius: 4px; background: transparent; color: var(--encre); font: 800 16px/1 var(--grotesque); cursor: pointer; }
.trois-traits, .trois-traits::before, .trois-traits::after { display: block; width: 18px; height: 3px; background: currentColor; position: relative; }
.trois-traits::before, .trois-traits::after { content: ""; position: absolute; left: 0; }
.trois-traits::before { top: -6px; } .trois-traits::after { top: 6px; }
.entete.ouvert .trois-traits { background: transparent; }
.entete.ouvert .trois-traits::before { top: 0; transform: rotate(45deg); }
.entete.ouvert .trois-traits::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 980px) {
  /* Sur tablette et téléphone : le nom et « Menu » sur une ligne ; les liens s'ouvrent dessous, un par ligne. */
  .entete.collante { padding-top: 14px; padding-bottom: 14px; }
  .entete.repliable { flex-wrap: wrap; }
  .entete.repliable .ouvrir-menu { display: inline-flex; }
  .entete.repliable nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; border-top: 3px solid var(--encre); padding-top: 6px; }
  .entete.repliable.ouvert nav { display: flex; max-height: calc(100vh - 90px); overflow-y: auto; }
  .entete.repliable nav a:not(.bouton) { padding: 14px 0; border-bottom: 1px solid var(--encre); font-size: 19px; }
  .entete.repliable nav .bouton { margin: 14px 0 6px; order: 9; }
  .entete.repliable nav .seulement-replie { display: block; order: 10; font-size: 16px; font-weight: 600; padding: 11px 0; border-bottom: 0; }
  .entete.repliable nav .bouton + .seulement-replie { border-top: 3px solid var(--encre); margin-top: 10px; padding-top: 16px; }
  [id] { scroll-margin-top: 86px; }
}
/* Le disque qui dépasse de sa pochette ne doit pas élargir la page sur téléphone (sinon l'écran se décale,
   et ce qui est fixé en bas glisse hors de vue). « clip » coupe sans casser la barre qui reste en haut. */
main { overflow-x: clip; }
@media (max-width: 520px) {
  .entete.collante { gap: 10px; }
  .entete.collante .marque { font-size: 18px; letter-spacing: 0.02em; gap: 8px; }
  .entete.collante .marque img, .entete.collante.descendu .marque img { width: 40px; height: 40px; margin: -6px 0; }
  .ouvrir-menu { min-height: 42px; padding: 0 12px; font-size: 15px; }
}
/* « Remonter » : en bas à droite, une flèche et le mot. */
.remonter { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 4px; background: var(--encre); color: var(--papier); font: 800 16px/1 var(--grotesque); text-decoration: none; box-shadow: 4px 4px 0 var(--rouge); }
.remonter[hidden] { display: none; }
.remonter:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--rouge); }
.remonter:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }
@media print { .remonter, .ouvrir-menu { display: none !important; } .entete.collante { position: static; box-shadow: none; } }
.pied { background: var(--encre); color: var(--papier); padding: 36px var(--marge); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 15px; }
.pied a { color: var(--papier); }
/* Le logo de l'ancien site (repris le 23/11/2026), sur une pastille papier : son bleu ne se lit pas sur l'encre. */
.pied .logo-pied { flex: 0 0 auto; display: inline-flex; background: var(--papier); border-radius: 14px; padding: 8px 12px; }
.pied .logo-pied img { display: block; width: 150px; height: auto; }
.pied { align-items: center; justify-content: flex-start; gap: 20px 32px; }
.pied .pied-texte { flex: 1 1 320px; display: flex; flex-direction: column; gap: 12px; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; cursor: pointer;
  min-height: 58px; padding: 0 28px; border: 0; border-radius: 4px; text-decoration: none;
  background: var(--rouge); color: var(--encre); font: 800 19px/1 var(--grotesque);
  transition: transform .12s ease, box-shadow .12s ease;
}
.bouton:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--encre); }
.bouton:active { transform: none; box-shadow: none; }
.bouton:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.bouton.discret { background: transparent; border: 3px solid var(--encre); }
.bouton.encre { background: var(--encre); color: var(--papier); }
.bouton.encre:hover { box-shadow: 6px 6px 0 var(--rouge); }
.bouton.petit { min-height: 46px; padding: 0 18px; font-size: 16px; }
.pied .bouton:hover, .sombre .bouton:hover { box-shadow: 6px 6px 0 var(--papier); }

/* Le disque et la pochette */
@keyframes tourne { to { transform: rotate(360deg); } }
.disque {
  flex: 0 0 auto; width: var(--taille, 320px); aspect-ratio: 1 / 1; border-radius: 50%;
  background: repeating-radial-gradient(circle at center, #111111 0 3px, #262626 3px 5px);
  display: flex; align-items: center; justify-content: center; animation: tourne 9s linear infinite;
}
.disque.arret { animation-play-state: paused; }
.macaron {
  width: 38%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--papier); color: var(--encre);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}
.macaron b { font-family: var(--plume); font-style: italic; font-weight: 400; font-size: clamp(16px, 2.2vw, 24px); letter-spacing: 0; text-transform: none; line-height: 1; max-width: 90%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pochette {
  position: relative; z-index: 2; flex: 0 0 auto; width: var(--cote, min(430px, 62vw)); aspect-ratio: 1 / 1;
  background: var(--rouge); color: var(--encre); padding: clamp(18px, 3vw, 28px);
  display: flex; flex-direction: column; justify-content: space-between; box-shadow: 14px 14px 0 var(--encre);
}
.pochette .haut, .pochette .bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pochette .nom { font-family: var(--plume); font-style: italic; font-size: clamp(40px, 7vw, 86px); line-height: 0.95; overflow-wrap: anywhere; }
.platine { display: flex; align-items: center; min-width: 0; }
.platine .disque { --taille: min(400px, 58vw); position: relative; z-index: 1; margin-left: max(-200px, -29vw); }
.platine.petite .pochette { --cote: min(260px, 52vw); box-shadow: 10px 10px 0 var(--encre); }
.platine.petite .pochette .nom { font-size: clamp(30px, 5vw, 48px); }
.platine.petite .disque { --taille: min(240px, 48vw); margin-left: max(-120px, -24vw); }

/* Le karaoké : les vers s'allument l'un après l'autre */
@keyframes chante { 0%, 22% { color: var(--rouge); } 26%, 100% { color: var(--eteint); } }
.karaoke { background: var(--encre); color: var(--papier); padding: clamp(40px, 7vw, 88px) var(--marge); display: flex; flex-direction: column; gap: 22px; }
.karaoke .surtitre { color: #C9C6BD; }
.k-vers { margin: 0; font-weight: 800; text-transform: uppercase; font-size: clamp(34px, 8vw, 116px); line-height: 0.92; letter-spacing: -0.02em; overflow-wrap: anywhere; color: var(--eteint); animation: chante 9s linear infinite; animation-delay: calc(var(--i, 0) * 2.2s); }
.karaoke.court .k-vers { font-size: clamp(26px, 5vw, 54px); line-height: 1; text-transform: none; }

/* Accueil */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding: 24px var(--marge) 72px; }
.hero > * { flex: 1 1 520px; min-width: 0; }
.debut { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px; }
.debut .champ { flex: 1 1 240px; max-width: 340px; margin: 0; }
.rubans { border-bottom: 3px solid var(--encre); padding: 20px var(--marge); display: flex; flex-wrap: wrap; gap: 8px 30px; font-weight: 800; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: -0.01em; text-transform: uppercase; }
.rubans a { text-decoration: none; }
.rubans a:hover { color: var(--rouge-texte); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.section { padding: 88px var(--marge) 0; display: flex; flex-direction: column; gap: 36px; }
.section .tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 40px; }
/* La vidéo de démonstration, sur l'accueil */
.film { display: block; width: min(1040px, calc(100% - 10px)); height: auto; aspect-ratio: 16 / 9; background: var(--encre); border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); }
.pistes { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--encre); }
.pistes li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--encre); }
.pistes .num { flex: 0 0 90px; font-weight: 800; font-size: 44px; line-height: 1; }
.pistes .nom-piste { flex: 1 1 260px; font-weight: 800; font-size: 30px; line-height: 1.1; letter-spacing: -0.01em; }
.pistes .texte-piste { flex: 2 1 320px; }
.pistes .duree { flex: 0 0 auto; font-size: 16px; font-weight: 600; }
.pistes audio { flex: 1 1 260px; margin: 0; }
.editions { display: flex; flex-wrap: wrap; gap: 24px; }
.edition { flex: 1 1 340px; min-width: 0; border: 3px solid var(--encre); padding: clamp(24px, 4vw, 36px); display: flex; flex-direction: column; gap: 22px; }
.edition.maxi { background: var(--rouge); box-shadow: 14px 14px 0 var(--encre); }
.edition .titre-edition { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.edition .titre-edition .plume { color: var(--encre); font-size: clamp(40px, 5vw, 52px); line-height: 1; }
.edition .prix { font-weight: 800; font-size: 44px; line-height: 1; white-space: nowrap; }
.edition ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.edition li { padding-top: 10px; border-top: 1px solid var(--encre); }
.edition .bouton { margin-top: auto; }
details { border-bottom: 1px solid var(--encre); padding: 22px 0; }
details:first-of-type { border-top: 3px solid var(--encre); }
summary { cursor: pointer; font-weight: 800; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -0.01em; }
details p { margin-top: 12px; max-width: 40em; }
.final { background: var(--encre); color: var(--papier); margin-top: 96px; padding: 80px var(--marge) 56px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; }
.final h2 { font-size: clamp(48px, 8vw, 120px); line-height: 0.9; }

/* Parcours : une question par écran */
.parcours { padding: 16px 0 24px; }
.avancee { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 36px; }
.avancee .barre { flex: 1; height: 10px; border: 2px solid var(--encre); }
.avancee .barre i { display: block; height: 100%; width: 0; background: var(--encre); transition: width .3s ease; }
.etape { display: none; }
.etape.visible { display: flex; flex-direction: column; gap: 22px; animation: arrive .3s ease; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.choix { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.choix label { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 104px; padding: 18px; border: 3px solid var(--encre); cursor: pointer; font-weight: 800; font-size: 20px; line-height: 1.15; letter-spacing: -0.01em; transition: transform .12s ease, box-shadow .12s ease; }
.choix label:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--encre); }
.choix input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choix label:has(input:checked) { background: var(--rouge); transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--encre); }
.choix label:has(input:checked)::before { content: "✓ choisi"; position: absolute; top: 12px; left: 18px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.choix label:has(input:focus-visible) { outline: 3px solid var(--encre); outline-offset: 4px; }
.champ { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.champ > span { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.champ small { display: block; margin-top: 4px; font-size: 15px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--gris); }
input[type=text], input[type=email], input[type=password] { width: 100%; font: 600 26px/1.2 var(--grotesque); color: var(--encre); background: transparent; border: 0; border-bottom: 3px solid var(--encre); border-radius: 0; padding: 8px 0; min-height: 52px; }
textarea { width: 100%; min-height: 190px; resize: vertical; font: 400 20px/1.5 var(--grotesque); color: var(--encre); background: var(--blanc); border: 3px solid var(--encre); border-radius: 0; padding: 16px; }
input::placeholder, textarea::placeholder { color: #8C8A83; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.actions .droite { margin-left: auto; }
.message { padding: 16px 18px; border: 3px solid var(--encre); background: var(--blanc); font-weight: 600; }
.message.erreur::before { content: "⚠  "; }
.message.ok::before { content: "✓  "; }

/* La feuille des paroles */
.feuille { background: var(--blanc); border: 3px solid var(--encre); box-shadow: 14px 14px 0 var(--encre); padding: clamp(24px, 5vw, 48px); display: flex; flex-direction: column; gap: 22px; }
.feuille h2 { font-family: var(--plume); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-size: clamp(38px, 6vw, 64px); line-height: 1; }
.feuille .strophe { margin: 0; white-space: pre-line; font-size: 20px; line-height: 1.55; }
.feuille .rubrique { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rouge-texte); }
.feuille #texte { display: flex; flex-direction: column; gap: 22px; }
.feuille textarea { min-height: 520px; }
.bloc { border-top: 3px solid var(--encre); padding-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.case { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.case input { width: 26px; height: 26px; margin: 0; accent-color: var(--encre); flex: none; }
.offres { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.offres label { justify-content: flex-start; padding-top: 40px; gap: 4px; }
.offres .nom-offre { font-family: var(--plume); font-style: italic; font-weight: 400; font-size: 38px; line-height: 1; letter-spacing: 0; }
.offres .prix-offre { font-size: 34px; line-height: 1.1; }
.offres .detail-offre { font-weight: 400; font-size: 16px; letter-spacing: 0; }
.offres small { font: 600 12px var(--grotesque); letter-spacing: 0.12em; text-transform: uppercase; }

/* Attente */
.attente { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 40px 0; text-align: center; }
.attente .disque { --taille: min(300px, 70vw); }
.attente .karaoke { align-self: stretch; text-align: left; }

/* La chanson et le cadeau */
.scene { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; padding: 16px 0 40px; }
.scene > * { flex: 1 1 360px; min-width: 0; }
.versions { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.version { border: 3px solid var(--encre); padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--papier); }
.version.gardee { background: var(--rouge); box-shadow: 10px 10px 0 var(--encre); }
.version h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.version .etat { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
audio { width: 100%; }
.deux { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.lien-cadeau { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.lien-cadeau input { flex: 1; min-width: 220px; font-size: 16px; font-weight: 400; }
.cadeau { display: flex; flex-direction: column; align-items: center; gap: 28px; padding: 24px 0 48px; text-align: center; }
.cadeau .mot { font-family: var(--plume); font-style: italic; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.25; max-width: 24em; white-space: pre-line; }

/* Administration */
.admin { display: flex; flex-direction: column; gap: 24px; }
.admin h1 { font-size: clamp(36px, 5vw, 64px); }
.admin h2 { font-size: 32px; }
.admin table { width: 100%; border-collapse: collapse; font-size: 15px; }
.admin th, .admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--encre); vertical-align: top; }
.admin th { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pastille { display: inline-block; padding: 3px 10px; border: 2px solid var(--encre); font-size: 13px; font-weight: 700; white-space: nowrap; }
.chiffres { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.chiffres div { border: 3px solid var(--encre); padding: 16px; font-size: 15px; }
.chiffres b { display: block; font-weight: 800; font-size: 32px; letter-spacing: -0.02em; }
.admin form { display: inline; }
.grille { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.texte-long { display: flex; flex-direction: column; gap: 16px; max-width: 46em; }
.texte-long h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 12px; }
.texte-long h2 { font-size: 26px; letter-spacing: -0.01em; line-height: 1.1; margin-top: 20px; }
.texte-long ul { margin: 0; padding-left: 22px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .disque, .k-vers, .etape.visible { animation: none !important; }
  .k-vers:first-of-type { color: var(--rouge); }
  .bouton, .choix label { transition: none; }
}

/* La pochette personnalisée : couleur, motif, photo */
.pochette { background-color: var(--p-fond, var(--rouge)); color: var(--p-encre, var(--encre)); overflow: hidden; }
.pochette > * { position: relative; z-index: 1; }
.pochette[data-couleur=tomate] { --p-fond: #F0563C; --p-encre: #111111; }
.pochette[data-couleur=soleil] { --p-fond: #FFC83D; --p-encre: #111111; }
.pochette[data-couleur=ciel] { --p-fond: #7FB4FF; --p-encre: #111111; }
.pochette[data-couleur=menthe] { --p-fond: #8FD694; --p-encre: #111111; }
.pochette[data-couleur=papier] { --p-fond: #F3F1EC; --p-encre: #111111; border: 3px solid #111111; }
.pochette[data-couleur=encre] { --p-fond: #111111; --p-encre: #F3F1EC; box-shadow: 14px 14px 0 var(--rouge); }
.pochette[data-motif=sillons] { background-image: repeating-radial-gradient(circle at 78% 50%, transparent 0 14px, color-mix(in srgb, var(--p-encre) 14%, transparent) 14px 16px); }
.pochette[data-motif=rayures] { background-image: repeating-linear-gradient(135deg, transparent 0 18px, color-mix(in srgb, var(--p-encre) 13%, transparent) 18px 24px); }
.pochette[data-photo]::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--photo) center / cover no-repeat; filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; opacity: .85; }
.pochette .nom small { display: block; margin-top: 8px; font: 600 15px/1.2 var(--grotesque); letter-spacing: 0; }
fieldset.pastilles { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
fieldset.pastilles legend { padding: 0; margin-bottom: 10px; }
.pastilles label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border: 3px solid var(--encre); cursor: pointer; font-weight: 600; font-size: 16px; }
.pastilles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pastilles label:has(input:checked) { background: var(--encre); color: var(--papier); }
.pastilles label:has(input:checked)::after { content: "✓"; font-weight: 800; }
.pastilles label:has(input:focus-visible) { outline: 3px solid var(--encre); outline-offset: 4px; }
.pastille-couleur { width: 22px; height: 22px; border: 2px solid currentColor; }

/* Le karaoké sur la feuille des paroles */
.feuille #texte { gap: 0; }
.feuille .k-ligne { display: block; padding: 2px 8px; margin: 0 -8px; font-size: 20px; line-height: 1.55; transition: background .15s ease; }
.feuille #texte .rubrique { margin-top: 22px; }
.feuille #texte .rubrique:first-child { margin-top: 0; }
.feuille .k-ligne.chante { background: var(--rouge); font-weight: 800; }
.feuille .k-ligne.passe { color: var(--gris); }

/* Le mode fête : plein écran, pour chanter à plusieurs */
body.fete { background: var(--encre); color: var(--papier); display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
.fete-tete, .fete-pied { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px var(--marge); }
.fete-pied { border-top: 1px solid #3A3A3A; }
.fete-pied audio { flex: 1 1 320px; }
.fete-pied .champ { flex: 0 0 auto; }
.fete-pied select { font: 600 18px var(--grotesque); min-height: 46px; padding: 0 12px; background: var(--papier); color: var(--encre); border: 0; border-radius: 4px; }
body.fete .bouton.discret { border-color: var(--papier); color: var(--papier); }
body.fete .bouton:hover { box-shadow: 6px 6px 0 var(--rouge); }
body.fete :focus-visible { outline-color: var(--papier); }
.fete-paroles { flex: 1 1 auto; overflow-y: auto; padding: 30vh var(--marge); scroll-behavior: smooth; }
.fete-paroles .rubrique { display: block; margin: 44px 0 10px; font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #C9C6BD; }
.fete-paroles .k-ligne { display: block; font-weight: 800; font-size: clamp(30px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.02em; color: var(--eteint); transition: color .2s ease; overflow-wrap: anywhere; }
.fete-paroles .k-ligne.passe { color: #C9C6BD; }
.fete-paroles .k-ligne.chante { color: var(--rouge); }

.platine.petite .pochette .haut, .platine.petite .pochette .bas { font-size: 10px; letter-spacing: 0.08em; }
.platine.petite .pochette .nom small { font-size: 12px; margin-top: 4px; }

/* Le dévoilement du cadeau : pochette fermée, puis le disque sort */
.ecrin { position: relative; width: min(420px, 74vw); aspect-ratio: 1 / 1; margin: 12px auto; }
.ecrin .pochette { position: absolute; inset: 0; width: auto; text-align: left; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.ecrin .sortie { position: absolute; inset: 4%; z-index: 1; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1) .15s; }
.ecrin .disque { width: 100%; }
.devoilement:not(.ferme) .ecrin .pochette { transform: translateX(-20%) rotate(-3deg); }
.devoilement:not(.ferme) .ecrin .sortie { transform: translateX(38%); }
@keyframes respire { 0%, 100% { transform: none; } 50% { transform: translate(-4px, -4px); box-shadow: 20px 20px 0 var(--encre); } }
.devoilement.ferme .ecrin .pochette { animation: respire 2.4s ease-in-out infinite; }
.devoilement.ferme .ecrin { cursor: pointer; }
.devoilement.ferme .apres, .devoilement:not(.ferme) .avant { display: none; }
.devoilement.ferme ~ .suite-cadeau { display: none; }
.devoilement .apres { animation: arrive .6s ease .8s both; }
.devoilement ~ .suite-cadeau { animation: arrive .6s ease 1.1s both; }
.devoilement.sans-animation .pochette, .devoilement.sans-animation .sortie { transition: none; }
.devoilement.sans-animation .apres, .devoilement.sans-animation ~ .suite-cadeau { animation: none; }
.devoilement .apres audio { width: min(520px, 100%); }
@media (prefers-reduced-motion: reduce) {
  .ecrin .pochette, .ecrin .sortie { transition: none; }
  .devoilement.ferme .ecrin .pochette, .devoilement .apres, .devoilement ~ .suite-cadeau { animation: none !important; }
}
/* Tout le cadeau fermé tient dans l'écran : le bouton « Ouvrir » se voit sans défiler. */
.devoilement { gap: 20px; padding-top: 0; }
.devoilement h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1; }
.devoilement .ecrin { width: min(360px, 66vw, 42vh); margin: 4px auto; }
.devoilement .ecrin .pochette .nom { font-size: clamp(34px, 9vh, 64px); }

/* Le clip des paroles */
#atelier-clip .pastilles label small { font-weight: 400; font-size: 14px; opacity: .8; }
#atelier-clip .pastilles label span { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 8px 0; }
#clip-resultat video { display: block; background: var(--encre); border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); max-width: 100%; }
#clip-resultat video.vertical { width: min(300px, 100%); aspect-ratio: 9 / 16; }
#clip-resultat video.carre { width: min(420px, 100%); aspect-ratio: 1 / 1; }

/* La chanson à plusieurs */
.souvenirs { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--encre); }
.souvenirs li { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--encre); }
.souvenirs li p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.souvenirs .etat { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 8px; }
.souvenirs .bouton { flex: 0 0 auto; }
.cadeau .proches { font-family: var(--plume); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); margin: 0; }

/* Le livre d'or */
.livre { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.livre li { border: 3px solid var(--encre); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.livre li p { margin: 0; font-family: var(--plume); font-style: italic; font-size: 22px; line-height: 1.25; white-space: pre-line; overflow-wrap: anywhere; }
.livre li b { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
/* Le cadeau programmé */
.compte { margin: 0; font-weight: 800; font-size: clamp(30px, 6vw, 60px); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
/* La carte à imprimer (A5 paysage) */
body.impression { background: #D9D6CE; }
.carte-outils { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; padding: 20px var(--marge); }
.carte { width: 210mm; height: 148mm; margin: 0 auto 40px; background: var(--papier); display: grid; grid-template-columns: 1fr 1fr; gap: 10mm; padding: 12mm; box-sizing: border-box; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.carte-pochette { --cote: auto; width: auto; height: 100%; aspect-ratio: auto; box-shadow: 3mm 3mm 0 var(--encre); padding: 8mm; }
.carte-pochette .nom { font-size: 21mm; }
.carte-pochette .haut, .carte-pochette .bas { font-size: 3mm; }
.carte-texte { display: flex; flex-direction: column; justify-content: space-between; gap: 4mm; min-width: 0; }
.carte-texte h1 { font-size: 9mm; line-height: 1.02; margin: 0; }
.carte-texte .surtitre { margin: 0; }
.carte-code { display: flex; gap: 5mm; align-items: center; }
.carte-code .qr { width: 38mm; height: 38mm; flex: 0 0 auto; border: 0.8mm solid var(--encre); }
.carte-code p { margin: 0; font-size: 4mm; line-height: 1.3; font-weight: 600; }
.carte-lien { margin: 0; font-size: 2.6mm; overflow-wrap: anywhere; color: var(--gris); }
.carte .petit-texte { margin: 0; font-size: 2.8mm; }
@media print {
  @page { size: A5 landscape; margin: 0; }
  body.impression { background: #fff; min-height: 0; }
  .carte-outils { display: none; }
  .carte { margin: 0; box-shadow: none; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .carte * { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}

/* Le clip de photos : les vignettes */
.vignettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px; }
.vignettes:empty { display: none; }
.vignettes figure { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.vignettes img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 3px solid var(--encre); display: block; }
.vignettes button { font: 600 13px var(--grotesque); background: none; border: 0; padding: 4px 0; text-decoration: underline; cursor: pointer; color: var(--encre); text-align: left; }

/* La carte cadeau */
.carte-mot { margin: 0; font-family: var(--plume); font-style: italic; font-size: 5mm; line-height: 1.2; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.carte-code .le-code { display: inline-block; margin-top: 1.5mm; font-size: 6mm; letter-spacing: 0.06em; white-space: nowrap; }

/* Les trois histoires */
.histoire { border-top: 3px solid var(--encre); padding-top: 36px; display: flex; flex-direction: column; gap: 36px; }
.histoire-tete { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
.histoire-tete .pochette { --cote: auto; width: 100%; aspect-ratio: 1 / 1; }
.histoire-tete .pochette .nom { font-size: clamp(34px, 6vw, 64px); }
.histoire-tete h2 { font-size: clamp(34px, 5.6vw, 68px); line-height: 0.98; margin: 0; }
.histoire h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.echos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.echos li { border-left: 3px solid var(--encre); padding-left: 16px; }
.echos .dit { margin: 0 0 8px; color: var(--gris); }
.echos .dit b { color: var(--encre); }
.echos .chante { margin: 0; font-family: var(--plume); font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.2; white-space: pre-line; }
.echos .chante .rubrique { display: block; margin-bottom: 4px; font-family: var(--grotesque); font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rouge-texte); }
.etapes-histoire { margin: 0; padding: 0; list-style: none; counter-reset: pas; display: flex; flex-direction: column; gap: 14px; }
.etapes-histoire li { counter-increment: pas; display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: baseline; }
.etapes-histoire li::before { content: counter(pas, decimal-leading-zero); font-weight: 800; font-size: 22px; }
@media (max-width: 640px) { .histoire-tete { grid-template-columns: 1fr; } .histoire-tete .pochette { max-width: 260px; } }

/* La page Entreprises : le formulaire de devis et l'exemple d'e-mail aux couleurs d'une entreprise imaginaire */
.formulaire-devis { max-width: 780px; }
fieldset.champ { border: 0; padding: 0; min-width: 0; }
fieldset.champ > legend { padding: 0; margin-bottom: 12px; font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
fieldset.champ .choix label { min-height: 72px; }
.edition .titre-edition .plume { overflow-wrap: anywhere; }
.apercu-marque { max-width: 640px; border: 3px solid var(--encre); background: var(--blanc); box-shadow: 14px 14px 0 var(--encre); }
.apercu-de { margin: 0; padding: 12px 18px; border-bottom: 1px solid var(--encre); font-size: 15px; color: var(--gris); }
.apercu-corps { padding: 28px 24px; border-top: 10px solid #2F5D50; display: flex; flex-direction: column; gap: 14px; }
.apercu-corps p { margin: 0; }
.apercu-nom { font-size: 14px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #2F5D50; }
.apercu-titre { font-weight: 800; font-size: 26px; line-height: 1.1; color: #2F5D50; }
.apercu-bouton { align-self: flex-start; background: #2F5D50; color: var(--blanc); font-weight: 700; padding: 12px 20px; }
.apercu-code { font-size: 15px; color: var(--gris); }
.apercu-legal { margin: 0; padding: 10px 18px; border-top: 1px solid #DDD; font-size: 12px; color: var(--eteint); }
/* « La chanson ne vous plaît pas ? » : replié, discret (cadeau d'entreprise seulement) */
details.refaire > summary { cursor: pointer; font-weight: 600; color: var(--gris); }
details.refaire[open] > summary { margin-bottom: 20px; color: var(--encre); }
details.refaire select { font: inherit; padding: 10px 12px; border: 2px solid var(--encre); background: var(--blanc); max-width: 100%; }

/* Le paiement d'un lot */
.prix-lot { font-size: 44px; font-weight: 800; margin: 0; }

/* La page Entreprises */
.a-retenir { margin: 28px 0 0; font-weight: 800; font-size: clamp(22px, 3vw, 30px); line-height: 1.2; max-width: 820px; }
.seule-personne { margin-top: 40px; }
.seule-personne .edition p { margin: 0; }
#ecouter .film { margin-bottom: 34px; }
/* « Pourquoi offrir une chanson ? » : un petit écran du vrai site à côté de chaque argument */
.pistes.avec-ecran li { display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.2fr) 300px; gap: 16px 32px; align-items: center; }
@media (max-width: 1100px) {
  .pistes.avec-ecran li { grid-template-columns: 70px minmax(0, 1fr); }
  .pistes.avec-ecran .texte-piste, .pistes.avec-ecran .mini-ecran { grid-column: 2; }
  .pistes.avec-ecran .mini-ecran { max-width: 340px; margin: 8px 0 10px; }
}
@media (max-width: 560px) { .pistes.avec-ecran .texte-piste, .pistes.avec-ecran .mini-ecran { grid-column: 1 / -1; } }
.mini-ecran { background: var(--blanc); border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--encre); padding: 16px; font-size: 14px; line-height: 1.35; }
.mini-ecran p { margin: 0 0 6px; }
.me-tete { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.me-titre { font-weight: 800; font-size: 18px; line-height: 1.15; margin-bottom: 10px !important; }
.me-lecteur { display: flex; align-items: center; gap: 10px; }
.me-lecteur b { width: 32px; height: 32px; border-radius: 50%; background: var(--encre); color: var(--blanc); display: grid; place-items: center; font-size: 12px; flex: none; }
.me-barre { flex: 1; height: 4px; background: #DDD; position: relative; }
.me-barre::before { content: ''; position: absolute; inset: 0 55% 0 0; background: var(--encre); }
.me-vers { color: var(--eteint); }
.me-vers.allume { color: var(--encre); font-weight: 800; }
.me-bouton { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: var(--rouge); font-weight: 800; padding: 6px 11px; font-size: 13px; border: 2px solid var(--encre); }
.me-bouton.blanc { background: var(--blanc); }
.me-bouton svg { width: 14px; height: 14px; }
.me-champ { border-bottom: 2px solid var(--encre); padding-bottom: 4px; font-weight: 700; }
.me-champ small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gris); }
.me-boite { list-style: none; margin: 0; padding: 0; }
/* (plus précis que « .pistes.avec-ecran li », qui toucherait sinon aussi ces lignes) */
.pistes .mini-ecran .me-boite li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 8px; padding: 7px 0; border-bottom: 1px solid #DDD; }
.me-boite li:first-child b { text-decoration: underline; text-decoration-thickness: 2px; }
.me-boite small { grid-column: 1 / -1; color: var(--gris); }
.me-boite em { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.me-marque { display: flex; align-items: center; gap: 8px; border-bottom: 6px solid #2F5D50; padding-bottom: 8px; margin-bottom: 10px !important; font-weight: 800; color: #2F5D50; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; }
.me-marque i { width: 22px; height: 22px; border-radius: 50%; background: #2F5D50; flex: none; }
.me-note { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
/* Le haut de la page Entreprises : une étiquette lisible, une phrase d'accroche, trois lignes courtes */
.etiquette-page { align-self: flex-start; margin: 0; padding: 8px 14px; border: 3px solid var(--encre); font-size: 18px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.accroche { font-size: clamp(20px, 2vw, 24px); line-height: 1.4; font-weight: 600; max-width: 30em; }
.en-bref { list-style: none; margin: 0; padding: 0; max-width: 34em; border-top: 3px solid var(--encre); }
.en-bref li { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 20px; padding: 14px 0; border-bottom: 1px solid var(--encre); font-size: 18px; line-height: 1.45; }
.en-bref b { font-weight: 800; }
@media (max-width: 560px) { .en-bref li { grid-template-columns: 1fr; } }

/* Page Entreprises : un titre long, plus petit ; les quatre histoires d'entreprises (24/11) */
h1.titre-long { font-size: clamp(38px, 4.5vw, 66px); line-height: 0.98; }
.sommaire-histoires { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 3px solid var(--encre); }
.sommaire-histoires a { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--encre); font-size: 18px; font-weight: 800; text-decoration: none; }
.sommaire-histoires a:hover { text-decoration: underline; text-underline-offset: 5px; }
.sommaire-histoires span { font-weight: 600; font-size: 14px; letter-spacing: 0.08em; }
.travail-entreprise { margin: 6px 0 0; padding: 14px 16px; border: 2px solid var(--encre); line-height: 1.45; }
#histoires .nom-piste a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Les oiseaux de l'album « Canta Dream Logos » (24/11/2026) */
.pied .logo-pied img { mix-blend-mode: multiply; }
.oiseau-mine { display: block; height: auto; margin: 0 auto -12px; }
.attente .oiseau-mine { width: 120px; }
#commande .oiseau-mine { width: 96px; margin: -8px auto -20px; animation: oiseau-chante 1.6s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes oiseau-chante { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg) translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { #commande .oiseau-mine { animation: none; } }
.oiseau-crayon { display: block; width: min(240px, 60vw); height: auto; mix-blend-mode: multiply; }
#devis { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px 56px; }
#devis > .tete { grid-column: 1 / -1; }
#devis > form { grid-column: 1; }
#devis > .oiseau-papier { grid-column: 2; align-self: start; width: min(280px, 26vw); height: auto; border: 2px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); }
@media (max-width: 820px) { #devis { display: flex; } #devis > .oiseau-papier { display: none; } }

/* L'affiche à encadrer (25/11/2026) */
.affiches { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.affiche-apercu { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.affiche-apercu img { display: block; width: 100%; height: auto; border: 2px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); background: var(--papier); }
.affiche-apercu figcaption { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.affiche-apercu figcaption b { font-size: 22px; }
.affiche-apercu figcaption span { color: var(--gris); }
/* Parler avec l'auteur (24/11/2026). Pas de bulles de messagerie : une feuille de notes d'auteur.
   L'auteur en italique, le client en encre avec un trait épais à gauche ; chaque réplique dit qui parle. */
.deux-facons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.facons { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.facon { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border: 3px solid var(--encre); background: transparent; color: var(--encre); font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.facon b { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.facon span { font-size: 16px; color: var(--gris); line-height: 1.4; }
.facon i { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.facon[aria-current="true"] { border-width: 3px; border-style: dashed; }
button.facon { background: var(--rouge); }
button.facon span { color: var(--encre); }
.facon:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--encre); }
.fil { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.replique { display: flex; flex-direction: column; gap: 6px; }
.replique .qui { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gris); }
.replique.de-l-auteur > p { font-family: var(--plume); font-style: italic; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.25; max-width: 30em; }
.replique.du-client { padding-left: 18px; border-left: 6px solid var(--encre); }
.replique.du-client > p { font-size: 19px; white-space: pre-line; overflow-wrap: anywhere; }
.replique.en-cours { opacity: .6; }
.replique .feuille { margin-top: 14px; box-shadow: 10px 10px 0 var(--encre); }
.replique .feuille .texte-paroles { display: flex; flex-direction: column; gap: 18px; }
.attente { font-family: var(--plume); font-style: italic; font-size: 24px; animation: respire 1.6s ease-in-out infinite; }
@keyframes respire { 50% { opacity: .45; } }
@media (prefers-reduced-motion: reduce) { .attente { animation: none; } }
#suite { display: flex; flex-direction: column; gap: 18px; }
.repondre { display: flex; flex-direction: column; gap: 14px; }
.repondre textarea { min-height: 96px; }
.boutons-auteur { display: flex; flex-wrap: wrap; gap: 10px; }
.choix-auteur { min-height: 46px; padding: 0 16px; border: 3px solid var(--encre); background: var(--blanc); color: var(--encre); font: 600 16px/1.2 var(--grotesque); cursor: pointer; transition: transform .12s ease, box-shadow .12s ease; }
.choix-auteur:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--encre); }
.choix-auteur:disabled { opacity: .5; cursor: wait; transform: none; box-shadow: none; }
.valider-paroles { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; border-top: 3px solid var(--encre); }
.recit-partition { border-top: 2px solid var(--encre); padding-top: 28px; margin-top: 12px; display: flex; flex-direction: column; gap: 14px; max-width: 46em; }
.recit-partition h2 { font-size: clamp(30px, 4.5vw, 52px); margin-bottom: 6px; }
.recit-partition p { margin: 0; }

/* Les vidéos de réaction (scènes jouées) : verticales, sur l'accueil et sur /emotions */
.reaction-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--encre); border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--encre); }
.emotion-accueil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 40px 56px; align-items: center; }
.emotion-accueil .reaction-video { max-width: 360px; justify-self: end; }
.montage-emotions .reaction-video { max-width: 420px; margin: 0 auto; }
.galerie-reactions { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 34px 26px; }
.galerie-reactions figure { margin: 0; }
.galerie-reactions figcaption { margin-top: 16px; display: grid; gap: 2px; line-height: 1.3; }
.galerie-reactions figcaption span { font-size: 15px; }
@media (max-width: 760px) {
  .emotion-accueil { grid-template-columns: minmax(0, 1fr); }
  .emotion-accueil .reaction-video { justify-self: center; }
}

/* L'accueil : le titre dit ce qu'on fait, le disque se tient à droite du texte sur ordinateur */
.hero-accueil h1 { font-size: clamp(40px, 6.4vw, 92px); }
.hero-accueil .comment-court { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.5; }
.hero-accueil [data-pour] { transition: opacity .28s ease; }
.hero-accueil [data-pour].change { opacity: 0; }
@media (min-width: 900px) {
  .hero-accueil { flex-wrap: nowrap; gap: 32px; }
  .hero-accueil > .pile { flex: 1 1 58%; }
  .hero-accueil > .platine { flex: 0 1 42%; }
  .hero-accueil .pochette { --cote: min(380px, 27vw); }
  .hero-accueil .disque { --taille: min(340px, 24vw); margin-left: max(-170px, -12vw); }
}
@media (prefers-reduced-motion: reduce) { .hero-accueil [data-pour] { transition: none; } }

/* « Le cadeau qui apporte le plus d'émotion » : la publicité pour rire à côté d'une vraie scène */
.duo-emotions { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 28px 40px; justify-content: start; margin-top: 8px; }
.duo-emotions figure { margin: 0; }
.duo-emotions figcaption { margin-top: 16px; display: grid; gap: 4px; line-height: 1.35; }
.duo-emotions figcaption strong { font-size: 20px; }
.emotion-accueil.avec-duo { display: block; }
.emotion-accueil.avec-duo .suite { margin-top: 30px; display: grid; gap: 14px; max-width: 720px; }
@media (max-width: 640px) { .duo-emotions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } .duo-emotions figcaption strong { font-size: 17px; } }
