/* Maxime Breux · identité 2026 : papier, encre, signal orange */

@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
/* Polices de secours calées sur Geist : aucun saut quand la vraie police arrive */
@font-face { font-family: "Geist Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); ascent-override: 95.94%; descent-override: 28.16%; line-gap-override: 0%; size-adjust: 104.76%; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/geist-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #F5F5F3;
  --bg-2: #ECECE8;
  --surface: #FFFFFF;
  --ink: #0C0C0D;
  --ink-2: #2E2E31;
  --muted: #5F5F64;
  --soft: #8C8C91;
  --line: #E2E2DE;
  --line-2: #D2D2CD;
  --signal: #FF5B14;
  --signal-2: #FF7A3D;
  --signal-ink: #B03600;
  --stage: #0C0C0D;
  --stage-2: #151517;
  --stage-3: #1C1C1F;
  --stage-line: rgba(255, 255, 255, .09);
  --stage-text: #F2F2EF;
  --stage-muted: #9C9CA2;
  --ok: #137A43;
  --ok-bg: #E7F7EE;
  --edu: #6A5AE0;
  --font-display: "Geist", "Geist Fallback", sans-serif;
  --font-body: "Geist", "Geist Fallback", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --track: -.045em;
  --dw: 650;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h5 { font-family: var(--font-display); font-weight: var(--dw); }

p { margin: 0; }
::selection { background: var(--signal); color: var(--ink); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html:not(.js) .js-only { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; height: 54px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; }
.btn .i { transition: transform .25s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; box-shadow: 0 0 0 5px rgba(255, 91, 20, .18); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); border-color: var(--ink); }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-2); box-shadow: 0 10px 30px -10px rgba(255, 91, 20, .7); }
.btn-sm { height: 44px; padding: 0 18px; font-size: .93rem; }
.btn-block { width: 100%; }
.btn-signal .i[href], .btn-sm .i { width: 1em; height: 1em; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.top.scrolled { background: rgba(245, 245, 243, .82); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--line); }
.top-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.logo-mark { position: relative; width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: #F5F5F3; display: grid; place-items: center; font: 800 1rem/1 var(--font-display); letter-spacing: -.05em; }
.logo-mark::after { content: ""; position: absolute; top: -3px; right: -3px; width: 11px; height: 11px; border-radius: 50%; background: var(--signal); border: 2px solid var(--bg); }
.logo-word { font: 700 1.08rem/1 var(--font-display); letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { text-decoration: none; font-size: .95rem; color: var(--ink-2); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); place-items: center; cursor: pointer; }
.burger .i { width: 22px; height: 22px; }
.top.dark.scrolled { background: rgba(12, 12, 13, .78); border-bottom-color: var(--stage-line); }
.top.dark .logo { color: #fff; }
.top.dark .logo-mark { background: #fff; color: var(--ink); }
.top.dark .logo-mark::after { border-color: var(--stage); }
.top.dark .nav a:not(.btn) { color: #D4D4D8; }
.top.dark .nav a:not(.btn):hover, .top.dark .nav a.active { color: #fff; }
.top.dark .nav-cta { background: var(--signal); color: var(--ink); }
.top.dark .burger { background: var(--stage-2); border-color: var(--stage-line); color: #fff; }

/* Hero */
.hero { position: relative; padding: clamp(36px, 6vw, 88px) 0 clamp(48px, 6vw, 80px); overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #1FB866; box-shadow: 0 0 0 0 rgba(31, 184, 102, .5); animation: live 2.2s infinite; flex: none; }
h1 { font-size: clamp(2.45rem, 4.9vw, 4.3rem); line-height: 1; letter-spacing: var(--track); margin: 24px 0 24px; font-weight: 700; text-wrap: balance; }
.h1-soft { color: var(--soft); }
.mark { position: relative; color: var(--ink); white-space: nowrap; }
.mark-line { position: absolute; left: -2%; width: 104%; bottom: -.06em; height: .26em; overflow: visible; }
.mark-line path { fill: none; stroke: var(--signal); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 320; stroke-dashoffset: 0; }
.lede { font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.62; color: var(--ink-2); max-width: 35em; }
.lede strong { color: var(--ink); font-weight: 600; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.micro { margin-top: 16px; font-size: .86rem; color: var(--muted); }

/* Carte de visite */
.hero-card { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bizcard { display: block; width: 100%; aspect-ratio: 85 / 55; padding: 0; border: 0; background: none; cursor: pointer; color: inherit; font: inherit; text-align: left; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease); border-radius: 20px; }
.bizcard:focus-visible { outline-offset: 8px; }
.bizcard-inner { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .9s var(--ease); }
.bizcard.flipped .bizcard-inner { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: clamp(18px, 5.5%, 28px); border-radius: 20px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 40px 70px -28px rgba(12, 12, 13, .55), 0 10px 22px -10px rgba(12, 12, 13, .35); }
.face-front { background: radial-gradient(90% 120% at 108% -12%, rgba(255, 91, 20, .55) 0%, rgba(255, 91, 20, 0) 46%), radial-gradient(120% 140% at 100% 0%, #2A2A2E 0%, #0C0C0D 58%); color: #F5F5F3; }
.bc-top { display: flex; justify-content: space-between; align-items: center; }
.bc-logo { position: relative; font: 800 1.35rem/1 var(--font-display); letter-spacing: -.05em; }
.bc-logo::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 3px; border-radius: 50%; background: var(--signal); }
.bc-chip { font: 500 .62rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: #A6A6AC; border: 1px solid rgba(255, 255, 255, .16); padding: 6px 9px; border-radius: 999px; }
.bc-name { margin-top: auto; font: 700 clamp(1.55rem, 3.4vw, 2.1rem)/1 var(--font-display); letter-spacing: -.035em; }
.bc-role { margin-top: 8px; font-size: .9rem; line-height: 1.35; color: #BDBDC2; }
.bc-bottom { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .13); font: 500 .7rem/1.2 var(--font-mono); color: #A6A6AC; }
.bc-sheen { position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx, 25%) var(--my, 15%), rgba(255, 255, 255, .13), transparent 45%); pointer-events: none; }
.face-back { background: #fff; color: var(--ink); transform: rotateY(180deg); flex-direction: row; align-items: center; gap: clamp(14px, 5%, 24px); }
.bc-qr { width: 40%; height: auto; aspect-ratio: 1; }
.bc-back-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bc-back-title { font: 700 1.35rem/1 var(--font-display); letter-spacing: -.02em; }
.bc-back-title::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--signal); }
.bc-back-text { font-size: .84rem; line-height: 1.4; color: var(--muted); }
.bc-back-list { display: flex; flex-direction: column; gap: 3px; margin-top: 4px; font: 500 .7rem/1.3 var(--font-mono); color: var(--ink-2); }
.bizcard-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; border: 0; background: none; font: 500 .92rem var(--font-body); color: var(--ink-2); cursor: pointer; }
.link-btn:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Chiffres */
.proof { position: relative; list-style: none; margin: clamp(52px, 7vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.proof li { padding: 24px 24px 0 0; }
.proof li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.proof b { display: block; font: 700 clamp(2.3rem, 4vw, 3.3rem)/1 var(--font-display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--muted); max-width: 24ch; }

/* Sections */
.section { padding: clamp(80px, 10vw, 136px) 0; }
.section-tight { padding-top: 0; }
.section-alt { background: var(--bg-2); }
.stage { background: var(--stage); color: var(--stage-text); padding: clamp(80px, 10vw, 136px) 0; }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.eyebrow { display: flex; align-items: center; gap: 0; font: 500 .86rem/1 var(--font-mono); color: var(--signal-ink); }
.eyebrow::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; background: currentColor; opacity: .85; }
.stage .eyebrow { color: var(--signal); }
h2 { font-size: clamp(2.15rem, 4.7vw, 3.8rem); line-height: 1.02; letter-spacing: var(--track); margin: 16px 0 20px; }
.section-lede { font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.62; color: var(--muted); max-width: 42em; }
.stage .section-lede { color: var(--stage-muted); }

/* Créations */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.work { grid-column: span 6; container-type: inline-size; position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 2.6vw, 34px); background: var(--stage-2); border: 1px solid var(--stage-line); border-radius: 30px; overflow: hidden; }
.work::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 91, 20, .10), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.work:hover::before { opacity: 1; }
.work-edu { grid-column: span 7; }
.work-chat { grid-column: span 5; }
.work-rv { grid-column: span 5; }
.work-leads { grid-column: span 7; }
.work-cards { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; }
.work-cards .work-head .chips { margin-top: 8px; }
.work-more { grid-column: span 6; }
.work-sites { grid-column: 1 / -1; }
.work-head { position: relative; display: flex; flex-direction: column; gap: 10px; }
.work-kicker { font: 500 .7rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--stage-muted); }
.work :is(h2, h3) { font-size: clamp(1.45rem, 2.2vw, 1.85rem); line-height: 1.08; letter-spacing: -.03em; margin: 0; color: #fff; }
.work-head p:not(.work-kicker) { color: var(--stage-muted); font-size: .98rem; line-height: 1.58; max-width: 52ch; }
.work-head-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.work-head-row > p { max-width: 46ch; justify-self: end; }
.work > .demo { flex: 1 1 auto; }
.work > .chips { margin-top: auto; }
.chips { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 .72rem/1 var(--font-mono); padding: 7px 11px; border-radius: 999px; border: 1px solid var(--stage-line); color: #CACACF; }
.chips-light li { border-color: var(--line); color: var(--ink-2); background: var(--bg); }
.work-link { position: relative; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.work-link:hover { color: var(--signal); border-color: var(--signal); }
.work-link .i { width: .95em; height: .95em; }

/* Démos : fenêtres d'application claires */
.demo { position: relative; background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; font-size: .86rem; line-height: 1.45; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(0, 0, 0, .04); overflow: hidden; }
.demo-tag { position: absolute; top: 12px; right: 12px; z-index: 2; font: 500 .6rem/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #9A9AA0; border: 1px solid #E8E8E4; background: #fff; border-radius: 999px; padding: 5px 8px; }
.demo p[data-type] { min-height: 1.45em; }
.typing-now::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: currentColor; animation: blink 1s steps(1) infinite; }
.btn-mini { display: inline-flex; align-items: center; height: 32px; padding: 0 15px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .78rem/1 var(--font-body); transition: transform .2s, opacity .2s; }
.btn-mini-ghost { background: #F0F0EE; color: var(--ink); }
.btn-mini-edu { background: var(--edu); }
.toast { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 8px 12px; border-radius: 10px; background: var(--ok-bg); color: var(--ok); font-weight: 600; font-size: .8rem; }
.toast .i { width: 15px; height: 15px; stroke-width: 2.6; }
.pill { font: 500 .64rem/1 var(--font-mono); padding: 5px 8px; border-radius: 999px; background: #F1EFFE; color: #5546D6; }

/* Démo Edunotia */
.demo-edu { display: grid; grid-template-columns: minmax(150px, .78fr) 1.4fr; gap: 16px; min-height: 330px; }
.edu-rec { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 16px 14px; border-radius: 16px; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #8475F0 0%, #5A49D6 60%, #4A3AC4 100%); }
.edu-rec-top { align-self: stretch; display: flex; align-items: center; gap: 8px; font-size: .74rem; opacity: .92; }
.edu-logo { width: 22px; height: 22px; border-radius: 7px; background: #fff; color: var(--edu); display: grid; place-items: center; font: 800 .82rem/1 var(--font-display); }
.edu-mic { position: relative; width: 64px; height: 64px; margin-top: 8px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.edu-mic .i { width: 26px; height: 26px; }
.edu-mic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); opacity: 0; }
.edu-wave { display: flex; align-items: center; gap: 3px; height: 38px; }
.edu-wave i { width: 3px; height: 100%; border-radius: 2px; background: #fff; opacity: .9; transform: scaleY(.22); }
.edu-wave i:nth-child(3n) { transform: scaleY(.4); }
.edu-wave i:nth-child(4n+1) { transform: scaleY(.3); }
.edu-timer { font: 600 1.1rem/1 var(--font-mono); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.edu-state { margin-top: auto; }
.st { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .17); font-size: .72rem; font-weight: 500; }
.st .i { width: 13px; height: 13px; }
.st-rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #FF6B6B; animation: blink 1s steps(1) infinite; }
.edu-cr { display: flex; flex-direction: column; gap: 11px; padding: 4px 2px 2px; }
.edu-cr-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 64px 10px 0; border-bottom: 1px solid #EFEFEC; }
.edu-cr-head strong { font: 700 1rem/1 var(--font-display); }
.edu-sec h5 { margin: 0 0 3px; font: 600 .66rem/1.2 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--edu); }
.edu-sec p { font-size: .84rem; color: var(--ink-2); }
.edu-actions { display: flex; justify-content: flex-end; }
.demo-edu[data-s="0"] .edu-wave i { animation: wave .9s ease-in-out infinite; }
.demo-edu[data-s="0"] .edu-wave i:nth-child(2n) { animation-delay: -.3s; }
.demo-edu[data-s="0"] .edu-wave i:nth-child(3n) { animation-delay: -.6s; }
.demo-edu[data-s="0"] .edu-wave i:nth-child(5n) { animation-delay: -.45s; }
.demo-edu[data-s="0"] .edu-mic::after { animation: ring 1.5s ease-out infinite; }
.demo-edu[data-s="6"] .btn-mini-edu { transform: scale(.94); opacity: .6; }

/* Démo chatbot */
.demo-chat { display: flex; flex-direction: column; padding: 0; min-height: 400px; }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-bottom: 1px solid #EFEFEC; }
.chat-av { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 .95rem/1 var(--font-display); flex: none; }
.chat-av::after { content: ""; position: absolute; right: -1px; bottom: -1px; width: 10px; height: 10px; border-radius: 50%; background: #1FB866; border: 2px solid #fff; }
.chat-head strong { display: block; font-size: .9rem; line-height: 1.2; }
.chat-head small { display: block; font-size: .72rem; color: var(--muted); }
.chat-body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px 16px 16px; max-height: 350px; overflow: hidden; }
.msg { max-width: 84%; padding: 9px 12px; border-radius: 15px; font-size: .84rem; line-height: 1.4; flex: none; }
.msg.bot { align-self: flex-start; background: #F2F2F0; border-bottom-left-radius: 5px; }
.msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 5px; }
.typing { align-self: flex-start; display: flex; gap: 4px; padding: 11px 13px; border-radius: 15px; background: #F2F2F0; flex: none; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9A9AA0; animation: dot 1.1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.car { align-self: flex-start; display: flex; align-items: center; gap: 10px; max-width: 92%; padding: 8px 12px 8px 8px; border: 1px solid #EAEAE6; border-radius: 14px; background: #fff; flex: none; }
.car-img { width: 54px; height: 42px; border-radius: 10px; display: grid; place-items: center; color: var(--signal-ink); background: linear-gradient(135deg, #FFEBE0, #FFD3BD); flex: none; }
.car-img .i { width: 26px; height: 26px; stroke-width: 1.6; }
.car-txt strong { display: block; font-size: .82rem; line-height: 1.25; }
.car-txt small { font-size: .7rem; color: var(--muted); }
.car b { margin-left: auto; padding-left: 6px; font: 700 .92rem/1 var(--font-display); white-space: nowrap; }
.sys { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 500 .7rem/1.2 var(--font-mono); text-align: center; flex: none; }
.sys .i { width: 13px; height: 13px; stroke-width: 2.6; }

/* Démo avis */
.demo-rv { display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.rv-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-right: 56px; }
.rv-stats div { padding: 10px 12px; border-radius: 12px; background: #F6F6F4; }
.rv-stats small { display: block; font-size: .66rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-stats b { display: inline-flex; align-items: center; gap: 4px; font: 700 1.15rem/1.2 var(--font-display); }
.rv-stats .ok { color: var(--ok); }
.i-star { fill: #F5B400; stroke: none; width: .85em; height: .85em; }
.rv-card { display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid #ECECE8; border-radius: 14px; }
.rv-head { display: flex; align-items: center; gap: 10px; }
.rv-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: #E6EEFF; color: #1F4FD1; font: 600 .72rem/1 var(--font-body); flex: none; }
.rv-who strong { display: block; font-size: .84rem; line-height: 1.2; }
.rv-who small { font-size: .7rem; color: var(--muted); }
.rv-stars { margin-left: auto; display: flex; gap: 1px; }
.rv-stars .i { width: 14px; height: 14px; fill: #F5B400; stroke: none; }
.rv-text { font-size: .86rem; }
.rv-reply { padding: 10px 12px; border-radius: 10px; background: #FFF3EC; border-left: 3px solid var(--signal); }
.rv-reply small { display: inline-flex; align-items: center; gap: 6px; font: 600 .64rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--signal-ink); }
.rv-reply small .i { width: 13px; height: 13px; }
.rv-reply p { margin-top: 5px; font-size: .84rem; }
.rv-actions { display: flex; justify-content: flex-end; gap: 8px; }
.demo-rv[data-s="3"] .rv-actions .btn-mini:last-child { transform: scale(.94); opacity: .6; }

/* Démo demandes */
.demo-leads { display: grid; grid-template-columns: 1.55fr 1fr; gap: 14px; align-content: start; min-height: 330px; }
.ld-head { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px; padding: 0 64px 10px 0; border-bottom: 1px solid #EFEFEC; }
.ld-head strong { font: 700 1rem/1 var(--font-display); }
.ld-head span { font-size: .74rem; color: var(--muted); }
.ld-count { margin-left: auto; font: 700 1.5rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.ld-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ld-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid #EFEFEB; border-radius: 12px; }
.tag { font: 600 .62rem/1 var(--font-mono); padding: 5px 7px; border-radius: 6px; }
.tag-vo { background: #FFEDE4; color: #B23C06; }
.tag-vn { background: #E6EEFF; color: #1F4FD1; }
.tag-at { background: #E7F7EE; color: #157347; }
.ld-main { min-width: 0; }
.ld-main strong { display: block; font-size: .82rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ld-main small { font-size: .7rem; color: var(--muted); }
.ld-route { font: 500 .68rem/1 var(--font-mono); color: #55555A; white-space: nowrap; }
.ld-route::before { content: "→ "; color: var(--signal-ink); }
.ld-ok { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); }
.ld-ok .i { width: 12px; height: 12px; stroke-width: 3; }
.ld-bars { display: flex; flex-direction: column; gap: 11px; padding: 14px; border-radius: 14px; background: #F7F7F5; align-self: start; }
.ld-bars p { font: 600 .64rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.ld-bars div { display: flex; flex-direction: column; gap: 5px; }
.ld-bars span { font-size: .72rem; color: var(--ink-2); }
.ld-bars i { display: block; height: 7px; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--signal), #FFA06A); transform-origin: left; transition: transform 1s var(--ease); }
.ld-bars div:nth-child(3) i { transition-delay: .1s; }
.ld-bars div:nth-child(4) i { transition-delay: .2s; }
.ld-bars div:nth-child(5) i { transition-delay: .3s; }
.demo-leads[data-s="-1"] .ld-bars i { transform: scaleX(0); transition: none; }

/* Démo cartes */
.demo-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: center; min-height: 270px; }
.cd-form { display: flex; flex-direction: column; gap: 10px; }
.cd-form label { display: flex; flex-direction: column; gap: 4px; font-size: .68rem; font-weight: 500; color: var(--muted); }
.field { display: block; height: 34px; padding: 0 11px; line-height: 32px; border: 1px solid #E4E4E0; border-radius: 10px; background: #FAFAF8; color: var(--ink); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cd-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cd-form .btn-mini { align-self: flex-start; margin-top: 2px; }
.cd-preview { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cd-card { position: relative; width: 100%; max-width: 260px; aspect-ratio: 85 / 55; display: flex; flex-direction: column; padding: 14px 14px 12px 20px; border-radius: 12px; background: #fff; border: 1px solid #ECECE8; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .35); overflow: hidden; transform: rotate(-3deg); }
.cd-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--signal); }
.cd-brand { font: 700 .66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--signal-ink); }
.cd-card strong { margin-top: auto; font: 700 1.05rem/1.15 var(--font-display); letter-spacing: -.02em; }
.cd-card small { font-size: .72rem; color: var(--muted); }
.cd-foot { margin-top: 8px; padding-top: 6px; border-top: 1px solid #EFEFEC; font: 500 .6rem/1 var(--font-mono); color: #8A8A90; }

/* Et aussi */
.more { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.more li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 15px 16px; border-radius: 16px; background: var(--stage-3); border: 1px solid var(--stage-line); }
.more-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255, 91, 20, .12); color: var(--signal); }
.more-ico .i { width: 19px; height: 19px; }
.more b { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.more span { font-size: .88rem; color: var(--stage-muted); line-height: 1.45; }

/* Sites */
.sites { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.site { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.browser { display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); transition: transform .45s var(--ease); }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #ECECE9; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFCFCA; }
.browser-bar span { margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: #fff; font: 500 .64rem/1 var(--font-mono); color: #5F5F64; }
.browser img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.site:hover .browser { transform: translateY(-5px); }
.site:hover .browser img { transform: scale(1.03); }
.site-cap strong { display: block; color: #fff; font-size: 1.02rem; }
.site-cap span { display: block; margin-top: 2px; font-size: .86rem; line-height: 1.45; color: var(--stage-muted); }

/* Inventaire */
.catalog { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--stage-line); }
.catalog-head { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 28px; align-items: baseline; margin-bottom: 32px; }
.catalog-head :is(h2, h3) { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: var(--track); color: #fff; }
.catalog-head p { color: var(--stage-muted); font-size: .98rem; }
.catalog-head .legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font: 500 .72rem/1 var(--font-mono); color: var(--stage-muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-live { background: #1FB866; }
.dot-int { background: #6E8BFF; }
.dot-wip { background: var(--signal); }
.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px clamp(20px, 3vw, 40px); }
.cat-col :is(h3, h4) { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; font: 600 1.05rem/1.2 var(--font-display); color: #fff; }
.cat-col :is(h3, h4) small { font: 500 .66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--stage-muted); }
.cat-col ul + :is(h3, h4) { margin-top: 30px; }
.cat-col ul { list-style: none; margin: 0; padding: 0; }
.cat-col li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--stage-line); }
.cat-col li .dot { margin-top: 8px; grid-row: span 2; }
.cat-col li b { color: #F2F2EF; font-weight: 600; font-size: .95rem; line-height: 1.35; }
.cat-col li span { color: var(--stage-muted); font-size: .86rem; line-height: 1.45; }

/* Prestations */
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(12, 12, 13, .35); }
.offer-ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--bg); color: var(--ink); }
.offer-ico .i { width: 22px; height: 22px; }
.offer :is(h2, h3) { margin: 8px 0 0; font-size: 1.35rem; line-height: 1.1; letter-spacing: -.025em; }
.offer p { color: var(--ink-2); font-size: .96rem; line-height: 1.55; }
.offer .offer-for { font-size: .88rem; color: var(--muted); padding-top: 12px; border-top: 1px dashed var(--line-2); }
.offer-for b { display: block; margin-bottom: 3px; font: 600 .66rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--ink); }
.offer .chips { margin-top: auto; padding-top: 6px; }
.offer .chips li { font-size: .68rem; }
.offer-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font-weight: 600; text-decoration: none; color: var(--ink); }
.offer-link .i { transition: transform .25s var(--ease); }
.offer-link:hover { color: var(--signal-ink); }
.offer-link:hover .i { transform: translateX(3px); }
.offer-hot { background: var(--ink); border-color: var(--ink); color: #fff; }
.offer-hot p { color: #C8C8CD; }
.offer-hot .offer-for { color: #A5A5AB; border-top-color: rgba(255, 255, 255, .16); }
.offer-hot .offer-for b { color: #fff; }
.offer-hot .offer-ico { background: rgba(255, 255, 255, .08); color: var(--signal); }
.offer-hot .chips li { background: transparent; border-color: rgba(255, 255, 255, .16); color: #D5D5DA; }
.offer-hot .offer-link { color: var(--signal); }
.offer-hot .offer-link:hover { color: var(--signal-2); }

/* Parcours */
.me-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.me-quote { position: absolute; right: -32px; bottom: -34px; max-width: 290px; margin: 0; padding: 20px 22px 18px; border-radius: 22px; background: var(--ink); color: #fff; box-shadow: 0 24px 50px -20px rgba(12, 12, 13, .55); transform: rotate(-2deg); }
.me-quote blockquote { margin: 0; font: 600 1.04rem/1.4 var(--font-display); letter-spacing: -.01em; }
.me-quote figcaption { margin-top: 10px; font: 500 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .14em; color: var(--signal); }
.me-quote figcaption::before { content: ""; display: inline-block; width: 16px; height: 2px; margin-right: 8px; vertical-align: middle; background: currentColor; }
.me-copy h2 { max-width: 14ch; }
.pillars { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.pillars li { padding: 17px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); line-height: 1.55; font-size: .97rem; }
.pillars b { display: block; margin-bottom: 3px; color: var(--ink); font: 700 1.1rem/1.3 var(--font-display); letter-spacing: -.015em; }
.me-more { grid-column: 1 / -1; margin-top: 4px; }
.me-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.me-more a:hover { color: var(--signal-ink); border-color: var(--signal-ink); }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { position: relative; padding: 26px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 30px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .8rem/1 var(--font-mono); }
.steps li:first-child .step-n { background: var(--signal); color: var(--ink); }
.steps h3 { margin: 0 0 8px; font-size: 1.22rem; line-height: 1.15; letter-spacing: -.02em; }
.steps p { color: var(--ink-2); font-size: .95rem; line-height: 1.55; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-grid h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 0; list-style: none; cursor: pointer; font: 600 1.1rem/1.3 var(--font-display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-sizing: content-box; transition: transform .3s var(--ease), background .3s; }
.faq details[open] summary .i { transform: rotate(45deg); background: var(--signal); border-color: var(--signal); }
.faq p { max-width: 62ch; margin: -4px 0 24px; color: var(--ink-2); line-height: 1.62; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.direct { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; max-width: 400px; }
.direct a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border-radius: 16px; border: 1px solid var(--stage-line); color: #fff; text-decoration: none; transition: border-color .25s, background .25s; }
.direct a:hover { border-color: var(--signal); background: rgba(255, 91, 20, .06); }
.direct .i { width: 19px; height: 19px; color: var(--signal); }
.form { position: relative; display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: 30px; background: var(--stage-2); border: 1px solid var(--stage-line); }
.needs { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.needs legend { padding: 0; margin-bottom: 12px; font: 500 .72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--stage-muted); }
.needs label { position: relative; }
.needs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.needs span { display: inline-block; padding: 10px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .17); font-size: .88rem; color: #DCDCE0; transition: background .2s, border-color .2s, color .2s; }
.needs label:hover span { border-color: rgba(255, 255, 255, .4); }
.needs input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); font-weight: 600; }
.needs input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fld { display: flex; flex-direction: column; gap: 7px; }
.fld > span { font-size: .8rem; color: var(--stage-muted); }
.fld em { font-style: normal; opacity: .7; }
.fld input, .fld textarea { width: 100%; padding: 14px 15px; border-radius: 13px; border: 1px solid rgba(255, 255, 255, .14); background: #0E0E10; color: #fff; font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fld textarea { resize: vertical; min-height: 116px; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px rgba(255, 91, 20, .25); }
.fld.invalid input, .fld.invalid textarea { border-color: #FF7070; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; line-height: 1.45; color: var(--stage-muted); }
.consent input { width: 17px; height: 17px; margin: 2px 0 0; flex: none; accent-color: var(--signal); }
.consent.invalid span { color: #FF9C9C; }
.consent a { color: #fff; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form .btn { height: 58px; font-size: 1.02rem; }
.form-note { text-align: center; font-size: .8rem; color: var(--stage-muted); }
.form-done { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 32px; text-align: center; border-radius: 30px; background: var(--stage-2); }
.form-done .i { width: 30px; height: 30px; padding: 14px; box-sizing: content-box; border-radius: 50%; background: var(--signal); color: var(--ink); stroke-width: 2.6; }
.form-done p { font-size: 1.1rem; color: #fff; max-width: 28ch; }
.form-done small { color: var(--stage-muted); }

/* Contact en conversation */
.chat-form { position: relative; display: flex; flex-direction: column; border-radius: 30px; background: var(--stage-2); border: 1px solid var(--stage-line); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.cf-head { display: flex; align-items: center; gap: 13px; padding: 18px 22px; border-bottom: 1px solid var(--stage-line); background: rgba(255, 255, 255, .02); }
.cf-head strong { display: block; color: #fff; font-size: 1rem; }
.cf-head small { display: inline-flex; align-items: center; gap: 7px; color: var(--stage-muted); font-size: .8rem; }
.cf-head .status-dot { width: 7px; height: 7px; }
.cf-body { display: flex; flex-direction: column; gap: 12px; padding: 22px; min-height: 420px; }
.cf-msg { max-width: 86%; padding: 12px 16px; border-radius: 20px; font-size: .98rem; line-height: 1.45; }
.cf-msg.bot { align-self: flex-start; background: var(--stage-3); color: #EDEDF0; border-bottom-left-radius: 6px; }
.cf-msg.me { align-self: flex-end; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; background: var(--signal); color: var(--ink); font-weight: 500; border-bottom-right-radius: 6px; white-space: pre-line; }
.cf-msg.me span { align-self: stretch; overflow-wrap: anywhere; }
.cf-edit { padding: 0; border: 0; background: none; color: rgba(12, 12, 13, .65); font: 600 .74rem/1 var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cf-edit:hover { color: var(--ink); }
.cf-final small { display: block; margin-top: 6px; color: var(--stage-muted); font-size: .78rem; }
.cf-step { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 12px; }
.cf-step .btn-sm { align-self: flex-end; }
.cf-needs { flex-direction: row; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cf-needs label { position: relative; }
.cf-needs input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cf-needs span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255, 91, 20, .55); color: #FFD9C7; font-size: .92rem; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.cf-needs label:hover span { background: rgba(255, 91, 20, .12); transform: translateY(-1px); }
.cf-needs input:checked + span { background: var(--signal); border-color: var(--signal); color: var(--ink); font-weight: 600; }
.cf-needs input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.cf-body textarea::placeholder { color: #66666C; }
.cf-typing { align-self: flex-start; display: flex; gap: 4px; padding: 13px 15px; border-radius: 20px; border-bottom-left-radius: 6px; background: var(--stage-3); }
.cf-typing i { width: 6px; height: 6px; border-radius: 50%; background: #8E8E94; animation: dot 1.1s infinite; }
.cf-typing i:nth-child(2) { animation-delay: .15s; }
.cf-typing i:nth-child(3) { animation-delay: .3s; }
html.js .cf-body [data-cf]:not(.cf-on) { display: none; }
html.js .cf-body .cf-passed { display: none; }
@media (prefers-reduced-motion: no-preference) {
  html.js .cf-body .cf-on, html.js .cf-body .cf-msg.me:not([hidden]), html.js .cf-final:not([hidden]) { animation: pop .4s var(--ease) both; }
}

/* Bulle flottante (ordinateur) */
.hello { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: flex-end; gap: 12px; opacity: 0; transform: translateY(18px) scale(.96); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); }
.hello.show { opacity: 1; transform: none; pointer-events: auto; }
.hello-bubble { position: relative; max-width: 250px; padding: 13px 38px 13px 16px; border-radius: 20px 20px 6px 20px; background: #fff; color: var(--ink); font-size: .9rem; line-height: 1.4; box-shadow: 0 18px 40px -16px rgba(12, 12, 13, .45); border: 1px solid var(--line); }
.hello-bubble:not([hidden]) { animation: pop .45s var(--ease) both; }
.hello-x { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: var(--bg); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.hello-x .i { width: 13px; height: 13px; }
.hello-av { position: relative; display: block; border-radius: 50%; box-shadow: 0 14px 34px -10px rgba(12, 12, 13, .55); transition: transform .3s var(--ease); }
.hello-av:hover { transform: scale(1.06) rotate(-3deg); }
.hello-av::after { content: ""; position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #1FB866; border: 3px solid #fff; }

/* Étapes après le formulaire */
.next { list-style: none; counter-reset: n; margin: 34px 0 0; padding: 0; display: grid; gap: 0; max-width: 440px; }
.next li { counter-increment: n; position: relative; display: flex; flex-direction: column; gap: 3px; padding: 0 0 26px 58px; }
.next li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--stage-3); border: 1px solid var(--stage-line); color: var(--signal); font: 600 .78rem/1 var(--font-mono); }
.next li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 4px; width: 1px; background: var(--stage-line); }
.next li:last-child { padding-bottom: 0; }
.next b { color: #fff; font-size: 1.05rem; font-weight: 600; padding-top: 8px; }
.next span { color: var(--stage-muted); font-size: .94rem; line-height: 1.5; }

/* Pied de page */
.foot { background: var(--stage); color: var(--stage-muted); border-top: 1px solid var(--stage-line); padding: 40px 0 44px; }
.foot-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 18px 32px; align-items: center; }
.logo-light { color: #fff; }
.logo-light .logo-mark { background: #fff; color: var(--ink); }
.logo-light .logo-mark::after { border-color: var(--stage); }
.foot-tag { font-size: .9rem; }
.foot-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 22px; }
.foot-nav a { color: #C9C9CE; text-decoration: none; font-size: .9rem; }
.foot-nav a:hover { color: #fff; }
.foot-copy { grid-column: 1 / -1; font-size: .8rem; }

/* Barre d'action mobile */
.dock { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; transform: translateY(150%); transition: transform .4s var(--ease); }
.dock .btn { box-shadow: 0 16px 40px -12px rgba(12, 12, 13, .55); }
.dock.show { transform: none; }

/* Animations */
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31, 184, 102, .5); } 70% { box-shadow: 0 0 0 9px rgba(31, 184, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 184, 102, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wave { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .offer.reveal.in:hover { transform: translateY(-4px); }
  html.js .demo [data-step]:not(.on) { display: none; }
  html.js .demo [data-step].on { animation: pop .45s var(--ease) both; }
  .mark-line path { animation: draw 1.1s .5s var(--ease) both; }
}
html:not(.js) .demo [data-until] { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .demo [data-until] { display: none; }
  .bizcard, .bizcard-inner { transition: none; }
}

/* Petites et moyennes largeurs */
@container (max-width: 560px) {
  .cd-preview { padding-top: 22px; }
  .demo-edu { grid-template-columns: 1fr; }
  .edu-rec { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
  .edu-rec-top { flex: 1 0 100%; }
  .edu-mic { width: 48px; height: 48px; margin: 0; }
  .edu-wave { flex: 1; height: 30px; }
  .edu-state { margin: 0; flex: 1 0 100%; }
  .demo-leads { grid-template-columns: 1fr; }
  .ld-bars { display: none; }
  .demo-cards { grid-template-columns: 1fr; }
  .cd-preview { order: -1; }
  .rv-stats { padding-right: 0; margin-top: 22px; }
}
@container (max-width: 380px) {
  .ld-route { display: none; }
  .rv-stats b { font-size: 1rem; }
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work { grid-column: span 1 !important; }
  .work-edu, .work-leads, .work-sites, .work-cards { grid-column: 1 / -1 !important; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { margin-top: 8px; }
  .me-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .work-head-row { grid-template-columns: 1fr; }
  .work-head-row > p { justify-self: start; }
  .work-cards { grid-template-columns: 1fr; }
  .catalog-head { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  .burger { display: grid; }
  .nav { position: fixed; inset: 72px 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 0; padding: 20px var(--gutter) 32px; background: var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .top.dark .nav a:not(.btn) { color: var(--ink); }
  body.nav-open .top { background: var(--bg); }
  body.nav-open .top.dark .logo { color: var(--ink); }
  body.nav-open .top.dark .logo-mark { background: var(--ink); color: #fff; }
  body.nav-open .top.dark .burger { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font: 700 1.7rem/1.1 var(--font-display); letter-spacing: -.03em; color: var(--ink); }
  .nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 24px; height: 56px; font-size: 1rem; }
}
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr; }
  .work, .work-edu, .work-leads, .work-sites { grid-column: 1 / -1 !important; }
  .work { border-radius: 24px; }
  .sites { grid-template-columns: 1fr; }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof li, .proof li + li { padding: 22px 12px 0 0; border-left: 0; }
  .proof li:nth-child(2n) { padding-left: 16px; border-left: 1px solid var(--line); }
  .proof li:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--line); }
  .dock { display: block; }
  .hello { display: none; }
  .catalog-grid { grid-template-columns: 1fr; }
  .foot { padding-bottom: 100px; }
  .foot-inner { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .offers, .steps { grid-template-columns: 1fr; }
  .cf-body { padding: 18px; min-height: 0; }
  .cf-msg { max-width: 92%; }
  .row2 { grid-template-columns: 1fr; }
  .btn { height: 52px; }
  .cta-row .btn { flex: 1 1 auto; }
  .bc-role { font-size: .8rem; }
  .bc-bottom { font-size: .62rem; }
  .face-back { gap: 12px; }
  .bc-back-title { font-size: 1.1rem; }
  .bc-back-text { font-size: .76rem; }
}


/* ============ Identité « atelier » : le code et la main ============ */
.hand { font-family: "Caveat", cursive; font-weight: 600; letter-spacing: 0; }
.hi { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(1.55rem, 2.5vw, 2rem); line-height: 1; color: var(--signal-ink); transform: rotate(-2deg); transform-origin: left center; }
.hi-wave { width: 52px; height: 20px; fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.hero h1 { margin-top: 16px; }
.micro { display: flex; align-items: center; gap: 9px; }
.micro .status-dot { width: 7px; height: 7px; }
.mark-mini { position: relative; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; font: 800 .95rem/1 var(--font-display); letter-spacing: -.05em; flex: none; }
.mark-mini::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); border: 2px solid var(--stage-2); }
.cf-av { width: 46px; height: 46px; border-radius: 14px; background: #fff; color: var(--ink); }
.hello-av .mark-mini { width: 62px; height: 62px; border-radius: 50%; font-size: 1.25rem; border: 3px solid #fff; }
.hello-av .mark-mini::after { display: none; }
h1[data-split] .w { display: inline-block; white-space: nowrap; }
h1[data-split] .ch { display: inline-block; transition: transform .45s var(--ease), color .45s; will-change: transform; }

/* Barre de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: 3px; background: var(--signal); transform: scaleX(var(--sp, 0)); transform-origin: left; pointer-events: none; }

/* Le bureau : tapis de découpe et objets à déplacer */
.hero-card { align-items: stretch; }
.mat { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1 / .92; border-radius: 26px; overflow: hidden; touch-action: pan-y;
  background-color: #1D2A26;
  background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 20cqi 20cqi, 20cqi 20cqi, 4cqi 4cqi, 4cqi 4cqi; background-position: 6cqi 6cqi;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 60px rgba(0,0,0,.35), 0 40px 70px -40px rgba(12,12,13,.6); }
.mat::after { content: "ATELIER MB · CAEN"; position: absolute; right: 4cqi; bottom: 3cqi; font: 500 1.6cqi/1 var(--font-mono); letter-spacing: .2em; color: rgba(255,255,255,.28); pointer-events: none; }
.mat-ruler { position: absolute; pointer-events: none; }
.mat-ruler-x { left: 0; right: 0; top: 0; height: 2.6cqi; background: repeating-linear-gradient(90deg, rgba(255,255,255,.4) 0 1px, transparent 1px 4cqi) 6cqi 0 / 100% 1.3cqi no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 1px, transparent 1px 20cqi) 6cqi 0 / 100% 2.6cqi no-repeat; }
.mat-ruler-y { top: 0; bottom: 0; left: 0; width: 2.6cqi; background: repeating-linear-gradient(rgba(255,255,255,.4) 0 1px, transparent 1px 4cqi) 0 6cqi / 1.3cqi 100% no-repeat, repeating-linear-gradient(rgba(255,255,255,.55) 0 1px, transparent 1px 20cqi) 0 6cqi / 2.6cqi 100% no-repeat; }
.mat-angle { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(255,255,255,.07) 50%, transparent calc(50% + 1px)); }
.obj { position: absolute; left: var(--x); top: var(--y); transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(var(--r)); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .35s var(--ease), box-shadow .35s, filter .35s; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.obj.dragging { cursor: grabbing; transition: none; transform: translate(var(--dx, 0px), var(--dy, 0px)) rotate(calc(var(--r) * .5)) scale(1.04); filter: drop-shadow(0 26px 30px rgba(0,0,0,.45)); }
.obj p, .obj ul { margin: 0; }
.obj-note { width: 36cqi; aspect-ratio: 1; padding: 5cqi 4.4cqi; background: linear-gradient(160deg, #FFE27E, #FFD458); color: #2A2410; }
.obj-note::before { content: ""; position: absolute; top: -2.2cqi; left: 30%; width: 40%; height: 5cqi; background: rgba(255,255,255,.5); transform: rotate(-3deg); }
.obj-note > p { font-size: 5.4cqi; line-height: 1; margin-bottom: 2.4cqi; text-decoration: underline; text-decoration-color: rgba(194,60,0,.7); text-underline-offset: .15em; }
.obj-note ul { list-style: none; padding: 0; font-size: 4.2cqi; line-height: 1.15; display: grid; gap: 1.8cqi; }
.obj-note li { position: relative; padding-left: 5.4cqi; }
.obj-note li::before { content: ""; position: absolute; left: 0; top: .5cqi; width: 3cqi; height: 3cqi; border: .45cqi solid #2A2410; border-radius: .6cqi; }
.obj-note li.done::after { content: ""; position: absolute; left: .9cqi; top: -.4cqi; width: 1.6cqi; height: 3.2cqi; border: solid var(--signal-ink); border-width: 0 .8cqi .8cqi 0; transform: rotate(40deg); }
.obj-receipt { width: 34cqi; padding: 4cqi 3.4cqi 4.6cqi; background: #FBFAF6; color: #262626; font: 500 2.2cqi/1.55 var(--font-mono);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1.4cqi) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2.8cqi 1.4cqi repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 1.4cqi) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 2.8cqi 1.4cqi repeat-x; }
.rc-head { text-align: center; font-weight: 600; letter-spacing: .08em; }
.rc-head small { font-weight: 400; letter-spacing: 0; opacity: .7; }
.rc-sep { border-top: 1px dashed #BDBDB6; margin: 1.8cqi 0 !important; }
.rc-line, .rc-total { display: flex; justify-content: space-between; gap: 2cqi; white-space: nowrap; }
.rc-line b { font-weight: 600; }
.rc-total { font-weight: 700; font-size: 2.3cqi; }
.rc-bar { height: 5.5cqi; margin: 2.6cqi 0 1.4cqi !important; background: repeating-linear-gradient(90deg, #222 0 .35cqi, transparent .35cqi .7cqi, #222 .7cqi .9cqi, transparent .9cqi 1.5cqi, #222 1.5cqi 2.1cqi, transparent 2.1cqi 2.4cqi); }
.rc-thanks { text-align: center; }
.obj-card { width: 60cqi; }
.obj-card .bizcard { width: 100%; cursor: inherit; }
.obj-card .face { padding: 4.4cqi; border-radius: 3cqi; }
.obj-card .bc-logo { font-size: 3.8cqi; }
.obj-card .bc-chip { font-size: 1.6cqi; padding: 1.1cqi 1.5cqi; }
.obj-card .bc-name { font-size: 6.2cqi; }
.obj-card .bc-role { font-size: 2.45cqi; margin-top: 1.3cqi; }
.obj-card .bc-bottom { font-size: 1.8cqi; margin-top: 2.6cqi; padding-top: 1.8cqi; }
.obj-card .face-back { gap: 3.6cqi; }
.obj-card .bc-back-title { font-size: 4.2cqi; }
.obj-card .bc-back-text { font-size: 2.3cqi; }
.obj-card .bc-back-list { font-size: 1.8cqi; }
.bizcard-actions { margin-top: 4px; }

/* Annotations à la main */
.has-note { position: relative; }
.note { position: absolute; z-index: 3; display: inline-flex; align-items: flex-start; gap: 2px; font: 600 1.5rem/1 "Caveat", cursive; letter-spacing: 0; text-transform: none; color: var(--signal-ink); white-space: nowrap; pointer-events: none; transform: rotate(var(--nr, -4deg)); }
.note svg { width: 54px; height: 38px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.stage .note { color: #FF9C66; }
.note-proof { left: 64px; top: -30px; flex-direction: row-reverse; --nr: -5deg; }
.note-crea { right: 0; top: -26px; flex-direction: row-reverse; font-size: 1.6rem; --nr: -3deg; }
.note-offer { right: -6px; top: -40px; flex-direction: row-reverse; --nr: 4deg; }
.note-chat { left: 14px; top: -46px; --nr: -3deg; }
.note-mat { left: 18px; top: -40px; --nr: -3deg; }
.proof .note { display: inline-flex; margin: 0; max-width: none; font-size: 1.45rem; color: var(--signal-ink); }
.stage-contact h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
@media (prefers-reduced-motion: no-preference) {
  html.js .note path, html.js .hi-wave path { stroke-dasharray: 170; stroke-dashoffset: 170; transition: stroke-dashoffset 1s .35s var(--ease); }
  html.js .note { opacity: 0; transition: opacity .5s; }
  html.js .note.in { opacity: 1; }
  html.js .note.in path, html.js .hi-wave.in path { stroke-dashoffset: 0; }
  html.js .mat:not(.ready) .obj { opacity: 0; transform: translate(0, -30px) rotate(calc(var(--r) * 2.5)) scale(1.08); }
  html.js .mat.ready .obj:not(.dragging) { transition: transform .8s var(--ease), opacity .5s, filter .35s; }
  html.js h1[data-split] .ch { animation: rise .7s var(--ease) backwards; animation-delay: calc(var(--i) * 16ms); }
  .eyebrow::after { animation: blink 1.1s steps(1) infinite; }
}

/* Bandeau des clients */
.clients { margin-top: clamp(56px, 7vw, 88px); }
.clients-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-bottom: 20px; font-size: .92rem; color: var(--muted); text-align: center; }
.path { font: 500 .8rem/1 var(--font-mono); color: var(--signal-ink); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; margin: 0; padding: 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { display: flex; align-items: center; white-space: nowrap; padding: 6px 0; font: 650 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--font-display); letter-spacing: var(--track); color: var(--muted); transition: color .3s; }
.marquee-track li::after { content: ""; width: 9px; height: 9px; margin: 0 clamp(22px, 3vw, 44px); border-radius: 50%; background: var(--signal); }
.marquee-track li:hover { color: var(--ink); }

/* Film de démo */
.work-links { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.film-btn { display: inline-flex; align-items: center; gap: 13px; padding: 6px 18px 6px 6px; border-radius: 16px; border: 1px solid var(--stage-line); background: var(--stage-3); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, transform .25s var(--ease); }
.film-btn:hover { border-color: var(--signal); transform: translateY(-2px); }
.film-thumb { position: relative; width: 96px; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; flex: none; }
.film-thumb img { width: 100%; height: 100%; object-fit: cover; }
.film-play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(12,12,13,.3); }
.film-play .i { width: 14px; height: 14px; padding: 7px; box-sizing: content-box; border-radius: 50%; background: var(--signal); color: var(--ink); }
.film-txt b { display: block; font-size: .93rem; }
.film-txt small { color: var(--stage-muted); font-size: .76rem; }
.film { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(8,8,9,.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film:not([hidden]) .film-box { animation: pop .45s var(--ease) both; }
.film-box { position: relative; width: min(1100px, 100%); }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #000; }
.film-close { position: absolute; top: -54px; right: 0; width: 42px; height: 42px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); cursor: pointer; }

/* Qui suis-je : le bureau en ce moment */
.me-visual { position: relative; width: 100%; max-width: 540px; min-height: 480px; }
.desk-label { position: absolute; top: 0; left: 8px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font: 500 .74rem/1 var(--font-mono); color: var(--ink-2); box-shadow: 0 10px 24px -16px rgba(12,12,13,.4); }
.desk-label .status-dot { width: 7px; height: 7px; }
.desk { position: absolute; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -26px rgba(12,12,13,.55); transition: transform .7s var(--ease); }
.desk img { display: block; width: 100%; height: auto; }
.desk-back { width: 76%; top: 48px; left: 0; transform: rotate(-4deg); }
.desk-mid { width: 80%; top: 170px; right: 0; transform: rotate(3deg); }
.desk-phone { position: absolute; width: 25%; left: 5%; bottom: 0; transform: rotate(-8deg); filter: drop-shadow(0 24px 26px rgba(12,12,13,.45)); transition: transform .7s var(--ease); }
.desk-phone img { width: 100%; height: auto; display: block; }
.me-visual:hover .desk-back { transform: rotate(-6deg) translate(-10px, -8px); }
.me-visual:hover .desk-mid { transform: rotate(5deg) translate(10px, 6px); }
.me-visual:hover .desk-phone { transform: rotate(-12deg) translate(-6px, -12px); }
.me-visual .me-quote { right: -12px; bottom: -8px; z-index: 4; }
.me-like-title { margin: 26px 0 8px; font: 500 .8rem/1 var(--font-mono); color: var(--muted); }
.me-like { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.me-like li { font: 600 1.55rem/1.2 "Caveat", cursive; color: var(--ink); padding: 0 4px; background: linear-gradient(transparent 56%, rgba(255,91,20,.28) 56%, rgba(255,91,20,.28) 90%, transparent 90%); transform: rotate(-1.5deg); }
.me-like li:nth-child(2n) { transform: rotate(1.2deg); }

/* Parcours en chapitres */
.story { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(80px, 10vw, 130px); align-items: start; }
.story-head { position: sticky; top: 110px; }
.story-head :is(h2, h3) { margin: 14px 0 12px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; letter-spacing: var(--track); }
.story-head p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; line-height: 1.6; max-width: 32ch; }
.chapters { position: relative; list-style: none; margin: 0; padding: 0; --p: 0; }
.chapters::before, .chapters::after { content: ""; position: absolute; left: 23px; top: 10px; width: 2px; }
.chapters::before { bottom: 10px; background: var(--line-2); }
.chapters::after { height: calc((100% - 20px) * var(--p)); background: var(--signal); }
.chapter { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding-bottom: 30px; }
.chapter:last-child { padding-bottom: 0; }
.ch-n { position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); border: 2px solid var(--ink); font: 600 .82rem/1 var(--font-mono); transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease); }
.chapter.lit .ch-n { background: var(--signal); border-color: var(--signal); color: var(--ink); transform: scale(1.06); }
.ch-body { padding: 20px 24px 22px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.ch-when { margin-bottom: 6px; font: 500 .76rem/1.2 var(--font-mono); color: var(--signal-ink); }
.ch-body :is(h3, h4) { margin: 0 0 8px; font: 650 1.32rem/1.2 var(--font-display); letter-spacing: -.02em; }
.ch-body p { color: var(--ink-2); line-height: 1.6; }
.ch-keep { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .96rem; }
.ch-keep b { margin-right: 8px; font: 600 1.3rem/1 "Caveat", cursive; color: var(--signal-ink); }
.ch-keep a { display: inline-flex; align-items: center; gap: 5px; margin-left: 6px; font-weight: 600; color: inherit; text-decoration: none; border-bottom: 2px solid var(--signal); }
.chapter-now .ch-body { background: var(--ink); border-color: var(--ink); color: #fff; }
.chapter-now .ch-body p { color: #C8C8CD; }
.chapter-now .ch-keep { border-top-color: rgba(255,255,255,.16); color: #fff !important; }
.chapter-now .ch-keep b { color: var(--signal); }
.for-you { margin-top: clamp(64px, 8vw, 100px); }
.for-you :is(h2, h3) { margin: 0 0 20px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: var(--track); }
.for-you .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.for-you .me-more { margin-top: 22px; }

/* Journal */
.journal-head { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; align-items: end; margin-bottom: 28px; }
.journal-head h2 { margin-bottom: 0; }
.journal-all { display: inline-flex; align-items: center; gap: 6px; margin-left: 4px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--signal); white-space: nowrap; }
.rubriques { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rubriques a { display: block; height: 100%; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.rubriques a:hover { border-color: var(--ink); transform: translateY(-2px); }
.rubriques b { display: block; margin-bottom: 4px; font: 650 1.1rem/1.2 var(--font-display); }
.rubriques span { color: var(--muted); font-size: .9rem; line-height: 1.45; }
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.post a { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 26px 6px; border-bottom: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: padding .4s var(--ease), background .4s; }
.post-meta { display: flex; flex-direction: column; gap: 5px; font: 500 .76rem/1.2 var(--font-mono); color: var(--muted); }
.post-cat { color: var(--signal-ink); }
.post-title { font: 650 clamp(1.15rem, 2vw, 1.55rem)/1.22 var(--font-display); letter-spacing: -.02em; }
.post-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.post a:hover { padding-left: 20px; background: var(--surface); }
.post a:hover .post-go { background: var(--signal); border-color: var(--signal); transform: rotate(-45deg); }
.chat-wrap { position: relative; }

@keyframes rise { from { transform: translateY(.45em) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}
@media (max-width: 980px) {
  .story { grid-template-columns: 1fr; }
  .story-head { position: static; }
  .for-you .pillars { grid-template-columns: 1fr; }
  .journal-head { grid-template-columns: 1fr; }
  .rubriques { grid-template-columns: 1fr; }
  .me-visual { margin: 0 auto 32px; }
  .hero-card { max-width: 560px; width: 100%; margin-inline: auto; }
}
@media (max-width: 760px) {
  .proof .note, .note-crea { display: none; }
  .note-mat { top: -34px; font-size: 1.3rem; }
  .note-offer { top: -36px; }
  .post a { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; padding: 22px 4px; }
  .post-meta { grid-column: 1 / -1; flex-direction: row; gap: 12px; }
  .me-visual { min-height: 400px; }
  .desk-mid { top: 150px; }
}
@media (max-width: 640px) {
  .mat { aspect-ratio: 1 / 1.02; }
  .me-visual { min-height: 340px; }
  .desk-mid { top: 120px; }
  .me-visual .me-quote { right: 0; bottom: -24px; max-width: 230px; }
}

/* ============ Pages intérieures, journal, articles, pages légales ============ */
.page-top { padding-top: clamp(48px, 7vw, 96px); }
.narrow { max-width: 820px; }
.page-top h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.02; letter-spacing: var(--track); margin: 16px 0 20px; }
.stage .page-top h1, .stage h1 { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; font: 500 .78rem/1.3 var(--font-mono); color: var(--muted); }
.crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.crumbs a:hover { color: var(--ink); border-color: var(--signal); }
.rubriques a.is-current { border-color: var(--signal); box-shadow: inset 0 0 0 1px var(--signal); }
.rubriques em { display: block; margin-top: 8px; font: 500 .72rem/1 var(--font-mono); font-style: normal; color: var(--signal-ink); }
.posts-empty { padding: 26px 0; color: var(--muted); border-top: 1px solid var(--line-2); }
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: 30px; font: 500 .86rem/1 var(--font-mono); color: var(--muted); }
.pager a, .pager .page-numbers { color: var(--ink); text-decoration: none; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); }
.pager a:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* Article */
.article { padding-top: clamp(40px, 6vw, 80px); }
.art-head { max-width: 900px; }
.art-head h1 { margin: 14px 0 18px; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; letter-spacing: var(--track); text-wrap: balance; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font: 500 .88rem/1.4 var(--font-body); color: var(--muted); }
.art-meta a { color: var(--signal-ink); text-decoration: none; }
.art-meta a:hover { text-decoration: underline; }
.art-lede { margin-top: 22px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 44em; }
.art-layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 56px); align-items: start; }
.art-toc { position: sticky; top: 100px; padding: 18px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.art-toc p { margin-bottom: 10px; font: 500 .74rem/1 var(--font-mono); color: var(--signal-ink); }
.art-toc ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-size: .9rem; line-height: 1.35; }
.art-toc a { color: var(--ink-2); text-decoration: none; }
.art-toc a:hover, .art-toc a.on { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.art-layout.no-toc { grid-template-columns: minmax(0, 720px); justify-content: center; }
.art-foot { max-width: 900px; margin-top: clamp(40px, 6vw, 64px); }
.author { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.author .mark-mini { width: 52px; height: 52px; border-radius: 15px; font-size: 1.1rem; }
.author .mark-mini::after { border-color: var(--surface); }
.author p { color: var(--ink-2); line-height: 1.55; }
.author-name { font: 650 1.1rem/1.3 var(--font-display) !important; color: var(--ink) !important; margin-bottom: 4px; }
.author-links { display: flex; gap: 18px; margin-top: 10px; }
.author-links a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--signal); }
.art-updated { margin-top: 14px; font: 500 .78rem/1 var(--font-mono); color: var(--muted); }
.related h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 12px 0 24px; }

/* Texte courant (articles, pages) */
.prose { font-size: 1.08rem; line-height: 1.75; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.6em; font: 650 1.25rem/1.25 var(--font-display); color: var(--ink); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--signal-ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--signal-ink); }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 3px solid var(--signal); background: var(--surface); border-radius: 0 16px 16px 0; font: 600 1.15rem/1.5 var(--font-display); color: var(--ink); }
.prose img { border-radius: 16px; height: auto; }
.prose code { font: 500 .92em var(--font-mono); background: var(--bg-2); padding: 2px 6px; border-radius: 6px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: left; }

/* Pages légales */
.legal-date { font: 500 .78rem/1 var(--font-mono); color: var(--muted); margin-bottom: 30px; }
.legal-intro { padding: 20px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--ink) !important; }
.legal .prose h2:first-child, .legal .prose > p:first-child + h2 { margin-top: 1.4em; }

/* Page introuvable */
.lost h1 { max-width: 16ch; }
.lost-note { margin: 18px 0 26px; font-size: 1.6rem; color: var(--signal-ink); transform: rotate(-2deg); display: inline-block; }
.lost-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lost-links a { display: inline-flex; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 600; }
.lost-links a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Lien « Gérer mes cookies » et petits réglages */
.foot-copy a { color: inherit; }
.cf-msg.bot.cf-error { background: #3A1C14; color: #FFD7C7; }
@media (max-width: 980px) {
  .art-layout { grid-template-columns: 1fr; }
  .art-toc { position: static; }
}

/* Bandeau cookies maison (Complianz masqué) */
#cmplz-cookiebanner-container, #cmplz-manage-consent, .cmplz-cookiebanner { display: none !important; }
.ckb { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(392px, calc(100vw - 32px)); padding: 20px 22px 16px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -24px rgba(12, 12, 13, .45); opacity: 0; transform: translateY(18px) rotate(-.6deg); transition: opacity .35s, transform .45s var(--ease); }
.ckb.in { opacity: 1; transform: none; }
.consent-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.consent-cookie { width: 40px; height: 40px; flex: none; }
.consent-cookie path { fill: #F1C98B; stroke: var(--ink); stroke-width: 2; }
.consent-cookie circle { fill: var(--ink); }
.ckb.in .consent-cookie { animation: nibble 1.2s .3s var(--ease) both; }
.consent-hand { margin: 0; font-size: 1.6rem; line-height: 1; color: var(--signal-ink); transform: rotate(-2deg); }
.consent-text { font-size: .93rem; line-height: 1.5; color: var(--ink-2); }
.consent-now { margin-top: 8px; font: 500 .76rem/1.3 var(--font-mono); color: var(--signal-ink); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.btn-consent { height: 44px; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: 600 .93rem/1 var(--font-body); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn-consent:hover { background: var(--ink); color: #fff; }
.btn-consent:active { transform: scale(.97); }
.consent-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.consent-foot a { color: var(--ink); font-weight: 600; }
body.consent-open .dock { transform: translateY(150%) !important; }
@keyframes nibble { 0% { transform: rotate(-20deg) scale(.8); } 60% { transform: rotate(8deg) scale(1.05); } 100% { transform: none; } }
@media (max-width: 640px) {
  .ckb { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 16px 18px 14px; }
  .consent-text { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .ckb, .ckb.in .consent-cookie { transition: none; animation: none; } }
.article h1 { text-wrap: pretty; }

/* ---------- Sous-pages : contenus propres (24/09/2026) ---------- */
.chapters-short .chapter { padding-bottom: 16px; }
.chapters-short .ch-body { padding: 14px 18px; }
.chapters-short .ch-body :is(h3, h4) { font-size: 1.12rem; margin-bottom: 4px; }
.chapters-short .ch-body > p:not(.ch-when):not(.ch-keep) { font-size: .94rem; }
.story-more { margin-top: 18px; }
.story-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--ink); border-bottom: 2px solid var(--signal); padding-bottom: 1px; }
.story-more a:hover { color: var(--signal-ink); }
.howto { margin-top: clamp(48px, 6vw, 72px); }
.howto :is(h2, h3) { margin: 0 0 20px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: var(--track); }
.howto .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.detail { margin-top: clamp(64px, 8vw, 100px); }
.detail-head { max-width: 780px; margin-bottom: 32px; }
.detail-head h2 { margin: 12px 0 10px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: var(--track); }
.detail-head p:not(.eyebrow) { color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.detail-item { padding: 28px 26px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 100px; }
.detail-item h3 { margin: 0 0 10px; font-size: 1.45rem; letter-spacing: -.025em; }
.detail-item > p { color: var(--ink-2); line-height: 1.6; }
.detail-item h4 { margin: 22px 0 8px; font: 600 .68rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--signal-ink); }
.detail-item ul, .detail-item ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); line-height: 1.55; font-size: .96rem; }
.detail-item li + li { margin-top: 6px; }
.detail-item li::marker { color: var(--signal-ink); }
.detail-not { margin-top: 18px; padding-top: 12px; border-top: 1px dashed var(--line-2); font-size: .92rem; color: var(--muted); }
.detail-not b { margin-right: 8px; font: 600 1.25rem/1 "Caveat", cursive; color: var(--signal-ink); }
.under { display: grid; gap: 8px; margin: 0; padding-top: 16px; border-top: 1px solid var(--stage-line); }
.under div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.under dt { font: 500 .66rem/1.6 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--stage-muted); }
.under dd { margin: 0; font-size: .88rem; line-height: 1.5; color: #CACACF; }
.contact-more { display: grid; gap: 12px; margin: 30px 0 0; max-width: 440px; }
.contact-more div { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
.contact-more dt { font: 500 .68rem/1.7 var(--font-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--signal); }
.contact-more dd { margin: 0; font-size: .94rem; line-height: 1.5; color: var(--stage-muted); }
.contact-more a { color: #fff; text-decoration: none; border-bottom: 1px solid var(--signal); }
.contact-more a:hover { color: var(--signal); }
@media (max-width: 760px) {
  .detail-grid, .howto .pillars { grid-template-columns: 1fr; }
  .under div, .contact-more div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Témoignages (section absente tant que v2/content/temoignages.php est vide) et liens de lecture ---------- */
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { display: flex; flex-direction: column; gap: 14px; padding: 26px 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.quote blockquote { margin: 0; font: 600 1.12rem/1.45 var(--font-display); letter-spacing: -.015em; color: var(--ink); }
.quote blockquote p::before { content: "« "; color: var(--signal-ink); }
.quote blockquote p::after { content: " »"; color: var(--signal-ink); }
.quote-who { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: .88rem; color: var(--muted); }
.quote-who b { color: var(--ink); font-weight: 600; }
.quote-who a { color: var(--signal-ink); text-decoration: none; font: 500 .74rem/1 var(--font-mono); }
.detail-read { margin-top: 18px; font-size: .95rem; color: var(--ink-2); }
.detail-read b { margin-right: 8px; font: 600 1.25rem/1 "Caveat", cursive; color: var(--signal-ink); }
.detail-read a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--signal); }
.detail-read a:hover { color: var(--signal-ink); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Bande « outils gratuits » de l'accueil ---------- */
.tools-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tools-row a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 18px 18px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .25s, transform .25s var(--ease); }
.tools-row a:hover { border-color: var(--ink); transform: translateY(-2px); }
.tools-row .i { width: 22px; height: 22px; color: var(--signal-ink); }
.tools-row b { font: 650 1rem/1.2 var(--font-display); letter-spacing: -.015em; }
.tools-row span { color: var(--muted); font-size: .84rem; line-height: 1.4; }
@media (max-width: 980px) { .tools-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tools-row { grid-template-columns: 1fr; } }
