/* ==========================================================
   ROUXFILMS — V3 (maquette SITE_2027)
   Charte : bleu nuit · blanc · orange #F15A24 · papier
   Polices : General Sans (titres, menu, boutons) · Fira Sans (texte)
   ========================================================== */
@font-face { font-family: "HWT Artz"; src: url(../fonts/HWT-Artz-W00-Regular.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Artbrush"; src: url(../fonts/Artbrush.ttf) format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Light.otf) format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Regular.otf) format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Italic.otf) format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Medium.otf) format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-MediumItalic.otf) format("opentype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Semibold.otf) format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-SemiboldItalic.otf) format("opentype"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-Bold.otf) format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url(../fonts/GeneralSans-BoldItalic.otf) format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }

/* Aucune césure (mot coupé par un tiret en fin de ligne) sur tout le site */
html { -webkit-hyphens: none; hyphens: none; }

:root {
  --night: #0A1433;
  --deep: #070C20;
  --black: #05060B;
  --white: #FFFFFF;
  --paper: #F5F3EE;
  --orange: #F15A24;
  --orange-dark: #C8441A;   /* orange lisible sur fond clair */
  --ink: #0A1433;
  --logo: #022C4F;
  --muted: rgba(255, 255, 255, .64);
  --line: rgba(255, 255, 255, .14);
  --muted-dark: rgba(10, 20, 51, .66);
  --line-dark: rgba(10, 20, 51, .15);
  --title: "General Sans", "Helvetica Neue", Arial, sans-serif;
  --font: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --pad: clamp(20px, 4vw, 56px);
  --header-h: 66px;
  --radius: 14px;
  --swoosh: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 12' preserveAspectRatio='none'%3E%3Cpath d='M1 1.5H32.2q1.6 0 1.1 1.5L31.6 8.6q-.5 1.6.9.6L41.6 2.2q1-.7 2.3-.7H159' fill='none' stroke='%23F15A24' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--deep); color: var(--white); font: 400 16.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body.is-locked { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
h1, h2, h3, .btn, .nav, .brand__name { font-family: var(--title); }
::selection { background: var(--orange); color: var(--white); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: clamp(64px, 8vw, 120px); }
.label { font: 600 12.5px/1.4 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.h2 { font: italic 700 clamp(28px, 3.4vw, 46px)/1.1 var(--title); text-transform: uppercase; letter-spacing: -.01em; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; margin-bottom: clamp(28px, 3.6vw, 48px); border-bottom: 1px solid var(--line); }

.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Boutons (arrondis) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap; border: 1.5px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:active { transform: scale(.97); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn--orange { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--white); color: var(--night); }
.btn--line { border-color: rgba(255, 255, 255, .4); }
.btn--line:hover { background: var(--white); color: var(--night); border-color: var(--white); }
.btn--night { background: var(--night); color: var(--white); }
.btn--night:hover { background: var(--orange); }
/* Flèches (témoignages, changement de vidéo) : même rond que « Parler d'un projet », flèche horizontale centrée */
.arrow { width: 44px; height: 44px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #111; color: var(--orange); cursor: pointer; transition: background .3s, color .3s; }
.arrow svg { display: block; width: 16px; height: 16px; }
.arrow:hover, .arrow:focus-visible { background: var(--orange); color: var(--white); }

/* Bulle « Parler d'un projet » */
.talk { display: inline-flex; align-items: center; gap: 22px; height: 44px; padding: 0 5px 0 22px; border-radius: 999px; background: var(--white); color: #111; font: italic 600 16px/1 var(--font); white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transition: transform .3s var(--ease), box-shadow .3s; }
.talk__txt { position: relative; padding-bottom: 7px; }
.talk__txt::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: -6px; height: 12px; background: var(--swoosh) no-repeat 0 0 / 100% 100%; }
.talk__ico { width: 34px; height: 34px; border-radius: 50%; background: #111; color: var(--orange); display: grid; place-items: center; transition: background .3s, color .3s; }
.talk:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0, 0, 0, .28); }
.talk:hover .talk__ico { background: var(--orange); color: var(--white); }

/* ---------- En-tête papier ---------- */
.header { position: sticky; top: 0; z-index: 100; height: var(--header-h); padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #ECECEA url(../img/paper-light.jpg) center / 1600px auto; color: var(--ink); box-shadow: 0 3px 8px rgba(0, 0, 0, .28); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-size: 28px; font-weight: 500; letter-spacing: -.01em; color: var(--logo); }
.nav { display: flex; gap: clamp(12px, 1.6vw, 26px); }
/* Menu : General Regular ; au survol, semibold italique orange + filet.
   Le ::before invisible réserve la largeur du semibold italique : le menu ne bouge pas au survol. */
.nav a { position: relative; display: inline-flex; flex-direction: column; align-items: center; font: 400 15px/1 var(--title); text-transform: uppercase; color: #1D2230; padding: 8px 0 10px; transition: color .25s; }
.nav a::before { content: attr(data-t); height: 0; overflow: hidden; visibility: hidden; font-weight: 600; font-style: italic; }
.nav a:hover, .nav a.is-current { font-weight: 600; font-style: italic; }
.nav a::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: -6px; height: 12px; background: var(--swoosh) no-repeat 0 0 / 100% 100%; opacity: 0; transform: translateY(3px); transition: opacity .25s, transform .3s var(--ease); }
.nav a:hover, .nav a.is-current { color: var(--orange); }
.nav a:hover::after, .nav a.is-current::after { opacity: 1; transform: none; }
.header__right { display: flex; align-items: center; gap: 14px; }
/* Coordonnées en petit dans le bandeau (l'e-mail est assemblé en JS) */
.header__contact { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font: 400 12.5px/1.3 var(--font); color: #1D2230; white-space: nowrap; }
.header__contact b { font-weight: 500; }
.header__contact a:hover { color: var(--orange); }
.burger { display: none; width: 42px; height: 42px; position: relative; border-radius: 50%; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 95; background: var(--night); padding: 24px var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; overflow-y: auto; }
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s var(--ease), visibility 0s; }
.menu__nav a { display: block; font: italic 700 24px/1.2 var(--title); text-transform: uppercase; padding: 15px 0; border-bottom: 1px solid var(--line); }
.menu__nav a:hover { color: var(--orange); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: var(--muted); padding-top: 24px; }

/* ---------- Bande démo : vignette sur fond blanc ---------- */
.reel { background: var(--white); color: var(--ink); padding: clamp(16px, 2vw, 28px) var(--pad) 0; }
/* Le cadre garde toujours le format 16/9 de la vidéo : quand la hauteur d'écran est limitée,
   c'est la largeur qui se réduit (sinon la vidéo laisse des bandes noires sur les côtés). */
.reel__frame { position: relative; width: min(100%, 1120px, calc((100vh - var(--header-h) - 64px) * 16 / 9)); min-width: min(100%, 520px); margin: 0 auto; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: 4px; }
@supports (height: 100svh) { .reel__frame { width: min(100%, 1120px, calc((100svh - var(--header-h) - 64px) * 16 / 9)); } }
.reel__video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.reel { padding-bottom: clamp(16px, 2vw, 28px); }
.reel__video { cursor: pointer; }
.reel .play { opacity: 0; transition: opacity .3s, transform .35s var(--ease); }
.reel__frame.is-paused .play { opacity: 1; }
.reel__frame:fullscreen { min-width: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.reel__frame:-webkit-full-screen { min-width: 0; width: 100%; height: 100%; border-radius: 0; }
.reel__frame:fullscreen .reel__video { object-fit: contain; }
.reel__frame:-webkit-full-screen .reel__video { object-fit: contain; }

/* Commandes sobres façon Vimeo, posées sur l'image */
.vctl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 28px 16px 12px; color: var(--white); background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent); transition: opacity .35s; }
.reel__frame.is-idle:not(.is-paused) .vctl { opacity: 0; pointer-events: none; }
.reel__frame.is-idle:not(.is-paused) { cursor: none; }
.vctl button { flex: none; display: grid; place-items: center; width: 30px; height: 30px; color: var(--white); opacity: .9; transition: opacity .2s, color .2s; }
.vctl button:hover { opacity: 1; color: var(--orange); }
.vctl .ico-pause, .reel__frame.is-paused .vctl .ico-play { display: block; }
.vctl .ico-play, .reel__frame.is-paused .vctl .ico-pause { display: none; }
.vctl .ico-on, .reel__frame.is-muted .vctl .ico-off { display: block; }
.vctl .ico-off, .reel__frame.is-muted .vctl .ico-on { display: none; }
.vctl__vol { display: flex; align-items: center; }
.vctl__vol input { width: 0; opacity: 0; margin: 0; transition: width .3s var(--ease), opacity .2s, margin .3s var(--ease); }
.vctl__vol:hover input, .vctl__vol:focus-within input { width: 70px; opacity: 1; margin-left: 6px; }
.vctl input[type="range"] { -webkit-appearance: none; appearance: none; height: 18px; background: transparent; cursor: pointer; --p: 0%; }
.vctl__seek { flex: 1; min-width: 0; }
.vctl input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--white) var(--p), rgba(255, 255, 255, .3) var(--p)); }
.vctl input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border-radius: 50%; background: var(--white); opacity: 0; transition: opacity .2s; }
.vctl input[type="range"]:hover::-webkit-slider-thumb, .vctl input[type="range"]:focus-visible::-webkit-slider-thumb { opacity: 1; }
.vctl input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.vctl input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--white); }
.vctl input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: var(--white); opacity: 0; transition: opacity .2s; }
.vctl input[type="range"]:hover::-moz-range-thumb { opacity: 1; }
.vctl input[type="range"]:focus-visible { outline-offset: 2px; }
@media (hover: none) { .vctl__vol input { display: none; } }

/* ---------- Bouton Play : rond noir 60 %, triangle en filet orange ---------- */
.play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .6); color: var(--orange); display: grid; place-items: center; transition: transform .35s var(--ease), background .25s; pointer-events: none; }
.play svg { width: 60%; height: 60%; }

/* ---------- Intro ---------- */
.intro { background: var(--night); padding-top: clamp(56px, 7vw, 104px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: end; }
.intro__name { display: block; font: 400 clamp(20px, 1.8vw, 26px)/1.25 var(--title); }
.intro__role { font-weight: 300; font-size: 18px; }
.intro__title { font: 400 clamp(20px, 2.1vw, 30px)/1.25 var(--title); text-transform: uppercase; margin-top: 4px; display: flex; flex-wrap: wrap; gap: 0 14px; }
.intro__title span { white-space: nowrap; }
.intro__title span + span::before { content: "|"; font-weight: 300; margin-right: 14px; opacity: .7; }
.intro__punch { font: 400 clamp(22px, 2vw, 28px)/1.25 "Artbrush", var(--title); text-transform: uppercase; color: var(--orange); margin-top: clamp(32px, 5vw, 72px); max-width: 22ch; }
.intro__side p { font-size: clamp(16.5px, 1.25vw, 19px); color: rgba(255, 255, 255, .82); max-width: 52ch; }
.intro__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.awards { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 88px); }
.awards li { display: flex; align-items: flex-start; gap: 12px; padding: 24px 20px 28px 0; }
.awards li + li { padding-left: 20px; }
.awards img { width: 40px; height: auto; flex: none; margin-top: 2px; }
.awards b { display: block; font: 600 16px/1.3 var(--title); }
.awards span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ---------- Réalisations ---------- */
/* Réalisations sur fond blanc */
.work { background: var(--white); color: var(--ink); }
.work .head { border-bottom: 0; padding-bottom: 0; }
.work .filters { border: 0; background: var(--white); }
.work .filter { color: rgba(0, 0, 0, .8); }
.work .filter:hover { color: var(--orange); }
.work .filter.is-active, .work .filter.is-active:hover { color: var(--white); }
.work .btn--line { border-color: var(--line-dark); color: var(--ink); }
.work .btn--line:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.filters { display: flex; gap: 6px; padding: 4px; border: 1.5px solid var(--line); border-radius: 999px; }
.filter { font: 500 14.5px/1 var(--title); color: var(--muted); padding: 10px 18px; border-radius: 999px; transition: color .25s, background .25s; }
.filter:hover { color: var(--white); }
.filter.is-active { background: var(--orange); color: var(--white); }

/* Rangées alignées : chaque carte part du haut de sa rangée (une légende sur plusieurs lignes
   agrandit la rangée sans décaler les vignettes voisines ni celles du dessous) */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 28px); }
.card { display: flex; flex-direction: column; justify-content: flex-start; align-items: stretch; width: 100%; text-align: left; }
.card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.card .play { width: 45px; height: 45px; margin: -22.5px 0 0 -22.5px; }
.card__media img, .card__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.card__media video { opacity: 0; z-index: 1; }
.card__media video.is-on { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }
.card:hover .play, .card:focus-visible .play { transform: scale(1.1); background: rgba(0, 0, 0, .8); }
.card__media video.is-on ~ .play { opacity: 0; }
.card__info { display: block; padding-top: 12px; }
.card__info strong { display: block; font: 600 19px/1.15 var(--title); color: var(--ink); transition: color .25s; }
.card:hover .card__info strong { color: var(--orange); }
.card__info span { display: block; font-size: 15px; line-height: 1.3; letter-spacing: -.015em; color: rgba(0, 0, 0, .8); margin-top: 0; }
/* Typologie du film : en haut de la vignette, blanc, Fira Sans Light */
.card__tag { position: absolute; z-index: 2; top: 0; left: 0; right: 0; padding: 14px 16px 30px; text-align: center; font: 300 13px/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; color: var(--white); background: linear-gradient(to bottom, rgba(0, 0, 0, .45), transparent); pointer-events: none; }
.js .card { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.js .card.is-in { opacity: 1; transform: none; }
.work__more { display: flex; justify-content: center; margin-top: clamp(36px, 4vw, 56px); }
.work__more[hidden] { display: none; }

/* ---------- Mes spécialités (bulles) ---------- */
.services { background: var(--night); }
.services__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(24px, 3vw, 48px); }
/* Spécialités : simple présentation (pas de lien), bulle sans cerclage, textes en blanc */
.services__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; align-items: start; height: 100%; }
.bubble { position: relative; width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--deep); box-shadow: 0 10px 26px rgba(0, 0, 0, .35); }
.bubble img { width: 100%; height: 100%; object-fit: cover; }
.services__list h3 { font: 600 clamp(19px, 1.6vw, 23px)/1.25 var(--title); color: var(--white); margin-top: 4px; }
.services__list p { font-size: 15.5px; color: var(--white); margin-top: 10px; max-width: 40ch; }





/* ---------- Faisons connaissance (section claire) ---------- */
/* Faisons connaissance : texture papier, textes en Fira Sans Regular */
.about { background: #F3F3F2 url(../img/paper-about.jpg) repeat; background-size: 200px 200px; color: var(--ink); }
.about__main, .about__aside { font-family: var(--font); font-weight: 400; }
.about__cols b, .about__cols strong { font-weight: 400; }
.about .head { border-bottom: 0; padding-bottom: 0; }
.about__grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.about__aside { position: sticky; top: calc(var(--header-h) + 28px); }
.about__portrait { width: 132px; height: 132px; border-radius: 50%; background: url(../img/portrait.jpg) no-repeat; background-size: 488px auto; background-position: -25px -22px; filter: grayscale(1); }
.about__name { font: 400 22px/1.3 var(--font); margin-top: 18px; }
/* Rond « références » sous le bouton PDF, même taille et même alignement que le portrait */
.about__bubble { display: block; width: 185px; height: 185px; margin-top: 28px; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform .35s var(--ease), box-shadow .35s; }
.about__bubble img { width: 100%; height: 100%; object-fit: cover; }
.about__bubble:hover { transform: scale(1.04); box-shadow: 0 10px 26px rgba(0, 0, 0, .26); }
.about__role { font-size: 14.5px; color: var(--muted-dark); margin-top: 4px; }
.about__facts { margin: 20px 0 24px; font-size: 15px; }
.about__facts li { padding: 6px 0; }
.about__facts a:hover { color: var(--orange-dark); }
.about__lead { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.5; max-width: 62ch; }
.about__lead--2 { margin-top: 18px; color: var(--muted-dark); font-size: clamp(17px, 1.35vw, 19px); }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 64px); margin-top: clamp(32px, 4vw, 56px); }
.about__cols > div { padding: 22px 0 26px; }
.about__cols h3 { font: 400 14px/1.4 var(--title); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
.about__cols p { font-size: 15.5px; color: rgba(10, 20, 51, .82); }
.about__cols p + p { margin-top: 8px; }
/* Textes justifiés (alignés à gauche et à droite), sans césure */
.about__lead, .about__cols p { text-align: justify; }
.about__equip { width: 100%; height: auto; margin-top: 16px; mix-blend-mode: multiply; } /* fond blanc fondu dans le papier */

/* ---------- Références clients ---------- */
/* Références : photo + aplat bleu foncé 60 % pour lire logos et témoignages en blanc */
.refs { background: linear-gradient(to bottom, rgba(10, 20, 51, .94) 0, rgba(10, 20, 51, .6) 340px, rgba(10, 20, 51, .6) 100%), var(--deep) url(../img/references-bg.jpg) center / cover no-repeat; padding-bottom: clamp(56px, 7vw, 104px); }
.refs .head { margin-bottom: 0; border-bottom: 0; }

/* Bandeau papier noir, logos blancs qui défilent */
.logos { margin-top: clamp(24px, 3vw, 36px); padding-block: clamp(22px, 2.6vw, 32px) clamp(26px, 3vw, 38px); }
.logos__label { text-align: center; font: 500 11.5px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 14px; }
.logos__rail { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.logos__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); width: max-content; animation: logos 60s linear infinite; }
.logos__rail:hover .logos__track { animation-play-state: paused; }
.logos__track li { flex: none; }
.logos__track li { height: 64px; display: flex; align-items: center; }
.logos__track img { width: auto; height: auto; max-height: 52px; max-width: clamp(96px, 9vw, 132px); opacity: .92; transition: opacity .25s; }
.logos__track li:hover img { opacity: 1; }
@keyframes logos { to { transform: translateX(-50%); } }
.logos__more { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--white); }
.logos__more a { color: var(--white); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.logos__more a:hover { color: var(--orange); }

/* Témoignages (sous les logos) */
.testis__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: clamp(40px, 5vw, 64px) auto 22px; }
.testis__head .label { font: 400 14px/1.4 var(--title); letter-spacing: .1em; color: var(--orange); } /* même style que les titres « Équipement », « Parcours »… */
.refs__nav { display: flex; gap: 8px; }
.testis { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: max(var(--pad), calc((100vw - 1360px) / 2 + var(--pad))); scroll-padding-inline: max(var(--pad), calc((100vw - 1360px) / 2 + var(--pad))); scrollbar-width: none; cursor: grab; }
.testis::-webkit-scrollbar { display: none; }
.testis.is-auto { scroll-snap-type: none; }
.testis.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.testi { flex: 0 0 min(440px, 84vw); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: 28px; background: var(--white); border-radius: var(--radius); }
.testi blockquote { font-size: 16.5px; line-height: 1.6; color: rgba(0, 0, 0, .8); }
/* Guillemets orange (police HWT Artz) : ouvrant en haut à gauche, fermant à la suite du texte */
.testi blockquote::before { content: "\201C"; display: block; height: 15px; margin: -3px 0 10px -3px; font: 400 38px/1 "HWT Artz", var(--title); color: var(--orange); }
.testi blockquote::after { content: "\201D"; display: inline-block; height: 0; margin-left: 4px; font: 400 30px/1 "HWT Artz", var(--title); color: var(--orange); vertical-align: -0.2em; }
.testi figcaption { display: flex; align-items: center; gap: 12px; font-size: 13.5px; line-height: 1.4; color: rgba(0, 0, 0, .8); }
.testi figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.testi figcaption b { display: block; color: rgba(0, 0, 0, .8); font: 600 15px/1.4 var(--title); }

/* ---------- Contact ---------- */
.contact { background: var(--night); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__lead { margin-top: 18px; max-width: 44ch; color: var(--muted); font-size: 17px; }
.contact__direct { margin-top: 32px; border-top: 1px solid var(--line); }
.contact__direct li { display: grid; grid-template-columns: 124px 1fr; gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 500; }
.contact__direct li > span { font: 400 14px/1.4 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
/* Icônes réseaux (pied de page, menu mobile) */
.social { display: inline-flex; align-items: center; gap: 16px; }
.social a { display: inline-flex; color: var(--white); transition: color .25s, transform .25s var(--ease); }
.social a:hover { color: var(--orange); transform: translateY(-2px); }
.contact__social { display: flex; align-items: center; gap: 16px; }
.contact__social a { display: inline-flex; color: var(--white); transition: color .25s, transform .25s var(--ease); }
.contact__social a:hover { color: var(--orange); transform: translateY(-2px); }
/* Vidéo en boucle : même largeur que les filets Téléphone / E-mail / Réseaux */
.contact__video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 28px; background: #000; }
.contact__direct a:hover { color: var(--orange); }

.form fieldset { border: 0; padding: 0; margin: 0 0 24px; min-width: 0; }
.form legend { font: 600 12px/1.4 var(--title); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; float: left; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 14.5px; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: rgba(255, 255, 255, .5); }
.chips input:checked + span { background: var(--orange); border-color: var(--orange); color: var(--white); font-weight: 500; }
.chips input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; background: rgba(255, 255, 255, .05); border: 1.5px solid var(--line); border-radius: 12px; color: var(--white); font: 400 16px/1.4 var(--font); padding: 12px 16px; resize: vertical; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: rgba(255, 255, 255, .08); }
.field.is-error input, .field.is-error textarea { border-color: #FF8A7A; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; margin-top: 24px; }
.form__foot .btn { min-width: 170px; }
/* Avion en papier : la traînée part de la hauteur du bouton, l'avion descend vers la droite */
.form__plane { width: 104px; height: auto; align-self: flex-start; margin: 18px 0 -40px -2px; pointer-events: none; }
.form__foot:has(.form__plane) { align-items: flex-start; }
.form__foot .form__status { align-self: center; }
.form__status { font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: #9BE8B8; } .form__status.is-ko { color: #FF9C90; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }

/* ---------- Pied de page ---------- */
.footer { background: #0E0E0E url(../img/paper-black.jpg?v=2) center / cover no-repeat; /* texture qui couvre le pied de page sans être déformée (proportions conservées) */ padding-top: clamp(40px, 5vw, 64px); font-size: 14.5px; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.footer .brand { margin-bottom: 14px; }
.footer .brand img { width: 36px; height: 36px; }
.footer .brand__name { color: var(--white); font-size: 22px; }
.footer__grid p { max-width: 42ch; }
.footer__grid nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__grid nav a { color: var(--white); }
.footer__grid nav a:hover { color: var(--orange); }
.footer__nav a { font: italic 600 14.5px/1.3 var(--title); text-transform: uppercase; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; padding-block: 18px 22px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Lecteur ---------- */
.lightbox { position: fixed; inset: 0; z-index: 250; background: rgba(5, 6, 11, .96); display: grid; grid-template-rows: auto 1fr auto; padding: 14px var(--pad) 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.lightbox__close { justify-self: end; font: 600 14px/1 var(--title); height: 40px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); }
.lightbox__close:hover { border-color: var(--orange); color: var(--orange); }
.lightbox__stage { min-height: 0; display: grid; place-items: center; padding-block: 10px; }
.lightbox__stage video, .lightbox__stage img { max-width: 100%; max-height: 100%; min-height: 0; background: #000; border-radius: 6px; }
.lightbox__stage video { aspect-ratio: 16 / 9; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lightbox__meta { text-align: center; min-width: 0; }
.lightbox__meta strong { display: block; font: 600 clamp(17px, 1.8vw, 22px)/1.3 var(--title); }
.lightbox__meta span { display: block; font-size: 14.5px; color: var(--muted); margin-top: 2px; }

/* ---------- Le Lab ---------- */
.lab-hero { background: var(--night); padding-block: clamp(56px, 7vw, 104px) clamp(32px, 4vw, 56px); }
.lab-hero p { color: var(--muted); max-width: 56ch; margin-top: 16px; font-size: 17px; }
.lab { background: var(--deep); padding-block: clamp(32px, 4vw, 56px) clamp(64px, 8vw, 120px); }
.lab__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.4vw, 20px); }
.lab__item { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--night); }
.lab__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.lab__item:hover img { transform: scale(1.05); }
.lab__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .3s; text-align: left; }
.lab__item:hover .lab__cap, .lab__item:focus-visible .lab__cap { opacity: 1; }
.lab__empty { color: var(--muted); padding: 40px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
}
@media (max-width: 1080px) {
  .grid, .services__list { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .contact__grid { grid-template-columns: 1fr; align-items: start; }
  /* Une colonne (tablette, smartphone) : la vidéo passe sous le formulaire */
  .contact__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .contact__intro { display: contents; }
  .contact__grid .form { margin-top: clamp(36px, 6vw, 56px); }
  .contact__video { order: 10; margin-top: clamp(36px, 6vw, 56px); }
  .awards { grid-template-columns: 1fr 1fr; }
  .awards li:nth-child(3) { padding-left: 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__aside { position: static; max-width: 420px; }
  .lab__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  :root { --header-h: 60px; }
  .brand__name { font-size: 23px; }
  .brand img { width: 38px; height: 38px; }
  .header__right .talk { display: none; }
  .header__contact { font-size: 11.5px; }
  .brand { flex: none; }
  .vctl { gap: 10px; padding: 24px 10px 8px; }
  .grid, .services__list, .about__cols, .fields { grid-template-columns: 1fr; }
  .services__item { grid-template-columns: 76px minmax(0, 1fr); }
  .bubble { width: 76px; height: 76px; }
  .intro__title { flex-direction: column; }
  .intro__title span + span::before { display: none; }
  .awards { grid-template-columns: 1fr; }
  .awards li, .awards li + li { padding-left: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div { grid-column: 1 / -1; }
  .contact__direct li { grid-template-columns: 1fr; gap: 2px; }
  .lightbox__meta span { display: none; }
  .form__foot .btn { width: 100%; }
  .form__plane { display: none; }
  .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .card .play { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .lab__grid { grid-template-columns: repeat(2, 1fr); }
}
/* Petits smartphones : on garde le numéro et l'e-mail, sans le libellé, et le logo se resserre */
@media (max-width: 480px) {
  .header { gap: 10px; }
  .header__right { gap: 6px; }
  .brand { gap: 8px; }
  .brand img { width: 32px; height: 32px; }
  .brand__name { font-size: 20px; }
  .header__lbl { display: none; }
  .header__contact { font-size: 11px; }
}
/* Très petits écrans (320 px) : coordonnées seulement dans le menu */
@media (max-width: 350px) {
  .header__contact { display: none; }
  .about__aside .talk { gap: 12px; padding-left: 16px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .logos__track { animation: none; }
  .logos__rail { overflow-x: auto; }
}
