/* ==========================================================================
   Quotas — landing
   ========================================================================== */

.lp { --lp-max: 1180px; background: var(--bg); overflow-x: clip; }
.lp-container { width: 100%; max-width: var(--lp-max); margin: 0 auto; padding: 0 24px; }
.lp section { position: relative; }

/* ---------- Nav ---------- */
.lp-nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.lp-nav.scrolled { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-color: var(--border); }
.lp-nav .lp-container { display: flex; align-items: center; gap: 28px; height: 64px; }
.lp-links { display: flex; gap: 4px; }
.lp-links a { padding: 6px 10px; white-space: nowrap; font-size: 14px; color: var(--text-muted); border-radius: 6px; transition: color .12s; }
.lp-links a:hover { color: var(--text); }
.lp-nav-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
@media (max-width: 1080px) { .lp-links, .lp-nav-cta > a.btn-ghost { display: none; } }
.lp-nav .lp-burger { position: static; display: none; }
.lp-burger .when-open, .lp-burger.open .when-closed { display: none; }
.lp-burger.open .when-open { display: inline-block; }
.lp-burger .menu { left: 12px; right: 12px; top: calc(100% + 6px); width: auto; padding: 8px; border-radius: 16px; }
.lp-burger:not(.open) .menu { visibility: hidden; }
.lp-burger .menu-item { width: 100%; min-height: 48px; padding: 0 12px; gap: 12px; font-size: 16px; border-radius: 10px; }
.lp-burger .menu-sep { margin: 8px 4px; }
.lp-burger-langs .locale-switcher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 8px 4px 4px; }
.lp-burger-langs .locale-switcher a { display: grid; place-items: center; min-height: 42px; font-size: 14px; border: 1px solid var(--border); border-radius: 10px; }
@media (max-width: 1080px) { .lp-nav .lp-burger { display: block; } .lp-nav-cta { gap: 4px; } }
@media (min-width: 561px) and (max-width: 1080px) { .lp-nav .lp-burger .menu { left: auto; right: 16px; width: 340px; } .lp-burger .theme-toggle, .lp-burger-langs { display: none; } }
@media (max-width: 560px) { .lp-nav .lp-container { gap: 12px; padding: 0 16px; } }
@media (max-width: 560px) { .has-burger .lp-nav-cta > .locale-menu, .has-burger .lp-nav-cta > .theme-toggle { display: none; } }

/* ---------- Hero ---------- */
.lp-hero { padding: 72px 0 40px; text-align: center; }
.lp-hero::before {
    content: ''; position: absolute; inset: -64px 0 0; z-index: 0; pointer-events: none;
    background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 56px 56px; background-position: center top;
    mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 20%, transparent 75%);
    opacity: .7;
}
.lp-hero::after {
    content: ''; position: absolute; left: 50%; top: 120px; width: 900px; height: 520px; transform: translateX(-50%); z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--primary) 22%, transparent), transparent);
    filter: blur(20px);
}
.lp-hero > * { position: relative; z-index: 1; }
.lp-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; height: 32px; padding: 0 6px 0 6px;
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    background: var(--bg); border: 1px solid var(--border); border-radius: 99px; box-shadow: var(--shadow-sm);
    transition: border-color .15s;
}
.lp-eyebrow:hover { border-color: var(--border-strong); }
.lp-eyebrow .tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; font-size: 12px; font-weight: 600; color: var(--bg); background: var(--text); border-radius: 99px; }
.lp-eyebrow .icon { margin-right: 6px; color: var(--text-muted); }
.lp-title {
    max-width: 920px; margin: 26px auto 0;
    font-size: clamp(40px, 6.4vw, 76px); font-weight: 650; line-height: 1.02; letter-spacing: -0.045em;
}
.lp-title .soft { color: var(--text-faint); }
.lp-words { display: grid; justify-items: center; margin-top: .06em; }
.lp-words .mark { --c: var(--primary); grid-area: 1 / 1; display: inline-flex; align-items: center; gap: .26em; pointer-events: none; }
.lp-words [data-key="clock"] { --c: #059669; }
.lp-words [data-key="leave"] { --c: #0284c7; }
.lp-words [data-key="tasks"] { --c: #d97706; }
.lp-words [data-key="report"] { --c: #7c3aed; }
/* La tuile arrive en pivotant, le mot monte ; à la sortie, les deux repartent de l'autre côté. */
.lp-tile {
    display: inline-flex; flex: none; align-items: center; justify-content: center; width: .92em; height: .92em; color: #fff; border-radius: .25em;
    background: linear-gradient(145deg, color-mix(in srgb, var(--c) 72%, #fff), var(--c) 62%);
    box-shadow: 0 .16em .4em -.12em color-mix(in srgb, var(--c) 65%, transparent), inset 0 1px 0 rgb(255 255 255 / .35);
    opacity: 0; transform: translateX(-.5em) rotate(-110deg) scale(.4); transition: opacity .25s, transform .3s ease-in;
}
.lp-tile .icon { width: .54em; height: .54em; stroke-width: 2.2; }
.lp-word { opacity: 0; transform: translateY(-.45em); filter: blur(6px); transition: opacity .2s, transform .3s ease-in, filter .3s; }
.lp-words .mark:not(.on) .lp-word { transform: translateY(.45em); }
.lp-words .on .lp-tile { opacity: 1; transform: rotate(-8deg); transition: opacity .25s .15s, transform .85s cubic-bezier(.2, 1.5, .4, 1) .15s; }
.lp-words .on .lp-word { opacity: 1; transform: none; filter: none; transition: opacity .35s .18s, transform .6s cubic-bezier(.2, .9, .3, 1) .18s, filter .4s .18s; }
.lp-words .on .lp-tile .icon { animation: lp-nod 2.6s ease-in-out 1.1s 2; }
@keyframes lp-nod { 0%, 100% { transform: none; } 30% { transform: rotate(10deg) scale(1.08); } 65% { transform: rotate(-7deg); } }
.lp-title .mark { position: relative; white-space: nowrap; color: var(--primary); }
.lp-title .lp-words .mark { color: color-mix(in srgb, var(--c) 88%, var(--text)); }
.lp-lead { max-width: 640px; margin: 22px auto 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-muted); letter-spacing: -0.01em; }
.lp-cta { display: flex; justify-content: center; gap: 10px; margin-top: 32px; flex-wrap: wrap; }
.lp-reassure { display: flex; justify-content: center; gap: 22px; margin-top: 18px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.lp-reassure span { display: inline-flex; align-items: center; gap: 6px; }
.lp-reassure .icon { color: var(--success); }

/* ---------- Product mock ---------- */
.lp-stage { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0 24px; perspective: 2000px; }
.mock {
    position: relative; text-align: left; overflow: hidden;
    background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg-muted) 70%, transparent), 0 40px 80px -24px rgb(9 9 11 / .25), 0 12px 24px -12px rgb(9 9 11 / .12);
    transform: rotateX(8deg) scale(.98); transform-origin: top center;
    animation: mock-in 1.1s cubic-bezier(.2, .8, .2, 1) .1s both;
}
@keyframes mock-in { from { opacity: 0; transform: rotateX(18deg) translateY(30px) scale(.96); } }
.mock-bar { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; background: var(--bg-subtle); border-bottom: 1px solid var(--border); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.mock-url { margin: 0 auto; display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 12px; font-size: 12px; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); border-radius: 6px; }
.mock-body { display: grid; grid-template-columns: 190px minmax(0, 1fr); min-height: 440px; }
.mock-side { padding: 12px; background: var(--bg-subtle); border-right: 1px solid var(--border); font-size: 12.5px; }
.mock-side .co { display: flex; align-items: center; gap: 8px; padding: 6px; font-weight: 600; }
.mock-side .it { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; margin-top: 2px; color: var(--text-muted); border-radius: 6px; }
.mock-side .it.on { color: var(--text); background: var(--bg); box-shadow: 0 0 0 1px var(--border); font-weight: 500; }
.mock-side .it.on .icon { color: var(--primary); }
.mock-side .it .n { margin-left: auto; font-size: 10px; font-weight: 600; color: #fff; background: var(--primary); padding: 1px 6px; border-radius: 99px; }
.mock-main { padding: 20px 22px; min-width: 0; }
.mock-main h4 { font-size: 18px; letter-spacing: -0.02em; }
.mock-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.mock-stats div { padding: 11px 13px; border-right: 1px solid var(--border); }
.mock-stats div:last-child { border-right: 0; }
.mock-stats small { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--text-muted); }
.mock-stats b { display: block; margin-top: 3px; font-size: 21px; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mock-table { margin-top: 14px; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; font-size: 12.5px; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr .8fr 1fr; align-items: center; gap: 10px; padding: 9px 13px; border-bottom: 1px solid var(--border); }
.mock-row:last-child { border-bottom: 0; }
.mock-row.head { padding: 7px 13px; font-size: 11px; color: var(--text-muted); background: var(--bg-subtle); }
.mock-row .who { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.mock-row .avatar { --size: 22px; }

.phone {
    position: absolute; right: -8px; bottom: -40px; width: 248px; padding: 9px;
    background: #0b0b0d; border-radius: 40px;
    box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 40px 80px -20px rgb(9 9 11 / .45), 0 0 0 1px rgb(9 9 11 / .2);
    animation: phone-in 1.1s cubic-bezier(.2, .8, .2, 1) .45s both;
}
@keyframes phone-in { from { opacity: 0; transform: translateY(40px) rotate(2deg); } }
.phone-screen { position: relative; height: 488px; overflow: hidden; background: #fff; border-radius: 32px; color: #09090b; text-align: center; }
.phone-notch { position: absolute; top: 9px; left: 50%; width: 82px; height: 24px; transform: translateX(-50%); background: #0b0b0d; border-radius: 20px; }
.phone-status { display: flex; justify-content: space-between; padding: 14px 22px 0; font-size: 11px; font-weight: 600; }
.phone-app { padding: 30px 18px 18px; }
.phone-app .hello { font-size: 12px; color: #71717a; }
.phone-app .name { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.punch-ring {
    position: relative; width: 168px; height: 168px; margin: 26px auto 0; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    background: radial-gradient(circle at 30% 25%, #6b95ff, #2e5bff 55%, #1a36c9);
    color: #fff; box-shadow: 0 20px 40px -12px rgb(46 91 255 / .6), inset 0 1px 0 rgb(255 255 255 / .3);
}
.punch-ring::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgb(46 91 255 / .25); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.94); opacity: 1; } to { transform: scale(1.18); opacity: 0; } }
.punch-ring b { font-family: var(--mono); font-size: 26px; font-weight: 500; letter-spacing: -0.03em; }
.punch-ring span { font-size: 11px; opacity: .85; }
.phone-toast {
    position: absolute; z-index: 2; left: -150px; top: 70px; width: 270px; display: flex; gap: 10px; padding: 11px 12px; text-align: left;
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 12px;
    animation: toast-pop .6s cubic-bezier(.2, .9, .3, 1.3) 1.4s both;
}
@keyframes toast-pop { from { opacity: 0; transform: translateY(-10px) scale(.92); } }
.phone-toast .ic { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; }
.phone-toast b { display: block; font-size: 12.5px; }
.phone-toast span { color: var(--text-muted); }
@media (max-width: 980px) { .phone { display: none; } .mock-body { grid-template-columns: minmax(0, 1fr); } .mock-side { display: none; } .mock { transform: none; } }
@media (max-width: 620px) { .mock-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mock-stats div:nth-child(2) { border-right: 0; } .mock-stats div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } .mock-row { grid-template-columns: minmax(0, 1.5fr) 1fr; } .mock-row > :nth-child(n+3) { display: none; } }

/* ---------- Sections ---------- */
.lp-section { padding: 120px 0; }
.lp-section.tight { padding: 80px 0; }
.lp-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--primary-text); font-family: var(--mono); letter-spacing: .02em; text-transform: uppercase; }
.lp-h2 { margin-top: 14px; font-size: clamp(32px, 4.2vw, 52px); font-weight: 650; line-height: 1.06; letter-spacing: -0.04em; max-width: 780px; }
.lp-h2 .soft { color: var(--text-faint); }
.lp-sub { margin-top: 16px; max-width: 620px; font-size: 17px; line-height: 1.6; color: var(--text-muted); }
.lp-head-center { text-align: center; }
.lp-head-center .lp-h2, .lp-head-center .lp-sub { margin-left: auto; margin-right: auto; }

.lp-sectors { padding: 40px 0 0; text-align: center; }
.lp-sectors p { font-size: 13px; color: var(--text-muted); }
.lp-sectors .row { justify-content: center; flex-wrap: wrap; gap: 10px 28px; margin-top: 16px; }
.lp-sectors span { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--text-secondary); letter-spacing: -0.01em; }
.lp-sectors .icon { color: var(--text-faint); }

/* ---------- 2027 ---------- */
.lp-law { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; background: var(--bg); }
.lp-law-count { position: relative; padding: 44px; color: #fff; background: #0b0d14; overflow: hidden; }
.lp-law-count::before { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 100% 0%, rgb(46 91 255 / .5), transparent 70%); }
.lp-law-count > * { position: relative; }
.lp-law-count .lbl { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .55); }
.countdown { display: flex; gap: 10px; margin-top: 18px; }
.countdown div { flex: 1; padding: 14px 10px 12px; text-align: center; background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); border-radius: 12px; }
.countdown b { display: block; font-family: var(--mono); font-size: clamp(30px, 4vw, 44px); font-weight: 500; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.countdown span { display: block; margin-top: 8px; font-size: 11px; color: rgb(255 255 255 / .55); }
.lp-law-count h3 { margin-top: 28px; font-size: 22px; line-height: 1.3; letter-spacing: -0.02em; font-weight: 600; }
.lp-law-count p { margin-top: 10px; color: rgb(255 255 255 / .65); font-size: 14.5px; line-height: 1.6; }
.lp-law-list { padding: 36px 40px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.lp-check { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
.lp-check .ic { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: var(--success-text); background: var(--success-soft); }
.lp-check b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.lp-check span { display: block; margin-top: 2px; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.lp-disclaimer { margin-top: 14px; font-size: 12px; color: var(--text-faint); }
@media (max-width: 900px) { .lp-law { grid-template-columns: minmax(0, 1fr); } .lp-law-count, .lp-law-list { padding: 28px 22px; } }

/* ---------- Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.tile { position: relative; display: flex; flex-direction: column; padding: 26px; overflow: hidden; background: var(--bg); border: 1px solid var(--border); border-radius: 18px; transition: border-color .2s; }
.tile:hover { border-color: var(--border-strong); }
.tile.span-2 { grid-column: span 2; } .tile.span-3 { grid-column: span 3; } .tile.span-4 { grid-column: span 4; }
.tile-ic { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 9px; color: var(--primary-text); background: var(--primary-soft); }
.tile h3 { margin-top: 18px; font-size: 18px; letter-spacing: -0.02em; }
.tile p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.tile-art { margin-top: auto; padding-top: 22px; }
@media (max-width: 960px) { .bento { grid-template-columns: minmax(0, 1fr); } .tile.span-2, .tile.span-3, .tile.span-4 { grid-column: auto; } }

.art-week { display: grid; grid-template-columns: 70px repeat(5, minmax(0, 1fr)); gap: 5px; font-size: 11px; }
.art-week .h { color: var(--text-faint); text-align: center; padding-bottom: 2px; }
.art-week .p { display: flex; align-items: center; gap: 6px; font-weight: 500; color: var(--text-secondary); }
.art-week .s { height: 30px; padding: 4px 6px; font-family: var(--mono); font-size: 10px; font-weight: 500; line-height: 1.1; border-radius: 5px; background: color-mix(in srgb, var(--c) 12%, var(--bg)); border-left: 3px solid var(--c); color: var(--text-secondary); }
.art-week .x { height: 30px; border-radius: 5px; background: repeating-linear-gradient(135deg, transparent, transparent 5px, var(--bg-muted) 5px, var(--bg-muted) 6px); }
.art-week .l { height: 30px; padding: 4px 6px; font-size: 10px; font-weight: 500; border-radius: 5px; color: var(--primary-text); background: var(--primary-soft); }

.art-loc { display: flex; flex-direction: column; gap: 8px; }
.art-loc .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 13px; border: 1px solid var(--border); border-radius: 10px; }
.art-loc .opt.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-text); }
.art-loc .opt small { margin-left: auto; color: var(--text-muted); font-size: 12px; }

.art-notif { display: flex; flex-direction: column; gap: 8px; }
.art-notif .n { display: flex; gap: 10px; align-items: center; padding: 10px 12px; font-size: 12.5px; background: var(--bg-subtle); border: 1px solid var(--border); border-radius: 12px; }
.art-notif .n .ic { width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0; }
.art-notif .n b { display: block; font-size: 12.5px; }
.art-notif .n span { color: var(--text-muted); }
.art-notif .n time { margin-left: auto; font-size: 11px; color: var(--text-faint); align-self: flex-start; }

.art-file { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg-subtle); }
.art-file .doc { display: flex; align-items: center; justify-content: center; width: 38px; height: 46px; border-radius: 6px; background: var(--bg); border: 1px solid var(--border); color: var(--danger-text); font-size: 9px; font-weight: 700; }
.art-file b { display: block; font-size: 13px; }
.art-file span { font-size: 12px; color: var(--text-muted); }
.art-file .lock { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--success-text); background: var(--success-soft); padding: 4px 8px; border-radius: 99px; }

.art-report { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; font-size: 12px; }
.art-report div { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.art-report div:last-child { border-bottom: 0; }
.art-report div:first-child { color: var(--text-muted); background: var(--bg-subtle); font-size: 11px; }
.art-report span:not(:first-child) { text-align: right; }

/* ---------- Split (roles) ---------- */
.roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 56px; }
.role { padding: 32px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-subtle); }
.role .badge { height: 24px; font-size: 12.5px; }
.role h3 { margin-top: 18px; font-size: 24px; letter-spacing: -0.03em; }
.role ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.role li { display: flex; gap: 10px; font-size: 15px; color: var(--text-secondary); line-height: 1.45; }
.role li .icon { margin-top: 3px; color: var(--primary); }
@media (max-width: 860px) { .roles { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Steps ---------- */
.lp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 56px; border-top: 1px solid var(--border); }
.lp-step { padding: 28px 28px 0 0; }
.lp-step .num-badge { font-family: var(--mono); font-size: 13px; color: var(--primary-text); }
.lp-step h3 { margin-top: 12px; font-size: 19px; letter-spacing: -0.02em; }
.lp-step p { margin-top: 8px; font-size: 15px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Trust ---------- */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 48px; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.trust div { padding: 26px; border-right: 1px solid var(--border); }
.trust div:last-child { border-right: 0; }
.trust .icon { color: var(--text); }
.trust b { display: block; margin-top: 14px; font-size: 15px; letter-spacing: -0.01em; }
.trust span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 860px) { .trust { grid-template-columns: minmax(0, 1fr); } .trust div { border-right: 0; border-bottom: 1px solid var(--border); } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 56px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 30px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg); }
.plan.featured { position: relative; border-color: var(--text); box-shadow: 0 30px 60px -30px rgb(9 9 11 / .3); }
.plan.featured::before { content: 'Le plus choisi'; position: absolute; top: -11px; left: 30px; padding: 3px 10px; font-size: 11.5px; font-weight: 600; color: var(--bg); background: var(--text); border-radius: 99px; }
.plan h3 { font-size: 16px; }
.plan .price { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; }
.plan .price b { white-space: nowrap; font-size: 44px; font-weight: 650; letter-spacing: -0.05em; line-height: 1; }
.plan .price span { font-size: 14px; color: var(--text-muted); }
.plan .desc { margin-top: 10px; font-size: 14px; color: var(--text-muted); line-height: 1.5; min-height: 42px; }
.plan ul { margin: 22px 0 26px; padding: 22px 0 0; list-style: none; display: grid; gap: 10px; border-top: 1px solid var(--border); }
.plan li { display: flex; gap: 9px; font-size: 14px; color: var(--text-secondary); }
.plan li .icon { margin-top: 2px; color: var(--success); }
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 40px 22px 0; font-size: 15px; line-height: 1.65; color: var(--text-muted); }

/* ---------- Final CTA ---------- */
.lp-final { margin: 40px 24px 0; padding: 96px 24px; text-align: center; color: #fff; background: #0b0d14; border-radius: 28px; position: relative; overflow: hidden; }
.lp-final::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 0%, rgb(46 91 255 / .55), transparent 70%); }
.lp-final::after {
    content: ''; position: absolute; inset: 0; opacity: .6;
    background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px);
    background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%);
}
.lp-final > * { position: relative; z-index: 1; }
.lp-final h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 650; letter-spacing: -0.045em; line-height: 1.04; max-width: 760px; margin: 0 auto; }
.lp-final p { margin: 18px auto 0; max-width: 520px; font-size: 17px; color: rgb(255 255 255 / .65); }
.lp-final .btn-white { color: #09090b; background: #fff; border-color: transparent; }
.lp-final .btn-white:hover { background: #e4e4e7; }
.lp-final .btn-outline-white { color: #fff; background: transparent; border-color: rgb(255 255 255 / .2); box-shadow: none; }
.lp-final .btn-outline-white:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .3); }

/* ---------- Footer ---------- */
.lp-footer { padding: 64px 0 40px; }
.lp-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 28px; }
.lp-footer h4, .lp-footer-title { margin: 0; font-size: 13px; font-weight: 500; color: var(--text); }
.lp-footer ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.lp-footer li a { font-size: 14px; color: var(--text-muted); }
.lp-footer li a:hover { color: var(--text); }
.lp-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-faint); flex-wrap: wrap; }
@media (max-width: 860px) { .lp-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .mock, .phone, .phone-toast, .punch-ring::before { animation: none; }
}

/* ---------- Legal ---------- */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: 40px; letter-spacing: -0.04em; }
.legal h2 { margin-top: 36px; font-size: 19px; }
.legal p, .legal li { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); }

/* ---------- Stores ---------- */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
    display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px;
    color: #fff; background: #000; border: 1px solid rgb(255 255 255 / .16); border-radius: 12px;
    transition: transform .15s, box-shadow .15s;
}
.store-badge:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 11px; opacity: .8; }
.store-badge b { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.lp-app { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 48px; padding: 56px; border: 1px solid var(--border); border-radius: 24px; background: radial-gradient(70% 90% at 100% 100%, var(--primary-soft), transparent 60%), var(--bg-subtle); overflow: hidden; }
.lp-app .lp-h2 { font-size: clamp(28px, 3.4vw, 42px); }
.lp-app ul { margin: 22px 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; }
.lp-app li { display: flex; gap: 10px; font-size: 15px; color: var(--text-secondary); }
.lp-app li .icon { margin-top: 3px; color: var(--primary); }
.lp-app-visual { position: relative; display: flex; justify-content: center; }
.lp-app-visual .app-icon { width: 168px; height: 168px; border-radius: 38px; box-shadow: 0 40px 80px -24px rgb(26 54 201 / .55), 0 0 0 1px rgb(0 0 0 / .04); transform: rotate(-6deg); }
.lp-app-visual .app-langs { position: absolute; bottom: -10px; right: 12%; display: flex; gap: 4px; padding: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 99px; box-shadow: var(--shadow); font-family: var(--mono); font-size: 11px; font-weight: 600; }
.lp-app-visual .app-langs span { padding: 3px 8px; border-radius: 99px; background: var(--bg-muted); }
@media (max-width: 860px) { .lp-app { grid-template-columns: minmax(0, 1fr); padding: 28px 22px; } .lp-app-visual { display: none; } }
.lp-footer .store-badge { height: 44px; }
.lp-footer .store-badge b { font-size: 15px; }
.lp-hero-stores { justify-content: center; margin-top: 26px; }
.lp-footer-stores { margin-top: 18px; }

/* ---------- Guides (SEO) ---------- */
.guide-hero { position: relative; padding: 56px 0 40px; border-bottom: 1px solid var(--border); background: radial-gradient(60% 120% at 100% 0%, var(--primary-soft), transparent 60%); }
.guide-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; font-size: 13px; color: var(--text-muted); }
.guide-crumbs a:hover { color: var(--text); }
.guide-crumbs span[aria-current] { color: var(--text); }
.guide-title { margin-top: 14px; max-width: 860px; font-size: clamp(32px, 4.6vw, 54px); font-weight: 650; line-height: 1.06; letter-spacing: -0.04em; }
.guide-summary { position: relative; max-width: 780px; margin-top: 24px; padding: 18px 20px 18px 22px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.guide-summary::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--primary); }
.guide-summary-label { display: block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--primary-text); }
.guide-summary p { margin-top: 6px; font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 32px; }
.guide-toc { position: sticky; top: 88px; align-self: start; font-size: 13.5px; }
.guide-toc-title { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: var(--text-faint); text-transform: uppercase; }
.guide-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--border); }
.guide-toc a { display: block; padding: 5px 0 5px 14px; margin-left: -1px; color: var(--text-muted); border-left: 1px solid transparent; line-height: 1.4; }
.guide-toc a:hover { color: var(--text); border-left-color: var(--text); }
.guide-body { max-width: 760px; }
.guide-body section + section { margin-top: 44px; }
.guide-body h2 { font-size: 26px; letter-spacing: -0.03em; line-height: 1.2; scroll-margin-top: 90px; }
.guide-body p { margin-top: 14px; font-size: 17px; line-height: 1.72; color: var(--text-secondary); }
.guide-list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.guide-list li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.6; color: var(--text-secondary); }
.guide-list li .icon { flex-shrink: 0; margin-top: 5px; color: var(--success); }
.guide-body .faq { margin: 0; max-width: none; }
.guide-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 48px; padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--bg-subtle); }
.guide-cta p { margin-top: 4px; font-size: 14.5px; color: var(--text-muted); }
.guide-related-title { font-size: 24px; letter-spacing: -0.03em; }
.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); transition: border-color .15s, transform .15s, box-shadow .15s; }
.guide-card:hover { border-color: var(--border-strong); transform: translateY(-2px); box-shadow: var(--shadow); }
.guide-card strong { font-size: 17px; line-height: 1.3; letter-spacing: -0.02em; }
.guide-card-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.guide-card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: 13.5px; font-weight: 500; color: var(--primary-text); }
@media (max-width: 960px) { .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; } .guide-toc { display: none; } }


/* ---------- Mobile : rythme vertical resserré (audit) ---------- */
.eyebrow-short { display: none; }
@media (max-width: 640px) {
    .eyebrow-long { display: none; }
    .eyebrow-short { display: inline; white-space: nowrap; }
    .lp-eyebrow { height: 30px; font-size: 12.5px; }

    .lp-hero { padding: 28px 0 24px; }
    .lp-hero::after { top: 60px; width: 520px; height: 360px; }
    .lp-title { margin-top: 18px; font-size: clamp(34px, 10vw, 42px); }
    .lp-lead { margin-top: 14px; font-size: 15.5px; }
    .lp-cta { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 22px; }
    .lp-cta .btn { width: 100%; }
    .lp-reassure { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin-top: 16px; text-align: left; font-size: 12.5px; }
    .lp-reassure span { align-items: flex-start; }
    .lp-hero-stores { flex-wrap: nowrap; gap: 8px; margin-top: 20px; }
    .lp-hero-stores .store-badge { flex: 1; min-width: 0; height: 46px; padding: 0 10px; gap: 8px; justify-content: center; }
    .lp-hero-stores .store-badge b { font-size: 15px; }
    .lp-hero-stores .store-badge small { font-size: 10px; }
    .lp-stage { margin-top: 32px; padding: 0 16px; }

    .lp-sectors { padding-top: 32px; }
    .lp-sectors .row { gap: 8px 18px; }
    .lp-sectors span { font-size: 14px; }

    .lp-section { padding: 56px 0; }
    .lp-section.tight { padding: 40px 0; }
    .lp-section[style*="padding-top"] { padding-top: 16px !important; }
    .lp-h2 { font-size: clamp(28px, 8vw, 34px); }
    .lp-sub { font-size: 15.5px; margin-top: 12px; }
    .lp-law, .bento, .roles, .lp-steps, .trust, .plans { margin-top: 28px; }
    .lp-law-count, .lp-law-list { padding: 22px 18px; }
    .lp-law-count h3 { margin-top: 20px; font-size: 19px; }
    .countdown { gap: 6px; }
    .countdown div { padding: 10px 4px 8px; }
    .tile { padding: 20px; }
    .tile-art { padding-top: 16px; }
    .role { padding: 22px; }
    .role h3 { font-size: 20px; }
    .lp-step { padding: 20px 0 0; }
    .trust div { padding: 18px; }
    .plan { padding: 22px; }
    .plan ul { margin: 16px 0 18px; padding-top: 16px; }
    .lp-app { padding: 22px 18px; gap: 0; }
    .faq { margin-top: 24px; }
    .faq summary { padding: 16px 0; font-size: 15.5px; }
    .faq details p { padding: 0 0 16px; }
    .lp-final { margin: 16px 12px 0; padding: 48px 20px; border-radius: 22px; }
    .lp-final .lp-cta { margin-top: 22px; }
    .lp-footer { padding: 40px 0 28px; }
    .lp-footer-grid { gap: 24px; }
    .lp-footer-bottom { margin-top: 28px; flex-direction: column; gap: 10px; }
}

/* Bulle de contact : plus discrète sur mobile pour ne rien masquer */
@media (max-width: 640px) {
    .contact-widget { right: 12px; bottom: 12px; }
    .contact-bubble .founder-avatar { --s: 48px !important; width: 48px; height: 48px; }
    .contact-dot { width: 12px; height: 12px; }
}
.pricing-code { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: -8px auto 28px; max-width: 420px; text-align: center; }
.pricing-code .input { width: 220px; }
.pricing-code-ok { color: var(--success-text, #15803d); font-weight: 600; }
.pricing-code-error { color: var(--danger-text, #b91c1c); }
.plan .price-old { color: var(--text-faint); font-size: 17px; margin-right: 8px; font-weight: 500; white-space: nowrap; align-self: center; text-decoration: line-through; }
.plan .price { flex-wrap: wrap; }

/* ---------- /download ---------- */
.dl { padding: 64px 0 96px; overflow: hidden; }
.dl-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.dl-title { margin-top: 22px; font-size: clamp(40px, 5.6vw, 68px); font-weight: 650; line-height: 1.02; letter-spacing: -0.045em; }
.dl-title .mark { color: var(--primary); }
.dl-lead { margin: 20px 0 0; max-width: 540px; }
.dl-stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.dl-store { display: inline-flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px 0 18px; border-radius: 14px; background: #09090b; color: #fff; transition: transform .15s, box-shadow .15s; }
.dl-store:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgb(9 9 11 / .55); }
.dl-store svg { width: 26px; height: 26px; flex: none; }
.dl-store span { display: flex; flex-direction: column; line-height: 1.1; }
.dl-store small { font-size: 11.5px; opacity: .8; }
.dl-store b { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.dl-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--text-secondary); }
.dl-points li { display: flex; align-items: center; gap: 9px; }
.dl-points .icon { color: var(--success); }
.dl-office { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding: 16px 16px 16px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-subtle); max-width: 560px; }
.dl-office > div { flex: 1; }
.dl-office-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--primary-soft); color: var(--primary-text); flex: none; }
.dl-new { margin-top: 12px; }
.dl-visual { position: relative; height: 620px; }
.dl-glow { position: absolute; inset: 8% 4% 0 10%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 65%), radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--violet) 25%, transparent), transparent 60%); filter: blur(40px); }
.dl-phone { position: absolute; width: 270px; padding: 9px; border-radius: 44px; background: #0b0b10; box-shadow: 0 0 0 1.5px #2e2f38, 0 40px 80px -24px rgb(15 20 70 / .5); }
.dl-phone img { display: block; width: 100%; border-radius: 36px; }
.dl-phone-front { left: 34%; top: 20px; z-index: 2; animation: dl-float 6s ease-in-out infinite; }
.dl-phone-back { left: 4%; top: 70px; transform: rotate(-7deg) scale(.92); opacity: .95; }
.dl-qr { position: absolute; right: 0; bottom: 40px; z-index: 3; display: flex; align-items: center; gap: 14px; padding: 14px 18px 14px 14px; border-radius: 18px; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 24px 48px -16px rgb(9 9 11 / .28); max-width: 300px; }
.dl-qr-code { width: 108px; height: 108px; flex: none; padding: 8px; border-radius: 12px; background: #fff; }
.dl-qr-code svg { width: 100%; height: 100%; display: block; }
@keyframes dl-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .dl-phone-front { animation: none; } }
@media (max-width: 900px) {
    .dl { padding: 40px 0 64px; }
    .dl-grid { grid-template-columns: 1fr; gap: 24px; }
    .dl-visual { height: 520px; }
    .dl-phone { width: 220px; }
    .dl-phone-front { left: auto; right: 6%; }
    .dl-qr { display: none; }
    .dl-office { flex-wrap: wrap; }
    .dl-office .btn { width: 100%; justify-content: center; }
}

/* ---------- Nouveau : planning v2 (démo animée) ---------- */
.pd { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; align-items: center; gap: 36px; max-width: 1100px; margin: 56px auto 0; }
.pd-window {
    position: relative; text-align: left;
    background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--bg-muted) 70%, transparent), 0 40px 80px -24px rgb(9 9 11 / .25), 0 12px 24px -12px rgb(9 9 11 / .12);
}
.pd-body { padding: 18px 20px 0; }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; letter-spacing: -0.01em; }
.pd-top .muted { color: var(--text-muted); font-weight: 400; }
.pd-publish { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 500; color: #fff; background: var(--primary); border-radius: 8px; transition: background .3s, transform .2s; }
.pd-publish.done { background: var(--success); }
.pd-grid { display: grid; grid-template-columns: 96px repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 14px; font-size: 12px; }
.pd-day { padding: 2px 0 4px; text-align: center; color: var(--text-muted); font-size: 11.5px; }
.pd-day b { color: var(--text); font-weight: 600; }
.pd-who { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--text-secondary); min-width: 0; }
.pd-who .avatar { --size: 22px; flex: none; }
.pd-cell { height: 46px; border-radius: 8px; border: 1px dashed var(--border); background: var(--bg-subtle); transition: border-color .2s, background .2s, box-shadow .2s; }
.pd-cell.over { border: 1px solid var(--primary); background: var(--primary-soft); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.pd-shift { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 0 8px; border-radius: 7px; background: color-mix(in srgb, var(--c) 14%, var(--bg)); border-left: 3px solid var(--c); overflow: hidden; }
.pd-shift b { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--text); }
.pd-shift small { font-size: 10.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-shift.pd-off { flex-direction: row; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500; color: var(--primary-text); background: var(--primary-soft); border-left-color: var(--primary); }
.pd-shift.pd-off .icon { width: 12px; height: 12px; }
.pd-shift.pop { animation: pd-pop .45s cubic-bezier(.2, .9, .3, 1.4); }
@keyframes pd-pop { from { transform: scale(.6); opacity: 0; } }
.pd-tray { margin: 18px -20px 0; padding: 12px 20px 16px; border-top: 1px solid var(--border); border-radius: 0 0 13px 13px; background: color-mix(in srgb, var(--bg-subtle) 80%, transparent); }
.pd-tabs { display: flex; gap: 6px; font-size: 11.5px; }
.pd-tabs span { padding: 3px 10px; border-radius: 99px; color: var(--text-muted); border: 1px solid var(--border); }
.pd-tabs span.on { color: var(--bg); background: var(--bg-inverse); border-color: var(--bg-inverse); }
.pd-chips { display: flex; gap: 8px; margin-top: 10px; overflow: hidden; }
.pd-chip, .pd-ghost { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 10px; font-size: 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 9px; white-space: nowrap; transition: opacity .2s, transform .2s; }
.pd-chip i, .pd-ghost i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.pd-chip small, .pd-ghost small { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }
.pd-chip.lift { opacity: .45; transform: scale(.96); }
.pd-ghost { position: absolute; left: 0; top: 0; z-index: 4; opacity: 0; transition: opacity .15s; pointer-events: none; border-color: var(--c); box-shadow: 0 14px 30px -10px rgb(9 9 11 / .35); }
.pd-ghost.on { opacity: 1; }
.pd-cursor { position: absolute; left: 0; top: 0; z-index: 6; opacity: 0; pointer-events: none; filter: drop-shadow(0 3px 4px rgb(0 0 0 / .25)); transition: opacity .4s; }
.pd-cursor.on { opacity: 1; }
/* Le « clic » rétrécit la flèche elle-même : un scale sur le SVG multiplierait aussi sa translation. */
.pd-cursor path { transform-origin: 5px 3px; transition: transform .15s; }
.pd-cursor.down path { transform: scale(.82); }
.pd-menu { position: absolute; z-index: 5; display: grid; min-width: 150px; padding: 5px; font-size: 12.5px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-lg, 0 20px 40px -12px rgb(9 9 11 / .3)); opacity: 0; transform: translateY(-6px) scale(.96); transform-origin: top left; transition: opacity .18s, transform .18s; pointer-events: none; }
.pd-menu.on { opacity: 1; transform: none; }
.pd-menu span { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--text-secondary); }
.pd-menu span.hover { background: var(--primary-soft); color: var(--primary-text); }
.pd-phone { position: relative; width: 210px; padding: 8px; background: #0b0b0d; border-radius: 34px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 40px 80px -20px rgb(9 9 11 / .45); }
.pd-phone-screen { position: relative; height: 380px; overflow: hidden; background: #fff; border-radius: 27px; color: #09090b; }
.pd-phone-app { padding: 44px 14px 14px; }
.pd-phone-app .hello { font-size: 11px; color: #71717a; }
.pd-phone-app .name { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.pd-mine { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: center; gap: 8px; margin-top: 7px; font-size: 11px; }
.pd-mine .d { color: #71717a; font-weight: 500; }
.pd-mine .s { padding: 8px 9px; font-family: var(--mono); font-size: 10.5px; font-weight: 600; border-radius: 8px; background: color-mix(in srgb, var(--c) 14%, #fff); border-left: 3px solid var(--c); }
.pd-mine .s.off { font-family: inherit; color: #1d3fd1; background: #eef2ff; border-left-color: #2e5bff; }
.pd-mine.new { opacity: .25; filter: grayscale(1); transition: opacity .5s, filter .5s; }
.pd-mine.new.on { opacity: 1; filter: none; }
.pd-mine.new.on .s { box-shadow: 0 0 0 3px color-mix(in srgb, #F59E0B 25%, transparent); }
.pd-toast { position: absolute; left: -120px; top: 34px; z-index: 2; width: 236px; display: flex; gap: 10px; padding: 10px 12px; font-size: 11.5px; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg, 0 20px 40px -12px rgb(9 9 11 / .3)); opacity: 0; transform: translateY(-10px) scale(.92); transition: opacity .35s, transform .5s cubic-bezier(.2, .9, .3, 1.3); }
.pd-toast.on { opacity: 1; transform: none; }
.pd-toast .ic { width: 28px; height: 28px; flex: none; border-radius: 8px; }
.pd-toast b { display: block; font-size: 12px; }
.pd-toast span { color: var(--text-muted); }
.pd-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 1100px; margin: 64px auto 0; }
.pd-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 1100px; margin: 48px auto 0; }
/* Historique : les journées se remplissent une à une */
.pd-cal { margin-top: 20px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; }
.pd-cal-head { display: flex; justify-content: space-between; font-size: 13px; }
.pd-cal-head span { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.pd-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
.pd-cal-grid .h { font-size: 10px; text-align: center; color: var(--text-faint); }
.pd-cal-d { display: flex; flex-direction: column; justify-content: space-between; height: 38px; padding: 4px 5px; font-size: 10px; border-radius: 6px; background: var(--bg-subtle); color: var(--text-faint); }
.pd-cal-d b { font-weight: 500; }
.pd-cal-d small { font-family: var(--mono); font-size: 9.5px; font-weight: 600; }
.pd-cal-d.work, .pd-cal-d.sick, .pd-cal-d.rest { transition: background .4s calc(var(--i) * 45ms), color .4s calc(var(--i) * 45ms); }
.reveal.in .pd-cal-d.work { background: var(--success-soft); color: var(--success-text); }
.reveal.in .pd-cal-d.sick { background: var(--danger-soft, #fef2f2); color: var(--danger); }
.reveal.in .pd-cal-d.rest { background: var(--primary-soft); color: var(--primary-text); }
.pd-cal-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 11px; color: var(--text-muted); }
.pd-cal-legend span::before { content: ''; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 3px; }
.pd-cal-legend .work::before { background: var(--success); }
.pd-cal-legend .sick::before { background: var(--danger); }
.pd-cal-legend .rest::before { background: var(--primary); }
/* Certificat attendu : trois étapes qui s'allument en boucle */
.pd-flow { position: relative; display: grid; gap: 10px; margin-top: 20px; }
.pd-flow::before { content: ''; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: var(--border); }
.pd-flow-step { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 4px; font-size: 12.5px; border-radius: 12px; }
.pd-flow-step .ic { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; color: var(--text-muted); background: var(--bg); border: 1px solid var(--border); }
.pd-flow-step b { display: block; font-size: 13px; }
.pd-flow-step span { color: var(--text-muted); }
.pd-flow-step .lock { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; font-size: 11px; font-weight: 500; border-radius: 99px; color: var(--success-text); background: var(--success-soft); }
.reveal.in .pd-flow-step { animation: pd-step 6s calc(var(--i) * 1.2s) infinite both; }
.reveal.in .pd-flow-step .ic { animation: pd-step-ic 6s calc(var(--i) * 1.2s) infinite both; }
@keyframes pd-step { 0%, 4% { background: transparent; opacity: .45; } 10%, 70% { background: var(--bg-subtle); opacity: 1; } 85%, 100% { background: transparent; opacity: .45; } }
@keyframes pd-step-ic { 0%, 4% { color: var(--text-muted); border-color: var(--border); } 10%, 70% { color: #fff; background: var(--primary); border-color: var(--primary); } 85%, 100% { color: var(--text-muted); background: var(--bg); border-color: var(--border); } }
@media (max-width: 980px) {
    .pd { grid-template-columns: minmax(0, 1fr); }
    .pd-phone { display: none; }
    .pd-points, .pd-duo { grid-template-columns: minmax(0, 1fr); }
    .pd-points { margin-top: 48px; gap: 18px; }
}
@media (max-width: 620px) {
    .pd-body { padding: 14px 12px 0; }
    .pd-grid { grid-template-columns: 34px repeat(5, minmax(0, 1fr)); gap: 4px; }
    .pd-name { display: none; }
    .pd-cell { height: 40px; }
    .pd-shift { padding: 0 4px; border-left-width: 2px; }
    .pd-shift b { font-size: 9.5px; }
    .pd-shift small { display: none; }
    .pd-shift.pd-off { font-size: 9.5px; padding: 0 3px; }
    .pd-shift.pd-off .icon { display: none; }
    .pd-tray { margin: 14px -12px 0; padding: 10px 12px 12px; }
    .pd-chip small { display: none; }
    .pd-tabs span:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-cal-d { transition: none !important; }
    .reveal.in .pd-flow-step, .reveal.in .pd-flow-step .ic { animation: none; }
}

.pd-window > .mock-bar { border-radius: 13px 13px 0 0; }
.pd-chips { overflow: visible; flex-wrap: wrap; }

/* ---------- Nouveau : planning v3 (modules) ---------- */
.nv { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 48px; max-width: 1100px; margin: 56px auto 0; }
.nv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nv-item { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; transition: border-color .2s; }
.nv-item:hover { border-color: var(--border-strong); }
.nv-item b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.nv-item span:not(.tile-ic) { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.nv-more { max-width: 640px; margin: 28px auto 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--text-muted); }

/* Tablette : cadre sombre, écran clair (comme les téléphones de la page) */
.nv-pos { padding: 10px; background: #0b0b0d; border-radius: 22px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 40px 80px -24px rgb(9 9 11 / .4); }
.nv-pos-screen { position: relative; overflow: hidden; padding: 14px; background: #fff; color: #09090b; border-radius: 14px; }
.nv-pos-top { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.nv-pos-top span { font-family: var(--mono); font-size: 12px; color: #71717a; }
.nv-pos-body { display: grid; grid-template-columns: minmax(0, 1fr) 132px; gap: 12px; margin-top: 12px; }
.nv-pos-names { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.nv-pos-p { display: flex; align-items: center; gap: 7px; min-width: 0; padding: 8px; font-size: 11.5px; font-weight: 500; border: 1px solid #e4e4e7; border-radius: 10px; white-space: nowrap; overflow: hidden; }
.nv-pos-p .avatar { --size: 22px; flex: none; }
.nv-pos-pad { display: flex; flex-direction: column; align-items: center; padding: 10px 8px; background: #f4f4f5; border-radius: 12px; }
.nv-pos-pad small { font-size: 10.5px; color: #71717a; }
.nv-pos-dots { display: flex; gap: 8px; margin: 7px 0 9px; }
.nv-pos-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #a1a1aa; }
.nv-pos-keys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 100%; }
.nv-pos-keys span { display: grid; place-items: center; height: 22px; font-family: var(--mono); font-size: 11px; font-weight: 500; background: #fff; border-radius: 6px; }
.nv-pos-keys .blank { background: transparent; }
.nv-pos-go { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 28px; margin-top: 8px; font-size: 11.5px; font-weight: 600; color: #fff; background: #16a34a; border-radius: 8px; }
.nv-pos-ok { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 12.5px; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; box-shadow: 0 14px 30px -12px rgb(9 9 11 / .25); opacity: 0; transform: translateY(10px); }
.nv-pos-ok span { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: #166534; }
.nv-pos-p.on { border-color: #2e5bff; box-shadow: 0 0 0 3px rgb(46 91 255 / .15); }
/* Boucle de 7 s : quatre chiffres, « Arriver », confirmation */
.reveal.in .nv-pos-p.on { animation: nv-pick 7s infinite both; }
.reveal.in .nv-pos-dots i:nth-child(1) { animation: nv-d1 7s infinite both; }
.reveal.in .nv-pos-dots i:nth-child(2) { animation: nv-d2 7s infinite both; }
.reveal.in .nv-pos-dots i:nth-child(3) { animation: nv-d3 7s infinite both; }
.reveal.in .nv-pos-dots i:nth-child(4) { animation: nv-d4 7s infinite both; }
.reveal.in .nv-pos-go { animation: nv-go 7s infinite both; }
.reveal.in .nv-pos-ok { animation: nv-ok 7s infinite both; }
@keyframes nv-pick { 0%, 6% { border-color: #e4e4e7; box-shadow: none; } 10%, 92% { border-color: #2e5bff; box-shadow: 0 0 0 3px rgb(46 91 255 / .15); } 100% { border-color: #e4e4e7; box-shadow: none; } }
@keyframes nv-d1 { 0%, 18% { background: transparent; border-color: #a1a1aa; } 20%, 92% { background: #09090b; border-color: #09090b; } 100% { background: transparent; border-color: #a1a1aa; } }
@keyframes nv-d2 { 0%, 26% { background: transparent; border-color: #a1a1aa; } 28%, 92% { background: #09090b; border-color: #09090b; } 100% { background: transparent; border-color: #a1a1aa; } }
@keyframes nv-d3 { 0%, 34% { background: transparent; border-color: #a1a1aa; } 36%, 92% { background: #09090b; border-color: #09090b; } 100% { background: transparent; border-color: #a1a1aa; } }
@keyframes nv-d4 { 0%, 42% { background: transparent; border-color: #a1a1aa; } 44%, 92% { background: #09090b; border-color: #09090b; } 100% { background: transparent; border-color: #a1a1aa; } }
@keyframes nv-go { 0%, 50% { transform: none; filter: none; } 53% { transform: scale(.94); filter: brightness(.9); } 57%, 100% { transform: none; filter: none; } }
@keyframes nv-ok { 0%, 56% { opacity: 0; transform: translateY(10px); } 60%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 980px) {
    .nv { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .nv-pos { width: 100%; max-width: 420px; margin: 0 auto; }
}
@media (max-width: 640px) {
    .nv { margin-top: 28px; gap: 24px; }
    .nv-grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .nv-item { padding: 14px 16px; }
    .nv-pos-body { grid-template-columns: minmax(0, 1fr) 116px; gap: 8px; }
    .nv-pos-p { padding: 6px; font-size: 11px; gap: 5px; }
    .nv-pos-p .avatar { --size: 18px; }
    .nv-pos-keys { display: none; }
    .nv-pos-pad { justify-content: center; }
    .nv-more { margin-top: 20px; font-size: 13.5px; }
}
/* Mouvement réduit : état final, confirmation affichée */
@media (prefers-reduced-motion: reduce) {
    .reveal.in .nv-pos-p.on, .reveal.in .nv-pos-dots i, .reveal.in .nv-pos-go, .reveal.in .nv-pos-ok { animation: none; }
    .nv-pos-dots i { background: #09090b; border-color: #09090b; }
    .nv-pos-ok { opacity: 1; transform: none; }
}

/* ---------- Développeurs (documentation de l'API) ---------- */
.dv-hero { padding: 72px 0 40px; border-bottom: 1px solid var(--border); background: var(--bg-subtle); }
.dv-hero .lp-sub { max-width: 680px; margin-left: 0; text-align: left; }
.dv-hero .lp-h2 { text-align: left; }
.dv-base { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; padding: 8px 8px 8px 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; box-shadow: var(--shadow-sm); max-width: 100%; }
.dv-base-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }
.dv-base code { font-family: var(--mono); font-size: 13.5px; padding: 4px 8px; background: var(--bg-muted); border-radius: 6px; overflow-wrap: anywhere; }

.dv-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 56px; padding-top: 48px; padding-bottom: 96px; }
.dv-toc { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.dv-toc strong { margin-bottom: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-faint); }
.dv-toc a { padding: 5px 10px; margin-left: -10px; border-radius: 6px; color: var(--text-muted); transition: color .12s, background .12s; }
.dv-toc a:hover { color: var(--text); background: var(--bg-hover); }
@media (max-width: 900px) { .dv-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 32px; } .dv-toc { display: none; } }

.dv-doc { max-width: 780px; min-width: 0; }
.dv-doc h2 { margin: 56px 0 14px; padding-top: 8px; font-size: 26px; letter-spacing: -0.03em; scroll-margin-top: 84px; }
.dv-doc h2:first-child { margin-top: 0; }
.dv-doc p, .dv-doc li, .dv-doc dd { font-size: 15.5px; line-height: 1.7; color: var(--text-secondary); }
.dv-doc p + p { margin-top: 10px; }
.dv-doc code { font-family: var(--mono); font-size: .88em; padding: 1px 6px; background: var(--bg-muted); border: 1px solid var(--border); border-radius: 5px; color: var(--text); }

.dv-code { position: relative; margin: 14px 0; padding: 16px 18px; overflow-x: auto; background: #0b0d12; color: #e4e7ee; border-radius: 10px; font-family: var(--mono); font-size: 13px; line-height: 1.65; tab-size: 4; }
.dv-code code { all: unset; white-space: pre; }
.dv-code::before { content: attr(data-lang); position: absolute; top: 8px; right: 12px; font-size: 11px; color: #7c8496; text-transform: uppercase; letter-spacing: .06em; }

.dv-steps { counter-reset: dv; list-style: none; padding: 0; }
.dv-steps > li { counter-increment: dv; position: relative; padding: 0 0 22px 44px; border-left: 1px dashed var(--border-strong); margin-left: 14px; }
.dv-steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.dv-steps > li::before { content: counter(dv); position: absolute; left: -15px; top: -2px; width: 28px; height: 28px; display: grid; place-items: center; font-size: 13px; font-weight: 650; color: #fff; background: var(--primary); border-radius: 99px; }
.dv-steps > li > strong { display: block; font-size: 16px; color: var(--text); }
.dv-steps > li > p { margin-top: 4px; }

.dv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
@media (max-width: 640px) { .dv-grid { grid-template-columns: minmax(0, 1fr); } }
.dv-card { padding: 18px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; }
.dv-card > .icon { color: var(--primary); }
.dv-card strong { display: block; margin-top: 8px; font-size: 15px; }
.dv-card p { margin-top: 6px; font-size: 14px !important; line-height: 1.6 !important; }

.dv-note { display: flex; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: 14.5px; line-height: 1.6; background: var(--primary-soft); color: var(--primary-text); }
.dv-note.is-warning { background: var(--warning-soft); color: var(--warning-text); }
.dv-note > .icon { flex: none; margin-top: 3px; }

.dv-dl dt { margin-top: 18px; font-weight: 650; color: var(--text); }
.dv-dl dd { margin: 4px 0 0; }

.dv-ep { margin-top: 22px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); scroll-margin-top: 84px; }
.dv-ep-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dv-ep-head code { font-size: 14.5px !important; padding: 0 !important; border: 0 !important; background: none !important; font-weight: 600; overflow-wrap: anywhere; }
.dv-ep > p { margin-top: 10px; }
.dv-m { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; border-radius: 6px; }
.dv-m-get { color: var(--success-text); background: var(--success-soft); }
.dv-m-put { color: var(--primary-text); background: var(--primary-soft); }
.dv-m-post { color: var(--violet); background: var(--violet-soft); }
.dv-m-delete { color: var(--danger-text); background: var(--danger-soft); }

.dv-table { width: 100%; margin-top: 14px; border-collapse: collapse; font-size: 14px; display: block; overflow-x: auto; }
.dv-table th { text-align: left; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--text-faint); padding: 8px 12px 8px 0; border-bottom: 1px solid var(--border); }
.dv-table td { padding: 10px 12px 10px 0; vertical-align: top; border-bottom: 1px solid var(--border); color: var(--text-secondary); line-height: 1.55; }
.dv-table td:first-child { white-space: nowrap; }
.dv-req { margin-left: 4px; font-size: 11px; font-weight: 600; color: var(--danger-text); }

.dv-list { padding-left: 20px; }
.dv-list li + li { margin-top: 6px; }

.dv-tabs { margin-top: 14px; }
.dv-tablist { display: flex; gap: 4px; flex-wrap: wrap; }
.dv-tablist button { height: 32px; padding: 0 12px; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--text-muted); background: none; border: 1px solid transparent; border-radius: 8px; cursor: pointer; }
.dv-tablist button:hover { color: var(--text); }
.dv-tablist button[aria-selected='true'] { color: var(--text); background: var(--bg); border-color: var(--border); box-shadow: var(--shadow-sm); }

.dv-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 56px; padding: 22px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg-subtle); }
.dv-cta strong { font-size: 16px; }
.dv-cta p { margin-top: 4px; font-size: 14.5px !important; }

/* Documentation publique (/docs) */
.docs-hero { padding: 56px 0 40px; border-bottom: 1px solid var(--border); background: radial-gradient(60% 120% at 100% 0%, var(--primary-soft), transparent 60%); }
.docs-search { display: flex; align-items: center; gap: 10px; max-width: 560px; height: 54px; margin-top: 26px; padding: 0 16px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--bg); box-shadow: var(--shadow-sm); color: var(--text-muted); }
.docs-search:focus-within { border-color: var(--primary); box-shadow: var(--ring); }
.docs-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--text); }
.docs-search input:focus, .docs-search input:focus-visible { outline: 0; box-shadow: none; }
.docs-search input::-webkit-search-decoration, .docs-search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.docs-hub { padding-top: 16px; padding-bottom: 72px; }
.docs-hub section { margin-top: 36px; }
.docs-hub h2 { display: flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -0.02em; }
.docs-hub h2 .icon { color: var(--primary-text); }
.docs-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; margin-top: 14px; }
.docs-card { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.docs-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.docs-card[hidden], .docs-hub section[hidden] { display: none; }
.docs-card .tile-ic { flex-shrink: 0; }
.docs-card-body { flex: 1; min-width: 0; display: grid; gap: 4px; align-content: start; }
.docs-card-body strong { font-size: 15.5px; letter-spacing: -0.01em; line-height: 1.35; }
.docs-card-body .small { line-height: 1.5; }
.docs-card-video { color: var(--primary-text); }
.docs-empty { margin-top: 48px; color: var(--text-muted); }
.docs-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; padding-top: 40px; padding-bottom: 72px; }
.docs-menu { position: sticky; top: 80px; align-self: start; max-height: calc(100vh - 100px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; font-size: 14px; scrollbar-width: thin; }
.docs-menu-title { display: block; margin: 20px 0 6px; font-size: 12px; font-weight: 600; color: var(--text-faint); text-transform: uppercase; letter-spacing: .02em; }
.docs-menu .docs-menu-title:first-child { margin-top: 0; }
.docs-menu ul, .docs-menu-mobile ul { margin: 0; padding: 0; list-style: none; }
.docs-menu li a, .docs-menu-mobile li a { display: block; padding: 5px 10px; border-radius: 8px; color: var(--text-secondary); line-height: 1.4; }
.docs-menu li a:hover { background: var(--bg-hover); color: var(--text); }
.docs-menu li a[aria-current], .docs-menu-mobile li a[aria-current] { background: var(--primary-soft); color: var(--primary-text); font-weight: 500; }
.docs-menu-mobile { display: none; }
.docs-page { max-width: 740px; min-width: 0; }
.docs-page .guide-crumbs { margin-bottom: 14px; }
.docs-page h1 { font-size: clamp(30px, 4.2vw, 42px); font-weight: 650; line-height: 1.1; letter-spacing: -0.035em; }
.docs-lead { margin-top: 14px; font-size: 18px; line-height: 1.6; color: var(--text-secondary); }
.docs-module { display: inline-flex; gap: 8px; margin-top: 18px; padding: 8px 12px; border-radius: 10px; background: var(--primary-soft); color: var(--primary-text); font-size: 14px; line-height: 1.45; }
.docs-module .icon { flex-shrink: 0; margin-top: 2px; }
.docs-video { margin: 26px 0 0; }
.docs-video video { display: block; width: 100%; max-height: 70vh; border-radius: 16px; border: 1px solid var(--border); background: #000; }
.docs-video figcaption { margin-top: 8px; font-size: 13.5px; color: var(--text-muted); }
.docs-page section { margin-top: 38px; }
.docs-page h2 { display: flex; align-items: center; gap: 9px; font-size: 23px; letter-spacing: -0.025em; line-height: 1.25; }
.docs-steps { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 22px; counter-reset: step; }
.docs-steps li { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
.docs-steps li:not(:last-child)::before { content: ''; position: absolute; left: 19.5px; top: 46px; bottom: -16px; width: 1px; background: var(--border); }
.docs-step-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; color: var(--primary-text); background: var(--primary-soft); }
.docs-steps h3 { padding-top: 8px; font-size: 17px; letter-spacing: -0.015em; line-height: 1.4; }
.docs-steps p { margin-top: 4px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.docs-page .guide-list li .icon { color: var(--text-muted); }
.docs-tips { padding: 22px 24px 24px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg-subtle); }
.docs-tips h2 { font-size: 19px; }
.docs-tips h2 .icon { color: var(--warning); }
.docs-tips .guide-list li .icon { color: var(--success); }
.docs-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 44px; }
.docs-pager a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 14px; font-weight: 500; line-height: 1.35; }
.docs-pager a:hover { border-color: var(--border-strong); background: var(--bg-hover); }
.docs-pager a.is-next { justify-content: flex-end; text-align: right; }
.docs-pager small { display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 400; color: var(--text-muted); }
.docs-help { margin-top: 28px; font-size: 15px; color: var(--text-muted); }
@media (max-width: 960px) {
    .docs-layout { grid-template-columns: minmax(0, 1fr); gap: 22px; padding-top: 22px; }
    .docs-menu { display: none; }
    .docs-menu-mobile { display: block; border: 1px solid var(--border); border-radius: 12px; }
    .docs-menu-mobile summary { display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px; font-weight: 500; cursor: pointer; list-style: none; }
    .docs-menu-mobile summary::-webkit-details-marker { display: none; }
    .docs-menu-mobile summary .icon:last-child { margin-left: auto; transition: transform .15s; }
    .docs-menu-mobile[open] summary .icon:last-child { transform: rotate(180deg); }
    .docs-menu-mobile nav { padding: 0 8px 12px; }
    .docs-menu-mobile .docs-menu-title { padding: 0 10px; }
    .docs-menu-mobile li a { padding: 9px 10px; }
}
@media (max-width: 560px) { .docs-hero { padding: 36px 0 28px; } .docs-steps li { gap: 12px; } .docs-pager { grid-template-columns: 1fr; } .docs-pager > span { display: none; } }
.doc-link { color: var(--primary-text); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.doc-link:hover { text-decoration-thickness: 2px; }
.docs-related { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.docs-related a { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 14px; border: 1px solid var(--border); border-radius: 12px; font-weight: 500; }
.docs-related a:hover { border-color: var(--border-strong); background: var(--bg-hover); }
.docs-related .icon:first-child { color: var(--primary-text); }
.docs-related .icon:last-child { margin-left: auto; color: var(--text-muted); }

/* ---------- Hero : aperçus qui défilent ---------- */
.ht { margin-top: 44px; }
.ht .lp-stage { margin-top: 26px; }
.ht-tabs { display: inline-flex; gap: 4px; max-width: 100%; padding: 5px; background: color-mix(in srgb, var(--bg) 85%, transparent); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); }
.ht-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; overflow: hidden; font: inherit; font-size: 14px; font-weight: 500; color: var(--text-muted); background: none; border: 0; border-radius: 10px; cursor: pointer; transition: color .2s, background .2s; }
.ht-tab:hover { color: var(--text); }
.ht-tab[aria-pressed="true"] { color: var(--primary-text); background: var(--primary-soft); }
.ht-tab i { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--primary); transform: scaleX(0); transform-origin: left; }
.auto .ht-tab[aria-pressed="true"] i { animation: ht-progress 5s linear forwards; }
.ht:hover .ht-tab i, .ht:focus-within .ht-tab i, .paused .ht-tab i { animation-play-state: paused !important; }
@keyframes ht-progress { to { transform: scaleX(1); } }
.ht-texts { display: grid; margin-top: 14px; }
.ht-texts p { grid-area: 1 / 1; font-size: 15px; color: var(--text-secondary); opacity: 0; visibility: hidden; transition: opacity .35s; }
.ht-texts p.on { opacity: 1; visibility: visible; }
.mock-side .it { transition: color .2s, background .2s; }
.mock-main { display: grid; }
.hs { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity .3s; }
.hs.on { opacity: 1; visibility: visible; }
.hs-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hs-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; font-size: 12.5px; font-weight: 500; color: #fff; background: var(--primary); border-radius: 8px; white-space: nowrap; }
.on .hs-pop, .on.hs-pop { animation: hs-pop .5s calc(var(--i) * 80ms + .1s) cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes hs-pop { from { opacity: 0; transform: translateY(8px) scale(.94); } }
.on .hs-late { animation: hs-pop .5s 1.7s cubic-bezier(.2, .9, .3, 1.2) both; }
.hs-week { display: grid; grid-template-columns: 92px repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 18px; font-size: 12px; }
.hs-week .h { padding-bottom: 2px; text-align: center; color: var(--text-muted); font-size: 11.5px; }
.hs-week .h b { color: var(--text); font-weight: 600; }
.hs-week .w { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hs-week .w em { font-style: normal; }
.hs-week .avatar, .hs-row .avatar { --size: 24px; flex: none; }
.hs-week .c { height: 46px; border-radius: 8px; background: var(--bg-subtle); }
.hs-week .c b { display: grid; place-items: center; height: 100%; font-family: var(--mono); font-size: 11.5px; font-weight: 600; border-radius: 8px; background: color-mix(in srgb, var(--c) 14%, var(--bg)); border-left: 3px solid var(--c); }
.hs-week .c .lv { --c: var(--primary); font-family: inherit; color: var(--primary-text); }
.hs-list { display: grid; gap: 10px; margin-top: 18px; }
.hs-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 13px 14px; font-size: 12.5px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); }
.hs-row > div { flex: 1; min-width: 0; }
.hs-row > div b { display: block; font-size: 13.5px; font-weight: 600; }
.hs-row > div span { color: var(--text-muted); }
.hs-row > div .danger { color: var(--danger-text); }
.hs-row.is-late { border-color: color-mix(in srgb, var(--danger) 45%, var(--border)); }
.hs-task { padding-bottom: 22px; }
.hs-bar { position: absolute; left: 50px; right: 14px; bottom: 10px; height: 4px; border-radius: 9px; overflow: hidden; background: var(--bg-muted); }
.hs-bar u { display: block; width: var(--w); height: 100%; border-radius: 9px; background: var(--success); }
.is-late .hs-bar u { background: var(--danger); }
.on .hs-bar u { animation: hs-bar 1s .6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hs-bar { from { width: 0; } }
.hs-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 11px 14px; font-size: 12.5px; font-weight: 500; color: var(--primary-text); background: var(--primary-soft); border-radius: 12px; }
/* Accepter → Acceptée : les deux états se superposent */
.hs-swap { display: inline-grid; align-items: center; justify-items: end; }
.hs-swap > * { grid-area: 1 / 1; }
.hs-swap > :first-child { opacity: 0; }
.on .hs-swap > :first-child { animation: hs-out .3s 1.5s both; }
.on .hs-swap > :last-child { animation: hs-pop .45s 1.6s cubic-bezier(.2, .9, .3, 1.4) both; }
@keyframes hs-out { 0% { opacity: 1; transform: none; } 50% { opacity: 1; transform: scale(.92); } 100% { opacity: 0; transform: scale(.92); } }
@media (min-width: 981px) { .hs:not([data-key="clock"]) { padding-right: 218px; } }

/* Téléphone du hero */
.hp { position: absolute; inset: 31px 0 0; opacity: 0; visibility: hidden; transition: opacity .3s; }
.hp.on { opacity: 1; visibility: visible; }
.phone .phone-toast { opacity: 0; visibility: hidden; animation: none; }
.phone .phone-toast:not([data-key="clock"]) { top: auto; bottom: 46px; }
.phone .phone-toast.on { opacity: 1; visibility: visible; animation: toast-pop .6s cubic-bezier(.2, .9, .3, 1.3) 1.9s both; }
.phone .phone-app { padding: 12px 11px 0; text-align: left; font-size: 9.5px; line-height: 1.35; color: #09090b; }
.hp-net { display: flex; align-items: flex-end; gap: 1.5px; }
.hp-net i { width: 2.5px; height: 4px; border-radius: 1px; background: #09090b; }
.hp-net i:nth-child(2) { height: 5.5px; } .hp-net i:nth-child(3) { height: 7px; } .hp-net i:nth-child(4) { height: 8.5px; }
.hp-net u { width: 17px; height: 9px; margin-left: 4px; border-radius: 3px; background: #34c759; }
.hp-eye { font-size: 8.5px; color: #71717a; }
.hp-title { display: flex; align-items: center; gap: 7px; font-size: 16px; font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.hp-title img { width: 18px; height: 18px; border-radius: 5px; }
.hp em { font-style: normal; }
.hp small { font-size: 8px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #71717a; }
/* Pointage */
.hp-hero { margin-top: 9px; padding: 10px 9px 9px; color: #fff; border-radius: 14px; background: radial-gradient(circle, rgb(255 255 255 / .17) .7px, transparent 1px) 0 0 / 12px 12px, radial-gradient(circle at 50% 42%, rgb(255 255 255 / .26), transparent 62%), linear-gradient(135deg, #6b95ff, #2e5bff 55%, #1a36c9); }
.hp-hero-top { display: flex; align-items: center; justify-content: space-between; font-size: 8.5px; font-weight: 600; }
.hp-hero-top em { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 99px; background: rgb(255 255 255 / .18); white-space: nowrap; }
.hp-hero-top em i { width: 5px; height: 5px; border-radius: 50%; }
.hp-hero-top .hs-swap { justify-items: start; }
.hp-hero-top .qr { border: 1px solid rgb(255 255 255 / .35); }
.hp-ring { position: relative; width: 132px; height: 132px; margin: 14px auto 13px; }
.hp-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 4.5; }
.hp-ring .arc { stroke: #fff; stroke-linecap: round; stroke-dasharray: 8 100; }
.hp-ring .in, .hp-ring .out { position: absolute; inset: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; text-align: center; border-radius: 50%; }
.hp-ring .in { border: 1px solid rgb(255 255 255 / .28); background: rgb(255 255 255 / .12); }
.hp-ring .in b { font-family: var(--mono); font-size: 19px; font-weight: 500; letter-spacing: -.05em; }
.hp-ring .in span { display: inline-flex; align-items: center; gap: 3px; font-size: 8.5px; }
.hp-ring .in b .sec { display: inline; font-size: inherit; }
.hp-ring .out { gap: 6px; padding: 0 14px; font-size: 11px; font-weight: 600; line-height: 1.2; color: #1a36c9; background: #fff; opacity: 0; }
.hp-act { display: flex; align-items: center; justify-content: center; gap: 6px; height: 27px; margin-top: 6px; font-size: 10px; font-weight: 600; border: 1px solid transparent; border-radius: 8px; background: rgb(255 255 255 / .16); }
.hp-act.line { border-color: rgb(255 255 255 / .8); background: none; }
.hp-duo { display: grid; grid-template-columns: 1fr 1fr; margin-top: 10px; border: 1px solid #e4e4e7; border-radius: 10px; }
.hp-duo div { padding: 8px 10px; }
.hp-duo div + div { border-left: 1px solid #e4e4e7; }
.hp-duo span, .hp-duo b { display: block; }
.hp-duo span { color: #71717a; }
.hp-duo b { font-size: 14px; font-weight: 500; }
@property --sec { syntax: '<integer>'; inherits: true; initial-value: 6; }
.hp-ring .sec::after { counter-reset: sec var(--sec); content: counter(sec, decimal-leading-zero); }
.on .hp-ring .sec { animation: hp-sec 8s 1.5s steps(8) both; }
@keyframes hp-sec { from { --sec: 0; } to { --sec: 8; } }
.on .hp-ring .out { animation: hp-out 1.75s both; }
@keyframes hp-out { 0%, 70% { opacity: 1; transform: none; } 80% { opacity: 1; transform: scale(.94); } 100% { opacity: 0; transform: scale(1.04); } }
.on .hp-ring .arc { animation: hp-arc 1s 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes hp-arc { from { stroke-dasharray: 0 100; opacity: 0; } }
/* Le doigt qui touche l'écran */
.hp-tap { position: absolute; left: 50%; top: 55%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; background: rgb(9 9 11 / .2); opacity: 0; }
.on .hp-tap { animation: hp-tap .9s .75s both; }
@keyframes hp-tap { 0% { opacity: 0; transform: scale(1.7); } 55% { opacity: 1; transform: scale(1); } 75% { opacity: 1; transform: scale(.82); } 100% { opacity: 0; transform: scale(1.5); } }
/* Planning */
.hp-seg { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 11px; padding: 2px; text-align: center; border-radius: 8px; background: #f4f4f5; color: #71717a; }
.hp-seg.two { grid-template-columns: 1fr 1fr; }
.hp-seg > * { padding: 5px 0; font-weight: 500; }
.hp-seg b { color: #09090b; border-radius: 6px; background: #fff; box-shadow: 0 1px 2px rgb(9 9 11 / .12); }
.hp-nav { display: flex; align-items: center; justify-content: space-between; margin: 9px 0 3px; padding: 6px 9px; text-align: center; border: 1px solid #e4e4e7; border-radius: 10px; }
.hp-nav b, .hp-nav span { display: block; }
.hp-nav span { font-size: 8.5px; color: #71717a; }
.hp-shift { position: relative; display: flex; justify-content: space-between; margin-top: 6px; padding: 8px 9px 8px 12px; overflow: hidden; border: 1px solid #e4e4e7; border-radius: 10px; }
.hp-shift::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 2.5px; background: var(--c); }
.hp-shift b, .hp-rest b { display: block; font-size: 10.5px; font-weight: 600; }
.hp-shift span { color: #a1a1aa; }
.hp-shift em { font-family: var(--mono); font-size: 9px; color: #52525b; }
.hp-rest { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; padding: 9px 9px 9px 12px; color: #a1a1aa; border-radius: 10px; background: #fafafa; }
.hp-rest b { color: #52525b; }
/* Demandes */
.hp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 11px; }
.hp-tiles div { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 7px; font-weight: 500; line-height: 1.2; border: 1px solid #e4e4e7; border-radius: 11px; }
.hp-tiles i { display: grid; place-items: center; flex: none; width: 23px; height: 23px; color: #2e5bff; border-radius: 7px; background: #eef2ff; }
.hp-tiles .red i { color: #dc2626; background: #fef2f2; }
.hp-box { margin-top: 9px; padding: 10px; border: 1px solid #e4e4e7; border-radius: 11px; }
.hp .hs-swap { justify-items: start; }
.hp-left { display: flex; align-items: baseline; gap: 5px; color: #71717a; }
.hp-left b { font-size: 21px; font-weight: 600; letter-spacing: -.04em; line-height: 1.3; color: #09090b; }
.hp-kv { display: flex; gap: 18px; margin-top: 4px; color: #71717a; }
.hp-kv b, .hp-kv i { display: grid; font-style: normal; font-weight: 600; color: #09090b; }
.hp-req { display: flex; justify-content: space-between; color: #71717a; }
.hp-req div > b, .hp-req div > span { display: block; }
.hp-req div > b { font-size: 10.5px; font-weight: 600; color: #09090b; }
.hp-req div:last-child { display: grid; justify-items: end; gap: 3px; }
.hp-req .hs-swap { display: inline-grid; justify-items: end; }
.hp-req em { padding: 2px 6px; font-size: 8.5px; font-weight: 600; border-radius: 5px; white-space: nowrap; }
.hp-req .wait { color: #b45309; background: #fff7ed; }
.hp-req .ok { color: #15803d; background: #f0fdf4; }
/* Tâches */
.hp-tasks { margin-top: 11px; padding-bottom: 3px; color: #71717a; }
.hp-tasks > b { display: block; font-size: 10.5px; font-weight: 600; color: #09090b; }
.hp-prog { margin: 8px 0 3px; font-weight: 500; }
.hp-prog .ok { color: #15803d; }
/* Le compte suit chaque tâche touchée : 0, 1, 2, puis « Tout est fini » */
.hp-prog .n { opacity: 0; }
.on .hp-prog .hs-swap > .n { animation: hp-n .95s calc(var(--i) * .95s); }
@keyframes hp-n { from, to { opacity: 1; } }
.on .hp-prog .hs-swap > :last-child { animation-delay: 2.85s; }
.hp-prog > i { display: block; height: 5px; margin-top: 4px; overflow: hidden; border-radius: 9px; background: #f4f4f5; }
.hp-prog u { display: block; height: 100%; border-radius: 9px; background: #16a34a; }
.on .hp-prog u { animation: hp-prog 2.6s .9s both; }
@keyframes hp-prog { 0% { width: 0; background: #2e5bff; } 8%, 35% { width: 33%; background: #2e5bff; } 43%, 72% { width: 66%; background: #2e5bff; } 80%, 100% { width: 100%; background: #16a34a; } }
.hp-t { padding: 9px 0; }
.hp-t + .hp-t { border-top: 1px solid #f0f0f1; }
.hp-t > b { font-size: 10.5px; font-weight: 500; color: #a1a1aa; text-decoration: line-through; }
.hp-t > div { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.hp-t > div span { position: relative; display: flex; align-items: center; justify-content: center; gap: 4px; height: 27px; font-weight: 600; color: #09090b; border: 1px solid #d4d4d8; border-radius: 8px; }
.hp-t > div .yes { color: #15803d; border-color: #16a34a; background: #f0fdf4; }
.on .hp-t > b { animation: hp-tb .01s calc(var(--i) * .95s + .95s) both; }
@keyframes hp-tb { from { color: #09090b; text-decoration-color: transparent; } }
.on .hp-t .yes { animation: hp-ty .25s calc(var(--i) * .95s + .9s) both; }
@keyframes hp-ty { from { color: #09090b; border-color: #d4d4d8; background: #fff; } }
.on .hp-t .hp-tap { animation-delay: calc(var(--i) * .95s + .3s); }
/* Historique */
.hp-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2.5px; margin-top: 8px; text-align: center; }
.hp-cal small { padding-bottom: 2px; }
.hp-cal span { display: grid; align-content: center; height: 33px; font-size: 8.5px; line-height: 1.25; color: #a1a1aa; border-radius: 6px; }
.hp-cal .off { color: #15803d; background: #f0fdf4; }
.hp-cal .w { font-weight: 600; color: #09090b; background: color-mix(in srgb, #2e5bff calc(var(--h) * .45), #fff); }
.hp-cal em { font-family: var(--mono); font-size: 7.5px; font-weight: 500; }
.hp-total { display: flex; align-items: center; justify-content: space-between; color: #71717a; }
.hp-total b { font-family: var(--mono); font-size: 13px; font-weight: 600; color: #09090b; }
/* Barre d'onglets de l'app */
.hp-tabs { position: absolute; z-index: 3; left: 9px; right: 9px; bottom: 9px; display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 99px; background: rgb(255 255 255 / .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(9 9 11 / .08), 0 8px 20px -8px rgb(9 9 11 / .25); }
.hp-tabs span { display: grid; justify-items: center; gap: 2px; padding: 6px 0 5px; font-size: 7.5px; font-weight: 500; color: #18181b; border-radius: 99px; transition: color .3s, background .3s; }
.hp-tabs .on { color: #2e5bff; background: rgb(9 9 11 / .07); }
[data-scene="tasks"] .hp-tabs span:first-child { color: #2e5bff; background: rgb(9 9 11 / .07); }
/* Logo du haut de page : même image, teintée de la couleur du mot affiché */
.brand-tint { position: relative; display: inline-flex; overflow: hidden; border-radius: 7px; isolation: isolate; }
.lp[data-scene] .brand-tint::after { content: ''; position: absolute; inset: 0; background: var(--hero); mix-blend-mode: color; transition: --hero .7s ease; }
.lp[data-scene="clock"] .brand-tint::after { --hero: #059669; }
.lp[data-scene="leave"] .brand-tint::after { --hero: #0284c7; }
.lp[data-scene="tasks"] .brand-tint::after { --hero: #d97706; }
.lp[data-scene="report"] .brand-tint::after { --hero: #7c3aed; }
@media (max-width: 1200px) { .lp-link-faq { display: none; } }
@media (max-width: 640px) {
    .ht { margin-top: 28px; }
    .ht .lp-stage { margin-top: 16px; }
    .ht .lp-container { padding: 0 16px; }
    .ht-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; padding: 4px; }
    .ht-tab { flex-direction: column; justify-content: center; gap: 4px; height: 52px; padding: 0 2px; font-size: 11px; }
    .ht-texts p { font-size: 14px; }
    .mock-main { padding: 16px 14px; }
    .mock-body { min-height: 0; }
    .hs-week { grid-template-columns: 26px repeat(5, minmax(0, 1fr)); gap: 4px; }
    .hs-week .w em, .hs-week .h b { display: none; }
    .hs-week .c b { font-size: 10px; border-left-width: 2px; }
    .hs-week .c .lv { font-size: 9.5px; }
    .hs-row { gap: 10px; padding: 12px 11px; }
    .hs-task { padding-bottom: 22px; }
    .hs-report .mock-row > :nth-child(n+3) { display: none; }
}

/* ---------- Tâches : le téléphone et l'écran du gérant ---------- */
.td { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 56px; }
.td-points { display: grid; gap: 20px; margin-top: 32px; }
.td-stage { position: relative; display: grid; align-items: center; min-height: 500px; padding: 36px 32px; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(80% 70% at 85% 10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%), var(--bg-subtle); }
.td-phone { position: relative; z-index: 2; width: 216px; padding: 8px; background: #0b0b0d; border-radius: 34px; box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 40px 80px -20px rgb(9 9 11 / .45); }
.td-phone .pd-phone-screen { height: 412px; }
.td-task { margin-top: 8px; padding: 10px; font-size: 12px; border: 1px solid #e4e4e7; border-radius: 12px; }
.td-task > div { display: flex; gap: 5px; margin-top: 8px; }
.td-task > div span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 3px; height: 26px; font-size: 10.5px; font-weight: 500; white-space: nowrap; border: 1px solid #e4e4e7; border-radius: 7px; color: #3f3f46; transition: all .25s; }
.td-task .pct { height: 0; margin-top: 0; overflow: hidden; opacity: 0; transition: height .3s, margin .3s, opacity .3s; }
.td-task .pct span { font-size: 10px; }
.td-desk { position: absolute; z-index: 1; right: 28px; top: 50%; width: min(330px, calc(100% - 272px)); padding: 18px; transform: translateY(-50%); background: var(--bg); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 30px 60px -24px rgb(9 9 11 / .25); }
.td-desk-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.td-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--success-text); white-space: nowrap; }
.td-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--success); animation: td-live 1.6s infinite; }
@keyframes td-live { 50% { opacity: .25; } }
.td-person { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 12px; }
.td-person > div { flex: 1; min-width: 0; }
.td-person > div b { display: block; font-size: 13px; }
.td-person > div span { color: var(--text-muted); }
.td-person.off { padding-top: 16px; border-top: 1px solid var(--border); }
.td-count { display: inline-grid; font-family: var(--mono); font-size: 13px; font-weight: 600; }
.td-count em { grid-area: 1 / 1; font-style: normal; opacity: 0; transition: opacity .25s; }
.td-bar { height: 6px; margin-top: 10px; overflow: hidden; border-radius: 9px; background: var(--bg-muted); }
.td-bar i { display: block; width: 0; height: 100%; border-radius: 9px; background: var(--primary); transition: width .6s cubic-bezier(.2, .8, .2, 1), background .3s; }
.td-alert { display: flex; align-items: center; gap: 10px; height: 0; margin-top: 0; padding: 0 10px; overflow: hidden; opacity: 0; font-size: 11.5px; color: var(--danger-text); background: var(--danger-soft, #fef2f2); border-radius: 12px; transition: height .4s cubic-bezier(.2, .8, .2, 1), margin .4s, opacity .4s; }
.td-alert > div { flex: 1; min-width: 0; }
.td-alert b { display: block; font-size: 12.5px; }
.td-seen em { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; font-style: normal; font-weight: 600; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 8px; white-space: nowrap; transition: all .3s; }
:is([data-step="1"], [data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) > .td-phone .t1 .yes,
:is([data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) > .td-phone .t2 .yes { color: #15803d; border-color: #16a34a; background: #f0fdf4; }
:is([data-step="3"], [data-step="4"], [data-step="5"]) > .td-phone .t3 .no { color: #b91c1c; border-color: #dc2626; background: #fef2f2; }
:is([data-step="3"], [data-step="4"], [data-step="5"]) > .td-phone .pct { height: 26px; margin-top: 6px; opacity: 1; }
:is([data-step="4"], [data-step="5"]) > .td-phone .pct span:last-child { color: #fff; border-color: #2e5bff; background: #2e5bff; }
[data-step="0"] .td-count em:nth-child(1), [data-step="1"] .td-count em:nth-child(2), :is([data-step="2"], [data-step="3"], [data-step="4"], [data-step="5"]) .td-count em:nth-child(3) { opacity: 1; }
[data-step="1"] .td-bar i { width: 33%; } :is([data-step="2"], [data-step="3"]) .td-bar i { width: 67%; } :is([data-step="4"], [data-step="5"]) .td-bar i { width: 92%; background: var(--danger); }
:is([data-step="4"], [data-step="5"]) .td-alert { height: 54px; margin-top: 14px; opacity: 1; }
[data-step="5"] .td-seen em { color: #fff; border-color: var(--success); background: var(--success); }
@media (max-width: 980px) { .td { grid-template-columns: minmax(0, 1fr); gap: 36px; } .td-stage { width: 100%; max-width: 600px; margin: 0 auto; } }
@media (max-width: 640px) {
    .td { gap: 26px; }
    .td-points { margin-top: 24px; gap: 16px; }
    .td-stage { gap: 16px; min-height: 0; padding: 22px 16px; justify-items: center; border-radius: 22px; }
    .td-desk { position: static; order: 2; width: 100%; height: 268px; transform: none; }
}

/* ---------- Documentation : la recherche s'écrit, la page s'ouvre ---------- */
.dd { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); max-width: 1040px; margin: 52px auto 0; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: var(--bg); box-shadow: 0 40px 80px -40px rgb(9 9 11 / .25); }
.dd-side { display: flex; flex-direction: column; gap: 4px; padding: 20px; background: var(--bg-subtle); border-right: 1px solid var(--border); }
.dd-search { display: flex; align-items: center; gap: 10px; height: 48px; margin-bottom: 10px; padding: 0 14px; font-size: 15px; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: var(--shadow-sm); }
.dd-search .icon { color: var(--text-muted); }
.dd-search i { width: 2px; height: 20px; margin-left: -8px; background: var(--primary); animation: dd-caret 1s steps(2) infinite; }
@keyframes dd-caret { 50% { opacity: 0; } }
.dd-item { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 10px; font-size: 14.5px; font-weight: 500; color: var(--text-secondary); border: 1px solid transparent; border-radius: 12px; transition: background .25s, border-color .25s, color .25s; }
.dd-item > span:nth-child(2) { flex: 1; min-width: 0; }
.dd-item > .icon { color: var(--primary); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.dd-item.on { color: var(--text); background: var(--bg); border-color: var(--border); box-shadow: var(--shadow-sm); }
.dd-item.on > .icon { opacity: 1; transform: none; }
.dd-pages { display: grid; padding: 32px 36px; }
.dd-page { grid-area: 1 / 1; opacity: 0; visibility: hidden; }
.dd-page.on { opacity: 1; visibility: visible; transition: opacity .35s; }
.dd-crumb { font-family: var(--mono); font-size: 12px; color: var(--text-faint); }
.dd-page h3 { margin-top: 8px; font-size: 26px; font-weight: 650; letter-spacing: -.03em; }
.dd-page p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--text-muted); }
.dd-page ol { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; }
.dd-page li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; }
.dd-page li > b { display: grid; place-items: center; width: 28px; height: 28px; font-size: 13px; color: var(--primary-text); background: var(--primary-soft); border-radius: 50%; }
.dd-page li strong { display: block; font-size: 15px; font-weight: 600; }
.dd-page li span { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 14px; line-height: 1.5; color: var(--text-muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dd-page.on li { animation: hs-pop .5s calc(var(--i) * 140ms + .15s) cubic-bezier(.2, .8, .2, 1) both; }
@media (max-width: 860px) { .dd { grid-template-columns: minmax(0, 1fr); } .dd-side { border-right: 0; border-bottom: 1px solid var(--border); } }
@media (max-width: 640px) {
    .dd { margin-top: 28px; border-radius: 18px; }
    .dd-side { padding: 14px; }
    .dd-item { min-height: 46px; }
    .dd-pages { padding: 22px 18px; }
    .dd-page h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .on .hs-pop, .on .hs-late, .on .hs-bar u, .on .hs-grow, .on .hs-swap > *, .hp *, .hp-tap, .phone .phone-toast.on, .lp-words .mark, .dd-page.on li, .dd-search i, .td-live::before { animation: none !important; }
}

/* ---------- Hero : le bouton, la lueur et l'onglet prennent la couleur du mot affiché ---------- */
@property --hero { syntax: '<color>'; inherits: true; initial-value: #2e5bff; }
.lp-hero { --hero: var(--primary); transition: --hero .7s ease; }
.lp-hero[data-scene="clock"] { --hero: #047857; }
.lp-hero[data-scene="leave"] { --hero: #0369a1; }
.lp-hero[data-scene="tasks"] { --hero: #b45309; }
.lp-hero[data-scene="report"] { --hero: #7c3aed; }
.lp-hero::after { background: radial-gradient(closest-side, color-mix(in srgb, var(--hero) 22%, transparent), transparent); }
.lp-cta .btn-primary, .lp-cta .btn-primary:hover { background: var(--hero); border-color: var(--hero); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--hero) 70%, transparent), inset 0 1px 0 rgb(255 255 255 / .18); transition: filter .15s, transform .15s; }
.lp-cta .btn-primary:hover { filter: brightness(1.1); }
.lp-hero .ht-tab[aria-pressed="true"] { color: color-mix(in srgb, var(--hero) 75%, var(--text)); background: color-mix(in srgb, var(--hero) 11%, var(--bg)); transition: none; }
.lp-hero .ht-tab i { background: var(--hero); }

/* ---------- Fenêtre « Tapez le nom de votre société » ---------- */
.start-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; overflow: hidden auto; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow-lg); outline: none; }
.start-dialog::backdrop { background: rgb(9 9 11 / .5); backdrop-filter: blur(4px); }
.start-dialog[open] { animation: start-in .5s cubic-bezier(.2, 1.2, .35, 1); }
.start-dialog[open]::backdrop { animation: start-fade .3s; }
@keyframes start-in { from { opacity: 0; transform: translateY(28px) scale(.95); } }
@keyframes start-fade { from { opacity: 0; } }
.start-top { position: relative; display: grid; place-items: center; height: 176px; overflow: hidden; background: radial-gradient(120% 130% at 50% 0, color-mix(in srgb, var(--primary) 26%, var(--bg)), var(--bg) 78%); }
.start-card { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; width: min(290px, calc(100% - 64px)); padding: 13px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); }
.start-logo { display: grid; flex: none; place-items: center; width: 42px; height: 42px; font-size: 15px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 75%, #fff), var(--primary) 65%); border-radius: 12px; transform: rotate(-6deg); }
.start-logo > * { grid-area: 1 / 1; transition: opacity .2s, transform .35s cubic-bezier(.2, 1.5, .4, 1); }
.start-logo b { opacity: 0; transform: scale(.4); }
.on .start-logo b { opacity: 1; transform: none; }
.start-icon { display: inline-flex; }
.on .start-icon { opacity: 0; transform: rotate(60deg) scale(.4); }
.start-id { display: grid; flex: 1; min-width: 0; text-align: left; }
.start-id b { overflow: hidden; font-size: 15px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.start-id small { font-size: 12.5px; color: var(--text-muted); }
.start-ok { display: grid; flex: none; place-items: center; width: 24px; height: 24px; color: #fff; background: #059669; border-radius: 50%; opacity: 0; transform: scale(.3); transition: opacity .2s, transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.on .start-ok { opacity: 1; transform: none; }
.start-float { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; color: var(--c); background: var(--bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-sm); animation: start-float 5s ease-in-out infinite; }
.start-float.a { --c: var(--primary); --r: -12deg; left: 8%; top: 18px; }
.start-float.b { --c: #059669; --r: 10deg; left: 27%; bottom: 8px; animation-delay: -1.2s; }
.start-float.c { --c: #0284c7; --r: 9deg; right: 26%; top: 8px; animation-delay: -2.4s; }
.start-float.d { --c: #d97706; --r: -10deg; right: 8%; bottom: 18px; animation-delay: -3.6s; }
@keyframes start-float { 0%, 100% { transform: rotate(var(--r)); } 50% { transform: translateY(-6px) rotate(calc(var(--r) * -.4)); } }
.start-close { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; color: var(--text-muted); background: color-mix(in srgb, var(--bg) 70%, transparent); border: 0; border-radius: 50%; cursor: pointer; }
.start-close:hover { color: var(--text); background: var(--bg); }
.start-body { display: grid; gap: 12px; padding: 8px 28px 18px; text-align: center; }
.start-body h2 { font-size: 23px; font-weight: 650; letter-spacing: -.03em; text-wrap: balance; }
.start-body p { margin: -4px 0 6px; font-size: 14.5px; color: var(--text-muted); text-wrap: balance; }
.start-body .input { height: 50px; font-size: 16px; text-align: center; }
.start-later { justify-self: center; padding: 8px 12px; font: inherit; font-size: 13.5px; color: var(--text-muted); background: none; border: 0; cursor: pointer; }
.start-later:hover { color: var(--text); }
@media (max-width: 560px) {
    .start-dialog { width: 100%; max-width: none; margin: auto 0 0; border-width: 1px 0 0; border-radius: 24px 24px 0 0; }
    .start-dialog[open] { animation-name: start-up; animation-timing-function: cubic-bezier(.2, .9, .3, 1); }
    .start-body { padding: 8px 20px calc(14px + env(safe-area-inset-bottom)); }
}
@keyframes start-up { from { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
    .start-dialog, .start-dialog::backdrop, .start-float, .lp-words .on .lp-tile .icon { animation: none !important; }
    .start-float { transform: rotate(var(--r)); }
    .lp-tile, .lp-word { transition: none !important; }
}
@media (max-width: 420px) { :lang(de) .lp-words, :lang(nl) .lp-words { font-size: .84em; } }
