/* ==========================================================================
   voeux-interactifs.fr — feuille de style unique
   Charte : bleu nuit, bleu électrique, violet, or (cf. logo).
   ========================================================================== */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/lexend-latin-var.woff2") format("woff2");
}
/* Police de repli ajustée pour limiter le décalage au chargement (CLS). */
@font-face {
  font-family: "Lexend Fallback";
  src: local("Arial");
  size-adjust: 108%;
  ascent-override: 92%;
  descent-override: 24%;
}

:root {
  --navy: #101344;
  --night: #0A0B2E;
  --night-2: #07081F;
  --blue: #2854DB;
  --violet: #7424DF;
  --gold: #E8A02A;
  --gold-l: #FFC466;
  --white: #FFFFFF;
  --off: #F7F8FC;
  --ink: #101344;
  --ink-2: #3E4270;
  --muted: #5F638C;
  --line: #E4E6F2;
  --line-2: #D5D8EA;
  --on-dark: #FFFFFF;
  --on-dark-2: #C3C6EA;
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--blue) 100%);
  --grad-gold: linear-gradient(120deg, var(--gold-l), var(--gold));
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 19, 68, .06), 0 12px 32px -12px rgba(16, 19, 68, .16);
  --shadow-lg: 0 2px 4px rgba(16, 19, 68, .05), 0 30px 60px -24px rgba(58, 30, 160, .32);
  --font: "Lexend", "Lexend Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 350;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.08; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
strong, b { font-weight: 600; }
[hidden] { display: none !important; }
::selection { background: rgba(116, 36, 223, .18); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .section--contact .contact__intro :focus-visible, .section--refs :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-l); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- typo ---------- */
.h2 {
  font-size: clamp(2.05rem, 1.25rem + 3.2vw, 3.9rem);
  letter-spacing: -.035em;
  line-height: 1.04;
  font-weight: 600;
  text-wrap: balance;
}
.h2 + .lead, .h2 + p { margin-top: 22px; }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); line-height: 1.6; max-width: 56ch; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.grad-text--light { background-image: linear-gradient(100deg, #B99BFF 0%, #7FA2FF 55%, var(--gold-l) 100%); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet); margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold-l); }
.px-dot {
  width: 10px; height: 10px; border-radius: 2.5px; flex: none;
  background: var(--grad-gold);
  box-shadow: -7px -7px 0 -2px rgba(116, 36, 223, .75), -12px 3px 0 -3.5px rgba(40, 84, 219, .7);
  margin-left: 12px;
}

/* ---------- boutons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg);
  font-weight: 500; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; isolation: isolate; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s, color .25s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--grad); opacity: 0; transition: opacity .35s var(--ease);
}
.btn--primary:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(76, 40, 210, .55); }
.btn:active { transform: translateY(0); }
.btn__px {
  width: 9px; height: 9px; border-radius: 2px; background: var(--gold-l); flex: none;
  box-shadow: 6px -6px 0 -2px rgba(255, 196, 102, .55);
  transition: transform .4s var(--ease);
}
.btn:hover .btn__px { transform: translate(3px, -3px) rotate(90deg); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .94rem; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 1.05rem; }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { --bg: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), 0 14px 30px -14px rgba(16, 19, 68, .3); }
.btn--line { --bg: #fff; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--violet), 0 12px 24px -14px rgba(116, 36, 223, .5); --fg: var(--violet); }
.btn--gold { --bg: var(--gold-l); --fg: var(--navy); }
.btn--gold::before { background: linear-gradient(120deg, #FFE0A3, var(--gold)); }
.btn--gold:hover::before { opacity: 1; }
.btn--gold .btn__px { background: var(--navy); box-shadow: 6px -6px 0 -2px rgba(16, 19, 68, .4); }
.btn__ext { font-size: 1.1em; line-height: 1; }
.link-arrow {
  font-weight: 500; font-size: .94rem; color: var(--violet); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 2px;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background-color .35s, box-shadow .35s, backdrop-filter .35s;
}
.site-header.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 rgba(16, 19, 68, .07);
}
.site-header__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; margin-right: auto; padding: 6px 0; }
.brand__logo { height: 38px; width: auto; }
.nav__list { display: flex; gap: clamp(18px, 2.4vw, 34px); list-style: none; }
.nav__link {
  position: relative; text-decoration: none; font-size: .95rem; font-weight: 450; color: var(--ink-2);
  padding: 8px 0; transition: color .2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-current { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); }
.nav__cta-mobile { display: none; }
.burger { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .brand__logo { height: 32px; }
  .site-header__cta { display: none; }
  .burger {
    display: grid; place-items: center; width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; border-radius: 12px; cursor: pointer; position: relative; z-index: 2;
  }
  .burger__bars, .burger__bars::before, .burger__bars::after {
    display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--navy);
    transition: transform .35s var(--ease), opacity .2s;
  }
  .burger__bars { position: relative; }
  .burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
  .burger__bars::before { top: -7px; }
  .burger__bars::after { top: 7px; width: 14px; }
  .burger[aria-expanded="true"] .burger__bars { background: transparent; }
  .burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); width: 22px; }
  .nav {
    position: fixed; inset: 0; z-index: 1; padding: calc(var(--header-h) + 24px) var(--pad) 32px;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    display: flex; flex-direction: column; gap: 28px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link { display: block; font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; color: var(--navy); padding: 10px 0; }
  .nav__link::after { display: none; }
  .nav__cta-mobile { display: inline-flex; align-self: flex-start; }
  html:not(.js) .nav { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; background: none; }
  html:not(.js) .site-header { position: absolute; height: auto; }
  html:not(.js) .site-header__in { flex-wrap: wrap; padding-block: 12px; }
}
html:not(.js) .burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 clamp(56px, 8vw, 110px);
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(116, 36, 223, .12), transparent 70%),
    radial-gradient(40% 40% at 70% 85%, rgba(232, 160, 42, .10), transparent 70%),
    radial-gradient(45% 50% at 8% 10%, rgba(40, 84, 219, .07), transparent 70%),
    var(--white);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(16, 19, 68, .13) 1.2px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%);
  mask-image: radial-gradient(70% 70% at 70% 45%, #000 0%, transparent 75%);
  opacity: .55;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__seo {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(.9rem, .85rem + .2vw, 1rem); font-weight: 500; letter-spacing: 0; line-height: 1.35;
  color: var(--ink-2);
  padding: 8px 16px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .8);
  box-shadow: inset 0 0 0 1px var(--line);
  margin-bottom: clamp(20px, 3vw, 30px);
}
.hero__claim {
  font-size: clamp(2.6rem, 1.3rem + 4.4vw, 5.2rem);
  font-weight: 600; letter-spacing: -.045em; line-height: 1.02;
  margin: 0 0 clamp(20px, 3vw, 32px);
  text-wrap: balance;
}
.hero__claim .grad-text { display: inline-block; padding-bottom: .06em; }
.hero__intro { max-width: 34em; color: var(--ink-2); font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(26px, 3.5vw, 40px); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin-top: 32px; font-size: .9rem; color: var(--muted); }
.hero__facts li { display: inline-flex; align-items: center; gap: 9px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--grad); }

/* scène CSS 3D inspirée du V pixelisé */
.hero__visual { position: relative; }
.stage {
  position: relative; width: 112%; margin-left: -4%; aspect-ratio: 1160 / 690;
  perspective: 1300px; perspective-origin: 50% 40%;
}
.stage__sway { position: absolute; inset: 0; transform-style: preserve-3d; animation: sway 16s ease-in-out infinite alternate; }
.stage__rig {
  --rx: 0deg; --ry: 0deg;
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
}
.stage__layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.stage__layer svg { width: 100%; height: 100%; overflow: visible; }
.stage__layer--far { transform: translateZ(-90px) scale(1.08); opacity: .8; }
.stage__layer--v { transform: translateZ(0); filter: drop-shadow(0 30px 40px rgba(74, 35, 200, .28)); }
.stage__layer--mid { transform: translateZ(80px) scale(.94); }
.stage__layer--near { transform: translateZ(170px) scale(.87); }
.stage__orbit {
  position: absolute; left: 22%; top: 2%; width: 72%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(116, 36, 223, .22);
  transform: rotateX(74deg) rotateZ(-14deg) translateZ(-40px);
  transform-style: preserve-3d;
}
.stage__orbit span {
  position: absolute; inset: -1px; border-radius: 50%;
  animation: orbit 14s linear infinite;
}
.stage__orbit span::before {
  content: ""; position: absolute; left: 50%; top: -7px; width: 14px; height: 14px; border-radius: 3px;
  background: var(--grad-gold); box-shadow: 0 0 22px 4px rgba(255, 196, 102, .7);
}
.stage__floor {
  position: absolute; left: 30%; right: 8%; bottom: -8%; height: 16%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(58, 30, 160, .28), transparent 70%);
  filter: blur(6px); transform: translateZ(-120px);
}
.stage__chip {
  position: absolute; left: 6%; bottom: 3%;
  display: grid; gap: 2px; padding: 12px 18px 13px; border-radius: 16px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .9);
  transform: translateZ(120px);
  font-size: .82rem; color: var(--muted); line-height: 1.35;
}
.stage__chip strong { color: var(--navy); font-size: .95rem; }
.px { transform-box: fill-box; transform-origin: center; animation: twinkle 7s ease-in-out var(--d, 0s) infinite; }
.stage__layer--far .px { animation-duration: 9s; }

@keyframes sway {
  0%   { transform: rotateX(6deg) rotateY(-16deg); }
  100% { transform: rotateX(-2deg) rotateY(8deg); }
}
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes twinkle {
  0%, 62%, 100% { opacity: 1; transform: none; }
  70% { opacity: .08; transform: translate(-6px, -4px) scale(.7); }
  80% { opacity: 1; transform: none; }
}
/* appareils modestes et mouvement réduit : version statique */
.is-lite .stage__sway, .is-lite .px, .is-lite .stage__orbit span { animation: none; }
.is-lite .stage__sway { transform: rotateX(4deg) rotateY(-10deg); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section--off { background: var(--off); }
.sec-head { margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head .h2 { max-width: 16em; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.sec-head--split .lead { margin: 0; }
.sec-head--center { text-align: center; }
.sec-head--center .h2 { margin-inline: auto; }

/* ---------- catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -12px 0 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px;
  border-radius: 999px; border: 0; background: #fff; color: var(--ink-2); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: .92rem; font-weight: 450;
  transition: background-color .25s, color .25s, box-shadow .25s;
}
.chip span { font-size: .78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; box-shadow: none; }
.chip.is-active span { color: var(--gold-l); }

.cards { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); }
.card {
  grid-column: span 4;
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius); padding: 10px;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
/* rythme éditorial : 7/5, 4/4/4, 5/7, 4/4/4 — se répète pour les collections plus fournies */
.cards:not(.is-filtered) .card:nth-child(10n+1),
.cards:not(.is-filtered) .card:nth-child(10n+7) { grid-column: span 7; }
.cards:not(.is-filtered) .card:nth-child(10n+2),
.cards:not(.is-filtered) .card:nth-child(10n+6) { grid-column: span 5; }
.card__media {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) - 8px);
  aspect-ratio: 4 / 3; background: var(--night);
}
.cards:not(.is-filtered) .card:nth-child(10n+1) .card__media,
.cards:not(.is-filtered) .card:nth-child(10n+7) .card__media,
.cards:not(.is-filtered) .card:nth-child(10n+2) .card__media,
.cards:not(.is-filtered) .card:nth-child(10n+6) .card__media { aspect-ratio: auto; height: clamp(260px, 25vw, 370px); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.045); }
.card__num {
  position: absolute; left: 16px; top: 14px;
  font-size: .85rem; font-weight: 500; letter-spacing: .06em; color: rgba(255, 255, 255, .88);
  font-variant-numeric: tabular-nums;
}
.status {
  position: absolute; right: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 500; letter-spacing: .01em;
  background: rgba(10, 11, 46, .55); color: #fff;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 2px; }
.status--soon::before { background: var(--gold-l); animation: pulse 2.4s ease-in-out infinite; }
.status--live::before { background: #5BE3A8; }
@keyframes pulse { 50% { opacity: .35; } }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 14px 12px; }
.card__cat { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__dot { width: 8px; height: 8px; border-radius: 2px; }
.card__dot--artistique { background: var(--violet); }
.card__dot--ludique { background: var(--blue); }
.card__dot--poetique { background: var(--gold); }
.card__dot--immersif { background: linear-gradient(135deg, var(--violet), var(--blue)); }
.card__title { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 6px; }
.card__title a { text-decoration: none; }
.card__tagline { font-weight: 500; color: var(--navy); margin-bottom: 8px; font-size: 1.02rem; }
.card__desc { color: var(--muted); font-size: .95rem; line-height: 1.55; margin-bottom: 18px; max-width: 46ch; }
.card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.cards__note { margin: 28px 0 0; font-size: .88rem; color: var(--muted); max-width: 70ch; }

/* ---------- personnalisation ---------- */
.perso { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.perso__intro .lead { margin-bottom: 30px; }
.perso__list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.perso__list li {
  display: grid; grid-template-columns: auto 1fr; column-gap: 16px;
  padding: 20px 0; border-top: 1px solid var(--line);
}
.perso__n { grid-row: span 2; font-size: .82rem; font-weight: 500; color: var(--violet); font-variant-numeric: tabular-nums; padding-top: 3px; }
.perso__list strong { font-weight: 500; font-size: 1.04rem; line-height: 1.35; }
.perso__list span:last-child { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 3px; }

.demo { margin: clamp(56px, 8vw, 96px) 0 0; }
.demo__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 1.05rem; font-weight: 500; margin-bottom: 22px; }
.demo__badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--off); box-shadow: inset 0 0 0 1px var(--line-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.demo__fict { flex-basis: 100%; font-weight: 350; font-size: .9rem; color: var(--muted); }
.demo__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.demo__screen {
  position: relative; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 400 / 260;
  background: var(--bg); color: var(--ink);
  box-shadow: 0 0 0 1px rgba(16, 19, 68, .08), var(--shadow);
  transition: transform .5s var(--ease);
}
.demo__card:hover .demo__screen { transform: translateY(-4px) rotate(-.4deg); }
.demo__screen svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.demo__logo { position: absolute; left: 6%; top: 8%; font-weight: 600; font-size: clamp(.72rem, .6rem + .4vw, .9rem); letter-spacing: .04em; text-transform: uppercase; }
.demo__msg { position: absolute; left: 6%; bottom: 10%; font-weight: 600; font-size: clamp(.9rem, .7rem + .7vw, 1.25rem); letter-spacing: -.02em; max-width: 60%; line-height: 1.15; }
.demo__btn { position: absolute; right: 6%; bottom: 10%; padding: 5px 12px; border-radius: 999px; background: var(--c1); color: var(--bg); font-size: .72rem; font-weight: 500; }
.demo__meta { margin: 14px 2px 0; font-size: .9rem; color: var(--muted); }
.demo__meta strong { color: var(--navy); font-weight: 500; }
.demo__meta em { font-style: normal; color: var(--muted); }

/* ---------- section sombre (sur mesure) ---------- */
.section--dark {
  background:
    radial-gradient(55% 60% at 85% 20%, rgba(116, 36, 223, .45), transparent 70%),
    radial-gradient(45% 55% at 5% 95%, rgba(40, 84, 219, .35), transparent 70%),
    radial-gradient(30% 30% at 60% 100%, rgba(232, 160, 42, .14), transparent 70%),
    var(--night);
  color: var(--on-dark); overflow: hidden; isolation: isolate;
}
.section--dark .lead, .section--dark p { color: var(--on-dark-2); }
.section--dark .h2 { color: #fff; }
.dark-deco span {
  position: absolute; z-index: -1; border-radius: 4px; background: var(--grad);
  opacity: .5; width: 18px; height: 18px;
}
.dark-deco span:nth-child(1) { left: 3%; top: 5%; width: 26px; height: 26px; }
.dark-deco span:nth-child(2) { left: 46%; top: 8%; width: 10px; height: 10px; background: var(--gold-l); opacity: .8; }
.dark-deco span:nth-child(3) { right: 8%; top: 70%; width: 34px; height: 34px; opacity: .35; }
.dark-deco span:nth-child(4) { right: 34%; bottom: 8%; width: 12px; height: 12px; background: var(--gold); opacity: .7; }
.dark-deco span:nth-child(5) { left: 30%; bottom: 14%; width: 8px; height: 8px; opacity: .8; }
.dark-deco span:nth-child(6) { right: 4%; top: 12%; width: 14px; height: 14px; background: var(--gold-l); opacity: .5; }
.mesure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.mesure__text .lead { color: #fff; font-weight: 400; margin-top: 28px; }
.mesure__browser { display: flex; align-items: center; gap: 12px; font-size: .95rem; margin: 26px 0 34px; color: var(--on-dark) !important; }
.mesure__browser svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--gold-l); stroke-width: 1.4; stroke-linecap: round; }
.mesure__ideas { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mesure__ideas li {
  display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 16px 20px;
  border-radius: 18px; background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-weight: 450; font-size: 1rem; line-height: 1.3;
  transition: background-color .35s, transform .45s var(--ease), box-shadow .35s;
}
.mesure__ideas li:nth-child(odd) { transform: translateY(14px); }
.mesure__ideas li:last-child { grid-column: 1 / -1; }
.mesure__ideas li:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 196, 102, .45); }
.mesure__ideas svg {
  width: 40px; height: 40px; flex: none; padding: 9px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(116, 36, 223, .55), rgba(40, 84, 219, .45));
  fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- emailing ---------- */
.mailing { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.mailing .lead { margin: 22px 0 30px; }
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.checks li { position: relative; padding-left: 30px; font-size: .98rem; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 5px;
  background: var(--grad);
}
.checks li::after {
  content: ""; position: absolute; left: 5px; top: calc(.2em + 4px); width: 8px; height: 5px;
  border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.checks--tight { grid-template-columns: 1fr; gap: 10px; }
.mail-mock {
  position: relative; border-radius: 24px; background: #fff; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-lg);
  transform: rotate(1.6deg);
}
.mail-mock::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 196, 102, .45), transparent 70%); pointer-events: none;
}
.mail-mock__bar { display: flex; gap: 7px; padding: 14px 18px; background: var(--off); border-bottom: 1px solid var(--line); }
.mail-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mail-mock__head { padding: 16px 22px 12px; font-size: .86rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.mail-mock__head p { margin: 0 0 4px; }
.mail-mock__head b { color: var(--navy); font-weight: 500; }
.mail-mock__body { padding: 22px; text-align: center; }
.mail-mock__body img { border-radius: 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.mail-mock__title { font-weight: 600; font-size: 1.15rem; margin: 18px 0 12px; letter-spacing: -.01em; }
.mail-mock__line { height: 8px; border-radius: 6px; background: var(--off); margin: 0 auto 8px; width: 80%; }
.mail-mock__line--short { width: 55%; }
.mail-mock__btn { display: inline-block; margin-top: 14px; padding: 10px 20px; border-radius: 999px; background: var(--grad); color: #fff; font-size: .88rem; font-weight: 500; }
.volumes { margin-top: clamp(56px, 7vw, 88px); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--off); }
.volumes__title { font-size: 1.15rem; letter-spacing: -.01em; margin-bottom: 18px; }
.volumes__grid { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.volumes__grid li { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.volumes__label { font-weight: 500; line-height: 1.35; }
.volumes__price { font-size: .85rem; color: var(--violet); font-weight: 500; }
.volumes__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; }
.volumes__foot p { margin: 0; color: var(--muted); }

/* ---------- offres ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 26px); align-items: stretch; }
.offer {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: #fff;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.offer:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lg); }
.offer__flag { position: absolute; top: 22px; right: 22px; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 500; background: rgba(255, 196, 102, .16); color: var(--gold-l); box-shadow: inset 0 0 0 1px rgba(255, 196, 102, .4); }
.offer__name { font-size: 1.9rem; letter-spacing: -.03em; margin-bottom: 10px; }
.offer__tagline { color: var(--ink-2); font-weight: 450; margin-bottom: 26px; }
.offer__price { font-size: 1.05rem; font-weight: 500; padding: 14px 0; margin-bottom: 22px; border-block: 1px solid var(--line); }
.offer__intro { font-size: .95rem; color: var(--muted); }
.offer .checks { margin-bottom: 24px; }
.offer__note { font-size: .86rem; color: var(--muted); }
.offer__cta { margin-top: auto; align-self: flex-start; }
.offer--featured {
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(116, 36, 223, .65), transparent 70%),
    radial-gradient(70% 60% at 0% 100%, rgba(40, 84, 219, .45), transparent 70%),
    var(--night);
  color: #fff; box-shadow: var(--shadow-lg);
}
.offer--featured .offer__tagline, .offer--featured .offer__intro, .offer--featured .offer__note { color: var(--on-dark-2); }
.offer--featured .offer__price { border-color: rgba(255, 255, 255, .14); }
.offer--featured .checks li::before { background: var(--grad-gold); }
.offer--featured .checks li::after { border-color: var(--navy); }
.offer--featured:hover { box-shadow: 0 30px 60px -24px rgba(58, 30, 160, .6); }

/* ---------- étapes ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 40px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px);
}
.step { position: relative; }
.step__n {
  display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 24px; margin-bottom: 26px;
  background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow);
  font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em;
  position: relative;
}
.step__n::after {
  content: ""; position: absolute; right: -6px; top: -6px; width: 14px; height: 14px; border-radius: 4px;
  background: var(--grad);
}
.step:nth-child(2) .step__n::after { background: var(--blue); }
.step:nth-child(3) .step__n::after { background: var(--violet); }
.step:last-child .step__n::after { background: var(--grad-gold); }
.step__title { font-size: 1.4rem; letter-spacing: -.02em; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .98rem; max-width: 26ch; }

/* ---------- références ---------- */
.section--refs { background: var(--night); color: #fff; padding-block: clamp(72px, 9vw, 120px); }
.section--refs .lead { color: var(--on-dark-2); }
.refs { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 24px; }
.ref__link {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); overflow: hidden; text-decoration: none;
  border-radius: var(--radius); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .35s, box-shadow .35s;
}
.ref__link:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 196, 102, .45); }
.ref__media {
  position: relative; min-height: 220px; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 60% at 30% 30%, rgba(116, 36, 223, .8), transparent 70%),
    radial-gradient(60% 60% at 80% 80%, rgba(40, 84, 219, .7), transparent 70%),
    #120F4A;
}
.ref__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ref__media img.ref__img--contain { object-fit: contain; }
.ref__type { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ref__body { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 34px); }
.ref__client { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-l); }
.ref__title { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.ref__text { color: var(--on-dark-2); font-size: .96rem; }
.ref__meta { color: var(--on-dark-2); font-size: .82rem; opacity: .8; margin-top: 6px; }
.ref__cta { margin-top: auto; padding-top: 18px; font-weight: 500; color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq__head .lead { margin: 22px 0 26px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 0; cursor: pointer; list-style: none;
}
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); font-weight: 500; letter-spacing: -.01em; line-height: 1.35; }
.qa summary:hover .qa__q { color: var(--violet); }
.qa__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 12px;
  box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .3s, box-shadow .3s;
}
.qa__icon::before, .qa__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px;
  border-radius: 2px; background: var(--navy); transition: transform .35s var(--ease), background-color .3s;
}
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--navy); box-shadow: none; }
.qa[open] .qa__icon::before, .qa[open] .qa__icon::after { background: #fff; }
.qa[open] .qa__icon::after { transform: rotate(0deg); }
.qa__a { padding: 0 56px 26px 0; color: var(--ink-2); }
.qa__a p:last-child { margin-bottom: 0; }

/* ---------- contact ---------- */
.section--contact {
  background:
    radial-gradient(50% 60% at 0% 0%, rgba(116, 36, 223, .5), transparent 70%),
    radial-gradient(45% 55% at 100% 100%, rgba(40, 84, 219, .4), transparent 70%),
    var(--night);
  color: #fff; overflow: hidden; isolation: isolate;
}
.contact-deco {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 60% at 15% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 60% at 15% 40%, #000, transparent 75%);
}
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__intro .lead { color: var(--on-dark-2); margin: 22px 0 28px; }
.contact__points { list-style: none; display: grid; gap: 12px; color: var(--on-dark); font-size: .98rem; }
.contact__points li { display: flex; gap: 12px; align-items: baseline; }
.contact__points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--gold-l); transform: translateY(-1px); }
.selection { margin-top: 32px; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 196, 102, .35); }
.selection__title { margin: 0 0 4px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-l); }
.selection__items { margin: 0; font-weight: 500; }

.form-card {
  background: #fff; color: var(--ink); border-radius: 28px;
  padding: clamp(24px, 3.5vw, 44px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.form__req { font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin: 0 0 18px; min-width: 0; }
.field label, .field legend { display: block; font-size: .92rem; font-weight: 500; margin-bottom: 7px; padding: 0; }
.field__opt { font-weight: 350; color: var(--muted); }
fieldset.field { border: 0; padding: 0; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 13px 16px;
  border: 0; border-radius: 14px; background: var(--off);
  box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: 1rem; font-weight: 400; color: var(--ink);
  transition: box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23101344' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 18px center; background-size: 12px 8px;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #8A8DB0; }
.field input:hover, .field select:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px #AEB2D4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--blue), 0 0 0 4px rgba(40, 84, 219, .14); }
.field.is-invalid input, .field.is-invalid textarea { box-shadow: inset 0 0 0 2px #C62828; background: #FFF6F6; }
.field__err { margin: 6px 0 0; font-size: .86rem; color: #B3261E; font-weight: 450; }
.field__err:empty { display: none; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex !important; margin: 0 !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 10px 16px;
  border-radius: 999px; background: var(--off); box-shadow: inset 0 0 0 1px var(--line-2);
  font-size: .94rem; font-weight: 450; transition: background-color .2s, box-shadow .2s, color .2s;
}
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #9195BC; transition: background-color .2s, box-shadow .2s; }
.choice:hover span { box-shadow: inset 0 0 0 1px var(--violet); }
.choice input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.choice input:checked + span::before { background: var(--gold-l); box-shadow: none; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin-top: 6px; }
.field--check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); cursor: pointer; }
.field--check label { font-weight: 350; font-size: .9rem; line-height: 1.5; margin: 0; color: var(--ink-2); }
.field--check .field__err { grid-column: 2; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: 6px 0 18px; min-height: 65px; }
.form__submit { margin-top: 8px; }
.form__submit .btn { width: 100%; }
.btn[aria-disabled="true"] { opacity: .65; cursor: progress; transform: none; }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #FDECEC; color: #8E1C16; font-size: .94rem; }
.form-done { padding: clamp(10px, 3vw, 30px) 0; text-align: left; }
.form-done:focus { outline: none; }
.form-done__title { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 12px; }
.form-done__title::before { content: ""; display: block; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px; background: var(--grad); box-shadow: 14px -14px 0 -8px var(--gold-l); }

/* ---------- pied de page ---------- */
.site-footer { background: var(--night-2); color: var(--on-dark-2); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer__logo { display: inline-block; }
.site-footer__logo img { width: 210px; height: auto; }
.site-footer__motto { margin: 18px 0 0; color: #fff; font-weight: 450; font-size: 1.05rem; }
.site-footer__title { font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 4px; }
.site-footer a { text-decoration: none; display: inline-block; padding: 4px 0; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- pages légales / modèle ---------- */
.page { padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(64px, 8vw, 110px); }
.page__head { margin-bottom: 40px; }
.page__head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); letter-spacing: -.035em; }
.prose { max-width: 760px; }
.prose h2 { font-size: 1.45rem; letter-spacing: -.02em; margin: 44px 0 14px; }
.prose h3 { font-size: 1.12rem; margin: 26px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.prose a:not(.btn) { color: var(--violet); }
.prose .btn { color: var(--fg); text-decoration: none; }
.todo { background: rgba(255, 196, 102, .35); color: var(--navy); padding: 1px 6px; border-radius: 4px; font-size: .92em; }
.notice { padding: 16px 20px; border-radius: 14px; background: var(--off); box-shadow: inset 0 0 0 1px var(--line); font-size: .94rem; color: var(--ink-2); margin-bottom: 32px; }

/* ---------- apparitions au défilement (JS facultatif) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards .card, .cards:not(.is-filtered) .card:nth-child(n) { grid-column: span 6; }
  .cards:not(.is-filtered) .card:nth-child(n) .card__media { aspect-ratio: 4 / 3; height: auto; }
  .volumes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 640px; margin: -10px auto 0; width: 100%; }
  .stage { width: 100%; margin: 0; }
  .sec-head--split, .perso, .mesure, .mailing, .faq, .contact { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .offers { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .mail-mock { max-width: 520px; transform: none; }
  .demo__grid { grid-template-columns: 1fr; max-width: 520px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card, .cards:not(.is-filtered) .card:nth-child(n) { grid-column: auto; }
  .perso__list, .checks, .form__row, .mesure__ideas { grid-template-columns: 1fr; }
  .mesure__ideas li:nth-child(odd) { transform: none; }
  .volumes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .volumes__grid li:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; }
  .ref__link { grid-template-columns: 1fr; }
  .ref__media { min-height: 150px; }
  .qa__a { padding-right: 0; }
  .hero__actions .btn { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .stage__chip { font-size: .74rem; padding: 9px 13px; }
  .stage__chip strong { font-size: .85rem; }
}
@media (max-width: 380px) {
  .hero__seo { font-size: .82rem; }
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .stage__sway { animation: none; transform: rotateX(4deg) rotateY(-10deg); }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero__visual, .filters, .form-card, .site-footer { display: none; }
  .section--dark, .section--contact, .section--refs { background: none; color: #000; }
}
.site-footer__credit a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 196, 102, .6); text-underline-offset: 3px; padding: 0; }
.site-footer__credit a:hover { text-decoration-color: var(--gold-l); }

/* ---------- barre de défilement aux couleurs de la marque ---------- */
/* Chrome, Edge, Safari : poignée en dégradé violet → bleu, reflet doré au survol. */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--off); }
::-webkit-scrollbar-thumb {
  border: 3px solid var(--off); border-radius: 8px;
  background: linear-gradient(180deg, var(--violet), var(--blue));
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--violet), var(--blue) 70%, var(--gold)); }
::-webkit-scrollbar-corner { background: var(--off); }
.field textarea::-webkit-scrollbar-track { background: transparent; }
.field textarea::-webkit-scrollbar-thumb { border-color: var(--off); }
/* Firefox (pas de dégradé possible : violet uni). */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: var(--violet) var(--off); scrollbar-width: thin; }
}

/* ---------- bouton « haut de page » ---------- */
.to-top {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px;
  background: var(--navy); color: #fff; isolation: isolate; overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(16, 19, 68, .55), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s, box-shadow .35s;
}
.to-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .35s var(--ease); }
.to-top::after {
  content: ""; position: absolute; right: 7px; top: 7px; width: 6px; height: 6px; border-radius: 1.5px;
  background: var(--gold-l); transition: transform .4s var(--ease);
}
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.to-top:hover::before, .to-top:focus-visible::before { opacity: 1; }
.to-top:hover svg { transform: translateY(-2px); }
.to-top:hover::after { transform: translate(2px, -2px) rotate(90deg); }
.to-top:focus-visible { outline: 3px solid var(--gold-l); outline-offset: 3px; }
.js .to-top:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9); transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s; }
@media (max-width: 680px) { .to-top { width: 46px; height: 46px; border-radius: 14px; } }
@media print { .to-top { display: none; } }

/* ---------- prix des offres ---------- */
.offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.offer__from { font-size: .82rem; font-weight: 450; color: var(--muted); letter-spacing: .02em; }
.offer__amount { font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1; color: var(--navy); }
.offer__tax { font-size: .9rem; font-weight: 500; color: var(--muted); }
.offer--featured .offer__from, .offer--featured .offer__tax { color: var(--on-dark-2); }
.offer--featured .offer__amount { color: #fff; }
.volumes__price { font-size: 1.05rem; font-weight: 600; color: var(--violet); }
