/* ==========================================================================
   RIServices — Création de sites sur mesure · Mayotte
   Feuille de style unique. Aucune dépendance externe : polices hébergées ici.
   Direction : l'atelier du tailleur (papier à patron, craie, mètre ruban).
   ========================================================================== */

/* ---------- Polices (sous-ensemble latin, licence SIL OFL) ---------- */
@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/BodoniModa-normal-400_800.woff2) format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url(../fonts/BodoniModa-italic-400_800.woff2) format('woff2');
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/SchibstedGrotesk-normal-400_700.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/DMMono-normal-400.woff2) format('woff2');
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/DMMono-normal-500.woff2) format('woff2');
}

/* ---------- Variables ---------- */
:root {
  --paper: #F3EDE2;
  --paper-2: #EAE1D1;
  --paper-3: #DDD1BC;
  --ink: #191C20;
  --ink-2: #3A3F46;
  --ink-3: #686C71;
  --chalk: #C63D23;          /* craie de tailleur : boutons, accents */
  --chalk-ink: #A8331C;      /* craie foncée : petits textes sur papier */
  --chalk-light: #F0795E;    /* craie claire : sur fond sombre */
  --lagon: #0E6E6B;
  --tape: #EFC34A;
  --pencil: #2F5D8C;
  --line: rgba(25, 28, 32, .16);
  --grid: rgba(25, 28, 32, .045);

  --f-display: 'Bodoni Moda', 'Bodoni 72', Didot, Georgia, serif;
  --f-text: 'Schibsted Grotesk', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  --wrap: 1240px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--f-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* grain de papier */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4  0 0 0 0 .36  0 0 0 0 .3  0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
.nw { white-space: nowrap; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--chalk);
}

::selection { background: var(--tape); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--chalk);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

.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: absolute;
  left: 1rem; top: -100px;
  z-index: 200;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1rem; border-radius: 6px;
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Petits éléments communs ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--chalk-ink);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--chalk {
  background: var(--chalk);
  color: #fff;
  outline: 1px dashed rgba(255, 255, 255, .55);
  outline-offset: -6px;
  box-shadow: 0 10px 24px -12px rgba(198, 61, 35, .7);
}
.btn--chalk:hover { background: var(--chalk-ink); }
.btn--chalk:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--small { padding: .65rem 1.1rem; font-size: .92rem; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 237, 226, .86);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px dashed transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.site-header__in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: .7rem;
  text-decoration: none;
  margin-right: auto;
}
.logo__mot {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo__mot i { font-style: italic; color: var(--chalk); font-weight: 500; }
.logo__tag {
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav ul { display: flex; align-items: center; gap: 1.9rem; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: .97rem;
  padding: .3rem 0;
  text-decoration-line: underline;
  text-decoration-style: dashed;
  text-decoration-color: transparent;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
  transition: text-decoration-color .2s;
}
.nav a:not(.btn):hover { text-decoration-color: var(--chalk); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 18px; height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; transform: none; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* barre de progression = mètre ruban */
.progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 5px;
  pointer-events: none;
}
.progress__fill {
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background-color: var(--tape);
  background-image: repeating-linear-gradient(90deg, rgba(25, 28, 32, .55) 0 1px, transparent 1px 8px);
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .logo__tag { display: none; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1.5px solid var(--ink);
    padding: 1.5rem var(--gut) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s, transform .3s var(--ease);
  }
  .nav ul { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
  .nav a:not(.btn) { font-family: var(--f-display); font-size: 1.7rem; }
  .nav .btn { margin-top: .5rem; }
}

/* ---------- Héros ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3rem, 7vw, 6rem);
}
.hero__in {
  --hg: clamp(2.5rem, 5vw, 5rem);
  --map-h: clamp(520px, 54vw, 800px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: var(--hg);
  align-items: center;
}

/* Mayotte en fond : trait de côte officiel, l'île entière dans la colonne de gauche (Petite-Terre au bord de l'espace central) */
.hero__carte {
  position: absolute;
  z-index: -1;
  display: block;
  max-width: none;
  height: var(--map-h);
  width: calc(var(--map-h) * 1000 / 1342);
  left: calc(var(--gut) + (100% - 2 * var(--gut) - var(--hg)) / 2.08 + var(--hg) / 2 - .7452 * var(--map-h));
  top: calc(50% - .5 * var(--map-h) + 3rem);
  color: rgba(25, 28, 32, .24);
  stroke-width: 1.4px;
  pointer-events: none;
}
.hero__carte .point { fill: var(--chalk); }
.hero__carte .onde {
  fill: none;
  stroke: var(--chalk);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: onde 2.8s var(--ease) infinite;
}
@keyframes onde {
  from { transform: scale(1); opacity: .85; }
  to { transform: scale(3.4); opacity: 0; }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow .pin {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--chalk);
  box-shadow: 0 0 0 4px rgba(198, 61, 35, .16);
}

.hero h1 {
  font-size: clamp(2.6rem, 1.4rem + 3.6vw, 4.7rem);
  line-height: .98;
  letter-spacing: -.025em;
}
.hero h1 .l { display: block; }
.hero .lead {
  margin-top: 1.8rem;
  max-width: 34em;
  font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem);
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}
.hero__note {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  font-family: var(--f-mono);
  font-size: .78rem;
  color: var(--ink-3);
}
.hero__note li { display: flex; align-items: center; gap: .45rem; }
.hero__note li::before {
  content: "";
  width: 6px; height: 6px;
  border: 1.5px solid var(--chalk);
  transform: rotate(45deg);
}

/* entrée du héros */
.js .hero [data-in] {
  opacity: 0;
  transform: translateY(22px);
  animation: monte .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes monte { to { opacity: 1; transform: none; } }

/* ---------- L'atelier (comparateur croquis / site fini) ---------- */
.atelier { margin: 0; position: relative; }

.cote {
  position: relative;
  height: 22px;
  margin: 0 2px 10px;
  color: var(--chalk-ink);
}
.cote::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid currentColor;
}
.cote::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: calc(50% - 6px);
  height: 12px;
  border-inline: 1px solid currentColor;
}
.cote span {
  position: relative;
  z-index: 1;
  display: table;
  margin: 0 auto;
  padding: 0 .6rem;
  background: var(--paper);
  font-family: var(--f-mono);
  font-size: .72rem;
  line-height: 22px;
  letter-spacing: .06em;
}

.mock {
  --split: 0%;
  position: relative;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  box-shadow:
    0 2px 0 rgba(25, 28, 32, .9),
    0 40px 70px -40px rgba(25, 28, 32, .55),
    0 18px 30px -24px rgba(25, 28, 32, .35);
  overflow: hidden;
}
.mock__bar {
  height: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 14px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-2);
}
.mock__dots { display: flex; gap: 6px; }
.mock__dots i {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
}
.mock__dots i:first-child { background: var(--chalk); }
.mock__url {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 10px;
  border-radius: 99px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: .72rem;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
}
.mock__url svg { width: 11px; height: 11px; flex: none; }
.mock__url span { overflow: hidden; text-overflow: ellipsis; }

.mock__stage {
  position: relative;
  aspect-ratio: 16 / 11;
  container-type: inline-size;
  overflow: hidden;
}

.mk {
  position: absolute;
  inset: 0;
  padding: 3.4cqw 4.2cqw 4cqw;
  display: flex;
  flex-direction: column;
  gap: 3.6cqw;
}
.mk__nav { display: flex; align-items: center; gap: 3cqw; font-size: 1.75cqw; }
.mk__logo {
  margin-right: auto;
  font-size: 2.4cqw;
  font-weight: 700;
  max-width: 40cqw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk__links { display: flex; gap: 2.6cqw; }
.mk__pill { padding: 1cqw 2.2cqw; border-radius: 99px; font-weight: 600; }
.mk__hero {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4cqw;
  align-items: center;
}
.mk__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1.8cqw; min-width: 0; }
.mk__kicker { font-size: 1.45cqw; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.mk__title {
  font-size: 5.8cqw;
  line-height: 1;
  letter-spacing: -.02em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.mk__tag { font-size: 2cqw; line-height: 1.35; opacity: .82; }
.mk__cta { font-size: 1.8cqw; font-weight: 600; padding: 1.5cqw 2.8cqw; border-radius: 1cqw; }
.mk__visual {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3.4cqw;
  display: grid;
  place-items: center;
}
.mk__visual svg { width: 72%; height: 72%; }
.mk__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.mk__card {
  display: flex;
  gap: 1.4cqw;
  align-items: flex-start;
  padding: 1.9cqw;
  border-radius: 1.6cqw;
  font-size: 1.45cqw;
  line-height: 1.3;
}
.mk__card b { display: block; font-size: 1.75cqw; margin-bottom: .3cqw; }
.mk__dot { flex: none; width: 3cqw; height: 3cqw; border-radius: 50%; }

/* — côté croquis — */
.mk--sketch {
  z-index: 0;
  color: var(--pencil);
  background-color: #FCFAF5;
  background-image:
    linear-gradient(rgba(47, 93, 140, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 93, 140, .07) 1px, transparent 1px);
  background-size: 4cqw 4cqw;
}
.sk-box {
  border: 1.5px solid currentColor;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
}
.sk-line {
  display: block;
  height: 1.3cqw;
  border-radius: 99px;
  background: currentColor;
  opacity: .32;
}
.sk-x {
  position: relative;
  background:
    linear-gradient(to top right, transparent calc(50% - 1px), rgba(47, 93, 140, .55) calc(50% - .5px), rgba(47, 93, 140, .55) calc(50% + .5px), transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), rgba(47, 93, 140, .55) calc(50% - .5px), rgba(47, 93, 140, .55) calc(50% + .5px), transparent calc(50% + 1px));
}
.mk--sketch .mk__logo {
  padding: .6cqw 1.6cqw;
  font-family: var(--f-mono);
  font-size: 1.5cqw;
  font-weight: 500;
  letter-spacing: .1em;
}
.mk--sketch .mk__links .sk-line { width: 6cqw; height: 1cqw; }
.mk--sketch .mk__pill { width: 11cqw; height: 4cqw; }
.mk--sketch .mk__copy { gap: 1.9cqw; width: 100%; }
.mk--sketch .sk-title { height: 4.4cqw; opacity: .5; }
.mk--sketch .mk__cta { width: 17cqw; height: 5cqw; padding: 0; }
.mk--sketch .mk__card { border: 1.5px solid currentColor; border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; }
.mk--sketch .mk__dot { border: 1.5px solid currentColor; }
.mk--sketch .mk__card .sk-line { height: 1cqw; margin-top: .9cqw; }

.sk-note {
  position: absolute;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 1.6cqw;
  line-height: 1.2;
  color: var(--chalk-ink);
  background: #FCFAF5;
  padding: .35cqw .8cqw;
  border: 1px dashed currentColor;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: .02em;
}

/* — côté site fini — */
.mk--final {
  --s-bg: #FBF3E8;
  --s-ink: #2B1A12;
  --s-acc: #B4472F;
  --s-on: #fff;
  --s-soft: #F2DFC8;
  --s-font: var(--f-display);
  --s-style: italic;
  --s-weight: 500;
  --s-case: none;
  z-index: 1;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
  background: var(--s-bg);
  color: var(--s-ink);
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
.mk--final .mk__logo { font-family: var(--s-font); font-style: var(--s-style); text-transform: var(--s-case); }
.mk--final .mk__title {
  font-family: var(--s-font);
  font-style: var(--s-style);
  font-weight: var(--s-weight);
  text-transform: var(--s-case);
}
.mk--final .mk__kicker { color: var(--s-acc); }
.mk--final .mk__pill,
.mk--final .mk__cta { background: var(--s-acc); color: var(--s-on); transition: background-color .5s var(--ease); }
.mk--final .mk__visual { background: var(--s-soft); color: var(--s-acc); transition: background-color .5s var(--ease); }
.mk--final .mk__card { background: var(--s-soft); transition: background-color .5s var(--ease); }
.mk--final .mk__dot { background: var(--s-acc); }
.mk--final .ink { fill: var(--s-ink); }
.mk--final .ink-s { stroke: var(--s-ink); }

.mk--final[data-secteur="artisan"] {
  --s-bg: #EDF0F3; --s-ink: #14212E; --s-acc: #F2B33D; --s-on: #14212E; --s-soft: #DAE1E9;
  --s-font: var(--f-text); --s-style: normal; --s-weight: 700; --s-case: uppercase;
}
.mk--final[data-secteur="artisan"] .mk__title { font-size: 5.2cqw; letter-spacing: -.01em; }
.mk--final[data-secteur="artisan"] .mk__kicker { color: #8A5B00; }
.mk--final[data-secteur="commerce"] {
  --s-bg: #F7F0F4; --s-ink: #2C1530; --s-acc: #A3306E; --s-on: #fff; --s-soft: #EEDAE6;
  --s-font: var(--f-display); --s-style: normal; --s-weight: 600; --s-case: none;
}
.mk--final[data-secteur="sante"] {
  --s-bg: #EEF6F4; --s-ink: #0F2A2A; --s-acc: #0D7C72; --s-on: #fff; --s-soft: #D3EAE4;
  --s-font: var(--f-text); --s-style: normal; --s-weight: 700; --s-case: none;
}

/* — poignée — */
.mock__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.mock__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--split);
  z-index: 4;
  width: 0;
  border-left: 2px solid var(--chalk);
  transform: translateX(-1px);
  pointer-events: none;
}
.mock__knob {
  position: absolute;
  top: 50%; left: 0;
  width: 46px; height: 46px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--chalk);
  color: #fff;
  outline: 1px dashed rgba(255, 255, 255, .6);
  outline-offset: -6px;
  box-shadow: 0 8px 18px -6px rgba(25, 28, 32, .5);
  transition: box-shadow .2s;
}
.mock__knob svg { width: 22px; height: 22px; }
.mock__range:focus-visible ~ .mock__handle .mock__knob {
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--ink);
}
.mock__hint {
  position: absolute;
  top: calc(50% + 34px);
  left: 0;
  transform: translateX(-50%);
  padding: .25rem .55rem;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity .4s;
}
.mock.is-touched .mock__hint { opacity: 0; }

.atelier__labels {
  display: flex;
  justify-content: space-between;
  margin-top: .8rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* — essai : nom + activité — */
.essai {
  margin-top: 1.4rem;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1.5px dashed var(--ink-3);
  border-radius: 10px;
  background: rgba(255, 255, 255, .35);
}
.essai__label {
  display: block;
  font-family: var(--f-mono);
  font-size: .74rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--chalk-ink);
}
.essai__nom {
  width: 100%;
  margin-top: .2rem;
  padding: .3rem 0 .35rem;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  border-radius: 0;
}
.essai__nom::placeholder { color: rgba(25, 28, 32, .38); }
.essai__nom:focus { outline: none; border-bottom-color: var(--chalk); }
.essai__nom:focus-visible { outline: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; border: 0; padding: 0; }
.chips legend { padding: 0; margin-bottom: .55rem; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem .95rem;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: background-color .2s, color .2s;
}
.chip span:hover { background: rgba(25, 28, 32, .06); }
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--chalk); outline-offset: 2px; }

@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; --map-h: clamp(440px, 120vw, 640px); }
  .atelier { max-width: 680px; }
  .hero__carte { left: auto; right: calc(-.06 * var(--map-h)); top: -2.5rem; color: rgba(25, 28, 32, .15); }
}

/* ---------- Ruban (mètre de tailleur qui défile) ---------- */
.ruban-zone { overflow: hidden; padding-block: 1.2rem; }
.ruban {
  position: relative;
  overflow: hidden;
  background-color: var(--tape);
  border-block: 1.5px solid var(--ink);
  transform: rotate(-1.2deg);
  margin: 0 -2vw;
  box-shadow: 0 12px 20px -16px rgba(25, 28, 32, .5);
}
.ruban::before,
.ruban::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  pointer-events: none;
}
.ruban::before {
  top: 0;
  height: 9px;
  background-image: repeating-linear-gradient(90deg, rgba(25, 28, 32, .75) 0 1px, transparent 1px 7px);
}
.ruban::after {
  top: 0;
  height: 16px;
  background-image: repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 70px);
}
.ruban__piste {
  display: flex;
  width: max-content;
  padding: 1.35rem 0 .9rem;
  animation: defile 55s linear infinite;
}
.ruban__piste ul { display: flex; flex: none; }
.ruban__piste li {
  display: flex;
  align-items: baseline;
  gap: .6rem;
  padding-right: 2.6rem;
  font-family: var(--f-mono);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ruban__piste li b {
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--chalk-ink);
  letter-spacing: 0;
}
@keyframes defile { to { transform: translateX(-50%); } }
.ruban:hover .ruban__piste { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }

.section__tete {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 1.5rem 4rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__tete h2 { font-size: clamp(2.2rem, 1.35rem + 3vw, 4rem); }
.section__tete p { color: var(--ink-2); max-width: 30em; }
@media (max-width: 820px) {
  .section__tete { grid-template-columns: 1fr; }
}

/* révélation au défilement */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Offres : pièces de patron ---------- */
.pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: stretch;
}
@media (max-width: 1020px) { .pieces { grid-template-columns: 1fr; max-width: 640px; } }

.piece {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: 2.3rem 1.9rem 1.9rem;
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 4px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.piece::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(25, 28, 32, .32);
  border-radius: 2px;
  pointer-events: none;
}
.piece::after {
  content: "";
  position: absolute;
  top: -1.5px; left: 50%;
  width: 16px; height: 10px;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translateX(-50%);
}
.piece:hover {
  transform: translateY(-6px) rotate(-.4deg);
  box-shadow: 0 26px 40px -30px rgba(25, 28, 32, .6);
}
.piece__label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chalk-ink);
}
.piece__label span:last-child { color: var(--ink-3); }
.piece h3 { font-size: clamp(1.75rem, 1.35rem + 1.1vw, 2.35rem); }
.piece h3 em { font-size: .92em; }
.piece > p { color: var(--ink-2); }
.piece__bloc { display: grid; gap: .45rem; padding-top: 1rem; border-top: 1px dashed rgba(25, 28, 32, .28); }
.piece__bloc:last-child { margin-top: auto; }
.piece__bloc h4 {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.piece__bloc li {
  position: relative;
  padding-left: 1.2rem;
  font-size: .97rem;
}
.piece__bloc li::before {
  content: "";
  position: absolute;
  left: 0; top: .72em;
  width: .65rem; height: 1.5px;
  background: var(--chalk);
}
.piece__bloc p { font-size: .97rem; }

.autour {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.4rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.6rem;
  border-top: 1.5px dashed var(--ink-3);
  font-size: .98rem;
  color: var(--ink-2);
}
.autour strong { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; font-weight: 500; color: var(--ink); }
.autour ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.autour li {
  padding: .3rem .75rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, .4);
  font-size: .9rem;
}

/* ---------- Section sombre : réalisations ---------- */
.sombre {
  --line: rgba(243, 237, 226, .16);
  color: var(--paper);
  background-color: var(--ink);
  background-image:
    linear-gradient(rgba(243, 237, 226, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 237, 226, .035) 1px, transparent 1px);
  background-size: 40px 40px;
}
.sombre .kicker { color: var(--chalk-light); }
.sombre h2 em { color: var(--chalk-light); }
.sombre .section__tete p { color: rgba(243, 237, 226, .75); }

.projets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.4vw, 2rem);
}
@media (max-width: 860px) { .projets { grid-template-columns: 1fr; } }

.projet {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(243, 237, 226, .16);
  border-radius: 12px;
  background: #21252A;
  overflow: hidden;
  transition: border-color .3s, transform .45s var(--ease);
}
.projet:hover { border-color: rgba(243, 237, 226, .34); }
.projet__apercu {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  container-type: inline-size;
  border-bottom: 1px solid rgba(243, 237, 226, .14);
}
.projet__apercu--libre { aspect-ratio: auto; min-height: 280px; }
.projet__corps {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.6rem 1.7rem 1.8rem;
}
.projet h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); line-height: 1.1; }
.projet p { color: rgba(243, 237, 226, .76); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .28rem .65rem;
  border: 1px solid rgba(243, 237, 226, .3);
  border-radius: 99px;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(243, 237, 226, .85);
}
.tag--live { border-color: rgba(79, 191, 139, .6); color: #8BE3B8; }
.tag--live::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4FBF8B;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(79, 191, 139, .0); opacity: .55; } }
.projet__lien {
  margin-top: auto;
  padding-top: .5rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  align-self: flex-start;
  color: var(--chalk-light);
  font-weight: 600;
  text-decoration: underline dashed 1px;
  text-underline-offset: 6px;
}
.projet__lien svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.projet__lien:hover svg { transform: translate(2px, -2px); }
.projet .projet__note {
  margin-top: auto;
  padding-top: .5rem;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .04em;
  color: rgba(243, 237, 226, .55);
}

/* — aperçu 1 : auto-école — */
.ap { position: absolute; inset: 0; }
.ap-auto { background: linear-gradient(#BFE0DC 0%, #E6F1EA 62%); }
.ap-auto__soleil {
  position: absolute;
  top: 8cqw; right: 26cqw;
  width: 10cqw; height: 10cqw;
  border-radius: 50%;
  background: #F6D27A;
  box-shadow: 0 0 0 3cqw rgba(246, 210, 122, .25);
}
.ap-auto__colline {
  position: absolute;
  bottom: 24%;
  border-radius: 50% 50% 0 0;
}
.ap-auto__colline--1 { left: -10%; width: 70%; height: 30%; background: #8DBC9C; }
.ap-auto__colline--2 { right: -15%; width: 75%; height: 24%; background: #6EA587; }
.ap-auto__route {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 30%;
  background: #3A3F45;
  overflow: hidden;
  border-top: .8cqw solid #C9C1B0;
}
.ap-auto__ligne {
  position: absolute;
  top: 52%;
  left: 0;
  width: 200%;
  height: .9cqw;
  background: repeating-linear-gradient(90deg, #F3EDE2 0 6cqw, transparent 6cqw 11cqw);
  animation: route 0.7s linear infinite;
}
@keyframes route { to { transform: translateX(-11cqw); } }
.ap-auto__voiture {
  position: absolute;
  left: 16cqw;
  bottom: 13%;
  width: 31cqw;
  height: 15cqw;
  animation: suspension 1.4s ease-in-out infinite;
}
@keyframes suspension { 50% { transform: translateY(-.3cqw); } }
.ap-auto__caisse {
  position: absolute;
  left: 0; right: 0; bottom: 2.8cqw;
  height: 6.2cqw;
  border-radius: 2.2cqw 3.2cqw 1.2cqw 1.2cqw;
  background: linear-gradient(#fff 0 55%, #C63D23 55% 68%, #fff 68%);
  box-shadow: inset 0 -1cqw 0 rgba(0, 0, 0, .07);
}
.ap-auto__vitre {
  position: absolute;
  left: 20%; width: 56%;
  bottom: 8.6cqw;
  height: 4.6cqw;
  border-radius: 3cqw 3.4cqw 0 0;
  background: #fff;
}
.ap-auto__vitre::before {
  content: "";
  position: absolute;
  inset: .8cqw 1.2cqw 0;
  border-radius: 2.4cqw 2.8cqw 0 0;
  background: linear-gradient(90deg, #8EC3D3 0 46%, #fff 46% 52%, #8EC3D3 52%);
}
.ap-auto__enseigne {
  position: absolute;
  left: 50%;
  bottom: 13.1cqw;
  transform: translateX(-50%);
  padding: .3cqw 1cqw;
  border-radius: .5cqw;
  background: #C63D23;
  color: #fff;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 1.45cqw;
  letter-spacing: .06em;
  white-space: nowrap;
}
.ap-auto__roue {
  position: absolute;
  bottom: 0;
  width: 6cqw; height: 6cqw;
  border-radius: 50%;
  background: radial-gradient(circle, #C9CDD2 0 26%, #24282D 28%);
  border: .7cqw dashed #4A4F55;
  animation: tourne .6s linear infinite;
}
.ap-auto__roue--ar { left: 12%; }
.ap-auto__roue--av { right: 12%; }
@keyframes tourne { to { transform: rotate(360deg); } }
.ap-auto__feu {
  position: absolute;
  right: 9cqw;
  bottom: 30%;
  width: 5.2cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ap-auto__feu .tete {
  display: grid;
  gap: .8cqw;
  padding: 1cqw;
  border-radius: 1.4cqw;
  background: #1E2226;
}
.ap-auto__feu .tete i { width: 3.2cqw; height: 3.2cqw; border-radius: 50%; background: #3A3F45; }
.ap-auto__feu .tete i.on { background: #4FD18B; box-shadow: 0 0 2cqw #4FD18B; }
.ap-auto__feu .mat { width: 1cqw; height: 9cqw; background: #2A2E33; }
.ap-auto__etat {
  position: absolute;
  right: 15.5cqw;
  bottom: 52%;
  padding: .5cqw 1.1cqw;
  border-radius: .6cqw;
  background: #fff;
  color: #1E5E3F;
  font-family: var(--f-mono);
  font-size: 1.5cqw;
  white-space: nowrap;
  box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, .3);
}
.ap-ui {
  position: absolute;
  border-radius: 1.6cqw;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(25, 28, 32, .45);
}
.ap-auto__carte { top: 5cqw; left: 5cqw; padding: 2cqw 2.4cqw; width: 34cqw; }
.ap-auto__carte small { display: block; font-family: var(--f-mono); font-size: 1.5cqw; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.ap-auto__carte b { display: block; font-size: 2.8cqw; margin: .4cqw 0 1.2cqw; font-family: var(--f-display); }
.ap-auto__carte .barre { display: block; height: 1.2cqw; border-radius: 99px; background: #E8E2D6; overflow: hidden; }
.ap-auto__carte .barre span { display: block; height: 100%; width: 62%; background: #C63D23; border-radius: inherit; }

/* — aperçu 2 : caisse — */
.ap-caisse {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 3cqw;
  padding: 4cqw;
  background: #E9E4DA;
  color: var(--ink);
}
.ap-caisse__ecran {
  display: flex;
  flex-direction: column;
  gap: 2cqw;
  padding: 2.4cqw;
  border-radius: 1.8cqw;
  background: #fff;
  box-shadow: 0 1.5cqw 3cqw -2cqw rgba(25, 28, 32, .5);
}
.ap-caisse__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.7cqw; }
.ap-caisse__top b { font-size: 2.2cqw; }
.ap-caisse__top span { font-family: var(--f-mono); color: var(--ink-3); font-size: 1.4cqw; }
.ap-caisse__grille { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5cqw; }
.tuile {
  display: flex;
  flex-direction: column;
  gap: .6cqw;
  padding: 1.4cqw;
  border-radius: 1.2cqw;
  background: #F5F1EA;
  font-size: 1.5cqw;
  line-height: 1.2;
}
.tuile i { width: 4.2cqw; height: 4.2cqw; border-radius: 1cqw; background: var(--c); }
.tuile b { font-size: 1.55cqw; }
.tuile span { font-family: var(--f-mono); font-size: 1.25cqw; color: var(--ink-3); letter-spacing: .1em; }
.tuile em { margin-top: auto; font-style: normal; font-weight: 600; font-size: 1.55cqw; }
.ap-caisse__ticket {
  position: relative;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.1cqw;
  padding: 2.4cqw 2.2cqw 4cqw;
  background: #fff;
  font-family: var(--f-mono);
  font-size: 1.45cqw;
  transform: rotate(1.5deg);
  box-shadow: 0 1.5cqw 3cqw -2cqw rgba(25, 28, 32, .5);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 2.4cqw 100%;
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 2.4cqw 100%;
}
.ap-caisse__ticket .t-tete { text-align: center; font-weight: 500; padding-bottom: 1cqw; border-bottom: 1px dashed #B9B2A6; }
.ap-caisse__ticket .t-l { display: flex; justify-content: space-between; gap: 1cqw; }
.ap-caisse__ticket .t-total { display: flex; justify-content: space-between; padding-top: 1cqw; border-top: 1px dashed #B9B2A6; font-weight: 500; font-size: 1.7cqw; }
.ap-caisse__ticket .t-code {
  height: 5cqw;
  margin-top: .6cqw;
  background: repeating-linear-gradient(90deg, #191C20 0 .3cqw, transparent .3cqw .55cqw, #191C20 .55cqw .7cqw, transparent .7cqw 1.2cqw, #191C20 1.2cqw 1.6cqw, transparent 1.6cqw 1.85cqw);
}

/* — aperçu 3 : cartouches (interactif) — */
.ap-cart {
  position: relative;
  inset: auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background: #EAF0F3;
  color: var(--ink);
}
.ap-cart .ap-cart__titre {
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--f-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.ap-cart__titre span {
  font-family: var(--f-mono);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ap-cart__champs { display: grid; grid-template-columns: 1fr 1.4fr; gap: .7rem; }
.ap-cart__champs label {
  display: grid;
  gap: .3rem;
  font-family: var(--f-mono);
  font-size: .7rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.ap-cart select {
  width: 100%;
  padding: .65rem 2rem .65rem .8rem;
  border: 1.5px solid var(--ink);
  border-radius: 8px;
  background: #fff 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='%23191C20' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .8rem center / 11px;
  font-family: var(--f-text);
  font-size: .95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.ap-cart__res { display: grid; gap: .45rem; }
.ap-cart__res li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .55rem .8rem;
  border-radius: 8px;
  background: #fff;
  font-size: .93rem;
  animation: apparait .45s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 60ms);
}
.ap-cart__res li i {
  flex: none;
  width: 14px; height: 14px;
  border-radius: 3px;
  background: var(--c, #191C20);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15);
}
.ap-cart__res li em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--f-mono);
  font-size: .7rem;
  color: #1E6B47;
}
@keyframes apparait { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 420px) { .ap-cart__champs { grid-template-columns: 1fr; } }

/* — aperçu 4 : cahier journal — */
.ap-cahier { background: linear-gradient(135deg, #DCE5F2, #EEF1F6); }
.ap-cahier__page {
  position: absolute;
  left: 9cqw; top: 7cqw;
  width: 56cqw;
  height: 120%;
  padding: 3cqw 3.2cqw;
  background: #fff;
  color: var(--ink);
  transform: rotate(-2.5deg);
  box-shadow: 0 2cqw 4cqw -2cqw rgba(25, 28, 32, .45);
}
.ap-cahier__entete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 1.2cqw;
  margin-bottom: 1.4cqw;
  border-bottom: .35cqw solid #2B579A;
}
.ap-cahier__entete b { font-family: var(--f-display); font-size: 2.8cqw; }
.ap-cahier__entete span { font-family: var(--f-mono); font-size: 1.4cqw; color: var(--ink-3); }
.ap-cahier .ligne {
  display: grid;
  grid-template-columns: 9cqw 1fr;
  gap: 1.4cqw;
  padding: 1.15cqw 0;
  border-bottom: 1px solid #E3E6EC;
  font-size: 1.6cqw;
}
.ap-cahier .ligne span:first-child { font-family: var(--f-mono); color: #2B579A; }
.ap-cahier .ligne .sk-line { height: .9cqw; margin-top: .9cqw; background: #C7CDD8; opacity: 1; }
.ap-cahier__badge {
  position: absolute;
  right: 5cqw; bottom: 8cqw;
  display: flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 2cqw;
  max-width: 34cqw;
  font-size: 1.7cqw;
  line-height: 1.25;
  font-weight: 600;
}
.ap-cahier__badge .w {
  flex: none;
  width: 5.4cqw; height: 5.4cqw;
  display: grid;
  place-items: center;
  border-radius: 1cqw;
  background: #2B579A;
  color: #fff;
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 3cqw;
}
.ap-cahier__ia {
  position: absolute;
  right: 8cqw; top: 9cqw;
  display: flex;
  align-items: center;
  gap: .8cqw;
  padding: 1cqw 1.8cqw;
  border-radius: 99px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 1.5cqw;
  letter-spacing: .04em;
}
.ap-cahier__ia svg { width: 2.2cqw; height: 2.2cqw; color: var(--tape); }

/* ---------- Méthode ---------- */
.etapes {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.6rem);
  padding-top: 3.8rem;
}
.etapes::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 26px;
  border: 1.5px solid var(--ink);
  background-color: var(--tape);
  background-image:
    repeating-linear-gradient(90deg, rgba(25, 28, 32, .7) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 80px);
  background-size: 100% 8px, 100% 14px;
  background-repeat: no-repeat;
  border-radius: 2px;
}
.etape { position: relative; }
.etape::before {
  content: "";
  position: absolute;
  top: calc(-3.8rem + 4px);
  left: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--chalk);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 4px var(--paper);
}
.etape__num {
  display: block;
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--chalk-ink);
  margin-bottom: .6rem;
}
.etape h3 { font-size: clamp(1.55rem, 1.25rem + .8vw, 2rem); margin-bottom: .7rem; }
.etape p { color: var(--ink-2); font-size: .98rem; }

@media (max-width: 920px) {
  .etapes { grid-template-columns: 1fr; padding-top: 0; padding-left: 3.4rem; gap: 2.2rem; }
  .etapes::before {
    top: 0; bottom: 0; left: 0; right: auto;
    width: 26px; height: auto;
    background-image:
      repeating-linear-gradient(180deg, rgba(25, 28, 32, .7) 0 1px, transparent 1px 8px),
      repeating-linear-gradient(180deg, var(--ink) 0 1.5px, transparent 1.5px 80px);
    background-size: 8px 100%, 14px 100%;
  }
  .etape::before { top: .3rem; left: calc(-3.4rem + 4px); }
}

/* ligne de coupe avec ciseaux */
.coupe {
  position: relative;
  height: 0;
  border-top: 1.5px dashed var(--ink-3);
  margin-block: 0;
}
.coupe svg {
  position: absolute;
  top: -13px;
  left: 0;
  width: 26px; height: 26px;
  color: var(--ink);
  background: var(--paper);
  transition: left 2.6s var(--ease);
}
.coupe.is-in svg { left: calc(100% - 26px); }

/* ---------- L'atelier ---------- */
.atelier-sec__in {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
@media (max-width: 960px) { .atelier-sec__in { grid-template-columns: 1fr; } }

.atelier-sec h2 { font-size: clamp(2.2rem, 1.35rem + 3vw, 4rem); margin-bottom: 1.8rem; }
.atelier-sec .texte p { color: var(--ink-2); margin-bottom: 1.1rem; max-width: 34em; }
.atelier-sec .texte p strong { color: var(--ink); }
.signature {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.signature__mono {
  width: 58px; height: 58px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.5rem;
  background: var(--paper-2);
}
.signature b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.signature small { display: block; font-family: var(--f-mono); font-size: .75rem; color: var(--ink-3); letter-spacing: .04em; }

.atelier-sec .veille {
  max-width: 34em;
  margin-top: 1.6rem;
  padding: 1.1rem 1.3rem 1.25rem;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 20px 34px -26px rgba(25, 28, 32, .8);
}
.atelier-sec .veille .veille__tete {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .6rem;
  font-family: var(--f-mono);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #8BE3B8;
}
.veille__led {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4FBF8B;
  animation: led 2.2s ease-out infinite;
}
@keyframes led {
  0% { box-shadow: 0 0 0 0 rgba(79, 191, 139, .6); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(79, 191, 139, 0); }
}
.veille li {
  position: relative;
  padding-left: 1.7rem;
  margin-top: .4rem;
  font-size: .96rem;
  color: rgba(243, 237, 226, .9);
}
.veille li::before {
  content: "";
  position: absolute;
  left: .15rem; top: .42em;
  width: .75rem; height: .4rem;
  border-left: 2px solid #4FBF8B;
  border-bottom: 2px solid #4FBF8B;
  transform: rotate(-45deg);
}

.raisons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}
.raison {
  padding: 1.5rem 1.4rem 1.6rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: rgba(255, 255, 255, .25);
  transition: background-color .3s;
}
.raison:hover { background: rgba(255, 255, 255, .6); }
.raison__n { font-family: var(--f-mono); font-size: .72rem; color: var(--chalk-ink); letter-spacing: .08em; }
.raison h3 { font-size: 1.35rem; margin: .45rem 0 .5rem; }
.raison p { font-size: .95rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 560px) { .raisons { grid-template-columns: 1fr; } }

/* étiquette « Fabriqué à Mayotte » : mesures réelles de la page */
.etiquette {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.8rem 2rem;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 20px 40px -30px rgba(25, 28, 32, .6);
}
.etiquette::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(25, 28, 32, .35);
  border-radius: 3px;
  pointer-events: none;
}
.etiquette__marque {
  text-align: center;
  padding-right: 2.5rem;
  border-right: 1px dashed rgba(25, 28, 32, .35);
}
.etiquette__ile {
  display: block;
  width: 54px;
  height: auto;
  margin: 0 auto .7rem;
  color: var(--ink);
  stroke-width: .9px;
  overflow: visible;
}
.etiquette__marque b { display: block; font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; line-height: 1; }
.etiquette__marque span { display: block; margin-top: .45rem; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--chalk-ink); }
.etiquette__mesures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.mesure dt { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.mesure dd { margin: .2rem 0 0; font-family: var(--f-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.1; }
.etiquette__legende { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-3); }
@media (max-width: 760px) {
  .etiquette { grid-template-columns: 1fr; }
  .etiquette__marque { padding: 0 0 1.2rem; border-right: 0; border-bottom: 1px dashed rgba(25, 28, 32, .35); }
  .etiquette__mesures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Bandeau informatique ---------- */
.info {
  color: var(--paper);
  background-color: var(--lagon);
  background-image:
    radial-gradient(ellipse at 85% 20%, rgba(255, 255, 255, .12), transparent 55%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.info__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem 4rem;
  align-items: center;
}
@media (max-width: 900px) { .info__in { grid-template-columns: 1fr; } }
.info .kicker { color: #FFD9A0; }
.info h2 { font-size: clamp(2rem, 1.3rem + 2.4vw, 3.3rem); }
.info h2 em { color: #FFD9A0; }
.info p { margin-top: 1rem; color: rgba(243, 237, 226, .85); max-width: 32em; }
.info__liste { display: flex; flex-wrap: wrap; gap: .6rem; }
.info__liste li {
  padding: .55rem 1rem;
  border: 1px solid rgba(243, 237, 226, .4);
  border-radius: 99px;
  font-size: .96rem;
  background: rgba(0, 0, 0, .08);
}
.info .btn { margin-top: 1.6rem; border-color: var(--paper); color: var(--paper); }
.info .btn:hover { background: var(--paper); color: var(--lagon); }

/* ---------- Contact ---------- */
.contact__in {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
@media (max-width: 960px) { .contact__in { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); line-height: .98; }
.contact .intro { margin-top: 1.5rem; color: var(--ink-2); max-width: 28em; }

.coord { margin-top: 2.4rem; border-top: 1.5px solid var(--ink); }
.coord li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(25, 28, 32, .3);
}
.coord span { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.coord a, .coord b {
  font-family: var(--f-display);
  font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.coord a:hover { color: var(--chalk); text-decoration: underline dashed 1px; text-underline-offset: 6px; }

.brief {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper-2);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
}
.brief::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(25, 28, 32, .32);
  border-radius: 2px;
  pointer-events: none;
}
.brief__titre { font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; margin-bottom: .3rem; }
.brief__sous { color: var(--ink-3); font-size: .95rem; margin-bottom: 1.4rem; }
.champ { position: relative; display: grid; gap: .3rem; margin-bottom: 1.2rem; }
.champ label, .champ legend {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.champ input, .champ textarea {
  width: 100%;
  padding: .7rem .1rem;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  background: transparent;
  font-size: 1.05rem;
  border-radius: 0;
}
.champ textarea { min-height: 7rem; resize: vertical; line-height: 1.5; }
.champ input:focus, .champ textarea:focus { outline: none; border-bottom-color: var(--chalk); box-shadow: 0 1.5px 0 var(--chalk); }
.champ--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 560px) { .champ--duo { grid-template-columns: 1fr; } }
.champ-types { margin: 0 0 1.2rem; }
.champ-types legend {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: .6rem;
}
.brief .chip span { font-size: .88rem; padding: .45rem .85rem; }
.brief__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.btn--wa { background: #1E8E54; color: #fff; }
.btn--wa:hover { background: #17723F; }
.btn--mail { background: var(--ink); color: var(--paper); }
.btn--mail:hover { background: #000; }
.brief__note { margin-top: 1.1rem; font-size: .85rem; color: var(--ink-3); }
.brief__erreur { min-height: 1.4em; margin-top: .8rem; font-size: .92rem; color: var(--chalk-ink); font-weight: 600; }

/* ---------- Pied de page ---------- */
.pied {
  color: rgba(243, 237, 226, .8);
  background: var(--ink);
  padding-block: 3.5rem 2.2rem;
  font-size: .95rem;
}
.pied__in {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem 3rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px dashed rgba(243, 237, 226, .22);
}
@media (max-width: 760px) { .pied__in { grid-template-columns: 1fr; } }
.pied .logo__mot { color: var(--paper); font-size: 1.9rem; }
.pied .logo__mot i { color: var(--chalk-light); }
.pied p { margin-top: .8rem; max-width: 26em; }
.pied h4 {
  font-family: var(--f-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243, 237, 226, .5);
  margin-bottom: .8rem;
}
.pied li { margin-bottom: .4rem; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--chalk-light); text-decoration: underline dashed 1px; text-underline-offset: 5px; }
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .6rem 2rem;
  padding-top: 1.6rem;
  font-family: var(--f-mono);
  font-size: .74rem;
  color: rgba(243, 237, 226, .55);
}

/* ---------- Page secondaire (mentions légales, 404) ---------- */
.page { padding-block: clamp(3rem, 7vw, 6rem); }
.page h1 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); margin-bottom: 2.4rem; }
.page h2 { font-size: 1.6rem; margin: 2.4rem 0 .8rem; }
.page p, .page li { color: var(--ink-2); max-width: 44em; margin-bottom: .7rem; }
.page ul { list-style: none; }
.page a { color: var(--chalk-ink); }
.page dl { display: grid; grid-template-columns: 13rem minmax(0, 1fr); gap: .5rem 1.5rem; max-width: 50em; }
.page dt { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding-top: .2rem; }
.page dd { margin: 0; }
@media (max-width: 640px) { .page dl { grid-template-columns: 1fr; } .page dd { margin-bottom: .6rem; } }

.introuvable { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.introuvable h1 { font-size: clamp(5rem, 3rem + 10vw, 11rem); margin-bottom: .5rem; }
.introuvable h1 em { color: var(--chalk); }
.introuvable p { margin: 0 auto 2rem; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js [data-reveal], .js .hero [data-in] { opacity: 1; transform: none; }
  .ruban__piste { animation: none; }
}

/* ---------- Impression ---------- */
@media print {
  body { background: #fff; }
  body::after, .site-header, .ruban, .mock__range, .brief__actions { display: none !important; }
  .sombre, .info, .pied { background: #fff !important; color: #000 !important; }
}
