/* =========================================================
   PRM IMMO — feuille de style
   Identité : bleu nuit #0E1729 · or #D4C217 · ardoise #465469 · blanc
   ========================================================= */

:root {
  --navy: #0E1729;
  --navy-2: #18233B;
  --navy-deep: #0A101E;
  --gold: #D4C217;
  --gold-soft: #F4EFC2;
  --slate: #465469;
  --muted: #6B778A;
  --paper: #FFFFFF;
  --oat: #F7F6F1;
  --oat-2: #EEECE4;
  --line: #ECEAE3;

  --ok: #7BD88F;
  --warn: #F0CF5B;
  --bad: #FF8193;

  --depth: linear-gradient(45deg, #060B15 0%, #1F2E4C 100%);
  --inset-light: inset 0 1px 0 rgba(255, 255, 255, .17), inset 0 -1px 0 rgba(255, 255, 255, .08), inset 1px 0 0 rgba(255, 255, 255, .1), inset -1px 0 0 rgba(255, 255, 255, .1);

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --r-card: 16px;
  --r-media: 24px;
  --r-pill: 9999px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --maxw: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --s-section: clamp(88px, 11vw, 150px);
}

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

html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.011em;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.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;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Typographie ---------- */
.display {
  margin: 0;
  font-weight: 400;
  font-size: clamp(40px, 7.2vw, 100px);
  line-height: .98;
  letter-spacing: -0.042em;
}

.h2 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 13px; font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex: none;
}
.eyebrow--sm { font-size: 12px; margin-bottom: 0; }
.eyebrow--light { color: #fff; }

.media-label {
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.lead {
  margin: 0;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.section__intro {
  max-width: 46ch;
  margin: 22px 0 0;
  font-size: 18px; line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--slate);
}

.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); display: inline-block; flex: none; }
.dot--live { position: relative; }
.dot--live::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit; animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

/* Lien texte avec soulignement or */
.text-link, .card__link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; text-decoration: none;
  letter-spacing: -0.015em;
  padding-bottom: 3px;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0% 2px no-repeat;
  transition: background-size .6s var(--ease);
}
.text-link:hover, .card:hover .card__link { background-size: 100% 2px; }
.text-link .arrow, .card__link .arrow { transition: transform .5s var(--ease); }
.text-link:hover .arrow, .card:hover .card__link .arrow { transform: translateX(5px); }

.ulink {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 100% 100% / 0% 1px no-repeat;
  transition: background-size .5s var(--ease);
}
.ulink:hover { background-size: 100% 1px; background-position: 0 100%; }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 24px;
  border: 0; border-radius: var(--r-pill);
  font: 500 16px/1.2 var(--font);
  letter-spacing: -0.0125em;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  transition: color .45s var(--ease), transform .7s var(--ease);
}
.btn::before {
  content: "";
  position: absolute; z-index: -1;
  left: var(--x, 50%); top: var(--y, 50%);
  width: 260%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--fill);
  transform: translate(-50%, -50%) scale(0);
  transition: transform .65s var(--ease);
}
.btn:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn__label { display: inline-flex; align-items: center; gap: 10px; transition: transform .7s var(--ease); }
.btn.is-magnet, .btn.is-magnet .btn__label { transition: color .45s var(--ease), transform .15s linear; }

.btn--dark { background: var(--navy); color: #fff; --fill: var(--gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn--dark:hover { color: var(--navy); }
.btn--light { background: var(--oat); color: var(--navy); --fill: var(--navy); }
.btn--light:hover { color: #fff; }
.btn--sm { padding: 11px 18px; font-size: 14px; }
.btn--sm .ico { width: 16px; height: 16px; }

/* Lien de navigation « roulant » */
.roll {
  position: relative; display: inline-block; overflow: hidden;
  text-decoration: none;
  font-size: 14px; font-weight: 500; line-height: 1.3;
  letter-spacing: -0.023em;
}
.roll span { display: block; text-shadow: 0 1.4em 0 currentColor; transition: transform .55s var(--ease); }
.roll:hover span { transform: translateY(-1.4em); }

/* ---------- Écran d'ouverture ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--navy);
  transition: transform 1.1s var(--ease-io), border-radius 1.1s var(--ease-io);
}
.js.skip-loader .loader { display: none; }
.loader__inner { width: min(340px, 66vw); }
.loader__logo {
  width: 100%; height: auto;
  clip-path: inset(0 100% 0 0);
  animation: wipe 1.1s var(--ease) .15s forwards;
}
.loader__bar { height: 2px; margin-top: 30px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.loader__bar span {
  display: block; height: 100%;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  animation: grow 1.3s var(--ease-io) forwards;
}
.is-loaded .loader {
  transform: translateY(-100%);
  border-radius: 0 0 50% 50% / 0 0 14vh 14vh;
}
@keyframes wipe { to { clip-path: inset(0 0 0 0); } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Barre de progression & curseur ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 150;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.cursor span {
  display: block;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: transform .45s var(--ease), background-color .3s, border-width .3s;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover span { transform: scale(1.9); border-width: 1px; background-color: rgba(212, 194, 23, .16); }
.cursor.is-down span { transform: scale(.7); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 76px;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 44px; width: auto; }
.nav__links { display: flex; gap: 34px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(124px, 17vh, 176px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.hero__side { max-width: 440px; justify-self: end; padding-bottom: 8px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero__note {
  display: flex; align-items: center; gap: 12px;
  margin: 22px 0 0;
  font-family: var(--mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--slate);
}

.hero__title { font-size: clamp(40px, 6.6vw, 94px); }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .line__inner { display: block; }

/* Mot qui tourne */
.rotator {
  position: relative;
  display: inline-block;
  vertical-align: top;
  height: 1.1em;
  overflow: hidden;
  isolation: isolate;
  transition: width .9s var(--ease);
}
.rotator__word {
  position: absolute; left: 0; top: 0;
  white-space: nowrap;
  transform: translateY(130%);
  transition: transform 1s var(--ease);
}
.rotator__word:first-child { position: relative; }
.js .rotator__word:first-child { position: absolute; }
.rotator__word.is-active { transform: none; }
.rotator__word.is-out { transform: translateY(-130%); }
.rotator__word.no-t { transition: none; }
.no-js .rotator__word:first-child { transform: none; }
.rotator::after {
  content: "";
  position: absolute; z-index: -1;
  left: 0; right: .32em; bottom: .14em;
  height: .2em;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(0);
}
.rotator.is-mark::after { animation: mark 1s var(--ease) .25s forwards; }
.no-js .rotator::after { transform: none; }
@keyframes mark { to { transform: scaleX(1); } }

/* Entrée du hero (après l'écran d'ouverture) */
.js [data-hero] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready [data-hero] { opacity: 1; transform: none; }
.js .hero__title .line__inner { transform: translateY(108%); transition: transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .hero__title .line__inner { transform: none; }

/* ---------- Démonstration (stage) ---------- */
.stage { margin-top: clamp(44px, 6vw, 80px); transform-origin: 50% 0; will-change: transform; }
.stage__frame {
  position: relative;
  aspect-ratio: 16 / 8.4;
  min-height: 460px;
  border-radius: var(--r-media);
  background: var(--depth);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.js .stage__frame { clip-path: inset(10% 5% 0 5% round var(--r-media)); transition: clip-path 1.7s var(--ease) .3s; }
.js.is-ready .stage__frame { clip-path: inset(0 0 0 0 round var(--r-media)); }

.stage__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at 40% 50%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse at 40% 50%, #000 25%, transparent 72%);
}
.stage__glow {
  position: absolute; z-index: -1;
  left: var(--gx, 35%); top: var(--gy, 50%);
  width: 55%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 194, 23, .2), transparent 62%);
  transform: translate(-50%, -50%);
  transition: left 1.2s var(--ease), top 1.2s var(--ease);
  pointer-events: none;
}
.stage__label { position: absolute; top: 26px; left: 28px; color: rgba(255, 255, 255, .7); }
.stage__label--r { left: auto; right: 28px; display: inline-flex; align-items: center; gap: 10px; }

.plan {
  position: absolute;
  left: 5%; top: 52%;
  width: min(57%, 740px);
  transform: translateY(-50%) perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 1s var(--ease);
}
.plan__svg { width: 100%; height: auto; overflow: visible; }
.plan .wall { fill: none; stroke: #fff; stroke-width: 5; stroke-linejoin: miter; }
.plan .wall--in { stroke-width: 3.2; }
.plan .window { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 1.2; }
.plan .door path { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.plan .furn * { fill: none; stroke: rgba(255, 255, 255, .36); stroke-width: 1.3; }
.plan .room { fill: var(--gold); opacity: 0; transition: opacity .8s var(--ease); }
.plan .room.is-checked { opacity: .1; }
.plan .room-labels text {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; fill: rgba(255, 255, 255, .62);
}

.js .plan .draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js.is-ready .plan .draw { animation: draw 1.8s var(--ease) forwards; animation-delay: calc(.7s + var(--i, 0) * .07s); }
.js .plan .room-labels { opacity: 0; transition: opacity 1s 2.2s; }
.js.is-ready .plan .room-labels { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.plan__scan {
  position: absolute; top: -5%; bottom: -5%;
  left: 0; width: 2px;
  background: linear-gradient(transparent, var(--gold) 20%, var(--gold) 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(212, 194, 23, .55);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.plan__scan::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 110px;
  background: linear-gradient(90deg, transparent, rgba(212, 194, 23, .13));
}

.pin {
  position: absolute;
  width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform .55s var(--spring);
}
.pin::before {
  content: ""; position: absolute; inset: 7px 6px 8px 7px;
  border: solid var(--navy); border-width: 0 0 2.2px 2.2px;
  transform: rotate(-45deg) translate(1px, -1px);
  width: 10px; height: 5px;
}
.pin::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold); opacity: 0;
}
.pin.is-on { transform: scale(1); }
.pin.is-on::after { animation: ripple 1.2s var(--ease) forwards; }
@keyframes ripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

/* Cartes flottantes */
.float { position: absolute; }
.float__in { opacity: 0; transform: translateY(28px) scale(.96); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js.is-ready .float__in { opacity: 1; transform: none; }
.no-js .float__in { opacity: 1; transform: none; }
.glass {
  background: rgba(10, 16, 30, .58);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-radius: var(--r-card);
  box-shadow: var(--inset-light);
}
.float--a { right: 5%; top: 15%; width: min(290px, 30%); }
.float--a .float__in { padding: 20px 22px 22px; }
.float__head { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .7); }
.float__room { margin: 14px 0 14px; font-size: 24px; letter-spacing: -0.03em; line-height: 1.1; overflow: hidden; }
.float__room span { display: inline-block; }
.float__room span.swap { animation: swap .7s var(--ease); }
@keyframes swap { from { transform: translateY(80%); opacity: 0; } to { transform: none; opacity: 1; } }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .5); transition: color .4s; }
.checks i {
  position: relative; width: 18px; height: 18px; flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3);
  transition: background-color .35s, box-shadow .35s;
}
.checks i::after {
  content: ""; position: absolute; left: 5px; top: 5px; width: 8px; height: 4px;
  border: solid var(--navy); border-width: 0 0 2px 2px;
  transform: rotate(-45deg) scale(0);
  transition: transform .4s var(--spring);
}
.checks li.is-done { color: #fff; }
.checks li.is-done i { background: var(--gold); box-shadow: none; }
.checks li.is-done i::after { transform: rotate(-45deg) scale(1); }

.float__bar { height: 3px; margin-top: 18px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.float__bar span { display: block; height: 100%; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }

.float--b { right: 9%; bottom: 12%; }
.toast { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; }
.toast strong { display: block; font-weight: 500; font-size: 15px; letter-spacing: -0.02em; margin-bottom: 6px; }
.toast .media-label { color: rgba(255, 255, 255, .6); }
.toast__icon {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--ok);
  color: var(--ok);
}
.toast__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.float--b.is-done .toast { animation: pop .8s var(--spring); }
.float--b .toast { transition: opacity .6s var(--ease), transform .8s var(--ease), box-shadow .6s; }
.float--b:not(.is-done) .toast__icon { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .25); }
.float--b .toast__icon { transition: box-shadow .5s, color .5s; }

.float--c { left: 28px; bottom: 26px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--r-pill); }
.chip svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float--c.is-done .chip { animation: pop .8s var(--spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.06); } 100% { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--s-section); }
.section__head { max-width: 760px; }

/* Apparitions au scroll */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease), filter 1s var(--ease), background-size .6s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js [data-split] .w__i { display: inline-block; transform: translateY(112%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js [data-split].is-in .w__i { transform: none; }

/* ---------- Services ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
}
.card-wrap { perspective: 1400px; }
.card {
  position: relative;
  display: flex; flex-direction: column;
  height: 100%;
  min-height: 580px;
  padding: 40px 32px 0;
  border-radius: var(--r-card);
  background: var(--oat);
  overflow: hidden;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform .9s var(--ease);
}
.card.is-tilting { transition: transform .15s ease-out; }
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .95), transparent 45%);
  opacity: 0;
  transition: opacity .5s;
}
.card:hover::before { opacity: 1; }
.card h3 { margin: 16px 0 12px; font-size: clamp(25px, 2.2vw, 31px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.card p { margin: 0 0 20px; color: var(--slate); line-height: 1.5; }
.card__art { position: relative; margin-top: auto; height: 250px; display: grid; place-items: end center; }

.disc {
  position: absolute; left: 50%; bottom: -96px;
  width: 270px; aspect-ratio: 1;
  margin-left: -135px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 1.1s var(--ease) .35s;
}
.card-wrap.is-in .disc, .no-js .disc { transform: scale(1); }
.card-wrap.is-in .card:hover .disc { transform: scale(1.14); transition-delay: 0s; }

.art { position: relative; width: 210px; height: auto; margin-bottom: 26px; overflow: visible; }
.art * { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.art .fill-w { fill: #fff; }
.art .fill-n { fill: var(--navy); }
.art .fill-glass { fill: rgba(255, 255, 255, .55); }
.art text { fill: var(--gold); stroke: none; font: 600 25px var(--font); }

.art-key { transform-box: view-box; transform-origin: 70px 104px; transition: transform .9s var(--spring); }
.card:hover .art-key { transform: rotate(-28deg) translateX(-4px); }
.art-spark { opacity: 0; transform-box: view-box; transform-origin: 190px 104px; transform: scale(.4); transition: opacity .4s, transform .6s var(--spring); }
.card:hover .art-spark { opacity: 1; transform: scale(1); transition-delay: .15s; }

.art-leaf { transform-box: view-box; transform-origin: 71px 104px; transition: transform .9s var(--ease); }
.card:hover .art-leaf { transform: scaleX(.42) skewY(-9deg); }
.art-exit { opacity: 0; transform: translateX(-14px); transition: opacity .4s, transform .7s var(--ease); }
.card:hover .art-exit { opacity: 1; transform: none; transition-delay: .2s; }

.art-mag { transition: transform .9s var(--ease); }
.card:hover .art-mag { animation: scan 2.4s var(--ease-io) infinite; }
@keyframes scan {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-22px, 18px); }
  66% { transform: translate(8px, 34px); }
}
.art-stamp { transform-box: view-box; transform-origin: 152px 144px; transition: transform .7s var(--spring); }
.card:hover .art-stamp { transform: rotate(-14deg) scale(1.18); }
.art-lines { stroke-dasharray: 62 200; transition: stroke-dasharray .9s var(--ease); }
.card:hover .art-lines { stroke-dasharray: 34 200; }

/* ---------- Phrase clé ---------- */
.statement { padding-top: var(--s-section); }
.statement__text {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(32px, 4.9vw, 70px);
  font-weight: 400; line-height: 1.06;
  letter-spacing: -0.04em;
}
.statement__text em { font-style: normal; }
.js .statement__text .w { opacity: .13; transition: opacity .45s ease; }
.js .statement__text .w.is-on { opacity: 1; }
.statement__text .w--em { position: relative; display: inline-block; isolation: isolate; }
.statement__text .w--em::after {
  content: ""; position: absolute; z-index: -1;
  left: -.04em; right: -.04em; bottom: .1em; height: .2em;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) .1s;
}
.statement__text .w--em.is-on::after, .no-js .statement__text em { transform: scaleX(1); }

/* ---------- Méthode ---------- */
.method { position: relative; }
.method__sticky { padding-block: 0; }
.method__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.method__head .h2 { max-width: 15ch; }
.method__hint { display: none; align-items: center; gap: 10px; color: var(--slate); margin: 0 0 10px; }
.method__track { display: grid; gap: 12px; margin-top: 48px; padding-inline: var(--gutter); }
.method__progress { display: none; }

.step {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 32px;
  min-height: 360px;
  border-radius: var(--r-card);
  background: var(--oat);
  overflow: hidden;
}
.step__top { display: flex; align-items: flex-start; justify-content: space-between; }
.step__num {
  font-size: clamp(80px, 8.6vw, 132px);
  font-weight: 400; line-height: .82;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--navy);
  transition: color .8s var(--ease), -webkit-text-stroke-color .8s;
}
.step.is-active .step__num { color: var(--navy); }
.step__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff;
  transform: scale(.6) rotate(-30deg); opacity: 0;
  transition: transform .8s var(--spring) .1s, opacity .5s .1s, background-color .4s;
}
.step__icon .ico { width: 22px; height: 22px; }
.step.is-active .step__icon { transform: none; opacity: 1; }
.step:hover .step__icon { background: var(--gold); }
.step .media-label { color: var(--slate); }
.step h3 { margin: 12px 0 10px; font-size: clamp(25px, 2.3vw, 32px); font-weight: 500; line-height: 1.08; letter-spacing: -0.035em; }
.step p { margin: 0; color: var(--slate); line-height: 1.5; }
.step p a { color: var(--navy); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 3px; text-decoration-thickness: 2px; }

.step--dark { background: var(--depth); color: #fff; }
.step--dark .step__num { -webkit-text-stroke-color: rgba(255, 255, 255, .7); }
.step--dark.is-active .step__num { color: var(--gold); -webkit-text-stroke-color: var(--gold); }
.step--dark .step__icon { background: rgba(255, 255, 255, .1); }
.step--dark:hover .step__icon { background: var(--gold); color: var(--navy); }
.step--dark .media-label, .step--dark p { color: rgba(255, 255, 255, .7); }

.ledger { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.ledger li {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  font-size: 14px;
  opacity: 0; transform: translateX(24px);
  transition: opacity .7s var(--ease), transform .8s var(--ease), background-color .3s;
  transition-delay: calc(.35s + var(--i) * .14s);
}
.step.is-active .ledger li { opacity: 1; transform: none; }
.ledger li:hover { background: rgba(255, 255, 255, .12); }
.status {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px; border-radius: var(--r-pill);
  font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  font-style: normal; white-space: nowrap;
}
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--ok); background: rgba(123, 216, 143, .12); }
.status--warn { color: var(--warn); background: rgba(240, 207, 91, .12); }
.status--bad { color: var(--bad); background: rgba(255, 129, 147, .12); }

/* Version épinglée (grand écran) */
.method.is-pinned .method__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  padding-block: 0;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.method.is-pinned .method__hint { display: inline-flex; }
.method.is-pinned .method__track {
  display: flex;
  width: max-content;
  margin-top: clamp(32px, 5vh, 56px);
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  will-change: transform;
}
.method.is-pinned .step { width: clamp(340px, 31vw, 450px); min-height: min(54vh, 470px); flex: none; }
.method.is-pinned .step--dark { width: clamp(380px, 36vw, 520px); }
.method.is-pinned .method__progress {
  display: block;
  position: relative;
  height: 2px; margin-top: clamp(28px, 4.5vh, 48px);
  background: var(--line);
}
.method__progress span { position: absolute; inset: 0; background: var(--navy); transform: scaleX(0); transform-origin: left; }

/* ---------- Tarifs ---------- */
.tarifs__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.tarifs__intro { position: sticky; top: 120px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; padding: 0; }
.chips li {
  padding: 9px 15px;
  border-radius: var(--r-pill);
  background: var(--oat);
  font-size: 14px; font-weight: 500; letter-spacing: -0.02em;
  transform: translateY(14px) scale(.9); opacity: 0;
  transition: transform .7s var(--spring), opacity .5s, background-color .3s;
  transition-delay: calc(.25s + var(--i) * .06s);
}
.chips.is-in li, .no-js .chips li { transform: none; opacity: 1; }
.chips.is-in li:hover { background: var(--gold); transform: translateY(-3px); transition-delay: 0s; }

.board { border-radius: var(--r-card); background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.board__head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 16px 24px;
  background: var(--oat);
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--slate);
}
.prices { list-style: none; margin: 0; padding: 0; }
.price {
  position: relative;
  display: flex; align-items: baseline; gap: 16px;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  isolation: isolate;
  overflow: hidden;
}
.prices .price:first-child { border-top: 0; }
.price::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--oat);
  transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--ease);
}
.price::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform .5s var(--ease);
}
.price:hover::before { transform: scaleX(1); }
.price:hover::after { transform: scaleY(1); }
.price__name { font-size: clamp(17px, 1.5vw, 20px); letter-spacing: -0.025em; transition: transform .6s var(--ease); }
.price:hover .price__name { transform: translateX(8px); }
.price__dots {
  flex: 1; min-width: 20px;
  border-bottom: 1.5px dotted #C3C9D2;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.3s var(--ease);
  transition-delay: var(--d, 0s);
}
.price.is-in .price__dots, .no-js .price__dots { transform: scaleX(1); }
.price__val {
  display: inline-flex; align-items: baseline; gap: 2px; flex-wrap: wrap; justify-content: flex-end;
  font-size: clamp(22px, 2.1vw, 30px);
  font-weight: 500; letter-spacing: -0.035em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: transform .6s var(--spring);
}
.price__val b { font-weight: 500; }
.price__val small {
  flex-basis: 100%; text-align: right;
  margin-top: 4px;
  font-family: var(--mono); font-size: 11px; font-weight: 400;
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--slate);
}
.price:hover .price__val { transform: scale(1.06); }
.price--sub .price__name { padding-left: 22px; color: var(--slate); font-size: 16px; position: relative; }
.price--sub .price__name::before {
  content: ""; position: absolute; left: 4px; top: 50%;
  width: 10px; height: 10px; margin-top: -8px;
  border: solid var(--gold); border-width: 0 0 2px 2px;
  border-bottom-left-radius: 3px;
}
.price--sub .price__val { font-size: clamp(18px, 1.6vw, 22px); }

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 12px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--oat);
  color: var(--slate);
  font-size: 14px; line-height: 1.55;
}
.notice p { margin: 0; }
.notice .ico { margin-top: 2px; color: var(--navy); }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--s-section); scroll-margin-top: 24px; }
.contact__panel {
  position: relative;
  padding: clamp(48px, 8vw, 112px) clamp(24px, 6vw, 88px) clamp(32px, 5vw, 64px);
  border-radius: var(--r-media);
  background: var(--depth);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.contact__disc {
  position: absolute; z-index: -1;
  right: -8%; top: -22%;
  width: clamp(240px, 34vw, 480px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
}
.contact__ring {
  position: absolute; z-index: -1;
  right: 18%; top: 34%;
  width: clamp(120px, 15vw, 220px); aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .25);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { rotate: 360deg; } }
.contact__title { color: #fff; max-width: 11ch; }
.contact__lead { max-width: 44ch; margin: 24px 0 0; font-size: 18px; line-height: 1.45; letter-spacing: -0.02em; color: rgba(255, 255, 255, .72); }

.contact__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(40px, 5vw, 64px); }
.ccard {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: 28px;
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: var(--inset-light);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.ccard.is-in { transition: color .5s var(--ease), transform .7s var(--ease), opacity 1s var(--ease), filter 1s var(--ease); transition-delay: 0s; }
.ccard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transform: translateY(102%);
  transition: transform .8s var(--ease), border-radius .8s var(--ease);
}
.ccard:hover { color: var(--navy); }
.ccard:hover::before { transform: none; border-radius: 0; }
.ccard .media-label { opacity: .7; }
.ccard__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1);
  transition: background-color .5s, color .5s;
}
.ccard__icon .ico { width: 22px; height: 22px; }
.ccard:hover .ccard__icon { background: var(--navy); color: var(--gold); }
.ccard:hover .ccard__icon .ico { animation: ring .9s var(--ease); }
@keyframes ring {
  0%, 100% { transform: rotate(0); }
  15% { transform: rotate(-16deg); } 30% { transform: rotate(14deg); }
  45% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); }
}
.ccard__value { font-size: clamp(26px, 3.3vw, 46px); line-height: 1; letter-spacing: -0.045em; overflow-wrap: anywhere; }
.ccard__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 500; }
.ccard__cta .arrow { transition: transform .6s var(--ease); }
.ccard:hover .ccard__cta .arrow { transform: translateX(6px); }

.contact__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 14px; color: rgba(255, 255, 255, .7);
}
.contact__meta > span { display: inline-flex; align-items: center; gap: 8px; }
.copy {
  display: inline-flex; align-items: center; gap: 8px;
  margin-left: auto;
  padding: 9px 14px;
  border: 0; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .08);
  color: #fff; font-size: 13px; font-weight: 500;
  cursor: pointer;
  transition: background-color .3s, color .3s, transform .5s var(--spring);
}
.copy .ico { width: 15px; height: 15px; }
.copy:hover { background: rgba(255, 255, 255, .16); }
.copy:active { transform: scale(.95); }
.copy.is-copied { background: var(--gold); color: var(--navy); }

/* ---------- Page message ---------- */
.message { padding-top: clamp(124px, 17vh, 176px); padding-bottom: var(--s-section); }
.message__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: start;
}
.message__intro .text-link { margin-top: 28px; }
.message__intro .text-link .arrow { transform: rotate(180deg); }
.message__intro .text-link:hover .arrow { transform: rotate(180deg) translateX(5px); }

.form {
  display: grid; gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-card);
  background: var(--oat);
}
.field { display: grid; gap: 9px; }
.field__label {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--slate);
  transition: color .3s;
}
.field:focus-within .field__label { color: var(--navy); }
.field__control { position: relative; }
.field input, .field textarea {
  display: block; width: 100%;
  padding: 16px 18px;
  border: 0; border-radius: 12px;
  background: #fff;
  color: var(--navy);
  font: 400 16px/1.45 var(--font);
  letter-spacing: -0.015em;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .35s var(--ease);
}
.field textarea { min-height: 190px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--navy); }
.field__line {
  position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 2px; border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.field:focus-within .field__line { transform: scaleX(1); }
.form .btn { justify-self: start; margin-top: 4px; }
.form.is-sending .btn { opacity: .55; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.4; }
.form__status:empty { display: none; }
.form__status.is-ok { color: #1E681D; animation: rise .6s var(--ease); }
.form__status.is-error { color: #99001C; animation: rise .6s var(--ease); }
.form__status.is-ok::before {
  content: ""; width: 24px; height: 24px; flex: none; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E1729' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
  animation: pop .7s var(--spring);
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Pied de page ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 14px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-block: clamp(56px, 7vw, 88px) 48px;
}
.footer__brand img { width: min(240px, 100%); height: auto; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col .media-label { color: #fff; margin: 0 0 8px; }
.footer__col a { color: rgba(255, 255, 255, .72); transition: color .3s; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 24px 32px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.totop { display: inline-flex; align-items: center; gap: 6px; color: #fff; }
.totop .ico { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.totop:hover .ico { transform: translateY(-4px); }

/* ---------- Barre de contact mobile ---------- */
.dock { display: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { gap: 24px; }
  .float--a { width: min(270px, 34%); }
}

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__title { font-size: clamp(36px, 10.4vw, 84px); }
  .hero__side { justify-self: start; max-width: 560px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card__art { height: 230px; }
  .tarifs__grid { grid-template-columns: minmax(0, 1fr); }
  .tarifs__intro { position: static; }
  .message__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
}

@media (max-width: 760px) {
  .nav { height: 66px; }
  .nav__logo img { height: 38px; }
  .nav .btn--sm { padding: 11px 13px; }
  .nav__phone { display: none; }

  .stage__frame {
    aspect-ratio: auto; min-height: 0;
    display: flex; flex-direction: column; gap: 14px;
    padding: 64px 14px 14px;
  }
  .stage__label { top: 22px; left: 18px; max-width: 64%; line-height: 1.3; }
  .stage__label--r { left: auto; right: 18px; }
  .plan { position: relative; left: auto; top: auto; width: 100%; transform: none; margin: 4px 0 8px; }
  .float { position: relative; inset: auto; width: auto; translate: none !important; }
  .float--a { width: auto; }
  .float--c { display: none; }

  .contact__cards { grid-template-columns: minmax(0, 1fr); }
  .copy { margin-left: 0; }
  .contact__disc { right: -30%; top: -10%; }
  .contact__ring { display: none; }

  .price { padding: 18px 16px; gap: 10px; }
  .board__head { padding: 14px 16px; }

  .footer__bottom { padding-bottom: 104px; }

  .dock {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    display: flex; gap: 8px;
    padding: 8px;
    border-radius: var(--r-pill);
    background: rgba(14, 23, 41, .9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--inset-light), 0 12px 32px rgba(14, 23, 41, .25);
    transform: translateY(150%);
    transition: transform .7s var(--ease);
  }
  .dock.is-visible { transform: none; }
  .dock__btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px;
    border-radius: var(--r-pill);
    font-weight: 500; text-decoration: none;
  }
  .dock__btn--dark { background: rgba(255, 255, 255, .1); color: #fff; }
  .dock__btn--gold { background: var(--gold); color: var(--navy); }
}

@media (max-width: 480px) {
  .hero__ctas .btn { flex: 1 1 auto; }
  .step { padding: 24px; min-height: 0; }
  .card { padding: 32px 22px 0; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Animations réduites */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
}
