/* Calendar Timesheet — site, marque D (SPEC-5) : blanc, gris doux, filets fins, Geist, une seule couleur d'action (émeraude). */
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/geist-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #FFFFFF; --bg2: #F6F7F9; --bg3: #EEF0F3; --ink: #0E1116; --ink2: #4B5363; --ink3: #8A92A1; --line: #E6E8EC; --card: #FFFFFF;
  --accent: #0F9F6E; --accent-ink: #0B7A55; --accent-soft: #E6F6EF; --amber: #A5600F; --amber-soft: #FBF1E4;
  --c1: #3F51B5; --c2: #0B8043; --c3: #F4511E; --c4: #039BE5; --c5: #8E24AA; --c6: #616161;
  --shadow: 0 1px 2px rgba(14,17,22,.05), 0 12px 32px -16px rgba(14,17,22,.18);
  --measure: 68ch; --wide: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.num, table { font-variant-numeric: tabular-nums; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 28px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--bg); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.86); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16.5px; letter-spacing: -0.01em; white-space: nowrap; }
.logo { width: 26px; height: 26px; border-radius: 7px; background: var(--ink); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.logo span { display: flex; width: 16px; height: 6px; border-radius: 2px; overflow: hidden; }
.logo i { display: block; height: 100%; }
.logo i:nth-child(1) { width: 50%; background: var(--c1); } .logo i:nth-child(2) { width: 30%; background: var(--c2); } .logo i:nth-child(3) { width: 20%; background: var(--c3); }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav a { color: var(--ink2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; font: 600 15px/1 "Geist", system-ui, sans-serif;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(15,159,110,.7); }
.btn.primary:hover { color: #fff; }
.btn.quiet { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn.quiet:hover { border-color: var(--ink3); color: var(--ink); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 9px; }
.nav a.btn { color: #fff; }

/* Héro centré, produit en grand */
.hero { text-align: center; padding: 84px 0 0; background: radial-gradient(900px 380px at 50% 0%, var(--accent-soft), transparent 70%); }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink2); border: 1px solid var(--line); background: var(--card); border-radius: 99px; padding: 5px 12px 5px 6px; margin-bottom: 26px; }
.badge b { white-space: nowrap;  background: var(--accent-soft); color: var(--accent-ink); border-radius: 99px; padding: 2px 9px; font-weight: 600; font-size: 12.5px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 600; margin: 0 auto 22px; max-width: 13em; }
.hero .lede { font-size: clamp(17px, 2vw, 19.5px); color: var(--ink2); max-width: 38em; margin: 0 auto 30px; }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero .fine { color: var(--ink3); font-size: 14px; margin: 18px 0 0; }
.hero .early { color: var(--ink2); font-size: 14px; margin: 8px auto 0; max-width: 44em; }
.stage { margin: 56px auto 0; max-width: var(--wide); padding: 0 28px; }
.window { background: var(--card); border: 1px solid var(--line); border-bottom: 0; border-radius: 16px 16px 0 0; box-shadow: var(--shadow); overflow: hidden; text-align: left; }
@media (prefers-reduced-motion: no-preference) { .window { animation: rise .9s cubic-bezier(.2,.7,.2,1) both .1s; } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.chrome { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--bg3); display: block; border: 1px solid var(--line); }
.chrome .url { margin-left: 14px; flex: 1; max-width: 420px; height: 26px; border-radius: 7px; background: var(--card); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink3); display: flex; align-items: center; padding: 0 10px; }
.app { display: grid; grid-template-columns: minmax(0, 1fr) 312px; }
.sheet { border-right: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.sheetbar { height: 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 16px; font-size: 13px; color: var(--ink2); }
.sheetbar b { color: var(--ink); font-weight: 600; }
.doc { padding: 26px 30px; flex: 1; overflow-x: auto; }
.dh { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.dh .cl { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; display: flex; align-items: center; gap: 10px; }
.dh .cl i { width: 10px; height: 26px; border-radius: 3px; background: var(--c1); display: block; }
.dh .sub { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.dh .amt { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; text-align: right; line-height: 1.1; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); border-radius: 99px; padding: 3px 9px; }
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.doc table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.doc th { text-align: right; font-weight: 500; color: var(--ink3); font-size: 12px; padding: 10px 8px; }
.doc td { text-align: right; padding: 9px 8px; border-top: 1px solid var(--line); white-space: nowrap; }
.doc th:first-child, .doc td:first-child, .doc .l { text-align: left; }
.doc td.l { white-space: normal; }
.doc tr.more td { text-align: center; color: var(--ink3); font-size: 12.5px; }
.doc tr.tot td { font-weight: 600; border-top: 1px solid var(--ink); }
.foot-note { color: var(--ink3); font-size: 12.5px; margin: 12px 0 0; }
.tabs { height: 38px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 4px; padding: 0 10px; font-size: 12.5px; color: var(--ink2); background: var(--bg2); overflow: hidden; white-space: nowrap; }
.tabs span { padding: 6px 10px; border-radius: 7px; }
.tabs span.on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(14,17,22,.08); }
.panel { display: flex; flex-direction: column; font-size: 13px; }
.phead { height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.phead .x { color: var(--ink3); font-weight: 400; }
.pbody { padding: 16px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.prow { display: flex; justify-content: space-between; align-items: center; color: var(--ink2); }
.pill { font-size: 11.5px; font-weight: 600; border-radius: 99px; padding: 2px 9px; background: var(--accent-soft); color: var(--accent-ink); }
.big { font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.muted { color: var(--ink2); }
.ribbon { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--bg3); gap: 2px; }
.ribbon i { display: block; height: 100%; border-radius: 99px; }
.legend { display: grid; grid-template-columns: 8px 1fr auto auto; gap: 8px 10px; align-items: center; }
.legend i { width: 8px; height: 8px; border-radius: 50%; display: block; }
.legend .m { color: var(--ink3); }
.todo { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; text-align: left; }
.todo .n { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; display: grid; place-items: center; font-size: 12px; flex: none; }
.navl { display: flex; flex-direction: column; }
.navl span { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); }
.navl span::after { content: "\203A"; color: var(--ink3); }
.pfoot { padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.pfoot .btn { height: 36px; font-size: 13.5px; padding: 0 14px; border-radius: 9px; }

/* Sections */
.band { padding: 104px 0; }
.band.alt { background: var(--bg2); }
.band h2 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; margin: 0 0 14px; max-width: 18em; }
.band .intro { color: var(--ink2); font-size: 18px; max-width: 36em; margin: 0 0 44px; }
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.problem p { font-size: 19px; color: var(--ink2); margin: 0 0 16px; }
.problem p b { color: var(--ink); font-weight: 600; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; counter-increment: s; }
.step::before { content: counter(s); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; font-size: 13.5px; margin-bottom: 18px; }
.step h3, .tile h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step p, .tile p { margin: 0; color: var(--ink2); font-size: 15px; }
.mini { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 13px; }
.mini.cal { display: flex; flex-direction: column; gap: 6px; }
.mini.cal label { display: flex; align-items: center; gap: 8px; }
.mini .box { width: 16px; height: 16px; border-radius: 5px; background: var(--accent); display: grid; place-items: center; color: #fff; font-size: 11px; }
.mini .box.off { background: transparent; border: 1.5px solid var(--ink3); }
.mini.assign { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px; align-items: center; }
.mini.assign i { width: 10px; height: 10px; border-radius: 3px; display: block; }
.mini .switch { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tog { width: 34px; height: 20px; border-radius: 99px; background: var(--accent); position: relative; flex: none; }
.tog::after { content: ""; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; overflow: hidden; }
.t-a { grid-column: span 4; } .t-b, .t-c, .t-d, .t-e { grid-column: span 2; }
.tile .vis { margin-top: 20px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio .todo { flex-direction: column; gap: 4px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; }
.bars div { flex: 1; height: 100%; border-radius: 8px 8px 3px 3px; background: var(--bg3); position: relative; }
.bars div span { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 8px 8px 3px 3px; background: var(--accent); }
.rules { display: flex; flex-wrap: wrap; gap: 8px; }
.rules span { border: 1px solid var(--line); border-radius: 99px; padding: 5px 12px; font-size: 13.5px; background: var(--bg2); }
.lock { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.details div { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.details h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 600; }
.details p { margin: 0; color: var(--ink2); font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.plan.pick { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.plan .tag { position: absolute; top: -11px; left: 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; border-radius: 99px; padding: 2px 10px; }
.plan h3 { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink2); }
.plan .price { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.plan .price small { font-size: 14.5px; font-weight: 400; color: var(--ink3); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink2); flex: 1; }
.plan li { padding: 3px 0 3px 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.plan p { margin: 0; color: var(--ink2); font-size: 14.5px; flex: 1; }
.fine2 { color: var(--ink3); font-size: 14px; margin-top: 18px; }
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--ink3); font-weight: 400; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--ink2); margin: 10px 0 0; }
.final { text-align: center; padding: 40px 0 104px; }
.final .box { background: var(--ink); color: #fff; border-radius: 24px; padding: 72px 28px; position: relative; overflow: hidden; }
.final .box h2 { color: #fff; margin: 0 auto 14px; font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.035em; line-height: 1.08; font-weight: 600; }
.final .box p { color: rgba(255,255,255,.72); max-width: 34em; margin: 0 auto 28px; font-size: 18px; }
.final .rb { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; }
.final .rb i { display: block; height: 100%; }

/* Pages de texte (confidentialité, conditions, guides) */
.page { padding: 64px 0 88px; }
.page h1 { font-size: clamp(34px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 12px; max-width: 22ch; }
.page .meta { color: var(--ink3); margin: 0 0 40px; font-size: 15px; }
.page h2 { font-size: 24px; line-height: 1.25; letter-spacing: -0.02em; font-weight: 600; margin: 44px 0 10px; }
.page h3 { font-size: 18px; line-height: 1.3; font-weight: 600; margin: 28px 0 8px; }
.page p, .page li { max-width: var(--measure); color: var(--ink); }
.page ol, .page ul { padding-left: 22px; }
.page li { margin: 6px 0; }
.page table { border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.page th, .page td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.page th { background: var(--bg2); font-weight: 600; }
.page pre { overflow-x: auto; background: var(--bg2); border: 1px solid var(--line); padding: 14px 16px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; max-width: 760px; }
.page pre code { background: none; padding: 0; }
code, kbd { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.9em; background: var(--bg2); padding: 1px 6px; border-radius: 5px; }
.callout { border: 1px solid #CDEBDD; background: var(--accent-soft); padding: 16px 18px; border-radius: 14px; max-width: var(--measure); margin: 24px 0; }
.callout.warn { border-color: #F1D9B8; background: var(--amber-soft); }
.callout p { margin: 0; }
.page .guide-list, .guide-list { list-style: none; padding: 0; margin: 0; max-width: var(--measure); display: grid; gap: 14px; }
.guide-list li { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; margin: 0; position: relative; }
.guide-list li::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c, var(--accent)); }
.guide-list a { font-size: 19px; font-weight: 600; text-decoration: none; color: var(--ink); letter-spacing: -0.01em; }
.guide-list a:hover { color: var(--accent-ink); }
.guide-list p { margin: 6px 0 0; color: var(--ink2); }
.page .related { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); }
.page .related h2 { margin-top: 0; }
.cta-end { border-top: 1px solid var(--line); margin-top: 48px; padding-top: 28px; max-width: var(--measure); }

.foot { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink3); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot nav a { color: var(--ink2); text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot p { margin: 6px 0 0; max-width: 62ch; }

@media (max-width: 960px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .panel { display: none; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-a { grid-column: span 2; } .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .problem, .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .stage { padding: 0 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .band { padding: 64px 0; }
  .steps, .bento, .plans, .details, .trio { grid-template-columns: minmax(0, 1fr); }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
  .doc { padding: 18px 16px; }
  .dh { flex-direction: column; align-items: flex-start; }
  .dh .amt { text-align: left; }
  /* Exemple de relevé sur téléphone : Début et Fin masqués, pour garder durée, facturé et montant à l écran. */
  .doc th:nth-child(3), .doc td:nth-child(3), .doc th:nth-child(4), .doc td:nth-child(4) { display: none; }
  .page table { display: block; overflow-x: auto; max-width: 100%; }
}
@media (max-width: 480px) {
  .badge { flex-direction: column; gap: 6px; border-radius: 14px; padding: 8px 14px; }
  .brand { font-size: 14.5px; }
  .nav .btn.sm { padding: 0 12px; font-size: 13.5px; }
}
