/* =========================================================
   Slyne — bleu #0000FF et blanc, en clair comme en sombre.
   Un cadre à lignes fines, des hachures au biais du logo (31.6°),
   la lettre Archivo qui s'étire. Animations : transform, opacity, font-stretch.
   ========================================================= */

/* Police hébergée sur le site (aucune requête vers Google) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 300 900; font-stretch: 62% 125%; font-display: swap; src: url("../fonts/archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {  /* Neutres purs (aucune teinte bleue) ; le bleu du logo est réservé aux actions */
  --bg: #f7f7f7;
  --surface: #ffffff;
  --surface2: #f0f0f0;
  --ink: #161616;
  --muted: #5e5e5e;
  --line: #e5e5e5;
  --line2: #d2d2d2;
  --accent: #0000ff;
  --accent-hover: #0000cc;
  --accent-ink: #0000ff;
  --accent-soft: #f0f0f0;
  --on-accent: #ffffff;
  --err: #c8102e;
  --hatch: rgba(0, 0, 0, .08);
  --shadow: 0 24px 48px -28px rgba(0, 0, 0, .25);
  --header: rgba(247, 247, 247, .85);

  --skew: 31.6deg;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace;
  --frame: 1280px;
  --fp: clamp(16px, 3vw, 40px);
  --r: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
  color-scheme: light;
}
[data-theme="dark"] {
  /* Noir légèrement gris, sans teinte ; textes et icônes en blanc */
  --bg: #141414;
  --surface: #1b1b1b;
  --surface2: #262626;
  --ink: #f2f2f2;
  --muted: #a3a3a3;
  --line: #2b2b2b;
  --line2: #3a3a3a;
  --accent: #0000ff;
  --accent-hover: #1a1aff;
  --accent-ink: #ffffff;
  --accent-soft: #262626;
  --err: #ff7a7a;
  --hatch: rgba(255, 255, 255, .07);
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, .7);
  --header: rgba(20, 20, 20, .85);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s, color .4s;
}
html.modal-open, html.modal-open body { overflow: hidden; }
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, pre { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; letter-spacing: -.025em; }
p { text-wrap: pretty; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 4px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 400; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 8px; font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip:focus { transform: none; }

/* ---------- Cadre : lignes verticales du site et filets horizontaux pleine largeur ---------- */
.frame {
  position: relative; width: 100%; max-width: var(--frame); margin: 0 auto;
  padding-left: var(--fp); padding-right: var(--fp);
  border-left: 1px solid var(--line); border-right: 1px solid var(--line);
}
main > .frame + .frame::before, .foot__frame::before {
  /* Filet exactement de la largeur de l'écran : aucun débordement horizontal */
  content: ""; position: absolute; top: -1px; left: calc((100% - 100vw) / 2); width: 100vw; height: 1px; background: var(--line); pointer-events: none;
}
.section { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 112px); }
.section--flush { padding-bottom: 40px; }
.section--top { padding-top: clamp(40px, 5vw, 64px); }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line2); }
.btn--ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.btn--paper { background: #fff; color: #0000ff; }
.btn--paper:hover { background: #f0f0f0; }
.btn--line { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.btn--line:hover { background: #fff; color: #0000ff; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-ink); }
.link .ic { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link:hover .ic { transform: translateX(4px); }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; color: var(--muted); }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-ink); box-shadow: 0 0 0 4px var(--accent-soft); animation: blink 1.8s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Écran de chargement (première visite) ---------- */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 28px; background: #0000ff; color: #fff; transition: transform .8s var(--ease-io); }
.no-loader .loader, .is-arriving .loader { display: none; }
.loader.is-done { transform: translateY(-100%); }
.loader__stage { position: relative; width: min(140px, 34vw); aspect-ratio: 547 / 514; }
.loader__logo { width: 100%; height: 100%; overflow: visible; fill: #fff; transition: opacity .25s; }
.loader__dust { position: absolute; inset: -60% -80%; width: 260%; height: 220%; pointer-events: none; }
.loader.is-dust .loader__logo { opacity: 0; }
.loader__logo .half--a { animation: asm-a .9s var(--ease) both; }
.loader__logo .half--b { animation: asm-b .9s var(--ease) .08s both; }
@keyframes asm-a { from { transform: translate(-90px, -146px); opacity: 0; } }
@keyframes asm-b { from { transform: translate(90px, 146px); opacity: 0; } }
.loader__bar { width: 160px; height: 2px; background: rgba(255,255,255,.25); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: #fff; transform-origin: left; animation: bar 1.25s var(--ease-io) both; }
@keyframes bar { from { transform: scaleX(0); } }

/* ---------- Rideau entre deux pages ---------- */
.curtain { position: fixed; inset: 0; z-index: 250; pointer-events: none; overflow: hidden; }
.curtain__panel { position: absolute; top: -2px; bottom: -2px; left: -45vh; width: calc(100% + 90vh); background: #0000ff; transform: translateX(-102%) skewX(var(--skew)); will-change: transform; }
.curtain__panel::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 8px; background: #fff; }
.curtain__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 20px; color: #fff; font-size: clamp(30px, 5vw, 72px); font-weight: 650; letter-spacing: -.03em; font-stretch: 62%; opacity: 0; }
.curtain__label svg { width: .9em; height: .85em; fill: currentColor; flex: none; }
.curtain__label span:empty { display: none; }
.is-leaving .curtain { pointer-events: auto; }
.is-leaving .curtain__panel { transform: translateX(0) skewX(var(--skew)); transition: transform .6s var(--ease-io); }
.is-leaving .curtain__label { opacity: 1; font-stretch: 100%; transition: opacity .3s .28s, font-stretch .9s .25s var(--ease); }
.is-arriving .curtain__panel { transform: translateX(0) skewX(var(--skew)); }
.is-arriving .curtain__label { opacity: 1; font-stretch: 100%; }
.is-arrived .curtain__panel { transform: translateX(102%) skewX(var(--skew)); transition: transform .8s var(--ease-io); }
.is-arrived .curtain__label { opacity: 0; font-stretch: 125%; transition: opacity .3s, font-stretch .6s var(--ease); }

/* ---------- En-tête ---------- */
.top { position: sticky; top: 0; z-index: 100; background: var(--header); -webkit-backdrop-filter: saturate(1.5) blur(14px); backdrop-filter: saturate(1.5) blur(14px); border-bottom: 1px solid var(--line); transition: transform .45s var(--ease), background-color .4s; }
.top.is-hidden:not(.menu-open) { transform: translateY(-100%); }
.top.menu-open { -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
.top__in { display: flex; align-items: center; gap: 24px; max-width: var(--frame); height: 68px; margin: 0 auto; padding: 0 var(--fp); border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand__logo { width: 30px; height: 28px; color: var(--accent-ink); transition: transform .7s var(--ease); }
.brand:hover .brand__logo { transform: rotate(-180deg); }
.menu { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: 15px; font-weight: 500; }
.menu > a:not(.btn) { position: relative; padding: 8px 14px; border-radius: 8px; color: var(--muted); transition: color .2s, background-color .2s, font-stretch .4s var(--ease); }
.menu > a:not(.btn):hover { color: var(--ink); background: var(--surface2); font-stretch: 112%; }
.menu > a[aria-current="page"]:not(.btn) { color: var(--ink); }
.menu > a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; background: var(--accent-ink); }
.menu__home, .menu__extra { display: none; }
.menu__cta { margin-left: 10px; min-height: 40px; padding: 0 16px; font-size: 14px; }
.top__tools { display: flex; align-items: center; gap: 8px; }
.themebtn { position: relative; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 10px; background: var(--surface); color: var(--ink); transition: border-color .2s, color .2s; }
.themebtn:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.themebtn .ic { grid-area: 1 / 1; width: 19px; height: 19px; transition: transform .6s var(--ease), opacity .3s; }
.themebtn .ic--sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="dark"] .themebtn .ic--sun { opacity: 1; transform: none; }
[data-theme="dark"] .themebtn .ic--moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.burger { display: none; position: relative; z-index: 2; width: 40px; height: 40px; border: 1px solid var(--line2); border-radius: 10px; background: var(--surface); }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 22px; }
.menu-open .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 900px) {
  .burger { display: block; }
  .top__tools { margin-left: auto; }
  .menu {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 0;
    padding: 90px var(--fp) 40px; background: var(--bg);
    font-size: clamp(34px, 9vw, 52px); font-weight: 600; letter-spacing: -.03em;
    clip-path: polygon(-62% 0, -62% 0, 0 100%, -62% 100%); visibility: hidden;
    transition: clip-path .6s var(--ease-io), visibility 0s .6s;
  }
  .menu-open .menu { clip-path: polygon(-62% 0, 100% 0, 162% 100%, -62% 100%); visibility: visible; transition: clip-path .6s var(--ease-io); }
  .menu > a:not(.btn) { padding: 6px 0; color: var(--ink); background: none !important; border-bottom: 1px solid var(--line); border-radius: 0; }
  .menu > a[aria-current="page"]:not(.btn) { color: var(--accent-ink); }
  .menu > a[aria-current="page"]:not(.btn)::after { display: none; }
  .menu__home, .menu__extra { display: block; }
  .menu__cta { margin: 28px 0 0; min-height: 52px; font-size: 16px; letter-spacing: 0; }
}

/* ---------- Accueil : hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px clamp(32px, 5vw, 72px); padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__title { margin-top: 26px; font-size: clamp(44px, 6vw, 88px); font-weight: 650; line-height: .98; letter-spacing: -.04em; }
.stretch .line { display: block; overflow: hidden; padding-bottom: .06em; }
.stretch .line > span { display: inline-block; font-stretch: 66%; transform: translateY(105%); transition: transform 1.1s var(--ease), font-stretch 1.8s var(--ease); transition-delay: calc(.1s + var(--i) * .09s); }
.is-ready .stretch .line > span { transform: none; font-stretch: 100%; }
.is-flex .line { overflow: visible; }
.hero__title .ch { display: inline-block; transition: font-stretch .35s var(--ease), font-weight .35s var(--ease); }
h1.stretch:not(.hero__title) { font-stretch: 66%; opacity: 0; transition: font-stretch 1.6s var(--ease), opacity .6s; }
.is-ready h1.stretch:not(.hero__title) { font-stretch: 100%; opacity: 1; }
.hero__lead { max-width: 48ch; margin-top: 24px; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__in { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.35s + var(--d) * .12s); }
.is-ready .hero__in { opacity: 1; transform: none; }

.hero__visual { position: relative; padding-bottom: 36px; }
.hero__panel { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: 18px; background: #0000ff; box-shadow: var(--shadow); isolation: isolate; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.1); transition: transform 2.6s var(--ease); }
.is-ready .hero__photo { transform: none; }
.hero__panel.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, rgba(0,0,255,.6), rgba(0,0,255,.92) 70%); }
.hero__mark { position: absolute; right: -12%; bottom: -16%; width: 70%; fill: #fff; opacity: .1; z-index: -1; }
.hero__mark .half { transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); }
.hero__mark .half--a { transform: translate(-150px, -244px); opacity: 0; }
.hero__mark .half--b { transform: translate(150px, 244px); opacity: 0; }
.is-ready .hero__mark .half { transform: none; opacity: 1; }
.hero__editor { position: absolute; left: 7%; right: 7%; top: 9%; }
.mini {
  position: absolute; left: -20px; bottom: 0; display: flex; align-items: center; gap: 14px;
  padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow);
  transition: transform .4s var(--ease), border-color .3s;
}
.mini:hover { transform: translateY(-4px); border-color: var(--accent-ink); }
.mini__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.mini__txt { display: flex; flex-direction: column; line-height: 1.3; }
.mini__txt b { font-weight: 600; }
.mini__txt span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini__badge { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 600; }
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .mini { left: 12px; }
}

/* Éditeur : lignes de code blanches sur fond bleu */
.editor { border: 1px solid rgba(255,255,255,.35); border-radius: 12px; overflow: hidden; background: rgba(0, 0, 200, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; font: 12.5px/1.8 var(--mono); opacity: 0; transform: translateY(24px); transition: opacity .9s .5s var(--ease), transform 1.1s .5s var(--ease); }
.is-ready .editor { opacity: 1; transform: none; }
.editor__bar { display: flex; align-items: stretch; height: 38px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: 12px; }
.editor__dots { display: flex; align-items: center; gap: 6px; padding: 0 14px; }
.editor__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.7); }
.editor__tab { display: flex; align-items: center; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.18); opacity: .75; }
.editor__tab.is-on { box-shadow: inset 0 -2px 0 #fff; opacity: 1; font-weight: 700; }
.editor__code { margin: 0; padding: 16px 18px 16px 0; overflow: hidden; white-space: pre; counter-reset: ln; font: inherit; }
.editor .ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 42px; padding-right: 16px; text-align: right; opacity: .5; }
.ln { display: inline-block; clip-path: inset(0 100% 0 0); }
.is-ready .editor .ln { animation: type .5s steps(26, end) forwards; animation-delay: calc(1.1s + var(--l) * .14s); }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
.editor .k { font-weight: 700; } .editor .c { opacity: .65; }
.caret { display: inline-block; width: 8px; height: 1.15em; margin-left: 3px; vertical-align: -3px; background: #fff; animation: blink 1s steps(1) infinite; }
.editor__status { display: flex; gap: 16px; padding: 7px 14px; border-top: 1px solid rgba(255,255,255,.25); font-size: 11px; }
.editor__res { margin-left: auto; }
@media (max-width: 560px) { .editor { font-size: 10.5px; } .editor__tab:nth-child(n+3) { display: none; } .hero__editor { left: 5%; right: 5%; } }

/* Bandeau des frameworks */
.strip { display: flex; align-items: center; gap: 28px; height: 64px; }
.strip__label { flex: none; font-size: 14px; font-weight: 500; color: var(--muted); }
.ticker { flex: 1; overflow: hidden; height: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; width: max-content; height: 100%; animation: tick 40s linear infinite; }
.ticker__group { display: flex; align-items: center; }
.ticker__group span { display: flex; align-items: center; gap: 30px; padding-right: 30px; font-weight: 600; color: var(--muted); }
.ticker__group span::after { content: ""; width: 6px; height: 10px; background: var(--accent-ink); transform: skewX(var(--skew)); opacity: .5; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker--logos .ticker__track { animation-duration: var(--dur, 40s); }
.ticker--logos .ticker__group span { gap: 44px; padding-right: 44px; }
.ticker--logos img { width: auto; height: 26px; max-width: 130px; object-fit: contain; filter: brightness(0); opacity: .55; }
[data-theme="dark"] .ticker--logos img { filter: brightness(0) invert(1); opacity: .7; }
@media (max-width: 600px) { .strip__label { display: none; } }

/* ---------- En-têtes de section ---------- */
.shead { position: relative; max-width: 820px; }
.kicker { position: relative; font-size: 15px; font-weight: 500; color: var(--muted); }
.kicker::before { content: ""; position: absolute; left: calc(-1 * var(--fp) - 1px); top: -4px; bottom: -4px; width: 3px; background: var(--accent-ink); }
.shead__title { margin-top: 14px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.035em; }
.shead__text { max-width: 62ch; margin-top: 14px; font-size: 17px; color: var(--muted); }
.phero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.phero .shead__title { font-size: clamp(38px, 5.4vw, 72px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 28px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.sec-more { margin-top: 36px; }

/* ---------- Onglets des catégories (une page par catégorie) ---------- */
.tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); padding: 6px; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tab { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 64px; padding: 0 18px; border-radius: 10px; font-weight: 500; color: var(--muted); transition: background-color .25s, color .25s, font-stretch .45s var(--ease); white-space: nowrap; }
.tab:hover { color: var(--ink); background: var(--surface2); font-stretch: 110%; }
.tab.is-on { background: var(--surface2); color: var(--ink); font-weight: 600; }
.tab__ic { width: 24px; height: 24px; color: var(--accent-ink); }

.catbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 22px; padding-bottom: 22px; }
.catbar__name { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; }
.catbar__name .ic { color: var(--accent-ink); }
.catbar__intro { flex: 1 1 380px; color: var(--muted); }
.catbar__count { font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* ---------- Grille tarifaire ---------- */
.plans {
  display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 28px;
  padding: 0;
  background: repeating-linear-gradient(-58.4deg, var(--hatch) 0 1px, transparent 1px 9px);
}
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(min(var(--n, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 660px) { .plans { grid-template-columns: 1fr; gap: 18px; } }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: 24px 24px 22px; background: var(--surface); color: var(--ink);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); z-index: 1; }
.plan__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.plan__price { display: inline-flex; align-items: baseline; gap: 4px; padding: 8px 14px; border-radius: 10px; background: var(--surface2); font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.plan__price b { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.plan__badge { display: inline-flex; padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.plan__name { margin-top: 18px; font-size: 26px; line-height: 1.15; }
.plan__name a { transition: font-stretch .5s var(--ease); }
.plan:hover .plan__name a { font-stretch: 112%; }
.plan__desc { margin-top: 10px; color: var(--muted); }
.plan__inc { margin-top: 22px; font-size: 15px; color: var(--muted); }
.plan__list { display: grid; gap: 10px; margin-top: 12px; }
.plan__list li { display: flex; align-items: flex-start; gap: 12px; }
.plan__list .ic { margin-top: 2px; color: var(--accent-ink); }
.plan__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 26px; }
.plan__btn { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 10px; background: var(--ink); color: var(--bg); font-weight: 600; transition: background-color .25s, color .25s, transform .25s var(--ease); }
.plan__btn:hover { background: var(--accent); color: var(--on-accent); }
.plan__btn:active { transform: translateY(1px); }
.plan__more { justify-self: center; font-size: 14px; color: var(--muted); }
.plan__more:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
/* Formule mise en valeur : carte bleue */
.plan.is-hot { background: var(--accent); color: #fff; }
.plan.is-hot .plan__price { background: rgba(255,255,255,.14); color: rgba(255,255,255,.75); }
.plan.is-hot .plan__price b { color: #fff; }
.plan.is-hot .plan__badge { background: #fff; color: #0000ff; }
.plan.is-hot .plan__desc, .plan.is-hot .plan__inc, .plan.is-hot .plan__more { color: rgba(255,255,255,.82); }
.plan.is-hot .plan__list .ic { color: #fff; }
.plan.is-hot .plan__btn { background: #fff; color: #0000ff; }
.plan.is-hot .plan__btn:hover { background: #f0f0f0; }
.plan.is-hot::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(-58.4deg, rgba(255,255,255,.07) 0 1px, transparent 1px 9px); -webkit-mask-image: linear-gradient(200deg, #000, transparent 45%); mask-image: linear-gradient(200deg, #000, transparent 45%); }

.morebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 22px; padding-bottom: 22px; color: var(--muted); }

/* ---------- Pourquoi nous ---------- */
.why { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.why__item { padding: 28px 26px 30px; border-left: 1px solid var(--line); }
.why__item:first-child { border-left: 0; }
.why__ic { width: 44px; height: 44px; padding: 10px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-ink); }
.why__item h3 { margin-top: 22px; font-size: 19px; }
.why__item p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } .why__item:nth-child(3) { border-left: 0; } .why__item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } .why__item { border-left: 0; } .why__item + .why__item { border-top: 1px solid var(--line); } }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
.step { position: relative; padding: 26px 24px 28px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent-ink); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease-io); transition-delay: var(--rd, 0ms); }
.step.is-in::before { transform: scaleX(1); }
.step__n { display: block; font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--accent-ink); font-stretch: 62%; transition: font-stretch 1.4s var(--ease); transition-delay: calc(var(--rd, 0ms) + .2s); }
.step.is-in .step__n { font-stretch: 100%; }
.step__title { margin-top: 18px; font-size: 19px; }
.step__text { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Page d'une offre ---------- */
.odetail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 48px clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 960px) { .odetail { grid-template-columns: 1fr; } }
.odetail .shead__title { font-size: clamp(40px, 5.4vw, 72px); }
.odetail__img { margin-top: 36px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.odetail__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { margin-top: 36px; }
.prose p { max-width: 66ch; font-size: 17px; color: var(--muted); }
.prose p:first-child { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--ink); }
.prose p + p { margin-top: 1em; }
.prose--legal p, .prose--legal p:first-child { font-size: 16px; color: var(--ink); }
.odetail__h { margin-top: 56px; font-size: clamp(26px, 2.6vw, 34px); }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.incl li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-weight: 500; }
.incl__ic { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); color: var(--accent-ink); }
@media (max-width: 600px) { .incl { grid-template-columns: 1fr; } }

.buy { position: sticky; top: 92px; }
.buy__card, .summary__card { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.buy__card.is-hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.buy__price { margin-top: 12px; color: var(--muted); font-size: 17px; font-variant-numeric: tabular-nums; }
.buy__price b { font-size: 44px; font-weight: 650; letter-spacing: -.04em; color: var(--ink); }
.buy__list { margin: 20px 0 22px; border-top: 1px solid var(--line); }
.buy__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.buy__list dt { color: var(--muted); }
.buy__list dd { font-weight: 600; text-align: right; }
.buy__btn { width: 100%; min-height: 52px; font-size: 16px; }
.buy__note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.buy__note .ic { width: 17px; height: 17px; color: var(--accent-ink); }
@media (max-width: 960px) { .buy { position: static; } }

.switch { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.switch__label { margin-bottom: 10px; font-size: 14px; font-weight: 600; }
.switch__opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; margin-top: 8px; border: 1px solid var(--line2); border-radius: 10px; transition: border-color .2s, background-color .2s; }
.switch__opt:hover { border-color: var(--accent-ink); }
.switch__opt.is-on { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.switch__opt b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.switch__opt small { font-weight: 400; color: var(--muted); }
.switch__opt em { display: inline-block; margin-left: 6px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent-ink); }

/* ---------- Questions fréquentes ---------- */
.faq { margin-top: 56px; }
.faq__title { margin-bottom: 18px; font-size: clamp(26px, 2.6vw, 34px); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-ink); }
.faq__item summary i { position: relative; flex: none; width: 18px; height: 18px; }
.faq__item summary i::before, .faq__item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 1.6px; background: currentColor; transition: transform .45s var(--ease); }
.faq__item summary i::after { transform: rotate(90deg); }
.faq__item[open] summary i::after { transform: rotate(0); }
.faq__a p { max-width: 66ch; padding: 0 36px 22px 0; color: var(--muted); }
.faq__item[open] .faq__a { animation: faq-in .45s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.faqwrap .faq { margin-top: 0; }
@media (max-width: 860px) { .faqwrap { grid-template-columns: 1fr; } }

/* ---------- Commande ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 48px clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .summary { order: -1; } }
.checkout .shead__title { font-size: clamp(36px, 4.6vw, 60px); }
.order { margin-top: 36px; }
.ostep { margin-top: 18px; padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.ostep legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.ostep legend + * { clear: both; }
.ostep legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 14px; }
.ogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .ogrid { grid-template-columns: 1fr; } }
.ofield { display: block; margin-bottom: 18px; }
.ofield > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.ofield small { font-weight: 400; color: var(--muted); }
.ofield input, .ofield select, .ofield textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 10px; background: var(--bg); color: var(--ink); font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.ofield textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.ofield select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%); background-position: right 20px center, right 15px center; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.ofield input:focus, .ofield select:focus, .ofield textarea:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.ofield.has-err input { border-color: var(--err); }
.ofield__err { display: block; margin-top: 6px; color: var(--err); font-size: 14px; font-weight: 500; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.seg label:hover span { border-color: var(--accent-ink); }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
.ocheck { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; cursor: pointer; }
.ocheck input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.ocheck a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.order__submit { width: 100%; min-height: 54px; font-size: 16px; }
.order__note { margin-top: 12px; font-size: 14px; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin-top: 24px; padding: 14px 16px; border: 1px solid var(--err); border-radius: 10px; color: var(--err); font-weight: 500; }
.summary { position: sticky; top: 92px; }
.summary__label { font-size: 14px; font-weight: 600; color: var(--muted); }
.summary__cat { margin-top: 18px; font-size: 14px; color: var(--accent-ink); font-weight: 600; }
.summary__name { margin-bottom: 18px; font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.summary__total b { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary__total small { font-size: 15px; font-weight: 400; color: var(--muted); }
@media (max-width: 960px) { .summary { position: static; } }
.done { padding: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.done__ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); color: var(--on-accent); animation: pop .7s var(--ease) both; }
.done__ic .ic { width: 28px; height: 28px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.done .shead__title { margin-top: 22px; }
.done__id { margin-top: 8px; font-size: 15px; color: var(--muted); }
.done__id b { color: var(--ink); font-family: var(--mono); font-size: 16px; }

/* ---------- Contact ---------- */
.brief { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .brief { grid-template-columns: 1fr; } }
.bform .odetail__h { margin-top: 0; }
.bform__lead { margin: 12px 0 28px; color: var(--muted); }
.bpreview { margin: 6px 0 4px; border-radius: 12px; overflow: hidden; background: #0000ff; color: #fff; }
[data-theme="dark"] .bpreview { background: var(--accent-soft); }
.bpreview__label { padding: 10px 16px; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 13px; font-weight: 600; }
.bpreview__msg { padding: 16px; min-height: 110px; white-space: pre-wrap; font: 13.5px/1.7 var(--mono); }
.bform__status { min-height: 1.6em; margin-top: 14px; font-weight: 600; color: var(--accent-ink); }
.direct__row { display: flex; align-items: center; gap: 14px; margin-top: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s, transform .3s var(--ease); }
.direct__row:hover { border-color: var(--accent-ink); transform: translateX(3px); }
.direct__row > .ic:first-child { color: var(--accent-ink); }
.direct__row span { flex: 1; display: flex; flex-direction: column; line-height: 1.35; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.direct__row span b { color: var(--ink); font-size: 16px; font-weight: 600; }
.direct .pill { margin-top: 18px; }
.direct .faq { margin-top: 40px; }

/* ---------- Projets ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.chip { min-height: 40px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--accent-ink); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip sup { font-size: .75em; opacity: .75; }
.empty { display: flex; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.empty__mark { flex: none; width: clamp(72px, 10vw, 120px); height: auto; aspect-ratio: 547 / 514; color: var(--accent-ink); }
.empty__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.empty__text { margin: 8px 0 22px; color: var(--muted); }
@media (max-width: 600px) { .empty { flex-direction: column; align-items: flex-start; } }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; grid-auto-flow: dense; margin-top: 40px; }
.section--top .grid { margin-top: 0; }
.card--wide { grid-column: span 2; }
.card[hidden] { display: none; }
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .card--wide { grid-column: auto; } }
.card__hit { display: block; height: 100%; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card__hit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0000ff; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card__hit:hover .card__media img { transform: scale(1.05); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; }
.ph svg { width: 26%; height: auto; aspect-ratio: 547 / 514; color: #fff; }
.card__badge { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: #fff; color: #0000ff; font-size: 13px; font-weight: 600; transform: translateY(calc(100% + 20px)); transition: transform .5s var(--ease); }
.card__badge .ic { width: 15px; height: 15px; }
.card__hit:hover .card__badge, .card__hit:focus-visible .card__badge { transform: none; }
@media (hover: none) { .card__badge { transform: none; } }
.card__body { padding: 18px 20px 22px; }
.card__cat { font-size: 13px; font-weight: 600; color: var(--accent-ink); }
.card__title { margin-top: 4px; font-size: 21px; }
.card__sum { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ---------- Studio ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.about .prose { margin-top: 0; }
.about__photo { margin-top: 32px; border-radius: var(--r); overflow: hidden; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stats { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.stats > div { padding: 22px 24px; }
.stats > div + div { border-top: 1px solid var(--line); }
.stats dt { font-size: clamp(26px, 2.8vw, 38px); font-weight: 650; letter-spacing: -.03em; color: var(--accent-ink); font-stretch: 70%; transition: font-stretch 1.3s var(--ease); }
.stats .is-in dt { font-stretch: 100%; }
.stats dd { margin-top: 4px; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px; margin-top: 40px; }
.member__hit { display: block; padding: 12px 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .5s var(--ease), box-shadow .5s; }
.member__hit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member__avatar { aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: #0000ff; }
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__avatar svg { width: 44%; height: 100%; margin: 0 auto; color: #fff; }
.member__name { margin-top: 14px; padding: 0 4px; font-size: 19px; }
.member__role { padding: 0 4px; color: var(--muted); font-size: 15px; }
.member__handle { padding: 0 4px; font-size: 14px; color: var(--accent-ink); }

/* ---------- Bandeau d'appel à l'action ---------- */
.band { position: relative; overflow: hidden; margin: clamp(40px, 6vw, 72px) 0; padding: clamp(40px, 6vw, 72px); border-radius: 20px; background: #0000ff; color: #fff; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-58.4deg, rgba(255,255,255,.07) 0 1px, transparent 1px 10px); -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000); mask-image: linear-gradient(90deg, transparent 35%, #000); }
.band__dust { position: absolute; top: 50%; right: -4%; width: min(46vw, 520px); height: min(46vw, 520px); transform: translateY(-50%); opacity: .2; z-index: -1; }
.band__in { position: relative; max-width: 640px; pointer-events: none; }
.band__in a { pointer-events: auto; }
.band__title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.035em; transition: font-stretch .9s var(--ease); }
.band:hover .band__title { font-stretch: 108%; }
.band__text { max-width: 50ch; margin-top: 16px; font-size: 17px; color: rgba(255,255,255,.82); }
.band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Pied de page ---------- */
.foot { border-top: 1px solid var(--line); background: var(--surface); }
.foot__top { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 36px; padding-top: 56px; padding-bottom: 32px; }
.foot__brand p { max-width: 36ch; margin-top: 14px; font-size: 14px; color: var(--muted); }
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; font-size: 15px; }
.foot__head { margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.foot__col a { color: var(--muted); transition: color .2s; }
.foot__col a:hover { color: var(--accent-ink); }
.foot__word { margin: 0 -.02em; font-size: clamp(80px, 21vw, 280px); font-weight: 750; line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px var(--line2); font-stretch: 62%; white-space: nowrap; user-select: none; transition: font-stretch 1.8s var(--ease); }
.foot.is-in .foot__word { font-stretch: 125%; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-top: 20px; padding-bottom: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .foot__top { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; } .foot.is-in .foot__word { font-stretch: 100%; } }

/* ---------- Fenêtre projet ---------- */
.modal { width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(0, 0, 0, .65); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .5s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.modal__bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 10px 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal__cat { font-weight: 600; font-size: 14px; color: var(--accent-ink); }
.modal__close { min-height: 40px; padding: 0 16px; border: 1px solid var(--line2); border-radius: 8px; font-weight: 600; }
.modal__close:hover { border-color: var(--accent-ink); color: var(--accent-ink); }
.modal__media { background: #000; }
.modal__media:empty { display: none; }
.modal__media iframe, .modal__media video { width: 100%; aspect-ratio: 16 / 9; max-height: 72vh; border: 0; }
.modal__media img { width: 100%; max-height: 72vh; object-fit: contain; }
.modal__body { padding: clamp(22px, 4vw, 40px); }
.modal__title { font-size: clamp(28px, 3.4vw, 44px); }
.modal__date { margin-top: 6px; font-size: 14px; color: var(--muted); }
.modal__date:empty { display: none; }
.modal__desc { margin-top: 16px; max-width: 70ch; white-space: pre-line; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { padding: 5px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.tags:empty { display: none; }

/* ---------- Apparitions au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .plan[data-reveal].is-done { transition: transform .5s var(--ease), box-shadow .5s var(--ease); transition-delay: 0s !important; }
.js .plan[data-reveal].is-done:hover { transform: translateY(-6px); }
.js .card[data-reveal].is-done, .js .member[data-reveal].is-done { transition-delay: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation-duration: 120s; }
  .pill i, .caret { animation: none; }
  .curtain { display: none; }
  .stretch .line > span, h1.stretch { transition: none !important; transform: none !important; opacity: 1 !important; }
  .plan, .plan:hover, .card__hit:hover, .member__hit:hover { transform: none !important; }
}

/* ---------- Partenaires ---------- */
.partners { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); margin-top: 40px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.partner { border-left: 1px solid var(--line); border-top: 1px solid var(--line); margin: 0 0 -1px -1px; }
.partner__in { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 140px; padding: 24px; transition: background-color .3s; }
.partner__in img { max-width: 150px; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
[data-theme="dark"] .partner__in img { filter: grayscale(1) brightness(1.6); }
a.partner__in:hover { background: var(--surface2); }
.partner__in:hover img { filter: none; opacity: 1; transform: scale(1.04); }
.partner__name { font-size: 13px; font-weight: 500; color: var(--muted); }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(min(var(--n, 5), 3), minmax(0, 1fr)); } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr 1fr; } }

/* ---------- Mentions de prix, récapitulatif, pages légales ---------- */
.vatnote { font-size: 13px; color: var(--muted); }
.buy .vatnote, .summary .vatnote { margin-top: 10px; }
.buy__terms { margin-top: 12px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.recap { margin-bottom: 18px; border-top: 1px solid var(--line); }
.recap > div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.recap dt { color: var(--muted); }
.recap dd { font-weight: 500; }
.recap small { font-weight: 400; color: var(--muted); }
.ocheck small { color: var(--muted); }
.narrow { max-width: 720px; }
.ostep__title { margin-bottom: 18px; font-size: 18px; font-weight: 600; }
button.link { padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.legal { max-width: 760px; }
.legal h2 { margin: 40px 0 12px; font-size: 22px; }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-top: 10px; color: var(--muted); white-space: normal; }
.legal p b { color: var(--ink); font-weight: 600; }
.legal__muted { font-size: 14px; }
.legal__ul { margin-top: 10px; padding-left: 20px; list-style: disc; color: var(--muted); }
.legal__ul li + li { margin-top: 6px; }
.legal code { font-family: var(--mono); font-size: .9em; color: var(--ink); }
.legal__list { border-top: 1px solid var(--line); }
.legal__list > div { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal__list dt { color: var(--muted); font-size: 15px; }
.legal__list dd { font-weight: 500; }
.legal__form { margin-top: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); white-space: pre-wrap; font: 14px/1.7 var(--font); color: var(--ink); }
@media (max-width: 560px) { .legal__list > div { grid-template-columns: 1fr; gap: 2px; } }
/* ---------- Message « copié » ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 260; max-width: min(520px, calc(100% - 32px)); padding: 14px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 500; box-shadow: var(--shadow); transform: translate(-50%, calc(100% + 40px)); transition: transform .5s var(--ease); }
.toast.is-on { transform: translate(-50%, 0); }
