/* ==========================================================================
   Portfolio photo — feuille de style principale
   Palette : noir profond, blanc, rouge accent. Typo : Bodoni Moda + Jost.
   ========================================================================== */

:root {
  --bg: #000;
  --bg-2: #0b0b0b;
  --bg-3: #141414;
  --line: #262626;
  --text: #fff;
  --muted: #a8a8a8;
  --accent: #f12139;
  --accent-hover: #ff3d53;
  --ok: #23a455;
  --serif: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --gap: 10px;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}
a, button, label, input, select, textarea { touch-action: manipulation; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: 12px; z-index: 200;
  background: #fff; color: #000; padding: 10px 16px; font-weight: 600; font-size: 14px;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 28px;
  transition: background-color .35s;
}
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .72), rgba(0, 0, 0, 0));
}
.site-header.is-scrolled { background: rgba(0, 0, 0, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.site-header.is-scrolled::before { opacity: 0; }

.brand {
  justify-self: start;
  display: inline-flex; flex-direction: column;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  font-size: 25px; line-height: .8; letter-spacing: -.015em;
}
.brand span:last-child { padding-left: 1.05em; margin-top: -.02em; }
a.brand { transition: opacity .2s; }
a.brand:hover { opacity: .7; }
.site-header.is-home .brand { visibility: hidden; }

.nav__list { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: inline-block; padding: 12px 0;
  font-weight: 700; font-size: 13.5px; letter-spacing: .07em; text-transform: uppercase;
  transition: color .2s;
}
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--accent); }

.dropdown {
  position: absolute; top: 100%; left: 50%; min-width: 230px;
  list-style: none; margin: 0; padding: 12px 0;
  background: rgba(0, 0, 0, .95); border: 1px solid #1f1f1f;
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.nav__item:hover > .dropdown,
.nav__item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown li { position: relative; }
.dropdown a {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 7px 22px; white-space: nowrap;
  font-weight: 500; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  transition: color .2s;
}
.dropdown a:hover, .dropdown a[aria-current='page'] { color: var(--accent); }
.dropdown .dropdown { left: 100%; top: -13px; transform: translate(8px, 0); }
.dropdown li:hover > .dropdown,
.dropdown li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(0, 0); }
.dropdown .caret { opacity: .6; }

.share-btn {
  display: grid; place-items: center; width: 30px; height: 30px; padding: 0;
  background: none; border: 0; cursor: pointer; color: #fff; transition: color .2s;
}
.share-btn:hover { color: var(--accent); }

.socials { justify-self: end; display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; color: #cfcfcf; transition: color .2s, transform .2s; }
.socials a:hover { color: #fff; transform: translateY(-1px); }
.socials svg, .share-btn svg { width: 18px; height: 18px; }

.burger {
  display: none; justify-self: end; position: relative; z-index: 70;
  width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 10px; width: 24px; height: 1.5px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span { top: 21px; }
.burger span::before { content: ''; left: 0; top: -7px; }
.burger span::after { content: ''; left: 0; top: 7px; }
.burger[aria-expanded='true'] span { background: transparent; }
.burger[aria-expanded='true'] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60; overflow-y: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 90px 24px 40px; background: #000; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overscroll-behavior: contain;
}
/* À l'ouverture, visibilité immédiate pour que le focus clavier puisse entrer dans le panneau. */
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.mobile-menu > a { font-family: var(--serif); font-weight: 600; font-size: 30px; text-transform: uppercase; line-height: 1.5; }
.mobile-menu > a[aria-current='page'], .mobile-menu a:hover { color: var(--accent); }
.mobile-menu .mobile-sub { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; max-width: 360px; margin: 0 0 14px; }
.mobile-menu .mobile-sub a { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: #bcbcbc; }
.mobile-menu .socials { justify-self: center; margin-top: 26px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { z-index: 65; background: transparent; }

/* --------------------------------------------------------------------------
   Accueil — mur de photos en défilement continu
   -------------------------------------------------------------------------- */
.home { position: relative; height: 100vh; height: 100svh; overflow: hidden; }
.home::before, .home::after {
  content: ''; position: absolute; left: 0; right: 0; z-index: 4; pointer-events: none;
}
.home::before { top: 0; height: 140px; background: linear-gradient(rgba(0, 0, 0, .75), transparent); }
.home::after { bottom: 0; height: 120px; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }

.wall {
  position: absolute; inset: 0 10px;
  display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 16px; align-items: start;
  opacity: 0; animation: fadeIn 1.4s .2s forwards;
}
.wall__col { display: flex; flex-direction: column; animation: wallUp var(--dur, 150s) linear infinite; animation-delay: var(--delay, 0s); will-change: transform; }
.wall:hover .wall__col, .wall:focus-within .wall__col, .home.is-paused .wall__col { animation-play-state: paused; }
.wall__item { display: block; margin-bottom: 16px; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.wall__item img { width: 100%; height: auto; opacity: 0; transition: opacity .9s, transform 1.4s var(--ease); }
.wall__item img.is-loaded { opacity: 1; }
.wall__item:hover img { transform: scale(1.035); }
@keyframes wallUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 6;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .35); color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.wall-toggle:hover { background: var(--accent); border-color: var(--accent); }
.wall-toggle svg { width: 16px; height: 16px; }

.home-logo {
  position: absolute; inset: 0; z-index: 5; margin: 0; pointer-events: none;
  display: grid; place-content: center;
  font-family: var(--serif); font-weight: 400; text-transform: uppercase; color: #fff;
  font-size: clamp(60px, 11.5vw, 190px); line-height: .8; letter-spacing: -.025em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, .35);
  opacity: 0; animation: logoIn 1.8s .5s var(--ease) forwards;
}
.home-logo span { display: block; }
.home-logo span:last-child { padding-left: 1.05em; margin-top: -.03em; }
.home-legal {
  position: absolute; left: 20px; bottom: 26px; z-index: 6;
  font-size: 10.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6);
}
.home-tagline {
  position: absolute; left: 0; right: 0; bottom: 28px; z-index: 5; margin: 0; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .8);
  opacity: 0; animation: fadeIn 1.2s 1.6s forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes logoIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Pages intérieures
   -------------------------------------------------------------------------- */
.page { min-height: 100vh; padding-top: calc(var(--header-h) + 18px); }
.page-title {
  margin: 26px 0 38px; text-align: center;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 4vw, 44px); line-height: 1.1; letter-spacing: .02em;
  animation: riseIn .9s var(--ease) both;
}
.crumb { display: block; margin-top: 18px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.crumb { transition: color .2s; }
.crumb:hover { color: var(--accent); }
.crumb + .page-title { margin-top: 6px; }
.lead { max-width: 640px; margin: -18px auto 40px; padding: 0 24px; text-align: center; color: var(--muted); }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Tuiles de portfolios */
.tiles { display: grid; grid-template-columns: repeat(var(--tile-cols, 4), minmax(0, 1fr)); gap: var(--gap); padding: 0 var(--gap); }
.tile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-3); }
.tile::before {
  content: ''; position: absolute; inset: 0; background: #000; opacity: .42; pointer-events: none;
  transition: opacity .6s;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity .8s, transform 1.4s var(--ease);
}
.tile img.is-loaded { opacity: 1; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile:hover::before, .tile:focus-visible::before { opacity: .22; }
.tile__label {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; padding: 0 14px; text-align: center;
}
.tile__title {
  font-family: var(--serif); font-weight: 600; text-transform: uppercase;
  font-size: clamp(15px, 1.55vw, 22px); letter-spacing: .22em; line-height: 1.35;
}
.tile__title::after {
  content: ''; display: block; width: 42px; height: 2px; margin: 10px auto 0; background: var(--accent);
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.tile:hover .tile__title::after, .tile:focus-visible .tile__title::after { transform: scaleX(1); }
.tile__count { font-variant-numeric: tabular-nums; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

/* Galerie maçonnerie */
.masonry { display: flex; align-items: flex-start; gap: var(--gap); padding: 0 var(--gap); }
.masonry__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.m-item { position: relative; display: block; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.m-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s, transform 1.1s var(--ease); }
.m-item img.is-loaded { opacity: 1; }
.m-item:hover img { transform: scale(1.025); }

.gallery-nav {
  display: flex; justify-content: space-between; gap: 20px; padding: 56px 28px 0;
  font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
}
.gallery-nav a { display: inline-flex; align-items: center; gap: 12px; color: #d8d8d8; transition: color .2s; }
.gallery-nav a:hover { color: var(--accent); }
.gallery-nav svg { width: 16px; height: 16px; flex-shrink: 0; }
.gallery-nav .is-next { margin-left: auto; text-align: right; }

/* --------------------------------------------------------------------------
   Visionneuse plein écran
   -------------------------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(0, 0, 0, .97);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  overscroll-behavior: contain;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .3s; }
.lb__figure { margin: 0; display: grid; place-items: center; }
.lb__img {
  max-width: calc(100vw - 170px); max-height: calc(100vh - 120px); width: auto; height: auto;
  object-fit: contain; opacity: 0; transform: scale(.985); transition: opacity .35s, transform .45s var(--ease);
  user-select: none; -webkit-user-drag: none;
}
.lb__img.is-loaded { opacity: 1; transform: none; }
.lb__btn {
  position: absolute; display: grid; place-items: center; width: 54px; height: 54px; padding: 0;
  background: none; border: 0; color: #e8e8e8; cursor: pointer; transition: color .2s, transform .2s;
}
.lb__btn:hover { color: var(--accent); }
.lb__btn svg { width: 26px; height: 26px; }
.lb__close { top: 14px; right: 16px; }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__prev:hover { transform: translate(-3px, -50%); }
.lb__next:hover { transform: translate(3px, -50%); }
.lb__meta {
  position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: space-between; gap: 24px;
  padding: 0 28px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8f8f8f;
}
.lb__caption { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__count { flex-shrink: 0; font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   Boutons & formulaires
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block; padding: 11px 40px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--accent); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 16px; letter-spacing: .02em;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--ok { background: var(--ok); width: 100%; }
.btn--ok:hover { background: #2bbb63; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #cfcfcf; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 12px; border: 1px solid #d7d7d7; border-radius: 3px;
  background: #fff; color: #111; font: 15px/1.5 var(--sans); color-scheme: light;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.field .error { min-height: 1em; font-size: 12.5px; color: #ff6b7d; }
.robot {
  display: flex; align-items: center; gap: 12px; width: 250px; padding: 12px 14px;
  background: #f9f9f9; border: 1px solid #d3d3d3; border-radius: 3px; color: #222; font-size: 14px; cursor: pointer;
}
.field label.robot { font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #222; }
.robot input { width: 22px; height: 22px; accent-color: var(--ok); }
.form-note { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.form-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.form-success {
  padding: 28px; border: 1px solid var(--line); background: var(--bg-2);
  animation: riseIn .6s var(--ease) both;
}
.form-success:focus { outline: none; }
.form-success h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 26px; text-transform: uppercase; }
.form-success p { margin: 0; color: #d6d6d6; }

/* --------------------------------------------------------------------------
   Blocs de contenu (À propos, Contact)
   -------------------------------------------------------------------------- */
.page-title, .display, .section-title, .tile__title, .member h3 { text-wrap: balance; }
.section { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section + .section { margin-top: 110px; }
.section-title {
  margin: 0 0 46px; text-align: center;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.2vw, 38px); letter-spacing: .02em; line-height: 1.15;
}
.display {
  margin: 0 0 28px;
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 56px); line-height: 1.1; letter-spacing: .01em;
}
.prose p { margin: 0 0 1.1em; color: #e6e6e6; }
.prose a, .link-red { color: var(--accent); }
.prose a:hover, .link-red:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.split--center { align-items: center; }
.about-intro { max-width: 760px; }

/* Photo encadrée avec le bloc rouge décalé */
.framed { position: relative; margin: 34px 0 18px 18px; }
.framed::before {
  content: ''; position: absolute; left: -18px; bottom: -18px; width: 100%; height: 100%;
  border: 8px solid var(--accent); pointer-events: none;
}
.framed > * { position: relative; }
.framed img { width: 100%; height: auto; }
.framed--bw img { filter: grayscale(1) contrast(1.05); }

.monogram {
  display: grid; place-content: center; gap: 10px; aspect-ratio: 4 / 5; text-align: center;
  background: radial-gradient(circle at 50% 38%, #232323, #070707 70%);
}
.monogram__letters { font-family: var(--serif); font-weight: 400; font-size: clamp(90px, 13vw, 170px); line-height: .9; letter-spacing: -.04em; }
.monogram__hint { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #8a8a8a; }

/* Bannière vidéo */
.video-banner { position: relative; display: block; aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-3); }
.video-banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .4; transition: opacity .5s; pointer-events: none; }
.video-banner img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.video-banner:hover img { transform: scale(1.03); }
.video-banner:hover::before { opacity: .28; }
.video-banner__head, .play { z-index: 2; }
.video-banner__head {
  position: absolute; top: 18px; left: 22px; right: 22px; display: flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600;
}
.video-banner__head small { display: block; font-size: 12px; font-weight: 400; color: #ccc; }
.video-banner__avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: #000; border: 1px solid #444; font-family: var(--serif); font-size: 14px;
}
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 74px; height: 52px; border-radius: 14px; background: var(--accent);
  transition: transform .3s var(--ease), background-color .2s;
}
.play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-banner:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }

/* Grille 2×2 des services */
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cover { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--bg-3); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cover:hover img { transform: scale(1.05); }
.cover span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
}
.link-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 6px; }
.link-list a { font-weight: 500; }

/* Logos clients (emplacements) */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.logo-slot {
  display: grid; place-items: center; height: 86px; border: 1px dashed #333;
  font-family: var(--serif); font-size: 17px; letter-spacing: .2em; color: #7d7d7d; text-transform: uppercase;
  transition: border-color .3s, color .3s;
}
.logo-slot:hover { border-color: #666; color: #cfcfcf; }

/* Cartes réseaux sociaux */
.social-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.social-card {
  display: grid; place-items: center; gap: 8px; padding: 26px 16px; border-radius: 4px; text-align: center;
  flex: 0 1 260px; font-weight: 600; font-size: 14px; transition: transform .3s var(--ease);
}
.social-card:hover { transform: translateY(-4px); }
.social-card svg { width: 34px; height: 34px; }
.social-card small { font-weight: 400; opacity: .85; overflow-wrap: anywhere; }
.social-card--instagram { background: linear-gradient(45deg, #f9b234, #ee2a7b 45%, #6228d7); }
.social-card--facebook { background: #2d5fb8; }
.social-card--x { background: #161616; border: 1px solid #333; }
.social-card--youtube { background: #d9252f; }
.social-card--tiktok { background: linear-gradient(135deg, #25f4ee -60%, #111 30%, #111 70%, #fe2c55 160%); border: 1px solid #333; }

/* Contact */
.contact-head { margin: 26px 0 46px; }
.contact-form { display: grid; gap: 16px; max-width: 460px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.member h3 { margin: 22px 0 8px; font-family: var(--serif); font-weight: 700; font-size: 30px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.member p { margin: 0; font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }

/* Mentions légales */
.legal { max-width: 820px; padding-bottom: 20px; }
.legal__updated { margin: -24px 0 46px; text-align: center; font-size: 13px; color: var(--muted); }
.legal h2 { margin: 46px 0 14px; font-family: var(--serif); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .03em; }
.legal p { margin: 0 0 1em; color: #e3e3e3; }
.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }
.legal__list { display: grid; grid-template-columns: 150px 1fr; gap: 8px 22px; margin: 0 0 1.2em; }
.legal__list dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.legal__list dd { margin: 0; color: #f0f0f0; overflow-wrap: anywhere; }
.legal__reset { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
/* Emplacements à compléter : bien visibles tant qu'ils ne sont pas remplis. */
.todo { padding: 1px 8px; border: 1px dashed var(--accent); border-radius: 3px; color: #ff8a98; font-size: .92em; }
.todo::before { content: 'À compléter : '; font-weight: 600; }

/* Motion */
.reels { display: grid; gap: 34px; padding: 0 28px; max-width: 1500px; margin: 0 auto; }
.reels__row { display: flex; align-items: flex-start; gap: 18px; }
.reel { flex: var(--ratio, 1) 1 0; min-width: 0; margin: 0; }
/* Vidéo YouTube : miniature + bouton lecture, le lecteur se charge au clic. */
.yt { position: relative; overflow: hidden; background: var(--bg-3); }
.yt__play { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt__play::before { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: .25; transition: opacity .4s; }
.yt__play img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.yt__play .play { z-index: 2; }
.yt__play:hover img { transform: scale(1.03); }
.yt__play:hover::before { opacity: .1; }
.yt__play:hover .play { transform: translate(-50%, -50%) scale(1.08); background: var(--accent-hover); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.empty { margin: 0; padding: 30px 24px 60px; text-align: center; color: var(--muted); }
.reel figcaption { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.reel figcaption span:last-child { color: var(--muted); font-weight: 500; }

/* --------------------------------------------------------------------------
   Pied de page, retour en haut, cookies, partage
   -------------------------------------------------------------------------- */
.site-footer { padding: 90px 20px 40px; text-align: center; }
.site-footer .brand { font-size: 22px; margin-bottom: 18px; }
.site-footer p { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8b8b8b; }
.site-footer__links { margin-top: 10px !important; }
.site-footer__links a, .home-legal { transition: color .2s; }
.site-footer__links a:hover, .home-legal:hover { color: #fff; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%;
  background: rgba(20, 20, 20, .85); border: 1px solid #333; color: #fff; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); border-color: var(--accent); }
.to-top svg { width: 18px; height: 18px; }

.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px; padding: 18px 20px;
  background: #0e0e0e; border: 1px solid #2b2b2b; box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  font-size: 14px; line-height: 1.55; animation: riseIn .6s var(--ease) both;
}
.cookie strong { display: block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 4px; }
.cookie p { margin: 0; color: #cfcfcf; }
.cookie__actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie button { padding: 9px 18px; border-radius: 3px; border: 1px solid #555; background: transparent; cursor: pointer; font-weight: 600; font-size: 13px; }
.cookie button[data-consent='yes'] { background: #fff; color: #000; border-color: #fff; }
.cookie button:hover { border-color: var(--accent); }

.modal {
  position: fixed; inset: 0; z-index: 130; display: grid; place-items: center; padding: 16px;
  background: rgba(0, 0, 0, .78); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  overscroll-behavior: contain;
}
.modal.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.modal__box { position: relative; width: min(440px, 100%); padding: 32px 28px 28px; background: #0d0d0d; border: 1px solid #272727; }
.modal__box h2 { margin: 0 0 22px; font-family: var(--serif); font-size: 24px; text-transform: uppercase; letter-spacing: .04em; }
.modal__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: #bbb; }
.modal__close:hover { color: var(--accent); }
.modal__close svg { width: 20px; height: 20px; }
.share-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.share-grid a, .share-grid button {
  display: grid; place-items: center; gap: 6px; padding: 14px 6px; border: 1px solid #2a2a2a; background: #121212;
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, color .2s;
}
.share-grid a:hover, .share-grid button:hover { border-color: var(--accent); color: var(--accent); }
.share-grid svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .wall { --cols: 3; }
}
@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 14px 0 18px; }
  .site-header .nav, .site-header > .socials { display: none; }
  .burger { display: block; }
  .tiles { grid-template-columns: repeat(var(--tile-cols-m, 2), minmax(0, 1fr)); }
  .reels__row { flex-direction: column; gap: 34px; }
  .reel { flex: none; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .social-card { flex-basis: calc(50% - 11px); }
  .team { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .lb__img { max-width: calc(100vw - 24px); max-height: calc(100vh - 140px); }
  .lb__prev, .lb__next { top: auto; bottom: 46px; transform: none; }
  .lb__prev:hover, .lb__next:hover { transform: none; }
  .cookie { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 0 18px; }
  .section + .section { margin-top: 80px; }
  .gallery-nav { padding: 44px 18px 0; letter-spacing: .14em; }
  .legal__list { grid-template-columns: 1fr; gap: 2px; }
  .legal__list dd { margin-bottom: 10px; }
  .home-legal { bottom: 62px; left: 0; right: 0; text-align: center; }
  .reels { gap: 12px; padding: 0 12px; }
  .reel figcaption { flex-direction: column; gap: 2px; letter-spacing: .12em; }
  .home-logo span:last-child { padding-left: .6em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall__col { animation: none; }
  .wall-toggle { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
