/* qartz.dev — feuille de style principale
   Le bloc :root regroupe la charte (couleurs, typo, espacements). */

:root {
  /* ---- Backgrounds (QARTZ.DEV — light / fond blanc impeccable) ---- */
  --bg:          #FAFAF8;   /* page base, immaculate warm white */
  --bg-2:        #F3F2EF;   /* derived: alternating band (1 step darker) */
  --bg-3:        #ECEBE6;   /* derived: 2 steps darker */
  --ink:         #F0EFEA;   /* derived: stats / footer band (soft stone) */

  /* ---- Text ---- */
  --fg:          #1A1917;   /* primary text (warm near-black, not pure #000) */
  --fg-soft:     #5A574E;   /* derived: secondary text */
  --muted:       #706D64;   /* darkened for AA contrast on light bg (>=4.5:1); .world-dark re-lightens it */

  /* ---- Accent + lines ---- */
  --accent:      #C8A96E;   /* champagne gold (eyebrows, key figures, <em>) */
  --line:        rgba(26, 25, 23, 0.12); /* derived from --fg @ ~12% — hairline dividers */

  /* ---- Layout ---- */
  --maxw:        1240px;
  --pad:         clamp(22px, 5vw, 80px);

  /* ---- Motion + type ---- */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --serif:       "Caudex", Georgia, "Times New Roman", serif; /* display / headings */
  --sans:        "Cardo", Georgia, "Times New Roman", serif;  /* body / UI */
}

/* ============================================================
   STRUCTURAL CSS — drives the engine. Rarely needs editing.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em; }
em { font-style: italic; }

/* ---- Shared bits ---------------------------------------------------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.eyebrow--light { color: var(--fg-soft); }
.eyebrow--center { text-align: center; }

.lede   { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-soft); max-width: 46ch; margin: 26px 0 0; line-height: 1.75; }
.meta   { font-size: 14px; color: var(--muted); letter-spacing: 0.02em; margin: 20px 0 0; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--light { color: var(--fg); border: 1px solid rgba(245,244,242,0.45); }
.btn--light:hover { background: var(--fg); color: var(--ink); transform: translateY(-2px); }
.btn--solid { color: var(--ink); background: var(--fg); margin-top: 8px; }
.btn--solid:hover { background: var(--accent); color: #1A1917; transform: translateY(-2px); }

/* ---- Indicateur de focus clavier visible (WCAG 2.4.7) ---- */
a:focus-visible, button:focus-visible, summary:focus-visible,
.est__opt:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

/* ---- Scroll progress ------------------------------------------------ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: var(--accent); z-index: 200; transition: width .1s linear;
}

/* ---- Nav ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 150;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .5s var(--ease), padding .5s var(--ease), backdrop-filter .5s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  padding-top: 16px; padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.nav__brand {
  font-family: var(--sans); font-weight: 500;
  font-size: 16px; letter-spacing: 0.42em; padding-left: 0.42em;
  color: var(--fg);
}
.nav__links { display: flex; gap: 38px; }
.nav__links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-soft); position: relative; padding: 4px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width .4s var(--ease);
}
.nav__links a:hover { color: var(--fg); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg); border: 1px solid rgba(245,244,242,0.4);
  padding: 11px 22px; border-radius: 999px;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
}
.nav__cta:hover { background: var(--fg); color: var(--ink); transform: translateY(-1px); }

/* Section scrub : la hauteur règle la vitesse de défilement des frames
   (≈ nombre de frames × 4.6vh ; 121 frames → ~560vh). */
.scrub { position: relative; height: 557vh; background: var(--bg); }
/* #craft : 121 frames → ~557vh (121 × 4.6), comme le hero. */
#craft { height: 557vh; }
.scrub__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scrub__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.12) 42%, rgba(8,8,10,0) 65%),
    linear-gradient(to bottom, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0) 28%);
}

/* Loader */
.loader {
  position: absolute; inset: 0; z-index: 20;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  background: var(--bg); transition: opacity .8s var(--ease), visibility .8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__brand { font-family: var(--sans); font-size: 14px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--fg); }
.loader__track { width: 180px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s var(--ease); }
.loader__pct { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; color: var(--muted); }

/* Caption beats — fade in/out over the moving footage (bottom-left) */
.scrub__beat {
  position: absolute; left: var(--pad); bottom: clamp(64px, 13vh, 140px); z-index: 10;
  max-width: 720px; opacity: 0; will-change: opacity, transform;
}
.scrub__eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 18px;
}
.scrub__title {
  font-size: clamp(58px, 10vw, 132px); line-height: 0.92; color: var(--fg);
  text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.scrub__title em, .scrub__beat-title em { color: var(--fg); }
.scrub__tagline {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.2vw, 28px);
  color: var(--fg-soft); margin: 22px 0 0; max-width: 30ch;
}
.scrub__beat-title {
  font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em;
  font-size: clamp(40px, 6.4vw, 92px); color: var(--fg); text-shadow: 0 2px 50px rgba(0,0,0,0.45);
}
.scrub__beat-copy {
  font-size: clamp(16px, 1.45vw, 20px); color: var(--fg-soft);
  margin: 22px 0 0; max-width: 42ch; line-height: 1.7; text-shadow: 0 1px 20px rgba(0,0,0,0.4);
}
.scrub__beat .btn { margin-top: 30px; }

.scrub__cue {
  position: absolute; right: var(--pad); bottom: clamp(48px, 10vh, 96px); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--fg-soft);
}
.scrub__cue-line { width: 1px; height: 54px; background: linear-gradient(var(--fg-soft), transparent); animation: cuePulse 2.4s var(--ease) infinite; }
@keyframes cuePulse { 0%,100% { opacity: .35; transform: scaleY(.7); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   EDITORIAL (image + text)
   ============================================================ */
.editorial { padding: clamp(90px, 13vh, 180px) var(--pad); background: var(--bg); }
.editorial--reverse { background: var(--bg-2); }
.editorial__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(36px, 6vw, 90px); align-items: center;
}
.editorial--reverse .editorial__media { order: 2; }
.editorial--reverse .editorial__text { order: 1; }
.editorial__text { max-width: 480px; }
.editorial__title { font-size: clamp(38px, 5.2vw, 76px); }
.editorial__title em { color: var(--accent); }

/* .frame ships with a visual fallback so an un-replaced placeholder never reads as a
   bare black rectangle. Replace the editorial images at GUIDE step 4 bis. */
.frame {
  margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7);
  position: relative; aspect-ratio: 16 / 9; background: var(--bg-3);
  background-image: repeating-linear-gradient(45deg, rgba(245,244,242,0.018) 0 14px, transparent 14px 28px);
}
.frame::after {
  content: "Image à venir"; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); opacity: 0.5; pointer-events: none;
}
.frame img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.editorial__media:hover .frame img { transform: scale(1.04); }

/* ============================================================
   FULL-BLEED IMAGE SECTIONS
   ============================================================ */
.bleed { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.bleed--tall { min-height: 100vh; }
.bleed__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__scrim {
  position: absolute; inset: 0;
  background:
    /* Raccord HAUT : on fond le sommet de l'image dans le sombre de la
       section précédente (Toulouse) pour éviter la cassure nette. */
    linear-gradient(to bottom, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.4) 15%, rgba(8,8,10,0) 36%),
    linear-gradient(to top, rgba(8,8,10,0.88) 0%, rgba(8,8,10,0.32) 38%, rgba(8,8,10,0) 60%),
    linear-gradient(to right, rgba(8,8,10,0.55) 0%, rgba(8,8,10,0.12) 50%, rgba(8,8,10,0) 80%);
}
.bleed__content { position: relative; z-index: 2; max-width: 640px; padding: 0 var(--pad); }
.bleed__content--low { align-self: flex-end; padding-bottom: clamp(60px, 12vh, 120px); }
.bleed__title { font-size: clamp(40px, 6vw, 92px); color: var(--fg); text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.bleed__title em { color: var(--fg); }
.bleed__copy { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg); max-width: 46ch; margin: 24px 0 36px; line-height: 1.75; text-shadow: 0 1px 24px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.6); }
.bleed__specs { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(28px, 4vw, 56px); flex-wrap: wrap; }
.bleed__specs li { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; border-top: 1px solid rgba(245,244,242,0.22); min-width: 150px; }
.bleed__spec-k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.bleed__spec-v { font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); color: var(--fg); }

/* ============================================================
   AMENITIES / FEATURE LIST
   ============================================================ */
.amenities { background: var(--bg-2); padding: clamp(90px, 14vh, 180px) var(--pad); }
.amenities__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start;
}
.amenities__head { position: sticky; top: 120px; }
.amenities__title { font-size: clamp(34px, 4.4vw, 64px); color: var(--fg); }
.amenities__title em { color: var(--accent); }
.amenities__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(28px, 4vw, 56px);
}
.amenity {
  display: flex; gap: 20px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
}
.amenity__index { font-family: var(--serif); font-size: 15px; color: var(--accent); letter-spacing: 0.04em; flex: 0 0 auto; min-width: 26px; }
.amenity__text { font-size: clamp(15px, 1.15vw, 17px); color: var(--fg-soft); line-height: 1.5; }

/* ============================================================
   STATS
   ============================================================ */
.stats { background: var(--ink); padding: clamp(70px, 11vh, 130px) var(--pad); }
.stats__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 4vw, 60px);
}
.stat { text-align: left; border-left: 1px solid var(--line); padding-left: 26px; }
.stat__num { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(46px, 5.5vw, 76px); line-height: 1; color: var(--fg); }
.stat__unit { font-size: 0.42em; color: var(--accent); letter-spacing: 0.02em; }
.stat__label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 16px; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: var(--bg); padding: clamp(110px, 18vh, 220px) var(--pad); }
.manifesto__inner { max-width: 940px; margin: 0 auto; text-align: center; }
.manifesto__title { font-size: clamp(40px, 6.5vw, 104px); color: var(--fg); }
.manifesto__title em { color: var(--accent); }
.manifesto__copy { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 30px); color: var(--fg-soft); margin: 34px auto 0; max-width: 56ch; line-height: 1.5; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg-2); padding: clamp(90px, 14vh, 180px) var(--pad); }
.contact__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center;
}
.contact__title { font-size: clamp(34px, 4.6vw, 64px); color: var(--fg); margin-top: 8px; }
.contact__copy { color: var(--fg-soft); max-width: 42ch; margin: 26px 0 0; }
.contact__details { display: flex; flex-direction: column; gap: 4px; }
.contact__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.contact__row:not(.contact__row--static):hover { padding-left: 10px; }
.contact__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.contact__value { font-family: var(--serif); font-size: clamp(18px, 1.8vw, 24px); color: var(--fg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); padding: clamp(60px, 9vh, 110px) var(--pad) 40px; }
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer__brand { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); color: var(--fg); }
.footer__tagline { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--muted); margin: 14px 0 0; }
.footer__base { max-width: var(--maxw); margin: 32px auto 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__legal { font-size: 12px; letter-spacing: 0.04em; color: var(--muted); }
.footer__social { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; padding: 11px 20px; border: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.footer__social svg { width: 17px; height: 17px; flex-shrink: 0; }
.footer__social:hover { background: #0A66C2; border-color: #0A66C2; color: #fff; }

/* ============================================================
   PROCESS — déroulé en 4 étapes
   ============================================================ */
.process { padding: clamp(70px, 11vh, 130px) var(--pad); background: var(--bg-2); }
.process__inner { max-width: var(--maxw); margin: 0 auto; }
.process__head { text-align: center; max-width: 44ch; margin: 0 auto clamp(42px, 6vh, 72px); }
.process__title { font-size: clamp(30px, 4.6vw, 56px); margin-top: 14px; }
.process__sub { color: var(--fg-soft); font-size: clamp(15px, 1.3vw, 18px); margin: 22px 0 0; line-height: 1.7; }
.process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(22px, 3vw, 44px); }
.process__step { border-top: 1px solid var(--line); padding-top: 24px; }
.process__num { font-family: var(--serif); font-size: 14px; letter-spacing: 0.12em; color: var(--accent); }
.process__step-title { font-size: clamp(19px, 1.6vw, 23px); margin: 14px 0 0; }
.process__step-copy { font-size: 14px; color: var(--fg-soft); line-height: 1.7; margin: 12px 0 0; }
.pricing__note { text-align: center; font-size: 14px; color: var(--muted); line-height: 1.7; margin: clamp(26px, 4vh, 44px) auto 0; max-width: 52ch; }
.pricing__note strong { color: var(--accent); font-weight: 400; }
@media (max-width: 820px) { .process__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process__steps { grid-template-columns: 1fr; } }

/* ============================================================
   SHOWCASE — responsive (maquettes d'appareils, 100 % CSS)
   ============================================================ */
.showcase { padding: clamp(70px, 11vh, 130px) var(--pad); background: var(--bg); overflow: hidden; }
.showcase__inner { max-width: var(--maxw); margin: 0 auto; }
.showcase__head { text-align: center; max-width: 46ch; margin: 0 auto clamp(48px, 8vh, 96px); }
.showcase__title { font-size: clamp(30px, 4.6vw, 56px); margin-top: 14px; }
.showcase__sub { color: var(--fg-soft); font-size: clamp(15px, 1.3vw, 18px); margin: 22px 0 0; line-height: 1.7; }
.showcase__stage { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }

/* --- Mini-maquette de site (réutilisée dans chaque écran) --- */
.mini { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; background: var(--bg); padding: 1.8em; gap: 1.4em; font-size: clamp(7px, 1.05vw, 12px); }
.mini__bar { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.2em; border-bottom: 1px solid var(--line); }
.mini__brand { font-family: var(--serif); font-size: 1.5em; letter-spacing: 0.04em; color: var(--fg); white-space: nowrap; }
.mini__nav { display: flex; gap: 0.7em; }
.mini__nav i { width: 1.7em; height: 0.5em; background: var(--muted); border-radius: 1px; display: block; }
.mini__burger { width: 1.8em; height: 1.4em; position: relative; }
.mini__burger::before, .mini__burger::after { content: ""; position: absolute; left: 0; right: 0; height: 0.3em; background: var(--fg); border-radius: 1px; }
.mini__burger::before { top: 0.1em; box-shadow: 0 0.55em 0 var(--fg); }
.mini__burger::after { bottom: 0.1em; }
.mini__hero { display: flex; flex-direction: column; gap: 0.9em; padding: 1.6em 0 1.2em; }
.mini__h { height: 1.15em; width: 78%; background: var(--fg); border-radius: 0.2em; }
.mini__h--accent { width: 52%; background: var(--accent); }
.mini__btn { margin-top: 0.7em; width: 7.5em; height: 2em; background: var(--fg); border-radius: 0.2em; }
.mini__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-top: auto; }
.mini__cards--stack { grid-template-columns: 1fr; gap: 0.9em; }
.mini__card { aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line); border-radius: 0.3em; }

/* --- Cadre ordinateur portable --- */
.device--laptop { position: relative; width: 100%; }
.device--laptop .device__screen { aspect-ratio: 16 / 10; background: #fff; overflow: hidden; border: 12px solid var(--fg); border-bottom: 0; border-radius: 14px 14px 0 0; box-shadow: 0 40px 70px -40px rgba(26, 25, 23, 0.45); }
.device--laptop .device__base { height: 15px; width: 112%; margin-left: -6%; background: linear-gradient(180deg, #2a2824, #16140f); border-radius: 0 0 12px 12px; position: relative; }
.device--laptop .device__base::after { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 130px; max-width: 22%; height: 6px; background: rgba(0, 0, 0, 0.4); border-radius: 0 0 8px 8px; }

/* --- Cadre mobile (en surimpression) --- */
.device--phone { position: absolute; right: 2%; bottom: -7%; width: 23%; min-width: 92px; max-width: 172px; }
.device--phone .device__screen { aspect-ratio: 9 / 19; background: #fff; overflow: hidden; position: relative; border: 7px solid var(--fg); border-radius: 28px; box-shadow: 0 30px 55px -28px rgba(26, 25, 23, 0.55); }
.device__notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 38%; height: 11px; background: var(--fg); border-radius: 0 0 9px 9px; z-index: 2; }
.device--phone .mini { padding: 2.6em 1.4em 1.4em; gap: 1.2em; font-size: clamp(3px, 0.5vw, 5px); }
.device--phone .mini__hero { padding: 1.2em 0 1em; }

@media (max-width: 600px) {
  .device--phone { width: 27%; right: 0; bottom: -5%; }
  .device--laptop .device__screen { border-width: 9px; }
}

/* Apparition des appareils au scroll (glissé doux, épuré) */
.showcase__stage .device { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.showcase__stage .device--laptop { transform: translateY(34px); }
.showcase__stage .device--phone { transform: translateY(54px); transition-delay: 0.16s; }
.showcase__stage.is-visible .device--laptop,
.showcase__stage.is-visible .device--phone { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .showcase__stage .device { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   BARRE CTA FIXE — mobile uniquement
   ============================================================ */
.mobile-cta { display: none; }
@media (max-width: 820px) {
  .mobile-cta {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 150;
    padding: 16px; background: var(--fg); color: var(--ink);
    font-family: var(--sans); font-size: 14px; font-weight: 500;
    letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 12px 34px -10px rgba(26, 25, 23, 0.55);
  }
  .mobile-cta:active { background: var(--accent); color: #1A1917; }
}

/* ============================================================
   404 — page introuvable
   ============================================================ */
.nf { min-height: 72vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(90px, 16vh, 170px) var(--pad) clamp(60px, 9vh, 110px); }
.nf__inner { max-width: 54ch; }
.nf__code { font-family: var(--serif); font-size: clamp(72px, 15vw, 150px); line-height: 1; color: var(--accent); letter-spacing: 0.02em; }
.nf__title { font-size: clamp(28px, 4.4vw, 48px); margin-top: 6px; }
.nf__copy { color: var(--fg-soft); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.7; margin: 24px auto 32px; max-width: 44ch; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   MOTION LAYER (subtle, premium micro-interactions)
   All disabled under prefers-reduced-motion (media query at end).
   ============================================================ */

/* Masked line-by-line reveal for section titles (built in JS) */
.ml-reveal .ml-line {
  overflow: hidden;
  padding-bottom: 0.04em;
  margin-bottom: -0.04em;
}
.ml-reveal .ml-line__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease);
  transition-delay: var(--ml-delay, 0s);
  will-change: transform;
}
.ml-reveal.is-shown .ml-line__inner { transform: translateY(0); }

/* Eyebrows above masked titles: gentle clip-up + fade */
.ml-eyebrow {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 0.7s var(--ease), opacity 0.7s var(--ease);
}
.ml-eyebrow.is-shown { clip-path: inset(0 0 0 0); opacity: 1; }

/* Animated counters (stats) */
.stat__num.is-counting { font-variant-numeric: tabular-nums; }

/* Parallax media (full-bleed images). JS sets --py (px). */
.bleed__img {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0) scale(1.12);
}

/* CTA / button press feedback */
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.nav__cta:active { transform: translateY(0) scale(0.98); transition-duration: 0.12s; }
.btn--light:active { transform: scale(0.98); }

/* Apparition de la nav — on conserve le translateX(-50%) qui la centre */
body.intro-ready .nav { opacity: 0; transform: translateX(-50%) translateY(-12px); }
body.intro-ready.is-loaded .nav {
  opacity: 1; transform: translateX(-50%) translateY(0);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

/* ============================================================
   DOUBLE-MONDE — dark bands inside the light site
   .world-dark re-declares the brand variables to their dark values.
   Because every section reads var(--bg)/var(--fg)/etc., wrapping a
   section in .world-dark flips it to dark with zero per-section CSS.
   Applied to: hero stats band (top), the exploded-keyboard scrub
   (mid), and the footer (close).
   ============================================================ */
.world-dark {
  --bg:      #0c0c0d;
  --bg-2:    #131315;
  --bg-3:    #18181b;
  --ink:     #09090a;
  --fg:      #f6f5f2;
  --fg-soft: #cfcdc8;
  --muted:   #8a8a90;
  --line:    rgba(245, 244, 242, 0.14);
  background: var(--bg);
  color: var(--fg);
}

/* ============================================================
   TYPE TREATMENT (Bricolage Grotesque + Inter)
   The display font has no true italic, so emphasis in headings is
   carried by COLOUR (accent / white), never synthetic oblique. Body
   <em> keeps Inter's real italic. The few display elements that were
   serif-italic are reset to upright.
   ============================================================ */
/* Emphase en vraie italique */
h1 em, h2 em, h3 em { font-style: italic; }
.scrub__tagline, .manifesto__copy, .footer__tagline { font-style: italic; }

/* Coins carrés (border-radius 0) — sauf la nav (îlot arrondi voulu) */
.btn, .est, .est__opt, .est__recap span,
.field input, .field textarea, .frame, .legal-box, .legal-close,
.loader__track, .scroll-progress, .est__form .btn--solid { border-radius: 0 !important; }

/* ============================================================
   Ajustements thème clair
   Texte clair là où le fond est sombre : la nav par-dessus le hero,
   et les sections sur image (hero scrub + pleine largeur).
   Le reste hérite du texte foncé sur fond clair (:root).
   ============================================================ */

/* --- Nav: light text while transparent over the hero --- */
.nav__brand        { color: #fff; }
.nav__links a      { color: rgba(255,255,255,0.82); }
.nav__links a:hover { color: #fff; }
.nav__cta          { color: #fff; border-color: rgba(255,255,255,0.5); }
.nav__cta:hover    { background: #fff; color: var(--fg); }

/* --- Nav: light glass + dark text once scrolled onto white --- */
.nav.is-scrolled {
  background: rgba(250, 250, 248, 0.78);
  backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.nav.is-scrolled .nav__brand   { color: var(--fg); }
.nav.is-scrolled .nav__links a { color: var(--fg-soft); }
.nav.is-scrolled .nav__links a:hover { color: var(--fg); }
.nav.is-scrolled .nav__cta     { color: var(--fg); border-color: rgba(26,25,23,0.28); }
.nav.is-scrolled .nav__cta:hover { background: var(--fg); color: #fff; }

/* --- Hero scrub: text stays light over the cinematic render --- */
.scrub__title, .scrub__title em,
.scrub__beat-title, .scrub__beat-title em { color: #fff; }
.scrub__tagline, .scrub__beat-copy { color: rgba(255,255,255,0.86); }
.scrub__cue { color: rgba(255,255,255,0.8); }

/* --- Full-bleed: text light over the scrimmed image --- */
.bleed .eyebrow--light { color: rgba(255,255,255,0.82); }
.bleed__title, .bleed__title em { color: #fff; }
.bleed__copy   { color: rgba(255,255,255,0.94); }
.bleed__spec-v { color: #fff; }

/* --- Contact: this eyebrow lives on a light band, keep it dark --- */
.contact .eyebrow--light { color: var(--fg-soft); }

/* --- Loader brand sits on white now --- */
.loader__brand { color: var(--fg); }

/* ============================================================
   PRICING (centred statement — derived for the light charter)
   ============================================================ */
.pricing { background: var(--bg); padding: clamp(100px, 16vh, 200px) var(--pad); text-align: center; }
.pricing__inner { max-width: 820px; margin: 0 auto; }
.pricing__amount { font-family: var(--serif); font-weight: 500; font-size: clamp(56px, 9vw, 132px); line-height: 1; color: var(--fg); margin: 6px 0 0; }
.pricing__amount em { color: var(--accent); font-style: italic; }
.pricing__copy { font-size: clamp(16px, 1.4vw, 19px); color: var(--fg-soft); max-width: 50ch; margin: 30px auto 38px; line-height: 1.7; }

/* ---- Estimateur 3 questions ---- */
.est {
  max-width: 720px; margin: 0 auto; text-align: left;
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  padding: clamp(24px, 4vw, 46px); box-shadow: 0 40px 90px -50px rgba(0,0,0,0.25);
}
.est__steps { display: flex; gap: 10px; margin-bottom: 30px; }
.est__dot { width: 34px; height: 3px; border-radius: 99px; background: var(--line); transition: background .4s var(--ease); }
.est__dot.is-active { background: var(--accent); }
.est__q { display: none; }
.est__q.is-active { display: block; animation: estIn .5s var(--ease); }
@keyframes estIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.est__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.est__question { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 32px); color: var(--fg); margin: 0 0 26px; line-height: 1.1; }
.est__options { display: flex; flex-direction: column; gap: 12px; }
.est__opt {
  display: flex; flex-direction: column; gap: 4px; text-align: left;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--fg); font-family: var(--sans);
  font-size: 16px; font-weight: 500; cursor: pointer;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .2s var(--ease);
}
.est__opt:hover { border-color: var(--accent); background: var(--bg-2); transform: translateX(4px); }
.est__opt.is-chosen { border-color: var(--accent); background: var(--bg-2); }
.est__opt-hint { font-size: 13px; font-weight: 400; color: var(--muted); }

/* ---- Résultat ---- */
.est__price { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 7vw, 72px); line-height: 1; color: var(--fg); margin: 6px 0 14px; }
.est__price em { color: var(--accent); font-style: normal; }
.est__delay { font-size: 15px; color: var(--fg-soft); margin: 0 0 22px; }
.est__delay strong { color: var(--fg); font-weight: 500; }
.est__recap { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.est__recap span { font-size: 13px; color: var(--fg-soft); background: var(--bg-2); border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; }
.est__mini { font-size: 13px; color: var(--muted); margin: 0 0 30px; }

/* ---- Formulaire Web3Forms ---- */
.est__form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field:last-of-type { margin-bottom: 0; }
.field label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.field .opt { text-transform: none; letter-spacing: 0; }
.field input, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line); border-radius: 8px;
  padding: 13px 15px; width: 100%; transition: border-color .3s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; }
.est__form .btn--solid { margin-top: 22px; border: none; cursor: pointer; font-family: var(--sans); }
.est__fineprint { font-size: 12px; color: var(--muted); margin: 16px 0 0; }
.est__success { text-align: center; padding: 30px 0; }
.est__success h3 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); color: var(--fg); margin: 0 0 10px; }
.est__success p { color: var(--fg-soft); margin: 0; }

/* ---- Nav estimateur ---- */
.est__nav { display: flex; justify-content: space-between; margin-top: 26px; }
.est__back, .est__reset {
  font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; color: var(--fg-soft);
  background: none; border: none; cursor: pointer; padding: 6px 0; transition: color .3s var(--ease);
}
.est__back:hover:not(:disabled), .est__reset:hover { color: var(--accent); }
.est__back:disabled { opacity: 0.3; cursor: default; }

/* ============================================================
   FIX — bouton solide : texte sombre lisible sur l'or au survol
   (en thème clair, var(--ink) était quasi-blanc → texte invisible sur
   le fond or = le "blanc qui bug" sur le formulaire d'estimation).
   ============================================================ */
.btn--solid:hover { color: #14130f; }
.est__opt:hover { transform: none; } /* évite tout scintillement de repaint */

/* ============================================================
   NAV — îlot flottant épuré (glassmorphism pro)
   Barre centrée, fine, verre dépoli net, arrondis concentriques
   (extérieur 18px · CTA 12px niché dedans). Persistante sur les
   deux mondes (sombre + clair).
   ============================================================ */
.nav {
  top: 18px; left: 50%; right: auto; bottom: auto;
  transform: translateX(-50%);
  width: calc(100% - 36px); max-width: 880px;
  align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 7px 7px 7px 22px;
  background: rgba(13, 13, 15, 0.46);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.55);
}
.nav.is-scrolled {
  background: rgba(13, 13, 15, 0.66);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.7);
  padding-top: 7px; padding-bottom: 7px;
}

/* Marque + petit point or */
.nav__brand, .nav.is-scrolled .nav__brand {
  color: #fff; font-family: var(--sans); font-weight: 700;
  font-size: 14px; letter-spacing: 0.16em; padding-left: 0;
  display: inline-flex; align-items: center; gap: 9px;
}
.nav__brand::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex: 0 0 auto;
  box-shadow: 0 0 10px var(--accent);
}

/* Liens : casse normale, plus lisibles, soulignement or au survol */
.nav__links { gap: clamp(16px, 2.4vw, 30px); margin: 0 auto; }
.nav__links a, .nav.is-scrolled .nav__links a {
  font-size: 13.5px; font-weight: 400; letter-spacing: 0.01em;
  text-transform: none; color: rgba(255, 255, 255, 0.72);
}
.nav__links a:hover, .nav.is-scrolled .nav__links a:hover { color: #fff; }
.nav__links a::after { background: var(--accent); height: 1.5px; }

/* CTA : pavé or, arrondi niché */
.nav__cta, .nav.is-scrolled .nav__cta {
  color: #14130f; background: var(--accent); border: none;
  border-radius: 12px; padding: 10px 18px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; text-transform: none;
  box-shadow: 0 4px 14px -6px rgba(200, 169, 110, 0.8);
}
.nav__cta:hover, .nav.is-scrolled .nav__cta:hover {
  background: #fff; color: #14130f; transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px rgba(255, 255, 255, 0.5);
}

/* ============================================================
   NAV MOBILE — hamburger + panneau déroulant
   Desktop : le bouton est caché et .nav__menu disparaît du flux
   (display:contents) → liens + CTA restent des enfants flex directs,
   donc la barre desktop ne change pas. Sous 980px : hamburger visible,
   le menu devient un panneau qui descend sous la pastille.
   ============================================================ */
.nav__toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 38px; padding: 0 11px;
  background: none; border: none; cursor: pointer; border-radius: 10px;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav__menu { display: contents; }

/* ---- Onglets + menu déroulant "Accueil" (desktop) ---- */
.nav__item--sub { position: relative; display: flex; align-items: center; }
.nav__links .nav__top { display: inline-flex; align-items: center; gap: 6px; }
.nav__top.is-current::after { width: 100%; } /* souligne l'onglet courant via le ::after existant */
.nav__caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: 0.6;
  transition: transform .25s var(--ease);
}
.nav__item--sub:hover .nav__caret,
.nav__item--sub:focus-within .nav__caret { transform: rotate(180deg); opacity: 0.9; }

/* Pont invisible : évite que le survol "tombe" dans le vide entre l'onglet et le panneau */
.nav__item--sub::before {
  content: ""; position: absolute; top: 100%; left: -14px; right: -14px; height: 16px;
}

.nav__sub {
  position: absolute; top: calc(100% + 12px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  display: flex; flex-direction: column; min-width: 196px; padding: 8px;
  background: rgba(13, 13, 15, 0.96);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  backdrop-filter: blur(22px) saturate(165%);
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px;
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 5;
}
.nav__item--sub:hover .nav__sub,
.nav__item--sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__sub a { display: block; padding: 9px 12px; border-radius: 9px; white-space: nowrap; }
.nav__sub a::after { display: none; }
.nav__sub a:hover { background: rgba(255, 255, 255, 0.07); }

@media (max-width: 980px) {
  .nav { padding: 7px 8px 7px 18px; }
  .nav__toggle { display: flex; }

  /* Le menu devient un panneau déroulant sous la pastille */
  .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    padding: 14px;
    background: rgba(13, 13, 15, 0.94);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
    backdrop-filter: blur(22px) saturate(165%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav__menu.is-open { opacity: 1; visibility: visible; transform: none; }

  /* Liens en colonne (on bat les display:none existants par spécificité) */
  .nav__menu .nav__links {
    display: flex; flex-direction: column; gap: 0; margin: 0;
  }
  .nav__menu .nav__links a {
    display: block; padding: 13px 12px; font-size: 15px;
    border-radius: 10px; color: rgba(255, 255, 255, 0.85);
  }
  .nav__menu .nav__links a::after { display: none; }
  .nav__menu .nav__links a:active,
  .nav__menu .nav__links a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }

  /* CTA visible dans le panneau, pleine largeur */
  .nav__menu .nav__cta {
    display: block; text-align: center; margin-top: 6px;
    padding: 14px; font-size: 14px;
  }

  /* Hamburger animé en croix quand ouvert */
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Onglet "Accueil" + sous-menu : empilés dans le panneau, sous-liens indentés */
  .nav__item--sub { display: block; }
  .nav__item--sub::before { display: none; }
  .nav__caret { display: none; }
  .nav__menu .nav__sub {
    position: static; transform: none; min-width: 0;
    opacity: 1; visibility: visible; pointer-events: auto;
    background: none; border: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    padding: 0 0 4px 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.12); margin-left: 12px;
  }
  .nav__menu .nav__sub a { font-size: 14px; padding: 10px 12px; color: rgba(255, 255, 255, 0.68); }
  .nav__menu .nav__top { font-weight: 500; }
}

/* ============================================================
   MODAL MENTIONS LÉGALES
   ============================================================ */
.legal-modal {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: 20px;
  background: rgba(10, 10, 12, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.legal-modal.is-open { display: flex; }
.legal-box {
  background: var(--bg); color: var(--fg);
  max-width: 640px; width: 100%; max-height: 85vh; overflow: auto;
  border-radius: 16px; border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px); position: relative;
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, 0.5);
}
.legal-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  color: var(--fg-soft); cursor: pointer; transition: border-color .3s var(--ease), color .3s var(--ease);
}
.legal-close:hover { border-color: var(--accent); color: var(--accent); }
.legal-eyebrow { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.legal-head h3 { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); color: var(--fg); margin: 8px 0 24px; }
.legal-head h3 em { color: var(--accent); font-style: normal; }
.legal-section { margin-bottom: 24px; }
.legal-section h4 { font-family: var(--serif); font-size: 17px; color: var(--fg); margin: 0 0 10px; }
.legal-section p { font-size: 14px; color: var(--fg-soft); line-height: 1.65; margin: 0; }
.legal-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.legal-row .lk { color: var(--muted); }
.legal-row .lv { color: var(--fg); text-align: right; }
.legal-foot { font-size: 12px; color: var(--muted); text-align: center; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer__legal--link { cursor: pointer; transition: color .3s var(--ease); }
.footer__legal--link:hover { color: var(--accent); }

/* ============================================================
   FIXED-BLEED — image de fond FIXE (le contenu défile par-dessus)
   Effet « fenêtre » sur une image immobile (parallax fixed), distinct
   du scroll-scrub vidéo. Sur mobile/iOS, background-attachment:fixed
   est mal géré → on retombe sur scroll (media query plus bas).
   ============================================================ */
.fixed-bleed {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  overflow: hidden;
}
.fixed-bleed::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(rgba(8,8,10,0.55), rgba(8,8,10,0.7));
}
.fixed-bleed__content { position: relative; z-index: 1; max-width: 760px; padding: 0 var(--pad); }
.fixed-bleed__eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
.fixed-bleed__title { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 5vw, 68px); line-height: 1.05; color: #fff; margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.fixed-bleed__title em { color: var(--accent); font-style: normal; }
.fixed-bleed__copy { color: rgba(255,255,255,0.92); margin: 20px auto 0; max-width: 48ch; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; text-shadow: 0 1px 20px rgba(0,0,0,0.6); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .editorial__inner, .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .editorial--reverse .editorial__media { order: 1; }
  .editorial--reverse .editorial__text { order: 2; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 30px; }
  .amenities__inner { grid-template-columns: 1fr; gap: 44px; }
  .amenities__head { position: static; }
  .amenities__list { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
/* Sous 820px le scrub devient statique : on ramène les sections à 100vh */
@media (max-width: 820px) {
  /* #craft a un height par ID (557vh) qui bat la classe → on le neutralise
     explicitement, sinon il garde 5,5 écrans de vide sur une frame figée. */
  .scrub, #craft { height: 100vh; }
  /* iOS/mobile gèrent mal background-attachment:fixed → image normale */
  .fixed-bleed { background-attachment: scroll; min-height: 70vh; }
}
@media (max-width: 560px) {
  .stats__inner { grid-template-columns: 1fr; }
  .footer__base { flex-direction: column; text-align: center; align-items: center; }
  .nav__cta { display: none; }
  .scrub { height: 100vh; }
  .bleed__specs { gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ml-reveal .ml-line { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .ml-reveal .ml-line__inner { transform: none !important; transition: none !important; }
  .ml-eyebrow { clip-path: none !important; opacity: 1 !important; transition: none !important; }
  .bleed__img { transform: none !important; will-change: auto; }
  .btn:active, .nav__cta:active, .btn--light:active { transform: none !important; }
  body.intro-ready .nav { opacity: 1 !important; transform: translateX(-50%) !important; transition: none !important; }
}

/* ============================================================
   HERO — nouvelle disposition (scopée #hero uniquement)
   Marque en COLONNE verticale sur le flanc gauche (tranche de
   pellicule), message calé à DROITE, aligné à droite. Plus de
   wordmark géant centré.
   ============================================================ */

/* La tranche verticale : "qartz.dev" qui monte le long du bord gauche */
.hero-spine {
  position: absolute; left: clamp(20px, 3vw, 46px); top: 0; bottom: 0; z-index: 12;
  display: flex; align-items: center; gap: 22px;
  writing-mode: vertical-rl; transform: rotate(180deg);
  pointer-events: none;
}
.hero-spine__mark {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2vw, 30px); letter-spacing: 0.04em;
  color: rgba(255,255,255,0.92);
}
.hero-spine__sub {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Tous les beats du hero : ancrés à DROITE, texte aligné à droite */
#hero .scrub__beat {
  left: auto; right: var(--pad);
  bottom: clamp(70px, 16vh, 150px);
  max-width: 760px; text-align: right;
}
#hero .scrub__eyebrow {
  font-family: var(--sans); letter-spacing: 0.38em;
  color: rgba(255,255,255,0.66);
}

/* Le message qui remplace le wordmark : grand mais en minuscules, serré */
.hero__statement {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(40px, 6.6vw, 104px); line-height: 0.98;
  letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 2px 60px rgba(0,0,0,0.5);
  margin: 0;
}
.hero__statement em {
  font-style: italic; color: var(--accent);
}
.hero__lead {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(15px, 1.4vw, 19px); letter-spacing: 0.01em;
  color: rgba(255,255,255,0.8);
  margin: 26px 0 0; margin-left: auto; max-width: 42ch;
  text-shadow: 0 1px 20px rgba(0,0,0,0.5);
}

/* Beats 2-4 du hero : on garde le titre éditorial mais aligné droite */
#hero .scrub__beat-title { margin-left: auto; }
#hero .scrub__beat-copy { margin-left: auto; }
#hero .scrub__beat .btn { margin-top: 30px; }

/* Sur mobile : la tranche verticale gênerait → on repasse classique */
@media (max-width: 720px) {
  .hero-spine { display: none; }
  #hero .scrub__beat { left: var(--pad); right: var(--pad); text-align: left; }
  .hero__lead, #hero .scrub__beat-title, #hero .scrub__beat-copy { margin-left: 0; }
}

/* ============================================================
   « Faites défiler » retiré (buggait) — masqué partout
   ============================================================ */
.scrub__cue { display: none !important; }

/* ============================================================
   Cadre PORTRAIT (photo de Mattis dans « À propos »)
   La photo est verticale : on passe le cadre en 4/5 et on cale
   le cadrage sur le haut pour garder le visage bien placé.
   ============================================================ */
.frame--portrait { aspect-ratio: 4 / 5; max-width: 460px; margin-left: auto; }
.frame--portrait img { object-position: center 20%; }
.frame--portrait::after { content: none; }

/* ============================================================
   INTRO D'ARRIVÉE
   Plein écran sombre (raccord avec le hero). La phrase « Création
   de site internet » se révèle, reste ~2,6 s, puis tout s'efface
   pour laisser place au hero (phrases + début de la vidéo scroll).
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 400;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; text-align: center; padding: 0 var(--pad);
  background: #0a0a09;
  transition: opacity .85s var(--ease), visibility .85s;
}
.intro.is-out { opacity: 0; visibility: hidden; }
.intro__kicker {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; padding-left: 0.42em;
  color: var(--accent);
  opacity: 0; transform: translateY(10px);
  transition: opacity .8s var(--ease) .05s, transform .8s var(--ease) .05s;
}
.intro__line {
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(30px, 6.2vw, 78px); line-height: 1.05; color: #fff;
  margin: 0; max-width: 18ch;
  opacity: 0; transform: translateY(20px);
  transition: opacity 1s var(--ease) .28s, transform 1s var(--ease) .28s;
}
.intro.is-in .intro__kicker { opacity: 1; transform: none; }
.intro.is-in .intro__line { opacity: 1; transform: none; }

/* ============================================================
   PAGE PORTFOLIO — état "en attente" (plein écran, monde sombre)
   ============================================================ */
.page-portfolio { background: #0a0a09; }
.pf-empty {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 22px;
  padding: clamp(120px, 20vh, 200px) var(--pad) clamp(80px, 14vh, 140px);
  position: relative; overflow: hidden;
}
/* halo doré discret derrière le texte */
.pf-empty::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(60% 50% at 50% 38%, rgba(200, 169, 110, 0.10), transparent 70%);
  pointer-events: none;
}
.pf-empty__inner { position: relative; z-index: 1; max-width: 680px; }
.pf-empty__eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 22px; padding-left: 0.4em;
}
.pf-empty__title {
  font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 6vw, 84px);
  line-height: 1.02; letter-spacing: -0.01em; color: #fff; margin: 0;
}
.pf-empty__title em { font-style: italic; color: var(--accent); }
.pf-empty__copy {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7;
  color: rgba(255, 255, 255, 0.74); margin: 26px auto 0; max-width: 50ch;
}
.pf-empty__badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 34px 0 8px;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.8);
}
.pf-empty__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pfPulse 2.2s var(--ease) infinite;
}
@keyframes pfPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pf-empty__cta { margin-top: 30px; }

/* ============================================================
   PAGE FAQ — accordéon (details/summary natif, sans JS)
   ============================================================ */
.faq { padding: clamp(130px, 18vh, 200px) var(--pad) clamp(80px, 12vh, 140px); }
.faq__inner { max-width: 820px; margin: 0 auto; }
.faq__head { text-align: center; margin-bottom: clamp(40px, 6vh, 72px); }
.faq__eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px; padding-left: 0.4em;
}
.faq__title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 68px); line-height: 1.04; color: var(--fg); margin: 0; }
.faq__title em { font-style: italic; color: var(--accent); }
.faq__intro { font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-soft); max-width: 54ch; margin: 22px auto 0; line-height: 1.7; }

.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 2.1vw, 25px);
  color: var(--fg); line-height: 1.3;
  transition: color .25s var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: 0 0 auto; font-family: var(--sans); font-weight: 300; font-size: 28px; line-height: 1;
  color: var(--accent); transition: transform .3s var(--ease);
}
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a {
  font-size: clamp(15px, 1.4vw, 17px); color: var(--fg-soft); line-height: 1.75;
  max-width: 66ch; padding: 2px 4px 28px;
}
.faq__a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.faq__a strong { color: var(--fg); font-weight: 600; }
.faq__cta { text-align: center; margin-top: clamp(48px, 8vh, 80px); }
.faq__cta-text { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--fg); margin: 0 0 22px; }

/* ============================================================
   PAGE CONTACT (dédiée) — dégage la nav fixe, ancre le formulaire
   ============================================================ */
.contact--page { padding-top: clamp(130px, 18vh, 200px); }
.contact--page .contact__inner { align-items: start; }
.contact__form-wrap {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
}
.contact__form .btn--solid {
  width: 100%; justify-content: center; margin-top: 4px;
  border: none; cursor: pointer;
}
.contact__success { text-align: left; }

/* Formulaires : une seule colonne sur petit écran (contact + estimateur) */
@media (max-width: 560px) {
  .est__form-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE BLOG — index (grille de cartes d'articles)
   ============================================================ */
.page-blog { background: var(--bg); }
.blog { padding: clamp(130px, 18vh, 200px) var(--pad) clamp(80px, 12vh, 140px); }
.blog__inner { max-width: var(--maxw); margin: 0 auto; }
.blog__head { text-align: center; margin-bottom: clamp(44px, 7vh, 76px); }
.blog__eyebrow {
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.4em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 18px; padding-left: 0.4em;
}
.blog__title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 68px); line-height: 1.04; color: var(--fg); margin: 0; }
.blog__title em { font-style: italic; color: var(--accent); }
.blog__intro { font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-soft); max-width: 56ch; margin: 22px auto 0; line-height: 1.7; }

.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); }
.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.post-card:hover { transform: translateY(-5px); border-color: rgba(200,169,110,0.5); box-shadow: 0 24px 50px -28px rgba(0,0,0,0.4); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: clamp(20px, 2vw, 28px); }
.post-card__meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.post-card__cat { color: var(--accent); }
.post-card__title { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.22; color: var(--fg); }
.post-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--fg-soft); flex: 1; }
.post-card__more { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.08em; color: var(--accent); margin-top: 4px; }

/* ============================================================
   ARTICLE (page d'un article de blog)
   ============================================================ */
.article { padding: clamp(120px, 16vh, 190px) var(--pad) clamp(70px, 10vh, 120px); }
.article__inner { max-width: 720px; margin: 0 auto; }
.article__back { display: inline-block; font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 28px; transition: color .25s var(--ease); }
.article__back:hover { color: var(--accent); }
.article__meta { display: flex; gap: 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.article__meta .article__cat { color: var(--accent); }
.article__title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 60px); line-height: 1.06; color: var(--fg); margin: 0; }
.article__title em { font-style: italic; color: var(--accent); }
.article__lede { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.7; color: var(--fg); margin: 26px 0 0; }
.article__body { margin-top: 14px; }
.article__body p { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.85; color: var(--fg-soft); margin: 22px 0; }
.article__body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); color: var(--fg); margin: 44px 0 0; }
.article__body ul { margin: 18px 0; padding-left: 22px; color: var(--fg-soft); line-height: 1.8; }
.article__body li { margin: 8px 0; }
.article__body strong { color: var(--fg); font-weight: 600; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.article__cta {
  margin-top: clamp(44px, 7vh, 72px); padding: clamp(28px, 4vw, 44px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; text-align: center;
}
.article__cta-text { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--fg); margin: 0 0 22px; }

@media (max-width: 880px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .blog__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE PORTFOLIO — cartes projets (réutilise .blog / .post-card)
   ============================================================ */
.pf-note {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 20px auto 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line);
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted);
}
.pf-note__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding: 0; list-style: none; }
.pf-tag {
  font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--fg-soft); padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg);
}
.pf-outro {
  margin-top: clamp(48px, 8vh, 86px); padding: clamp(28px, 4vw, 48px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; text-align: center;
}
.pf-outro__text { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); color: var(--fg); margin: 0 0 8px; }
.pf-outro__sub { font-size: clamp(14px, 1.3vw, 16px); color: var(--fg-soft); margin: 0 0 24px; }

/* ============================================================
   SECTION AVIS CLIENTS (accueil)
   ============================================================ */
.reviews { padding: clamp(90px, 13vh, 160px) var(--pad); background: var(--bg); }
.reviews__inner { max-width: 780px; margin: 0 auto; text-align: center; }
.reviews__title { font-family: var(--serif); font-weight: 500; font-size: clamp(32px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.01em; color: var(--fg); margin: 8px 0 0; }
.reviews__title em { font-style: italic; color: var(--accent); }
.reviews__sub { font-size: clamp(15px, 1.4vw, 18px); color: var(--fg-soft); margin: 22px auto 0; max-width: 54ch; line-height: 1.7; }
.reviews__card {
  position: relative; margin-top: clamp(40px, 6vh, 68px);
  padding: clamp(40px, 5vw, 64px) clamp(26px, 4vw, 52px);
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
}
.reviews__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.reviews__quote { font-family: var(--serif); font-size: 130px; line-height: 0.55; color: var(--accent); opacity: 0.22; height: 52px; user-select: none; }
.reviews__stars { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: 7px; color: var(--accent); margin: 4px 0 22px; }
.reviews__text { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.2vw, 27px); line-height: 1.5; color: var(--fg); margin: 0 auto; max-width: 32ch; }
.reviews__note { font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 28px 0 0; }
.reviews__cta { margin-top: 30px; }
