/* Slidz — site vitrine. Charte de l'app : SPEC.md § Design, app/lib/theme.dart */

/* Polices variables de l'app (app/assets/fonts), hébergées avec le site : aucun appel à un service tiers. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --bg: #0B0B0D;
  --card: #1A1A1F;
  --card-alt: #24242A;
  --stroke: #2C2C34;
  --yellow: #FFC400;
  --yellow-pale: #FFE27A;
  --blue: #2F6BFF;
  --blue-light: #5B8FFF;
  --blue-pale: #8FB0FF;
  --green: #22C55E;
  --red: #FF4D5E;
  --orange: #FF5A1F;
  --text: #F5F5F7;
  --text-2: #B4B4BE;
  --muted: #9A9AA5;
  --display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 600;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
p { margin: 0; }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.lead { color: var(--text-2); font-size: 17px; font-weight: 600; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 24px; font-weight: 800; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: scale(0.96); }
.btn-yellow { background: var(--yellow); color: var(--bg); }
.btn-yellow:hover { background: var(--yellow-pale); }
.btn-ghost { background: var(--card); color: var(--text); }
.btn-ghost:hover { background: var(--card-alt); }

/* Badges de téléchargement */

/* En-tête */
.header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 13, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; font-weight: 800; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; display: block; }
.nav { display: none; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 12px; text-decoration: none; font-size: 14px; color: var(--text-2); }
.nav a:hover { color: var(--text); background: var(--card); }
.header .btn { height: 40px; padding: 0 16px; font-size: 14px; }
/* Badge officiel d'Apple (fichier fourni par Apple, sans retouche) */
.store-badge { display: inline-flex; transition: transform 0.15s ease; }
.store-badge:hover { transform: translateY(-1px); }
.store-badge img { display: block; height: 54px; width: auto; }
.header .store-badge img { height: 40px; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--card); border: 0; color: var(--text); cursor: pointer; }
.burger svg { width: 20px; height: 20px; }
.mobile-nav { display: none; background: var(--bg); border-bottom: 1px solid var(--stroke); padding: 8px 0 16px; }
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav .wrap { display: block; height: auto; }
.mobile-nav a { display: block; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 800; }
.mobile-nav a:hover { background: var(--card); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .store-badge { display: none; }

/* Pied de page */
.footer { border-top: 1px solid var(--stroke); padding: 32px 0 40px; color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer a { text-decoration: none; color: var(--text-2); }
.footer a:hover { color: var(--text); }

/* Pages légales */
.legal { padding: 48px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(32px, 6vw, 48px); margin-bottom: 8px; }
.legal .date { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 22px; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--text-2); font-size: 15px; margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .faq { margin-top: 8px; }
.legal .faq p, .legal .faq li { margin-bottom: 8px; }
.support-mail { background: var(--card); border-radius: var(--r-md); padding: 18px 20px; }
.support-mail p { margin: 0; color: var(--text); }
.support-mail a { color: var(--yellow); font-weight: 800; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .store-badge { transition: none; }
}

/* Tablette et desktop */
@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header-actions .store-badge { display: inline-flex; }
}

/* Feuille de route (roadmap.html) */
.roadmap { padding: 56px 0 80px; }
.roadmap-hero { max-width: 760px; margin-bottom: 56px; }
.roadmap-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.02; margin-top: 18px; }
.roadmap-hero h1 .hl { color: var(--yellow); }
.roadmap-hero p { margin-top: 18px; font-size: 18px; color: var(--text-2); max-width: 620px; }
.rm-section { margin-bottom: 64px; }
.rm-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.rm-head h2 { font-size: 32px; }
.rm-sub { margin-top: 10px; color: var(--text-2); }
.rm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; margin-top: 24px; }
.rm-tier li h3 { font-family: var(--body); font-size: 16px; }
.rm-tier li p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.rm-now { background: #17150A; border: 1.5px solid #3A3008; border-radius: 32px; padding: clamp(22px, 4vw, 40px); }
.rm-now .rm-sub { color: #D6D6DE; }
.rm-now-card { background: #221E0C; border-radius: var(--r-md); padding: 20px; }
.rm-now-card h3 { font-size: 20px; color: var(--yellow-pale); }
.rm-now-card p { color: #D6D6DE; font-size: 15px; margin-top: 6px; }
.rm-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; margin-top: 28px; align-items: start; }
.rm-tier { background: #121216; border: 1.5px solid #26262D; border-radius: var(--r-lg); padding: 24px; }
.rm-tier-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.rm-num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.rm-label { background: var(--card); font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 14px; }
.rm-tier ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rm-tier li { background: var(--card); border-radius: 16px; padding: 14px 16px; }
.rm-t2 { color: var(--blue-pale); }
.rm-t3 { color: #FF7A45; }
.rm-t4 { color: var(--text-2); }
.rm-idea { background: var(--card); border-radius: 32px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.rm-idea div { max-width: 560px; }
.rm-idea h2 { font-size: 30px; }
.rm-idea p { margin-top: 8px; color: var(--text-2); }

/* Feuille de route : ce qui est déjà dans l'app, en petit, en bas de page. */
.rm-shipped h2 { font-size: 18px; margin-bottom: 12px; }
.rm-shipped ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rm-shipped li { display: inline-flex; align-items: center; gap: 6px; background: var(--card); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 700; color: var(--muted); }
.rm-shipped svg { flex: none; }
