/* Editorialys — site. Une feuille blanche posée sur un bureau : le papier pour les documents, le bureau
   pour le reste. Polices du système, aucun italique, aucune ressource extérieure hors le badge d'Apple. */

:root {
  --bureau: #f2f0ea;
  --bureau-2: #e9e6dd;
  --surface: #fbfaf7;
  --papier: #ffffff;
  --encre: #15172b;
  --encre-2: #464a5e;
  --encre-3: #6f7386;
  --trait: #d9d5ca;
  --trait-2: #e6e2d8;
  --accent: #3730a3;
  --accent-vif: #4f46e5;
  --accent-doux: #e8e9fd;
  --lien: #3730a3;
  --selection: #4f6bed;
  --or: #d9962a;
  --rouge: #c62828;
  --vert: #2e7d32;
  --ambre: #a35f00;
  --doc-encre: #1c2430;
  --doc-gris: #6b7586;
  --doc-teal: #1f6f6a;
  --doc-teal-doux: #e3f1ef;
  --sign-encre: #1d2a6b;
  --ombre-feuille: 0 1px 1px rgba(21, 23, 43, .05), 0 3px 8px rgba(21, 23, 43, .05), 0 28px 56px -28px rgba(21, 23, 43, .32);
  --ombre-douce: 0 1px 2px rgba(21, 23, 43, .05), 0 10px 30px -18px rgba(21, 23, 43, .25);
  --sombre: #12141d;
  --sombre-2: #1b1e2a;
  --sombre-trait: #2c3040;
  --rayon: 16px;
  --rayon-petit: 10px;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --tete-h: 64px;
  --marge: 16px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bureau: #0f1117;
    --bureau-2: #161923;
    --surface: #161922;
    --encre: #e9eaf1;
    --encre-2: #b4b8c8;
    --encre-3: #8c91a4;
    --trait: #2b2f3c;
    --trait-2: #222531;
    --accent: #9aa1ff;
    --accent-vif: #6366f1;
    --accent-doux: #22264a;
    --lien: #aab0ff;
    --vert: #5fbf68;
    --ambre: #e0a040;
    --rouge: #ef5350;
    --ombre-feuille: 0 1px 1px rgba(0, 0, 0, .35), 0 30px 60px -30px rgba(0, 0, 0, .9);
    --ombre-douce: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -20px rgba(0, 0, 0, .8);
    --sombre: #0a0c12;
    --sombre-2: #141722;
  }
}

@media (min-width: 640px) { :root { --marge: 32px; } }

*, *::before, *::after { box-sizing: border-box; font-style: normal !important; font-synthesis: none; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tete-h) + 16px); }
body {
  margin: 0;
  background: var(--bureau);
  color: var(--encre);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--lien); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-vif); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--selection) 28%, transparent); }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic .plein, symbol .plein { fill: currentColor; stroke: none; }
.conteneur { width: min(1200px, 100% - 2 * var(--marge)); margin-inline: auto; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sans-js .js-seul { display: none !important; }
.js .sans-js-seul { display: none !important; }

.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--encre); color: var(--bureau); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.evitement:focus { top: 12px; }

/* ------------------------------------------------------------------ boutons, liens */
.bouton {
  display: inline-flex; align-items: center; gap: .5em; justify-content: center;
  background: var(--accent-vif); color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: .72em 1.25em; border-radius: 999px; border: 0; cursor: pointer; white-space: nowrap;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -8px rgba(55, 48, 163, .7);
  transition: transform .2s, background-color .2s;
}
.bouton:hover { background: #4338ca; text-decoration: none; transform: translateY(-1px); }
.bouton-petit { font-size: .86rem; padding: .55em 1em; }
.bouton-texte { background: none; border: 0; padding: .55em .8em; color: var(--encre-2); cursor: pointer; font-size: .9rem; border-radius: 999px; }
.bouton-texte:hover { color: var(--encre); background: var(--bureau-2); }
.lien-fleche { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; color: var(--lien); }
.lien-fleche .ic { transition: transform .25s; }
.lien-fleche:hover .ic { transform: translateX(4px); }
.lien-fleche:hover span:first-child { text-decoration: underline; text-underline-offset: .2em; }
.badge { display: inline-block; line-height: 0; border-radius: 9px; }
.badge img { height: 44px; width: auto; }

/* ------------------------------------------------------------------ en-tête */
.tete {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bureau) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.tete.decolle { border-bottom-color: var(--trait); }
.tete-in { width: min(1200px, 100% - 2 * var(--marge)); margin-inline: auto; height: var(--tete-h); display: flex; align-items: center; gap: 24px; }
.marque { display: inline-flex; align-items: center; gap: 10px; color: var(--encre); text-decoration: none; font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.marque img { width: 32px; height: 32px; border-radius: 8px; }
.onglets { display: flex; gap: 4px; margin-inline: auto; }
.onglets a {
  position: relative; color: var(--encre-2); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; transition: color .2s, background-color .2s; white-space: nowrap;
}
.onglets a:hover { color: var(--encre); background: var(--bureau-2); }
.onglets a[aria-current="page"] { color: var(--encre); background: var(--papier); box-shadow: var(--ombre-douce); }
@media (prefers-color-scheme: dark) { .onglets a[aria-current="page"] { background: var(--surface); } }
.tete-actions { display: flex; align-items: center; gap: 8px; }

.langues { position: relative; }
.langues summary {
  list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  padding: 7px 10px; border-radius: 999px; color: var(--encre-2); font-size: .85rem; font-weight: 600; letter-spacing: .03em;
}
.langues summary::-webkit-details-marker { display: none; }
.langues summary:hover, .langues[open] summary { background: var(--bureau-2); color: var(--encre); }
.langues-liste {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; list-style: none; margin: 0; padding: 6px;
  background: var(--papier); border: 1px solid var(--trait); border-radius: 14px; box-shadow: var(--ombre-feuille);
  min-width: 210px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
}
@media (prefers-color-scheme: dark) { .langues-liste { background: var(--surface); } }
.langues-liste a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--encre); text-decoration: none; font-size: .9rem; }
.langues-liste a:hover { background: var(--bureau); }
.langues-liste a[aria-current] { background: var(--accent-doux); color: var(--accent); font-weight: 600; }
.langues-liste .code { color: var(--encre-3); font: 500 .72rem/1.8 var(--mono); }

@media (max-width: 760px) {
  :root { --tete-h: 108px; }
  .tete-in { height: auto; flex-wrap: wrap; row-gap: 4px; padding-block: 10px 6px; }
  .onglets { order: 3; width: 100%; margin: 0; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .onglets::-webkit-scrollbar { display: none; }
  .tete-actions { margin-left: auto; }
  .langues-liste { position: fixed; left: var(--marge); right: var(--marge); top: 60px; min-width: 0; }
}

/* ------------------------------------------------------------------ titres de section */
.surtitre { font: 650 .76rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
h2 { font: 400 clamp(2rem, 4.2vw, 3.3rem)/1.08 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: 1.06rem; font-weight: 650; letter-spacing: -.005em; line-height: 1.35; }
.section-tete { max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.section-texte { color: var(--encre-2); font-size: 1.08rem; margin-top: 18px; max-width: 640px; text-wrap: pretty; }
section { position: relative; }

/* apparitions au défilement */
.js .apparait { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .apparait.vu { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ héros : la feuille */
.hero { padding: clamp(20px, 4vw, 56px) 0 clamp(72px, 9vw, 128px); }
.hero-bureau { position: relative; width: min(1160px, 100% - 2 * var(--marge)); margin-inline: auto; }
.hero-dessous {
  position: absolute; inset: 22px -8px -16px 30px; background: var(--papier); border-radius: 3px;
  box-shadow: var(--ombre-feuille); transform: rotate(1.4deg); opacity: .75;
}
.hero-feuille {
  position: relative; background: #fff; color: #15172b; border-radius: 3px; box-shadow: var(--ombre-feuille);
  padding: clamp(36px, 6vw, 84px) clamp(24px, 7vw, 104px) clamp(84px, 9vw, 120px) clamp(24px, 9vw, 132px);
  overflow: hidden;
}
.hero-feuille::before { /* marge de la page, comme dans un document */
  content: ""; position: absolute; inset: clamp(14px, 2vw, 24px); border: 1px dashed #e4e1d8; border-radius: 2px; pointer-events: none;
}
.hero-outils {
  position: absolute; left: clamp(22px, 2.6vw, 36px); top: 50%; transform: translateY(-50%);
  display: grid; gap: 4px; padding: 6px; background: #fff; border: 1px solid #e3e5ec; border-radius: 14px;
  box-shadow: 0 6px 18px -10px rgba(21, 23, 43, .35);
}
.hero-outils span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; color: #4a5465; transition: background-color .35s, color .35s; }
.hero-outils span.actif { background: #eceefe; color: #3730a3; }
.hero-corps { position: relative; max-width: 780px; }
.hero-surtitre { font: 600 .8rem/1.4 var(--mono); letter-spacing: .02em; color: #6b7586; margin-bottom: 52px; }
.hero-selection { position: relative; width: fit-content; max-width: 100%; }
.hero-titre {
  font: 400 clamp(2.45rem, 6.4vw, 5.1rem)/1.02 var(--serif); letter-spacing: -.025em; color: #15172b; text-wrap: balance;
  max-width: 15ch;
}
.hero-titre .mot { display: inline-block; }
.selection-cadre { position: absolute; inset: -12px -16px -10px -16px; border: 1.5px dashed var(--selection); border-radius: 3px; pointer-events: none; }
.selection-cadre .o { position: absolute; width: 9px; height: 9px; background: #fff; border: 1.5px solid var(--selection); border-radius: 2px; }
.selection-cadre .o:nth-child(1) { left: -5px; top: -5px; }
.selection-cadre .o:nth-child(2) { right: -5px; top: -5px; }
.selection-cadre .o:nth-child(3) { left: -5px; bottom: -5px; }
.selection-cadre .o:nth-child(4) { right: -5px; bottom: -5px; }
.selection-cadre b {
  position: absolute; left: -1.5px; bottom: calc(100% + 6px); white-space: nowrap;
  font: 600 .7rem/1 var(--sans); color: #fff; background: var(--selection); padding: 5px 8px; border-radius: 5px;
}
.hero-texte { margin-top: clamp(24px, 3vw, 34px); font-size: clamp(1.04rem, 1.5vw, 1.2rem); color: #3b4152; max-width: 600px; text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 30px; }
.hero-actions .lien-fleche { color: #3730a3; }
.hero-prix { color: #6b7586; font-weight: 500; }
.hero-prix::before { content: "·"; margin-right: .45em; }
.hero-note { margin-top: 16px; font-size: .86rem; color: #6b7586; max-width: 520px; }
.hero-tampon {
  position: absolute; right: clamp(28px, 6vw, 84px); top: clamp(44px, 7vw, 92px);
  display: grid; justify-items: center; gap: 2px; padding: 8px 16px 7px; color: #c62828;
  border: 3px double #c62828; border-radius: 6px; transform: rotate(-9deg);
  font: 750 clamp(.8rem, 1.3vw, 1rem)/1.1 var(--sans); letter-spacing: .09em; text-transform: uppercase; opacity: .86;
  mix-blend-mode: multiply;
}
.hero-tampon small { font: 600 .72em/1 var(--mono); letter-spacing: .04em; }
.hero-signature { position: absolute; right: clamp(24px, 7vw, 100px); bottom: clamp(30px, 4vw, 48px); width: clamp(150px, 22vw, 280px); overflow: visible; }
.hero-signature path, .fd-signature path { fill: none; stroke: var(--sign-encre); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.hero-page { position: absolute; left: 0; right: 0; bottom: clamp(18px, 2.4vw, 30px); text-align: center; font: 500 .72rem/1 var(--mono); color: #9aa0ae; }

/* séquence d'ouverture (classes posées par site.js) */
.js .hero-feuille { animation: feuille-monte .9s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-dessous { animation: dessous .9s .1s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-titre .mot { opacity: 0; transform: translateY(.3em); filter: blur(3px); transition: opacity .55s, transform .55s cubic-bezier(.2, .7, .2, 1), filter .55s; transition-delay: var(--d, 0s); }
.js .hero-feuille.ecrit .hero-titre .mot { opacity: 1; transform: none; filter: none; }
.js .hero-surtitre, .js .hero-texte, .js .hero-actions, .js .hero-note { opacity: 0; transform: translateY(10px); transition: opacity .7s, transform .7s; }
.js .hero-feuille.ecrit .hero-surtitre { opacity: 1; transform: none; }
.js .hero-feuille.suite .hero-texte { opacity: 1; transform: none; }
.js .hero-feuille.suite .hero-actions { opacity: 1; transform: none; transition-delay: .12s; }
.js .hero-feuille.suite .hero-note { opacity: 1; transform: none; transition-delay: .24s; }
.js .selection-cadre { opacity: 0; clip-path: inset(0 100% 0 0); transition: opacity .3s, clip-path .7s cubic-bezier(.6, 0, .2, 1); }
.js .hero-feuille.e1 .selection-cadre { opacity: 1; clip-path: inset(-40px -20px -20px -20px); }
.js .hero-tampon { opacity: 0; transform: rotate(-9deg) scale(1.7); transition: opacity .2s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.js .hero-feuille.e2 .hero-tampon { opacity: .86; transform: rotate(-9deg) scale(1); }
.js .hero-signature path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.45, .05, .3, 1); }
.js .hero-feuille.e3 .hero-signature path { stroke-dashoffset: 0; }
@keyframes feuille-monte { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes dessous { from { opacity: 0; transform: rotate(0); } to { opacity: .75; transform: rotate(1.4deg); } }

@media (max-width: 900px) {
  .hero-outils { display: none; }
  .hero-tampon { top: auto; bottom: clamp(70px, 14vw, 96px); right: 44%; font-size: .74rem; }
}
@media (max-width: 560px) {
  .hero-feuille { padding-top: 44px; }
  .hero-titre { font-size: clamp(2.2rem, 10.4vw, 3rem); }
  .hero-tampon { right: auto; left: 28px; bottom: 64px; }
  .hero-signature { right: 22px; bottom: 40px; width: 140px; }
  .hero-actions { gap: 16px; }
}

/* ------------------------------------------------------------------ les sept gestes */
.gestes { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.gestes-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.gestes-etapes { list-style: none; counter-reset: etape; }
.etape { min-height: 74svh; display: flex; flex-direction: column; justify-content: center; padding-block: 6svh; }
.js .etape { opacity: .34; transition: opacity .45s; }
.js .etape.active { opacity: 1; }
.etape-num { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--mono); color: var(--accent); margin-bottom: 14px; }
.etape-num .ic { width: 22px; height: 22px; padding: 6px; box-sizing: content-box; background: var(--accent-doux); border-radius: 10px; }
.etape h3 { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.12 var(--serif); letter-spacing: -.015em; margin-bottom: 14px; }
.etape p { color: var(--encre-2); font-size: 1.05rem; max-width: 480px; text-wrap: pretty; }
.gestes-scene { position: sticky; top: calc(var(--tete-h) + 12px); align-self: start; }
.scene-colle { height: calc(100svh - var(--tete-h) - 24px); display: grid; place-items: center; }

.feuille-demo {
  --fd-l: min(100%, calc((100svh - var(--tete-h) - 96px) / 1.38));
  position: relative; width: var(--fd-l); aspect-ratio: 1 / 1.38; container-type: inline-size;
}
.fd-onglet {
  position: absolute; left: 0; bottom: 100%; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px;
  font: 500 clamp(.68rem, 2.6cqw, .8rem)/1 var(--mono); color: var(--encre-2); background: var(--papier); border: 1px solid var(--trait);
  padding: 6px 10px; border-radius: 8px;
}
@media (prefers-color-scheme: dark) { .fd-onglet { background: var(--surface); } }
.fd-onglet .ic { width: 1.2em; height: 1.2em; }
.fd-outil {
  position: absolute; right: 0; bottom: 100%; margin-bottom: 8px; display: inline-flex; align-items: center; gap: 7px;
  font: 600 clamp(.68rem, 2.6cqw, .8rem)/1 var(--sans); color: #fff; background: var(--accent-vif); padding: 6px 11px 6px 9px; border-radius: 999px;
  box-shadow: 0 8px 20px -10px rgba(79, 70, 229, .8);
}
.sans-js .fd-outil { display: none; }
.fd-outil .ic { width: 1.2em; height: 1.2em; }
.fd-page {
  position: absolute; inset: 0; background: #fff; color: var(--doc-encre); border-radius: 3px; box-shadow: var(--ombre-feuille);
  padding: 7.5cqw 7.5cqw 6cqw; font: 400 2.55cqw/1.45 var(--sans); display: flex; flex-direction: column; gap: 2.4cqw;
}
.fd-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 4cqw; padding-bottom: 2.6cqw; border-bottom: .35cqw solid var(--doc-teal); }
.fd-societe { display: flex; gap: 2.2cqw; align-items: center; }
.fd-societe b, .fd-ref b { display: block; font-weight: 700; }
.fd-societe b { color: var(--doc-teal); font-size: 1.1em; letter-spacing: .02em; text-transform: uppercase; }
.fd-societe small, .fd-ref small { display: block; color: var(--doc-gris); font-size: .8em; }
.fd-logo { width: 7cqw; height: 7cqw; background: var(--doc-teal); border-radius: 1cqw; display: grid; place-items: center; flex: none; }
.fd-logo .o { width: 3.4cqw; height: 3.4cqw; border: .6cqw solid #fff; border-bottom: 0; border-right: 0; transform: rotate(45deg) translate(.6cqw, .6cqw); }
.fd-ref { text-align: right; }
.fd-ref b { white-space: nowrap; }
.fd-ref b { font-size: 1.25em; color: var(--doc-encre); }
.fd-client p { margin: 0; }
.fd-validite { position: relative; min-height: 1.45em; font-weight: 600; width: fit-content; }
.fd-nouveau { position: absolute; left: 0; top: 0; white-space: nowrap; }
.fd-ancien { white-space: nowrap; }
.fd-selection { position: absolute; inset: -.5cqw -1.2cqw; border: .3cqw dashed var(--selection); border-radius: .4cqw; }
.fd-selection .o { position: absolute; top: 50%; width: 1.6cqw; height: 1.6cqw; margin-top: -.8cqw; background: #fff; border: .3cqw solid var(--selection); border-radius: 50%; }
.fd-selection .o:first-child { left: -.9cqw; }
.fd-selection .o:last-of-type { right: -.9cqw; }
.fd-selection b { position: absolute; left: -.3cqw; bottom: calc(100% + 1cqw); white-space: nowrap; background: var(--selection); color: #fff; font: 600 2cqw/1 var(--sans); padding: .9cqw 1.4cqw; border-radius: .8cqw; }
.fd-table { display: grid; font-size: .94em; }
.fd-ligne { position: relative; display: grid; grid-template-columns: 1fr 13cqw 19cqw; gap: 2cqw; padding: 1.15cqw 1.4cqw; border-bottom: .2cqw solid #e4e7ee; }
.fd-ligne span:nth-child(n+2) { text-align: right; font-variant-numeric: tabular-nums; }
.fd-titres { background: var(--doc-teal-doux); color: var(--doc-teal); font-weight: 700; border-bottom: 0; border-radius: .6cqw; }
.fd-totaux { margin-left: auto; width: 52%; display: grid; gap: .5cqw; font-size: .94em; }
.fd-totaux p { position: relative; display: flex; justify-content: space-between; gap: 2cqw; font-variant-numeric: tabular-nums; }
.fd-ttc { font-weight: 700; padding-top: .9cqw; border-top: .25cqw solid var(--doc-encre); }
.fd-ttc span:not(.fd-surligne) { position: relative; }
.fd-surligne { position: absolute; inset: .3cqw -1cqw -.5cqw; background: rgba(255, 214, 0, .55); border-radius: .5cqw; mix-blend-mode: multiply; transform-origin: left; }
.fd-acompte { display: flex; align-items: center; gap: 1.6cqw; }
.fd-case { width: 3cqw; height: 3cqw; border: .3cqw solid var(--doc-encre); border-radius: .4cqw; flex: none; position: relative; }
.fd-case svg { position: absolute; inset: -.6cqw; width: auto; fill: none; stroke: #1d4ed8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fd-iban { color: var(--doc-encre); }
.fd-iban > span:first-child { color: var(--doc-gris); }
.fd-numero { position: relative; font-family: var(--mono); font-size: .92em; white-space: nowrap; }
.fd-noir { position: absolute; inset: -.3cqw -.6cqw; background: #0b0b0f; border-radius: .2cqw; transform-origin: left center; }
.fd-tag { position: absolute; right: -.6cqw; bottom: calc(100% + 1.2cqw); white-space: nowrap; font: 600 1.9cqw/1 var(--sans); color: #fff; background: #0b0b0f; padding: .9cqw 1.3cqw; border-radius: .8cqw; }
.fd-bon { position: relative; margin-top: auto; border: .25cqw solid #d5d9e2; border-radius: 1cqw; padding: 2cqw 2.4cqw; min-height: 23cqw; }
.fd-bon-titre { color: var(--doc-gris); font-size: .86em; }
.fd-cert { position: absolute; left: 2.4cqw; bottom: 2.2cqw; width: 52%; display: flex; gap: 1.4cqw; align-items: flex-start; border: .3cqw solid #3b5bdb; border-radius: .8cqw; padding: 1.4cqw 1.6cqw; background: rgba(238, 242, 255, .85); color: #233; font-size: .78em; line-height: 1.35; }
.fd-cert .ic { width: 4cqw; height: 4cqw; color: #3b5bdb; stroke-width: 2; }
.fd-cert b { display: block; color: #1e3a8a; }
.fd-cert span { display: block; color: #4a5465; }
.fd-signature { position: absolute; right: 3cqw; bottom: 2.5cqw; width: 38%; overflow: visible; }
.fd-signature path { stroke-width: 2.6; }
.fd-tampon {
  position: absolute; right: 4cqw; top: 6cqw; display: grid; justify-items: center; gap: .3cqw; padding: 1cqw 2cqw .9cqw;
  color: #c62828; border: .7cqw double #c62828; border-radius: .9cqw; transform: rotate(-8deg);
  font: 800 2.3cqw/1.05 var(--sans); letter-spacing: .1em; text-transform: uppercase; mix-blend-mode: multiply; background: rgba(255, 255, 255, .2);
}
.fd-tampon small { font: 600 .75em/1 var(--mono); }
.fd-pied { color: #9aa0ae; font-size: .75em; text-align: center; }
.fd-nuage { position: absolute; inset: -1.4cqw -1.8cqw; width: calc(100% + 3.6cqw); height: calc(100% + 2.8cqw); overflow: visible; }
.fd-nuage path { fill: none; stroke: #d32f2f; stroke-width: 1.6; }
.fd-note {
  position: absolute; right: -2cqw; top: calc(100% + 1.4cqw); z-index: 2; white-space: nowrap;
  font: 600 2cqw/1 var(--sans); color: #8a1c1c; background: #fff4c2; border: .25cqw solid #e8c14a;
  padding: 1cqw 1.4cqw; border-radius: .6cqw; transform: rotate(1.5deg); box-shadow: 0 1cqw 2cqw -1cqw rgba(0, 0, 0, .3);
}
.fd-verrou {
  position: absolute; right: -3cqw; top: 15cqw; width: 50cqw; z-index: 3; background: #fff; border: .3cqw solid #e2e5ee;
  border-radius: 2cqw; padding: 2.6cqw; box-shadow: 0 3cqw 7cqw -3cqw rgba(21, 23, 43, .45); font-size: .9em; display: grid; gap: 1.6cqw;
}
.fd-verrou-titre { display: flex; align-items: center; gap: 1.4cqw; font-weight: 750; color: #3730a3; font-size: 1.12em; }
.fd-verrou-titre .ic { width: 5cqw; height: 5cqw; padding: 1.1cqw; box-sizing: content-box; background: #eceefe; border-radius: 1.4cqw; }
.fd-mdp { display: grid; gap: .6cqw; }
.fd-mdp small { color: var(--doc-gris); font-size: .85em; }
.fd-mdp span { border: .25cqw solid #cfd5e1; border-radius: 1cqw; padding: .9cqw 1.4cqw; letter-spacing: .15em; font-size: .9em; }
.fd-droits { display: flex; flex-wrap: wrap; gap: 1cqw; }
.fd-droits span { display: inline-flex; align-items: center; gap: .6cqw; font-size: .82em; padding: .6cqw 1.2cqw; border-radius: 99px; }
.fd-droits .ic { width: 2.6cqw; height: 2.6cqw; stroke-width: 2.4; }
.fd-droits .oui { background: #e8f5e9; color: #1b5e20; }
.fd-droits .non { background: #fdecea; color: #a31515; }
.fd-exports { position: absolute; left: 8cqw; right: 8cqw; top: 50%; transform: translateY(-50%); z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 2cqw; }
.fx {
  display: inline-flex; align-items: baseline; gap: .8cqw; padding: 2.2cqw 3cqw; border-radius: 1.8cqw; background: #fff;
  border: .3cqw solid #dfe3ea; font: 700 3.4cqw/1 var(--sans); color: #1c2430; box-shadow: 0 2cqw 4cqw -2cqw rgba(21, 23, 43, .4);
}
.fx small { font: 500 .8em/1 var(--mono); color: var(--doc-gris); }
.fx-pdf { background: #3730a3; border-color: #3730a3; color: #fff; }
.fx-word { color: #1e4fb4; }

/* calques des étapes */
.sans-js .calque[data-jusqua] { display: none; }
.js .calque { opacity: 0; transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .calque.on { opacity: 1; }
.js .fd-noir { transform: scaleX(0); transition: transform .6s cubic-bezier(.7, 0, .2, 1), opacity .2s; }
.js .fd-noir.on { transform: scaleX(1); }
.js .fd-surligne { transform: scaleX(0); transition: transform .6s .3s cubic-bezier(.7, 0, .2, 1), opacity .2s .3s; }
.js .fd-surligne.on { transform: scaleX(1); }
.js .fd-tampon { transform: rotate(-8deg) scale(1.6); transition: opacity .2s .5s, transform .35s .5s cubic-bezier(.3, 1.6, .5, 1); }
.js .fd-tampon.on { transform: rotate(-8deg) scale(1); }
.js .fd-signature path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s .25s cubic-bezier(.45, .05, .3, 1); }
.js .fd-signature.on path { stroke-dashoffset: 0; }
.js .fd-nuage path { stroke-dasharray: 2000; stroke-dashoffset: 2000; transition: stroke-dashoffset 1.1s ease; }
.js .fd-nuage.on path { stroke-dashoffset: 0; }
.js .fd-note { transform: rotate(1.5deg) translateY(1cqw); transition-delay: .7s; }
.js .fd-note.on { transform: rotate(1.5deg); }
.js .fd-verrou { transform: translateY(3cqw) scale(.96); }
.js .fd-verrou.on { transform: none; }
.js .fd-exports .fx { opacity: 0; transform: translateY(4cqw); transition: opacity .45s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.js .fd-exports.on .fx { opacity: 1; transform: none; }
.js .fd-exports.on .fx:nth-child(2) { transition-delay: .07s; } .js .fd-exports.on .fx:nth-child(3) { transition-delay: .14s; }
.js .fd-exports.on .fx:nth-child(4) { transition-delay: .21s; } .js .fd-exports.on .fx:nth-child(5) { transition-delay: .28s; }
.js .fd-exports.on .fx:nth-child(6) { transition-delay: .35s; }
.js .fd-cert { transform: translateY(1cqw); }
.js .fd-cert.on { transform: none; }
.js .fd-case svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .4s .4s; }
.js .fd-case svg.on path { stroke-dashoffset: 0; }
.js .fd-page { transition: filter .5s; }
.js .fd-page > :not(.calque) { transition: opacity .5s; }
.js .feuille-demo[data-etape="7"] .fd-page > :not(.fd-exports) { opacity: .22; }
.js .feuille-demo[data-etape="7"] .fd-verrou { opacity: 0; }
.js .feuille-demo[data-etape="7"] .fd-page { transform: none; }

@media (max-width: 900px) {
  .gestes-grille { grid-template-columns: 1fr; gap: 0; }
  .gestes-scene {
    order: -1; z-index: 3; top: var(--tete-h); margin-inline: calc(-1 * var(--marge)); padding: 34px var(--marge) 14px;
    background: linear-gradient(var(--bureau) 88%, color-mix(in srgb, var(--bureau) 0%, transparent));
  }
  .scene-colle { height: auto; }
  .feuille-demo { --fd-l: min(64vw, calc(40svh / 1.38)); }
  .etape { min-height: 58svh; padding-block: 4svh 10svh; }
  .sans-js .gestes-scene { position: relative; top: 0; }
}

/* ------------------------------------------------------------------ captures */
.ecrans { padding: clamp(64px, 9vw, 120px) 0; background: var(--bureau-2); }
.ecrans-commandes { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.segment { display: inline-flex; gap: 3px; padding: 4px; background: var(--bureau); border: 1px solid var(--trait); border-radius: 999px; }
.segment button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; padding: 8px 15px; border-radius: 999px; cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--encre-2); }
.segment button[aria-pressed="true"] { background: var(--papier); color: var(--encre); box-shadow: var(--ombre-douce); }
@media (prefers-color-scheme: dark) { .segment button[aria-pressed="true"] { background: var(--surface); } }
.ecrans-onglets { display: flex; gap: 6px; flex-wrap: wrap; }
.ecrans-onglets button {
  border: 1px solid var(--trait); background: transparent; border-radius: 999px; padding: 8px 16px; cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--encre-2); transition: background-color .2s, color .2s, border-color .2s;
}
.ecrans-onglets button:hover { color: var(--encre); border-color: var(--encre-3); }
.ecrans-onglets button[aria-selected="true"] { background: var(--encre); border-color: var(--encre); color: var(--bureau); }
.panneau + .panneau { margin-top: 56px; }
.js .panneau + .panneau { margin-top: 0; }
.panneau-titre { font: 400 1.6rem/1.2 var(--serif); margin-bottom: 16px; }
.panneau figure { display: grid; gap: 20px; }
.js .panneau { animation: panneau .5s cubic-bezier(.2, .7, .2, 1); }
@keyframes panneau { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cadre { justify-self: center; }
.cadre img { width: 100%; }
.cadre-mac img { border-radius: 12px; box-shadow: var(--ombre-feuille); background: #fff; }
.cadre-ipad, .cadre-iphone { background: #1a1c23; box-shadow: var(--ombre-feuille); border: 1px solid #2c2f3a; }
.cadre-ipad { width: min(100%, 560px); padding: 12px; border-radius: 34px; }
.cadre-ipad img { border-radius: 22px; }
.cadre-iphone { width: min(78%, 330px); padding: 9px; border-radius: 48px; }
.cadre-iphone img { border-radius: 40px; }
.ecrans-panneaux[data-appareil="mac"] .cadre-ipad, .ecrans-panneaux[data-appareil="mac"] .cadre-iphone,
.ecrans-panneaux[data-appareil="ipad"] .cadre-mac, .ecrans-panneaux[data-appareil="ipad"] .cadre-iphone,
.ecrans-panneaux[data-appareil="iphone"] .cadre-mac, .ecrans-panneaux[data-appareil="iphone"] .cadre-ipad { display: none; }
figcaption { display: flex; gap: 14px; align-items: baseline; justify-content: center; color: var(--encre-2); max-width: 760px; margin-inline: auto; text-align: left; text-wrap: pretty; }
.panneau-num { font: 600 .8rem/1 var(--mono); color: var(--accent); }
.ecrans-note { margin-top: 28px; text-align: center; font-size: .86rem; color: var(--encre-3); }

/* ------------------------------------------------------------------ confidentialité (bande sombre) */
.bande-sombre { background: var(--sombre); color: #e9eaf1; --encre-2: #b4b8c8; --encre-3: #8c91a4; --accent: #a5abff; --lien: #b9bdff; }
.local { padding: clamp(72px, 10vw, 140px) 0; }
.local-grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; }
.points li { border-top: 1px solid var(--sombre-trait); padding-top: 18px; }
.points h3 { color: #fff; margin-bottom: 8px; }
.points p { color: var(--encre-2); font-size: .96rem; }
.schema { display: grid; gap: 22px; }
.schema-appareil {
  position: relative; border: 1px solid #343850; background: linear-gradient(180deg, #1a1d2b, #141622); border-radius: 26px; padding: 22px;
  display: grid; gap: 10px;
}
.schema-titre { display: flex; align-items: center; gap: 8px; font-weight: 650; color: #fff; margin-bottom: 6px; }
.schema-puce { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: #222638; border: 1px solid #30354c; border-radius: 12px; font-size: .94rem; position: relative; z-index: 1; }
.schema-puce .ic { color: #a5abff; }
.schema-boucle { position: absolute; right: 22px; top: 20px; width: 34px; height: 34px; border: 2px solid #4f46e5; border-right-color: transparent; border-radius: 50%; }
.js .schema-boucle { animation: tourne 2.6s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.schema-sorties { display: grid; gap: 14px; }
.schema-sortie { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.schema-fil { position: relative; height: 34px; display: flex; align-items: center; }
.schema-fil::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed #4b5070; }
.schema-oui .schema-fil::before { border-top-color: #7c83ff; }
.js .schema-oui .schema-fil::after { content: ""; position: absolute; top: calc(50% - 4px); left: 0; width: 8px; height: 8px; border-radius: 50%; background: #a5abff; animation: voyage 3s ease-in-out infinite; }
@keyframes voyage { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
.schema-fil span { position: relative; margin-inline: auto; background: var(--sombre); padding: 2px 10px; font-size: .78rem; color: var(--encre-2); text-align: center; }
.schema-non .schema-fil span { color: #ff8a80; font: 700 .78rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.schema-non .schema-fil::before { border-top-color: #5a3a44; }
.schema-cible { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid #343850; border-radius: 12px; font-size: .86rem; max-width: 220px; }
.schema-non .schema-cible { opacity: .55; text-decoration: line-through; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------------ signature */
.signature { padding: clamp(72px, 10vw, 140px) 0; }
.sign-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.sign-atouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.sign-atouts .ic { width: 26px; height: 26px; color: var(--accent); margin-bottom: 12px; }
.sign-atouts h3 { margin-bottom: 6px; }
.sign-atouts p { color: var(--encre-2); font-size: .95rem; }
.verif { background: var(--papier); border: 1px solid var(--trait); border-radius: 22px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--ombre-feuille); }
@media (prefers-color-scheme: dark) { .verif { background: var(--surface); } }
.verif-titre { font: 400 1.5rem/1.2 var(--serif); }
.verif-texte { color: var(--encre-2); margin: 6px 0 20px; font-size: .95rem; }
.verif-etats { list-style: none; display: grid; gap: 10px; }
.etat { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px solid; }
.etat p { display: grid; gap: 2px; font-size: .92rem; color: var(--encre-2); }
.etat b { color: var(--encre); font-size: 1rem; }
.etat-ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; flex: none; }
.etat-ic .ic { width: 18px; height: 18px; stroke-width: 2.4; }
.etat-valide { border-color: color-mix(in srgb, var(--vert) 35%, transparent); background: color-mix(in srgb, var(--vert) 7%, transparent); }
.etat-valide .etat-ic { background: #2e7d32; }
.etat-intacte { border-color: color-mix(in srgb, var(--ambre) 35%, transparent); background: color-mix(in srgb, var(--ambre) 7%, transparent); }
.etat-intacte .etat-ic { background: #b26a00; }
.etat-invalide { border-color: color-mix(in srgb, var(--rouge) 35%, transparent); background: color-mix(in srgb, var(--rouge) 6%, transparent); }
.etat-invalide .etat-ic { background: #c62828; }
.verif-note { margin-top: 18px; font-size: .84rem; color: var(--encre-3); }

/* ------------------------------------------------------------------ appareils, langues, thème */
.appareils { padding: clamp(72px, 10vw, 140px) 0; background: var(--bureau-2); }
.app-cartes { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-cartes li { background: var(--papier); border: 1px solid var(--trait-2); border-radius: var(--rayon); padding: 28px 24px 24px; display: grid; justify-items: start; gap: 4px; }
@media (prefers-color-scheme: dark) { .app-cartes li { background: var(--surface); } }
.app-cartes p { color: var(--encre-2); font-size: .94rem; }
.app-dessin { position: relative; display: block; height: 92px; width: 100%; margin-bottom: 18px; }
.app-dessin .o { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); border: 2.5px solid var(--encre); background: #fff; }
.app-dessin .o::after { content: ""; position: absolute; inset: 14% 16% auto 16%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #4f46e5 0 30%, #d9dce6 30%); box-shadow: 0 12px 0 -1px #e4e6ee, 0 22px 0 -1px #e4e6ee; }
.app-mac .o { width: 128px; height: 80px; border-radius: 8px 8px 3px 3px; bottom: 10px; }
.app-mac::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 160px; height: 10px; transform: translateX(-50%); background: var(--encre); border-radius: 0 0 8px 8px; }
.app-ipad .o { width: 70px; height: 92px; border-radius: 10px; }
.app-iphone .o { width: 44px; height: 88px; border-radius: 12px; }
.app-plus { display: grid; grid-template-columns: 3fr 2fr; gap: 18px; margin-top: 18px; }
.app-langues, .app-theme { background: var(--papier); border: 1px solid var(--trait-2); border-radius: var(--rayon); padding: 28px; overflow: hidden; }
@media (prefers-color-scheme: dark) { .app-langues, .app-theme { background: var(--surface); } }
.app-langues h3, .app-theme h3 { display: flex; align-items: center; gap: 10px; font: 400 1.5rem/1.2 var(--serif); margin-bottom: 8px; }
.app-langues h3 .ic, .app-theme h3 .ic { color: var(--accent); width: 24px; height: 24px; }
.app-langues p, .app-theme p { color: var(--encre-2); font-size: .96rem; }
.defile { margin: 24px -28px -6px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste { display: flex; gap: 10px; width: max-content; padding: 4px 0; }
.js .defile-piste { animation: defile 90s linear infinite; }
.defile:hover .defile-piste { animation-play-state: paused; }
.defile-piste span { white-space: nowrap; padding: 7px 14px; border: 1px solid var(--trait); border-radius: 999px; font-size: .9rem; color: var(--encre-2); }
@keyframes defile { to { transform: translateX(-50%); } }
.theme-dessin { display: flex; margin-top: 24px; border-radius: 12px; overflow: hidden; border: 1px solid var(--trait); }
.theme-dessin span { flex: 1; height: 110px; display: grid; place-items: center; }
.theme-clair { background: #eef1f5; }
.theme-sombre { background: #0f1218; }
.theme-dessin .o { width: 46%; height: 78%; background: #fff; border-radius: 3px; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, .5); position: relative; }
.theme-dessin .o::after { content: ""; position: absolute; inset: 18% 16% auto; height: 4px; border-radius: 2px; background: #c9cdd8; box-shadow: 0 9px 0 #e2e4ea, 0 18px 0 #e2e4ea, 0 27px 0 #e2e4ea; }

/* ------------------------------------------------------------------ prix */
.prix { padding: clamp(72px, 10vw, 140px) 0; }
.prix-grille { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.prix .lien-fleche { margin-top: 26px; }
.carte-prix {
  background: var(--papier); border: 1px solid var(--trait-2); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px);
  box-shadow: var(--ombre-feuille); display: grid; gap: 4px; position: relative;
}
@media (prefers-color-scheme: dark) { .carte-prix { background: var(--surface); } }
.cp-offre { font: 650 .76rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.cp-label { font-size: .84rem; color: var(--encre-3); }
.cp-choix {
  appearance: none; -webkit-appearance: none; width: 100%; padding: 10px 40px 10px 14px; border: 1px solid var(--trait); border-radius: 12px;
  background: var(--bureau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23767b8e' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
  font-weight: 600; cursor: pointer; margin-top: 4px;
}
.cp-pays { font-weight: 650; font-size: 1.1rem; }
.cp-prix { font: 400 clamp(3rem, 6vw, 4.4rem)/1 var(--serif); letter-spacing: -.02em; margin-top: 22px; font-variant-numeric: lining-nums; }
.cp-par { font: 500 1rem/1 var(--sans); letter-spacing: 0; color: var(--encre-2); }
.cp-mois { color: var(--encre-2); font-size: .95rem; margin-top: 6px; }
.cp-monnaie { color: var(--encre-3); font-size: .86rem; }
.coches { list-style: none; display: grid; gap: 9px; margin: 22px 0 26px; padding-top: 22px; border-top: 1px solid var(--trait-2); }
.coches li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.coches .ic { color: var(--vert); width: 20px; height: 20px; stroke-width: 2.2; margin-top: 2px; }
.js [data-prix].change { animation: change .45s cubic-bezier(.2, .7, .2, 1); }
@keyframes change { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ questions */
.questions { padding: clamp(72px, 10vw, 140px) 0; background: var(--bureau-2); }
.questions-grille { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.questions .lien-fleche { margin-top: 24px; }
.faq { display: grid; border-top: 1px solid var(--trait); }
.q { border-bottom: 1px solid var(--trait); }
.q summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 2px; cursor: pointer; font-weight: 600; font-size: 1.04rem; }
.q summary::-webkit-details-marker { display: none; }
.q summary .o { position: relative; width: 14px; height: 14px; flex: none; }
.q summary .o::before, .q summary .o::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--encre-3); border-radius: 1px; transition: transform .3s; }
.q summary .o::after { transform: rotate(90deg); }
.q[open] summary .o::after { transform: rotate(0); }
.q summary:hover span { color: var(--accent); }
.q .r { padding: 0 2px 22px; color: var(--encre-2); max-width: 680px; }
.js .q[open] .r { animation: deplie .35s ease; }
@keyframes deplie { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ appel final */
.final { padding: clamp(80px, 12vw, 160px) 0; text-align: center; }
.final-in { display: grid; justify-items: center; gap: 18px; }
.final-plume { width: 40px; height: 40px; fill: none; stroke: var(--or); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.final h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.final-trait { width: min(320px, 70%); height: 30px; margin-top: -10px; overflow: visible; }
.final-trait path { fill: none; stroke: var(--or); stroke-width: 3; stroke-linecap: round; }
.js .final-trait path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s .3s cubic-bezier(.45, .05, .3, 1); }
.js .vu .final-trait path { stroke-dashoffset: 0; }
.final p { color: var(--encre-2); font-size: 1.1rem; max-width: 520px; margin-bottom: 8px; }

/* ------------------------------------------------------------------ pied de page */
.pied { background: var(--bureau-2); border-top: 1px solid var(--trait); padding: 56px 0 28px; font-size: .92rem; }
.pied-grille { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 32px; }
.pied-marque p { color: var(--encre-2); margin: 12px 0 18px; max-width: 340px; }
.pied-titre { font: 650 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 12px; }
.pied-col ul, .pied-langues ul { list-style: none; display: grid; gap: 8px; }
.pied a { color: var(--encre-2); text-decoration: none; }
.pied a:hover { color: var(--encre); text-decoration: underline; }
.pied-langues { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--trait); }
.pied-langues ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pied-langues a[aria-current] { color: var(--encre); font-weight: 650; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 24px; color: var(--encre-3); font-size: .8rem; }

/* ------------------------------------------------------------------ proposition de langue */
.suggestion {
  position: fixed; left: 50%; bottom: 18px; z-index: 70; transform: translateX(-50%); width: min(560px, calc(100% - 24px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  background: var(--papier); border: 1px solid var(--trait); border-radius: 18px; padding: 12px 12px 12px 18px; box-shadow: var(--ombre-feuille);
  animation: monte .5s cubic-bezier(.2, .7, .2, 1);
}
@media (prefers-color-scheme: dark) { .suggestion { background: var(--surface); } }
.suggestion p { font-size: .94rem; }
.suggestion-actions { display: flex; gap: 6px; }
@keyframes monte { from { opacity: 0; transform: translate(-50%, 20px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ------------------------------------------------------------------ pages intérieures */
.page-tete { padding: clamp(48px, 8vw, 104px) 0 clamp(32px, 5vw, 56px); }
.page-tete h1 { font: 400 clamp(2.4rem, 5.6vw, 4.4rem)/1.04 var(--serif); letter-spacing: -.022em; max-width: 16ch; text-wrap: balance; }
.page-intro { margin-top: 22px; color: var(--encre-2); font-size: 1.12rem; max-width: 680px; text-wrap: pretty; }

/* tarifs */
.tarifs-haut { padding-bottom: clamp(56px, 8vw, 96px); }
.tarifs-haut-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.carte-prix-grande .cp-prix { font-size: clamp(3.4rem, 7vw, 5rem); }
.tarifs-abo h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 26px; }
.etapes-abo { list-style: none; counter-reset: abo; display: grid; gap: 4px; }
.etapes-abo li { counter-increment: abo; position: relative; padding: 16px 0 18px 58px; border-top: 1px solid var(--trait); color: var(--encre-2); }
.etapes-abo li::before {
  content: counter(abo); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font: 600 .9rem/1 var(--mono); color: var(--accent); background: var(--accent-doux);
}
.petit { font-size: .88rem; color: var(--encre-3); margin-top: 18px; }
.tarifs-pays { padding: clamp(56px, 8vw, 96px) 0; background: var(--bureau-2); }
.tp-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 28px; margin-bottom: 24px; }
.tp-tete h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.tp-outils { display: grid; gap: 12px; justify-items: end; }
.recherche { display: flex; align-items: center; gap: 8px; background: var(--papier); border: 1px solid var(--trait); border-radius: 999px; padding: 0 14px; width: min(320px, 100%); }
@media (prefers-color-scheme: dark) { .recherche { background: var(--surface); } }
.recherche:focus-within { outline: 2px solid var(--accent-vif); outline-offset: 2px; }
.recherche .ic { color: var(--encre-3); }
.recherche input { border: 0; background: none; padding: 10px 0; width: 100%; outline: none; }
.filtres { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.filtre { border: 1px solid var(--trait); background: transparent; border-radius: 999px; padding: 5px 11px; font: 600 .78rem/1.3 var(--mono); color: var(--encre-2); cursor: pointer; }
.filtre span { color: var(--encre-3); font-weight: 500; margin-left: 2px; }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--bureau); }
.filtre[aria-pressed="true"] span { color: inherit; opacity: .7; }
.table-cadre { background: var(--papier); border: 1px solid var(--trait-2); border-radius: 18px; overflow: clip; box-shadow: var(--ombre-douce); }
@media (prefers-color-scheme: dark) { .table-cadre { background: var(--surface); } }
.table-prix { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table-prix thead th { position: sticky; top: var(--tete-h); z-index: 2; background: var(--papier); text-align: left; font: 650 .74rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-3); padding: 14px 20px; border-bottom: 1px solid var(--trait); }
@media (prefers-color-scheme: dark) { .table-prix thead th { background: var(--surface); } }
.table-prix th[scope="row"], .table-prix td { padding: 13px 20px; border-bottom: 1px solid var(--trait-2); text-align: left; font-weight: 500; }
.table-prix tbody tr:last-child > * { border-bottom: 0; }
.table-prix tbody tr:hover { background: var(--bureau); }
.table-prix .num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; white-space: nowrap; }
.code-pays { display: inline-block; width: 2.4em; font: 600 .74rem/1 var(--mono); color: var(--encre-3); }
.monnaie-nom { color: var(--encre-2); }
.table-prix .code { font: 500 .74rem/1 var(--mono); color: var(--encre-3); margin-left: 4px; }
.table-prix tr.est-ici { background: var(--accent-doux); }
.table-prix .ici { display: inline-block; margin-left: 10px; font: 600 .7rem/1 var(--sans); color: #fff; background: var(--accent-vif); padding: 4px 8px; border-radius: 99px; vertical-align: 2px; }
.tp-aucun { padding: 28px; text-align: center; color: var(--encre-2); }
.tp-compte { margin-top: 12px; font-size: .84rem; color: var(--encre-3); text-align: right; }
.tarifs-notes { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.tarifs-notes h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 22px; }
.notes { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; max-width: 1040px; }
.notes li { padding: 16px 0 16px 22px; border-top: 1px solid var(--trait); color: var(--encre-2); position: relative; font-size: .96rem; }
.notes li::before { content: ""; position: absolute; left: 0; top: 26px; width: 7px; height: 7px; border-radius: 50%; background: var(--or); }

/* assistance */
.ass-cartes-section { padding-bottom: clamp(48px, 7vw, 80px); }
.ass-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ass-carte { background: var(--papier); border: 1px solid var(--trait-2); border-radius: var(--rayon); padding: 28px; display: grid; align-content: start; justify-items: start; gap: 10px; }
@media (prefers-color-scheme: dark) { .ass-carte { background: var(--surface); } }
.ass-carte > .ic { width: 28px; height: 28px; color: var(--accent); }
.ass-carte h2 { font: 400 1.45rem/1.2 var(--serif); }
.ass-carte p { color: var(--encre-2); font-size: .95rem; }
.ass-carte .bouton { margin-top: 8px; white-space: normal; text-align: center; }
.ass-faq { padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 10vw, 120px); background: var(--bureau-2); }
.ass-grille { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ass-sommaire { position: sticky; top: calc(var(--tete-h) + 24px); }
.ass-sommaire ul { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--trait); }
.ass-sommaire a { display: block; padding: 7px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--encre-2); text-decoration: none; font-weight: 500; }
.ass-sommaire a:hover, .ass-sommaire a.actif { color: var(--encre); border-left-color: var(--accent-vif); }
.ass-groupes { display: grid; gap: 56px; max-width: 820px; }
.faq-groupe h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-bottom: 18px; }
.config-titre { margin: 36px 0 14px; }
.config { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--trait); }
.config li { display: grid; grid-template-columns: 28px 120px 1fr; gap: 12px; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--trait); }
.config .ic { color: var(--accent); }
.config span { color: var(--encre-2); }

/* pages légales */
.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 112px); align-items: start; }
.legal-sommaire { position: sticky; top: calc(var(--tete-h) + 24px); max-height: calc(100svh - var(--tete-h) - 48px); overflow: auto; padding-right: 6px; }
.legal-sommaire-titre { font: 650 .72rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-3); margin-bottom: 12px; }
.legal-sommaire ol { list-style: none; display: grid; gap: 1px; border-left: 2px solid var(--trait); }
.legal-sommaire a { display: block; padding: 5px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--encre-2); text-decoration: none; font-size: .86rem; line-height: 1.4; }
.legal-sommaire a:hover, .legal-sommaire a.actif { color: var(--encre); border-left-color: var(--accent-vif); }
.legal-feuille {
  background: var(--papier); border-radius: 4px; box-shadow: var(--ombre-feuille); padding: clamp(28px, 6vw, 80px) clamp(22px, 6vw, 84px);
  max-width: 860px; font-size: 1rem; line-height: 1.7; color: var(--encre);
}
@media (prefers-color-scheme: dark) { .legal-feuille { background: var(--surface); } }
.legal-feuille h1 { font: 400 clamp(2rem, 4.4vw, 3.1rem)/1.1 var(--serif); letter-spacing: -.018em; text-wrap: balance; }
.legal-maj { margin-top: 12px; font: 500 .82rem/1.4 var(--mono); color: var(--encre-3); }
.legal-feuille .chapeau { margin-top: 26px; font-size: 1.12rem; color: var(--encre-2); padding-bottom: 26px; border-bottom: 1px solid var(--trait); }
.legal-feuille h2 { font: 400 1.5rem/1.25 var(--serif); margin: 42px 0 12px; letter-spacing: -.01em; scroll-margin-top: calc(var(--tete-h) + 20px); }
.legal-feuille p + p, .legal-feuille p + ul, .legal-feuille ul + p { margin-top: 12px; }
.legal-feuille ul { padding-left: 1.3em; display: grid; gap: 6px; }
.legal-feuille a { word-break: break-word; }
.legal-traduction { margin-bottom: 28px; padding: 14px 16px; background: var(--accent-doux); border-radius: 12px; font-size: .9rem; color: var(--encre-2); }
.legal-autres { grid-column: 2; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; font-size: .92rem; color: var(--encre-3); }
.legal-autres ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 404 */
.introuvable { padding: clamp(40px, 8vw, 96px) var(--marge) clamp(72px, 10vw, 140px); display: grid; place-items: center; }
.introuvable-feuille { width: min(640px, 100%); aspect-ratio: 1 / 1.1; background: #fff; color: #15172b; border-radius: 3px; box-shadow: var(--ombre-feuille); padding: clamp(32px, 8vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.introuvable-code { font: 600 .82rem/1 var(--mono); color: #9aa0ae; }
.introuvable h1 { font: 400 clamp(2rem, 5vw, 3.2rem)/1.08 var(--serif); letter-spacing: -.02em; }
.introuvable p { color: #464a5e; }
.introuvable .bouton { align-self: flex-start; margin-top: 10px; }
.curseur { display: inline-block; width: 2px; height: .9em; margin-left: 6px; background: var(--selection); vertical-align: -.08em; }
.js .curseur { animation: clignote 1.1s steps(1) infinite; }
@keyframes clignote { 50% { opacity: 0; } }

/* ------------------------------------------------------------------ petits écrans */
@media (max-width: 1020px) {
  .local-grille, .sign-grille, .prix-grille, .questions-grille, .tarifs-haut-grille { grid-template-columns: 1fr; }
  .sign-atouts { grid-template-columns: 1fr; gap: 20px; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .app-plus { grid-template-columns: 1fr; }
  .ass-grille, .legal { grid-template-columns: 1fr; }
  .ass-sommaire, .legal-sommaire { position: static; max-height: none; }
  .ass-sommaire ul { display: flex; flex-wrap: wrap; border: 0; gap: 6px; }
  .ass-sommaire a { border: 1px solid var(--trait); border-radius: 999px; margin: 0; padding: 6px 14px; }
  .legal-sommaire { display: none; }
  .legal-autres { grid-column: 1; }
  .ass-cartes { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
  .tp-outils { justify-items: start; }
  .filtres { justify-content: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .points { grid-template-columns: 1fr; }
  .app-cartes { grid-template-columns: 1fr; }
  .app-cartes li { grid-template-columns: 96px 1fr; align-items: center; column-gap: 18px; }
  .app-dessin { grid-row: span 2; height: 72px; margin: 0; transform: scale(.72); transform-origin: left center; width: 130px; }
  .pied-grille { grid-template-columns: 1fr; }
  .schema-sortie { grid-template-columns: 1fr; }
  .schema-cible { max-width: none; }
  .table-prix .monnaie-nom { display: none; }
  .table-prix th[scope="row"], .table-prix td { padding: 12px 14px; }
  .table-prix thead th { padding: 12px 14px; }
  .config li { grid-template-columns: 28px 1fr; }
  .config li span { grid-column: 2; }
  .ecrans-onglets { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--marge)); padding-inline: var(--marge); scrollbar-width: none; }
  .ecrans-onglets::-webkit-scrollbar { display: none; }
  .ecrans-onglets button { white-space: nowrap; }
  figcaption { flex-direction: column; gap: 6px; }
}

/* ------------------------------------------------------------------ mouvements réduits, impression */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .apparait { opacity: 1; transform: none; }
}
@media print {
  .tete, .pied, .suggestion, .legal-sommaire, .legal-autres, .evitement { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal { display: block; padding: 0; }
  .legal-feuille { box-shadow: none; padding: 0; max-width: none; background: #fff; color: #000; }
  .legal-feuille a { color: #000; }
}
