/* Portfolio Victor Duduyer : feuille de style reprise de toansound.com (InstaSon/business/site/code/style.css, palette Braise),
   réduite aux composants utilisés ici (menu en verre, accueil en onde, cartes, grille des travaux, lecteur vidéo, pied de page). */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 400 800; font-style: normal; font-display: swap;
  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 {
  --bg: #0a0807;
  --surface: rgba(255, 236, 226, .035);
  --glass: rgba(18, 12, 10, .55);
  --text: #f5f1ee;
  --text-dim: rgba(245, 241, 238, .62);
  --text-faint: rgba(245, 241, 238, .55);   /* contraste 5,7:1 (AA) */
  --border: rgba(255, 228, 214, .10);
  --border-strong: rgba(255, 228, 214, .20);
  --glow-1: #7a140b;   /* braise */
  --glow-2: #b4430f;   /* orange brûlé */
  --glow-3: #4a1a6e;   /* violet (demande du superviseur : braise + violet) */
  --glow-4: #2a0a2e;   /* prune profonde */
  --wave: rgba(255, 196, 170, .55);       /* barres du spectre de l accueil */
  --wave-line: rgba(255, 196, 170, 1);    /* lignes de l onde du fond (opacité gérée dans fond-onde.js, ≤ 10 %) */
  --accent: #ff3b30;   /* touche seulement */
  --btn: rgba(255, 255, 255, .94);
  --btn-text: #120c0a;
}
:root {
  --radius-lg: 28px;
  --radius-md: 18px;
  --gutter: 16px;
  --gap: 16px;
  --max: 1160px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { color: var(--text); font: 400 16px/1.55 "Archivo", ui-sans-serif, system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--btn); color: var(--btn-text); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 10px; }
.arr { display: inline-block; transition: transform .35s var(--ease); }
/* ---------- Fond vivant ---------- */
#fond { position: fixed; inset: 0; z-index: -3; pointer-events: none; }
.aura { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; --level: 0; }
.aura__b { position: absolute; border-radius: 50%; mix-blend-mode: screen;
  opacity: calc(.62 + var(--level) * .38); transition: opacity .12s linear; }
.aura__b1 { width: 95vmax; height: 95vmax; left: -30vmax; top: -35vmax; background: radial-gradient(closest-side, var(--glow-1), transparent 72%); animation: drift1 16s ease-in-out infinite alternate; }
.aura__b2 { width: 80vmax; height: 80vmax; right: -35vmax; top: 5vh; background: radial-gradient(closest-side, var(--glow-3), transparent 72%); animation: drift2 19s ease-in-out infinite alternate; }
.aura__b3 { width: 70vmax; height: 70vmax; left: 10vw; bottom: -40vmax; background: radial-gradient(closest-side, var(--glow-2), transparent 70%); opacity: calc(.38 + var(--level) * .5); animation: drift3 14s ease-in-out infinite alternate; }
.aura__b4 { width: 90vmax; height: 90vmax; left: 20vw; top: 30vh; background: radial-gradient(closest-side, var(--glow-4), transparent 70%); animation: drift4 22s ease-in-out infinite alternate; }
@keyframes drift1 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(28vw, 18vh, 0) scale(1.12); } 100% { transform: translate3d(12vw, 42vh, 0) scale(.95); } }
@keyframes drift2 { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-30vw, 25vh, 0) scale(.9); } 100% { transform: translate3d(-12vw, 55vh, 0) scale(1.15); } }
@keyframes drift3 { 0% { transform: translate3d(0, 0, 0) scale(1.05); } 50% { transform: translate3d(30vw, -30vh, 0) scale(.9); } 100% { transform: translate3d(-15vw, -55vh, 0) scale(1.1); } }
@keyframes drift4 { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-35vw, -25vh, 0) scale(1.2); } }
.grain { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Menu ---------- */
.nav-wrap { position: fixed; top: 10px; left: 0; right: 0; z-index: 30; padding: 0 10px; display: flex; justify-content: center; }
.nav { width: 100%; max-width: 780px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 8px 7px 18px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--border); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 55px rgba(0,0,0,.3); }
.nav__links { list-style: none; display: flex; }
.nav__links a { position: relative; display: block; padding: 10px 12px; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--text-dim); border-radius: 999px; transition: color .25s, background .25s; }
.nav__links a:hover { color: var(--text); background: var(--surface); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
/* ---------- Pilules ---------- */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 600 15px/1 "Archivo", sans-serif; letter-spacing: -.005em; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), background .25s, border-color .25s, box-shadow .35s; }
.pill:hover .arr { transform: translateX(3px); }
.pill:active { transform: scale(.97); }
.pill--solid { background: var(--btn); color: var(--btn-text); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.pill--solid:hover { background: #fff; box-shadow: 0 12px 44px rgba(255,255,255,.14); transform: translateY(-1px); }
.pill--glass { color: var(--text); background: var(--surface); border-color: var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.pill--glass:hover { border-color: var(--border-strong); background: rgba(255,255,255,.07); transform: translateY(-1px); }
.pill--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
/* ---------- Accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px var(--gutter) 32px; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
/* ---------- Blocs + cartes ---------- */
.block { max-width: var(--max); margin: 0 auto; padding: calc(var(--gap) / 2) var(--gutter); }
.card { position: relative; display: grid; gap: 28px; padding: 30px 22px; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--glow-1) 18%, transparent) 0%, transparent 55%), rgba(10, 8, 7, .42);
  border: 1px solid var(--border);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 80px -40px color-mix(in srgb, var(--glow-1) 60%, transparent);
  transition: border-color .4s, box-shadow .5s var(--ease); }
.card:hover { border-color: var(--border-strong); box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 40px 90px -40px color-mix(in srgb, var(--glow-1) 80%, transparent); }
.card + .card { margin-top: var(--gap); }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
h2 { font-weight: 760; font-size: clamp(34px, 8.6vw, 54px); line-height: 1.02; letter-spacing: -.028em; text-wrap: balance; }
.lead { margin-top: 16px; max-width: 40ch; color: var(--text-dim); }
.link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text);
  border-bottom: 1px solid var(--border-strong); padding-bottom: 4px; transition: border-color .25s; }
.link:hover { border-color: var(--text); }
.link:hover .arr { transform: translateX(3px); }
/* ---------- Pied de page ---------- */
.footer { max-width: var(--max); margin: 72px auto 0; padding: 44px var(--gutter) calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px; }
.footer__h { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 12px; justify-items: start; }
.footer ul a:not(.pill) { text-decoration: none; font-size: 15px; color: var(--text-dim); transition: color .25s; }
.footer ul a:not(.pill):hover { color: var(--text); }
.footer ul a .arr { font-size: 12px; opacity: .6; }
.footer ul a:hover .arr { transform: translate(2px, -2px); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--text-faint); }
.footer__bottom p { display: flex; align-items: center; gap: 10px; }
.footer__legal { gap: 20px !important; flex-wrap: wrap; }
.footer__legal a { text-decoration: none; letter-spacing: .12em; text-transform: uppercase; font-size: 11px; transition: color .25s; }
.footer__legal a:hover { color: var(--text); }
/* Moins d'animations : fond figé, pas d'apparitions, pas de pulsation */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aura__b, .dot, .swipe .arr { animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
.subpage .doc { max-width: 820px; margin: 0 auto; padding: 110px var(--gutter) 40px; }
.subpage.center .doc { min-height: 82svh; display: grid; place-items: center; }
.endcard { text-align: center; justify-items: center; max-width: 640px; }
.endcard .lead { margin-inline: auto; }
.endcard .hero__cta { margin-top: 8px; }
.h1 { font-weight: 760; font-size: clamp(34px, 7vw, 56px); line-height: 1.04; letter-spacing: -.028em; text-wrap: balance; }
.card.endcard { grid-template-columns: 1fr !important; padding: 48px 28px; }
[hidden] { display: none !important; }
/* ---------- v3 : repositionnement ---------- */
.hero__tag { margin-top: 26px; font-weight: 700; font-size: clamp(20px, 3.6vw, 28px); letter-spacing: -.015em; line-height: 1.2; max-width: 22ch; text-wrap: balance; }
/* Selected work */
.card--stack { grid-template-columns: 1fr !important; }
.credits { list-style: none; display: grid; gap: 12px; counter-reset: cr; }
.credit { position: relative; counter-increment: cr; display: grid; align-content: start; gap: 6px; padding: 22px 20px 20px; border-radius: 20px;
  background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); border: 1px solid var(--border); transition: border-color .3s, transform .4s var(--ease); }
.credit:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.credit::before { content: counter(cr, decimal-leading-zero); position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--text-faint); }
.credit__type { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-faint); padding-right: 32px; }
.credit h3 { font-weight: 720; font-size: 19px; line-height: 1.2; letter-spacing: -.012em; text-wrap: balance; }
.credit__award { font-size: 13.5px; color: #ffb4a8; }
.credit__award::before { content: "★ "; color: var(--accent); }
.credit__role { font-size: 13.5px; color: var(--text-dim); }
.credit__links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
.credit__links a { font-size: 14px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--border-strong); padding-bottom: 2px; }
.credit__links a:hover { border-color: var(--text); }
.credit__links a:hover .arr { transform: translate(2px, -2px); }
@media (min-width: 640px) { .credits { grid-template-columns: 1fr 1fr; } }
/* About */
.card--about { grid-template-columns: 1fr !important; }
.card--about .lead { max-width: 62ch; }
.card--about .lead + .lead { margin-top: 10px; }
.about__photo img { width: 100%; max-width: 320px; border-radius: 20px; border: 1px solid var(--border); }
@media (max-width: 859px) { .about__photo img { max-width: 210px; } }
@media (min-width: 860px) { .card--about:has(.about__photo:not([hidden])) { grid-template-columns: 300px 1fr !important; align-items: center; } }
/* v3.1 (14/11) : photos en studio dans About, bien visibles (argument de vente) */
.studio { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.studio__fig { margin: 0; position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--border); background: #000; }
.studio__fig img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.studio__fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 11px; font-size: 12.5px; color: #f5f1ee;
  background: linear-gradient(transparent, rgba(0,0,0,.72)); }
@media (min-width: 640px) { .studio { grid-template-columns: 1fr 1fr; } }
@media (min-width: 860px) { .studio { grid-template-columns: 1.15fr 1fr; } .studio__fig img { aspect-ratio: auto; height: 340px; } }
/* v3.2 (14/11) : lecteur vidéo intégré (assets/js/lecteur.js) */
.player { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(6,4,4,.86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: playerIn .25s var(--ease); }
.player[hidden] { display: none; }
@keyframes playerIn { from { opacity: 0; } }
.player__frame { position: relative; width: min(960px, 100%); display: grid; gap: 10px; justify-items: center; }
.player__screen { width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.player.is-vertical .player__frame { width: min(400px, 100%, calc((100dvh - 120px) * 9 / 16)); }
.player.is-vertical .player__screen { aspect-ratio: 9 / 16; }
.player.is-insta .player__screen { background: #fff; }
.player.is-insta .player__frame { width: min(420px, 100%); }
.player.is-insta .player__screen { aspect-ratio: auto; height: min(760px, calc(100dvh - 120px)); }
.player__screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__close { position: absolute; right: 0; top: -46px; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1;
  color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); }
.player__close:hover { border-color: var(--accent); }
.player__out { font-size: 13px; color: var(--text-dim); }
.player__out:hover { color: var(--text); }
.has-player body { overflow: hidden; }
@media (max-width: 559px) { .player { padding: 56px 12px 16px; } }
/* v3.3 (14/11) : miniatures des projets (images locales, 0 requête externe) */
.credit { padding-top: 0; overflow: hidden; }
.credit__thumb { position: relative; display: block; margin: 0 -20px 10px; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-bottom: 1px solid var(--border); }
.credit__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .8s var(--ease), opacity .4s; }
.credit:hover .credit__thumb img { transform: scale(1.04); opacity: 1; }
.credit__play { position: absolute; left: 12px; bottom: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(245,241,238,.92); box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.credit__play::after { content: ""; position: absolute; left: 13px; top: 10px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--btn-text); }
.credit::before { z-index: 2; top: 10px; right: 10px; padding: 4px 8px; border-radius: 999px; color: #f5f1ee; background: rgba(0,0,0,.55); }
.credit__type { padding-right: 0; }
/* v4.1 (14/11) : vidéos hébergées sur le site (Changan, Gladiator) dans la fenêtre lecteur ; 9 projets → grille de 3 sur grand écran */
.player__screen video { display: block; width: 100%; height: 100%; background: #000; object-fit: contain; }
@media (min-width: 1000px) { .credits { grid-template-columns: repeat(3, 1fr); } }
/* fenêtre lecteur : précédent / suivant entre les reels, fondu doux au changement */
.player__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; cursor: pointer; z-index: 2;
  display: grid; place-items: center; font: 600 18px/1 "Archivo", sans-serif; color: var(--text);
  background: rgba(14, 10, 9, .7); border: 1px solid var(--border-strong); transition: border-color .25s, opacity .25s; }
.player__nav:hover { border-color: var(--accent); }
.player__nav[hidden] { display: none; }
.player__nav--prev { left: -64px; }
.player__nav--next { right: -64px; }
.player__count { font-size: 12px; letter-spacing: .14em; color: var(--text-faint); }
.player__screen { transition: opacity .18s ease, transform .18s ease; }
.player__screen.is-swapping { opacity: 0; transform: scale(.985); }
@media (max-width: 559px) {
  .player__nav { top: auto; bottom: -58px; transform: none; width: 42px; height: 42px; }
  .player__nav--prev { left: 0; }
  .player__nav--next { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .player__screen { transition: none; } }
/* v4.3b (14/11, retour du directeur) : fenêtre lecteur sur téléphone — flèches sur une rangée SOUS la vidéo (← 3 / 6 →),
   marge basse ≥ 16 px + zone de sécurité iPhone (barre d'adresse / barre d'accueil) ; la vidéo verticale réduit sa taille pour tout faire tenir. */
@media (max-width: 559px) {
  .player { padding: 56px 12px max(16px, env(safe-area-inset-bottom)); }
  .player__frame { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 12px; row-gap: 10px; }
  .player__screen { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .player__nav { position: static; transform: none; grid-row: 2; width: 44px; height: 44px; }
  .player__nav--prev { grid-column: 1; }
  .player__nav--next { grid-column: 3; }
  .player__count { grid-column: 2; grid-row: 2; text-align: center; }
  .player__out { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
  .player.is-vertical .player__frame { width: min(400px, 100%, calc((100dvh - 200px - env(safe-area-inset-bottom)) * 9 / 16 + 112px)); }
  .player.is-vertical .player__screen { width: min(100%, calc((100dvh - 200px - env(safe-area-inset-bottom)) * 9 / 16)); }
}
/* mention « lecteur tiers » sous la vidéo (discrète) */
.player__note { font-size: 11.5px; color: var(--text-faint); text-align: center; }
@media (max-width: 559px) { .player__note { grid-column: 1 / -1; grid-row: 4; } }
/* v4.4 (14/11, retour de Victor) : apparition des blocs LIÉE AU SCROLL (app.js pose --rv de 0 à 1, lissé à chaque image).
   Plus de transition CSS sur opacity/transform (c'était elle qui faisait le « pop » décalé). */
.rv-js .reveal { transition: border-color .4s, box-shadow .5s var(--ease);
  opacity: var(--rv, 0); transform: translate3d(0, calc((1 - var(--rv, 0)) * 32px), 0) scale(calc(.985 + var(--rv, 0) * .015)); }
.rv-js .reveal.is-in { opacity: 1; transform: none; }
/* v4.5 (14/11, retour de Victor sur téléphone : blanc au rebond en haut / en bas). Fond Braise sur html ET body (couleur en dur, pas
   seulement la variable), pas de rebond (overscroll) ni de « tirer pour rafraîchir », hauteur mini pleine page, et fond sombre aussi
   pendant la transition entre pages. (La balise meta color-scheme rend le fond sombre avant même le chargement de ce CSS.) */
/* v4.6 (14/11) : le fond sombre est sur html SEULEMENT (il sert de « dessous » : canvas du navigateur, rebond, avant le CSS).
   Le mettre aussi sur body le peignait PAR-DESSUS les couches du fond animé (lueurs, onde, grain en z-index négatif) :
   fond rouge visible pendant la transition de page puis noirci ~1 s après (bug signalé par Victor). body reste transparent. */
html { background-color: #0a0807; }
body { background-color: transparent; }
html { overscroll-behavior-y: none; min-height: 100%; }
body { overscroll-behavior-y: none; min-height: 100vh; min-height: 100dvh; }
/* ===== Titre d accueil « Onde qui coupe » A Tranche (DA v3, onde réactive v4, 14/11) : depuis maquettes/hero_v2/onde_v4/hero-onde.css ===== */
/* Toan Sound : titre d'accueil « Onde qui coupe » v2 (directeur artistique, 14/11/2026).
   À ajouter à style.css. Variantes : section.onde-hero[data-variant="A|B|C"]. */
.onde-hero { gap: 0; }
.onde-wrap { width: min(1180px, 90vw); }
.onde-sub { display: flex; justify-content: space-between; align-items: center; margin: 0 0 clamp(16px, 2.2vw, 26px);
  font: 600 11px/1 "Archivo", sans-serif; letter-spacing: .32em; text-transform: uppercase; color: var(--text-dim); }
.onde-sub i { display: inline-block; width: 4px; height: 4px; margin: 0 .9em 2px; border-radius: 50%; background: currentColor; opacity: .55; vertical-align: middle; }
.onde-sub__lieu { display: inline-flex; align-items: center; gap: 10px; }
.onde-sub__lieu::before { content: ""; width: 26px; height: 1px; background: linear-gradient(90deg, transparent, #ff3b30); }
.onde-nom { margin: 0; }
.onde { display: block; width: 100%; height: auto; overflow: visible; }
.onde--tel { display: none; }
.onde .grain { mix-blend-mode: multiply; }
.onde-hero .hero__tag { margin-top: clamp(26px, 3.4vw, 40px); }
/* entrée : le sous-titre, l'accroche et les boutons arrivent quand l'onde a fini de tracer la coupe */
.onde-hero .onde-sub, .onde-hero .hero__tag, .onde-hero .hero__cta { opacity: 0; transform: translateY(8px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.onde-hero.is-in .onde-sub, .onde-hero.is-in .hero__tag, .onde-hero.is-in .hero__cta { opacity: 1; transform: none; }
.onde-hero.is-in .hero__tag { transition-delay: .08s; } .onde-hero.is-in .hero__cta { transition-delay: .16s; }
@media (max-width: 700px) {
  .onde-wrap { width: calc(100vw - 32px); }
  .onde--ordi { display: none; } .onde--tel { display: block; }
  .onde-sub { font-size: 9px; letter-spacing: .2em; margin-bottom: 14px; }
  .onde-sub i { margin: 0 .55em 2px; width: 3px; height: 3px; }
  .onde-sub__lieu::before { width: 14px; }
  .onde-hero .hero__tag { margin-top: 24px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .onde-hero .onde-sub, .onde-hero .hero__tag, .onde-hero .hero__cta { opacity: 1; transform: none; transition: none; }
}
.onde-hero h1.hero__tag { max-width: 26ch; }
/* Accueil (décision de Victor 16/11, « B ») : le H1 s'affiche tout de suite, l'onde s'anime dessous.
   Seul le moment d'apparition du texte change : le tracé, la coupe « Tranche » et la réaction souris / doigt sont intacts. */
.onde-hero .hero__tag { opacity: 1; transform: none; transition: none; }
/* ===== Réorganisation Work / SCRATCH (16/11, OK de Victor) : bande « Selected credits », Also credited, vidéos sur music.html ===== */
.card--clients { gap: 14px; }
.card--clients .eyebrow { margin-bottom: 0; }
.clients { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; font-weight: 720; font-size: clamp(20px, 4.4vw, 30px); line-height: 1.25; letter-spacing: .02em; text-transform: uppercase; }
.clients li + li::before { content: "·"; margin: 0 .5em; color: var(--accent); }
.clients__more { color: var(--text-dim); font-size: 15px; }
.card--clients .link { margin-top: 4px; justify-self: start; }
.nav__brand { flex: 0 0 auto; }
.nav__links { flex: 0 1 auto; min-width: 0; }
/* liste des clients : le point de séparation reste en fin de ligne (jamais au début d'une ligne) */
.clients li + li::before { content: none; }
.clients li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--accent); }
/* ===== Mise en page du DA pour la réorganisation (validée par le directeur, 16/11) ===== */
/* Accueil : « Selected credits » = une ligne de noms, majuscules espacées, filets verticaux, centrée ; chaque nom mène à sa carte de Work */
.card--clients { justify-items: center; text-align: center; }
.clients { justify-content: center; gap: 10px 0; font-weight: 600; font-size: 13px; line-height: 1.4; letter-spacing: .28em; color: var(--text-dim); }
.clients li:not(:last-child)::after { content: none; }
.clients li { padding: 0 14px; }
.clients li + li { border-left: 1px solid var(--border-strong); }
.clients a { color: inherit; text-decoration: none; transition: color .25s; }
.clients a:hover, .clients a:focus-visible { color: var(--text); }
.clients__more { font-size: 12.5px; }
.clients__more a { color: var(--text-dim); text-decoration: none; }
.clients__more a:hover { color: var(--text); }
.clients__more::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #ff3b30; vertical-align: middle; }
@media (max-width: 480px) { .clients { font-size: 11.5px; letter-spacing: .2em; } .clients li { padding: 0 10px; } }
/* Work : 2 blocs + Rolex en grande carte + prix en pastille + porte vers SCRATCH */
.work-h { font-weight: 720; font-size: clamp(22px, 4.6vw, 28px); line-height: 1.12; letter-spacing: -.018em; margin-top: 14px; }
@media (min-width: 640px) { .credit--feature { grid-column: span 2; } .credit--feature h3 { font-size: 23px; } }
.credits--films .credit__award { justify-self: start; padding: 3px 11px; border: 1px solid #ff3b30; border-radius: 999px; font-size: 12.5px; color: var(--text); }
.credits--films .credit__award::before { content: none; }
/* crédits : sur téléphone, 2 lignes de 3 noms (le filet vertical ne commence jamais une ligne) */
@media (max-width: 600px) {
  .clients { display: grid; grid-template-columns: repeat(3, auto); justify-content: center; row-gap: 12px; }
  .clients li:nth-child(3n + 1) { border-left: 0; }
}
.card--clients .link { justify-self: center; }
/* menu téléphone (règles 480 / 370 px de toansound.com) */
@media (max-width: 480px) {
  .nav { gap: 6px; padding-left: 12px; padding-right: 6px; }
  .nav__links a { padding-left: 7px; padding-right: 7px; font-size: 10.5px; letter-spacing: .1em; }
}
@media (max-width: 370px) { .nav__links a { padding-left: 5px; padding-right: 5px; font-size: 10px; letter-spacing: .06em; } }
/* adresse e-mail (règles de toansound.com) */
.footer__bottom a[href^="mailto"] { color: var(--text-dim); text-decoration: none; }
.footer__bottom a[href^="mailto"]:hover { color: var(--text); }
.footer ul a[href^="mailto"] { font-size: 13px; overflow-wrap: anywhere; }

/* ---------- Tablette / ordinateur (repris de toansound.com, réduit aux blocs du portfolio) ---------- */
@media (min-width: 860px) {
  :root { --gutter: 32px; --gap: 20px; }
  .card { padding: 52px 56px; gap: 48px; }
  .card:not(.card--split) { grid-template-columns: 1fr 1.6fr; align-items: start; }
  .card--split { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .nav__links a { padding-left: 16px; padding-right: 16px; }
}
/* Écrans bas (portables 720-800 px) : l'accueil tient en entier */
@media (max-height: 820px) and (min-width: 560px) {
  .hero { padding-top: 84px; }
  .hero__cta { margin-top: 20px; }
}

/* ===================== Portfolio Victor Duduyer ===================== */
/* Sans JavaScript, les blocs restent visibles (l'apparition au défilement n'existe qu'avec .rv-js, posée par app.js) */
.reveal { opacity: 1; transform: none; }

/* Menu : marque (initiales VD + nom) au style des liens ; le nom disparaît sur téléphone pour laisser la place aux 3 liens */
.nav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); white-space: nowrap;
  font: 600 11px/1 "Archivo", sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.nav__brand img { width: 26px; height: 26px; border-radius: 8px; }
@media (max-width: 559px) { .nav__brand span { display: none; } }

/* Cibles tactiles ≥ 44 px : seulement du padding vertical, compensé (marge négative ou padding du menu réduit) : rien ne bouge à l'écran */
.nav { padding-top: 3.5px; padding-bottom: 3.5px; }           /* 3,5 + 44 + 3,5 = la même hauteur qu'avant (à 1 px près) */
.nav__links a { padding-top: 14px; padding-bottom: 14px; }
.nav__brand { padding: 9px 0; }
.clients a { display: inline-block; padding: 14px 0; margin: -14px 0; }
.credit__links a { display: inline-block; padding-top: 20px; margin-top: -20px; }
.footer ul a:not(.pill) { display: inline-block; padding: 12px 0; margin: -12px 0; }
.footer__legal a { display: inline-block; padding: 15px 0; margin: -15px 0; }
.player__close::before { content: ""; position: absolute; inset: -4px; border-radius: 50%; }
.pill--sm { position: relative; }
.pill--sm::before { content: ""; position: absolute; inset: -2px 0; }

/* Accueil : le nom en onde est plus long que « TOAN SOUND » ; plus large sur ordinateur (le téléphone garde la règle de Toan Sound) */
@media (min-width: 701px) { .onde-wrap { width: min(1400px, 94vw); } }

/* Petits titres de section en h2 (référencement) : même rendu que le sur-titre */
h2.eyebrow { line-height: 1.55; text-wrap: wrap; }

/* À propos */
.card--about .lead a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; transition: color .25s; }
.card--about .lead a:hover { color: #fff; }
.card--about .lead strong { color: var(--text); font-weight: 650; }

/* Sur le terrain : une photo verticale à côté du titre */
.card--terrain { grid-template-columns: 1fr !important; }
.card--terrain .studio__fig { max-width: 420px; }
.card--terrain .studio__fig img { aspect-ratio: 3 / 4; height: auto; }
@media (min-width: 860px) { .card--terrain { grid-template-columns: 1fr 420px !important; align-items: end; } }

/* Travaux : titres des cartes en h4 (h2 = section, h3 = groupe), même rendu que les h3 de toansound.com */
.credit h4 { font-weight: 720; font-size: 19px; line-height: 1.2; letter-spacing: -.012em; text-wrap: balance; }
@media (min-width: 640px) { .credit--feature h4 { font-size: 23px; } }
/* « Voir les créations personnelles » : bloc repliable sans JavaScript (details/summary) */
.more { display: grid; gap: 14px; }
.more > summary { list-style: none; justify-self: start; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary .arr { transition: transform .35s var(--ease); }
.more[open] > summary .arr { transform: rotate(180deg); }
.more:not([open]) .more__moins, .more[open] .more__plus { display: none; }

/* Contact : appel à l'action centré */
.card--cta { grid-template-columns: 1fr !important; justify-items: center; text-align: center; gap: 0; }
.card--cta .eyebrow { justify-content: center; }
.card--cta .lead { margin-inline: auto; }
.card--cta .hero__cta { margin-top: 30px; }

/* Pied de page */
.footer ul li { font-size: 15px; color: var(--text-dim); }
.footer__bottom img { width: 18px; height: 18px; border-radius: 5px; }
