/* =========================================================
   STARTOUCH · Plaques NFC pour avis Google
   Code couleur : bleu et blanc. Un objet seul, en suspension,
   une typographie nette, des filets pointillés.
   ========================================================= */

:root {
  --bg: #ffffff;
  --paper: #f3f6fd;
  --fg: #071a4d;
  --fg-80: rgb(7 26 77 / 0.8);
  --fg-60: rgb(7 26 77 / 0.64);
  --fg-30: rgb(7 26 77 / 0.3);
  --fg-14: rgb(7 26 77 / 0.12);
  --fg-06: rgb(7 26 77 / 0.05);
  --line: rgb(7 26 77 / 0.16);
  --blue: #0352f1;
  --blue-deep: #022687;
  --azure: #0093fe;
  --accent: var(--blue);
  --accent-hi: #1a63ff;
  --on-accent: #ffffff;
  --danger: #c4231a;
  --glow: 3 82 241;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-legal: Arial, Helvetica, sans-serif;

  --gutter: 24px;
  --gap: 18px;
  --nav-h: 64px;

  --r-card: 12px;
  --r-ghost: 22.5px;
  --r-pill: 36px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --t-body: clamp(19px, 0.9vw + 12px, 29px);
  --t-head: clamp(40px, 4.3vw, 72px);
  --t-display: clamp(44px, 6vw, 104px);

  /* Plans : fond (0) < grand logo (1) < plaque 3D (2) < contenu (3) < étiquettes (4) < nav (50) */
  --z-bg: 0;
  --z-under: 1;
  --z-gl: 2;
  --z-content: 3;
  --z-labels: 4;
  --z-side: 40;
  --z-menu: 45;
  --z-nav: 50;
  --z-progress: 51;
  --z-cursor: 70;
  --z-loader: 100;
}

/* Zones bleues : les couleurs s'inversent (texte blanc, accents blancs) */
.order,
.footer,
.offer--featured,
html.on-blue .nav,
html.on-blue .sidelabel,
html.on-blue .progress {
  --bg: var(--blue);
  --fg: #ffffff;
  --fg-80: rgb(255 255 255 / 0.94);
  --fg-60: rgb(255 255 255 / 0.9);
  --fg-30: rgb(255 255 255 / 0.5);
  --fg-14: rgb(255 255 255 / 0.22);
  --fg-06: rgb(255 255 255 / 0.1);
  --line: rgb(255 255 255 / 0.36);
  --accent: #ffffff;
  --accent-hi: #e6eeff;
  --on-accent: var(--blue);
  --danger: #ffe1dc;
}

/* ---------- Base ---------- */

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

html {
  color-scheme: light;
  scrollbar-gutter: stable;
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  font-feature-settings: "ss01" 1;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

html.js.is-loading body {
  overflow: hidden;
}

html.is-plaque-hover body {
  cursor: pointer;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--blue);
  color: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  text-transform: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
  font-weight: 500;
}

ul {
  padding: 0;
  list-style: none;
}

svg {
  display: block;
}

:focus-visible {
  outline: 1px dashed var(--accent);
  outline-offset: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

.skip {
  position: fixed;
  left: var(--gutter);
  top: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-ghost);
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  transform: translateY(-160%);
  transition: transform 0.4s var(--ease);
}
.skip:focus-visible {
  transform: none;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.dash {
  height: 0;
  margin: 0;
  border: 0;
  border-top: 1px dashed var(--line);
  transform-origin: left center;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--accent);
}
.label::before {
  content: "";
  width: 22px;
  border-top: 1px dashed currentColor;
}

.body-copy {
  font-size: var(--t-body);
  line-height: 1.26;
  font-weight: 400;
  text-transform: none;
}

.link {
  position: relative;
  color: var(--accent);
  text-transform: none;
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size 0.6s var(--ease);
}
.link:hover,
.link:focus-visible {
  background-size: 100% 1px;
}

/* Texte découpé (titres animés) */
.split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.14em 0.04em 0.1em;
  margin: -0.14em -0.04em -0.1em;
}
.split .wi,
.split .c {
  display: inline-block;
}

/* Effet "roulement" des liens : chaque lettre remonte, sa copie (ombre) prend sa place */
.roll {
  display: inline-flex;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3;
  vertical-align: middle;
}
.roll .ch {
  display: inline-block;
  white-space: pre;
  text-shadow: 0 1.3em 0 currentColor;
  transition: transform 0.6s var(--ease);
  transition-delay: calc(var(--i) * 14ms);
}
a:hover .roll .ch,
button:hover .roll .ch,
a:focus-visible .roll .ch,
button:focus-visible .roll .ch {
  transform: translateY(-1.3em);
}

/* Logo vectorisé (mot "startouch" avec ondes) */
.brandword {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  fill: var(--blue);
}
.brandword .lt--wave {
  animation: wave-pulse 2.6s var(--ease-io) infinite;
}
.brandword .lt--w2 {
  animation-delay: 0.3s;
}
@keyframes wave-pulse {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.2; }
}

/* ---------- Boutons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  white-space: nowrap;
  isolation: isolate;
}
.btn .icon {
  width: 15px;
  height: 15px;
  transition: transform 0.6s var(--ease);
}
.btn:hover .icon {
  transform: translate(2px, -2px) rotate(45deg);
}

.btn--fill {
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--r-pill);
  padding: 14px 24px;
  transition: background-color 0.4s var(--ease);
}
.btn--fill:hover {
  background: var(--accent-hi);
}

.btn--ghost {
  border: 1px solid var(--fg);
  border-radius: var(--r-ghost);
  padding: 7.5px 16px;
  overflow: hidden;
  transition: color 0.45s var(--ease);
}
.btn--ghost::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: var(--fg);
  transform: translateY(102%);
  transition: transform 0.55s var(--ease);
}
.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--bg);
}
.btn--ghost:hover::before,
.btn--ghost:focus-visible::before {
  transform: translateY(0);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border: 1px dashed var(--accent);
  border-radius: var(--r-ghost);
  color: var(--accent);
  font-size: 11px;
}

/* ---------- Couches fixes ---------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: var(--z-loader);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--gutter);
  background: var(--bg);
  font-size: 12px;
  animation: loader-failsafe 0.01s 6s forwards;
}
@keyframes loader-failsafe {
  to {
    visibility: hidden;
    opacity: 0;
  }
}
.loader__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.loader__brand {
  height: 20px;
  width: auto;
  fill: var(--blue);
}
.loader__count {
  align-self: end;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  overflow: hidden;
}
.loader__num {
  display: block;
  padding-top: 0.06em;
  font-size: clamp(96px, 22vw, 360px);
  line-height: 0.8;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.loader__star {
  width: clamp(72px, 12vw, 180px);
  height: auto;
  margin-bottom: 1vw;
  animation: loader-star 2.4s var(--ease-io) infinite;
}
@keyframes loader-star {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(18deg) scale(0.92); }
  100% { transform: rotate(0deg) scale(1); }
}
.loader__bar {
  height: 1px;
  margin-top: var(--gap);
  background: var(--line);
}
.loader__bar span {
  display: block;
  height: 100%;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: var(--z-bg);
  overflow: hidden;
  pointer-events: none;
}
.bg__glow,
.bg__torch,
.bg__shadow {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  will-change: transform;
}
.bg__glow {
  width: 110vmax;
  height: 110vmax;
  margin: -55vmax 0 0 -55vmax;
  background: radial-gradient(closest-side, rgb(var(--glow) / 0.16), rgb(var(--glow) / 0.05) 45%, transparent 75%);
  opacity: 0;
  transform: translate3d(60vw, 50vh, 0);
}
.bg__shadow {
  width: 100px;
  height: 16px;
  margin: 0 0 0 -50px;
  background: radial-gradient(closest-side, rgb(7 26 77 / 0.26), rgb(7 26 77 / 0.1) 55%, transparent 100%);
  opacity: 0;
  transform-origin: 50% 0;
}
.bg__torch {
  width: 64vmax;
  height: 64vmax;
  margin: -32vmax 0 0 -32vmax;
  background: radial-gradient(closest-side, rgb(var(--glow) / 0.06), transparent 72%);
  transform: translate3d(50vw, 40vh, 0);
}

.gl {
  position: fixed;
  inset: 0;
  z-index: var(--z-gl);
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.plaque-fallback {
  position: absolute;
  right: 16%;
  top: 50%;
  z-index: var(--z-gl);
  width: min(26vw, 320px);
  border-radius: 10%;
  transform: translateY(-50%) perspective(900px) rotateY(-24deg) rotateX(8deg);
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-progress);
  width: 100%;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.cursor-tag {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-cursor);
  pointer-events: none;
}
.cursor-tag span {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--r-ghost);
  background: var(--fg);
  color: #ffffff;
  font-size: 11px;
  white-space: nowrap;
  transform: translate(14px, 14px) scale(0);
  transform-origin: 0 0;
  transition: transform 0.45s var(--ease);
}
.cursor-tag.is-on span {
  transform: translate(14px, 14px) scale(1);
}

.sidelabel {
  position: fixed;
  right: 12px;
  top: 50%;
  z-index: var(--z-side);
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  font-size: 10px;
  color: var(--fg-60);
  white-space: nowrap;
  pointer-events: none;
  transition: color 0.4s var(--ease);
}
.sidelabel__pct {
  font-variant-numeric: tabular-nums;
}

/* Étiquettes de la vue éclatée (positionnées en JS sur la 3D) */
.xlabels {
  position: fixed;
  inset: 0;
  z-index: var(--z-labels);
  pointer-events: none;
  opacity: 0;
}
.xl {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  will-change: transform, opacity;
}
.xl__dot {
  position: absolute;
  left: -4px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.xl__dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  opacity: 0.5;
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  from { transform: scale(0.4); opacity: 0.8; }
  to { transform: scale(1.6); opacity: 0; }
}
.xl__line {
  position: absolute;
  left: 8px;
  top: 0;
  width: var(--len, 80px);
  border-top: 1px dashed var(--fg-30);
}
.xl__txt {
  position: absolute;
  left: calc(var(--len, 80px) + 20px);
  top: -7px;
  font-size: 12px;
  white-space: nowrap;
}
.xl__txt span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--fg-60);
}

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: var(--nav-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--fg);
  transition: color 0.4s var(--ease);
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 -36px;
  z-index: -1;
  background: linear-gradient(#ffffff 25%, rgb(255 255 255 / 0) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
html.on-blue .nav::before {
  background: linear-gradient(var(--blue) 25%, rgb(3 82 241 / 0) 100%);
}
html.is-scrolled .nav::before {
  opacity: 1;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  transition: color 0.4s var(--ease);
}
.nav__brand {
  height: 24px;
  width: auto;
  fill: currentColor;
  transition: transform 0.7s var(--ease);
}
.nav__logo:hover .nav__brand {
  transform: translateY(-2px) scale(1.03);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  position: relative;
  padding: 6px 0;
}
.nav__link::after,
.lang__opt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 1px dashed currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease);
}
.nav__link.is-active::after,
.lang__opt.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Sélecteur de langue (navigation et menu mobile) */
.lang {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang__opt {
  position: relative;
  padding: 6px 0;
  color: var(--fg-60);
  transition: color 0.4s var(--ease);
}
.lang__opt:hover,
.lang__opt:focus-visible,
.lang__opt.is-active {
  color: var(--fg);
}
.nav__cta.is-active {
  color: var(--bg);
}
.nav__cta.is-active::before {
  transform: translateY(0);
}
.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}
.nav__burger i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.6s var(--ease), top 0.6s var(--ease);
}
.nav__burger i:nth-of-type(1) { top: 18px; }
.nav__burger i:nth-of-type(2) { top: 25px; }
.nav__burger[aria-expanded="true"] i:nth-of-type(1) { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] i:nth-of-type(2) { top: 21.5px; transform: rotate(-45deg); }

.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-h) + 24px) 16px 24px;
  background: #ffffff;
  color: var(--fg);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s var(--ease-io);
}
.menu.is-open {
  clip-path: inset(0 0 0 0);
}
.menu__links {
  display: grid;
}
.menu__links a {
  display: block;
  overflow: hidden;
  font-size: clamp(40px, 13vw, 72px);
  line-height: 0.98;
}
.menu__links a span {
  display: inline-block;
}
.menu__links a:hover {
  color: var(--blue);
}
.menu__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 12px;
  color: var(--fg-60);
}
.lang--menu {
  gap: 4px;
  margin-right: -8px;
  font-size: 14px;
}
.lang--menu .lang__opt {
  padding: 12px 8px;
}
.lang--menu .lang__opt::after {
  left: 8px;
  right: 8px;
  bottom: 6px;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 22px) var(--gutter) var(--gutter);
  display: flex;
  flex-direction: column;
}
.hero__tagline {
  position: relative;
  z-index: var(--z-content);
  font-size: 12px;
  line-height: 1.2;
  color: var(--fg-80);
}
.hero__word {
  position: relative;
  z-index: var(--z-under);
  width: min(100%, 122svh);
  /* Espace au-dessus pour que les lettres s'envolent au défilement sans être coupées */
  padding-top: 14%;
  margin-top: calc(14px - 14%);
  overflow: hidden;
  user-select: none;
}
.hero__foot {
  position: relative;
  z-index: var(--z-content);
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap);
}
.hero__card {
  width: min(410px, 100%);
  padding: 24px;
  display: grid;
  gap: var(--gap);
  justify-items: start;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgb(255 255 255 / 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
}
.hero__card .dash {
  width: 100%;
}
.hero__title {
  font-size: 20px;
  line-height: 1.09;
}
.hero__text {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}

.hero__demo {
  width: 240px;
  padding: 10px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: rgb(243 246 253 / 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.5s var(--ease);
}
.hero__demo:hover {
  border-color: var(--blue);
}
.demo__stage {
  position: relative;
  display: block;
  height: 132px;
  overflow: hidden;
  border-radius: 8px;
  background: radial-gradient(120% 90% at 50% 100%, #d9e3fb, #f7f9fe 70%);
}
.demo__plaque,
.vtap__plaque,
.fan {
  background: #ffffff url("../img/plaque-recto.jpg") center / cover no-repeat;
}
.demo__plaque {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 76px;
  height: 76px;
  margin-left: -38px;
  border-radius: 8px;
  transform: perspective(240px) rotateX(55deg);
  transform-origin: 50% 100%;
}
.demo__phone {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 38px;
  height: 76px;
  margin-left: -19px;
  border: 1.5px solid var(--fg);
  border-radius: 9px;
  background: #0a1027;
  animation: demo-phone 3.2s var(--ease-io) infinite;
}
.demo__phone b {
  position: absolute;
  inset: 6px 5px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), var(--azure));
  opacity: 0;
  animation: demo-screen 3.2s var(--ease-io) infinite;
}
.demo__wave {
  position: absolute;
  left: 50%;
  bottom: 30px;
  width: 80px;
  height: 80px;
  margin: 0 0 -40px -40px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  transform: perspective(240px) rotateX(55deg) scale(0.2);
  animation: demo-wave 3.2s ease-out infinite;
}
.demo__wave--2 {
  animation-delay: 0.3s;
}
@keyframes demo-phone {
  0%, 6% { transform: translateY(-84px) rotate(-12deg); }
  36%, 70% { transform: translateY(14px) rotate(0deg); }
  100% { transform: translateY(-84px) rotate(-12deg); }
}
@keyframes demo-screen {
  0%, 38% { opacity: 0; }
  46%, 66% { opacity: 1; }
  80%, 100% { opacity: 0; }
}
@keyframes demo-wave {
  0%, 34% { opacity: 0; transform: perspective(240px) rotateX(55deg) scale(0.2); }
  38% { opacity: 0.9; }
  72%, 100% { opacity: 0; transform: perspective(240px) rotateX(55deg) scale(1.7); }
}
.demo__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}
.demo__brand {
  height: 13px;
  width: auto;
  fill: var(--blue);
}
.demo__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.demo__play {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--fg);
  border-radius: 50%;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.demo__play .icon {
  width: 10px;
  height: 10px;
  margin-left: 1px;
}
.hero__demo:hover .demo__play {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ---------- Chapitres produit (plaque 3D au centre) ---------- */

.chapter {
  position: relative;
}
.chapter--tall {
  height: 230vh;
}
#couches {
  height: 210vh;
}
.chapter__inner {
  position: relative;
  z-index: var(--z-content);
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 34vw) minmax(0, 1fr);
  column-gap: var(--gap);
  padding: calc(var(--nav-h) + 32px) var(--gutter) 48px;
}
.chapter--tall .chapter__inner {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 0;
}
.chapter__title {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  font-size: var(--t-head);
  line-height: 0.9;
}
.chapter__aside {
  grid-column: 3;
  grid-row: 1;
  align-self: center;
  display: grid;
  gap: 24px;
  max-width: 30em;
}
.chapter--b .chapter__title {
  align-self: end;
}
.chapter--b .chapter__aside {
  align-self: start;
}
.chapter--c .chapter__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: 1fr 1fr;
}
.chapter--c .chapter__title {
  align-self: start;
}
.chapter--c .chapter__aside {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.chapter__note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--fg-60);
}
.chapter__note .icon {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
.layers-m {
  display: none;
}

/* ---------- Détails : recto, verso, format ---------- */

.finishes {
  position: relative;
  height: 160vh;
}
.finishes__inner {
  position: sticky;
  top: 0;
  z-index: var(--z-content);
  height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding: calc(var(--nav-h) + 16px) var(--gutter) 32px;
}
.finishes__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 4vh, 40px);
}
.finishes__head {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.finishes__title {
  font-size: clamp(34px, 3.4vw, 58px);
  line-height: 0.9;
}
.flist {
  border-top: 1px dashed var(--line);
}
.flist__item {
  border-bottom: 1px dashed var(--line);
}
.flist__btn {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap);
  padding: clamp(10px, 1.8vh, 18px) 0;
  text-align: left;
}
.flist__name {
  font-size: clamp(34px, min(4.8vw, 9vh), 84px);
  line-height: 0.9;
  color: var(--fg-30);
  transition: color 0.5s var(--ease), transform 0.7s var(--ease);
}
.flist__meta {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
  text-align: right;
  font-size: 11px;
  color: var(--fg-60);
  opacity: 0.55;
  transition: opacity 0.5s var(--ease);
}
.flist__meta span:first-child {
  color: var(--fg);
}
.flist__btn:hover .flist__name,
.flist__btn:focus-visible .flist__name {
  color: var(--fg-80);
  transform: translateX(14px);
}
.flist__btn.is-active .flist__name {
  color: var(--blue);
  transform: translateX(14px);
}
.flist__btn:hover .flist__meta,
.flist__btn.is-active .flist__meta {
  opacity: 1;
}
.flist__btn.is-active .flist__meta span:first-child {
  color: var(--blue);
}

/* ---------- Bandeau défilant ---------- */

.marquee {
  position: relative;
  z-index: var(--z-content);
  padding: 14vh 0 12vh;
  overflow: hidden;
  border-top: 1px dashed var(--line);
}
.marquee__row {
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
  gap: 0.32em;
  padding-right: 0.32em;
  font-size: clamp(52px, 9vw, 150px);
  line-height: 1;
  white-space: nowrap;
}
.marquee__group span {
  transition: color 0.4s var(--ease);
}
.marquee__group span:hover {
  color: var(--blue);
}
.marquee__star {
  width: 0.46em;
  height: auto;
  fill: currentColor;
  color: var(--blue);
}
.marquee__row--sm {
  margin-top: 3vh;
}
.marquee__row--sm .marquee__group {
  font-size: clamp(18px, 2vw, 28px);
  color: var(--fg-60);
}
.marquee__row--sm i {
  font-style: normal;
  color: var(--blue);
}

/* ---------- Fonctionnement (défilement horizontal) ---------- */

.steps {
  position: relative;
  z-index: var(--z-content);
  overflow: hidden;
  background: var(--bg);
}
.steps__track {
  display: flex;
  width: max-content;
  height: 100svh;
}
.steps__intro {
  width: 42vw;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.steps__title {
  font-size: var(--t-display);
  line-height: 0.9;
}
.steps__lead {
  max-width: 26em;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}
.step {
  width: 44vw;
  padding: calc(var(--nav-h) + 40px) 36px 48px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  gap: 20px;
  border-left: 1px dashed var(--line);
}
.step__num {
  font-size: clamp(64px, 8vw, 132px);
  line-height: 0.8;
  color: var(--fg-14);
}
.step__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.step__title {
  font-size: clamp(32px, 2.9vw, 51px);
  line-height: 0.9;
}
.step__text {
  max-width: 30em;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}

/* 01 : le téléphone approche */
.vtap {
  position: relative;
  width: min(100%, 300px);
  height: min(100%, 300px);
  aspect-ratio: 1;
}
.vtap__plaque {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: 54%;
  aspect-ratio: 1;
  border-radius: 10%;
  border: 1px solid var(--line);
  transform: translateX(-50%) perspective(520px) rotateX(58deg);
  transform-origin: 50% 100%;
}
.vtap__phone {
  position: absolute;
  left: 50%;
  bottom: 30%;
  width: 32%;
  aspect-ratio: 1 / 2.05;
  margin-left: -16%;
  border: 1.5px solid var(--fg);
  border-radius: 18px;
  background: #0a1027;
}
.vtap__phone b {
  position: absolute;
  inset: 8px 7px;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue), var(--azure));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.vtap.is-tapped .vtap__phone b {
  opacity: 1;
}
.vtap__wave {
  position: absolute;
  left: 50%;
  bottom: 26%;
  width: 90%;
  aspect-ratio: 1;
  margin: 0 0 -45% -45%;
  border: 1px solid var(--blue);
  border-radius: 50%;
  opacity: 0;
  transform: perspective(520px) rotateX(58deg) scale(0.2);
}
.vtap.is-tapped .vtap__wave {
  animation: vtap-wave 1.8s ease-out infinite;
}
.vtap.is-tapped .vtap__wave:nth-child(2) { animation-delay: 0.6s; }
.vtap.is-tapped .vtap__wave:nth-child(3) { animation-delay: 1.2s; }
@keyframes vtap-wave {
  0% { opacity: 0.9; transform: perspective(520px) rotateX(58deg) scale(0.2); }
  100% { opacity: 0; transform: perspective(520px) rotateX(58deg) scale(1.15); }
}

/* 02 : les étoiles se remplissent */
.vrate {
  display: grid;
  justify-items: center;
  gap: 22px;
}
.vrate__stars {
  display: flex;
  gap: 8px;
}
.vrate__star {
  position: relative;
  width: clamp(40px, 5vw, 82px);
  aspect-ratio: 1;
  color: var(--fg-14);
  transition: transform 0.5s var(--ease);
}
.vrate__star svg {
  width: 100%;
  height: 100%;
}
.vrate__fill {
  position: absolute;
  inset: 0;
  color: var(--blue);
  clip-path: inset(0 calc(100% - var(--f, 0) * 100%) 0 0);
}
.vrate__star:hover {
  transform: translateY(-6px) scale(1.08);
}
.vrate__score {
  font-size: clamp(28px, 2.6vw, 41px);
  font-variant-numeric: tabular-nums;
  color: var(--fg-60);
}
.vrate__val {
  color: var(--fg);
}

/* 03 : avis publié */
.vpub {
  position: relative;
  width: min(62%, 230px);
  aspect-ratio: 1;
}
.vpub svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.vpub__ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 0.5;
  stroke-dasharray: 1.2 1.6;
}
.vpub__circle,
.vpub__check {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.vpub__circle {
  stroke-width: 0.7;
}
.vpub__check {
  stroke-width: 1.2;
}
.vpub__badge {
  position: absolute;
  top: 2%;
  right: -10%;
  padding: 6px 12px;
  border: 1px dashed var(--blue);
  border-radius: var(--r-ghost);
  color: var(--blue);
  font-size: 12px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.8s var(--ease);
}
.vpub.is-done .vpub__badge {
  opacity: 1;
  transform: none;
}

/* ---------- Manifeste et chiffres ---------- */

.manifesto {
  position: relative;
  z-index: var(--z-content);
  padding: 22vh var(--gutter) 16vh;
}
.manifesto__text {
  max-width: 19em;
  font-size: clamp(30px, 4.4vw, 74px);
  line-height: 1.08;
  font-weight: 400;
  text-transform: none;
}
.manifesto__text .w {
  padding-top: 0.04em;
  margin-top: -0.04em;
}
.stats {
  margin-top: 16vh;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px dashed var(--line);
}
.stat {
  padding: 28px 24px 0 0;
}
.stat + .stat {
  padding-left: 24px;
  border-left: 1px dashed var(--line);
}
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  font-size: clamp(64px, 9vw, 150px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}
.stat__num small {
  font-size: 0.26em;
  color: var(--fg-60);
}
.stat__label {
  margin-top: 18px;
  max-width: 22em;
  font-size: 12px;
  color: var(--fg-60);
}

/* ---------- Tarifs ---------- */

.pricing {
  position: relative;
  z-index: var(--z-content);
  padding: 16vh var(--gutter) 12vh;
}
.pricing__title {
  margin-bottom: 7vh;
  font-size: var(--t-display);
  line-height: 0.9;
}
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: stretch;
  gap: var(--gap);
}
.offer {
  position: relative;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--fg);
  overflow: hidden;
  transition: border-color 0.5s var(--ease);
  transform-style: preserve-3d;
}
.offer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--glow) / 0.08), transparent 62%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.offer:hover {
  border-color: var(--blue);
}
.offer:hover::before {
  opacity: 1;
}
.offer > * {
  position: relative;
}
.offer .dash {
  width: 100%;
}
.offer .btn {
  margin-top: auto;
}
.offer--featured {
  padding: 28px;
  border-color: var(--blue);
}
.offer--featured::before {
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 0%), rgb(255 255 255 / 0.18), transparent 62%);
}
.offer__head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.offer__name {
  font-size: clamp(28px, 2.6vw, 41px);
  line-height: 0.9;
}
.offer__qty {
  font-size: 12px;
  color: var(--fg-60);
}
.offer__price {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  margin-top: 12px;
  font-size: clamp(72px, 7.5vw, 128px);
  line-height: 0.86;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.offer--featured .offer__price {
  font-size: clamp(84px, 8.4vw, 150px);
}
.offer__price small {
  font-size: 0.32em;
}
.offer__price.offer__price--text {
  font-size: clamp(40px, 4vw, 64px);
  line-height: 0.9;
}
.offer__unit {
  font-size: 12px;
  color: var(--fg-60);
}
.offer__list {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}
.offer__list li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.offer__list .icon {
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.offer__fan {
  position: absolute;
  top: 26px;
  right: 26px;
  width: clamp(110px, 12vw, 190px);
  aspect-ratio: 1;
}
.fan {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 52%;
  aspect-ratio: 1;
  margin-left: -26%;
  border: 2px solid #ffffff;
  border-radius: 10%;
  transform-origin: 50% 140%;
  transition: transform 0.9s var(--ease);
}
.fan:nth-child(1) { transform: rotate(-6deg); }
.fan:nth-child(2) { transform: rotate(1deg); }
.fan:nth-child(3) { transform: rotate(7deg); }
.offer--featured:hover .fan:nth-child(1) { transform: rotate(-24deg) translateY(-4%); }
.offer--featured:hover .fan:nth-child(2) { transform: rotate(0deg) translateY(-12%); }
.offer--featured:hover .fan:nth-child(3) { transform: rotate(24deg) translateY(-4%); }
.pricing__note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--fg-60);
}

/* Offre "Réseau" sur devis : bandeau pleine largeur sous les trois offres */
.offer--quote {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 48px;
  background: var(--paper);
}
.offer--quote .offer__price {
  margin-top: 0;
}
.offer--quote .offer__list {
  margin: 0;
  grid-template-columns: repeat(3, auto);
  gap: 10px 28px;
}
.offer--quote .btn {
  margin: 0 0 0 auto;
}
.offer__quote-head {
  display: grid;
  gap: 10px;
  min-width: 9em;
}

/* ---------- Questions ---------- */

.faq {
  position: relative;
  z-index: var(--z-content);
  padding: 12vh var(--gutter) 14vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
}
.faq__title {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  align-self: start;
  font-size: var(--t-display);
  line-height: 0.9;
}
.faq__list {
  border-top: 1px dashed var(--line);
}
.faq__item {
  border-bottom: 1px dashed var(--line);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding: 22px 0;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.15;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary > span {
  transition: transform 0.6s var(--ease), color 0.4s var(--ease);
}
.faq__item summary:hover > span {
  transform: translateX(10px);
  color: var(--blue);
}
.faq__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--fg-30);
  border-radius: 50%;
  transition: transform 0.7s var(--ease), background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.faq__icon .icon {
  width: 16px;
  height: 16px;
}
.faq__item summary:hover .faq__icon {
  border-color: var(--blue);
  color: var(--blue);
}
.faq__item.is-open .faq__icon {
  transform: rotate(135deg);
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}
.faq__answer {
  overflow: hidden;
}
.faq__answer p {
  max-width: 60ch;
  padding: 0 0 24px;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}

/* ---------- Commande (bloc bleu) ---------- */

.order {
  position: relative;
  z-index: var(--z-content);
  padding: 14vh var(--gutter) 12vh;
  background: var(--bg);
  color: var(--fg);
}
.order__big {
  margin-top: 20px;
  font-size: clamp(64px, 13vw, 240px);
  line-height: 0.86;
}
.order__grid {
  margin-top: 9vh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--gap);
}
.order__intro {
  display: grid;
  align-content: start;
  gap: 28px;
  max-width: 26em;
}
.order__mail {
  font-size: 12px;
  color: var(--fg-60);
}

.form {
  display: grid;
  gap: 32px;
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px var(--gap);
}
.field {
  position: relative;
  display: grid;
  gap: 8px;
}
.field label,
.choice legend {
  font-size: 12px;
  color: var(--fg-60);
}
.field label span {
  opacity: 0.75;
}
.field input {
  width: 100%;
  appearance: none;
  padding: 8px 2px 10px;
  border: 0;
  border-bottom: 1px solid var(--fg-30);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 400 19px/1.3 var(--font);
  text-transform: none;
  transition: border-color 0.4s var(--ease);
}
.field input:hover {
  border-bottom-color: var(--fg-60);
}
.field input:focus {
  outline: none;
  border-bottom-color: var(--fg);
}
.field input:focus-visible {
  outline: 1px dashed var(--fg-60);
  outline-offset: 6px;
}
.field.is-invalid input {
  border-bottom-color: var(--danger);
}
.field__err {
  min-height: 1.2em;
  font-size: 12px;
  color: var(--danger);
  text-transform: none;
  font-weight: 500;
}
.choice {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.choice legend {
  margin-bottom: 12px;
  padding: 0;
}
.choice__opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  position: relative;
  cursor: pointer;
}
.pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill span {
  display: inline-flex;
  padding: 9px 16px;
  border: 1px solid var(--fg-30);
  border-radius: var(--r-ghost);
  font-size: 12px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pill:hover span {
  border-color: var(--fg);
}
.pill input:checked + span {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.pill input:focus-visible + span {
  outline: 1px dashed var(--fg);
  outline-offset: 3px;
}
.form__submit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--gap);
}
.form__status {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}
.form__status.is-error {
  color: var(--danger);
}
.form.is-sending button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}
.burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: var(--z-cursor);
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  color: var(--azure);
  pointer-events: none;
}

.order__steps {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
}
.order__steps li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order__steps b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 500;
}

/* Barre Google Maps (champ obligatoire) */
.field--maps {
  gap: 10px;
}
.field--maps label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--fg);
}
.field label .field__req {
  padding: 3px 9px;
  border: 1px dashed currentColor;
  border-radius: var(--r-ghost);
  font-size: 10px;
  opacity: 1;
}
.mapsbar {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 6px 6px 6px 20px;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: #ffffff;
  color: #071a4d;
  transition: border-color 0.4s var(--ease);
}
.mapsbar:focus-within {
  border-color: var(--azure);
}
.field--maps.is-invalid .mapsbar {
  border-color: var(--danger);
}
.mapsbar__pin {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.field .mapsbar input,
.field .mapsbar input:hover,
.field .mapsbar input:focus {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: #071a4d;
  font: 400 18px/1.3 var(--font);
  outline: none;
}
.field .mapsbar input:focus-visible {
  outline: none;
}
.mapsbar input::placeholder {
  color: rgb(7 26 77 / 0.42);
}
.mapsbar__ok {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  transform: scale(0);
  transition: transform 0.5s var(--ease);
}
.mapsbar.is-valid .mapsbar__ok {
  transform: scale(1);
}
.mapsbar__ok .icon {
  width: 16px;
  height: 16px;
}
.mapsbar__paste {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 13px 18px;
  border-radius: var(--r-pill);
  background: var(--blue);
  color: #ffffff;
  font-size: 12px;
  transition: background-color 0.4s var(--ease);
}
.mapsbar__paste:hover {
  background: var(--blue-deep);
}
.mapsbar__paste .icon {
  width: 16px;
  height: 16px;
}
.field__help {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}
.field__help .link {
  color: var(--fg);
  background-size: 100% 1px;
}

/* Champs du devis */
.field textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 8px 2px 10px;
  border: 0;
  border-bottom: 1px solid var(--fg-30);
  border-radius: 0;
  background: transparent;
  color: var(--fg);
  font: 400 17px/1.45 var(--font);
  text-transform: none;
  transition: border-color 0.4s var(--ease);
}
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--fg);
}
.field input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
.field input[type="number"]::-webkit-inner-spin-button,
.field input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Total de la commande */
.form__summary {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
}
.form__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--gap);
  font-size: 12px;
}
.form__total-val {
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  font-size: clamp(48px, 5vw, 84px);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.form__price {
  font-weight: 500;
}
.form__total-val small {
  font-size: 0.36em;
}
.form__price--text {
  font-size: 0.62em;
}
.form__note,
.form__pay-note {
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  color: var(--fg-80);
}
.form__pay-note {
  font-size: 12px;
  color: var(--fg-60);
}
.form__status .form__pay {
  margin-left: 8px;
  vertical-align: middle;
}

/* Message après paiement */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 14px 14px 14px 18px;
  border-radius: var(--r-card);
  background: var(--blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: none;
  transform: translateX(-50%);
  animation: toast-in 0.8s var(--ease) both;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translate(-50%, 24px);
  }
}
.toast b {
  font-weight: 600;
}
.toast > .icon {
  width: 20px;
  height: 20px;
}
.toast__close {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: background-color 0.3s var(--ease);
}
.toast__close:hover {
  background: rgb(255 255 255 / 0.16);
}
.toast__close .icon {
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
}

@media (max-width: 1023px) {
  .offer--quote .offer__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .offer--quote {
    flex-direction: column;
    align-items: flex-start;
  }
  .offer--quote .btn {
    margin: 0;
  }
  .mapsbar {
    min-height: 56px;
    padding-left: 16px;
  }
  .field .mapsbar input,
  .field .mapsbar input:hover,
  .field .mapsbar input:focus {
    font-size: 16px;
  }
  .mapsbar__paste {
    padding: 12px;
  }
  .mapsbar__paste span {
    display: none;
  }
}

/* ---------- Pied de page (suite du bloc bleu) ---------- */

.footer {
  position: relative;
  z-index: var(--z-content);
  padding: 0 var(--gutter) 0.8vw;
  overflow: hidden;
  background: var(--bg);
  color: var(--fg);
}
.footer__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--gap);
  padding: 20px 0;
  border-top: 1px dashed var(--line);
  font-size: 12px;
}
.footer__links {
  display: flex;
  gap: 24px;
}
.footer__top {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__top .icon {
  transition: transform 0.6s var(--ease);
}
.footer__top:hover .icon {
  transform: translateY(-3px);
}
.footer__base {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--gap);
}
.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.footer__star {
  width: 16px;
  height: auto;
  fill: currentColor;
}
.legal {
  font-family: var(--font-legal);
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-60);
}
.footer__word {
  margin-top: 5vh;
  overflow: hidden;
  user-select: none;
}
.brandword--footer {
  fill: #ffffff;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1299px) {
  .hero__demo {
    display: none;
  }
}

@media (max-width: 1023px) {
  :root {
    --gutter: 20px;
  }
  .nav__links {
    gap: 20px;
  }
  .chapter__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26vw) minmax(0, 1fr);
  }
  .steps__intro {
    width: 60vw;
  }
  .step {
    width: 62vw;
  }
  .pricing__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .offer--featured {
    grid-column: 1 / -1;
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 6vh;
  }
  .faq__title {
    position: static;
  }
  .order__grid {
    grid-template-columns: 1fr;
    gap: 6vh;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
    --nav-h: 60px;
    --t-head: clamp(38px, 11vw, 56px);
  }
  .nav__links,
  .sidelabel,
  .cursor-tag,
  .xlabels {
    display: none;
  }
  .nav__burger {
    display: block;
  }
  .nav__brand {
    height: 22px;
  }
  .menu {
    display: flex;
  }

  .hero__word {
    width: 100%;
  }
  .hero__foot {
    flex-direction: column;
    align-items: stretch;
  }
  .hero__card {
    width: 100%;
    padding: 20px;
  }
  .hero__title {
    font-size: 18px;
  }
  .hero__text {
    font-size: 15px;
  }

  .chapter__inner,
  .chapter--c .chapter__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto;
    padding: calc(var(--nav-h) + 12px) var(--gutter) 28px;
  }
  .chapter__title,
  .chapter--b .chapter__title,
  .chapter--c .chapter__title {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }
  .chapter__aside,
  .chapter--b .chapter__aside,
  .chapter--c .chapter__aside {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
    gap: 16px;
  }
  .chapter .body-copy {
    font-size: 18px;
  }
  .layers-m {
    display: grid;
    gap: 8px;
    font-size: 11px;
    color: var(--fg-60);
  }
  .layers-m li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
  }
  .layers-m b {
    font-weight: 500;
    color: var(--fg);
  }

  .finishes__inner {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 8px) var(--gutter) 20px;
  }
  .finishes__left {
    justify-content: space-between;
  }
  .finishes__title {
    font-size: 34px;
  }
  .flist {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    border: 0;
  }
  .flist__item {
    border: 0;
  }
  .flist__btn {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: 100%;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: var(--r-card);
    transition: border-color 0.4s var(--ease);
  }
  .flist__btn.is-active {
    border-color: var(--blue);
  }
  .flist__name {
    font-size: min(20px, 4.9vw);
  }
  .flist__btn:hover .flist__name,
  .flist__btn.is-active .flist__name {
    transform: none;
  }
  .flist__meta {
    text-align: left;
    padding: 0;
  }
  .flist__meta span:last-child {
    display: none;
  }

  .steps__intro {
    width: 88vw;
    padding: calc(var(--nav-h) + 20px) var(--gutter) 32px;
  }
  .step {
    width: 86vw;
    padding: calc(var(--nav-h) + 20px) 20px 32px;
  }
  .step__text,
  .steps__lead {
    font-size: 15px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
  .stat,
  .stat + .stat {
    padding: 24px 0;
    border-left: 0;
  }
  .stat + .stat {
    border-top: 1px dashed var(--line);
  }

  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .offer__fan {
    width: 96px;
    top: 20px;
    right: 20px;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__row {
    grid-template-columns: 1fr auto;
  }
  .footer__links {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer__base {
    flex-direction: column;
    gap: 8px;
  }
}

/* Écrans tactiles : pas d'étiquette de curseur */
@media (hover: none) {
  .cursor-tag {
    display: none;
  }
}

/* Mouvements réduits : tout reste lisible, rien ne bouge seul */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .loader {
    display: none;
  }
}
html.reduced .steps__track {
  flex-direction: column;
  width: auto;
  height: auto;
}
html.reduced .steps__intro,
html.reduced .step {
  width: auto;
  min-height: 0;
  border-left: 0;
  border-top: 1px dashed var(--line);
}
html.reduced .step__visual {
  min-height: 280px;
}
html.reduced .vpub__circle,
html.reduced .vpub__check {
  stroke-dashoffset: 0;
}
html.reduced .vrate__fill {
  --f: 1;
}
