/* SPDX-License-Identifier: Apache-2.0 */
/* Page de présentation DeskPTT (GitHub Pages) — mêmes couleurs que l'application. */
:root {
  --bg: #0d1117;
  --bg2: #141b23;
  --card: #1a222c;
  --line: #2a3542;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #4a9fd8;
  --accent2: #5bb0e6;
  --ok: #3fb68b;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
code { background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 0 5px; font-size: .9em; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.01em; }
h3 { font-size: 18px; }
section { padding: 64px 0; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(13, 17, 23, .86); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 19px; }
.brand img { border-radius: 7px; }
.brand:hover { text-decoration: none; }
.nav nav { display: flex; gap: 22px; }
.nav nav a { color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 72px 0 56px; background: radial-gradient(900px 420px at 80% 0%, rgba(74, 159, 216, .16), transparent 70%); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent2); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
.hero h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -.02em; }
.lead { color: #c9d4de; font-size: 18px; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-weight: 600; background: var(--card); }
.btn:hover { text-decoration: none; border-color: var(--accent); }
.btn.primary { background: linear-gradient(180deg, var(--accent2), #3a8cc6); border-color: transparent; color: #fff; box-shadow: 0 6px 24px rgba(74, 159, 216, .3); }
.btn.primary:hover { filter: brightness(1.07); }
.meta { color: var(--muted); font-size: 14px; margin: 0; }
.hero-shot { margin: 0; }
.hero-shot img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }

/* Périmètre */
.scope { padding: 8px 0 24px; }
.scope-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pill-card { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.pill-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* Fonctions */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feat .ic { font-size: 26px; display: block; margin-bottom: 8px; }
.feat p { margin: 0; color: var(--muted); font-size: 15px; }
.shot-big { margin: 48px auto 0; max-width: 884px; text-align: center; }
.shot-big img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.shot-big figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; }

/* Démarrage rapide */
.quick { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sub { color: var(--muted); margin-top: -4px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; max-width: 820px; }
.steps > li { counter-increment: s; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px 18px 74px; }
.steps > li::before {
  content: counter(s); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; background: rgba(74, 159, 216, .16); color: var(--accent2); border: 1px solid rgba(74, 159, 216, .4);
}
.steps h3 { margin-bottom: 4px; }
.steps p, .steps ul { margin: 6px 0 0; color: #c9d4de; font-size: 15.5px; }
.steps ul { padding-left: 20px; }
.more { margin-top: 28px; color: var(--muted); }

/* FAQ */
.faq details { max-width: 820px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: #c9d4de; margin: 10px 0 2px; }

/* Pied de page */
.foot { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14.5px; }
.foot p { margin: 6px 0; }
.foot img { vertical-align: -4px; border-radius: 4px; }
.foot .small { font-size: 13px; opacity: .8; }

@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .scope-grid, .feat-grid { grid-template-columns: 1fr; }
  .nav nav { gap: 14px; }
  .nav nav a:nth-child(3) { display: none; }
  section { padding: 48px 0; }
}
@media (max-width: 420px) {
  .nav nav a:nth-child(1) { display: none; }
  .steps > li { padding-left: 62px; }
  .steps > li::before { left: 14px; }
}
