/* JC Services — design system */
/* Plus Jakarta Sans auto-hébergée (aucune requête vers Google) */
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/plus-jakarta-sans-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; }

:root {
  --bg: #f6faf8; --surface: #ffffff; --surface-2: #eef6f1; --text: #1f2522; --muted: #56615c;
  --accent: #4a8f75; --accent-ink: #3d7a63; --mint: #9cd4bc; --mint-soft: #e6f6ee; --brown: #6e4726;
  --border: #dce7e1; --on-accent: #ffffff; --btn: #1f2522; --btn-ink: #ffffff;
  --hero-1: #eef9f3; --hero-2: #cfeadd; --shadow: 0 18px 40px -18px rgba(31, 37, 34, .25);
  --radius: 22px; --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111714; --surface: #18201c; --surface-2: #1f2924; --text: #eef6f1; --muted: #a3b2aa;
    --accent: #9cd4bc; --accent-ink: #9cd4bc; --mint-soft: #1f2d27; --brown: #d6a777; --border: #2a3731;
    --on-accent: #111714; --btn: #9cd4bc; --btn-ink: #111714; --hero-1: #22302a; --hero-2: #111714;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #111714; --surface: #18201c; --surface-2: #1f2924; --text: #eef6f1; --muted: #a3b2aa;
  --accent: #9cd4bc; --accent-ink: #9cd4bc; --mint-soft: #1f2d27; --brown: #d6a777; --border: #2a3731;
  --on-accent: #111714; --btn: #9cd4bc; --btn-ink: #111714; --hero-1: #22302a; --hero-2: #111714;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--mint); color: #1f2522; }
img { height: auto; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; vertical-align: -.15em; }

/* ---------- barre du haut + nav ---------- */
.topbar { background: #1f2522; color: #dfe9e4; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.topbar a { color: #9cd4bc; text-decoration: none; font-weight: 700; }
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--border); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.08rem; letter-spacing: -.01em; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: #1f2522; display: grid; place-items: center; overflow: hidden; transition: transform .5s var(--ease); }
.brand-mark img { width: 30px; filter: invert(1); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.08); }
.brand span { color: var(--accent-ink); }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: 9px 14px; border-radius: 999px; color: var(--muted); position: relative; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-links a.active { color: var(--text); background: var(--mint-soft); }
.nav-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.icon-btn:hover { transform: rotate(15deg); background: var(--surface-2); }
.burger { display: none; }
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; background: var(--bg); padding: 12px 16px 24px; gap: 2px; border-bottom: 1px solid var(--border);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 16px; font-size: 1.05rem; }
  .burger { display: grid; }
  .nav-actions .btn { display: none; }
  .topbar .hide-sm { display: none; }
}

/* ---------- boutons ---------- */
.btn { --bx: 0px; --by: 0px; display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: .95rem; border: 0; cursor: pointer; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); transform: translate(var(--bx), var(--by)); transition: transform .25s var(--ease), box-shadow .25s, background .2s; position: relative; overflow: hidden; }
.btn:hover { box-shadow: 0 12px 28px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn.mint { background: var(--mint); color: #1f2522; }
.btn.sm { padding: 10px 18px; font-size: .88rem; }
.btn .lucide { transition: transform .25s var(--ease); }
.btn:hover .lucide-arrow-right { transform: translateX(4px); }

/* ---------- typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); background: var(--mint-soft); padding: 7px 14px; border-radius: 999px; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3, h2.h3 { font-size: 1.2rem; font-weight: 800; line-height: 1.25; letter-spacing: -.025em; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 60ch; }
.hl { color: var(--accent-ink); }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.alt { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { margin: 16px 0 12px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - 108px); display: grid; align-items: center; overflow: hidden;
  background: radial-gradient(110% 90% at 70% 40%, var(--hero-1), var(--hero-2)); isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: 0; }
.hero-stage canvas.scene { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; opacity: 0; animation: stageIn .8s .2s forwards; }
.hero-logo { position: absolute; top: 50%; right: max(16px, calc((100vw - 1180px) / 2)); width: min(40vw, 540px); height: auto; translate: 0 -50%; animation: logoFloat 6s ease-in-out infinite; transition: opacity .6s .9s; }
.hero-stage.has-3d .hero-logo { opacity: 0; }
@keyframes logoFloat { 50% { transform: translateY(-10px) rotate(-1deg); } }
@keyframes stageIn { to { opacity: 1; } }
.hero canvas.scene.grabbing { cursor: grabbing; }
.hero .wrap { position: relative; z-index: 1; pointer-events: none; padding: 60px 0 80px; }
@media (max-width: 1024px) {
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero-stage { position: relative; inset: auto; height: clamp(250px, 52vw, 460px); }
  .hero-logo { right: auto; left: 50%; width: auto; height: 100%; max-width: 94%; object-fit: contain; translate: -50% -50%; }
  .hero .wrap { padding: 0 0 64px; }
  .hero-copy { max-width: 640px; }
}
.hero .wrap a, .hero .wrap button { pointer-events: auto; }
.hero-copy { max-width: 560px; }
.hero h1 { margin: 20px 0 18px; }
.hero h1.hero-kicker { font-size: clamp(.95rem, 1.4vw, 1.1rem); font-weight: 700; letter-spacing: 0; line-height: 1.4; color: var(--muted); margin: 18px 0 6px; }
/* grand titre avec la prestation qui défile (décoratif : le vrai titre de la page est le H1 ci-dessus) */
.hero-title { font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.08; margin: 0 0 18px; }
.ticker { display: block; height: 1.3em; line-height: 1.3em; margin: -.09em 0; overflow: hidden; color: var(--accent-ink); }
.ticker-in { display: block; }
.ticker-in > span { display: block; height: 1.3em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hint { margin-top: 26px; display: inline-flex; gap: 10px; align-items: center; font-size: .85rem; font-weight: 600; color: var(--muted); background: color-mix(in srgb, var(--surface) 70%, transparent); backdrop-filter: blur(8px); padding: 8px 14px; border-radius: 999px; }
.hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 60%, transparent); } 100% { box-shadow: 0 0 0 12px transparent; } }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; translate: -50% 0; z-index: 1; width: 26px; height: 42px; border: 2px solid var(--muted); border-radius: 14px; opacity: .6; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 2px; background: var(--muted); translate: -50% 0; animation: cue 1.6s infinite; }
@keyframes cue { to { transform: translateY(12px); opacity: 0; } }
@media (max-width: 860px) {
  .scroll-cue { display: none; }
  .scroll-cue { display: none; }
}

/* en-tête des pages internes */
.page-hero { position: relative; overflow: hidden; background: radial-gradient(110% 100% at 75% 30%, var(--hero-1), var(--hero-2)); padding: clamp(56px, 8vw, 110px) 0 clamp(56px, 7vw, 90px); isolation: isolate; }
.page-hero .hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.page-hero canvas.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; touch-action: pan-y; cursor: grab; opacity: 0; transition: opacity .8s; }
.page-hero canvas.scene.on { opacity: 1; }
.page-hero .hero-deco::before, .page-hero .hero-deco::after { content: ""; position: absolute; border-radius: 50%; filter: blur(2px); }
.page-hero .hero-deco::before { width: min(46vw, 520px); aspect-ratio: 1; right: -6%; top: -30%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 68%); }
.page-hero .hero-deco::after { width: min(26vw, 280px); aspect-ratio: 1; right: 18%; bottom: -40%; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%); }
.page-hero .wrap { position: relative; z-index: 1; pointer-events: none; }
.page-hero .wrap a, .page-hero .wrap button, .page-hero .wrap input { pointer-events: auto; }
.page-hero h1 { margin: 18px 0 14px; max-width: 14ch; }
.crumbs { font-size: .85rem; color: var(--muted); font-weight: 600; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--accent-ink); }

/* tooltip outil 3D */
.pick-card { position: fixed; z-index: 80; width: 280px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.pick-card.on { opacity: 1; transform: none; pointer-events: auto; }
.pick-card h4 { font-size: 1.05rem; margin: 6px 0 4px; }
.pick-card p { font-size: .88rem; color: var(--muted); margin-bottom: 12px; }
.pick-card .x { position: absolute; top: 10px; right: 10px; background: none; border: 0; color: var(--muted); cursor: pointer; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: #1f2522; color: #eef6f1; padding: 18px 0; border-block: 1px solid #2a3731; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marq 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.25rem; white-space: nowrap; }
.marquee span::after { content: "✦"; color: #9cd4bc; margin-left: 34px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- cartes ---------- */
.grid { display: grid; gap: 20px; }
.g4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 5vw, 64px); align-items: center; }
.card { --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d; transition: transform .4s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--mx) var(--my), color-mix(in srgb, var(--mint) 28%, transparent), transparent 60%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--mint-soft); color: var(--accent-ink); margin-bottom: 18px; transform: translateZ(30px); transition: transform .4s var(--ease), background .3s, color .3s; }
.card .ico .lucide { width: 26px; height: 26px; }
.card:hover .ico { background: var(--accent); color: var(--on-accent); transform: translateZ(40px) rotate(-6deg); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: .9rem; color: var(--accent-ink); text-decoration: none; }
.card .more .lucide { transition: transform .25s; } .card:hover .more .lucide { transform: translateX(4px); }

/* ---------- révélation au défilement ---------- */
.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }

/* ---------- chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.stat { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; color: var(--accent-ink); line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* ---------- jeu « éponge » ---------- */
.scrub { width: 100%; position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; max-height: 620px; box-shadow: var(--shadow); touch-action: none; cursor: none; background: #ddd; user-select: none; }
.scrub img, .scrub canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scrub .sponge { position: absolute; width: 74px; height: 52px; border-radius: 14px; background: linear-gradient(#f4d35e 0 62%, #4a8f75 62%); box-shadow: 0 8px 18px rgba(0, 0, 0, .25); pointer-events: none; translate: -50% -50%; opacity: 0; transition: opacity .2s; }
.scrub:hover .sponge, .scrub.touching .sponge { opacity: 1; }
.scrub .meter { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 12px 16px; border-radius: 16px; background: rgba(17, 23, 20, .72); backdrop-filter: blur(8px); color: #fff; font-weight: 700; display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.scrub .bar { flex: 1; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scrub .bar i { display: block; height: 100%; width: 0; background: #9cd4bc; border-radius: inherit; transition: width .2s; }
.scrub .done { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; background: radial-gradient(circle, rgba(17, 23, 20, .1), rgba(17, 23, 20, .55)); color: #fff; opacity: 0; pointer-events: none; transition: opacity .5s; padding: 20px; }
.scrub.clean .done { opacity: 1; pointer-events: auto; cursor: auto; }
.scrub .done h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.confetti { position: fixed; pointer-events: none; z-index: 90; width: 10px; height: 14px; border-radius: 3px; }

/* ---------- avant / après ---------- */
.ba { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--shadow); user-select: none; touch-action: pan-y; --p: 50%; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--p)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; background: #fff; translate: -50% 0; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #1f2522; display: grid; place-items: center; font-weight: 800; box-shadow: 0 6px 20px rgba(0, 0, 0, .3); }
.ba .tag { position: absolute; top: 14px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: rgba(17, 23, 20, .7); color: #fff; backdrop-filter: blur(6px); }
.ba .tag.l { left: 14px; } .ba .tag.r { right: 14px; background: #9cd4bc; color: #1f2522; }
.ba-cap { margin-top: 14px; font-weight: 700; }

/* ---------- photo / citation ---------- */
.photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; }
.photo > img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); }
.photo .badge { position: absolute; left: 18px; bottom: 18px; right: 18px; padding: 16px 18px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: blur(10px); display: flex; gap: 14px; align-items: center; }
.photo .badge .brand-mark { flex: none; width: 46px; height: 46px; }
.photo .badge .brand-mark img { width: 34px; height: auto; transform: none; }
.photo .badge b { display: block; } .photo .badge small { color: var(--muted); font-weight: 600; }
.quote { font-size: clamp(1.6rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; max-width: 22ch; }
.quote .w { opacity: .15; transition: opacity .4s; } .quote .w.on { opacity: 1; }
.checks { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .lucide { color: var(--accent); flex: none; margin-top: 3px; }

/* ---------- CTA ---------- */
.cta { border-radius: 32px; padding: clamp(36px, 6vw, 72px); background: #1f2522; color: #eef6f1; position: relative; overflow: hidden; display: grid; gap: 24px; grid-template-columns: 1.4fr auto; align-items: center; }
.cta h2 { color: #fff; } .cta p { color: #b9c8c0; margin-top: 10px; }
.cta::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px; background: radial-gradient(circle, rgba(156, 212, 188, .35), transparent 65%); }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }
.cta .btn.ghost { background: transparent; color: #fff; border-color: #3a4a42; }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } }

/* ---------- filtres ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip { font: inherit; font-weight: 700; font-size: .9rem; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); cursor: pointer; transition: .2s; }
.chip:hover { color: var(--text); }
.chip.on { background: var(--btn); color: var(--btn-ink); border-color: transparent; }
.svc.hide { display: none; }
.svc.sel { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 45%, transparent); }
.svc .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.svc .tags span { font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* ---------- galerie ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin-bottom: 18px; border-radius: 20px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--surface-2); }
.gallery img { width: 100%; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; color: #fff; font-weight: 700; font-size: .92rem; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); transform: translateY(100%); transition: transform .4s var(--ease); }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10, 14, 12, .92); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s; padding: 20px; }
.lightbox.on { opacity: 1; pointer-events: auto; }
.lightbox img { max-height: 80vh; max-width: min(92vw, 900px); border-radius: 16px; transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.on img { transform: none; }
.lightbox p { color: #fff; text-align: center; margin-top: 14px; font-weight: 600; }
.lightbox .nav-b { position: absolute; top: 50%; translate: 0 -50%; }
.lightbox .prev { left: 16px; } .lightbox .next { right: 16px; } .lightbox .close { position: absolute; top: 16px; right: 16px; }
.lightbox .icon-btn { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .2); }

/* ---------- formulaires ---------- */
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.steps { display: flex; gap: 8px; margin-bottom: 28px; }
.steps .s { flex: 1; }
.steps .s i { display: block; height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; position: relative; }
.steps .s i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.steps .s.on i::after { transform: none; }
.steps .s small { display: block; margin-top: 8px; font-weight: 700; font-size: .8rem; color: var(--muted); }
.steps .s.on small { color: var(--text); }
.step { display: none; animation: stepIn .5s var(--ease); } .step.on { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tile { font: inherit; text-align: left; padding: 16px; border-radius: 18px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; font-weight: 700; font-size: .9rem; transition: .2s var(--ease); display: grid; gap: 10px; }
.tile .lucide { width: 26px; height: 26px; color: var(--accent); }
.tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.tile.on { background: var(--mint-soft); border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--mint) 40%, transparent); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: .88rem; }
.field input, .field textarea, .field select { font: inherit; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg); color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--mint) 35%, transparent); }
.field .err { color: #c0392b; font-size: .82rem; font-weight: 600; display: none; } .field.bad .err { display: block; } .field.bad input { border-color: #c0392b; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.urg { display: flex; gap: 8px; flex-wrap: wrap; }
.recap { position: sticky; top: 96px; }
.recap dl { display: grid; gap: 12px; margin-top: 16px; }
.recap dt { font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.recap dd { font-weight: 700; min-height: 1.4em; }
.recap dd.empty { color: var(--muted); font-weight: 500; font-style: italic; }
.contact-list { list-style: none; display: grid; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.contact-list li { display: flex; gap: 12px; align-items: center; font-size: .92rem; }
.contact-list .lucide { color: var(--accent); }
.contact-list a { font-weight: 700; text-decoration: none; }

/* timeline */
.timeline { list-style: none; display: grid; gap: 0; margin-top: 24px; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-bottom: 26px; position: relative; opacity: .45; transition: opacity .5s; }
.timeline li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; transition: .4s var(--ease); }
.timeline li.done, .timeline li.now { opacity: 1; }
.timeline li.done .n { background: var(--accent); color: var(--on-accent); }
.timeline li.now .n { background: var(--mint); color: #1f2522; box-shadow: 0 0 0 6px color-mix(in srgb, var(--mint) 35%, transparent); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px transparent; } }
.timeline b { display: block; margin-top: 9px; } .timeline small { color: var(--muted); }
.ref-big { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 800; letter-spacing: .04em; color: var(--accent-ink); }
.note { font-size: .82rem; color: var(--muted); background: var(--surface-2); border-radius: 12px; padding: 10px 14px; display: flex; gap: 8px; align-items: flex-start; }

/* tableau légal */
.legal dl { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; }
.legal dt, .legal dd { padding: 14px 0; border-bottom: 1px solid var(--border); }
.legal dt { color: var(--muted); font-weight: 600; } .legal dd { font-weight: 700; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dt { border: 0; padding-bottom: 0; } }

/* ---------- pied de page ---------- */
.footer { background: #141a17; color: #b9c8c0; padding: 72px 0 28px; margin-top: 0; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer h5, .footer .f-title { color: #fff; font-size: .95rem; font-weight: 800; letter-spacing: normal; line-height: 1.4; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 9px; font-size: .92rem; }
.footer a { text-decoration: none; transition: color .2s; } .footer a:hover { color: #9cd4bc; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .legal-line { border-top: 1px solid #26312c; margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #7f8f87; }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- extras ---------- */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); z-index: 120; }
.cursor { position: fixed; top: 0; left: 0; width: 36px; height: 36px; border: 2px solid var(--accent); border-radius: 50%; pointer-events: none; z-index: 110; translate: -50% -50%; transition: width .25s var(--ease), height .25s var(--ease), background .25s, opacity .25s; mix-blend-mode: normal; opacity: 0; }
.cursor.on { opacity: .9; }
.cursor.big { width: 64px; height: 64px; background: color-mix(in srgb, var(--mint) 25%, transparent); }
@media (pointer: coarse) { .cursor { display: none; } }
.curtain { position: fixed; inset: 0; z-index: 200; background: #9cd4bc; display: grid; place-items: center; transform: translateY(0); transition: transform .6s cubic-bezier(.7, 0, .3, 1); pointer-events: none; }
.curtain img { width: 90px; transition: opacity .3s, transform .6s var(--ease); }
.curtain.out { transform: translateY(-100%); }
.curtain.out img { opacity: 0; transform: translateY(-30px); }
.curtain.in { transform: translateY(0); transition-duration: .45s; }
.fab { position: relative; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: none; place-items: center; box-shadow: var(--shadow); text-decoration: none; }
.fab .lucide { width: 24px; height: 24px; }
@media (max-width: 760px) { .fab { display: grid; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* états d'envoi */
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid currentColor; border-right-color: transparent; display: inline-block; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.note.err-box { background: color-mix(in srgb, #c0392b 12%, var(--surface)); color: var(--text); margin-top: 16px; }
.note.err-box .lucide { color: #c0392b; flex: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.file-drop { display: grid; place-items: center; gap: 8px; text-align: center; padding: 28px 16px; border: 2px dashed var(--border); border-radius: 18px; cursor: pointer; transition: border-color .2s, background .2s; color: var(--muted); font-weight: 600; }
.file-drop:hover, .file-drop.over { border-color: var(--accent); background: var(--mint-soft); }
.file-drop .lucide { width: 30px; height: 30px; color: var(--accent); }
.file-drop input { display: none; }

/* ---------- intro 3D (accueil) ---------- */
.intro { display: none; }
.play-intro .intro { display: block; position: fixed; inset: 0; z-index: 300; cursor: pointer; color: #eef6f1;
  background: radial-gradient(90% 80% at 50% 45%, #22302a 0%, #111714 70%); }
.play-intro .curtain { display: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-load { position: absolute; left: 50%; top: 50%; width: 64px; translate: -50% -50%; filter: invert(1); opacity: .5; animation: introPulse 1.2s ease-in-out infinite; }
.intro-running .intro-load { display: none; }
@keyframes introPulse { 50% { opacity: .15; transform: scale(.92); } }
.intro-txt { position: absolute; left: 0; right: 0; bottom: clamp(56px, 13vh, 130px); text-align: center; pointer-events: none; padding: 0 16px; }
.intro-txt h2 { font-size: clamp(2.2rem, 7vw, 4.6rem); font-weight: 800; letter-spacing: -.03em; color: #fff; line-height: 1; }
.intro-txt h2 span { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(-70deg); transition: opacity .5s, transform .7s cubic-bezier(.2, .8, .2, 1.2); transition-delay: calc(var(--i) * 45ms); }
.intro-txt h2 .sp { width: .3em; }
.intro-txt h2 .hl2 { color: #9cd4bc; }
.intro-txt p { margin-top: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: clamp(.7rem, 1.4vw, .9rem); color: #9cd4bc; opacity: 0; transform: translateY(10px); transition: opacity .6s .55s, transform .6s .55s; }
.intro.txt h2 span { opacity: 1; transform: none; }
.intro.txt p { opacity: 1; transform: none; }
.intro-skip { position: absolute; right: 16px; bottom: 16px; font: inherit; font-weight: 700; font-size: .85rem; color: #eef6f1; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); padding: 10px 16px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px); display: inline-flex; align-items: center; gap: 8px; transition: background .2s; }
.intro-skip:hover { background: rgba(255, 255, 255, .18); }
.intro-bar { position: absolute; left: 0; top: 0; height: 3px; background: #9cd4bc; width: 100%; transform-origin: left; animation: introBar 4.1s linear forwards; }
.intro-running .intro-bar { animation-play-state: running; }
@keyframes introBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- vidéo de présentation ---------- */
.video-frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: #111714; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-frame .sound { position: absolute; right: 14px; bottom: 14px; font: inherit; font-weight: 700; font-size: .85rem; color: #fff; background: rgba(17, 23, 20, .7); border: 1px solid rgba(255, 255, 255, .2); padding: 9px 14px; border-radius: 999px; cursor: pointer; backdrop-filter: blur(8px); display: inline-flex; gap: 8px; align-items: center; }
.video-frame .sound:hover { background: rgba(17, 23, 20, .9); }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 12px; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq[open] { border-color: color-mix(in srgb, var(--accent) 50%, var(--border)); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .lucide { flex: none; color: var(--accent); transition: transform .3s var(--ease); }
.faq[open] summary .lucide { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- avis Google ---------- */
.reviews { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.reviews .score { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.reviews .stars { color: #f4b400; font-size: 1.4rem; letter-spacing: 2px; margin-top: 6px; }
.reviews h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: 6px; }
.reviews p { color: var(--muted); }
.reviews .btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; text-align: center; } .reviews .btns { justify-content: center; } }
.review-cta { margin-top: 22px; padding: 22px; border-radius: 20px; background: var(--mint-soft); display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.review-cta b { display: block; font-size: 1.1rem; } .review-cta span { color: var(--muted); font-size: .92rem; }

/* ---------- avis qui défilent ---------- */
.review-marquee { overflow: hidden; margin-top: 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.review-track { display: flex; gap: 18px; width: max-content; animation: revScroll 38s linear infinite; padding: 6px 0 10px; }
.review-marquee:hover .review-track, .review-marquee:focus-within .review-track { animation-play-state: paused; }
@keyframes revScroll { to { transform: translateX(calc(-50% - 9px)); } }
.rcard { width: min(360px, 78vw); flex: none; background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rcard .stars { color: #f4b400; letter-spacing: 2px; }
.rcard q { quotes: "« " " »"; color: var(--text); font-weight: 500; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rcard .who { display: flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 700; font-size: .92rem; }
.rcard .av { width: 36px; height: 36px; border-radius: 50%; background: var(--mint-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 800; }
.rcard .who small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; }
@media (prefers-reduced-motion: reduce) { .review-track { animation: none; flex-wrap: wrap; width: auto; } .review-track [aria-hidden="true"] { display: none; } }

/* ---------- WhatsApp ---------- */
.fabs { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.fab-wa { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 16px; border-radius: 999px; background: #25d366; color: #fff; text-decoration: none; font-weight: 800; box-shadow: var(--shadow); transition: transform .2s; }
.fab-wa:hover { transform: translateY(-2px); }
.wa-ico { width: 26px; height: 26px; flex: none; }
.btn .wa-ico { width: 20px; height: 20px; }
.btn.wa { background: #25d366; color: #fff; }
@media (max-width: 760px) { .fab-wa { width: 58px; padding: 0; justify-content: center; } .fab-wa span { display: none; } }

/* ---------- lien d'évitement ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 400; background: var(--accent); color: var(--on-accent); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- ligne de confiance ---------- */
.trust-line { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 18px 0 0; font-size: .88rem; font-weight: 600; }
.trust-line li { display: inline-flex; align-items: center; gap: 8px; }
.trust-line .lucide { width: 16px; height: 16px; color: #9cd4bc; }
.footer .trust-line { margin-top: 36px; color: #b9c8c0; }
.cta .trust-line { color: #cfe0d7; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); padding: 0 22px; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .lucide { flex: none; transition: transform .25s; color: var(--accent-ink); }
.faq-item[open] summary .lucide { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* ---------- mobile : le bouton WhatsApp flottant ne masque jamais le bas de page ---------- */
@media (max-width: 760px) { body { padding-bottom: 92px; } }

/* ---------- espacements resserrés (accueil : cartes -> « Passez l'éponge ») ---------- */
.section.tight-b { padding-bottom: clamp(40px, 5vw, 64px); }
.section.tight-t { padding-top: clamp(40px, 5vw, 64px); }
.g2.top { align-items: start; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
