/* ───────────────────────────────────────────────────────────────
   OptiDress · socle commun du site (refonte, septembre 2026)
   Chargé par TOUTES les pages : couleurs, typographie, boutons,
   navigation, pied de page, apparitions au défilement, puis
   l'habillage des pages intérieures. La home ajoute home.css.
   Charte : noir, blanc, #0055FE, #002899, Instrument Serif pour les
   titres, Inter Tight pour le texte, JetBrains Mono pour les étiquettes.
─────────────────────────────────────────────────────────────── */

/* Polices de secours recalibrées (26/10/2026) : le temps que les polices du site
   arrivent, le texte s'affiche en Times New Roman et Arial mis aux mesures exactes
   d'Instrument Serif et d'Inter Tight (largeur, hauteur des lignes). À leur
   arrivée, plus aucune ligne ne se recoupe : la page ne « saute » plus (CLS de
   0,26 sur /optidress/ en 4G lente). Valeurs mesurées dans Chrome. */
@font-face {
  font-family: 'Instrument Serif Repli';
  src: local('Times New Roman'), local('TimesNewRomanPSMT');
  size-adjust: 84.31%; ascent-override: 117.42%; descent-override: 36.77%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Instrument Serif Repli';
  font-style: italic;
  src: local('Times New Roman Italic'), local('TimesNewRomanPS-ItalicMT');
  size-adjust: 89%; ascent-override: 111.24%; descent-override: 34.83%; line-gap-override: 0%;
}
@font-face {
  font-family: 'Inter Tight Repli';
  src: local('Arial'), local('ArialMT');
  size-adjust: 96.48%; ascent-override: 100.54%; descent-override: 24.88%; line-gap-override: 0%;
}

:root {
  --ink: #0b0d12;
  --ink-2: #2a2e37;
  --muted: #555b68;
  --faint: #666c78;          /* 4,8:1 sur --mist (était #868c98, 3,1:1) */
  --line: #e6e8ec;
  --line-2: #d3d7de;
  --paper: #ffffff;
  --mist: #f4f5f7;
  --mist-2: #eceef2;
  --blue: #0055fe;
  --blue-2: #0043cc;
  --navy: #002899;
  --blue-50: #eef3ff;
  --ok: #147443;
  --ok-50: #eaf6ef;
  --warn: #9c5d0e;
  --warn-50: #fdf4e6;
  --bad: #c0392f;
  --bad-50: #fcedec;

  --serif: 'Instrument Serif', 'Instrument Serif Repli', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Inter Tight Repli', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 144px);
  --nav-h: 72px;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow-1: 0 1px 2px rgba(11, 13, 18, .05), 0 10px 30px -14px rgba(11, 13, 18, .16);
  --shadow-2: 0 2px 6px rgba(11, 13, 18, .05), 0 30px 70px -28px rgba(0, 20, 70, .34);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
/* précision nulle (:where) : la moindre règle de liste l'emporte, dont les puces
   du texte courant rendues plus bas */
:where(ul, ol) { padding: 0; list-style: none; }
::selection { background: rgba(0, 85, 254, .16); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  font-size: 14px; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.i { width: 18px; height: 18px; flex: none; }

/* ── Typographie ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint);
}
.eyebrow .n {
  color: var(--blue);
  padding-right: 10px;
  border-right: 1px solid var(--line-2);
}
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.1vw, 80px);
  line-height: .98;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; }
.display em { color: var(--blue); }
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.02;
  letter-spacing: -.016em;
  text-wrap: balance;
}
.lead {
  font-size: clamp(17px, 1.3vw, 19.5px);
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding-bottom: 2px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: color .2s, background-size .3s var(--ease);
}
.more .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.more:hover { color: var(--blue); }
.more:hover .i { transform: translateX(3px); }

/* ── Boutons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 20px;
  border-radius: 10px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); letter-spacing: -.005em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s, border-color .25s, box-shadow .25s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn .i { width: 18px; height: 18px; }
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -12px rgba(0, 85, 254, .7);
}
.btn-primary:hover { background: var(--blue-2); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost .i { transition: transform .3s var(--ease); }
.btn-ghost:hover .i { transform: translateX(3px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-line-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-line-dark:hover { border-color: #fff; }
.btn-sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 9px; gap: 8px; }
.btn-sm .i { width: 16px; height: 16px; }
.btn-lg { height: 54px; padding: 0 24px; font-size: 16px; }

/* ── Navigation ───────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .3s;
}
@media (hover: hover) and (pointer: fine) {
  .nav { background: rgba(255, 255, 255, .8); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); }
}
.nav.is-scrolled { border-color: var(--line); }
.nav-in { height: var(--nav-h); display: flex; align-items: center; gap: 36px; }
.nav-logo { display: flex; align-items: center; color: var(--ink); }
.nav-logo svg { height: 25px; width: auto; aspect-ratio: 599 / 154; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--blue); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-demo { font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s; }
.nav-demo:hover { color: var(--blue); }

.lang {
  display: inline-flex; align-items: center;
  padding: 2px; border: 1px solid var(--line-2); border-radius: 8px;
  font: 500 10.5px/1 var(--mono); letter-spacing: .04em;
}
.lang > * { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 20px; padding: 0 5px; border-radius: 6px; }
.lang span { background: var(--ink); color: #fff; }
.lang a { color: var(--muted); transition: color .2s; }
.lang a:hover { color: var(--ink); }

/* sélecteur de langue (26/10/2026) : les 9 langues de l'application ; bouton
   « 🇬🇧 EN » dans l'en-tête et le pied de page, grille dans le menu du téléphone */
.langsel { position: relative; }
.langsel-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 9px 0 8px;
  border: 1px solid var(--line-2); border-radius: 8px; background: transparent; color: var(--ink);
  font: 500 11px/1 var(--mono); letter-spacing: .04em; cursor: pointer; transition: border-color .2s;
}
.langsel-btn:hover, .langsel-btn[aria-expanded="true"] { border-color: var(--ink); }
.langsel-btn .lf { font-size: 13px; line-height: 1; letter-spacing: 0; }
.langsel-chev { width: 12px; height: 12px; color: var(--muted); transition: transform .2s; }
.langsel-btn[aria-expanded="true"] .langsel-chev { transform: rotate(180deg); }
.langsel-panel {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 236px; padding: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 18px 40px -12px rgba(11, 13, 18, .22), 0 2px 6px rgba(11, 13, 18, .06); display: none;
}
.langsel.is-open .langsel-panel { display: block; }
.langsel-up .langsel-panel { top: auto; bottom: calc(100% + 10px); }
.langsel-it {
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 9px; font: 450 14.5px/1.2 var(--sans); color: var(--ink-2); text-align: start;
}
.langsel-it .lf { font-size: 16px; }
.langsel-it .lc { font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--faint); }
a.langsel-it:hover, a.langsel-it:focus-visible { background: var(--blue-50); color: var(--ink); }
.langsel-it.is-on { background: var(--blue); color: #fff; }
.langsel-it.is-on .lc { color: rgba(255, 255, 255, .75); }
.langgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; margin-top: 12px; }
.langgrid-it {
  display: flex; align-items: center; justify-content: center; gap: 7px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 10px; font: 450 14px/1 var(--sans); color: var(--ink-2);
}
.langgrid-it.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }

.burger { display: none; width: 40px; height: 40px; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 23px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { top: 19.5px; transform: rotate(-45deg); }

.menu {
  border-top: 1px solid var(--line); background: #fff;
  max-height: calc(100vh - var(--nav-h)); max-height: calc(100dvh - var(--nav-h));
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 24px 40px -28px rgba(11, 13, 18, .35);
}
.menu[hidden] { display: none; }
.menu-in { display: grid; gap: 4px; padding: 16px var(--gutter) 24px; }
.menu-in > a:not(.btn) { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu-in .btn { margin-top: 14px; }
.menu-foot { display: flex; flex-direction: column; align-items: flex-start; margin-top: 18px; }

/* ── Sections ─────────────────────────────────────────────────── */
.sec { padding: var(--section) 0; }
.sec-head { max-width: 780px; }
.sec-head .eyebrow { margin-bottom: 26px; }
.sec-head .lead { margin-top: 24px; max-width: 640px; }
.sec-mist { background: var(--mist); }


/* ── FAQ en accordéon (home et pages) ─────────────────────────── */
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-size: 18px; font-weight: 500; letter-spacing: -.005em;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--blue); }
.faq-item summary i { width: 26px; height: 26px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .35s var(--ease), background-color .25s, border-color .25s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; border-radius: 1px; }
.faq-item summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.faq-item[open] summary i { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-item p { padding: 0 60px 26px 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.faq-item p a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.faq-item p a:hover { text-decoration-color: var(--ink); }
@supports (interpolate-size: allow-keywords) {
  .faq-item { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}

/* ── Pied de page ─────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr); gap: clamp(40px, 5vw, 80px); }
.foot-logo { display: inline-flex; color: var(--ink); }
.foot-logo svg { height: 28px; width: auto; aspect-ratio: 599 / 154; }
.foot-brand p { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 22em; }
.foot-brand .btn { margin-top: 24px; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot-cols h2 { font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); margin-bottom: 18px; }
.foot-cols a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); transition: color .2s; }
.foot-cols a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(48px, 6vw, 80px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }
.foot-bottom-r { display: flex; align-items: center; gap: 20px; }

/* ── Apparitions au défilement ────────────────────────────────────
   Le script en tête de page pose .js-rv sur <html> seulement s'il
   peut garantir la révélation (IntersectionObserver présent, fenêtre
   mesurable, mouvement autorisé). Sans lui, tout reste visible. ── */
.js-rv .rv:not(.hero *) { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-rv .rv.in:not(.hero *) { opacity: 1; transform: none; }
/* héros : visible dès le premier affichage, animé en CSS sans attendre le script
   (sur une connexion lente, le haut de page ne reste jamais blanc). Le fondu part de
   40 % et non de 0 : Chrome ne retient comme « plus grand élément affiché » (LCP)
   qu'un élément visible à sa première peinture ; parti de 0, le titre n'était compté
   qu'après son fondu, ou jamais (PageSpeed : « NO_LCP », pas de score). */
.js-rv .hero .rv { animation: rvIn .9s var(--ease) var(--d, 0s) both; }
@keyframes rvIn { from { opacity: .4; transform: translate3d(0, 18px, 0); } }
/* même mécanique pour les classes des pages intérieures */
.js-rv .reveal-up, .js-rv .sub-step, .js-rv .sub-stat { opacity: 0; transform: translate3d(0, 18px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-rv .reveal-up.in, .js-rv .sub-step.in, .js-rv .sub-stat.in { opacity: 1; transform: none; }
.sub-step:nth-child(2), .sub-stat:nth-child(2) { --d: .08s; }
.sub-step:nth-child(3), .sub-stat:nth-child(3) { --d: .16s; }
.sub-step:nth-child(4), .sub-stat:nth-child(4) { --d: .24s; }
.od-logos.off .od-logos-piste { animation-play-state: paused; }

/* ═══════════════════════════════════════════════════════════════
   PAGES INTÉRIEURES
   Le contenu des pages vient tel quel du site actuel (textes validés).
   Ces règles habillent ses blocs dans le nouveau langage : en-tête de
   page, sections, chiffres, étapes, FAQ, bandeau sombre, blog, démo,
   pages légales. Les styles propres à une page (blog, comparatifs,
   intégrations, à propos…) restent dans la page et s'ajoutent à ceux-ci.
═══════════════════════════════════════════════════════════════ */

/* alias des variables de l'ancienne feuille, encore lues par les styles
   propres à certaines pages */
:root {
  --accent: var(--blue);
  --accent-2: var(--blue-2);
  --accent-soft: var(--blue-50);
  --ink-3: var(--muted);
  --ink-4: var(--faint);
  --bg: #fff;
  --bg-soft: var(--mist);
  --bg-mute: var(--mist-2);
  --line-soft: #eff1f6;
  --radius: 18px;
  --radius-lg: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --max: var(--container);
  --pad: var(--gutter);
  --font-sans: var(--sans);
  --font-serif: var(--serif);
  --font-mono: var(--mono);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.text-center { text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 11.5px/1.2 var(--mono);
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--faint);
}

/* ── titres et chapôs ── */
.sub-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(31px, 4.2vw, 62px); line-height: 1.02; letter-spacing: -.016em;
  text-wrap: balance; max-width: 22ch;
}
.sub-title em { font-style: italic; }
.text-center .sub-title { margin-left: auto; margin-right: auto; }
.sub-lead { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.6; color: var(--muted); text-wrap: pretty; max-width: 40em; }
.text-center .sub-lead, .sub-sec > .container > .sub-lead { margin-left: auto; margin-right: auto; }
/* liens soulignés du texte ; les boutons posés dans un paragraphe gardent leur
   propre couleur (bouton bleu à texte sombre sur la page Shopify EN) */
.sub-lead a:not(.btn), .sub-step p a:not(.btn), .ap-prose a:not(.btn) {
  color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2);
  text-underline-offset: 3px; transition: text-decoration-color .2s;
}
.sub-lead a:not(.btn):hover, .sub-step p a:not(.btn):hover, .ap-prose a:not(.btn):hover { text-decoration-color: var(--ink); }

/* ── en-tête de page ── */
.sub-hero { position: relative; padding: clamp(56px, 7vw, 100px) 0 clamp(64px, 8vw, 112px); overflow: hidden; isolation: isolate; }
.sub-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 55% 75% at 82% 30%, #000 0%, rgba(0, 0, 0, .3) 45%, transparent 75%);
          mask-image: radial-gradient(ellipse 55% 75% at 82% 30%, #000 0%, rgba(0, 0, 0, .3) 45%, transparent 75%);
  opacity: .7;
}
.sub-hero .kicker { margin-bottom: 26px; }
.sub-hero .sub-title { font-size: clamp(42px, 5vw, 76px); line-height: .99; letter-spacing: -.02em; }
.sub-hero .sub-title em { color: var(--blue); }
.sub-hero .sub-lead { margin-top: 24px; }
.sub-lead + .sub-lead, .sub-hero .sub-lead + .sub-lead { margin-top: 16px; }
.section-head .sub-lead { margin-top: 22px; }
.section-head .sub-lead + .sub-lead { margin-top: 12px; }
.sub-stats:empty, .sub-steps:empty { display: none; }
/* texte courant posé directement dans une section (panoramas) : titre,
   sous-titres et paragraphes partagent la même colonne de lecture */
.sub-sec > .container > h2.sub-title,
.sub-sec > .container > h3,
.sub-sec > .container > .sub-lead { max-width: 760px; margin-left: auto; margin-right: auto; }
.sub-sec > .container > h2.sub-title + .sub-lead { margin-top: 28px; }
.sub-sec > .container > h3 {
  margin-top: 44px; margin-bottom: 12px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2.1vw, 30px); line-height: 1.12; letter-spacing: -.01em;
}
.sub-sec > .container > h2.sub-title + h3 { margin-top: 32px; }
/* section blanche juste sous l'en-tête : pas de double marge */
.sub-hero + .sub-sec:not(.sub-sec-alt) { padding-top: clamp(8px, 2vw, 24px); }
/* page FAQ : la liste s'aligne sur le texte de l'en-tête */
.sub-hero + .sub-sec > .container > .faq-list { margin-left: 0; }
.sub-hero + .sub-sec > .container > .faq-contact { text-align: left; }
.sub-hero + .sub-sec > .container > .faq-contact p { margin-left: 0; }
.sub-hero + .sub-sec .faq-contact-btns { justify-content: flex-start; }
.sub-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.text-center .sub-actions { justify-content: center; }

/* en-tête avec visuel : texte à gauche, visuel à droite (centré verticalement) */
@media (min-width: 1041px) {
  .sub-hero .container:has(> .sub-visual) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
    grid-template-rows: 1fr repeat(5, auto) 1fr;
    column-gap: clamp(40px, 6vw, 96px);
  }
  .sub-hero .container:has(> .sub-visual)::before,
  .sub-hero .container:has(> .sub-visual)::after { content: ""; grid-column: 1; }
  .sub-hero .container:has(> .sub-visual)::before { grid-row: 1; }
  .sub-hero .container:has(> .sub-visual)::after { grid-row: 7; }
  .sub-hero .container:has(> .sub-visual) > * { grid-column: 1; }
  .sub-hero .container:has(> .sub-visual) > .sub-visual { grid-column: 2; grid-row: 1 / -1; align-self: center; margin-top: 0; }
  .sub-hero .container:has(> .sub-visual) > .kicker { justify-self: start; }
}

/* ── visuels ── */
.sub-visual { margin: clamp(48px, 6vw, 72px) 0 0; }
.sub-visual > img { width: 100%; border-radius: var(--r-lg); background: var(--mist); box-shadow: var(--shadow-1); }
.sub-visual-video video {
  width: 100%; border-radius: var(--r-lg); background: #1a1d24;
  box-shadow: 0 40px 80px -44px rgba(11, 13, 18, .55);
}
.od-video-phrase {
  font-family: var(--serif); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.2; letter-spacing: -.01em;
  margin-bottom: 18px; text-wrap: balance;
}
.od-video-phrase em { font-style: italic; color: var(--blue); }
.sub-visual-cap {
  display: block; margin-top: 16px;
  font: 500 11px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint);
}
.sub-soon {
  display: inline-flex; align-items: center; height: 28px; padding: 0 11px;
  border: 1px solid var(--line-2); border-radius: 7px;
  font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}

/* ── sections ── */
.sub-sec { padding: var(--section) 0; }
.sub-sec-alt { background: var(--mist); }
.sub-sec + .sub-sec:not(.sub-sec-alt) { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .kicker { margin-bottom: 24px; }
.section-head.text-center { display: flex; flex-direction: column; align-items: center; }
.section-head + .sub-lead { margin-top: 0; }

/* ── chiffres ── */
.sub-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--ink);
  text-align: left;
}
.sub-stats:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sub-stats:has(> :nth-child(2)):not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sub-stat { display: flex; flex-direction: column; padding: 28px 28px 4px 0; }
.sub-stat + .sub-stat { padding-left: 28px; border-left: 1px solid var(--line-2); }
.sub-stat b {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 3.4vw, 52px); line-height: 1; letter-spacing: -.016em;
  font-variant-numeric: lining-nums;
}
.sub-stat span { margin-top: 14px; font-size: 15.5px; line-height: 1.55; color: var(--muted); max-width: 24em; }

/* ── étapes ── */
.sub-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--line-2);
  text-align: left;
}
/* 4e élément (pages Shopify : « Prérequis ») : une note pleine largeur sous les 3 étapes */
.sub-steps > .sub-step:nth-child(4):last-child {
  grid-column: 1 / -1; margin-top: 28px; padding: 22px 24px; border-left: 0;
  background: var(--mist); border-radius: var(--r);
}
.sub-sec-alt .sub-steps > .sub-step:nth-child(4):last-child { background: #fff; }
.sub-steps > .sub-step:nth-child(4):last-child h3 { margin-top: 0; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.sub-steps > .sub-step:nth-child(4):last-child p { margin-top: 6px; font-size: 15px; }
.sub-step { padding: 30px 28px 6px 0; }
.sub-step + .sub-step { padding-left: 28px; border-left: 1px solid var(--line-2); }
.sub-step-num { display: block; font: 500 12px/1 var(--mono); letter-spacing: .09em; color: var(--blue); }
.sub-step h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 2vw, 30px); line-height: 1.1; letter-spacing: -.01em;
  margin-top: 18px; text-wrap: balance;
}
.sub-step p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ── bande de logos clients ── */
.od-logos {
  margin-top: clamp(48px, 6vw, 72px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.od-logos-piste { display: flex; width: max-content; animation: odLogos 44s linear infinite; }
.od-logos-set { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); padding-right: clamp(48px, 6vw, 88px); }
.od-logos-set img { height: 42px; width: auto; filter: brightness(0); opacity: .6; }
@keyframes odLogos { to { transform: translateX(-50%); } }

/* ── simulateur OptiSize (mêmes pastilles que le widget) ── */
.od-sim {
  width: min(520px, 100%); margin: 0 auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-2); text-align: left;
}
.od-sim-kicker { font: 500 11px/1.2 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--faint); }
.od-sim-sous { margin: 10px 0 26px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.od-sim-curseurs { display: grid; gap: 20px; }
.od-sim-curseurs label { display: block; font-size: 13.5px; font-weight: 600; }
.od-sim-val { float: right; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.od-sim-curseurs input[type=range] { width: 100%; margin: 12px 0 0; accent-color: var(--ink); height: 22px; cursor: pointer; }
.od-sim-sil { margin: 22px 0 12px; font-size: 13.5px; color: var(--muted); }
.od-sim-sil b { color: var(--ink); font-weight: 600; }
.od-sim-tailles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.od-sim-t {
  border: 1px solid; border-radius: 11px; padding: 12px 6px; text-align: center;
  transition: transform .2s var(--ease), background-color .25s, border-color .25s;
}
.od-sim-t b { display: block; font-size: 18px; font-weight: 700; }
.od-sim-t span { display: block; margin-top: 3px; font-size: 11px; line-height: 1.25; }
.od-sim-t.ok { border: 2px solid var(--ok); background: var(--ok-50); color: var(--ok); transform: translateY(-2px); }
.od-sim-t.warn { border-color: #f0c98f; background: var(--warn-50); color: var(--warn); }
.od-sim-t.bad { border-color: #efb3ad; background: var(--bad-50); color: var(--bad); }

/* ── FAQ des pages : même accordéon que la home, icône .faq-plus ── */
.sub-sec .faq-list { max-width: 880px; margin: 0 auto; text-align: left; }
.faq-item .faq-plus {
  width: 26px; height: 26px; flex: none; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
  transition: background-color .25s, border-color .25s, color .25s;
}
.faq-item .faq-plus svg { width: 12px; height: 12px; transition: transform .35s var(--ease); }
.faq-item[open] .faq-plus { background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item[open] .faq-plus svg { transform: rotate(45deg); }
.faq-title em { display: block; }
.sub-sec .faq-contact { text-align: center; margin-top: clamp(40px, 5vw, 60px); }
.sub-sec .faq-contact p { max-width: 36em; margin: 0 auto; color: var(--muted); font-size: 16px; }
.faq-contact-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.btn-wa { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-wa:hover { border-color: var(--ink); }
.btn-wa svg { width: 18px; height: 18px; fill: #1faa53; }

/* ── bandeau sombre de fin de page ── */
.od-dark { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(88px, 10vw, 144px) 0; }
.od-dark::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000, transparent 75%);
}
.od-dark::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: -60%; width: 90%; height: 100%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 85, 254, .42), transparent 72%);
}
.od-dark-in { max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.od-dark-logo { height: 24px; width: auto; margin: 0 auto 34px; filter: invert(1); opacity: .92; }
.od-dark h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.016em; text-wrap: balance;
}
.od-dark h2 em { font-style: italic; color: #9dbbff; }
.od-dark p { max-width: 36em; margin: 22px auto 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.od-dark-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.od-dark-site, .od-dark-demo {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent;
  font: 500 16px/1 var(--sans); white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s, transform .2s var(--ease);
}
.od-dark-site { color: #fff; border-color: rgba(255, 255, 255, .28); }
.od-dark-site:hover { border-color: #fff; }
.od-dark-demo { background: var(--blue); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px -12px rgba(0, 85, 254, .7); }
.od-dark-demo:hover { background: var(--blue-2); }
.od-dark-site:active, .od-dark-demo:active { transform: translateY(1px) scale(.985); }
.od-dark-demo svg { width: 18px; height: 18px; }

/* ── boutons de l'ancien balisage (flèche, sac Shopify) ── */
.btn-arrow { display: inline-flex; }
.btn-arrow svg, .btn-shopify svg { width: 18px; height: 18px; }
.btn-shopify { display: inline-flex; }
.btn-shopify svg { fill: currentColor; }
.btn-ghost .btn-arrow svg { transition: transform .3s var(--ease); }
.btn-ghost:hover .btn-arrow svg { transform: translateX(3px); }

/* ── listes du texte courant : la remise à zéro de base retire puces et
      numéros, on les rend aux contenus (articles, comparatifs, légal…).
      :where() garde une précision nulle : les marges propres à chaque
      page restent prioritaires. ── */
:where(main) :where(ul:not([class])) { list-style: disc; padding-left: 1.3em; }
:where(main) :where(ol:not([class])) { list-style: decimal; padding-left: 1.4em; }
:where(main) :where(ul:not([class]), ol:not([class])) > li::marker { color: var(--faint); }
/* une liste de navigation (sommaire des articles) n'est pas du texte courant */
:where(main nav) :where(ul:not([class]), ol:not([class])) { list-style: none; padding-left: 0; }
.de-quellen { list-style: disc; }
.de-liste { list-style: disc; padding-left: 1.3em; }

/* ── blog : liste des articles ── */
main .blog-grid-wrap { max-width: calc(var(--container) + 2 * var(--gutter)); padding: 0 var(--gutter) var(--section); }
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 5vw, 60px) clamp(16px, 2vw, 28px); }
.press-card { display: flex; flex-direction: column; }
.pc-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.press-card:hover .pc-img img { transform: scale(1.035); }
.pc-body { display: flex; flex-direction: column; }
.pc-kicker { margin-top: 20px; font: 500 11px/1 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.pc-title {
  margin-top: 12px; font-family: var(--serif); font-weight: 400;
  font-size: clamp(23px, 1.9vw, 27px); line-height: 1.14; letter-spacing: -.01em;
  text-wrap: balance; transition: color .2s;
}
.press-card:hover .pc-title { color: var(--blue); }
.pc-date { margin-top: 12px; font-size: 13.5px; color: var(--faint); }

/* ── comparatifs : la grille d'index s'aligne sur l'en-tête ── */
main .cmpx-wrap { max-width: calc(var(--container) + 2 * var(--gutter)); padding: 0 var(--gutter) clamp(56px, 7vw, 96px); }

/* ── blog : article (en-tête centré, façon éditorial) ── */
.art-hero .container { text-align: center; }
.art-hero .sub-title { max-width: 22ch; }
.art-hero .sub-title em { color: inherit; }

/* ── réserver une démo ── */
.demo-wrap {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 6vw, 96px); align-items: start;
  padding-top: clamp(56px, 7vw, 100px); padding-bottom: var(--section);
}
.demo-aside h1 {
  margin: 26px 0 22px;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.02em; text-wrap: balance;
}
.demo-aside h1 em { font-style: italic; color: var(--blue); }
.demo-aside > p { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: var(--muted); max-width: 32em; }
.demo-points { display: grid; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.demo-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.demo-points svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--blue); }
.demo-points strong { color: var(--ink); font-weight: 600; }
.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-2);
}
.demo-card h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.01em; }
.demo-card .demo-sub { margin: 8px 0 28px; font-size: 14.5px; color: var(--muted); }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 500; color: var(--ink); }
.field label span { color: var(--faint); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: 400 15.5px/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid var(--line-2); border-radius: 10px;
  outline: none; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.field select {
  appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5 6 7.5 9 4.5' stroke='%23555b68' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0, 85, 254, .12); }
.field .err { display: none; font-size: 12.5px; color: var(--bad); }
.field.is-error input, .field.is-error select { border-color: var(--bad); background: var(--bad-50); }
.field.is-error .err { display: block; }
.demo-submit { width: 100%; margin-top: 8px; }
.demo-note { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--faint); text-align: center; }
.demo-note a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }

/* ── informations légales ── */
.legal.container { max-width: calc(820px + 2 * var(--gutter)); padding-top: clamp(56px, 7vw, 96px); padding-bottom: var(--section); }
.legal-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.02em; margin-bottom: 30px;
}
.legal-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.legal-toc a {
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; color: var(--ink-2); transition: border-color .2s, color .2s;
}
.legal-toc a:hover { border-color: var(--ink); color: var(--ink); }
.legal-sec { padding: 40px 0; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-sec h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.012em; margin-bottom: 20px; }
.legal-sec p { margin: 0 0 14px; max-width: 720px; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.legal-sec strong { color: var(--ink); font-weight: 600; }
.legal-note { margin-top: 40px; font-size: 13px; font-style: italic; color: var(--muted); }

/* ── page introuvable ── */
.nf-wrap .sub-title { font-size: clamp(40px, 5vw, 68px); }
.nf-wrap .sub-lead { margin-top: 18px; }

/* ── à propos : la scène des fondateurs s'épingle sous la barre de navigation ── */
.team-scroll .ts-stage { top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); }

/* ── textes longs : une adresse web ou un libellé de bouton ne doit jamais
      élargir la page sur petit écran ── */
main p a, main li a { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  /* titres de section sur 2 lignes max, même les plus longs (règle des pages intégration et comparatifs) */
  .sub-sec .sub-title { font-size: 27px; }
  main .btn { white-space: normal; height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; line-height: 1.3; text-align: center; max-width: 100%; }
}

/* ── responsive des pages ── */
@media (max-width: 1040px) {
  .demo-wrap { grid-template-columns: minmax(0, 1fr); }
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub-steps { grid-template-columns: minmax(0, 1fr); }
  .sub-step, .sub-step + .sub-step { padding: 26px 0; border-left: 0; }
  .sub-step + .sub-step { border-top: 1px solid var(--line-2); }
}
@media (max-width: 760px) {
  .sub-stats, .sub-stats:has(> :nth-child(4)), .sub-stats:has(> :nth-child(2)):not(:has(> :nth-child(3))) { grid-template-columns: minmax(0, 1fr); }
  .sub-stat, .sub-stat + .sub-stat { padding: 24px 0 26px; border-left: 0; }
  .sub-stat + .sub-stat { border-top: 1px solid var(--line); }
  .press-grid { grid-template-columns: minmax(0, 1fr); }
  .f-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ── Responsive (socle) ───────────────────────────────────────── */
@media (max-width: 1180px) {
  .nav-links { gap: 22px; }
}
@media (max-width: 1040px) {
  .nav-links, .nav-demo { display: none; }
  .burger { display: block; }
  .nav-end :is(.lang, .langsel) { display: none; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-item summary { font-size: 16.5px; padding: 20px 0; }
  .faq-item p { padding-right: 0; }
  .nav-end > .btn span { display: none; }
  .nav-end > .btn { width: 38px; padding: 0; }
}

/* ── Tableaux sur téléphone : une carte par ligne ────────────────
   build_v2.py pose sur chaque cellule l'intitulé de sa colonne
   (data-label). Les sélecteurs sont volontairement plus précis que
   les styles propres à chaque page, qui gardent la main au-delà.
   Comparatifs : cartes sous 700 px (1 040 px pour les tableaux de
   marché, à six colonnes). Pages légales : cartes sous 560 px. ── */
@media (max-width: 700px) {
  div.cmp-wrap { overflow: visible; }
  div.cmp-wrap table.cmp, div.cmp-wrap table.cmp tbody, div.cmp-wrap table.cmp tr, div.cmp-wrap table.cmp th, div.cmp-wrap table.cmp td { display: block; }
  div.cmp-wrap table.cmp { min-width: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
  div.cmp-wrap table.cmp thead { display: none; }
  div.cmp-wrap table.cmp tbody { display: grid; gap: 12px; }
  div.cmp-wrap table.cmp tbody tr { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  div.cmp-wrap table.cmp tbody tr > * { padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  div.cmp-wrap table.cmp tbody tr > :last-child { border-bottom: 0; }
  div.cmp-wrap table.cmp tbody tr > th { width: auto; padding-block: 13px; font-size: 15.5px; white-space: normal; }
  div.cmp-wrap table.cmp td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  div.cmp-wrap table.cmp:not(.cmp-mkt) td:nth-child(2)[data-label]::before { color: var(--blue); }
  div.cmp-wrap table.cmp-mkt tbody tr.is-od { border-color: rgba(0, 85, 254, .35); box-shadow: 0 0 0 3px rgba(0, 85, 254, .08); }
  /* page allemande : tableaux courts, ils tiennent dans l'écran */
  div.de-tw table.de-t { min-width: 0; font-size: 14px; }
  div.de-tw table.de-t th, div.de-tw table.de-t td { padding: 10px 12px; }
  div.de-tw table.de-t thead th { font-size: 10.5px; letter-spacing: .08em; }
}
/* notes et mentions en petit corps des comparatifs et de la page allemande :
   gris plus soutenu, lisible (leurs styles propres donnaient 4,2:1) */
p.cmp-legal, p.cmp-legal a, p.cmp-note, p.de-note, p.de-note strong { color: var(--muted); }

/* page allemande : un peu d'air entre un tableau et le paragraphe qui le suit */
div.de-tw + p { margin-top: 18px; }
@media (min-width: 701px) and (max-width: 1040px) {
  div.cmp-wrap:has(> table.cmp-mkt) { overflow: visible; }
  div.cmp-wrap table.cmp-mkt, div.cmp-wrap table.cmp-mkt tbody, div.cmp-wrap table.cmp-mkt tr, div.cmp-wrap table.cmp-mkt th, div.cmp-wrap table.cmp-mkt td { display: block; }
  div.cmp-wrap table.cmp-mkt { min-width: 0; background: none; border: 0; border-radius: 0; overflow: visible; }
  div.cmp-wrap table.cmp-mkt thead { display: none; }
  div.cmp-wrap table.cmp-mkt tbody { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  div.cmp-wrap table.cmp-mkt tbody tr { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
  div.cmp-wrap table.cmp-mkt tbody tr > * { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
  div.cmp-wrap table.cmp-mkt tbody tr > :last-child { border-bottom: 0; }
  div.cmp-wrap table.cmp-mkt tbody tr > th { width: auto; padding-block: 13px; font-size: 15.5px; white-space: normal; }
  div.cmp-wrap table.cmp-mkt td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 4px; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  div.cmp-wrap table.cmp-mkt tbody tr.is-od { border-color: rgba(0, 85, 254, .35); box-shadow: 0 0 0 3px rgba(0, 85, 254, .08); }
}
@media (max-width: 560px) {
  div.legal-tw { overflow: visible; }
  div.legal-tw table.legal-t, div.legal-tw table.legal-t tbody, div.legal-tw table.legal-t tr, div.legal-tw table.legal-t th, div.legal-tw table.legal-t td { display: block; }
  div.legal-tw table.legal-t { min-width: 0; border: 0; border-radius: 0; overflow: visible; }
  div.legal-tw table.legal-t thead { display: none; }
  div.legal-tw table.legal-t tbody { display: grid; gap: 10px; }
  div.legal-tw table.legal-t tbody tr { overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; }
  div.legal-tw table.legal-t tbody tr > * { padding: 10px 14px; border-bottom: 1px solid var(--line); }
  div.legal-tw table.legal-t tbody tr > :first-child { background: var(--mist); font-weight: 600; color: var(--ink); }
  div.legal-tw table.legal-t tbody tr > :last-child { border-bottom: 0; }
  div.legal-tw table.legal-t td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 10.5px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
}

/* ── Écrans tactiles : zones à toucher d'au moins 40 px ─────────
   Rien ne change au dessin : on agrandit la zone sensible (marges
   intérieures, ou zone invisible autour des liens soulignés). ── */
@media (pointer: coarse) {
  .nav-logo { padding: 8px 0; }
  .lang { font-size: 11.5px; }
  .lang > * { min-width: 40px; height: 36px; }
  .foot-logo { padding: 6px 0; }
  .foot-cols a { padding: 10px 0; }
  .btn-sm { height: 44px; }
  .nav-in { gap: 24px; }
  .more, .pill { position: relative; }
  .more::after, .pill::after { content: ""; position: absolute; inset: -9px -6px; }
  .od-sim-curseurs input[type=range] { height: 34px; }
  .de-back { display: inline-block; padding: 11px 0; }
  .de-pied a { display: inline-block; padding-block: 11px; }
}
@media (max-width: 760px) {
  .nav-end > .btn { width: 44px; height: 44px; }
}

/* ── Page À propos sur tablette et téléphone : la biographie sous le
      nom reste lisible (police de titre, donc un corps plus grand) ── */
@media (max-width: 860px) {
  .team-scroll .ts-bio p { font-size: 18px; line-height: 1.45; }
}

/* ── Téléphone : tout plus compact ─────────────────────────────
   Sur un écran de téléphone, on a l'habitude de lire petit : titres,
   textes, boutons et espacements réduits pour que chaque écran montre
   davantage de contenu (demande d'Arthur, 24/09/2026). ── */
@media (max-width: 760px) {
  :root { --section: 76px; }
  body { font-size: 15.5px; }
  .display { font-size: 31px; line-height: 1.03; }
  .h2 { font-size: 27px; line-height: 1.08; }
  .lead { font-size: 15.5px; line-height: 1.55; }
  .sec-head .eyebrow { margin-bottom: 14px; }
  .sec-head .lead { margin-top: 12px; }
  .btn-lg { height: 48px; padding: 0 20px; font-size: 15px; }
  .sub-title, .sub-hero .sub-title, .nf-wrap .sub-title, .legal-title, .demo-aside h1 { font-size: 32px; }
  .sub-lead, .demo-aside > p { font-size: 15.5px; }
  .sub-sec > .container > h3 { font-size: 22px; }
  .od-video-phrase { font-size: 20px; }
  .sub-stat b { font-size: 32px; }
  .sub-step h3 { font-size: 22px; }
  .od-dark h2 { font-size: 30px; }
  .pc-title { font-size: 21px; }
  .demo-card h2, .legal-sec h2 { font-size: 24px; }
  .faq-item summary { font-size: 15.5px; padding: 17px 0; }
  .faq-item p { font-size: 15px; }
  .foot-cols a { font-size: 14px; }
  /* articles, comparatifs, page allemande et À propos : leurs styles propres
     restent sinon à 17-18 px de texte et 26-36 px d'intertitres */
  main .art-body { font-size: 15.5px; }
  main .art-intro { font-size: 16.5px; }
  main .art-body h2 { font-size: 23px; }
  main .art-body h3 { font-size: 16.5px; }
  main .art-hero .sub-title { font-size: 29px; }
  main .cmp-prose p, main .cmp-prose ol li { font-size: 15.5px; }
  main .cmp-prose h3 { font-size: 21px; }
  main .de-formel-corps { font-size: 16px; }
  main .ts-name { font-size: 32px; }
}
@media (max-width: 390px) {
  .display { font-size: 29px; }
  .h2 { font-size: 25px; }
  .sub-title, .sub-hero .sub-title { font-size: 30px; }
}

/* ── Mouvement réduit : tout est visible, rien ne boucle ──────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ── arabe : lecture de droite à gauche (26/10/2026) ────────────────
   dir="rtl" sur <html> (pages /ar/) : grilles et flex se retournent seuls ;
   ici ce qui reste orienté à la main. Polices : celles du site pour le latin,
   la police arabe de l'appareil pour le reste (aucun fichier à charger). */
[dir="rtl"] {
  --serif: 'Instrument Serif', 'Noto Naskh Arabic', 'Geeza Pro', 'Times New Roman', serif;
  --sans: 'Inter Tight', 'Noto Sans Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, system-ui, sans-serif;
}
/* écriture liée : ni espacement entre les lettres, ni italique */
[dir="rtl"] body, [dir="rtl"] body * { letter-spacing: normal !important; }
[dir="rtl"] em { font-style: normal; }
/* flèches et chevrons tournés vers la gauche */
[dir="rtl"] use[href="#i-arrow"] { transform: scaleX(-1); transform-box: fill-box; transform-origin: center; }
[dir="rtl"] .flux { right: auto; left: calc(var(--gap) / -2); transform: translate(-50%, -50%); }
[dir="rtl"] .cap-e:not(:last-child)::after { right: auto; left: -17px; transform: translateY(-50%) rotate(-135deg); }
[dir="rtl"] .langsel-panel { right: auto; left: 0; }
/* légende de la vidéo : l'essayage reste à gauche, comme dans l'image */
[dir="rtl"] .film-cap { flex-direction: row-reverse; }
/* frise des atouts : le fil passe à droite */
[dir="rtl"] .diffs { padding-left: 0; padding-right: 46px; }
[dir="rtl"] .diffs::before, [dir="rtl"] .diffs::after { left: auto; right: 7px; }
[dir="rtl"] .diff::after { left: auto; right: -46px; }
@media (max-width: 1040px) { [dir="rtl"] .diffs { padding-left: 0; padding-right: 34px; } }
/* chiffres des pages intérieures : filets et marges du côté de la lecture */
[dir="rtl"] .sub-stat { padding: 28px 0 4px 28px; }
[dir="rtl"] .sub-stat + .sub-stat { padding-left: 28px; padding-right: 28px; border-left: 0; border-right: 1px solid var(--line-2); }
/* blocs alignés à gauche en français : à droite en arabe */
[dir="rtl"] :is(.faq-contact, .sub-stats, .sub-steps, .demo-card, .sub-sec .faq-list, .p-sec .section-head, .p-sec .ap-prose,
  .art-hero .container, .cmp th, .cmp td, .legal-t th, .legal-t td, .vision figcaption) { text-align: right; }
[dir="rtl"] .legal-conf ul { padding-left: 0; padding-right: 20px; }

/* ── chinois simplifié (27/10/2026) ─────────────────────────────
   lang="zh" sur <html> (pages /zh/) : les polices du site pour le latin, la police
   chinoise de l'appareil pour le reste, en variante simplifiée (aucun fichier à
   charger). Le chinois n'a pas d'italique ni d'espacement serré entre les caractères,
   et ses titres demandent un interligne plus large que les titres latins. */
:root[lang="zh"] {
  --serif: 'Instrument Serif', 'Songti SC', 'STSong', 'Noto Serif SC', 'Source Han Serif SC', 'SimSun', serif;
  --sans: 'Inter Tight', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif;
}
[lang="zh"] body, [lang="zh"] body * { letter-spacing: normal !important; }
[lang="zh"] body, [lang="zh"] body * { font-style: normal !important; }
[lang="zh"] :is(h1, h2, h3) { line-height: 1.25; }
/* largeurs de titres en « ch » (largeur d'un chiffre latin, un demi-caractère chinois) :
   en chinois, la même longueur de ligne exprimée en caractères pleins */
[lang="zh"] .sub-title, [lang="zh"] .sub-hero .sub-title { max-width: 13em; }
