/*
  FLOU STUDIO — SITE WEB
  Charte : Noir #000000 (60%) | Bordeaux #471f1f (30%) | Lavande #bab2d9 (10%) | Sable #e9dcca | Blanc cassé #f5f5f5
  Règle web : fond noir dominant, navigation blanche, accents lavande au survol et sur les CTA.
*/

/* Police Inter hébergée sur le site (pas d'appel à Google Fonts → conforme RGPD) */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2");
}

:root {
  --noir: #000000;
  --bordeaux: #471f1f;
  --lavande: #bab2d9;
  --sable: #e9dcca;
  --blanc: #f5f5f5;
  --gris: #8d8a94;
  --ligne: rgba(245, 245, 245, 0.12);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1400px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.6rem, 7vw, 6rem); text-transform: uppercase; }
p { margin: 0 0 1em; }
::selection { background: var(--lavande); color: var(--noir); }
:focus-visible { outline: 2px solid var(--lavande); outline-offset: 3px; }
.hidden { display: none; }
@media (hover: none) { .if-hover { display: none; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ─── LOGOS (SVG injectés par main.js, couleur = currentColor) ─── */
.logo, .symbole { display: inline-block; }
.logo svg, .symbole svg { display: block; width: 100%; height: 100%; }
.logo { aspect-ratio: 614 / 86; }
.symbole { aspect-ratio: 203 / 133; }

/* ─── ÉLÉMENTS COMMUNS ─── */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); max-width: var(--max); margin: 0 auto; }
.section__head { margin-bottom: clamp(40px, 6vw, 80px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--lavande); margin-bottom: 1.4em;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lavande); }

.accent { color: var(--lavande); }
.accent-italic { color: var(--lavande); font-style: italic; font-weight: 900; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 28px; border: 0; border-radius: 999px;
  background: var(--blanc); color: var(--noir);
  font: 600 0.95rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { background: var(--lavande); transform: translateY(-2px); }
.btn--small { padding: 11px 20px; font-size: 0.85rem; }
.btn--full { width: 100%; padding: 20px; font-size: 1rem; }

.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--ligne); padding-bottom: 4px; transition: color 0.3s, border-color 0.3s; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { color: var(--lavande); border-color: var(--lavande); }

/* Apparition flou → net : l'identité « FLOU » en mouvement */
.reveal { opacity: 0; filter: blur(14px); transform: translateY(24px); transition: opacity 1s var(--ease), filter 1.1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; filter: blur(0); transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  .marquee__track, .hero__placeholder { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter);
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.is-scrolled { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding-top: 14px; padding-bottom: 14px; }
.nav__logo { display: flex; color: var(--blanc); transition: color 0.3s; }
.nav__logo:hover { color: var(--lavande); }
.nav__logo .logo { height: 22px; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav__links a:not(.btn) { font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--blanc); transition: color 0.3s; }
.nav__links a:not(.btn):hover { color: var(--lavande); }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--blanc); transition: transform 0.4s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.menu-open .nav__burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; justify-content: center; gap: 28px;
    background: var(--noir);
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
  }
  .nav__links a:not(.btn) { font-size: 2rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; }
  .menu-open .nav__links { opacity: 1; visibility: visible; }
  /* le flou de la barre créerait un cadre qui rognerait le menu plein écran */
  .menu-open .nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: none; }
  .menu-open { overflow: hidden; }
}

/* ─── HERO ─── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) clamp(60px, 9vh, 110px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
/* Voile sombre (gauche + bas) pour garder le texte lisible sur les plans clairs */
.hero__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
}
@media (max-width: 760px) { .hero__media::after { background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.45) 40%, rgba(0,0,0,0.9) 100%); } }
/* Fond provisoire : formes floues en mouvement (en attendant la showreel) */
.hero__placeholder {
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 35% at 25% 35%, rgba(186, 178, 217, 0.55), transparent 70%),
    radial-gradient(45% 40% at 75% 60%, rgba(71, 31, 31, 0.95), transparent 70%),
    radial-gradient(30% 30% at 60% 25%, rgba(233, 220, 202, 0.25), transparent 70%);
  filter: blur(60px);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate(-6%, 4%) scale(1.1) rotate(8deg); }
  100% { transform: translate(5%, -3%) scale(1.05) rotate(-6deg); }
}
.hero__content { position: relative; z-index: 1; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero__title { font-size: clamp(3rem, 10vw, 9.5rem); text-transform: uppercase; margin-bottom: 0.25em; }
.hero__line { display: block; animation: unblur 1.6s var(--ease) both; }
.hero__line--accent { color: var(--lavande); font-style: italic; font-weight: 900; letter-spacing: -0.05em; animation-delay: 0.25s; }
.hero__line--accent i { font-style: inherit; }
@keyframes unblur { from { opacity: 0; filter: blur(24px); transform: translateY(30px); } to { opacity: 1; filter: blur(0); transform: none; } }
.hero__lead { max-width: 520px; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(245, 245, 245, 0.8); animation: unblur 1.6s 0.5s var(--ease) both; }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 28px; animation: unblur 1.6s 0.7s var(--ease) both; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: clamp(60px, 9vh, 110px); z-index: 1; width: 26px; height: 44px; border: 1.5px solid rgba(245,245,245,0.5); border-radius: 20px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--lavande); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* ─── BANDEAU DÉFILANT ─── */
.marquee { overflow: hidden; border-block: 1px solid var(--ligne); padding: 22px 0; background: var(--noir); }
.marquee__track { display: flex; gap: 32px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; white-space: nowrap; }
.marquee b { color: var(--lavande); font-size: 0.6em; align-self: center; }
@keyframes marquee { to { transform: translateX(calc(-50% - 16px)); } }

/* ─── MANIFESTE ─── */
.manifeste__text { font-size: clamp(1.6rem, 3.8vw, 3.3rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; max-width: 1150px; }
.manifeste__text em { color: var(--gris); font-style: italic; }

/* ─── SERVICES ─── */
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ligne); }
.service {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--ligne);
  transition: padding 0.4s var(--ease);
}
.service__num { font-size: 0.85rem; font-weight: 600; color: var(--gris); padding-top: 0.6em; }
.service__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: start; }
.service h3 { font-size: clamp(1.8rem, 4vw, 3.4rem); text-transform: uppercase; transition: color 0.3s; grid-row: span 2; }
.service__tags { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lavande); margin-bottom: 0.4em; }
.service p:last-child { color: rgba(245,245,245,0.72); margin: 0; }
.service:hover h3 { color: var(--lavande); }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 8px; }
  .service__body { grid-template-columns: 1fr; }
  .service h3 { grid-row: auto; margin-bottom: 8px; }
}

/* ─── PORTFOLIO ─── */
.filters { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--ligne); border-radius: 999px; }
.filter { padding: 10px 20px; border: 0; border-radius: 999px; background: none; color: var(--blanc); font: 600 0.85rem var(--font); cursor: pointer; transition: background 0.3s, color 0.3s; }
.filter:hover { color: var(--lavande); }
.filter.is-active { background: var(--blanc); color: var(--noir); }
.filter { white-space: nowrap; }
@media (max-width: 600px) {
  /* 4 filtres : défilement horizontal plutôt que retour à la ligne */
  .filters { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { padding: 10px 16px; }
}

/* Grille sur 6 colonnes : photo = 2, grande vidéo = 4, vidéo demi-ligne = 3 */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.grid .card { grid-column: span 2; }
.card { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 16px; }
.card[hidden] { display: none; }
.grid .card--wide { grid-column: span 4; }
.grid .card--half { grid-column: span 3; }
/* Filtre actif (Vidéo ou Photo) : plus de mélange → toutes les vignettes par deux */
.grid.is-filtered .card { grid-column: span 3; }
.card--vertical .card__media { aspect-ratio: 9 / 16; }
/* 7:8 = même hauteur qu'une grande vignette 16:9 sur la même ligne */
.card__media { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 7 / 8; background: #111; }
/* 5:3 ≈ même hauteur qu'une vignette 4:5 voisine, même quand un filtre isole les grandes vignettes */
.card--wide .card__media, .card--half .card__media { aspect-ratio: 16 / 9; }
.card__media img, .card__ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.9s var(--ease); }
.card__ph {
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(186,178,217,0.35), transparent 70%),
    radial-gradient(70% 60% at 70% 75%, var(--ph), transparent 75%),
    #0b0b0b;
  filter: blur(6px);
}
.card__media img.is-letterbox { transform: scale(1.34); }
.card:hover .card__media img, .card:hover .card__ph { transform: scale(1.05); }
.card:hover .card__media img.is-letterbox { transform: scale(1.4); }
/* Survol : léger zoom + titre en lavande, sans pastille */
.card:hover .card__title, .card:focus-visible .card__title { color: var(--lavande); }
.card__title { transition: color 0.3s; }
.card__badge {
  position: absolute; left: 14px; top: 14px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
}
.card__info { display: flex; gap: 16px; align-items: baseline; }
.card__num { font-size: 0.8rem; color: var(--gris); font-weight: 600; }
.card__cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--lavande); margin: 0 0 6px; }
.card__title { font-size: clamp(1.3rem, 2vw, 1.7rem); text-transform: uppercase; margin-bottom: 4px; }
/* Noms de clients toujours en capitales, quelle que soit leur écriture dans projets.js */
.card__client { font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); margin: 0; }
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid .card, .grid .card--half { grid-column: span 1; }
  .grid.is-filtered .card { grid-column: span 1; }
  .grid .card--wide, .grid.is-filtered .card--wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
  .grid .card, .grid .card--wide, .grid.is-filtered .card, .grid.is-filtered .card--wide { grid-column: auto; }
}

/* ─── CRÉATION DE CONTENU (bande défilante de formats verticaux) ─── */
.contenu__aside { max-width: 360px; }
.contenu__aside p { color: rgba(245,245,245,0.7); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 52px; height: 52px; border: 1px solid var(--ligne); border-radius: 50%; background: none; color: var(--blanc); font-size: 1.2rem; cursor: pointer; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.arrow:hover { background: var(--lavande); border-color: var(--lavande); color: var(--noir); }
.arrow--son { display: grid; place-items: center; }
.arrow--son .ico-off, .arrow--son[aria-pressed="false"] .ico-on { display: none; }
.arrow--son[aria-pressed="false"] .ico-off { display: block; }
/* Aperçu vidéo au survol d'un Short : posé sur la vignette, apparaît quand la lecture démarre */
/* Zoom ×1.4 : rogne les boutons du lecteur Shorts (logo, J'aime, Partager, titre) */
.card__preview { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; border: 0; pointer-events: none; opacity: 0; transform: scale(1.4); transition: opacity 0.4s; }
.card__preview.is-playing { opacity: 1; }
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 22vw, 290px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gutter);
  /* la bande déborde jusqu'aux bords de l'écran */
  margin-inline: calc(var(--gutter) * -1); padding: 0 var(--gutter) 12px;
  scrollbar-width: thin; scrollbar-color: var(--lavande) transparent;
}
.reels .card { scroll-snap-align: start; }
.reels .card__title { font-size: 1.1rem; line-height: 1.1; }
.reels .card__info { gap: 12px; }
@media (max-width: 600px) { .reels { grid-auto-columns: 62vw; } .arrows { display: none; } }

/* ─── CHIFFRES ─── */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding-top: 0; }
.stat { padding: 32px 24px 32px 0; border-top: 1px solid var(--ligne); }
.stat__num { display: block; font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px; }
.stat:nth-child(2) .stat__num { color: var(--lavande); font-style: italic; }
.stat__label { display: block; font-size: 0.9rem; color: rgba(245,245,245,0.65); max-width: 220px; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ─── STUDIO (fond sable : texte bordeaux, combinaison autorisée) ─── */
.studio {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: center;
  max-width: none; background: var(--sable); color: var(--bordeaux);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.studio .eyebrow { color: var(--bordeaux); }
.studio .eyebrow::before { background: var(--bordeaux); }
.studio h2 { margin-bottom: 0.5em; }
.studio__media { aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--bordeaux); }
.studio__media img { width: 100%; height: 100%; object-fit: cover; }
.studio__placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--sable); background: radial-gradient(70% 60% at 40% 30%, rgba(186,178,217,0.25), transparent 70%), var(--bordeaux); }
.studio__placeholder .symbole { width: 40%; }
.studio__text > p { font-size: 1.05rem; max-width: 560px; }
.studio__text > .studio__hello { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.6em; }
.studio__hello strong { font-weight: 900; font-style: italic; }
.process { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(71,31,31,0.25); }
.process li { padding: 18px 0; border-bottom: 1px solid rgba(71,31,31,0.25); font-weight: 600; }
.process b { display: inline-block; width: 36px; font-size: 0.8rem; opacity: 0.6; }
@media (max-width: 860px) { .studio { grid-template-columns: 1fr; } .studio__media { max-width: 420px; } }
@media (max-width: 480px) { .process { grid-template-columns: 1fr; } }

/* ─── CONTACT ─── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); }
.contact__title { font-size: clamp(3rem, 8vw, 7rem); text-transform: uppercase; margin-bottom: 0.4em; }
.contact__intro > p { color: rgba(245,245,245,0.7); max-width: 380px; }
.contact__direct { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 10px; }
.contact__direct a { font-size: 1.15rem; font-weight: 600; text-decoration: none; transition: color 0.3s; }
.contact__direct a::after { content: " ↗"; color: var(--lavande); }
.contact__direct a:hover { color: var(--lavande); }

.form { display: grid; gap: 22px; align-content: start; }
.form__alerte { margin: 0; padding: 14px 18px; border: 1px solid var(--lavande); border-radius: 6px; color: var(--lavande); font-size: 0.95rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gris); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(245,245,245,0.25); border-radius: 0;
  background: transparent; color: var(--blanc); font: 400 1.05rem var(--font);
  transition: border-color 0.3s;
}
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23bab2d9' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") right 4px center no-repeat; cursor: pointer; }
.field select option { background: var(--noir); }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(245,245,245,0.3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lavande); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.85rem; color: rgba(245,245,245,0.6); cursor: pointer; }
.check input { accent-color: var(--lavande); width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* ─── FOOTER ─── */
.footer { padding: 0 var(--gutter) 28px; max-width: var(--max); margin: 0 auto; }
.footer__big { padding: 40px 0 32px; border-top: 1px solid var(--ligne); }
.footer__big .logo { width: 100%; color: var(--lavande); opacity: 0.9; }
.footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem; color: var(--gris); }
.footer__bar a { text-decoration: none; transition: color 0.3s; }
.footer__bar a:hover { color: var(--lavande); }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 70px var(--gutter) 40px;
  background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.lightbox[hidden] { display: none; }
.lightbox__close { position: absolute; top: 16px; right: var(--gutter); width: 48px; height: 48px; border: 1px solid var(--ligne); border-radius: 50%; background: none; color: var(--blanc); font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background 0.3s, color 0.3s; }
.lightbox__close:hover { background: var(--lavande); color: var(--noir); }
.lightbox__stage { width: min(100%, 1200px, calc((100svh - 180px) / var(--r, 0.5625))); aspect-ratio: 1 / var(--r, 0.5625); background: #0b0b0b; border-radius: 6px; overflow: hidden; }
.lightbox__stage iframe { width: 100%; height: 100%; border: 0; }
.lightbox__stage--gallery { aspect-ratio: auto; width: min(100%, 1200px); max-height: calc(100svh - 180px); overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; background: none; }
.lightbox__stage--gallery img { width: 100%; border-radius: 4px; cursor: zoom-in; transition: opacity 0.3s; }
.lightbox__stage--gallery img:hover { opacity: 0.85; }
/* Photo agrandie par-dessus la galerie */
.zoom {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 70px calc(var(--gutter) + 72px) 40px;
  background: var(--noir);
}
.zoom[hidden] { display: none; }
.zoom__img { max-width: 100%; max-height: calc(100svh - 150px); object-fit: contain; border-radius: 4px; }
@media (max-width: 760px) { .zoom { padding: 70px var(--gutter) 96px; } }
.lightbox__empty { height: 100%; min-height: 220px; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--gris); text-align: center; }
.lightbox__empty .symbole { width: 80px; color: var(--lavande); }
.lightbox__caption { margin: 0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; text-align: center; }
.lightbox__count { color: var(--lavande); margin-right: 14px; }
.lightbox__count:empty { display: none; }
.lightbox__stage { transition: opacity 0.15s; }
.lightbox__stage.is-changing { opacity: 0; }
/* Flèches précédent / suivant : sur les côtés (ordinateur), en bas (mobile) */
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 56px; height: 56px; border: 1px solid var(--ligne); border-radius: 50%;
  background: rgba(0,0,0,0.4); color: var(--blanc); font-size: 1.3rem; cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lightbox__nav:hover { background: var(--lavande); border-color: var(--lavande); color: var(--noir); }
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: var(--gutter); }
.lightbox__nav--next { right: var(--gutter); }
@media (min-width: 761px) { .lightbox { padding-left: calc(var(--gutter) + 72px); padding-right: calc(var(--gutter) + 72px); } }
@media (max-width: 760px) {
  .lightbox { padding-bottom: 96px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; width: 52px; height: 52px; }
}

/* ─── PAGES SECONDAIRES (mentions légales, merci) ─── */
.page { padding: 160px var(--gutter) 100px; max-width: 820px; margin: 0 auto; }
.page h1 { font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; margin-bottom: 0.6em; }
.page h2 { font-size: 1.3rem; text-transform: none; letter-spacing: -0.01em; margin: 2.2em 0 0.6em; color: var(--lavande); }
.page p, .page li { color: rgba(245,245,245,0.8); }
.page--center { min-height: 100svh; display: grid; place-content: center; text-align: center; }
