/* KLOKUP — Clock In. Get It Done. */
:root {
  --ink: #0d0f12; --ink-2: #171a1f; --ink-3: #23272e;
  --volt: #d4ff3a; --volt-2: #b8e61f; --volt-ink: #0d0f12;
  --paper: #f5f6f1; --card: #ffffff; --line: #e2e4dc; --text: #1a1d22; --muted: #5f6570;
  --ok: #1d9a5b; --ok-bg: #e2f6ea; --late: #ff6b2c; --late-bg: #ffeadf; --bad: #d7372f; --bad-bg: #fde6e4; --brk: #3d7bff; --brk-bg: #e6eeff;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --r: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 16px/1.55 var(--body); }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
img { max-width: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 max(16px, env(safe-area-inset-left, 0px)); }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.num { font-variant-numeric: tabular-nums; }

/* marque */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand b { font: 700 1.35rem/1 var(--display); letter-spacing: .02em; }

/* boutons */
.btn { appearance: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: var(--card); color: var(--text);
  font: 700 .95rem/1 var(--body); padding: 12px 18px; border-radius: 999px; cursor: pointer; text-decoration: none; min-height: 44px; }
.btn:hover { border-color: var(--text); }
.btn:focus-visible, .seg button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--volt-2); outline-offset: 2px; }
.btn-volt { background: var(--volt); border-color: var(--volt); color: var(--volt-ink); }
.btn-volt:hover { background: var(--volt-2); border-color: var(--volt-2); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 8px 13px; min-height: 36px; font-size: .86rem; }
.btn-lg { padding: 16px 26px; font-size: 1.05rem; min-height: 54px; }
.btn-danger { color: var(--bad); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* langue */
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; }
.lang button { background: transparent; border: 0; color: rgba(255,255,255,.75); font: 700 .78rem var(--body); padding: 7px 10px; cursor: pointer; letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.light .lang { border-color: var(--line); }
.light .lang button { color: var(--muted); }
.light .lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* barre du haut (site public) */
.nav { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 20; }
.nav .wrap { display: flex; align-items: center; gap: 14px; min-height: 66px; }
.nav .sp { flex: 1; }
.nav .links { display: flex; gap: 18px; font-weight: 600; font-size: .95rem; }
.nav .links a { text-decoration: none; opacity: .8; }
.nav .links a:hover { opacity: 1; }
@media (max-width: 820px) { .nav .links { display: none; } }
@media (max-width: 480px) { .nav .hide-xs { display: none; } .nav .wrap { gap: 8px; } .brand b { font-size: 1.15rem; } .brand svg { width: 30px; height: 30px; } }

/* héros */
.hero { background: var(--ink); color: #fff; padding: 64px 0 84px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -180px; top: -160px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(212,255,58,.18), transparent 65%); pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--volt); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 0 4px rgba(212,255,58,.2); }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); margin: 16px 0 18px; }
.hero h1 em { font-style: normal; color: var(--volt); }
.hero .lede { font-size: 1.18rem; color: rgba(255,255,255,.78); max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero .note { margin-top: 14px; color: rgba(255,255,255,.55); font-size: .92rem; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 40px 0 56px; } }

/* maquette du téléphone */
.mock { position: relative; justify-self: center; width: 280px; }
.phone { width: 280px; border-radius: 40px; background: #050607; padding: 12px; box-shadow: 0 40px 80px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.08); }
.screen { background: var(--ink-2); border-radius: 30px; padding: 22px 16px 18px; color: #fff; }
.screen .co { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; }
.screen .co i { width: 26px; height: 26px; border-radius: 8px; background: var(--volt); display: inline-block; }
.screen .time { font: 700 3rem/1 var(--display); margin: 16px 0 2px; letter-spacing: -.03em; }
.screen .date { color: rgba(255,255,255,.55); font-size: .82rem; margin-bottom: 16px; }
.screen .b { display: block; border-radius: 14px; padding: 13px 14px; font-weight: 700; margin-top: 9px; font-size: .95rem; }
.screen .b small { display: block; font-weight: 500; opacity: .7; font-size: .74rem; }
.screen .b1 { background: var(--volt); color: var(--ink); }
.screen .b2 { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.screen .b2 span { background: var(--ink-3); border-radius: 14px; padding: 12px; font-weight: 700; font-size: .82rem; }
.screen .b3 { background: #fff; color: var(--ink); }
.float { position: absolute; left: -196px; bottom: -78px; background: #fff; color: var(--text); border-radius: 18px; padding: 14px 16px; box-shadow: 0 20px 40px rgba(0,0,0,.35); width: 210px; }
.float h4 { margin: 0 0 8px; font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.float .r { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: .9rem; padding: 4px 0; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.float .ok { background: var(--ok); } .float .bk { background: var(--brk); } .float .lt { background: var(--late); }
.float2 { position: absolute; right: -70px; top: -18px; background: var(--volt); color: var(--ink); border-radius: 16px; padding: 12px 14px; font-weight: 700; box-shadow: 0 16px 32px rgba(0,0,0,.35); font-size: .88rem; }
.float2 b { display: block; font: 700 1.5rem/1 var(--display); }
@media (max-width: 1100px) { .float { left: -150px; } .float2 { right: -30px; } }
.mock { margin-bottom: 78px; }
@media (max-width: 900px) { .float { left: -40px; } }
@media (max-width: 520px) { .mock { width: 250px; margin: 20px auto 104px; } .phone { width: 250px; } .float { left: -20px; bottom: -100px; width: 190px; } .float2 { right: -14px; top: -26px; } }

/* sections */
.sec { padding: 84px 0; }
.sec.alt { background: #fff; }
.sec.dark { background: var(--ink); color: #fff; }
.sec h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 12px; }
.sec .sub { color: var(--muted); font-size: 1.1rem; max-width: 40em; }
.sec.dark .sub { color: rgba(255,255,255,.7); }
.eyebrow { font: 700 .78rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: block; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; counter-reset: s; }
.step { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 26px; position: relative; }
.step .n { font: 700 3.2rem/1 var(--display); color: var(--volt-2); -webkit-text-stroke: 1.5px var(--ink); color: transparent; }
.step h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.step p { color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); border-radius: 22px; overflow: hidden; margin-top: 36px; }
.feat { background: var(--ink); padding: 28px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--ink-3); display: grid; place-items: center; color: var(--volt); margin-bottom: 16px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feat p { color: rgba(255,255,255,.66); font-size: .96rem; }
@media (max-width: 900px) { .steps, .feats { grid-template-columns: 1fr; } .sec { padding: 60px 0; } }

/* tarifs */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; max-width: 860px; }
.price { background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; gap: 16px; }
.price.pro { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.price .tag { position: absolute; top: 22px; right: 22px; background: var(--volt); color: var(--ink); font: 700 .74rem var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; }
.price h3 { font-size: 1.3rem; }
.amt { font: 700 3.2rem/1 var(--display); letter-spacing: -.03em; }
.amt small { font: 500 1rem var(--body); color: var(--muted); letter-spacing: 0; }
.price.pro .amt small { color: rgba(255,255,255,.6); }
.price ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.price li { display: flex; gap: 10px; align-items: flex-start; }
.price li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d0f12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.price .btn { width: 100%; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

/* pour qui */
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.who span { background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; }

/* faq */
.faq { max-width: 820px; margin-top: 28px; }
.faq details { border-bottom: 1.5px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 1.1rem var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 46em; }

/* appel final et pied de page */
.final { background: var(--volt); color: var(--ink); padding: 72px 0; text-align: center; }
.final h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 22px; }
.foot { background: var(--ink); color: rgba(255,255,255,.7); padding: 48px 0 30px; font-size: .94rem; }
.foot .cols { display: grid; grid-template-columns: 1.4fr; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 28px; }
.foot h4 { color: #fff; font: 700 .78rem var(--body); text-transform: uppercase; letter-spacing: .12em; margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--volt); }
.foot .brand { color: #fff; margin-bottom: 12px; }
.foot .bot { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding-top: 18px; font-size: .84rem; }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr 1fr; grid-auto-flow: row; } .foot .cols > :first-child { grid-column: 1 / -1; } }

/* connexion */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; }
.auth-side h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); }
.auth-side h1 em { font-style: normal; color: var(--volt); }
.auth-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: rgba(255,255,255,.75); }
.auth-side li b { color: var(--volt); margin-right: 8px; font-family: var(--display); }
.auth-main { display: grid; place-items: center; padding: 40px 20px; position: relative; }
.auth-main .lang { position: absolute; top: 18px; right: 18px; }
.auth-card { width: 100%; max-width: 400px; display: grid; gap: 16px; }
.auth-card h2 { font-size: 2rem; }
@media (max-width: 820px) { .auth { grid-template-columns: 1fr; } .auth-side { padding: 28px 20px; } .auth-side ul { display: none; } }

/* formulaires */
label.f { display: grid; gap: 6px; font-weight: 600; font-size: .92rem; }
label.f .hint { font-weight: 400; color: var(--muted); font-size: .84rem; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=time], input[type=number], input[type=date], input[type=month], select, textarea {
  width: 100%; font: 16px/1.4 var(--body); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 13px; min-height: 46px; }
textarea { min-height: 90px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.check input { width: 20px; height: 20px; accent-color: var(--ink); }
.err { color: var(--bad); font-weight: 600; font-size: .92rem; }
.grid2 { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* application */
.top { background: var(--ink); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 62px; }
.top .sp { flex: 1; }
.top .who { margin-top: 0; font-size: .86rem; opacity: .65; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tabs { background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
.tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tab { color: rgba(255,255,255,.62); text-decoration: none; padding: 12px 14px; font-weight: 700; font-size: .94rem; white-space: nowrap; border-bottom: 3px solid transparent; }
.tab:hover { color: #fff; }
.tab[aria-current="page"] { color: #fff; border-bottom-color: var(--volt); }
@media (max-width: 600px) { .top .who { display: none; } }
main.app { max-width: 1120px; margin: 0 auto; padding: 30px max(16px, env(safe-area-inset-left, 0px)) 70px; display: grid; gap: 20px; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.head h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.head .sub { color: var(--muted); margin-top: 6px; max-width: 46em; }
.card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 20px; min-width: 0; }
.card h2 { font-size: 1.25rem; margin-bottom: 12px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 18px; }
.stat b { display: block; font: 700 2.2rem/1 var(--display); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.stat.hl { background: var(--ink); color: #fff; border-color: var(--ink); }
.stat.hl b { color: var(--volt); }
.stat.hl span { color: rgba(255,255,255,.65); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.pill { display: inline-flex; align-items: center; gap: 6px; font: 700 .78rem var(--body); padding: 4px 10px; border-radius: 999px; background: #eef0ea; color: var(--muted); white-space: nowrap; }
.pill.in { background: var(--ok-bg); color: var(--ok); }
.pill.brk { background: var(--brk-bg); color: var(--brk); }
.pill.late { background: var(--late-bg); color: #c2410c; }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.volt { background: var(--volt); color: var(--ink); }
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tbl th { text-align: left; font: 700 .74rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 10px; border-bottom: 1.5px solid var(--line); white-space: nowrap; }
.tbl td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.person { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 10px; }
.person .nm { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.av { width: 38px; height: 38px; border-radius: 12px; background: var(--ink); color: var(--volt); display: grid; place-items: center; font: 700 .95rem var(--display); flex: none; }
.person .meta { display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; }
.banner { border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; font-weight: 600; }
.banner.volt { background: var(--volt); color: var(--ink); }
.banner.warn { background: var(--late-bg); color: #9a3412; }
.banner.ok { background: var(--ok-bg); color: var(--ok); }
.seg { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.seg button { border: 0; background: transparent; font: 700 .86rem var(--body); padding: 9px 14px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.modal-bg { position: fixed; inset: 0; background: rgba(13,15,18,.6); display: grid; place-items: center; padding: 16px; z-index: 50; }
.modal { background: #fff; border-radius: 20px; width: 100%; max-width: 520px; max-height: 100%; overflow: auto; padding: 24px; display: grid; gap: 14px; }
.modal h2 { font-size: 1.5rem; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.empty b { display: block; color: var(--text); font: 700 1.3rem var(--display); margin-bottom: 6px; }
.qr { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 10px; width: 200px; height: 200px; image-rendering: pixelated; }
.pin { font: 700 1.15rem var(--display); letter-spacing: .18em; }
.meter { height: 10px; border-radius: 99px; background: #eef0ea; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ink); border-radius: 99px; }
#toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; z-index: 60; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.boot { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: rgba(255,255,255,.6); }

/* affiche imprimable */
.poster { background: #fff; max-width: 720px; margin: 0 auto; border-radius: 20px; padding: 48px 40px; text-align: center; border: 1.5px solid var(--line); }
.poster h1 { font-size: 3rem; margin: 8px 0 6px; }
.poster .qrbig { width: 340px; height: 340px; image-rendering: pixelated; margin: 22px auto; display: block; }
.poster ol { text-align: left; max-width: 480px; margin: 0 auto; padding-left: 22px; display: grid; gap: 8px; font-size: 1.05rem; }
@media print {
  body { background: #fff; }
  .top, .tabs, .noprint, #toast { display: none !important; }
  main.app { padding: 0; }
  .poster { border: 0; }
}

/* pourquoi KLOKUP */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; }
.why-i { border-top: 3px solid var(--ink); padding-top: 18px; }
.why-n { display: inline-block; background: var(--volt); color: var(--ink); font: 700 .8rem var(--display); padding: 4px 9px; border-radius: 999px; margin-bottom: 14px; }
.why-i h3 { font-size: 1.3rem; margin-bottom: 8px; }
.why-i p { color: var(--muted); }
.vs { margin-top: 40px; overflow-x: auto; border: 1.5px solid var(--line); border-radius: 20px; background: var(--paper); }
.vs table { width: 100%; border-collapse: collapse; min-width: 560px; }
.vs th, .vs td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.vs tr:last-child td { border-bottom: 0; }
.vs th { font: 700 .8rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.vs .k { background: var(--ink); color: #fff; font-weight: 700; }
.vs th.k { color: var(--volt); }
.vs td:first-child { font-weight: 600; }
@media (max-width: 960px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* v2 : heures sup, guide, corrections, absences, rapports */
.pill.ot { background: #fff1e8; color: #c2410c; }
.guide { border-color: var(--volt-2); background: #fbffe9; }
.steps-l { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; }
.steps-l li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.steps-l li a { text-decoration: none; }
.steps-l li a:hover { text-decoration: underline; }
.steps-l .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; font-size: .8rem; flex: none; background: #fff; }
.steps-l li.ok { color: var(--muted); }
.steps-l li.ok a { text-decoration: line-through; }
.steps-l li.ok .tick { background: var(--ink); border-color: var(--ink); color: var(--volt); }
.absrow { padding: 12px 0; border-bottom: 1px solid var(--line); }
.absrow:last-child { border-bottom: 0; }
.fixlist { display: grid; gap: 8px; }
.fixrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.fixrow select, .fixrow input { width: auto; min-height: 40px; padding: 7px 10px; }
.fixrow input[type=date] { max-width: 160px; }
.fixadd { border-top: 1.5px dashed var(--line); padding-top: 12px; display: grid; gap: 8px; }
.hist summary { cursor: pointer; font-weight: 700; }
.hline { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.cellfix { cursor: pointer; text-align: center; }
.cellfix:hover { background: #f4f6ee; }
.rowlink { cursor: pointer; }
.rowlink:hover td { background: #f8f9f4; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-h { font: 700 .74rem var(--body); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding: 4px 0; }
.cal-d { min-height: 84px; border: 1px solid var(--line); border-radius: 10px; padding: 5px; display: flex; flex-direction: column; gap: 3px; background: #fff; min-width: 0; }
.cal-d.off { background: #f6f7f2; }
.cal-d.out { opacity: .45; }
.cal-d.today { outline: 2px solid var(--ink); outline-offset: -2px; }
.cal-n { font: 700 .82rem var(--display); color: var(--muted); }
.chip { display: block; border-radius: 6px; padding: 1px 6px; font-size: .74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: var(--brk-bg); color: #1f4fd6; }
.row .chip { display: inline-block; width: 18px; padding: 1px 0; vertical-align: middle; }
.chip.sick { background: #fde6e4; color: #a3271f; }
.chip.personal, .chip.other { background: #eef0ea; color: #3c4148; }
.chip.pend { background: repeating-linear-gradient(135deg, #ffeadf 0 6px, #fff7f1 6px 12px); color: #9a3412; border: 1px dashed #f0a37a; }
.chip .ini { display: none; }
@media (max-width: 640px) { .cal-d { min-height: 62px; padding: 3px; } .chip { padding: 1px 3px; font-size: .68rem; } .chip .full { display: none; } .chip .ini { display: inline; } }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .86rem; color: var(--muted); font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart { width: 100%; height: auto; display: block; margin-top: 10px; }
.chart .grid { stroke: #eceee6; stroke-width: 1; }
.chart .ax { fill: var(--muted); font: 600 11px var(--body); }
.hb { display: grid; gap: 10px; margin-top: 12px; }
.hb-r { display: grid; grid-template-columns: minmax(90px, 30%) 1fr auto; gap: 10px; align-items: center; font-size: .9rem; }
.hb-l { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hb-t { display: flex; gap: 2px; height: 14px; }
.hb-t i { display: block; height: 100%; border-radius: 0 4px 4px 0; min-width: 2px; }
.hb-t i + i { border-radius: 0 4px 4px 0; }
.hb-t i:first-child:not(:last-child) { border-radius: 0; }
.hb-v { color: var(--muted); font-weight: 600; font-size: .84rem; white-space: nowrap; }
.grid2r { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 860px) { .grid2r { grid-template-columns: 1fr; } }
.tsg td, .tsg th { padding: 10px 6px; }
.person .nm .pill { white-space: normal; text-align: center; max-width: 46%; }
.seg { max-width: 100%; overflow-x: auto; }
.seg button { white-space: nowrap; }
@media (max-width: 600px) { .hb-r { grid-template-columns: 1fr auto; row-gap: 4px; } .hb-t { grid-column: 1 / -1; order: 3; } .hb-v { white-space: normal; text-align: right; } }

/* v3 : horaire et soldes */
.neg { color: var(--bad); }
.sh { min-width: 900px; table-layout: fixed; }
.sh th, .sh td { vertical-align: top; padding: 6px; border-right: 1px solid var(--line); }
.sh th:last-child, .sh td:last-child { border-right: 0; }
.sh thead th { text-align: center; }
.sh thead th:first-child, .sh .sh-name { width: 150px; text-align: left; }
.sh thead th:last-child, .sh .sh-tot { width: 70px; }
.sh .sh-today { color: var(--ink); background: #fbffe9; }
.sh-name { font-weight: 700; font-size: .9rem; }
.sh-cell { cursor: pointer; min-height: 56px; position: relative; }
.sh-cell:hover { background: #f8f9f4; }
.sh-cell .sh-plus { display: none; position: absolute; right: 6px; bottom: 4px; color: var(--muted); font-weight: 700; }
.sh-cell:hover .sh-plus { display: block; }
.sh-abs { background: repeating-linear-gradient(135deg, #f6f7f2 0 6px, #fff 6px 12px); }
.sh-na { background: repeating-linear-gradient(135deg, #f3f3f3 0 6px, #fff 6px 12px); }
.sh-av { display: block; font-size: .7rem; font-weight: 700; color: #6b6f76; margin-bottom: 3px; white-space: nowrap; }
.sh-note { cursor: help; color: #6b6f76; font-weight: 400; }
.sh-avl { color: #4b5563; }
.sh-avl.out { color: var(--late); font-weight: 700; }
.sh-off { display: block; font-size: .72rem; font-weight: 700; color: #1f4fd6; margin-bottom: 3px; }
.shift { display: block; width: 100%; text-align: left; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; border-radius: 8px; padding: 4px 6px; margin-bottom: 4px; font: 600 .78rem/1.25 var(--body); cursor: pointer; position: relative; }
.shift b { display: block; font: 700 .8rem var(--display); }
.shift span { display: block; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shift.draft { background: #fff; color: var(--ink); border-style: dashed; }
.shift.warn { border-color: var(--late); box-shadow: inset 3px 0 0 var(--late); }
.shift i { position: absolute; top: 3px; right: 5px; font-style: normal; color: var(--late); }
.sh tfoot th, .sh tfoot td { border-top: 1.5px solid var(--line); font-size: .86rem; }
@media print { .sh { min-width: 0; } .sh-plus { display: none !important; } .stats { display: none; } }
.sh .sh-name, .sh tfoot th { text-transform: none; letter-spacing: 0; color: var(--text); font: 700 .9rem var(--body); position: sticky; left: 0; background: #fff; z-index: 1; }
.sh .sh-name .small { font-weight: 500; }
.stat { min-width: 0; }
.stat b { overflow-wrap: anywhere; }
@media (max-width: 600px) { .stat b { font-size: 1.7rem; } .sh thead th:first-child, .sh .sh-name { width: 112px; } }
.sh .sh-name { overflow: hidden; overflow-wrap: anywhere; }
.banner.ok { justify-content: space-between; }

/* fiche employé */
.board .person[data-person] { cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.board .person[data-person]:hover { border-color: #0d0f12; box-shadow: 0 6px 18px rgba(13,15,18,.08); transform: translateY(-1px); }
.board .person[data-person]:focus-visible { outline: 3px solid var(--volt, #d4ff3a); outline-offset: 2px; }
.av.big { width: 56px; height: 56px; font-size: 1.2rem; border-radius: 16px; flex: none; }
.chart.tl .ax.now { fill: var(--ink, #0d0f12); font-weight: 800; }
.chart .pulse { animation: klpulse 1.6s ease-in-out infinite; }
@keyframes klpulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .chart .pulse { animation: none; } .board .person[data-person]:hover { transform: none; } }

/* logo (mot-symbole) */
.brand .wm { width: auto; height: 30px; display: block; }
@media (max-width: 480px) { .brand .wm { height: 24px; } }
.foot .brand .wm { height: 28px; }

/* tuiles cliquables d'Aujourd'hui */
.stats.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .stats.five { grid-template-columns: 1fr 1fr; } }
.stat-btn { appearance: none; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; transition: border-color .15s, box-shadow .15s; }
.stat-btn:hover { border-color: var(--text); }
.stat-btn.hl:hover { border-color: var(--volt); }
.stat-btn:focus-visible { outline: 3px solid var(--volt-2); outline-offset: 2px; }
.stat-btn[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--volt); border-color: var(--ink); }
.top .who { font-weight: 700; opacity: .9; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 24px; } }
.contact-side h2 { margin: 6px 0 12px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; color: var(--muted); }
.contact-list b { color: var(--text); }
.contact-form { display: grid; gap: 4px; }
.contact-form textarea { resize: vertical; }
.ct-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-ok { display: grid; gap: 10px; justify-items: start; padding: 20px 4px; }
.contact-ok h3 { font-size: 1.5rem; }
.msgrow { padding: 14px 0; border-bottom: 1px solid var(--line); }
.msgrow:last-child { border-bottom: 0; }

/* logo dans une ligne de texte : capitales du logo = capitales du titre */
.wm-inline { display: inline-block; height: .88em; width: auto; vertical-align: -.02em; }

/* formules (4 colonnes) et liste « inclus partout » */
.prices.four { grid-template-columns: repeat(4, 1fr); max-width: none; }
.prices.three { grid-template-columns: repeat(3, 1fr); max-width: none; margin-top: 0; }
@media (max-width: 1000px) { .prices.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .prices.three { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .prices.four { grid-template-columns: 1fr; } }
.price .tag { top: 18px; right: 18px; }
.incl { margin-top: 22px; background: var(--card); border: 1.5px solid var(--line); border-radius: 24px; padding: 24px 28px; }
.incl h3 { font-size: 1.1rem; margin-bottom: 12px; }
.incl ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 640px) { .incl ul { grid-template-columns: 1fr; } }
.incl li { display: flex; gap: 10px; align-items: flex-start; }
.incl li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230d0f12' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* page Questions fréquentes */
.faqp .wrap { max-width: 860px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.faq-search { display: block; margin: 22px 0 14px; }
.faq-search input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: 16px var(--body); }
.faq-search input:focus-visible { outline: 3px solid var(--volt-2); outline-offset: 2px; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.faq-cats button { appearance: none; border: 1.5px solid var(--line); background: var(--card); color: var(--text); font: 600 .9rem var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.faq-cats button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-group { margin-top: 30px; }
.faq-group h3 { font-size: 1.2rem; margin-bottom: 4px; }
.prices.four .price .tag { position: static; align-self: flex-start; margin-bottom: -6px; }
.prices.four .price .btn, .prices.three .price .btn { width: 100%; white-space: nowrap; justify-content: center; text-align: center; }
.prices.four .price > .btn { margin-top: auto; }
.prices.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .prices.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .prices.four { grid-template-columns: minmax(0, 1fr); } }
.prices.four .price { padding: 26px 22px; }
.prices.four .price .btn { white-space: normal; padding-left: 12px; padding-right: 12px; }
/* changement de formule au prorata */
.sw-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 14px; }
.sw-sum > div { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; }
.sw-sum b { font: 700 1.6rem/1.1 var(--display); }
.sw-sum b small { font: 600 .85rem var(--body); color: var(--muted); }

/* import d'employés */
.modal:has(.imp) { width: min(1000px, calc(100vw - 32px)); max-width: none; }
.imp { display: grid; gap: 14px; }
.drop { display: grid; place-items: center; gap: 6px; text-align: center; padding: 34px 18px; border: 2px dashed var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--ink); background: #eef3d6; }
.drop:focus-visible { outline: 3px solid var(--volt-2); outline-offset: 2px; }
.drop.busy { opacity: .6; pointer-events: none; }
.drop.busy b::after { content: " …"; }
.imp-alt { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; margin-top: 12px; }
.imp-alt details { flex: 1 1 100%; }
.imp-alt summary { cursor: pointer; font-weight: 600; }
.imp-alt textarea { width: 100%; margin: 10px 0 8px; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); font: 15px var(--body); background: var(--card); color: var(--text); }
.lnkb { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.imp-tbl { max-height: 46vh; overflow: auto; border: 1.5px solid var(--line); border-radius: var(--r); }
.imp-tbl th { position: sticky; top: 0; background: var(--card); z-index: 1; vertical-align: top; }
.imp-tbl select { font: 600 .82rem var(--body); padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); max-width: 160px; }
.imp-tbl tr.off td { opacity: .45; }
.modal:has(.imp) > .imp, .imp > *, #imp-step1, #imp-step2 { min-width: 0; }
.imp-prog { display: grid; gap: 4px; width: min(280px, 100%); margin-top: 6px; }
.imp-prog i { display: block; height: 6px; width: 0; border-radius: 3px; background: var(--volt-2, #c6f432); transition: width .2s; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.imp-prog em { font-style: normal; font-size: 12px; color: var(--muted, #667); }
.imp-tbl td[contenteditable] { cursor: text; }
.imp-tbl td[contenteditable]:focus { outline: 2px solid var(--volt-2, #c6f432); outline-offset: -2px; background: #fff; }

/* chargement : logo qui respire, repères qui tournent dans le sens horaire */
.kload{display:grid;place-items:center;gap:14px;padding:48px 16px;color:#0d0f12;text-align:center}.kload.dark{color:#fff}.kl-svg{width:108px;height:108px;overflow:visible}.kl-gap{fill:#0d0f12}.kload:not(.dark) .kl-gap{fill:#d4ff3a}.kl-ticks line{stroke:currentColor;stroke-width:4;stroke-linecap:round;opacity:.15;animation:kl-tick 1.2s linear infinite}.kload .kl-ticks line{stroke:#9bc21c}.kload.dark .kl-ticks line{stroke:#d4ff3a}.kl-logo{transform-origin:60px 62px;transform-box:view-box;animation:kl-breathe 1.8s ease-in-out infinite}.kload p{margin:0;font-size:.9rem;opacity:.6}@keyframes kl-tick{0%{opacity:1}100%{opacity:.12}}@keyframes kl-breathe{0%,100%{transform:scale(.86)}50%{transform:scale(1.06)}}@media (prefers-reduced-motion:reduce){.kl-logo{animation:none}.kl-ticks line{animation-duration:2.4s}}
@media (max-width: 760px) { .top .top-help { display: none; } }
/* choix de langue : pastille « FR ▾ » avec la vraie liste par-dessus (accessible, native sur mobile) */
.lang-sel { position: relative; display: inline-flex; align-items: center; gap: 6px; border: 1.5px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 12px; color: #fff; font: 700 .78rem var(--body); letter-spacing: .04em; cursor: pointer; }
.lang-sel b::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.lang-sel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.lang-sel:focus-within { outline: 3px solid var(--volt-2, #c6f432); outline-offset: 2px; }
.light .lang-sel { border-color: var(--line); color: var(--ink); }
.auth-main .lang-sel { position: absolute; top: 18px; right: 18px; }
.lang-sel .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* décès, jours fériés */
.chip.bereavement { background: #e9e4f5; color: #4b3a8c; }
.chip.hol { background: #0d0f12; color: #d4ff3a; }
.pill.hol { background: #0d0f12; color: #d4ff3a; vertical-align: 1px; }
.holl { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 18px; }
.holr { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.holr span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-hol { display: block; font-size: .7rem; font-weight: 700; color: #4b5a00; background: #eef9c7; border-radius: 6px; padding: 1px 6px; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who a { background: var(--card); border: 1.5px solid var(--ink); border-radius: 999px; padding: 10px 16px; font-weight: 700; color: var(--ink); text-decoration: none; }
.who a:hover { background: var(--volt); }
/* pages secteurs et légales */
.hero.sect { padding: 56px 0 64px; }
.hero.sect .wrap { display: block; }
.hero.sect h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); max-width: 18em; }
.feats.light { background: var(--line); border-color: var(--line); margin-top: 0; }
.feats.light .feat { background: var(--card, #fff); }
.feats.light .feat p { color: var(--muted); }
.feats.light .feat .ic { background: var(--ink); }
.legal h1.h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 12px; }
.legal ul { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 6px; }
