/* ============================================================
   Nuxa v2 — démo
   ============================================================ */

:root {
    --paper: #f7f6f2;
    --paper-2: #efede6;
    --ink: #0b0b0f;
    --ink-2: #26262e;
    --muted: #52525c;
    --line: rgba(11, 11, 15, .1);
    --night: #0b0b0f;
    --night-2: #15151c;
    --violet: #8b5cf6;
    --violet-2: #a855f7;
    --cyan: #06b6d4;
    --grad: linear-gradient(120deg, #a855f7 0%, #6366f1 45%, #06b6d4 100%);
    --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --r: 22px;
    --gutter: clamp(16px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; -webkit-tap-highlight-color: transparent; }
html.menu-open { overflow: hidden; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--violet); color: #fff; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad-text, .grad-text .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad-text .w > span { padding-right: .05em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 22px;
}
.eyebrow.light { color: rgba(255,255,255,.78); }
.h2 {
    font-size: clamp(38px, 6.2vw, 92px);
    line-height: 1.02; letter-spacing: -.035em; font-weight: 600;
    margin: 0 0 28px;
}
.h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0 0 18px; }
.lead { font-size: clamp(19px, 1.5vw, 22px); line-height: 1.6; color: var(--ink-2); max-width: 640px; margin: 0; }

/* Mots découpés (JS) */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; will-change: transform; }

/* Boutons -------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 26px; border-radius: 999px; border: 0;
    font-weight: 500; font-size: 16px; line-height: 1;
    transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
    position: relative; will-change: transform;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-dark { background: var(--ink); color: #fff; }

.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(139, 92, 246, .6); }

.btn-ghost { border: 1px solid var(--line); background: rgba(255,255,255,.5); backdrop-filter: blur(8px); }

.btn-light { background: #fff; color: var(--ink); }

/* Loader --------------------------------------------------- */
.loader {
    position: fixed; inset: 0; z-index: 200; background: var(--night); color: #fff;
    display: grid; place-items: center;
}
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.loader-logo { width: 64px; height: 64px; }
.loader-logo path { stroke-dasharray: 60; stroke-dashoffset: 60; }
.loader-dot { transform-box: fill-box; transform-origin: center bottom; animation: logo-hop 1s .85s var(--ease) both; }
.loader-count { font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.5); font-variant-numeric: tabular-nums; }
.no-js .loader, .reduced .loader { display: none; }
@media (prefers-reduced-motion: reduce) { .logo *, .loader-dot { animation: none !important; } }

/* Curseur --------------------------------------------------
   Invisible par défaut (la flèche normale suffit). Une bulle « Voir »
   apparaît seulement sur les éléments cliquables marqués data-cursor. */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; width: 0; height: 0; }
.cursor-label {
    position: absolute; left: -44px; top: -44px; width: 88px; height: 88px; border-radius: 50%;
    display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
    opacity: 0; transform: scale(.3);
    transition: opacity .25s var(--ease), transform .4s var(--ease);
}
.cursor.is-big .cursor-label { opacity: 1; transform: none; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Header --------------------------------------------------- */
.header {
    position: fixed; top: calc(14px + env(safe-area-inset-top, 0px)); left: 50%; z-index: 100;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 28px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
    padding: 8px 8px 8px 14px; border-radius: 18px;
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(18px) saturate(1.6);
    border: 1px solid rgba(11, 11, 15, .08);
    box-shadow: 0 1px 2px rgba(11,11,15,.04), 0 12px 32px -14px rgba(11,11,15,.22);
    color: var(--ink);
    transition: transform .5s var(--ease), box-shadow .3s;
}
.header-progress { position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--grad); transform-origin: left; transform: scaleX(var(--progress, 0)); }

.brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 22px; letter-spacing: -.035em; }
.logo { display: block; overflow: visible; }
.logo-n { stroke-dasharray: 1; stroke-dashoffset: 0; }
.logo-dot { transform-box: fill-box; transform-origin: center bottom; }
.brand.is-intro .logo-n, .brand:focus-visible .logo-n { animation: logo-draw .9s var(--ease); }
.brand.is-intro .logo-dot, .brand:focus-visible .logo-dot { animation: logo-hop .9s var(--ease); }
.brand.is-intro .logo-tile { animation: logo-tilt .9s var(--ease); }
.logo-tile { transform-box: fill-box; transform-origin: center; }
@keyframes logo-draw { 0% { stroke-dashoffset: 1; } 70%, 100% { stroke-dashoffset: 0; } }
@keyframes logo-hop {
    0%, 30% { transform: translateY(0) scale(0); }
    45% { transform: translateY(-5px) scale(1.15, .9); }
    62% { transform: translateY(0) scale(1.2, .75); }
    76% { transform: translateY(-2px) scale(.95, 1.05); }
    100% { transform: translateY(0) scale(1); }
}
@keyframes logo-tilt { 30% { transform: rotate(-6deg) scale(.96); } 100% { transform: none; } }

/* Menu épuré : du texte, un trait dégradé qui glisse sous le lien survolé ou actif */
.nav { position: relative; display: flex; gap: 4px; }
.nav a { position: relative; z-index: 1; padding: 10px 14px; font-size: 16px; font-weight: 500; color: var(--muted); transition: color .25s; }
.nav a.is-active { color: var(--ink); font-weight: 600; }
.nav-pill { position: absolute; bottom: 3px; left: 0; height: 2.5px; width: 0; border-radius: 3px; background: var(--grad); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s; }
.btn-cta { justify-self: end; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600; }
.btn-cta span { display: inline-block; transition: transform .3s var(--ease); }

.burger { display: none; height: 44px; padding: 0 16px 0 42px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; position: relative; }
.burger b { font-weight: 600; }
.burger span { position: absolute; left: 15px; width: 16px; height: 2px; background: #fff; transition: transform .35s var(--ease); }
.burger span:first-of-type { top: 18px; } .burger span:last-of-type { top: 24px; }
.burger[aria-expanded="true"] span:first-of-type { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-of-type { transform: translateY(-3px) rotate(-45deg); }
.mobile-menu {
    position: fixed; inset: 0; z-index: 90; background: var(--paper);
    display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 28px;
    clip-path: circle(0 at calc(100% - 44px) 40px); transition: clip-path .7s var(--ease);
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
.mobile-menu a { font-size: 46px; font-weight: 600; letter-spacing: -.04em; }
@media (max-width: 860px) {
    .header { grid-template-columns: 1fr auto; }
    .nav, .header > .btn { display: none; }
    .burger { display: inline-flex; align-items: center; justify-self: end; }
}

/* Hero ----------------------------------------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 140px 0 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero .b1 { width: 46vw; height: 46vw; background: #c4b5fd; top: -12vw; right: -8vw; animation: float1 18s ease-in-out infinite; }
.hero .b2 { width: 34vw; height: 34vw; background: #a5f3fc; top: 18vh; right: 22vw; animation: float2 22s ease-in-out infinite; }
.hero .b3 { width: 26vw; height: 26vw; background: #f5d0fe; bottom: -6vw; right: 4vw; animation: float1 26s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-6vw, 5vh) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(5vw, -4vh) scale(.92); } }
.grid-lines {
    position: absolute; inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 84px 84px;
    mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 65%);
    opacity: .6;
}
.hero-inner { position: relative; }
.hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; animation: hero3d-in 1.6s 1.6s var(--ease) forwards; }
@keyframes hero3d-in { to { opacity: 1; } }
.hero.is-3d-hover { cursor: pointer; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hero-title {
    font-size: clamp(56px, 12.5vw, 196px); line-height: .9; letter-spacing: -.06em; font-weight: 600;
    margin: 0 0 48px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; }
.hero-title .serif { font-size: 1.08em; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.hero-sub { font-size: clamp(19px, 1.7vw, 24px); max-width: 560px; margin: 0; color: var(--ink-2); line-height: 1.45; }
.rotator { display: inline-block; position: relative; overflow: hidden; vertical-align: bottom; height: 1.45em; }
.rotator-word { display: inline-block; font-weight: 600; color: var(--ink); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 1.5px solid var(--ink-2); border-radius: 14px; opacity: .45; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Marquee -------------------------------------------------- */
.marquee { position: relative; background: var(--night); color: #fff; padding: 26px 0; overflow: hidden; transform: rotate(-1.6deg) scale(1.04); margin: 20px 0 40px; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 44px; padding-right: 44px; font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.mq-item { display: inline-flex; align-items: center; gap: 14px; }
.mq-item i { position: relative; flex-shrink: 0; width: .6em; height: .6em; border-radius: 50%; background: var(--grad); font-size: inherit; color: transparent; overflow: hidden; box-shadow: 0 0 18px rgba(139,92,246,.55); }
.mq-item i::after { content: ''; position: absolute; left: 50%; top: 46%; width: .13em; height: .25em; border: solid #fff; border-width: 0 .05em .05em 0; transform: translate(-50%, -50%) rotate(45deg); }
/* Badge fixe à gauche : le message passe avant la liste */
.mq-badge {
    position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 14px;
    padding: 0 56px 0 max(var(--gutter), 24px); background: linear-gradient(90deg, var(--night) calc(100% - 50px), rgba(11,11,15,0));
}
.mq-badge svg { width: 42px; height: 42px; flex-shrink: 0; fill: none; stroke: #6ee7b7; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mq-badge svg path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: mq-check 3.2s var(--ease) infinite; }
.mq-badge svg circle { stroke: rgba(110,231,183,.35); }
@keyframes mq-check { 0% { stroke-dashoffset: 20; } 25%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.mq-badge span { display: flex; flex-direction: column; font-size: 15px; line-height: 1.15; color: rgba(255,255,255,.7); white-space: nowrap; }
.mq-badge b { font-size: 21px; letter-spacing: -.02em; color: #fff; }
@media (max-width: 640px) {
    .mq-badge { padding-right: 44px; gap: 10px; }
    .mq-badge svg { width: 30px; height: 30px; }
    .mq-badge span { font-size: 12px; }
    .mq-badge b { font-size: 16px; }
    .marquee-group { gap: 30px; padding-right: 30px; }
}

/* Pillars -------------------------------------------------- */
.pillars { padding: 120px var(--gutter) 140px; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.pillar {
    position: relative; padding: 36px; border-radius: 32px; background: #fff; border: 1px solid var(--line);
    min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end;
    transform-style: preserve-3d; transition: box-shadow .5s var(--ease);
    overflow: hidden;
}

.pillar-dark { background: var(--night); color: #fff; border-color: transparent; }
.pillar-num { position: absolute; top: 30px; right: 34px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.pillar h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; letter-spacing: -.04em; margin: 0 0 14px; font-weight: 600; }
.pillar p { margin: 0 0 26px; color: var(--ink-2); max-width: 470px; }
.pillar-dark p { color: rgba(255,255,255,.86); }
.pillar-link { font-weight: 600; display: inline-flex; gap: 8px; }
.pillar-link span { transition: transform .4s var(--ease); }

.pillar-visual { position: absolute; top: 40px; left: 36px; right: 36px; height: 280px; }
.pv-site { background: var(--paper); border-radius: 18px; border: 1px solid var(--line); padding: 46px 26px 20px; }
.pv-window { position: absolute; top: 14px; left: 16px; display: flex; gap: 6px; }
.pv-window i { width: 10px; height: 10px; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.pv-block { height: 22px; border-radius: 8px; background: var(--paper-2); margin-bottom: 14px; transform-origin: left; }
.pv-block.w60 { width: 60%; height: 34px; } .pv-block.w90 { width: 90%; } .pv-block.w40 { width: 40%; }
.pv-block.accent { background: var(--grad); }

@keyframes grow { from { transform: scaleX(.2); } }
.pv-cursor { position: absolute; width: 18px; height: 18px; left: 60%; top: 62%; border-left: 2px solid var(--ink); animation: blink 1s steps(1) infinite; height: 26px; }
@keyframes blink { 50% { opacity: 0; } }

.pv-app { display: flex; align-items: flex-end; justify-content: center; gap: 16px; }
.pv-app > div { border: 2px solid rgba(255,255,255,.18); background: linear-gradient(160deg, rgba(168,85,247,.35), rgba(6,182,212,.25)); transition: transform .6s var(--ease); }
.pv-tv { width: 62%; height: 72%; border-radius: 12px; }
.pv-phone { width: 15%; height: 62%; border-radius: 16px; }
.pv-watch { width: 12%; height: 26%; border-radius: 14px; }

@media (max-width: 860px) {
    .pillar-grid { grid-template-columns: 1fr; }
    .pillar { min-height: 0; padding: 26px; }
    .pillar-visual { position: relative; top: auto; left: auto; right: auto; height: 200px; margin: 14px 0 30px; }
}

/* Sites + admin ------------------------------------------- */
.sites { padding: 40px 0 140px; }
.sites-head { margin-bottom: 60px; }
.admin-demo { display: grid; grid-template-columns: 420px 1fr; gap: 20px; align-items: stretch; }
.admin, .preview { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 30px 70px -40px rgba(11,11,15,.35); }
.admin-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; }
.admin-logo { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
.admin-status { color: #16a34a; font-size: 13px; transition: color .3s; }
.admin-status.is-dirty { color: #d97706; }
.admin-body { display: grid; grid-template-columns: 112px 1fr; }
.admin-side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-right: 1px solid var(--line); background: #fbfbf9; font-size: 13px; color: var(--muted); }
.admin-side span { padding: 7px 10px; border-radius: 8px; }
.admin-side .is-active { background: var(--ink); color: #fff; }
.admin-form { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.admin-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.admin-form input {
    font: inherit; font-size: 16px; color: var(--ink); padding: 11px 13px; border-radius: 12px;
    border: 1px solid var(--line); background: #fff; outline: none; transition: border-color .2s, box-shadow .2s;
}
.admin-form input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139,92,246,.15); }
.admin-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-2); }
.admin-lbl { font-weight: 500; }
.swatches { display: flex; gap: 8px; }
.sw { width: 26px; height: 26px; border-radius: 50%; border: 0; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 0 0 3px transparent; transition: box-shadow .2s, transform .2s; }

.sw.is-active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.toggle { width: 46px; height: 26px; border-radius: 999px; border: 0; background: #d4d4d8; position: relative; transition: background .3s; padding: 0; }
.toggle span { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .35s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.is-on { background: #22c55e; }
.toggle.is-on span { transform: translateX(20px); }
.admin-publish { margin-top: 4px; padding: 13px; border-radius: 12px; border: 0; background: var(--ink); color: #fff; font-weight: 600; transition: background .25s, transform .15s; }

.admin-publish:active { transform: scale(.97); }

.preview { position: relative; display: flex; flex-direction: column; background: #fafafa; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e7; }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--muted); background: var(--paper); padding: 4px 14px; border-radius: 999px; }
.preview-site { flex: 1; padding: 22px 30px 30px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, #fff), #fff 60%); transition: background .6s var(--ease); }
.ps-nav { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 46px; }
.ps-nav b { color: var(--ink); font-weight: 600; }
.ps-hero h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 4.4vw, 66px); line-height: 1; letter-spacing: -.02em; margin: 0 0 12px; color: var(--accent); transition: color .6s var(--ease); min-height: 1em; }
.ps-hero p { margin: 0 0 22px; color: var(--ink-2); font-size: 17px; min-height: 1.6em; }
.ps-btn { display: inline-block; padding: 11px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 500; transition: background .6s var(--ease); }
.ps-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.ps-card { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.ps-card small { font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; transition: color .6s; }
.ps-card b { font-weight: 600; font-size: 16px; }
.ps-event.is-hidden { opacity: 0; transform: translateY(10px) scale(.96); }
.flash { animation: flash .8s var(--ease); }
@keyframes flash { 0% { background: color-mix(in srgb, var(--violet) 22%, transparent); } 100% { background: transparent; } }
.publish-toast { position: absolute; bottom: 20px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; transition: all .5s var(--ease); }
.publish-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; padding-top: 8px; padding-bottom: 8px; }
/* Tuiles épurées : blanches au repos. Au survol (ou au toucher), la couleur
   se répand depuis le point d'entrée du doigt / de la souris, et la tuile
   se soulève avec une fine tranche colorée (effet 3D discret). */
.feature {
    --g: linear-gradient(135deg, #ff8a4c 0%, #ff4d6d 100%); --end: #ff4d6d; --edge: #c92a4b; --x: 30px; --y: 30px;
    position: relative; padding: 28px 26px 30px; border-radius: 22px; color: var(--ink);
    /* Contour en ombre interne (pas de vraie bordure) : rien ne dépasse autour de la couleur */
    background-color: #fff; border: 0; isolation: isolate; overflow: hidden;
    box-shadow: inset 0 0 0 1px var(--line), 0 0 0 transparent, 0 0 0 transparent;
    transition: color .45s var(--ease), background-color 0s, box-shadow .6s var(--ease), translate .6s var(--ease);
    cursor: default;
}
.feature[data-f="rdv"]   { --g: linear-gradient(135deg, #a855f7 0%, #6366f1 50%, #06b6d4 100%); --end: #3b82f6; --edge: #4338ca; }
.feature[data-f="event"] { --g: linear-gradient(135deg, #ffc046 0%, #ff7a3d 55%, #f43f5e 100%); --end: #f97316; --edge: #c2410c; }
.feature[data-f="seo"]   { --g: linear-gradient(135deg, #2ee6a8 0%, #14b8c4 50%, #3b82f6 100%); --end: #14b8c4; --edge: #0e7490; }
.feature::before {
    content: ""; position: absolute; inset: -1px; z-index: -1;
    background: radial-gradient(110% 70% at 10% 0%, rgba(255,255,255,.3), rgba(255,255,255,0) 55%), var(--g);
    clip-path: circle(0 at var(--x) var(--y));
    transition: clip-path .75s var(--ease);
}
/* Une fois rempli, le fond prend aussi la couleur : plus de liseré clair dans les coins arrondis */
.feature.is-filled { color: #fff; background-color: var(--end); translate: 0 -6px; box-shadow: inset 0 0 0 0 transparent, 0 0 0 transparent, 0 26px 40px -20px var(--edge); transition: color .45s var(--ease), background-color 0s .45s, box-shadow .6s var(--ease), translate .6s var(--ease); }
.feature.is-filled::before { clip-path: circle(150% at var(--x) var(--y)); }

/* Icônes épurées : un trait fin, rien d'autre. Tracées à l'apparition */
.f-ico { display: block; width: 36px; height: 36px; margin-bottom: 26px; }
.f-ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.f-ico svg * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.feature.is-in .f-ico svg * { animation: f-draw 1.2s var(--ease) both; }
.feature.is-in .f-ico svg :nth-child(2) { animation-delay: .15s; }
.feature.is-in .f-ico svg :nth-child(3) { animation-delay: .3s; }
@keyframes f-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.f-needle { transform-origin: 12px 16px; transform: rotate(35deg); }
.feature.is-in .f-needle { animation: f-draw .6s var(--ease) both, f-needle 1.4s .3s var(--ease) both; }
@keyframes f-needle { 0% { transform: rotate(-80deg); } 55% { transform: rotate(50deg); } 100% { transform: rotate(35deg); } }
.feature h4 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.feature p { margin: 0; font-size: 16px; color: var(--muted); transition: color .45s var(--ease); }
.feature.is-filled p { color: inherit; opacity: .9; }
@media (max-width: 1000px) {
    .admin-demo { grid-template-columns: 1fr; }
    .feature-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .admin-body { grid-template-columns: 1fr; }
    .admin-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .admin-side span { white-space: nowrap; }
    .feature-row { grid-template-columns: 1fr; }
    .preview-site { padding: 18px; }
    .ps-cards { grid-template-columns: 1fr; }
}

/* Apps ---------------------------------------------------- */
.apps { background: var(--night); color: #fff; padding: 140px 0 120px; border-radius: 48px 48px 0 0; position: relative; }
.apps .eyebrow { color: rgba(255,255,255,.78); }
.apps .lead { color: rgba(255,255,255,.86); }
.apps-pin { position: relative; }
.apps-head { position: relative; z-index: 2; }
.stage { position: relative; height: clamp(360px, 52vw, 720px); max-width: 1320px; margin: 40px auto 0; }
.dev { position: absolute; }
.screen { position: relative; overflow: hidden; background: #000; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .9s var(--ease); }
.screen img.is-on { opacity: 1; }
.dev-tv { left: 14%; top: 0; width: 66%; }
.dev-tv .screen { aspect-ratio: 16/9; border-radius: 10px; border: 8px solid #1d1d24; box-shadow: 0 50px 100px -30px rgba(139,92,246,.45), 0 0 0 1px rgba(255,255,255,.06); }
.dev-tv::after { content: ''; display: block; width: 26%; height: 12px; margin: 0 auto; background: #1d1d24; border-radius: 0 0 10px 10px; }
.dev-laptop { left: 2%; bottom: 4%; width: 36%; }
.dev-laptop .screen { aspect-ratio: 16/10; border-radius: 10px 10px 0 0; border: 7px solid #26262e; border-bottom-width: 12px; }
.dev-laptop .base { height: 12px; margin: 0 -7%; background: linear-gradient(#3a3a44, #1f1f26); border-radius: 0 0 14px 14px; }
.dev-phone { right: 9%; bottom: 0; width: 15%; }
.dev-phone .screen { aspect-ratio: 9/19.5; border-radius: 26px; border: 6px solid #26262e; box-shadow: 0 30px 60px -20px rgba(6,182,212,.4); }
.dev-watch { right: 2%; top: 22%; width: 9%; }
.dev-watch .screen { aspect-ratio: 4/5; border-radius: 30%; border: 5px solid #26262e; }
.watch-ui { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2px; background: radial-gradient(circle at 50% 0%, #3b0764, #000 70%); text-align: center; }
.watch-ui b { font-size: clamp(14px, 1.7vw, 26px); letter-spacing: -.03em; }
.watch-ui span { font-size: clamp(7px, .7vw, 11px); color: #f472b6; }
.watch-ui small { font-size: clamp(7px, .7vw, 11px); color: rgba(255,255,255,.78); }

.platforms { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 60px; }
.plat-group { display: flex; flex-direction: column; padding: 14px 14px 20px; border-radius: 24px; background: linear-gradient(180deg, #1a1a22, var(--night-2)); border: 1px solid rgba(255,255,255,.07); transition: border-color .4s, transform .5s var(--ease); }
.plat-group h4 { margin: 18px 8px 10px; font-size: 21px; letter-spacing: -.03em; }
.pl-chips { list-style: none; margin: 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pl-chips li { padding: 4px 10px; border-radius: 99px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.88); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }

/* Scènes : un appareil dessiné en CSS, son écran s'anime une fois visible */
.pl-scene { position: relative; height: 128px; border-radius: 16px; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 110%, rgba(139,92,246,.22), transparent 60%), rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.05); }
.pl-scene * { animation-play-state: paused !important; }
.plat-group.is-in .pl-scene * { animation-play-state: running !important; }
.pl-scene > div { transition: transform .6s var(--ease); }
.pl-scene b { display: block; border-radius: 3px; background: rgba(255,255,255,.14); }
.pl-scene b:nth-child(odd) { background: linear-gradient(90deg, rgba(168,85,247,.85), rgba(6,182,212,.85)); }
@keyframes pl-grow { 0%, 100% { transform: scaleX(.35); } 50% { transform: scaleX(1); } }
@keyframes pl-pop { 0%, 20% { opacity: .25; transform: scale(.9); } 35%, 85% { opacity: 1; transform: none; } 100% { opacity: .25; } }

/* Web : fenêtre de navigateur, lignes qui se chargent */
.pl-web { width: 112px; height: 76px; border-radius: 10px; border: 1.5px solid rgba(255,255,255,.3); padding: 18px 10px 0; position: relative; display: flex; flex-direction: column; gap: 7px; }
.pl-dots { position: absolute; top: 6px; left: 8px; display: flex; gap: 3px; }
.pl-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.35); }
.pl-web b { height: 7px; transform-origin: left; animation: pl-grow 2.6s ease-in-out infinite; }
.pl-web .l2 { width: 80%; animation-delay: .3s; } .pl-web .l3 { width: 60%; animation-delay: .6s; }

/* Ordinateur : tableau de bord, blocs qui apparaissent */
.pl-laptop { display: flex; flex-direction: column; align-items: center; }
.pl-scr { width: 112px; height: 70px; border-radius: 8px 8px 2px 2px; border: 1.5px solid rgba(255,255,255,.3); display: grid; grid-template-columns: 18px 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 5px; padding: 6px; }
.pl-scr .side { grid-row: span 2; background: rgba(255,255,255,.1); }
.pl-scr .c1, .pl-scr .c2, .pl-scr .c3 { animation: pl-pop 3s var(--ease) infinite; }
.pl-scr .c2 { animation-delay: .4s; } .pl-scr .c3 { grid-column: span 2; animation-delay: .8s; }
.pl-base { width: 134px; height: 5px; margin-top: 1px; border-radius: 0 0 6px 6px; background: rgba(255,255,255,.3); }

/* Mobile : le fil défile */
.pl-phone { width: 46px; height: 92px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.3); padding: 10px 6px; overflow: hidden; position: relative; }
.pl-phone::before { content: ''; position: absolute; top: 4px; left: 50%; width: 14px; height: 3px; margin-left: -7px; border-radius: 3px; background: rgba(255,255,255,.3); }
.pl-feed { display: flex; flex-direction: column; gap: 5px; animation: pl-feed 4s cubic-bezier(.65,0,.35,1) infinite; }
.pl-feed b { height: 16px; flex-shrink: 0; border-radius: 4px; }
@keyframes pl-feed { 0%, 15% { transform: none; } 50%, 65% { transform: translateY(-42px); } 100% { transform: none; } }

/* Montre : l'anneau d'activité se remplit */
.pl-watch { width: 54px; height: 64px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; position: relative; }
.pl-watch::before, .pl-watch::after { content: ''; position: absolute; left: 12px; right: 12px; height: 22px; background: rgba(255,255,255,.12); }
.pl-watch::before { top: -23px; border-radius: 6px 6px 0 0; } .pl-watch::after { bottom: -23px; border-radius: 0 0 6px 6px; }
.pl-ring { position: absolute; inset: 7px; border-radius: 50%; background: conic-gradient(#a855f7, #06b6d4 var(--p), rgba(255,255,255,.1) 0); -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); animation: pl-ring 3.4s var(--ease) infinite; }
@property --p { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes pl-ring { 0% { --p: 0%; } 70%, 90% { --p: 100%; } 100% { --p: 0%; } }
.pl-time { font-size: 10px; font-weight: 700; color: #fff; }

/* Télévision : les chaînes défilent, une à une en surbrillance */
.pl-tv { display: flex; flex-direction: column; align-items: center; }
.pl-tvscr { width: 124px; height: 72px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.3); display: grid; grid-template-columns: repeat(4, 1fr); align-items: end; gap: 5px; padding: 8px; }
.pl-tvscr b { height: 32px; background: rgba(255,255,255,.12) !important; animation: pl-chan 4s var(--ease) infinite; }
.pl-tvscr b:nth-child(2) { animation-delay: 1s; } .pl-tvscr b:nth-child(3) { animation-delay: 2s; } .pl-tvscr b:nth-child(4) { animation-delay: 3s; }
@keyframes pl-chan { 0%, 30% { background: linear-gradient(180deg, #a855f7, #06b6d4); transform: translateY(-6px) scale(1.08); box-shadow: 0 6px 16px rgba(139,92,246,.5); } 35%, 100% { background: rgba(255,255,255,.12); transform: none; box-shadow: none; } }
.pl-stand { width: 34px; height: 8px; border-bottom: 2px solid rgba(255,255,255,.3); border-left: 2px solid transparent; border-right: 2px solid transparent; }
@media (hover: hover) and (pointer: fine) {
    .plat-group:hover .pl-scene > div { transform: translateY(-4px) scale(1.06); }
}

.case { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; margin-top: 140px; }
.case-logo { width: 180px; margin-bottom: 26px; }
.case-text > p { color: rgba(255,255,255,.86); margin: 0 0 30px; }
.stats-mini { display: flex; gap: 36px; margin-bottom: 26px; }
.stats-mini b { display: block; font-size: 52px; font-weight: 600; letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-mini span { font-size: 14px; color: rgba(255,255,255,.78); }
.chips { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); font-size: 14px; color: rgba(255,255,255,.8); }
.case-shots { position: relative; aspect-ratio: 1 / .85; }
.cs { position: absolute; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.08); }
.cs1 { width: 82%; top: 0; left: 0; }
.cs2 { width: 70%; bottom: 0; right: 4%; }
.cs3 { width: 24%; top: 18%; right: 0; border-radius: 22px; }

@media (max-width: 1000px) {
    .platforms { grid-template-columns: 1fr 1fr; }
    .plat-group:last-child { grid-column: span 2; }
    .case { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .apps { border-radius: 28px 28px 0 0; padding-top: 100px; }
    .dev-tv { left: 0; width: 86%; }
    .dev-laptop { width: 52%; bottom: 10%; }
    .dev-phone { width: 24%; right: 2%; }
    .dev-watch { width: 15%; right: 0; top: 2%; }
    .stage { height: 360px; }
    .stats-mini { gap: 22px; } .stats-mini b { font-size: 40px; }
}

/* Logiciel sur mesure : les 4 engagements ------------------ */
.bespoke { margin-top: 140px; }
.bespoke-head { max-width: 780px; margin-bottom: 44px; }
.bespoke-head .eyebrow { color: rgba(255,255,255,.78); }
.bespoke-head .h2 { font-size: clamp(36px, 5vw, 72px); }
.bespoke-head .lead { color: rgba(255,255,255,.82); }
.bespoke-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 1200px; }
.bespoke-card { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: 26px; background: linear-gradient(180deg, #1a1a22, var(--night-2)); border: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.bespoke-card h4 { margin: 26px 0 4px; font-size: clamp(24px, 2.2vw, 30px); letter-spacing: -.035em; line-height: 1.05; }
.bespoke-card p { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.01em; color: rgba(255,255,255,.88); }

/* Scènes animées : en pause hors écran, en boucle une fois visibles */
.bk-scene { position: relative; height: 150px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.bk-scene * { animation-play-state: paused !important; }
.bespoke-card.is-in .bk-scene * { animation-play-state: running !important; }

/* 1. Sur mesure : des réglages qui s'ajustent */
.sc-tune { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 0 26px; }
.trk { position: relative; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); }
.trk i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit; background: var(--grad); width: var(--from); animation: tune var(--d) cubic-bezier(.65,0,.35,1) infinite alternate; }
.trk i::after { content: ''; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(168,85,247,.25), 0 4px 12px rgba(0,0,0,.5); }
@keyframes tune { to { width: var(--to); } }

/* 2. Sécurisé : le cadenas se ferme, ondes de protection */
.sc-lock { display: grid; place-items: center; }
.sc-lock svg { position: relative; width: 52px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px rgba(168,85,247,.6)); }
.sc-lock .shackle { animation: shackle 3s var(--ease) infinite; }
@keyframes shackle { 0%, 15% { transform: translateY(-7px); } 35%, 100% { transform: none; } }
.sc-lock rect { animation: lock-glow 3s var(--ease) infinite; }
@keyframes lock-glow { 0%, 30% { stroke: #fff; } 40%, 90% { stroke: #6ee7b7; } 100% { stroke: #fff; } }
.ring { position: absolute; left: 50%; top: 50%; width: 90px; height: 90px; margin: -45px 0 0 -45px; border-radius: 50%; border: 1.5px solid rgba(110,231,183,.6); animation: ring 3s ease-out infinite; animation-delay: .9s; opacity: 0; }
.ring.r2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* 3. SAV : le ticket passe de « signalé » à « corrigé » */
.sc-ticket { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 0 18px; }
.tk { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 14px; color: rgba(255,255,255,.85); opacity: .25; animation: tk 6s var(--ease) infinite; }
.tk b { width: 9px; height: 9px; border-radius: 50%; background: #f87171; flex-shrink: 0; }
.tk.t2 { animation-delay: .9s; } .tk.t2 b { background: #fbbf24; }
.tk.t3 { animation-delay: 1.8s; } .tk.t3 b { background: #34d399; box-shadow: 0 0 10px #34d399; }
@keyframes tk { 0% { opacity: .25; transform: translateX(-8px); } 10%, 80% { opacity: 1; transform: none; } 95%, 100% { opacity: .25; transform: none; } }
.tk-clock { position: absolute; right: 14px; top: 12px; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 99px; background: var(--grad); animation: clock 6s var(--ease) infinite; }
@keyframes clock { 0%, 35% { transform: scale(1); } 45% { transform: scale(1.18); } 55%, 100% { transform: scale(1); } }

/* 4. Formation : l'équipe arrive, la progression se remplit */
.sc-learn { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px; }
.sc-learn { flex-direction: row; flex-wrap: wrap; align-content: center; padding: 0 22px; gap: 0; }
.av { width: 42px; height: 42px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; border: 2px solid #1a1a22; background: hsl(calc(260 + var(--i) * 30) 70% 60%); animation: av 4s var(--ease) infinite; animation-delay: calc(var(--i) * .25s); }
.av:first-child { margin-left: 0; }
@keyframes av { 0% { transform: translateY(14px) scale(.6); opacity: 0; } 15%, 85% { transform: none; opacity: 1; } 100% { transform: translateY(-6px); opacity: 0; } }
.sc-learn .bar { flex-basis: 100%; height: 8px; margin-top: 22px; border-radius: 8px; background: rgba(255,255,255,.08); overflow: hidden; }
.sc-learn .bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad); transform-origin: left; animation: learn 4s var(--ease) infinite; }
@keyframes learn { 0%, 10% { transform: scaleX(0); } 70%, 88% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

.also { margin: 40px 0 0; font-size: 16px; color: rgba(255,255,255,.65); }
.also a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 1px; }
.screen img.fit-top { object-fit: contain; object-position: top; }
@media (max-width: 1000px) { .bespoke-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    .bespoke { margin-top: 100px; }
    .bespoke-grid { grid-template-columns: 1fr; gap: 12px; }
    .bk-scene { height: 130px; }
}

/* Réalisations -------------------------------------------- */
.work { background: var(--night); color: #fff; padding: 60px 0 140px; }
.work .eyebrow { color: rgba(255,255,255,.78); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.work-head .h2 { margin-bottom: 0; }
.filters { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--night-2); border: 1px solid rgba(255,255,255,.08); }
.filter { padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; color: rgba(255,255,255,.86); font-size: 16px; transition: background .3s, color .3s; }
.filter.is-active { background: #fff; color: var(--ink); }
.filter sup { font-size: 10px; opacity: .6; }

.work-pin { overflow: hidden; }
.work-track { display: flex; gap: 22px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.card {
    position: relative; flex: 0 0 auto; width: clamp(300px, 34vw, 500px);
    border-radius: 26px; overflow: hidden; background: var(--night-2); border: 1px solid rgba(255,255,255,.07);
    display: flex; flex-direction: column;
    transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .3s;
}

.card.is-out { display: none; }
.card-media { position: relative; aspect-ratio: 16/10.5; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }

.card-kind { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(11,11,15,.7); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; }
.card-gen { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(140deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.card-gen::before, .card-gen::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.card-gen::before { width: 70%; aspect-ratio: 1; animation: spin 24s linear infinite; border-style: dashed; }
.card-gen::after { width: 110%; aspect-ratio: 1; }
@keyframes spin { to { transform: rotate(360deg); } }
.card-gen .gen-icon { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 26px; display: grid; place-items: center; font-size: 50px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -10px rgba(0,0,0,.35); transition: transform .8s var(--ease); }
.card-gen .gen-icon img { width: 70%; height: 70%; object-fit: contain; border-radius: 14px; }

.card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-sector { font-size: 14px; color: rgba(255,255,255,.78); }
.card h3 { margin: 0; font-size: 26px; letter-spacing: -.035em; line-height: 1.1; font-weight: 600; }
.card p { margin: 0; font-size: 16px; color: rgba(255,255,255,.86); line-height: 1.5; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 12px; }
.card-tags span { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.9); }
.card-end { width: clamp(260px, 26vw, 380px); flex: 0 0 auto; display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.card-end h3 { font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; margin: 0 0 20px; font-weight: 600; }

.atelier { margin-top: 60px; display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; color: rgba(255,255,255,.78); font-size: 16px; }
.atelier-label { font-weight: 600; color: #fff; }
.atelier ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.atelier li::before { content: '↳ '; color: var(--violet-2); }

@media (max-width: 860px) {
    .work-track { flex-direction: column; width: auto; transform: none !important; }
    .card, .card-end { width: 100%; }
}

/* Photo & vidéo ------------------------------------------- */
.media { padding: 140px 0; background: var(--paper); border-radius: 48px 48px 0 0; margin-top: -48px; position: relative; }
.media-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.media .h2 { font-size: clamp(38px, 4.8vw, 72px); }
.media-list { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.media-list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.media-list span { color: var(--muted); text-align: right; }
.reels { display: flex; gap: 18px; justify-content: center; align-items: center; height: 600px; }
.reel { position: relative; width: 44%; max-width: 300px; aspect-ratio: 9/16; margin: 0; border-radius: 22px; overflow: hidden; color: #fff; background: #0b0b0f; box-shadow: 0 30px 60px -30px rgba(11,11,15,.5); }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r2 { transform: translateY(-40px); }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; display: flex; flex-direction: column; background: linear-gradient(transparent, rgba(0,0,0,.65)); pointer-events: none; }
.reel-tag { align-self: flex-start; font-size: 11px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.2); backdrop-filter: blur(6px); margin-bottom: 8px; }
.reel b { font-size: 17px; line-height: 1.15; letter-spacing: -.02em; }
.reel-sound { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(0,0,0,.4) no-repeat center / 18px; backdrop-filter: blur(6px);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='m23 9-6 6M17 9l6 6'/%3E%3C/svg%3E"); }
.reel-sound[aria-pressed="true"] { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 5 6 9H2v6h4l5 4z'/%3E%3Cpath d='M15.5 8.5a5 5 0 0 1 0 7M19 5a10 10 0 0 1 0 14'/%3E%3C/svg%3E"); }
.reel-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 900px) {
    .media-inner { grid-template-columns: 1fr; }
    .reels { height: auto; }
    .r2 { transform: none; }
}

/* Studio -------------------------------------------------- */
.studio { padding: 40px 0 140px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 70px; }
.steps-line { position: absolute; top: 25px; left: 0; width: 100%; height: 4px; overflow: visible; }
.steps-line path { stroke: var(--violet); stroke-width: 2; fill: none; stroke-dasharray: 1000; stroke-dashoffset: 1000; vector-effect: non-scaling-stroke; }
.step { position: relative; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); font-weight: 600; margin-bottom: 24px; transition: background .4s, color .4s, border-color .4s; }
.step.is-on .step-n { background: var(--ink); color: #fff; }
.step h4 { margin: 0 0 8px; font-size: 22px; letter-spacing: -.03em; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 110px; border-top: 1px solid var(--line); }
.num { padding: 30px 20px 0 0; }
.num b { display: block; font-size: clamp(48px, 6vw, 88px); font-weight: 600; letter-spacing: -.06em; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.num > span { color: var(--muted); }
@media (max-width: 860px) {
    .steps { grid-template-columns: 1fr; gap: 34px; }
    .steps-line { display: none; }
    .numbers { grid-template-columns: 1fr 1fr; gap: 0 20px; }
}

/* FAQ ----------------------------------------------------- */
.faq { padding: 0 var(--gutter) 140px; }
.faq-list { border-top: 1px solid var(--line); margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-size: clamp(19px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 300; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 760px; }

/* ImmoNuxa ------------------------------------------------- */
.immo { --immo: #476c98; --immo-deep: #253950; padding: 140px 0; background: linear-gradient(180deg, var(--paper) 0%, #eef2f7 100%); overflow: hidden; }
.immo-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; align-items: center; }
.immo-badge { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--immo); border: 1px solid rgba(71,108,152,.25); letter-spacing: .08em; }
.immo .h2 { font-size: clamp(36px, 4.2vw, 62px); }
.immo .serif { color: var(--immo); }
.immo-features { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.immo-features li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-top: 1px solid rgba(37,57,80,.12); }
.immo-features b { font-size: 17px; letter-spacing: -.01em; }
.immo-features span { font-size: 16px; color: var(--muted); line-height: 1.5; }
.immo-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn-immo { background: var(--immo-deep); color: #fff; box-shadow: 0 10px 30px -12px rgba(37,57,80,.7); }

.immo-note { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.immo-visual { position: relative; padding: 0 0 90px; }
.immo-screen { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(37,57,80,.12); box-shadow: 0 50px 100px -40px rgba(37,57,80,.45); width: 112%; }
.immo-screen img { width: 100%; height: auto; }
.immo-phone {
    position: absolute; left: 3%; bottom: 0; width: 27%; aspect-ratio: 9 / 19; border-radius: 32px; overflow: hidden;
    border: 7px solid #111318; background: #f5f3ef; box-shadow: 0 40px 70px -25px rgba(11,11,15,.55), 0 0 0 1px rgba(255,255,255,.08);
}
/* Encoche, et fin de la capture en fondu (plus de texte coupé net en bas) */
.immo-phone::before { content: ''; position: absolute; top: 7px; left: 50%; z-index: 2; width: 32%; height: 7%; max-height: 18px; translate: -50% 0; border-radius: 99px; background: #111318; }
.immo-phone img { width: 100%; height: 100%; object-fit: contain; object-position: top; padding-top: 12%; background: #f5f3ef;
    -webkit-mask-image: linear-gradient(#000 78%, transparent 92%); mask-image: linear-gradient(#000 78%, transparent 92%); }
@media (max-width: 960px) {
    .immo { padding: 100px 0; }
    .immo-inner { grid-template-columns: 1fr; gap: 50px; }
    .immo-screen { width: 100%; }
    .immo-phone { left: auto; right: 4%; width: 32%; }
}
@media (max-width: 560px) { .immo-features { grid-template-columns: 1fr; } }

/* Service -------------------------------------------------- */
.service { padding: 40px 0 140px; }
.service-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 18px; margin-top: 60px; }
.sv-main, .sv-side { border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.sv-main { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.sv-main::after { content: ''; position: absolute; inset: -40% -20% auto auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,92,246,.35), transparent); pointer-events: none; }
.sv-side { background: #fff; border: 1px solid var(--line); }
.sv-head { display: flex; flex-direction: column; }
.sv-label { font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sv-main .sv-label { color: rgba(255,255,255,.72); }
.sv-figure { display: flex; align-items: flex-end; gap: 10px; margin: 18px 0 22px; line-height: .8; }
.sv-figure small { align-self: flex-start; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1; color: rgba(255,255,255,.8); margin-top: .3em; }
.sv-figure b { font-size: clamp(110px, 14vw, 210px); font-weight: 600; letter-spacing: -.07em; background: linear-gradient(160deg, #fff 30%, #c4b5fd 70%, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sv-figure > span { font-size: clamp(28px, 3vw, 44px); font-weight: 600; letter-spacing: -.03em; line-height: 1; padding-bottom: .25em; }
.sv-figure em { font-family: var(--serif); font-weight: 400; font-size: .62em; letter-spacing: 0; opacity: .8; }
.sv-figure.sm b { font-size: clamp(80px, 9vw, 130px); background: none; color: var(--ink); }
.sv-text { margin: 0; font-size: 18px; line-height: 1.6; max-width: 560px; }
.sv-main .sv-text { color: rgba(255,255,255,.86); }
.sv-side .sv-text { color: var(--ink-2); }
.sv-link { margin-top: auto; padding-top: 30px; align-self: flex-start; display: inline-flex; gap: 8px; font-weight: 600; font-size: 17px; border-bottom: 1.5px solid var(--ink); padding-bottom: 3px; }
.sv-link span { transition: transform .3s var(--ease); }

.sv-ticket { list-style: none; margin: 34px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; position: relative; z-index: 1; }
.sv-ticket li { position: relative; padding-top: 22px; opacity: .35; transition: opacity .6s var(--ease); }
.sv-ticket li::before { content: ''; position: absolute; top: 0; left: 0; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.5); transition: background .4s, border-color .4s, box-shadow .4s; }
.sv-ticket li.is-on { opacity: 1; }
.sv-ticket li.is-on::before { background: #a78bfa; border-color: #a78bfa; box-shadow: 0 0 0 5px rgba(167,139,250,.2); }
.sv-ticket li:last-child.is-on::before { background: #34d399; border-color: #34d399; box-shadow: 0 0 0 5px rgba(52,211,153,.2); }
.sv-ticket time { display: block; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.sv-ticket span { font-size: 15px; color: rgba(255,255,255,.75); line-height: 1.4; }
.sv-promises { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sv-promises li { display: flex; flex-direction: column; gap: 6px; padding: 26px 0 0; border-top: 1px solid var(--ink); }
.sv-promises b { font-size: 20px; letter-spacing: -.02em; }
.sv-promises span { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) {
    .service-grid, .sv-promises { grid-template-columns: 1fr; }
    .sv-ticket { grid-template-columns: 1fr; }
}

/* Pied de page : liens */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #fff; transition: opacity .25s; }

/* Contact ------------------------------------------------- */
.contact { position: relative; background: var(--night); color: #fff; padding: 150px 0 120px; overflow: hidden; border-radius: 48px 48px 0 0; }
.contact-bg .b1 { width: 50vw; height: 50vw; background: #7c3aed; top: -20vw; left: -10vw; opacity: .45; animation: float1 20s ease-in-out infinite; }
.contact-bg .b2 { width: 40vw; height: 40vw; background: #0891b2; bottom: -20vw; right: -10vw; opacity: .4; animation: float2 24s ease-in-out infinite; }
.contact-inner { position: relative; }
.contact-title { font-size: clamp(56px, 11vw, 170px); line-height: .9; letter-spacing: -.06em; font-weight: 600; margin: 0 0 30px; }
.contact-mail { display: inline-block; font-size: clamp(26px, 3.6vw, 52px); letter-spacing: -.04em; border-bottom: 2px solid rgba(255,255,255,.3); padding-bottom: 4px; transition: border-color .3s; }

.contact-form { margin-top: 70px; max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.cf-type { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.cf-type input { position: absolute; opacity: 0; pointer-events: none; }
.cf-type span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); cursor: pointer; transition: all .25s; font-size: 16px; }
.cf-type input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.cf-type input:focus-visible + span { outline: 2px solid var(--violet-2); outline-offset: 2px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form textarea {
    font: inherit; color: #fff; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px; padding: 16px 18px; outline: none; resize: vertical; transition: border-color .2s, background .2s;
}
.contact-form ::placeholder { color: rgba(255,255,255,.45); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--violet-2); background: rgba(255,255,255,.09); }
.contact-form .btn { margin-top: 6px; }
.contact-form .btn:disabled { opacity: .6; pointer-events: none; }
.cf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cf-status { margin: 6px 0 0; font-size: 16px; color: rgba(255,255,255,.8); }
.cf-status:empty { display: none; }
.cf-status.is-ok { color: #6ee7b7; animation: cf-in .6s var(--ease) both; }
.cf-status.is-error { color: #fca5a5; }
.cf-status a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@keyframes cf-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .cf-row { grid-template-columns: 1fr; } }

/* Footer -------------------------------------------------- */
.footer { background: var(--night); color: rgba(255,255,255,.78); padding: 30px 0 0; overflow: hidden; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding-top: 34px; }
.footer-id { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
/* Accroche du pied de page : la police éditoriale du site */
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.15; color: #fff; }
.footer-tag span { display: block; font-size: 17px; color: rgba(255,255,255,.6); }
.footer-links a, .footer-cookies { position: relative; font-size: 15px; font-weight: 500; letter-spacing: -.005em; }
.footer-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }

/* « Fait avec beaucoup d'❤ » : tout en bas, au centre, le cœur bat */
.footer-bottom { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px var(--gutter) 34px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); }
.footer-love { display: inline-flex; align-items: center; gap: 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: #fff; }
.footer-copy { font-size: 13px; color: rgba(255,255,255,.5); letter-spacing: .04em; }
.heart { position: relative; display: inline-grid; place-items: center; width: 1.15em; height: 1.25em; padding: 0; margin-left: 0; border: 0; background: none; cursor: pointer; }
.heart svg { width: 1em; height: .92em; overflow: visible; filter: drop-shadow(0 0 10px rgba(236,72,153,.55)); animation: heartbeat 1.6s cubic-bezier(.22,1,.36,1) infinite; transform-origin: 50% 60%; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.28); } 24% { transform: scale(.96); } 36% { transform: scale(1.16); } 52% { transform: scale(1); } }
.heart-sparks { position: absolute; inset: 0; pointer-events: none; }
.heart-sparks i { position: absolute; left: 50%; top: 40%; width: 10px; height: 9px; margin-left: -5px; opacity: 0;
    background: linear-gradient(135deg, #ff5e8a, #8b5cf6); clip-path: path('M5 9 4.4 8.5C2.2 6.5.8 5.2.8 3.6.8 2.3 1.8 1.3 3.1 1.3c.7 0 1.4.3 1.9.9.5-.6 1.2-.9 1.9-.9 1.3 0 2.3 1 2.3 2.3 0 1.6-1.4 2.9-3.6 4.9z');
    animation: spark 2.4s ease-out infinite; }
.heart-sparks i:nth-child(1) { --dx: -22px; animation-delay: .2s; }
.heart-sparks i:nth-child(2) { --dx: 4px; animation-delay: 1s; transform: scale(.7); }
.heart-sparks i:nth-child(3) { --dx: 24px; animation-delay: 1.7s; }
@keyframes spark { 0% { opacity: 0; translate: 0 0; scale: .4; } 15% { opacity: 1; } 100% { opacity: 0; translate: var(--dx) -46px; scale: 1.1; rotate: 15deg; } }
/* Au clic : une gerbe de cœurs */
.heart-burst { position: absolute; left: 50%; top: 45%; width: 12px; height: 11px; margin: -5px 0 0 -6px; pointer-events: none;
    background: linear-gradient(135deg, #ff5e8a, #a855f7); clip-path: path('M6 11 5.3 10.4C2.6 8 .9 6.4.9 4.4.9 2.8 2.1 1.6 3.7 1.6c.9 0 1.7.4 2.3 1.1.6-.7 1.4-1.1 2.3-1.1 1.6 0 2.8 1.2 2.8 2.8 0 2-1.7 3.6-4.4 6z');
    animation: burst 1.3s cubic-bezier(.22,1,.36,1) forwards; }
@keyframes burst { from { opacity: 1; transform: translate(0, 0) scale(.5); } to { opacity: 0; transform: translate(var(--bx), var(--by)) scale(1.2) rotate(var(--br)); } }
.footer .brand { color: #fff; }
/* Le grand « nuxa » décoratif ne doit jamais bloquer les clics sur les liens */
.footer-giant { pointer-events: none; position: relative; z-index: 0; }
.footer-inner { position: relative; z-index: 1; }
.footer p { margin: 0; }
.footer-giant { font-size: 34vw; font-weight: 700; letter-spacing: -.08em; line-height: .75; text-align: center; margin-top: 40px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* Pour qui ------------------------------------------------ */
.forwho { padding: 0 0 140px; }
.forwho-head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: 50px; }
.forwho-head .h2 { margin: 0; }
.fw-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fw-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--night-2); color: #fff; isolation: isolate; }
.fw-img { position: absolute; inset: 0; z-index: -1; overflow: hidden; transition: transform 1.2s var(--ease); }
.fw-img img { width: 100%; height: 116%; margin-top: -8%; object-fit: cover; }
.fw-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,15,0) 35%, rgba(11,11,15,.82) 100%); }
.fw-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.fw-tag { align-self: flex-start; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.fw-body b { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.fw-link { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); display: inline-flex; gap: 6px; }
.fw-link span { transition: transform .35s var(--ease); }
@media (max-width: 1000px) {
    .forwho-head { grid-template-columns: 1fr; }
    .fw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .forwho { padding-bottom: 100px; }
    /* Au doigt : un carrousel aimanté plutôt qu'une longue pile */
    .fw-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
    .fw-grid::-webkit-scrollbar { display: none; }
    .fw-card { flex: 0 0 74vw; scroll-snap-align: start; }
}

/* Bandeaux d'appel à l'action ------------------------------- */
.cta-band {
    position: relative; margin-top: 70px; padding: 26px 26px 26px 34px; border-radius: 26px;
    display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap;
    background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(11,11,15,.3); overflow: hidden;
}
/* Liseré lumineux qui fait le tour du bandeau */
.cta-band::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
    background: conic-gradient(from var(--a, 0deg), transparent 0 70%, #a855f7 80%, #06b6d4 90%, transparent 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: band-spin 6s linear infinite;
}
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes band-spin { to { --a: 360deg; } }
.cta-band p { margin: 0; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; max-width: 640px; }
.cta-band p b { font-weight: 600; letter-spacing: -.02em; }
.cta-band p span { color: var(--muted); }
.cta-band-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band.is-live .btn-grad, .cta-band.is-live .btn-light { animation: cta-breathe 2.8s var(--ease) 2; }
@keyframes cta-breathe { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.06); } 60% { transform: scale(.98); } }
.cta-band-dark { background: var(--night); color: #fff; border-color: transparent; }
.cta-band-dark p span { color: rgba(255,255,255,.7); }
.apps .cta-band { margin-top: 90px; }
.media-cta { margin-top: 30px; }
.faq-more { margin: 30px 0 0; font-size: 19px; color: var(--muted); }
.faq-more a { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--violet); padding-bottom: 2px; }
.contact-promises { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; color: rgba(255,255,255,.8); font-size: 16px; }
.contact-promises li::before { content: '✓'; color: #6ee7b7; margin-right: 8px; font-weight: 700; }
.mobile-menu-cta { margin-top: 26px; justify-content: center; font-size: 17px !important; padding: 18px 26px !important; }
.footer-cookies { background: none; border: 0; padding: 10px 0; font-size: 14px; color: inherit; }
@media (max-width: 560px) {
    .cta-band { padding: 22px; margin-top: 50px; }
    .cta-band-btns, .cta-band-btns .btn { width: 100%; justify-content: center; }
}

/* Photos du studio ------------------------------------------ */
.studio-photos { position: relative; height: clamp(320px, 38vw, 520px); margin: 60px 0 20px; }
.sp { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(11,11,15,.45); background: var(--paper-2); }
.sp img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; }
.sp1 { left: 0; top: 6%; width: 46%; aspect-ratio: 3 / 2; z-index: 2; }
.sp2 { left: 40%; top: 0; width: 30%; aspect-ratio: 4 / 5; z-index: 1; }
.sp3 { right: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 2; z-index: 3; }
.sp-badge {
    position: absolute; left: 34%; bottom: 4%; z-index: 4; padding: 14px 20px; border-radius: 999px;
    background: var(--grad); color: #fff; font-size: 16px; box-shadow: 0 20px 40px -14px rgba(139,92,246,.7);
    animation: badge-float 5s ease-in-out infinite;
}
@keyframes badge-float { 50% { transform: translateY(-8px) rotate(-2deg); } }
@media (max-width: 860px) {
    .studio-photos { height: 92vw; margin-top: 40px; }
    .sp1 { width: 78%; top: 0; }
    .sp2 { left: auto; right: 0; top: 30%; width: 46%; }
    .sp3 { left: 0; right: auto; bottom: 0; width: 58%; }
    .sp-badge { left: auto; right: 4%; bottom: 8%; font-size: 15px; }
}

/* Barre d'action mobile ------------------------------------- */
.mbar { display: none; }
@media (max-width: 860px) {
    .mbar {
        position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        display: flex; gap: 8px; padding: 7px; border-radius: 22px;
        background: rgba(11,11,15,.9); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5);
        box-shadow: 0 20px 40px -12px rgba(11,11,15,.5);
        transform: translateY(140%); transition: transform .55s var(--ease);
    }
    .mbar.is-on { transform: none; }
    .menu-open .mbar, .consent-open .mbar { transform: translateY(140%); }
    .mbar a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 16px; color: #fff; font-weight: 600; font-size: 17px; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
    .mbar-main { flex: 1; gap: 8px; background: var(--grad); }
    .mbar-mail { width: 56px; background: rgba(255,255,255,.12); }
    .mbar a:active { transform: scale(.96); transition: transform .1s; }
    /* Le pied de page ne passe pas sous la barre */
    body .footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* Bannière cookies ------------------------------------------ */
.consent {
    position: fixed; z-index: 120; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: min(400px, calc(100% - 32px));
    padding: 20px; border-radius: 20px; background: #fff; color: var(--ink); border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(11,11,15,.4); font-size: 15px; line-height: 1.5;
    opacity: 0; transform: translateY(20px); transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.consent.is-on { opacity: 1; transform: none; }
.consent p { margin: 0 0 14px; }
.consent-btns { display: flex; gap: 8px; justify-content: flex-end; }
.consent .btn { min-height: 44px; }

/* Configurateur ------------------------------------------- */
.config { padding-top: 10px; padding-bottom: 10px; }
.config-grid { --cfg: #b45309; display: grid; grid-template-columns: minmax(320px, 440px) 1fr; gap: 50px; align-items: start; }
.config-panel { min-width: 0; display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(11,11,15,.35); }
.cfg-field { display: flex; flex-direction: column; gap: 10px; }
.cfg-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cfg-field input { font: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); outline: none; transition: border-color .2s, box-shadow .2s; }
.cfg-field input:focus { border-color: var(--cfg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cfg) 18%, transparent); }
.cfg-chips, .cfg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-chips button, .cfg-options button {
    padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: 15px; font-weight: 500;
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .15s;
}
.cfg-chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.cfg-options button::before { content: '+'; display: inline-block; margin-right: 6px; font-weight: 700; transition: transform .35s var(--ease); }
.cfg-options button.is-on { background: color-mix(in srgb, var(--cfg) 12%, #fff); border-color: var(--cfg); color: var(--cfg); }
.cfg-options button.is-on::before { transform: rotate(45deg); }
.cfg-chips button:active, .cfg-options button:active { transform: scale(.94); }
.cfg-colors { display: flex; gap: 10px; flex-wrap: wrap; }
.cfg-colors button { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--c); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25); transition: transform .3s var(--ease); }
.cfg-colors button::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.cfg-colors button.is-on::after { opacity: 1; transform: none; }
.cfg-result { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid var(--line); }
.cfg-estimate { display: flex; flex-direction: column; line-height: 1.25; }
.cfg-estimate > span { font-size: 13px; color: var(--muted); }
.cfg-estimate b { font-size: 24px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cfg-estimate small { font-size: 13px; color: var(--muted); }
.cfg-estimate b.is-swap { animation: mini-in .5s var(--ease); }

/* Scène : ordinateur + téléphone */
.config-stage { position: sticky; top: 110px; padding: 20px 0 40px 0; perspective: 1600px; }
.cfg-laptop { width: 88%; transform: rotateY(-8deg) rotateX(4deg); transform-origin: left center; transition: transform .8s var(--ease); }
.cfg-laptop-screen { border-radius: 16px 16px 4px 4px; overflow: hidden; background: #fff; border: 10px solid #18181b; border-bottom-width: 14px; box-shadow: 0 50px 90px -40px rgba(11,11,15,.55); }
.cfg-laptop-screen .mini { height: clamp(260px, 30vw, 400px); }
.cfg-laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 14px 14px; background: linear-gradient(#d4d4d8, #a1a1aa); }
.cfg-phone {
    position: absolute; right: 0; bottom: 0; width: 30%; max-width: 210px; aspect-ratio: 9 / 19; border-radius: 30px; overflow: hidden;
    border: 7px solid #18181b; background: #18181b; box-shadow: 0 40px 70px -25px rgba(11,11,15,.6);
    transform: rotate(4deg); transition: transform .8s var(--ease);
}
.cfg-phone .mini { height: 100%; border-radius: 23px; }
.cfg-phone-notch { position: absolute; top: 6px; left: 50%; z-index: 5; width: 34%; height: 14px; margin-left: -17%; border-radius: 10px; background: #18181b; }
.cfg-sparkle { position: absolute; left: 0; top: -14px; z-index: 6; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 14px 30px -12px rgba(11,11,15,.5); animation: badge-float 5s ease-in-out infinite; }
@media (hover: hover) and (pointer: fine) {
    .config-stage:hover .cfg-laptop { transform: rotateY(-2deg) rotateX(1deg); }
    .config-stage:hover .cfg-phone { transform: rotate(0) translateY(-10px); }
    .cfg-chips button:not(.is-on):hover, .cfg-options button:not(.is-on):hover { border-color: var(--ink); }
    .cfg-colors button:hover { transform: scale(1.12); }
}

/* Mini-site généré */
.mini {
    --acc: var(--cfg); --bg: #fbf7f0; --fg: #1c1917; --mut: #78716c; --card: #fff; --r: 12px; --hfont: var(--serif); --hstyle: italic;
    font-size: 12px; line-height: 1.4; background: var(--bg); color: var(--fg); overflow-y: auto; overflow-x: hidden; scrollbar-width: none;
    transition: background .5s var(--ease), color .5s var(--ease);
}
.mini::-webkit-scrollbar { display: none; }
.mini-m { font-size: 9.5px; padding-top: 18px; }
[data-style="elegant"] .mini { --bg: #ffffff; --fg: #111; --mut: #6b7280; --card: #f7f7f5; --r: 2px; --hfont: var(--serif); --hstyle: normal; }
[data-style="moderne"] .mini { --bg: #0f0f12; --fg: #fafafa; --mut: #a1a1aa; --card: #1c1c22; --r: 8px; --hfont: var(--font); --hstyle: normal; }
.mini-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 1em 1.4em; }
.mini-nav b { font-family: var(--hfont); font-style: var(--hstyle); font-size: 1.3em; color: var(--acc); white-space: nowrap; }
[data-style="moderne"] .mini-nav b { color: var(--fg); font-weight: 800; letter-spacing: -.03em; }
.mini-nav span { color: var(--mut); font-size: .9em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-style="elegant"] .mini-nav span { text-transform: uppercase; letter-spacing: .12em; font-size: .75em; }
.mini-nav em { font-style: normal; margin-left: .6em; padding: .2em .5em; border-radius: 4px; background: var(--card); color: var(--fg); }
.mini-m .mini-nav span { display: none; }
.mini-hero { position: relative; margin: 0 1.4em; height: 15em; border-radius: var(--r); background-size: cover; background-position: center; overflow: hidden; display: flex; align-items: flex-end; }
.mini-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(0,0,0,.65)); }
.mini-m .mini-hero { height: 22em; margin: 0 1em; }
.mini-hero-txt { position: relative; padding: 1.4em; color: #fff; }
.mini-hero h4 { margin: 0 0 .2em; font-family: var(--hfont); font-style: var(--hstyle); font-weight: 400; font-size: 2.6em; line-height: 1; letter-spacing: -.02em; }
[data-style="moderne"] .mini-hero h4 { font-weight: 800; letter-spacing: -.05em; }
.mini-hero p { margin: 0 0 .9em; opacity: .9; }
.mini-btn { display: inline-block; padding: .7em 1.2em; border-radius: calc(var(--r) * 3); background: var(--acc); color: #fff; font-weight: 600; }
[data-style="elegant"] .mini-btn { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .85em; }
/* Infos du jour : mise en page éditoriale, deux colonnes séparées par un filet */
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; margin: 1.2em 1.4em; border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.mini-m .mini-cards { grid-template-columns: 1fr; margin: 1em; }
.mini-card { padding: 1.1em 0; }
.mini-card + .mini-card { padding-left: 1.4em; margin-left: 1.4em; border-left: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.mini-m .mini-card + .mini-card { padding-left: 0; margin-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); }
.mini-card small { display: block; margin-bottom: .35em; color: var(--acc); font-size: .78em; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.mini-card b { display: block; font-family: var(--hfont); font-style: var(--hstyle); font-weight: 400; font-size: 1.45em; line-height: 1.15; letter-spacing: -.01em; }
[data-style="moderne"] .mini-card b { font-weight: 700; font-size: 1.25em; letter-spacing: -.03em; }
[data-style="moderne"] .mini-card small { color: color-mix(in srgb, var(--acc) 55%, #fff); }
.mini-block > small { display: block; color: var(--mut); font-size: .8em; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .3em; }
.mini-block { margin: 0 1.4em 1em; padding: 1em; border-radius: var(--r); background: var(--card); transition: box-shadow .6s var(--ease); }
.mini-m .mini-block { margin: 0 1em 1em; }
.mini-block.is-new { animation: mini-new 1.6s var(--ease); }
@keyframes mini-new { 0% { box-shadow: 0 0 0 0 var(--acc); transform: scale(.96); } 30% { box-shadow: 0 0 0 4px var(--acc); transform: none; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mini-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: .5em; }
.mini-days span { display: flex; flex-direction: column; align-items: center; padding: .5em 0; border-radius: var(--r); border: 1px solid color-mix(in srgb, var(--fg) 12%, transparent); color: var(--mut); font-size: .85em; }
.mini-days b { font-size: 1.3em; color: var(--fg); }
.mini-days .is-on { background: var(--acc); border-color: var(--acc); color: #fff; }
.mini-days .is-on b { color: #fff; }
.mini-shop { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6em; }
.mini-m .mini-shop { grid-template-columns: 1fr 1fr; }
.mini-shop div { display: flex; flex-direction: column; gap: .2em; }
.mini-shop i { aspect-ratio: 1; border-radius: var(--r); background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 35%, var(--bg)), color-mix(in srgb, var(--acc) 10%, var(--bg))); }
.mini-shop span { color: var(--acc); font-weight: 700; }
.mini-gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .4em; height: 9em; }
.mini-gal i { border-radius: var(--r); background: color-mix(in srgb, var(--acc) 25%, var(--bg)); background-size: cover; background-position: center; }
.mini-gal i:first-child { grid-row: span 2; }
.mini-gal i:nth-child(3) { background: color-mix(in srgb, var(--acc) 45%, var(--bg)); }
.mini-blog { display: grid; gap: .5em; }
.mini-blog div { display: flex; justify-content: space-between; gap: 1em; padding-bottom: .5em; border-bottom: 1px solid color-mix(in srgb, var(--fg) 10%, transparent); }
.mini-blog span { color: var(--mut); white-space: nowrap; }
.mini-foot { padding: 1.4em; text-align: center; color: var(--mut); font-size: .85em; }
/* Reconstruction : chaque bloc arrive en cascade */
.mini.is-anim > * { animation: mini-in .7s var(--ease) both; }
.mini.is-anim > :nth-child(2) { animation-delay: .06s; }
.mini.is-anim > :nth-child(3) { animation-delay: .12s; }
.mini.is-anim > :nth-child(4) { animation-delay: .18s; }
.mini.is-anim > :nth-child(5) { animation-delay: .24s; }
.mini.is-anim > :nth-child(n+6) { animation-delay: .3s; }
@keyframes mini-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 1000px) {
    .config-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .config-stage { order: -1; position: relative; top: auto; }
}
@media (max-width: 640px) {
    .config-panel { padding: 20px; border-radius: 22px; }
    .config-stage { display: flex; justify-content: center; padding: 10px 0 0; }
    .cfg-laptop { display: none; }
    .cfg-phone { position: relative; width: 62%; max-width: 250px; transform: none; }
    .cfg-sparkle { left: 50%; top: -6px; translate: -50% 0; }
    .cfg-chips, .cfg-options { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 4px; scrollbar-width: none; }
    .cfg-chips::-webkit-scrollbar, .cfg-options::-webkit-scrollbar { display: none; }
    .cfg-chips button, .cfg-options button { flex-shrink: 0; min-height: 46px; }
    .cfg-colors { justify-content: space-between; }
    .cfg-colors button { width: 42px; height: 42px; }
    .cfg-result { flex-direction: column; align-items: stretch; }
    .cfg-result .btn { justify-content: center; min-height: 56px; font-size: 17px; font-weight: 600; border-radius: 18px; }
}

/* Téléphone 3D au défilement ------------------------------ */
.pocket { background: var(--night); color: #fff; position: relative; }
.pocket-pin { height: 100svh; display: flex; align-items: center; overflow: hidden; position: relative; }
.pocket-pin::before { content: ''; position: absolute; left: 50%; top: 50%; width: 70vmax; height: 70vmax; translate: -10% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139,92,246,.28), rgba(6,182,212,.08) 60%, transparent); pointer-events: none; }
.pocket-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; }
.pocket .eyebrow { color: rgba(255,255,255,.75); }
.pocket-title { font-size: clamp(38px, 5vw, 76px); }
.pocket-list { list-style: none; margin: 30px 0 34px; padding: 0; }
.pocket-list li { position: relative; padding: 14px 0 14px 44px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.4); transition: color .5s var(--ease); }
.pocket-list li::before { content: attr(data-n); position: absolute; left: 0; top: 16px; font-size: 13px; font-variant-numeric: tabular-nums; }
.pocket-list li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.pocket-list b { display: block; font-size: 22px; letter-spacing: -.02em; }
.pocket-list span { display: block; max-height: 0; overflow: hidden; opacity: 0; font-size: 16px; line-height: 1.5; transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .6s var(--ease); }
.pocket-list li.is-on { color: #fff; }
.pocket-list li.is-on::after { transform: none; }
.pocket-list li.is-on span { max-height: 5em; opacity: .8; margin-top: 4px; }

.pocket-stage { position: relative; height: min(78svh, 680px); display: grid; place-items: center; perspective: 1400px; }
.p3d { --w: min(290px, 30svh); position: relative; width: var(--w); aspect-ratio: 9 / 19.3; transform-style: preserve-3d; will-change: transform; }
.p3d-layers, .p3d-front, .p3d-back { position: absolute; inset: 0; border-radius: calc(var(--w) * .16); }
.p3d-layers { transform-style: preserve-3d; }
.p3d-layers i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(135deg, #3f3f46, #18181b 60%, #3f3f46); }
.p3d-front { transform: translateZ(7px); background: #0b0b0f; padding: calc(var(--w) * .035); backface-visibility: hidden; box-shadow: inset 0 0 0 1.5px #52525b; }
.p3d-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .13); overflow: hidden; background: #111; }
/* Capture affichée en entier (rien de rogné sur les côtés), le bas est comblé par la couleur de l'appli */
.p3d-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: top center; opacity: 0; transform: scale(1.06); transition: opacity .5s var(--ease), transform .8s var(--ease); }
.p3d-screen img.is-on { opacity: 1; transform: none; }
.p3d-island { position: absolute; top: calc(var(--w) * .07); left: 50%; width: 30%; height: calc(var(--w) * .075); translate: -50% 0; border-radius: 99px; background: #000; }
.p3d-glare { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 35%); pointer-events: none; }
.p3d-back {
    transform: rotateY(180deg) translateZ(7px); backface-visibility: hidden;
    background: radial-gradient(120% 80% at 30% 10%, #6d28d9, #1e1b4b 55%, #0b0b0f);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    box-shadow: inset 0 0 0 1.5px #52525b; font-weight: 700; font-size: 22px; letter-spacing: -.03em;
}
.p3d-shadow { position: absolute; bottom: 2%; left: 50%; width: 46%; height: 26px; translate: -50% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(6px); }
.pocket-progress { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; gap: 8px; }
.pocket-progress i { width: 4px; height: 26px; border-radius: 4px; background: rgba(255,255,255,.15); transition: background .4s, height .4s var(--ease); }
.pocket-progress i.is-on { background: #fff; height: 40px; }

@media (max-width: 860px) {
    .pocket-inner { grid-template-columns: 1fr; gap: 0; height: 100%; align-content: center; }
    .pocket-pin { padding: 70px 0 96px; }
    .pocket-title { font-size: clamp(30px, 8vw, 42px); margin-bottom: 10px; }
    .pocket-list { margin: 12px 0 0; }
    .pocket-list li { display: none; padding: 10px 0 0 34px; border: 0; }
    .pocket-list li.is-on { display: block; animation: mini-in .6s var(--ease); }
    .pocket-list li::after { display: none; }
    .pocket-list b { font-size: 19px; }
    .pocket-cta { display: none; }
    .pocket-stage { height: 52svh; order: 2; }
    .p3d { --w: min(200px, 23svh); }
    .pocket-progress { right: 12px; }
    .pocket-progress i { height: 18px; }
    .pocket-progress i.is-on { height: 28px; }
}
/* Sans animations : le téléphone reste de face, la liste complète s'affiche */
.reduced .pocket-pin, .no-gsap .pocket-pin { height: auto; padding: 100px 0; }
.reduced .pocket-list span, .no-gsap .pocket-list span { max-height: none; opacity: .8; }
.reduced .pocket-list li, .no-gsap .pocket-list li { display: block; color: #fff; }

/* Tuiles : halo de lumière ---------------------------------
   Un halo doux et un liseré lumineux suivent la souris (ou le doigt).
   Violet sur les tuiles claires, blanc irisé sur les tuiles sombres. */
.spot { position: relative; --spot: rgba(139,92,246,.16); --ring: rgba(139,92,246,.65); }
.pillar-dark.spot, .plat-group.spot, .card.spot, .sv-main.spot, .fw-card.spot, .reel.spot, .cta-band-dark.spot { --spot: rgba(168,140,255,.18); --ring: rgba(196,181,253,.9); }
.spot-light { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.spot-light::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%); }
.spot-light::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--ring), transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.spot.is-pressed .spot-light { opacity: 1; transition-duration: .1s; }
.spot.is-pressed { translate: 0 2px; transition: translate .15s var(--ease); }
.sv-main, .sv-side, .reel { transition: translate .5s var(--ease), box-shadow .5s var(--ease); }

/* Lignes de liste : un trait dégradé se trace au survol et le texte glisse */
.immo-features li, .sv-promises li, .media-list li {
    background: linear-gradient(90deg, #a855f7, #06b6d4) no-repeat 0 0 / 0 2px;
    transition: background-size .6s var(--ease);
}
.media-list li { background-position: 0 100%; }
.immo-features li > *, .sv-promises li > *, .media-list li > * { transition: transform .45s var(--ease); }
.step-n { transition: transform .5s var(--ease), background .3s, color .3s; }
.num b { transition: transform .5s var(--ease); }

/* Légendes élégantes -----------------------------------------
   Les petites lignes de description (secteur d'un projet, notes, libellés
   de chiffres…) passent en Instrument Serif italique, plus grandes et plus
   lisibles qu'un petit texte gris. */
.card-sector, .num > span, .media-list span, .immo-note, .sv-ticket span, .atelier li,
.cfg-estimate > span, .cfg-estimate small, .reel-tag, .pocket-list span {
    font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em;
}
.card-sector { font-size: 20px; line-height: 1.2; color: rgba(255,255,255,.9); }
.num > span { font-size: 22px; color: var(--ink-2); }
.media-list span { font-size: 20px; color: var(--ink-2); }
.immo-note { font-size: 19px; line-height: 1.4; color: var(--ink-2); }
.sv-ticket span { font-size: 19px; color: rgba(255,255,255,.88); }
.atelier li { font-size: 19px; color: rgba(255,255,255,.88); }
.cfg-estimate > span, .cfg-estimate small { font-size: 17px; color: var(--ink-2); }
.reel-tag { font-size: 15px; padding: 3px 11px; }
.pocket-list span { font-size: 20px; line-height: 1.35; }

/* Petit lexique : mots techniques expliqués en une bulle -------- */
.term {
    cursor: help; text-decoration: underline dotted; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
    text-decoration-color: color-mix(in srgb, var(--violet) 70%, transparent); border-radius: 4px; transition: background .2s, text-decoration-color .2s;
    -webkit-tap-highlight-color: transparent;
}
.term:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }
.term.is-open { background: color-mix(in srgb, var(--violet) 14%, transparent); text-decoration-color: var(--violet); }
.pl-chips .term, .card-tags .term { text-decoration: none; }
.pl-chips li:has(.term), .card-tags span:has(.term) { cursor: help; }
.pl-chips li:has(.term)::after, .card-tags span:has(.term)::after { content: '?'; display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 5px; border-radius: 50%; font-size: 10px; font-weight: 700; background: rgba(168,85,247,.35); color: #fff; vertical-align: 1px; }
.tip {
    position: fixed; z-index: 160; max-width: min(300px, calc(100vw - 24px)); padding: 13px 16px 14px; border-radius: 16px;
    background: #15151c; color: #fff; box-shadow: 0 20px 50px -12px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08);
    pointer-events: none; opacity: 0; transform: translateY(6px) scale(.97); transform-origin: var(--arrow, 50%) 100%;
    transition: opacity .22s var(--ease), transform .3s var(--ease);
}
.tip.is-on { opacity: 1; transform: none; }
.tip.is-below { transform-origin: var(--arrow, 50%) 0; transform: translateY(-6px) scale(.97); }
.tip.is-below.is-on { transform: none; }
.tip b { display: block; margin-bottom: 3px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 20px; line-height: 1.1;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tip span { display: block; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.88); }
.tip::after { content: ''; position: absolute; top: 100%; left: var(--arrow, 50%); width: 12px; height: 12px; margin: -6px 0 0 -6px; background: #15151c; transform: rotate(45deg); box-shadow: 1px 1px 0 rgba(255,255,255,.08); }
.tip.is-below::after { top: 0; box-shadow: -1px -1px 0 rgba(255,255,255,.08); }

/* Compatibilité mobile : corrections issues des tests (iPhone SE → iPad Pro) ---- */
/* 1. Très petits écrans : une carte de plateforme par ligne */
@media (max-width: 420px) {
    .platforms { grid-template-columns: 1fr; }
    .plat-group:last-child { grid-column: auto; }
}
/* 4. Zones tactiles d'au moins 44 px */
.brand { min-height: 44px; }
.heart::before { content: ''; position: absolute; inset: -10px; }
.cfg-colors button { width: 44px; height: 44px; }
@media (pointer: coarse) { .btn-cta.btn-sm { min-height: 44px; } }
/* 5. Téléphone en paysage (écran très bas) : barre d'action compacte, à droite */
@media (max-width: 860px) and (max-height: 500px) and (orientation: landscape) {
    .mbar { display: flex; left: auto; right: max(12px, env(safe-area-inset-right, 0px)); bottom: max(10px, env(safe-area-inset-bottom, 0px)); padding: 5px; border-radius: 18px; }
    .mbar a { min-height: 44px; font-size: 15px; }
    .mbar-main { padding: 0 18px; }
    .mbar-mail { width: 46px; }
    .header { top: 8px; }
    /* 6. Section « téléphone 3D » : texte à gauche, téléphone à droite */
    .pocket-pin { padding: 64px 0 12px; }
    .pocket-inner { grid-template-columns: 1fr 1fr; gap: 20px; align-content: center; }
    .pocket-title { font-size: 26px; margin-bottom: 6px; }
    .pocket .eyebrow { margin-bottom: 8px; }
    .pocket-list { margin: 6px 0 0; }
    .pocket-list span { font-size: 16px; }
    .pocket-stage { height: 78svh; order: 0; }
    .p3d { --w: min(140px, 34svh); }
    .pocket-progress { display: none; }
}
/* La section « téléphone 3D » ne passe plus sous le menu sur mobile */
@media (max-width: 860px) and (min-height: 501px) {
    .pocket-pin { padding: 86px 0 24px; }
    .pocket-inner { align-content: start; }
}
/* Téléphones de hauteur moyenne (iPhone, Pixel) : section du téléphone 3D compactée */
@media (max-width: 860px) and (min-height: 501px) and (max-height: 820px) {
    .pocket .eyebrow { margin-bottom: 10px; }
    .pocket-title { font-size: 30px; }
    .pocket-list span { font-size: 17px; }
    .pocket-stage { height: 50svh; }
    .p3d { --w: min(180px, 21svh); }
}

/* Mouvement réduit --------------------------------------- */
.reduced .tk { opacity: 1; }
.reduced .sc-learn .bar i { transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}


/* Survols : uniquement avec une souris (sinon l'état reste collé après un tap) */
@media (hover: hover) and (pointer: fine) {
    .btn-dark:hover { background: var(--violet); }
    .btn-grad:hover { box-shadow: 0 16px 40px -10px rgba(139, 92, 246, .8); }
    .btn-ghost:hover { background: #fff; }
    .btn-light:hover { background: var(--paper-2); }
    .brand:hover .logo-n { animation: logo-draw .9s var(--ease); }
    .brand:hover .logo-dot { animation: logo-hop .9s var(--ease); }
    .brand:hover .logo-tile { animation: logo-tilt .9s var(--ease); }
    .nav a:hover { color: var(--ink); }
    .btn-cta:hover { background: var(--grad); }
    .btn-cta:hover span { transform: translateX(3px); }
    .pillar:hover { box-shadow: 0 40px 80px -40px rgba(11,11,15,.35); }
    .pillar:hover .pillar-link span { transform: translateX(6px); }
    .pillar:hover .pv-block { animation: grow .9s var(--ease) both; }
    .pillar:hover .pv-block:nth-child(3) { animation-delay: .08s; }
    .pillar:hover .pv-block:nth-child(4) { animation-delay: .16s; }
    .pillar-dark:hover .pv-tv { transform: translateY(-14px) rotate(-2deg); }
    .pillar-dark:hover .pv-phone { transform: translateY(-24px) rotate(4deg); }
    .pillar-dark:hover .pv-watch { transform: translateY(-34px) rotate(-6deg); }
    .sw:hover { transform: scale(1.12); }
    .admin-publish:hover { background: var(--violet); }
    .plat-group:hover { border-color: rgba(168,85,247,.6); transform: translateY(-6px); }
    .card:hover { border-color: rgba(255,255,255,.22); }
    .card:hover .card-media img { transform: scale(1.06); }
    .card:hover .gen-icon { transform: translateY(-8px) rotate(-6deg) scale(1.06); }
    .btn-immo:hover { background: var(--immo); }
    .sv-link:hover span { transform: translateX(4px); }
    .footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }
    .heart:hover svg { animation-duration: .8s; }
    .contact-mail:hover { border-color: #fff; }
    .spot:hover .spot-light { opacity: 1; }
    .sv-side.spot:hover, .sv-main.spot:hover { translate: 0 -6px; }
    .sv-side:hover, .sv-main:hover { box-shadow: 0 40px 70px -40px rgba(11,11,15,.4); }
    .reel.spot:hover { translate: 0 -8px; }
    .immo-features li:hover, .sv-promises li:hover, .media-list li:hover { background-size: 100% 2px; }
    .immo-features li:hover > *, .sv-promises li:hover > *, .media-list li:hover > b { transform: translateX(6px); }
    .step:hover .step-n { transform: scale(1.15) rotate(-8deg); }
    .num:hover b { transform: translateY(-6px); }
    .fw-card:hover .fw-img { transform: scale(1.07); }
    .fw-card:hover .fw-link span { transform: translateX(6px); }
    .faq-more a:hover { color: var(--violet); }
    .footer-cookies:hover { opacity: .7; }
}

/* Tactile ---------------------------------------------------
   Réponse immédiate au doigt (pas de délai de double-tap), pas de sélection
   du texte des boutons à l'appui long, et un retour visuel dès le contact. */
a, button, label, summary, .card { touch-action: manipulation; }
.btn, button, .filter, .cf-type span, summary, .nav a, .mobile-menu a, .footer-links a {
    -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
.btn, .filter, .cf-type span, .reel-sound, .burger, .sw, .toggle, .admin-publish, .sv-link {
    transition-property: transform, background, color, box-shadow, border-color, opacity;
}
.btn:active, .burger:active, .admin-publish:active { transform: scale(.96); transition-duration: .1s; }
.filter:active, .cf-type span:active, .reel-sound:active, .sw:active { transform: scale(.92); transition-duration: .1s; }
.faq summary:active, .sv-link:active, .footer-links a:active, .mobile-menu a:active { opacity: .6; }

/* Zones tactiles d'au moins 44 px sans changer le dessin */
.sw, .toggle { position: relative; }
.sw::after, .toggle::after { content: ''; position: absolute; inset: -9px; }
.reel-sound { width: 44px; height: 44px; background-size: 20px; }
.footer-links a { display: inline-block; padding: 10px 0; }

/* Mobile ---------------------------------------------------- */
@media (pointer: coarse) {
    /* iOS zoome sur un champ < 16 px : la démo admin invite justement à taper dedans */
    input, textarea, select, .admin-form input { font-size: 16px; }
}
@media (max-width: 860px) {
    .mobile-menu { padding: calc(90px + env(safe-area-inset-top, 0px)) 28px calc(28px + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; overscroll-behavior: contain; }
    .mobile-menu a { font-size: clamp(34px, 10vw, 46px); padding: 4px 0; }
    .footer { padding-bottom: env(safe-area-inset-bottom, 0px); }

    /* Démo admin : les onglets défilent au doigt au lieu d'être coupés */
    .admin-side { overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .admin-side::-webkit-scrollbar { display: none; }
    .admin-side span { flex-shrink: 0; }

    /* Réalisations : carrousel horizontal à balayer, aimanté carte par carte */
    .work-pin { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .work-pin::-webkit-scrollbar { display: none; }
    .work-track { flex-direction: row; width: max-content; gap: 14px; padding: 4px var(--gutter) 8px; }
    .card { width: min(84vw, 420px); scroll-snap-align: start; }
    .card-end { width: min(70vw, 320px); scroll-snap-align: start; padding: 20px; }
    .work-head { margin-bottom: 30px; }
    .filters { width: 100%; justify-content: space-between; }
    .filter { flex: 1; padding: 12px 10px; }
    .work-nav { display: flex; align-items: center; gap: 14px; margin: 22px var(--gutter) 0; }

    /* Reels : deux vraies vidéos lisibles, pas des vignettes */
    .reels { gap: 12px; }
    .reel { width: 50%; max-width: none; border-radius: 18px; }
    .r2 { transform: none; }
}
.work-nav { display: none; }
.work-count { font-size: 15px; font-variant-numeric: tabular-nums; color: rgba(255,255,255,.86); min-width: 3.2em; }
.work-progress { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.work-progress i { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, .1)); transition: transform .2s; }
@media (max-width: 560px) {
    .media-list li { flex-direction: column; gap: 2px; }
    .media-list span { text-align: left; }
}

/* Boutons au doigt ---------------------------------------------
   Sur téléphone, chaque appel à l'action prend toute la largeur,
   avec une hauteur confortable pour le pouce (56 px). */
@media (max-width: 640px) {
    .hero-ctas, .immo-ctas, .cta-band-btns, .cf-foot { flex-direction: column; align-items: stretch; width: 100%; gap: 10px; }
    .hero-ctas .btn, .immo-ctas .btn, .cta-band-btns .btn, .cf-foot .btn,
    .media-cta, .case-text > .btn, .card-end .btn, .mobile-menu-cta {
        display: flex; width: 100%; justify-content: center; min-height: 56px; padding: 18px 22px; font-size: 17px; font-weight: 600; border-radius: 18px;
    }
    .contact-form .btn { margin-top: 4px; }
    .cta-band { flex-direction: column; align-items: stretch; text-align: left; }

    /* Lien « Décrire mon projet » du SAV : un vrai bouton */
    .sv-link { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 56px; margin-top: 18px; padding: 0 20px; border-bottom: 0; align-self: stretch; border-radius: 18px; background: var(--ink); color: #fff; font-weight: 600; font-size: 17px; }

    /* Lien sous la FAQ : un vrai bouton aussi */
    .faq-more { display: flex; flex-direction: column; gap: 12px; }
    .faq-more a { display: flex; justify-content: center; align-items: center; min-height: 56px; border: 1px solid var(--line); border-radius: 18px; background: #fff; padding: 0 20px; }

    /* Choix du type de projet : 2 colonnes, grosses pastilles */
    .cf-type { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
    .cf-type span { display: flex; justify-content: center; align-items: center; min-height: 50px; width: 100%; }
    .contact-form input[type=text], .contact-form input[type=email], .contact-form textarea { min-height: 56px; }

    /* Bannière cookies : boutons côte à côte, pleine largeur */
    .consent { left: 12px; width: calc(100% - 24px); }
    .consent-btns .btn { flex: 1; justify-content: center; min-height: 50px; }

    /* Cartes « Pour qui ? » : le lien d'action ressemble à un bouton */
    .fw-link { align-self: stretch; justify-content: center; padding: 13px; margin-top: 4px; border-radius: 14px; background: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 16px; }
}
