/* ==========================================================================
   Keystone Studio — feuille de style
   Charte : #111317 (noir) · #A06A3B (cuivre) · #ECE8E1 (crème) · #5A5F66 (ardoise)
   Typos  : Instrument Serif (titres) · Geist (texte) · Geist Mono (signes)
   ========================================================================== */

:root {
  --ink: #111317;
  --ink-2: #181B20;
  --cream: #ECE8E1;
  --paper: #F4F1EC;
  --copper: #A06A3B;
  --copper-light: #C18D5F;
  --copper-dark: #8A5A30;
  --slate: #5A5F66;
  --mute: #9A9DA3;
  --mute-2: #A3A6AB;
  --rule-light: #CFC8BD;
  --chip-light: #BDB5A9;
  --rule-dark: rgba(236, 232, 225, 0.1);

  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 10vw, 150px);
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; }
a { color: var(--copper); text-decoration: none; }
a:hover { color: var(--copper-light); }
button, input, textarea { font: inherit; color: inherit; }
input::placeholder, textarea::placeholder { color: #8A8E95; }
::selection { background: var(--copper); color: #FFFFFF; }
:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 100;
  padding: 12px 16px; border-radius: 4px;
  background: var(--copper); color: #FFFFFF; font-size: 14px; font-weight: 500;
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; color: #FFFFFF; }

.container {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Petits éléments communs ------------------------------------------------ */
.diamond {
  display: block; flex: none;
  width: 6px; height: 6px;
  background: var(--copper);
  transform: rotate(45deg);
}

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin: 0; font-weight: 400;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.eyebrow .br { color: var(--copper-light); }
.on-light .eyebrow { color: var(--slate); }
.on-light .eyebrow .br { color: var(--copper); }

.mono-label {
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
}

.h2 {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 5.8vw, 92px); line-height: 0.96; letter-spacing: -0.02em;
}
.h2 em, .serif-em em { color: var(--copper); }

.lead {
  margin: 26px 0 0; max-width: 560px;
  font-size: 18px; line-height: 1.55; color: var(--mute-2);
  text-wrap: pretty;
}
.on-light .lead { color: var(--slate); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center;
  height: 56px; border-radius: 4px;
  font-size: 15.5px; font-weight: 500;
  transition: background .25s, color .25s;
}
.btn--primary { gap: 16px; padding: 0 9px 0 22px; background: var(--copper); color: #FFFFFF; }
.btn--primary:hover { background: var(--copper-dark); color: #FFFFFF; }
.btn__icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 3px;
  background: rgba(17, 19, 23, 0.2);
}
.btn--ghost { padding: 0 22px; border: 1px solid rgba(236, 232, 225, 0.22); color: var(--cream); }
.btn--ghost:hover { background: rgba(236, 232, 225, 0.06); color: var(--cream); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--cream);
}
.link-arrow:hover { color: var(--copper-light); }

/* Pastilles */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center;
  height: 34px; padding: 0 15px;
  border: 1px solid var(--chip-light); border-radius: 999px;
  color: var(--ink); font-size: 13.5px;
}
.chip--accent { border-color: var(--copper); background: var(--copper); color: #FFFFFF; }

.tag {
  display: inline-flex; align-items: center;
  height: 30px; padding: 0 13px;
  border: 1px solid rgba(236, 232, 225, 0.2); border-radius: 999px;
  font-size: 13px; color: var(--cream);
}

/* Lignes pointillées de fond (hero, devis) */
.grid-lines {
  position: absolute; inset: 0;
  max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter);
  pointer-events: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-lines span { border-left: 1px dashed rgba(236, 232, 225, 0.07); }
.grid-lines span:last-child { border-right: 1px dashed rgba(236, 232, 225, 0.07); }

/* Sections */
.section { padding: var(--section-y) 0; scroll-margin-top: 84px; }
.section--dark { background: var(--ink); color: var(--cream); }
.section--light { background: var(--cream); color: var(--ink); }

.split { display: flex; flex-wrap: wrap; gap: 24px 48px; }
.split__aside { flex: 1 1 200px; max-width: 320px; padding-top: 14px; }
.split__main { flex: 3 1 560px; min-width: 0; }
.split__main > .h2:first-child { margin-top: 0; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
  position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 50;
  display: flex; justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: 1240px; height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 9px 0 16px;
  background: rgba(17, 19, 23, 0.8);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
}
.nav__brand { display: flex; align-items: center; gap: 11px; flex: none; color: var(--cream); }
.nav__brand:hover { color: var(--cream); }
.nav__brand img { height: 32px; width: auto; }
.nav__wordmark { font-family: var(--serif); font-size: 24px; line-height: 1; letter-spacing: -0.01em; }
.nav__links {
  display: flex; align-items: center; gap: 30px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
}
.nav__links a { color: var(--mute-2); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--cream); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px;
  background: var(--copper); color: #FFFFFF; border-radius: 4px;
  font-size: 14px; font-weight: 500; white-space: nowrap;
  transition: background .25s;
}
.nav__cta:hover { background: var(--copper-dark); color: #FFFFFF; }
.nav__toggle {
  width: 44px; height: 44px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 0; background: transparent; cursor: pointer;
  border: 1px solid rgba(236, 232, 225, 0.16); border-radius: 4px;
}
.nav__toggle span {
  display: block; width: 16px; height: 1px; background: var(--cream);
  transition: transform .3s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: calc(84px + env(safe-area-inset-top, 0px)); left: 14px; right: 14px; z-index: 49;
  padding: 4px 20px 18px;
  background: rgba(17, 19, 23, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(236, 232, 225, 0.1);
  border-radius: 6px;
}
.mobile-menu__link {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(236, 232, 225, 0.08);
  color: var(--cream);
}
.mobile-menu__link:hover { color: var(--copper-light); }
.mobile-menu__link span:first-child { font-family: var(--serif); font-size: 30px; line-height: 1; }
.mobile-menu__link span:last-child { font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.mobile-menu__cta {
  margin-top: 18px;
  display: flex; align-items: center; justify-content: center;
  height: 52px; border-radius: 4px;
  background: var(--copper); color: #FFFFFF;
  font-size: 15px; font-weight: 500;
}
.mobile-menu__cta:hover { background: var(--copper-dark); color: #FFFFFF; }

/* Sélecteur de langue (menu déroulant natif <details>, fonctionne sans JavaScript) */
.lang { position: relative; }
.lang__toggle {
  display: flex; align-items: center; gap: 7px;
  height: 44px; padding: 0 11px 0 12px;
  border: 1px solid rgba(236, 232, 225, 0.16); border-radius: 4px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; color: var(--cream);
  list-style: none; cursor: pointer; user-select: none;
  transition: border-color .2s, background-color .2s;
}
.lang__toggle::-webkit-details-marker { display: none; }
.lang__toggle:hover, .lang[open] .lang__toggle { border-color: rgba(236, 232, 225, 0.32); background: rgba(236, 232, 225, 0.04); }
.lang__toggle:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 2px; }
.lang__globe { width: 15px; height: 15px; color: var(--mute-2); }
.lang__chevron { width: 9px; height: 9px; color: var(--mute); transition: transform .25s var(--ease); }
.lang[open] .lang__chevron { transform: rotate(180deg); }
.lang__menu {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60;
  min-width: 196px; margin: 0; padding: 6px; list-style: none;
  background: rgba(17, 19, 23, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(236, 232, 225, 0.1); border-radius: 6px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}
.lang__menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 11px 12px; border-radius: 4px;
  font-size: 14px; color: var(--cream);
  transition: background-color .2s, color .2s;
}
.lang__menu a:hover { background: rgba(236, 232, 225, 0.06); }
.lang__menu a[aria-current="true"] { color: var(--copper-light); }
.lang__code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--mute); }
.lang__menu a[aria-current="true"] .lang__code { color: var(--copper-light); }
.mobile-menu__langs { display: flex; gap: 8px; margin-top: 18px; }
.mobile-menu__langs a {
  flex: 1; display: flex; align-items: center; justify-content: center; height: 44px;
  border: 1px solid rgba(236, 232, 225, 0.14); border-radius: 4px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; color: var(--mute-2);
}
.mobile-menu__langs a[aria-current="true"] { border-color: var(--copper); background: rgba(160, 106, 59, 0.14); color: var(--cream); }
@media (prefers-reduced-motion: no-preference) {
  .lang[open] .lang__menu { animation: lang-in .28s var(--ease); }
  @keyframes lang-in { from { opacity: 0; transform: translateY(-6px); } }
}

@media (max-width: 479px) {
  .lang { display: none; }
}
@media (max-width: 939px) {
  .nav__links { display: none; }
}
@media (min-width: 940px) {
  .nav__toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 479px) {
  .nav__wordmark { display: none; }
}

/* ==========================================================================
   01 — Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  padding: clamp(124px, 13vw, 168px) 0 clamp(56px, 6vw, 88px);
}
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 520px at 84% 24%, rgba(160, 106, 59, 0.16), rgba(160, 106, 59, 0) 70%),
    radial-gradient(900px 600px at 0% 100%, rgba(90, 95, 102, 0.16), rgba(90, 95, 102, 0) 70%);
}
.hero__status {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.hero__live { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); }
.pulse-dot {
  display: block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--copper-light);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  from { box-shadow: 0 0 0 0 rgba(193, 141, 95, 0.6); }
  to { box-shadow: 0 0 0 10px rgba(193, 141, 95, 0); }
}
.hero__row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 56px clamp(40px, 5vw, 80px);
  margin-top: clamp(48px, 6vw, 84px);
}
.hero__content { flex: 1.5 1 520px; min-width: 0; }
.hero__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 7vw, 112px); line-height: 0.93; letter-spacing: -0.025em;
  color: var(--cream);
}
.hero__word { display: inline-block; color: var(--copper); white-space: nowrap; }
.hero__lead {
  margin: 30px 0 0; max-width: 540px;
  font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.55; color: var(--mute-2);
  text-wrap: pretty;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero__assurances {
  display: flex; flex-wrap: wrap; gap: 12px 26px; margin: 30px 0 0; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
}
.hero__assurances li { display: inline-flex; align-items: center; gap: 10px; }

/* Visuel animé du hero : « anatomie » de la clé */
.hero-visual {
  position: relative;
  flex: 1 1 360px; max-width: 500px; min-width: 0;
  aspect-ratio: 480 / 540;
  align-self: center;
}
.hero-visual svg { width: 100%; height: 100%; overflow: visible; }
/* Deux calques : le fond et la clé se décalent à des vitesses différentes quand la souris bouge */
.hv-layer { position: absolute; inset: 0; }
.hv-layer--back { transform: translate3d(calc(var(--hx, 0) * -8px), calc(var(--hy, 0) * -6px), 0); }
.hv-layer--front { transform: translate3d(calc(var(--hx, 0) * 14px), calc(var(--hy, 0) * 10px), 0) rotate(calc(var(--hx, 0) * 1deg)); }
@media (max-width: 1099px) {
  .hero-visual { display: none; }
}
.hv-orbit { transform-box: view-box; transform-origin: 237px 268px; animation: hv-spin 120s linear infinite; }
.hv-arc { transform-box: view-box; transform-origin: 237px 268px; animation: hv-spin 26s linear infinite; }
@keyframes hv-spin { to { transform: rotate(360deg); } }
.hv-float { position: absolute; inset: 0; animation: hv-float 7s ease-in-out infinite alternate; }
@keyframes hv-float {
  from { transform: translateY(0); }
  to { transform: translateY(-10px); }
}
.hv-glint { animation: hv-glint 7s var(--ease) 3s infinite; transform: translateX(-140px); }
@keyframes hv-glint {
  0%, 72% { transform: translateX(-140px); }
  100% { transform: translateX(220px); }
}
.hv-label {
  position: absolute; right: 2.1%;
  width: 38%; margin: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  line-height: 1.45;
  color: var(--cream);
  text-align: right;
}
.hv-label b { display: block; font-weight: 400; color: var(--copper-light); }
.hv-caption {
  position: absolute; left: 0; margin: 0;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}

/* Séquence d'apparition (activée par la classe .is-playing) */
.hero-visual.is-playing .hv-draw polygon,
.hero-visual.is-playing .hv-draw path,
.hero-visual.is-playing .hv-draw line,
.hero-visual.is-playing .hv-draw circle {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hv-draw 1.2s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes hv-draw { to { stroke-dashoffset: 0; } }
.hero-visual.is-playing .hv-outline { animation: hv-fade-out .8s ease 2.1s forwards; }
@keyframes hv-fade-out { to { opacity: 0; } }
.hero-visual.is-playing .hv-facet {
  opacity: 0;
  animation: hv-fade-in .7s ease forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.hero-visual.is-playing .hv-appear {
  opacity: 0;
  animation: hv-fade-in .9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.hero-visual.is-playing .hv-label,
.hero-visual.is-playing .hv-caption {
  opacity: 0;
  animation: hv-label-in .9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes hv-fade-in { to { opacity: 1; } }
@keyframes hv-label-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: none; }
}
.hero-visual:not(.is-playing) .hv-outline { opacity: 0; }

/* ==========================================================================
   Bandeau des secteurs
   ========================================================================== */
.marquee {
  position: relative; overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  padding: 24px 0;
}
.marquee__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.marquee__group {
  display: flex; align-items: center; gap: 40px; padding: 0 40px 0 0; margin: 0;
  list-style: none;
  font-family: var(--serif); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.1;
  color: var(--cream); white-space: nowrap;
}
.marquee__group li { display: contents; }
.marquee__group .alt { font-style: italic; color: var(--mute-2); }
.marquee .diamond { width: 7px; height: 7px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   02 — Pourquoi
   ========================================================================== */
.statement {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 50px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 400;
  color: var(--ink);
  text-wrap: pretty;
}
.statement > span:not(.w) { color: var(--slate); }
.statement.is-scrubbed .w { opacity: 0.14; transition: opacity .35s ease; }
.statement.is-scrubbed .w.is-lit { opacity: 1; }
.statement + .chips { margin-top: 34px; }

.stats {
  display: flex; flex-wrap: wrap; gap: 1px;
  margin-top: clamp(64px, 8vw, 110px);
  background: var(--rule-light);
  border: 1px solid var(--rule-light);
}
.stat { flex: 1 1 320px; min-width: 0; background: var(--cream); padding: clamp(28px, 3.4vw, 44px); }
.stat__head {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate);
}
.stat__head span:last-child { color: var(--copper-dark); }
.stat__figure {
  display: flex; align-items: flex-start;
  margin: 30px 0 0;
  font-family: var(--serif); line-height: 0.8; letter-spacing: -0.03em; color: var(--ink);
}
.stat__num { font-size: clamp(112px, 11vw, 170px); }
.stat__unit { font-size: clamp(36px, 3.4vw, 54px); margin: 0.06em 0 0 6px; }
.stat__bar { width: 64px; height: 6px; margin-top: 24px; background: var(--copper); transform-origin: left center; }
.reveal-on .stat:not(.is-revealed) .stat__bar { transform: scaleX(0); }
.reveal-on .stat.is-revealing .stat__bar { transition: transform 1.2s var(--ease) calc(var(--reveal-delay, 0ms) + 350ms); }
.stat__text { margin: 26px 0 0; max-width: 340px; font-size: 16.5px; line-height: 1.5; color: var(--ink); }
.stat__source { margin: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; color: var(--slate); }
.stat--dark {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  background: var(--ink); color: var(--cream);
}
.stat--dark .stat__head { color: var(--mute); }
.stat--dark .stat__head span:last-child { color: var(--copper-light); }
.stat__quote {
  margin: 0;
  font-family: var(--serif); font-size: clamp(34px, 3.2vw, 48px); line-height: 1.02; letter-spacing: -0.015em;
  text-wrap: pretty;
}
.stat__quote em { color: var(--copper); }

/* ==========================================================================
   03 — Exemples (entreprises fictives)
   ========================================================================== */
.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 48px;
}
.section-head__title { flex: 2 1 520px; min-width: 0; }
.section-head__text {
  flex: 1 1 300px; max-width: 420px; margin: 0;
  font-size: 17px; line-height: 1.55; color: var(--mute-2);
  text-wrap: pretty;
}

.projects {
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 4vw, 56px);
  margin-top: clamp(48px, 6vw, 80px);
}
.project { min-width: 0; }
.project__card { position: relative; }
/* Grand écran : les exemples s'empilent comme des cartes au fil du défilement */
@media (min-width: 940px) and (min-height: 640px) {
  .projects { display: block; padding-bottom: 6vh; }
  .project { position: sticky; top: calc(100px + var(--i, 0) * 22px); }
  .project + .project { margin-top: 14vh; }
  .project__card {
    display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    height: min(66vh, 580px);
    background: var(--ink-2);
    border: 1px solid rgba(236, 232, 225, 0.1); border-radius: 10px;
    overflow: hidden;
    transform-origin: 50% 0;
    box-shadow: 0 -24px 60px -28px rgba(0, 0, 0, 0.8);
  }
  .project__card::after {
    content: ""; position: absolute; inset: 0; z-index: 3;
    background: #07080A; opacity: var(--dim, 0);
    pointer-events: none;
  }
  .project__card .project__media { height: 100%; border-radius: 0; }
  .project__card .project__info {
    flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: space-between;
    padding: clamp(28px, 3vw, 44px);
    border-left: 1px solid rgba(236, 232, 225, 0.08);
  }
  .project__card .project__title { margin-top: 18px; font-size: clamp(40px, 3.8vw, 60px); }
  .project__card .project__desc { margin-top: 16px; max-width: 30ch; font-size: 17px; }
}
.project__media {
  position: relative;
  height: clamp(300px, 34vw, 520px);
  border-radius: 6px; overflow: hidden;
  background: var(--field, #1A1D22);
}
.project__media > svg, .project__media > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.project__media > img { object-fit: cover; }
.project__badge {
  position: absolute; left: 16px; bottom: 16px;
  width: min(260px, calc(100% - 32px));
  padding: 16px 18px;
  pointer-events: none;
  border-radius: 8px;
  background: rgba(17, 19, 23, 0.62);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(236, 232, 225, 0.14);
  color: var(--cream);
}
.project__badge-head {
  display: flex; justify-content: space-between;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.project__badge-title { margin-top: 12px; font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.01em; }
.project__badge-sub { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #C9C6C0; }
@media (max-width: 599px) {
  .project__badge { left: 12px; bottom: 12px; width: min(210px, calc(100% - 24px)); padding: 12px 14px; }
  .project__badge-title { margin-top: 8px; font-size: 28px; }
}
.project__info {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px 24px; padding-top: 22px;
}
.project__info > div:first-child { min-width: 0; }
.project__cat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  margin: 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute);
}
.project__flag {
  padding: 3px 8px 2px;
  border: 1px solid rgba(193, 141, 95, 0.55); border-radius: 999px;
  font-size: 10px; line-height: 1.3; color: var(--copper-light); white-space: nowrap;
}
.project__title {
  margin: 10px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 2.6vw, 40px); line-height: 1; letter-spacing: -0.01em;
}
.project__desc { margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--mute-2); }
.project .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }

.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(64px, 7vw, 104px);
  padding-top: clamp(32px, 3vw, 44px);
  border-top: 1px solid rgba(236, 232, 225, 0.12);
}
.cta-band p {
  margin: 0;
  font-family: var(--serif); font-size: clamp(32px, 3.4vw, 52px); line-height: 1.04; letter-spacing: -0.015em;
  text-wrap: pretty;
}
.cta-band em { color: var(--copper); }

/* ==========================================================================
   04 — Offres
   ========================================================================== */
.rule-label {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 8px 24px;
  margin-top: clamp(52px, 6vw, 88px);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ink);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--slate);
}
.rule-label--b { margin-top: clamp(64px, 7vw, 104px); }
.rule-label__letter { color: var(--copper-dark); margin-right: 0.8em; }

.offers { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
@media (min-width: 760px) {
  .offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.offer {
  display: flex; flex-direction: column; min-width: 0;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--paper); color: var(--ink);
  border: 1px solid #D9D3C9; border-radius: 8px;
}
.offer__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.offer__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--copper-dark); }
.offer__pill {
  display: inline-flex; align-items: center;
  height: 28px; padding: 0 12px;
  border: 1px solid var(--chip-light); border-radius: 999px;
  color: var(--ink); font-size: 12.5px;
}
.offer__title {
  margin: 44px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.015em;
}
.offer__desc { margin: 12px 0 0; max-width: 340px; font-size: 15.5px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }
.offer__price { margin-top: auto; padding-top: 44px; }
.offer__from { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }
.offer__amount {
  margin-top: 8px;
  font-family: var(--serif); font-size: clamp(60px, 5.4vw, 84px); line-height: 0.85; letter-spacing: -0.03em;
}
.offer__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 52px; margin-top: 28px; padding: 0 18px;
  border: 1px solid var(--ink); border-radius: 4px;
  color: var(--ink); font-size: 15px; font-weight: 500;
  transition: background .25s, color .25s;
}
.offer__btn:hover { background: var(--ink); color: var(--cream); }

.offer--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.offer--featured .offer__num { color: var(--copper-light); }
.offer--featured .offer__pill { border-color: rgba(236, 232, 225, 0.2); color: var(--cream); }
.offer--featured .offer__desc { color: var(--mute-2); }
.offer--featured .offer__from { color: var(--mute); }
.offer--featured .offer__btn { border: 0; background: var(--copper); color: #FFFFFF; }
.offer--featured .offer__btn:hover { background: var(--copper-dark); color: #FFFFFF; }
@property --ks-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.offer--featured::after {
  content: ""; position: absolute; inset: -1px; z-index: 0; pointer-events: none;
  padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--ks-angle), transparent 0deg 240deg, var(--copper-light) 300deg, transparent 345deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@media (prefers-reduced-motion: no-preference) {
  .offer--featured::after { animation: ks-border 6s linear infinite; }
}
@keyframes ks-border { to { --ks-angle: 360deg; } }

.included { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.included__label { margin-right: 10px; color: var(--slate); }

.services { margin: 0; padding: 0; list-style: none; }
.service {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--rule-light);
}
.service__num { flex: 0 0 56px; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--copper-dark); }
.service__name {
  flex: 1 1 200px; margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(32px, 3vw, 44px); line-height: 1; letter-spacing: -0.015em;
}
.service__desc { flex: 1.6 1 280px; margin: 0; font-size: 16px; line-height: 1.55; color: var(--slate); text-wrap: pretty; }
/* Abonnement : description suivie de ce qu'il comprend */
.service--sub { align-items: flex-start; }
.service__body { flex: 1.6 1 280px; min-width: 0; }
.service__list { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.service__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 14.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.service__list .diamond { margin-top: 8px; }
.service__end { flex: 0 0 auto; margin-left: auto; display: flex; align-items: center; gap: 20px; }
.service__price {
  display: flex; align-items: baseline; gap: 6px;
  font-family: var(--serif); font-size: clamp(34px, 3vw, 44px); line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
}
.service__price small { font-family: var(--sans); font-size: 15px; letter-spacing: 0; color: var(--slate); }
.service__price em { color: var(--copper); }
.round-btn {
  flex: 0 0 44px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--chip-light); border-radius: 50%;
  color: var(--ink);
  transition: background .25s, color .25s, border-color .25s;
}
.round-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.footnote { margin: 24px 0 0; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--slate); }

/* ==========================================================================
   05 — Méthode
   ========================================================================== */
#methode .eyebrow { color: var(--mute-2); }
.method {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px;
  margin-top: clamp(56px, 6vw, 96px);
}
.steps { list-style: none; margin: 0; padding: 0; }
.step { min-width: 0; }
.step + .step { margin-top: 48px; }
@media (min-width: 1000px) {
  .method { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .method__stage { position: sticky; top: 112px; }
}
@media (max-width: 999px) {
  .method__stage { position: sticky; bottom: 0; z-index: 2; padding: 14px 0 16px; background: var(--ink); }
  .method__stage > * { max-width: 560px; margin-left: auto; margin-right: auto; }
}
/* Avec JavaScript : les étapes défilent une à une, la maquette suit */
.method.is-live .step { min-height: 56vh; margin: 0; padding-bottom: 32px; opacity: 0.3; transition: opacity .6s var(--ease); }
.method.is-live .step:last-child { min-height: 40vh; }
.method.is-live .step.is-active { opacity: 1; }
.method.is-live .step__line::before { transition: width .9s var(--ease); }
.method.is-live .step.is-active .step__line::before { width: 100%; }
@media (max-width: 999px) {
  .method.is-live .step, .method.is-live .step:last-child { min-height: 34vh; }
}
.step__line { position: relative; height: 1px; background: #33373E; }
.step__line::before {
  content: ""; position: absolute; left: 0; top: -1px;
  width: 56px; height: 3px; background: var(--copper);
}
.step__meta {
  display: flex; justify-content: space-between; gap: 12px; margin-top: 18px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute-2);
}
.step__meta span:first-child { color: var(--copper-light); }
.step__title {
  margin: 28px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 3.2vw, 46px); line-height: 1; letter-spacing: -0.015em;
}
.step__text { margin: 14px 0 0; max-width: 320px; font-size: 15.5px; line-height: 1.6; color: var(--mute-2); text-wrap: pretty; }


/* Maquette de site qui se construit au fil des étapes (data-state : 0 échange, 1 maquette, 2 création, 3 lancement) */
.build {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 10px; overflow: hidden;
  background: #0C0E11;
  border: 1px solid rgba(236, 232, 225, 0.12);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
}
.build__bar {
  flex: none; display: flex; align-items: center; gap: 12px;
  height: 36px; padding: 0 14px;
  background: #1A1D22; border-bottom: 1px solid rgba(236, 232, 225, 0.08);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.02em; color: var(--mute);
}
.build__dots { display: flex; gap: 6px; flex: none; }
.build__dots i { width: 9px; height: 9px; border-radius: 50%; background: #3A3E45; }
.build__url {
  flex: 0 1 260px; min-width: 0; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  height: 22px; padding: 0 12px; border-radius: 11px;
  background: #111317; color: #6B7077; white-space: nowrap; overflow: hidden;
  transition: color .6s;
}
.build__lock { flex: none; width: 0; height: 11px; fill: none; stroke: var(--copper-light); stroke-width: 1.4; opacity: 0; transition: width .5s var(--ease), opacity .5s; }
.build__live { flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--cream); opacity: 0; transform: translateX(8px); transition: opacity .5s, transform .6s var(--ease); }
.build__live-dot { width: 7px; height: 7px; border-radius: 50%; background: #6FCF97; }
.build__page { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; background: #F4F1EC; container-type: inline-size; }

/* 0 · Échange : les premières notes */
.build__brief {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; justify-items: center;
  gap: 9% 8%; padding: 6% 14%;
  background-image: radial-gradient(rgba(17, 19, 23, 0.16) 1px, transparent 1.3px); background-size: 2.8cqw 2.8cqw;
  transition: opacity .5s;
}
.note {
  width: 100%; max-width: 33cqw; padding: 7% 9% 9%;
  background: #FFFDF8; color: #2B2D31;
  border: 1px solid #E4DCCD; border-radius: 3px;
  box-shadow: 0 12px 26px -16px rgba(17, 19, 23, 0.55);
  font-family: var(--serif); font-style: italic; font-size: 3.6cqw; line-height: 1.1; text-align: center;
  transform: rotate(var(--r, 0deg));
  transition: transform .8s var(--ease), opacity .5s;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.note::before { content: ""; display: block; width: 46%; height: 1.4cqw; margin: -16% auto 12%; background: rgba(193, 141, 95, 0.5); }
.note--stamp {
  background: var(--copper); border-color: var(--copper); color: #FFFFFF;
  font-family: var(--mono); font-style: normal; font-size: 1.95cqw; letter-spacing: 0.14em; text-transform: uppercase;
}
.note--stamp::before { background: rgba(255, 255, 255, 0.35); }
[data-state]:not([data-state="0"]) .build__brief { opacity: 0; pointer-events: none; }
[data-state]:not([data-state="0"]) .note { transform: translateY(-24px) rotate(calc(var(--r, 0deg) * 2)); opacity: 0; }

/* 1 à 3 · Le site : maquette fil de fer, puis création, puis mise en ligne */
.sm {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; row-gap: 6%;
  padding: 4.5% 5.5% 5.5%;
  color: #1E3A2F;
  opacity: 0; transform: translateY(14px);
  transition: opacity .6s, transform .8s var(--ease);
}
[data-state]:not([data-state="0"]) .sm { opacity: 1; transform: none; }
.sm__grid {
  position: absolute; inset: 0 5.5%;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3%;
  pointer-events: none; opacity: 0; transition: opacity .5s;
}
.sm__grid i { border-left: 1px dashed rgba(160, 106, 59, 0.4); border-right: 1px dashed rgba(160, 106, 59, 0.4); background: rgba(160, 106, 59, 0.05); }
[data-state="1"] .sm__grid { opacity: 1; }
.sm__el {
  position: relative;
  transition: background-color .6s, color .6s, box-shadow .6s, outline-color .6s;
  transition-delay: calc(var(--d, 0) * 80ms);
  outline: 1px dashed transparent; outline-offset: 3px;
}
.sm__tag {
  position: absolute; top: -1.45cqw; left: 0.6cqw; z-index: 1;
  padding: 0.15cqw 0.8cqw; border-radius: 2px;
  background: var(--copper); color: #FFFFFF;
  font: 600 1.25cqw/1.4 var(--mono); letter-spacing: 0.08em;
  opacity: 0; transition: opacity .4s;
}
[data-state="1"] .sm__tag { opacity: 1; }
.sm__img .sm__tag { top: 0.9cqw; left: 0.9cqw; }

.sm__nav { display: flex; align-items: center; gap: 1.2cqw; padding-bottom: 3.5%; border-bottom: 1px solid rgba(30, 58, 47, 0.12); }
.sm__logo { flex: none; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #1E3A2F; transition: background-color .6s; }
.sm__brand { font-family: var(--serif); font-size: 2.6cqw; white-space: nowrap; }
.sm__links { margin-left: auto; display: flex; gap: 2.1cqw; font-size: 1.6cqw; font-weight: 500; white-space: nowrap; }
.sm__hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 6%; align-items: center; min-height: 0; }
.sm__text { min-width: 0; }
.sm__title { margin: 0; font-family: var(--serif); font-size: 5.4cqw; line-height: 0.98; letter-spacing: -0.01em; }
.sm__lines { margin: 8% 0 0; }
.sm__lines i { display: block; height: 0.8cqw; margin-top: 0.9cqw; border-radius: 0.5cqw; background: rgba(30, 58, 47, 0.18); }
.sm__lines i:nth-child(1) { width: 92%; }
.sm__lines i:nth-child(2) { width: 80%; }
.sm__lines i:nth-child(3) { width: 56%; }
.sm__btn {
  display: inline-flex; margin-top: 9%; padding: 1.05cqw 1.8cqw; border-radius: 0.6cqw;
  background: #C8643B; color: #FFFFFF;
  font-size: 1.65cqw; font-weight: 600; white-space: nowrap;
}
.sm__img {
  position: relative; align-self: stretch; overflow: hidden;
  border-radius: 1.2cqw;
  background: linear-gradient(180deg, #F3C891, #E08A55 58%, #B65A36);
}
.sm__img > span { transition: opacity .6s; transition-delay: inherit; }
.sm__sun { position: absolute; left: 58%; top: 16%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #FFF1D6; }
.sm__hill { position: absolute; left: -12%; right: -12%; bottom: -34%; height: 72%; border-radius: 50% 50% 0 0; background: #1E3A2F; }
.sm__hill--2 { left: 34%; right: -46%; bottom: -42%; background: #2F5545; }
.sm__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4%; }
.sm__card { padding: 8% 9%; border-radius: 0.9cqw; background: #FFFFFF; box-shadow: 0 0.9cqw 2.4cqw -1.5cqw rgba(30, 58, 47, 0.4); }
.sm__ico { display: block; width: 2.7cqw; height: 2.7cqw; margin-bottom: 9%; border-radius: 0.75cqw; background: #EAD8BE; transition: background-color .6s; }
.sm__card i { display: block; height: 0.6cqw; margin-top: 0.75cqw; border-radius: 0.3cqw; background: rgba(30, 58, 47, 0.16); }
.sm__card i:last-child { width: 66%; }

/* Fil de fer : formes en pointillés, textes remplacés par des barres */
[data-state="1"] .sm__el { outline-color: #B3A998; box-shadow: none; }
[data-state="1"] .sm__nav, [data-state="1"] .sm__card, [data-state="1"] .sm__btn { background-color: transparent; }
[data-state="1"] .sm__brand, [data-state="1"] .sm__links span, [data-state="1"] .sm__btn span:first-child, [data-state="1"] .sm__title { color: transparent; }
[data-state="1"] .sm__brand, [data-state="1"] .sm__links span, [data-state="1"] .sm__btn span:first-child { background: #DCD4C7; border-radius: 3px; }
[data-state="1"] .sm__title { background: repeating-linear-gradient(to bottom, #DCD4C7 0 0.66em, transparent 0.66em 0.98em); }
[data-state="1"] .sm__logo, [data-state="1"] .sm__ico { background: #D3CABC; }
[data-state="1"] .sm__img {
  background:
    linear-gradient(to top right, transparent calc(50% - 0.6px), #C2B9AA 50%, transparent calc(50% + 0.6px)),
    linear-gradient(to bottom right, transparent calc(50% - 0.6px), #C2B9AA 50%, transparent calc(50% + 0.6px));
}
[data-state="1"] .sm__img > span:not(.sm__tag) { opacity: 0; }

/* 3 · Lancement : adresse sécurisée, site en ligne, première demande */
[data-state="3"] .build__url { color: var(--cream); }
[data-state="3"] .build__lock { width: 9px; opacity: 1; }
[data-state="3"] .build__live { opacity: 1; transform: none; }
.sm__cursor {
  position: absolute; left: 62%; top: 56%; z-index: 2;
  width: 2.4cqw; height: 3.3cqw;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M1.5 1.5v16.2l4.3-4 2.9 6.6 2.8-1.2-2.9-6.5h5.9z' fill='%23111317' stroke='%23ffffff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0; pointer-events: none;
}
.build__toast {
  position: absolute; top: 5%; right: 4%; z-index: 3;
  display: flex; align-items: center; gap: 1.2cqw;
  padding: 1.2cqw 1.8cqw; border-radius: 1.2cqw;
  background: #111317; color: var(--cream);
  font-size: 1.8cqw; font-weight: 500; white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.7);
  opacity: 0; transform: translateY(-10px);
}
.build__toast-dot { width: 1.05cqw; height: 1.05cqw; border-radius: 50%; background: var(--copper-light); }
.build__checks {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 16px 0 0; padding: 0; list-style: none;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s .2s, transform .6s var(--ease) .2s;
}
.build__checks li {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 12px;
  border: 1px solid rgba(236, 232, 225, 0.16); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cream);
}
.build__checks li::before { content: ""; width: 5px; height: 9px; margin-top: -3px; border: solid var(--copper-light); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
[data-state="3"] .build__checks { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-state="3"] .build__live-dot { animation: pulse-green 2s ease-out infinite; }
  [data-state="3"] .sm__cursor { animation: build-cursor 5.2s var(--ease) infinite; }
  [data-state="3"] .sm__btn { animation: build-press 5.2s ease infinite; }
  [data-state="3"] .build__toast { animation: build-toast 5.2s var(--ease) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  [data-state="3"] .build__toast { opacity: 1; transform: none; }
}
@keyframes pulse-green {
  from { box-shadow: 0 0 0 0 rgba(111, 207, 151, 0.6); }
  to { box-shadow: 0 0 0 8px rgba(111, 207, 151, 0); }
}
@keyframes build-cursor {
  0% { opacity: 0; transform: translate(20cqw, 12cqw); }
  10% { opacity: 1; }
  38% { transform: translate(0, 0); }
  44% { transform: translate(0, 0) scale(0.82); }
  50% { transform: translate(0, 0) scale(1); }
  82% { opacity: 1; transform: translate(0, 0); }
  94%, 100% { opacity: 0; transform: translate(4cqw, 2.8cqw); }
}
@keyframes build-press {
  0%, 42% { transform: none; box-shadow: 0 0 0 0 rgba(200, 100, 59, 0.55); }
  46% { transform: scale(0.94); }
  52% { transform: none; box-shadow: 0 0 0 0 rgba(200, 100, 59, 0.55); }
  72%, 100% { transform: none; box-shadow: 0 0 0 12px rgba(200, 100, 59, 0); }
}
@keyframes build-toast {
  0%, 50% { opacity: 0; transform: translateY(-10px); }
  56%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* Barre de progression sous la maquette */
.method__progress { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.method__progress span { height: 2px; background: #33373E; transition: background-color .5s; }
[data-state="0"] .method__progress span:nth-child(-n+1),
[data-state="1"] .method__progress span:nth-child(-n+2),
[data-state="2"] .method__progress span:nth-child(-n+3),
[data-state="3"] .method__progress span:nth-child(-n+4) { background: var(--copper); }
@media (max-width: 999px) {
  .build__checks { display: none; }
}

/* ==========================================================================
   06 — Studio
   ========================================================================== */
.studio { padding: 0 0 var(--section-y); scroll-margin-top: 84px; }
.studio__row {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: clamp(36px, 4vw, 64px);
  padding-top: var(--section-y);
}
.studio__content {
  flex: 7 1 480px; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  gap: clamp(40px, 4vw, 56px);
}
.studio__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.4vw, 72px); line-height: 0.98; letter-spacing: -0.02em;
}
.studio__title em { color: var(--copper); }
.quote { margin: 34px 0 0; max-width: 640px; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(22px, 1.9vw, 28px); line-height: 1.32; color: var(--ink);
  text-wrap: pretty;
}
.quote figcaption { margin-top: 16px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--slate); }

.engagements {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px;
  background: var(--rule-light); border: 1px solid var(--rule-light);
}
@media (min-width: 620px) { .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.engagement { min-width: 0; background: var(--cream); padding: 26px 26px 30px; }
.engagement__num { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--copper-dark); }
.engagement h3 { margin: 22px 0 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.engagement p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--slate); }

/* Visuel animé du studio : la clé de voûte */
.studio-visual {
  flex: 5 1 340px; min-width: 0;
  min-height: clamp(360px, 34vw, 500px);
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(18px, 2vw, 26px);
  background: var(--ink); color: var(--cream);
  border-radius: 8px;
  position: relative; overflow: hidden;
}
@media (max-width: 1099px) {
  .studio-visual { display: none; }
}
.sv-head {
  display: flex; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.sv-art { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; }
.sv-art svg { width: 100%; height: 100%; max-height: 460px; overflow: visible; }
.sv-caption { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; padding: 4px 6px 8px; }
.sv-caption__word { font-family: var(--serif); font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.sv-caption__def { margin: 8px 0 0; max-width: 320px; font-size: 13.5px; line-height: 1.5; color: var(--mute-2); }
.sv-caption__def i { color: var(--copper-light); font-style: normal; }
.sv-caption__rule { width: 1px; flex: none; background: var(--copper); }

.sv-stone { transform-box: fill-box; transform-origin: center; }
.studio-visual.is-playing .sv-stone {
  opacity: 0;
  animation: sv-drop .9s cubic-bezier(.2, .9, .25, 1.15) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes sv-drop {
  from { opacity: 0; transform: translate(var(--tx, 0), var(--ty, -40px)) rotate(var(--rot, 0deg)); }
  to { opacity: 1; transform: none; }
}
.studio-visual.is-playing .sv-key {
  opacity: 0;
  animation: sv-key 1.1s cubic-bezier(.3, 1.35, .45, 1) forwards;
  animation-delay: 1900ms;
}
@keyframes sv-key {
  0% { opacity: 0; transform: translateY(-120px); }
  45% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
.studio-visual.is-playing .sv-rise {
  transform-box: fill-box; transform-origin: bottom;
  animation: sv-rise .9s var(--ease) both;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes sv-rise { from { transform: scaleY(0); } }
.studio-visual.is-playing .sv-line {
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: hv-draw 1.2s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.studio-visual.is-playing .sv-glow {
  opacity: 0;
  animation: hv-fade-in 1.4s ease 2.6s forwards, sv-breathe 5s ease-in-out 4s infinite alternate;
}
@keyframes sv-breathe { from { opacity: 1; } to { opacity: 0.55; } }
.studio-visual.is-playing .sv-flash {
  opacity: 0;
  animation: sv-flash 1.6s ease 2.45s forwards;
}
@keyframes sv-flash {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}
.studio-visual:not(.is-playing) .sv-flash { opacity: 0; }
.studio-visual.is-playing .sv-appear {
  opacity: 0;
  animation: hv-fade-in .9s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
/* Tant que le visuel n'est pas à l'écran, l'animation reste en attente */
.studio-visual.is-paused *, .studio-visual.is-paused { animation-play-state: paused !important; }

/* ==========================================================================
   07 — FAQ
   ========================================================================== */
.faq { padding: 0 0 var(--section-y); scroll-margin-top: 84px; }
.faq__row {
  display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px);
  padding-top: clamp(64px, 7vw, 104px);
  border-top: 1px solid var(--rule-light);
}
.faq__aside { flex: 1 1 300px; max-width: 440px; }
.faq__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 4.8vw, 76px); line-height: 0.96; letter-spacing: -0.02em;
}
.faq__title em { color: var(--copper); }
.faq__note { margin: 24px 0 0; font-size: 16.5px; line-height: 1.55; color: var(--slate); }
.faq__mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 14px;
  font-size: 16px; font-weight: 500; color: var(--copper-dark);
}
.faq__mail:hover { color: var(--ink); }
.faq__list { flex: 2 1 520px; min-width: 0; border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--rule-light); }
.faq__item h3 { margin: 0; font: inherit; }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0;
  background: transparent; border: 0; cursor: pointer;
  text-align: left; color: var(--ink);
  transition: color .25s;
}
.faq__q:hover { color: var(--copper-dark); }
.faq__q-text { font-size: clamp(18px, 1.5vw, 21px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.faq__icon {
  flex: 0 0 36px; position: relative; height: 36px;
  border: 1px solid var(--chip-light); border-radius: 50%;
  transition: transform .4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
}
.faq__icon::before { width: 12px; height: 1px; margin: -0.5px 0 0 -6px; }
.faq__icon::after { width: 1px; height: 12px; margin: -6px 0 0 -0.5px; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { overflow: hidden; }
.faq__a p {
  margin: 0; padding: 0 64px 28px 0; max-width: 760px;
  font-size: 16px; line-height: 1.65; color: var(--slate);
  text-wrap: pretty;
}
@media (max-width: 599px) {
  .faq__a p { padding-right: 24px; }
}

/* ==========================================================================
   08 — Devis
   ========================================================================== */
.devis {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--cream);
  padding: clamp(96px, 11vw, 160px) 0 clamp(80px, 9vw, 130px);
  scroll-margin-top: 84px;
}
.devis__glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(800px 560px at 10% 16%, rgba(160, 106, 59, 0.15), rgba(160, 106, 59, 0) 70%);
}
.devis__row { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px clamp(40px, 6vw, 96px); }
.devis__aside { flex: 1 1 380px; min-width: 0; max-width: 560px; }
.devis__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 6.6vw, 108px); line-height: 0.92; letter-spacing: -0.025em;
}
.devis__title em { color: var(--copper); }
.devis__lead { margin: 28px 0 0; max-width: 460px; font-size: 18px; line-height: 1.55; color: var(--mute-2); text-wrap: pretty; }
.checklist { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid rgba(236, 232, 225, 0.12); }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 0;
  border-bottom: 1px dashed rgba(236, 232, 225, 0.12);
  font-size: 15.5px; color: var(--cream);
}
.devis__mail { margin-top: 40px; }
.devis__mail .mono-label { color: var(--mute); }
.devis__mail a {
  display: inline-block; margin-top: 12px; padding-bottom: 4px;
  border-bottom: 1px solid var(--copper);
  font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1;
  color: var(--cream);
  overflow-wrap: anywhere;
}
.devis__mail a:hover { color: var(--copper-light); }

/* Carte du formulaire */
.form-card {
  flex: 1.25 1 460px; min-width: 0;
  background: var(--ink-2);
  border: 1px solid #2A2E35; border-radius: 8px;
  padding: clamp(22px, 3vw, 40px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  scroll-margin-top: 110px;
}
.form-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 16px; }
.form-head__title { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; color: var(--cream); }
.form-head__sub { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }

.progress { margin-top: 26px; }
.progress__labels {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px;
  margin: 0; padding: 0; list-style: none;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
}
.progress__labels li { color: var(--mute); transition: color .3s; }
.progress__labels li.is-done { color: var(--cream); }
.progress__labels li.is-current { color: var(--copper-light); }
.progress__bar { position: relative; height: 2px; margin-top: 12px; background: #2A2E35; overflow: hidden; }
.progress__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 25%;
  background: var(--copper);
  transition: width .6s var(--ease);
}

.form-step { margin-top: 34px; }
.form-step:focus { outline: none; }
.form-step__title { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--cream); }
.form-step__title:focus { outline: none; }
.group-label {
  display: block;
  margin-top: 22px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.group-label--spaced { margin-top: 26px; }
.form-hint { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--mute); }

.opt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.fields { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 22px; margin-top: 12px; }
@media (min-width: 620px) {
  .opt-grid, .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.opt {
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left;
  padding: 16px 16px 18px;
  border: 0; border-radius: 6px;
  background: rgba(236, 232, 225, 0.02);
  box-shadow: inset 0 0 0 1px #2A2E35;
  color: var(--cream); cursor: pointer;
  transition: background .2s, box-shadow .2s;
}
.opt:hover { box-shadow: inset 0 0 0 1px rgba(160, 106, 59, 0.7); }
.opt[aria-pressed="true"] { background: rgba(160, 106, 59, 0.14); box-shadow: inset 0 0 0 1px var(--copper); }
.opt__top {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mute);
}
.opt__dot {
  display: block; flex: none; width: 8px; height: 8px;
  transform: rotate(45deg);
  border: 1px solid #6B7078; background: transparent;
  transition: background .2s, border-color .2s;
}
.opt[aria-pressed="true"] .opt__dot { background: var(--copper-light); border-color: var(--copper-light); }
.opt__name { margin-top: 14px; font-size: 16.5px; font-weight: 500; letter-spacing: -0.01em; }
.opt__price { margin-top: 4px; font-size: 14px; color: var(--copper-light); }

.estimate {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 8px 16px;
  margin-top: 22px; padding: 16px 18px;
  border: 1px dashed #3A3F47; border-radius: 6px;
}
.estimate__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.estimate__value { font-size: 15px; color: var(--cream); }

.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pill {
  height: 40px; padding: 0 15px;
  border: 0; border-radius: 999px;
  background: transparent;
  box-shadow: inset 0 0 0 1px #33373E;
  color: var(--cream); font-size: 14px; cursor: pointer;
  transition: background .2s, box-shadow .2s, color .2s;
}
.pill:hover { box-shadow: inset 0 0 0 1px var(--copper); }
.pill--multi { color: #C9C6C0; }
.pill--multi[aria-pressed="true"] { background: rgba(160, 106, 59, 0.16); box-shadow: inset 0 0 0 1px var(--copper); color: var(--cream); }
.pill--single[aria-pressed="true"] { background: var(--copper); box-shadow: inset 0 0 0 1px var(--copper); color: #FFFFFF; }

.questions { margin-top: 34px; display: flex; flex-direction: column; gap: 28px; }
.question__label { margin: 0; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--cream); }
.question__extra { margin-top: 16px; }

.field { display: block; }
.field__label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.field__input {
  display: block; width: 100%;
  margin-top: 8px; padding: 12px 0;
  background: transparent;
  border: 0; border-bottom: 1px solid #3A3F47; border-radius: 0;
  outline: none;
  font-size: 16px; color: var(--cream);
  transition: border-color .2s;
}
.field__input:focus { border-color: var(--copper); }
.field__input:focus-visible { outline: none; }
.field__input[aria-invalid="true"] { border-color: #E2B48A; }
textarea.field__input { min-height: 120px; resize: vertical; line-height: 1.5; }
.field--wide { margin-top: 26px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-error {
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
  font-size: 14px; color: #E2B48A;
}
.form-error .diamond { flex: none; background: #E2B48A; }
.form-error a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Case d'accord sous le bouton d'envoi (dernière étape) */
.consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.consent__box {
  -webkit-appearance: none; appearance: none;
  flex: none; display: grid; place-content: center;
  width: 18px; height: 18px; margin: 1px 0 0;
  border: 1px solid #4A4F57; border-radius: 3px;
  background: transparent; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.consent__box::before {
  content: ''; width: 10px; height: 6px;
  border: solid #FFFFFF; border-width: 0 0 2px 2px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .2s var(--ease);
}
.consent__box:hover { border-color: var(--copper); }
.consent__box:checked { background: var(--copper); border-color: var(--copper); }
.consent__box:checked::before { transform: translateY(-1px) rotate(-45deg) scale(1); }
.consent__box:focus-visible { outline: 2px solid var(--copper-light); outline-offset: 3px; }
.consent__box[aria-invalid="true"] { border-color: #E2B48A; }
.consent__text { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--mute-2); }
.consent__text label { cursor: pointer; }
.consent__text a { color: var(--mute); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.consent__text a:hover { color: var(--cream); }

.form-nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid #2A2E35;
}
.form-nav__count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.btn-outline {
  height: 52px; padding: 0 18px;
  background: transparent;
  border: 1px solid #33373E; border-radius: 4px;
  color: var(--cream); font-size: 15px; cursor: pointer;
  transition: background .2s;
}
.btn-outline:hover { background: rgba(236, 232, 225, 0.05); }
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 22px; margin-left: auto;
  border: 0; border-radius: 4px;
  background: var(--copper); color: #FFFFFF;
  font-size: 15px; font-weight: 500; cursor: pointer;
  transition: background .25s, opacity .25s;
}
.btn-submit:hover { background: var(--copper-dark); }
.btn-submit[disabled] { opacity: 0.6; cursor: progress; }

/* Confirmation */
.form-done { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 0; }
.form-done:focus { outline: none; }
.form-done__logo { height: 76px; width: auto; }
.form-done__ref { margin: 30px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--copper-light); }
.form-done__title {
  margin: 14px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -0.015em; color: var(--cream);
}
.form-done__text { margin: 16px 0 0; max-width: 460px; font-size: 16.5px; line-height: 1.6; color: var(--mute-2); text-wrap: pretty; }
.form-done__text strong { font-weight: 400; color: var(--cream); }
.form-done__text a { color: var(--copper-light); }
.summary { width: 100%; margin: 28px 0 0; border-top: 1px solid #2A2E35; }
.summary > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed #2A2E35;
}
.summary dt { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.summary dd { margin: 0; text-align: right; font-size: 14.5px; color: var(--cream); }
.form-done .btn-outline { margin-top: 28px; }

.form-anim { animation: form-in .52s var(--ease); }
@keyframes form-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--cream); border-top: 1px solid var(--rule-dark); overflow: hidden; }
.site-footer__inner {
  position: relative;
  max-width: 1360px; margin: 0 auto;
  padding: clamp(56px, 6vw, 84px) var(--gutter) 0;
}
.footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 44px 48px; }
.footer-brand { flex: 2 1 340px; min-width: 0; }
.lockup { display: flex; align-items: stretch; gap: 18px; color: var(--cream); }
.lockup:hover { color: var(--cream); }
.lockup img { height: 72px; width: auto; }
.lockup__text { display: flex; flex-direction: column; justify-content: center; }
.lockup__name { font-family: var(--serif); font-size: 32px; line-height: 1; letter-spacing: -0.01em; }
.lockup__tagline { margin-top: 6px; font-size: 13px; color: var(--copper-light); }
.lockup__rule { width: 1px; margin-left: 14px; background: var(--copper); }
.footer-brand p { margin: 26px 0 0; max-width: 380px; font-size: 15px; line-height: 1.6; color: var(--mute-2); }
.footer-col { flex: 1 1 150px; }
.footer-col--contact { flex: 1 1 200px; }
.footer-col--cta { flex: 1 1 220px; }
.footer-col__title { margin: 0; font-family: var(--mono); font-weight: 400; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.footer-links {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  margin: 18px 0 0; padding: 0; list-style: none;
  font-size: 15px;
}
.footer-links a { color: var(--cream); }
.footer-links a:hover { color: var(--copper-light); }
.footer-links span { color: var(--mute-2); }
.footer-col--cta p { margin: 18px 0 0; font-size: 15px; line-height: 1.55; color: var(--mute-2); }
.footer-cta {
  display: inline-flex; align-items: center; gap: 10px;
  height: 46px; margin-top: 16px; padding: 0 18px;
  background: var(--copper); color: #FFFFFF; border-radius: 4px;
  font-size: 14.5px; font-weight: 500;
  transition: background .25s;
}
.footer-cta:hover { background: var(--copper-dark); color: #FFFFFF; }
.footer-giant {
  margin: clamp(56px, 7vw, 104px) 0 0.16em;
  font-family: var(--serif); font-size: min(15vw, 228px); line-height: 0.8; letter-spacing: -0.035em;
  text-align: center; white-space: nowrap;
  color: var(--cream);
  user-select: none;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px;
  padding: 24px 0 30px;
  border-top: 1px solid var(--rule-dark);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
}
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a { color: var(--mute); }
.footer-bottom a:hover { color: var(--cream); }

/* ==========================================================================
   Pages secondaires (mentions légales, confidentialité, 404)
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(140px, 15vw, 200px) 0 clamp(48px, 6vw, 80px);
  background: var(--ink);
}
.page-hero__title {
  margin: 26px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(46px, 6.4vw, 100px); line-height: 0.95; letter-spacing: -0.025em;
}
.page-hero__title em { color: var(--copper); }
.page-hero__lead { margin: 24px 0 0; max-width: 600px; font-size: 18px; line-height: 1.55; color: var(--mute-2); }
.prose { max-width: 760px; }
.prose h2 {
  margin: 56px 0 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { font-size: 16.5px; line-height: 1.7; color: #33373E; }
.prose p { margin: 16px 0 0; }
.prose ul { margin: 16px 0 0; padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--copper-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose .todo {
  padding: 1px 6px; border-radius: 3px;
  background: rgba(160, 106, 59, 0.14); color: var(--copper-dark);
  font-family: var(--mono); font-size: 0.86em;
}
.prose .updated { margin-top: 48px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--slate); }

/* ==========================================================================
   Apparitions au défilement
   ========================================================================== */
.reveal-on [data-reveal]:not(.is-revealed) {
  opacity: 0;
  transform: translateY(26px);
}
.reveal-on [data-reveal].is-revealing {
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
/* Titres découpés en lignes : chaque ligne monte derrière un masque */
[data-split].is-split .line { display: block; overflow: hidden; padding: 0.1em 0.14em 0.12em 0; margin: -0.1em 0 -0.12em; }
[data-split].is-split .line__inner { display: inline-block; }
.reveal-on [data-split][data-reveal]:not(.is-revealed) { opacity: 1; transform: none; }
.reveal-on [data-split]:not(.is-revealed) .line__inner { transform: translateY(112%); }
.reveal-on [data-split].is-revealing .line__inner {
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--li, 0) * 120ms);
}

/* ==========================================================================
   Micro-interactions : souris et navigation
   ========================================================================== */

/* En-tête : se resserre au défilement, fine barre de progression de lecture */
.nav { position: relative; transition: height .45s var(--ease), background-color .45s, box-shadow .45s; }
.site-header.is-scrolled .nav { height: 56px; background-color: rgba(17, 19, 23, 0.9); box-shadow: 0 16px 48px rgba(0, 0, 0, 0.32); }
.nav__progress {
  position: absolute; left: 14px; right: 14px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}

/* Section en cours : le losange de la marque glisse sous le lien actif */
.nav__links { position: relative; }
.nav__marker {
  position: absolute; left: 0; bottom: -11px;
  width: 5px; height: 5px;
  background: var(--copper-light);
  transform: translateX(var(--marker-x, 0px)) rotate(45deg);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.nav__marker.is-ready { transition: opacity .3s, transform .6s var(--ease); }
.nav__links.has-active .nav__marker { opacity: 1; }

/* Liens : un soulignement se dessine de gauche à droite */
.nav__links a, .footer-links a, .footer-bottom a, .faq__mail, .link-arrow {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color .25s, background-size .45s var(--ease);
}
.nav__links a { padding-bottom: 3px; }
.nav__links a:hover, .footer-links a:hover, .footer-bottom a:hover, .faq__mail:hover, .link-arrow:hover { background-size: 100% 1px; }

/* Flèches : glissent au survol ; dans les boutons, elles sortent et reviennent */
.arrow { display: inline-block; }
.btn__icon, .round-btn { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .arrow { transition: translate .4s var(--ease); }
  a:hover .arrow, button:hover .arrow { translate: 4px 0; }
  .btn:hover .btn__icon .arrow, .round-btn:hover .arrow, .service:hover .round-btn .arrow { translate: 0 0; animation: arrow-loop .7s var(--ease); }
}
@keyframes arrow-loop {
  0% { translate: 0 0; opacity: 1; }
  42% { translate: 16px 0; opacity: 0; }
  43% { translate: -16px 0; opacity: 0; }
  100% { translate: 0 0; opacity: 1; }
}

/* Boutons magnétiques (souris uniquement) */
.has-fine-pointer .is-magnetic {
  translate: var(--mag-x, 0px) var(--mag-y, 0px);
  transition: translate .5s var(--ease), background-color .25s, color .25s, border-color .25s, opacity .25s;
}

/* Anneau qui suit le curseur */
.cursor-ring { position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none; opacity: 0; transition: opacity .35s; will-change: transform; }
.cursor-ring.is-visible { opacity: 1; }
.cursor-ring__circle {
  display: block; width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border: 1px solid rgba(193, 141, 95, 0.7); border-radius: 50%;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor-ring.is-hover .cursor-ring__circle { transform: scale(1.6); background-color: rgba(193, 141, 95, 0.1); border-color: rgba(193, 141, 95, 0.95); }
.cursor-ring.is-down .cursor-ring__circle { transform: scale(0.8); }
.cursor-ring.is-hover.is-down .cursor-ring__circle { transform: scale(1.35); }
.cursor-ring.is-text .cursor-ring__circle { opacity: 0; transform: scale(0.5); }

/* Halo lumineux qui suit la souris sur les cartes */
.offer, .stat { position: relative; isolation: isolate; }
.offer::before, .stat::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), var(--spot, rgba(160, 106, 59, 0.12)), transparent 65%);
  opacity: 0; transition: opacity .5s;
}
.offer--featured, .stat--dark { --spot: rgba(193, 141, 95, 0.2); }
.has-fine-pointer .offer:hover::before, .has-fine-pointer .stat:hover::before { opacity: 1; }

/* Aperçus de projets : halo, léger zoom, titre qui glisse */
.project__media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 240, 220, 0.12), transparent 62%);
  opacity: 0; transition: opacity .5s;
}
.project__badge { z-index: 2; }
.has-fine-pointer .project:hover .project__media::after { opacity: 1; }

/* Lignes et cartes : retours visuels au survol */
.service:hover .round-btn { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.faq__icon { transition: transform .4s var(--ease), border-color .3s; }
.faq__q:hover .faq__icon { border-color: var(--copper); }
.engagement { transition: background-color .4s; }
.engagement:hover { background-color: #E6E1D7; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .offer { transition: translate .55s var(--ease), box-shadow .55s var(--ease); }
  .offer:hover { translate: 0 -4px; box-shadow: 0 26px 50px -30px rgba(17, 19, 23, 0.45); }
  .offer--featured:hover { box-shadow: 0 30px 60px -28px rgba(17, 19, 23, 0.75); }
  .project__media > svg, .project__media > img { transition: scale 1s var(--ease); }
  .project:hover .project__media > svg, .project:hover .project__media > img { scale: 1.03; }
  .project__title { transition: translate .5s var(--ease); }
  .project:hover .project__title { translate: 6px 0; }
  .service__name { transition: translate .5s var(--ease); }
  .service:hover .service__name { translate: 8px 0; }
  .faq__q-text { transition: translate .4s var(--ease); }
  .faq__q:hover .faq__q-text { translate: 6px 0; }
  .opt { transition: background .2s, box-shadow .2s, translate .35s var(--ease); }
  .opt:hover { translate: 0 -2px; }
}


/* Grand « Keystone Studio » du pied de page : une lueur cuivrée suit la souris */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .has-fine-pointer .footer-giant {
    background: radial-gradient(240px circle at var(--mx, -999px) var(--my, -999px), var(--copper-light), var(--cream) 72%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
  }
}

/* Passage d'une page à l'autre : fondu discret (navigateurs compatibles) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
}

/* ==========================================================================
   Accessibilité : mouvements réduits & impression
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse-dot, .marquee__track, .hv-orbit, .hv-arc, .hv-float, .hv-glint,
  .sv-glow, .form-anim { animation: none !important; }
  .hv-glint { display: none; }
  .marquee__track { transform: none; }
  .nav, .nav__marker.is-ready { transition: none; }
  .method__stage *, .method .step { transition: none !important; }
}

@media print {
  .site-header, .mobile-menu, .marquee, .hero-visual, .studio-visual { display: none !important; }
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}
