@font-face{font-family:"Inter";src:url("../fonts/inter.woff2") format("woff2");font-weight:400 700;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("../fonts/instrument-serif.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("../fonts/instrument-serif-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
/* ==========================================================================
   Clozup, site vitrine
   Direction : fond blanc, encre presque noire, gris neutres,
   Le violet du logo porte les actions principales et les accents.
   Titres serrés en Inter, quelques mots en Instrument Serif italique.
   Les aperçus produit sont dessinés en HTML/CSS (aucune capture d'écran).
   ========================================================================== */

:root {
  --paper: #FFFFFF;
  --ink: #0A0A0B;

  --bg: var(--paper);
  --bg-alt: #F7F7F8;
  --surface: #FFFFFF;
  --surface-2: #F4F4F5;
  --text: var(--ink);
  --text-2: #3F3F46;
  --muted: #71717A;
  --line: rgba(10, 10, 11, .12);
  --line-2: rgba(10, 10, 11, .07);
  --signal: #7C3AED;
  --signal-soft: #F1EBFE;
  --ok: #1F8A5B;
  --err: #C8321B;
  --invert-bg: var(--ink);
  --invert-bg-2: #1C1C1F;
  --invert-fg: var(--paper);
  --invert-muted: rgba(255, 255, 255, .62);
  --invert-line: rgba(255, 255, 255, .12);
  --primary: #7C3AED;
  --primary-hover: #6D28D9;
  --btn-bg: var(--primary);
  --btn-fg: #FFFFFF;
  --dots: rgba(10, 10, 11, .09);

  --shadow-1: 0 1px 2px rgba(10, 10, 11, .05), 0 10px 28px -14px rgba(10, 10, 11, .18);
  --shadow-2: 0 2px 4px rgba(10, 10, 11, .04), 0 30px 70px -30px rgba(10, 10, 11, .32);

  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --f-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --hdr-h: 68px;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0A0A0B;
  --bg-alt: #111113;
  --surface: #161618;
  --surface-2: #1E1E21;
  --text: #F4F4F5;
  --text-2: #C4C4CA;
  --muted: #8B8B93;
  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .07);
  --signal: #A78BFA;
  --signal-soft: rgba(167, 139, 250, .16);
  --ok: #4CC08A;
  --err: #FF7A62;
  --invert-bg: #161618;
  --invert-bg-2: #1E1E21;
  --primary-hover: #8B4BF2;
  --dots: rgba(255, 255, 255, .08);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -14px rgba(0, 0, 0, .6);
  --shadow-2: 0 2px 4px rgba(0, 0, 0, .3), 0 30px 70px -30px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.55 var(--f-sans); letter-spacing: -.006em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 14px; background: var(--btn-bg); color: var(--btn-fg); border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */
.display {
  font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 600; line-height: 1.06;
  letter-spacing: -.048em; text-wrap: balance;
}
.h2 { font-size: clamp(1.625rem, 2.7vw, 2.25rem); font-weight: 600; line-height: 1.12; letter-spacing: -.042em; text-wrap: balance; }
.h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; letter-spacing: -.022em; }
.it { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; padding-right: .04em; }
.lead { font-size: 1rem; line-height: 1.6; color: var(--text-2); letter-spacing: -.012em; }
.body-l { font-size: 1rem; line-height: 1.6; color: var(--text-2); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.kicker b { color: var(--signal); font-weight: 500; }

/* ---------- Boutons & petits éléments ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.98); }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--btn-fg); }
.btn--ghost { background: transparent; }
.btn--lg { --h: 52px; padding: 0 24px; font-size: 16px; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 14px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px;
  background: var(--signal-soft); color: var(--signal); font: 500 11px/1 var(--f-mono); letter-spacing: .03em; white-space: nowrap;
}
.tag .ico { width: 13px; height: 13px; }
.tag--muted { background: var(--surface-2); color: var(--muted); }
.tag--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }

.icon-btn {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text); transition: border-color .2s;
}
.icon-btn:hover { border-color: var(--text); }
.theme-btn .i-sun, [data-theme="dark"] .theme-btn .i-moon { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }

.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; }
.seg a { display: grid; place-items: center; height: 28px; padding: 0 10px; border-radius: 999px; font: 500 12px/1 var(--f-mono); color: var(--muted); transition: color .2s, background-color .2s; }
.seg a:hover { color: var(--text); }
.seg a[aria-current] { background: var(--btn-bg); color: var(--btn-fg); }

/* ---------- Logo ---------- */
.brand { display: inline-flex; align-items: center; color: var(--text); }
.logo { width: 92px; height: auto; }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.hdr.is-stuck { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line-2); }
.hdr-in { display: flex; align-items: center; gap: 24px; height: var(--hdr-h); }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav-link { position: relative; padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--text-2); transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link[aria-current]::after, .nav-trigger[data-current]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--signal); }
.nav-link[aria-current], .nav-trigger[data-current] { color: var(--text); }
/* Menus déroulants */
.nav-item { position: relative; }
.nav-trigger { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px 8px 12px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 14.5px; color: var(--text-2); cursor: pointer; transition: color .2s; }
.nav-trigger .ico { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.nav-item:hover .nav-trigger, .nav-item.open .nav-trigger { color: var(--text); }
.nav-item.open .nav-trigger .ico { transform: rotate(180deg); }
.dd { position: absolute; top: 100%; left: -8px; padding-top: 10px; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .2s var(--ease), visibility .18s; }
.nav-item.open .dd { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav-item:hover .dd { opacity: 1; visibility: visible; transform: none; } .nav-item:hover .nav-trigger .ico { transform: rotate(180deg); } }
.dd-in { display: flex; gap: 8px; padding: 10px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 50px -20px rgba(10, 10, 11, .18), 0 2px 6px rgba(10, 10, 11, .04); }
.dd-col { display: flex; flex-direction: column; min-width: 0; }
.dd--product .dd-col { width: 320px; }
.dd--solutions .dd-col { width: 300px; }
.dd--solutions .dd-col + .dd-col, .dd--resources .dd-col + .dd-col { width: 250px; border-left: 1px solid var(--line-2); padding-left: 8px; }
.dd--resources .dd-col:first-child { width: 300px; }
.dd-title { margin: 6px 10px 6px; font: 500 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dd-list { display: grid; gap: 2px; }
.dd-list a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; row-gap: 2px; align-items: center; padding: 9px 10px; border-radius: var(--r-md); transition: background-color .15s; }
.dd-list a:hover, .dd-list a[aria-current] { background: var(--surface-2); }
.dd-list b { grid-column: 2; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; color: var(--text); }
.dd-list span { grid-column: 2; font-size: 13px; line-height: 1.4; color: var(--muted); }
.dd-list a:not(:has(.dd-ico)) b, .dd-list a:not(:has(.dd-ico)) span { grid-column: 1 / -1; }
.dd-ico { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.dd-ico .ico { width: 17px; height: 17px; }
.dd-list a:hover .dd-ico { color: var(--signal); }
.dd-vs { padding-block: 7px !important; }
.dd-vs b i { font-style: normal; color: var(--muted); font-weight: 400; }
.dd-all { display: inline-flex; align-self: flex-start; white-space: nowrap; align-items: center; gap: 6px; margin: auto 10px 4px; padding-top: 10px; font-size: 13.5px; font-weight: 500; color: var(--text); }
.dd-all .ico { width: 13px; height: 13px; transition: transform .2s var(--ease); }
.dd-all:hover { color: var(--signal); }
.dd-all:hover .ico { transform: translateX(3px); }
.hdr-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.login { font-size: 14.5px; color: var(--text-2); padding: 0 6px; }
.login:hover { color: var(--text); }
.burger { display: none; }
.hdr.menu-open { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mnav { display: none; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .mnav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--hdr-h); z-index: 49;
    display: flex; flex-direction: column; gap: 2px; padding: 16px var(--gutter) 32px;
    background: var(--bg); overflow: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
  }
  .mnav.open { opacity: 1; visibility: visible; transform: none; }
  .mlink { padding: 14px 0; border-bottom: 1px solid var(--line-2); font-size: 22px; font-weight: 500; letter-spacing: -.03em; }
  .macc { border-bottom: 1px solid var(--line-2); }
  .macc > summary { display: flex; align-items: center; justify-content: space-between; border-bottom: 0; cursor: pointer; list-style: none; }
  .macc > summary::-webkit-details-marker { display: none; }
  .macc > summary .ico { width: 20px; height: 20px; color: var(--muted); transition: transform .2s var(--ease); }
  .macc[open] > summary .ico { transform: rotate(180deg); }
  .macc-body { display: grid; gap: 4px; padding: 0 0 16px; }
  .macc-body .dd-title { margin: 10px 0 2px; }
  .macc-list a { display: block; padding: 8px 0; font-size: 17px; color: var(--text-2); }
  .macc-list a b { font-weight: 500; }
  .macc-list a[aria-current] { color: var(--signal); }
  .macc-body .dd-all { margin: 4px 0 6px; padding-top: 4px; }
  .mrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
  .mrow .btn { flex: 1 1 100%; margin-top: 8px; }
}
@media (max-width: 720px) {
  .hdr-tools > .seg, .hdr-tools > .theme-btn, .hdr-tools > .login { display: none; }
}
.hdr-cta-short { display: none; }
@media (max-width: 440px) { .hdr-cta-long { display: none; } .hdr-cta-short { display: inline; } .hdr-in { gap: 12px; } }

/* ---------- Sections ---------- */
.sec { padding: clamp(84px, 11vw, 144px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec--ink { background: var(--invert-bg); color: var(--invert-fg); }
.sec--ink .body-l { color: var(--invert-muted); }
.sec--ink .kicker { color: var(--invert-muted); }
.sec-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head .body-l { max-width: 46ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* Révélation douce à l'apparition (aucun effet lié à la position de défilement) */
.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--signal) 50%, transparent); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.hero .display { max-width: 22ch; }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-top: clamp(28px, 4vw, 48px); }
.hero-sub .lead { max-width: 52ch; }
.hero-sub > div { justify-self: end; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--muted); }
.hero-note .ico { width: 15px; height: 15px; }
@media (max-width: 860px) {
  .hero-sub { grid-template-columns: 1fr; }
  .hero-sub > div { justify-self: start; }
}

/* ---------- Aperçu client ---------- */
.stage {
  position: relative; margin-top: clamp(48px, 7vw, 88px); padding: clamp(14px, 3.4vw, 48px);
  border-radius: var(--r-xl); background-color: var(--bg-alt);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px); background-size: 18px 18px;
}
.win { position: relative; margin: 0; border-radius: 16px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.win img, .shot img { display: block; width: 100%; height: auto; }
.win-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line-2); background: var(--surface); }
.lights { display: flex; gap: 6px; }
.lights i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.url { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 14px; border-radius: 8px; background: var(--surface-2); font: 12px/1 var(--f-mono); color: var(--muted); }
.url .ico { width: 12px; height: 12px; }
.win-secure { justify-self: end; font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--signal); }
.pane { animation: paneIn .45s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(6px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
.stage-desc { max-width: 60ch; margin: 18px auto 0; text-align: center; font-size: 15.5px; color: var(--text-2); }

@keyframes liveIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.stage-cap { margin-top: 14px; text-align: center; font: 11px/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); }

/* Capture encadrée, avec une étiquette « Côté agence / Côté client » */
.shot { position: relative; margin: 0; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); overflow: hidden; }
.shot-bar { display: flex; align-items: center; justify-content: space-between; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line-2); background: var(--surface); }
.shot-side { font: 500 11px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--signal); }
.shot--ink { border-color: var(--invert-line); }
.shot--crop { box-shadow: var(--shadow-1); }

@media (max-width: 860px) {
  .win-secure { display: none; }
  .win-bar { grid-template-columns: auto 1fr; }
  .url { justify-self: end; }
}

/* ---------- Constat : devis PDF vs offre ---------- */
.versus { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.vs-l { display: block; margin-bottom: 16px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vs-after .vs-l { color: var(--signal); }
.sheet {
  position: relative; padding: 28px; border-radius: 6px; background: var(--surface); box-shadow: var(--shadow-1);
  transform: rotate(-1.6deg); color: var(--muted);
}
.sheet::after { content: ""; position: absolute; right: 0; top: 0; width: 28px; height: 28px; background: linear-gradient(225deg, var(--bg) 50%, var(--surface-2) 50%); border-bottom-left-radius: 4px; }
.sheet-h { display: flex; align-items: center; gap: 8px; font: 12px/1 var(--f-mono); }
.sheet-lines { display: grid; gap: 7px; margin: 22px 0; }
.sheet-lines i { height: 7px; border-radius: 4px; background: var(--surface-2); }
.sheet ul { display: grid; gap: 12px; }
.sheet li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--text-2); }
.sheet li i { flex: 1; border-bottom: 1px dotted var(--line); transform: translateY(4px); }
.sheet-total { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.sheet-total b { font-family: var(--f-mono); font-weight: 500; color: var(--text-2); }
.vs-arrow { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); }
.stack { display: grid; gap: 8px; }
.stack li {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px;
  padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface);
  font-size: 16px; font-weight: 500; letter-spacing: -.02em;
}
.stack li:last-child { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.stack-n { font: 500 12px/1 var(--f-mono); color: var(--signal); }
.stack .ico { color: var(--ok); }
.stack li:last-child .ico { color: var(--signal); }
.js .vs-after.rv .stack li { opacity: 0; transform: translateX(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(200ms + var(--k) * 90ms); }
.js .vs-after.rv.in .stack li { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .versus { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); justify-self: center; }
  .sheet { transform: none; }
}

/* ---------- Produit : étapes ---------- */
.flow { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.flow-steps { position: relative; display: flex; flex-direction: column; }
.flow-step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 24px 0 26px; text-align: left; border-top: 1px solid var(--line); }
.flow-step:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.flow-n { font: 500 13px/1.6 var(--f-mono); color: var(--muted); transition: color .3s; }
.flow-txt { display: grid; gap: 8px; }
.flow-label { font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.flow-step b { font-size: clamp(17px, 1.5vw, 20px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; color: var(--muted); transition: color .3s; }
.flow-body, .flow-tags { display: none; }
.flow-body { color: var(--text-2); font-size: 15.5px; max-width: 46ch; }
.flow-tags { flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.flow-tags span { padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.flow-step[aria-selected="true"] .flow-n { color: var(--signal); }
.flow-step[aria-selected="true"] b { color: var(--text); }
.flow-step[aria-selected="true"] .flow-body { display: block; animation: paneIn .45s var(--ease); }
.flow-step[aria-selected="true"] .flow-tags { display: flex; animation: paneIn .55s var(--ease); }
.flow-step:hover b { color: var(--text); }
.flow-prog { position: absolute; left: 0; right: 0; top: -1px; height: 2px; overflow: hidden; }
.flow-prog i { display: block; height: 100%; width: 100%; background: var(--text); transform: scaleX(0); transform-origin: left; }
.flow-step[aria-selected="true"] .flow-prog i { transform: scaleX(1); }
.flow.is-playing .flow-step[aria-selected="true"] .flow-prog i { animation: prog var(--dur, 7s) linear both; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.flow-toggle { align-self: flex-start; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 16px; border: 1px solid var(--line); border-radius: 50%; }
.flow-toggle:hover { border-color: var(--text); }
.i-pause { width: 10px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.flow-toggle[aria-pressed="true"] .i-pause { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.flow-stage {
  display: grid; place-items: center; padding: clamp(10px, 1.6vw, 20px);
  border-radius: var(--r-lg); border: 1px solid var(--line-2); background-color: var(--surface-2);
  background-image: radial-gradient(var(--dots) 1px, transparent 1.2px); background-size: 18px 18px;
}
.flow-pane { width: 100%; display: grid; place-items: center; animation: paneIn .5s var(--ease); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow-stage { min-height: 0; }
}

/* ---------- Fonctionnalités ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; min-height: 420px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.tile-txt { display: grid; gap: 10px; }
.tile-txt p { color: var(--text-2); font-size: 15.5px; }
.lib { position: relative; display: grid; gap: 8px; }
.lib span {
  display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); font-size: 14px; font-weight: 500; letter-spacing: -.015em;
  transform: translateX(calc((var(--k) - 2) * 6px)) rotate(calc((var(--k) - 2) * -.6deg));
}
.lib span i { width: 8px; height: 14px; background: radial-gradient(currentColor 1px, transparent 1.4px) 0 0 / 4px 4.6px; opacity: .35; }
.lib span:nth-child(3) { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); transform: translateX(14px) rotate(-1.5deg); }
.reader { display: grid; gap: 14px; }
.reader-pages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.reader-pages i { aspect-ratio: 3 / 4; border-radius: 4px; border: 1px dashed var(--line); }
.reader-pages i.r { border: 1px solid var(--line); background: linear-gradient(var(--text) 0 0) 50% 28% / 54% 2px no-repeat, linear-gradient(var(--line) 0 0) 50% 42% / 60% 2px no-repeat, linear-gradient(var(--line) 0 0) 50% 52% / 60% 2px no-repeat, var(--surface-2); }
.reader-pages i.r:nth-child(8) { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }
.reader-foot { display: flex; align-items: center; gap: 14px; font-size: 12.5px; color: var(--muted); }
.reader-foot b { font-size: 26px; font-weight: 600; letter-spacing: -.04em; color: var(--text); margin-right: auto; }
.lg::before { content: ""; display: inline-block; width: 9px; height: 11px; margin-right: 6px; border-radius: 2px; border: 1px dashed var(--line); vertical-align: -1px; }
.lg--r::before { border-style: solid; background: var(--surface-2); }

.more { display: grid; grid-template-columns: 200px 1fr; gap: 32px; margin-top: clamp(56px, 7vw, 88px); }
.more-t { font: 500 12px/1.6 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.more-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
.more-list li { display: grid; align-content: start; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.more-list .ico { width: 20px; height: 20px; color: var(--signal); }
.more-list b { display: block; margin-bottom: 4px; font-size: 15.5px; letter-spacing: -.02em; }
.more-list span { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 1080px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--reader { grid-column: 1 / -1; min-height: 0; }
  .more { grid-template-columns: 1fr; }
  .more-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .more-list { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Suivi (section encre) ---------- */
.insight { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.insight .h2 { margin-bottom: 22px; }
.ticks { display: grid; gap: 12px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks .ico { margin-top: 3px; color: var(--signal); }
.honest { margin-top: 32px; padding-left: 16px; border-left: 2px solid var(--signal); font-size: 14px; color: var(--invert-muted); max-width: 46ch; }
@media (max-width: 960px) { .insight { grid-template-columns: 1fr; } }

/* ---------- Métiers ---------- */
.trade-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 500; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.trade-link .ico { width: 16px; height: 16px; }

/* ---------- Méthode ---------- */
.method { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.method-side { position: sticky; top: calc(var(--hdr-h) + 40px); display: grid; gap: 20px; }
.method-side .kicker { margin-bottom: 0; }
.chapters li { display: grid; grid-template-columns: clamp(56px, 7vw, 96px) 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line); }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.ch-n { font-family: var(--f-serif); font-style: italic; font-size: clamp(48px, 5vw, 72px); line-height: .8; color: var(--muted); transition: color .3s; }
.chapters li:hover .ch-n { color: var(--signal); }
.chapters .h3 { font-size: clamp(19px, 1.8vw, 23px); letter-spacing: -.03em; margin-bottom: 8px; }
.chapters p { color: var(--text-2); max-width: 56ch; }
@media (max-width: 900px) {
  .method { grid-template-columns: 1fr; }
  .method-side { position: static; }
}

/* ---------- Tarifs : deux cartes séparées ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.plan-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.plan-name { font-size: 24px; font-weight: 600; letter-spacing: -.035em; }
.plan-for { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.plan-flag { flex: none; padding: 6px 11px; border-radius: 999px; background: var(--signal); color: #fff; font: 500 11px/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; text-align: center; }
.plan-price { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.plan-price b { font-size: clamp(40px, 4.4vw, 56px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.plan-price span { font-size: 14px; color: var(--muted); max-width: 34ch; }
.plan-intro { font-size: 14.5px; font-weight: 600; }
.plan-list { display: grid; gap: 12px; flex: 1; }
.plan-list li { display: flex; gap: 10px; font-size: 15px; color: var(--text-2); }
.plan-list .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--signal); }
.plan--custom { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
.plan--custom .plan-for, .plan--custom .plan-price span { color: var(--invert-muted); }
.plan--custom .plan-price { border-color: var(--invert-line); }
.plan--custom .plan-list li { color: var(--invert-fg); }
.btn--light { background: var(--invert-fg); color: var(--invert-bg); border-color: var(--invert-fg); }
.btn--light:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.plans-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plan-top { flex-direction: column-reverse; gap: 12px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-side { display: grid; gap: 20px; justify-items: start; }
.faq-side .kicker { margin-bottom: 0; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .2s, color .2s; }
.qa summary:hover i { border-color: var(--text); }
.qa[open] summary i { transform: rotate(45deg); background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.ans { padding: 0 54px 24px 0; color: var(--text-2); }
.qa[open] .ans { animation: paneIn .4s var(--ease); }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } .ans { padding-right: 0; } }

/* ---------- Démo + formulaire ---------- */
.cta { padding-top: 0; }
.cta-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start;
  padding: clamp(24px, 5vw, 64px); border-radius: var(--r-xl); background: var(--invert-bg); color: var(--invert-fg);
}
.cta-copy { display: grid; gap: 22px; justify-items: start; }
.cta-copy .kicker { margin-bottom: 0; color: var(--invert-muted); }
.cta-copy .body-l { color: var(--invert-muted); max-width: 46ch; }
.next { display: grid; gap: 14px; margin-top: 8px; }
.next li { display: flex; gap: 14px; align-items: flex-start; }
.next li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--invert-line); font: 500 12px/1 var(--f-mono); }
.next li:first-child > span { background: var(--signal); border-color: var(--signal); color: #fff; }
.next b { display: block; font-size: 15.5px; font-weight: 500; letter-spacing: -.015em; }
.next small { font-size: 14px; color: var(--invert-muted); }
.mailbox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 8px; padding: 10px 10px 10px 16px; border: 1px solid var(--invert-line); border-radius: 999px; }
.mailbox small { font-size: 13px; color: var(--invert-muted); }
.mailbox a { font-weight: 500; }
.mailbox button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--invert-line); font-size: 13px; }
.mailbox button .ico { width: 14px; height: 14px; }
.mailbox button:hover { background: var(--invert-fg); color: var(--invert-bg); }

.form { position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); color: var(--text); }
.form .h3 { font-size: 22px; letter-spacing: -.03em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 13px; font-weight: 500; color: var(--text-2); }
.opt-l { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px var(--signal-soft); }
.field ::placeholder { color: var(--muted); }
.err { display: none; font-size: 12.5px; color: var(--err); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.field.invalid .err { display: block; }
.legal-mini { font-size: 12.5px; color: var(--muted); }
.legal-mini a { text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-ok { display: none; justify-items: center; align-content: center; gap: 12px; min-height: 360px; text-align: center; }
.form-ok p { color: var(--text-2); max-width: 36ch; }
.form-ok:focus { outline: none; }
.ok-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--signal); color: #fff; }
.ok-ico .ico { width: 26px; height: 26px; }
.form.sent > :not(.form-ok) { display: none; }
.form.sent .form-ok { display: grid; animation: paneIn .5s var(--ease); }
@media (max-width: 960px) { .cta-card { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.ftr { padding: clamp(64px, 8vw, 96px) 0 28px; border-top: 1px solid var(--line-2); overflow: hidden; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 40px 28px; }
.ftr-brand p { margin-top: 16px; max-width: 32ch; color: var(--muted); font-size: 14.5px; }
.ftr h4 { margin-bottom: 16px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ftr ul { display: grid; gap: 10px; }
.ftr li a, .ftr li button { font-size: 14.5px; color: var(--text-2); transition: color .2s; text-align: left; overflow-wrap: anywhere; }
.ftr li a:hover, .ftr li button:hover { color: var(--text); }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding-top: 20px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); }
.ftr-tools { display: flex; align-items: center; gap: 10px; }
@media (max-width: 860px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-brand { grid-column: 1 / -1; } }

/* ---------- Documents légaux (une page chacun) ---------- */
.legal-wrap { max-width: calc(820px + var(--gutter) * 2); padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px); }
.legal-tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 clamp(28px, 4vw, 44px); }
.legal-tabs a { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.legal-tabs a:hover { color: var(--text); border-color: var(--text); }
.legal-tabs a[aria-current] { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.doc { color: var(--text-2); }
.doc .doc-title { font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: -.04em; color: var(--text); line-height: 1.05; }
.doc .upd { margin: 12px 0 32px; font: 12px/1.4 var(--f-mono); color: var(--muted); }
.doc h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
.doc p, .doc ul { margin-bottom: 12px; }
.doc ul { list-style: disc; padding-left: 20px; }
.doc li { margin-bottom: 4px; }
.doc a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.tbl-wrap { overflow-x: auto; margin: 12px 0; }
mark.todo { padding: 1px 5px; border-radius: 4px; background: var(--signal-soft); color: var(--signal); }

/* ---------- Cookies ---------- */
.cookie {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: grid; gap: 12px;
  width: min(400px, calc(100% - 32px)); padding: 20px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-2);
  animation: liveIn .5s var(--ease) both;
}
.cookie-t { font-size: 16px; letter-spacing: -.02em; }
.cookie p { font-size: 14px; color: var(--text-2); }
.cookie p a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions .btn { flex: 1; }
.cookie-prefs { display: grid; gap: 10px; }
.pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-2); }
.pref b { display: block; font-size: 14px; }
.pref small { font-size: 12.5px; color: var(--muted); }
.switch { position: relative; width: 40px; height: 24px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--line); transition: background-color .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.switch input:checked + span { background: var(--signal); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:disabled + span { opacity: .55; }
.switch input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }

/* ---------- Toasts ---------- */
#toast-root { position: fixed; left: 50%; bottom: 20px; z-index: 120; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); }
.toast { padding: 14px 18px; border-radius: 14px; background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-2); font-size: 14px; animation: liveIn .35s var(--ease) both; }

/* ---------- 404 ---------- */
.nf { min-height: 100vh; display: grid; place-items: center; }
.nf-in { display: grid; gap: 28px; justify-items: start; }
.nf .kicker { margin: 0; }

/* ---------- Pages (tarifs, sécurité, métiers, comparatifs) ---------- */
.page-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-2); }
.page-hero .kicker { margin-bottom: 14px; }
.page-title { max-width: 25ch; font-size: clamp(1.875rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.page-hero .lead { max-width: 62ch; margin-top: 20px; }
.page-hero-cta { margin-top: 28px; }
.page-sec { padding-top: clamp(48px, 7vw, 88px); }
.page-h2 { max-width: 24ch; margin-bottom: clamp(28px, 4vw, 44px); }
.page-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.page-split .h2 { margin-bottom: 16px; }
.page-split--media { align-items: center; }
.page-list { margin-top: 0; }
.page-prose h3 { margin: 24px 0 6px; }
.page-prose h3:first-child { margin-top: 0; }
.page-prose p { color: var(--text-2); }
.page-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.page-faq { padding-top: clamp(56px, 7vw, 96px); }
.page-cta-sec { padding-top: 0; }
.page-related { padding-top: 0; }
.page-related .h3 { margin-bottom: 16px; font-size: 22px; letter-spacing: -.03em; }
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pains li { padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.pains b { display: block; margin-bottom: 8px; font-size: 18px; letter-spacing: -.025em; }
.pains p { color: var(--text-2); font-size: 15px; }
.choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choose-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.choose-card--us { background: var(--invert-bg); color: var(--invert-fg); border-color: var(--invert-bg); }
.choose-card--us .dl li { color: var(--invert-fg); }
.compare td:first-child { white-space: nowrap; }
.compare td:nth-child(2) { color: var(--text); font-weight: 500; }
.price-table { margin-top: 0; }
.plans-more { margin-top: 10px; text-align: center; }
.plans-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .page-split { grid-template-columns: 1fr; }
  .pains { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pains, .choose { grid-template-columns: 1fr; }
  .compare td:first-child { white-space: normal; }
}

/* ---------- Documentation ---------- */
.docs-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line-2); }
.crumbs { display: flex; gap: 10px; margin-bottom: 22px; font: 500 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.docs-title { max-width: 18ch; font-size: clamp(2.2rem, 4.8vw, 4.2rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; text-wrap: balance; }
.docs-hero .lead { max-width: 60ch; margin-top: 20px; }

.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px); }
.docs-toc { position: sticky; top: calc(var(--hdr-h) + 20px); align-self: start; max-height: calc(100vh - var(--hdr-h) - 40px); overflow: auto; padding-right: 8px; }
.docs-toc-group { margin: 18px 0 6px; font: 500 11px/1.4 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.docs-toc-group:first-child { margin-top: 0; }
.docs-toc a { display: block; padding: 6px 10px; margin-left: -10px; border-radius: 8px; font-size: 14px; color: var(--text-2); transition: background-color .2s, color .2s; }
.docs-toc a:hover { color: var(--text); background: var(--surface-2); }
.docs-toc a[aria-current] { color: var(--text); background: var(--signal-soft); font-weight: 500; }

.docs-body { max-width: 780px; }
.dart { padding: 8px 0 clamp(32px, 4vw, 48px); }
.docs-body .crumbs { margin-bottom: 18px; }
.dart-t { font-size: clamp(1.9rem, 3.4vw, 2.75rem) !important; }
.dart .kicker { margin-bottom: 14px; }
.dart-t { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -.035em; text-wrap: balance; }
.dart-lead { margin-top: 14px; font-size: 1.1rem; line-height: 1.55; color: var(--text-2); }
.dart > p { margin-top: 18px; color: var(--text-2); }
.dart a:not(.btn) { text-decoration: underline; text-underline-offset: 2px; }
.dl { display: grid; gap: 10px; margin-top: 18px; }
.dl li { display: flex; gap: 10px; color: var(--text-2); }
.dl .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--signal); }
.dterms { display: grid; margin-top: 20px; border-top: 1px solid var(--line-2); }
.dterms div { display: grid; grid-template-columns: 190px 1fr; gap: 8px 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.dterms dt { font-weight: 600; letter-spacing: -.01em; }
.dterms dd { margin: 0; color: var(--text-2); }
.dsteps { display: grid; gap: 4px; margin-top: 20px; counter-reset: s; }
.dsteps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 14px 0; }
.dsteps-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font: 500 13px/1 var(--f-mono); }
.dsteps b { display: block; margin-top: 4px; font-size: 16px; letter-spacing: -.015em; }
.dsteps p { margin-top: 4px; color: var(--text-2); }
.dnote { margin-top: 22px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); border-left: 3px solid var(--signal); }
.dnote b { display: block; font-size: 15px; letter-spacing: -.01em; }
.dnote p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.dnote--info { border-left-color: var(--text); }
.dnote--warn { border-left-color: #D97706; }
.dshot { margin: 24px 0 0; }
.dshot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-1); background: #fff; }
.dshot figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.dtable { position: relative; margin-top: 20px; overflow-x: auto; }
.dtable table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dtable th, .dtable td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); }
.dtable th { font: 500 12px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.dtable td:first-child { font-weight: 500; }
.docs-support { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding: 18px 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.docs-support > .ico { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--muted); }
.docs-support b { font-size: 16px; letter-spacing: -.02em; }
.docs-support p { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.docs-support a { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.docs-index .docs-support { margin-bottom: 0; }
.docs-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: var(--invert-bg); color: var(--invert-fg); }
.docs-cta b { font-size: 20px; letter-spacing: -.025em; }
.docs-cta p { margin-top: 4px; color: var(--invert-muted); }
.docs-cta .btn--primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.docs-cta .btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: var(--btn-fg); }
.docs-toc-home { display: block; margin: 0 0 6px -10px; padding: 6px 10px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.docs-toc-home.is-on, .docs-toc-home:hover { background: var(--surface-2); }
.docs-index { display: grid; gap: clamp(36px, 5vw, 56px); padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(64px, 8vw, 104px); }
.docs-group { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 20px 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.docs-group-head .kicker { margin-bottom: 10px; }
.docs-group-head .h3 { font-size: 24px; letter-spacing: -.03em; }
.docs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.docs-cards a { position: relative; display: grid; gap: 6px; height: 100%; padding: 18px 44px 18px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s, transform .2s var(--ease); }
.docs-cards a:hover { border-color: var(--text); transform: translateY(-2px); }
.docs-cards b { font-size: 16px; letter-spacing: -.02em; line-height: 1.3; }
.docs-cards span { font-size: 14px; color: var(--muted); line-height: 1.5; }
.docs-cards i { position: absolute; right: 16px; top: 18px; color: var(--muted); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 8px 0 32px; }
.docs-pager a { display: grid; gap: 4px; padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s; }
.docs-pager a:hover { border-color: var(--text); }
.docs-pager small { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.docs-pager small .ico { width: 14px; height: 14px; }
.docs-pager b { font-size: 15.5px; letter-spacing: -.015em; }
.docs-pager-next { text-align: right; justify-items: end; }
@media (max-width: 860px) {
  .docs-group { grid-template-columns: 1fr; }
  .docs-cards { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-toc { display: none; }
}
@media (max-width: 560px) {
  .dterms div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
}

/* Page Solutions et page comparative */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head { display: grid; gap: 10px; max-width: 720px; margin-bottom: clamp(24px, 4vw, 40px); }
.page-head .page-h2 { margin-bottom: 0; }
.page-head .body-l { color: var(--muted); }
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.benefits li { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.benefit-ico { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; background: var(--signal-soft); color: var(--signal); }
.benefit-ico .ico { width: 19px; height: 19px; }
.benefits b { font-size: 16.5px; letter-spacing: -.02em; line-height: 1.3; }
.benefits p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.benefits p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.cmp--soon { padding: 3px 9px; border-radius: 999px; font: 500 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--signal); background: var(--signal-soft); }
.cmp--soon { display: inline-block; vertical-align: middle; }
.why-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.why-head { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 14px; }
.why-head .kicker b { color: var(--signal); }
.why-head .body-l { color: var(--muted); }
.benefits--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.why-table table { min-width: 640px; }
.why-table thead th:last-child { color: var(--signal); }
.why-table th, .why-table td { padding: 16px 18px; vertical-align: top; }
.why-table tbody th { font: 500 15px/1.45 var(--f-sans); color: var(--text); text-transform: none; letter-spacing: 0; background: none; width: 26%; }
.why-table td { width: 37%; color: var(--muted); line-height: 1.45; }
.why-table td:last-child, .why-table thead th:last-child { background: color-mix(in srgb, var(--signal) 7%, transparent); }
.why-table td:last-child { color: var(--text); font-weight: 500; }
.why-yes { display: flex; gap: 10px; align-items: flex-start; }
.why-yes .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--signal); }
.compare.why-table td:first-child { white-space: normal; }
.soon { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.soon li { display: flex; gap: 16px; padding: 24px; border-radius: var(--r-lg); border: 1px dashed color-mix(in srgb, var(--signal) 45%, var(--line)); background: var(--surface); }
.soon .benefit-ico { flex: none; margin: 0; }
.soon b { font-size: 17px; letter-spacing: -.02em; margin-right: 10px; }
.soon p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1080px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .why-group { grid-template-columns: 1fr; } .why-head { position: static; } }
@media (max-width: 600px) { .benefits, .benefits--2, .soon { grid-template-columns: 1fr; } }
@media (max-width: 680px) {
  .why-table { overflow: visible; }
  .why-table table, .why-table tbody, .why-table tr, .why-table th, .why-table td { display: block; width: auto; min-width: 0; }
  .why-table thead { display: none; }
  .why-table tr { margin-bottom: 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
  .why-table th, .why-table td { border: 0; padding: 12px 16px; }
  .why-table tbody th { width: auto; padding-bottom: 4px; font-size: 16px; }
  .why-table td::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .why-table td:last-child::before { color: var(--signal); }
}

/* Cartes métiers (accueil et page Solutions). */
.audience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.audience-grid > li { display: flex; }
.audience-card { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); transition: border-color .2s; }
.audience-card:hover { border-color: var(--text); }
.audience-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 8px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-alt); color: var(--text); transition: color .2s, border-color .2s; }
.audience-ico .ico { width: 22px; height: 22px; stroke-width: 1.5; }
.audience-card:hover .audience-ico { color: var(--signal); border-color: var(--line); }
.audience-card--other .audience-ico { background: var(--surface); color: var(--text-2); }
.audience-name { font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.audience-card p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.audience-link { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.audience-card:hover .audience-link { color: var(--signal); }
.audience-link .ico { width: 15px; height: 15px; }
.audience-card--other { border-style: dashed; background: var(--bg-alt); }
.audience-card--other .audience-name { color: var(--text-2); }
.audience-points { display: grid; gap: 8px; width: 100%; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.audience-points li { display: flex; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.audience-points .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--signal); }
@media (max-width: 980px) { .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .audience-grid { grid-template-columns: 1fr; } .audience-card { padding: 22px; } }

/* Guide « Structurer une proposition commerciale » */
.guide-steps { max-width: 980px; }
.guide-steps .h3 { margin-bottom: 10px; }
.guide-steps > li > div > p { max-width: 64ch; }
.guide-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.guide-cols .dd-title, .guide-tip .dd-title { margin: 0 0 8px; }
.guide-tip { padding: 16px 18px; border-radius: var(--r-md); background: var(--signal-soft); }
.guide-tip .dd-title { color: var(--signal); }
.guide-tip p:last-child { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.guide-tip a { text-decoration: underline; text-underline-offset: 3px; }
.guide-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 80px); }
.guide-check { display: grid; gap: 10px; }
.guide-check li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); }
.guide-check .ico { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--signal); }
.guide-mistakes { display: grid; gap: 0; }
.guide-mistakes li { padding: 16px 0; border-top: 1px solid var(--line); }
.guide-mistakes li:last-child { border-bottom: 1px solid var(--line); }
.guide-mistakes b { display: block; margin-bottom: 4px; letter-spacing: -.01em; }
.guide-mistakes p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .guide-cols, .guide-two { grid-template-columns: 1fr; } }

/* ============================ Exemple d'offre interactif ============================
   Exemple personnalisé pour une agence fictive (Studio Nord, vert et ivoire). Couleurs fixes : c'est une capture vivante, elle ne suit pas le thème du site. */
.ex-sec { padding-top: clamp(24px, 4vw, 48px); }
.ex-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.ex-window {
  --ex-accent: #173F35; --ex-accent-soft: #E8EDDA; --ex-ink: #203C33; --ex-muted: #65716A; --ex-line: #DCE0D5; --ex-bg: #F6F3EC;
  --ex-zoom: 1;
  overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: #fff; color: var(--ex-ink);
  box-shadow: var(--shadow-2); font-size: 14px; color-scheme: light;
}
.ex-window .ico { width: 16px; height: 16px; flex: none; }
.ex-bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px 0 14px; border-bottom: 1px solid var(--ex-line); background: #FAFAFA; }
.ex-dots { display: flex; gap: 6px; } .ex-dots i { width: 10px; height: 10px; border-radius: 50%; background: #E4E4E7; }
.ex-url { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: 0 auto; padding: 4px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 8px; background: #F4F4F5; font: 12px/1 var(--f-mono); color: var(--ex-muted); }
.ex-url .ico { width: 12px; height: 12px; }
.ex-restart { border: 0; background: none; font: inherit; font-size: 12.5px; color: var(--ex-muted); cursor: pointer; }
.ex-restart:hover { color: var(--ex-ink); }
.ex-login, .ex-space { height: 680px; }
[hidden].ex-login, [hidden].ex-space, .ex-window [hidden] { display: none !important; }

/* Connexion */
.ex-login { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ex-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 28px; color: #fff;
  background: linear-gradient(180deg, rgba(15, 42, 34, .22), rgba(15, 42, 34, .88)), url("../demo/boutique.jpg") center / cover no-repeat #173F35; }
.ex-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.01em; }
.ex-logo b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ex-accent-soft); color: var(--ex-accent); font-size: 13px; }
.ex-brand-mid { display: grid; gap: 14px; justify-items: start; }
.ex-badge { padding: 5px 10px; border-radius: 999px; background: var(--ex-accent-soft); color: #173F35; font: 600 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .05em; }
.ex-headline { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 600; max-width: 14ch; }
.ex-brand-mid p { margin: 0; color: rgba(255, 255, 255, .78); max-width: 38ch; line-height: 1.5; }
.ex-card { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
.ex-card > .ico { width: 34px; height: 34px; padding: 8px; border-radius: 9px; background: var(--ex-accent-soft); color: var(--ex-accent); }
.ex-card b { display: block; font-size: 13.5px; } .ex-card small { color: rgba(255, 255, 255, .7); font-size: 12px; }
.ex-brand-foot { display: flex; gap: 8px; align-items: center; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .7); }
.ex-brand-foot .ico { width: 13px; height: 13px; }
.ex-form-panel { display: grid; place-items: center; padding: 28px; }
.ex-form { width: min(340px, 100%); display: grid; gap: 10px; }
.ex-form h3 { font-size: 21px; letter-spacing: -.02em; font-weight: 600; }
.ex-form > p { margin: 0 0 6px; color: var(--ex-muted); line-height: 1.5; }
.ex-form label, .ex-code legend { font-size: 12.5px; font-weight: 500; }
.ex-input { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--ex-line); color: var(--ex-muted); }
.ex-input input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; color: var(--ex-ink); }
.ex-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--ex-accent, #173F35); color: #fff; font: 600 14px/1 var(--f-sans); cursor: pointer; transition: filter .15s, opacity .15s; }
.ex-btn:hover { filter: brightness(1.08); }
.ex-btn:disabled { opacity: .45; cursor: not-allowed; filter: none; }
.ex-btn--sm { height: 36px; font-size: 13px; }
.ex-powered { margin: 8px 0 0 !important; font-size: 11.5px; text-align: center; }
.ex-code { display: flex; gap: 8px; margin: 0; padding: 0; border: 0; }
.ex-code legend { margin-bottom: 8px; }
.ex-code input { width: 100%; min-width: 0; height: 50px; border-radius: 10px; border: 1px solid var(--ex-line); text-align: center; font: 600 20px/1 var(--f-mono); color: var(--ex-ink); background: #fff; }
.ex-code input:focus { outline: none; border-color: var(--ex-accent); box-shadow: 0 0 0 3px var(--ex-accent-soft); }
.ex-hint { margin: 0; font-size: 12.5px; color: var(--ex-muted); }
.ex-link { border: 0; padding: 0; background: none; font: inherit; color: var(--ex-accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ex-back { justify-self: center; font-weight: 500; font-size: 12.5px; color: var(--ex-muted); }

/* Espace client */
.ex-space { display: flex; flex-direction: column; }
.ex-top { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 16px; background: var(--ex-accent); color: #fff; flex: none; }
.ex-pill { padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; }
.ex-logout { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 6px 10px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .14); color: #fff; font: 500 12.5px/1 var(--f-sans); cursor: pointer; }
.ex-logout:hover { background: rgba(255, 255, 255, .24); }
.ex-logout .ico { width: 14px; height: 14px; }
.ex-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 250px minmax(0, 1fr); }
.ex-side { display: flex; flex-direction: column; gap: 6px; min-height: 0; overflow-y: auto; padding: 14px 10px; border-right: 1px solid var(--ex-line); background: #fff; }
.ex-offer { padding: 4px 6px 12px; border-bottom: 1px solid var(--ex-line); margin-bottom: 6px; }
.ex-offer b { display: block; font-size: 14px; letter-spacing: -.01em; line-height: 1.3; }
.ex-offer small { display: block; margin: 4px 0 8px; font: 11px/1.3 var(--f-mono); color: var(--ex-muted); }
.ex-offer p { margin: 0; font-size: 12.5px; color: var(--ex-muted); line-height: 1.45; }
.ex-quote-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border-radius: 10px; border: 1px solid var(--ex-line); background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ex-quote-item > .ico { width: 30px; height: 30px; padding: 7px; border-radius: 8px; background: var(--ex-accent); color: #fff; }
.ex-quote-item b { display: block; font-size: 13px; } .ex-quote-item small { color: var(--ex-muted); font-size: 11.5px; }
.ex-quote-item[aria-current] { border-color: var(--ex-accent); background: var(--ex-accent-soft); }
.ex-label { margin: 12px 6px 4px; font: 500 10.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ex-muted); }
.ex-nav { display: grid; gap: 1px; }
.ex-nav button { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 6px; border: 0; border-radius: 8px; background: none; font: inherit; font-size: 13px; color: var(--ex-ink); text-align: left; cursor: pointer; }
.ex-nav button:hover { background: var(--ex-bg); }
.ex-nav button[aria-current] { background: var(--ex-accent-soft); color: #173F35; font-weight: 500; }
.ex-nav .ico { width: 15px; height: 15px; color: var(--ex-muted); }
.ex-nav button[aria-current] .ico { color: var(--ex-accent); }
.ex-nav span { flex: 1; }
.ex-nav i { font: normal 10.5px/1 var(--f-mono); color: #A1A1AA; }
.ex-team { margin-top: auto; padding-top: 8px; border-top: 1px solid var(--ex-line); }
.ex-person { display: flex; align-items: center; gap: 10px; padding: 6px; }
.ex-person > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ex-accent); color: #fff; font-size: 11px; font-weight: 600; }
.ex-person b { display: block; font-size: 12.5px; } .ex-person small { color: var(--ex-muted); font-size: 11.5px; }
.ex-main { min-height: 0; overflow-y: auto; padding: 18px 20px 24px; background: var(--ex-bg); scroll-margin-top: calc(var(--hdr-h) + 12px); }
.ex-crumb { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 12.5px; color: var(--ex-muted); }
.ex-crumb span { flex: none; white-space: nowrap; padding: 4px 9px; border-radius: 999px; background: var(--ex-ink); color: #fff; font: 600 10.5px/1 var(--f-mono); text-transform: uppercase; letter-spacing: .04em; }
.ex-viewer { overflow: hidden; border-radius: 12px; background: #FFFEFA; color: var(--ex-ink); border: 1px solid var(--ex-line); }
.ex-tools { display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 14px; }
.ex-file { flex: 1; min-width: 0; }
.ex-file b { display: block; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-file small { color: var(--ex-muted); font-size: 11px; }
.ex-pages { padding: 5px 10px; border-radius: 8px; background: rgba(255, 255, 255, .08); font: 12px/1 var(--f-mono); }
.ex-zoom { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.ex-zoom button, .ex-dl { display: grid; place-items: center; width: 26px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--ex-ink); cursor: pointer; }
.ex-zoom button:hover, .ex-dl:hover { background: rgba(255, 255, 255, .14); }
.ex-zoom output { min-width: 42px; text-align: center; font: 11.5px/1 var(--f-mono); }
.ex-dl { background: rgba(255, 255, 255, .08); width: 32px; height: 32px; }
.ex-progress { display: flex; align-items: center; gap: 12px; padding: 0 14px 10px; font-size: 11.5px; color: var(--ex-muted); }
.ex-progress span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ex-progress .ico { width: 13px; height: 13px; }
.ex-progress i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .15); }
.ex-progress i b { display: block; height: 100%; width: 100%; border-radius: 3px; background: var(--ex-accent); }
.ex-progress em { font-style: normal; font: 11px/1 var(--f-mono); }
.ex-doc { max-height: 540px; overflow: auto; padding: 20px; background: #EAE8DF; text-align: center; }
.ex-doc img { width: calc(min(520px, 100%) * var(--ex-zoom)); max-width: none; height: auto; box-shadow: 0 6px 24px rgba(0, 0, 0, .18); transition: width .2s var(--ease); }

/* Page de service */
.ex-svc { display: grid; gap: 14px; }
.ex-svc-hero { display: grid; gap: 8px; padding: 22px; border-radius: 14px; background: linear-gradient(135deg, #102E27, var(--ex-accent)); color: #fff; }
.ex-svc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .16); }
.ex-svc-ico .ico { width: 19px; height: 19px; }
.ex-svc-hero small { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #DDE8A0; }
.ex-svc-hero h3 { font-size: 24px; letter-spacing: -.03em; font-weight: 600; }
.ex-svc-hero p { margin: 0; max-width: 58ch; color: rgba(255, 255, 255, .82); line-height: 1.55; }
.ex-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ex-kpis li { padding: 14px; border-radius: 12px; background: #fff; border: 1px solid var(--ex-line); }
.ex-kpis b { display: block; font-size: 24px; letter-spacing: -.03em; color: var(--ex-accent); }
.ex-kpis span { font-size: 12.5px; color: var(--ex-muted); }
.ex-svc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ex-svc-cols > div { padding: 6px 16px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ex-line); }
.ex-svc-cols .ex-label { margin-left: 0; }
.ex-list, .ex-steps { display: grid; gap: 10px; }
.ex-list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.4; }
.ex-list .ico { width: 15px; height: 15px; margin-top: 2px; color: var(--ex-accent); }
.ex-steps li { display: flex; gap: 10px; align-items: center; }
.ex-steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ex-accent-soft); color: var(--ex-accent); font: normal 600 11px/1 var(--f-mono); flex: none; }
.ex-amount { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 12px 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--ex-line); }
.ex-amount span { color: var(--ex-muted); } .ex-amount b { color: var(--ex-ink); margin-left: 6px; }

/* Fil « Ce que voit l'agence » */
.ex-feed { position: sticky; top: calc(var(--hdr-h) + 16px); display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.ex-feed-kicker { display: flex; align-items: center; gap: 8px; margin: 0; font: 500 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--signal); }
.ex-live { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); animation: pulse 2s infinite; }
.ex-feed .h3 { font-size: 19px; }
.ex-feed-list { display: grid; gap: 8px; min-height: 120px; align-content: start; }
.ex-feed-list li { display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: var(--r-md); background: var(--bg-alt); animation: liveIn .35s var(--ease) both; }
.ex-feed-list .ex-feed-empty { display: block; background: none; padding: 10px 0; color: var(--muted); font-size: 14px; animation: none; }
.ex-feed-list .ex-feed-empty[hidden] { display: none; }
.ex-av { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 10.5px; font-weight: 600; }
.ex-feed-list p { margin: 0; font-size: 13.5px; line-height: 1.4; }
.ex-feed-list small { display: block; margin-top: 2px; font: 11px/1.3 var(--f-mono); color: var(--muted); }
.ex-feed-note { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); }

@media (max-width: 1100px) {
  .ex-layout { grid-template-columns: 1fr; }
  .ex-feed { position: static; }
}
@media (max-width: 760px) {
  .ex-login, .ex-space { height: auto; }
  .ex-login { grid-template-columns: 1fr; }
  .ex-brand { gap: 16px; padding: 20px; }
  .ex-brand-mid p, .ex-card, .ex-brand-foot { display: none; }
  .ex-form-panel { padding: 24px 18px 28px; }
  .ex-body { grid-template-columns: minmax(0, 1fr); }
  .ex-side, .ex-main { min-width: 0; }
  .ex-side { overflow: visible; border-right: 0; border-bottom: 1px solid var(--ex-line); }
  .ex-offer p, .ex-team { display: none; }
  .ex-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; }
  .ex-nav li { flex: none; }
  .ex-nav button { padding: 7px 10px; border: 1px solid var(--ex-line); white-space: nowrap; }
  .ex-nav i { display: none; }
  .ex-main { overflow: visible; padding: 14px; }
  .ex-doc { max-height: 460px; padding: 12px; }
  .ex-tools { gap: 8px; } .ex-pages { display: none; }
  .ex-svc-cols { grid-template-columns: 1fr; }
  .ex-kpis { gap: 6px; } .ex-kpis li { padding: 10px; } .ex-kpis b { font-size: 19px; } .ex-kpis span { font-size: 11.5px; }
  .ex-top { gap: 10px; } .ex-pill { display: none; }
}
/* Les listes imbriquées du guide ne reprennent pas le style des étapes (.chapters li). */
.guide-steps .guide-cols li { display: flex; gap: 10px; padding: 0; border: 0; font-size: 15px; }
.guide-cols .dl { margin-top: 0; }

/* ============================ Démo plein écran (/<lang>/demo/) ============================ */
.ex-full-link { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--ex-ink) !important; font-weight: 500; text-decoration: none; }
.ex-full-link .ico { width: 13px !important; height: 13px !important; }
.exf { --exf-bar: 48px; min-height: 100vh; min-height: 100dvh; background: #fff; }
.exf-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 14px; height: var(--exf-bar); padding: 0 12px; background: #0A0A0B; color: #fff; }
.exf-brand { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 8px; color: #fff; }
.exf-brand:hover { background: rgba(255, 255, 255, .1); }
.exf-brand .ico { width: 15px; height: 15px; }
.exf-brand .logo { --signal: #DDE8A0; height: 18px; width: auto; }
.exf-label { display: flex; align-items: baseline; gap: 10px; min-width: 0; font-size: 13px; }
.exf-label b { font-weight: 600; white-space: nowrap; }
.exf-label span { color: rgba(255, 255, 255, .55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exf-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.exf-btn { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: none; color: #fff; font: 500 13px/1 var(--f-sans); cursor: pointer; white-space: nowrap; }
.exf-btn:hover { background: rgba(255, 255, 255, .1); }
.exf-btn[aria-expanded="true"] { background: #fff; color: #0A0A0B; }
.exf-btn--cta { background: #173F35; border-color: #173F35; }
.exf-btn--cta:hover { background: #245A4B; }
.exf-btn b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #173F35; color: #fff; font-size: 11px; }
.exf-btn b[hidden] { display: none; }
.exf .ex-live { background: #DDE8A0; }

.ex-window--full { border: 0; border-radius: 0; box-shadow: none; }
.ex-window--full .ex-login, .ex-window--full .ex-space { height: calc(100vh - var(--exf-bar)); height: calc(100dvh - var(--exf-bar)); }
.ex-window--full .ex-body { grid-template-columns: 280px minmax(0, 1fr); }
.ex-window--full .ex-top { height: 58px; padding: 0 22px; }
.ex-window--full .ex-main { padding: 24px clamp(20px, 3vw, 40px) 40px; }
.ex-window--full .ex-panel { max-width: 1100px; margin: 0 auto; }
.ex-window--full .ex-doc { max-height: none; height: calc(100dvh - var(--exf-bar) - 58px - 190px); min-height: 420px; }
.ex-window--full .ex-doc img { width: calc(min(680px, 100%) * var(--ex-zoom)); }
.ex-window--full .ex-brand { padding: clamp(28px, 4vw, 56px); }
.ex-window--full .ex-headline { font-size: clamp(30px, 3.4vw, 46px); }

.exf-feed { position: fixed; top: calc(var(--exf-bar) + 12px); right: 12px; bottom: 12px; z-index: 30; display: grid; grid-template-rows: auto auto 1fr auto; gap: 10px; width: min(360px, calc(100vw - 24px)); padding: 20px; overflow: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .35); animation: liveIn .25s var(--ease) both; }
.exf-feed[hidden] { display: none; }
.exf-feed-head { display: flex; align-items: center; justify-content: space-between; }
.exf-close { display: grid; place-items: center; width: 30px; height: 30px; border: 0; border-radius: 8px; background: var(--bg-alt); color: var(--text); cursor: pointer; }
.exf-close .ico { width: 15px; height: 15px; }
@media (max-width: 760px) {
  .exf-hide-s, .exf-label { display: none; }
  .exf-bar { gap: 8px; padding: 0 8px; }
  .ex-window--full .ex-login, .ex-window--full .ex-space { height: auto; min-height: 0; }
  .ex-window--full .ex-body { grid-template-columns: minmax(0, 1fr); }
  .ex-window--full .ex-doc { height: auto; max-height: 520px; min-height: 0; }
  .ex-window--full .ex-top { padding: 0 14px; }
  .ex-window--full .ex-main { padding: 14px; }
}

/* Guide pas à pas et écran d'accueil de la démo */
.ex-aside { display: grid; gap: 12px; position: sticky; top: calc(var(--hdr-h) + 16px); }
.ex-aside .ex-feed { position: static; }
.ex-guide { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; background: #0A0A0B; color: #fff; }
.ex-guide[hidden] { display: none; }
.ex-guide.is-new { animation: liveIn .35s var(--ease) both; }
.ex-guide-head { display: flex; align-items: center; gap: 10px; }
.ex-guide-label { font: 500 11px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: #DDE8A0; }
.ex-guide-dots { display: flex; gap: 4px; }
.ex-guide-dots i { width: 14px; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .2); transition: background .3s; }
.ex-guide-dots i.on { background: #DDE8A0; }
.ex-guide-x { display: grid; place-items: center; width: 26px; height: 26px; margin-left: auto; border: 0; border-radius: 7px; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.ex-guide-x .ico { width: 13px; height: 13px; }
.ex-guide-title { font-size: 16px; letter-spacing: -.02em; }
.ex-guide-text { margin: 0; font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.ex-guide-end { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.ex-guide-end[hidden] { display: none; }
.ex-guide .ex-btn { text-decoration: none; }
.ex-guide .ex-btn .ico { width: 15px; height: 15px; }
.ex-guide .ex-link { color: #fff; font-weight: 500; font-size: 13px; }
.ex-guide--full { position: fixed; left: 16px; bottom: 16px; z-index: 26; width: min(360px, calc(100vw - 32px)); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .5); border: 1px solid rgba(255, 255, 255, .08); }
.exf-btn[hidden] { display: none; }

.exf-intro { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--text); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); }
.exf-intro::backdrop { background: rgba(10, 10, 11, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.exf-intro[open] { animation: liveIn .35s var(--ease) both; }
.exf-intro-in { display: grid; gap: 16px; padding: clamp(22px, 4vw, 34px); }
.exf-intro h1 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.exf-intro-text { margin: 0; color: var(--text-2); line-height: 1.55; }
.exf-cast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.exf-cast-item { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 2px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); }
.exf-cast-item.is-you { border-color: var(--signal); background: var(--signal-soft); }
.exf-cast-item small { grid-column: 1 / -1; margin-bottom: 6px; font: 500 10.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.exf-cast-item.is-you small { color: var(--signal); }
.exf-cast-av { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; }
.exf-cast-item:not(.is-you) .exf-cast-av { background: #173F35; color: #fff; }
.exf-cast-item b { font-size: 14.5px; letter-spacing: -.01em; }
.exf-cast-item span:last-child { font-size: 12.5px; line-height: 1.35; color: var(--muted); }
.exf-intro-steps { display: grid; gap: 8px; }
.exf-intro-steps li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.exf-intro-steps i { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--bg-alt); font: normal 600 12px/1 var(--f-mono); }
.exf-intro-start { height: 48px; font-size: 15px; }
.exf-intro-start .ico { width: 16px; height: 16px; }
.exf-intro-note { margin: -4px 0 0; text-align: center; font-size: 12.5px; color: var(--muted); }
@media (max-width: 1100px) { .ex-aside { position: static; grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .exf { display: flex; flex-direction: column; }
  .exf-bar { order: 0; } .ex-guide--full { order: 1; } .ex-window--full { order: 2; }
  .ex-guide--full { position: static; width: auto; margin: 8px; padding: 12px 14px; box-shadow: none; }
  .ex-guide--full .ex-guide-text { font-size: 13px; }
  .exf-cast { grid-template-columns: 1fr; }
}

/* Studio Nord: editorial identity shared by the preview and client space. */
.ex-window, .studio-preview, .exf {
  --ex-accent: #173F35; --ex-accent-soft: #E8EDDA;
  --signal: #173F35; --signal-soft: #E8EDDA;
}
.exf {
  --surface: #FFFEFA; --text: #203C33; --text-2: #4D6057; --muted: #65716A;
  --line: #DCE0D5; --bg: #F6F3EC; --bg-alt: #EDEEE4;
  background: var(--bg); color-scheme: light;
}
.ex-logo { font-size: 19px; letter-spacing: -.045em; }
.ex-logo b { position: relative; width: 34px; height: 34px; border-radius: 2px; background: #DDE8A0; color: #173F35; font: 26px/1 var(--f-serif); }
.ex-logo b span { position: absolute; top: 2px; right: 2px; font: 11px/1 var(--f-sans); }
.ex-headline { font-family: var(--f-serif); font-weight: 400; font-size: 42px; letter-spacing: -.02em; }
.ex-window--full .ex-headline { font-size: clamp(42px, 5vw, 72px); }
.ex-form-panel { background: #F6F3EC; }
.ex-form h3 { font-family: var(--f-serif); font-size: 34px; font-weight: 400; }
.ex-input { background: #FFFEFA; height: 48px; }
.ex-form > .ex-btn { height: 48px; }
.ex-top { background: #173F35; }
.ex-side { background: #FFFEFA; }
.ex-offer { padding-top: 14px; padding-bottom: 20px; }
.ex-quote-item[aria-current] { border-color: #CFD8BD; }
.ex-tools { padding: 14px 18px; }
.ex-pages, .ex-zoom, .ex-dl { background: #EDF0E6; }
.ex-zoom button:hover, .ex-dl:hover { background: #DDE8A0; }
.ex-doc img { margin-inline: auto; box-shadow: 0 6px 28px rgba(23, 63, 53, .12); }
.ex-progress { padding: 0 18px 12px; }
.ex-svc-hero { background: #173F35; padding: 30px; }
.ex-svc-hero h3 { font: 400 clamp(30px, 3vw, 44px)/1.08 var(--f-serif); letter-spacing: -.02em; }
.exf-bar { background: #102B24; }
.exf-btn--cta, .exf-btn--cta:hover { background: #DDE8A0; color: #173F35; border-color: #DDE8A0; }
.exf-intro h1 { font: 400 clamp(36px, 4vw, 48px)/1.02 var(--f-serif); letter-spacing: -.02em; }
.exf-intro::backdrop { background: rgba(15, 42, 34, .35); backdrop-filter: blur(3px); }
.exf-intro .ex-feed-kicker { color: #173F35; }
.exf-intro .ex-live { background: #173F35; }
.exf-intro-in { gap: 22px; padding: 32px; }
.exf-cast-item { background: #F6F3EC; }
.exf-cast-item.is-you { border-color: #CFD8BD; }
.ex-guide { background: #173F35; }
.ex-guide .ex-btn { background: #DDE8A0; color: #173F35; }
.studio-preview { color: #203C33; background: #F6F3EC; text-align: left; }
.studio-preview-top { display: flex; align-items: center; gap: 16px; padding: 22px 32px; border-bottom: 1px solid #DCE0D5; }
.studio-preview-top > span:nth-child(2) { margin-left: auto; font-size: 11px; color: #65716A; }
.studio-preview-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #E8EDDA; font-size: 10px; }
.studio-welcome { display: grid; grid-template-columns: 1.05fr 1fr; background: #173F35; color: #F6F3EC; }
.studio-welcome-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(24px, 4vw, 54px); }
.studio-eyebrow { font: 500 10px/1.5 var(--f-mono); letter-spacing: .12em; }
.studio-welcome .studio-eyebrow { color: #DDE8A0; }
.studio-welcome h2 { margin: 24px 0 18px; font: 400 clamp(38px, 4.6vw, 68px)/.98 var(--f-serif); letter-spacing: -.02em; white-space: pre-line; }
.studio-welcome p { max-width: 33ch; font-size: 14px; line-height: 1.65; color: #D5DFD5; }
.studio-tag { margin-top: 28px; padding-top: 14px; border-top: 1px solid #567267; font-size: 11px; color: #DDE8A0; }
.studio-photo { position: relative; min-width: 0; min-height: 330px; overflow: hidden; }
.studio-photo img, .win .studio-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.studio-photo figcaption { position: absolute; bottom: 14px; left: 14px; right: 14px; width: fit-content; padding: 6px 10px; background: #F6F3EC; color: #173F35; font-size: 10px; }
.studio-preview-bottom { display: grid; grid-template-columns: 1fr .72fr; gap: 30px; padding: 30px 48px 0; max-height: 275px; overflow: hidden; }
.studio-preview-note h3 { margin: 8px 0; font: 400 34px/1.1 var(--f-serif); }
.studio-preview-note p { max-width: 36ch; margin-bottom: 18px; font-size: 13px; color: #65716A; }
.studio-preview-note .ex-btn { height: 38px; font-size: 12px; }
.studio-preview-note > small { display: block; margin: 16px 0 24px; color: #65716A; font-size: 10px; }
.studio-preview-document { display: grid; grid-template-columns: auto 1fr; align-content: start; align-items: center; gap: 12px; padding: 16px 20px 0; border: 1px solid #DCE0D5; border-radius: 10px 10px 0 0; background: #EDEEE4; }
.studio-preview-document b, .studio-preview-document small { display: block; font-size: 11px; }
.studio-preview-document small { color: #65716A; font-size: 10px; }
.studio-preview-document img { grid-column: 1 / -1; box-shadow: 0 5px 18px #173F3515; }
@media (max-width: 760px) {
  .studio-preview-top { padding: 16px; gap: 10px; }
  .studio-preview-top > span:nth-child(2) { font-size: 9px; max-width: 100px; text-align: right; }
  .studio-preview .ex-logo { font-size: 16px; }
  .studio-welcome { grid-template-columns: 1fr; }
  .studio-welcome-copy { padding: 28px 24px; }
  .studio-welcome h2 { margin-top: 18px; font-size: 46px; }
  .studio-photo { min-height: 190px; }
  .studio-preview .studio-photo { min-height: 210px; }
  .studio-tag { margin-top: 20px; }
  .studio-preview-bottom { grid-template-columns: 1fr; padding: 24px; max-height: none; }
  .studio-preview-document { display: none; }
  .studio-preview-note h3 { font-size: 30px; }
  .studio-preview-note > small { margin-bottom: 0; }
  .exf-intro-in { padding: 24px; gap: 18px; }
  .exf-cast { grid-template-columns: 1fr 1fr; }
  .exf-cast-item { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
  .exf-cast-av { display: none; }
  .exf-cast-item small { margin-bottom: 4px; font-size: 9px; }
}

/* Service pages: six editorial compositions, one Studio Nord identity. */
.ex-svc { gap: 24px; }
.ex-svc-opening { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 14px; background: #EAEBDD; }
.ex-svc-opening > * { min-width: 0; }
.ex-svc-opening .ex-svc-hero { border-radius: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; padding: clamp(24px, 3vw, 40px); }
.ex-svc-opening h3 { font-size: clamp(34px, 3.7vw, 54px); max-width: 16ch; }
.ex-svc-opening .ex-svc-name { font: 500 12px/1.4 var(--f-sans); }
.ex-svc-opening .ex-svc-hero > p:last-child { font-size: 13px; }
.ex-svc-visual { position: relative; display: flex; flex-direction: column; min-width: 0; margin: 0; background: #EAEBDD; }
.ex-svc-photo { width: 100%; height: 100%; min-height: 300px; max-height: 480px; flex: 1; object-fit: cover; }
.ex-svc-visual figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding: 10px 14px; background: #F0EDE4; color: #58645C; font-size: 9px; line-height: 1.5; }
.ex-svc-visual figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.ex-svc .ex-kpis { gap: 0; border-block: 1px solid var(--ex-line); }
.ex-svc .ex-kpis li { background: none; border: 0; border-radius: 0; padding: 18px 20px; }
.ex-svc .ex-kpis li + li { border-left: 1px solid var(--ex-line); }
.ex-svc .ex-kpis b { font: 400 36px/1.1 var(--f-serif); margin-bottom: 4px; }
.ex-svc .ex-svc-cols { gap: 28px; }
.ex-svc .ex-svc-cols > div { border: 0; border-radius: 0; padding: 0; background: none; }
.ex-svc .ex-svc-cols .ex-label { margin-bottom: 16px; }
.ex-svc .ex-list li, .ex-svc .ex-steps li { padding-bottom: 12px; border-bottom: 1px solid var(--ex-line); font-size: 13px; }
.ex-svc .ex-amount { background: #E8EDDA; border: 0; border-radius: 8px; }
/* Strategy: an editorial interview layout and a workshop photograph. */
.ex-svc--strategy .ex-svc-opening { background: #E9EDDF; }
.ex-svc--strategy .ex-svc-hero { background: #E9EDDF; color: #173F35; }
.ex-svc--strategy .ex-svc-hero p, .ex-svc--strategy .ex-svc-hero small { color: #4D6057; }
.ex-svc--strategy .ex-svc-photo { object-position: 60% center; }
/* Identity: a moodboard, oversized heading and a strip of colours. */
.ex-svc--identity .ex-svc-opening { grid-template-columns: 1.15fr 1fr; background: #EDE5D8; }
.ex-svc--identity .ex-svc-hero { background: #EDE5D8; color: #563E31; }
.ex-svc--identity .ex-svc-hero p, .ex-svc--identity .ex-svc-hero small { color: #725B4B; }
.ex-svc--identity .ex-svc-visual { padding: 24px 24px 0; background: #D8CBBA; }
.ex-svc--identity .ex-svc-photo { min-height: 220px; max-height: 300px; }
.ex-palette { display: grid; grid-template-columns: repeat(4, 1fr); height: 72px; margin-block: 16px; }
.ex-palette span { padding: 10px; background: #173F35; color: #F6F3EC; font: 10px var(--f-mono); }
.ex-palette span:nth-child(2) { background: #DDE8A0; color: #173F35; }
.ex-palette span:nth-child(3) { background: #F6F3EC; color: #173F35; }
.ex-palette span:nth-child(4) { background: #B7795A; }
.ex-svc--identity .ex-svc-visual figcaption { margin-inline: -24px; }
/* Web: a browser composition with a small editorial homepage. */
.ex-svc--digital .ex-svc-opening { grid-template-columns: .85fr 1.15fr; background: #DCE5DF; }
.ex-svc--digital .ex-svc-hero { background: #DCE5DF; color: #173F35; }
.ex-svc--digital .ex-svc-hero p, .ex-svc--digital .ex-svc-hero small { color: #4D6057; }
.ex-svc--digital .ex-svc-visual { justify-content: center; background: #CCD9D0; padding-top: 28px; }
.ex-browser-art { margin: 0 24px 28px; overflow: hidden; border-radius: 8px; box-shadow: 0 12px 28px #173F3520; background: #FFFEFA; }
.ex-browser-bar { display: flex; align-items: center; gap: 18px; padding: 9px 12px; background: #F6F3EC; color: #65716A; font: 9px var(--f-mono); }
.ex-browser-bar > span:first-child { font-size: 7px; color: #BCC5B6; }
.ex-browser-page { padding: 22px 22px 0; }
.ex-browser-page small { font: 9px var(--f-mono); letter-spacing: .12em; }
.ex-browser-page p { font: 36px/1 var(--f-serif); margin: 18px 0; max-width: 10ch; }
.ex-browser-page img { width: 100%; height: 160px; object-fit: cover; }
.ex-svc--digital .ex-svc-visual figcaption { margin-top: auto; }
/* Social: a full-width trio of editorial cards. */
.ex-svc--social .ex-svc-opening { grid-template-columns: 1fr; }
.ex-svc--social .ex-svc-hero { background: #F1E6D9; color: #563E31; }
.ex-svc--social .ex-svc-hero h3 { max-width: 22ch; }
.ex-svc--social .ex-svc-hero p, .ex-svc--social .ex-svc-hero small { color: #725B4B; }
.ex-social-art { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; padding: 24px 36px; background: #F1E6D9; }
.ex-social-card { position: relative; min-width: 0; min-height: 260px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; background: #173F35; color: #DDE8A0; border-radius: 3px; }
.ex-social-card small { font: 8px var(--f-mono); letter-spacing: .12em; }
.ex-social-card p { font: 36px/1 var(--f-serif); }
.ex-social-card > span { font: 44px/1 var(--f-serif); align-self: flex-end; }
.ex-social-card--photo { padding: 0; overflow: hidden; }
.ex-social-card--photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.ex-social-card--photo p { position: relative; margin-top: auto; padding: 18px; color: #fff; background: linear-gradient(transparent, #173F35DD); }
.ex-social-card--last { background: #DDE8A0; color: #173F35; }
/* Photography: a dark contact-sheet treatment, full-width image. */
.ex-svc--photography .ex-svc-opening { grid-template-columns: 1fr; background: #18221D; }
.ex-svc--photography .ex-svc-hero { background: #18221D; }
.ex-svc--photography .ex-svc-hero h3 { max-width: 23ch; }
.ex-svc--photography .ex-svc-photo { max-height: 380px; min-height: 280px; object-position: center 48%; }
.ex-svc--photography .ex-svc-visual figcaption { background: #18221D; color: #CED6CE; }
.ex-svc--photography .ex-kpis { background: #18221D; color: #CED6CE; border: 0; }
.ex-svc--photography .ex-kpis b { color: #DDE8A0; }
.ex-svc--photography .ex-kpis span { color: #CED6CE; }
/* Print: asymmetric magazine spread with a typographic cover. */
.ex-svc--print .ex-svc-opening { grid-template-columns: .85fr 1.15fr; }
.ex-svc--print .ex-svc-hero { background: #E9DFCD; color: #4F4939; }
.ex-svc--print .ex-svc-hero p, .ex-svc--print .ex-svc-hero small { color: #68604D; }
.ex-svc--print .ex-svc-visual { background: #D6C9AF; padding: 26px 24px 0; }
.ex-svc--print .ex-svc-photo { min-height: 190px; height: 190px; max-height: 240px; }
.ex-print-cover { display: flex; flex-direction: column; gap: 20px; width: 66%; margin: -48px 0 24px auto; position: relative; padding: 24px; background: #F6F3EC; color: #173F35; box-shadow: 0 8px 24px #173F3526; transform: rotate(-4deg); }
.ex-print-cover small { font: 8px var(--f-mono); letter-spacing: .08em; }
.ex-print-cover p { font: 36px/1 var(--f-serif); }
.ex-print-cover > span { font: 52px/1 var(--f-serif); }
.ex-svc--print .ex-svc-visual figcaption { margin-inline: -24px; }
@media (max-width: 1000px) {
  .ex-svc .ex-svc-opening { grid-template-columns: 1fr; }
  .ex-svc-opening .ex-svc-hero h3 { max-width: 24ch; }
  .ex-svc-photo { max-height: 320px; }
  .ex-svc--print .ex-print-cover { max-width: 230px; }
}
@media (max-width: 760px) {
  .ex-svc { gap: 18px; }
  .ex-svc-opening .ex-svc-hero { padding: 24px; }
  .ex-svc-opening h3 { font-size: 40px; }
  .ex-svc-photo { min-height: 220px; }
  .ex-svc .ex-kpis li { padding: 14px 10px; }
  .ex-svc .ex-kpis b { font-size: 30px; }
  .ex-social-art { gap: 10px; padding: 18px; grid-template-columns: 1fr 1fr; }
  .ex-social-card { padding: 16px; min-height: 210px; }
  .ex-social-card p { font-size: 30px; }
  .ex-social-card--photo { padding: 0; }
  .ex-social-card--last { grid-column: 1 / -1; min-height: 150px; }
  .ex-svc .ex-svc-cols { grid-template-columns: 1fr; gap: 12px; }
}

/* Sales preview follows the proposal analytics UI, independently of client browsing. */
.ex-analytics { width: min(1360px, calc(100vw - 32px)); height: min(900px, calc(100dvh - 32px)); max-width: none; max-height: none; padding: 0; border: 1px solid #E4E4E7; border-radius: 16px; background: #fff; color: #18181B; color-scheme: light; box-shadow: 0 30px 100px #0004; --signal: #173F35; }
.ex-analytics::backdrop { background: #102B2480; }
.ex-analytics[open] { display: flex; flex-direction: column; }
.ex-analytics-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 20px; background: #F7F7F8; border-bottom: 1px solid #E4E4E7; flex: none; font-size: 12px; }
.ex-analytics-bar > span { color: #71717A; }
.ex-analytics-bar button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: #fff; border: 1px solid #E4E4E7; border-radius: 8px; font-size: 12px; }
.ex-analytics-body { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 0; flex: 1; }
.ex-analytics-side { padding: 24px 16px; border-right: 1px solid #E4E4E7; overflow-y: auto; }
.ex-analytics-status { display: inline-block; padding: 4px 10px; border-radius: 30px; background: #F4F4F5; font-size: 10px; text-transform: uppercase; font-weight: 600; }
.ex-analytics-side h2 { font-size: 17px; line-height: 1.4; margin: 14px 0 8px; }
.ex-analytics-side p { font-size: 12px; color: #71717A; }
.ex-analytics-current { display: flex; align-items: center; gap: 10px; margin-top: 28px; padding: 12px; background: #F4F4F5; border-radius: 8px; font-size: 13px; font-weight: 600; }
.ex-analytics-main { padding: clamp(20px, 3vw, 40px); overflow-y: auto; min-width: 0; }
.ex-analytics-main > header h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.03em; }
.ex-analytics-main > header p { color: #71717A; font-size: 14px; margin-top: 8px; }
.ex-analytics-note { margin: 12px 0 24px; color: #71717A; font-size: 11px; }
.ex-analytics-tabs { display: flex; gap: 3px; width: fit-content; max-width: 100%; padding: 4px; margin-bottom: 24px; background: #F4F4F5; border-radius: 10px; overflow-x: auto; }
.ex-analytics-tabs button { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 7px; font-size: 12px; color: #71717A; white-space: nowrap; }
.ex-analytics-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 2px 4px #0001; color: #18181B; font-weight: 600; }
.ex-analytics-tabs .ico { width: 14px; height: 14px; }
.ex-analysis-card { padding: 24px; border: 1px solid #E4E4E7; border-radius: 14px; background: #fff; }
.ex-analysis-card h3 { display: flex; gap: 8px; align-items: center; margin-bottom: 20px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #71717A; }
.ex-analysis-filename { display: block; overflow-wrap: anywhere; font-size: 14px; }
.ex-analysis-metrics { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 16px 0 24px; color: #52525B; font-size: 12px; }
.ex-analysis-pdf { padding-top: 24px; border-top: 1px solid #E4E4E7; }
.ex-analysis-pdf h4 { font-size: 14px; }
.ex-analysis-pdf p { margin-top: 6px; color: #71717A; font-size: 12px; }
.ex-analysis-pdf-row { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 20px; padding: 22px 0 8px; font-size: 12px; }
.ex-analysis-track { display: block; height: 6px; background: #F4F4F5; border-radius: 4px; overflow: hidden; }
.ex-analysis-track i { display: block; height: 100%; background: #4F7D70; border-radius: inherit; }
.ex-analysis-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ex-analysis-ranking { display: grid; gap: 22px; }
.ex-analysis-ranking li > div { display: flex; align-items: flex-start; gap: 12px; justify-content: space-between; margin-bottom: 10px; font-size: 12px; }
.ex-analysis-ranking b { flex: none; white-space: nowrap; font-size: 11px; }
.ex-analysis-empty { padding: 48px 0; text-align: center; color: #71717A; font-size: 13px; }
.ex-analysis-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.ex-analysis-kpis > div { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid #E4E4E7; border-radius: 12px; background: #F8FAF8; }
.ex-analysis-kpis span { min-height: 34px; font-size: 11px; color: #71717A; }
.ex-analysis-kpis b { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; letter-spacing: -.04em; }
.ex-analysis-kpis small { font-size: 10px; color: #71717A; }
.ex-analysis-distribution { display: flex; gap: 3px; height: 8px; margin-bottom: 20px; border-radius: 4px; overflow: hidden; }
.ex-analysis-distribution i { background: hsl(calc(155 + var(--series) * 30) 28% 48%); }
.ex-analysis-table-wrap { overflow-x: auto; }
.ex-analysis-card table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.ex-analysis-card th, .ex-analysis-card td { padding: 14px 8px; border-bottom: 1px solid #E4E4E7; }
.ex-analysis-card thead th { color: #71717A; font-weight: 400; }
.ex-analysis-card td { white-space: nowrap; }
.ex-analysis-card tr:last-child > * { border-bottom: 0; }
@media (max-width: 1000px) { .ex-analysis-columns { grid-template-columns: 1fr; } .ex-analysis-kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .ex-analytics { width: calc(100vw - 16px); height: calc(100dvh - 16px); border-radius: 12px; }
  .ex-analytics-body { grid-template-columns: minmax(0, 1fr); overflow-y: auto; display: block; }
  .ex-analytics-side { padding: 16px 20px; border-right: 0; border-bottom: 1px solid #E4E4E7; }
  .ex-analytics-side h2 { font-size: 14px; margin-bottom: 0; }
  .ex-analytics-side p, .ex-analytics-current { display: none; }
  .ex-analytics-main { overflow: visible; padding: 20px 16px; }
  .ex-analytics-bar { padding: 10px; }
  .ex-analytics-bar > span { display: none; }
  .ex-analytics-bar button { margin-left: auto; }
  .ex-analytics-tabs { width: 100%; }
  .ex-analytics-tabs button { flex: 1; justify-content: center; padding: 9px; font-size: 11px; }
  .ex-analytics-tabs .ico { display: none; }
  .ex-analysis-card { padding: 18px; }
  .ex-analysis-pdf-row { grid-template-columns: auto 1fr; gap: 12px; }
  .ex-analysis-pdf-row > span:last-child { grid-column: 1 / -1; text-align: right; }
  .ex-analysis-ranking li > div { flex-wrap: wrap; }
  .ex-analysis-kpis > div { padding: 14px; }
  .exf-bar .exf-btn { padding-inline: 8px; font-size: 11px; gap: 5px; }
}
