:root {
  --bg: #0d0e12;
  --bg2: #16181f;
  --line: #2a2d37;
  --text: #f3f4f7;
  --muted: #a3a8b6;
  --accent: #2e5bff;
  --accent2: #5b7cff;
  --radius: 14px;
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent2); text-underline-offset: 3px; }
a:hover { color: var(--text); }

.wrap { max-width: 1040px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* En-tête */
.top {
  display: flex; padding-top: 20px; padding-bottom: 20px; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand {
  font-family: var(--display); font-size: 26px; letter-spacing: .5px;
  color: var(--text); text-decoration: none; text-transform: uppercase;
}
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Titres */
h1, h2, h3 {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .3px; margin: 0;
}
h1 { font-size: clamp(44px, 9vw, 88px); line-height: 1; }
h2 { font-size: clamp(30px, 5vw, 44px); line-height: 1.05; margin-bottom: 16px; }
h3 { font-size: 22px; line-height: 1.15; }
.accent { color: var(--accent2); }
.lead { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 640px; margin: 20px 0 0; }
.bar { width: 56px; height: 5px; background: var(--accent); border-radius: 3px; margin: 22px 0 0; }

section { padding-top: 56px; padding-bottom: 56px; border-top: 1px solid var(--line); }
.hero { padding-top: 48px; padding-bottom: 64px; border-top: 0; }

/* Cartes d'applis */
.apps { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.app-card {
  display: flex; gap: 16px; align-items: center;
  padding: 18px; border: 3px solid var(--line); border-radius: var(--radius);
  background: var(--bg2); color: var(--text); text-decoration: none;
  transition: border-color .15s ease;
}
a.app-card:hover { border-color: var(--accent); color: var(--text); }
.app-card img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.app-card p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.app-card.soon { border-style: dashed; }
.app-card.soon h3 { color: var(--muted); }

/* Boutons */
.btns { display: flex; flex-wrap: wrap; gap: clamp(8px, 1.5vw, 12px); margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: clamp(9px, 1.6vw, 13px) clamp(12px, 2.4vw, 20px);
  border-radius: 12px; border: 3px solid var(--text);
  font-weight: 700; font-size: clamp(13px, 1.9vw, 16px); line-height: 1.2;
  text-decoration: none; color: var(--text); white-space: nowrap;
}
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: var(--accent); color: #fff;
}
.btn:hover { color: #fff; border-color: var(--accent2); }
.btn.disabled { opacity: .5; pointer-events: none; }

/* Page appli */
.app-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.app-hero .icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 24px; }
.app-hero .shot { justify-self: center; max-width: 280px; border-radius: 22px; box-shadow: 0 20px 60px rgba(46, 91, 255, .25); }
.stripes {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 22px, transparent 22px 44px),
    radial-gradient(ellipse at 70% 110%, rgba(46, 91, 255, .35), transparent 60%);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  font-size: clamp(11px, 1.6vw, 13px); font-weight: 700; letter-spacing: .4px; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff;
}
.tag.outline { background: transparent; border: 2px solid var(--accent2); color: var(--accent2); }

.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 240px);
  gap: 16px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
}
.shots img { width: 100%; border-radius: 16px; scroll-snap-align: start; align-self: start; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.feature { padding: 22px; border: 3px solid var(--line); border-radius: var(--radius); background: var(--bg2); }
.feature ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.feature li + li { margin-top: 6px; }
.feature p { color: var(--muted); margin: 12px 0 0; }

.links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.links li { font-size: clamp(13px, 3.9vw, 17px); }
.links a, footer a { white-space: nowrap; }

/* Texte long (mentions) */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin: 36px 0 10px; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--muted); }
footer nav { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .app-hero { grid-template-columns: 1fr; }
  .app-hero .shot { max-width: 260px; }
  section { padding-top: 44px; padding-bottom: 44px; }
  .top nav { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
