/* =========================================================
   [Votre Nom] — Portfolio / style.css
   Direction : éditorial-brutaliste, fond noir absolu,
   typo déstructurée (Brivela ✦ Zünk), grain analogique.
   ========================================================= */

/* ---------- 00. FONTS ---------- */
/* Polices achetées, placées dans /assets/fonts/
   Remplace les noms de fichiers si besoin. */
@font-face {
    font-family: "Brivela";
    src: url("../assets/fonts/Brivela.woff2") format("woff2"),
         url("../assets/fonts/Brivela.woff")  format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Brivela";
    src: url("../assets/fonts/Brivela-Italic.woff2") format("woff2"),
         url("../assets/fonts/Brivela-Italic.woff")  format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "Zunk";
    src: url("../assets/fonts/Zunkz.woff2") format("woff2"),
         url("../assets/fonts/Zunkz.woff")  format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Zunk";
    src: url("../assets/fonts/Zunk-Italic.woff2") format("woff2"),
         url("../assets/fonts/Zunk-Italic.woff")  format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* ---------- 01. VARIABLES / DESIGN TOKENS ---------- */
:root {
    /* Palette */
    --bg:            #0a0a0a;
    --bg-elev:       #121212;
    --ink:           #f2efea;       /* bone / off-white */
    --ink-mute:      #8a8580;
    --ink-low:       #3a3834;
    --line:          rgba(242, 239, 234, 0.12);
    --accent:        #ff4a1c;       /* vermillon signature */
    --accent-soft:   #ff8f6b;

    /* Typo */
    --ff-display-1:  "Brivela", "Times New Roman", ui-serif, serif;
    /* --ff-display-2 : Zunk désactivée temporairement → on utilise Inter bold à la place.
       Pour réactiver Zunk plus tard, remettre "Zunk", en tête de la liste. */
    --ff-display-2:  "Inter", "Helvetica Neue", Helvetica, system-ui, sans-serif;
    --ff-body:       "Inter", "Helvetica Neue", Helvetica, system-ui, sans-serif;

    /* Easing */
    --ease:          cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);

    /* Layout */
    --pad-x:         clamp(18px, 4vw, 56px);
    --max:           1680px;
}

/* ---------- 02. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    cursor: none; /* On utilise le curseur custom */
}
img, video { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }

/* ---------- 03. GRAIN OVERLAY ---------- */
.grain {
    position: fixed; inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.07;
    mix-blend-mode: overlay;
    /* SVG noise généré inline */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0   0 0 0 0 0   0 0 0 0 0   0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 160px 160px;
    animation: grainShift 1.2s steps(6) infinite;
}
@keyframes grainShift {
    0%   { transform: translate(0, 0); }
    20%  { transform: translate(-3%, 2%); }
    40%  { transform: translate(4%, -2%); }
    60%  { transform: translate(-2%, -3%); }
    80%  { transform: translate(3%, 3%); }
    100% { transform: translate(0, 0); }
}

/* ---------- 04. CURSEUR CUSTOM ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 10000; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot,
.cursor__ring {
    position: absolute; top: 0; left: 0;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    will-change: transform, width, height;
    transition: width .35s var(--ease), height .35s var(--ease),
                background-color .3s var(--ease), border-color .3s var(--ease);
}
.cursor__dot { width: 6px; height: 6px; background: var(--ink); }
.cursor__ring { width: 36px; height: 36px; border: 1px solid var(--ink); }
.cursor__label {
    position: absolute; top: 18px; left: 18px;
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--ink); opacity: 0; transform: translateY(4px);
    transition: opacity .25s var(--ease), transform .25s var(--ease);
    white-space: nowrap;
}
.cursor.is-hover .cursor__ring { width: 68px; height: 68px; }
.cursor.is-hover .cursor__dot  { width: 3px;  height: 3px;  }
.cursor.is-hover .cursor__label { opacity: 1; transform: translateY(0); }
.cursor.is-view  .cursor__ring { width: 92px; height: 92px; background: var(--accent); border-color: var(--accent); }
.cursor.is-view  .cursor__dot  { opacity: 0; }

/* Masquer le curseur sur touch */
@media (hover: none) {
    body { cursor: auto; }
    .cursor { display: none; }
}

/* ---------- 05. LOADER ---------- */
.loader {
    position: fixed; inset: 0;
    background: var(--bg);
    z-index: 9999;
    display: grid; place-items: end stretch;
    padding: var(--pad-x);
    transition: transform .9s var(--ease) .2s, opacity .6s var(--ease) .2s;
}
.loader.is-done { transform: translateY(-100%); }
.loader__inner {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: clamp(12px, 2vw, 28px);
    align-items: end;
    width: 100%;
}
.loader__label {
    font-family: var(--ff-body);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--ink-mute);
}
.loader__count {
    font-family: var(--ff-display-2);
    font-size: clamp(48px, 10vw, 160px);
    line-height: 0.85;
    color: var(--ink);
    font-feature-settings: "tnum";
}
.loader__bar {
    display: block; height: 1px; background: var(--line);
    position: relative; align-self: end; margin-bottom: 18px;
}
.loader__bar-fill {
    position: absolute; inset: 0 auto 0 0;
    width: 0; background: var(--ink);
    transition: width .2s linear;
}

/* ---------- 06. HEADER ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px var(--pad-x);
    background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,0));
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.site-header__logo {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-display-2);
    font-size: 15px; letter-spacing: 0.02em;
    text-transform: uppercase;
}
.logo-mark {
    display: inline-block; color: var(--accent);
    transition: transform .6s var(--ease);
}
.site-header__logo:hover .logo-mark { transform: rotate(180deg); }

.site-header__nav {
    display: flex; gap: clamp(16px, 3vw, 42px);
    font-family: var(--ff-body);
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.14em;
}
.site-header__nav a {
    position: relative;
    padding: 6px 0;
}
.site-header__nav a::after {
    content: ""; position: absolute; left: 0; bottom: 2px;
    width: 0; height: 1px; background: var(--ink);
    transition: width .5s var(--ease);
}
.site-header__nav a:hover::after { width: 100%; }

.site-header__mail {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-body);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--ink-mute);
}
.site-header__mail .dot {
    width: 7px; height: 7px; border-radius: 99px;
    background: #9bff8a;
    box-shadow: 0 0 0 0 rgba(155,255,138,.6);
    animation: pulse 2.4s infinite var(--ease);
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(155,255,138,.6); }
    70%  { box-shadow: 0 0 0 10px rgba(155,255,138,0); }
    100% { box-shadow: 0 0 0 0 rgba(155,255,138,0); }
}

@media (max-width: 780px) {
    .site-header__nav, .site-header__mail { display: none; }
}

/* ---------- 07. INDEX VERTICAL ---------- */
.sidx {
    position: fixed;
    right: 18px; top: 50%;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    display: flex; gap: 22px;
    font-family: var(--ff-body);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em;
    color: var(--ink-low);
    z-index: 50;
}
.sidx__item {
    transition: color .4s var(--ease);
    position: relative;
}
.sidx__item.is-active { color: var(--ink); }
.sidx__item.is-active::before {
    content: ""; position: absolute;
    left: -14px; top: 50%; transform: translateY(-50%);
    width: 8px; height: 1px; background: var(--accent);
}
@media (max-width: 1200px) { .sidx { display: none; } }

/* ---------- 08. TYPOGRAPHIE / UTILS ---------- */
.word--brivela  { font-family: var(--ff-display-1); font-weight: 400; }
.word--zunk     { font-family: var(--ff-display-2); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.word--italic   { font-style: italic; }
.word--tilt     { display: inline-block; transform: rotate(-4deg); }
.word--outline  { -webkit-text-stroke: 1px var(--ink); color: transparent; }
.u              { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

.section-label {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em;
    color: var(--ink-mute);
    padding-left: 18px; position: relative;
    margin-bottom: clamp(32px, 6vw, 80px);
}
.section-label::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 8px; height: 1px; background: var(--accent);
}

/* ---------- 09. HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px var(--pad-x) 80px;
    display: flex; flex-direction: column; justify-content: space-between;
    overflow: hidden;
}
.hero__meta {
    position: absolute; top: 110px;
    font-family: var(--ff-body);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--ink-mute);
    line-height: 1.6;
}
.hero__meta--tl { left: var(--pad-x); }
.hero__meta--tr { right: var(--pad-x); text-align: right; }
.hero__meta em  { color: var(--ink); font-style: normal; }

.hero__title {
    margin: auto 0;
    font-size: clamp(48px, 11vw, 170px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    color: var(--ink);
    font-weight: 400;
}
.hero__line {
    display: block;
    position: relative;
}
.hero__line--2 { padding-left: clamp(60px, 14vw, 220px); margin-top: 6px; }
.hero__line--3 { text-align: right; margin-top: 6px; }

.hero__star {
    display: inline-block;
    font-size: 0.45em;
    color: var(--accent);
    vertical-align: super;
    animation: spin 14s linear infinite;
    transform-origin: center;
    margin: 0 0.05em;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Animation de reveal pour le hero (chaque mot) */
[data-split] {
    display: inline-block;
    opacity: 0;
    transform: translateY(110%);
    transition: transform 1.1s var(--ease-out), opacity .8s var(--ease-out);
}
.is-ready [data-split] { opacity: 1; transform: translateY(0); }
.is-ready [data-split]:nth-child(1) { transition-delay: .15s; }
.is-ready .hero__line--1 [data-split] { transition-delay: .2s; }
.is-ready .hero__line--2 [data-split]:nth-of-type(1) { transition-delay: .35s; }
.is-ready .hero__line--2 [data-split]:nth-of-type(2) { transition-delay: .45s; }
.is-ready .hero__line--3 [data-split]:nth-of-type(1) { transition-delay: .55s; }
.is-ready .hero__line--3 [data-split]:nth-of-type(2) { transition-delay: .65s; }

.hero__foot {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: end;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.hero__lede {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ink-mute);
}
.hero__lede strong { color: var(--ink); font-weight: 500; }
.hero__scroll {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-body);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.18em;
    padding: 14px 0;
}
.hero__scroll svg { animation: bob 2s infinite var(--ease-out); }
@keyframes bob { 50% { transform: translateY(4px); } }

@media (max-width: 780px) {
    .hero__meta { display: none; }
    .hero__foot { grid-template-columns: 1fr; }
    .hero__line--2 { padding-left: 20px; }
    .hero__line--3 { text-align: left; }
}

/* ---------- 10. MARQUEE ---------- */
.marquee {
    overflow: hidden; white-space: nowrap;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
    font-family: var(--ff-display-2);
    font-size: clamp(26px, 4.5vw, 64px);
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.marquee__track {
    display: inline-flex; gap: 46px;
    animation: marquee 38s linear infinite;
    will-change: transform;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee__sep { color: var(--accent); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ---------- 11. ABOUT ---------- */
.about {
    padding: clamp(80px, 14vw, 180px) var(--pad-x);
    max-width: var(--max); margin: 0 auto;
}
.about__grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: clamp(32px, 6vw, 100px);
    align-items: start;
}
.about__portrait {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--bg-elev);
    overflow: hidden;
    border: 1px solid var(--line);
    filter: grayscale(0.4) contrast(1.05);
}
.about__portrait img { width: 100%; height: 100%; object-fit: cover; }
.about__tape {
    position: absolute;
    background: var(--accent); color: var(--bg);
    font-family: var(--ff-body);
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    padding: 6px 10px;
    font-weight: 600;
}
.about__tape--tl { top: 12px; left: 12px; transform: rotate(-3deg); }
.about__tape--br { bottom: 12px; right: 12px; transform: rotate(3deg); background: var(--ink); }

.about__big {
    font-family: var(--ff-body);          /* ← Inter par défaut, Brivela uniquement sur les spans .word--brivela */
    font-size: clamp(22px, 2.4vw, 36px);  /* ← un peu réduit, Inter paraît plus "lourde" que Brivela à taille égale */
    line-height: 1.35;                    /* ← plus d'air, adapté à une sans-serif */
    letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0 0 clamp(40px, 6vw, 80px);
    font-weight: 300;                     /* ← Inter Light, plus élégant pour un paragraphe d'intro */
}
.about__big em { font-style: italic; }
.about__big strong { font-weight: 400; color: var(--accent); }

.about__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 48px);
    border-top: 1px solid var(--line);
    padding-top: 40px;
}
.about__cols h4 {
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
    margin: 0 0 16px;
}
.about__cols ul { font-family: var(--ff-body); font-size: 14px; color: var(--ink); }
.about__cols li { padding: 6px 0; border-bottom: 1px dashed var(--line); }

@media (max-width: 820px) {
    .about__grid { grid-template-columns: 1fr; }
    .about__portrait { max-width: 280px; }
    .about__cols { grid-template-columns: 1fr 1fr; }
}

/* ---------- 12. GALERIE ASYMÉTRIQUE ---------- */
.gallery {
    padding: clamp(60px, 10vw, 140px) var(--pad-x);
    max-width: var(--max); margin: 0 auto;
}
.gallery__head { margin-bottom: clamp(40px, 7vw, 96px); }
.gallery__title {
    font-size: clamp(44px, 9vw, 140px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 400;
}
.gallery__sub { color: var(--ink-mute); max-width: 460px; margin-top: 18px; font-size: 14px; }

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 80px;
    gap: 14px;
}
.g-item {
    position: relative; margin: 0; overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    transition: transform .6s var(--ease);
}
.g-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter .6s var(--ease);
    filter: grayscale(0.2);
}
/* Fallback placeholder si pas d'image */
.g-item img.ph,
.g-item img[src$=".jpg"]:not([src*="galerie/"]) { display: none; }
.g-item::after {
    content: attr(data-placeholder); /* optionnel, pour debug */
}
.g-item figcaption {
    position: absolute;
    bottom: 12px; left: 12px; right: 12px;
    display: flex; justify-content: space-between; align-items: end;
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink);
    mix-blend-mode: difference;
    pointer-events: none;
}
.g-item figcaption span { font-family: var(--ff-display-2); font-size: 14px; }

.g-item:hover img { transform: scale(1.06); filter: grayscale(0); }

/* Placement asymétrique manuel */
.g-item--a { grid-column: 1 / span 5;  grid-row: span 5; }
.g-item--b { grid-column: 7 / span 4;  grid-row: span 4; }
.g-item--c { grid-column: 11 / span 2; grid-row: span 3; }
.g-item--d { grid-column: 1 / span 3;  grid-row: span 3; }
.g-item--e { grid-column: 4 / span 4;  grid-row: span 4; }
.g-item--f { grid-column: 8 / span 5;  grid-row: span 5; }
.g-item--g { grid-column: 1 / span 6;  grid-row: span 4; }
.g-item--h { grid-column: 7 / span 6;  grid-row: span 3; }

@media (max-width: 820px) {
    .gallery__grid { grid-auto-rows: 120px; gap: 8px; }
    .g-item--a { grid-column: 1 / span 12; grid-row: span 3; }
    .g-item--b { grid-column: 1 / span 7;  grid-row: span 2; }
    .g-item--c { grid-column: 8 / span 5;  grid-row: span 2; }
    .g-item--d { grid-column: 1 / span 5;  grid-row: span 2; }
    .g-item--e { grid-column: 6 / span 7;  grid-row: span 2; }
    .g-item--f { grid-column: 1 / span 12; grid-row: span 3; }
    .g-item--g { grid-column: 1 / span 7;  grid-row: span 2; }
    .g-item--h { grid-column: 8 / span 5;  grid-row: span 2; }
}

/* Placeholder quand l'image n'existe pas encore (fallback visuel) */
.g-item img[src=""],
.g-item img[src$="/01.jpg"],
.g-item img[src$="/02.jpg"],
.g-item img[src$="/03.jpg"],
.g-item img[src$="/04.jpg"],
.g-item img[src$="/05.jpg"],
.g-item img[src$="/06.jpg"],
.g-item img[src$="/07.jpg"],
.g-item img[src$="/08.jpg"] {
    /* rien, on laisse le vrai asset s'afficher quand il sera là */
}

/* ---------- 13. SELECTED WORKS ---------- */
.work {
    padding: clamp(60px, 10vw, 160px) var(--pad-x);
    max-width: var(--max); margin: 0 auto;
}
.work__head { margin-bottom: clamp(40px, 7vw, 100px); }
.work__title {
    font-size: clamp(44px, 9vw, 140px);
    line-height: 0.9;
    margin: 0;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.work-card {
    display: grid;
    grid-template-columns: 80px 1fr 1fr;
    gap: clamp(20px, 3vw, 60px);
    align-items: center;
    padding: clamp(40px, 6vw, 80px) 0;
    border-top: 1px solid var(--line);
    position: relative;
    transition: background .6s var(--ease);
}
.work:last-of-type .work-card:last-of-type { border-bottom: 1px solid var(--line); }

.work-card__index {
    font-family: var(--ff-body);
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
    align-self: start;
}
.work-card__visual {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--line);
}
.work-card__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease), filter .8s var(--ease);
    filter: grayscale(0.35) brightness(0.85);
}
.work-card:hover .work-card__visual img {
    transform: scale(1.05);
    filter: grayscale(0) brightness(1);
}

.work-card--reverse {
    grid-template-columns: 1fr 1fr 80px;
}
.work-card--reverse .work-card__index { order: 3; text-align: right; }
.work-card--reverse .work-card__visual { order: 2; }
.work-card--reverse .work-card__meta   { order: 1; }

.work-card__title {
    font-size: clamp(40px, 7vw, 110px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    font-weight: 400;
}
.work-card__tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 28px;
}
.work-card__tags li {
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    padding: 6px 12px;
    border: 1px solid var(--line);
    border-radius: 99px;
    color: var(--ink-mute);
}
.work-card__cta {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-body);
    font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink);
    padding-bottom: 4px;
    border-bottom: 1px solid var(--ink);
    transition: gap .4s var(--ease);
}
.work-card:hover .work-card__cta { gap: 18px; }

@media (max-width: 820px) {
    .work-card,
    .work-card--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 40px 0;
    }
    .work-card--reverse .work-card__index { order: 1; text-align: left; }
    .work-card--reverse .work-card__visual { order: 2; }
    .work-card--reverse .work-card__meta   { order: 3; }
}

/* ---------- 14. CONTACT / FOOTER ---------- */
.contact {
    padding: clamp(80px, 14vw, 180px) var(--pad-x) 60px;
    max-width: var(--max); margin: 0 auto;
}
.contact__big {
    font-size: clamp(60px, 13vw, 220px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin: 0;
    font-weight: 400;
}
.contact__mail {
    display: inline-block;
    font-family: var(--ff-body);          /* ← Inter */
    font-style: normal;                   /* ← plus d'italique (l'italique Inter ne donne pas le même effet) */
    font-weight: 300;
    font-size: clamp(24px, 4vw, 52px);    /* ← réduit un peu, Inter paraît plus dense */
    letter-spacing: -0.01em;
    color: var(--accent);
    margin: clamp(40px, 6vw, 80px) 0;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--accent);
    transition: letter-spacing .6s var(--ease);
}
.contact__mail:hover { letter-spacing: 0.02em; }

.contact__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 60px);
    border-top: 1px solid var(--line);
    padding-top: 48px;
}
.contact__grid h4 {
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
    font-weight: 500;
    margin: 0 0 18px;
}
.contact__grid li { padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.contact__grid a:hover { color: var(--accent); }

.contact__bottom {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 60px; padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--ink-mute);
}

@media (max-width: 780px) {
    .contact__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 15. REVEAL / SCROLL ANIMATIONS ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
[data-reveal].is-in {
    opacity: 1; transform: translateY(0);
}

/* =========================================================
   PAGES DE PROJET (projet-expo / projet-asso / projet-bein)
   ========================================================= */

/* Hero projet */
.project-hero {
    padding: 160px var(--pad-x) 80px;
    position: relative;
    min-height: 90vh;
    display: flex; flex-direction: column; justify-content: flex-end;
}
.project-hero__crumb {
    position: absolute; top: 110px; left: var(--pad-x);
    font-family: var(--ff-body);
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
}
.project-hero__crumb a { color: var(--ink-mute); }
.project-hero__crumb a:hover { color: var(--accent); }
.project-hero__title {
    font-size: clamp(60px, 12vw, 200px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    margin: 0 0 40px;
    font-weight: 400;
}
.project-hero__meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 60px);
    border-top: 1px solid var(--line);
    padding-top: 28px;
}
.project-hero__meta dt {
    font-family: var(--ff-body);
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 8px;
}
.project-hero__meta dd {
    margin: 0; font-size: 14px; color: var(--ink);
}
@media (max-width: 780px) {
    .project-hero__meta { grid-template-columns: 1fr 1fr; }
}

/* Image pleine largeur (cover intro) */
.project-cover {
    padding: 0 var(--pad-x);
    margin: 80px 0;
}
.project-cover__img {
    aspect-ratio: 16/9;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    overflow: hidden;
}
.project-cover__img img { width: 100%; height: 100%; object-fit: cover; }

/* Sections projet */
.project-section {
    padding: clamp(60px, 10vw, 140px) var(--pad-x);
    max-width: var(--max); margin: 0 auto;
}
.project-section__head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(24px, 4vw, 80px);
    margin-bottom: clamp(32px, 6vw, 80px);
    align-items: end;
}
.project-section__title {
    font-size: clamp(36px, 6vw, 90px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 400;
}
.project-section__lede {
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink-mute);
    max-width: 560px;
}

.project-section__grid {
    display: grid;
    gap: 14px;
}
.project-section__grid--2 { grid-template-columns: 1fr 1fr; }
.project-section__grid--3 { grid-template-columns: repeat(3, 1fr); }
.project-section__grid--asym {
    grid-template-columns: 2fr 1fr;
}
@media (max-width: 820px) {
    .project-section__head { grid-template-columns: 1fr; }
    .project-section__grid--2,
    .project-section__grid--3,
    .project-section__grid--asym { grid-template-columns: 1fr; }
}

.media {
    aspect-ratio: 4/3;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}
.media--portrait { aspect-ratio: 3/4; }
.media--wide     { aspect-ratio: 21/9; }
.media--square   { aspect-ratio: 1/1; }
.media img,
.media video {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.media:hover img { transform: scale(1.04); }
.media__caption {
    position: absolute; bottom: 10px; left: 12px;
    font-family: var(--ff-body);
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--ink);
    mix-blend-mode: difference;
}

/* Note / pull-quote projet */
.project-note {
    padding: clamp(60px, 10vw, 140px) var(--pad-x);
    max-width: 1100px; margin: 0 auto;
}
.project-note__quote {
    font-family: var(--ff-body);          /* ← Inter */
    font-style: italic;                   /* ← on garde l'italique, l'italique Inter passe bien pour une citation */
    font-weight: 300;                     /* ← Inter Light Italic, lisible et élégant pour une longue citation */
    font-size: clamp(22px, 3vw, 40px);
    line-height: 1.4;
    letter-spacing: -0.005em;
    margin: 0;
}
.project-note__quote::before { content: "«\00a0"; color: var(--accent); }
.project-note__quote::after  { content: "\00a0»"; color: var(--accent); }
.project-note__author {
    display: block;
    margin-top: 24px;
    font-family: var(--ff-body);
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
}

/* Next project */
.next-project {
    padding: clamp(80px, 14vw, 160px) var(--pad-x);
    text-align: center;
    border-top: 1px solid var(--line);
}
.next-project__label {
    font-family: var(--ff-body);
    font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-mute);
}
.next-project__title {
    display: block;
    font-size: clamp(60px, 12vw, 200px);
    line-height: 0.9; letter-spacing: -0.03em;
    margin: 20px 0 0; font-weight: 400;
    transition: letter-spacing .8s var(--ease), color .4s var(--ease);
}
.next-project a:hover .next-project__title {
    letter-spacing: 0; color: var(--accent);
}

/* ---------- 16. ACCESSIBILITÉ / REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* =========================================================
   EXTENSIONS 2026 — 3D Models + Pan Reveal on Hover
   ========================================================= */


/* ---------- 15. MODEL-VIEWER (fichiers .glb en galerie) ---------- */
.g-item--3d {
    /* Fond plus neutre pour que le modèle 3D ressorte bien */
    background: radial-gradient(
        circle at 50% 40%,
        rgba(255, 74, 28, 0.08) 0%,
        var(--bg-elev) 60%,
        #0a0a0a 100%
    );
    cursor: grab;
}
.g-item--3d:active { cursor: grabbing; }

.g-item--3d model-viewer {
    width: 100%;
    height: 100%;
    display: block;
    background-color: transparent;
    --poster-color: transparent;
    --progress-bar-color: #ff4a1c;
    --progress-bar-height: 1px;
    /* Pas de grayscale sur un modèle 3D, ça le tuerait */
    filter: none !important;
}

/* Empêche le hover scale (hérité de .g-item:hover img) */
.g-item--3d:hover model-viewer { transform: none; }

/* Petit badge "3D" en haut à gauche pour signaler au visiteur
   qu'il peut interagir avec le modèle */
.g-item--3d::before {
    content: "3D · Drag";
    position: absolute;
    top: 12px; left: 12px;
    z-index: 2;
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px 9px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ink);
    pointer-events: none;
    opacity: 0.85;
    transition: opacity 0.4s var(--ease);
}
.g-item--3d:hover::before { opacity: 1; }


/* ---------- 16. WORK CARDS — PAN VERTICAL AU SURVOL (v2) ---------- */
/* L'image est rendue plus haute que le cadre (150%), puis translatée
   vers le haut au survol. Fonctionne pour toutes les orientations d'image. */

.work-card--pan .work-card__visual {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.work-card--pan .work-card__visual img {
    width: 100%;
    height: 150%;                          /* ← clé : l'image dépasse de 50% vers le bas, caché par overflow:hidden */
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: translateY(0);
    will-change: transform;
    transition:
        transform 4.5s cubic-bezier(0.22, 0.8, 0.25, 1),
        filter 0.8s var(--ease);
    filter: grayscale(0.35) brightness(0.85);
}

/* Au survol : l'image remonte de 33.33% de sa propre hauteur,
   ce qui révèle exactement sa moitié basse (150% - 100% = 50% du cadre = 33.33% de l'image) */
.work-card--pan:hover .work-card__visual img {
    transform: translateY(-33.33%);
    filter: grayscale(0) brightness(1);
}

/* Hint "Survolez pour parcourir ↓" */
.work-card__hint {
    position: absolute;
    bottom: 14px; left: 14px;
    z-index: 2;
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 10px;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid var(--line);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    pointer-events: none;
}
.work-card--pan:hover .work-card__hint {
    opacity: 1;
    transform: translateY(0);
}

/* Barre de progression fine en haut qui se remplit pendant le pan */
.work-card--pan .work-card__visual::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: var(--accent);
    z-index: 3;
    transition: width 4.5s linear;
    pointer-events: none;
}
.work-card--pan:hover .work-card__visual::after {
    width: 100%;
}


/* ---------- 17. MOBILE / REDUCED MOTION ---------- */
@media (hover: none) {
    /* Sur tactile : pas de hover → on fait une animation lente en boucle
       pour que le visiteur sente que l'image est "plus grande que le cadre" */
    .work-card--pan .work-card__visual img {
        animation: pan-loop 10s ease-in-out infinite alternate;
    }
    .work-card__hint,
    .work-card--pan .work-card__visual::after { display: none; }
}
@keyframes pan-loop {
    from { transform: translateY(0); }
    to   { transform: translateY(-33.33%); }
}

@media (prefers-reduced-motion: reduce) {
    .work-card--pan .work-card__visual img {
        transition: filter 0.3s ease;
        height: 100%;                      /* revenir à un ratio normal */
    }
    .work-card--pan:hover .work-card__visual img {
        transform: none;
        filter: grayscale(0) brightness(1);
    }
    .work-card--pan .work-card__visual::after { display: none; }
}

/* ---------- 18. MOBILE : GLB ADAPTATIF ---------- */
@media (max-width: 820px) {
    .g-item--3d::before {
        font-size: 9px;
        padding: 4px 7px;
        top: 8px; left: 8px;
    }
}


/* =========================================================
   EXTENSIONS BEIN SPORTS — sport galleries + feature pieces
   ========================================================= */

/* ---------- 19. CLIENT BADGE (hero BeIN) ---------- */
.project-client {
    position: absolute;
    top: 110px;
    right: var(--pad-x);
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
}
.project-client__label {
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.project-client__logo {
    width: clamp(62px, 8vw, 96px);
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.92;
    transition: opacity .4s var(--ease);
}
.project-client:hover .project-client__logo { opacity: 1; }

@media (max-width: 780px) {
    .project-client {
        top: auto;
        right: var(--pad-x);
        bottom: calc(var(--pad-x) + 100px);
    }
    .project-client__label { font-size: 9px; }
}

/* ---------- 20. SPORT SECTION ---------- */
.sport-section {
    padding: clamp(80px, 10vw, 140px) 0 clamp(40px, 6vw, 80px);
    max-width: var(--max);
    margin: 0 auto;
    position: relative;
}
.sport-section + .sport-section {
    border-top: 1px solid var(--line);
}
.sport-section__head {
    padding: 0 var(--pad-x);
    margin-bottom: clamp(32px, 5vw, 64px);
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(24px, 4vw, 60px);
    align-items: end;
}
.sport-section__meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    grid-column: 1 / -1;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line);
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.sport-section__tag strong {
    color: var(--accent);
    font-weight: 400;
    margin-right: 10px;
}
.sport-section__count { font-feature-settings: "tnum"; }
.sport-section__title {
    font-size: clamp(48px, 8vw, 128px);
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 400;
}
.sport-section__lede {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-mute);
    max-width: 520px;
    margin: 0;
}
@media (max-width: 820px) {
    .sport-section__head { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- 21. HORIZONTAL SCROLL GALLERY ---------- */
.sport-gallery { position: relative; }
.sport-gallery__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: ew-resize;
}
.sport-gallery__scroller::-webkit-scrollbar { display: none; }
.sport-gallery__track {
    display: flex;
    gap: 14px;
    padding: 0 var(--pad-x);
    width: max-content;
}
.sport-gallery::before,
.sport-gallery::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 24px;
    width: clamp(40px, 6vw, 100px);
    pointer-events: none;
    z-index: 3;
}
.sport-gallery::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, rgba(10,10,10,0) 100%);
}
.sport-gallery::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, rgba(10,10,10,0) 100%);
}
.sport-gallery__hint {
    position: absolute;
    top: -40px;
    right: var(--pad-x);
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}
.sport-gallery__hint::before {
    content: "↔";
    color: var(--accent);
    font-size: 14px;
}
.sport-gallery__progress {
    height: 1px;
    background: var(--line);
    margin: 18px var(--pad-x) 0;
    position: relative;
    overflow: hidden;
}
.sport-gallery__progress span {
    position: absolute;
    inset: 0 auto 0 0;
    background: var(--ink);
    width: 12%;
    transition: width 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 22. SPORT CARDS ---------- */
.sport-card {
    flex: 0 0 auto;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    overflow: hidden;
    position: relative;
}
.sport-card--wide     { width: clamp(460px, 44vw, 720px); aspect-ratio: 16/9; }
.sport-card--square   { width: clamp(320px, 28vw, 440px); aspect-ratio: 1/1; }
.sport-card--portrait { width: clamp(260px, 22vw, 360px); aspect-ratio: 3/4; }
.sport-card--tall     { width: clamp(220px, 18vw, 320px); aspect-ratio: 9/16; }

.sport-card img,
.sport-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 1.4s var(--ease), filter 0.8s var(--ease);
    filter: grayscale(0.25) brightness(0.88);
}
.sport-card:hover img,
.sport-card:hover video {
    transform: scale(1.04);
    filter: grayscale(0) brightness(1);
}
.sport-card__num {
    position: absolute;
    top: 12px; left: 14px;
    z-index: 2;
    font-family: var(--ff-display-2);
    font-size: 11px;
    letter-spacing: 0.22em;
    color: var(--ink);
    mix-blend-mode: difference;
    font-feature-settings: "tnum";
}
.sport-card__type {
    position: absolute;
    top: 12px; right: 14px;
    z-index: 2;
    padding: 4px 8px;
    border: 1px solid rgba(242, 239, 234, 0.35);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-family: var(--ff-body);
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    pointer-events: none;
}
.sport-card__caption {
    position: absolute;
    left: 14px; right: 14px; bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 12px;
    mix-blend-mode: difference;
    pointer-events: none;
}
.sport-card__title {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink);
    line-height: 1.2;
}
.sport-card__subtitle {
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    flex-shrink: 0;
}

@media (hover: none) {
    .sport-gallery__hint { display: none; }
    .sport-gallery__scroller { cursor: auto; -webkit-overflow-scrolling: touch; }
    .sport-card img, .sport-card video { filter: none; }
}
@media (max-width: 820px) {
    .sport-card--wide     { width: 78vw; }
    .sport-card--square   { width: 62vw; }
    .sport-card--portrait { width: 58vw; }
    .sport-card--tall     { width: 48vw; }
}

/* ---------- 23. FEATURE SHOWCASE ---------- */
.feature-showcase {
    border-top: 1px solid var(--line);
    margin-top: clamp(60px, 8vw, 100px);
    padding-top: clamp(80px, 12vw, 160px);
    position: relative;
}
.feature-showcase__label {
    display: block;
    padding: 0 var(--pad-x);
    max-width: var(--max);
    margin: 0 auto 16px;
    font-family: var(--ff-body);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}
.feature-showcase__title {
    padding: 0 var(--pad-x);
    max-width: var(--max);
    margin: 0 auto 32px;
    font-size: clamp(64px, 12vw, 200px);
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-weight: 400;
}
.feature-showcase__lede {
    padding: 0 var(--pad-x);
    margin: 0 auto clamp(60px, 8vw, 100px);
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.5;
    color: var(--ink-mute);
    max-width: 640px;
}

/* ---------- 24. FEATURE PIECE ---------- */
.feature-piece {
    padding: clamp(60px, 8vw, 120px) var(--pad-x);
    max-width: var(--max);
    margin: 0 auto;
    border-top: 1px solid var(--line);
    position: relative;
}
.feature-piece__marker {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: baseline;
    gap: 20px;
    margin-bottom: clamp(28px, 4vw, 56px);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.feature-piece__num {
    font-family: var(--ff-display-1);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(90px, 14vw, 240px);
    line-height: 0.82;
    color: var(--accent);
    letter-spacing: -0.04em;
}
.feature-piece__kind {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    align-self: start;
    padding-top: 12px;
    justify-self: end;
    text-align: right;
}
.feature-piece__kind strong {
    display: block;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 4px;
}
.feature-piece__title {
    font-size: clamp(40px, 6vw, 96px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(32px, 5vw, 56px);
    font-weight: 400;
    max-width: 1100px;
}
.feature-piece__visual {
    aspect-ratio: 21/9;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    overflow: hidden;
    margin: 0 0 clamp(32px, 5vw, 64px);
}
.feature-piece__visual img,
.feature-piece__visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 2s var(--ease);
}
.feature-piece__visual:hover img { transform: scale(1.03); }
.feature-piece__body {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: clamp(32px, 6vw, 100px);
    align-items: start;
}
.feature-piece__meta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.feature-piece__meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.feature-piece__meta dt {
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.feature-piece__meta dd {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 14px;
    letter-spacing: 0.02em;
    color: var(--ink);
    line-height: 1.45;
}
.feature-piece__story {
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.feature-piece__story .brief {
    display: inline-block;
    padding: 4px 10px;
    margin-bottom: 20px;
    border: 1px solid var(--accent);
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
}
.feature-piece__story p {
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    color: var(--ink);
    margin: 0 0 20px;
    letter-spacing: -0.005em;
}
.feature-piece__story p:last-child {
    color: var(--ink-mute);
    margin-bottom: 0;
}
.feature-piece__story p strong {
    color: var(--accent);
    font-weight: 400;
}

@media (max-width: 820px) {
    .feature-piece__body { grid-template-columns: 1fr; }
    .feature-piece__marker {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature-piece__kind {
        justify-self: start;
        text-align: left;
        padding-top: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sport-card img, .sport-card video,
    .feature-piece__visual img, .feature-piece__visual video {
        transition: none !important;
    }
    .sport-card:hover img, .sport-card:hover video,
    .feature-piece__visual:hover img {
        transform: none !important;
    }
    .sport-gallery__scroller { scroll-behavior: auto; }
}

/* =========================================================
   LIGHTBOX — affichage grand format des images de galerie
   ========================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9997;
    display: grid;
    place-items: center;
    padding: clamp(24px, 4vw, 60px);
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear .45s;   /* caché après la fin du fade-out */
}
body.lb-open { overflow: hidden; }
.lightbox.is-open {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s linear;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0);
    backdrop-filter: blur(0px) saturate(1);
    -webkit-backdrop-filter: blur(0px) saturate(1);
    transition:
        background-color .45s cubic-bezier(0.25, 0.1, 0.25, 1),
        backdrop-filter .45s cubic-bezier(0.25, 0.1, 0.25, 1),
        -webkit-backdrop-filter .45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.lightbox.is-open .lightbox__backdrop {
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(20px) saturate(0.6);
    -webkit-backdrop-filter: blur(20px) saturate(0.6);
}

/* Cadre principal */
.lightbox__frame {
    position: relative;
    z-index: 1;
    max-width: min(1200px, 92vw);
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    gap: 18px;
    opacity: 0;
    transform: scale(0.96);
    transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.lightbox.is-open .lightbox__frame { opacity: 1; transform: scale(1); }

/* Image centrée — conserve ratio, ne déborde jamais */
.lightbox__media {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 82vh;
    position: relative;
}
.lightbox__img {
    display: block;
    max-width: 100%;
    max-height: 78vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    align-self: center;
}
.lightbox__caption {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    text-align: center;
}

/* Bouton fermer — haut droit du cadre */
.lightbox__close {
    position: absolute;
    top: -54px;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
    z-index: 2;
}
.lightbox__close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}
.lightbox__close-icon svg {
    display: block;
    transition: transform .4s var(--ease);
}
.lightbox__close:hover .lightbox__close-icon svg { transform: rotate(90deg); }

/* Hint ESC en bas */
.lightbox__hint {
    position: absolute;
    bottom: -38px;
    left: 0;
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* Lock scroll quand le lightbox est ouvert */
body.lb-open { overflow: hidden; }

/* Mobile : close button centré sous l'image */
@media (max-width: 640px) {
    .lightbox__close {
        top: auto;
        bottom: -58px;
        right: 50%;
        transform: translateX(50%);
    }
    .lightbox__hint { display: none; }
    .lightbox__img { max-height: 70vh; }
}

@media (prefers-reduced-motion: reduce) {
    .lightbox, .lightbox__frame { transition: none !important; }
    .lightbox__frame { transform: none !important; }
}

/* ---------- Placeholder vidéo dans une sport-card ---------- */
.sport-card--empty {
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 74, 28, 0.08), transparent 60%),
        var(--bg-elev);
}
.sport-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ink-mute);
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    pointer-events: none;
}
.sport-card__placeholder svg { color: var(--accent); }
.sport-card--empty:hover .sport-card__placeholder svg {
    transform: scale(1.1);
    transition: transform .6s var(--ease);
}

/* =========================================================
   EXTENSIONS HOMEPAGE — Accent hero + thumb tag + vitrine + TV
   À coller à la fin de style.css
   ========================================================= */

/* ---------- 1. Hero accent — couleur sur "Graphiste" ---------- */
.word--accent {
    color: var(--accent);
}

/* ---------- 2. Thumb tag sur les work-cards ---------- */
.work-card__thumb-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 6px 12px;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
    pointer-events: none;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.work-card:hover .work-card__thumb-tag {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}

/* =========================================================
   3. VITRINE — Affiches + 3D (entièrement visibles)
   ========================================================= */

.vitrine {
    margin-top: clamp(40px, 6vw, 80px);
}
.vitrine__label {
    display: block;
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 28px;
    font-weight: 500;
}

.vitrine__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 2.5vw, 32px);
}

.vitrine-item {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.5s var(--ease);
}
.vitrine-item:hover { transform: translateY(-6px); }

/* Cadre vitrine — fond clair, padding pour que l'image respire */
.vitrine-item__frame {
    position: relative;
    aspect-ratio: 3 / 4;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.18), transparent 70%),
        linear-gradient(180deg, #1a1a1a 0%, #0e0e0e 100%);
    border: 1px solid var(--line);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 4px 12px rgba(0, 0, 0, 0.3);
}
.vitrine-item:hover .vitrine-item__frame {
    border-color: rgba(255, 74, 28, 0.5);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 12px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 74, 28, 0.15);
}

/* Sol "vitrine" sous l'image */
.vitrine-item__frame::after {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 10px;
    height: 14px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* Image affiche — affichée ENTIÈREMENT (contain) */
.vitrine-item__frame img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.55));
}
.vitrine-item:hover .vitrine-item__frame img {
    transform: scale(1.03);
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.7));
}

/* Frame 3D — fond doux + model-viewer */
.vitrine-item__frame--3d {
    padding: 0;
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 74, 28, 0.08) 0%, #131313 60%, #080808 100%);
}
.vitrine-item__frame--3d model-viewer {
    width: 100%;
    height: 100%;
    display: block;
    background-color: transparent;
    --progress-bar-color: #ff4a1c;
    --progress-bar-height: 1px;
}
.vitrine-item__frame--3d::after { display: none; }

.vitrine-item__3d-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px 9px;
    border: 1px solid var(--line);
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--ink);
    pointer-events: none;
    opacity: 0.85;
}

/* Légende sous l'item */
.vitrine-item figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 4px;
}
.vitrine-item__num {
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.24em;
    color: var(--accent);
    font-weight: 500;
}
.vitrine-item figcaption strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
}
.vitrine-item figcaption em {
    font-style: italic;
    font-size: 12px;
    color: var(--ink-mute);
    letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
    .vitrine__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 780px) {
    .vitrine__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .vitrine__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   4. TV VITRINE — 2 vieilles télés CRT
   ========================================================= */

.tv-vitrine {
    margin-top: clamp(80px, 12vw, 140px);
    padding-top: clamp(60px, 8vw, 100px);
    border-top: 1px solid var(--line);
}
.tv-vitrine__title {
    font-size: clamp(36px, 6vw, 80px);
    line-height: 0.95;
    letter-spacing: -0.02em;
    margin: 14px 0 18px;
    font-weight: 400;
}
.tv-vitrine__sub {
    color: var(--ink-mute);
    max-width: 540px;
    font-size: 14px;
    margin: 0 0 clamp(48px, 8vw, 90px);
    line-height: 1.5;
}

/* Scène des 2 télés */
.tv-stage {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: clamp(20px, 4vw, 80px);
    padding: 40px 0 60px;
    perspective: 1400px;
    perspective-origin: 50% 60%;
    position: relative;
}

/* Sol/scène en dessous */
.tv-stage::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 30px;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* ---------- LA TÉLÉ ---------- */
.tv-set {
    position: relative;
    width: clamp(280px, 36vw, 460px);
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.7s var(--ease);
    z-index: 2;
}
.tv-set--left  { transform: rotateY(14deg); transform-origin: right center; }
.tv-set--right { transform: rotateY(-14deg); transform-origin: left center; }

.tv-set:hover { transform: rotateY(0deg) translateY(-8px); }

/* Corps de la télé — beige / bois */
.tv-set__body {
    position: relative;
    background:
        linear-gradient(180deg, #d9c8a8 0%, #c2ad84 50%, #a8916a 100%);
    border-radius: 20px 20px 14px 14px;
    padding: 26px 26px 18px;
    border: 1px solid rgba(0, 0, 0, 0.35);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.25),
        0 25px 50px rgba(0, 0, 0, 0.55),
        0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Texture grain bois subtile */
.tv-set__body::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px 20px 14px 14px;
    background:
        repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.04) 0px, rgba(0, 0, 0, 0.04) 1px, transparent 1px, transparent 3px),
        repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.025) 0px, rgba(0, 0, 0, 0.025) 1px, transparent 1px, transparent 5px);
    pointer-events: none;
    opacity: 0.7;
}

/* Écran CRT */
.tv-set__screen {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #050505;
    border-radius: 28px;
    overflow: hidden;
    border: 8px solid #2a2218;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, 0.6),
        inset 0 6px 18px rgba(0, 0, 0, 0.8),
        inset 0 0 60px rgba(0, 0, 0, 0.4);
}

.tv-set__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
    transition: opacity 0.5s var(--ease);
}

/* Scanlines */
.tv-set__scanlines {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.18) 0px,
        rgba(0, 0, 0, 0.18) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Reflet verre courbé */
.tv-set__glare {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        radial-gradient(ellipse 80% 50% at 30% 25%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}

/* Bruit / static animé */
.tv-set__static {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/></svg>");
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    animation: tv-static 0.18s steps(3) infinite;
}
@keyframes tv-static {
    0%   { transform: translate(0, 0); }
    50%  { transform: translate(-2%, 1%); }
    100% { transform: translate(1%, -1%); }
}

/* Tag canal */
.tv-set__channel {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 5;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #ff8a3d;
    text-shadow: 0 0 6px rgba(255, 138, 61, 0.7);
    font-weight: 700;
}

/* Tag REC */
.tv-set__rec {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    color: #ff3a3a;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 58, 58, 0.7);
    animation: tv-rec-blink 1.6s ease-in-out infinite;
}
@keyframes tv-rec-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

/* Bandeau de contrôles sous l'écran */
.tv-set__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 8px 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.18);
}
.tv-set__brand {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 700;
}
.tv-set__knobs {
    display: flex;
    gap: 8px;
}
.tv-set__knobs span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 30% 30%, #5a4a30 0%, #2a2218 70%, #1a1410 100%);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.4);
}

/* Pieds */
.tv-set__legs {
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    margin-top: -2px;
}
.tv-set__legs span {
    width: 24px;
    height: 18px;
    background: linear-gradient(180deg, #5a4a30 0%, #2a2218 100%);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.45);
}

/* Label dessous */
.tv-set__label {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
    transition: color 0.4s var(--ease);
}
.tv-set:hover .tv-set__label {
    color: var(--accent);
}

/* État active : la télé sélectionnée passe en couleur d'accent */
.tv-set.is-active .tv-set__screen {
    border-color: var(--accent);
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, 0.6),
        inset 0 6px 18px rgba(0, 0, 0, 0.8),
        0 0 0 3px rgba(255, 74, 28, 0.4),
        0 0 30px rgba(255, 74, 28, 0.3);
}

/* =========================================================
   5. TV DETAIL — Panneau de détail à droite après clic
   ========================================================= */

.tv-detail {
    margin-top: clamp(40px, 6vw, 80px);
    padding: clamp(28px, 4vw, 56px);
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 74, 28, 0.04), transparent 60%),
        var(--bg-elev);
    border: 1px solid var(--line);
    position: relative;
    animation: tv-detail-in 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes tv-detail-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tv-detail__pane {
    display: none;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}
.tv-detail__pane.is-active {
    display: grid;
}

/* Écran agrandi à gauche */
.tv-detail__media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #050505;
    border: 6px solid #2a2218;
    box-shadow:
        inset 0 0 0 2px rgba(0, 0, 0, 0.6),
        0 20px 50px rgba(0, 0, 0, 0.5);
}
.tv-detail__screen {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
    overflow: hidden;
}
.tv-detail__screen iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.tv-detail__channel {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 5;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: #ff8a3d;
    text-shadow: 0 0 8px rgba(255, 138, 61, 0.8);
    font-weight: 700;
    pointer-events: none;
}

/* Texte à droite */
.tv-detail__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 6px;
}
.tv-detail__tag {
    font-family: var(--ff-body);
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 500;
}
.tv-detail__title {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.02em;
    margin: 0;
    font-weight: 400;
}
.tv-detail__text p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ink-mute);
    margin: 0;
}
.tv-detail__text p strong {
    color: var(--ink);
    font-weight: 500;
}
.tv-detail__text p em {
    color: var(--accent);
    font-style: italic;
}
.tv-detail__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 12px 18px;
    border: 1px solid var(--ink);
    color: var(--ink);
    font-family: var(--ff-body);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    width: fit-content;
    transition: gap 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.tv-detail__cta:hover {
    gap: 18px;
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}
.tv-detail__private {
    font-family: var(--ff-body);
    font-size: 11px;
    color: var(--ink-mute);
    letter-spacing: 0.05em;
    margin-top: 4px;
    opacity: 0.75;
}

/* Bouton close */
.tv-detail__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    z-index: 5;
}
.tv-detail__close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: rotate(90deg);
}

/* Responsive */
@media (max-width: 900px) {
    .tv-stage {
        flex-direction: column;
        gap: 50px;
        perspective: none;
    }
    .tv-set--left,
    .tv-set--right { transform: none; }
    .tv-set:hover { transform: translateY(-6px); }
    .tv-set { width: 100%; max-width: 380px; margin: 0 auto; }
    .tv-detail__pane { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .tv-set,
    .tv-set:hover,
    .tv-set--left,
    .tv-set--right { transform: none; }
    .tv-set__static,
    .tv-set__rec { animation: none; }
    .tv-detail { animation: none; }
}

/* ---------- TV detail : poster fallback (vidéo non embarquable) ---------- */
.tv-detail__screen--poster {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #050505;
    overflow: hidden;
}
.tv-detail__screen--poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(1.05) contrast(1.05);
}

/* Bouton play centré */
.tv-detail__play {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--ink);
    text-decoration: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
    transition: background 0.4s var(--ease);
    z-index: 2;
}
.tv-detail__play:hover {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(255, 74, 28, 0.55) 100%);
}
.tv-detail__play svg {
    width: 64px;
    height: 64px;
    padding: 16px 14px 16px 18px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.7);
    border: 2px solid var(--ink);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.tv-detail__play:hover svg {
    transform: scale(1.12);
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
}
.tv-detail__play span {
    font-family: var(--ff-body);
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

/* =========================================================
   WORK CARDS — Miniatures fixes (override du pan animé)
   ========================================================= */

/* Quand pas de classe --pan : image fixe, hover simple */
.work-card:not(.work-card--pan) .work-card__visual {
    overflow: hidden;
}
.work-card:not(.work-card--pan) .work-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s var(--ease), filter 0.6s var(--ease);
    filter: grayscale(0.35) brightness(0.85);
}
.work-card:not(.work-card--pan):hover .work-card__visual img {
    transform: scale(1.04);
    filter: grayscale(0) brightness(1);
}

/* ---------- Cadrage sur le HAUT de l'image (pour affiches) ---------- */
.work-card .work-card__img--top {
    object-position: center top !important;
}