/* ============================================================================
   DEVISALY — v3 « LUMIÈRE CLAIRE » · 2026-10-18 (2e passe)
   ---------------------------------------------------------------------------
   Même architecture, mêmes objets en 3D, mêmes mouvements que la nuit — sur fond
   clair. Une page Apple claire ne s'obtient pas en inversant les couleurs : la
   profondeur vient d'OMBRES larges et basses, de liserés blancs et d'une lumière
   diffuse qui tombe du haut de l'écran.

   · canevas #fbfbf9, nappes ambre/bleu à 10-16 %, aucun gris sale ;
   · l'appareil est en ALUMINIUM (dégradé clair, liseré net), plus en métal noir ;
   · ombres larges et très diffuses, jamais dures ;
   · bouton principal à l'ENCRE, secondaire en verre blanc.
   ========================================================================== */

:root {
  --fond: #fbfbf9;
  --fond-2: #f4f3ef;
  --surface: #ffffff;
  --encre: #0a0b10;
  --encre-70: rgb(10 11 16 / .68);
  --encre-45: rgb(10 11 16 / .60);   /* 5,1:1 sur #fbfbf9 — 46 % tombait à 3,2:1 */
  --encre-28: rgb(10 11 16 / .40);
  --filet: rgb(10 11 16 / .09);
  --filet-2: rgb(10 11 16 / .06);
  --ambre: #9a6a24;
  --ambre-clair: #c08a3e;
  --bleu: #4d6fd6;
  --police: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --r: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --ombre-1: 0 2px 4px -2px rgb(10 12 30 / .10), 0 14px 30px -22px rgb(10 12 30 / .28);
  --ombre-2: 0 4px 10px -6px rgb(10 12 30 / .12), 0 30px 60px -34px rgb(10 12 30 / .30);
  --ombre-3: 0 40px 90px -40px rgb(10 12 30 / .38);
  --lisere: inset 0 1px 0 0 rgb(255 255 255 / .95);
}

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('fonts/inter/inter-300-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('fonts/inter/inter-400-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('fonts/inter/inter-500-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('fonts/inter/inter-600-normal-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('fonts/inter/inter-700-normal-latin.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; }
#nuee-fond, canvas#nuee-fond, .nuee-fond { display: none !important; }

html { background: var(--fond); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.045em; line-height: .98; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ambre); outline-offset: 4px; }
::selection { background: rgb(154 106 36 / .18); }

/* ---------------------------------------------------------------------------
   1. LA LUMIÈRE
   --------------------------------------------------------------------------- */
.ciel {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58% 40% at 18% 0%,  rgb(224 163 74 / .16) 0%, rgb(224 163 74 / .04) 44%, transparent 72%),
    radial-gradient(50% 38% at 86% 8%,  rgb(77 111 214 / .12) 0%, rgb(77 111 214 / .03) 46%, transparent 74%),
    radial-gradient(70% 44% at 50% 100%, rgb(224 163 74 / .07) 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--fond) 34%, var(--fond) 100%);
}
.ciel::after {
  content: "";
  position: absolute; inset: 0;
  opacity: .10;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------------------------
   2. NAVIGATION
   --------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 80;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(18px, 4vw, 44px);
  background: rgb(255 255 255 / .72);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--filet-2);
}
.nav__marque { display: flex; align-items: center; gap: 9px; font-size: 1.0625rem; font-weight: 700; letter-spacing: -.04em; color: var(--encre); }
.nav__marque img { width: 22px; height: 22px; opacity: .9; }
.nav__liens { display: flex; align-items: center; gap: 26px; margin-left: 14px; }
.nav__liens a { font-size: .8125rem; font-weight: 500; color: var(--encre-70); transition: color .2s var(--ease); }
.nav__liens a:hover, .nav__liens a[aria-current="true"] { color: var(--encre); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav__tel { font-size: .8125rem; color: var(--encre-70); }
.nav__pilule {
  display: inline-flex; align-items: center; height: 32px; padding: 0 15px;
  border-radius: 999px; font-size: .8125rem; font-weight: 600;
  color: #fff; background: var(--encre);
  box-shadow: var(--ombre-1);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav__pilule:hover { transform: translateY(-1px); box-shadow: var(--ombre-2); }

/* ---------------------------------------------------------------------------
   3. MISE EN PAGE
   --------------------------------------------------------------------------- */
.page { position: relative; z-index: 1; }
.bloc { padding: clamp(72px, 10vw, 160px) 0; }
.bloc__int { width: min(100% - 2 * clamp(20px, 5vw, 56px), 1220px); margin-inline: auto; }
.surtitre {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ambre);
}
.surtitre::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--ambre-clair); box-shadow: 0 0 10px 1px rgb(192 138 62 / .55);
}
.titre-xl { font-size: clamp(2.6rem, 5.8vw, 5rem); letter-spacing: -.05em; line-height: .96; }
.titre-l { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -.045em; line-height: 1; }
.titre-m { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.035em; line-height: 1.1; }
.chapeau { font-size: clamp(1rem, 1.4vw, 1.1875rem); line-height: 1.55; color: var(--encre-70); font-weight: 400; }
.degrade {
  background: linear-gradient(96deg, #0a0b10 34%, #7a4f18 78%, #a8752a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.bouton {
  display: inline-flex; align-items: center; gap: 9px;
  height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  color: #fff; background: var(--encre);
  box-shadow: 0 2px 4px -2px rgb(10 12 30 / .18), 0 16px 30px -18px rgb(10 12 30 / .45);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.bouton:hover { transform: translateY(-2px) scale(1.012); box-shadow: 0 4px 8px -4px rgb(10 12 30 / .2), 0 22px 40px -20px rgb(10 12 30 / .5); }
.bouton--verre {
  color: var(--encre);
  background: rgb(255 255 255 / .78);
  border: 1px solid rgb(10 11 16 / .08);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  box-shadow: var(--lisere), var(--ombre-1);
}
.bouton--verre:hover { background: #fff; box-shadow: var(--lisere), var(--ombre-2); }

/* ---------------------------------------------------------------------------
   4. LE HÉROS
   --------------------------------------------------------------------------- */
.heros {
  position: relative;
  min-height: 88svh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 100px 0 60px;
  width: min(100% - 2 * clamp(20px, 5vw, 56px), 1320px);
  margin-inline: auto;
}
.heros__texte { position: relative; z-index: 2; }
.heros__titre { margin-top: 20px; }
.heros__sous { margin-top: 22px; max-width: 46ch; }
.heros__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.heros__preuves {
  margin-top: 44px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  font-size: .8125rem; color: var(--encre-45);
}
.heros__preuves b { color: var(--encre); font-weight: 600; }

.scene {
  position: relative;
  perspective: 1600px;
  perspective-origin: 50% 45%;
  height: min(80vh, 680px);
  display: grid;
  place-items: center;
}
.halo {
  position: absolute; inset: -6% -6%;
  background:
    radial-gradient(closest-side, rgb(224 163 74 / .28), transparent 72%),
    radial-gradient(closest-side at 64% 40%, rgb(77 111 214 / .16), transparent 74%);
  filter: blur(46px);
  z-index: 0;
}
.appareil {
  position: relative;
  z-index: 1;
  width: min(100%, 552px);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 8deg)) rotateY(var(--ry, -16deg)) translateZ(0);
  transition: transform .5s var(--ease-out);
  will-change: transform;
}
.appareil__cadre {
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: linear-gradient(155deg, #ffffff 0%, #f2f2f5 26%, #dcdce2 62%, #f7f7fa 100%);
  box-shadow:
    0 0 0 1px rgb(10 11 16 / .10),
    inset 0 1px 0 0 rgb(255 255 255 / 1),
    inset 0 -1px 0 0 rgb(10 11 16 / .08),
    0 30px 50px -30px rgb(10 12 30 / .45),
    0 70px 110px -50px rgb(10 12 30 / .35);
  transform-style: preserve-3d;
}
.appareil__ecran {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  aspect-ratio: 16 / 10.4;
  box-shadow: inset 0 0 0 1px rgb(10 11 16 / .10);
}
.appareil__ecran::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgb(255 255 255 / .55) 0%, rgb(255 255 255 / .12) 24%, transparent 40%);
  pointer-events: none;
}
.appareil__sol {
  position: absolute;
  left: 8%; right: 8%;
  top: calc(100% + 14px);
  height: 110px;
  border-radius: 10px;
  background:
    radial-gradient(60% 80% at 50% 0%, rgb(10 12 30 / .16), transparent 74%),
    radial-gradient(40% 60% at 50% 6%, rgb(154 106 36 / .12), transparent 78%);
  filter: blur(16px);
  opacity: .9;
  transform: rotateX(74deg) scaleY(.55);
  transform-origin: top center;
}
.pastille {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .8125rem; font-weight: 500; color: var(--encre);
  background: rgb(255 255 255 / .82);
  border: 1px solid rgb(255 255 255 / .95);
  box-shadow: var(--lisere), 0 20px 40px -24px rgb(10 12 30 / .5), 0 0 0 1px rgb(10 11 16 / .05);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  white-space: nowrap;
  animation: flotte 7s ease-in-out infinite;
}
.pastille i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 8px 1px rgb(22 163 74 / .55); }
.pastille--a { top: -5%; left: 10%; animation-delay: -1.4s; }
.pastille--b { bottom: -5%; right: 6%; animation-delay: -3.2s; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* la maquette dans l'écran */
.maquette {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  background: #ffffff;
  color: #14151a;
  font-family: var(--police);
  overflow: hidden;
}
.maquette__gauche { padding: 16px 14px 14px 18px; display: flex; flex-direction: column; min-width: 0; }
.maquette__barre { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 8px; letter-spacing: .03em; white-space: nowrap; }
.maquette__barre > * { white-space: nowrap; }
.maquette__marque { font-weight: 700; letter-spacing: .02em; }
.maquette__nav { color: #8a8a92; overflow: hidden; text-overflow: ellipsis; }
.maquette__tel { font-weight: 600; padding: 3px 7px; border-radius: 4px; background: #14151a; color: #fff; }
.maquette__kicker { margin-top: 14px; font-size: 7.5px; font-weight: 600; color: #9a6a24; letter-spacing: .07em; text-transform: uppercase; }
.maquette__titre { margin-top: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.maquette__sous { margin-top: 9px; font-size: 8.5px; color: #6a6b73; line-height: 1.5; max-width: 30ch; }
.maquette__badges { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.maquette__badges span {
  font-size: 7px; font-weight: 600; letter-spacing: .02em;
  padding: 4px 7px; border-radius: 99px;
  background: #f4f1ea; color: #7a6440; border: 1px solid #e8e2d6;
}
.maquette__cta {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center;
  height: 26px; padding: 0 13px;
  border-radius: 99px; background: #14151a; color: #fff;
  font-size: 8.5px; font-weight: 600;
}
.maquette__droite {
  margin: 9px 10px 9px 0;
  border-radius: 8px;
  background: linear-gradient(165deg, #ffffff 0%, #faf7f2 58%, #f3ece1 100%);
  border: 1px solid #ece7dd;
  padding: 12px 13px;
  display: flex; flex-direction: column; gap: 6px; min-width: 0;
}
.maquette__prix { display: grid; gap: 0; margin-top: 2%; }
.maquette__prix li {
  display: flex; justify-content: space-between; gap: 6px;
  padding: 7px 0;
  border-top: 1px solid #ece7dd;
  font-size: 8.5px; color: #55565e;
}
.maquette__prix li:first-child { border-top: 0; }
.maquette__prix b { color: #14151a; font-weight: 600; }
.maquette__note { margin-top: auto; font-size: 6.5px; color: #8a8a92; line-height: 1.4; overflow: hidden; }

/* ---------------------------------------------------------------------------
   5. CARTES 3D
   --------------------------------------------------------------------------- */
.grille-3d { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.carte-3d {
  position: relative;
  display: block;
  border-radius: var(--r);
  padding: 9px;
  background: #fff;
  border: 1px solid var(--filet-2);
  box-shadow: var(--lisere), var(--ombre-1);
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(var(--cx, 0deg)) rotateY(var(--cy, 0deg)) translateZ(0);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
  will-change: transform;
}
.carte-3d:hover { box-shadow: var(--lisere), var(--ombre-3), 0 0 0 1px rgb(154 106 36 / .10); }
.carte-3d::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px 220px at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / .85), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.carte-3d:hover::after { opacity: .7; }
.carte-3d__ecran { border-radius: 15px; overflow: hidden; background: #fff; border: 1px solid var(--filet-2); }
.carte-3d__chrome {
  display: flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 10px;
  background: #f6f5f3;
  border-bottom: 1px solid var(--filet-2);
}
.carte-3d__chrome i { width: 6px; height: 6px; border-radius: 50%; background: rgb(10 11 16 / .16); }
.carte-3d__chrome span { margin-left: 6px; font-size: .6875rem; color: var(--encre-45); letter-spacing: .01em; }
.carte-3d__vue { aspect-ratio: 16 / 10; overflow: hidden; }
/* ⚠️ les captures d'exemple sont des pages entières : centrées, elles coupaient
   le début du titre (« JITE, CHAUFFE- »). On cale à gauche et en haut. */
.carte-3d__vue img {
  width: 100%; height: 100%; object-fit: cover; object-position: 0 0;
  /* ⚠️ les captures sont des pages ENTIÈRES : sans fondu, la coupe tombait au
     milieu d'un titre. Le dégradé fait lire la coupe comme un choix. */
  -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 74%, transparent 100%);
}
.carte-3d__pied { display: grid; gap: 2px; padding: 13px 8px 6px; }
.carte-3d__nom { font-size: .9375rem; font-weight: 600; color: var(--encre); }
.carte-3d__quoi { font-size: .8125rem; color: var(--encre-45); }

/* ---------------------------------------------------------------------------
   6. LA SÉQUENCE
   --------------------------------------------------------------------------- */
.sequence { position: relative; height: 260vh; }
.sequence__collant {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
}
.sequence__grille {
  width: min(100% - 2 * clamp(20px, 5vw, 56px), 1220px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.sequence__sur { margin-top: 10px; font-size: .8125rem; color: var(--encre-45); letter-spacing: .04em; }
.sequence__numero {
  font-size: clamp(5rem, 13vw, 11rem);
  font-weight: 600;
  letter-spacing: -.07em;
  line-height: .92;
  padding-bottom: 10px;   /* le chiffre était rogné en bas par `line-height: .8` */
  color: transparent;
  -webkit-text-stroke: 1px rgb(10 11 16 / .16);
}
/* ⚠️ le dégradé `background-clip: text` ROGNAIT le chiffre en bas : le glyphe
   dépasse la boîte de ligne, et la partie hors boîte n'a pas de fond. Couleur
   pleine, tout simplement. */
.sequence__numero.plein { -webkit-text-stroke: 0; color: var(--encre); background: none; }
.sequence__jalons { display: flex; gap: 10px; margin-top: 18px; }
.sequence__jalons span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; color: var(--encre-45);
  padding: 5px 10px; border-radius: 99px;
  border: 1px solid var(--filet);
  background: rgb(255 255 255 / .5);
  transition: color .3s, border-color .3s, background-color .3s;
}
.sequence__jalons span.on { color: var(--encre); border-color: rgb(154 106 36 / .35); background: rgb(224 163 74 / .12); }
.sequence__etapes { position: relative; min-height: 300px; }
.etape {
  position: absolute; inset: 0;
  display: grid; align-content: center; gap: 14px;
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out);
  pointer-events: none;
}
.etape.actif { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.etape__titre { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.04em; }
.etape__dit { font-size: 1.0625rem; color: var(--encre-70); max-width: 40ch; line-height: 1.55; }
.etape__fai { font-size: .875rem; color: var(--encre-45); }
.sequence__barre { margin-top: 26px; height: 2px; background: rgb(10 11 16 / .10); border-radius: 2px; overflow: hidden; }
.sequence__barre i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--ambre), var(--ambre-clair)); transition: width .5s var(--ease-out); }

/* ---------------------------------------------------------------------------
   7. PANNEAU DE PRIX
   --------------------------------------------------------------------------- */
.panneau {
  position: relative;
  border-radius: 30px;
  padding: clamp(26px, 4vw, 54px);
  background: #fff;
  border: 1px solid var(--filet-2);
  box-shadow: var(--lisere), var(--ombre-2);
  overflow: hidden;
}
.panneau::before {
  content: "";
  position: absolute; left: -20%; top: -70%;
  width: 70%; height: 200%;
  background: radial-gradient(closest-side, rgb(224 163 74 / .16), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.panneau__grille { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.chiffre { font-size: clamp(3rem, 6vw, 5rem); font-weight: 600; letter-spacing: -.055em; line-height: .95; color: var(--encre); }
.chiffre small { display: block; margin-top: 10px; font-size: .9375rem; font-weight: 500; color: var(--encre-45); letter-spacing: 0; line-height: 1.5; }
.inclus { display: grid; gap: 0; }
.inclus li {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 15px 0;
  border-top: 1px solid var(--filet-2);
  font-size: .9375rem; color: var(--encre-70);
}
.inclus li:first-child { border-top: 0; }
.inclus b { color: var(--encre); font-weight: 600; }
.panneau__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------------------
   8. FIN + PIED
   --------------------------------------------------------------------------- */
.fin { text-align: center; padding: clamp(80px, 12vw, 180px) 0 clamp(60px, 8vw, 120px); }
.fin__titre { font-size: clamp(2.4rem, 6.4vw, 5.2rem); letter-spacing: -.055em; line-height: .95; max-width: 18ch; margin: 18px auto 0; }
.fin__dit { margin-top: 20px; color: var(--encre-70); font-size: 1.0625rem; }
.fin__actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

.pied { border-top: 1px solid var(--filet-2); padding: 48px 0 40px; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.pied__titre { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--encre-45); margin-bottom: 12px; }
.pied a { display: block; padding: 4px 0; font-size: .875rem; color: var(--encre-70); }
.pied a:hover { color: var(--encre); }
.pied__bas { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--filet-2); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .75rem; color: var(--encre-45); }

/* ---------------------------------------------------------------------------
   9. ENTRÉES EN SCÈNE
   --------------------------------------------------------------------------- */
.entree { opacity: 0; transform: translateY(34px); filter: blur(10px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), filter .9s var(--ease-out); }
.entree.vu { opacity: 1; transform: none; filter: none; }
.entree[data-retard="1"] { transition-delay: .09s; }
.entree[data-retard="2"] { transition-delay: .18s; }
.entree[data-retard="3"] { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  .entree, .etape { opacity: 1 !important; transform: none !important; filter: none !important; }
  .pastille { animation: none; }
  .appareil { transform: none; }
}

/* ---------------------------------------------------------------------------
   10. PAGES INTÉRIEURES
   --------------------------------------------------------------------------- */
.entete { padding: clamp(64px, 9vw, 130px) 0 clamp(20px, 3vw, 40px); }
.entete__titre { font-size: clamp(2.2rem, 4.2vw, 3.5rem); letter-spacing: -.048em; line-height: 1; max-width: 22ch; margin-top: 16px; }
.entete__dit { margin-top: 20px; max-width: 52ch; }
.registre { border-top: 1px solid var(--filet-2); margin-top: clamp(20px, 3vw, 38px); }
.registre__ligne {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(14px, 3vw, 40px);
  align-items: start;
  padding: clamp(20px, 2.6vw, 34px) 0;
  border-bottom: 1px solid var(--filet-2);
}
.registre__no { font-size: .75rem; font-weight: 600; color: var(--ambre); font-variant-numeric: tabular-nums; padding-top: 6px; }
.registre__nom { font-size: clamp(1.125rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.03em; }
.registre__dit { font-size: .9375rem; color: var(--encre-70); line-height: 1.55; margin-top: 8px; max-width: 46ch; }
.registre__prix { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.registre__chiffre { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 600; letter-spacing: -.045em; }
.registre__chiffre small { font-size: .8125rem; font-weight: 500; color: var(--encre-45); letter-spacing: 0; }
.registre__note { font-size: .75rem; color: var(--encre-45); max-width: 30ch; line-height: 1.5; }
.mise-en-avant { background: rgb(224 163 74 / .05); }
.pastille-ambre {
  display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
  border-radius: 99px; font-size: .6875rem; font-weight: 600;
  color: var(--ambre); background: rgb(224 163 74 / .12); border: 1px solid rgb(154 106 36 / .18);
}
.galerie-3d { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.champ { display: grid; gap: 6px; }
.champ span { font-size: .75rem; font-weight: 500; color: var(--encre-45); }
.carte-form {
  padding: clamp(22px, 3vw, 32px);
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--filet-2);
  box-shadow: var(--lisere), var(--ombre-2);
}
select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid rgb(10 11 16 / .12); border-radius: 12px;
  background: #fff; font-size: .9375rem; color: var(--encre);
  box-shadow: inset 0 1px 2px rgb(10 12 30 / .04);
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
/* ⚠️ L'anneau à 7 % d'opacité donnait un contraste de 1,1:1 : invisible.
   WCAG 2.4.7 demande un indicateur visible — on garde la bordure d'encre ET
   un halo à 18 %, plus le contour d'accent du :focus-visible global. */
select:focus, input:focus, textarea:focus {
  outline: 2px solid var(--encre); outline-offset: 1px;
  border-color: var(--encre); box-shadow: 0 0 0 5px rgb(10 11 16 / .12);
}
textarea { height: auto; min-height: 110px; padding: 12px 14px; }
.liste-simple { display: grid; gap: 0; }
.liste-simple li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 13px 0; border-top: 1px solid var(--filet-2);
  font-size: .9375rem; color: var(--encre-70);
}
.liste-simple li:first-child { border-top: 0; }
.liste-simple b { color: var(--encre); font-weight: 600; }

/* ---------------------------------------------------------------------------
   11. ÉCRANS ÉTROITS
   --------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .heros { grid-template-columns: 1fr; padding-top: 84px; min-height: 0; gap: 30px; }
  .scene { height: auto; margin-top: 10px; overflow: hidden; }
  .appareil { transform: rotateX(6deg) rotateY(-8deg); }
  .pastille { font-size: .75rem; padding: 8px 11px; }
  .pastille--a { left: 4px; top: -14px; }
  .pastille--b { right: 4px; bottom: -12px; }
  .maquette__nav { display: none; }
  .grille-3d, .galerie-3d { grid-template-columns: 1fr; }
  .sequence { height: auto; }
  .sequence__collant { position: static; height: auto; padding: 60px 0; }
  .sequence__grille { grid-template-columns: 1fr; gap: 20px; }
  .sequence__etapes { min-height: 0; }
  .etape { position: static; opacity: 1; transform: none; filter: none; padding: 18px 0; border-top: 1px solid var(--filet-2); }
  .etape:first-child { border-top: 0; }
  .panneau__grille, .registre__ligne { grid-template-columns: 1fr; }
  .registre__no { padding-top: 0; }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .nav__tel { display: none; }
  /* ⚠️ la nav perdait TOUS ses liens sur téléphone (aucun menu) : on passe la barre
     sur deux lignes, la seconde fait défiler les liens. */
  .nav {
    height: auto; min-height: 56px;
    flex-wrap: wrap; gap: 10px;
    padding: 10px clamp(16px, 4vw, 44px) 0;
  }
  .nav__liens {
    order: 3; width: 100%; margin-left: 0; gap: 20px;
    overflow-x: auto; padding: 0 0 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav__liens::-webkit-scrollbar { display: none; }
  .nav__liens a { white-space: nowrap; }
  .heros { padding-top: 116px; }
}
@media (max-width: 620px) {
  .maquette { grid-template-columns: 1fr; }
  .maquette__droite { display: none; }
  .maquette__titre { font-size: 17px; }
  .nav__pilule { height: 30px; padding: 0 12px; font-size: .75rem; }
  .heros__preuves { gap: 8px 16px; font-size: .75rem; }
  .pied__grille { grid-template-columns: 1fr; }
  .registre__ligne { gap: 10px; }
}
