/* =========================================================
   KayTecs — l'atelier du tailleur digital
   Pièces de tissu cousues, mètre ruban, étiquettes, bords crantés.
   ========================================================= */
:root {
  color-scheme: light;
  /* étoffes */
  --lin: #eeebe2;          /* fond : lin brut */
  --lin-2: #f7f5ef;        /* lin clair */
  --encre: #0e1330;        /* indigo très sombre, texte */
  --encre-2: #3a3f58;      /* texte secondaire */
  --encre-3: #5d6178;      /* texte discret (≥4.5:1 sur lin) */
  --indigo: #24309a;
  --ocre: #e0a33a;
  --ocre-ink: #8a5a06;     /* ocre lisible en texte sur clair */
  --foret: #0e5b4f;
  --terre: #b4472a;
  --sable: #e6d3a6;
  --ruban: #f0c25a;        /* mètre ruban */
  --wa: #25d366;

  --ff: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wide: 116%;
  --cond: 78%;

  --max: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --tape-h: 18px;
  --shadow: 0 2px 6px rgba(14, 19, 48, .08), 0 30px 60px -28px rgba(14, 19, 48, .55);
}

/* tons de tissu : chaque pièce choisit son étoffe */
[data-tone] { --pc: var(--lin-2); --pi: var(--encre); --pi-2: var(--encre-2); --thread: rgba(14, 19, 48, .35); }
[data-tone="indigo"] { --pc: var(--indigo); --pi: #fff; --pi-2: #d6d9f5; --thread: rgba(255, 255, 255, .45); }
[data-tone="ocre"]   { --pc: var(--ocre); --pi: var(--encre); --pi-2: #2c2410; --thread: rgba(14, 19, 48, .45); }
[data-tone="foret"]  { --pc: var(--foret); --pi: #fff; --pi-2: #cfe6df; --thread: rgba(255, 255, 255, .42); }
[data-tone="terre"]  { --pc: var(--terre); --pi: #fff; --pi-2: #fbe1d7; --thread: rgba(255, 255, 255, .45); }
[data-tone="encre"]  { --pc: var(--encre); --pi: #f3efe4; --pi-2: #bfc2d4; --thread: rgba(240, 194, 90, .45); }
[data-tone="sable"]  { --pc: var(--sable); --pi: var(--encre); --pi-2: #3b3420; --thread: rgba(14, 19, 48, .4); }
[data-tone="lin"]    { --pc: var(--lin-2); --pi: var(--encre); --pi-2: var(--encre-2); --thread: rgba(14, 19, 48, .32); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; scrollbar-color: var(--encre) var(--lin); scrollbar-width: thin; }
body {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  background: var(--lin);
  color: var(--encre);
  font: 400 17px/1.6 var(--ff);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
main { overflow-x: clip; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ocre); color: var(--encre); }
:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; border-radius: 4px; }
.section-ink :focus-visible, .contact :focus-visible, .patch:not([data-tone="lin"]):not([data-tone="sable"]):not([data-tone="ocre"]) :focus-visible { outline-color: var(--ocre); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--lin); }
::-webkit-scrollbar-thumb { background: var(--encre); border-radius: 10px; border: 3px solid var(--lin); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 28px; background: var(--encre); color: var(--lin); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- pièce de tissu cousue ---------- */
.patch { background: var(--pc); color: var(--pi); border-radius: 10px; position: relative; isolation: isolate; transition: background-color .7s var(--ease), color .7s var(--ease); }
.patch::before {
  content: ""; position: absolute; inset: 9px; z-index: -1;
  border: 1.5px dashed var(--thread); border-radius: 5px; pointer-events: none;
}

/* ---------- mètre ruban (progression) ---------- */
.tape {
  position: fixed; inset: 0 0 auto 0; height: var(--tape-h); z-index: 70; overflow: hidden;
  background: var(--ruban); border-bottom: 1px solid rgba(14, 19, 48, .25);
}
.tape-track {
  position: absolute; inset: 0 auto 0 0; width: 100%;
  background-image:
    linear-gradient(90deg, var(--encre) 1px, transparent 1px),
    linear-gradient(90deg, var(--encre) 1px, transparent 1px),
    linear-gradient(90deg, var(--encre) 1.5px, transparent 1.5px);
  background-size: 10px 4px, 50px 7px, 100px 11px;
  background-repeat: repeat-x;
  will-change: transform;
}
.tape-track span {
  position: absolute; top: 4px; transform: translateX(4px);
  font: 700 9.5px/1 var(--ff); font-stretch: var(--cond); color: var(--encre); letter-spacing: .02em;
}

/* ---------- navigation ---------- */
.nav {
  position: fixed; top: var(--tape-h); left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 12px var(--gutter);
  transition: background-color .3s, box-shadow .3s;
}
.nav.scrolled { background: rgba(238, 235, 226, .9); backdrop-filter: blur(12px) saturate(140%); -webkit-backdrop-filter: blur(12px) saturate(140%); box-shadow: 0 1px 0 rgba(14, 19, 48, .1); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-weight: 800; font-stretch: var(--wide); font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 8px 13px; border-radius: 999px; font-size: 15px; font-weight: 500; color: var(--encre-2); transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--encre); background: rgba(14, 19, 48, .07); }
.nav-links .nav-cta { margin-left: 10px; background: var(--encre); color: var(--lin); font-weight: 600; }
.nav-links .nav-cta:hover, .nav-links .nav-cta.active { background: var(--ocre); color: var(--encre); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1.5px solid var(--encre); background: transparent; border-radius: 12px; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--encre); transition: transform .3s var(--ease); }
.nav-toggle span:first-child { top: 16px; } .nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0;
  font: 600 15.5px/1 var(--ff); cursor: pointer;
  transition: transform .3s var(--ease), background-color .2s, color .2s, border-color .2s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--encre); color: var(--lin); box-shadow: 0 14px 28px -16px rgba(14, 19, 48, .9); }
.btn-primary:hover { background: var(--indigo); }
.btn-ghost { border: 1.5px solid var(--encre); color: var(--encre); }
.btn-ghost:hover { background: var(--encre); color: var(--lin); }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-wa svg { width: 20px; height: 20px; stroke-width: 1.7; }
.btn-wa:hover { background: #fff; }
.btn-line { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; }
.btn-line:hover { background: #fff; color: var(--indigo); border-color: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.visit {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  border: 1.5px solid currentColor; font-weight: 600; font-size: 14.5px; transition: background-color .2s, color .2s;
}
.visit svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.visit:hover { background: var(--encre); color: var(--lin); border-color: var(--encre); }
.visit:hover svg { transform: translate(2px, -2px); }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center;
  min-height: min(100svh, 960px);
  padding-top: calc(var(--tape-h) + 112px); padding-bottom: 72px;
}
.hero-title {
  font-weight: 800; font-stretch: var(--wide);
  font-size: clamp(44px, 6vw, 92px); line-height: .96; letter-spacing: -.03em;
}
.cut {
  color: var(--encre); padding: 0 .14em; margin-left: -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background:
    linear-gradient(90deg, rgba(14, 19, 48, .55) 55%, transparent 0) 0 .1em / 12px 1.5px repeat-x,
    linear-gradient(90deg, rgba(14, 19, 48, .55) 55%, transparent 0) 0 calc(100% - .1em) / 12px 1.5px repeat-x,
    var(--ocre);
}
.hero-lede { margin-top: 28px; max-width: 34em; font-size: clamp(17px, 1.35vw, 19.5px); color: var(--encre-2); }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 0; font-size: 14.5px; color: var(--encre-2); }
.hero-proof li { padding: 0 18px; border-left: 1.5px dashed rgba(14, 19, 48, .3); }
.hero-proof li:first-child { padding-left: 0; border-left: 0; }
.hero-proof b { font-weight: 800; font-stretch: var(--wide); color: var(--encre); font-size: 22px; margin-right: 4px; letter-spacing: -.02em; }

.hero-visual { position: relative; padding-top: 34px; }
.board { padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(40px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.hang-hero { position: absolute; top: -34px; right: clamp(20px, 4vw, 48px); z-index: 4; }
.hang-hero .hang-tag { min-width: 168px; padding: 24px 18px 14px; text-align: left; display: grid; gap: 2px; }
.hang-name { font-weight: 800; font-stretch: var(--wide); font-size: 20px; line-height: 1.1; letter-spacing: -.02em; }
.hang-cat { font-size: 12px; font-weight: 700; font-stretch: var(--cond); text-transform: uppercase; letter-spacing: .08em; color: var(--pi-2); }
.hang-hero.swing { animation: swing 1.4s var(--ease); }

.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.swatch {
  all: unset; box-sizing: border-box; cursor: pointer; position: relative;
  min-height: 70px; padding: 12px 10px 18px; display: flex; align-items: flex-end;
  background: var(--pc); color: var(--pi); border-radius: 6px 6px 0 0;
  font: 700 12px/1.15 var(--ff); font-stretch: 70%; text-transform: uppercase; letter-spacing: .03em;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 10px 100%;
  transition: transform .45s var(--ease), filter .3s;
  white-space: nowrap;
}
.swatch::after { content: ""; position: absolute; left: 10px; right: 10px; top: 9px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; opacity: .8; }
@media (hover: hover) { .swatch:hover { transform: translateY(-4px); } }
.swatch[aria-selected="true"] { transform: translateY(-9px); }
.swatch[aria-selected="true"]::after { transform: scaleX(1); }
.js .swatch[aria-selected="true"].timing::after { transform: scaleX(0); animation: thread var(--slide, 6s) linear forwards; }
.swatch:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; -webkit-mask: none; mask: none; }
@keyframes thread { to { transform: scaleX(1); } }

/* ---------- étiquette suspendue ---------- */
.hang { display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.hang-string { position: relative; width: 1.5px; height: 34px; background: var(--encre); flex: none; }
.hang-string::before { content: ""; position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--encre); transform: translateX(-50%); }
.hang-tag {
  position: relative; display: block; isolation: isolate;
  background: var(--pc); color: var(--pi);
  clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px);
  margin-top: -6px;
  filter: drop-shadow(0 18px 24px rgba(14, 19, 48, .22));
}
.hang-tag::before { content: ""; position: absolute; top: 8px; left: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--lin); box-shadow: inset 0 0 0 2px rgba(14, 19, 48, .25); transform: translateX(-50%); }
.hang-tag::after { content: ""; position: absolute; inset: 26px 8px 8px; border: 1.5px dashed var(--thread); border-radius: 3px; pointer-events: none; z-index: -1; }
@keyframes swing { 0% { transform: rotate(0); } 18% { transform: rotate(5deg); } 40% { transform: rotate(-3.5deg); } 62% { transform: rotate(2deg); } 82% { transform: rotate(-.8deg); } 100% { transform: rotate(0); } }

/* ---------- navigateur / téléphone ---------- */
.showcase { position: relative; padding: 0 9% 8% 0; }
.browser {
  display: block; position: relative; z-index: 1;
  background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform .5s var(--ease);
}
@media (hover: hover) { a.browser:hover { transform: translateY(-4px); } }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f6f4ee; border-bottom: 1px solid rgba(14, 19, 48, .08); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; flex: none; background: #ff6159; }
.browser-bar i:nth-child(2) { background: #ffbd2e; } .browser-bar i:nth-child(3) { background: #28c941; }
.url { flex: 1; margin: 0 8% 0 10px; height: 21px; border-radius: 6px; background: var(--lin); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 500; color: var(--encre-2); white-space: nowrap; overflow: hidden; }
.screen { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--lin); }
.scroll-shot { position: absolute; top: 0; left: 0; width: 100%; height: auto; will-change: transform; }
.js .scroll-shot.ready { animation: scrollshot var(--dur, 16s) ease-in-out var(--delay, 0s) infinite; animation-play-state: paused; }
.js .playing .scroll-shot.ready { animation-play-state: running; }
@media (hover: hover) { .js .showcase:hover .scroll-shot.ready { animation-play-state: paused; } }
@keyframes scrollshot { 0%, 8% { transform: translateY(0); } 46%, 54% { transform: translateY(calc(-1 * var(--dist, 0px))); } 92%, 100% { transform: translateY(0); } }
.phone {
  position: absolute; right: 0; bottom: 0; width: 25%; z-index: 2;
  padding: 6px; border-radius: 28px; background: var(--encre);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; width: 28%; height: 7px; border-radius: 6px; background: var(--encre); transform: translateX(-50%); z-index: 2; }
.phone .screen { aspect-ratio: 9 / 19; border-radius: 22px; background: #fff; }

/* hero : diaporama */
.hero-shot { position: absolute; top: 0; left: 0; width: 100%; height: auto; opacity: 0; transition: opacity .7s var(--ease); will-change: transform, opacity; }
.hero-shot.is-active { opacity: 1; }
.js .hero-shot.is-active.panning { animation: heropan var(--slide, 6s) cubic-bezier(.45, .05, .35, 1) forwards; }
@keyframes heropan { 0%, 14% { transform: translateY(0); } 100% { transform: translateY(calc(-1 * var(--pan, 0px))); } }

/* ---------- galon défilant ---------- */
.ribbon {
  position: relative; margin: 8px -2vw 0; transform: rotate(-1.4deg);
  background: var(--terre); color: #fff; padding: 15px 0; overflow: hidden;
  box-shadow: 0 18px 30px -24px rgba(14, 19, 48, .7);
}
.ribbon::before, .ribbon::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: linear-gradient(90deg, rgba(255, 255, 255, .6) 55%, transparent 0) 0 0 / 12px 1.5px repeat-x; }
.ribbon::before { top: 6px; } .ribbon::after { bottom: 6px; }
.ribbon-track { display: flex; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon-track span { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-weight: 700; font-stretch: var(--cond); font-size: 17px; text-transform: uppercase; letter-spacing: .1em; }
.ribbon-track span::after { content: ""; width: 7px; height: 7px; background: var(--ocre); transform: rotate(45deg); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding-top: clamp(96px, 12vw, 168px); padding-bottom: clamp(48px, 6vw, 80px); }
.section-head { max-width: 860px; margin-bottom: clamp(44px, 6vw, 76px); }
.section-head h2 { font-weight: 800; font-stretch: var(--wide); font-size: clamp(34px, 4.6vw, 66px); line-height: 1.02; letter-spacing: -.03em; }
.section-head h2 .soft { color: var(--encre-3); }
.section-lede { margin-top: 22px; max-width: 40em; font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--encre-2); }

/* bord cranté (ciseaux à cranter) en haut des sections pleines */
.section-ink, .section-sable, .contact { position: relative; }
.section-ink::before, .section-sable::before, .contact::before {
  content: ""; position: absolute; left: 0; right: 0; top: -9px; height: 10px;
  background: conic-gradient(from 135deg at 50% 0, var(--zc) 0 90deg, transparent 90deg) 0 100% / 18px 10px repeat-x;
}

/* ---------- produits ---------- */
.products { display: grid; gap: clamp(88px, 11vw, 150px); }
.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 88px); align-items: center; }
.product:nth-child(even) .product-media { order: 2; }
.product-media { padding: clamp(28px, 3.6vw, 48px) clamp(20px, 3vw, 40px) clamp(28px, 3.6vw, 48px); }
.product:nth-child(odd) .product-media { transform: rotate(-.6deg); }
.product:nth-child(even) .product-media { transform: rotate(.6deg); }
.product-info { display: flex; flex-direction: column; gap: 18px; }
.product h3, .client h3, .lab h3 { font-weight: 800; font-stretch: var(--wide); font-size: clamp(34px, 3.8vw, 54px); line-height: 1; letter-spacing: -.03em; }
.product h3 span, .client h3 span, .lab h3 span { display: block; margin-top: 10px; font-size: .4em; font-weight: 500; font-style: italic; font-stretch: 100%; letter-spacing: 0; color: var(--encre-3); }
.product-info > p { color: var(--encre-2); font-size: 17px; max-width: 36em; }
.facts { display: grid; gap: 9px; }
.facts li { position: relative; padding-left: 26px; color: var(--encre-2); font-size: 15.5px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 2px; background: linear-gradient(90deg, var(--terre) 0 5px, transparent 5px 9px, var(--terre) 9px); }
.facts strong { font-weight: 800; color: var(--encre); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1.5px dashed rgba(14, 19, 48, .2); }
.stamp {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 4px;
  border: 1.5px solid var(--foret); color: var(--foret); transform: rotate(-2deg);
  font-weight: 700; font-stretch: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: .07em;
}
.stamp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 0 rgba(43, 182, 115, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(43, 182, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); } }

/* Waxal : carte audio */
.showcase-audio { padding-bottom: 14%; }
.audio-card {
  position: absolute; left: -3%; bottom: 0; width: 46%; z-index: 3;
  background: var(--encre); color: #f3efe4; border-radius: 12px; padding: 13px 15px 15px;
  box-shadow: var(--shadow); display: grid; gap: 9px; font-size: 11.5px;
}
.audio-top { display: flex; align-items: center; gap: 8px; color: #d8d6cc; font-weight: 500; }
.audio-top span:nth-child(2) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio-top .dim { color: #9a9db3; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.rec { background: #ff4d4d; animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.wave { display: flex; align-items: center; justify-content: center; gap: 3px; height: 46px; overflow: hidden; }
.wave i { flex: 0 1 4px; min-width: 2px; border-radius: 4px; background: var(--ocre); height: calc(var(--h) * 1%); animation: bar 1.6s ease-in-out infinite; animation-delay: var(--d); }
@keyframes bar { 0%, 100% { transform: scaleY(.35); } 50% { transform: scaleY(1); } }
.audio-tr { line-height: 1.45; color: #e3e1d8; background: rgba(255, 255, 255, .06); border-radius: 8px; padding: 6px 9px; }
.audio-tr span { display: inline-block; min-width: 22px; color: var(--ocre); font-weight: 700; text-transform: uppercase; }
.audio-chips { display: flex; flex-wrap: wrap; gap: 5px; font-size: 10.5px; }
.audio-chips span { padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); }
.audio-chips .c-ocre { color: var(--ocre); border-color: rgba(224, 163, 58, .5); }
.audio-chips .c-terre { color: #ff9a7a; border-color: rgba(255, 154, 122, .5); }

/* ---------- services (fond encre) ---------- */
.section-ink { --zc: var(--encre); background: var(--encre); color: #f3efe4; margin-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(96px, 12vw, 160px); }
.section-ink .section-head h2 { color: #fff; }
.section-ink .section-lede { color: #c5c8d8; }
.quilt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 6px; }
.piece { padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 12px; min-height: 290px; border-radius: 4px; }
.piece[data-size="wide"] { grid-column: span 2; }
.piece-ico { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.piece h3 { font-weight: 800; font-stretch: 108%; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -.02em; }
.piece p { color: var(--pi-2); font-size: 15.5px; max-width: 34em; }
.piece .piece-proof { max-width: none; margin-top: auto; padding-top: 14px; border-top: 1.5px dashed var(--thread); color: var(--pi); font-weight: 700; font-stretch: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.for-who { margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: start; }
.for-who-title { font-weight: 800; font-stretch: var(--wide); font-size: 24px; color: var(--ocre); }
.for-who ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.for-who li { padding-top: 14px; border-top: 1.5px dashed rgba(240, 194, 90, .45); color: #c5c8d8; font-size: 15px; }
.for-who b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.client { display: flex; flex-direction: column; gap: 22px; }
.client-media { padding: 26px 22px 26px 22px; }
.client .showcase { padding: 0 10% 10% 0; }
.client .browser-bar { height: 26px; }
.client .url { height: 17px; font-size: 10px; }
.client .phone { width: 27%; border-radius: 20px; padding: 4px; }
.client .phone .screen { border-radius: 16px; }
.client .phone::before { top: 8px; height: 5px; }
.client-body { display: grid; gap: 12px; justify-items: start; padding-inline: 4px; }
.client h3 { font-size: clamp(26px, 2.4vw, 32px); }
.client h3 span { font-size: .52em; margin-top: 6px; }
.client p { color: var(--encre-2); font-size: 15.5px; }
.client:nth-child(2) { margin-top: 48px; }

.fleet { background: #fff; color: var(--encre); border-radius: 10px; padding: 16px; display: grid; gap: 8px; box-shadow: var(--shadow); aspect-ratio: 16 / 12.6; align-content: start; }
.fleet-head { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--encre-2); margin-bottom: 4px; }
.fleet-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: var(--lin-2); font-size: 13px; }
.plate { font-size: 11px; font-weight: 700; font-stretch: var(--cond); padding: 2px 6px; border: 1px solid rgba(14, 19, 48, .25); border-radius: 4px; background: #fff; letter-spacing: .04em; }
.drv { color: var(--encre-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.chip.ok { background: rgba(14, 91, 79, .12); color: var(--foret); }
.chip.warn { background: rgba(224, 163, 58, .22); color: var(--ocre-ink); }
.chip.bad { background: rgba(180, 71, 42, .14); color: var(--terre); }
.fleet .fleet-note { font-size: 11px; color: var(--encre-3); text-align: right; margin-top: auto; }

/* KAYIA */
.lab { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(28px, 4.5vw, 56px); }
.lab-text { display: grid; gap: 16px; }
.lab h3 { color: #fff; }
.lab h3 span { color: var(--pi-2); }
.lab p { color: var(--pi-2); }
.lab .lab-quote { font-size: clamp(21px, 2.2vw, 27px); font-style: italic; font-weight: 600; color: var(--ocre); line-height: 1.25; }
.lab-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 4px; }
.lab-facts li { padding: 12px 14px; border: 1.5px dashed rgba(240, 194, 90, .4); border-radius: 6px; display: grid; gap: 2px; }
.lab-facts b { font-weight: 800; font-stretch: var(--wide); font-size: 22px; color: #fff; }
.lab-facts span { font-size: 12.5px; color: var(--pi-2); }
.video-wrap { position: relative; border-radius: 10px; overflow: hidden; background: #1b2142; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.video-wrap video { width: 100%; height: auto; aspect-ratio: 16 / 9; background: #1b2142; }
.video-label { position: absolute; left: 14px; top: 14px; padding: 6px 12px; border-radius: 999px; background: var(--ocre); color: var(--encre); font-size: 12.5px; font-weight: 700; pointer-events: none; transition: opacity .3s; }
.video-wrap.is-playing .video-label { opacity: 0; }

/* ---------- méthode ---------- */
.section-sable { --zc: var(--sable); background: var(--sable); margin-top: clamp(80px, 10vw, 140px); padding-bottom: clamp(96px, 12vw, 150px); }
.section-sable .section-lede { color: #3b3420; }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 28px); padding-top: 54px; }
.steps::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px; border-radius: 3px;
  background-color: var(--ruban);
  background-image:
    linear-gradient(90deg, var(--encre) 1px, transparent 1px),
    linear-gradient(90deg, var(--encre) 1px, transparent 1px),
    linear-gradient(90deg, var(--encre) 1.5px, transparent 1.5px);
  background-size: 10px 5px, 50px 8px, 100px 12px; background-repeat: repeat-x;
  box-shadow: 0 10px 18px -12px rgba(14, 19, 48, .5);
}
.step { position: relative; display: grid; gap: 8px; align-content: start; }
.step::before { content: ""; position: absolute; top: -40px; left: 0; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-top: 12px solid var(--terre); }
.step-n { font-weight: 800; font-stretch: var(--wide); font-size: 15px; color: var(--terre); }
.step h3 { font-weight: 800; font-stretch: 108%; font-size: clamp(21px, 1.9vw, 26px); line-height: 1.1; letter-spacing: -.02em; }
.step-sub { font-weight: 700; font-stretch: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #5b4a1c; }
.step p:last-child { color: #3b3420; font-size: 15.5px; }

/* ---------- tarifs : étiquettes sur la tringle ---------- */
.tags { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); padding-top: 22px; }
.tags::before { content: ""; position: absolute; top: 0; left: -1%; right: -1%; height: 6px; border-radius: 6px; background: var(--encre); box-shadow: 0 6px 10px -4px rgba(14, 19, 48, .4); }
.tags .hang { align-items: stretch; }
.tags .hang-string { align-self: center; height: 40px; }
.tags .hang:nth-child(2) .hang-string { height: 58px; }
.tags .hang:nth-child(3) .hang-string { height: 30px; }
.tags .hang:nth-child(4) .hang-string { height: 50px; }
.tags .hang:nth-child(odd) .hang-tag { transform: rotate(-1.2deg); }
.tags .hang:nth-child(even) .hang-tag { transform: rotate(1deg); }
@media (hover: hover) { .tags .hang:hover { animation: swing 1.5s var(--ease); } }
.tags .hang:focus-within { animation: swing 1.5s var(--ease); }
.tags .hang-tag { padding: 44px 26px 30px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.tags h3 { font-weight: 800; font-stretch: 108%; font-size: 23px; letter-spacing: -.02em; line-height: 1.1; }
.price { white-space: nowrap; font-weight: 800; font-stretch: var(--wide); font-size: clamp(25px, 2.15vw, 31px); letter-spacing: -.03em; line-height: 1; }
.price small { font-size: .45em; font-weight: 700; letter-spacing: .04em; font-stretch: var(--cond); }
.tag-desc { color: var(--pi-2); font-size: 15px; }
.tags ul { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1.5px dashed var(--thread); }
.tags li { position: relative; padding-left: 22px; font-size: 14.5px; font-weight: 500; }
.tags li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 9px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-wrap .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.faq-wrap .section-head h2 { font-size: clamp(32px, 3.6vw, 52px); }
.faq details { border-bottom: 1.5px dashed rgba(14, 19, 48, .25); }
.faq details:first-child { border-top: 1.5px dashed rgba(14, 19, 48, .25); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 24px 56px 24px 0; font-weight: 700; font-stretch: 104%; font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--indigo); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { padding: 0 48px 26px 0; color: var(--encre-2); max-width: 40em; }
.faq details[open] p { animation: open .45s var(--ease); }
@keyframes open { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- contact : bon de commande ---------- */
.contact { --zc: var(--indigo); background: var(--indigo); color: #fff; margin-top: clamp(96px, 12vw, 160px); padding-top: clamp(88px, 11vw, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-text { position: sticky; top: 120px; display: grid; gap: 24px; }
.contact-text h2 { font-weight: 800; font-stretch: var(--wide); font-size: clamp(38px, 5vw, 72px); line-height: .98; letter-spacing: -.03em; }
.contact-text p { color: #d6d9f5; font-size: 18px; max-width: 30em; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.slip {
  position: relative; background: #fffdf7; color: var(--encre); border-radius: 6px;
  padding: clamp(26px, 3.5vw, 40px) clamp(22px, 3.5vw, 44px) clamp(26px, 3.5vw, 40px) clamp(40px, 5vw, 64px);
  transform: rotate(.8deg); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .55);
  display: grid; gap: 20px;
}
.slip::before { /* perforations du carnet */
  content: ""; position: absolute; left: 14px; top: 16px; bottom: 16px; width: 10px;
  background: radial-gradient(circle, var(--indigo) 3.5px, transparent 4px) 50% 0 / 10px 22px repeat-y;
}
.slip::after { content: ""; position: absolute; left: 32px; top: 0; bottom: 0; border-left: 1.5px dashed rgba(14, 19, 48, .2); }
.slip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--encre); }
.slip-title { font-weight: 800; font-stretch: var(--wide); font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.02em; }
.slip-no { font-weight: 700; font-stretch: var(--cond); font-size: 14px; color: var(--terre); letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.slip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; font-weight: 700; font-stretch: var(--cond); font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--encre-2); border: 0; margin: 0; padding: 0; min-width: 0; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--encre-3); }
.field legend { padding: 0; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16.5px/1.4 var(--ff); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--encre);
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(14, 19, 48, .35); border-radius: 0;
  padding: 8px 2px; outline: none; transition: border-color .2s, background-color .2s;
  caret-color: var(--terre);
}
.field textarea { resize: vertical; min-height: 104px; background-image: linear-gradient(transparent 31px, rgba(14, 19, 48, .12) 32px); background-size: 100% 32px; line-height: 32px; padding-top: 0; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230e1330' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 2px center / 16px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #7a7d92; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--indigo); background-color: rgba(36, 48, 154, .04); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-bottom-color: var(--terre); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1.5px solid rgba(14, 19, 48, .3); font: 600 14.5px/1.2 var(--ff); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: var(--encre); transition: background-color .2s, border-color .2s, color .2s; }
.chips label:hover span { border-color: var(--encre); }
.chips input:checked + span { background: var(--encre); border-color: var(--encre); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.form-error { color: var(--terre); font-weight: 600; font-size: 15px; }

.footer { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px 48px; margin-top: clamp(88px, 11vw, 140px); padding-top: 32px; padding-bottom: 36px; border-top: 1.5px dashed rgba(255, 255, 255, .3); color: #d6d9f5; font-size: 14.5px; }
.footer-brand { display: grid; gap: 10px; max-width: 34em; }
.footer-brand .brand-name { color: #fff; font-size: 26px; }
.footer-nap { font-style: normal; color: #fff; line-height: 1.7; }
.footer-nap a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.footer-nap a:hover { text-decoration-color: var(--ocre); }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; align-content: start; }
.footer-links a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; }
.footer-links a:hover { text-decoration-color: var(--ocre); }
.footer-copy { grid-column: 1 / -1; color: #aab0e0; font-size: 13.5px; }

/* ---------- carrousels & barre devis (mobile uniquement) ---------- */
.rail-head, .mcta { display: none; }

/* ---------- apparition : le tissu se pose ---------- */
.js .reveal { opacity: 0; transform: translateY(26px) rotate(-.5deg); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .product.reveal .product-media { transition: transform 1.2s var(--ease); }
.js .product.reveal:not(.in) .product-media { transform: rotate(-3deg) translateY(20px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-bottom: 56px; }
  .hero-visual { max-width: 760px; }
  .quilt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .piece[data-size="wide"] { grid-column: span 2; }
  .for-who { grid-template-columns: 1fr; }
  .for-who ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client:nth-child(2) { margin-top: 0; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .steps::before { display: none; }
  .step { padding-top: 34px; border-top: 1.5px dashed rgba(14, 19, 48, .3); }
  .step::before { top: -1px; }
  .tags { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .tags::before { display: none; }
  .tags .hang-string { height: 30px !important; }
}
@media (max-width: 900px) {
  .product, .lab, .contact-grid, .faq-wrap { grid-template-columns: minmax(0, 1fr); }
  .product:nth-child(even) .product-media { order: 0; }
  .faq-wrap .section-head, .contact-text { position: static; }
  .footer { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --tape-h: 14px; }
  .tape-track span { display: none; }
  .nav { padding-block: 10px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: calc(var(--tape-h) + 70px); left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--lin-2); border-radius: 14px; padding: 10px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .nav-links .nav-cta { margin: 6px 0 0; text-align: center; }
  .brand-mark { width: 32px; height: 32px; }

  .hero { padding-top: calc(var(--tape-h) + 92px); gap: 36px; }
  .hero-title { font-size: clamp(38px, 11.5vw, 52px); }
  .hero-lede { margin-top: 20px; font-size: 16.5px; }
  .hero-actions { margin-top: 26px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { margin-top: 28px; font-size: 13.5px; }
  .hero-proof li { padding: 0 12px; }
  .hero-proof b { font-size: 19px; }
  .board { padding: 26px 14px 30px 12px; }
  .hang-hero { top: -26px; right: 14px; }
  .hang-hero .hang-tag { min-width: 0; padding: 22px 14px 12px; }
  .hang-hero .hang-string { height: 26px; }
  .hang-name { font-size: 16px; }
  .hang-cat { font-size: 10.5px; }
  .swatches { display: flex; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 0; scroll-padding-inline: var(--gutter); }
  .swatches::-webkit-scrollbar { display: none; }
  .swatch { flex: 0 0 31%; min-height: 62px; font-size: 11.5px; }

  .ribbon-track span { font-size: 14px; }
  .section { padding-top: 80px; padding-bottom: 32px; }
  .section-head { margin-bottom: 34px; }
  .section-head h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .section-lede { font-size: 16px; margin-top: 16px; }

  .products { gap: 72px; }
  .product { gap: 26px; }
  .product-media { padding: 22px 14px 24px 12px; }
  .product h3 { font-size: 34px; }
  .product-info { gap: 14px; }
  .product-info > p { font-size: 16px; }
  .facts li { font-size: 15px; }
  .audio-card { width: 62%; left: -2%; padding: 10px 11px 12px; gap: 7px; border-radius: 10px; font-size: 10.5px; }
  .wave { height: 34px; }
  .audio-tr + .audio-tr, .audio-chips { display: none; }
  .showcase-audio { padding-bottom: 24%; }
  .showcase-audio .phone { display: none; }
  .showcase-audio { padding-right: 0; }

  .section-ink, .section-sable { padding-bottom: 80px; }
  .quilt { grid-template-columns: minmax(0, 1fr); }
  .piece[data-size="wide"] { grid-column: auto; }
  .piece { min-height: 0; padding: 26px 24px; }
  .for-who ul { grid-template-columns: minmax(0, 1fr); gap: 16px; }

  .clients { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .lab { padding: 26px 20px; }
  .lab-facts { gap: 6px; }
  .lab-facts li { padding: 10px; }
  .lab-facts b { font-size: 18px; }
  .lab-facts span { font-size: 11.5px; line-height: 1.3; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 0; }
  .step { padding: 22px 0 22px 0; grid-template-columns: 44px 1fr; column-gap: 12px; }
  .step::before { display: none; }
  .step-n { grid-row: span 3; font-size: 20px; }
  .step > :not(.step-n) { grid-column: 2; }

  .tags { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tags .hang-tag { padding: 40px 22px 26px; }

  .faq summary { padding: 20px 44px 20px 0; }
  .faq details p { padding-right: 0; }

  .contact { padding-top: 80px; }
  .contact-text h2 { font-size: clamp(34px, 10vw, 44px); }
  .contact-text p { font-size: 16.5px; }
  .contact-direct .btn { flex: 1 1 100%; }
  .slip { transform: none; padding: 24px 18px 24px 40px; gap: 18px; }
  .slip::before { left: 10px; }
  .slip::after { left: 28px; }
  .slip-grid { grid-template-columns: minmax(0, 1fr); }
  .slip-head { flex-direction: column; gap: 4px; }
  .footer-links { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .phone { width: 28%; border-radius: 20px; padding: 4px; }
  .phone .screen { border-radius: 16px; }
  .phone::before { top: 8px; height: 5px; }
  .browser-bar { height: 26px; }
  .url { height: 17px; font-size: 10px; }
  .hero-proof li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* =========================================================
   Mobile : carrousels, barre devis, hero compact
   ========================================================= */
@media (max-width: 760px) {
  /* hero : boutons côte à côte, chiffres sur une ligne */
  .hero { gap: 30px; padding-bottom: 44px; }
  .hero-actions { gap: 8px; flex-wrap: nowrap; }
  .hero-actions .btn { flex: 1 1 0; min-height: 50px; padding: 0 12px; font-size: 14.5px; white-space: nowrap; }
  .hero-actions .btn svg { display: none; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; }
  .hero-proof li, .hero-proof li:nth-child(3) { padding: 0 10px; border-left: 1.5px dashed rgba(14, 19, 48, .3); font-size: 12.5px; line-height: 1.3; }
  .hero-proof li:first-child { padding-left: 0; border-left: 0; }
  .hero-proof b { display: block; font-size: 20px; margin: 0 0 2px; }
  .hero-visual { padding-top: 28px; }

  /* sections plus serrées */
  .section { padding-top: 64px; padding-bottom: 24px; }
  .section-head { margin-bottom: 22px; }
  .section-ink, .section-sable { margin-top: 64px; padding-bottom: 64px; }
  .contact { margin-top: 72px; padding-top: 64px; }

  /* carrousel générique */
  .rail {
    display: flex !important; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }
  .js .rail > .reveal { opacity: 1; transform: none; transition: none; }
  .rail-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-weight: 700; font-stretch: var(--cond); font-size: 12.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--encre-3); }
  .rail-head > span:first-child::after { content: " →"; color: var(--terre); }
  .section-ink .rail-head { color: #aeb2c8; }
  .section-ink .rail-head > span:first-child::after { color: var(--ocre); }
  .rail-dots { display: flex; gap: 5px; }
  .rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(14, 19, 48, .22); transition: width .3s var(--ease), background-color .3s; }
  .rail-dots i.on { width: 18px; background: var(--terre); }
  .section-ink .rail-dots i { background: rgba(255, 255, 255, .25); }
  .section-ink .rail-dots i.on { background: var(--ocre); }

  /* produits : une carte par produit */
  .products.rail { gap: 12px; }
  .products.rail > .product { display: flex; flex-direction: column; align-items: stretch; gap: 16px; background: var(--lin-2); border-radius: 12px; padding: 8px 8px 18px; box-shadow: 0 1px 2px rgba(14, 19, 48, .06); }
  .products.rail .product-media, .js .products.rail .product.reveal:not(.in) .product-media { transform: none; }
  .products.rail .product-media { padding: 20px 12px 22px 10px; border-radius: 8px; }
  .products.rail .product-info { padding-inline: 8px; gap: 12px; flex: 1; }
  .products.rail .product h3 { font-size: 30px; }
  .products.rail .product h3 span { font-size: 14.5px; margin-top: 6px; }
  .products.rail .product-info > p { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .products.rail .facts { display: none; }
  .products.rail .product-foot { margin-top: auto; padding-top: 14px; }
  .products.rail .stamp { font-size: 11.5px; }
  .products.rail .visit { padding: 8px 13px; font-size: 13.5px; }

  /* services : pièces qui glissent */
  .quilt.rail { gap: 8px; }
  .quilt.rail > .piece { flex-basis: 80%; min-height: 0; padding: 26px 22px; border-radius: 6px; }
  .piece-ico { width: 34px; height: 34px; margin-bottom: 2px; }
  .piece h3 { font-size: 22px; }
  .piece p { font-size: 15px; }
  .for-who { margin-top: 36px; gap: 14px; }
  .for-who-title { font-size: 20px; }
  .for-who ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
  .for-who li { font-size: 13.5px; padding-top: 10px; }
  .for-who b { font-size: 15.5px; }

  /* clients */
  .clients.rail { gap: 14px; }
  .clients.rail > .client { flex-basis: 84%; gap: 16px; }
  .client-media { padding: 18px 14px; }
  .client h3 { font-size: 24px; }
  .client p { font-size: 14.5px; }
  .fleet { padding: 12px; gap: 6px; }
  .fleet-row { padding: 6px 8px; font-size: 12px; gap: 8px; }

  /* KAYIA : la vidéo d'abord, le texte resserré */
  .lab { margin-top: 48px; gap: 20px; }
  .lab-video { order: -1; }
  .lab h3 { font-size: 34px; }
  .lab .lab-quote { font-size: 19px; }
  .lab p:not(.lab-quote) { font-size: 15px; }

  /* méthode */
  .step { padding: 18px 0; }
  .step p:last-child { font-size: 14.5px; }

  /* tarifs : étiquettes qui glissent */
  .tags.rail { gap: 12px; padding-top: 6px; padding-bottom: 22px; align-items: stretch; }
  .tags.rail > .hang { flex-basis: 78%; }
  .tags .hang-string { height: 26px !important; }
  .tags .hang:nth-child(odd) .hang-tag, .tags .hang:nth-child(even) .hang-tag { transform: none; }
  .tags .hang-tag { padding: 38px 20px 24px; gap: 12px; }

  /* FAQ */
  .faq summary { font-size: 16.5px; }
  .faq details p { font-size: 15px; }

  /* barre devis collante */
  .mcta {
    display: flex; align-items: center; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 55;
    padding: 6px; border-radius: 999px; background: rgba(14, 19, 48, .94);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 18px 40px -16px rgba(14, 19, 48, .7);
    transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease);
  }
  .mcta.show { transform: none; }
  .mcta .btn { flex: 1; min-height: 48px; background: var(--ocre); color: var(--encre); font-size: 15.5px; }
  .mcta-wa { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--wa); color: #06210f; display: grid; place-items: center; }
  .mcta-wa svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 360px) {
  .hero-actions { flex-wrap: wrap; }
  .hero-actions .btn { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .product.reveal:not(.in) .product-media { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .screen { overflow-y: auto; }
  .scroll-shot { position: static; }
  .hero-shot { position: absolute; }
}
