/* Layout : grandes capitales pleine largeur, beaucoup d'air, texte machine à écrire en colonnes,
   petits dessins faits main en contrepoint. Une seule ambiance (pas de mode sombre), par choix. */
:root {
  --lime: #E3F79B;
  --paper: #F8F8F6;
  --ink: #1D1D1B;
  --mute: #6E6C64;
  --white: #FFFFFF;
  --c-obe: #E8602C;
  --c-bk: #D52B26;
  --tile: #EDEDEA;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "Courier Prime", "Courier New", Courier, monospace;

  --gutter-l: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gutter-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--page-bg, var(--paper)); color: var(--ink);
  font-family: var(--mono); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Dessins faits main */
.doodle { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.u { /* soulignage à la main */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C40 4 90 11 130 7 C160 4 184 8 197 6' fill='none' stroke='%231D1D1B' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 100% .5em no-repeat;
  padding-bottom: .22em;
}

/* Typo */
.display {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.045em; line-height: .92; margin: 0;
}
.label { font-family: var(--mono); font-weight: 700; margin: 0 0 1.1rem; }
.small-mono { font-family: var(--mono); font-size: .95rem; margin: 0; }

/* En-tête */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--page-bg, var(--paper)); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--page-bg, var(--paper)); border-bottom: 1px solid var(--ink); }
.site-header .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.25rem; }
.site-header a { text-decoration: none; }
.brand-name, .nav a { font-family: var(--display); font-stretch: 100%; font-weight: 400; text-transform: uppercase; letter-spacing: .03em; font-size: .95rem; }
.nav { display: flex; gap: 1.8rem; }
.nav a { padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--ink); }

/* ---------- Accueil ---------- */
.hero { padding-block: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 4.5vw, 12rem); white-space: nowrap; letter-spacing: -0.05em; width: max-content; }
.hero .city-row { position: relative; margin-top: clamp(1.2rem, 3vw, 3rem); padding-left: 58%; }
.hero .city { font-size: clamp(1.25rem, 2.4vw, 3rem); position: relative; display: inline-block; }
.hero .city .doodle { position: absolute; left: -4%; bottom: -.55em; width: 108%; height: .5em; }
.hero .stage { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); margin-top: clamp(1rem, 3vw, 2rem); }
.hero .stage img { grid-column: 2 / span 6; width: 100%; max-width: 640px; }
.hero .stage .star { position: absolute; width: clamp(48px, 6vw, 92px); right: 20%; top: 18%; color: var(--ink); }
.hero .stage .spiral { position: absolute; width: clamp(40px, 4.5vw, 70px); right: 34%; bottom: 14%; color: var(--ink); }

/* Bandeau défilant (missions, logos) */
.band { border-block: 1px solid var(--ink); overflow: hidden; padding-block: clamp(1rem, 2vw, 1.6rem); }
.band.dark { background: var(--ink); color: var(--lime); }
.band-track { display: flex; width: max-content; animation: defile 32s linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; }
.band li { flex: none; display: flex; align-items: center; gap: .55em; padding-right: clamp(2rem, 4vw, 4.5rem); }
.band .word { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.5rem, 3.2vw, 3.4rem); line-height: 1; white-space: nowrap; }
.band .doodle { width: 1.25em; height: 1.25em; font-size: clamp(1.5rem, 3.2vw, 3.4rem); flex: none; }
.band.small .word { font-size: clamp(1.1rem, 2vw, 2rem); }
.band.small .doodle { font-size: clamp(1rem, 1.6vw, 1.5rem); width: .9em; height: .9em; }
@keyframes defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .band-track { animation: none; width: auto; }
  .band-track > ul + ul { display: none; }
  .band ul { flex-wrap: wrap; row-gap: .8rem; }
}

/* Présentation */
.about { padding-block: clamp(5rem, 12vw, 11rem); }
.about .grid2 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.about .text { grid-column: 7 / span 5; min-width: 0; max-width: 36rem; position: relative; }
.about p { margin: 0 0 1.3rem; }
.about dl { margin: 1.8rem 0 2.6rem; display: grid; gap: 1rem; }
.about dt { font-weight: 700; display: inline; }
.about dd { display: inline; margin: 0; }
.cta { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 700; }
.cta .btn { border: 1.5px solid var(--ink); padding: .85rem 1.4rem; transition: background .2s, color .2s; }
.cta:hover .btn { background: var(--ink); color: var(--lime); }
.cta .doodle { width: 70px; height: 36px; transition: transform .3s; }
.cta:hover .doodle { transform: translateX(6px); }
.about .side-doodle { position: absolute; left: -38%; top: -10%; width: clamp(60px, 9vw, 130px); }

/* Index des projets (ciel) */
.index { position: relative; overflow: hidden; color: var(--white); padding-block: clamp(4rem, 9vw, 8rem);
  background: linear-gradient(rgba(20,20,20,.28), rgba(20,20,20,.28)), #555 url("../img/ciel.jpg") center / cover; }
.index .small-mono { position: relative; z-index: 3; display: flex; align-items: center; gap: .6rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.index .small-mono .doodle { width: 46px; height: 23px; transform: rotate(80deg); }
.index ol { list-style: none; margin: 0; padding: 0; position: relative; z-index: 2; text-align: center; }
.index li + li { margin-top: clamp(.2rem, 1vw, 1rem); }
.index a { text-decoration: none; display: inline-block; transition: opacity .25s, font-style .25s; }
.index .name { display: block; font-size: clamp(2.4rem, 10.5vw, 13rem); }
.index ol.active a { opacity: .35; }
.index ol.active a.on { opacity: 1; }
.float-img {
  position: absolute; z-index: 1; width: auto; height: auto; max-width: clamp(220px, 28vw, 460px); max-height: 60vh;
  pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.94) rotate(-2deg);
  transition: opacity .25s, transform .3s; left: 50%; top: 50%;
}
.float-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-2deg); }
@media (prefers-reduced-motion: reduce) { .float-img { transition: none; } }
@media (hover: none) { .index li + li { margin-top: 2.6rem; } }

/* Logos */
.logos { padding-block: clamp(3.5rem, 7vw, 6rem); }
.logos .small-mono { margin-bottom: 2rem; }
.logos .band { border: 0; padding: 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos .band-track { animation-duration: 55s; }
.logos li { height: 60px; padding-right: clamp(4rem, 8vw, 8rem) !important; }
.logos img { max-width: none; }
.logos img.tall { height: 46px; }
.logo-texte { font-family: var(--display); font-stretch: 112%; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.35rem; white-space: nowrap; }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--lime); padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.site-footer .head { display: flex; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }
.site-footer h2 { font-size: clamp(2.2rem, 6.5vw, 8rem); }
.site-footer .head .doodle { width: clamp(70px, 8vw, 120px); height: auto; transform: rotate(35deg); margin-bottom: .4rem; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.contact-grid .label { font-weight: 400; color: var(--paper); opacity: .6; margin-bottom: .4rem; }
.contact-grid p { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-grid a { text-decoration: none; border-bottom: 1px solid currentColor; }
.copy-btn { margin-left: .6rem; font: inherit; font-size: .85rem; color: var(--lime); background: none; border: 1px solid var(--lime); padding: .05rem .5rem; cursor: pointer; }
.copy-btn:hover { background: var(--lime); color: var(--ink); }
.legal { margin-top: 3.5rem; font-size: .85rem; color: var(--paper); opacity: .55; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Pages projet ---------- */
.p-head { padding-block: clamp(4rem, 9vw, 8rem) clamp(3rem, 6vw, 6rem); }
.p-head .client { font-family: var(--mono); font-size: 1.2rem; margin: 0 0 clamp(2rem, 4vw, 3.5rem); }
.quote {
  font-family: var(--display); font-stretch: 100%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.065em; line-height: 1; margin: 0; font-size: clamp(1.7rem, 3.4vw, 4.6rem); text-wrap: balance;
}
.ccs { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 8rem); padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 7rem); }
.ccs > div { min-width: 0; }
.ccs .label { font-size: .9rem; }
.ccs p { margin: 0; font-size: .88rem; line-height: 1.7; letter-spacing: .015em; max-width: 44ch; }
.ccs em { font-weight: 700; }

.gallery { columns: 3 260px; column-gap: clamp(.75rem, 1.4vw, 1.25rem); padding-block: clamp(3rem, 6vw, 5rem) 0; }
.gallery.g2 { columns: 2 260px; }
.gallery.g1 { columns: 1; }
.gallery figure { margin: 0 0 clamp(.75rem, 1.4vw, 1.25rem); break-inside: avoid; }
.gallery img { width: 100%; cursor: zoom-in; }
.gallery video { width: 100%; background: #000; }
.gallery .tile { display: grid; place-items: center; padding: clamp(2rem, 5vw, 4rem); }
.gallery .tile img { cursor: zoom-in; width: auto; max-width: 100%; }
.tile.obe { background: var(--c-obe); aspect-ratio: 4 / 3; }
.tile.lime { background: var(--lime); }
.tile.bk { background: var(--c-bk); min-height: clamp(320px, 42vw, 620px); }
.tile.grey { background: var(--tile); }

.next-wrap { display: flex; justify-content: flex-end; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.next { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: var(--ink); }
.next .small-mono { color: var(--mute); }
.next strong { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.next .doodle { width: 64px; height: 32px; transition: transform .3s; }
.next:hover .doodle { transform: translateX(6px); }

/* Visionneuse */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(20, 20, 20, .88); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: fixed; top: max(1rem, env(safe-area-inset-top, 0px)); right: max(1rem, env(safe-area-inset-right, 0px)); font: inherit; color: #fff; background: none; border: 1px solid #fff; padding: .3rem .8rem; cursor: pointer; }

/* Infos */
.info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 7vw, 6rem); align-items: start; }
.portrait { margin: 0; }
.portrait { max-width: 360px; }
.portrait img { width: 100%; height: auto; }
.info .bio p { margin: 0 0 1.2rem; max-width: 60ch; }
.info h2 { font-size: clamp(1.3rem, 2.2vw, 2.2rem); margin: 2.8rem 0 1.2rem; }
.skills { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.skills li { display: flex; align-items: center; gap: .9rem; padding-block: .9rem; border-bottom: 1px solid var(--ink); }
.skills .doodle { width: 28px; height: 28px; flex: none; }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.contact-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1rem; padding-block: 1rem; border-bottom: 1px solid var(--ink); }
.contact-list a { overflow-wrap: anywhere; }

/* Mobile */
@media (max-width: 900px) {
  .hero .stage img { grid-column: 1 / span 9; }
  .about .text { grid-column: 2 / span 11; }
  .about .side-doodle { display: none; }
  .ccs { grid-template-columns: 1fr; }
  .info { grid-template-columns: 1fr; }
  .portrait { max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2rem, 10.4vw, 4.5rem); white-space: normal; width: auto; }
  .hero .city-row { padding-left: 0; }
  .hero .stage img { grid-column: 1 / span 12; }
  .hero .stage .star { right: 2%; top: 4%; }
  .about .text { grid-column: 1 / span 12; }
  .nav { gap: 1.2rem; }
  .brand-name, .nav a { font-size: .85rem; }
  .next-wrap { justify-content: flex-start; }
}

/* Bandes d'extraits floutés + mentions */
.strip { padding-top: clamp(3rem, 6vw, 5rem); }
.strip img { width: 100%; }
.note { font-family: var(--mono); font-size: .85rem; color: var(--mute); margin: .8rem 0 0; }
.gallery figcaption { font-family: var(--mono); font-size: .8rem; color: var(--mute); margin-top: .5rem; }
.gallery .plain img { cursor: zoom-in; }
.cta .btn span { margin-left: .5rem; }

/* Citations de l'étude (Burger King) */
.quotes { padding-top: clamp(3.5rem, 7vw, 6rem); display: grid; gap: clamp(2.5rem, 5vw, 4rem); }
.quotes .small-mono { color: var(--mute); }
.quotes figure { margin: 0; max-width: 1100px; }
.quotes blockquote {
  margin: 0; font-family: var(--display); font-stretch: 100%; font-weight: 800; font-style: italic;
  letter-spacing: -0.035em; line-height: 1.12; font-size: clamp(1.5rem, 3vw, 3.2rem); text-wrap: balance;
}
.quotes mark { background: var(--ink); color: var(--lime); padding: 0 .12em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.quotes figcaption { font-family: var(--mono); font-size: .9rem; margin-top: 1rem; }

/* ---------- Album photo : rangées justifiées, alignées au pixel ---------- */
.album-wrap { padding-top: clamp(4rem, 8vw, 7rem); }
.album-label { color: var(--mute); margin-bottom: .9rem; }
.album-title {
  font-family: var(--display); font-stretch: 100%; font-weight: 800; font-style: italic;
  letter-spacing: -0.05em; line-height: 1.05; font-size: clamp(1.7rem, 3.6vw, 3.8rem);
  margin: 0 0 clamp(1.8rem, 3.5vw, 3rem); max-width: 24ch; text-wrap: balance;
}
.album { --g: clamp(8px, 1vw, 14px); display: flex; flex-direction: column; gap: var(--g); }
.album .row { display: flex; gap: var(--g); }
.album .stack { display: flex; flex-direction: column; gap: var(--g); flex: none; }
.album .cell { margin: 0; position: relative; overflow: hidden; background: #E9E8E3; flex: none; min-width: 0; }
.album .cell img, .album .cell video { width: 100%; height: 100%; object-fit: cover; display: block; }
.album .cell img { cursor: zoom-in; }
.album .cell.contain { background: transparent; }
.album .cell.contain img { object-fit: contain; }
.album .cell.contain[style] img { padding: 7%; }
.album .tag {
  position: absolute; left: .7rem; top: .7rem; background: var(--paper); color: var(--ink);
  font-family: var(--mono); font-size: .78rem; padding: .25rem .6rem; pointer-events: none;
}
.album-wrap .note { margin-top: 1rem; }
.album-wrap .note a { color: var(--ink); }
/* sans JavaScript : simple grille qui se replie */
.album:not(.ready) .row { flex-wrap: wrap; }
.album:not(.ready) .cell, .album:not(.ready) .stack { flex: 1 1 280px; }
.album:not(.ready) .cell img { height: auto; }

/* Phrase manifeste (accueil) */
.manifesto { padding-block: clamp(4rem, 9vw, 8rem) 0; text-align: center; }
.manifesto-text {
  margin: 0 auto; font-family: var(--display); font-stretch: 100%; font-weight: 800;
  text-transform: uppercase; letter-spacing: -0.05em; line-height: 1.04;
  font-size: clamp(1.6rem, 2.9vw, 3.6rem);
}
.manifesto-text > span { display: block; text-wrap: balance; }
@media (min-width: 900px) { .manifesto-text > span { white-space: nowrap; } }
.manifesto-text > span + span { margin-top: .35em; }
.manifesto + .about { padding-top: clamp(4rem, 8vw, 7rem); }

/* « Lire la suite » sur téléphone et tablette */
.read-more { font: inherit; font-family: var(--mono); font-weight: 700; font-size: .9rem; color: var(--ink);
  background: none; border: 1.5px solid var(--ink); padding: .7rem 1.2rem; cursor: pointer; justify-self: start; }
.read-more:hover { background: var(--ink); color: var(--paper); }
@media (max-width: 900px) {
  .ccs.collapsed .more { display: none; }
  .ccs.collapsed > div:first-child p:last-child { position: relative; }
}

/* Texte de présentation : liste d'analyse */
.about .analyse { list-style: none; margin: 1.4rem 0 2.6rem; padding: 0; display: grid; gap: .8rem; }

/* ---------- Phrases posées sur l'album (chevauchent légèrement les photos) ---------- */
.album-text { position: relative; z-index: 5; display: flex; pointer-events: none; font-size: clamp(1.4rem, 2.6vw, 2.8rem); }
.album-text.over-down { margin-bottom: -.5em; margin-top: .7em; }
.album-text.over-up { margin-top: -.5em; }
.album-text.over-none { margin-top: 1.2em; }
.album-text:first-child { margin-top: 0; }
.album-text.side-l { justify-content: flex-start; }
.album-text.side-r { justify-content: flex-end; }
.album-text.side-m { justify-content: flex-start; padding-left: 24%; }
.album-text p {
  margin: 0; white-space: nowrap; font-family: var(--display); font-stretch: 100%; font-weight: 800; font-style: italic;
  letter-spacing: -0.05em; line-height: 1.12; font-size: 1em;
}
.album-text.side-r p { text-align: right; }

.ud { position: relative; display: inline-block; white-space: nowrap; }
.ud svg { position: absolute; left: -3%; bottom: -.12em; width: 106%; height: .32em; overflow: visible; pointer-events: none; }
.ud path { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* Apparition au défilement (activée par le script seulement ; sans script, tout reste visible) */
.reveal { transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.pending { opacity: 0; transform: translateY(28px); }
.reveal path.draw { stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .9s ease .45s; }
.reveal.pending path.draw { stroke-dashoffset: 1; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal path.draw { transition: none; }
  .reveal.pending { opacity: 1; transform: none; }
  .reveal.pending path.draw { stroke-dashoffset: 0; }
}

/* Étiquettes plus discrètes sur téléphone */
@media (max-width: 640px) {
  .album .tag { left: .35rem; top: .35rem; font-size: .6rem; padding: .12rem .35rem; line-height: 1.3; max-width: calc(100% - .7rem); }
  .album-text { font-size: 1.25rem; }
  .album-text p { white-space: normal; max-width: 22ch; text-wrap: balance; }
  .album-text.over-down { margin-top: 1.2em; }
  .album-text.side-l, .album-text.side-r { padding-inline: .5rem; }
  .album-text.side-m { padding-left: 30%; padding-right: .5rem; }

}

/* Étiquettes en bas des images (en haut seulement pour la vidéo avec lecteur) */
.album .cell .tag { top: auto; bottom: .7rem; }
.album .cell:has(video[controls]) .tag { top: .7rem; bottom: auto; }
@media (max-width: 640px) {
  .album .cell .tag { bottom: .35rem; }
  .album .cell:has(video[controls]) .tag { top: .35rem; }
}

/* ---------- Albums pleine largeur ---------- */
.album-wrap { margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); }
.album-wrap > .note { padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Étiquette verte qui apparaît au survol (ou quand l'image passe au centre de l'écran sur téléphone) */
.album .hover-note {
  position: absolute; left: .9rem; top: .9rem; z-index: 3; max-width: min(78%, 30ch);
  background: var(--lime); color: var(--ink); padding: .45em .7em .5em;
  font-family: var(--display); font-stretch: 100%; font-weight: 800; font-style: italic;
  letter-spacing: -0.035em; line-height: 1.12; font-size: clamp(1rem, 1.45vw, 1.45rem);
  opacity: 0; transform: translateY(8px) rotate(-1.5deg); transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.album .cell.has-note:hover .hover-note, .album .cell.has-note.show .hover-note { opacity: 1; transform: translateY(0) rotate(-1.5deg); }
.album .cell.has-note:has(video[controls]) .tag { transition: opacity .3s; }
.album .cell.has-note:has(video[controls]):hover .tag,
.album .cell.has-note.show:has(video[controls]) .tag { opacity: 0; }
@media (max-width: 640px) {
  .album .hover-note { left: .45rem; top: .45rem; font-size: .9rem; max-width: 86%; }
}
@media (prefers-reduced-motion: reduce) { .album .hover-note { transition: none; } }

/* Souris : l'étiquette verte suit le curseur (l'étiquette dans l'image ne sert qu'au tactile) */
.cursor-note {
  position: fixed; left: 0; top: 0; z-index: 50; pointer-events: none; max-width: 30ch;
  background: var(--lime); color: var(--ink); padding: .45em .7em .5em;
  font-family: var(--display); font-stretch: 100%; font-weight: 800; font-style: italic;
  letter-spacing: -0.035em; line-height: 1.12; font-size: clamp(1rem, 1.45vw, 1.45rem);
  opacity: 0; transition: opacity .25s ease; will-change: transform;
}
.cursor-note.on { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .album .hover-note { display: none; }
  .album .cell.has-note:has(video[controls]):hover .tag { opacity: 1; }
}
