/* ==========================================================================
   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; 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: 860px) { .lp-links, .lp-nav-cta .btn-ghost { 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: #fff; 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-title .mark { position: relative; white-space: nowrap; color: var(--primary); }
.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-chips { display: flex; justify-content: center; gap: 6px; margin-top: 22px; }
.phone-chips span { padding: 5px 10px; font-size: 11px; font-weight: 500; border: 1px solid #e4e4e7; border-radius: 99px; color: #3f3f46; }
.phone-chips span.on { border-color: #2e5bff; color: #1d3fd1; background: #eef2ff; }
.phone-next { margin-top: 18px; padding: 10px 12px; text-align: left; border: 1px solid #e4e4e7; border-radius: 12px; font-size: 11.5px; }
.phone-next b { display: block; font-size: 13px; }
.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 { 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; }
}
