@font-face { font-family: "Archivo"; src: url("/fonts/Archivo-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root, [data-theme="dark"] {
  --ground: #151210;
  --surface: #1d1916;
  --surface-raised: #27221d;
  --surface-inverse: #f4eee4;
  --line: #38312a;
  --line-strong: #7d7265;
  --ink: #f4eee4;
  --ink-muted: #b5ab9c;
  --ink-inverse: #1b1714;
  --accent: #eba63c;
  --accent-hover: #f5b959;
  --on-accent: #1b1408;
  --accent-ink: #eba63c;
  --stage-ambre: #e9a23b;
  --stage-ciel: #a3c2e0;
  --stage-argile: #e58e6e;
  --stage-prairie: #b4cf8f;
  --on-stage: #1b1714;
  --focus: #f4eee4;
  --danger: #ff9a85;
  --success: #9cc4ea;
  --shadow-device: 0 28px 60px -24px rgba(0,0,0,0.6);
}
[data-theme="light"] {
  --ground: #f5f0e6;
  --surface: #ece5d8;
  --surface-raised: #fdfaf4;
  --surface-inverse: #1b1714;
  --line: #d8cdbb;
  --line-strong: #857967;
  --ink: #1b1714;
  --ink-muted: #5c5347;
  --ink-inverse: #f4eee4;
  --accent: #eba63c;
  --accent-hover: #dd952a;
  --on-accent: #1b1408;
  --accent-ink: #854c05;
  --stage-ambre: #e9a23b;
  --stage-ciel: #a3c2e0;
  --stage-argile: #e58e6e;
  --stage-prairie: #b4cf8f;
  --on-stage: #1b1714;
  --focus: #1b1714;
  --danger: #a8321b;
  --success: #1f5a8f;
  --shadow-device: 0 28px 60px -28px rgba(40,28,10,0.35);
}
:root {
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --container: 1280px;
  --measure: 62ch;
  --bp-md: 768px;
  --bp-lg: 1100px;
  --dur-fast: 160ms;
  --dur-base: 420ms;
  --dur-slow: 900ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-text: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

/* Samaria Studio — feuille de composants du site.
   Dépend de tokens.css (couleurs, espacements, rayons, polices). Classes préfixées ss-.
   Mobile d'abord : deux points de rupture, 768px (bp-md) et 1100px (bp-lg). */

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

:root { --gutter: var(--space-4); }
@media (min-width: 768px) { :root { --gutter: var(--space-5); } }
@media (min-width: 1100px) { :root { --gutter: var(--space-7); } }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }

/* lien d'évitement : premier élément du <body>, visible au focus */
.ss-skip { position: absolute; left: var(--space-4); top: -100px; z-index: 20; padding: var(--space-3) var(--space-4); background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; text-decoration: none; }
.ss-skip:focus { top: var(--space-3); }

/* ───────── Mise en page ───────── */
.ss-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.ss-section { padding-block: var(--space-8); }
.ss-section--surface { background: var(--surface); }
.ss-section--tight { padding-block: var(--space-7); }
@media (min-width: 1100px) {
  .ss-section { padding-block: var(--space-10); }
  .ss-section--tight { padding-block: var(--space-8); }
}
.ss-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.ss-stack > * + * { margin-top: var(--space-5); }

/* ───────── Typographie ───────── */
.ss-display-xl, .ss-display-lg, .ss-display-md, .ss-title, .ss-subtitle {
  font-family: var(--font-display); margin: 0; text-wrap: balance;
}
/* Titres en Archivo 900, en capitales. Les tailles mobiles laissent tenir le mot le plus long sur une ligne. */
.ss-display-xl { font-weight: 900; font-size: clamp(30px, 9.2vw, 112px); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; }
.ss-display-lg { font-weight: 900; font-size: clamp(26px, 7.6vw, 80px); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; }
.ss-display-md { font-weight: 900; font-size: clamp(26px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; }
.ss-title { font-weight: 900; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.15; letter-spacing: -.02em; text-transform: uppercase; }
.ss-subtitle { font-weight: 500; font-size: clamp(19px, 1.8vw, 22px); line-height: 1.3; letter-spacing: -.01em; }
.ss-lede { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; letter-spacing: -.005em; color: var(--ink-muted); max-width: 48ch; text-wrap: pretty; }
.ss-body { margin: 0; font-size: 17px; line-height: 1.6; max-width: var(--measure); text-wrap: pretty; }
.ss-body-sm { margin: 0; font-size: 15px; line-height: 1.5; }
.ss-label { margin: 0; font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.ss-caption { margin: 0; font-family: var(--font-mono); font-weight: 400; font-size: 12px; line-height: 1.4; letter-spacing: .04em; }
.ss-muted { color: var(--ink-muted); }
.ss-accent { color: var(--accent-ink); }

/* ───────── Focus clavier ───────── */
.ss-btn:focus-visible, .ss-link:focus-visible, .ss-nav__link:focus-visible, .ss-wordmark:focus-visible,
.ss-input:focus-visible, .ss-textarea:focus-visible, .ss-select:focus-visible, .ss-nav__toggle:focus-visible,
.ss-index__row:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--ground), 0 0 0 4px var(--focus);
}

/* ───────── Wordmark ───────── */
.ss-wordmark { display: inline-flex; align-items: baseline; gap: .3em; font-family: var(--font-display); font-size: 20px; line-height: 1; letter-spacing: -.03em; color: var(--ink); text-decoration: none; border-radius: var(--radius-xs); white-space: nowrap; }
.ss-wordmark b { font-weight: 700; }
.ss-wordmark span { font-weight: 400; }
.ss-wordmark--lg { font-size: 40px; }

/* ───────── Button ───────── */
.ss-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-3);
  min-height: 52px; padding: 0 var(--space-5);
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font-text); font-weight: 600; font-size: 16px; line-height: 1.2; letter-spacing: -.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}
.ss-btn__arrow { width: 16px; height: 16px; flex: none; transition: transform var(--dur-fast) var(--ease-out); }
.ss-btn:hover .ss-btn__arrow { transform: translateX(4px); }
.ss-btn--primary { background: var(--surface-inverse); color: var(--ink-inverse); }
.ss-btn--primary:hover, .ss-btn--primary.is-hover { background: var(--accent); color: var(--on-accent); }
.ss-btn--primary:active { background: var(--accent-hover); color: var(--on-accent); }
.ss-btn--secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.ss-btn--secondary:hover, .ss-btn--secondary.is-hover { border-color: var(--ink); background: var(--surface-raised); }
.ss-btn--sm { min-height: 44px; padding: 0 var(--space-4); font-size: 15px; }
.ss-btn--block { width: 100%; }
.ss-btn[disabled], .ss-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
/* sur surface-inverse (section d'appel) : le bouton principal passe en aplat accent */
.ss-on-inverse .ss-btn--primary { background: var(--accent); color: var(--on-accent); }
.ss-on-inverse .ss-btn--primary:hover { background: var(--accent-hover); }
.ss-on-inverse .ss-btn:focus-visible { box-shadow: 0 0 0 2px var(--surface-inverse), 0 0 0 4px var(--ink-inverse); }

/* lien texte avec flèche */
.ss-link { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--ink); font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: underline; text-decoration-color: var(--line-strong); text-decoration-thickness: 1px; text-underline-offset: 6px; border-radius: var(--radius-xs); transition: color var(--dur-fast) var(--ease-out), text-decoration-color var(--dur-fast) var(--ease-out); }
.ss-link:hover, .ss-link.is-hover { color: var(--accent-ink); text-decoration-color: var(--accent-ink); }
.ss-link:hover .ss-btn__arrow { transform: translateX(4px); }

/* ───────── Nav ───────── */
.ss-header { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--line); }
.ss-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 72px; }
.ss-nav__links { display: none; align-items: center; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.ss-nav__link { display: inline-block; padding: var(--space-2) 0; color: var(--ink-muted); font-weight: 500; font-size: 15px; line-height: 1.2; text-decoration: none; border-radius: var(--radius-xs); transition: color var(--dur-fast) var(--ease-out); }
.ss-nav__link:hover { color: var(--ink); }
.ss-nav__link[aria-current="page"] { color: var(--ink); box-shadow: 0 2px 0 0 var(--accent); }
.ss-nav__end { display: flex; align-items: center; gap: var(--space-3); }
.ss-nav__cta { display: none; }
.ss-nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 44px; height: 44px; padding: 0; background: transparent; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); cursor: pointer; }
.ss-nav__toggle span { display: block; width: 18px; height: 1.5px; background: currentColor; }
@media (min-width: 768px) { .ss-nav__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .ss-nav__links { display: flex; }
  .ss-nav__toggle { display: none; }
}
/* menu mobile ouvert */
.ss-menu { background: var(--surface-raised); padding: var(--space-5) var(--gutter) var(--space-6); border-bottom: 1px solid var(--line); }
.ss-menu__list { list-style: none; margin: 0 0 var(--space-6); padding: 0; }
.ss-menu__link { display: flex; align-items: baseline; gap: var(--space-4); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 32px; line-height: 1.1; letter-spacing: -.03em; }
.ss-menu__link .ss-label { color: var(--accent-ink); }
/* barre d'appel fixe en bas d'écran, mobile uniquement */
.ss-ctabar { position: sticky; bottom: 0; z-index: 9; padding: var(--space-3) var(--gutter); background: var(--ground); border-top: 1px solid var(--line); }
@media (min-width: 768px) { .ss-ctabar { display: none; } }

/* ───────── SectionHeader ───────── */
.ss-sechead { display: grid; gap: var(--space-5); margin-bottom: var(--space-7); }
.ss-sechead__label { display: flex; align-items: center; gap: var(--space-3); color: var(--ink-muted); }
.ss-sechead__label b { font-weight: 500; color: var(--accent-ink); }
.ss-sechead__body > * + * { margin-top: var(--space-5); }
@media (min-width: 1100px) {
  .ss-sechead { grid-template-columns: 3fr 9fr; gap: var(--space-6); margin-bottom: var(--space-9); }
  .ss-sechead__label { padding-top: 14px; align-items: flex-start; }
}

/* ───────── Status / Tag ───────── */
.ss-status { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-xs); color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ss-status__dot { width: 9px; height: 9px; flex: none; border-radius: 50%; border: 1.5px solid currentColor; }
.ss-status--idea .ss-status__dot { border-style: dashed; }
.ss-status--live .ss-status__dot { background: var(--accent); border-color: var(--accent); }
.ss-stage .ss-status { color: var(--on-stage); border-color: var(--on-stage); }
.ss-stage .ss-status--live .ss-status__dot { background: var(--on-stage); border-color: var(--on-stage); }
.ss-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; margin: 0; padding: 0; }
.ss-tag { display: inline-flex; padding: 6px 10px; background: var(--surface-raised); border-radius: var(--radius-xs); color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; line-height: 1.4; letter-spacing: .04em; }

/* ───────── Todo : contenu à compléter ───────── */
.ss-todo { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 120px; padding: var(--space-5); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-md); color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; line-height: 1.5; letter-spacing: .04em; text-transform: uppercase; }
.ss-todo--inline { display: inline; min-height: 0; padding: 2px 6px; border-width: 1px; border-radius: var(--radius-xs); }
.ss-todo--fill { width: 100%; height: 100%; min-height: 0; border: 0; border-radius: 0; }
.ss-stage .ss-todo:not(.ss-device .ss-todo) { color: var(--on-stage); border-color: var(--on-stage); }

/* ───────── Device : cadres d'appareil ───────── */
.ss-device { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-device); overflow: hidden; color: var(--ink); }
.ss-device__bar { display: flex; align-items: center; gap: var(--space-2); height: 36px; padding: 0 var(--space-3); border-bottom: 1px solid var(--line); }
.ss-device__bar i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--line-strong); }
.ss-device__url { margin-left: var(--space-3); color: var(--ink-muted); font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-device__screen { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ss-device--phone { width: 100%; max-width: 240px; padding: 7px; border-radius: calc(var(--radius-lg) + 7px); }
.ss-device--phone .ss-device__screen { aspect-ratio: 9 / 19; border-radius: var(--radius-lg); overflow: hidden; }
div.ss-device__screen { display: flex; }

/* ───────── Stage : scène produit ───────── */
.ss-stage { position: relative; padding: var(--space-5); border-radius: var(--radius-lg); color: var(--on-stage); overflow: hidden; }
.ss-stage--ambre { background: var(--stage-ambre); }
.ss-stage--ciel { background: var(--stage-ciel); }
.ss-stage--argile { background: var(--stage-argile); }
.ss-stage--prairie { background: var(--stage-prairie); }
.ss-stage__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-5); }
.ss-stage__devices { position: relative; }
.ss-stage__devices--duo { padding-right: 14%; padding-bottom: 12%; }
.ss-stage__phone { position: absolute; right: 0; bottom: 0; width: 30%; }
@media (min-width: 1100px) { .ss-stage { padding: var(--space-7); } }

/* ───────── Project : présentation d'un produit ───────── */
.ss-project { display: grid; gap: var(--space-6); padding-block: var(--space-7); border-top: 1px solid var(--line); }
.ss-project__text > * + * { margin-top: var(--space-5); }
.ss-project__index { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); color: var(--ink-muted); }
.ss-project__index b { font-weight: 500; color: var(--accent-ink); }
.ss-project__desc { color: var(--ink-muted); }
.ss-project__features { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-5); border-top: 1px solid var(--line); }
.ss-project__features li { padding: var(--space-3) 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.4; }
/* sous 1100px : nom et phrase, puis la scène, puis le détail */
@media (max-width: 1099px) {
  .ss-project { gap: var(--space-4); }
  .ss-project__text { display: contents; }
  .ss-project__text > * + * { margin-top: 0; }
  .ss-project > .ss-stage { order: 2; margin-block: var(--space-3); }
  .ss-project__desc, .ss-project__features, .ss-project__text > .ss-actions { order: 3; }
}
@media (min-width: 1100px) {
  .ss-project { grid-template-columns: 5fr 7fr; gap: var(--space-8); align-items: start; padding-block: var(--space-9); }
  .ss-project--flip .ss-project__text { order: 2; }
  .ss-project--flip { grid-template-columns: 7fr 5fr; }
  .ss-project__text { position: sticky; top: calc(72px + var(--space-6)); }
}

/* ───────── Specs : fiche d'un produit ───────── */
.ss-specs { margin: 0; border-top: 1px solid var(--line); }
.ss-specs__row { display: grid; grid-template-columns: 132px 1fr; gap: var(--space-4); align-items: baseline; padding: var(--space-3) 0; border-bottom: 1px solid var(--line); }
.ss-specs dt { color: var(--ink-muted); font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.ss-specs dd { margin: 0; font-size: 15px; line-height: 1.5; }

/* ───────── Capabilities : ce que nous faisons ───────── */
.ss-caps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ss-cap { display: grid; gap: var(--space-3); padding: var(--space-6) 0; border-bottom: 1px solid var(--line); }
.ss-cap__index { color: var(--accent-ink); }
.ss-cap__text { color: var(--ink-muted); }
@media (min-width: 768px) {
  .ss-cap { grid-template-columns: 72px 5fr 6fr; gap: var(--space-5); align-items: baseline; }
}

/* ───────── Steps : notre approche ───────── */
.ss-steps { display: grid; gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.ss-step { display: grid; grid-template-columns: 48px 1fr; column-gap: var(--space-5); row-gap: var(--space-2); align-items: start; }
.ss-step__mark { grid-row: span 3; width: 48px; height: 48px; border-radius: var(--radius-xs); border: 1.5px solid var(--ink); }
.ss-step__mark--1 { border-style: dashed; border-color: var(--line-strong); }
.ss-step__mark--3 { background: linear-gradient(var(--ink), var(--ink)) 0 33% / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 40% 100% / 1.5px 67% no-repeat; }
.ss-step__mark--4 { background: linear-gradient(to top, var(--ink) 55%, transparent 55%); }
.ss-step__mark--5 { background: var(--accent); border-color: var(--accent); }
.ss-step__index { color: var(--accent-ink); }
.ss-step__text { color: var(--ink-muted); font-size: 15px; line-height: 1.5; margin: 0; }
@media (min-width: 768px) { .ss-steps { grid-template-columns: 1fr 1fr; gap: var(--space-7) var(--space-6); } }
@media (min-width: 1100px) {
  .ss-steps { grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
  .ss-step { grid-template-columns: 1fr; row-gap: var(--space-3); padding-top: var(--space-5); border-top: 1px solid var(--line); }
  .ss-step__mark { grid-row: auto; margin-bottom: var(--space-4); }
}

/* ───────── Pipeline : le motif du studio ───────── */
.ss-pipe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
.ss-pipe__cell { display: grid; gap: var(--space-3); }
.ss-pipe__shape { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-md); border: 1.5px solid transparent; overflow: hidden; }
.ss-pipe__label { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); color: var(--ink-muted); }
.ss-pipe__label svg { width: 16px; height: 16px; color: var(--line-strong); }
.ss-pipe__cell--studio .ss-pipe__shape { border-color: var(--line); }
.ss-pipe__cell--studio .ss-pipe__shape::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--ink); }
.ss-pipe__cell--idea .ss-pipe__shape { border-style: dashed; border-color: var(--line-strong); }
.ss-pipe__cell--interface .ss-pipe__shape { border-color: var(--ink); }
.ss-pipe__cell--product .ss-pipe__shape { background: var(--accent); border-color: var(--accent); }
.ss-pipe__cell--product .ss-pipe__label { color: var(--ink); }
/* squelette d'interface dessiné dans les cellules interface et produit */
.ss-wire { position: absolute; inset: 0; display: grid; grid-template-rows: 16% 1fr; }
.ss-wire__bar { border-bottom: 1.5px solid var(--ink); }
.ss-wire__body { display: grid; grid-template-columns: 30% 1fr; }
.ss-wire__side { border-right: 1.5px solid var(--ink); }
.ss-wire__main { display: grid; grid-template-rows: 1fr 1fr; gap: 10%; padding: 10%; }
.ss-wire__main i { border: 1.5px solid var(--ink); border-radius: var(--radius-xs); }
.ss-pipe__cell--product .ss-wire__bar, .ss-pipe__cell--product .ss-wire__side { border-color: var(--on-accent); }
.ss-pipe__cell--product .ss-wire__main i { border-color: var(--on-accent); background: var(--on-accent); }
@media (min-width: 768px) { .ss-pipe { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); } }

/* ───────── Hero ───────── */
.ss-hero { padding-block: var(--space-7) var(--space-8); }
.ss-hero__eyebrow { color: var(--ink-muted); margin-bottom: var(--space-5); }
.ss-hero__eyebrow b { font-weight: 500; color: var(--accent-ink); }
.ss-hero__foot { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
.ss-hero__pipe { margin-top: var(--space-8); }
.ss-hero--split .ss-hero__grid { display: grid; gap: var(--space-7); }
.ss-hero--split .ss-display-xl { font-size: clamp(26px, 5.2vw, 60px); line-height: 1; letter-spacing: -.035em; }
@media (max-width: 767px) { .ss-hero .ss-actions .ss-btn, .ss-cta .ss-actions .ss-btn { width: 100%; } }
@media (min-width: 1100px) {
  .ss-hero { padding-block: var(--space-9) var(--space-9); }
  .ss-hero__foot { grid-template-columns: 7fr 5fr; align-items: end; margin-top: var(--space-7); }
  .ss-hero__foot .ss-actions { justify-content: flex-end; }
  .ss-hero__pipe { margin-top: var(--space-9); }
  .ss-hero--split .ss-hero__grid { grid-template-columns: 6fr 6fr; gap: var(--space-8); align-items: center; }
  .ss-hero--split .ss-hero__foot { grid-template-columns: 1fr; }
  .ss-hero--split .ss-hero__foot .ss-actions { justify-content: flex-start; }
}

/* index des produits : lignes typographiques cliquables (hero variante C, page Projets) */
.ss-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ss-index__row { display: grid; grid-template-columns: 1fr auto; gap: var(--space-2) var(--space-4); align-items: center; padding: var(--space-5) 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: color var(--dur-fast) var(--ease-out), padding-left var(--dur-base) var(--ease-out); }
.ss-index__row:hover, .ss-index__row.is-hover { color: var(--accent-ink); padding-left: var(--space-4); }
.ss-index__pitch { grid-column: 1 / -1; color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
.ss-index__row .ss-btn__arrow { width: 28px; height: 28px; }
@media (min-width: 1100px) {
  .ss-index__row { grid-template-columns: 4fr 5fr 232px 28px; gap: var(--space-6); }
  .ss-index__pitch { grid-column: auto; font-size: 17px; }
}

/* ───────── Form ───────── */
.ss-form { display: grid; gap: var(--space-5); }
.ss-form__row { display: grid; gap: var(--space-5); }
@media (min-width: 768px) { .ss-form__row { grid-template-columns: 1fr 1fr; } }
.ss-field { display: grid; gap: var(--space-2); align-content: start; }
.ss-field__label { color: var(--ink); font-family: var(--font-mono); font-weight: 500; font-size: 13px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; }
.ss-field__opt { color: var(--ink-muted); font-family: var(--font-text); font-weight: 400; font-size: 13px; letter-spacing: 0; text-transform: none; }
.ss-input, .ss-textarea, .ss-select {
  width: 100%; min-height: 52px; padding: var(--space-3) var(--space-4);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  color: var(--ink); font-family: var(--font-text); font-size: 17px; line-height: 1.4;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.ss-textarea { min-height: 168px; resize: vertical; }
.ss-select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 22px) 23px, calc(100% - 16px) 23px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: var(--space-7); }
.ss-input::placeholder, .ss-textarea::placeholder { color: var(--ink-muted); }
.ss-input:hover, .ss-textarea:hover, .ss-select:hover { border-color: var(--ink); }
.ss-field--error .ss-input, .ss-field--error .ss-textarea { border-color: var(--danger); }
.ss-field__error { margin: 0; color: var(--danger); font-size: 15px; line-height: 1.4; }
.ss-field__help { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.4; }
.ss-form__foot { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 768px) { .ss-form__foot { grid-template-columns: auto 1fr; gap: var(--space-5); } }
.ss-form__note { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.5; max-width: 52ch; }
.ss-form__note a { color: var(--ink); }
.ss-form__done { display: grid; gap: var(--space-2); padding: var(--space-5); border: 1px solid var(--success); border-radius: var(--radius-md); }
.ss-form__done b { color: var(--success); font-family: var(--font-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }

/* ───────── CTA : pour votre projet ───────── */
.ss-cta { display: grid; gap: var(--space-6); padding: var(--space-7) var(--space-5); background: var(--surface-inverse); color: var(--ink-inverse); border-radius: var(--radius-lg); }
.ss-cta__text > * + * { margin-top: var(--space-5); }
.ss-cta .ss-lede { color: var(--ink-inverse); }
.ss-cta .ss-label { color: var(--ink-inverse); }
@media (min-width: 1100px) {
  .ss-cta { grid-template-columns: 8fr 4fr; align-items: end; padding: var(--space-9) var(--space-8); }
  .ss-cta .ss-actions { justify-content: flex-end; }
}

/* ───────── Footer ───────── */
.ss-footer { border-top: 1px solid var(--line); padding-block: var(--space-8) var(--space-5); }
.ss-footer__grid { display: grid; gap: var(--space-6); }
.ss-footer__col > * + * { margin-top: var(--space-3); }
.ss-footer__list { list-style: none; margin: 0; padding: 0; }
.ss-footer__list li + li { margin-top: var(--space-2); }
.ss-footer__list a, .ss-footer__mail { color: var(--ink); text-decoration: none; font-size: 15px; line-height: 1.5; }
.ss-footer__list a:hover, .ss-footer__mail:hover { color: var(--accent-ink); }
.ss-footer__col .ss-label { color: var(--ink-muted); }
.ss-footer__giant { margin: var(--space-8) 0 var(--space-5); font-family: var(--font-display); font-weight: 600; font-size: clamp(44px, 12.6vw, 176px); line-height: .85; letter-spacing: -.05em; color: var(--ink); white-space: nowrap; }
.ss-footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 15px; }
.ss-footer__legal a { color: var(--ink-muted); }
@media (min-width: 768px) { .ss-footer__grid { grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--space-6); } }

/* ───────── Chapter : chapitres d'une page projet ───────── */
.ss-chapter { display: grid; gap: var(--space-5); padding-block: var(--space-7); border-top: 1px solid var(--line); }
.ss-chapter__label { color: var(--ink-muted); }
.ss-chapter__label b { font-weight: 500; color: var(--accent-ink); }
.ss-chapter__body > * + * { margin-top: var(--space-5); }
.ss-shots { display: grid; gap: var(--space-4); }
.ss-shots figure { margin: 0; }
.ss-shots figcaption { margin-top: var(--space-3); color: var(--ink-muted); font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) {
  .ss-shots { grid-template-columns: 1fr 1fr; gap: var(--space-5); }
  .ss-shots__wide { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .ss-chapter { grid-template-columns: 3fr 9fr; gap: var(--space-6); padding-block: var(--space-9); }
  .ss-chapter__label { padding-top: 10px; }
}

/* ───────── Apparition au défilement ───────── */
/* masqué seulement si le script a posé la classe js sur <html> : sans script, tout reste visible */
.js .ss-reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.js .ss-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .ss-reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .ss-btn, .ss-btn__arrow, .ss-link, .ss-nav__link, .ss-index__row, .ss-reveal, .ss-input, .ss-textarea, .ss-select { transition: none; }
}


/* Compléments du site : ce que bundle.css ne couvre pas. Uniquement des tokens, aucun composant réécrit. */

[hidden] { display: none !important; }
.site-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Sans script, le menu ne peut pas s'ouvrir : les liens restent dans le pied de page. */
html:not(.js) .ss-nav__toggle { display: none; }
.ss-menu { max-height: calc(100vh - 72px); overflow-y: auto; }
@media (min-width: 1100px) { .ss-menu { display: none; } }

/* La barre d'appel mobile est fixée : l'afficher ne décale pas la page. */
.ss-ctabar { position: fixed; left: 0; right: 0; }

/* Une vraie capture est montrée entière, à ses proportions. */
img.ss-device__screen { aspect-ratio: auto; height: auto; }
.site-phones { display: flex; justify-content: center; align-items: flex-start; gap: var(--space-4); }
.ss-shots .ss-device--phone { margin-inline: auto; }

#outils .ss-sechead, .site-autres { margin-bottom: 0; }
.site-autres { margin: 0 0 var(--space-5); }
.site-liens { gap: var(--space-6); }

/* Liens dans le texte courant */
.ss-hero__eyebrow a { color: inherit; text-decoration: none; }
.site-prose a, .site-contact a, .ss-field__error a { color: inherit; text-underline-offset: 4px; }
.site-prose a:hover, .site-contact a:hover, .ss-hero__eyebrow a:hover b { color: var(--accent-ink); }

/* Pages de texte : Studio, mentions légales, confidentialité */
.site-prose > * + * { margin-top: var(--space-4); }
.site-prose > h2:not(:first-child) { margin-top: var(--space-7); }

.site-contact { display: grid; gap: var(--space-7); }
.site-contact > div > * + * { margin-top: var(--space-3); }
@media (min-width: 1100px) { .site-contact { grid-template-columns: 4fr 8fr; } }

/* Entrée du hero, une seule fois au chargement */
@keyframes site-monte { from { opacity: 0; transform: translateY(var(--space-4)); } }
@keyframes site-plein { from { background-color: transparent; border-color: var(--ink); } }
.js .ss-hero h1, .js .ss-hero__foot, .js .ss-pipe__cell { animation: site-monte var(--dur-base) var(--ease-out) both; }
.js .ss-hero__foot { animation-delay: 160ms; }
.js .ss-pipe__cell:nth-child(1) { animation-delay: 320ms; }
.js .ss-pipe__cell:nth-child(2) { animation-delay: 440ms; }
.js .ss-pipe__cell:nth-child(3) { animation-delay: 560ms; }
.js .ss-pipe__cell:nth-child(4) { animation-delay: 680ms; }
.js .ss-pipe__cell--product .ss-pipe__shape { animation: site-plein var(--dur-slow) var(--ease-out) 900ms both; }

/* Les cinq étapes apparaissent l'une après l'autre */
.js .ss-step.ss-reveal:nth-child(2) { transition-delay: 120ms; }
.js .ss-step.ss-reveal:nth-child(3) { transition-delay: 240ms; }
.js .ss-step.ss-reveal:nth-child(4) { transition-delay: 360ms; }
.js .ss-step.ss-reveal:nth-child(5) { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .js .ss-hero h1, .js .ss-hero__foot, .js .ss-pipe__cell, .js .ss-pipe__cell--product .ss-pipe__shape { animation: none; }
}
