/* ==========================================================================
   REGISTRE · système de design d'Ecommerce Dynamics (v3, 22/11/2026)
   Une seule feuille. Règles : 11 espacements, 8 styles de texte, rayon 0,
   aucune ombre, filets de 1 px, un seul accent (terre cuite).
   ========================================================================== */

@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-wght-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/instrument-sans-wght-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-500-latin.woff2) format("woff2"); }
/* Police de secours aux métriques proches : limite le décalage au chargement */
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%; }

:root {
  --calc: #F8F4EC; --paper: #FFFFFF; --ink: #151916; --ink-2: #222B25;
  --muted: #545A55; --line: #DAD6CC; --accent: #A65336;
  --on-ink: #F8F4EC; --muted-ink: #C5CEC8; --line-ink: #465249; --accent-ink: #F5A68A;
  --ok: #176A4E; --err: #A12E28;
  --sans: "Instrument Sans", "Instrument Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  /* Grille et rythme (ordinateur) */
  --side: 64px; --gut: 24px; --sec: 80px; --hero: 128px; --head: 32px; --hd: 72px;
  --wrap: 1280px; --read: 68ch;
}
@media (max-width: 1199.98px) { :root { --side: 32px; --gut: 20px; --sec: 64px; --hero: 96px; --hd: 64px; } }
@media (max-width: 767.98px)  { :root { --side: 20px; --gut: 16px; --sec: 48px; --hero: 64px; --hd: 60px; } }

/* ----- Base ----- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--calc); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; letter-spacing: -.005em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-feature-settings: "ss01" 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ink :focus-visible { outline-color: var(--accent-ink); }
::selection { background: var(--ink); color: var(--calc); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--side); top: -100px; z-index: 100; background: var(--ink); color: var(--calc); padding: 12px 16px; font-size: 14px; font-weight: 600; }
.skip:focus { top: 12px; }
.nw { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* ----- 8 styles de texte ----- */
.t1, .t2, .t3, .t4 { font-weight: 600; text-wrap: balance; }
.t1 { font-size: 76px; line-height: 80px; letter-spacing: -.055em; }
.t2 { font-size: 56px; line-height: 60px; letter-spacing: -.045em; }
.t3 { font-size: 40px; line-height: 44px; letter-spacing: -.035em; }
.t4 { font-size: 24px; line-height: 30px; letter-spacing: -.025em; }
.t5 { font-size: 20px; line-height: 31px; letter-spacing: -.012em; font-weight: 400; color: var(--muted); }
.t6 { font-size: 16px; line-height: 26px; letter-spacing: -.005em; font-weight: 400; }
.t7 { font-size: 14px; line-height: 20px; letter-spacing: 0; font-weight: 600; }
.t8 { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; font-weight: 500; text-transform: uppercase; }
@media (max-width: 1199.98px) { .t1 { font-size: 56px; line-height: 59px; } .t2 { font-size: 44px; line-height: 48px; } .t3 { font-size: 34px; line-height: 38px; } .t4 { font-size: 22px; line-height: 27px; } .t5 { font-size: 18px; line-height: 28px; } }
@media (max-width: 767.98px)  { .t1 { font-size: 42px; line-height: 44px; } .t2 { font-size: 36px; line-height: 40px; } .t3 { font-size: 30px; line-height: 34px; } .t4 { font-size: 21px; line-height: 26px; } .t5 { font-size: 17px; line-height: 27px; } }
.muted { color: var(--muted); }
.ink .muted, .ink .t5 { color: var(--muted-ink); }
.read { max-width: var(--read); }
.acc { color: var(--accent); }
.ink .acc { color: var(--accent-ink); }

/* ----- Mise en page ----- */
.wrap { width: min(100% - 2 * var(--side), var(--wrap)); margin-inline: auto; }
.g { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 48px; }
.s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s5 { grid-column: span 5; } .s6 { grid-column: span 6; }
.s7 { grid-column: span 7; } .s8 { grid-column: span 8; } .s9 { grid-column: span 9; } .s12 { grid-column: 1 / -1; }
.mid { align-items: center; } .end { align-items: end; }
@media (max-width: 1199.98px) { .g { grid-template-columns: repeat(8, minmax(0, 1fr)); } .s3, .s4 { grid-column: span 4; } .s5, .s6, .s7, .s8, .s9 { grid-column: 1 / -1; } .t-s4 { grid-column: span 4; } }
@media (max-width: 767.98px)  { .g { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 32px; } .s3, .s4, .t-s4 { grid-column: 1 / -1; } }

.sec { padding-block: var(--sec); }
.sec + .sec:not(.ink):not(.paper) { border-top: 1px solid var(--line); }
.hero { padding-top: var(--hero); padding-bottom: var(--sec); }
.paper { background: var(--paper); border-block: 1px solid var(--line); }
.paper + .sec, .sec + .paper { border-top: 0; }
.ink { background: var(--ink); color: var(--on-ink); }
.stack > * + * { margin-top: 16px; }
.mt8 { margin-top: 8px; } .mt16 { margin-top: 16px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mt48 { margin-top: 48px; }

/* En-tête de section : folio, titre, intro ; 16 px puis 32 px avant le contenu */
.sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: var(--head); }
.sh > div { max-width: 820px; }
.sh .t5 { margin-top: 16px; max-width: 58ch; }
.folio { display: block; color: var(--muted); margin-bottom: 16px; }
.ink .folio { color: var(--muted-ink); }
.folio b { color: var(--accent); font-weight: 500; }
.ink .folio b { color: var(--accent-ink); }
@media (max-width: 767.98px) { .sh { flex-direction: column; align-items: flex-start; gap: 16px; } }

/* ----- Boutons et liens ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 24px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: 0; background: var(--ink); color: var(--calc); border: 1px solid var(--ink); transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease); white-space: nowrap; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--calc); }
.ink .btn { background: var(--calc); color: var(--ink); border-color: var(--calc); }
.ink .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--ink); }
.ink .btn--line { background: transparent; color: var(--calc); border-color: var(--calc); }
.ink .btn--line:hover { background: var(--calc); color: var(--ink); }
.btn--full { width: 100%; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.lk { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); transition: text-decoration-color .18s var(--ease), color .18s var(--ease); }
.lk:hover { text-decoration-color: currentColor; color: var(--accent); }
.ink .lk:hover { color: var(--accent-ink); }
.lk svg { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.lk:hover svg { transform: translateX(3px); }
.prose a, .t6 a:not(.lk):not(.btn), .t5 a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.prose a:hover, .t6 a:not(.lk):not(.btn):hover { color: var(--accent); text-decoration-color: currentColor; }

/* ----- En-tête du site ----- */
.hd { position: sticky; top: 0; z-index: 50; height: var(--hd); background: color-mix(in srgb, var(--calc) 94%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.hd .wrap { height: 100%; display: flex; align-items: center; gap: 32px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 16px; line-height: 20px; font-weight: 600; letter-spacing: -.02em; }
.brand svg { width: 28px; height: 28px; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; height: 100%; }
.nav > a, .nav .dd > a { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); transition: color .18s var(--ease); height: 100%; display: inline-flex; align-items: center; gap: 6px; }
.nav > a:hover, .nav .dd:hover > a, .nav a[aria-current="page"] { color: var(--ink); }
.nav .dd { position: static; height: 100%; display: flex; }
.nav .dd svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.nav .dd:hover svg, .nav .dd:focus-within svg { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; right: 0; display: grid; grid-template-columns: repeat(3, 220px); gap: 0 32px; padding: 24px; background: var(--paper); border: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.dd:hover .mega, .dd:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega .t8 { display: block; color: var(--muted); padding-bottom: 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.mega a { display: block; padding: 8px 0; font-size: 14px; line-height: 20px; color: var(--ink); transition: color .18s var(--ease); }
.mega a:hover { color: var(--accent); }
.hd-r { display: flex; align-items: center; gap: 16px; }
.lang { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--muted); }
.lang a:hover, .lang [aria-current] { color: var(--ink); }
.hd .btn { height: 40px; padding: 0 16px; }
.burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.burger svg { width: 24px; height: 24px; }
.mnav { position: fixed; inset: var(--hd) 0 0 0; z-index: 49; background: var(--calc); overflow-y: auto; padding: 24px var(--side) 48px; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s; }
.mnav.open { visibility: visible; opacity: 1; transform: none; }
.mnav > a, .mnav summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; font-size: 21px; line-height: 26px; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line); list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav summary svg { width: 20px; height: 20px; transition: transform .18s var(--ease); }
.mnav details a { display: block; padding: 10px 0; font-size: 16px; line-height: 24px; color: var(--muted); }
.mnav details div { padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 32px; width: 100%; }
.mnav .lang { display: block; margin-top: 24px; }
@media (max-width: 1099.98px) { .nav, .hd-r .btn, .hd-r .lang { display: none; } .burger { display: inline-flex; } .hd-r { margin-left: auto; } }
body.menu-open { overflow: hidden; }

/* ----- Fil d'Ariane ----- */
.crumb { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--muted); margin-bottom: 24px; }
.crumb a:hover { color: var(--ink); }
.crumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-ink); }
.crumb [aria-current] { color: var(--ink); }

/* ----- Haut de page ----- */
.hero .t1, .hero .t2 { max-width: 16ch; }
.hero .t5 { margin-top: 24px; max-width: 54ch; }
.hero .acts { margin-top: 32px; }
.proofline { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.ink .proofline { border-color: var(--line-ink); color: var(--muted-ink); }
.ph { padding-top: var(--hero); padding-bottom: var(--sec); border-bottom: 1px solid var(--line); }
.ph .t2 { max-width: 20ch; }
.ph .t5 { margin-top: 24px; max-width: 58ch; }
.ph .acts { margin-top: 32px; }
.ph + .sec { border-top: 0; }

/* ----- Captures et vitrines de projet ----- */
.shot { position: relative; display: block; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.ink .shot { border-color: var(--line-ink); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform .32s var(--ease); }
a.shot:hover img, a:hover > .shot img { transform: scale(1.015); }
.shot--43 img { aspect-ratio: 4 / 3; }
/* Équerres : signature des grandes réalisations */
.frame { position: relative; display: block; }
.frame::before, .frame::after { content: ""; position: absolute; width: 16px; height: 16px; border-color: var(--accent); border-style: solid; z-index: 2; pointer-events: none; }
.frame::before { top: -8px; left: -8px; border-width: 2px 0 0 2px; }
.frame::after { bottom: -8px; right: -8px; border-width: 0 2px 2px 0; }
.ink .frame::before, .ink .frame::after { border-color: var(--accent-ink); }
.proj { display: block; }
.proj figcaption, .proj .cap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; margin-top: 16px; }
.proj .t8 { grid-column: 1 / -1; color: var(--muted); }
.proj .t4 { transition: color .18s var(--ease); }
.proj:hover .t4 { color: var(--accent); }
.proj .role { grid-column: 1 / -1; color: var(--muted); font-size: 15px; line-height: 24px; }
.proj .res { grid-column: 1 / -1; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 600; }
.ink .proj .role { color: var(--muted-ink); }

/* ----- Preuve chiffrée ----- */
.big { font-size: 112px; line-height: 104px; font-weight: 600; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
@media (max-width: 1199.98px) { .big { font-size: 88px; line-height: 84px; } }
@media (max-width: 767.98px)  { .big { font-size: 64px; line-height: 64px; } }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.ink .kv { border-color: var(--line-ink); }
.kv dt { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.kv dd { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--muted); }
.ink .kv dd { color: var(--muted-ink); }
.kv--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .kv--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.src { margin-top: 24px; color: var(--muted); }
.ink .src { color: var(--muted-ink); }

/* ----- Liste numérotée (offres, domaines, étapes) ----- */
.rows { border-top: 1px solid var(--line); }
.ink .rows { border-color: var(--line-ink); }
.rows > li { border-bottom: 1px solid var(--line); }
.ink .rows > li { border-color: var(--line-ink); }
.rows a, .rows .row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto 24px; gap: 24px; align-items: center; min-height: 104px; padding: 24px 0; }
.rows .row { grid-template-columns: 64px minmax(0, 1fr); align-items: start; min-height: 0; }
.rows .n { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--muted); align-self: start; padding-top: 6px; }
.ink .rows .n { color: var(--muted-ink); }
.rows .tt { font-size: 24px; line-height: 30px; font-weight: 600; letter-spacing: -.025em; transition: color .18s var(--ease); }
.rows .dd { display: block; margin-top: 4px; color: var(--muted); }
.ink .rows .dd { color: var(--muted-ink); }
.rows .pr { font-size: 14px; line-height: 20px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.rows .ar { width: 20px; height: 20px; transition: transform .18s var(--ease), color .18s var(--ease); }
.rows a:hover .tt, .rows a:hover .ar { color: var(--accent); }
.ink .rows a:hover .tt, .ink .rows a:hover .ar { color: var(--accent-ink); }
.rows a:hover .ar { transform: translateX(4px); }
.rows--sm a, .rows--sm .row { min-height: 0; padding: 20px 0; }
.rows--sm .tt { font-size: 18px; line-height: 26px; letter-spacing: -.015em; }
@media (max-width: 767.98px) {
  .rows a { grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 8px 12px; min-height: 0; padding: 20px 0; align-items: start; }
  .rows .row { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 20px 0; }
  .rows .tt { font-size: 20px; line-height: 26px; }
  .rows .pr { grid-column: 2; grid-row: 2; text-align: left; }
  .rows .ar { grid-column: 3; grid-row: 1; margin-top: 4px; }
}

/* ----- Colonnes de trois engagements ----- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.cols3 > * { border-top: 2px solid var(--ink); padding-top: 24px; }
.ink .cols3 > * { border-color: var(--on-ink); }
.cols3 .n { display: block; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--accent); margin-bottom: 16px; }
.ink .cols3 .n { color: var(--accent-ink); }
.cols3 .t4 { margin-bottom: 12px; }
.cols3 p { color: var(--muted); }
.ink .cols3 p { color: var(--muted-ink); }
.cols4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199.98px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }
@media (max-width: 767.98px) { .cols3, .cols4 { grid-template-columns: 1fr; row-gap: 32px; } }

/* ----- Portrait ----- */
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink-2); }
@media (max-width: 1199.98px) { .portrait { aspect-ratio: 4 / 3; object-position: center 25%; } }

/* ----- Citations et avis ----- */
.ratings { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); }
.ratings b { color: var(--ink); font-weight: 600; }
.quote blockquote { font-size: 28px; line-height: 38px; font-weight: 500; letter-spacing: -.02em; text-wrap: pretty; }
.quote figcaption, .qs figcaption { margin-top: 16px; color: var(--muted); }
.quote figcaption b, .qs figcaption b { color: var(--ink); font-weight: 600; }
.qs > figure { padding: 24px 0; border-top: 1px solid var(--line); }
.qs > figure:last-child { border-bottom: 1px solid var(--line); }
.qs blockquote { font-size: 16px; line-height: 26px; }
@media (max-width: 767.98px) { .quote blockquote { font-size: 22px; line-height: 31px; } }

/* ----- Bloc prix ----- */
.price { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.price .t8 { color: var(--muted); }
.price .amt { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.price .amt small { font-size: 14px; line-height: 20px; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.price .note { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 20px; }
.price ul { margin: 24px 0; border-top: 1px solid var(--line); }
.price li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 22px; }
.price li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }
.price .after { margin-top: 16px; text-align: center; color: var(--muted); font-size: 14px; line-height: 20px; }
@media (min-width: 1200px) { .sticky { position: sticky; top: calc(var(--hd) + 32px); } }
@media (max-width: 767.98px) { .price { padding: 24px; } .price .amt { font-size: 44px; line-height: 48px; } }

/* ----- Inclus et non inclus ----- */
.scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.scope > div { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.scope h3 { margin-bottom: 16px; }
.scope li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.scope li svg { width: 16px; height: 16px; margin-top: 5px; }
.scope .in svg { color: var(--ok); }
.scope .out svg { color: var(--muted); }
@media (max-width: 767.98px) { .scope { grid-template-columns: 1fr; } .scope > div { padding: 24px; } }

/* ----- Définitions (offre en bref) ----- */
.defs { border-top: 1px solid var(--line); }
.defs > div { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.defs dt, .defs .dt { font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -.015em; }
.defs dd, .defs .dd { color: var(--muted); }
@media (max-width: 767.98px) { .defs > div { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; } .defs dd, .defs .dd { grid-column: 2; } }

/* ----- FAQ ----- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: 24px; align-items: center; min-height: 64px; padding: 16px 0; font-size: 18px; line-height: 26px; font-weight: 600; letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; font-weight: 500; text-align: center; color: var(--muted); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--accent); }
.faq .a { padding: 0 48px 24px 0; color: var(--muted); max-width: calc(var(--read) + 48px); }
.faq .a p + p { margin-top: 12px; }
.faq .a a { text-decoration: underline; text-underline-offset: 4px; }

/* ----- Texte long (SEO, légal, articles) ----- */
.prose { max-width: var(--read); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -.03em; margin-top: 48px; }
.prose h3 { font-size: 21px; line-height: 28px; font-weight: 600; letter-spacing: -.02em; margin-top: 32px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose p, .prose li { color: var(--ink); }
.prose ul { list-style: none; }
.prose ul li { position: relative; padding-left: 20px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 1px; background: var(--ink); }
.prose ol { list-style: decimal; padding-left: 20px; }
.prose li + li { margin-top: 8px; }
.prose strong { font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.prose th, .prose td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.prose blockquote { border-left: 2px solid var(--accent); padding-left: 20px; }
.prose img { border: 1px solid var(--line); }
.tablewrap { overflow-x: auto; }

/* ----- Tarifs : index et familles ----- */
.idx { position: sticky; top: calc(var(--hd) + 32px); }
.idx .t8 { display: block; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.idx a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); transition: color .18s var(--ease); }
.idx a span { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.idx a:hover { color: var(--ink); }
.fam + .fam { margin-top: 64px; }
.fam > header { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 16px; border-bottom: 2px solid var(--ink); }
.fam > header p { color: var(--muted); font-size: 14px; line-height: 20px; }
.fam > header b { color: var(--ink); font-weight: 600; }
.ptab li { border-bottom: 1px solid var(--line); }
.ptab a { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; gap: 24px; align-items: baseline; padding: 16px 0; }
.ptab .tt { font-size: 16px; line-height: 24px; font-weight: 600; transition: color .18s var(--ease); }
.ptab .pr { font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ptab .u { display: block; font-weight: 400; color: var(--muted); }
.ptab svg { width: 16px; height: 16px; align-self: center; color: var(--muted); transition: transform .18s var(--ease), color .18s var(--ease); }
.ptab a:hover .tt, .ptab a:hover svg { color: var(--accent); }
.ptab a:hover svg { transform: translateX(3px); }
.more summary { list-style: none; cursor: pointer; padding: 16px 0; color: var(--accent); }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; }
.more[open] summary::after { content: " −"; }
.famlink { margin-top: 16px; }
@media (max-width: 1199.98px) { .idx { position: static; } .idx nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); } }
@media (max-width: 767.98px) { .ptab a { grid-template-columns: minmax(0, 1fr) 16px; gap: 4px 12px; } .ptab .pr { grid-column: 1; text-align: left; } .ptab svg { grid-column: 2; grid-row: 1; } .idx nav { grid-template-columns: 1fr; } }

/* ----- Appel à l'action final ----- */
.cta .t3 { max-width: 18ch; }
.cta .t5 { margin-top: 24px; max-width: 52ch; }
.cta .acts { margin-top: 32px; }
.cta .proofline { margin-top: 48px; }

/* ----- Pied de page ----- */
.ft { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.ft-g { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: var(--gut); }
.ft .t8 { display: block; color: var(--muted); padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.ft li a { display: inline-block; padding: 6px 0; font-size: 14px; line-height: 20px; color: var(--ink); transition: color .18s var(--ease); }
.ft li a:hover { color: var(--accent); }
.ft-brand p { margin-top: 16px; max-width: 36ch; color: var(--muted); font-size: 15px; line-height: 24px; }
.ft-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); }
.ft-base a:hover { color: var(--ink); }
@media (max-width: 1199.98px) { .ft-g { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } .ft-brand { grid-column: 1 / -1; } }
@media (max-width: 767.98px) { .ft-g { grid-template-columns: 1fr; } }

/* ----- Formulaires ----- */
.field { display: block; }
.field + .field { margin-top: 16px; }
.field span { display: block; margin-bottom: 8px; font-size: 14px; line-height: 20px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 22px; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 0; appearance: none; -webkit-appearance: none; transition: border-color .18s var(--ease); }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23151916' stroke-width='1.75'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.fstatus { margin-top: 16px; font-size: 14px; line-height: 20px; font-weight: 600; }
.fstatus.ok { color: var(--ok); } .fstatus.err { color: var(--err); }

/* ----- Divers ----- */
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.ink .rule { border-color: var(--line-ink); }
.note { color: var(--muted); font-size: 14px; line-height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.chips a { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--muted); }
.chips a:hover { color: var(--accent); }
.domains { columns: 4 220px; column-gap: var(--gut); border-top: 1px solid var(--line); }
.domains li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.domains a { display: flex; justify-content: space-between; padding: 12px 0; font-family: var(--mono); font-size: 13px; line-height: 20px; transition: color .18s var(--ease); }
.domains a span { color: var(--muted); }
.domains a:hover, .domains a:hover span { color: var(--accent); }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); margin-top: 24px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gut); }
.cards .t4 { margin-top: 16px; transition: color .18s var(--ease); }
.cards a:hover .t4 { color: var(--accent); }
.cards p { margin-top: 8px; color: var(--muted); }
@media (max-width: 1199.98px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767.98px) { .cards { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }
@media print { .hd, .mnav, .ft, .cta { display: none; } body { background: #fff; } }

/* ----- Haut de fiche d'offre : prix avant la description sur mobile ----- */
.fh-g { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-areas: "a p" "b p"; column-gap: calc(var(--gut) * 3); row-gap: 32px; align-items: start; }
.fh-a { grid-area: a; } .fh-p { grid-area: p; } .fh-b { grid-area: b; }
.fh-a .t5 { margin-top: 24px; max-width: 54ch; }
.fh-b > * + * { margin-top: 24px; }
.fh-proof { margin-top: 48px !important; }
@media (max-width: 1199.98px) { .fh-g { grid-template-columns: 1fr; grid-template-areas: "a" "p" "b"; } }

/* ----- Corrections après notation (ChatGPT 8,2 / Gemini 7,2) ----- */
.price .scopelink { display: none; }
@media (max-width: 1199.98px) { .price ul { display: none; } .price .scopelink { display: inline-flex; margin: 0 0 24px; } .price .note + .scopelink { margin-top: 16px; } }
@media (max-width: 767.98px) { .hero .acts, .cta .acts { flex-direction: column; align-items: stretch; } .hero .acts .btn, .cta .acts .btn { width: 100%; } .hero .acts .lk, .cta .acts .lk { align-self: flex-start; } .ft { padding-top: 48px; } .ft-g { row-gap: 32px; } }
.hero-h1 { max-width: 12ch; }
.hero .s5 .t5 { max-width: 46ch; }
.g--loose { row-gap: 64px; }
.ratings--lead { margin: -8px 0 32px; }
.audit-box { border-block: 1px solid var(--line); padding-block: 32px; }
.audit-box .s4 { text-align: right; }
@media (max-width: 1199.98px) { .audit-box .s4 { text-align: left; } }
.tablewrap.prose { max-width: none; }
.pre { white-space: pre-line; }

/* Retours des agents */
.prose > :first-child { margin-top: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cols3 { row-gap: 48px; }
.rule.mt16 { margin-top: 16px; } .rule.mt24 { margin-top: 24px; } .rule.mt32 { margin-top: 32px; } .rule.mt48 { margin-top: 48px; }
@media (max-width: 767.98px) { .tablewrap table { min-width: 560px; } }
/* Contraste des légendes sur fond encre (PageSpeed accessibilité) */
.ink .proj .t8, .ink .t8.muted, .ink .note { color: var(--muted-ink); }
.ink .proj .res { border-color: var(--line-ink); }
/* Lignes avec résultat long (exemples documentés) */
.rows .pr { max-width: 30ch; }
@media (max-width: 767.98px) { .rows .pr { max-width: none; } }

/* ----- Bandeau cookies (CNIL : trois choix de même poids) ----- */
.cc { position: fixed; left: var(--side); bottom: 24px; z-index: 70; width: min(560px, calc(100% - 2 * var(--side))); background: var(--paper); border: 1px solid var(--ink); padding: 24px; }
.cc[hidden] { display: none; }
.cc .t8 { color: var(--muted); margin-bottom: 8px; }
.cc-d { font-size: 14px; line-height: 21px; color: var(--ink); }
.cc-d a { text-decoration: underline; text-underline-offset: 3px; }
.cc-prefs { margin-top: 16px; border-top: 1px solid var(--line); }
.cc-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 20px; cursor: pointer; }
.cc-row input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.cc-row b { font-weight: 600; }
.cc-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.cc-acts .btn { height: 44px; padding: 0 12px; width: 100%; }
.cc-acts [hidden] { display: none; }
.cc-open { font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.cc-open:hover { color: var(--ink); }
@media (max-width: 767.98px) { .cc { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px; } .cc-d { font-size: 13px; line-height: 19px; } .cc-acts .btn { padding: 0 6px; font-size: 13px; } }

/* ----- Sélecteur de langue en menu déroulant ----- */
.langdd { position: relative; }
.langdd summary { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 4px; list-style: none; cursor: pointer; font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--ink); }
.langdd summary::-webkit-details-marker { display: none; }
.langdd summary svg { width: 14px; height: 14px; transition: transform .18s var(--ease); }
.langdd[open] summary svg { transform: rotate(180deg); }
.langdd-menu { position: absolute; right: 0; top: 100%; min-width: 160px; background: var(--paper); border: 1px solid var(--line); padding: 8px 0; z-index: 60; }
.langdd-menu a { display: block; padding: 10px 16px; font-size: 14px; line-height: 20px; color: var(--ink); }
.langdd-menu a:hover { color: var(--accent); }
.langdd-menu a[aria-current] { font-weight: 600; }
@media (max-width: 1099.98px) { .hd-r .langdd { display: none; } }

/* ----- REGISTRE humanisé (23/11/2026) ----- */
.hero { padding-top: 88px; }
@media (max-width: 1199.98px) { .hero { padding-top: 64px; } }
@media (max-width: 767.98px)  { .hero { padding-top: 40px; } }
@media (min-width: 1200px) { .hero-g { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 48px; } .hero-g > .s5, .hero-g > .s7 { grid-column: auto; } }
.hero-h1 { font-size: clamp(44px, 5vw, 70px); line-height: 1.04; max-width: 12ch; }
.proofline { font-size: 14px; line-height: 22px; }
.human { display: flex; align-items: center; gap: 12px; margin-top: 24px; font-size: 14px; line-height: 20px; color: var(--muted); }
.human picture { flex: none; }
.avatar { display: block; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; background: var(--line); }
.human--ink { color: var(--muted-ink); }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gut); }
.need { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink); color: inherit; }
.need .n { font-family: var(--mono); font-size: 12px; line-height: 18px; letter-spacing: .08em; color: var(--accent); }
.need .t4 { transition: color .18s var(--ease); }
.need .dd { color: var(--muted); }
.need .pr { font-size: 15px; line-height: 22px; font-weight: 600; }
.need .fig { display: grid; gap: 12px; margin-top: 12px; }
.need .shot img { aspect-ratio: 16 / 9; }
.need .ex { font-size: 14px; line-height: 21px; color: var(--muted); }
.need .ex b { color: var(--ink); font-weight: 600; }
.need .lk { margin-top: auto; padding-top: 8px; }
.need:hover .t4 { color: var(--accent); }
@media (max-width: 1023.98px) { .needs { grid-template-columns: minmax(0, 1fr); gap: 40px; } .need .shot { max-width: 560px; } }
@media (max-width: 767.98px) { .need .fig { grid-template-columns: 128px minmax(0, 1fr); align-items: center; gap: 16px; } .need .shot img { aspect-ratio: 4 / 3; } .proofline { gap: 4px 16px; } }
.xnote { margin-top: 32px; padding: 12px 16px; border-left: 2px solid var(--accent); background: var(--paper); font-size: 14px; line-height: 21px; color: var(--ink); }
.xnote + .fh-proof { margin-top: 16px !important; }
@media (max-width: 767.98px) { .m-hide { display: none; } }
@media (min-width: 1024px) { @supports (grid-template-rows: subgrid) { .needs { row-gap: 0; } .need { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 12px; align-content: start; } .need .lk { margin-top: 0; align-self: end; justify-self: start; } .need .fig { align-self: start; } } }
.proofline--hero { gap: 8px 24px; }
.proofline--hero a { color: inherit; text-decoration: none; }
.proofline--hero a:hover { color: var(--accent); }
.proofline--hero b { color: var(--ink); font-weight: 600; }
.proofline--hero .pl-meta { flex-basis: 100%; }
.proofline--hero .pl-meta a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
#votre-besoin { scroll-margin-top: calc(var(--hd) + 16px); }
.needs { column-gap: 32px; }
.needs-note { margin-top: 32px; color: var(--muted); }
.needs-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-top: 32px; }
.needs-close .t6 { max-width: 72ch; }
.rv-g { align-items: start; }
.price .human { margin-top: 16px; }
@media (max-width: 767.98px) { .hero { padding-bottom: 44px; } .hero .human { margin-top: 20px; } .lk { min-height: 44px; } .needs-close { display: block; } }
.proofline--hero .pl-meta a { white-space: nowrap; }
@media (max-width: 767.98px) { .need .shot img { aspect-ratio: 16 / 9; } }
