/* ==========================================================================
   SSA Studio — charte « atelier de précision »
   Matières : noir anodisé, aluminium brossé, chrome liquide. Le bleu est un voyant.
   Typo : Mona Sans (extra-large / condensée), Doto (afficheur à points).
   ========================================================================== */

@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-latin-wdth-normal.woff2") format("woff2-variations"), url("../fonts/mona-sans-latin-wdth-normal.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Mona Sans"; src: url("../fonts/mona-sans-latin-wdth-italic.woff2") format("woff2-variations"), url("../fonts/mona-sans-latin-wdth-italic.woff2") format("woff2"); font-weight: 200 900; font-stretch: 75% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: "Doto"; src: url("../fonts/doto-latin-full-normal.woff2") format("woff2-variations"), url("../fonts/doto-latin-full-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Mona Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; }

:root {
  --black: #0a0b0d;
  --black-2: #111317;
  --black-3: #191c22;
  --line-d: rgba(255, 255, 255, 0.09);
  --line-d2: rgba(255, 255, 255, 0.16);
  --chrome: #e9ebee;
  --silver: #9ba1ab;
  --silver-2: #636975;
  --muted: #b2b7c0;
  --alu-ink: #121418;
  --alu-ink-2: #3a3e46;
  --alu-mute: #5c616b;
  --line-l: rgba(10, 11, 13, 0.12);
  --line-l2: rgba(10, 11, 13, 0.22);
  --signal: #1f6bff;
  --signal-hi: #5e95ff;
  --signal-deep: #1452e0;
  --led: #3d86ff;
  --f-text: "Mona Sans", "Mona Fallback", system-ui, sans-serif;
  --f-dot: "Doto", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.87, 0, 0.13, 1);
  --gutter: max(clamp(16px, 3.4vw, 52px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --max: 110rem;
  --pad: max(var(--gutter), (100vw - var(--max)) / 2);
  --gap: clamp(12px, 1.6vw, 24px);
  --hdr: 4.625rem;
  --plate-r: clamp(22px, 3vw, 40px);
  /* échelle des titres : un rôle = une taille, partout */
  --fs-display: clamp(2.7rem, 1.5rem + 4.1vw, 5.4rem);   /* titre d'accueil */
  --fs-title: clamp(2.35rem, 1.45rem + 2.9vw, 4.25rem);  /* titre de page, manifeste, appel final */
  --fs-chapter: clamp(2.15rem, 1.3rem + 2.5vw, 3.7rem);  /* chapitres de la page Prestations */
  --fs-section: clamp(1.95rem, 1.25rem + 2.1vw, 3.35rem); /* titres de section */
  --fs-item: clamp(1.4rem, 1rem + 1.25vw, 2.3rem);       /* éléments de liste forts */
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(100%, 0.625vw + 4px, 175%); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--black); color-scheme: dark; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--chrome); font-family: var(--f-text); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem); line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
body::after { content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: 0.05; 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='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal-hi); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--chrome); color: var(--black); transform: translateY(-160%); transition: transform 0.4s var(--ease); }
.skip:focus { transform: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--pad); }

/* afficheur à points */
.dot { font-family: var(--f-dot); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; font-variation-settings: "ROND" 0; transition: font-variation-settings 0.6s var(--ease); }
a:hover .dot, a.dot:hover { font-variation-settings: "ROND" 100; }

/* plaque gravée + voyant */
.plate-label { display: inline-flex; align-items: center; gap: 0.75rem; font-family: var(--f-dot); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.plate-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 0 3px rgba(61, 134, 255, 0.18), 0 0 12px var(--led); flex: none; }
.plate--alu .plate-label { color: var(--alu-mute); }

/* trapèze du logo, en ponctuation */
.trap { display: inline-block; width: 0.62em; height: 0.2em; margin-left: 0.06em; background: linear-gradient(180deg, #5b93ff, var(--signal) 45%, #1453e6); clip-path: polygon(19% 0, 81% 0, 100% 100%, 0 100%); vertical-align: baseline; filter: drop-shadow(0 0 0.18em rgba(31, 107, 255, 0.7)); }

.ln { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.07em; }
.ln > span { display: inline-block; }

.h2 { font-size: var(--fs-section); font-weight: 780; font-stretch: 112%; line-height: 0.96; letter-spacing: -0.032em; text-wrap: balance; }
.h2 em, .statement__title em, .chap__title em, .phero__sub em, .footer__ask em, .contact__title em { font-style: italic; font-stretch: 75%; font-weight: 340; letter-spacing: -0.01em; color: var(--signal-hi); }
.plate--alu .h2 em, .plate--alu .statement__title em, .plate--alu .chap__title em, .plate--alu .phero__sub em { color: var(--signal); }

/* ---------- touches usinées (boutons) ---------- */
.key {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  height: 3.25rem;
  padding: 0 1.4rem 0 1.15rem;
  border-radius: 12px;
  font-family: var(--f-text);
  font-weight: 620;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  color: #101216;
  background: linear-gradient(180deg, #fdfdfe 0%, #e5e8ec 47%, #cdd1d7 53%, #dadde2 100%);
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 0 rgba(0, 0, 0, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.42), 0 10px 20px -10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.14s var(--ease), box-shadow 0.14s var(--ease), filter 0.2s ease;
}
/* survol : l'intitulé défile comme sur une touche mécanique (le double vient d'une ombre portée, donc marche aussi avec un texte changé en JS) */
.key > span { display: inline-block; text-shadow: 0 2.3em 0 currentColor; transition: transform 0.25s var(--ease); }
@media (hover: hover) and (pointer: fine) { .key:hover > span { transform: translateY(-2.3em); } }
.key:focus-visible > span { transform: translateY(-2.3em); }
@media (prefers-reduced-motion: reduce) { .key:hover > span, .key:focus-visible > span { transform: none; } }
.key:hover { filter: brightness(1.04); }
.key:active { transform: translateY(1px); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(0, 0, 0, 0.42); }
.key > i { width: 7px; height: 7px; border-radius: 50%; flex: none; background: #8f949d; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.45); transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.key:hover > i { background: var(--led); box-shadow: 0 0 8px 1px var(--led); }
.key--blue { color: #fff; text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.22); background: linear-gradient(180deg, #6b9dff 0%, #2f6eff 47%, #1b5bf0 53%, #2565f7 100%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(8, 36, 130, 0.75), 0 14px 28px -12px rgba(31, 107, 255, 0.85); }
.key--blue > span { text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.22), 0 2.3em 0 #fff; }
.key--blue > i { background: rgba(255, 255, 255, 0.55); box-shadow: none; }
.key--blue:hover > i { background: #fff; box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8); }
.key--sm { height: 2.7rem; padding: 0 1.05rem 0 0.9rem; font-size: 0.86rem; gap: 0.6rem; }
.key--lg { height: 3.6rem; padding: 0 1.7rem 0 1.3rem; font-size: 1rem; }
.key[aria-busy="true"] { pointer-events: none; filter: saturate(0.6); }
.key[aria-busy="true"] > i { animation: blink 0.7s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

/* ---------- en-tête : barre anodisée ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding-inline: var(--pad); transition: transform 0.7s var(--ease), background-color 0.5s var(--ease); }
.hdr::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent); opacity: 0; transition: opacity 0.5s var(--ease); }
.hdr.is-scrolled { background: rgba(10, 11, 13, 0.84); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.hdr.is-scrolled::after { opacity: 1; }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__brand { display: inline-flex; align-items: center; gap: 0.8rem; justify-self: start; }
.hdr__brand .mark { width: 3.75rem; height: auto; color: var(--chrome); }
.hdr__studio { font-weight: 650; font-stretch: 125%; font-size: 0.68rem; letter-spacing: 0.42em; text-transform: uppercase; color: var(--signal-hi); padding-top: 2px; }
.hdr__nav { display: flex; align-items: stretch; border-radius: 12px; background: linear-gradient(180deg, #17191e, #0e1013); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.6); overflow: hidden; }
.hdr__nav a { position: relative; display: inline-flex; align-items: baseline; gap: 0.5rem; padding: 0.7rem 1.05rem; font-size: 0.88rem; color: var(--muted); transition: color 0.3s var(--ease), background-color 0.3s var(--ease); }
.hdr__nav a + a { box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.7), inset 2px 0 0 rgba(255, 255, 255, 0.04); }
.hdr__nav a b { font-size: 0.75rem; color: var(--silver-2); }
.hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.hdr__nav a.is-current { color: #fff; }
.hdr__nav a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.hdr__meta { justify-self: end; display: flex; align-items: center; gap: 1.3rem; }
.hdr__clock { color: var(--silver); font-size: 0.8rem; }
.hdr__burger { display: none; }

.menu { position: fixed; inset: 0; z-index: 99; display: grid; grid-template-rows: 1fr auto; padding: calc(var(--hdr) + 2rem) var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom)); background: var(--black); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0.9s var(--ease-io), visibility 0s linear 0.9s; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.menu nav { display: grid; align-content: center; gap: 0.4rem; }
.menu nav a { display: flex; align-items: baseline; gap: 1rem; font-weight: 820; font-stretch: 110%; font-size: clamp(2rem, 9vw, 4rem); letter-spacing: -0.035em; line-height: 1.05; }
.menu nav a b { font-size: 0.85rem; color: var(--signal-hi); }
.menu__foot { display: grid; gap: 1.2rem; justify-items: start; color: var(--silver); }

/* ---------- plaques (sections) ---------- */
.plate { position: relative; border-radius: var(--plate-r) var(--plate-r) 0 0; margin-top: calc(-1 * var(--plate-r)); padding-block: clamp(5.5rem, 14vh, 10rem) calc(clamp(5.5rem, 14vh, 10rem) + var(--plate-r)); }
.plate--black { background: var(--black); }
.plate--black::before { content: ""; position: absolute; left: var(--plate-r); right: var(--plate-r); top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); }
.plate--alu {
  color: var(--alu-ink);
  background-color: #dfe2e6;
  background-image:
    radial-gradient(60% 50% at var(--sx, 30%) var(--sy, 0%), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.32) 0 1px, rgba(0, 0, 0, 0.03) 1px 2px, rgba(255, 255, 255, 0) 2px 4px),
    linear-gradient(180deg, #eff1f3 0%, #dadde2 55%, #cfd3d9 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 -30px 60px -30px rgba(0, 0, 0, 0.6);
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; padding-top: calc(var(--hdr) + clamp(1rem, 3vh, 2.2rem)); padding-bottom: calc(clamp(1.2rem, 3vh, 2rem) + var(--plate-r)); isolation: isolate; overflow: hidden; }
.hero__stage { position: absolute; inset: 0 0 0 34%; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%, #000 100%); }
.hero__ribbons { position: absolute; inset: 0; }
.hero__grid { flex: 1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.hero__copy { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 2; display: grid; gap: clamp(1.4rem, 3.2vh, 2.2rem); align-content: center; justify-items: start; }
.hero__title { font-size: var(--fs-display); font-weight: 820; line-height: 0.92; letter-spacing: -0.032em; color: var(--chrome); }
.hero__title .ln > span { font-stretch: var(--w, 112%); white-space: nowrap; }
.hero__title .ln > .cond { font-stretch: 75%; font-style: italic; font-weight: 300; letter-spacing: -0.01em; color: var(--silver); padding-left: 0.04em; }
.hero__lead { font-size: clamp(1.08rem, 1rem + 0.4vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 38ch; text-wrap: pretty; }
.hero__lead strong { color: var(--chrome); font-weight: 560; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; }
.hero__logo { grid-column: 7 / -1; grid-row: 1; justify-self: end; width: min(48vw, 62vh * 1.873, 61.25rem); margin-right: -1vw; position: relative; z-index: 1; }
.hero__logo::before { content: ""; position: absolute; inset: -18% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(31, 107, 255, 0.2), transparent 70%); filter: blur(20px); }
.hero__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem clamp(1.2rem, 3vw, 3rem); padding-top: 1.1rem; margin-top: clamp(1rem, 3vh, 2rem); border-top: 1px solid var(--line-d); color: var(--silver); font-size: 0.82rem; }
.hero__bar a { transition: color 0.3s var(--ease); }
.hero__bar a:hover { color: #fff; }
.hero__bar b { color: var(--signal-hi); font-weight: 800; margin-right: 0.5em; }
.hero__down { margin-left: auto; display: inline-flex; align-items: center; gap: 0.7rem; color: var(--silver-2); }
.hero__down i { position: relative; width: 1px; height: 22px; background: var(--line-d2); overflow: hidden; }
.hero__down i::after { content: ""; position: absolute; inset: 0; background: var(--signal-hi); transform: translateY(-100%); animation: drip 2.2s var(--ease-io) infinite; }
@keyframes drip { 60%, 100% { transform: translateY(100%); } }

.liquid { position: relative; width: 100%; aspect-ratio: 3455 / 1845; transform-style: preserve-3d; }
.liquid__fallback, .liquid__gl, .liquid__trap { position: absolute; inset: 0; width: 100%; height: 100%; }
.liquid__fallback { transition: opacity 0.9s var(--ease); }
.liquid.is-gl .liquid__fallback { opacity: 0; }
.liquid__trap { overflow: visible; pointer-events: none; }
.liquid__glow { animation: trap-pulse 3.4s var(--ease-io) infinite; }
@keyframes trap-pulse { 50% { opacity: 0.4; } }

/* ouverture : terminal */
.boot { position: fixed; left: var(--pad); right: var(--pad); bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); z-index: 140; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; visibility: hidden; opacity: 0; pointer-events: none; color: var(--silver); font-family: var(--f-dot); font-weight: 700; }
.boot__log p { margin: 0; line-height: 1.9; font-size: 0.95rem; letter-spacing: 0.04em; }
.boot__user { color: var(--signal-hi); }
.boot__path { color: var(--silver-2); margin-right: 0.3em; }
.boot__caret { display: inline-block; width: 0.55em; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--signal-hi); animation: blink 1s steps(1) infinite; }
.boot__line { min-height: 1.9em; color: var(--chrome); }
.boot__meter { display: grid; justify-items: end; gap: 0.8rem; font-size: 1.4rem; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.boot__bar { width: clamp(120px, 18vw, 260px); height: 10px; position: relative; }
.boot__bar::before { content: ""; position: absolute; inset: 0; background: var(--black-3); clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); }
.boot__bar i { position: absolute; inset: 0; background: var(--signal); clip-path: polygon(3% 0, 97% 0, 100% 100%, 0 100%); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 24px var(--signal); }
.js:not(.fallback):not(.intro-done)[data-page="accueil"] .hdr { transform: translateY(-100%); }
.js:not(.fallback):not(.intro-done) [data-ribbons] { opacity: 0; }
.js:not(.fallback):not(.intro-done) [data-hero-logo] { opacity: 0; }

/* ---------- l'atelier : la chaîne ---------- */
.statement__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.8rem; }
.statement__title { grid-column: 1 / span 7; font-size: var(--fs-title); font-weight: 800; font-stretch: 112%; line-height: 0.94; letter-spacing: -0.035em; color: var(--alu-ink); }
.statement__title em { font-size: 1.04em; }
.statement__lead { grid-column: 8 / -1; grid-row: 1; align-self: end; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); color: var(--alu-ink-2); max-width: 40ch; text-wrap: pretty; }
.chain { grid-column: 1 / -1; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(2rem, 6vh, 4rem); }
.chain::before { content: ""; position: absolute; left: 10%; right: 10%; top: clamp(2.75rem, 5vw, 4rem); height: 2px; background: linear-gradient(90deg, rgba(10, 11, 13, 0.08), rgba(10, 11, 13, 0.28), rgba(10, 11, 13, 0.08)); }
.chain::after { content: ""; position: absolute; left: 10%; top: calc(clamp(2.75rem, 5vw, 4rem) - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 14px 2px var(--led); animation: chain-run 5s var(--ease-io) infinite; }
@keyframes chain-run { 0% { left: 10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 90%; opacity: 0; } }
.chain li { position: relative; display: grid; justify-items: center; text-align: center; gap: 0.4rem; }
/* emblème : image fixe de secours, métal liquide WebGL par-dessus dès qu'il est prêt */
.emb { position: relative; display: block; flex: none; aspect-ratio: 1; }
.emb img, .emb canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.emb img { transition: opacity 0.6s var(--ease); }
.emb.is-gl img { opacity: 0; }
.chain .emb { width: clamp(5.5rem, 10vw, 8rem); filter: drop-shadow(0 18px 24px rgba(10, 20, 60, 0.25)); transition: transform 0.7s var(--ease); }
.chain li:hover .emb { transform: translateY(-6px) rotate(-4deg); }
.chain span { color: var(--alu-mute); margin-top: 0.6rem; }
.chain b { font-weight: 760; font-stretch: 112%; font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: -0.02em; }

/* ---------- index chromé des expertises ---------- */
.svc__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.svc__head .h2 { grid-column: 1 / span 9; }
.svc__head .key { grid-column: 10 / -1; justify-self: end; }
.svc__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.svc__list { grid-column: 1 / span 7; border-top: 1px solid var(--line-d2); }
.svc__row { display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: baseline; padding: clamp(1.2rem, 2.6vh, 1.8rem) 0; border-bottom: 1px solid var(--line-d); }
.svc__name { font-weight: 760; font-stretch: 108%; font-size: var(--fs-item); line-height: 1; letter-spacing: -0.035em; color: #3a3e47; transition: color 0.5s var(--ease), font-stretch 0.7s var(--ease); }
.svc__desc { grid-column: 1; max-height: 0; overflow: hidden; color: var(--muted); max-width: 46ch; opacity: 0; transition: max-height 0.7s var(--ease), opacity 0.5s var(--ease), margin 0.7s var(--ease); }
.svc__go { grid-column: 2; grid-row: 1; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; color: var(--silver); background: linear-gradient(180deg, #1b1e24, #111317); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.6); transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.6s var(--ease); }
.svc__row:hover .svc__name, .svc__row.is-on .svc__name { color: var(--chrome); font-stretch: 116%; }
.svc__go svg { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc__row.is-on .svc__desc { max-height: 9rem; opacity: 1; margin-top: 0.8rem; }
.svc__row:hover .svc__go, .svc__row.is-on .svc__go { color: #fff; background: linear-gradient(180deg, #6b9dff, #1b5bf0); }
.svc__stage { grid-column: 9 / -1; position: sticky; top: calc(var(--hdr) + 6vh); display: grid; justify-items: center; gap: 1rem; }
.svc__emblem { position: relative; width: min(100%, 27.5rem); aspect-ratio: 1; }
.svc__emblem img, .svc__emblem canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.svc__emblem img { transition: opacity 0.5s var(--ease); }
.svc__emblem.is-gl img { opacity: 0; }
.svc__emblem::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 107, 255, 0.22), transparent 70%); filter: blur(20px); }
.svc__emblem.is-swap canvas { animation: swap 0.6s var(--ease); }
@keyframes swap { 0% { opacity: 0.2; filter: blur(8px); transform: scale(0.92); } 100% { opacity: 1; filter: none; transform: none; } }

/* ---------- méthode : rail de touches ---------- */
.method__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(2.5rem, 7vh, 4.5rem); }
.method__head .h2 { grid-column: 1 / span 8; color: var(--alu-ink); }
.method__intro { grid-column: 9 / -1; color: var(--alu-ink-2); max-width: 34ch; }
.rail { position: relative; }
.rail__track { position: absolute; left: var(--pad); right: var(--pad); top: 1.35rem; height: 4px; border-radius: 4px; background: rgba(10, 11, 13, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); overflow: hidden; }
.rail__track i { position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--signal-deep), var(--signal), var(--signal-hi)); box-shadow: 0 0 12px var(--signal); }
.js:not(.fallback) .rail__track i { transform: scaleX(0); }
.rail__keys { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.rail__key { position: relative; display: grid; align-content: start; gap: 0.8rem; padding: 3.4rem 1.5rem 1.6rem; min-height: 17rem; border-radius: 18px; background: linear-gradient(180deg, #f6f7f8, #e4e7eb); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(10, 11, 13, 0.14), 0 20px 40px -24px rgba(10, 11, 13, 0.45); }
.rail__led { position: absolute; left: 1.5rem; top: 0.95rem; width: 12px; height: 12px; border-radius: 50%; background: #b6bac1; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.4); transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.rail__key.is-lit .rail__led { background: var(--led); box-shadow: 0 0 0 4px rgba(61, 134, 255, 0.18), 0 0 14px 2px var(--led); }
.rail__n { color: var(--alu-mute); }
.rail__key.is-lit .rail__n { color: var(--signal); }
.rail__key h3 { font-weight: 780; font-stretch: 110%; font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.9rem); letter-spacing: -0.035em; line-height: 1; }
.rail__key p { color: var(--alu-ink-2); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.faq__aside { grid-column: 1 / span 4; position: sticky; top: calc(var(--hdr) + 2.5rem); align-self: start; display: grid; gap: 1.5rem; justify-items: start; }
.faq__aside .h2 { color: var(--alu-ink); }
.faq__p { color: var(--alu-ink-2); max-width: 30ch; }
.faq__list { grid-column: 6 / -1; border-top: 1px solid var(--line-l2); }
.qa { border-bottom: 1px solid var(--line-l); }
.qa summary { list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.5rem 0; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-weight: 680; font-stretch: 108%; font-size: clamp(1.08rem, 1.5vw, 1.42rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--alu-ink); transition: color 0.4s var(--ease); }
.qa summary:hover .qa__q { color: var(--signal); }
.qa__ico { position: relative; width: 2.3rem; height: 2.3rem; border-radius: 10px; background: linear-gradient(180deg, #fbfbfc, #d6d9de); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(10, 11, 13, 0.2), 0 6px 12px -6px rgba(10, 11, 13, 0.4); transition: background 0.4s var(--ease); }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; border-radius: 2px; background: var(--alu-ink); transition: transform 0.6s var(--ease), background-color 0.4s var(--ease); }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico { background: linear-gradient(180deg, #6b9dff, #1b5bf0); }
.qa[open] .qa__ico::before, .qa[open] .qa__ico::after { background: #fff; }
.qa[open] .qa__ico::after { transform: rotate(0deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 4rem 1.7rem 0; color: var(--alu-ink-2); max-width: 64ch; text-wrap: pretty; }

/* ---------- pied de page ---------- */
.footer { position: relative; z-index: 1; margin-top: calc(-1 * var(--plate-r)); border-radius: var(--plate-r) var(--plate-r) 0 0; background: var(--black); padding-top: clamp(4rem, 10vh, 7rem); overflow: hidden; }
.footer::before { content: ""; position: absolute; left: var(--plate-r); right: var(--plate-r); top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent); }
.footer__cta { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; padding-bottom: clamp(3rem, 8vh, 5rem); border-bottom: 1px solid var(--line-d); }
.footer__ask { grid-column: 1 / span 8; font-size: var(--fs-title); font-weight: 800; font-stretch: 112%; line-height: 0.94; letter-spacing: -0.035em; text-wrap: balance; }
.footer__ctas { grid-column: 9 / -1; display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }
[data-page="contact"] .footer__cta { display: none; }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 2.5rem; padding-block: clamp(3rem, 8vh, 4.5rem); }
.footer__col { grid-column: span 2; display: grid; align-content: start; gap: 0.75rem; }
.footer__col--about { grid-column: span 5; gap: 1.2rem; }
.footer__col:nth-child(2) { grid-column: 7 / span 2; }
.footer__h { color: var(--silver-2); margin-bottom: 0.4rem; font-size: 0.78rem; }
.footer__col a { display: inline-flex; align-items: center; gap: 0.7rem; width: fit-content; color: var(--muted); transition: color 0.3s var(--ease); }
.footer__col a .emb { width: 30px; height: 30px; transition: transform 0.6s var(--ease); }
.footer__col a:hover { color: #fff; }
.footer__col a:hover .emb { transform: rotate(-12deg) scale(1.1); }
.footer__pitch { font-weight: 680; font-stretch: 112%; font-size: clamp(1.25rem, 1.8vw, 1.7rem); line-height: 1.2; letter-spacing: -0.02em; max-width: 26ch; }
.footer__status { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--silver); font-size: 0.8rem; }
.footer__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px var(--led); animation: blink 2.4s steps(1) infinite; }
.footer__clock { color: var(--silver-2); font-size: 0.8rem; }
.footer__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-block: 1.6rem calc(1.6rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); color: var(--silver-2); font-size: 0.78rem; background: var(--black); }
.footer__bottom a:hover { color: var(--chrome); }

/* ---------- prestations : en-tête ---------- */
.phero { padding-top: calc(var(--hdr) + clamp(3rem, 9vh, 6rem)); margin-top: 0; border-radius: 0; }
.phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1.6rem; align-items: end; }
.phero__title { grid-column: 1 / span 8; font-size: var(--fs-title); font-weight: 800; font-stretch: 112%; line-height: 0.94; letter-spacing: -0.035em; color: var(--alu-ink); }
.phero__title em { font-style: italic; font-stretch: 75%; font-weight: 340; letter-spacing: -0.01em; color: var(--signal); }
.phero__lead { grid-column: 9 / -1; color: var(--alu-ink-2); max-width: 38ch; text-wrap: pretty; }
.phero__index { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(2.5rem, 8vh, 5rem); border-top: 1px solid var(--line-l2); }
.phero__index a { position: relative; display: grid; align-content: start; gap: 0.35rem; padding: 1.5rem 2.6rem 1.7rem 1.4rem; border-left: 1px solid var(--line-l); }
.phero__index a:first-child { border-left: 0; padding-left: 0; }
.phero__index a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.phero__index a:hover::before { transform: none; }
.phero__index .emb { width: 3.5rem; height: 3.5rem; margin-bottom: 0.7rem; transition: transform 0.6s var(--ease); }
.phero__index a:hover .emb { transform: rotate(-8deg) scale(1.06); }
.phero__index b { font-weight: 760; font-stretch: 110%; font-size: 1.12rem; letter-spacing: -0.02em; color: var(--alu-ink); }
.phero__index span { font-size: 0.92rem; line-height: 1.45; color: var(--alu-ink-2); max-width: 24ch; }
.phero__index svg { position: absolute; right: 1rem; top: 1.7rem; width: 1rem; height: 1rem; fill: none; stroke: var(--alu-mute); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.4s var(--ease), transform 0.5s var(--ease); }
.phero__index a:hover svg { stroke: var(--signal); transform: translate(2px, -2px); }

/* onglets collants */
.ptabs { position: sticky; top: var(--hdr); z-index: 60; display: flex; justify-content: center; height: 0; overflow: visible; pointer-events: none; transition: top 0.7s var(--ease); }
.hdr-hidden .ptabs { top: 0; }
.ptabs__inner { pointer-events: auto; display: flex; overflow-x: auto; max-width: calc(100% - 2 * var(--gutter)); height: fit-content; margin-top: 0.7rem; border-radius: 14px; background: rgba(14, 16, 19, 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 14px 30px -14px rgba(0, 0, 0, 0.7); scrollbar-width: none; opacity: 0; transform: translateY(-10px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.ptabs.is-on .ptabs__inner { opacity: 1; transform: none; }
.ptabs__inner::-webkit-scrollbar { display: none; }
.ptabs a { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.75rem 1.05rem; white-space: nowrap; font-size: 0.86rem; color: var(--muted); transition: color 0.3s var(--ease); }
.ptabs a + a { box-shadow: inset 1px 0 0 rgba(0, 0, 0, 0.7), inset 2px 0 0 rgba(255, 255, 255, 0.04); }
.ptabs a i { width: 6px; height: 6px; border-radius: 50%; background: #2f333b; transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.ptabs a .dot { font-size: 0.75rem; color: var(--silver-2); }
.ptabs a.is-on { color: #fff; }
.ptabs a.is-on i { background: var(--led); box-shadow: 0 0 8px var(--led); }

/* chapitres */
.chap { scroll-margin-top: calc(var(--hdr) - var(--plate-r)); }
.chap__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: center; }
.chap__txt { grid-column: 1 / span 5; display: grid; gap: 1.3rem; justify-items: start; }
.chap__stage { grid-column: 7 / -1; display: grid; gap: 1.2rem; }
.chap__grid--rev .chap__txt { grid-column: 8 / -1; grid-row: 1; }
.chap__grid--rev .chap__stage { grid-column: 1 / span 6; grid-row: 1; }
.chap__emblem { position: relative; width: clamp(6rem, 9vw, 8.5rem); aspect-ratio: 1; margin-bottom: 0.4rem; }
.chap__emblem img, .chap__emblem canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.chap__emblem img { transition: opacity 0.6s var(--ease); }
.chap__emblem.is-gl img { opacity: 0; }
.plate--alu .chap__ref { color: var(--signal); }
.chap__title { font-size: var(--fs-chapter); font-weight: 790; font-stretch: 110%; line-height: 0.94; letter-spacing: -0.035em; }
.chap__lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); color: var(--muted); max-width: 42ch; text-wrap: pretty; }
.plate--alu .chap__lead { color: var(--alu-ink-2); }
.chap__inc { display: grid; gap: 0.55rem; padding: 1.1rem 0; border-block: 1px solid var(--line-d); width: 100%; }
.plate--alu .chap__inc { border-color: var(--line-l); }
.chap__inc li { position: relative; padding-left: 1.6rem; }
.chap__inc li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.chap__fit { display: grid; gap: 0.25rem; color: var(--silver); font-size: 0.96rem; }
.chap__fit .dot { color: var(--silver-2); font-size: 0.76rem; }
.plate--alu .chap__fit { color: var(--alu-ink-2); }
.plate--alu .chap__fit .dot { color: var(--alu-mute); }
.chap__caption { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--silver-2); font-size: 0.76rem; }
.chap__caption i { width: 6px; height: 6px; border-radius: 50%; background: var(--led); box-shadow: 0 0 8px var(--led); }
.plate--alu .chap__caption { color: var(--alu-mute); }

/* maquettes : 1em = 1/60 de la largeur de la scène */
.mock { position: relative; width: 100%; container-type: inline-size; }
.mock > * { font-size: calc(100cqw / 60); }

/* mini-navigateurs (sites web) */
.mock-sites { aspect-ratio: 60 / 40; }
.mini { position: absolute; width: 31em; margin: 0; padding: 0.45em; border-radius: 1.1em; background: linear-gradient(180deg, #1c1f25, #121418); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.7), 0 3em 5em -1.5em rgba(0, 0, 0, 0.85); transition: transform 0.8s var(--ease); }
.mini--a { left: 0; top: 7em; transform: rotate(-5deg); z-index: 1; }
.mini--b { left: 14.5em; top: 0; z-index: 3; }
.mini--c { right: 0; top: 9em; transform: rotate(5deg); z-index: 2; }
.mini:hover { z-index: 5; transform: rotate(0) scale(1.04); }
.mini__bar { display: flex; align-items: center; gap: 0.35em; height: 2em; padding: 0 0.6em; color: #7d838d; font-size: 0.85em; }
.mini__bar i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #2b2f37; }
.mini__bar span { margin: 0 auto; letter-spacing: 0.02em; }
.mini__view { position: relative; aspect-ratio: 16 / 10.4; overflow: hidden; border-radius: 0.7em; background: #fff; }
.mini__view img { position: absolute; left: 0; top: 0; width: 100%; animation: page-scroll var(--dur, 22s) cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }
.mini--a .mini__view img { --dur: 26s; animation-delay: -6s; }
.mini--c .mini__view img { --dur: 24s; animation-delay: -12s; }
.mini:hover .mini__view img { animation-play-state: paused; }
@keyframes page-scroll { 0%, 6% { transform: translateY(0); } 94%, 100% { transform: translateY(var(--end, 0px)); } }
.mini figcaption { position: absolute; left: 0.6em; bottom: -2.4em; color: var(--silver); font-size: 0.9em; opacity: 0; transition: opacity 0.4s var(--ease); white-space: nowrap; }
.mini:hover figcaption { opacity: 1; }

/* logiciel de planning (interface claire) */
.mock-app { aspect-ratio: 60 / 42; }
.app { position: absolute; left: 0; top: 0; width: 50em; height: 36em; display: grid; grid-template-rows: 2.2em 1fr; border-radius: 1em; background: #fff; color: #16181d; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.18), 0 3em 5em -2em rgba(10, 11, 13, 0.55); overflow: hidden; font-family: var(--f-text); }
.app__chrome { display: flex; align-items: center; gap: 0.35em; padding: 0 0.8em; background: #eef0f3; border-bottom: 1px solid #e2e5e9; }
.app__chrome i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #d3d7dd; }
.app__chrome span { margin: 0 auto; padding: 0.2em 1.4em; border-radius: 0.4em; background: #fff; font-size: 0.62em; color: #7b818c; }
.app__body { display: grid; grid-template-columns: 11em 1fr; min-height: 0; }
.app__side { display: grid; grid-template-rows: auto 1fr auto; gap: 1em; padding: 1em 0.75em; background: #f6f7f9; border-right: 1px solid #e8eaee; }
.app__ws { display: flex; align-items: center; gap: 0.55em; }
.app__wslogo { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.5em; background: linear-gradient(135deg, #2f6eff, #0b3fd1); color: #fff; font-weight: 800; font-size: 0.72em; letter-spacing: 0.02em; }
.app__ws b { display: block; font-size: 0.74em; font-weight: 650; line-height: 1.2; }
.app__ws small { display: block; font-size: 0.6em; color: #8a909b; }
.app__nav { display: grid; align-content: start; gap: 0.15em; }
.app__nav span { display: flex; align-items: center; gap: 0.55em; padding: 0.45em 0.55em; border-radius: 0.5em; font-size: 0.74em; color: #4b5160; }
.app__nav svg { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.app__nav span.on { background: #fff; color: #0f1115; font-weight: 650; box-shadow: 0 1px 2px rgba(10, 11, 13, 0.08), 0 0 0 1px rgba(10, 11, 13, 0.05); }
.app__nav em { margin-left: auto; padding: 0.05em 0.5em; border-radius: 1em; background: #e8efff; color: #1f6bff; font-style: normal; font-size: 0.85em; font-weight: 700; }
.app__me { display: flex; align-items: center; gap: 0.5em; padding-top: 0.7em; border-top: 1px solid #e8eaee; }
.app__me b { display: block; font-size: 0.68em; }
.app__me small { display: block; font-size: 0.58em; color: #8a909b; }
.av { display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; color: #fff; font-size: 0.62em; font-weight: 750; flex: none; box-shadow: 0 0 0 2px #fff; }
.av--a { background: linear-gradient(135deg, #5e95ff, #1f6bff); }
.av--b { background: linear-gradient(135deg, #2dd4bf, #0f9b8e); }
.av--c { background: linear-gradient(135deg, #fbbf24, #e08a00); }
.app__main { position: relative; display: grid; grid-template-rows: auto auto 1fr; gap: 0.8em; padding: 0.9em 1.1em; min-height: 0; }
.app__top { display: flex; align-items: center; gap: 0.7em; }
.app__search { flex: 1; display: flex; align-items: center; gap: 0.5em; padding: 0.5em 0.7em; border-radius: 0.6em; background: #f3f4f6; font-size: 0.66em; color: #8a909b; }
.app__search svg, .app__bell svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.app__bell { position: relative; display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.5em; color: #4b5160; box-shadow: inset 0 0 0 1px #e5e7eb; font-size: 0.8em; }
.app__bell i { position: absolute; right: 0.4em; top: 0.35em; width: 0.45em; height: 0.45em; border-radius: 50%; background: #1f6bff; box-shadow: 0 0 0 2px #fff; }
.app__new { padding: 0.55em 0.85em; border-radius: 0.55em; background: #1f6bff; color: #fff; font-size: 0.66em; font-weight: 650; white-space: nowrap; box-shadow: 0 0.4em 0.8em -0.4em rgba(31, 107, 255, 0.7); }
.app__head { display: flex; justify-content: space-between; align-items: flex-end; }
.app__head b { display: block; font-size: 1.45em; font-weight: 750; font-stretch: 108%; letter-spacing: -0.03em; line-height: 1; }
.app__head small { display: block; margin-top: 0.3em; font-size: 0.64em; color: #8a909b; }
.seg { display: inline-flex; padding: 0.2em; border-radius: 0.55em; background: #f1f2f4; }
.seg span { padding: 0.3em 0.75em; border-radius: 0.4em; font-size: 0.62em; color: #6b7280; }
.seg span.on { background: #fff; color: #0f1115; font-weight: 650; box-shadow: 0 1px 2px rgba(10, 11, 13, 0.1); }
.cal { --hd: calc(100cqw / 60 * 1.9); --hr: calc(100cqw / 60 * 2.55); position: relative; display: grid; grid-template-columns: 2.4em repeat(5, minmax(0, 1fr)); min-height: 0; border-top: 1px solid #eceef1; }
.cal__hours { position: relative; }
.cal__hours span { position: absolute; left: 0; top: calc(var(--hd) + var(--t) * var(--hr) - 0.6em); font-size: 0.56em; color: #9aa0aa; }
.cal__day { position: relative; border-left: 1px solid #eceef1; background-image: repeating-linear-gradient(180deg, #f1f2f4 0 1px, transparent 1px var(--hr)); background-position: 0 var(--hd); }
.cal__day > b { display: flex; align-items: center; gap: 0.35em; height: var(--hd); padding-left: 0.5em; font-size: 0.6em; font-weight: 600; color: #8a909b; border-bottom: 1px solid #eceef1; background: #fff; }
.cal__day > b i { font-style: normal; font-size: 1.25em; font-weight: 750; color: #16181d; }
.cal__day--today > b i { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #1f6bff; color: #fff; }
.ev { position: absolute; left: 0.22em; right: 0.22em; top: calc(var(--hd) + var(--t) * var(--hr) + 2px); height: calc(var(--h) * var(--hr) - 4px); display: grid; align-content: start; gap: 0.1em; padding: 0.35em 0.45em; border-radius: 0.4em; border-left: 0.22em solid var(--c); background: var(--bg); color: #3b404a; font-size: 0.56em; line-height: 1.25; overflow: hidden; }
.ev b { color: #16181d; font-size: 1.08em; font-weight: 650; }
.ev--blue { --c: #1f6bff; --bg: #ebf1ff; }
.ev--teal { --c: #0f9b8e; --bg: #e4f6f3; }
.ev--amber { --c: #e08a00; --bg: #fff3df; }
.ev--violet { --c: #7c4dff; --bg: #f1ebff; }
.ev--sel { box-shadow: 0 0 0 0.12em var(--c), 0 0.6em 1.2em -0.5em rgba(31, 107, 255, 0.5); }
.cal__now { position: absolute; left: -0.3em; right: 0; top: calc(var(--hd) + var(--t) * var(--hr)); height: 2px; background: #1f6bff; z-index: 2; }
.cal__now::before { content: ""; position: absolute; left: -0.25em; top: -0.25em; width: 0.6em; height: 0.6em; border-radius: 50%; background: #1f6bff; }
.pop { position: absolute; left: 17.7em; top: 15.6em; width: 15em; display: grid; gap: 0.5em; padding: 0.9em 1em; border-radius: 0.8em; background: #fff; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.08), 0 1.4em 2.6em -1em rgba(10, 11, 13, 0.4); z-index: 3; animation: pop-in 0.7s var(--ease) 1.2s both; }
@keyframes pop-in { from { transform: translateY(0.6em); opacity: 0; } }
.pop__h { display: flex; justify-content: space-between; align-items: center; gap: 0.5em; }
.pop__h b { font-size: 0.8em; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.2em 0.55em; border-radius: 1em; font-size: 0.55em; font-weight: 650; }
.pill i { width: 0.55em; height: 0.55em; border-radius: 50%; background: currentColor; }
.pill--live { background: #ebf1ff; color: #1f6bff; }
.pop__line { display: flex; align-items: center; gap: 0.45em; font-size: 0.6em; color: #4b5160; }
.pop__line svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.5; flex: none; }
.pop__team { display: flex; align-items: center; }
.pop__team .av + .av { margin-left: -0.4em; }
.pop__team small { margin-left: 0.6em; font-size: 0.58em; color: #6b7280; }
.pop__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4em; }
.pop__btns span { display: grid; place-items: center; padding: 0.45em; border-radius: 0.45em; font-size: 0.6em; font-weight: 650; box-shadow: inset 0 0 0 1px #e5e7eb; }
.pop__btns span.on { background: #16181d; color: #fff; box-shadow: none; }

/* téléphone (iOS) + carte de fidélité façon portefeuille */
.handset { position: absolute; padding: 0.5em; border-radius: 2.5em; background: linear-gradient(135deg, #a3a8b0, #4a4e56 28%, #24272c 60%, #7d828a); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 3em 5em -1.5em rgba(10, 11, 13, 0.75); }
.handset::before { content: ""; position: absolute; left: 50%; top: 1.15em; z-index: 3; width: 4.6em; height: 1.25em; margin-left: -2.3em; border-radius: 1em; background: #000; }
.handset__screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 2.05em; overflow: hidden; background: #000; }
.handset--app { right: 0; bottom: 0; width: 16em; }
.ios { display: grid; align-content: start; gap: 0.55em; background: #f2f2f7; color: #111; font-family: var(--f-text); }
.ios__bar { display: flex; justify-content: space-between; align-items: center; padding: 1.05em 1.5em 0.3em; font-size: 0.68em; }
.ios__bar b { font-weight: 700; }
.ios__bar span { display: inline-flex; align-items: center; gap: 0.35em; }
.ios__bar i { display: block; background: currentColor; }
.ios__bar .sig { width: 1.1em; height: 0.7em; clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 48% 100%, 48% 45%, 26% 45%, 26% 100%, 52% 100%, 74% 100%, 74% 20%, 52% 20%, 52% 100%, 78% 100%, 100% 100%, 100% 0, 78% 0, 78% 100%); }
.ios__bar .wifi { width: 0.9em; height: 0.65em; border-radius: 1em 1em 0 0 / 1em 1em 0 0; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.ios__bar .bat { width: 1.5em; height: 0.7em; border-radius: 0.2em; box-shadow: inset 0 0 0 0.1em currentColor; background: linear-gradient(90deg, currentColor 70%, transparent 70%); background-clip: content-box; padding: 0.12em; }
.ios__bar--dark { color: #fff; }
.ios__push { display: flex; gap: 0.55em; margin: 0.2em 0.55em 0; padding: 0.6em 0.7em; border-radius: 1em; background: rgba(255, 255, 255, 0.88); box-shadow: 0 0.5em 1.2em -0.6em rgba(0, 0, 0, 0.35); animation: push-in 9s var(--ease) infinite; }
@keyframes push-in { 0%, 3% { transform: translateY(-1.5em); opacity: 0; } 10%, 92% { transform: none; opacity: 1; } 98%, 100% { transform: translateY(-1.5em); opacity: 0; } }
.ios__icon { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 0.55em; background: linear-gradient(160deg, #6b3f24, #2b180e); color: #f3d9b5; font-size: 0.6em; font-weight: 800; flex: none; }
.ios__push p { font-size: 0.6em; line-height: 1.3; color: #222; }
.ios__push p:first-child { display: flex; justify-content: space-between; gap: 0.5em; }
.ios__push p b { font-weight: 700; }
.ios__push small { color: #8a8a8e; }
.ios__title { padding: 0 0.75em; font-size: 1.35em; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; }
.pass { margin: 0 0.6em; border-radius: 0.9em; overflow: hidden; background: linear-gradient(165deg, #5a3520 0%, #3a2214 55%, #24150c 100%); color: #fff; box-shadow: 0 0.8em 1.6em -0.8em rgba(40, 20, 8, 0.7); }
.pass__top { display: flex; align-items: center; gap: 0.45em; padding: 0.65em 0.75em; }
.pass__logo { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: #f3d9b5; color: #3a2214; font-size: 0.55em; font-weight: 800; }
.pass__top > b { font-size: 0.6em; letter-spacing: 0.22em; font-weight: 700; }
.pass__pts { margin-left: auto; text-align: right; font-size: 0.8em; font-weight: 750; line-height: 1.1; }
.pass__pts small { display: block; font-size: 0.55em; letter-spacing: 0.12em; opacity: 0.7; font-weight: 600; }
.pass__strip { position: relative; height: 6.2em; }
.pass__strip img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.pass__strip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 21, 12, 0.85), rgba(36, 21, 12, 0.1) 75%); }
.pass__strip p { position: absolute; left: 0.75em; bottom: 0.6em; z-index: 1; font-size: 0.92em; font-weight: 800; font-stretch: 110%; line-height: 1; letter-spacing: -0.02em; }
.pass__cups { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4em; padding: 0.7em 0.75em 0.5em; }
.pass__cups i { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 0.12em rgba(243, 217, 181, 0.45); position: relative; }
.pass__cups i.on { background: radial-gradient(circle at 35% 30%, #fbe9cf, #e8c08e 60%, #c99660); box-shadow: 0 0.2em 0.4em -0.1em rgba(0, 0, 0, 0.5); }
.pass__cups i.on::after { content: ""; position: absolute; inset: 0; background: #5a3520; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h12v4.5A5.5 5.5 0 0 1 10.5 19h-1A5.5 5.5 0 0 1 4 13.5z'/%3E%3Cpath d='M16 10.5h1.6a2.4 2.4 0 0 1 0 4.8H15.6' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.2c-.9 1.1.9 2.1 0 3.4M11.6 3.2c-.9 1.1.9 2.1 0 3.4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 58% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 9h12v4.5A5.5 5.5 0 0 1 10.5 19h-1A5.5 5.5 0 0 1 4 13.5z'/%3E%3Cpath d='M16 10.5h1.6a2.4 2.4 0 0 1 0 4.8H15.6' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M8 3.2c-.9 1.1.9 2.1 0 3.4M11.6 3.2c-.9 1.1.9 2.1 0 3.4' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 58% no-repeat; }
.pass__fields { display: flex; justify-content: space-between; padding: 0.2em 0.75em 0.6em; }
.pass__fields p { font-size: 0.66em; font-weight: 650; line-height: 1.2; }
.pass__fields p:last-child { text-align: right; }
.pass__fields small { display: block; font-size: 0.72em; letter-spacing: 0.12em; opacity: 0.65; font-weight: 600; }
.pass__qr { display: grid; justify-items: center; gap: 0.35em; padding: 0.7em 0.7em 0.8em; background: #fff; color: #555; }
.pass__qr svg { width: 5.4em; height: 5.4em; }
.pass__qr small { font-size: 0.5em; }

/* publicité Meta : la vidéo entière dans le téléphone */
.mock-ads { aspect-ratio: 60 / 44; }
.handset--reel { left: 3em; top: 0; width: 20.5em; }
.reel { display: grid; grid-template-rows: auto auto auto auto; align-content: start; background: #000; color: #fff; font-family: var(--f-text); }
.reel .ios__bar { padding-bottom: 0.2em; }
.reel__top { display: flex; align-items: center; gap: 0.55em; padding: 0.35em 0.8em 0.55em; font-size: 0.82em; }
.reel__av { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: #0a0b0d; box-shadow: 0 0 0 0.12em #fff; flex: none; }
.reel__av svg { width: 1.55em; }
.reel__top b { display: block; font-weight: 700; font-size: 0.95em; line-height: 1.2; }
.reel__top small { display: block; font-size: 0.78em; opacity: 0.75; }
.reel__more { margin-left: auto; letter-spacing: 0.1em; opacity: 0.8; }
.reel__frame { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #111; }
.reel__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel__cta svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.reel__cta { display: flex; justify-content: space-between; align-items: center; margin: 0.5em 0.6em 0; padding: 0.55em 0.8em; border-radius: 0.5em; background: var(--signal); color: #fff; font-weight: 650; font-size: 0.82em; }
.reel__acts { position: absolute; right: 0.6em; bottom: 9em; display: grid; gap: 0.6em; }
.reel__acts span { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: rgba(10, 11, 13, 0.42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.reel__acts svg { width: 1.1em; height: 1.1em; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.leadform { position: absolute; left: 27.5em; top: 2em; width: 21em; display: grid; gap: 0.75em; padding: 1.4em; border-radius: 1.3em; background: #f6f7f8; color: #111; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 2.4em 4em -1.6em rgba(0, 0, 0, 0.8); }
.leadform__h b { display: block; font-weight: 760; font-size: 1.35em; letter-spacing: -0.02em; }
.leadform__h small { color: #6b7079; font-size: 0.8em; }
.leadform label { display: grid; gap: 0.35em; font-size: 0.85em; color: #6b7079; }
.leadform label i { display: block; height: 2.4em; border-radius: 0.6em; background: #fff; box-shadow: inset 0 0 0 1px #dcdfe4; position: relative; }
.leadform label i::after { content: ""; position: absolute; left: 0.8em; top: 50%; translate: 0 -50%; width: var(--w, 40%); height: 0.5em; border-radius: 0.3em; background: #c5c9d0; }
.leadform__btn { display: grid; place-items: center; height: 2.6em; border-radius: 0.7em; background: var(--signal); color: #fff; font-weight: 650; }
.notif { position: absolute; display: flex; align-items: center; gap: 0.9em; padding: 0.95em 1.2em; border-radius: 1em; background: rgba(24, 27, 33, 0.95); color: #f1f2f4; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 1.6em 3em -1em rgba(0, 0, 0, 0.8); font-size: calc(100cqw / 60); white-space: nowrap; }
.notif > i { width: 0.7em; height: 0.7em; border-radius: 50%; background: var(--led); box-shadow: 0 0 0.8em var(--led); flex: none; }
.notif small { display: block; color: #8a8f99; font-size: 0.82em; }
.mock-ads .notif { left: 26em; top: 25.5em; animation: notif-in 5s var(--ease) infinite; }
@keyframes notif-in { 0%, 20% { transform: translateY(1em); opacity: 0; } 30%, 88% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.leads { position: absolute; left: 30em; top: 31.5em; width: 27em; display: grid; gap: 0.35em; padding: 1em; border-radius: 1em; background: #111317; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); font-size: calc(100cqw / 60 * 0.95); }
.leads__h { color: #7d838d; font-size: 0.8em; margin-bottom: 0.3em; }
.leads p:not(.leads__h) { display: flex; align-items: center; gap: 0.7em; padding: 0.55em 0.7em; border-radius: 0.6em; background: #181b21; }
.leads i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #3a3f48; }
.leads i.on { background: var(--led); box-shadow: 0 0 0.6em var(--led); }
.leads em { margin-left: auto; font-style: normal; font-size: 0.85em; color: var(--signal-hi); }

/* boutique de mode */
.mock-shop { aspect-ratio: 60 / 40; }
.store { position: absolute; left: 0; top: 0; width: 43.5em; height: 37em; display: grid; grid-template-rows: auto auto auto 1fr; border-radius: 1em; background: #fff; color: #1a1a1a; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.2), 0 3em 5em -2em rgba(10, 11, 13, 0.55); overflow: hidden; font-family: var(--f-text); }
.store__chrome { display: flex; align-items: center; gap: 0.35em; height: 2em; padding: 0 0.8em; background: #eef0f3; border-bottom: 1px solid #e2e5e9; }
.store__chrome i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #d3d7dd; }
.store__chrome span { margin: 0 auto; padding: 0.2em 1.4em; border-radius: 0.4em; background: #fff; font-size: 0.6em; color: #7b818c; }
.store__ann { padding: 0.5em; background: #1a1a1a; color: #f2f2f2; text-align: center; font-size: 0.58em; letter-spacing: 0.04em; }
.store__hdr { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0.85em 1.4em; border-bottom: 1px solid #efefef; }
.store__nav { display: flex; gap: 1.2em; font-size: 0.62em; color: #555; }
.store__nav .on { color: #1a1a1a; font-weight: 600; box-shadow: inset 0 -1px 0 #1a1a1a; }
.store__logo { font-weight: 300; font-stretch: 125%; font-size: 0.95em; letter-spacing: 0.34em; }
.store__icons { justify-self: end; display: flex; align-items: center; gap: 0.9em; }
.store__icons svg { width: 1.05em; height: 1.05em; fill: none; stroke: #1a1a1a; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.store__bag { position: relative; display: inline-flex; }
.store__bag i { position: absolute; right: -0.55em; top: -0.45em; display: grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; background: #1a1a1a; color: #fff; font-style: normal; font-size: 0.5em; font-weight: 700; animation: bag-bump 6.4s var(--ease) infinite; }
@keyframes bag-bump { 0%, 52% { transform: scale(0); } 58% { transform: scale(1.35); } 64%, 100% { transform: scale(1); } }
.pdp { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 1.5em; padding: 1.1em 1.4em; min-height: 0; }
.pdp__gallery { display: grid; grid-template-columns: 3.3em 1fr; gap: 0.6em; min-height: 0; }
.pdp__thumbs { display: grid; align-content: start; gap: 0.5em; }
.pdp__thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0.3em; opacity: 0.75; }
.pdp__thumbs img.on { opacity: 1; box-shadow: 0 0 0 1.5px #1a1a1a; }
.pdp__main { position: relative; border-radius: 0.4em; overflow: hidden; background: #f3f1ec; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.pdp__badge { position: absolute; left: 0.6em; top: 0.6em; padding: 0.3em 0.6em; border-radius: 0.2em; background: #fff; font-size: 0.52em; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; }
.pdp__info { display: grid; align-content: start; gap: 0.55em; }
.pdp__crumbs { font-size: 0.56em; color: #8a8a8a; }
.pdp__name { font-size: 1.45em; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.pdp__price { font-size: 1.02em; font-weight: 500; }
.pdp__price small { font-size: 0.55em; color: #8a8a8a; margin-left: 0.3em; }
.pdp__lbl { display: flex; justify-content: space-between; margin-top: 0.3em; font-size: 0.6em; color: #555; }
.pdp__lbl b { color: #1a1a1a; font-weight: 600; }
.pdp__lbl span { text-decoration: underline; text-underline-offset: 2px; }
.pdp__sw { display: flex; gap: 0.5em; }
.pdp__sw i { width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12); }
.pdp__sw i.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 2px #fff, 0 0 0 3.2px #1a1a1a; }
.pdp__sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.35em; }
.pdp__sizes span { display: grid; place-items: center; padding: 0.42em 0; border-radius: 0.3em; box-shadow: inset 0 0 0 1px #dcdcdc; font-size: 0.6em; }
.pdp__sizes span.on { background: #1a1a1a; color: #fff; box-shadow: none; font-weight: 600; }
.pdp__sizes span.off { color: #bbb; text-decoration: line-through; }
.pdp__add { display: grid; place-items: center; margin-top: 0.3em; padding: 0.8em; border-radius: 0.35em; background: #1a1a1a; color: #fff; font-size: 0.7em; font-weight: 600; letter-spacing: 0.02em; animation: press 6.4s var(--ease) infinite; }
@keyframes press { 0%, 44% { transform: none; } 48% { transform: scale(0.96); } 54%, 100% { transform: none; } }
.pdp__express { display: grid; place-items: center; padding: 0.7em; border-radius: 0.35em; box-shadow: inset 0 0 0 1px #1a1a1a; font-size: 0.64em; font-weight: 600; }
.pdp__trust { display: flex; gap: 1em; margin-top: 0.2em; font-size: 0.56em; color: #666; }
.pdp__trust span { display: inline-flex; align-items: center; gap: 0.4em; }
.pdp__trust svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.4; }
.pdp__acc { display: flex; justify-content: space-between; padding: 0.5em 0; border-top: 1px solid #eee; font-size: 0.6em; font-weight: 550; }
.pdp__acc i { font-style: normal; color: #888; }
.drawer { position: absolute; right: 0; top: 8em; width: 18em; display: grid; gap: 0.7em; padding: 1.1em 1.2em; border-radius: 1em; background: #fff; color: #1a1a1a; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.14), 0 3em 5em -1.5em rgba(10, 11, 13, 0.6); font-family: var(--f-text); animation: drawer-in 6.4s var(--ease) infinite; }
@keyframes drawer-in { 0%, 50% { transform: translateX(1.5em); opacity: 0; } 58%, 94% { transform: none; opacity: 1; } 100% { transform: translateX(1.5em); opacity: 0; } }
.drawer__h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 0.5em; border-bottom: 1px solid #efefef; }
.drawer__h b { font-size: 0.95em; font-weight: 650; }
.drawer__h span { font-size: 0.6em; color: #8a8a8a; }
.drawer__item { display: grid; grid-template-columns: 3.4em 1fr auto; gap: 0.7em; align-items: start; }
.drawer__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 0.3em; }
.drawer__item b { display: block; font-size: 0.68em; font-weight: 600; }
.drawer__item small { display: block; margin: 0.15em 0 0.4em; font-size: 0.56em; color: #8a8a8a; }
.qty { display: inline-flex; align-items: center; gap: 0.7em; padding: 0.2em 0.5em; border-radius: 0.3em; box-shadow: inset 0 0 0 1px #e1e1e1; font-size: 0.6em; }
.qty i { font-style: normal; color: #888; }
.drawer__item strong { font-size: 0.68em; font-weight: 600; }
.drawer__ship p { font-size: 0.58em; color: #1f6bff; font-weight: 600; margin-bottom: 0.35em; }
.drawer__ship span { display: block; height: 0.3em; border-radius: 1em; background: #eee; overflow: hidden; }
.drawer__ship span i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #5e95ff, #1f6bff); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.66em; color: #555; }
.drawer__total b { font-size: 1.3em; color: #1a1a1a; font-weight: 650; }
.drawer__btn { display: grid; place-items: center; padding: 0.8em; border-radius: 0.4em; background: #1a1a1a; color: #fff; font-size: 0.68em; font-weight: 600; }
.drawer__pay { display: flex; flex-wrap: wrap; gap: 0.3em; justify-content: center; }
.drawer__pay span { padding: 0.2em 0.45em; border-radius: 0.25em; box-shadow: inset 0 0 0 1px #e5e5e5; font-size: 0.5em; color: #555; font-weight: 600; }
.mock-shop .notif--order { left: 1.5em; bottom: 0; animation: notif-in 6.4s var(--ease) infinite; animation-delay: 1.2s; }
.notif__app { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 0.55em; background: #f2f2f2; color: #1a1a1a; font-weight: 800; font-size: 0.75em; letter-spacing: 0.04em; flex: none; }

/* automatisations : éditeur de flux + e-mail reçu */
.mock-auto { aspect-ratio: 60 / 38.5; }
.flow { position: absolute; left: 0; top: 0; width: 45em; display: grid; grid-template-rows: 2em auto 20em auto; border-radius: 1em; background: #fff; color: #16181d; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 3em 5em -2em rgba(0, 0, 0, 0.85); overflow: hidden; font-family: var(--f-text); }
.flow__chrome { display: flex; align-items: center; gap: 0.35em; padding: 0 0.8em; background: #eef0f3; border-bottom: 1px solid #e2e5e9; }
.flow__chrome i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #d3d7dd; }
.flow__chrome span { margin: 0 auto; padding: 0.2em 1.4em; border-radius: 0.4em; background: #fff; font-size: 0.6em; color: #7b818c; }
.flow__bar { display: flex; align-items: center; gap: 0.7em; padding: 0.65em 1em; border-bottom: 1px solid #eceef1; }
.flow__ico { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.5em; background: #16181d; flex: none; }
.flow__ico svg { width: 1.15em; height: 1.15em; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flow__name b { display: block; font-size: 0.74em; font-weight: 700; letter-spacing: -0.01em; }
.flow__name small { display: block; font-size: 0.55em; color: #8a909b; }
.flow__bar .seg { margin-left: auto; }
.flow__live { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.6em; font-weight: 650; color: #15803d; }
.sw { position: relative; width: 3.1em; height: 1.75em; border-radius: 1em; background: #22c55e; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.15); }
.sw i { position: absolute; right: 0.2em; top: 0.2em; width: 1.35em; height: 1.35em; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.flow__test { padding: 0.6em 0.95em; border-radius: 0.5em; background: #16181d; color: #fff; font-size: 0.62em; font-weight: 650; white-space: nowrap; }
.flow__canvas { position: relative; background-color: #f7f8fa; background-image: radial-gradient(#d5d9df 1px, transparent 1.2px); background-size: 1.2em 1.2em; border-bottom: 1px solid #eceef1; }
.flow__wires { position: absolute; left: 0; top: 0; width: 45em; height: 20em; overflow: visible; }
.flow__wires path { fill: none; stroke: #b4bac4; stroke-width: 1.6; }
.flow__dot { fill: #1f6bff; filter: drop-shadow(0 0 3px rgba(31, 107, 255, 0.85)); }
.flow__tags text { font-family: var(--f-text); font-size: 7px; font-weight: 600; fill: #6b7280; }
.flow__tags text:first-child { text-anchor: middle; }
.fn { position: absolute; left: calc((var(--x) - 1.8) * 1em); top: calc(var(--y) * 1em); width: 8em; display: grid; justify-items: center; text-align: center; }
.fn__tile { position: relative; display: grid; place-items: center; width: 4.4em; height: 4.4em; margin-bottom: 0.45em; border-radius: 0.9em; background: #fff; box-shadow: 0 0 0 1px #d9dde3, 0 0.5em 1em -0.5em rgba(16, 24, 40, 0.3); animation: fn-hit 4s var(--d, 0s) infinite; }
@keyframes fn-hit { 0% { box-shadow: 0 0 0 0.16em #1f6bff, 0 0 1.4em rgba(31, 107, 255, 0.5); } 14%, 100% { box-shadow: 0 0 0 1px #d9dde3, 0 0.5em 1em -0.5em rgba(16, 24, 40, 0.3); } }
.fn--trigger .fn__tile { border-radius: 2.2em 0.9em 0.9em 2.2em; }
.fn__tile svg { width: 2em; height: 2em; fill: none; stroke: var(--c); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fn__ok { position: absolute; right: -0.45em; top: -0.45em; width: 1.25em; height: 1.25em; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0.16em #f7f8fa; }
.fn__ok::after { content: ""; position: absolute; left: 0.43em; top: 0.24em; width: 0.32em; height: 0.58em; border: solid #fff; border-width: 0 0.13em 0.13em 0; transform: rotate(45deg); }
.fn b { font-size: 0.58em; font-weight: 650; line-height: 1.2; }
.fn small { font-size: 0.5em; color: #8a909b; }
.fn--amber { --c: #e08a00; }
.fn--violet { --c: #7c4dff; }
.fn--teal { --c: #0f9b8e; }
.fn--red { --c: #e5484d; }
.fn--sky { --c: #0ea5e9; }
.fn--green { --c: #16a34a; }
.flow__status { position: absolute; left: 1em; top: 0.8em; display: inline-flex; align-items: center; gap: 0.45em; padding: 0.3em 0.7em; border-radius: 1em; background: #ecfdf3; color: #15803d; font-size: 0.55em; font-weight: 650; }
.flow__status i { width: 0.6em; height: 0.6em; border-radius: 50%; background: #22c55e; }
.flow__zoom { position: absolute; left: 1em; bottom: 0.8em; display: flex; border-radius: 0.4em; background: #fff; box-shadow: 0 0 0 1px #e1e4e8; font-size: 0.55em; color: #4b5160; }
.flow__zoom span { display: grid; place-items: center; min-width: 2.2em; padding: 0.3em 0.5em; }
.flow__zoom span + span { border-left: 1px solid #e1e4e8; }
.runs { display: grid; gap: 0.25em; padding: 0.75em 1em 0.9em; }
.runs__h { display: flex; justify-content: space-between; margin-bottom: 0.3em; font-size: 0.62em; }
.runs__h b { font-weight: 700; }
.runs__h span { color: #1f6bff; font-weight: 600; }
.runs__row { display: grid; grid-template-columns: 7em 11em 1fr auto; align-items: center; gap: 1em; padding: 0.55em 0.8em; border-radius: 0.5em; font-size: 0.58em; color: #3b404a; }
.runs__row:nth-child(2) { background: #f6f7f9; }
.st { display: inline-flex; align-items: center; gap: 0.45em; justify-self: start; padding: 0.2em 0.6em; border-radius: 1em; background: #ecfdf3; color: #15803d; font-weight: 650; }
.st i { width: 0.55em; height: 0.55em; border-radius: 50%; background: #22c55e; }
.runs__t { color: #8a909b; font-variant-numeric: tabular-nums; }
.inbox { position: absolute; right: 0; top: 18.3em; width: 20em; display: grid; gap: 0.6em; padding: 0.95em 1.1em 1.05em; border-radius: 1em; background: #fff; color: #16181d; box-shadow: 0 0 0 1px rgba(10, 11, 13, 0.1), 0 2.6em 4.4em -1.4em rgba(0, 0, 0, 0.9); font-family: var(--f-text); }
.inbox__bar { display: flex; align-items: center; gap: 0.6em; padding-bottom: 0.8em; border-bottom: 1px solid #eef0f2; font-size: 0.6em; color: #6b7280; }
.inbox__app { display: grid; place-items: center; width: 2em; height: 2em; border-radius: 0.55em; background: #e8efff; }
.inbox__app svg { width: 1.2em; height: 1.2em; fill: none; stroke: #1f6bff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.inbox__bar b { color: #16181d; font-weight: 650; }
.inbox__bar small { margin-left: auto; font-size: 1em; }
.inbox__from { display: flex; align-items: center; gap: 0.6em; }
.inbox__from b { display: block; font-size: 0.7em; font-weight: 700; }
.inbox__from small { display: block; font-size: 0.55em; color: #8a909b; }
.av--d { background: linear-gradient(135deg, #3a3f48, #0a0b0d); }
.inbox__subj { font-size: 0.8em; font-weight: 720; letter-spacing: -0.01em; line-height: 1.25; }
.inbox__body { display: grid; gap: 0.5em; font-size: 0.6em; line-height: 1.45; color: #3b404a; }
.inbox__btn { justify-self: start; padding: 0.6em 1em; border-radius: 0.45em; background: #1f6bff; color: #fff; font-size: 0.62em; font-weight: 650; box-shadow: 0 0.5em 1em -0.5em rgba(31, 107, 255, 0.8); }
.inbox__foot { padding-top: 0.8em; border-top: 1px solid #f0f1f3; font-size: 0.52em; color: #8a909b; }

/* ---------- contact ---------- */
.contact { padding-top: calc(var(--hdr) + clamp(3rem, 9vh, 6rem)); margin-top: 0; border-radius: 0; overflow: hidden; isolation: isolate; }
.contact::before { display: none; }
.contact__bg { position: absolute; inset: 0 0 auto 38%; height: min(100vh, 860px); z-index: -1; pointer-events: none; opacity: 0.75; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 40%, transparent 95%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 45%), linear-gradient(180deg, #000 40%, transparent 95%); mask-composite: intersect; }
.contact__bg > div { position: absolute; inset: 0; }
.contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 3rem; align-items: start; }
.contact__copy { grid-column: 1 / span 5; display: grid; gap: 1.8rem; justify-items: start; }
.contact__title { font-size: var(--fs-title); font-weight: 800; font-stretch: 112%; line-height: 0.94; letter-spacing: -0.035em; }
.contact__lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.3vw, 1.22rem); max-width: 36ch; }
.next { display: grid; gap: 1rem; width: 100%; padding-block: 1.4rem; border-block: 1px solid var(--line-d); }
.next li { display: grid; grid-template-columns: 3rem 1fr; gap: 0.8rem; align-items: baseline; }
.next .dot { color: var(--signal-hi); }
.next b { display: block; font-weight: 700; font-stretch: 108%; letter-spacing: -0.01em; }
.next small { color: var(--silver); font-size: 0.92rem; }
.contact__mail { display: grid; gap: 0.3rem; }
.contact__mail .dot { color: var(--silver-2); font-size: 0.76rem; }
.contact__mail a { font-weight: 700; font-stretch: 112%; font-size: clamp(1.15rem, 1.6vw, 1.5rem); letter-spacing: -0.02em; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 100%; transition: background-size 0.6s var(--ease); }
.contact__mail a:hover { background-size: 0 1px; background-position: 100% 100%; }

/* le formulaire : une plaque d'aluminium */
.form { grid-column: 7 / -1; display: grid; gap: 1.6rem; padding: clamp(1.4rem, 2.6vw, 2.4rem); border-radius: 24px; color: var(--alu-ink); background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0 1px, rgba(0, 0, 0, 0.03) 1px 2px, rgba(255, 255, 255, 0) 2px 4px), linear-gradient(180deg, #f2f3f5, #d9dce1); box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(0, 0, 0, 0.5), 0 50px 90px -40px rgba(0, 0, 0, 0.9); }
.form__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line-l); color: var(--alu-mute); }
.form__led { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-dot); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--signal); }
.form__led i { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px var(--led); animation: blink 2.4s steps(1) infinite; }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1.2rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.toggles legend { padding: 0; margin-bottom: 0.9rem; color: var(--alu-mute); font-size: 0.8rem; }
.toggle { position: relative; display: flex; align-items: center; gap: 0.8rem; padding: 0.55rem 0.7rem 0.55rem 0.55rem; border-radius: 12px; background: rgba(255, 255, 255, 0.45); box-shadow: inset 0 0 0 1px var(--line-l); cursor: pointer; font-weight: 600; font-size: 0.95rem; transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.toggle:hover { background: rgba(255, 255, 255, 0.75); }
.toggle input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.toggle__sw { position: relative; flex: none; width: 2.7rem; height: 1.55rem; border-radius: 99px; background: linear-gradient(180deg, #b8bcc3, #d3d6db); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3); transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.toggle__sw i { position: absolute; left: 3px; top: 3px; width: calc(1.55rem - 6px); height: calc(1.55rem - 6px); border-radius: 50%; background: linear-gradient(180deg, #ffffff, #d5d8dd); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35), inset 0 1px 0 #fff; transition: transform 0.45s var(--ease); }
.toggle input:checked ~ .toggle__sw { background: linear-gradient(180deg, #2f6eff, #1b5bf0); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 0 12px rgba(31, 107, 255, 0.55); }
.toggle input:checked ~ .toggle__sw i { transform: translateX(1.15rem); }
.toggle:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 107, 255, 0.45); }
.toggle input:focus-visible ~ .toggle__sw { outline: 2px solid var(--signal); outline-offset: 2px; }
.form__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.field { display: grid; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--alu-mute); font-size: 0.78rem; }
.field label small { font-size: 0.75rem; font-family: var(--f-text); text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field textarea { width: 100%; padding: 0.85rem 1rem; border: 0; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--alu-ink); background: linear-gradient(180deg, #e3e6ea, #f5f6f8); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(10, 11, 13, 0.12); outline: none; transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease); }
.field textarea { resize: vertical; min-height: 7.5rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { background: #fff; box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08), 0 0 0 2px var(--signal); }
.field.is-invalid input { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1), 0 0 0 2px #e5484d; }
.field__err { font-size: 0.82rem; color: #c4373c; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line-l); }
.form__legal { font-size: 0.8rem; color: var(--alu-mute); max-width: 42ch; line-height: 1.5; }
.form__legal a { color: var(--alu-ink); text-decoration: underline; text-underline-offset: 3px; }
.form__status { display: none; padding: 1.1rem 1.3rem; border-radius: 14px; font-size: 0.96rem; line-height: 1.5; }
.form__status.is-ok { display: block; background: #fff; color: var(--alu-ink); box-shadow: inset 0 0 0 1px rgba(31, 107, 255, 0.5); }
.form__status.is-err { display: block; background: #fff1f1; color: #8f2327; box-shadow: inset 0 0 0 1px rgba(229, 72, 77, 0.4); }
.form__status strong { display: block; font-weight: 760; font-stretch: 112%; font-size: 1.15rem; margin-bottom: 0.2rem; }
.form__status a { text-decoration: underline; }

/* ---------- pages légales ---------- */
.legal { padding-top: calc(var(--hdr) + clamp(3rem, 9vh, 6rem)); margin-top: 0; border-radius: 0; }
.legal__inner { max-width: 820px; margin: 0 auto; }
.legal h1 { font-weight: 780; font-stretch: 112%; font-size: var(--fs-section); line-height: 0.96; letter-spacing: -0.035em; margin: 1.2rem 0 0.8rem; }
.legal .updated { color: var(--silver); font-size: 0.92rem; margin-bottom: 3rem; }
.legal h2 { font-weight: 720; font-stretch: 112%; font-size: 1.35rem; letter-spacing: -0.02em; margin: 2.6rem 0 0.8rem; }
.legal p, .legal li { color: var(--muted); margin-bottom: 0.9rem; }
.legal ul { padding-left: 1.2rem; list-style: disc; }
.legal strong { color: var(--chrome); font-weight: 650; }
.legal a { color: var(--chrome); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--silver-2); }
.legal .legal-box { padding: 1.4rem 1.6rem; border-radius: 16px; background: var(--black-2); box-shadow: inset 0 0 0 1px var(--line-d2); margin-bottom: 1rem; }

/* ---------- états de départ des révélations (avec JS) ---------- */
.js:not(.fallback) [data-hero] .ln > span { transform: translateY(108%); }
.js:not(.fallback) [data-hero-fade] { opacity: 0; }
.js:not(.fallback) [data-reveal="lines"] .ln > span { transform: translateY(108%); }
.js:not(.fallback) [data-reveal="fade"] { opacity: 0; transform: translateY(24px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__clock { display: none; }
  .hero__copy { grid-column: 1 / span 8; }
}
@media (max-width: 1023px) {
  :root { --hdr: 4rem; }
  .hdr { grid-template-columns: 1fr auto; }
  .hdr__nav, .hdr__meta { display: none; }
  .hdr__burger { display: inline-flex; align-items: center; gap: 0.7rem; justify-self: end; height: 2.6rem; padding: 0 1rem; border-radius: 10px; font-size: 0.86rem; font-weight: 600; background: linear-gradient(180deg, #1b1e24, #111317); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.6); z-index: 101; }
  .hdr__burger i { position: relative; width: 16px; height: 8px; }
  .hdr__burger i::before, .hdr__burger i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.6s var(--ease), top 0.6s var(--ease); }
  .hdr__burger i::before { top: 0; }
  .hdr__burger i::after { top: 6.5px; }
  .hdr__burger[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
  .hdr__burger[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }
  .hdr__brand .mark { width: 52px; }

  .hero { padding-top: calc(var(--hdr) + 0.5rem); }
  .hero__stage { inset: 0 0 auto 0; height: 62vw; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hero__grid { align-content: start; row-gap: 1.6rem; }
  .hero__logo { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 100%; margin: 1.5rem 0 0.5rem; }
  .hero__copy { grid-column: 1 / -1; grid-row: 2; }
  .hero__down { display: none; }
  .boot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .boot__meter { justify-items: start; }

  .statement__title, .statement__lead { grid-column: 1 / -1; }
  .statement__lead { grid-row: auto; }
  .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
  .chain::before, .chain::after { display: none; }
  .svc__head .h2 { grid-column: 1 / -1; }
  .svc__head .key { grid-column: 1 / -1; justify-self: start; margin-top: 1.6rem; }
  .svc__list { grid-column: 1 / -1; }
  .svc__stage { display: none; }
  .svc__desc { max-height: none; opacity: 1; margin-top: 0.6rem; }
  .svc__name { color: var(--chrome); }
  .method__head .h2, .method__intro { grid-column: 1 / -1; }
  .method__intro { margin-top: 1.2rem; }
  .rail__keys { grid-template-columns: 1fr 1fr; }
  .rail__track { display: none; }
  .faq__aside { grid-column: 1 / -1; position: static; margin-bottom: 2.5rem; }
  .faq__list { grid-column: 1 / -1; }
  .footer__ask, .footer__ctas { grid-column: 1 / -1; }
  .footer__ctas { justify-content: flex-start; margin-top: 1.6rem; }
  .footer__col--about { grid-column: 1 / -1; }
  .footer__col, .footer__col:nth-child(2) { grid-column: span 6; }
  .phero__title, .phero__lead { grid-column: 1 / -1; }
  .phero__index { grid-template-columns: 1fr; }
  .phero__index a, .phero__index a:first-child { grid-template-columns: 48px 1fr; column-gap: 1rem; row-gap: 0.15rem; align-items: center; padding: 1rem 2.4rem 1rem 0; border-left: 0; border-bottom: 1px solid var(--line-l); }
  .phero__index .emb { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; }
  .phero__index span { max-width: none; }
  .phero__index svg { right: 0.3rem; top: 50%; margin-top: -0.5rem; }
  .chap__txt, .chap__grid--rev .chap__txt { grid-column: 1 / -1; grid-row: 1; }
  .chap__stage, .chap__grid--rev .chap__stage { grid-column: 1 / -1; grid-row: 2; margin-top: 3rem; }
  .contact__copy, .form { grid-column: 1 / -1; }
  .contact__bg { inset: 0 0 auto 0; opacity: 0.4; }
}
@media (max-width: 640px) {
  .hero__title .ln > span { font-stretch: var(--w, 112%); }
  .hero__bar a:nth-child(n + 4) { display: none; }
  .chain { grid-template-columns: 1fr 1fr; }
  .svc__name { font-stretch: 105%; }
  .svc__row:hover .svc__name, .svc__row.is-on .svc__name { font-stretch: 108%; }
  .rail__keys { grid-template-columns: 1fr; }
  .rail__key { min-height: 0; padding-bottom: 1.8rem; }
  .qa__a p { padding: 0 0 1.5rem 0; }
  .footer__col, .footer__col:nth-child(2) { grid-column: 1 / -1; }
  .toggles, .form__fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* en-tête posé sur l'aluminium (haut de la page Prestations) */
[data-page="prestations"] .hdr:not(.is-scrolled) .hdr__brand .mark { color: var(--alu-ink); }
[data-page="prestations"] .hdr:not(.is-scrolled) .hdr__clock { color: var(--alu-mute); }
[data-page="prestations"] .hdr:not(.is-scrolled) .hdr__burger { color: #fff; }

/* titre long (Automatisations) sur une seule ligne */
.chap__title--long { font-stretch: 100%; white-space: nowrap; }

/* ---------- tous écrans : cas particuliers ---------- */
/* titre long : ne déborde jamais, même sur un Galaxy Fold plié (280 px) */
.chap__title--long { font-size: min(var(--fs-chapter), 10.4vw); }

/* téléphone tenu à l'horizontale : le logo passe à droite, le titre et les boutons restent visibles */
@media (max-width: 1023px) and (orientation: landscape) and (max-height: 560px) {
  .hero { padding-top: calc(var(--hdr) + 0.75rem); }
  .hero__stage { inset: 0 0 0 30%; height: auto; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
  .hero__grid { align-content: center; row-gap: 0; }
  .hero__copy { grid-column: 1 / span 7; grid-row: 1; gap: 0.9rem; }
  .hero__logo { grid-column: 8 / -1; grid-row: 1; width: 100%; margin: 0; }
  .hero__title { font-size: clamp(1.9rem, 10.5vh, 2.7rem); }
  .hero__lead { font-size: 0.95rem; }
  .hero__bar { display: none; }
  .menu { padding-top: calc(var(--hdr) + 1rem); }
  .menu nav a { font-size: clamp(1.5rem, 9vh, 2.6rem); }
  .plate { padding-block: 4rem calc(4rem + var(--plate-r)); }
  .phero { padding-top: calc(var(--hdr) + 2.5rem); }
}

/* doigt plutôt que souris : cibles d'au moins 44 px */
@media (pointer: coarse) {
  .hdr__brand, .hdr__nav a, .hero__bar a, .footer__col a, .footer__bottom a, .contact__mail a { min-height: 44px; display: inline-flex; align-items: center; }
  .footer__col { gap: 0; }
}

/* écrans sans survol : pas d'effet collant après un toucher */
@media (hover: none) {
  .phero__index a:hover .emb, .chain li:hover .emb, .footer__col a:hover .emb { transform: none; }
}

/* ---------- mentions légales : document structuré (sommaire + articles + plaque signalétique) ---------- */
.legal--doc { padding-bottom: calc(clamp(4rem, 10vh, 7rem) + var(--plate-r)); }
.ldoc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.ldoc__head { grid-column: 1 / -1; padding-bottom: clamp(2rem, 5vh, 3.25rem); margin-bottom: clamp(2.25rem, 6vh, 3.75rem); border-bottom: 1px solid var(--line-d); }
.legal--doc .ldoc__head h1 { margin: 0; font-size: var(--fs-title); font-weight: 800; font-stretch: 112%; line-height: 0.94; letter-spacing: -0.035em; }
.legal--doc .ldoc__lead { margin: 1.4rem 0 0; max-width: 64ch; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); }
.legal--doc .ldoc__date { margin: 1.2rem 0 0; color: var(--silver-2); }
.ldoc__toc { grid-column: 1 / span 4; align-self: start; position: sticky; top: calc(var(--hdr) + 1.5rem); }
.legal--doc .ldoc__toc-h { margin: 0 0 1rem; color: var(--silver-2); }
.ldoc__toc ol { display: grid; border-left: 1px solid var(--line-d); }
.legal--doc .ldoc__toc ol a { display: flex; align-items: baseline; gap: 0.85rem; margin-left: -1px; padding: 0.42rem 0 0.42rem 1.05rem; border-left: 1px solid transparent; color: var(--silver); font-size: 0.95rem; text-decoration: none; transition: color 0.25s ease, border-color 0.25s ease; }
.ldoc__toc ol a .dot { color: var(--silver-2); font-size: 0.76rem; transition: color 0.25s ease; }
.legal--doc .ldoc__toc ol a:hover, .legal--doc .ldoc__toc ol a.is-active { color: var(--chrome); border-left-color: var(--signal-hi); }
.ldoc__toc ol a.is-active .dot { color: var(--signal-hi); }
.legal--doc .ldoc__toc-more { margin: 1.5rem 0 0; color: var(--silver-2); font-size: 0.9rem; }
.ldoc__body { grid-column: 6 / -1; min-width: 0; }
.ldoc__art { scroll-margin-top: calc(var(--hdr) + 1.5rem); padding-bottom: 2.6rem; }
.ldoc__art + .ldoc__art { padding-top: 2.6rem; border-top: 1px solid var(--line-d); }
.legal--doc .ldoc__art h2 { display: flex; align-items: baseline; gap: 0.9rem; margin: 0 0 1.1rem; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 740; font-stretch: 110%; line-height: 1.12; letter-spacing: -0.025em; }
.ldoc__art h2 .dot { color: var(--signal-hi); font-size: 0.82rem; }
.legal--doc .ldoc__body p, .legal--doc .ldoc__body li { max-width: 66ch; line-height: 1.7; }
.legal--doc .ldoc__list { display: grid; gap: 0.55rem; padding: 0; list-style: none; }
.legal--doc .ldoc__list li { position: relative; margin: 0; padding-left: 1.25rem; }
.ldoc__list li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--signal-hi); }

/* plaque signalétique : l'identité de l'éditeur gravée sur de l'aluminium */
.nameplate { position: relative; margin: 1.2rem 0 1.5rem; padding: 1.7rem 1.9rem 1.5rem; border-radius: 16px; color: var(--alu-ink); background-color: #dfe2e6; background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 1px, rgba(0, 0, 0, 0.025) 1px 3px), linear-gradient(180deg, #f4f6f8, #d5d9de); box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.55), 0 26px 44px -26px rgba(0, 0, 0, 0.95); }
.nameplate__rivet { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff, #a9afb7 60%, #6b717a); box-shadow: inset 0 -1px 1px rgba(0, 0, 0, 0.35), 0 1px 1px rgba(255, 255, 255, 0.8); }
.nameplate__rivet:nth-of-type(1) { left: 12px; top: 12px; }
.nameplate__rivet:nth-of-type(2) { right: 12px; top: 12px; }
.nameplate__rivet:nth-of-type(3) { left: 12px; bottom: 12px; }
.nameplate__rivet:nth-of-type(4) { right: 12px; bottom: 12px; }
.legal--doc .nameplate__brand { display: flex; align-items: center; gap: 0.9rem; max-width: none; margin: 0 0 1.15rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(10, 11, 13, 0.16); color: var(--alu-ink); font-size: 1.32rem; font-weight: 780; font-stretch: 115%; letter-spacing: -0.02em; line-height: 1; }
.nameplate__mark { width: 3.3rem; height: auto; color: var(--alu-ink); }
.nameplate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem 2rem; margin: 0; }
.nameplate__grid div { display: grid; align-content: start; gap: 0.22rem; }
.nameplate__grid dt { color: var(--alu-mute); font-size: 0.75rem; }
.nameplate__grid dd { margin: 0; color: var(--alu-ink); font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.legal--doc .nameplate a { color: var(--alu-ink); text-decoration-color: rgba(10, 11, 13, 0.35); }

/* fiche de l'hébergeur */
.hostgrid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 0.4rem 0 1.2rem; }
.hostgrid .hostcard { margin: 0; }
.legal--doc .hostcard__role { margin-bottom: 0.7rem; color: var(--silver-2); font-size: 0.75rem; }
@media (max-width: 640px) { .hostgrid { grid-template-columns: 1fr; } }
.hostcard { margin: 0.4rem 0 1.2rem; padding: 1.25rem 1.45rem; border-radius: 14px; background: var(--black-2); box-shadow: inset 0 0 0 1px var(--line-d2); }
.legal--doc .hostcard p { margin: 0 0 0.45rem; }
.legal--doc .hostcard p:last-child { margin-bottom: 0; }
.legal--doc .hostcard__name { color: var(--chrome); font-size: 1.08rem; font-weight: 700; font-stretch: 110%; }

@media (max-width: 1023px) {
  .ldoc__toc { grid-column: 1 / -1; position: static; margin-bottom: 2.75rem; }
  .ldoc__toc ol { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; border-left: 0; }
  .legal--doc .ldoc__toc ol a { border-left: 0; padding-left: 0; }
  .ldoc__body { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ldoc__toc ol { grid-template-columns: 1fr; }
  .nameplate { padding: 1.5rem 1.3rem 1.3rem; }
  .nameplate__grid { grid-template-columns: 1fr; }
}
@media (pointer: coarse) {
  .legal--doc .ldoc__toc ol a { min-height: 44px; align-items: center; }
}

/* impression : un document propre, noir sur blanc */
@media print {
  .hdr, .menu, .footer, .ldoc__toc, .skip, .boot { display: none !important; }
  html, body, .plate, .legal--doc { background: #fff !important; color: #000 !important; }
  body::after { display: none !important; }
  .legal--doc { padding: 0 !important; margin: 0 !important; }
  .ldoc__body { grid-column: 1 / -1; }
  .legal--doc p, .legal--doc li, .legal--doc h1, .legal--doc h2, .legal--doc a, .legal--doc strong, .ldoc__art h2 .dot { color: #000 !important; }
  .nameplate, .hostcard { background: #fff !important; box-shadow: none !important; border: 1px solid #999; }
  .nameplate__rivet { display: none; }
  .ldoc__art { break-inside: avoid; }
}

/* écrans de moins de 320 px (Galaxy Fold plié, 280 px) : le titre d'accueil touchait le bord ; au-dessus de 320 px, rien ne change */
@media (max-width: 319px) { .hero__title { font-size: 13.5vw; } }
