/* =============================================================
   FLOCAGE VALENCE — Identité de marque
   Noir chaud, or satiné, crème et ivoire. Dégradés sobres, or en accent.
   Deux familles : Jost (display, géométrique, calquée sur le logo)
   + Hanken Grotesk (corps).
   ============================================================= */

/* ---------- Polices (auto-hébergées, zéro dépendance CDN) ---------- */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/assets/fonts/jost-300.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/jost-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/jost-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700; /* fichier variable : couvre 400 à 700 */
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2122, U+2212;
}

/* ---------- Jetons ---------- */
:root {
  /* Couleurs — charte Flocage Valence (noir chaud, or, crème, ivoire) */
  --black: #0c0b08;          /* noir profond, fonds sombres et héros */
  --noir-2: #16130d;         /* noir chaud, dégradés */
  --ink: #191510;            /* texte principal sur clair */
  --ink-2: #574e43;          /* texte secondaire (AA sur crème) */
  --ink-3: #6e6456;          /* légendes (AA sur crème) */
  --cream: #f5f1e9;          /* fond de page, neutre chaud */
  --paper: #fbfaf6;          /* surfaces claires, cartes, contrôles */
  --stone: #efe9dc;          /* neutre chaud plus dense, fonds de sections */
  --line: #e4dccb;           /* filets sur clair */
  --line-2: #d8cfba;
  --on-dark: #f1eadb;        /* ivoire, texte sur sombre */
  --on-dark-2: rgba(241, 234, 219, 0.66);
  --on-dark-3: rgba(241, 234, 219, 0.42);
  --line-dark: rgba(241, 234, 219, 0.14);
  --line-dark-2: rgba(241, 234, 219, 0.26);

  /* Or — accent unique de la marque */
  --gold: #c6a15a;           /* or satiné, accent graphique */
  --gold-hi: #dcc07f;        /* or clair, reflet haut de dégradé */
  --gold-lo: #a8843f;        /* or bronze, bas de dégradé et survol */
  --gold-deep: #7c5f27;      /* or profond, TEXTE lisible sur clair (AA) */
  --gold-soft: #e7d6ae;
  --gold-wash: #f0e7d2;
  --gold-glow: rgba(198, 161, 90, 0.14);

  /* Dégradés */
  --grad-dark: radial-gradient(135% 110% at 50% -12%, #191817 0%, #100f0e 45%, #0a0a0a 100%);
  --grad-foil: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 48%, var(--gold-lo) 100%);
  --grad-rule: linear-gradient(90deg, transparent 0%, var(--gold) 22%, var(--gold-hi) 50%, var(--gold) 78%, transparent 100%);
  --grad-btn: linear-gradient(180deg, #26221a 0%, #16130d 100%);
  --grad-veil: linear-gradient(180deg, rgba(10,9,6,0.34) 0%, rgba(10,9,6,0.30) 40%, rgba(10,9,6,0.86) 100%);

  /* Ombres chaudes */
  --shadow-soft: 0 14px 40px -18px rgba(24, 18, 8, 0.30);
  --shadow-card: 0 10px 30px -16px rgba(24, 18, 8, 0.26);
  --shadow-gold: 0 10px 34px -12px var(--gold-glow);

  /* Typographie */
  --font-display: 'Jost', 'Century Gothic', 'Futura', 'Questrial', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Échelle fluide */
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2.1rem);
  --step-3: clamp(2rem, 1.55rem + 2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.2vw, 4.6rem);
  --step-5: clamp(3.2rem, 1.9rem + 6.2vw, 7rem);

  /* Espacements */
  --space-section: clamp(4rem, 2.8rem + 6vw, 8.5rem);
  --gutter: clamp(1.25rem, 0.6rem + 3.2vw, 4rem);
  --maxw: 1280px;
  --maxw-text: 68ch;
  --header-h: 74px;

  /* Mouvement */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;

  /* z-index sémantique */
  --z-header: 100;
  --z-menu: 200;
  --z-cursor: 900;

  color-scheme: light;
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:target { scroll-margin-top: calc(var(--header-h) + 1.5rem); }

/* Curseur natif masqué sur desktop pointeur fin (curseur custom) */
@media (min-width: 1024px) and (pointer: fine) {
  html.js.has-cursor, html.js.has-cursor a, html.js.has-cursor button,
  html.js.has-cursor [role="button"], html.js.has-cursor label,
  html.js.has-cursor summary, html.js.has-cursor input, html.js.has-cursor textarea, html.js.has-cursor select {
    cursor: none;
  }
}

/* ---------- Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
}
h3, h4 { letter-spacing: 0.02em; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--gold-soft); color: var(--ink); }

/* Liens de texte dans le corps : couleur or, soulignement animé */
.prose a, a.link {
  color: var(--gold-deep);
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 0.08em;
  transition: background-size 0.4s var(--ease-out), color 0.3s ease;
}
.prose a:hover, a.link:hover { color: var(--gold-lo); background-size: 100% 2px; }
.section--dark .prose a, .section--dark a.link { color: var(--gold); }
.section--dark .prose a:hover, .section--dark a.link:hover { color: var(--gold-hi); }

/* ---------- Conteneurs ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 900px; }
.prose { max-width: var(--maxw-text); }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.62; }

/* ---------- Accessibilité : skip link + focus ---------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 999;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.15rem;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }
:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-dark :focus-visible, .site-header:not(.is-scrolled) .nav__link:focus-visible {
  outline-color: var(--on-dark);
}

/* ---------- Curseur personnalisé ---------- */
/* La position est posée par JS via translate3d sur l'élément parent (sans
   transition). La croissance au survol se fait par un scale sur ::before,
   donc uniquement transform/opacity, jamais width/height.
   Pas de mix-blend-mode : un anneau blanc cerné d'un halo sombre reste
   visible sur fond clair, sombre ET gris moyen (photos en niveaux de gris). */
.cursor, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 0; height: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.cursor::before, .cursor-dot::before {
  content: "";
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--s, 1));
  transition: transform 0.32s var(--ease-out), background-color 0.32s ease;
}
.cursor::before {
  width: 30px; height: 30px;
  border: 2px solid var(--gold);
  /* Halo doré dédié au curseur (indépendant de --gold-glow, gardé plus présent
     que sur les boutons pour que le curseur ressorte). */
  box-shadow: 0 0 0 1.5px rgba(12, 11, 8, 0.55), 0 2px 10px -2px rgba(12, 11, 8, 0.40), 0 0 16px -2px rgba(198, 161, 90, 0.34);
}
.cursor-dot::before {
  width: 6px; height: 6px;
  background: var(--gold);
  box-shadow: 0 0 0 2px rgba(12, 11, 8, 0.55);
}
html.has-cursor .cursor, html.has-cursor .cursor-dot { opacity: 1; }
.cursor.is-hover::before { --s: 1.9; background: rgba(198, 161, 90, 0.16); border-color: var(--gold-hi); }
.cursor.is-hidden, .cursor-dot.is-hidden { opacity: 0; }

/* ---------- En-tête (sombre, filet or) ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-header);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
  background: rgba(12, 11, 8, 0.80);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}
.site-header.is-scrolled {
  background: rgba(12, 11, 8, 0.94);
  box-shadow: 0 12px 34px -20px rgba(0, 0, 0, 0.85);
  border-bottom-color: var(--line-dark-2);
}
.site-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--grad-rule);
  opacity: 0.45;
  transition: opacity 0.4s var(--ease-out);
}
.site-header.is-scrolled::after { opacity: 0.85; }
.site-header__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
/* Transparent au-dessus d'un héros sombre, tant qu'on n'a pas scrollé */
body.dark-hero .site-header:not(.is-scrolled) {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.dark-hero .site-header:not(.is-scrolled)::after { opacity: 0; }

/* Logo (image raster détourée, blanc sur sombre) */
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  height: 52px;
  width: auto; display: block;
}
@media (max-width: 560px) {
  .brand__logo { height: 44px; }
}

/* Navigation */
.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.4rem); }
.nav__list { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.4rem 0;
  color: var(--on-dark);
  transition: color 0.3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--gold-hi); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--gold); font-weight: 500; }

.nav__cta {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.64rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 3px;
  color: var(--black);
  background: var(--grad-foil);
  box-shadow: 0 6px 18px -9px var(--gold-glow);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, filter 0.3s ease;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px var(--gold-glow); filter: brightness(1.06); }
/* CTA compact toujours visible en en-tête mobile (à côté du burger) */
.nav__cta--compact { display: none; font-size: 0.72rem; padding: 0.52rem 0.95rem; letter-spacing: 0.1em; }

/* Burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  color: var(--on-dark);
}
.burger__box { position: relative; width: 24px; height: 12px; }
.burger__box span {
  position: absolute; left: 0; width: 100%; height: 1.6px;
  background: currentColor;
  transition: transform 0.4s var(--ease-out), opacity 0.2s ease;
}
.burger__box span:nth-child(1) { top: 0; }
.burger__box span:nth-child(2) { bottom: 0; }
.burger[aria-expanded="true"] .burger__box span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__box span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--grad-dark);
  color: var(--on-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 1.75rem) var(--gutter) calc(var(--gutter) + 1rem);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.55s var(--ease-out);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-menu__link {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.08;
  color: var(--on-dark);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}
.mobile-menu__link:hover { color: var(--gold-hi); }
.mobile-menu__link[aria-current="page"] { color: var(--gold); }
.mobile-menu__cta {
  align-self: flex-start;
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.95rem 1.7rem;
  border-radius: 3px;
  color: var(--black);
  background: var(--grad-foil);
}
.mobile-menu__meta {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-dark);
  color: var(--on-dark-2);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
}

/* Bascule vers le burger sous 880px */
@media (max-width: 880px) {
  .nav__list, .nav__cta { display: none; }
  .nav__cta--compact { display: inline-flex; }
  .burger { display: inline-flex; }
}
@media (min-width: 881px) {
  .mobile-menu { display: none; }
}

/* Menu ouvert : on remonte l'en-tête au-dessus du calque pour que le burger
   (devenu croix) reste cliquable et ferme le menu au doigt comme au clavier. */
body.menu-open .site-header { z-index: calc(var(--z-menu) + 1); background: transparent; border-bottom-color: transparent; }
body.menu-open .brand, body.menu-open .burger { color: var(--on-dark); }
body.menu-open .brand__sub { color: var(--on-dark-2); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.98rem 1.72rem;
  border: 1px solid transparent;
  border-radius: 3px;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out), box-shadow 0.35s ease, filter 0.3s ease;
  will-change: transform;
}
.btn:active { transform: translateY(1px); }
.btn__arrow { transition: transform 0.4s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* CTA principal : or satiné, texte noir (contraste élevé), léger relief métallique */
.btn--primary, .btn--light {
  background: var(--grad-foil);
  color: var(--black);
  box-shadow: 0 10px 26px -13px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.btn--primary:hover, .btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px var(--gold-glow), inset 0 1px 0 rgba(255, 255, 255, 0.42);
  filter: brightness(1.05);
}
/* Secondaire clair : contour encre */
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); transform: translateY(-2px); }
/* Secondaire sur sombre : contour ivoire, survol or */
.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: var(--line-dark-2); }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold-hi); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--grad-dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark .prose p { color: var(--on-dark-2); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
/* Filet or au bord haut des zones sombres (séparateur premium) */
.section--dark, .cta-band { position: relative; }
.section--dark::before, .cta-band::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: var(--grad-rule); opacity: 0.4;
}

/* En-tête de section : eyebrow or + titre, aligné pour rythme asymétrique */
.section__head { margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 4rem); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 2rem; height: 2px; border-radius: 2px; background: var(--grad-rule); }
.section--dark .eyebrow { color: var(--gold); }
.h2 { font-size: var(--step-4); margin-top: 0.7rem; }
/* Sur très petit écran, on réduit les grands titres pour que les mots longs
   (ex. « personnalisons ») tiennent sans coupure ; overflow-wrap reste le filet. */
@media (max-width: 430px) { .h2 { font-size: 2.2rem; } }
.section__lead { margin-top: 1.4rem; max-width: 46ch; color: var(--ink-2); font-size: var(--step-1); }
.section--dark .section__lead { color: var(--on-dark-2); }

/* En-tête de section sur deux colonnes quand il porte un chapô : titre à
   gauche, chapô à droite, pour occuper toute la largeur proprement. */
@media (min-width: 900px) {
  .section__head:has(.section__lead) {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-areas: "eyebrow eyebrow" "title lead";
    column-gap: clamp(2rem, 5vw, 6rem);
    align-items: start;
  }
  .section__head:has(.section__lead) .eyebrow { grid-area: eyebrow; }
  .section__head:has(.section__lead) .h2 { grid-area: title; }
  .section__head:has(.section__lead) .section__lead { grid-area: lead; margin-top: 0.5rem; max-width: 52ch; }
}

/* Zone géographique : texte à gauche, nuage de communes à droite (remplit la largeur). */
.geo-grid { display: grid; grid-template-columns: 1fr; gap: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
@media (min-width: 900px) {
  .geo-grid { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
}
.geo-grid .geo__cloud { margin-top: 0; border-top: none; padding-top: 0.35rem; }

/* Visuel pleine largeur (image fournie, présentée entière, en couleur).
   Cliquable pour agrandissement (lightbox, voir plus bas). */
.showcase { margin: 0; }
.showcase img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: 3px;
  cursor: zoom-in;
  transition: box-shadow 0.35s var(--ease-out);
}
.showcase img:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.section--dark .showcase img, .showcase--dark img { border-color: var(--line-dark); }
.showcase figcaption {
  margin-top: 1rem; font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3);
}
.section--dark .showcase figcaption { color: var(--on-dark-2); }

/* Lightbox (agrandissement des visuels au clic) */
.lightbox {
  position: fixed; inset: 0; z-index: 800;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
  background: rgba(8, 8, 10, 0.93);
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-out), visibility 0.3s;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 3px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  cursor: default;
  transform: scale(0.97);
  transition: transform 0.3s var(--ease-out);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: clamp(0.8rem, 2vw, 1.6rem); right: clamp(0.8rem, 2vw, 1.6rem);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  font-size: 1.7rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .lightbox__img { transform: none; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: var(--on-dark);
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  overflow: hidden;
}
.hero--short { min-height: min(76vh, 680px); }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #08080a;
}
/* Voile pour garantir la lisibilité du H1 par-dessus la photo */
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(85% 60% at 50% 108%, rgba(198, 161, 90, 0.12) 0%, transparent 58%),
    linear-gradient(180deg, rgba(9, 8, 5, 0.52) 0%, rgba(9, 8, 5, 0.34) 44%, rgba(9, 8, 5, 0.88) 100%);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%) contrast(1.05) brightness(0.97); }
.hero__inner { position: relative; z-index: 1; width: 100%; }
.hero__eyebrow { color: var(--gold); margin-bottom: clamp(1.2rem, 2vw, 2rem); }
.hero__title {
  font-size: var(--step-5);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.005em;
  max-width: 18ch;
  color: var(--on-dark);
  /* balance casse la mise en page avec des mots en inline-block (split-text) */
  text-wrap: normal;
}
.hero__title .accent { color: var(--gold); -webkit-text-stroke: 0; }
.hero__lead {
  margin-top: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  max-width: 52ch;
  color: var(--on-dark-2);
  font-size: var(--step-1);
  line-height: 1.55;
}
.hero__actions { margin-top: clamp(1.8rem, 1.2rem + 2vw, 2.8rem); display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__assurance { margin-top: clamp(1rem, 0.8rem + 0.6vw, 1.4rem); font-size: var(--step--1); letter-spacing: 0.04em; color: var(--on-dark-2); }
/* Mobile : les deux boutons du héros empilés, même largeur, texte centré. */
@media (max-width: 560px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
.hero__scroll {
  position: absolute;
  right: var(--gutter); bottom: clamp(2rem, 5vw, 3.5rem);
  z-index: 1;
  writing-mode: vertical-rl;
  font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--on-dark-2);
  display: inline-flex; align-items: center; gap: 1rem;
}
.hero__scroll::after { content: ""; display: block; width: 1px; height: 3rem; background: var(--line-dark-2); }
@media (max-width: 720px) { .hero__scroll { display: none; } }

/* Bloc placeholder photo (générique, dimensions fixées pour éviter le CLS) */
.ph {
  position: relative;
  background: #0a0a0c;
  color: var(--on-dark-3);
  overflow: hidden;
}
.ph::after {
  content: attr(data-ph);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  padding: 1rem;
  color: var(--on-dark-3);
}
/* Fine trame diagonale pour signaler un emplacement en attente */
.ph--grid { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 1px, transparent 1px 11px); background-color: #0a0a0c; }

/* ---------- Storytelling « Quatre parcours » ---------- */
.story__intro { max-width: 40ch; }
.roles { margin-top: clamp(2.5rem, 2rem + 3vw, 4.5rem); border-top: 1px solid var(--line); }
.role {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  grid-template-areas: "index index" "title body";
  column-gap: clamp(1rem, 3vw, 3.5rem);
  row-gap: clamp(0.7rem, 0.5rem + 1vw, 1.2rem);
  padding-block: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.role__index {
  grid-area: index;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}
.role__title {
  grid-area: title;
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--step-2);
  line-height: 1;
  letter-spacing: -0.005em;
  margin: 0;
}
.role__body { grid-area: body; color: var(--ink-2); font-size: var(--step-1); max-width: 46ch; margin: 0; }
@media (max-width: 720px) {
  .role { grid-template-columns: 1fr; grid-template-areas: "index" "title" "body"; }
}

/* ---------- Compteurs ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
}
.stat { background: var(--black); padding: clamp(1.5rem, 1rem + 2.5vw, 2.8rem) clamp(1rem, 3vw, 2rem); }
.stat__num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 1.6rem + 4.5vw, 5rem);
  line-height: 0.95;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.005em;
}
.stat__num .suffix { font-size: 0.5em; vertical-align: super; margin-left: 0.05em; color: var(--gold-lo); }
.stat__label { margin-top: 0.9rem; font-size: var(--step--1); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-2); }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Engagements (liste définitionnelle asymétrique) ---------- */
.pledges { border-top: 1px solid var(--line); }
.pledge {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(0.6rem, 2vw, 3rem);
  padding-block: clamp(1.4rem, 1rem + 1.8vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.pledge__term {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--step-2);
  line-height: 1;
  letter-spacing: -0.005em;
}
.pledge__def { color: var(--ink-2); font-size: var(--step-1); max-width: 52ch; }
@media (max-width: 720px) { .pledge { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Coeur de métier / techniques en vitrine ---------- */
.tech-list { display: flex; flex-direction: column; }
.tech {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 4.5rem);
  padding-block: clamp(2rem, 1.5rem + 3vw, 3.6rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.section--dark .tech { border-top-color: var(--line-dark); }
.tech:last-child { border-bottom: 1px solid var(--line); }
.section--dark .tech:last-child { border-bottom-color: var(--line-dark); }
.tech__marker {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--step-1);
  letter-spacing: 0.14em;
  color: var(--gold-deep);
  padding-top: 0.5rem;
}
.section--dark .tech__marker { color: var(--gold); }
.tech__title {
  display: inline-block;
  font-size: var(--step-3);
  line-height: 0.98;
  margin-bottom: 1.1rem;
  position: relative;
}
.tech__title::after {
  content: "";
  position: absolute; left: 0; bottom: -0.35rem;
  width: 100%; height: 2px; border-radius: 2px; background: var(--grad-rule);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.tech.is-hover .tech__title::after, .tech:hover .tech__title::after,
.tech:focus-within .tech__title::after { transform: scaleX(1); }
.tech__body { color: var(--ink-2); font-size: var(--step-1); max-width: 60ch; }
.section--dark .tech__body { color: var(--on-dark-2); }
.tech__link { margin-top: 1.1rem; display: inline-flex; }
/* Léger scale au survol, matériau premium */
.tech { transition: transform 0.5s var(--ease-out); transform-origin: left center; }
@media (min-width: 1024px) and (pointer: fine) {
  .tech:hover { transform: scale(1.012); }
}

/* ---------- Bloc « atelier » : split + citation ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.split__text { grid-column: 1 / span 6; }
.split__media { grid-column: 8 / span 5; }
.split--reverse .split__text { grid-column: 7 / span 6; }
.split--reverse .split__media { grid-column: 1 / span 5; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split__text, .split__media,
  .split--reverse .split__text, .split--reverse .split__media { grid-column: 1 / -1; }
}
.pullquote {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: var(--step-3);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 20ch;
}
.section--dark .pullquote { color: var(--on-dark); }

/* ---------- Zone géographique ---------- */
.geo__text { max-width: 62ch; }
.geo__cloud {
  margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.geo__place {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 0.9rem + 1.4vw, 1.9rem);
  color: var(--ink-3);
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}
.geo__place:hover { color: var(--gold-deep); }

/* ---------- Pages techniques : technique + aspects ---------- */
.split-tech {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.5fr);
  gap: clamp(1.5rem, 1rem + 3vw, 4.5rem);
  align-items: start;
}
@media (max-width: 820px) { .split-tech { grid-template-columns: 1fr; gap: 1.4rem; } }
@media (min-width: 821px) {
  .technique__head { position: sticky; top: calc(var(--header-h) + 2.5rem); }
}
.technique__head .h2 { font-size: var(--step-3); margin-top: 0.6rem; }
.technique__lead { margin-top: 1rem; color: var(--ink-2); font-size: var(--step-0); max-width: 34ch; }
.section--dark .technique__lead { color: var(--on-dark-2); }
.technique__visual { margin: 0 auto clamp(2rem, 1.4rem + 2vw, 3.2rem); text-align: center; }
.technique__visual img {
  width: 100%; max-width: 600px; height: auto; display: block;
  margin-inline: auto;
  border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  cursor: zoom-in;
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out);
  object-fit: contain;
}
.technique__visual img:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22); transform: translateY(-2px); }
.section--dark .technique__visual img { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); border-color: var(--line-dark); }
.aspects-list { border-top: 1px solid var(--line); }
.section--dark .aspects-list { border-top-color: var(--line-dark); }
.aspect { padding-block: clamp(1.3rem, 1rem + 1.4vw, 2rem); border-bottom: 1px solid var(--line); }
.section--dark .aspect { border-bottom-color: var(--line-dark); }
.aspect h3 { font-size: var(--step-1); margin-bottom: 0.55rem; letter-spacing: 0.01em; }
.aspect p { color: var(--ink-2); font-size: var(--step-0); max-width: 58ch; }
.section--dark .aspect h3 { color: var(--on-dark); }
.section--dark .aspect p { color: var(--on-dark-2); }
.section__intro { max-width: 60ch; color: var(--ink-2); font-size: var(--step-1); }
.section--dark .section__intro { color: var(--on-dark-2); }

/* Sous-navigation d'ancres (page techniques) */
.anchor-nav { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); }
.anchor-nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.55rem 1.1rem; border: 1px solid var(--line-2); border-radius: 2px;
  color: var(--ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s ease, border-color 0.3s ease;
}
.anchor-nav a:hover { background: var(--gold-wash); color: var(--gold-deep); border-color: var(--gold); }

/* ---------- Tableau comparatif ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; border-collapse: collapse; min-width: 720px; font-size: var(--step-0); }
.compare caption { text-align: left; padding: 1rem 1.2rem; color: var(--ink-3); font-size: var(--step--1); letter-spacing: 0.04em; }
.compare th, .compare td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  background: var(--ink);
  color: var(--paper);
  border-bottom: none;
  position: sticky; top: 0;
}
.compare tbody th {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.15rem;
  width: 22%;
}
.compare tbody tr:nth-child(even) { background: var(--stone); }
.compare td { color: var(--ink-2); }

/* Tableau comparatif en cartes empilées sur mobile et tablette (pas de scroll horizontal) */
@media (max-width: 820px) {
  .table-wrap { overflow-x: visible; border: none; }
  .compare, .compare tbody { display: block; width: 100%; min-width: 0; }
  .compare caption { padding: 0 0 1rem; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare tbody tr { display: block; border: 1px solid var(--line); border-radius: 3px; margin-bottom: 1.1rem; background: var(--paper); }
  .compare tbody tr:nth-child(even) { background: var(--paper); }
  .compare tbody th[scope="row"] { display: block; width: auto; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; font-size: 1.1rem; }
  .compare td { display: block; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
  .compare tbody tr td:last-child { border-bottom: none; }
  .compare td::before { content: attr(data-label); display: block; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.06em; color: var(--ink-3); margin-bottom: 0.15rem; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.section--dark .faq { border-top-color: var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line); }
.section--dark .faq__item { border-bottom-color: var(--line-dark); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.2rem, 1rem + 1vw, 1.8rem);
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  font-size: clamp(1.15rem, 1rem + 0.9vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; margin-top: 0.35em; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.6px; background: currentColor;
  transition: transform 0.4s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a p { color: var(--ink-2); max-width: 68ch; padding-bottom: clamp(1.2rem, 1rem + 1vw, 1.8rem); font-size: var(--step-0); }
.section--dark .faq__a p { color: var(--on-dark-2); }
.faq__item[open] .faq__q { color: var(--ink); }
/* Animation d'ouverture (respecte reduced-motion plus bas) */
.js .faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease-out); }
.js .faq__item[open] .faq__a { grid-template-rows: 1fr; }
.js .faq__a > div { min-height: 0; }

/* ---------- Listes de personnalisation ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }
.chip {
  border: 1px solid var(--line-2);
  padding: 0.6rem 1.05rem;
  border-radius: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.chip:hover { background: var(--gold-wash); color: var(--gold-deep); border-color: var(--gold); }
.section--dark .chip { border-color: var(--line-dark-2); color: var(--on-dark); }
.section--dark .chip:hover { background: rgba(198, 161, 90, 0.16); color: var(--gold-hi); border-color: var(--gold); }

/* Audiences (H3 + texte) en grille asymétrique */
.audience { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); border-top: 1px solid var(--line); }
.audience__item { padding-block: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); border-bottom: 1px solid var(--line); grid-column: span 6; }
.audience__item:nth-child(odd) { border-right: 1px solid var(--line); padding-right: clamp(1rem, 3vw, 3rem); }
.audience__item h3 { font-size: var(--step-2); margin-bottom: 0.8rem; }
.audience__item p { color: var(--ink-2); max-width: 44ch; }
@media (max-width: 720px) {
  .audience__item { grid-column: 1 / -1; }
  .audience__item:nth-child(odd) { border-right: none; padding-right: 0; }
}

/* Sports (typographie fluide) */
.sports { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-top: 1.6rem; max-width: 60ch; }
.sports li {
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase;
  font-size: clamp(1rem, 0.85rem + 1vw, 1.6rem); color: var(--ink-3);
}
.sports li::after { content: "·"; margin-left: 1rem; color: var(--line-2); }
.sports li:last-child::after { content: ""; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--grad-dark); color: var(--on-dark); text-align: center; }
.cta-band h2, .cta-band .h2 { font-size: var(--step-4); max-width: 20ch; margin-inline: auto; color: var(--on-dark); }
.cta-band p { color: var(--on-dark-2); max-width: 48ch; margin: 1.2rem auto 2rem; font-size: var(--step-1); }

/* ---------- Formulaire ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: start; }
@media (max-width: 940px) { .contact-grid { grid-template-columns: 1fr; } }

.form { display: grid; gap: clamp(1.1rem, 0.9rem + 0.8vw, 1.6rem); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: inherit; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field__label { font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; }
.field__label .req { color: var(--ink); }
.field__hint { font-size: 0.78rem; color: var(--ink-3); }
.field__control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: var(--step-0);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
textarea.field__control { min-height: 8rem; resize: vertical; }
.field__control::placeholder { color: var(--ink-3); }
.field__control:focus-visible { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 0 4px var(--gold-glow); }
.field__control[aria-invalid="true"] { border-color: #b00020; box-shadow: 0 0 0 1px #b00020; }
.field__error { font-size: 0.8rem; color: #b00020; min-height: 1em; }
.field__error:empty { display: none; }

/* Radios & choix */
.choices { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; padding: 0.6rem 1.05rem; border: 1px solid var(--line-2); border-radius: 2px;
  font-size: 0.88rem; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.choice input:checked + span { background: var(--grad-foil); color: var(--black); border-color: transparent; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Dropzone */
.dropzone {
  border: 1.5px dashed var(--line-2);
  border-radius: 3px;
  padding: 1.6rem 1.2rem;
  text-align: center;
  color: var(--ink-3);
  transition: border-color 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}
.dropzone.is-drag { border-color: var(--gold); background: var(--gold-wash); color: var(--gold-deep); }
.dropzone strong { color: var(--ink); font-weight: 600; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.filelist { display: grid; gap: 0.5rem; margin-top: 0.9rem; }
.filelist:empty { display: none; }
.fileitem { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.6rem 0.85rem; border: 1px solid var(--line); border-radius: 2px; font-size: 0.85rem; background: var(--paper); }
.fileitem__meta { color: var(--ink-3); }
.fileitem__remove { color: var(--ink); text-decoration: underline; font-size: 0.8rem; }

/* Consentement + submit */
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.86rem; color: var(--ink-2); }
.consent input { margin-top: 0.28em; width: 1.05rem; height: 1.05rem; accent-color: var(--gold-lo); flex: none; }
.form__submit { justify-self: stretch; justify-content: center; width: 100%; text-align: center; }
.btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }
.form__status { font-size: 0.9rem; }
.form__status[data-state="ok"] {
  border: 1px solid var(--line-2); background: var(--stone);
  padding: 1.2rem 1.4rem; border-radius: 2px; color: var(--ink);
}
.form__status[data-state="err"] { color: #b00020; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Coordonnées */
.coords { display: grid; gap: 1.4rem; }
.coords__item { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.coords__label { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 0.35rem; }
.coords__value { font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; letter-spacing: 0.01em; }
.coords__value a { color: inherit; }
.coords__value a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map-embed { margin-top: 1.6rem; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-embed__placeholder {
  display: flex; align-items: center; justify-content: center; height: 100%;
  color: var(--ink-3); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; padding: 1rem;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0.02) 0 1px, transparent 1px 12px), var(--stone);
}

/* Page contact : en-tête clair (pas de photo) + colonne latérale */
.page-head {
  padding-top: calc(var(--header-h) + clamp(2.4rem, 1.8rem + 4vw, 5rem));
  padding-bottom: clamp(2rem, 1.5rem + 3vw, 4rem);
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}
.page-head__title { font-size: var(--step-5); line-height: 0.95; letter-spacing: -0.015em; color: var(--ink); max-width: 15ch; margin-top: 0.5rem; }
.page-head__lead { margin-top: 1.3rem; max-width: 52ch; color: var(--ink-2); font-size: var(--step-1); }
@media (min-width: 941px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 2rem); } }
.form__note { margin-bottom: 1.6rem; color: var(--ink-2); max-width: 52ch; }

/* ---------- Pages légales ---------- */
.legal { max-width: 76ch; }
.legal .updated { font-size: var(--step--1); letter-spacing: 0.02em; color: var(--ink-3); margin-bottom: clamp(1.6rem, 1rem + 2vw, 2.6rem); }
.legal h2 { font-size: var(--step-2); margin-top: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); margin-bottom: 0.7rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal h3 { font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: var(--step-0); margin-top: 1.4rem; margin-bottom: 0.3rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); font-size: var(--step-0); line-height: 1.65; }
.legal p + p { margin-top: 0.9rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin: 0.7rem 0; }
.legal li { margin-bottom: 0.4rem; }
.legal li::marker { color: var(--ink-3); }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { opacity: 0.7; }
.legal .todo { color: #b00020; font-style: italic; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--grad-dark); color: var(--on-dark); }
/* Bandeau réservé, masqué tant qu'aucun visuel n'est fourni */
.footer-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.8rem, 4vw, 3rem) var(--gutter);
  background: #0c0b08;
  border-bottom: 1px solid var(--line-dark);
}
.footer-banner img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  padding-block: clamp(3rem, 2rem + 4vw, 5rem);
}
@media (max-width: 820px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }
.footer-brand .brand__logo { height: 66px; width: auto; }
.footer-brand p { margin-top: 1.3rem; color: var(--on-dark-2); max-width: 34ch; font-size: 0.95rem; }
.footer-col h2 { font-size: 0.78rem; letter-spacing: 0.16em; color: var(--on-dark-2); margin-bottom: 1.1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--on-dark-2); font-size: 0.95rem; transition: color 0.3s ease; }
.footer-col a:hover { color: var(--gold-hi); }
.footer-geo { color: var(--on-dark-2); font-size: 0.9rem; line-height: 1.7; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; justify-content: space-between; align-items: center;
  color: var(--on-dark-2); font-size: 0.82rem; letter-spacing: 0.02em;
}
.footer-bottom a { color: var(--on-dark); }
.footer-bottom a:hover { color: var(--on-dark); }

/* ---------- Fil d'Ariane ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--on-dark-2); margin-bottom: 1.4rem; }
.crumbs a { color: inherit; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.5; }

/* ---------- Bouton flottant WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 0.6rem + 1vw, 1.6rem);
  bottom: clamp(1rem, 0.6rem + 1vw, 1.6rem);
  z-index: 150;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s ease;
  animation: waPulse 2.2s ease-out infinite;
}
.wa-fab svg { width: 32px; height: 32px; fill: #fff; }
.wa-fab:hover { transform: scale(1.08); }
.wa-fab:active { transform: scale(0.95); }
.wa-fab:focus-visible { outline: 2px solid #0b0b0d; outline-offset: 3px; }
@keyframes waPulse {
  0%   { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28), 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Bouton retour en haut : flèche noire, juste au-dessus du bouton WhatsApp */
.to-top {
  position: fixed;
  right: calc(clamp(1rem, 0.6rem + 1vw, 1.6rem) + 6px);
  bottom: calc(clamp(1rem, 0.6rem + 1vw, 1.6rem) + 72px);
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background-color 0.3s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: #000; transform: translateY(-2px); }
.to-top:active { transform: translateY(0); }
.to-top:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.to-top svg { width: 20px; height: 20px; display: block; }

/* Le hint « Défiler » libère le coin bas-droite pour les boutons flottants */
.hero__scroll { display: none; }

/* ---------- Révélation au scroll ---------- */
/* Par défaut visible (sans JS, headless, reduced-motion) */
.js .reveal { opacity: 0; transform: translateY(1.6rem); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-reveal="left"] { transform: translateX(-1.6rem); }
.js .reveal[data-reveal="left"].is-in { transform: none; }

/* Split-text H1 : mots pré-découpés en HTML, animation au chargement.
   Le conteneur reste un bloc (un h1 en display:inline casse le retour
   à la ligne des mots en inline-block). */
.split-text { display: block; }
.split-text .word { display: inline-block; white-space: pre; }
.js .split-text .word {
  opacity: 0;
  transform: translateY(0.75em) rotate(1deg);
  animation: wordIn 0.85s var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 40ms + 0.08s);
}
@keyframes wordIn { to { opacity: 1; transform: none; } }

/* Entrée du héros (le H1 reste peint via split-text ; ici l'appui) */
.js .hero__eyebrow, .js .hero__lead, .js .hero__actions, .js .hero__assurance {
  opacity: 0;
  transform: translateY(1rem);
  animation: wordIn 0.85s var(--ease-out) forwards;
}
.js .hero__eyebrow { animation-delay: 0.05s; }
.js .hero__lead { animation-delay: 0.34s; }
.js .hero__actions { animation-delay: 0.48s; }
.js .hero__assurance { animation-delay: 0.6s; }

/* Fondu de page (fallback view-transition) */
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
.js body { animation: pageIn 0.5s ease both; }

/* Transitions de page natives si supportées */
@view-transition { navigation: auto; }

/* ---------- prefers-reduced-motion : tout désactivé ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .split-text .word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .cursor, .cursor-dot { display: none !important; }
  .wa-fab { animation: none !important; }
  .js body { animation: none !important; }
  .js .faq__a { display: block; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ---------- Utilitaires ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
hr.rule { border: none; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Références clients ---------- */
.clients { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 1.3rem; border-top: 1px solid var(--line); padding-top: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.clients li { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.05rem, 0.85rem + 1vw, 1.7rem); letter-spacing: 0.05em; color: var(--ink-3); transition: color 0.3s ease; }
.clients li::after { content: "·"; margin-left: 1.3rem; color: var(--gold); }
.clients li:last-child::after { content: ""; }
.clients li:hover { color: var(--gold-deep); }
.clients__more { margin-top: clamp(1.2rem, 0.8rem + 1.5vw, 2rem); color: var(--ink-3); font-style: italic; font-size: var(--step-1); }

/* Mobile : les listes de mots (sports, communes, références) passent en badges
   compacts — plus dense et équilibré que les grands mots espacés, et sans
   séparateurs « · » qui pendouillent en fin de ligne. Le rendu éditorial en
   grands caractères reste sur desktop. */
@media (max-width: 600px) {
  .sports, .geo__cloud, .clients { gap: 0.5rem; }
  .sports li, .geo__place, .clients li {
    font-size: 0.82rem;
    line-height: 1.15;
    letter-spacing: 0.04em;
    color: var(--ink-2);
    border: 1px solid var(--line-2);
    border-radius: 3px;
    padding: 0.42rem 0.78rem;
    background: var(--paper);
    white-space: normal;
  }
  .sports li::after, .clients li::after { content: none; margin: 0; }
}

/* ---------- Galerie d'images ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.8rem, 0.5rem + 1vw, 1.4rem); margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.gallery--2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border: 1px solid var(--line-2); border-radius: 8px; cursor: zoom-in; transition: box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out); }
.gallery img:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.section--dark .gallery img { border-color: var(--line-dark); }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .gallery { grid-template-columns: 1fr; } }
