/* =========================================================================
   LYR · Distributeur automatique de parfums
   Charte Atomyk Pub : bleu nuit #171829 et blanc cassé #F6F6F6 (principales),
   gris argenté #B8BBC4 et gris lavande #AAA6BA (secondaires), nuances de la palette.
   Typographie unique : Bebas Neue. Le logo est toujours une image.
   ========================================================================= */

@font-face {
  font-family: "Bebas Neue";
  src: url("../fonts/BebasNeue-Regular.woff2") format("woff2"), url("../fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

:root {
  /* Couleurs de la charte */
  --nuit: #171829;
  --blanc: #f6f6f6;
  --argent: #b8bbc4;
  --lavande: #aaa6ba;
  /* Nuances autorisées */
  --nuit-2: #0a0b17;
  --violet: #363152;
  --gris: #6c6e70;
  --gris-2: #a3a3a3;
  --perle: #c9c9ca;
  --pur: #ffffff;

  --police: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --gouttiere: clamp(16px, 4.4vw, 72px);
  --large: 1440px;
  --rayon: 28px;
  --pilule: 980px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Thèmes de section : l'encre et les gris suivent le fond */
[data-theme="clair"] {
  --fond: var(--blanc);
  --encre: var(--nuit);
  --doux: rgba(23, 24, 41, 0.6);
  --trait: rgba(23, 24, 41, 0.12);
  --trait-fort: rgba(23, 24, 41, 0.28);
  --surface: var(--pur);
  background-color: var(--fond);
  color: var(--encre);
}
[data-theme="nuit"] {
  --fond: var(--nuit);
  --encre: var(--blanc);
  --doux: var(--argent);
  --trait: rgba(246, 246, 246, 0.12);
  --trait-fort: rgba(246, 246, 246, 0.3);
  --surface: rgba(246, 246, 246, 0.045);
  background-color: var(--fond);
  color: var(--encre);
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
body {
  margin: 0;
  background: var(--nuit);
  color: var(--nuit);
  font-family: var(--police);
  font-size: clamp(18px, 1.32vw, 21px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1,
h2,
h3,
strong,
b {
  font-weight: 400;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
}
::selection {
  background: var(--nuit);
  color: var(--blanc);
}
[data-theme="nuit"] ::selection {
  background: var(--blanc);
  color: var(--nuit);
}
:focus-visible {
  outline: 2px solid var(--lavande);
  outline-offset: 4px;
  border-radius: 6px;
}
.a-cacher,
.evitement:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.evitement:focus {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  border-radius: var(--pilule);
  background: var(--blanc);
  color: var(--nuit);
}

.enveloppe {
  width: min(100% - 2 * var(--gouttiere), var(--large));
  margin-inline: auto;
  position: relative;
}

/* ------------------------------------------------------------ typographie */
.surtitre {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(14px, 1.05vw, 17px);
  letter-spacing: 0.24em;
  color: var(--doux);
  margin-bottom: clamp(16px, 2vw, 28px);
}
.surtitre::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavande);
  flex: none;
}
.titre-xl {
  margin: 0;
  font-size: clamp(54px, 8.2vw, 148px);
  line-height: 0.9;
  letter-spacing: 0.006em;
}
/* Chaque ligne sert de masque : les lettres montent depuis le dessous (marge pour les accents). */
.titre-xl .ligne {
  display: block;
  overflow: clip;
  text-wrap: balance;
  padding-block: 0.14em 0.06em;
  margin-block: -0.14em -0.06em;
}
.ligne--doux {
  color: var(--doux);
}
[data-theme="clair"] .ligne--doux {
  color: rgba(23, 24, 41, 0.42);
}
.texte-lead {
  margin-top: clamp(20px, 2.4vw, 36px);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--doux);
  max-width: 22em;
}

/* ---------------------------------------------------------------- boutons */
.boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  height: 56px;
  padding: 0 28px;
  border-radius: var(--pilule);
  font-size: 19px;
  letter-spacing: 0.09em;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.btn__fond {
  position: absolute;
  z-index: -1;
  left: var(--fx, 50%);
  top: var(--fy, 50%);
  width: 260%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.65s var(--ease);
  pointer-events: none;
}
.btn:hover .btn__fond,
.btn:focus-visible .btn__fond {
  transform: translate(-50%, -50%) scale(1);
}
.btn__texte,
.btn__fleche {
  display: inline-block;
  pointer-events: none;
}
.btn__fleche {
  transition: transform 0.6s var(--ease);
}
.btn:hover .btn__fleche {
  transform: translateY(3px);
}
.btn:hover .btn__fleche:not(:only-child) {
  animation: fleche 0.7s var(--ease);
}
@keyframes fleche {
  0% {
    transform: translate(0, 0);
  }
  45% {
    transform: translate(0.7em, 0);
    opacity: 0;
  }
  46% {
    transform: translate(-0.7em, 0);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}
/* Plein : bleu nuit sur clair, blanc sur nuit */
.btn--plein {
  background: var(--encre);
  color: var(--fond);
}
.btn--plein .btn__fond {
  background: var(--violet);
}
[data-theme="nuit"] .btn--plein .btn__fond {
  background: var(--argent);
}
/* Contour */
.btn--contour {
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  color: var(--encre);
}
.btn--contour .btn__fond {
  background: var(--encre);
}
.btn--contour:hover,
.btn--contour:focus-visible {
  color: var(--fond);
  box-shadow: inset 0 0 0 1px var(--encre);
}
/* Clair : blanc cassé (sur la barre de navigation et les fonds nuit) */
.btn--clair {
  background: var(--blanc);
  color: var(--nuit);
}
.btn--clair .btn__fond {
  background: var(--argent);
}
.btn--petit {
  height: 44px;
  padding: 0 20px;
  font-size: 16px;
}
.btn--grand {
  height: 72px;
  padding: 0 40px;
  font-size: clamp(20px, 1.6vw, 24px);
}

.lien-souligne {
  position: relative;
  color: var(--doux);
  transition: color 0.4s;
}
.lien-souligne::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}
.lien-souligne:hover {
  color: var(--encre);
}
.lien-souligne:hover::after {
  transform: scaleX(1);
}

.pastille {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 7px;
  border-radius: 999px;
  background: var(--pur);
  color: var(--nuit);
  font-size: 15px;
  letter-spacing: 0.12em;
}
.pastille i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--nuit);
  position: relative;
}
.pastille i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--lavande);
  animation: pouls 2.2s var(--ease) infinite;
}
@keyframes pouls {
  0% {
    transform: scale(0.4);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Lettres qui roulent au survol (les lettres sont découpées en JS) */
.roule {
  display: inline-flex;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: top;
}
.roule .l {
  position: relative;
  display: inline-block;
  white-space: pre;
  transition: transform 0.55s var(--ease);
  transition-delay: calc(var(--i) * 14ms);
}
/* La copie attend un peu plus bas : l'accent d'une lettre (È, É) ne dépasse pas sous le lien. */
.roule .l::after {
  content: attr(data-l);
  position: absolute;
  left: 0;
  top: calc(100% + 0.3em);
}
.roule:hover .l,
.roule:focus-visible .l {
  transform: translateY(calc(-100% - 0.3em));
}

/* ------------------------------------------------------- écran de chargement */
.chargement {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  place-items: center;
  background: var(--nuit);
  color: var(--blanc);
}
.js .chargement {
  display: grid;
}
.sans-anim .chargement,
.deja-vu .chargement,
.sans-anim .rideau {
  display: none !important;
}
.chargement__centre {
  display: grid;
  justify-items: center;
}
.chargement__logo {
  width: clamp(110px, 11vw, 168px);
  overflow: hidden;
}
.chargement__logo img {
  width: 100%;
}
.chargement__barre {
  width: clamp(120px, 13vw, 200px);
  height: 1px;
  margin-top: 36px;
  background: rgba(246, 246, 246, 0.16);
  overflow: hidden;
}
.chargement__barre span {
  display: block;
  height: 100%;
  background: var(--argent);
  transform: scaleX(0);
  transform-origin: left;
}
.chargement__slogan {
  position: absolute;
  left: var(--gouttiere);
  bottom: 30px;
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--argent);
}
.chargement__compteur {
  position: absolute;
  right: var(--gouttiere);
  bottom: 22px;
  font-size: clamp(56px, 6vw, 96px);
  line-height: 0.9;
  overflow: hidden;
}
.chargement__compteur span {
  display: block;
}

/* ------------------------------------------------- curseur, brume, progression */
.curseur {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 4000;
  pointer-events: none;
  display: none;
  --c: var(--nuit);
  --c-inv: var(--blanc);
}
.a-curseur .curseur {
  display: block;
}
.a-curseur,
.a-curseur a,
.a-curseur button,
.a-curseur .heros__objet,
.a-curseur .scene__objet {
  cursor: none;
}
.curseur.sur-nuit {
  --c: var(--blanc);
  --c-inv: var(--nuit);
}
.curseur__point,
.curseur__anneau {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  will-change: transform;
}
.curseur__point {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  background: var(--c);
  transition: opacity 0.3s, background-color 0.3s;
}
.curseur__anneau {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
  border: 1px solid var(--c);
  transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.35s, border-color 0.35s,
    opacity 0.3s;
}
.curseur__texte {
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--c-inv);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.45s var(--ease);
  white-space: nowrap;
}
.curseur.est-lien .curseur__anneau {
  width: 64px;
  height: 64px;
  margin: -32px 0 0 -32px;
  border-color: transparent;
  background: color-mix(in srgb, var(--c) 14%, transparent);
}
.curseur.est-lien .curseur__point {
  opacity: 0;
}
.curseur.est-texte .curseur__anneau {
  width: 92px;
  height: 92px;
  margin: -46px 0 0 -46px;
  background: var(--c);
}
.curseur.est-texte .curseur__texte {
  opacity: 1;
  transform: scale(1);
}
.curseur.est-texte .curseur__point {
  opacity: 0;
}
.curseur.est-presse .curseur__anneau {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
}
.curseur.est-cache {
  opacity: 0;
}

.brume {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 900;
  pointer-events: none;
}

.progression {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 2px;
  pointer-events: none;
}
.progression span {
  display: block;
  height: 100%;
  background: var(--lavande);
  transform: scaleX(0);
  transform-origin: left;
}

/* -------------------------------------------------------------- navigation */
.nav {
  position: fixed;
  z-index: 1000;
  top: 14px;
  left: 50%;
  width: min(100% - 28px, 1200px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px 0 24px;
  border-radius: var(--pilule);
  background: rgba(23, 24, 41, 0.76);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  color: var(--blanc);
  transform: translateX(-50%);
  transition: transform 0.8s var(--ease);
}
.nav.est-cache {
  transform: translate(-50%, calc(-100% - 28px));
}
.nav__logo {
  display: block;
  padding: 6px 4px;
}
.nav__logo img {
  height: 22px;
  width: auto;
}
.nav__liens {
  display: flex;
  gap: clamp(18px, 2.4vw, 38px);
  font-size: 17px;
  letter-spacing: 0.1em;
}
.nav__liens a {
  color: rgba(246, 246, 246, 0.82);
  transition: color 0.3s;
}
.nav__liens a:hover,
.nav__liens a.est-actif {
  color: var(--blanc);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.son {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--pilule);
  font-size: 15px;
  letter-spacing: 0.14em;
  transition: background-color 0.3s;
}
.son:hover {
  background: rgba(246, 246, 246, 0.08);
}
.son__barres {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}
.son__barres i {
  width: 2px;
  height: 100%;
  background: currentColor;
  transform: scaleY(0.25);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.son[aria-pressed="true"] .son__barres i {
  animation: barre 0.9s ease-in-out infinite alternate;
}
.son[aria-pressed="true"] .son__barres i:nth-child(2) {
  animation-delay: -0.3s;
}
.son[aria-pressed="true"] .son__barres i:nth-child(3) {
  animation-delay: -0.6s;
}
.son[aria-pressed="true"] .son__barres i:nth-child(4) {
  animation-delay: -0.15s;
}
@keyframes barre {
  0% {
    transform: scaleY(0.2);
  }
  100% {
    transform: scaleY(1);
  }
}
.son--texte {
  height: 48px;
  padding: 0 22px;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-size: 17px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.burger span:first-child {
  top: 18px;
}
.burger span:last-child {
  top: 25px;
}
.burger[aria-expanded="true"] span:first-child {
  top: 21.5px;
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  top: 21.5px;
  transform: rotate(-45deg);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 110px var(--gouttiere) 40px;
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
}
.menu[hidden] {
  display: none;
}
.menu__liens a {
  display: block;
  overflow: hidden;
  font-size: clamp(48px, 13vw, 92px);
  line-height: 1;
}
.menu__liens a span {
  display: block;
}
.menu__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 40px;
  color: var(--argent);
}
.menu__contact .reseaux {
  margin-top: 14px;
}

/* ------------------------------------------------------------ 1. le héros */
/* Le texte à gauche, le distributeur mural en 3D à droite, qui tourne sur lui-même.
   La section fait deux hauteurs d'écran : le héros reste en place pendant que le manifeste vient le recouvrir. */
.heros {
  position: relative;
  z-index: 1;
  height: calc(100vh + 100svh);
}
.heros__collant {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  transform-origin: 50% 100%;
}
.heros__fond {
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 72% at 72% 52%, var(--pur) 0%, var(--blanc) 72%);
}
.heros__grille {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  column-gap: clamp(28px, 4vw, 80px);
  padding: calc(14px + var(--nav-h) + clamp(14px, 3vh, 36px)) var(--gouttiere) clamp(22px, 4vh, 48px);
}
.heros__surtitre {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: clamp(12px, 2.2vh, 24px);
}
.heros__titre {
  grid-column: 1;
  grid-row: 3;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(60px, min(9.6vw, 16vh), 156px);
  line-height: 0.84;
  letter-spacing: 0.004em;
}
.heros__mot {
  display: block;
  overflow: clip;
  padding-block: 0.14em 0.04em;
  margin-block: -0.14em -0.04em;
}
.heros__lead {
  grid-column: 1;
  grid-row: 4;
  max-width: 17em;
  margin-top: clamp(18px, 3vh, 34px);
  font-size: clamp(22px, min(2vw, 3.8vh), 32px);
  line-height: 1.08;
  letter-spacing: 0.03em;
  color: var(--doux);
}
.heros__boutons {
  grid-column: 1;
  grid-row: 5;
  margin-top: clamp(20px, 3.6vh, 40px);
}
/* La zone du distributeur : glisser à l'horizontale le fait tourner, à la verticale fait défiler la page. */
.heros__objet {
  position: relative;
  grid-column: 2;
  grid-row: 1 / -1;
  min-height: 0;
  touch-action: pan-y;
  cursor: grab;
}
.heros__3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* Photo de secours (sans WebGL ou sans script) */
.heros__repli {
  display: none;
  position: absolute;
  left: 4%;
  top: 50%;
  width: 92%;
  border-radius: 14px;
  box-shadow: 0 40px 90px -40px rgba(23, 24, 41, 0.6);
  transform: translateY(-50%);
}
.sans-3d .heros__3d {
  display: none;
}
.sans-3d .heros__repli {
  display: block;
}
.heros__voile {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--nuit);
  opacity: 0;
  pointer-events: none;
}

/* ------------------------------------------ 2. le distributeur en détail */
/* Une feuille claire vient recouvrir le héros : le distributeur de face, puis ses repères au défilement.
   main.js cadre la façade entre l'annonce et les étiquettes des repères : aucun texte ne passe dessus. */
.scene {
  position: relative;
  z-index: 2;
  height: 460vh;
  margin-top: -100vh;
}
.scene__collant {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 -30px 60px -40px rgba(23, 24, 41, 0.35);
  transform-origin: 50% 100%;
}
.scene__fond {
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 80% at 50% 55%, var(--pur) 0%, var(--blanc) 60%);
}
.scene__motif {
  position: absolute;
  inset: -4%;
  background: url("../img/motif-clair.webp") center / cover no-repeat;
  opacity: 0.85;
  -webkit-mask-image: radial-gradient(64% 58% at 50% 56%, transparent 30%, #000 80%);
  mask-image: radial-gradient(64% 58% at 50% 56%, transparent 30%, #000 80%);
}
.scene__halo {
  position: absolute;
  left: 50%;
  top: 57%;
  width: min(74vw, 1100px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scaleY(0.5);
}
.scene__halo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--argent),
    var(--lavande),
    var(--pur),
    var(--perle),
    var(--lavande),
    var(--violet),
    var(--argent)
  );
  -webkit-mask: radial-gradient(closest-side, transparent 64%, #000 74%, #000 80%, transparent 96%);
  mask: radial-gradient(closest-side, transparent 64%, #000 74%, #000 80%, transparent 96%);
  filter: blur(18px);
  opacity: 0.7;
  animation: halo 22s linear infinite;
}
@keyframes halo {
  to {
    transform: rotate(360deg);
  }
}
.scene__objet {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.scene__3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 97%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 97%);
}
/* Photo de secours (sans WebGL ou sans script) */
.scene__repli {
  display: none;
  position: absolute;
  left: 50%;
  top: 56%;
  width: min(84vw, 860px);
  border-radius: 14px;
  box-shadow: 0 40px 90px -40px rgba(23, 24, 41, 0.6);
  transform: translate(-50%, -50%);
}
.sans-3d .scene__3d {
  display: none;
}
.sans-3d .scene__repli {
  display: block;
}
.sans-3d .reperes {
  display: none;
}

.scene__annonce {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: calc(var(--nav-h) + clamp(32px, 7vh, 80px));
  width: max-content;
  max-width: 92vw;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  visibility: hidden;
  pointer-events: none;
}
.scene__annonce img {
  width: clamp(64px, 5.6vw, 92px);
}
.scene__annonce h2 {
  margin: 0;
  text-wrap: balance;
  font-size: clamp(26px, 2.6vw, 44px);
  line-height: 1;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* Repères reliés à la façade (placés en JS par borne3d.js) */
.reperes {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.repere {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  visibility: hidden;
  --long: 120px;
  will-change: transform;
}
.repere__point {
  position: absolute;
  left: -7px;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: 0 0 0 3px var(--nuit), 0 0 0 9px rgba(246, 246, 246, 0.35);
}
.repere__point::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid var(--blanc);
  animation: pouls 2.4s var(--ease) infinite;
}
.repere__trait {
  position: absolute;
  left: -0.75px;
  width: 1.5px;
  height: var(--long);
  background: var(--nuit);
  box-shadow: 0 0 0 1px rgba(246, 246, 246, 0.5);
}
.repere--haut .repere__trait {
  bottom: 9px;
  transform-origin: 50% 100%;
}
.repere--bas .repere__trait {
  top: 9px;
  transform-origin: 50% 0;
}
.repere__texte {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 6px;
  white-space: nowrap;
}
.repere--haut .repere__texte {
  bottom: calc(var(--long) + 22px);
}
.repere--bas .repere__texte {
  top: calc(var(--long) + 22px);
}
.repere--gauche .repere__texte {
  right: -1px;
  align-items: flex-end;
  text-align: right;
}
.repere--droite .repere__texte {
  left: -1px;
}
.repere__texte strong {
  font-size: clamp(20px, 1.75vw, 30px);
  line-height: 1;
  letter-spacing: 0.035em;
}
.repere__texte span {
  font-size: clamp(14px, 1vw, 16px);
  letter-spacing: 0.12em;
  color: var(--doux);
}
.scene__voile {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--nuit);
  opacity: 0;
  pointer-events: none;
}

/* --------------------------------------------------------- 3. manifeste */
.manifeste {
  position: relative;
  z-index: 3;
  margin-top: -100vh;
  border-radius: 44px 44px 0 0;
  overflow: hidden;
  padding-block: clamp(120px, 15vw, 220px) clamp(110px, 13vw, 200px);
}
.motif-fond {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.motif-fond > div {
  position: absolute;
  inset: -18% 0;
  background: url("../img/motif-nuit.webp") center / cover no-repeat;
  opacity: 0.9;
}
.motif-fond--doux > div {
  opacity: 0.55;
}
.manifeste__texte {
  margin-top: clamp(48px, 7vw, 110px);
  max-width: 15.5em;
  font-size: clamp(34px, 4.3vw, 72px);
  line-height: 1.02;
  letter-spacing: 0.012em;
}
.manifeste__texte .mot {
  display: inline-block;
}

.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 3vw, 48px);
  margin-top: clamp(100px, 12vw, 180px);
}
.chiffre__trait {
  display: block;
  height: 1px;
  margin-bottom: 26px;
  background: var(--trait-fort);
  transform-origin: left;
}
.chiffre__valeur {
  font-size: clamp(68px, 8.2vw, 150px);
  line-height: 1;
  white-space: nowrap;
  color: var(--blanc);
}
.chiffre__valeur .unite {
  margin-left: 0.12em;
  font-size: 0.4em;
  letter-spacing: 0.06em;
}
.chiffre__valeur.est-fini {
  background: linear-gradient(100deg, var(--blanc) 0 38%, var(--argent) 46%, var(--pur) 51%, var(--lavande) 56%, var(--blanc) 64% 100%)
    100% 0 / 280% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: background-position 1.3s var(--ease);
}
.chiffre:hover .chiffre__valeur.est-fini {
  background-position: 0 0;
}
.chiffre__legende {
  margin-top: 14px;
  color: var(--doux);
}
.roue {
  display: inline-block;
  height: 1em;
  line-height: 1;
  overflow: hidden;
  vertical-align: top;
}
.chiffre__valeur > span[aria-hidden]:not(.roue):not(.unite) {
  display: inline-block;
  vertical-align: top;
}
.roue__piste {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.roue__piste span {
  display: block;
  height: 1em;
}

/* ---------------------------------------------------------- 3. les gestes */
.gestes {
  position: relative;
  overflow: hidden;
}
.gestes__cadre {
  position: relative;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.gestes__piste {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.2vw, 32px);
  width: max-content;
  padding-inline: var(--gouttiere);
  will-change: transform;
}
.gestes__intro {
  width: min(40vw, 600px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 4vw;
}
.geste {
  position: relative;
  width: min(56vw, 760px);
  height: min(68vh, 640px);
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 48px);
  border-radius: var(--rayon);
  background: var(--pur);
  overflow: hidden;
}
.geste__haut {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: auto;
}
.geste__num {
  font-size: clamp(110px, 13vw, 230px);
  line-height: 0.78;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nuit);
  transition: color 0.8s var(--ease);
}
.geste.est-actif .geste__num {
  color: var(--nuit);
}
.geste__icone {
  width: clamp(120px, 15vw, 240px);
  height: auto;
  fill: none;
  stroke: var(--nuit);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}
.geste__icone .pointille {
  stroke-dasharray: 2 5;
}
.geste__titre {
  margin: 0;
  font-size: clamp(64px, 7.2vw, 128px);
  line-height: 0.88;
}
.geste__texte {
  margin-top: 14px;
  max-width: 19em;
  font-size: clamp(20px, 1.7vw, 27px);
  line-height: 1.08;
  color: var(--doux);
}
.gestes__jauge {
  position: absolute;
  left: var(--gouttiere);
  right: var(--gouttiere);
  bottom: clamp(22px, 5vh, 52px);
  height: 2px;
  background: var(--trait);
}
.gestes__jauge span {
  display: block;
  height: 100%;
  background: var(--nuit);
  transform: scaleX(0);
  transform-origin: left;
}

/* ------------------------------------------------------------- 4. les buses */
.buses {
  position: relative;
  overflow: hidden;
  padding-block: clamp(110px, 13vw, 200px);
}
.buses__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: center;
}
.buses__note {
  margin-top: clamp(28px, 3vw, 44px);
}
.panneau {
  position: relative;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--blanc);
  max-width: 640px;
  justify-self: end;
  width: 100%;
}
.panneau img {
  width: 100%;
}
.buse {
  position: absolute;
  left: var(--x);
  top: 57%;
  width: 15%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.buse::before,
.buse::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.buse::before {
  inset: 18%;
  border: 1.5px dashed var(--nuit);
  opacity: 0;
  transform: scale(0.6) rotate(0deg);
  transition: opacity 0.4s, transform 0.8s var(--ease);
}
.buse::after {
  inset: 32%;
  background: radial-gradient(circle, rgba(170, 166, 186, 0.55), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.buse:hover::before,
.buse:focus-visible::before,
.buse.est-actif::before {
  opacity: 0.9;
  transform: scale(1) rotate(90deg);
}
.buse:hover::after,
.buse.est-actif::after {
  opacity: 1;
}
.led {
  position: absolute;
  left: var(--x);
  top: 83.7%;
  width: 7.6%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(246, 246, 246, 0.9), 0 0 18px 6px rgba(170, 166, 186, 0.75);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.led.est-allume {
  opacity: 1;
}

/* ----------------------------------------------------------- 5. les atouts */
.atouts {
  padding-block: clamp(110px, 13vw, 200px);
}

/* ------------------------------------------- tuiles visuelles (grille « bento ») */
/* Chaque avantage a sa tuile : un titre, une phrase, et un visuel animé qui montre l'idée.
   Les visuels ne s'animent que lorsqu'ils sont à l'écran (classe est-visible, posée par main.js). */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(44px, 5.5vw, 88px);
}
.tuile {
  position: relative;
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  min-height: clamp(440px, 40vw, 580px);
  border-radius: var(--rayon);
  overflow: hidden;
  isolation: isolate;
  background: var(--pur);
  color: var(--nuit);
}
.tuile--4 {
  grid-column: span 4;
  min-height: clamp(420px, 34vw, 500px);
}
.tuile--5 {
  grid-column: span 5;
}
.tuile--7 {
  grid-column: span 7;
}
.tuile[data-theme="nuit"] {
  background: var(--nuit);
  color: var(--blanc);
}
/* Tuile bleu nuit dans une section bleu nuit : un voile clair la détache du fond. */
[data-theme="nuit"] .tuile[data-theme="nuit"]:not(.tuile--photo) {
  background: linear-gradient(rgba(246, 246, 246, 0.07), rgba(246, 246, 246, 0.07)), var(--nuit);
  box-shadow: inset 0 0 0 1px rgba(246, 246, 246, 0.1);
}
/* Lavande à 20 % sur blanc */
.tuile--brume {
  background: linear-gradient(rgba(170, 166, 186, 0.2), rgba(170, 166, 186, 0.2)), var(--pur);
}
.tuile--fleurs {
  background: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), url("../img/motif-clair.webp") center / cover, var(--pur);
}
.tuile__texte {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 40px) 0;
}
.tuile__titre {
  margin: 0;
  font-size: clamp(32px, 3vw, 52px);
  line-height: 0.92;
  letter-spacing: 0.01em;
}
.tuile__desc {
  max-width: 24em;
  color: var(--doux);
}
.tuile__visuel {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 250px;
}
/* Lueur qui suit le pointeur, sous le texte */
.tuile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(170, 166, 186, 0.2), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.tuile:hover::after {
  opacity: 1;
}

/* Tuile photo : l'image en plein cadre, le texte en bas sur un dégradé */
.tuile--photo {
  background: var(--nuit);
  color: var(--blanc);
}
.tuile--photo .tuile__visuel {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tuile--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(10, 11, 23, 0.9) 0%, rgba(10, 11, 23, 0.5) 30%, rgba(10, 11, 23, 0) 58%);
  pointer-events: none;
}
.tuile--photo .tuile__texte {
  margin-top: auto;
  padding-bottom: clamp(24px, 2.6vw, 40px);
}
.tuile--photo .tuile__desc {
  color: var(--perle);
}
.photo-tuile {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.photo-tuile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.6s var(--ease);
}
.tuile--photo:hover .photo-tuile img {
  transform: scale(1.08);
}
.photo-tuile__reflet {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.28) 50%, transparent 62%);
  transform: translateX(-110%);
}
.tuile--photo:hover .photo-tuile__reflet {
  animation: reflet 1.6s var(--ease);
}
@keyframes reflet {
  to {
    transform: translateX(110%);
  }
}

/* Cœurs qui montent (téléphone, salles) */
.coeurs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.coeurs i {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 40%);
  width: 26px;
  height: 26px;
  opacity: 0;
}
.coeurs svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--lavande);
}
.coeurs i:nth-child(1) {
  --x: 44%;
  --y: 30%;
}
.coeurs i:nth-child(2) {
  --x: 58%;
  --y: 38%;
  width: 20px;
  height: 20px;
}
.coeurs i:nth-child(3) {
  --x: 36%;
  --y: 42%;
  width: 18px;
  height: 18px;
}
.coeurs i:nth-child(4) {
  --x: 64%;
  --y: 26%;
}
.est-visible .coeurs i {
  animation: coeur 3.6s var(--ease) infinite;
}
.est-visible .coeurs i:nth-child(2) {
  animation-delay: 0.9s;
}
.est-visible .coeurs i:nth-child(3) {
  animation-delay: 1.8s;
}
.est-visible .coeurs i:nth-child(4) {
  animation-delay: 2.7s;
}
@keyframes coeur {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.3);
  }
  14% {
    opacity: 1;
    transform: translateY(0) scale(1.1);
  }
  22% {
    transform: translateY(-6px) scale(1);
  }
  75% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-96px) scale(0.85) rotate(10deg);
  }
}

/* --- Des commissions : relevé en direct (sans montant) */
.releve {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 18px clamp(20px, 3vw, 44px) clamp(26px, 3vw, 44px);
}
.releve__fond {
  position: absolute;
  right: 0.04em;
  bottom: -0.12em;
  margin: 0;
  font-size: clamp(180px, 22vw, 340px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(246, 246, 246, 0.16);
  pointer-events: none;
}
.releve__carte {
  position: relative;
  width: min(100%, 440px);
  padding: 22px 24px 14px;
  border-radius: 22px;
  background: var(--pur);
  color: var(--nuit);
  transform: rotate(-2deg);
  transition: transform 0.9s var(--ease);
}
.tuile:hover .releve__carte {
  transform: rotate(0deg) scale(1.02);
}
.releve__tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--gris);
}
.releve__direct {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 5px;
  border-radius: 999px;
  background: var(--nuit);
  color: var(--blanc);
  letter-spacing: 0.12em;
}
.releve__direct i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavande);
  animation: clignote 1.2s steps(1) infinite;
}
@keyframes clignote {
  50% {
    opacity: 0.2;
  }
}
.releve__total {
  margin-top: 12px;
  font-size: clamp(42px, 4vw, 60px);
  line-height: 0.9;
}
.releve__total b {
  display: inline-block;
  color: var(--violet);
}
.releve__sous {
  margin-top: 4px;
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--gris);
}
.releve__jauge {
  position: relative;
  height: 8px;
  margin: 14px 0 4px;
  border-radius: 4px;
  background: rgba(23, 24, 41, 0.08);
  overflow: hidden;
}
.releve__jauge i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--nuit);
  transform-origin: left;
}
.releve__liste {
  display: grid;
  list-style: none;
  margin: 0;
  padding: 0;
}
.releve__liste li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(23, 24, 41, 0.08);
  font-size: 17px;
}
.releve__liste li:last-child {
  border-bottom: 0;
}
.releve__liste svg {
  flex: none;
  width: 13px;
  height: 16px;
  fill: var(--violet);
}
.releve__liste em {
  margin-left: auto;
  font-style: normal;
  color: var(--violet);
}

/* --- Une meilleure image : la publication du lieu sur les réseaux */
.telephone {
  position: relative;
  flex: 1;
  min-height: 330px;
}
.telephone__cadre {
  position: absolute;
  left: 50%;
  top: 22px;
  width: min(72%, 280px);
  margin-left: calc(min(72%, 280px) / -2);
  padding: 9px;
  border-radius: 40px;
  background: var(--nuit);
  transform: rotate(3deg);
  transform-origin: 50% 100%;
  transition: transform 1s var(--ease);
}
.tuile:hover .telephone__cadre {
  transform: rotate(0deg) translateY(-10px);
}
.post {
  border-radius: 32px;
  overflow: hidden;
  background: var(--pur);
  color: var(--nuit);
}
.post__tete {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px 10px;
}
.post__avatar {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
  box-shadow: 0 0 0 2px var(--pur), 0 0 0 3.5px var(--lavande);
}
.post__qui {
  display: grid;
  gap: 2px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.06em;
}
.post__qui small {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gris);
}
.post__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--argent);
}
.post__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post__actions {
  display: flex;
  gap: 14px;
  padding: 12px 14px 6px;
}
.post__actions svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--nuit);
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.est-visible .post__coeur svg {
  animation: aime 3.6s var(--ease) infinite;
}
@keyframes aime {
  0%,
  18% {
    fill: transparent;
    transform: scale(1);
  }
  24% {
    fill: var(--nuit);
    transform: scale(1.3);
  }
  32%,
  100% {
    fill: var(--nuit);
    transform: scale(1);
  }
}
.post__legende {
  padding: 0 14px 20px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.05em;
  color: var(--gris);
}
.post__legende b {
  color: var(--nuit);
}
.telephone .coeurs i {
  --y: 46%;
}

/* --- Un avantage concurrentiel : la recherche « Démarquez-vous » */
.recherche {
  position: relative;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 18px clamp(20px, 2.6vw, 40px) clamp(26px, 3vw, 40px);
}
.recherche__barre {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--pur);
  box-shadow: inset 0 0 0 1.5px var(--perle);
  font-size: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.recherche__barre svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--nuit);
  stroke-width: 2;
  stroke-linecap: round;
}
.recherche__saisie {
  overflow: hidden;
}
.recherche__curseur {
  flex: none;
  width: 2px;
  height: 24px;
  margin-left: -8px;
  background: var(--nuit);
  animation: clignote 1s steps(1) infinite;
}
.recherche__resultats {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.recherche__resultats li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 10px 14px 10px 18px;
  border-radius: 18px;
  background: var(--pur);
  box-shadow: inset 0 0 0 1px var(--trait);
  font-size: 19px;
  color: var(--gris);
}
.recherche__resultats li > svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--gris-2);
  stroke-width: 1.8;
}
.recherche__resultats em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  white-space: nowrap;
  color: var(--gris-2);
}
.recherche__resultats .recherche__vous {
  background: var(--nuit);
  box-shadow: none;
  color: var(--blanc);
}
.recherche__resultats .recherche__vous > svg {
  stroke: var(--blanc);
}
.recherche__vous em {
  padding: 8px 12px 7px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--nuit);
}
.recherche__vous em svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--nuit);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Une expérience client améliorée : la salle et la liste qui se coche */
.experience {
  position: relative;
  flex: 1;
  min-height: 340px;
}
.experience__scene {
  position: absolute;
  right: -4%;
  bottom: -5%;
  width: min(62%, 470px);
  aspect-ratio: 820 / 720;
}
.experience__scene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}
.est-visible .experience__scene img,
.est-visible .scene-iso img {
  animation: flotte 6s ease-in-out infinite;
}
@keyframes flotte {
  50% {
    transform: translateY(-8px);
  }
}
.experience__liste {
  position: absolute;
  z-index: 1;
  left: clamp(20px, 2.6vw, 40px);
  bottom: clamp(26px, 3vw, 40px);
  display: grid;
  gap: 10px;
  width: min(50%, 320px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.experience__liste li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px 11px 11px;
  border-radius: 18px;
  background: var(--pur);
}
.experience__coche {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--nuit);
}
.experience__coche svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--blanc);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 21;
}
.experience__liste b {
  display: block;
  font-size: 19px;
  line-height: 1;
}
.experience__liste small {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--gris);
}

/* --- Hygiénique : la buse, comme sur la façade, et sa bouffée de parfum */
.buse-visuel {
  position: relative;
  flex: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  padding: 10px 0 34px;
  cursor: pointer;
}
.buse-visuel__etiquette {
  display: grid;
  justify-items: center;
  line-height: 0.9;
}
.buse-visuel__etiquette b {
  padding: 0 12px 6px;
  border-bottom: 2.5px solid var(--nuit);
  font-size: 48px;
}
.buse-visuel__etiquette span {
  margin-top: 6px;
  font-size: 22px;
  letter-spacing: 0.12em;
}
.buse-visuel__buse {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
}
.buse-visuel__points {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px dotted rgba(23, 24, 41, 0.7);
}
.est-visible .buse-visuel__points {
  animation: tourne 22s linear infinite;
}
@keyframes tourne {
  to {
    transform: rotate(360deg);
  }
}
.buse-visuel__inox {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, var(--pur), var(--argent) 46%, var(--gris) 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 24, 41, 0.25);
}
.buse-visuel__trou {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--gris), var(--nuit-2) 70%);
  box-shadow: 0 0 0 7px var(--nuit);
}
.buse-visuel__fleche {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 14px solid var(--nuit);
}
.buse-visuel__brume {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.buse-visuel__brume i {
  position: absolute;
  left: -70px;
  top: -70px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(170, 166, 186, 0.6), rgba(170, 166, 186, 0));
  opacity: 0;
}
.buse-visuel__brume i:nth-child(1) {
  --dx: -110px;
  --dy: -90px;
}
.buse-visuel__brume i:nth-child(2) {
  --dx: 110px;
  --dy: -80px;
  --d: 0.08s;
}
.buse-visuel__brume i:nth-child(3) {
  --dx: -140px;
  --dy: 30px;
  --d: 0.14s;
}
.buse-visuel__brume i:nth-child(4) {
  --dx: 140px;
  --dy: 40px;
  --d: 0.05s;
}
.buse-visuel__brume i:nth-child(5) {
  --dx: 0px;
  --dy: -140px;
  --d: 0.1s;
}
.buse-visuel__brume i:nth-child(6) {
  --dx: -40px;
  --dy: 120px;
  --d: 0.18s;
}
.buse-visuel__brume i:nth-child(7) {
  --dx: 60px;
  --dy: 110px;
  --d: 0.12s;
}
.est-visible .buse-visuel__brume i {
  animation: bouffee 3.4s var(--ease) var(--d, 0s) infinite;
}
@keyframes bouffee {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.15);
  }
  6% {
    opacity: 0.95;
  }
  55% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(2.4);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(2.4);
  }
}

/* --- Rapide : trois secondes, puis pschitt */
.chrono {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 10px 0 34px;
}
.chrono > * {
  grid-area: 1 / 1;
}
.chrono svg {
  width: min(64%, 250px);
  aspect-ratio: 1;
  overflow: visible;
  transform: rotate(-90deg);
}
.chrono__piste,
.chrono__arc {
  fill: none;
  stroke-width: 9;
}
.chrono__piste {
  stroke: rgba(246, 246, 246, 0.12);
}
.chrono__arc {
  stroke: var(--blanc);
  stroke-linecap: round;
}
.chrono__chiffre {
  font-size: clamp(110px, 10vw, 160px);
  line-height: 0.8;
}
.chrono__mot {
  font-size: clamp(40px, 3.6vw, 56px);
  letter-spacing: 0.04em;
  opacity: 0;
}

/* --- Accessible : 2 €, payé sans contact, là où tu vas */
.prix {
  display: grid;
  gap: clamp(16px, 2vw, 26px);
  margin-top: auto;
  padding: 24px clamp(24px, 2.6vw, 40px) clamp(24px, 2.6vw, 40px);
}
.prix__haut {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px 24px;
}
.prix__montant {
  display: flex;
  align-items: baseline;
  margin: 0;
  font-size: clamp(110px, 11vw, 190px);
  line-height: 0.78;
}
.prix__montant em {
  margin-left: 0.04em;
  font-style: normal;
  font-size: 0.5em;
}
.prix__montant small {
  margin-left: 14px;
  font-size: clamp(18px, 1.5vw, 24px);
  letter-spacing: 0.08em;
  color: var(--gris);
}
.prix__moyens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.prix__moyens li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 8px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-size: 15px;
  letter-spacing: 0.1em;
}
.prix__moyens svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.prix__lieux {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.prix__lieux li {
  position: relative;
  aspect-ratio: 10 / 7;
  border-radius: 18px;
  overflow: hidden;
  background: var(--nuit);
}
.prix__lieux img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.prix__lieux li:hover img {
  transform: scale(1.08);
}
.prix__lieux span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 11px 5px;
  border-radius: 999px;
  background: var(--pur);
  color: var(--nuit);
  font-size: 14px;
  letter-spacing: 0.1em;
}

/* --- Annonceurs : le public visé */
.public {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 320px;
}
.public > * {
  grid-area: 1 / 1;
}
.public__cible {
  position: relative;
  width: min(84%, 380px);
  aspect-ratio: 1;
}
.public__cible i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(246, 246, 246, 0.22);
}
.public__cible i:nth-child(2) {
  inset: 14%;
  border-color: rgba(246, 246, 246, 0.38);
}
.public__cible i:nth-child(3) {
  inset: 27%;
  border-color: rgba(246, 246, 246, 0.6);
  background: rgba(246, 246, 246, 0.06);
}
.public__cible::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--lavande);
  opacity: 0;
}
.est-visible .public__cible::after {
  animation: radar 3.2s var(--ease) infinite;
}
.public__age {
  display: grid;
  justify-items: center;
  margin: 0;
  line-height: 0.8;
}
.public__age b {
  font-size: clamp(60px, 5.8vw, 96px);
}
.public__age span {
  margin-top: 8px;
  font-size: 18px;
  letter-spacing: 0.24em;
  color: var(--argent);
}
.public__tags {
  position: relative;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.public__tags li {
  position: absolute;
  padding: 9px 15px 8px;
  border-radius: 999px;
  background: var(--blanc);
  color: var(--nuit);
  font-size: 16px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.public__tags li:nth-child(1) {
  left: 8%;
  top: 16%;
}
.public__tags li:nth-child(2) {
  right: 7%;
  top: 44%;
}
.public__tags li:nth-child(3) {
  left: 14%;
  bottom: 14%;
}
.est-visible .public__tags li {
  animation: flotte 5s ease-in-out infinite;
}
.est-visible .public__tags li:nth-child(2) {
  animation-delay: -1.6s;
}
.est-visible .public__tags li:nth-child(3) {
  animation-delay: -3.2s;
}

/* --- Annonceurs : les lieux (salle isométrique) */
.scene-iso {
  position: relative;
  flex: 1;
  display: grid;
  place-items: end center;
  min-height: 300px;
  padding: 0 6%;
}
.scene-iso img {
  width: min(100%, 470px);
  margin-bottom: -4%;
  -webkit-mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 74%, transparent 100%);
}

/* --- Annonceurs : l'écran à l'échelle, à côté d'une personne de 1,75 m (dessin .gabarit) */
.echelle {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 12px clamp(20px, 3vw, 40px) 76px;
}
.echelle .gabarit {
  width: min(100%, 300px);
}

/* --- Annonceurs : vous envoyez votre visuel, LYR le publie, les écrans s'allument */
.diffusion {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.3fr);
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  padding: 20px clamp(20px, 2.6vw, 40px) clamp(28px, 3vw, 44px);
}
.diffusion__etape {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}
.diffusion__etape b {
  margin-top: 6px;
  font-size: clamp(22px, 1.9vw, 30px);
  line-height: 1;
}
.diffusion__etape small {
  max-width: 9em;
  font-size: 13px;
  line-height: 1.1;
  letter-spacing: 0.08em;
  color: var(--gris);
}
.diffusion__fichier {
  width: 58px;
  height: 84px;
  border-radius: 10px;
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
  box-shadow: 0 14px 28px -12px rgba(10, 11, 23, 0.6);
}
.diffusion__logo {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--nuit);
  box-shadow: 0 14px 28px -12px rgba(10, 11, 23, 0.6);
}
.diffusion__logo img {
  width: 58%;
}
.diffusion__fleche {
  position: relative;
  width: clamp(26px, 3.4vw, 54px);
  height: 2px;
  margin-bottom: 52px;
  background: var(--trait);
}
.diffusion__fleche i {
  position: absolute;
  inset: 0;
  background: var(--nuit);
  transform-origin: left;
}
.diffusion__fleche::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--nuit);
  border-right: 2px solid var(--nuit);
  transform: translateY(-50%) rotate(45deg);
}
.diffusion__ecrans {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.diffusion__ecrans li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 8px;
  border-radius: 14px;
  background: var(--blanc);
}
.diffusion__ecrans b {
  display: block;
  font-size: 17px;
  line-height: 1;
}
.diffusion__ecrans small {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gris);
}
/* Écran allumé (état final, sans script) ; éteint pendant l'animation */
.diffusion__ecran {
  flex: none;
  width: 24px;
  height: 40px;
  border-radius: 5px;
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
  box-shadow: 0 0 0 1.5px var(--nuit), 0 0 14px rgba(170, 166, 186, 0.55);
}
.diffusion__ecrans li.est-eteint .diffusion__ecran {
  background: var(--pur);
  box-shadow: inset 0 0 0 1.5px var(--trait-fort);
}

/* --- Personnalisation : la façade, vos couleurs, la certification */
.facade,
.designs,
.ce,
.valeur {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 10px 24px 32px;
}
.facade__panneau {
  position: relative;
  width: min(100%, 330px);
  aspect-ratio: 1362 / 824;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), url("../img/motif-clair.webp") center / cover, var(--blanc);
  box-shadow: 0 0 0 7px var(--nuit);
}
.facade__nuit {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 46%;
  border-radius: 0 50% 40% 0 / 0 60% 40% 0;
  background: var(--nuit);
}
.facade__vitrine {
  position: absolute;
  right: 5%;
  top: 9%;
  width: 46%;
  height: 26%;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--pur), var(--perle));
  box-shadow: inset 0 0 0 2px var(--nuit);
}
.facade__lyr {
  position: absolute;
  left: 6%;
  top: 8%;
  width: 13%;
}
.facade__votre {
  position: absolute;
  left: 5%;
  bottom: 9%;
  width: 34%;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  border: 1.5px dashed var(--blanc);
  border-radius: 8px;
  color: var(--blanc);
  font-size: clamp(13px, 1.1vw, 16px);
  letter-spacing: 0.1em;
  text-align: center;
}
.est-visible .facade__votre {
  animation: respire 2.4s ease-in-out infinite;
}
@keyframes respire {
  50% {
    background: rgba(246, 246, 246, 0.16);
  }
}
.designs > * {
  grid-area: 1 / 1;
}
.designs__carte {
  width: min(58%, 210px);
  aspect-ratio: 1362 / 824;
  border-radius: 10px;
  box-shadow: 0 0 0 5px var(--nuit);
  transition: transform 0.9s var(--ease);
}
.designs__carte--1 {
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
  transform: translate(-30%, 10%) rotate(-10deg);
}
.designs__carte--2 {
  background: var(--blanc) url("../img/motif-clair.webp") center / cover;
  transform: translate(30%, 10%) rotate(10deg);
}
.designs__carte--3 {
  position: relative;
  background: linear-gradient(90deg, var(--nuit) 0 46%, transparent 46%), var(--blanc) url("../img/motif-clair.webp") center / cover;
  transform: translateY(-8%);
}
.tuile:hover .designs__carte--1 {
  transform: translate(-44%, 12%) rotate(-15deg);
}
.tuile:hover .designs__carte--2 {
  transform: translate(44%, 12%) rotate(15deg);
}
.tuile:hover .designs__carte--3 {
  transform: translateY(-14%) scale(1.04);
}
.ce {
  align-content: center;
  gap: 20px;
}
.ce__sceau {
  position: relative;
  display: grid;
  place-items: center;
  width: 124px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nuit);
  color: var(--blanc);
}
.ce__sceau::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dotted var(--nuit);
}
.est-visible .ce__sceau::before {
  animation: tourne 26s linear infinite;
}
.ce__sceau b {
  font-size: 62px;
  line-height: 0.8;
  letter-spacing: 0.02em;
}
.ce__puces {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ce__puces li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 7px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.ce__puces svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Valeurs (notre histoire) */
.valeur {
  align-content: center;
  gap: 12px;
}
.valeur--prix b {
  font-size: clamp(110px, 10vw, 160px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nuit);
}
.valeur--prix span {
  font-size: 18px;
  letter-spacing: 0.2em;
  color: var(--gris);
}
.valeur--gestes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
}
.valeur--gestes span {
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 19px;
  letter-spacing: 0.08em;
}
.valeur--gestes i {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--nuit);
  color: var(--blanc);
  font-style: normal;
  font-size: 30px;
}

@media (max-width: 1100px) {
  .tuile--4 {
    grid-column: span 6;
  }
  .bento--3 .tuile--4:last-child {
    grid-column: span 12;
  }
}
@media (max-width: 900px) {
  .tuile,
  .tuile--4,
  .tuile--5,
  .tuile--7,
  .bento--3 .tuile--4:last-child {
    grid-column: 1 / -1;
    min-height: 0;
  }
  .tuile--photo {
    min-height: 440px;
  }
  .tuile__visuel {
    min-height: 300px;
  }
}
@media (max-width: 560px) {
  .experience {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .experience__scene {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 0 auto -18%;
  }
  .experience__liste {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: 0 20px 24px;
  }
  .recherche__barre {
    font-size: 17px;
  }
  .recherche__resultats li {
    font-size: 17px;
  }
  .recherche__resultats em {
    font-size: 12px;
  }
  .prix__lieux span {
    left: 6px;
    bottom: 6px;
    font-size: 12px;
  }
}

/* ---------------------------------------------------------- 7. établissements */
.pro {
  position: relative;
  overflow: hidden;
  padding-block: clamp(120px, 14vw, 220px);
}
.pro__lead {
  max-width: 24em;
}
.lieux {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: clamp(28px, 3vw, 44px) 0 0;
}
.lieux li {
  padding: 11px 18px 10px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-size: 17px;
  letter-spacing: 0.1em;
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.lieux li:hover {
  background: var(--blanc);
  color: var(--nuit);
  box-shadow: inset 0 0 0 1px var(--blanc);
}
.pro__appel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 36px;
  margin-top: clamp(40px, 5vw, 64px);
}
/* ------------------------------------------------------------- 8. partout */
.partout {
  overflow: hidden;
  padding-block: clamp(80px, 10vw, 150px);
}
.defilant {
  overflow: hidden;
  white-space: nowrap;
  line-height: 0.92;
  padding-top: 0.14em;
}
.defilant__piste {
  display: inline-flex;
  align-items: center;
  gap: 0.32em;
  padding-right: 0.32em;
  font-size: clamp(84px, 12.6vw, 236px);
  will-change: transform;
}
.defilant__piste i {
  font-style: normal;
  font-size: 0.42em;
  color: var(--lavande);
}
.defilant--contour .defilant__piste span {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nuit);
  transition: color 0.6s var(--ease);
}
.defilant--contour:hover .defilant__piste span {
  color: var(--nuit);
}
@keyframes radar {
  0% {
    transform: scale(0.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* ------------------------------------------------------------ pied de page */
.pied {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 7vw, 110px) 30px;
}
.pied__grille {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr);
  gap: 36px 28px;
}
.pied__grille a {
  display: flex;
  width: fit-content;
  margin-bottom: 8px;
  color: var(--blanc);
}
.pied__grille p {
  color: var(--argent);
}
.pied__marque img {
  width: 86px;
  margin-bottom: 18px;
}
.pied__marque p {
  max-width: 17em;
  margin-bottom: 22px;
}
.pied__etiquette {
  margin-bottom: 16px;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: var(--doux);
}
/* Encart légal (CGV, mentions, confidentialité) */
.pied__legal-encart {
  padding: 24px 24px 18px;
  border-radius: 22px;
  background: rgba(246, 246, 246, 0.06);
  box-shadow: inset 0 0 0 1px var(--trait);
}
.pied__legal-encart a {
  justify-content: space-between;
  width: 100%;
  padding: 6px 0;
  margin: 0;
  border-bottom: 1px solid var(--trait);
}
.pied__legal-encart a:last-child {
  border-bottom: 0;
}
.pied__legal-encart a span:last-child {
  color: var(--lavande);
  transition: transform 0.5s var(--ease);
}
.pied__legal-encart a:hover span:last-child {
  transform: translateX(4px);
}
.reseaux {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.reseaux a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  color: var(--encre);
  transition: background-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.reseaux a:hover {
  background: var(--encre);
  color: var(--fond);
  box-shadow: inset 0 0 0 1px var(--encre);
}
.reseaux svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pied__bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.haut {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: background-color 0.4s, color 0.4s;
}
.haut:hover {
  background: var(--blanc);
  color: var(--nuit);
}
.pied__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--doux);
}
.pied__bas {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--trait);
}

/* ---------------------------------------------- rideau (passage entre pages) */
.rideau {
  position: fixed;
  inset: 0;
  z-index: 4800;
  display: grid;
  place-items: center;
  background: var(--nuit);
  clip-path: inset(100% 0 0 0);
  pointer-events: none;
}
.rideau img {
  width: clamp(90px, 9vw, 130px);
}
.arrivee .rideau {
  clip-path: inset(0 0 0 0);
}

/* ------------------------------------------- comment ça marche (la vidéo) */
/* En-tête plus court que sur les autres pages : la vidéo se voit dès l'arrivée. */
.page-tete.page-tete--video {
  padding: calc(var(--nav-h) + clamp(48px, 6vw, 96px)) 0 clamp(56px, 7vw, 110px);
}
.page-tete--video .titre-page {
  font-size: clamp(52px, 6.4vw, 112px);
}
.page-tete--video .texte-lead {
  margin-top: clamp(14px, 1.6vw, 24px);
}
/* La vidéo entière, au format 16:9 : ses textes vont jusqu'aux bords, rien n'est rogné. */
.video-lyr {
  position: relative;
  margin-top: clamp(36px, 5vw, 72px);
  aspect-ratio: 16 / 9;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--nuit-2);
  box-shadow: 0 50px 120px -50px rgba(10, 11, 23, 0.9);
}
.video-lyr__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-lyr__commandes {
  position: absolute;
  z-index: 2;
  right: clamp(12px, 1.6vw, 22px);
  bottom: clamp(12px, 1.6vw, 22px);
  display: flex;
  gap: 8px;
}
.video-lyr__bouton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  border-radius: var(--pilule);
  background: rgba(23, 24, 41, 0.62);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--blanc);
  font-size: 14px;
  letter-spacing: 0.14em;
  transition: background-color 0.3s;
}
.video-lyr__bouton:hover {
  background: rgba(23, 24, 41, 0.88);
}
.video-lyr__bouton svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 560px) {
  .video-lyr {
    border-radius: 18px;
  }
  .video-lyr__commandes {
    right: 8px;
    bottom: 8px;
    gap: 6px;
  }
  .video-lyr__bouton {
    height: 36px;
    padding: 0 11px;
  }
  .video-lyr__bouton-texte {
    display: none;
  }
}

/* Les trois gestes côte à côte (page Comment ça marche) */
.gestes-grille {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 72px);
}
.gestes-grille .geste {
  width: auto;
  height: auto;
  min-height: clamp(400px, 36vw, 540px);
}
.gestes-grille .geste__num {
  font-size: clamp(90px, 8.4vw, 150px);
}
.gestes-grille .geste__icone {
  width: clamp(90px, 9vw, 160px);
}
.gestes-grille .geste__titre {
  font-size: clamp(54px, 5vw, 92px);
}
@media (max-width: 900px) {
  .gestes-grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .gestes-grille .geste {
    min-height: 340px;
  }
}

/* --------------------------------------------------- sections génériques */
.section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(100px, 12vw, 190px);
}
.section--serre {
  padding-block: clamp(64px, 8vw, 120px);
}
.section__tete {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 48px;
}
.section__tete .texte-lead {
  max-width: 24em;
}

/* En-tête des pages intérieures */
.page-tete {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(84px, 12vw, 160px)) 0 clamp(64px, 8vw, 120px);
}
.page-tete__motif {
  position: absolute;
  inset: 0;
  background: url("../img/motif-clair.webp") center top / cover no-repeat;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 95%);
  pointer-events: none;
}
.page-tete[data-theme="nuit"] .page-tete__motif {
  background-image: url("../img/motif-nuit.webp");
  opacity: 1;
}
.titre-page {
  font-size: clamp(56px, 8.8vw, 160px);
}
.fil {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 clamp(22px, 3vw, 40px);
  font-size: 14px;
  letter-spacing: 0.16em;
  color: var(--doux);
}
.fil li + li::before {
  content: "/";
  margin-right: 10px;
  opacity: 0.5;
}
.fil a:hover {
  color: var(--encre);
}

/* Bandeau d'appel en fin de page */
.appel {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: 26px;
  padding: clamp(56px, 8vw, 120px) clamp(28px, 6vw, 100px);
  border-radius: 36px;
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover no-repeat;
  color: var(--blanc);
}
.appel h2 {
  margin: 0;
  font-size: clamp(44px, 6.2vw, 110px);
  line-height: 0.9;
}
.appel .boutons {
  margin-top: 6px;
}

/* --------------------------------------------------------------- modèles */
.modeles__grille {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(44px, 5vw, 80px);
}
.modele-carte {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--surface);
  color: var(--encre);
  will-change: transform;
}
.modele-carte__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--argent);
}
.modele-carte__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.2s var(--ease);
}
.modele-carte:hover .modele-carte__image img {
  transform: scale(1.09);
}
.modele-carte__texte {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 2.6vw, 38px);
}
.modele-carte__texte .surtitre {
  margin-bottom: 2px;
}
.modele-carte h3 {
  margin: 0;
  font-size: clamp(38px, 3.6vw, 64px);
  line-height: 0.92;
}
.modele-carte p {
  color: var(--doux);
}
.lien-fleche {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 6px;
  color: var(--encre);
}
.lien-fleche::after {
  content: "→";
  transition: transform 0.6s var(--ease);
}
.modele-carte:hover .lien-fleche::after,
.lien-fleche:hover::after {
  transform: translateX(6px);
}

/* Les deux modèles côte à côte, en tête de la page Nos modèles : toute la carte mène à la fiche */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
}
.duo__carte {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--pur);
  box-shadow: inset 0 0 0 1px var(--trait);
  transition: transform 0.8s var(--ease), box-shadow 0.6s var(--ease);
}
.duo__carte:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px var(--trait-fort), 0 36px 80px -44px rgba(23, 24, 41, 0.5);
}
.duo__image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--argent);
}
.duo__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.duo__carte:hover .duo__image img {
  transform: scale(1.05);
}
.duo__num {
  position: absolute;
  top: clamp(14px, 1.6vw, 24px);
  left: clamp(18px, 2vw, 30px);
  font-size: clamp(54px, 5vw, 90px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--nuit);
}
.duo__texte {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(24px, 2.6vw, 40px);
}
.duo__pose {
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--doux);
}
.duo__nom {
  margin: 0;
  font-size: clamp(44px, 4.4vw, 78px);
  line-height: 0.9;
}
.duo__accroche {
  color: var(--doux);
}
.duo__faits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  list-style: none;
  margin: 8px 0 6px;
  padding: 0;
}
.duo__faits li {
  display: grid;
  gap: 4px;
  padding: 14px 16px 13px;
  border-radius: 16px;
  background: var(--blanc);
}
.duo__faits b {
  font-size: clamp(21px, 1.8vw, 28px);
  line-height: 1;
}
.duo__faits span {
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--doux);
}
.duo__lien::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.duo__carte:hover .lien-fleche::after {
  transform: translateX(6px);
}

/* Bascule flottante entre les deux fiches (visible pendant les fiches, suit le modèle à l'écran) */
.bascule {
  position: fixed;
  z-index: 950;
  left: 50%;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: flex;
  padding: 6px;
  border-radius: var(--pilule);
  background: rgba(23, 24, 41, 0.84);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  box-shadow: 0 20px 50px -20px rgba(10, 11, 23, 0.6);
  color: var(--blanc);
  visibility: hidden;
  transform: translate(-50%, calc(100% + 40px));
  transition: transform 0.8s var(--ease), visibility 0s linear 0.8s;
}
.bascule.est-visible {
  visibility: visible;
  transform: translate(-50%, 0);
  transition: transform 0.8s var(--ease), visibility 0s;
}
.bascule__curseur {
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;
  width: 0;
  border-radius: var(--pilule);
  background: var(--blanc);
  transition: transform 0.7s var(--ease), width 0.7s var(--ease);
}
.bascule__lien {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--pilule);
  font-size: 17px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  color: rgba(246, 246, 246, 0.78);
  transition: color 0.45s;
}
.bascule__lien[aria-current] {
  color: var(--nuit);
}

/* Fiche d'un modèle : les vues d'un côté, le texte de l'autre */
.modele {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 90px);
  align-items: center;
}
.modele__principale {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--argent);
}
.modele__principale img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modele__vignettes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.modele__vignette {
  width: clamp(64px, 6vw, 92px);
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  opacity: 0.55;
  background: var(--argent);
  transition: opacity 0.3s, box-shadow 0.3s;
}
.modele__vignette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modele__vignette:hover,
.modele__vignette[aria-pressed="true"] {
  opacity: 1;
}
.modele__vignette[aria-pressed="true"] {
  box-shadow: 0 0 0 2px var(--encre);
}
.modele__nom {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 96px);
  line-height: 0.9;
}
.modele__accroche {
  margin-top: 10px;
  font-size: clamp(22px, 1.9vw, 30px);
  color: var(--doux);
}
.modele__texte {
  margin-top: 18px;
  max-width: 30em;
  color: var(--doux);
}
.puces {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
}
.puces li {
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.puces li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lavande);
  box-shadow: 0 0 0 4px rgba(170, 166, 186, 0.25);
  transform: translateY(-2px);
}

.modele--inverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
.modele--inverse .modele__vues {
  order: 2;
}

/* Tuile annonceurs : la personne et la borne côte à côte (centimètres convertis en %, voir generer-site.mjs) */
.gabarit {
  position: relative;
  aspect-ratio: var(--l) / var(--h);
  color: var(--nuit);
}
.gabarit > span {
  position: absolute;
}
.gabarit__sol {
  left: -3%;
  right: -3%;
  bottom: 0;
  height: 1.5px;
  background: var(--trait-fort);
}
.gabarit__personne svg,
.dessin__personne svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: var(--lavande);
  opacity: 0.6;
}
.gabarit__legende {
  top: calc(100% + 14px);
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
}
.gabarit__legende b {
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1;
  letter-spacing: 0.06em;
}

/* La borne dessinée (tuile annonceurs et comparatif) : pieds, cadre, distributeur et écran, placés en % de la borne */
.borne-dessin > span {
  position: absolute;
}
.borne-dessin__piece,
.borne-dessin__cadre {
  background: var(--nuit);
}
.borne-dessin__cadre {
  border-radius: 4px;
  box-shadow: 0 18px 34px -16px rgba(10, 11, 23, 0.55);
}
.borne-dessin__facade {
  overflow: hidden;
  border-radius: 3px;
  background: var(--nuit);
}
.borne-dessin__facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.borne-dessin__ecran {
  overflow: hidden;
  border-radius: 2px;
  background: radial-gradient(120% 70% at 50% 35%, var(--pur), var(--blanc));
}
.borne-dessin__message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  padding: 10%;
  color: var(--nuit);
  text-align: center;
}
.borne-dessin__message + .borne-dessin__message {
  visibility: hidden;
}
.borne-dessin__message--nuit {
  background: var(--nuit) url("../img/motif-nuit.webp") center / cover;
  color: var(--blanc);
}
.borne-dessin__message img {
  width: 66%;
}
.borne-dessin__message em {
  font-style: normal;
  font-size: clamp(12px, 1.1vw, 16px);
  line-height: 1;
  letter-spacing: 0.06em;
}

/* Comparatif : chaque modèle dessiné à l'échelle au-dessus de sa colonne, ses mesures juste en dessous.
   --u : pixels par centimètre (le dessin fait 200 cm de haut). */
.compare-cadre {
  margin-top: clamp(40px, 5vw, 72px);
}
.compare {
  --u: clamp(1.2px, 0.16vw + 0.6px, 2.1px);
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: clamp(16px, 1.2vw, 20px);
}
.compare__col-libelle {
  width: 24%;
}
.compare thead td,
.compare thead th {
  padding: clamp(24px, 3vw, 44px) 8px 0;
  vertical-align: top; /* les dessins ont la même hauteur : le sol est aligné */
  font-weight: 400;
  background: var(--pur);
}
.compare thead td {
  border-radius: var(--rayon) 0 0 var(--rayon);
}
.compare thead th:last-child {
  border-radius: 0 var(--rayon) var(--rayon) 0;
}
/* Le sol court d'une colonne à l'autre */
.dessin {
  position: relative;
  display: block;
  height: calc(200 * var(--u));
  margin: 0 -8px;
  border-bottom: 1.5px solid var(--trait-fort);
}
.compare thead td .dessin {
  margin-left: 18px;
}
.compare thead th:last-child .dessin {
  margin-right: 18px;
}
.dessin > span {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.dessin__personne {
  width: calc(52 * var(--u));
  height: calc(175 * var(--u));
}
.dessin__mur {
  width: min(calc(100% - 16px), calc(130 * var(--u)));
  height: calc(190 * var(--u));
  border-radius: 8px 8px 0 0;
  background: repeating-linear-gradient(135deg, rgba(170, 166, 186, 0.18) 0 1px, transparent 1px 10px), rgba(170, 166, 186, 0.1);
}
/* Fixée au mur, le bas à 110 cm du sol */
.dessin > .dessin__murale {
  bottom: calc(110 * var(--u));
  width: calc(70.4 * var(--u));
  height: calc(40.7 * var(--u));
  overflow: hidden;
  border-radius: 3px;
  background: var(--nuit);
  box-shadow: 0 0 0 1.5px var(--nuit), 0 16px 30px -14px rgba(10, 11, 23, 0.6);
}
.dessin__murale img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dessin__borne {
  width: calc(77.5 * var(--u));
  height: calc(164 * var(--u));
}
/* Cotes : traits fins avec leurs butées, la mesure au milieu */
.dessin__cote {
  color: var(--nuit);
}
.dessin > .dessin__cote--h {
  bottom: calc(160 * var(--u));
  width: calc(70.4 * var(--u));
  height: 0;
  border-top: 1px solid currentColor;
}
.dessin > .dessin__cote--v {
  left: calc(50% + 47 * var(--u));
  transform: none;
  width: 0;
  height: calc(164 * var(--u));
  border-left: 1px solid currentColor;
}
.dessin__cote::before,
.dessin__cote::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.dessin__cote--h::before,
.dessin__cote--h::after {
  top: -5px;
  width: 1px;
  height: 9px;
}
.dessin__cote--h::before {
  left: 0;
}
.dessin__cote--h::after {
  right: 0;
}
.dessin__cote--v::before,
.dessin__cote--v::after {
  left: -5px;
  width: 9px;
  height: 1px;
}
.dessin__cote--v::before {
  top: 0;
}
.dessin__cote--v::after {
  bottom: 0;
}
.dessin__cote span {
  position: absolute;
  white-space: nowrap;
  font-size: clamp(12px, 1.05vw, 16px);
  line-height: 1;
  letter-spacing: 0.08em;
}
.dessin__cote--h span {
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
}
.dessin__cote--v span {
  top: 50%;
  left: 7px;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}
.compare__legende {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 16px 4px clamp(22px, 2.6vw, 34px);
  text-align: center;
}
.compare__nom {
  font-size: clamp(20px, 2.2vw, 36px);
  line-height: 0.95;
}
.compare__nom--repere {
  font-size: clamp(16px, 1.4vw, 22px);
  color: var(--doux);
}
.compare__pose {
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--doux);
}
.compare__groupe th {
  padding: clamp(28px, 3vw, 44px) 10px 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: var(--doux);
  border-bottom: 1px solid var(--trait-fort);
}
.compare tbody th[scope="row"] {
  padding: 14px 10px;
  text-align: left;
  vertical-align: middle;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--doux);
  border-bottom: 1px solid var(--trait);
}
.compare td {
  padding: 14px 10px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid var(--trait);
}
.compare__fort {
  font-size: clamp(24px, 2.4vw, 40px);
  line-height: 1;
}
.compare td small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--doux);
}
.compare__non {
  color: var(--gris-2);
}
.compare tbody tr:not(.compare__groupe) {
  transition: background-color 0.3s;
}
.compare tbody tr:not(.compare__groupe):hover {
  background: var(--pur);
}
.compare tfoot td {
  padding: clamp(24px, 3vw, 36px) 6px 0;
  text-align: center;
  border: 0;
}

/* Dans le détail : la façade, ses numéros et la liste qui leur répond */
.anatomie {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  margin-top: clamp(40px, 5vw, 72px);
}
.anatomie__image {
  position: relative;
  border-radius: clamp(12px, 1.6vw, 22px);
  box-shadow: 0 50px 110px -50px rgba(10, 11, 23, 0.9);
}
.anatomie__image img {
  width: 100%;
  border-radius: inherit;
}
.anatomie__point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  border-radius: 50%;
  background: var(--nuit);
  color: var(--blanc);
  font-size: 19px;
  box-shadow: 0 0 0 2px var(--blanc), 0 10px 24px -8px rgba(10, 11, 23, 0.7);
  transition: transform 0.5s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.anatomie__point::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1.5px solid var(--blanc);
  opacity: 0;
  pointer-events: none;
}
.anatomie__point.est-actif {
  transform: scale(1.18);
  background: var(--blanc);
  color: var(--nuit);
  box-shadow: 0 0 0 2px var(--nuit), 0 10px 24px -8px rgba(10, 11, 23, 0.7);
}
.anatomie__point.est-actif::after {
  animation: pouls 2s var(--ease) infinite;
}
.anatomie__liste {
  display: grid;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.anatomie__liste li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 4px;
  align-items: center;
  padding: 13px 16px;
  border-radius: 18px;
  transition: background-color 0.4s;
}
.anatomie__liste i {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-style: normal;
  font-size: 19px;
  transition: background-color 0.4s, color 0.4s;
}
.anatomie__liste b {
  font-size: clamp(22px, 1.8vw, 30px);
  line-height: 1;
}
.anatomie__liste span {
  line-height: 1.1;
  color: var(--doux);
}
.anatomie__liste li.est-actif {
  background: rgba(246, 246, 246, 0.08);
}
.anatomie__liste li.est-actif i {
  background: var(--blanc);
  color: var(--nuit);
  box-shadow: none;
}

/* Étapes numérotées (le trait se dessine au défilement) */
.etapes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  list-style: none;
  padding: 0;
  margin: clamp(40px, 5vw, 72px) 0 0;
}
.etapes::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 34px;
  height: 1px;
  background: var(--trait-fort);
  transform: scaleX(var(--trace, 1));
  transform-origin: left;
}
.etape {
  position: relative;
  padding-top: 92px;
}
.etape__num {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  font-size: 26px;
  transition: background-color 0.5s, color 0.5s;
}
.etape:hover .etape__num {
  background: var(--encre);
  color: var(--fond);
}
.etape h3 {
  margin: 0 0 10px;
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 0.95;
}
.etape p {
  color: var(--doux);
}

/* Types de lieux */
.lieux-grille {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(40px, 5vw, 72px);
}
.lieu {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 230px;
  padding: 26px 22px 28px;
  border-radius: 22px;
  background: var(--surface);
  transition: background-color 0.45s, color 0.45s, transform 0.7s var(--ease);
}
.lieu:hover {
  background: var(--encre);
  color: var(--fond);
  transform: translateY(-6px);
}
.lieu h3 {
  margin: 0;
  font-size: clamp(26px, 2vw, 34px);
  line-height: 0.95;
}
.lieu p {
  color: var(--doux);
  transition: color 0.45s;
}
.lieu:hover p {
  color: inherit;
}
.lieu svg {
  width: 40px;
  height: 40px;
  margin-bottom: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Questions fréquentes */
.faq {
  margin-top: clamp(36px, 4vw, 64px);
  border-top: 1px solid var(--trait-fort);
}
.faq details {
  border-bottom: 1px solid var(--trait-fort);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  list-style: none;
  cursor: pointer;
  font-size: clamp(22px, 1.9vw, 32px);
  line-height: 1.02;
  letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.6s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq__reponse {
  overflow: hidden;
}
.faq__reponse p {
  max-width: 46em;
  padding: 0 4px 28px;
  color: var(--doux);
}

/* Écran publicitaire animé sur la photo du totem */
.ecran-pub {
  position: relative;
  max-width: 540px;
  margin-inline: auto;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--argent);
}
.ecran-pub > img {
  width: 100%;
}
.ecran-pub__ecran {
  position: absolute;
  left: 29.44%;
  top: 35.25%;
  width: 41.11%;
  height: 51.92%;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 35%, var(--pur), #eef1f6);
  color: var(--nuit);
  text-align: center;
}
.ecran-pub__message {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10%;
  padding: 12%;
}
.ecran-pub__message img {
  width: 54%;
  margin-inline: auto;
}
.ecran-pub__message p {
  font-size: clamp(20px, 2.4vw, 38px);
  line-height: 0.95;
}
.ecran-pub__message small {
  display: block;
  margin-top: 0.4em;
  font-size: 0.45em;
  letter-spacing: 0.16em;
  color: var(--gris);
}
.pub {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: center;
}

/* -------------------------------------------------------------- histoire */
.recit {
  position: relative;
  margin-top: clamp(40px, 5vw, 80px);
  --col: clamp(150px, 16vw, 240px);
}
.recit__ligne {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--col);
  width: 1px;
  background: var(--trait);
}
.recit__ligne span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--lavande);
  transform: scaleY(0);
  transform-origin: top;
}
.chapitre {
  position: relative;
  display: grid;
  grid-template-columns: var(--col) minmax(0, 1fr);
  padding-block: clamp(30px, 4.4vw, 64px);
}
.chapitre__quand {
  position: relative;
  padding-right: clamp(20px, 2.4vw, 40px);
  text-align: right;
  font-size: clamp(17px, 1.3vw, 21px);
  letter-spacing: 0.16em;
  color: var(--doux);
}
.chapitre__quand::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 0.3em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--fond);
  box-shadow: 0 0 0 1.5px var(--lavande), 0 0 0 6px var(--fond);
}
.chapitre__corps {
  padding-left: clamp(26px, 3.4vw, 64px);
}
.chapitre h2 {
  margin: 0 0 16px;
  font-size: clamp(34px, 3.6vw, 62px);
  line-height: 0.94;
}
.chapitre p {
  max-width: 28em;
  font-size: clamp(20px, 1.6vw, 26px);
  line-height: 1.16;
  color: var(--doux);
}
.chapitre p + p {
  margin-top: 14px;
}
.citation-geante {
  margin: clamp(30px, 4vw, 60px) 0;
  font-size: clamp(46px, 7.4vw, 132px);
  line-height: 0.9;
}
.citation-geante .ligne {
  display: block;
  overflow: clip;
  padding-block: 0.14em 0.06em;
  margin-block: -0.14em -0.06em;
}
.fondateurs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 24px);
  margin-top: clamp(40px, 5vw, 72px);
}
.fondateur {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(280px, 26vw, 380px);
  padding: clamp(26px, 3vw, 44px);
  border-radius: var(--rayon);
  background: var(--surface);
  overflow: hidden;
}
.fondateur__initiale {
  position: absolute;
  top: -0.1em;
  right: 0.08em;
  font-size: clamp(170px, 19vw, 320px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--trait-fort);
  transition: color 0.8s var(--ease), -webkit-text-stroke-color 0.8s;
}
.fondateur:hover .fondateur__initiale {
  color: var(--lavande);
  -webkit-text-stroke-color: transparent;
}
.fondateur h3 {
  position: relative;
  margin: 0;
  font-size: clamp(36px, 3.4vw, 58px);
  line-height: 0.92;
}
.fondateur p {
  position: relative;
  margin-top: 8px;
  color: var(--doux);
}

/* --------------------------------------------------------------- contact */
.contact-grille {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 110px);
  align-items: start;
}
.coordonnees {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: grid;
  gap: 30px;
}
.coordonnees a.grand {
  display: inline-block;
  font-size: clamp(26px, 2.4vw, 40px);
  line-height: 1;
}
.coordonnees p {
  color: var(--doux);
}
.formulaire {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  padding: clamp(24px, 3.4vw, 52px);
  border-radius: var(--rayon);
  background: var(--surface);
}
.champ {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.champ--large {
  grid-column: 1 / -1;
}
.champ label {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--doux);
}
.champ input,
.champ select,
.champ textarea {
  width: 100%;
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 1px solid var(--trait-fort);
  border-radius: 0;
  background: transparent;
  color: var(--encre);
  font: inherit;
  font-size: 20px;
  letter-spacing: 0.04em;
  outline: none;
  transition: border-color 0.3s;
}
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  border-bottom-color: var(--encre);
}
.champ select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 6l5 5 5-5' fill='none' stroke='%23171829' stroke-width='1.6'/%3E%3C/svg%3E")
    right 4px center / 14px no-repeat;
}
.champ textarea {
  min-height: 140px;
  resize: vertical;
}
.case {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--doux);
}
.case input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--nuit);
}
.formulaire__envoi {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.formulaire__etat {
  color: var(--doux);
}
.robot {
  position: absolute;
  left: -9999px;
}
.merci {
  grid-column: 1 / -1;
  display: grid;
  justify-items: start;
  gap: 14px;
}
.merci[hidden] {
  display: none;
}
.merci svg {
  width: 64px;
  height: 64px;
  fill: none;
  stroke: var(--encre);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.merci h2 {
  margin: 0;
  font-size: clamp(36px, 3.4vw, 56px);
  line-height: 0.92;
}

/* ------------------------------------------------------- pages légales */
.legal {
  max-width: 52em;
}
.legal__maj {
  margin-bottom: 40px;
  font-size: 15px;
  letter-spacing: 0.16em;
  color: var(--doux);
}
.legal h2 {
  margin: clamp(44px, 5vw, 72px) 0 16px;
  font-size: clamp(30px, 2.8vw, 46px);
  line-height: 0.95;
}
.legal h2:first-of-type {
  margin-top: 0;
}
.legal p,
.legal li {
  font-size: clamp(18px, 1.3vw, 21px);
  line-height: 1.32;
  color: var(--doux);
}
.legal p + p {
  margin-top: 12px;
}
.legal ul {
  margin: 10px 0;
  padding-left: 1.1em;
}
.legal a {
  color: var(--encre);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------- page 404 */
.page-404 {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px var(--gouttiere) 80px;
  text-align: center;
}
.page-404 h1 {
  margin: 0 0 22px;
  font-size: clamp(64px, 11vw, 200px);
  line-height: 0.86;
}
.page-404 .boutons {
  justify-content: center;
  margin-top: 28px;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .chiffres {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 64px;
  }
  .nav__liens {
    gap: 18px;
    font-size: 16px;
  }
  .pied__grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .pied__marque,
  .pied__legal-bloc {
    grid-column: span 3;
  }
}

@media (max-width: 1060px) {
  .nav__cta {
    display: none;
  }
}

@media (max-width: 900px) {
  :root {
    --nav-h: 56px;
  }
  .nav {
    padding-left: 20px;
  }
  .nav__liens,
  .nav__cta {
    display: none;
  }
  .burger {
    display: block;
  }

  /* Le titre en haut, le distributeur au milieu, le texte et le bouton en bas */
  .heros__grille {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    justify-items: center;
    padding: calc(14px + var(--nav-h) + 18px) var(--gouttiere) 28px;
    text-align: center;
  }
  .heros__surtitre {
    grid-row: 1;
    margin-bottom: 10px;
  }
  .heros__surtitre::before {
    display: none;
  }
  .heros__titre {
    grid-row: 2;
    align-items: center;
    font-size: clamp(56px, 16vw, 112px);
  }
  .heros__objet {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }
  .heros__lead {
    grid-row: 4;
    margin-top: 4px;
    font-size: clamp(19px, 5vw, 26px);
  }
  .heros__boutons {
    grid-row: 5;
    justify-content: center;
    margin-top: 16px;
  }

  .scene {
    height: 400vh;
  }
  .scene__collant {
    border-radius: 28px 28px 0 0;
  }
  .scene__annonce h2 {
    white-space: normal;
    width: 80vw;
  }
  .repere__texte {
    white-space: normal;
    width: 34vw;
  }
  .repere__texte strong {
    font-size: 18px;
  }
  .repere__texte span {
    display: none;
  }

  .gestes__cadre {
    height: auto;
    padding-block: clamp(100px, 16vw, 140px);
  }
  .gestes__piste {
    flex-direction: column;
    width: auto;
    gap: 16px;
  }
  .gestes__intro {
    width: auto;
    padding: 0 0 24px;
  }
  .geste {
    width: auto;
    height: auto;
    min-height: 380px;
    gap: 28px;
  }
  .gestes__jauge {
    display: none;
  }

  .buses__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .panneau {
    justify-self: center;
  }

  .pied__grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pied__marque,
  .pied__legal-bloc {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .chargement__slogan {
    display: none;
  }
  .chiffres {
    gap: 28px 16px;
  }
  .pied__grille {
    grid-template-columns: minmax(0, 1fr);
  }
  .pied__marque,
  .pied__legal-bloc {
    grid-column: auto;
  }
  .pied__legal {
    flex-direction: column;
  }
  .pied__bas {
    align-items: flex-end;
  }
  /* Un long libellé passe sur deux lignes plutôt que de sortir du bandeau */
  .btn--grand {
    height: auto;
    min-height: 64px;
    max-width: 100%;
    padding: 12px 24px;
    white-space: normal;
    text-align: center;
  }
  .appel {
    padding-inline: 22px;
  }
}

/* Composants des pages (accueil vidéo, modèles, partenaires, histoire, contact) */
@media (max-width: 1100px) {
  .lieux-grille {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .modeles__grille,
  .fondateurs,
  .pub,
  .contact-grille,
  .modele,
  .modele--inverse,
  .duo,
  .anatomie {
    grid-template-columns: minmax(0, 1fr);
  }
  .modele--inverse .modele__vues {
    order: 0;
  }
  .etapes {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }
  .etapes::before {
    left: 34px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
    transform: scaleY(var(--trace, 1));
    transform-origin: top;
  }
  .etape {
    min-height: 68px;
    padding: 0 0 0 96px;
  }
  .coordonnees {
    position: static;
  }
  .recit {
    --col: 0px;
  }
  .recit__ligne {
    left: 7px;
  }
  .chapitre {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding-left: 34px;
  }
  .chapitre__quand {
    padding-right: 0;
    text-align: left;
  }
  .chapitre__quand::after {
    right: auto;
    left: -33px;
  }
  .chapitre__corps {
    padding-left: 0;
  }
  .appel {
    border-radius: 28px;
  }
}
@media (max-width: 700px) {
  .lieux-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .formulaire {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 460px) {
  .lieux-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .heros__boutons .btn--contour {
    display: none;
  }
  .duo__faits b {
    font-size: 19px;
  }
  .bascule__lien {
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
  .anatomie__point {
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    font-size: 15px;
  }
  .anatomie__point::after {
    inset: -6px;
  }
  .anatomie__liste li {
    padding: 10px 12px;
  }
  .compare {
    font-size: 14px;
  }
  .compare thead td,
  .compare thead th {
    padding-left: 4px;
    padding-right: 4px;
  }
  .dessin {
    margin: 0 -4px;
  }
  .compare thead td .dessin {
    margin-left: 10px;
  }
  .compare thead th:last-child .dessin {
    margin-right: 10px;
  }
  .compare__nom {
    font-size: 17px;
  }
  .compare__pose {
    font-size: 11px;
    letter-spacing: 0.1em;
  }
  .compare tbody th[scope="row"] {
    padding: 12px 4px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .compare td {
    padding: 12px 4px;
  }
  .compare__fort {
    font-size: 22px;
  }
  .compare td small {
    font-size: 11px;
  }
  .compare tfoot .btn {
    height: 46px;
    padding: 0 16px;
    font-size: 15px;
  }
  .diffusion {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    row-gap: 22px;
  }
  .diffusion__fleche:nth-of-type(2) {
    display: none;
  }
  .diffusion__ecrans {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .diffusion__ecrans li {
    flex-direction: column;
    gap: 8px;
    padding: 10px 6px;
    text-align: center;
  }
}
@media (min-width: 901px) and (max-height: 660px) {
  .heros__boutons .btn {
    height: 48px;
  }
}

/* Sans animation (mouvement réduit, ou scripts indisponibles) : tout est visible, sans scène collante */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .heros {
    height: auto;
  }
  .heros__collant {
    position: relative;
  }
  .scene {
    height: auto;
    margin-top: 0;
  }
  .scene__collant {
    position: relative;
  }
  .scene__annonce {
    display: none;
  }
  .manifeste {
    margin-top: 0;
  }
}
.sans-anim .heros {
  height: auto;
}
.sans-anim .heros__collant {
  position: relative;
}
.sans-anim .heros__3d {
  display: none;
}
.sans-anim .heros__repli {
  display: block;
}
.sans-anim .scene {
  height: auto;
  margin-top: 0;
}
.sans-anim .scene__collant {
  position: relative;
}
.sans-anim .scene__3d {
  display: none;
}
.sans-anim .scene__repli {
  display: block;
}
.sans-anim .reperes,
.sans-anim .scene__annonce {
  display: none;
}
.sans-anim .manifeste {
  margin-top: 0;
}
