/* Slyne. Bleu #0000FF + blanc. La diagonale du logo (31.6°) sert de motif partout. */
:root {
  --blue: #0000ff;
  --blue-deep: #0000c4;
  --ink: #06061a;
  --paper: #f2f2f5;
  --white: #fff;
  --muted: rgba(6, 6, 26, .64);
  --line: rgba(6, 6, 26, .14);
  --line-light: rgba(255, 255, 255, .26);
  --skew: 31.6deg;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 56px);
  --display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.sprite { position: absolute; }
::selection { background: var(--blue); color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 var(--gut); }

.kicker {
  margin: 0 0 18px;
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}
.kicker--light { color: rgba(255, 255, 255, .78); }

/* ---------- Boutons : parallélogramme dans l'angle du logo ---------- */
.btn {
  --cut: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px calc(26px + var(--cut) / 2);
  font: 600 14.5px/1 var(--body);
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, var(--cut) 100%);
  transition: transform .45s var(--ease), background-color .3s, color .3s;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }
.btn--white { background: var(--white); color: var(--blue); }
.btn--white:hover { background: var(--ink); color: var(--white); }
.btn--ghost { background: rgba(255, 255, 255, .14); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .26); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--ink); }
.btn--line { background: var(--ink); color: var(--white); text-transform: none; letter-spacing: .02em; }
.btn--line:hover { background: var(--blue); }

/* ---------- Écran de chargement (style loading screen) ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  transition: transform 1s var(--ease);
}
.loader.is-done { transform: translateY(-101%); }
.no-loader .loader { display: none; }
.loader__inner { width: min(340px, 76vw); display: grid; justify-items: center; gap: 26px; }
/* Le logo s'assemble : les deux moitiés du S arrivent en suivant sa diagonale */
.loader__stage { position: relative; width: 116px; height: 109px; }
.loader__logo { width: 100%; height: 100%; overflow: visible; }
.loader__logo path { fill: var(--white); transform-box: fill-box; }
.loader__logo .half--a { animation: asm-a 1s var(--ease) .1s both; }
.loader__logo .half--b { animation: asm-b 1s var(--ease) .1s both; }
@keyframes asm-a { from { transform: translate(48%, -78%); opacity: 0; } }
@keyframes asm-b { from { transform: translate(-48%, 78%); opacity: 0; } }
/* Puis il se désintègre en particules (dessinées dans un canvas, seulement le temps de l'effet) */
.loader__dust { position: absolute; left: -150%; top: -150%; width: 400%; height: 400%; pointer-events: none; }
.loader.is-dust .loader__logo { visibility: hidden; }
.loader.is-dust .loader__bar, .loader.is-dust .loader__tip { opacity: 0; transition: opacity .4s; }
.loader__bar { width: 100%; height: 3px; background: rgba(255, 255, 255, .22); overflow: hidden; }
.loader__bar span {
  display: block;
  height: 100%;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  animation: load 1.1s var(--ease) .1s forwards;
}
.loader__tip { font: 500 12px/1.6 var(--mono); text-align: center; opacity: .85; }
.loader__tip b { font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
@keyframes load { to { transform: scaleX(1); } }
@keyframes breathe { 50% { opacity: .55; transform: scale(.94); } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--gut);
  color: var(--white);
  transition: background-color .4s, color .4s, padding .4s var(--ease), box-shadow .4s;
}
.nav.is-solid {
  background: rgba(242, 242, 245, .96);
  color: var(--ink);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; text-decoration: none; font: 400 22px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.nav__logo { width: 32px; height: 30px; transition: color .4s; }
.nav.is-solid .nav__logo { color: var(--blue); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  position: relative;
  font: 600 14px/1 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  padding: 11px 22px;
  background: var(--white);
  color: var(--blue);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 10px 100%);
  transition: background-color .3s, color .3s;
}
.nav.is-solid .nav__cta { background: var(--blue); color: var(--white); }
.nav__cta:hover, .nav.is-solid .nav__cta:hover { background: var(--ink); color: var(--white); }
.nav__burger { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: 120px;
  background-color: var(--blue);
  background-image: repeating-linear-gradient(121.6deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 84px);
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 5vw));
}
.hero__mark {
  position: absolute;
  top: 50%;
  right: -9vw;
  width: min(70vw, 980px);
  height: auto;
  aspect-ratio: 547 / 514;
  color: var(--blue-deep);
  opacity: .9;
  transform: translateY(-50%);
  pointer-events: none;
}
.hud {
  position: absolute;
  top: 104px;
  right: var(--gut);
  z-index: 1;
  min-width: 230px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, .42);
  font: 500 12px/1.7 var(--mono);
}
.hud__head, .hud__row { display: flex; justify-content: space-between; gap: 24px; }
.hud__head { opacity: .6; border-bottom: 1px solid rgba(255, 255, 255, .2); margin-bottom: 4px; padding-bottom: 4px; }
.hud__row b { color: #7dff9b; font-weight: 500; }
.hero__content { position: relative; z-index: 1; }
.hero__title {
  margin: 0;
  font: 400 clamp(54px, 13.4vw, 216px)/.86 var(--display);
  text-transform: uppercase;
  letter-spacing: .005em;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .07em; }
.hero__title .line > span { display: inline-block; }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  margin: 40px 0 44px;
}
.hero__text { max-width: 480px; font-size: clamp(17px, 1.35vw, 19px); opacity: .92; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__strip {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gut) calc(5vw + 22px);
  border-top: 1px solid var(--line-light);
  font: 500 12px/1.3 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__status { display: flex; align-items: center; gap: 10px; }
.hero__status i { width: 8px; height: 8px; border-radius: 50%; background: #7dff9b; animation: blink 2s ease-in-out infinite; }
.hero__scroll::after { content: " \2193"; display: inline-block; animation: nudge 1.8s var(--ease) infinite; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* Entrée du hero, déclenchée quand l'écran de chargement s'en va */
.js .hero__title .line > span { transform: translateY(108%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 90ms + 80ms); }
.js .hero__in { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d) * 110ms + 380ms); }
.hero__mark path { fill: currentColor; transform-box: fill-box; }
.js .hero__mark .half { opacity: 0; transition: transform 1.6s var(--ease) .1s, opacity .9s ease .1s; }
.js .hero__mark .half--a { transform: translate(34%, -55%); }
.js .hero__mark .half--b { transform: translate(-34%, 55%); }
.is-ready .hero__title .line > span, .is-ready .hero__in { transform: none; opacity: 1; }
.is-ready .hero__mark .half { transform: none; opacity: 1; }

/* Parallaxe du logo au défilement : géré par le navigateur, sans JavaScript */
@supports (animation-timeline: scroll()) {
  .hero__mark { animation: mark-par linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes mark-par { to { transform: translateY(-38%) rotate(7deg); } }
}

/* ---------- Bandeau défilant ---------- */
.marquee {
  overflow: hidden;
  padding: clamp(22px, 3vw, 36px) 0;
  margin-top: -1px;
  user-select: none;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee span {
  padding: 0 .45em;
  font: 400 clamp(40px, 6.6vw, 96px)/1 var(--display);
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}
.marquee span.is-outline { color: transparent; -webkit-text-stroke: 1.5px var(--blue); }
.marquee i { display: inline-block; width: .9em; height: .32em; font-size: clamp(40px, 6.6vw, 96px); background: var(--blue); transform: skewX(var(--skew)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 11vw, 160px) 0; }
.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-title {
  margin: 0;
  font: 400 clamp(60px, 10vw, 150px)/.88 var(--display);
  text-transform: uppercase;
}
.sec-title sup { margin-left: .18em; font: 500 14px/1 var(--mono); vertical-align: top; color: var(--blue); letter-spacing: .06em; }

/* Filtres */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 10px 18px;
  border: 1.5px solid var(--ink);
  background: none;
  color: var(--ink);
  font: 600 13.5px/1 var(--body);
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: var(--white); }

.empty { padding: 56px 24px; border: 1.5px dashed var(--line); text-align: center; color: var(--muted); font-size: 18px; }

/* ---------- Grille de projets ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  grid-auto-flow: dense;
  gap: clamp(32px, 4vw, 52px) clamp(18px, 2vw, 28px);
}
@media (min-width: 900px) { .card--wide { grid-column: span 2; } }
.card[hidden] { display: none; }
.card__hit { display: block; text-decoration: none; color: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__hit:hover .card__media img { transform: scale(1.05); }
.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 40, .5), transparent 55%);
  opacity: 0;
  transition: opacity .45s;
}
.card__hit:hover .card__media::before { opacity: 1; }
/* Volet bleu en biais qui s'ouvre à l'apparition */
.js .card__media::after {
  content: "";
  position: absolute;
  inset: 0 -35%;
  z-index: 3;
  background: var(--blue);
  transform: skewX(var(--skew)) translateX(0);
  transition: transform 1.15s var(--ease) .1s;
}
.js .card.is-in .card__media::after { transform: skewX(var(--skew)) translateX(110%); }
.card__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 10px 18px;
  background: var(--white);
  color: var(--blue);
  font: 600 12.5px/1 var(--body);
  letter-spacing: .08em;
  text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 100%, 9px 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .35s, transform .5s var(--ease);
}
.card__hit:hover .card__badge, .card__hit:focus-visible .card__badge { opacity: 1; transform: none; }
.ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--blue) repeating-linear-gradient(121.6deg, rgba(255, 255, 255, .07) 0 1px, transparent 1px 34px);
  color: var(--white);
  text-align: center;
}
.ph svg { position: absolute; right: -6%; bottom: -14%; width: 52%; height: auto; aspect-ratio: 547 / 514; color: var(--blue-deep); }
.ph span { position: relative; font: 400 clamp(28px, 3.4vw, 46px)/1 var(--display); text-transform: uppercase; }
.card__body { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding-top: 18px; }
.card__num { padding-top: 3px; font: 500 12.5px/1 var(--mono); color: var(--blue); }
.card__cat { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title {
  margin: 8px 0 0;
  font: 400 clamp(26px, 2.4vw, 34px)/1 var(--display);
  text-transform: uppercase;
  transition: color .3s;
}
.card__hit:hover .card__title { color: var(--blue); }
.card__sum { margin-top: 10px; max-width: 54ch; color: var(--muted); font-size: 16px; }

/* ---------- Services ---------- */
.services {
  background: var(--blue);
  color: var(--white);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  padding-top: calc(clamp(84px, 11vw, 160px) + 4vw);
  padding-bottom: calc(clamp(84px, 11vw, 160px) + 4vw);
}
.svc { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-light); }
.svc__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: baseline;
  gap: 12px 32px;
  padding: clamp(24px, 3vw, 38px) 0;
  border-top: 1px solid var(--line-light);
}
.svc__n { font: 500 13px/1 var(--mono); opacity: .7; }
.svc__title {
  margin: 0;
  font: 400 clamp(30px, 3.6vw, 52px)/1 var(--display);
  text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.svc__item:hover .svc__title { transform: translateX(14px); }
.svc__text { max-width: 52ch; opacity: .88; font-size: 17.5px; }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 7vw, 120px); }
.about__title { margin: 0; font: 400 clamp(44px, 5.6vw, 84px)/.95 var(--display); text-transform: uppercase; }
.about__text { display: grid; gap: 18px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; margin: 48px 0 0; }
.stats div { padding-top: 16px; border-top: 2px solid var(--ink); }
.stats dt { font: 400 clamp(22px, 1.9vw, 28px)/1.1 var(--display); color: var(--blue); text-transform: uppercase; }
.stats dd { margin: 10px 0 0; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- Équipe ---------- */
.team__intro { max-width: 380px; color: var(--muted); font-size: 18px; }
.team__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px);
}
.member__hit { display: block; text-decoration: none; color: inherit; }
.member__avatar {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--blue);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 12% 100%);
  transition: clip-path .7s var(--ease);
}
.member__hit:hover .member__avatar { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .5s, transform 1.1s var(--ease); }
.member__hit:hover .member__avatar img { filter: none; transform: scale(1.06); }
.member__avatar svg { position: absolute; inset: 22%; width: 56%; height: 56%; color: var(--white); }
/* Filtre bleu par-dessus la photo, qui disparaît au survol */
.member__avatar::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--blue); mix-blend-mode: screen; opacity: .55; transition: opacity .5s; }
.member__hit:hover .member__avatar::before { opacity: 0; }
.js .member__avatar::after {
  content: "";
  position: absolute;
  inset: 0 -35%;
  z-index: 2;
  background: var(--ink);
  transform: skewX(var(--skew)) translateX(0);
  transition: transform 1.15s var(--ease) .1s;
}
.js .member.is-in .member__avatar::after { transform: skewX(var(--skew)) translateX(115%); }
.member__role { margin-top: 16px; font: 500 12px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.member__name { margin: 8px 0 0; font: 400 clamp(26px, 2.4vw, 34px)/1 var(--display); text-transform: uppercase; overflow-wrap: anywhere; transition: transform .6s var(--ease); }
.member__hit:hover .member__name { transform: translateX(8px); }
.member__handle { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Titres qui apparaissent lettre par lettre ---------- */
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-top: .08em; margin-top: -.08em; }
.js [data-split] .c { display: inline-block; transform: translateY(112%) rotate(7deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--ci) * 26ms + 80ms); }
.js .is-in [data-split] .c, .js [data-split].is-in .c { transform: none; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(84px, 11vw, 160px) 0; background: var(--white); overflow: hidden; }
.contact__in { position: relative; z-index: 1; pointer-events: none; }
.contact__in .contact__actions { pointer-events: auto; }
.contact__mark { position: absolute; right: -4vw; top: 50%; width: min(52vw, 720px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: auto; opacity: .13; }
.contact__title {
  margin: 0;
  font: 400 clamp(52px, 9vw, 150px)/.9 var(--display);
  text-transform: uppercase;
  color: var(--blue);
}
.contact__title span { display: block; }
.contact__title .is-outline { color: transparent; -webkit-text-stroke: 2px var(--blue); }
.contact__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; margin-top: 48px; }
.contact__text { max-width: 460px; font-size: 19px; color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Pied de page ---------- */
.foot { background: var(--blue); color: var(--white); }
.foot__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 26px;
  padding-bottom: 26px;
  font: 500 12px/1.4 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ---------- Fenêtre projet ---------- */
.modal {
  width: min(1120px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100svh - 24px);
  padding: 0;
  border: 0;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
}
.modal::backdrop { background: rgba(0, 0, 32, .82); }
.modal[open] { animation: pop .55s var(--ease); }
.modal[open]::backdrop { animation: fade .4s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(26px) scale(.985); } }
@keyframes fade { from { opacity: 0; } }
.modal__bar { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 12px 12px 20px; background: var(--white); }
.modal__cat { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.modal__close {
  padding: 10px 16px;
  border: 0;
  background: var(--ink);
  color: var(--white);
  font: 600 13px/1 var(--body);
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s;
}
.modal__close:hover { background: var(--blue); }
.modal__media { background: #000; }
.modal__media:empty { display: none; }
.modal__media iframe, .modal__media video, .modal__media img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; max-height: 72vh; border: 0; background: #000; object-fit: contain; }
.modal__body { padding: clamp(22px, 3vw, 36px); }
.modal__title { margin: 0; font: 400 clamp(34px, 4.2vw, 60px)/.95 var(--display); text-transform: uppercase; }
.modal__date { margin-top: 10px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.modal__date:empty { display: none; }
.modal__desc { margin-top: 20px; max-width: 70ch; white-space: pre-line; font-size: 17.5px; }
.modal__desc:empty { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags:empty { display: none; }
.tags li { padding: 6px 10px; border: 1px solid var(--line); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
html.modal-open { overflow: hidden; }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Tablette / mobile ---------- */
@media (max-width: 860px) {
  .nav__burger {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }
  .nav__burger span { display: block; width: 26px; height: 2px; background: currentColor; transition: transform .45s var(--ease); }
  .nav.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--gut);
    background: var(--blue);
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    visibility: hidden;
    transition: clip-path .7s var(--ease), visibility 0s .7s;
  }
  .nav.menu-open { color: var(--white); background: transparent; box-shadow: none; }
  .nav.menu-open .nav__logo { color: var(--white); }
  .nav.menu-open .nav__links { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); visibility: visible; transition: clip-path .7s var(--ease); }
  .nav__links a { font: 400 clamp(44px, 12vw, 72px)/1.05 var(--display); letter-spacing: .01em; }
  .nav__links a:not(.nav__cta)::after { display: none; }
  .nav__cta, .nav.is-solid .nav__cta { padding: 0; background: none; color: var(--white); clip-path: none; }
  .hud { display: none; }
  .hero__mark { width: 120vw; right: -46vw; top: 34%; }
  .svc__item { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .hero__actions .btn, .contact__actions .btn { flex: 1 1 auto; justify-content: center; }
  .hero__scroll { display: none; }
  .card__body { grid-template-columns: 34px 1fr; }
}

/* ---------- Réglage « réduire les animations » de l'ordinateur ----------
   Les apparitions et effets restent actifs ; seuls les mouvements continus sont calmés. */
@media (prefers-reduced-motion: reduce) {
  .hero__mark { animation: none; }
  .marquee__track { animation-duration: 80s; }
}
