/* DYVOX7 - 2 : refonte. Noir, blanc, gris neutres purs et jaune #facc15 uniquement.
   Rebrander = changer les tokens de :root et [data-theme="dark"]. */

/* ---------------------------------------------------------------- tokens */
:root {
  --bg: #f5f5f5;
  --bg-a: rgba(245, 245, 245, .86);
  --bg2: #ebebeb;
  --surface: #ffffff;
  --ink: #0a0a0a;
  --mute: #595959;
  --line: rgba(0, 0, 0, .14);
  --line2: rgba(0, 0, 0, .34);
  --acc: #facc15; /* accent de la marque ; redéfini par les thèmes de saison (seasons.css) */
  --acc-rgb: 250, 204, 21;
  --acc-t: var(--acc); /* variante de l'accent pour du TEXTE sur surface sombre (contraste >= 4,5 sur #171717), éclaircie par certaines saisons */
  --y: var(--acc);
  --on-y: #0a0a0a; /* texte posé sur l'accent */
  --ytxt: #0a0a0a;
  --focus: #0a0a0a;
  --k: #0a0a0a;
  --w: #f5f5f5;
  --err: #b42318;
  --ok: #15803d;
  /* palette secondaire (illustration et information, JAMAIS l'action : l'action reste le jaune --acc).
     Teintes reprises des illustrations du hero (#3b82f6, #22c55e, #ef4444 adouci, #14b8a6, #ec4899).
     --cN = remplissage (icônes, barres, pastilles) ; --cN-t = variante TEXTE, contraste AA calculé (README) */
  --c2: #3b82f6; --c3: #22c55e; --c4: #f0614f; --c5: #14b8a6; --c6: #ec4899;
  --c2-t: #1d4ed8; --c3-t: #166534; --c4-t: #b2301f; --c5-t: #0d6b63; --c6-t: #be185d;
  --hdr: 68px;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1560px;
  /* typographie : 4 tokens, redéfinis par html[data-type="dyvox7"] (interrupteur de polices, voir README) */
  --f-d: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif; /* titres */
  --f-t: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; /* texte d'interface */
  --f-r: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; /* lecture : prose, chapôs, champs */
  --f-m: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; /* repères */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease2: cubic-bezier(.76, 0, .24, 1);
  --sec: clamp(4rem, 9vw, 9rem);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0a0a0a;
  --bg-a: rgba(10, 10, 10, .84);
  --bg2: #141414;
  --surface: #171717;
  --ink: #f5f5f5;
  --mute: #a3a3a3;
  --line: rgba(255, 255, 255, .16);
  --line2: rgba(255, 255, 255, .36);
  --ytxt: var(--acc);
  --focus: var(--acc);
  --err: #ff8a80;
  --ok: #4ade80;
  --c2: #60a5fa; --c3: #4ade80; --c4: #ff7b6b; --c5: #2dd4bf; --c6: #f472b6;
  --c2-t: #60a5fa; --c3-t: #4ade80; --c4-t: #ff8a7a; --c5-t: #2dd4bf; --c6-t: #f472b6;
  color-scheme: dark;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lock { overflow: hidden; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink);
  font-family: var(--f-t); font-size: 1.0625rem; line-height: 1.55; font-optical-sizing: auto; font-synthesis: none;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
[data-theme="dark"] body::after { opacity: .07; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.05; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--y); color: var(--on-y); }
[hidden] { display: none !important; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 400; background: var(--y); color: var(--on-y); padding: .7rem 1rem; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mono { font-family: var(--f-m); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.sec { padding-block: var(--sec); position: relative; }
.sep { margin-inline: .7em; opacity: .5; }

.h1, .h2, .hero-h, .xl { font-variation-settings: "wdth" 75; font-weight: 800; letter-spacing: -.012em; line-height: .92; }
.h1 { font-size: clamp(2.8rem, 8.4vw, 8.6rem); }
.h1.sm { font-size: clamp(2rem, 5.6vw, 4.8rem); line-height: .98; }
.h2 { font-size: clamp(2.2rem, 5.6vw, 5.2rem); }
.h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-variation-settings: "wdth" 80; font-weight: 700; }
.xl { font-size: clamp(3rem, 9.4vw, 9.4rem); }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.45; color: var(--mute); max-width: 54ch; margin-top: 1.4rem; }
.eyebrow { color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 0; margin-bottom: 1.4rem; }
.live { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--y); margin-right: .7em; box-shadow: 0 0 0 0 rgba(var(--acc-rgb), .6); animation: ping 2.2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 .6rem rgba(var(--acc-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--acc-rgb), 0); } }

/* mise en valeur : trait jaune sous les mots, jamais derrière */
.u { position: relative; display: inline-block; white-space: nowrap; isolation: isolate;
  /* « skip-ink » : un liseré couleur du fond coupe le trait autour des jambages (g, p, q), aucune lettre ne le traverse */
  text-shadow: .045em 0 var(--bg), -.045em 0 var(--bg), .09em 0 var(--bg), -.09em 0 var(--bg), 0 .045em var(--bg); }
.u::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: -.15em; height: .1em; background: var(--y); z-index: -1; transform-origin: left; transition: transform 1.1s var(--ease) .5s; }
.js:not(.norv) [data-split]:not(.in) .u::after, .js:not(.norv) .u.hold::after { transform: scaleX(0); }
.chip { display: inline-block; background: var(--y); color: var(--on-y); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.2rem; }
.badge { display: inline-block; background: var(--y); color: var(--on-y); border-radius: 999px; padding: .2rem .65rem; font-family: var(--f-m); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.back { display: inline-flex; align-items: center; gap: .5rem; color: var(--mute); font-size: .95rem; margin-bottom: 1.6rem; }
.back:hover { color: var(--ink); }

/* liens et boutons */
.link-a { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; margin-top: 1.1rem; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% 3px; padding-bottom: 4px; transition: background-size .35s var(--ease), gap .3s var(--ease); }
.link-a:hover { gap: .9rem; background-size: 100% 6px; }
.link-u { font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .13em; text-underline-offset: .2em; }
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .65rem; padding: .95rem 1.55rem; border-radius: 999px; background: var(--y); color: var(--on-y); font-weight: 700; font-size: 1rem; line-height: 1.1; overflow: hidden; border: 2px solid var(--y); transition: color .35s var(--ease), border-color .35s var(--ease), transform .2s; text-align: center; }
.btn::before { content: ""; position: absolute; inset: -2px; z-index: -1; background: var(--k); transform: translateY(101%); transition: transform .45s var(--ease); border-radius: inherit; }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--w); border-color: var(--k); }
[data-theme="dark"] .btn::before { background: var(--w); }
[data-theme="dark"] .btn:hover, [data-theme="dark"] .btn:focus-visible { color: #0a0a0a; border-color: var(--w); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line::before { background: var(--ink); }
.btn-line:hover, .btn-line:focus-visible { color: var(--bg); border-color: var(--ink); }
[data-theme="dark"] .btn-line::before { background: var(--ink); }
[data-theme="dark"] .btn-line:hover, [data-theme="dark"] .btn-line:focus-visible { color: #0a0a0a; border-color: var(--ink); }
.btn-ink { background: var(--k); color: var(--w); border-color: var(--k); }
.btn-ink::before { background: var(--w); }
.btn-ink:hover, .btn-ink:focus-visible { color: #0a0a0a; border-color: var(--w); }
[data-theme="dark"] .btn-ink::before { background: var(--w); }
[data-theme="dark"] .btn-ink:hover, [data-theme="dark"] .btn-ink:focus-visible { color: #0a0a0a; border-color: var(--w); }
.btn-lg { padding: 1.15rem 1.9rem; font-size: 1.08rem; }
.btn-sm { padding: .65rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.icon-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line2); display: inline-grid; place-items: center; transition: background-color .3s, border-color .3s; }
.icon-btn:hover { background: var(--y); border-color: var(--y); color: var(--on-y); }
.chip-b { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--line2); font-weight: 600; font-size: .92rem; transition: background-color .25s, border-color .25s, color .25s; }
.chip-b b { font-family: var(--f-m); font-size: .72rem; font-weight: 500; opacity: .7; }
.chip-b:hover { border-color: var(--ink); }
.chip-b[aria-pressed="true"] { background: var(--y); border-color: var(--y); color: var(--on-y); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }

/* spot lumineux au survol */
[data-spot] { position: relative; }
[data-spot]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(var(--acc-rgb), .16), rgba(var(--acc-rgb), 0) 62%); }
[data-spot]:hover::after { opacity: 1; }

/* ---------------------------------------------------------------- préchargeur */
.pre { position: fixed; inset: 0; z-index: 500; display: none; color: var(--w); --p: 0; }
.pre-on .pre { display: block; }
.pre-a, .pre-b { position: absolute; left: 0; right: 0; height: 50.2%; background: #0a0a0a; transition: transform .85s var(--ease2); }
.pre-a { top: 0; } .pre-b { bottom: 0; }
.pre-in { position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 1.2rem; transition: opacity .3s; }
.pre-7 { position: relative; width: min(34vw, 190px); min-width: 110px; aspect-ratio: 400 / 520; }
.pre-7 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pre-ol { fill: none; stroke: #f5f5f5; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); stroke-linejoin: round; }
.pre-fill path { fill: var(--acc); }
.pre-fill { clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); }
.pre-t { font-family: var(--f-m); font-size: 1.1rem; letter-spacing: .1em; color: #f5f5f5; }
.pre-u { opacity: .6; margin-left: .2em; }
.pre-w { font-variation-settings: "wdth" 75; font-weight: 800; letter-spacing: .2em; font-size: .85rem; color: #a3a3a3; }
.pre.out .pre-in { opacity: 0; }
.pre.out .pre-a { transform: translateY(-101%); }
.pre.out .pre-b { transform: translateY(101%); }
.pre-on .pre ~ .hdr { }

/* ---------------------------------------------------------------- en-tête, menu, progression */
.hdr { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: var(--hdr); view-transition-name: hdr; transition: background-color .3s, box-shadow .3s, transform .4s var(--ease); }
.hdr.scrolled { background: var(--bg-a); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr.hide { transform: translateY(-100%); }
.hdr-in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand-t { font-variation-settings: "wdth" 75; font-weight: 800; font-size: 1.45rem; letter-spacing: -.01em; }
.brand-t b { color: var(--ink); font-weight: 800; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% .14em; }
.logo { width: 38px; height: 38px; }
.logo-d { display: none; }
[data-theme="dark"] .logo-l { display: none; }
[data-theme="dark"] .logo-d { display: block; }
.nav { display: none; gap: .3rem; }
.nav a { position: relative; padding: .55rem .85rem; font-weight: 600; font-size: .96rem; }
.nav a::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 4px; background: var(--y); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr-act { display: flex; align-items: center; gap: .6rem; }
.hdr-cta { display: none; }
.theme-ic { position: relative; width: 22px; height: 22px; }
.theme-ic .ic { position: absolute; inset: 0; width: 22px; height: 22px; transition: transform .5s var(--ease), opacity .3s; }
.i-moon { opacity: 0; transform: rotate(-70deg) scale(.5); }
[data-theme="dark"] .i-sun { opacity: 0; transform: rotate(70deg) scale(.5); }
[data-theme="dark"] .i-moon { opacity: 1; transform: none; }
.menu-btn .bars { position: relative; width: 20px; height: 12px; }
.menu-btn .bars i { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn .bars i:first-child { top: 0; } .menu-btn .bars i:last-child { top: 10px; }
.menu-btn[aria-expanded="true"] .bars i:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars i:last-child { top: 5px; transform: rotate(-45deg); }
@media (min-width: 1040px) { .nav { display: flex; } .hdr-cta { display: inline-flex; } .menu-btn { display: none; } }

.menu { position: fixed; inset: 0; z-index: 95; background: var(--bg); visibility: hidden; clip-path: circle(0% at calc(100% - 40px) 34px); transition: clip-path .7s var(--ease), visibility 0s .7s; overflow-y: auto; }
.menu.open { visibility: visible; clip-path: circle(150% at calc(100% - 40px) 34px); transition: clip-path .8s var(--ease), visibility 0s; }
.menu-in { min-height: 100%; padding: calc(var(--hdr) + 1.5rem) var(--gut) 2rem; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.menu-l a { display: flex; align-items: baseline; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid var(--line); }
.mn { font-family: var(--f-m); font-size: .8rem; color: var(--mute); width: 2rem; }
.mt { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.6rem, 13vw, 5rem); line-height: 1; letter-spacing: -.02em; }
.menu-l a[aria-current="page"] .mt { text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .1em; text-underline-offset: .12em; }
.menu-f { display: grid; gap: 1.2rem; }
.menu-f a:not(.btn) { color: var(--mute); }

.progress { position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--y); transform: scaleX(0); transform-origin: left; }
.rail { position: fixed; z-index: 60; right: 18px; top: 50%; transform: translateY(-50%); display: none; flex-direction: column; gap: 10px; align-items: flex-end; }
.rail button { display: flex; align-items: center; gap: .6rem; padding: 2px 0; font-family: var(--f-m); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.rail button span { opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; background: var(--bg-a); padding: .15rem .5rem; border-radius: 6px; }
.rail button i { display: block; width: 8px; height: 8px; border-radius: 2px; background: var(--line2); transition: width .35s var(--ease), background-color .3s; }
.rail button:hover span, .rail button:focus-visible span { opacity: 1; transform: none; }
.rail button.act i { width: 26px; background: var(--y); }
.rail button.act span { opacity: 1; transform: none; color: var(--ink); }
@media (min-width: 1280px) { .rail:not([hidden]) { display: flex; } }

/* ---------------------------------------------------------------- révélations */
.js:not(.norv) .rv { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease) calc(var(--d, 0) * 90ms), transform .9s var(--ease) calc(var(--d, 0) * 90ms); }
.js:not(.norv) .rv.in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .16em; margin: -.08em 0 -.16em; }
.wi { display: inline-block; transition: transform 1s var(--ease) calc(var(--i, 0) * 55ms); }
.js:not(.norv) [data-split]:not(.in) .wi { transform: translateY(115%); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding: calc(var(--hdr) + clamp(1.5rem, 4vw, 3.5rem)) 0 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-bottom: 2rem; }
.hero-h { font-size: clamp(3rem, 8.6vw, 10rem); max-width: 12ch; }
.hero-lede { margin-top: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { margin-top: 1.6rem; color: var(--mute); display: flex; align-items: center; }
.hero-art { position: relative; width: min(70%, 380px); margin-inline: auto; }
.hero-seven { position: relative; width: 100%; aspect-ratio: 400 / 520; }
.hero-seven canvas, [data-seven] canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.chip-f { position: absolute; display: flex; align-items: center; background: var(--surface); border: 1px solid var(--line2); border-radius: 999px; padding: .5rem .9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); animation: floaty 6s ease-in-out infinite; }
.chip-f b { margin-left: .5em; font-weight: 500; }
.chip-f1 { left: -8%; top: 14%; } .chip-f2 { right: -4%; bottom: 20%; animation-delay: -3s; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 3rem; }
  .hero-art { width: 100%; max-width: 560px; margin-inline: 0 0; justify-self: end; }
}
.scroll-cue { position: absolute; right: var(--gut); bottom: 5.8rem; display: none; align-items: center; gap: .8rem; color: var(--mute); writing-mode: vertical-rl; }
.scroll-cue i { display: block; width: 2px; height: 56px; background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 0 / 100% 40%, var(--line2); animation: cue 2s var(--ease2) infinite; }
@keyframes cue { 0% { background-position: 0 -100%; } 100% { background-position: 0 220%; } }
@media (min-width: 1100px) { .scroll-cue { display: none; } }

/* bandes défilantes */
.mq { border-block: 1px solid var(--line); overflow: hidden; background: var(--bg2); }
.mq-row { display: flex; width: max-content; padding-block: .8rem; will-change: transform; }
.mq-set { display: flex; align-items: center; flex: none; }
.mq-set span { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(1.6rem, 4.4vw, 3.6rem); letter-spacing: .01em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.2px var(--ink); padding-inline: 1.2rem; text-transform: uppercase; }
.mq-set i { font-style: normal; color: var(--acc-t); font-size: clamp(1.4rem, 3vw, 2.6rem); }

/* ---------------------------------------------------------------- repères (bento) */
.board { padding-block: var(--sec); }
.sec-head { margin-bottom: clamp(2rem, 5vw, 4rem); max-width: 60rem; }
.sec-head-row { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1rem; max-width: none; }
.sec-head .eyebrow { margin-bottom: 1.2rem; }
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.tile { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.1rem, 2vw, 1.8rem); display: flex; flex-direction: column; gap: .7rem; min-width: 0; overflow: hidden; }
.tile p { color: var(--mute); }
.tile-k { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--ink) !important; }
.tile-k span { color: var(--mute); }
.num { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(3.4rem, 7.2vw, 7rem); line-height: .85; letter-spacing: -.04em; }
.t-price { grid-column: 1 / -1; }
.t-price .link-a { margin-top: auto; align-self: flex-start; }
.tile-d { font-size: 1.05rem; max-width: 34ch; }
.t-bf { grid-column: 1 / -1; background: var(--k); color: var(--w); border-color: var(--k); }
.t-bf .tile-k, .t-bf .tile-k span { color: #a3a3a3 !important; }
.t-bf:hover { border-color: var(--y); }
.bf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1rem; margin-top: .6rem; }
.bf-grid b { display: block; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: .9; color: var(--acc-t); letter-spacing: -.03em; }
.bf-grid span { color: #a3a3a3; font-size: .95rem; }
.tile-go { position: absolute; right: 1.2rem; top: 1.2rem; width: 44px; height: 44px; border-radius: 50%; background: var(--y); color: var(--on-y); display: grid; place-items: center; transition: transform .4s var(--ease); }
.t-bf:hover .tile-go { transform: rotate(45deg); }
.t-bf .tile-k { padding-right: 3.4rem; }
.bars { display: grid; gap: 1.5rem; margin-top: 1.2rem; margin-bottom: 1.2rem; }
.bars li { display: grid; grid-template-columns: minmax(0, 7.4rem) minmax(0, 1fr) auto; align-items: center; gap: .9rem; }
.bar-l { font-size: .95rem; color: var(--mute); }
.bar-t { height: 22px; background: var(--bg2); border-radius: 99px; overflow: hidden; }
.bar-t i { display: block; height: 100%; background: var(--y); border-radius: 99px; transform-origin: left; transform: scaleX(var(--w)); transition: transform 1.3s var(--ease) calc(var(--i) * 110ms + 200ms); }
.js:not(.norv) .t-price:not(.in) .bar-t i { transform: scaleX(0); }
.bar-v { font-variation-settings: "wdth" 80; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.dots7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: auto; padding-top: 1rem; }
.dots7 i { aspect-ratio: 1; border-radius: 6px; background: var(--y); transform: scale(.55); transition: transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 90ms); }
.dots7 i:nth-child(odd) { background: var(--ink); }
.in .dots7 i { transform: none; }
.segs4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: auto; padding-top: 1rem; }
.segs4 i { height: 10px; border-radius: 99px; background: var(--line); position: relative; overflow: hidden; }
.segs4 i::after { content: ""; position: absolute; inset: 0; background: var(--y); transform-origin: left; transform: scaleX(0); transition: transform .8s var(--ease); }
.in .segs4 i::after { transform: none; }
.segs4 i:nth-child(2)::after { transition-delay: .3s; } .segs4 i:nth-child(3)::after { transition-delay: .6s; } .segs4 i:nth-child(4)::after { transition-delay: .9s; }
.ring { width: 84px; height: 84px; margin-top: auto; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: var(--line); stroke-width: 9; }
.ring .ring-v { stroke: var(--y); stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.in .ring-v { stroke-dashoffset: .12; }
.cells12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin-top: auto; padding-top: 1rem; align-items: end; height: 70px; }
.cells12 i { background: var(--line2); border-radius: 3px; height: calc(30% + var(--n, 0) * 6%); transform-origin: bottom; transform: scaleY(0); transition: transform .7s var(--ease); transition-delay: calc(var(--n, 0) * 50ms); }
.cells12 i:nth-child(n+4) { background: var(--ink); }
.cells12 i:nth-child(n+7) { background: var(--y); }
.in .cells12 i { transform: none; }
.t-n .dots7 i:nth-child(1) { --k: 0; } .t-n .dots7 i:nth-child(2) { --k: 1; } .t-n .dots7 i:nth-child(3) { --k: 2; } .t-n .dots7 i:nth-child(4) { --k: 3; } .t-n .dots7 i:nth-child(5) { --k: 4; } .t-n .dots7 i:nth-child(6) { --k: 5; } .t-n .dots7 i:nth-child(7) { --k: 6; }
.cells12 i:nth-child(1) { --n: 0; } .cells12 i:nth-child(2) { --n: 1; } .cells12 i:nth-child(3) { --n: 2; } .cells12 i:nth-child(4) { --n: 3; } .cells12 i:nth-child(5) { --n: 4; } .cells12 i:nth-child(6) { --n: 5; } .cells12 i:nth-child(7) { --n: 6; } .cells12 i:nth-child(8) { --n: 7; } .cells12 i:nth-child(9) { --n: 8; } .cells12 i:nth-child(10) { --n: 9; } .cells12 i:nth-child(11) { --n: 10; } .cells12 i:nth-child(12) { --n: 11; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .t-price { grid-column: span 6; grid-row: span 2; }
  .t-n, .t-s, .t-h, .t-m { grid-column: span 3; }
  .t-bf { grid-column: 1 / -1; }
  .bf-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* listes à puces rondes jaunes (formations, tarifs) */
.ticks { display: grid; gap: .5rem; }
.ticks li { display: flex; gap: .65rem; align-items: flex-start; font-size: .98rem; }
.ticks li .ic { width: 1.05em; height: 1.05em; margin-top: .28em; padding: 1px; border-radius: 50%; background: var(--y); color: var(--on-y); stroke-width: 2.6; }
.ticks.cols { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .6rem 1.4rem; margin-top: 1.4rem; }

/* ---------------------------------------------------------------- à distance */
.remote { padding-block: var(--sec); }
.remote-grid { display: grid; gap: 2.5rem; align-items: center; }
.remote-vid { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--k); border: 1px solid var(--line); }
.remote-vid video, .cta-vid video { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.cta-tag { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; background: var(--y); color: var(--on-y); border-radius: 99px; padding: .35rem .8rem; }
.cta-tag .live { background: #0a0a0a; }
.clocks { display: flex; gap: 2.4rem; margin-block: 1.8rem; flex-wrap: wrap; }
.clocks p { display: grid; gap: .1rem; color: var(--mute); }
.clocks b { font-family: var(--f-m); font-weight: 500; font-size: clamp(2rem, 4vw, 3.4rem); color: var(--ink); letter-spacing: -.04em; line-height: 1; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% 6px; padding-bottom: 6px; }
@media (min-width: 900px) { .remote-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }

/* ---------------------------------------------------------------- engagements */
.eng-grid { display: grid; gap: 14px; }
.eng-i { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .8rem; overflow: hidden; min-width: 0; }
.eng-n { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(5rem, 12vw, 10rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); letter-spacing: -.04em; margin-bottom: .6rem; }
.eng-i h3 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.5rem); letter-spacing: -.02em; max-width: 16ch; }
.eng-i p { color: var(--mute); max-width: 44ch; }
.eng-i:nth-child(1), .eng-i:nth-child(4) { background: var(--k); color: var(--w); border-color: var(--k); }
.eng-i:nth-child(1) p, .eng-i:nth-child(4) p { color: #a3a3a3; }
.eng-i:nth-child(1) .eng-n, .eng-i:nth-child(4) .eng-n { -webkit-text-stroke-color: var(--y); }
@media (min-width: 900px) {
  .eng-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
  .eng-i:nth-child(1) { grid-column: 1 / 8; }
  .eng-i:nth-child(2) { grid-column: 8 / 13; margin-top: 5rem; }
  .eng-i:nth-child(3) { grid-column: 1 / 6; }
  .eng-i:nth-child(4) { grid-column: 6 / 13; }
}

/* ---------------------------------------------------------------- réalisations (liste) */
.wk-list { border-top: 1px solid var(--line2); }
.wk-row { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .4rem 1.2rem; padding-block: clamp(1.2rem, 2.6vw, 2.2rem); border-bottom: 1px solid var(--line2); transition: padding .5s var(--ease); }
.wk-row h3 { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2rem, 6.4vw, 6rem); letter-spacing: -.03em; line-height: .95; transition: transform .5s var(--ease); }
.wk-n { color: var(--mute); align-self: start; padding-top: .8rem; }
.wk-t { grid-column: 2; color: var(--mute); }
.wk-ar { grid-row: 1 / span 2; grid-column: 3; width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; transition: background-color .35s, transform .5s var(--ease), border-color .35s; }
.wk-ar .ic { width: 1.5rem; height: 1.5rem; }
.wk-pv { display: none; }
@media (hover: hover) and (min-width: 900px) {
  .wk-row:hover { padding-left: 1.4rem; }
  .wk-row:hover .wk-ar { background: var(--y); border-color: var(--y); color: var(--on-y); transform: rotate(45deg); }
  .wk-pv { display: block; position: absolute; z-index: 5; left: 0; top: 0; width: 340px; aspect-ratio: 1200 / 618; border-radius: 16px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(var(--mx, 60%), var(--my, 20%), 0) rotate(-4deg) scale(.85); transition: opacity .3s, transform .35s var(--ease); box-shadow: 10px 10px 0 var(--y); }
  .wk-pv img { width: 100%; height: 100%; object-fit: cover; }
  .wk-row:hover .wk-pv { opacity: 1; transform: translate3d(var(--mx, 60%), var(--my, 20%), 0) rotate(-4deg) scale(1); }
}

/* ---------------------------------------------------------------- FAQ */
.faq-grid { display: grid; gap: 2rem; }
.faq-i { border-top: 1px solid var(--line2); }
.faq-i:last-child { border-bottom: 1px solid var(--line2); }
.faq-q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; text-align: left; padding-block: 1.35rem; font-variation-settings: "wdth" 85; font-weight: 700; font-size: clamp(1.15rem, 1.8vw, 1.5rem); line-height: 1.2; }
.faq-pm { position: relative; flex: none; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line2); transition: background-color .3s, transform .5s var(--ease), border-color .3s; }
.faq-pm i { position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-pm i + i { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-q button[aria-expanded="true"] .faq-pm { background: var(--y); border-color: var(--y); color: var(--on-y); transform: rotate(180deg); }
.faq-q button[aria-expanded="true"] .faq-pm i + i { transform: translate(-50%, -50%) rotate(0); }
.faq-p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-p > div { overflow: hidden; min-height: 0; }
.faq-p p { color: var(--mute); padding-bottom: 1.5rem; max-width: 62ch; }
.faq-q button[aria-expanded="true"] + * { }
.faq-i.open .faq-p { grid-template-rows: 1fr; }
@media (min-width: 1000px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: 5rem; } .faq-h { position: sticky; top: calc(var(--hdr) + 2rem); align-self: start; } }

/* ---------------------------------------------------------------- appel à l'action */
.cta { padding-block: clamp(2rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem); }
.cta-card { --ink: #0a0a0a; --mute: #262626; --line: rgba(0, 0, 0, .3); --focus: #0a0a0a; position: relative; background: var(--y); color: var(--on-y); border-radius: clamp(24px, 3vw, 44px); padding: clamp(1.6rem, 5vw, 4.5rem); display: grid; gap: 2rem; overflow: hidden; }
.cta-card::after { display: none; }
.cta-card .eyebrow { color: #262626; }
.cta-card .lede { color: #1a1a1a; }
.cta-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.cta-card .btn-line { border-color: #0a0a0a; color: #0a0a0a; }
.cta-card .btn-line::before { background: #0a0a0a; }
.cta-card .btn-line:hover { color: #f5f5f5; }
.cta-links { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .4rem .8rem; font-weight: 600; }
.cta-links a { text-decoration: underline; text-decoration-thickness: .12em; text-underline-offset: .2em; }
.cta-vid { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: #0a0a0a; align-self: end; }
.cta-vid .cta-tag { background: #0a0a0a; color: var(--acc-t); }
@media (min-width: 1000px) { .cta-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); align-items: end; gap: 3rem; } }

/* ---------------------------------------------------------------- pied de page */
.ftr { --ink: #f5f5f5; --mute: #a3a3a3; --line: rgba(255, 255, 255, .16); --focus: var(--acc); background: #0a0a0a; color: #f5f5f5; padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .16); }
.ftr-top { display: grid; gap: 2.2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ftr-brand { grid-column: 1 / -1; max-width: 26rem; }
.ftr-brand p { color: var(--mute); margin-top: 1rem; }
.ftr .logo-l { display: none !important; } .ftr .logo-d { display: block !important; }
.ftr-clock { margin-top: 1.2rem !important; }
.ftr h4 { font-family: var(--f-m); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); margin-bottom: 1rem; font-weight: 500; }
.ftr li { margin-bottom: .55rem; color: #d4d4d4; }
.ftr a:hover { color: var(--acc-t); }
.ftr-mark { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(5rem, 39vw, 39rem); line-height: .78; letter-spacing: 0; white-space: nowrap; margin: 3rem 0 0; color: transparent; -webkit-text-stroke: 1.5px rgba(245, 245, 245, .34); user-select: none; transform: translateY(8%); }
.ftr-7 { color: var(--acc-t); -webkit-text-stroke: 0; }
.ftr-bot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding-block: 1.4rem 1.8rem; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--mute); font-size: .9rem; background: #0a0a0a; }
.ftr-bot a { text-decoration: underline; text-decoration-color: var(--y); text-underline-offset: .2em; }
@media (min-width: 900px) { .ftr-top { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; } .ftr-brand { grid-column: auto; } }

/* ---------------------------------------------------------------- pages intérieures */
.phero { position: relative; padding: calc(var(--hdr) + clamp(2rem, 6vw, 5rem)) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; }
.phero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: end; }
.phero-t { min-width: 0; }
.phero-7 { position: relative; display: none; width: 100%; max-width: 250px; aspect-ratio: 400 / 520; justify-self: end; }
.phero .h1 .u::after { height: .12em; }
@media (min-width: 900px) { .phero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 240px); gap: 3rem; } .phero-7 { display: block; } }
.legal-hero .wrap { max-width: 1100px; }

/* réalisations */
.work { display: grid; gap: 1.6rem; align-items: center; padding-block: clamp(2rem, 5vw, 4.5rem); border-top: 1px solid var(--line2); }
.work-fig { display: block; min-width: 0; }
.work-frame { display: block; position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); box-shadow: 10px 10px 0 var(--y); background: var(--bg2); }
.work-frame img { width: 100%; height: auto; filter: saturate(1.05) contrast(1.03); transition: filter .6s, transform 1.2s var(--ease); }
.work-fig:hover .work-frame img, .tool-fig:hover .work-frame img { filter: saturate(1.12) contrast(1.04); transform: scale(1.03); }
.work-tag { color: var(--mute); display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.work-i { background: var(--y); color: var(--on-y); border-radius: 99px; padding: .05rem .55rem; }
.work h2 { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 5rem); letter-spacing: -.03em; line-height: .92; }
.work-p { color: var(--mute); margin-block: 1.2rem; max-width: 52ch; }
.work-b .ticks { margin-bottom: 1.6rem; }
.work-btns { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; }
@media (min-width: 900px) {
  .work { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem; }
  .work-fig { grid-column: 1 / 8; } .work-b { grid-column: 8 / 13; }
  .work.flip .work-fig { grid-column: 6 / 13; order: 2; } .work.flip .work-b { grid-column: 1 / 6; order: 1; }
}
/* étude de cas */
.facts { padding-block: 1rem 2rem; }
.facts .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; display: grid; gap: .5rem; }
.stat b { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .9; letter-spacing: -.03em; }
.stat span { color: var(--mute); }
@media (min-width: 900px) { .facts .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.case-grid { display: grid; gap: 14px; margin-bottom: 14px; }
.case-c { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.6rem); }
.case-c h2 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 3rem); letter-spacing: -.02em; margin-bottom: 1rem; }
.case-c p:not(.chip) { color: var(--mute); }
@media (min-width: 900px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ba { display: grid; gap: 12px; }
.ba-i { display: grid; gap: .6rem; align-items: stretch; }
.ba-b, .ba-a { border-radius: 22px; padding: 1.3rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.ba-b { border: 1.5px dashed var(--line2); color: var(--mute); }
.ba-a { background: var(--k); color: var(--w); }
.ba-a .mono { color: var(--acc-t); } .ba-b .mono { color: var(--mute); }
.ba-a strong { color: var(--acc-t); }
.ba-ar { display: none; align-self: center; color: var(--ink); }
.ba-ar .ic { width: 2rem; height: 2rem; }
@media (min-width: 800px) { .ba-i { grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1.2fr); } .ba-ar { display: grid; place-items: center; } }
.tool-list { margin-top: 3rem; }
.tool { display: grid; gap: 1.6rem; padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line2); align-items: center; }
.tool-fig { position: relative; min-width: 0; }
.tool-n { position: absolute; z-index: 2; left: 1rem; top: 1rem; background: var(--y); color: var(--on-y); padding: .25rem .7rem; border-radius: 99px; }
.tool-b h3 { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.8rem); letter-spacing: -.03em; }
.tool-p { color: var(--mute); margin-block: 1rem 1.4rem; max-width: 46ch; }
.tool-b .ticks { margin-bottom: 1.6rem; }
@media (min-width: 900px) { .tool { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4rem; } .tool.flip .tool-fig, .tool:nth-child(even) .tool-fig { order: 2; } }
.result-c { background: var(--y); color: var(--on-y); border-radius: 32px; padding: clamp(1.6rem, 5vw, 4rem); max-width: 60rem; }
.result-c .chip { background: #0a0a0a; color: var(--acc-t); }
.result-c p:not(.chip) { font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1.35; margin-top: 1.2rem; font-variation-settings: "wdth" 90; font-weight: 500; }
.result-c .h2 { color: #0a0a0a; }
.result-c .link-a { background-image: linear-gradient(#0a0a0a, #0a0a0a); }
.result-c::after { display: none; }

/* blog */
.cards { display: grid; gap: 28px 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.acard { position: relative; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.acard-fig { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg2); }
.acard-fig img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); transition: transform 1.1s var(--ease), filter .5s; }
.acard:hover .acard-fig img { transform: scale(1.06); }
.acard-m { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; color: var(--mute); }
.acard h3 { font-variation-settings: "wdth" 85; font-weight: 700; font-size: 1.4rem; line-height: 1.1; letter-spacing: -.01em; }
.acard h3 a { background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 0 4px; transition: background-size .5s var(--ease); }
.acard:hover h3 a { background-size: 100% 4px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.acard-p { color: var(--mute); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.acard-by { margin-top: auto; display: flex; justify-content: space-between; align-items: center; color: var(--mute); }
.acard-go { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); font-size: .95rem; }
.blog-bar { display: grid; gap: 1.2rem; margin-bottom: 1.6rem; }
.blog-search { position: relative; display: flex; align-items: center; gap: .8rem; border-bottom: 2px solid var(--ink); padding-block: .4rem; max-width: 36rem; }
.blog-search .ic { flex: none; }
.blog-search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 1.25rem; padding: .6rem 0; }
.blog-search:focus-within { border-bottom-color: var(--focus); box-shadow: 0 3px 0 0 var(--y); }
.blog-search input:focus-visible { outline: 0; }
.blog-count { color: var(--mute); margin-bottom: 1.6rem; }
.empty { text-align: center; padding-block: 4rem; display: grid; gap: .8rem; justify-items: center; }
.empty-t { font-variation-settings: "wdth" 80; font-weight: 800; font-size: 2rem; }
.acard[hidden] { display: none; }
/* article */
.art { padding-top: calc(var(--hdr) + 2rem); }
.art-wrap { max-width: 1280px; }
.art-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.2rem; align-items: center; color: var(--mute); margin-bottom: 1.4rem; }
.art-meta .mono { display: inline-flex; align-items: center; gap: .4rem; }
.art-meta .ic { width: 1em; height: 1em; }
.art-h1 { font-size: clamp(2.2rem, 5.6vw, 5.4rem); max-width: 20ch; line-height: .96; }
.art-hero { margin-top: clamp(1.6rem, 4vw, 3rem); border-radius: 28px; overflow: hidden; aspect-ratio: 21 / 9; background: var(--bg2); }
.art-hero img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.art-grid { display: grid; gap: 2rem; margin-top: clamp(2rem, 5vw, 4rem); padding-bottom: var(--sec); }
.toc { min-width: 0; }
.toc details { border: 1px solid var(--line); border-radius: 20px; padding: 1rem 1.2rem; background: var(--surface); }
.toc summary { display: flex; justify-content: space-between; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { margin-top: 1rem; display: grid; gap: .15rem; counter-reset: t; }
.toc a { display: block; padding: .4rem .7rem; border-left: 3px solid var(--line); font-size: .92rem; color: var(--mute); line-height: 1.3; transition: border-color .3s, color .3s; }
.toc a:hover { color: var(--ink); }
.toc a.act { border-left-color: var(--y); color: var(--ink); font-weight: 600; }
.toc-pct { color: var(--mute); }
.toc-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.toc-tools .chip-b { font-size: .82rem; padding: .4rem .8rem; }
@media (min-width: 1000px) {
  .art-grid { grid-template-columns: 280px minmax(0, 1fr); gap: 5rem; align-items: start; }
  .toc { position: sticky; top: calc(var(--hdr) + 1.5rem); }
}
.prose { min-width: 0; max-width: 72ch; font-size: clamp(1.06rem, 1.2vw, 1.2rem); line-height: 1.75; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.02em; line-height: 1.02; margin-top: 2.4em; padding-top: 1.1rem; position: relative; scroll-margin-top: calc(var(--hdr) + 20px); }
.prose h2::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 7px; background: var(--y); }
.prose h3 { font-variation-settings: "wdth" 85; font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.7rem); margin-top: 1.8em; line-height: 1.15; }
.prose p, .prose li { color: var(--ink); }
.prose strong { font-weight: 700; }
.prose a { font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .13em; text-underline-offset: .18em; }
.prose ul { display: grid; gap: .7em; }
.prose ul li { position: relative; padding-left: 1.7em; }
.prose ul li::before { content: ""; position: absolute; left: .15em; top: .62em; width: .6em; height: .6em; background: var(--y); border-radius: 2px; transform: rotate(45deg); }
.prose ul ul { margin-top: .7em; }
.prose ol { counter-reset: o; display: grid; gap: .7em; }
.prose ol li { counter-increment: o; padding-left: 2.4em; position: relative; }
.prose ol li::before { content: counter(o); position: absolute; left: 0; top: .1em; width: 1.7em; height: 1.7em; display: grid; place-items: center; background: var(--y); color: var(--on-y); border-radius: 50%; font-size: .8em; font-weight: 700; }
.callout { background: var(--k); color: var(--w); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .8rem; margin-top: 3rem !important; }
.callout h3 { margin-top: 0; font-size: clamp(1.5rem, 2.4vw, 2.1rem); color: var(--w); }
.callout p { color: #d4d4d4; }
.cta-btns-l { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .6rem; }
.callout .btn-line { color: var(--w); border-color: var(--w); }
.callout .btn-line::before { background: var(--w); }
.callout .btn-line:hover { color: #0a0a0a; border-color: var(--w); }
.callout .btn:not(.btn-line)::before { background: var(--w); }
.callout .btn:not(.btn-line):hover { color: #0a0a0a; border-color: var(--w); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1.5px solid var(--line2); border-radius: 99px; padding: .3rem .8rem; font-family: var(--f-m); font-size: .78rem; color: var(--mute); }
.reads { background: var(--bg2); }
.reads .h3 { margin-bottom: 2rem; }
.legal .prose { max-width: 78ch; }
.legal .prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); text-transform: none; }

/* ---------------------------------------------------------------- tarifs */
.tools-bar { position: sticky; top: var(--hdr); z-index: 40; background: var(--bg-a); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.tools-in { display: flex; flex-wrap: wrap; gap: .8rem 1.6rem; align-items: center; padding-block: .8rem; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--bg2); border: 1px solid var(--line); }
.seg button { padding: .5rem 1rem; border-radius: 99px; font-weight: 700; font-size: .9rem; transition: background-color .3s, color .3s; white-space: nowrap; }
.seg button[aria-checked="true"] { background: var(--y); color: var(--on-y); }
.tabs { position: relative; display: flex; gap: .2rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; min-width: 0; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; padding: .7rem 1rem; font-weight: 700; color: var(--mute); white-space: nowrap; transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--ink); }
.tab-ind { position: absolute; left: 0; bottom: 0; height: 5px; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--y); border-radius: 4px; transition: transform .5s var(--ease), width .5s var(--ease); }
.offers-sec { padding-top: clamp(2.5rem, 5vw, 4rem); }
.panel { display: grid; gap: 2.2rem; }
.panel:focus-visible { outline-offset: 12px; }
.offers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: stretch; }
.offer { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.offer.is-pop { border: 2px solid var(--ink); }
.offer h3, .offer h4 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.02em; }
.pop { position: absolute; right: 1.2rem; top: 1.2rem; background: var(--y); color: var(--on-y); border-radius: 99px; padding: .22rem .7rem; font-family: var(--f-m); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.offer-price { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.price-v { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2rem, 3.2vw, 3rem); letter-spacing: -.03em; line-height: 1; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% 7px; padding-bottom: 5px; transition: opacity .25s; }
.price-v.sw { opacity: 0; }
.price-u { color: var(--mute); font-weight: 600; }
.plan-d { color: var(--mute); margin-top: -.5rem; }
.offer-ul { flex: 1; align-content: start; }
.offer .btn { margin-top: 1rem; }
.sub { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); letter-spacing: -.02em; margin-top: 1rem; }
.ranges { display: grid; gap: 1.4rem; margin-top: 2rem; padding-top: 3rem; border-top: 1px solid var(--line2); }
.range-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.range { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.range h4 { font-weight: 700; font-size: 1.15rem; }
.range-v { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(1.8rem, 2.6vw, 2.4rem); letter-spacing: -.02em; line-height: 1; }
.range p { color: var(--mute); }
.range-ex { font-size: .92rem; border-top: 1px dashed var(--line2); padding-top: .8rem; }
.range-note { color: var(--mute); font-size: .95rem; }
.scale { display: grid; gap: .5rem; }
.scale-bar { position: relative; height: 16px; border-radius: 99px; background: var(--bg2); overflow: hidden; }
.scale-bar i { position: absolute; top: 0; bottom: 0; left: var(--a); width: calc(var(--b) - var(--a)); }
.scale-bar i:nth-child(1) { background: var(--line2); } .scale-bar i:nth-child(2) { background: var(--mute); } .scale-bar i:nth-child(3) { background: var(--y); }
.scale-t { display: flex; justify-content: space-between; color: var(--mute); gap: .5rem; font-size: .68rem; }
.custom { margin-top: 2.4rem; border: 2px dashed var(--line2); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; justify-items: start; }
.custom h3 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.custom p { color: var(--mute); max-width: 52ch; }
.budget { background: var(--bg2); }
.bud-grid { display: grid; gap: 1.6rem; }
.bud-chips { align-content: start; }
.bud-out { position: relative; background: var(--k); color: var(--w); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: .4rem; align-content: start; }
.bud-out .mono { color: #a3a3a3; margin-top: .8rem; }
.bud-v { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.03em; line-height: 1; color: var(--acc-t); overflow-wrap: anywhere; }
.bud-n { color: #a3a3a3; font-size: .92rem; margin-block: .8rem 1rem; }
.bud-out .btn::before { background: var(--w); } .bud-out .btn:hover { color: #0a0a0a; border-color: var(--w); }
@media (min-width: 1000px) { .bud-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 3rem; align-items: start; } .bud-out { position: sticky; top: calc(var(--hdr) + 5rem); } }
.cmp { margin-top: 2rem; }
.cmp-btn { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; padding: .8rem 1.3rem; border: 1.5px solid var(--ink); border-radius: 99px; transition: background-color .3s; }
.cmp-btn:hover { background: var(--y); border-color: var(--y); color: var(--on-y); }
.cmp-btn .ic { transition: transform .4s var(--ease); }
.cmp-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.cmp-t { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.cmp-t > div { overflow: hidden; min-height: 0; }
.cmp.open .cmp-t { grid-template-rows: 1fr; }
.cmp-scroll { overflow-x: auto; margin-top: 1.4rem; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.cmp table { width: 100%; min-width: 640px; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.2rem; }
.cmp tbody th { font-weight: 600; color: var(--mute); }
.cmp td.y { font-weight: 700; }
.cmp td.n { color: var(--mute); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- formations */
.fnav { position: sticky; top: var(--hdr); z-index: 40; background: var(--bg-a); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.fnav-in { display: flex; gap: .6rem; padding-block: .7rem; overflow-x: auto; scrollbar-width: none; }
.fnav-in::-webkit-scrollbar { display: none; }
.fnav-in .chip-b { white-space: nowrap; }
.path { padding-block: var(--sec); }
.path + .path { border-top: 1px solid var(--line2); }
.path-h { display: grid; gap: 2rem; margin-bottom: 2.6rem; align-items: center; }
.path-fig { width: min(70%, 300px); aspect-ratio: 1; border-radius: 28px; overflow: hidden; box-shadow: 12px 12px 0 var(--y); border: 1px solid var(--line2); transform: rotate(-3deg); }
.path-fig img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) contrast(1.03); }
.path-t .h2 { margin-top: .2rem; }
.meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 1.4rem; color: var(--mute); font-weight: 600; }
.meta span { display: inline-flex; align-items: center; gap: .5rem; }
@media (min-width: 900px) { .path-h { grid-template-columns: 300px minmax(0, 1fr); gap: 4rem; } .path-fig { width: 100%; } }
.mods { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.mod { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 2.4vw, 2rem); display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.mod header { display: grid; gap: .6rem; }
.mod-n { color: var(--ink); background: var(--y); justify-self: start; border-radius: 99px; padding: .2rem .7rem; color: var(--on-y); }
.mod h3 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.02em; line-height: 1.02; }
.mod-i { color: var(--mute); }
.mod .meta { margin-top: 0; font-size: .92rem; }
.mod-o .mono { color: var(--mute); margin-bottom: .7rem; }
.prog { border-top: 1px solid var(--line2); }
.prog-btn { width: 100%; display: flex; align-items: center; gap: .8rem; padding-block: .9rem; text-align: left; }
.prog-n { margin-left: auto; color: var(--mute); }
.prog-btn .ic { transition: transform .4s var(--ease); }
.prog.open .prog-btn .ic { transform: rotate(45deg); }
.prog-b { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.prog-b > div { overflow: hidden; min-height: 0; }
.prog.open .prog-b { grid-template-rows: 1fr; }
.dots { display: grid; gap: .6rem; padding-bottom: 1rem; }
.dots li { position: relative; padding-left: 1.3rem; font-size: .95rem; color: var(--mute); }
.dots li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5rem; height: .5rem; border-radius: 2px; background: var(--y); }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--line2); }
.mod .prog { margin-top: .4rem; }
.price .mono { color: var(--mute); }
.price-big { font-variation-settings: "wdth" 80; font-weight: 800; font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.02em; line-height: 1.1; margin-top: .2rem; }
.fee { color: var(--mute); font-size: .95rem; font-weight: 600; }
.ins-l { display: grid; gap: 14px; counter-reset: i; }
.ins-s { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 1.6rem; display: grid; gap: .6rem; }
.ins-n { font-variation-settings: "wdth" 75; font-weight: 800; font-size: 4rem; line-height: .8; color: transparent; -webkit-text-stroke: 1.6px var(--ink); }
.ins-s h3 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.7rem; }
.ins-s p { color: var(--mute); }
@media (min-width: 900px) { .ins-l { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ins-s:nth-child(even) { margin-top: 2rem; } }
.place-c { background: var(--k); color: var(--w); border-radius: 32px; padding: clamp(1.6rem, 5vw, 4rem); display: grid; gap: 1rem; justify-items: start; }
.place-c .lede { color: #d4d4d4; }
.place-c .h2 { color: var(--w); }
.dlg { width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--line2); border-radius: 28px; background: var(--surface); color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgin .45s var(--ease); }
@keyframes dlgin { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.dlg-f { padding: clamp(1.3rem, 4vw, 2rem); display: grid; gap: 1rem; position: relative; }
.dlg-x { position: absolute; right: 1rem; top: 1rem; width: 40px; height: 40px; }
.dlg-t { font-variation-settings: "wdth" 75; font-weight: 800; font-size: 2.4rem; }
.dlg-s { color: var(--mute); font-weight: 600; padding-right: 3rem; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.seg2 label { cursor: pointer; }
.seg2 input { position: absolute; opacity: 0; }
.seg2 span { display: grid; gap: .2rem; padding: .9rem 1rem; border: 1.5px solid var(--line2); border-radius: 18px; transition: background-color .3s, border-color .3s; }
.seg2 b { font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.15rem; }
.seg2 input:checked + span { background: var(--y); border-color: var(--y); color: var(--on-y); }
.seg2 input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.sum { display: grid; gap: .4rem; padding: 1rem 0; border-block: 1px solid var(--line2); }
.sum div { display: flex; justify-content: space-between; gap: 1rem; }
.sum dt { color: var(--mute); }
.sum dd { font-weight: 800; }
.dlg-n { color: var(--mute); font-size: .92rem; }
.dlg-ok { display: grid; gap: .8rem; }
.dlg-ok-t, .ok-msg { color: var(--ok); font-weight: 700; }
.dlg-ok-b { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ---------------------------------------------------------------- formulaires */
.fld { display: grid; gap: .3rem; margin-bottom: 1.2rem; min-width: 0; }
.fld label { font-family: var(--f-m); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); font-weight: 500; }
.fld label small { text-transform: none; letter-spacing: 0; font-size: .78rem; }
.fld input:not([type="checkbox"]):not([type="radio"]), .fld select, .fld textarea { width: 100%; min-width: 0; background: transparent; border: 0; border-bottom: 2px solid var(--line2); border-radius: 0; padding: .75rem 0; font-size: 1.15rem; outline: 0; transition: border-color .3s, box-shadow .3s; }
.fld textarea { resize: vertical; min-height: 8rem; line-height: 1.5; }
.fld input:focus-visible:not([type="checkbox"]), .fld select:focus-visible, .fld textarea:focus-visible { border-bottom-color: var(--ink); box-shadow: 0 3px 0 0 var(--y); outline: 0; }
.fld [aria-invalid="true"] { border-bottom-color: var(--err) !important; }
.fld ::placeholder { color: var(--mute); opacity: .8; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; cursor: pointer; }
.sel select option { background: var(--surface); color: var(--ink); }
.sel .ic { position: absolute; right: 0; top: 50%; transform: translateY(-50%); pointer-events: none; }
.fld2 { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.chk label { display: flex; gap: .8rem; align-items: flex-start; font-family: var(--f-d); text-transform: none; letter-spacing: 0; font-size: .95rem; color: var(--ink); cursor: pointer; }
.chk input { width: 1.3rem; height: 1.3rem; flex: none; margin-top: .15rem; accent-color: var(--acc); cursor: pointer; }
.err { color: var(--err); font-size: .88rem; font-weight: 600; }
.hint { color: var(--mute); font-size: .92rem; }
.sp { padding-top: 1rem; }
.sp-grid { display: grid; gap: 2rem; }
.sp-side { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: 1.2rem; align-content: start; }
.sp-offer { display: grid; gap: .3rem; padding: 1rem; background: var(--y); color: var(--on-y); border-radius: 18px; }
.sp-offer .mono { color: #262626; }
.sp-offer b { font-variation-settings: "wdth" 80; font-size: 1.4rem; font-weight: 800; }
.sp-alt, .sp-co { color: var(--mute); }
.sp-co a { color: var(--ink); font-weight: 600; }
.sp-form, .ct-form { background: var(--surface); border: 1px solid var(--line); border-radius: 32px; padding: clamp(1.4rem, 4vw, 3rem); min-width: 0; }
.sp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin-bottom: .8rem; }
.sp-steps li { display: grid; gap: .4rem; justify-items: start; color: var(--mute); }
.sp-i { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--line2); font-family: var(--f-m); font-size: .85rem; transition: background-color .3s, border-color .3s; }
.sp-l { font-size: .8rem; font-weight: 600; display: none; }
.sp-steps li.on { color: var(--ink); } .sp-steps li.on .sp-i { background: var(--y); border-color: var(--y); color: var(--on-y); }
.sp-steps li.done .sp-i { background: var(--ink); border-color: var(--ink); color: var(--bg); }
@media (min-width: 600px) { .sp-l { display: block; } }
.sp-bar { height: 4px; background: var(--line); border-radius: 4px; margin-bottom: 2.2rem; overflow: hidden; }
.sp-bar i { display: block; height: 100%; background: var(--y); transform-origin: left; transform: scaleX(.25); transition: transform .6s var(--ease); }
.sp-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sp-form legend { display: grid; gap: .3rem; margin-bottom: 1.6rem; padding: 0; }
.sp-form legend b { font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -.02em; line-height: 1; }
.sp-form legend .mono { color: var(--mute); }
.count { color: var(--mute); text-align: right; margin: -.6rem 0 1rem; }
.recap { display: grid; gap: .2rem; margin-bottom: 1.4rem; }
.recap div { display: grid; gap: .1rem; padding-block: .7rem; border-bottom: 1px solid var(--line); }
.recap dt { font-family: var(--f-m); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); }
.recap dd { font-weight: 600; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-send-t { color: var(--mute); margin-bottom: 1rem; }
.sp-send { display: flex; flex-wrap: wrap; gap: .7rem; }
.sp-alt { margin-top: 1.4rem; }
.sp-okbox, .ct-ok { margin-top: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--ok); border-radius: 12px; }
.sp-okbox:focus, .ct-ok:focus { outline: none; }
[data-sp-err], [data-ct-err] { margin: .9rem 0; }
.btn[disabled] { opacity: .6; cursor: progress; }
.sp-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.sp-nav .btn:last-child { margin-left: auto; }
.sp-note { color: var(--mute); font-size: .9rem; margin-top: 1.2rem; }
@media (min-width: 1000px) { .sp-grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 3rem; align-items: start; } .sp-side { position: sticky; top: calc(var(--hdr) + 1.5rem); } }
.ct-grid { display: grid; gap: 1.6rem; }
.ct-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); align-content: start; }
.ct-c { background: var(--surface); border: 1px solid var(--line); border-radius: 26px; padding: 1.5rem; display: grid; gap: .5rem; align-content: start; min-width: 0; overflow-wrap: anywhere; }
.ct-ic { width: 2.6rem; height: 2.6rem; padding: .6rem; background: var(--y); color: var(--on-y); border-radius: 50%; margin-bottom: .6rem; }
.ct-c h3 { font-variation-settings: "wdth" 80; font-weight: 800; font-size: 1.5rem; }
.ct-c p { color: var(--mute); }
.ct-c a:not(.link-a) { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .12em; text-underline-offset: .2em; }
.open { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; font-size: .92rem; }
.open i { margin-top: .4em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--line2); flex: none; }
.open.is-open i { background: var(--y); box-shadow: 0 0 0 3px var(--line2); }
@media (min-width: 1000px) { .ct-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.4rem; align-items: start; } }

/* 404 */
.nf { min-height: 100vh; display: grid; align-items: center; padding-block: calc(var(--hdr) + 3rem) 4rem; }
.nf-in { display: grid; gap: 1.4rem; justify-items: start; }
.nf-n { display: flex; align-items: center; gap: .02em; font-variation-settings: "wdth" 75; font-weight: 800; font-size: clamp(7rem, 26vw, 19rem); line-height: .8; letter-spacing: -.04em; }
.nf-7 { display: block; position: relative; width: .72em; aspect-ratio: 400 / 520; }

/* ---------------------------------------------------------------- DYA */
.dya { position: fixed; z-index: 150; right: clamp(12px, 2vw, 28px); bottom: clamp(12px, 2vw, 28px); }
.dya-fab { position: relative; width: 62px; height: 62px; border-radius: 50%; background: var(--y); border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); transition: transform .4s var(--ease); }
.dya-fab:hover { transform: scale(1.08) rotate(-6deg); }
.dya-fab img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.dya-fab .dot { position: absolute; right: -2px; top: -2px; width: 14px; height: 14px; border-radius: 50%; background: var(--y); border: 2px solid var(--ink); }
.dya-panel { position: absolute; right: 0; bottom: 78px; width: min(390px, calc(100vw - 24px)); height: min(600px, calc(100vh - 130px)); height: min(600px, calc(100dvh - 130px)); display: grid; grid-template-rows: auto 1fr auto auto; background: var(--surface); border: 1.5px solid var(--ink); border-radius: 26px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .45s var(--ease), visibility 0s .45s; }
.dya.open .dya-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .45s var(--ease), visibility 0s; }
.dya-h { display: flex; align-items: center; gap: .7rem; padding: .9rem 1rem; background: var(--k); color: var(--w); }
.dya-h img { width: 42px; height: 42px; border-radius: 50%; }
.dya-h b { display: block; font-weight: 800; }
.dya-h small { color: #a3a3a3; }
.dya-h .dya-x { margin-left: auto; }
.dya-x { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--w); }
.dya-x:hover { background: rgba(255, 255, 255, .16); }
.dya-b { overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; scroll-behavior: smooth; }
.dya-hi { text-align: center; padding: 1rem .5rem; display: grid; gap: .4rem; justify-items: center; }
.dya-hi img { width: 70px; height: 70px; border-radius: 50%; }
.dya-hi p { color: var(--mute); }
.dya-m { max-width: 88%; padding: .7rem .95rem; border-radius: 18px; font-size: .95rem; line-height: 1.45; }
.dya-m p + p, .dya-m ul + p, .dya-m p + ul { margin-top: .5rem; }
.dya-m ul { display: grid; gap: .25rem; padding-left: 1.1rem; list-style: disc; }
.dya-m.me { align-self: flex-end; background: var(--y); color: var(--on-y); border-bottom-right-radius: 4px; }
.dya-m.bot { align-self: flex-start; background: var(--bg2); border-bottom-left-radius: 4px; }
.dya-m a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: .13em; text-underline-offset: .15em; display: inline-block; margin-top: .3rem; }
.dya-typing { display: flex; gap: 4px; padding: .9rem 1rem; }
.dya-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--mute); animation: blink 1s infinite; }
.dya-typing i:nth-child(2) { animation-delay: .15s; } .dya-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 40% { opacity: .25; transform: translateY(-3px); } }
.dya-chips { display: flex; gap: .4rem; padding: .5rem 1rem; overflow-x: auto; scrollbar-width: none; }
.dya-chips::-webkit-scrollbar { display: none; }
.dya-chips button { flex: none; border: 1.5px solid var(--line2); border-radius: 99px; padding: .3rem .75rem; font-size: .82rem; font-weight: 600; }
.dya-chips button:hover { background: var(--y); border-color: var(--y); color: var(--on-y); }
.dya-f { display: flex; gap: .5rem; padding: .6rem 1rem; border-top: 1px solid var(--line); }
.dya-f input { flex: 1; min-width: 0; background: var(--bg2); border: 0; border-radius: 99px; padding: .65rem 1rem; outline: 0; }
.dya-f input:focus-visible { box-shadow: 0 0 0 2px var(--ink); }
.dya-f button { width: 42px; height: 42px; border-radius: 50%; background: var(--y); color: var(--on-y); display: grid; place-items: center; }
.dya-note { padding: .4rem 1rem .8rem; color: var(--mute); font-size: .74rem; text-align: center; }
.dya-wrap { display: grid; }

/* ---------------------------------------------------------------- curseur, toast */
.cur { position: fixed; z-index: 450; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; border: 2px solid #fff; mix-blend-mode: difference; pointer-events: none; opacity: 0; transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s; display: grid; place-items: center; }
.cur::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #fff; }
.cur span { position: absolute; font-family: var(--f-m); font-size: .64rem; text-transform: uppercase; letter-spacing: .05em; color: #fff; opacity: 0; transition: opacity .2s; font-weight: 500; }
.cur.on { opacity: 1; }
.cur.mid { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cur.big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cur.big::after { display: none; }
.cur.big span { opacity: 1; }
.cur.down { width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.toast { position: fixed; z-index: 460; left: 50%; bottom: 24px; transform: translate(-50%, 30px); background: var(--k); color: var(--w); border: 1.5px solid var(--y); padding: .7rem 1.2rem; border-radius: 99px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .3s, transform .5s var(--ease); max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- transitions de page */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
::view-transition-old(root) { animation: vt-out .4s var(--ease2) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-30px) scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(40px); } }
::view-transition-group(hdr) { animation-duration: 0s; }
.theme-vt::view-transition-old(root), .theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
.theme-vt::view-transition-new(root) { z-index: 2; }
.theme-vt::view-transition-old(root) { z-index: 1; }
.nov .leave { }
.curtain { position: fixed; inset: 0; z-index: 480; background: var(--y); transform: translateY(101%); pointer-events: none; }
.curtain.go { transition: transform .45s var(--ease2); transform: none; }

/* ---------------------------------------------------------------- mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .rv { opacity: 1 !important; transform: none !important; }
  .wi, .js [data-split]:not(.in) .wi { transform: none !important; }
  .u::after { transform: none !important; }
  .live, .chip-f { animation: none !important; }
  .pre { display: none !important; }
  .px.on { height: auto !important; }
}
@media print { .hdr, .pre, .dya, .rail, .progress, .cur, .toast, .menu { display: none !important; } .rv { opacity: 1 !important; transform: none !important; } }

/* ================================================================ interrupteur de typographie (data-type sur <html>) */
html[data-type="dyvox7"] {
  --f-d: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-t: "Inter", "Helvetica Neue", Arial, sans-serif;
  --f-r: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --f-m: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
/* Inter n'a pas d'axe de largeur : on neutralise wdth, on resserre et on réduit les grands corps pour tenir dans la même mise en page */
html[data-type="dyvox7"] body, html[data-type="dyvox7"] body * { font-variation-settings: normal !important; font-optical-sizing: auto; }
html[data-type="dyvox7"] :is(.h1, .h2, .hero-h, .xl, .mt, .num, .bf-grid b, .eng-n, .wk-row h3, .work h2, .stat b, .tool-b h3, .price-v, .range-v, .bud-v, .sp-form legend b, .nf-n, .ftr-mark, .mq-set span, .ins-n) { font-weight: 800; letter-spacing: -.04em; }
html[data-type="dyvox7"] :is(.h3, .px-c h3, .eng-i h3, .case-c h2, .acard h3, .prose h2, .prose h3, .offer h3, .offer h4, .sub, .custom h3, .mod h3, .price-big, .ins-s h3, .dlg-t, .seg2 b, .sp-offer b, .ct-c h3, .cmp thead th, .empty-t, .faq-q button, .brand-t) { letter-spacing: -.028em; }
html[data-type="dyvox7"] :is(.h1, .h2, .hero-h, .xl, .art-h1, .work h2, .wk-row h3) { line-height: 1.02; }
html[data-type="dyvox7"] :is(.num, .bf-grid b, .stat b, .price-v, .range-v, .bud-v) { line-height: 1.05; }
html[data-type="dyvox7"] .prose h2, html[data-type="dyvox7"] .prose h3 { line-height: 1.12; }
html[data-type="dyvox7"] .eng-n, html[data-type="dyvox7"] .nf-n { line-height: .9; }
html[data-type="dyvox7"] .brand-t { font-size: 1.35rem; }
html[data-type="dyvox7"] .pre-w { letter-spacing: .2em; }
html[data-type="dyvox7"] .clocks b { letter-spacing: -.06em; }
html[data-type="dyvox7"] .result-c p:not(.chip) { font-weight: 600; }
html[data-type="dyvox7"] .faq-q button { font-weight: 700; }
html[data-type="dyvox7"] .mono, html[data-type="dyvox7"] .fld label, html[data-type="dyvox7"] .rail button { letter-spacing: .05em; }
/* lecture et champs en Nunito */
html[data-type="dyvox7"] .prose, html[data-type="dyvox7"] .lede, html[data-type="dyvox7"] .art-lede, html[data-type="dyvox7"] .fld input, html[data-type="dyvox7"] .fld select, html[data-type="dyvox7"] .fld textarea, html[data-type="dyvox7"] .blog-search input, html[data-type="dyvox7"] .dya-f input, html[data-type="dyvox7"] .dya-m, html[data-type="dyvox7"] .chk label { font-family: var(--f-r); }
html[data-type="dyvox7"] .prose { line-height: 1.8; }
html[data-type="dyvox7"] .prose strong { font-weight: 700; }
/* tailles des grands titres (Inter 800 est environ 25 % plus large que Bricolage largeur 75) */
html[data-type="dyvox7"] .h1 { font-size: clamp(2.128rem, 6.384vw, 6.536rem); }
html[data-type="dyvox7"] .h1.sm { font-size: clamp(1.52rem, 4.256vw, 3.648rem); }
html[data-type="dyvox7"] .h2 { font-size: clamp(1.672rem, 4.256vw, 3.952rem); }
html[data-type="dyvox7"] .h3 { font-size: clamp(1.2rem, 2.08vw, 1.76rem); }
html[data-type="dyvox7"] .xl { font-size: clamp(2.28rem, 7.144vw, 7.144rem); }
html[data-type="dyvox7"] .pre-w { font-size: 0.646rem; }
html[data-type="dyvox7"] .brand-t { font-size: 1.102rem; }
html[data-type="dyvox7"] .mt { font-size: clamp(1.976rem, 9.88vw, 3.8rem); }
html[data-type="dyvox7"] .hero-h { font-size: clamp(2.28rem, 6.536vw, 7.6rem); }
html[data-type="dyvox7"] .mq-set span { font-size: clamp(1.216rem, 3.344vw, 2.736rem); }
html[data-type="dyvox7"] .num { font-size: clamp(2.584rem, 5.472vw, 5.32rem); }
html[data-type="dyvox7"] .bf-grid b { font-size: clamp(1.824rem, 3.8vw, 3.496rem); }
html[data-type="dyvox7"] .bar-v { font-size: 0.84rem; }
html[data-type="dyvox7"] .px-c h3 { font-size: clamp(1.28rem, 2.4vw, 2.08rem); }
html[data-type="dyvox7"] .eng-n { font-size: clamp(3.8rem, 9.12vw, 7.6rem); }
html[data-type="dyvox7"] .eng-i h3 { font-size: clamp(1.28rem, 2.24vw, 2rem); }
html[data-type="dyvox7"] .wk-row h3 { font-size: clamp(1.52rem, 4.864vw, 4.56rem); }
html[data-type="dyvox7"] .faq-q button { font-size: clamp(0.989rem, 1.548vw, 1.29rem); }
html[data-type="dyvox7"] .work h2 { font-size: clamp(1.824rem, 4.18vw, 3.8rem); }
html[data-type="dyvox7"] .stat b { font-size: clamp(1.976rem, 4.56vw, 4.104rem); }
html[data-type="dyvox7"] .case-c h2 { font-size: clamp(1.44rem, 2.72vw, 2.4rem); }
html[data-type="dyvox7"] .tool-b h3 { font-size: clamp(1.52rem, 3.344vw, 2.888rem); }
html[data-type="dyvox7"] .result-c p:not(.chip) { font-size: clamp(1.08rem, 1.8vw, 1.53rem); }
html[data-type="dyvox7"] .acard h3 { font-size: 1.204rem; }
html[data-type="dyvox7"] .empty-t { font-size: 1.6rem; }
html[data-type="dyvox7"] .art-h1 { font-size: clamp(1.672rem, 4.256vw, 4.104rem); }
html[data-type="dyvox7"] .prose h2 { font-size: clamp(1.44rem, 2.56vw, 2.16rem); }
html[data-type="dyvox7"] .prose h3 { font-size: clamp(1.118rem, 1.72vw, 1.462rem); }
html[data-type="dyvox7"] .callout h3 { font-size: clamp(1.14rem, 1.824vw, 1.596rem); }
html[data-type="dyvox7"] .legal .prose h2 { font-size: clamp(1.064rem, 1.824vw, 1.444rem); }
html[data-type="dyvox7"] .offer h3, .offer h4 { font-size: clamp(1.12rem, 1.6vw, 1.44rem); }
html[data-type="dyvox7"] .price-v { font-size: clamp(1.52rem, 2.432vw, 2.28rem); }
html[data-type="dyvox7"] .sub { font-size: clamp(1.28rem, 2.4vw, 1.92rem); }
html[data-type="dyvox7"] .range-v { font-size: clamp(1.368rem, 1.976vw, 1.824rem); }
html[data-type="dyvox7"] .custom h3 { font-size: clamp(1.28rem, 2.4vw, 1.92rem); }
html[data-type="dyvox7"] .bud-v { font-size: clamp(1.824rem, 3.8vw, 3.344rem); }
html[data-type="dyvox7"] .cmp thead th { font-size: 0.96rem; }
html[data-type="dyvox7"] .mod h3 { font-size: clamp(1.12rem, 1.6vw, 1.44rem); }
html[data-type="dyvox7"] .price-big { font-size: clamp(1.04rem, 1.52vw, 1.32rem); }
html[data-type="dyvox7"] .ins-n { font-size: 3.04rem; }
html[data-type="dyvox7"] .ins-s h3 { font-size: 1.36rem; }
html[data-type="dyvox7"] .dlg-t { font-size: 1.824rem; }
html[data-type="dyvox7"] .seg2 b { font-size: 0.92rem; }
html[data-type="dyvox7"] .sp-offer b { font-size: 1.12rem; }
html[data-type="dyvox7"] .sp-form legend b { font-size: clamp(1.52rem, 3.04vw, 2.432rem); }
html[data-type="dyvox7"] .ct-c h3 { font-size: 1.2rem; }
html[data-type="dyvox7"] .nf-n { font-size: clamp(5.32rem, 19.76vw, 14.44rem); }
html[data-type="dyvox7"] .ftr-mark { font-size: clamp(3.4rem, 23vw, 23rem); line-height: .8; letter-spacing: -.05em; }

/* ---- interrupteur de typographie : contrôle segmenté, noir / blanc / gris / jaune */
.tsw { display: inline-flex; align-items: center; gap: 2px; height: 46px; padding: 4px; border-radius: 99px; border: 1.5px solid var(--line2); background: transparent; color: var(--ink); cursor: pointer; transition: border-color .3s; flex: none; }
.tsw:hover { border-color: var(--y); }
.tsw-o { display: inline-flex; align-items: center; gap: .4rem; height: 100%; padding-inline: .7rem; border-radius: 99px; color: var(--mute); transition: background-color .3s, color .3s; white-space: nowrap; }
.tsw-o b { font-size: 1.05rem; line-height: 1; font-weight: 700; letter-spacing: -.02em; }
.tsw-n b { font-family: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; }
.tsw-d b { font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-weight: 800; }
.tsw-l { display: none; font-family: var(--f-m); font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; }
html:not([data-type="dyvox7"]) .tsw-n, html[data-type="dyvox7"] .tsw-d { background: var(--y); color: var(--on-y); }
.tsw-lg .tsw-l { display: inline; }
.tsw-lg { height: 52px; }
@media (min-width: 1280px) { .hdr .tsw-l { display: inline; } }
@media (max-width: 1039px) and (min-width: 640px) { .hdr .tsw-l { display: inline; } }
@media (max-width: 380px) { .hdr .tsw-o { padding-inline: .5rem; } }
.menu-ty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .tsw, .tsw-o { transition: none; } }
html[data-type="dyvox7"] .nf-n { font-size: clamp(5rem, 17vw, 14.5rem); }
/* Inter est dessinée avec des contours qui se chevauchent : un simple trait les laisserait apparaître. On peint le trait d'abord, puis un remplissage de la couleur du fond qui recouvre les recoupements (trait doublé pour garder l'épaisseur visible). */
html[data-type="dyvox7"] .ftr-mark { paint-order: stroke fill; color: #0a0a0a; -webkit-text-stroke-width: 3px; }
html[data-type="dyvox7"] .ftr-7 { paint-order: normal; color: var(--acc-t); -webkit-text-stroke: 0; }
html[data-type="dyvox7"] .mq-set span { paint-order: stroke fill; color: var(--bg2); -webkit-text-stroke-width: 2.4px; }
html[data-type="dyvox7"] .eng-n, html[data-type="dyvox7"] .ins-n { paint-order: stroke fill; color: var(--surface); -webkit-text-stroke-width: 3.6px; }
@media (max-width: 480px) { html[data-type="dyvox7"] .nf-in { grid-template-columns: minmax(0, 1fr); } html[data-type="dyvox7"] .nf-in .h1 { font-size: 1.9rem; } }

/* ---- identité DYVOX7 (dyvox7.com) : titres Inter très gras, ITALIQUES, CAPITALES. Les capitales italiques sont plus larges : corps réduits, interlignage ouvert pour les accents (É, À), crénage légèrement négatif, text-wrap: balance. */
html[data-type="dyvox7"] .h1,
html[data-type="dyvox7"] .h2,
html[data-type="dyvox7"] .hero-h,
html[data-type="dyvox7"] .xl,
html[data-type="dyvox7"] .mt,
html[data-type="dyvox7"] .num,
html[data-type="dyvox7"] .bf-grid b,
html[data-type="dyvox7"] .eng-n,
html[data-type="dyvox7"] .wk-row h3,
html[data-type="dyvox7"] .work h2,
html[data-type="dyvox7"] .stat b,
html[data-type="dyvox7"] .tool-b h3,
html[data-type="dyvox7"] .price-v,
html[data-type="dyvox7"] .range-v,
html[data-type="dyvox7"] .bud-v,
html[data-type="dyvox7"] .sp-form legend b,
html[data-type="dyvox7"] .nf-n,
html[data-type="dyvox7"] .ftr-mark,
html[data-type="dyvox7"] .mq-set span,
html[data-type="dyvox7"] .ins-n,
html[data-type="dyvox7"] .art-h1,
html[data-type="dyvox7"] .brand-t,
html[data-type="dyvox7"] .pre-w { font-weight: 900; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
html[data-type="dyvox7"] .h3,
html[data-type="dyvox7"] .px-c h3,
html[data-type="dyvox7"] .eng-i h3,
html[data-type="dyvox7"] .case-c h2,
html[data-type="dyvox7"] .acard h3,
html[data-type="dyvox7"] .offer h3,
html[data-type="dyvox7"] .offer h4,
html[data-type="dyvox7"] .sub,
html[data-type="dyvox7"] .custom h3,
html[data-type="dyvox7"] .mod h3,
html[data-type="dyvox7"] .price-big,
html[data-type="dyvox7"] .ins-s h3,
html[data-type="dyvox7"] .dlg-t,
html[data-type="dyvox7"] .seg2 b,
html[data-type="dyvox7"] .sp-offer b,
html[data-type="dyvox7"] .ct-c h3,
html[data-type="dyvox7"] .cmp thead th,
html[data-type="dyvox7"] .empty-t,
html[data-type="dyvox7"] .callout h3,
html[data-type="dyvox7"] .result-c p:not(.chip) { font-weight: 800; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; }
html[data-type="dyvox7"] .prose h2, html[data-type="dyvox7"] .legal .prose h2 { font-weight: 800; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.012em; text-wrap: balance; line-height: 1.2; }
html[data-type="dyvox7"] .prose h3 { font-weight: 700; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; line-height: 1.22; }
/* interlignage ouvert (accents des capitales) */
html[data-type="dyvox7"] :is(.h1, .h2, .hero-h, .xl, .art-h1, .work h2, .wk-row h3) { line-height: 1.1; }
html[data-type="dyvox7"] :is(.h3, .px-c h3, .eng-i h3, .case-c h2, .acard h3, .offer h3, .offer h4, .sub, .custom h3, .mod h3, .ins-s h3, .ct-c h3, .callout h3, .tool-b h3, .sp-form legend b) { line-height: 1.18; }
html[data-type="dyvox7"] :is(.num, .bf-grid b, .stat b, .price-v, .range-v, .bud-v) { line-height: 1.12; }
/* mots découpés : place pour les accents (haut) et le débord de l'italique (côtés) */
html[data-type="dyvox7"] .w { padding: .26em .1em .14em .06em; margin: -.26em -.1em -.14em -.06em; }
/* trait jaune : sous le mot, léger écart (peu de jambages en capitales), sans toucher la ligne du dessous */
html[data-type="dyvox7"] .u { text-shadow: none; }
html[data-type="dyvox7"] .u::after { bottom: -.04em; height: .085em; }
html[data-type="dyvox7"] .phero .h1 .u::after { height: .095em; }
html[data-type="dyvox7"] .prose h2, html[data-type="dyvox7"] .prose h3, html[data-type="dyvox7"] .legal .prose h2, html[data-type="dyvox7"] .callout h3 { font-family: var(--f-d); }
html[data-type="dyvox7"] .faq-q, html[data-type="dyvox7"] .faq-q button { font-weight: 700; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.25; font-size: clamp(0.85rem, 1.3vw, 1.05rem); text-wrap: balance; }
/* textes en contour : crénage neutre pour que les traits des lettres voisines ne se recouvrent pas */
html[data-type="dyvox7"] .mq-set span { letter-spacing: .035em; word-spacing: .14em; padding-right: .08em; -webkit-text-stroke-width: 2px; }
html[data-type="dyvox7"] .eng-n, html[data-type="dyvox7"] .ins-n { letter-spacing: 0; padding-right: .08em; }
html[data-type="dyvox7"] .ftr-mark { letter-spacing: -.01em; }
html[data-type="dyvox7"] .art-h1 { max-width: 26ch; }
html[data-type="dyvox7"] .eng-i h3 { max-width: 20ch; }
/* tailles réduites (capitales italiques plus larges) */
html[data-type="dyvox7"] .h1 { font-size: clamp(1.9rem, 5.3vw, 5.4rem); }
html[data-type="dyvox7"] .h1.sm { font-size: clamp(1.3rem, 3.5vw, 3rem); }
html[data-type="dyvox7"] .h2 { font-size: clamp(1.4rem, 3.5vw, 3.3rem); }
html[data-type="dyvox7"] .h3 { font-size: clamp(1.05rem, 1.8vw, 1.5rem); }
html[data-type="dyvox7"] .xl { font-size: clamp(1.9rem, 5.8vw, 5.9rem); }
html[data-type="dyvox7"] .mt { font-size: clamp(1.6rem, 8vw, 3.1rem); }
html[data-type="dyvox7"] .hero-h { font-size: clamp(2.25rem, 5.4vw, 6.2rem); }
html[data-type="dyvox7"] .wk-row h3 { font-size: clamp(1.25rem, 4vw, 3.8rem); }
html[data-type="dyvox7"] .work h2 { font-size: clamp(1.5rem, 3.4vw, 3.1rem); }
html[data-type="dyvox7"] .art-h1 { font-size: clamp(1.4rem, 3.5vw, 3.4rem); }
html[data-type="dyvox7"] .tool-b h3 { font-size: clamp(1.3rem, 2.8vw, 2.4rem); }
html[data-type="dyvox7"] .px-c h3 { font-size: clamp(1.1rem, 2vw, 1.75rem); }
html[data-type="dyvox7"] .eng-i h3 { font-size: clamp(1.1rem, 1.9vw, 1.7rem); }
html[data-type="dyvox7"] .case-c h2 { font-size: clamp(1.2rem, 2.3vw, 2rem); }
html[data-type="dyvox7"] .sp-form legend b { font-size: clamp(1.25rem, 2.5vw, 2rem); }
html[data-type="dyvox7"] .prose h2 { font-size: clamp(1.2rem, 2.1vw, 1.8rem); }
html[data-type="dyvox7"] .prose h3 { font-size: clamp(0.98rem, 1.45vw, 1.2rem); }
html[data-type="dyvox7"] .legal .prose h2 { font-size: clamp(0.95rem, 1.5vw, 1.2rem); }
html[data-type="dyvox7"] .callout h3 { font-size: clamp(1rem, 1.5vw, 1.3rem); }
html[data-type="dyvox7"] .offer h3, html[data-type="dyvox7"] .offer h4, html[data-type="dyvox7"] .mod h3 { font-size: clamp(1rem, 1.4vw, 1.2rem); }
html[data-type="dyvox7"] .sub, html[data-type="dyvox7"] .custom h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); }
html[data-type="dyvox7"] .acard h3 { font-size: 1.02rem; }
html[data-type="dyvox7"] .num { font-size: clamp(2.2rem, 4.6vw, 4.5rem); }
html[data-type="dyvox7"] .stat b { font-size: clamp(1.7rem, 3.8vw, 3.4rem); }
html[data-type="dyvox7"] .bf-grid b { font-size: clamp(1.5rem, 3.2vw, 2.9rem); }
html[data-type="dyvox7"] .bud-v { font-size: clamp(1.5rem, 3.2vw, 2.8rem); }
html[data-type="dyvox7"] .price-v { font-size: clamp(1.3rem, 2.1vw, 1.9rem); }
html[data-type="dyvox7"] .range-v { font-size: clamp(1.15rem, 1.7vw, 1.5rem); }
html[data-type="dyvox7"] .price-big { font-size: clamp(0.92rem, 1.3vw, 1.12rem); }
html[data-type="dyvox7"] .empty-t { font-size: 1.3rem; }
html[data-type="dyvox7"] .dlg-t { font-size: 1.5rem; }
html[data-type="dyvox7"] .ins-s h3 { font-size: 1.15rem; }
html[data-type="dyvox7"] .ct-c h3 { font-size: 1.02rem; }
html[data-type="dyvox7"] .mq-set span { font-size: clamp(1.05rem, 2.9vw, 2.35rem); }
html[data-type="dyvox7"] .nf-n { font-size: clamp(4.4rem, 15vw, 12.5rem); }
html[data-type="dyvox7"] .ftr-mark { font-size: clamp(2.8rem, 19.5vw, 19.5rem); padding-right: .08em; }
html[data-type="dyvox7"] .brand-t { font-size: 1.02rem; letter-spacing: -.01em; }
html[data-type="dyvox7"] .cmp thead th { font-size: 0.8rem; }
html[data-type="dyvox7"] .seg2 b, html[data-type="dyvox7"] .sp-offer b { font-size: 0.82rem; }
@media (max-width: 480px) { html[data-type="dyvox7"] .nf-in .h1 { font-size: 1.6rem; } }

/* ---- sélecteur de motif : contrôle segmenté à trois positions (7 / D7 / 7D), même style que l'interrupteur de typographie */
.msw { display: inline-flex; align-items: center; gap: 2px; height: 46px; padding: 4px; border-radius: 99px; border: 1.5px solid var(--line2); background: transparent; color: var(--ink); transition: border-color .3s; flex: none; }
.msw:hover, .msw:focus-within { border-color: var(--y); }
.msw button { display: inline-flex; align-items: center; justify-content: center; height: 100%; min-width: 2.5rem; padding-inline: .6rem; border-radius: 99px; border: 0; background: transparent; color: var(--mute); cursor: pointer; font-family: var(--f-m); font-size: .8rem; font-weight: 600; letter-spacing: .02em; line-height: 1; white-space: nowrap; transition: background-color .3s, color .3s; }
.msw button[aria-checked="true"] { background: var(--y); color: var(--on-y); }
.msw button:not([aria-checked="true"]):hover { color: var(--ink); }
.msw-lg { height: 52px; }
.msw-lg button { min-width: 3rem; font-size: .9rem; }
@media (prefers-reduced-motion: reduce) { .msw, .msw button { transition: none; } }

/* motif à deux glyphes : emplacements à l'échelle du motif large (706 x 520), trait des contours épaissi pour garder le même rendu */
html[data-motif="d7"] .hero-seven, html[data-motif="7d"] .hero-seven, html[data-motif="d7"] .phero-7, html[data-motif="7d"] .phero-7 { aspect-ratio: 706 / 520; }
html[data-motif="d7"] .nf-7, html[data-motif="7d"] .nf-7 { width: 1.27em; aspect-ratio: 706 / 520; }
html[data-motif="d7"] .pre-7, html[data-motif="7d"] .pre-7 { width: min(54vw, 320px); min-width: 190px; aspect-ratio: 706 / 520; }
html[data-motif="d7"] .p7, html[data-motif="7d"] .p7 { aspect-ratio: 706 / 520; }
html[data-motif="d7"] .p7-o, html[data-motif="7d"] .p7-o { stroke-width: 8; }
html[data-motif="d7"] .pre-ol, html[data-motif="7d"] .pre-ol { stroke-width: 5; }
@media (min-width: 1000px) {
  html[data-motif="d7"] .hero-grid, html[data-motif="7d"] .hero-grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); }
  html[data-motif="d7"] .hero-art, html[data-motif="7d"] .hero-art { max-width: 680px; }
}
[data-p7], .pre-7 { transition: opacity .16s; }
.mfade { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { [data-p7], .pre-7 { transition: none; } }
html[data-motif="d7"] .chip-f1, html[data-motif="7d"] .chip-f1 { left: 0; top: -9%; }
html[data-motif="d7"] .chip-f2, html[data-motif="7d"] .chip-f2 { right: 0; bottom: -9%; }
/* en-tête compact sous 480 px : trois contrôles + logo tiennent sur une ligne */
@media (max-width: 480px) {
  .hdr .hdr-in { gap: .5rem; }
  .hdr .hdr-act { gap: .4rem; }
  .hdr .icon-btn { width: 40px; height: 40px; }
  .hdr .tsw { height: 40px; }
  .hdr .tsw-o { padding-inline: .5rem; }
}
@media (max-width: 400px) { .hdr .brand-t { display: none; } }

/* Mode typo DYVOX7 : graisse et crénage mesurés sur dyvox7.com le 2026-10-22 (h1, h2, h3 = Inter 900 italique capitales,
   letter-spacing -0,01em). Doit rester EN DERNIER pour l'emporter sur les règles de taille ci-dessus. */
html[data-type="dyvox7"] :is(.h1, .h2, .hero-h, .xl, .mt, .num, .bf-grid b, .eng-n, .wk-row h3, .work h2, .stat b, .tool-b h3, .price-v, .range-v, .bud-v, .sp-form legend b, .nf-n, .ftr-mark, .mq-set span, .ins-n, .pre-w, .art-h1) { font-weight: 900; letter-spacing: -.01em; }
html[data-type="dyvox7"] :is(.h3, .px-c h3, .eng-i h3, .case-c h2, .acard h3, .offer h3, .offer h4, .custom h3, .mod h3, .price-big, .ins-s h3, .ct-c h3, .result-c p:not(.chip)) { font-weight: 900; }
html[data-type="dyvox7"] .prose h2, html[data-type="dyvox7"] .legal .prose h2 { font-weight: 800; }

/* ================================================================ dyvox7-3 : accueil refait (hero vivant, services, méthode, palette) */

/* ---- bouton de recherche et palette de commandes (Ctrl/Cmd + K) */
.pal-btn { display: none; align-items: center; gap: .55rem; height: 46px; padding-inline: .8rem; border-radius: 99px; border: 1.5px solid var(--line2); color: var(--mute); background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; transition: border-color .3s, color .3s; flex: none; }
.pal-btn:hover, .pal-btn:focus-visible { border-color: var(--y); color: var(--ink); }
.pal-btn .ic { width: 1.1rem; height: 1.1rem; }
.pal-btn span, .pal-btn kbd { display: none; }
.pal-btn kbd { font-family: var(--f-m); font-size: .66rem; border: 1px solid var(--line2); border-radius: 6px; padding: .1rem .4rem; letter-spacing: .04em; color: var(--mute); }
@media (min-width: 640px) { .pal-btn { display: inline-flex; width: 40px; height: 40px; padding: 0; justify-content: center; } }
@media (min-width: 1100px) { .pal-btn { width: 46px; height: 46px; } }
@media (min-width: 1600px) { .pal-btn { width: auto; padding-inline: .8rem; } .pal-btn span, .pal-btn kbd { display: inline; } }
dialog.pal { border: 1px solid var(--line2); border-radius: 22px; background: var(--surface); color: var(--ink); padding: 0; width: min(640px, calc(100vw - 24px)); max-height: min(560px, 80vh); margin: 11vh auto auto; box-shadow: 0 30px 90px rgba(0, 0, 0, .4); overflow: hidden; }
dialog.pal[open] { display: flex; flex-direction: column; }
dialog.pal::backdrop { background: rgba(10, 10, 10, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.pal-top { display: flex; align-items: center; gap: .8rem; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.pal-top .ic { width: 1.3rem; height: 1.3rem; color: var(--mute); }
.pal-top input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: 1.1rem; font-family: var(--f-r); color: var(--ink); }
.pal-top input::placeholder { color: var(--mute); }
.pal-top kbd, .pal-foot kbd { font-family: var(--f-m); font-size: .66rem; border: 1px solid var(--line2); border-radius: 6px; padding: .1rem .4rem; color: var(--mute); }
.pal-list { overflow-y: auto; padding: .5rem; flex: 1; min-height: 0; }
.pal-g { font-family: var(--f-m); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mute); padding: .8rem .8rem .3rem; }
.pal-i { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem .8rem; border-radius: 12px; font-weight: 600; cursor: pointer; }
.pal-i small { font-family: var(--f-m); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; opacity: .65; font-weight: 500; }
.pal-i[aria-selected="true"] { background: var(--y); color: var(--on-y); }
.pal-i[aria-selected="true"] small { opacity: .8; }
.pal-empty { padding: 1.6rem 1rem; color: var(--mute); text-align: center; }
.pal-foot { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; padding: .7rem 1.2rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .8rem; }
.pal-foot span { display: inline-flex; gap: .4rem; align-items: center; }

/* ---- curseur : la pastille d'étiquette est jaune (liste des services, réalisations) */
.cur.big { background: var(--y); border-color: var(--y); mix-blend-mode: normal; }
.cur.big span { color: #0a0a0a; font-weight: 700; }

/* ---- hero : titre à gauche, maquettes vivantes à droite, onglets des 7 métiers dessous */
.hero { min-height: 100svh; }
.hero-grid { align-items: center; gap: 2.2rem; }
html[data-type="dyvox7"] .hero-h { font-size: clamp(2rem, 4.1vw, 4.9rem); max-width: 14ch; }
.hero-lede { margin-top: 1.3rem; }
.hero-cta { margin-top: 1.5rem; }
.hero-note { margin-top: 1.2rem; }
.hl { position: relative; width: 100%; max-width: none; margin: 0; justify-self: stretch; }
@media (min-width: 1000px) {
  html[data-motif] .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 3rem; }
  html[data-motif] .hero-art.hl { max-width: none; }
}
.hl-stage { position: relative; aspect-ratio: 16 / 10.5; container-type: inline-size; border-radius: 28px; border: 1px solid var(--line2); overflow: hidden; background-color: var(--bg2); background-image: radial-gradient(var(--line2) 1px, transparent 1.4px); background-size: 22px 22px; }
html[data-motif] .hl .chip-f { animation: none; }
html[data-motif] .hl .chip-f1 { left: 1.2rem; top: -1.05rem; right: auto; bottom: auto; }
html[data-motif] .hl .chip-f2 { right: 1.2rem; top: -1.05rem; left: auto; bottom: auto; }
.hl .chip-f { z-index: 3; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); padding: .4rem .8rem; }
.hl-scene { position: absolute; inset: 0; font-size: clamp(7px, 2.15cqw, 14.5px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility 0s .45s; }
.hl-scene.on { opacity: 1; visibility: visible; transition: opacity .45s; }

/* éléments de maquette */
.m-win { position: absolute; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line2); border-radius: .95em; box-shadow: 0 1.1em 2.6em rgba(0, 0, 0, .14); overflow: hidden; color: var(--ink); }
[data-theme="dark"] .m-win { box-shadow: 0 1.1em 2.6em rgba(0, 0, 0, .55); }
.m-bar { display: flex; align-items: center; gap: .42em; padding: .6em .85em; border-bottom: 1px solid var(--line); flex: none; }
.m-bar i { width: .66em; height: .66em; border-radius: 50%; background: #a3a3a3; flex: none; }
.m-url { margin-left: .6em; font-family: var(--f-m); font-size: .8em; color: var(--mute); background: var(--bg2); padding: .15em .8em; border-radius: 99px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-tag { margin-left: auto; font-family: var(--f-m); font-size: .72em; text-transform: uppercase; letter-spacing: .06em; background: var(--y); color: var(--on-y); padding: .2em .8em; border-radius: 99px; font-weight: 600; flex: none; }
.m-body { position: relative; flex: 1; min-height: 0; padding: .95em; }
.m-sk { display: block; height: .7em; border-radius: 99px; background: var(--line2); }
.m-sk.h { height: 1.25em; background: var(--ink); }
.m-sk.w2 { width: 3em; } .m-sk.w6 { width: 60%; } .m-sk.w7 { width: 72%; } .m-sk.w9 { width: 92%; }
.m-h { font-family: var(--f-d); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.05em; margin-bottom: .7em; line-height: 1.1; }
.m-phone { position: absolute; aspect-ratio: 9 / 17.5; border: .28em solid var(--ink); border-radius: 1.5em; background: var(--surface); box-shadow: 0 1.1em 2.4em rgba(0, 0, 0, .2); overflow: hidden; }
.m-phone::before { content: ""; position: absolute; left: 50%; top: .45em; width: 28%; height: .45em; margin-left: -14%; border-radius: 99px; background: var(--ink); opacity: .85; }
.m-pin { display: grid; gap: .6em; align-content: start; padding: 1.5em .75em .75em; }

/* animations d'entrée : l'état naturel est l'état final, les keyframes ne donnent que le départ */
@keyframes hl-in { from { opacity: 0; transform: translateY(.9em) scale(.97); } }
@keyframes hl-msg { from { opacity: 0; transform: translateY(.7em); } }
@keyframes hl-typ { 0% { max-height: 0; opacity: 0; } 10%, 88% { max-height: 3em; opacity: 1; } 100% { max-height: 0; opacity: 0; } }
@keyframes hl-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .45; } 40% { transform: translateY(-.35em); opacity: 1; } }
@keyframes hl-draw { from { stroke-dashoffset: 1; } }
@keyframes hl-grow { from { transform: scaleY(0); } }
@keyframes hl-growx { from { transform: scaleX(0); } }
@keyframes hl-pop { from { opacity: 0; transform: scale(.4); } }
@keyframes hl-fillup { from { clip-path: inset(100% 0 0 0); } }
@keyframes hl-blink { 50% { opacity: 0; } }
.hl-scene.on .a-in, .hl-scene.leaving .a-in { animation: hl-in .6s var(--ease) calc(var(--d, 0) * 1s + .15s) both; }
.hl-scene.on .a-msg, .hl-scene.leaving .a-msg { animation: hl-msg .5s var(--ease) calc(var(--d, 0) * 1s) both; }
.hl.paused .hl-scene * { animation-play-state: paused !important; }

/* version statique : tout est dans son état final */
.hl.still .hl-scene, .hl.still .hl-scene * { animation: none !important; transition: none !important; }
.hl.still .hl-scene .typing { display: none; }

/* onglets des 7 métiers */
.htabs-w { padding-bottom: 1.6rem; }
.htabs { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
.htabs::-webkit-scrollbar { display: none; }
.htabs button { flex: 0 0 auto; min-width: 8.5rem; display: flex; flex-direction: column; gap: .35rem; text-align: left; padding: 0 .1rem .1rem; color: var(--mute); scroll-snap-align: start; transition: color .3s; }
.htabs button:hover, .htabs button[aria-selected="true"] { color: var(--ink); }
.htabs .ht-bar { order: -1; display: block; width: 100%; align-self: stretch; height: 3px; border-radius: 3px; background: var(--line2); overflow: hidden; margin-bottom: .45rem; }
.htabs .ht-bar b { display: block; height: 100%; background: var(--y); transform-origin: left; transform: scaleX(0); }
.htabs button[aria-selected="true"] .ht-bar b { transform: scaleX(var(--p, 1)); }
.htabs .ht-n { font-weight: 700; font-size: .84rem; line-height: 1.2; }
.htabs .mono { font-size: .68rem; }
@media (min-width: 1000px) { .htabs { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .8rem; overflow: visible; } .htabs button { min-width: 0; } }

/* ---- le 7 en cellules dans le CTA final */
.cta-card { align-items: center; }
.cta-seven { position: relative; width: 100%; aspect-ratio: 706 / 520; border-radius: 24px; background: #0a0a0a; --ink: #f5f5f5; --y: var(--acc); overflow: hidden; cursor: crosshair; }
@media (min-width: 1000px) { .cta-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 3rem; } }

/* ---- services : liste géante numérotée (Élan) croisée avec la liste de Forge (prix à droite) */
.svcs-head { align-items: end; max-width: none; }
.svcs-head > div:last-child { max-width: 34rem; }
.svcs-head .lede { margin-top: 0; }
.svc-list { border-top: 1.5px solid var(--ink); }
.svc { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .45rem 1.1rem; align-items: center; padding: clamp(1.1rem, 2.2vw, 1.8rem) 0; border-bottom: 1.5px solid var(--ink); isolation: isolate; transition: padding .5s var(--ease), color .4s; }
.svc::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(var(--gut) * -1); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc:hover::before, .svc:focus-visible::before { transform: scaleY(1); }
.svc:hover, .svc:focus-visible { color: var(--bg); padding-inline: .6rem; }
.svc:focus-visible { outline-offset: -4px; }
.svc-n { grid-column: 1; grid-row: 1; color: var(--mute); transition: color .4s; align-self: start; padding-top: .6rem; }
.svc:hover .svc-n, .svc:focus-visible .svc-n { color: var(--y); }
.svc-t { grid-column: 2; grid-row: 1; }
.svc-name { display: inline-block; }
.svc-d { grid-column: 2 / -1; grid-row: 2; color: var(--mute); max-width: 46ch; transition: color .4s; }
.svc:hover .svc-d, .svc:focus-visible .svc-d { color: inherit; opacity: .8; }
.svc-fee { display: block; margin-top: .35rem; font-size: .78rem; opacity: .85; }
.svc-p { grid-column: 2; grid-row: 3; justify-self: start; margin-top: .3rem; padding: .35rem .85rem; border-radius: 99px; border: 1.5px solid var(--line2); white-space: nowrap; transition: background-color .35s, color .35s, border-color .35s; }
.svc:hover .svc-p, .svc:focus-visible .svc-p { background: var(--y); border-color: var(--y); color: var(--on-y); }
.svc-ic { grid-column: 3; grid-row: 1; display: grid; place-items: center; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--y); color: var(--on-y); transition: transform .5s var(--ease); }
.svc-ic .ic { width: 1.4rem; height: 1.4rem; stroke-width: 1.9; }
.svc:hover .svc-ic, .svc:focus-visible .svc-ic { transform: rotate(-12deg) scale(1.1); }
@media (min-width: 900px) {
  .svc { grid-template-columns: 3.2rem minmax(0, 1.25fr) minmax(0, 1fr) 11rem auto; gap: 1rem 1.6rem; }
  .svc-n, .svc-t, .svc-d, .svc-p, .svc-ic { grid-row: 1; }
  .svc-n { grid-column: 1; } .svc-t { grid-column: 2; } .svc-d { grid-column: 3; } .svc-p { grid-column: 4; justify-self: end; margin-top: 0; } .svc-ic { grid-column: 5; width: 3.6rem; height: 3.6rem; }
}
html[data-type="dyvox7"] .svc-t { font-weight: 900; font-style: italic; font-synthesis: style; text-transform: uppercase; letter-spacing: -.012em; line-height: 1.1; font-size: clamp(1.3rem, 2.7vw, 2.9rem); text-wrap: balance; }

/* ---- méthode : titre et 7 collants à gauche, cartes numérotées à droite */
.px { position: relative; background: var(--bg2); padding-block: var(--sec); }
.px-grid { display: grid; gap: 2.2rem; }
.px-cards { display: grid; gap: 14px; }
.px-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; padding: clamp(1.2rem, 2.4vw, 2rem); border-radius: 28px; background: var(--surface); border: 1.5px solid var(--line); transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, opacity .5s; }
.px-n { display: grid; place-items: center; width: 3.3rem; height: 3.3rem; border-radius: 50%; background: var(--y); color: var(--on-y); font-weight: 700; font-size: .95rem; flex: none; }
.px-c h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); }
.px-c p { color: var(--mute); margin-top: .55rem; max-width: 48ch; }
.px-c .px-get { margin-top: 1.1rem; padding-top: .9rem; border-top: 1px dashed var(--line2); font-family: var(--f-m); font-size: .72rem; line-height: 1.55; text-transform: uppercase; letter-spacing: .06em; color: var(--mute); max-width: 56ch; }
.px-c .px-get span { color: var(--ink); font-weight: 600; box-shadow: 0 .22em 0 -.02em var(--y); margin-right: .3em; }
.px-r { display: none; }
@media (min-width: 1000px) {
  .px-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .px-l { align-self: stretch; }
  .px-sticky { position: sticky; top: calc(var(--hdr) + 1.6rem); }
  .px-r { display: block; margin-top: 2rem; }
  .p7 { position: relative; width: min(100%, 340px); aspect-ratio: 400 / 520; margin-left: 0; --p: 1; }
  html[data-motif="7"] .px .p7 { width: min(100%, 210px); }
  .p7 svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .p7-o { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); stroke-linejoin: round; }
  .p7-f { fill: var(--y); clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); }
  .px-count { margin-top: 1rem; color: var(--mute); } .px-count b { color: var(--ink); font-size: 1.1rem; }
  .px-card { min-height: clamp(210px, 30vh, 300px); align-content: center; }
  .px.on .px-card { opacity: .5; }
  .px.on .px-card.act { opacity: 1; border-color: var(--y); box-shadow: 0 0 0 2px var(--y), 0 22px 50px rgba(0, 0, 0, .1); transform: translateX(-8px); }
}
html[data-motif="d7"] .px .p7, html[data-motif="7d"] .px .p7 { aspect-ratio: 706 / 520; }
@media (prefers-reduced-motion: reduce) { .px-card { transition: none; } .px.on .px-card.act { transform: none; } }
[data-theme="dark"] .hl { --bg2: #262626; }
[data-theme="dark"] .hl .m-win { background: #171717; }

/* ---- menu mobile : ligne « Rechercher » (sous 640 px, la palette Ctrl K n'est pas dans l'en-tête) */
.menu-search button { display: flex; align-items: center; gap: .7rem; width: 100%; min-height: 52px; padding: 0 1.1rem; border: 1.5px solid var(--line2); border-radius: 99px; background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; transition: border-color .3s; }
.menu-search button:hover, .menu-search button:focus-visible { border-color: var(--y); }
.menu-search .ic { width: 1.2rem; height: 1.2rem; flex: none; }
@media (min-width: 640px) { .menu-search { display: none; } }

/* ---- CTA final de l'accueil : carte entièrement noire (classe .cta-dark), lisible en clair et en sombre */
.cta-card.cta-dark { --ink: #f5f5f5; --mute: #a3a3a3; --line: rgba(245, 245, 245, .28); --focus: var(--acc); --y: var(--acc); background: #0a0a0a; color: #f5f5f5; border: 1px solid #262626; }
[data-theme="dark"] .cta-card.cta-dark { background: #0a0a0a; border-color: #525252; box-shadow: 0 0 0 1px rgba(var(--acc-rgb), .16), 0 24px 60px -24px rgba(0, 0, 0, .9); }
.cta-dark .eyebrow { color: #a3a3a3; }
.cta-dark .xl { color: #f5f5f5; }
.cta-dark .lede { color: #d4d4d4; }
.cta-dark .btn-line { border-color: #f5f5f5; color: #f5f5f5; }
.cta-dark .btn-line::before { background: #f5f5f5; }
.cta-dark .btn-line:hover, .cta-dark .btn-line:focus-visible { color: #0a0a0a; border-color: #f5f5f5; }
.cta-dark .btn:not(.btn-line)::before { background: #f5f5f5; }
.cta-dark .btn:not(.btn-line):hover, .cta-dark .btn:not(.btn-line):focus-visible { color: #0a0a0a; border-color: #f5f5f5; }
.cta-dark .cta-seven { background: transparent; --ink: var(--acc); --y: #ffffff; }

/* start-project : bloc « Estimation reçue » (texte seul, une ligne par information) */
html[data-type="dyvox7"] .sp-est b, .sp-est b { display: block; font-style: normal; text-transform: none; font-size: .92rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }

.hdr .hdr-cta, .hdr .hdr-cta span { white-space: nowrap; }




/* ================================================================ en-tête v4 : logo | navigation | Rechercher, Réglages, CTA, menu
   Motif, thème et son sont regroupés dans UN bouton « Réglages » (panneau .rg-panel, role dialog, Échap ferme, focus rendu au bouton).
   Largeurs : le logo ne touche jamais la navigation (>= 16 px), le CTA garde son padding (1rem min) sur une ligne. */
.hdr-in { position: relative; z-index: 1; gap: 1rem; }
.hdr .brand { flex: none; }
.hdr .nav { flex: 0 1 auto; min-width: 0; margin-inline: auto; }
.hdr .nav a { white-space: nowrap; }
.hdr .hdr-act { flex: none; gap: .5rem; }
.hdr .icon-btn, .hdr .pal-btn { flex: none; }
.hdr .hdr-cta { padding: .65rem 1.1rem; font-size: .92rem; }
.hdr .hdr-cta, .hdr .hdr-cta span { white-space: nowrap; }
.rg-btn[aria-expanded="true"] { background: var(--y); border-color: var(--y); color: var(--on-y); }
.rg-panel { position: absolute; z-index: 3; top: calc(100% + 6px); right: var(--gut); width: min(21.5rem, calc(100vw - 2 * var(--gut))); display: grid; gap: .9rem; padding: 1.1rem; border-radius: 22px; border: 1.5px solid var(--line2); background: var(--bg); color: var(--ink); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45); }
.rg-panel[hidden] { display: none; }
.rg-h { margin: 0; color: var(--mute); }
.rg-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem .8rem; }
.rg-row > .mono { color: var(--mute); }
.rg-row .msw, .rg-row .ssw, .rg-row .snd { height: 46px; }
.rg-row .snd { width: 46px; }
.rg-row .ssw .ssw-l { display: none; }
@media (min-width: 1040px) { .hdr .pal-btn { display: inline-flex; width: 40px; height: 40px; padding: 0; justify-content: center; } }
@media (min-width: 1100px) { .hdr .pal-btn { width: 46px; height: 46px; } .hdr .icon-btn.rg-btn { width: 46px; height: 46px; } }
@media (min-width: 1600px) { .hdr .pal-btn { width: auto; padding-inline: .8rem; } .hdr .pal-btn span, .hdr .pal-btn kbd { display: inline; } }
@media (max-width: 1039px) { .hdr .hdr-act { gap: .4rem; } }
@media (max-width: 400px) { .hdr .brand-t { display: none; } }
@media (min-width: 1040px) and (max-width: 1119px) { .hdr .nav { gap: 0; } .hdr .nav a { padding-inline: .45rem; font-size: .92rem; } .hdr .nav a::after { left: .45rem; right: .45rem; } }


/* ================================================================ v5 : couleur, clarté, conversion (voir README « Palette secondaire ») */
[data-c="2"] { --cc: var(--c2); --cc-t: var(--c2-t); } [data-c="3"] { --cc: var(--c3); --cc-t: var(--c3-t); } [data-c="4"] { --cc: var(--c4); --cc-t: var(--c4-t); }
[data-c="5"] { --cc: var(--c5); --cc-t: var(--c5-t); } [data-c="6"] { --cc: var(--c6); --cc-t: var(--c6-t); }
/* icônes des 7 métiers : pastille teintée, pictogramme en variante texte */
.svc[data-c] .svc-ic, .svc-card[data-c] .svc-ico { background: color-mix(in srgb, var(--cc) 16%, var(--surface)); color: var(--cc-t); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--cc) 50%, transparent); }
/* étiquettes d'information */
.tag, .badge[data-c] { display: inline-flex; align-items: center; gap: .4em; border-radius: 99px; padding: .2rem .7rem; font-family: var(--f-m); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; font-style: normal;
  background: color-mix(in srgb, var(--cc) 14%, var(--surface)); color: var(--cc-t); border: 1px solid color-mix(in srgb, var(--cc) 42%, transparent); }
/* graphiques et repères chiffrés */
.bars .bar-l[data-c] { position: relative; padding-left: .95rem; }
.bars .bar-l[data-c]::before { content: ""; position: absolute; left: 0; top: .42em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--cc); }
.bars li:has(.bar-l[data-c="2"]) .bar-t i { background: var(--c2); } .bars li:has(.bar-l[data-c="3"]) .bar-t i { background: var(--c3); }
.bars li:has(.bar-l[data-c="4"]) .bar-t i { background: var(--c4); } .bars li:has(.bar-l[data-c="5"]) .bar-t i { background: var(--c5); }
.t-n .dots7 i:nth-child(1) { background: var(--c2); } .t-n .dots7 i:nth-child(2) { background: var(--c3); } .t-n .dots7 i:nth-child(3) { background: var(--c6); } .t-n .dots7 i:nth-child(4) { background: var(--c4); }
.t-n .dots7 i:nth-child(5) { background: var(--c5); } .t-n .dots7 i:nth-child(6) { background: var(--c2); } .t-n .dots7 i:nth-child(7) { background: var(--c3); }
.segs4 i:nth-child(1)::after { background: var(--c2); } .segs4 i:nth-child(2)::after { background: var(--c5); } .segs4 i:nth-child(3)::after { background: var(--c3); } .segs4 i:nth-child(4)::after { background: var(--c4); }
.t-h .ring-v { stroke: var(--c2); }
/* hero : qui, pour qui, quoi, combien */
.hero-who { margin-top: 1.1rem; max-width: 52ch; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.45; color: var(--ink); }
.hero-who b { font-weight: 700; } .hero-from { white-space: nowrap; background: linear-gradient(var(--y), var(--y)) no-repeat 0 100% / 100% .28em; }
.hero-ids { display: grid; gap: .7rem; margin-top: 1.3rem; padding: 0; }
.hero-ids li { display: flex; align-items: flex-start; gap: .65rem; font-size: .9rem; line-height: 1.3; color: var(--mute); }
.hero-ids li .ic { flex: none; width: 1.9rem; height: 1.9rem; padding: .4rem; border-radius: 50%; background: color-mix(in srgb, var(--cc) 16%, var(--surface)); color: var(--cc-t); }
.hero-ids li b { display: block; color: var(--ink); font-weight: 700; font-size: .95rem; }
@media (min-width: 720px) { .hero-ids { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; } }
.hero-note .link-u { margin-left: .2em; }
/* CTA discrets en fin de section */
.sec-cta { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: clamp(1.6rem, 3vw, 2.6rem); color: var(--mute); }
.sec-cta > span { max-width: 46ch; }
.faq-cta { grid-column: 1 / -1; }
.fast { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.zones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.cal-note { display: block; flex-basis: 100%; margin-top: .45rem; font-size: .8rem; line-height: 1.3; color: var(--mute); font-weight: 400; font-family: var(--f-t); text-transform: none; letter-spacing: 0; font-style: normal; }
.cta-dark .cal-note { color: #d4d4d4; }
.cta-card:not(.cta-dark) .cal-note { color: #262626; }
/* bandeau de contact en bas des pages sans CTA */
.cta-strip { padding-block: clamp(2rem, 5vw, 4rem); }
.cs-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; border-top: 1px solid var(--line2); padding-top: clamp(1.4rem, 3vw, 2.2rem); }
.cs-t { font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.6rem); max-width: 34ch; }
.cs-b { display: flex; flex-wrap: wrap; gap: .7rem; }
/* réalisations : révélation en couleur au défilement (moment fort) */
.wk-reel { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }
@media (min-width: 900px) { .wk-reel { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }
.wk-shot { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg2); border: 1px solid var(--line2); }
.wk-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; filter: saturate(1.05) contrast(1.03); transition: transform 1.2s var(--ease); }
.wk-shot:hover img, .wk-shot:focus-visible img { transform: scale(1.06); }
.wk-cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 2.2rem .9rem .8rem; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,0)); color: #fff; }
.wk-cap b { font-size: .95rem; line-height: 1.15; }
.wk-cap .tag { font-size: .62rem; padding: .12rem .5rem; background: color-mix(in srgb, var(--cc) 30%, #0a0a0a); border-color: color-mix(in srgb, var(--cc) 60%, transparent); color: #fff; }
@media (prefers-reduced-motion: no-preference) {
  .js:not(.norv) .wk-shot.rv { opacity: 1; transform: none; }
  .js:not(.norv) .wk-shot.rv img { clip-path: inset(0 0 100% 0); transform: scale(1.35); transition: clip-path 1.1s var(--ease) calc(var(--d, 0) * 140ms), transform 1.8s var(--ease) calc(var(--d, 0) * 140ms); }
  .js:not(.norv) .wk-shot.rv .wk-cap { opacity: 0; transition: opacity .8s ease calc(var(--d, 0) * 140ms + 700ms); }
  .js:not(.norv) .wk-shot.rv.in img { clip-path: inset(0 0 0 0); transform: none; }
  .js:not(.norv) .wk-shot.rv.in .wk-cap { opacity: 1; }
  .js:not(.norv) .wk-shot.rv.in:hover img { transform: scale(1.06); transition-delay: 0s; transition-duration: 1.2s; }
}
/* barre d'action collante (mobile) */
.sbar { display: none; }
@media (max-width: 639px) {
  :root { --sbar-h: 76px; }
  .sbar { position: fixed; z-index: 140; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: .6rem; padding: .65rem 12px calc(.65rem + env(safe-area-inset-bottom)); background: var(--bg-a); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line2);
    transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
  .sbar.on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  .sbar .btn { flex: 1 1 auto; min-height: 48px; padding-inline: 1rem; }
  .sbar-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line2); color: var(--ink); background: var(--surface); }
  .sbar-ic .ic { width: 1.35rem; height: 1.35rem; }
  .sbar-ic:hover, .sbar-ic:focus-visible { border-color: var(--ink); }
  .has-sbar .ftr { padding-bottom: calc(var(--sbar-h) + env(safe-area-inset-bottom)); }
  .has-sbar.sbar-on .dya { bottom: calc(var(--sbar-h) + 10px + env(safe-area-inset-bottom)); }
  .has-sbar.sbar-on .toast { bottom: calc(var(--sbar-h) + 14px + env(safe-area-inset-bottom)); }
  .hero-ids li { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .sbar, .sbar.on { transition: none; } .wk-shot img { transition: none; } }
