/* AREAC — refonte 2026
   Couleurs de marque tirées du logo (bleu #2891B2 → mauve → orange #F3971C).
   Le reste du site laisse la couleur aux projets : chacun apporte la sienne. */

:root {
  --paper: #F2F3F1;
  --paper-2: #E6E8E5;
  --ink: #102A33;
  --ink-soft: #3E555D;
  --blue: #2891B2;
  --mauve: #7F6C73;
  --orange: #F3971C;
  --line: rgba(16, 42, 51, .16);
  --project: #102A33;

  --font: "Bricolage Grotesque", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  font-variation-settings: "opsz" 14;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Typo ---------- */
.display {
  font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 82;
  letter-spacing: -.035em;
  line-height: .92;
  margin: 0;
}
.h2 {
  font-size: clamp(36px, 5.4vw, 84px);
  font-weight: 600;
  font-variation-settings: "opsz" 96, "wdth" 85;
  letter-spacing: -.03em;
  line-height: .98;
  margin: 0;
}
.lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; max-width: 36ch; }
.muted { color: var(--ink-soft); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: .78em 1.3em; font-size: 16px; font-weight: 600; text-decoration: none;
  background: var(--ink); color: var(--paper);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.btn:hover { background: var(--blue); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--orange); color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span { color: var(--paper); }
.link { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: var(--paper);
  transition: background .35s var(--ease), color .35s var(--ease), transform .3s var(--ease);
}
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.header__logo { display: block; width: 112px; flex: none; }
.header__logo img { width: 100%; height: auto; }
.header__logo .on-light { display: none; }
.header nav { display: flex; gap: 26px; margin-left: auto; }
.header nav a { text-decoration: none; font-size: 16px; font-weight: 500; opacity: .9; }
.header nav a:hover, .header nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.header__tel { font-size: 16px; text-decoration: none; font-variant-numeric: tabular-nums; opacity: .9; }
.header .btn { background: var(--paper); color: var(--ink); padding: .62em 1.15em; }
.header .btn:hover { background: var(--orange); }
.header.is-solid, .header--solid { background: rgba(242, 243, 241, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header.is-solid .on-dark, .header--solid .on-dark { display: none; }
.header.is-solid .on-light, .header--solid .on-light { display: block; }
.header.is-solid .btn, .header--solid .btn { background: var(--ink); color: var(--paper); }
.header.is-solid .btn:hover, .header--solid .btn:hover { background: var(--blue); }
.header.is-hidden { transform: translateY(-100%); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s var(--ease); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; color: var(--paper); overflow: hidden; background: #0d1c22; }
.hero video, .hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,25,.45) 0%, rgba(8,20,25,0) 22%, rgba(8,20,25,0) 45%, rgba(8,20,25,.78) 100%); pointer-events: none; }
.hero__content { position: absolute; inset: auto 0 0; z-index: 2; padding-bottom: clamp(28px, 5vh, 56px); }
.hero h1 { font-size: clamp(52px, 10.4vw, 176px); max-width: 11ch; }
.hero__foot { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(20px, 3vh, 36px); }
.hero__foot p { margin: 0; max-width: 46ch; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.45; }
.hero__credit { display: flex; align-items: center; gap: 14px; font-size: 15px; text-align: right; }
.hero__credit a { text-decoration: none; display: block; min-width: 0; }
.hero__credit small { display: block; opacity: .7; font-size: 13px; }
.hero__credit strong { font-weight: 600; transition: opacity .3s; }
.hero__toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(242,243,241,.6); background: transparent; cursor: pointer; display: grid; place-items: center; }
.hero__toggle:hover { border-color: var(--paper); }
.hero__toggle svg { width: 14px; height: 14px; fill: currentColor; }
.hero__bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; z-index: 3; background: linear-gradient(90deg, var(--blue), var(--mauve), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }
.hero__credit strong { font-size: 17px; }

/* ---------- Intro ---------- */
.intro { padding-block: clamp(80px, 12vw, 180px) clamp(60px, 8vw, 120px); }
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text { font-size: clamp(26px, 3.1vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 500; font-variation-settings: "opsz" 48, "wdth" 92; margin: 0; max-width: 24ch; }
.intro__text + .intro__text { margin-top: .7em; color: var(--ink-soft); }
.intro__side { padding-top: .6em; }
.intro__side p { margin: 0 0 20px; max-width: 34ch; color: var(--ink-soft); }

/* ---------- Sélection (projets à la une) ---------- */
.feature { padding-block: clamp(40px, 6vw, 90px); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); align-items: end; }
.feature__media { grid-column: 1 / span 8; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--project); display: block; }
.feature--alt .feature__media { grid-column: 5 / span 8; grid-row: 1; }
.feature--alt .feature__body { grid-column: 1 / span 4; grid-row: 1; }
.feature__media img, .feature__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .5s; }
.feature__media video { opacity: 0; }
.feature__media.is-playing video { opacity: 1; }
.feature__media:hover img { transform: scale(1.03); }
.feature__body { grid-column: 9 / span 4; padding-bottom: 6px; }
.feature__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.feature__meta span:first-child { color: var(--project); font-weight: 600; }
.feature h3 { font-size: clamp(32px, 3.6vw, 56px); margin-bottom: 20px; }
.feature h3 a { text-decoration: none; }
.feature dl { margin: 0 0 26px; }
.feature dt { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.feature dd { margin: 0 0 16px; font-size: 16.5px; color: var(--ink-soft); max-width: 38ch; }

/* ---------- Index des projets ---------- */
.index {
  --tint: var(--ink);
  background: color-mix(in srgb, var(--tint) 34%, #0c1e24);
  color: var(--paper);
  padding-block: clamp(80px, 10vw, 150px);
  transition: background .6s var(--ease);
  position: relative;
}
.index__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 40px; margin-bottom: clamp(36px, 5vw, 64px); }
.index__head p { margin: 14px 0 0; max-width: 40ch; opacity: .75; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { border: 1.5px solid rgba(242,243,241,.32); background: transparent; border-radius: 999px; padding: .42em 1em; font-size: 15px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.filters button:hover { border-color: var(--paper); }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filters sup { font-size: 11px; margin-left: 3px; opacity: .7; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(242,243,241,.2); }
.row a {
  display: grid; grid-template-columns: minmax(0, 1fr) 15rem 10rem 4rem; gap: 24px; align-items: baseline;
  padding: clamp(14px, 1.6vw, 22px) 0; border-bottom: 1px solid rgba(242,243,241,.2);
  text-decoration: none; transition: opacity .35s var(--ease);
}
.row__title { font-size: clamp(26px, 3.6vw, 58px); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 82; letter-spacing: -.03em; line-height: 1; transition: transform .45s var(--ease); }
.row__client, .row__type { font-size: 15px; opacity: .75; }
.row__year { font-size: 15px; text-align: right; font-variant-numeric: tabular-nums; opacity: .75; }
.row__thumb { display: none; }
.rows:hover .row a { opacity: .38; }
.rows .row a:hover, .rows .row a:focus-visible { opacity: 1; }
.row a:hover .row__title { transform: translateX(14px); }
.row[hidden] { display: none; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: min(30vw, 440px); aspect-ratio: 16 / 10;
  pointer-events: none; border-radius: 4px; overflow: hidden; opacity: 0; transform: translate(0, -50%) scale(.92);
  transition: opacity .3s var(--ease), transform .3s var(--ease); background: #000;
}
.preview.is-on { opacity: 1; transform: translate(0, -50%) scale(1); }
.preview img, .preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.index__more { margin-top: 48px; }

/* ---------- Méthode ---------- */
.method { padding-block: clamp(90px, 11vw, 170px); }
.method__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 7vw, 120px); }
.method__intro { position: sticky; top: 120px; align-self: start; }
.method__intro p { color: var(--ink-soft); max-width: 36ch; margin: 24px 0 0; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 4px 16px; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: s; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); font-size: 15px; color: var(--ink-soft); padding-top: .55em; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); font-weight: 600; font-variation-settings: "opsz" 48, "wdth" 85; letter-spacing: -.02em; line-height: 1.1; }
.steps p { grid-column: 2; margin: 4px 0 0; color: var(--ink-soft); max-width: 46ch; }

/* ---------- Savoir-faire ---------- */
.skills { background: var(--paper-2); padding-block: clamp(80px, 9vw, 140px); }
.skills__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line); }
.skill { padding: 26px 28px 30px 0; border-bottom: 1px solid var(--line); }
.skill h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.skill p { margin: 0; font-size: 16px; color: var(--ink-soft); max-width: 32ch; }

/* ---------- Clients ---------- */
.clients { padding-block: clamp(80px, 9vw, 140px); }
.clients__list { list-style: none; margin: 40px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1em .32em; font-size: clamp(26px, 3.4vw, 52px); font-weight: 500; font-variation-settings: "opsz" 72, "wdth" 85; letter-spacing: -.025em; line-height: 1.15; }
.clients__list li { color: var(--ink); }
.clients__list li:not(:last-child)::after { content: ","; color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); padding-block: clamp(90px, 11vw, 170px) clamp(60px, 6vw, 90px); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--blue), var(--mauve), var(--orange)); }
.contact h2 { font-size: clamp(56px, 11vw, 190px); max-width: 9ch; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); margin-top: clamp(40px, 6vw, 80px); align-items: start; }
.contact__person p { margin: 0 0 28px; font-size: clamp(19px, 1.6vw, 23px); max-width: 34ch; }
.contact__ways { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(242,243,241,.22); }
.contact__ways li { border-bottom: 1px solid rgba(242,243,241,.22); }
.contact__ways a, .contact__ways div { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; text-decoration: none; align-items: baseline; }
.contact__ways span { opacity: .7; font-size: 15px; }
.contact__ways strong { font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.01em; text-align: right; }
.contact__ways a:hover strong { color: var(--orange); }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: rgba(242,243,241,.7); padding-block: 40px 48px; font-size: 15px; }
.footer__in { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(242,243,241,.16); padding-top: 32px; }
.footer img { width: 96px; height: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }

/* ---------- Panneau « Démarrer un projet » ---------- */
.brief { position: fixed; inset: 0; z-index: 100; display: none; }
.brief.is-open { display: block; }
.brief__veil { position: absolute; inset: 0; background: rgba(8,20,25,.55); opacity: 0; transition: opacity .25s var(--ease); }
.brief.is-shown .brief__veil { transition-duration: .35s; }
.brief.is-shown .brief__veil { opacity: 1; }
.brief__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%);
  background: var(--paper); color: var(--ink); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .25s var(--ease);
}
.brief.is-shown .brief__panel { transform: none; transition-duration: .4s; }
.brief__top { display: flex; justify-content: space-between; align-items: center; padding: 22px clamp(20px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.brief__progress { display: flex; gap: 6px; }
.brief__progress i { width: 34px; height: 4px; border-radius: 2px; background: var(--line); transition: background .3s; }
.brief__progress i.is-done { background: var(--ink); }
.brief__close { background: none; border: 0; cursor: pointer; font-size: 15px; display: flex; align-items: center; gap: 8px; padding: 8px; margin-right: -8px; }
.brief__close svg { width: 16px; height: 16px; }
.brief form { flex: 1; overflow-y: auto; padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 44px); display: flex; flex-direction: column; }
.step { display: none; flex: 1; flex-direction: column; }
.step.is-active { display: flex; animation: stepIn .3s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.step h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 85; letter-spacing: -.03em; line-height: 1.02; margin: 0 0 10px; }
.step > p { margin: 0 0 28px; color: var(--ink-soft); max-width: 42ch; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choices label { position: relative; cursor: pointer; }
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices span { display: block; padding: .62em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); font-size: 16px; transition: border-color .2s, background .2s, color .2s; }
.choices label:hover span { border-color: var(--ink); }
.choices input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choices input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--ink-soft); }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 6px; padding: .7em .85em; width: 100%; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40,145,178,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field__err { color: #A3341F; font-size: 14px; min-height: 0; }
.consent { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-top: 18px; align-items: flex-start; }
.consent input { margin-top: 4px; accent-color: var(--ink); }
.brief__nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: auto; padding-top: 36px; }
.brief__back { background: none; border: 0; cursor: pointer; font-size: 16px; padding: 8px 0; }
.brief__back[hidden] { visibility: hidden; display: block; }
.brief__direct { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.brief__direct a { color: var(--ink); }
.brief__done { text-align: left; }
.brief__done h2 { margin-top: 12vh; }

/* ---------- Page projet ---------- */
.case-hero { background: var(--project); color: #fff; padding: 140px 0 0; position: relative; }
.case-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.05)); pointer-events: none; }
.case-hero .wrap { position: relative; }
.case-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: 16px; opacity: .85; margin-bottom: 22px; }
.case-hero h1 { font-size: clamp(50px, 9vw, 150px); max-width: 12ch; }
.case-hero__head { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 70px); }
.case-hero__accroche { font-size: clamp(20px, 2vw, 28px); line-height: 1.3; margin: 0 0 .4em; max-width: 24ch; opacity: .92; }
.case-player { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px 4px 0 0; overflow: hidden; }
.case-player video { width: 100%; height: 100%; object-fit: cover; }
.case-player__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.18); border: 0; cursor: pointer; color: #fff; transition: background .3s; }
.case-player__play:hover { background: rgba(0,0,0,.05); }
.case-player__play span { display: flex; align-items: center; gap: 14px; background: rgba(242,243,241,.95); color: var(--ink); padding: 16px 26px 16px 20px; border-radius: 999px; font-weight: 600; }
.case-player__play svg { width: 18px; height: 18px; fill: currentColor; }
.case-body { padding-block: clamp(70px, 9vw, 130px) clamp(60px, 7vw, 100px); }
.case-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); }
.case-body h2 { font-size: 16px; font-weight: 600; margin: 0 0 14px; padding-top: 16px; border-top: 2px solid var(--project); }
.case-body p { margin: 0; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.45; }
.case-body ul { margin: 0; padding: 0; list-style: none; }
.case-body li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.case-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 36px 0; border-block: 1px solid var(--line); margin-top: clamp(60px, 7vw, 100px); }
.case-cta p { margin: 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.015em; max-width: 28ch; }
.next { display: block; position: relative; color: #fff; text-decoration: none; overflow: hidden; background: var(--project); }
.next img { width: 100%; height: clamp(320px, 50vw, 620px); object-fit: cover; opacity: .55; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.next:hover img { opacity: .75; transform: scale(1.02); }
.next .wrap { position: absolute; inset: auto 0 0; padding-bottom: clamp(30px, 5vw, 64px); }
.next small { font-size: 16px; opacity: .85; }
.next strong { display: block; margin-top: 8px; font-size: clamp(44px, 8vw, 130px); }

/* ---------- Page projets ---------- */
.page-head { padding: 150px 0 0; }
.page-head h1 { font-size: clamp(56px, 11vw, 190px); }
.page-head p { margin: 24px 0 0; }
.index--page { margin-top: 60px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .row a { grid-template-columns: minmax(0, 1fr) 11rem 3.5rem; }
  .row__client { display: none; }
}
@media (max-width: 900px) {
  .header nav, .header__tel { display: none; }
  .header .btn { margin-left: auto; }
  .menu-btn { display: block; }
  .header.menu-open { background: var(--paper); color: var(--ink); }
  .header.menu-open .on-dark { display: none; }
  .header.menu-open .on-light { display: block; }
  .header.menu-open nav { display: flex; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--line); }
  .header.menu-open nav a { font-size: 30px; font-weight: 600; padding: 10px 0; letter-spacing: -.02em; }
  .header.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .header.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .intro__grid, .method__grid, .contact__grid, .case-body__grid { grid-template-columns: 1fr; }
  .method__intro { position: static; }
  .case-hero__head { grid-template-columns: 1fr; }
  .feature__media, .feature--alt .feature__media, .feature__body, .feature--alt .feature__body { grid-column: 1 / -1; grid-row: auto; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__credit { text-align: left; flex-direction: row-reverse; }
  .row a { grid-template-columns: 88px minmax(0, 1fr); gap: 4px 16px; align-items: center; }
  .row__thumb { display: block; grid-row: 1 / span 2; width: 88px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; align-self: center; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; width: calc(100% + var(--gutter) * 2); }
  .filters button { flex: none; }
  .index__head > * { min-width: 0; width: 100%; }
  .row__title { font-size: 24px; }
  .row__type { grid-column: 2; }
  .row__year { display: none; }
  .rows:hover .row a { opacity: 1; }
  .row a:hover .row__title { transform: none; }
  .preview { display: none; }
  .fields { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .header .btn { font-size: 14px; padding: .55em .95em; }
  .header__logo { width: 92px; }
  .contact__ways a, .contact__ways div { flex-direction: column; gap: 2px; }
  .contact__ways strong { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.case-hero__meta a { text-underline-offset: 4px; }

/* ---------- Mentions légales ---------- */
.legal { padding-bottom: clamp(80px, 9vw, 140px); }
.legal h1 { font-size: clamp(48px, 8vw, 120px); }
.legal__body { max-width: 68ch; margin-top: clamp(40px, 5vw, 72px); }
.legal__body h2 { font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.01em; margin: 44px 0 10px; }
.legal__body h2:first-child { margin-top: 0; }
.legal__body p { margin: 0 0 14px; color: var(--ink-soft); }
.legal__body a { color: var(--ink); }

/* ---------- Savoir-faire ---------- */
.skill { display: block; text-decoration: none; transition: background .25s var(--ease); }
a.skill h3 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-color: transparent; transition: text-decoration-color .25s var(--ease); }
a.skill:hover h3 { text-decoration-color: currentColor; }
.crumbs { font-size: 16px; margin-bottom: 18px; color: var(--ink-soft); }
.crumbs a { text-underline-offset: 4px; }
.svc-head h1 { font-size: clamp(48px, 9vw, 150px); max-width: 12ch; }
.svc-head .lead { margin: 22px 0 0; font-size: clamp(21px, 2vw, 28px); max-width: 30ch; }
.svc-head__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 34px 0 0; }
.svc-visual { margin: clamp(48px, 6vw, 80px) auto 0; }
.svc-visual img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 4px; }
.svc-visual figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.svc-intro { padding-block: clamp(70px, 9vw, 130px) 0; }
.svc-intro__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 100px); }
.svc-intro__text { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; font-variation-settings: "opsz" 36, "wdth" 94; margin: 0 0 .8em; max-width: 30ch; }
.svc-intro__text + .svc-intro__text { color: var(--ink-soft); }
.svc-label { font-size: 16px; font-weight: 600; margin: 0 0 6px; }
.uses { list-style: none; margin: 0; padding: 0; }
.uses li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.uses li:first-child { border-top: 1px solid var(--line); margin-top: 10px; }
.uses strong { font-size: 19px; font-weight: 600; }
.uses span { color: var(--ink-soft); font-size: 16px; }
.svc-deliver { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.deliver { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.deliver li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: clamp(19px, 1.6vw, 22px); }
.svc-projects { padding-block: clamp(80px, 9vw, 140px) 0; }
.cards { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 28px; }
.card { display: block; text-decoration: none; }
.card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 4px; background: var(--project); margin-bottom: 14px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card strong { display: block; font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.card span:last-child { font-size: 15px; color: var(--ink-soft); }
.svc-faq { padding-block: clamp(80px, 9vw, 140px); }
.svc-faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(36px, 7vw, 120px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-size: clamp(19px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 60ch; }
.svc-more { padding-block: 0 clamp(80px, 9vw, 120px); }
.svc-more__list { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.svc-more__list a { display: block; padding: .6em 1.1em; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-size: 16px; transition: border-color .2s, background .2s, color .2s; }
.svc-more__list a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.contact h2.svc-cta-title { font-size: clamp(44px, 7.5vw, 124px); max-width: 13ch; }
.svc-hub { padding-block: clamp(50px, 6vw, 80px) clamp(90px, 10vw, 150px); }
.svc-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 7rem; gap: 12px 32px; align-items: baseline; padding: clamp(20px, 2.4vw, 34px) 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.svc-row__name { font-size: clamp(30px, 4vw, 64px); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 82; letter-spacing: -.03em; line-height: 1; transition: transform .45s var(--ease); }
.svc-row__text { color: var(--ink-soft); font-size: 17px; max-width: 40ch; }
.svc-row__count { font-size: 15px; color: var(--ink-soft); text-align: right; }
.svc-row:hover .svc-row__name { transform: translateX(14px); }
.case-metiers { margin: 18px 0 0; font-size: 16px; color: var(--ink-soft); }
.case-metiers a { color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 900px) {
  .svc-intro__grid, .svc-deliver, .svc-faq__grid { grid-template-columns: 1fr; }
  .svc-visual img { aspect-ratio: 16 / 10; }
  .svc-row { grid-template-columns: 1fr; }
  .svc-row__count { text-align: left; }
  .svc-row:hover .svc-row__name { transform: none; }
}

/* ---------- Page projet : site internet, galerie, fin ---------- */
.case-end { padding-bottom: clamp(60px, 7vw, 100px); }
.case-end .case-cta { margin-top: 0; }
.case-site, .case-gallery { padding-block: 0 clamp(70px, 8vw, 120px); }
.case-site__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.case-site__shots { display: grid; grid-template-columns: minmax(0, 1fr) clamp(150px, 19vw, 260px); gap: clamp(20px, 3vw, 44px); align-items: end; }
.case-site figure { margin: 0; }
.browser { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: var(--paper-2); font-size: 13px; color: var(--ink-soft); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__bar span { margin-left: 14px; padding: 2px 12px; border-radius: 6px; background: var(--paper); }
.browser img, .phone img { width: 100%; height: auto; }
.phone { border-radius: 26px; overflow: hidden; border: 8px solid var(--ink); background: var(--ink); }
.gallery { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery li { aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-site__shots { grid-template-columns: minmax(0, 1fr) 120px; }
  .phone { border-width: 5px; border-radius: 16px; }
}


/* ---------- Mouvement (accueil) ---------- */
/* Barre de progression de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--blue), var(--mauve), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }

/* Titre du hero : les mots montent à l'arrivée (une seule fois) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.w > span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--i) * 75ms + 200ms); }
@keyframes rise { to { transform: none; } }

/* Bandeau défilant de savoir-faire */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--paper); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; font-size: clamp(28px, 3.6vw, 52px); font-weight: 600; font-variation-settings: "opsz" 72, "wdth" 82; letter-spacing: -.03em; white-space: nowrap; padding-right: .9em; }
.marquee span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; margin-left: .9em; background: linear-gradient(135deg, var(--blue), var(--orange)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Projets à la une : l'image se révèle au moment où elle entre dans le champ */
html.js .feature__media { clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease); }
html.js .feature__media.is-in { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .w > span { transform: none; animation: none; }
  .marquee__track { animation: none; }
  html.js .feature__media { clip-path: none; transition: none; }
  .progress { display: none; }
}


/* ---------- Icônes ---------- */
.ico { width: 26px; height: 26px; display: block; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skill > .ico { color: var(--blue); margin-bottom: 16px; transition: transform .45s var(--ease), color .3s; }
a.skill:hover > .ico { transform: translateY(-3px); color: var(--orange); }
.contact__ways a { align-items: center; }
.contact__ways a > .ico { flex: none; color: var(--orange); width: 22px; height: 22px; margin-right: auto; }
.contact__ways a > span { margin-right: 0; }


/* ---------- Appels à l’action de fin de chapitre ---------- */
.chapter-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: clamp(36px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.chapter-cta p { margin: 0 auto 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -.015em; max-width: 26ch; }
.chapter-cta .btn { transition: transform .35s var(--ease), background .25s var(--ease); }
.chapter-cta .btn:hover { transform: translateY(-2px); }
@media (max-width: 600px) { .chapter-cta p { margin: 0; } }


/* ---------- Retour au toucher et survol (audit) ---------- */
.btn, .chapter-cta .btn { transition: transform .16s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.btn:active, .chapter-cta .btn:active { transform: scale(.97); }
/* Sur tablette et téléphone, le « survol » n'existe pas : on n'applique aucun déplacement qui resterait collé après un toucher */
@media (hover: none) {
  .feature__media:hover img,
  .row a:hover .row__title,
  .svc-row:hover .svc-row__name,
  a.skill:hover > .ico,
  .chapter-cta .btn:hover,
  .next:hover img { transform: none; }
}

.case-visual { margin: 0; border-radius: 4px 4px 0 0; overflow: hidden; background: var(--paper-2); }
.case-visual img { width: 100%; height: auto; display: block; }

.gallery--affiches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery--affiches li { aspect-ratio: auto; background: none; }
.gallery--affiches img { height: auto; object-fit: contain; }
.case-embed { background: #000; }
.case-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
