/* Taskbar Express : site vitrine. Un seul fichier, aucun JavaScript. Jetons repris de dashboard/src/app.css. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  --bg: #fafaf9;
  --card: #ffffff;
  --ink: #1f1f20;
  --ink-2: #39393a;
  --muted: #5b5b5d;
  --line: #e4e4e1;
  --line-2: #cfcfcb;
  --orange: #ff8552;
  --orange-dk: #b8460a;
  --orange-soft: #ffe9df;
  --teal: #297373;
  --r: 12px;
  --r-sm: 8px;
  --gutter: 16px;
  --wrap: 1120px;
  --board: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ui: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 var(--ui); color: var(--ink-2); background: var(--bg); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }

/* Titres façon tableau d'affichage de gare */
h1, h2, .board { font-family: var(--board); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
h1 { font-size: clamp(46px, 8.4vw, 96px); line-height: .94; }
h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1; }
h3 { font: 600 20px/1.25 var(--ui); color: var(--ink); }
.eyebrow { font: 700 13px/1 var(--ui); text-transform: uppercase; letter-spacing: .12em; color: var(--orange-dk); }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 62ch; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-sm);
  font: 600 16px/1 var(--ui); text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease); }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-buy { background: var(--orange-dk); color: #fff; }
.btn-buy:hover { background: #983a08; }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 15px; }

/* Liens : soulignement qui se dessine */
.ulink { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--ease); }
.ulink:hover, .ulink:focus-visible { background-size: 100% 1.5px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(250, 250, 249, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 28px; height: 28px; image-rendering: pixelated; }
.brand span { font: 700 22px/1 var(--board); text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.nav { display: flex; gap: 24px; font-size: 15px; }
.nav a { color: var(--muted); padding: 8px 0; }
.nav a:hover { color: var(--ink); }
.lang { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; padding: 8px 4px; }
.lang:hover { color: var(--ink); }

/* Hero */
.hero { padding: clamp(48px, 9vw, 104px) 0 0; text-align: center; }
.hero h1 { max-width: 9.5em; margin-inline: auto; }
.hero h1 em { font-style: normal; color: var(--orange-dk); }
.hero .lead { margin: 24px auto 0; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* Bandeau du hero : décor du mod tokyo-soir répété (×3, au pixel près) et le train entier qui le traverse en boucle.
   Images faites avec les sprites des mods (tools/pixel/japon-soir.px.js). Rail à 56 px logiques sur 65 = 27 px du bas. */
.scene { position: relative; height: 195px; margin-top: clamp(40px, 6vw, 72px); overflow: hidden; border-block: 1px solid var(--line);
  background: #3e3a78 url(/assets/img/japon-decor.png) 0 100% / auto 195px repeat-x; image-rendering: pixelated; }
.scene .train { position: absolute; left: 0; bottom: 27px; width: 1632px; max-width: none; height: 90px; image-rendering: pixelated;
  animation: drive 14s linear -4s infinite; }
@keyframes drive { from { transform: translateX(-1632px); } 75%, to { transform: translateX(100vw); } }
.rail { height: 10px; background:
  linear-gradient(var(--ink-2), var(--ink-2)) 0 2px / 100% 2px no-repeat,
  repeating-linear-gradient(90deg, var(--line-2) 0 3px, transparent 3px 14px) 0 5px / 100% 4px no-repeat; }

/* Entrée du hero */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
[data-enter] > * { animation: rise .6s var(--ease) both; }
[data-enter] > :nth-child(2) { animation-delay: .06s; }
[data-enter] > :nth-child(3) { animation-delay: .12s; }
[data-enter] > :nth-child(4) { animation-delay: .18s; }
[data-enter] > :nth-child(5) { animation-delay: .24s; }

/* Chiffres */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-top: 56px; }
.facts li { background: var(--card); padding: 20px 16px; text-align: left; }
.facts b { display: block; font: 700 clamp(34px, 5vw, 48px)/1 var(--board); color: var(--ink); }
.facts span { font-size: 15px; color: var(--muted); }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(4, 1fr); } .facts li { padding: 24px 24px; } }

/* Sections */
section { padding: clamp(64px, 9vw, 112px) 0; }
.head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.alt { background: var(--card); border-block: 1px solid var(--line); }

/* Cartes */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; align-content: start; transition: transform .2s var(--ease), border-color .2s var(--ease); }
.alt .card { background: var(--bg); }
.card:hover { transform: translateY(-2px); border-color: var(--line-2); }
.card p { font-size: 16px; color: var(--muted); }

/* 3 étapes */
.steps { display: grid; gap: 16px; }
.steps .n { font: 700 44px/1 var(--board); color: var(--orange); }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Bento */
.bento { display: grid; gap: 16px; }
.bento .card { overflow: hidden; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: var(--card); }
.crop { margin: 8px -24px -24px; border-top: 1px solid var(--line); background: #fff; }
.crop img { width: 100%; height: 171px; object-fit: none; object-position: 12% 100%; image-rendering: pixelated; }
pre.code { margin-top: 4px; padding: 16px; background: #f3f3f0; border: 1px solid var(--line); border-radius: var(--r-sm); font: 14px/1.6 var(--mono); font-variant-ligatures: none; color: var(--ink-2); overflow-x: auto; tab-size: 2; }
.c { color: var(--muted); } .k { color: var(--orange-dk); font-weight: 600; } .f { color: var(--teal); }

/* L'application : deux captures du vrai tableau de bord posées sur la page, la seconde décalée */
.showcase { display: grid; gap: 40px; }
.showcase figure { margin: 0; }
.showcase img { width: 100%; height: auto; border-radius: var(--r); background: #fff; box-shadow: 0 28px 56px -20px rgba(31, 31, 32, .4); }
.showcase figcaption { margin-top: 14px; max-width: 46ch; font-size: 16px; color: var(--ink-2); }
@media (min-width: 900px) {
  .showcase { grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
  .shot-side { margin-top: clamp(48px, 8vw, 120px); }
}

/* Tarifs */
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 800px) { .plans { grid-template-columns: repeat(2, 1fr); } }
.plan { padding: 32px; border-radius: var(--r); border: 1px solid var(--line); background: var(--card); display: grid; gap: 20px; align-content: start; }
.plan.pro { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.plan .price { font: 700 56px/1 var(--board); color: var(--ink); }
.plan .price small { font: 400 16px/1 var(--ui); color: inherit; opacity: .8; margin-left: 6px; }
.plan ul { display: grid; gap: 10px; font-size: 16px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: var(--line-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M6 6l6 6M12 6l-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan.pro li::before { background-color: var(--ink); }
.plan .note { font-size: 14px; opacity: .85; }
.plan .btn { width: 100%; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 99px; font: 700 12px/1.2 var(--ui); text-transform: uppercase; letter-spacing: .08em; background: var(--orange-soft); color: var(--orange-dk); }

/* Workshop */
.kinds { display: grid; gap: 10px; }
.kinds li { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: baseline; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.kinds b { font: 600 16px/1.3 var(--ui); color: var(--ink); }
.kinds span { font-size: 15px; color: var(--muted); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 18px/1.35 var(--ui); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%; font: 400 26px/1 var(--ui); color: var(--orange-dk); transition: rotate .2s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: #000; }
.faq p { padding: 0 40px 22px 0; color: var(--muted); max-width: 66ch; }
.cover { padding: 0 0 22px; }
.cover table { width: 100%; max-width: 640px; border-collapse: collapse; font-size: 16px; font-variant-numeric: tabular-nums; }
.cover th, .cover td { padding: 10px 16px 10px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cover thead th { padding-bottom: 8px; font: 700 12px/1 var(--ui); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cover tbody th { font-weight: 600; color: var(--ink); }
.cover td { color: var(--muted); }
.cover th:last-child, .cover td:last-child { padding-right: 0; }
.cover tbody tr:last-child > * { border-bottom: 0; }

/* Bandeau final */
.final { background: var(--orange); text-align: center; padding: clamp(64px, 9vw, 104px) 0; }
.final h2 { max-width: 16ch; margin: 0 auto; }
.final p { margin: 16px auto 0; max-width: 52ch; color: var(--ink); }
.final .cta .btn-ghost { background: transparent; border-color: var(--ink); }
.final .cta .btn-ghost:hover { background: rgba(255, 255, 255, .35); }
.final .btn-buy { background: var(--ink); }
.final .btn-buy:hover { background: #000; }

/* Pied de page */
.foot { padding: 40px 0 56px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; gap: 20px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--ink-2); }
.foot small { font-size: 13px; line-height: 1.5; max-width: 80ch; }

/* Pages de texte (privacy, terms, 404) */
.doc { padding: clamp(40px, 7vw, 80px) 0 clamp(56px, 8vw, 96px); }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(40px, 7vw, 64px); margin-bottom: 8px; }
.doc h2 { font: 600 22px/1.3 var(--ui); text-transform: none; letter-spacing: 0; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc .stamp { color: var(--muted); font-size: 15px; }
.notfound { padding-block: clamp(56px, 12vw, 120px); text-align: center; }
.notfound h1 { margin-bottom: 12px; }
.notfound p { margin-top: 0; font-size: 19px; color: var(--muted); }
.notfound .cta { margin-top: 32px; }

.brand span, .btn-sm { white-space: nowrap; }
@media (max-width: 759px) {
  .nav { display: none; }
  .top .wrap { gap: 10px; }
  .brand { gap: 8px; }
  .brand span { font-size: 19px; }
  .btn-sm { padding: 0 12px; font-size: 14px; }
  .cta .btn { width: 100%; }
  .plan { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.btn.soon { opacity: .5; cursor: default; pointer-events: none; }
