/* ScopeGuild — site vitrine. Palette du kit de marque : Midnight #0B1B33, Teal #19B6A8, fond clair #F6F8FB. */
:root {
  --paper: #f6f8fb;
  --ink: #0b1b33;
  --ink-soft: #4a5568;
  --concrete: #e6ebf2;
  --line: #cbd3de;
  --orange: #19b6a8;
  --orange-ink: #0f6e65;
  --green: #19b6a8;
  --panel: #ffffff;
  --radius: 6px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1b33;
    --ink: #eef2f7;
    --ink-soft: #a8b3c2;
    --concrete: #15284a;
    --line: #27395a;
    --orange: #2fd3c3;
    --orange-ink: #9fe9e0;
    --green: #2fd3c3;
    --panel: #10223f;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
h1, h2, h3 { font-family: "Barlow Condensed", "Barlow", system-ui, sans-serif; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; margin-bottom: .5em; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Barre de navigation */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; text-decoration: none; }
.brand span { color: var(--orange); }
.top nav { display: flex; gap: 18px; align-items: center; font-size: .95rem; }
.top nav a { text-decoration: none; color: var(--ink-soft); }
.top nav a:hover { color: var(--ink); }
.lang { border: 1px solid var(--line); border-radius: 999px; padding: .3em .8em; }
@media (max-width: 700px) { .top nav a:not(.lang) { display: none; } }

/* Héros */
.hero { padding: 48px 0 40px; display: grid; gap: 36px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .hero { grid-template-columns: 1.15fr .85fr; padding: 72px 0 64px; } }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 800; max-width: 12ch; }
.hero h1 .cut { position: relative; white-space: nowrap; }
.hero h1 .cut::after { content: ""; position: absolute; left: -2%; right: -2%; top: 52%; height: .08em; background: var(--orange); transform: rotate(-3deg); }
.hero .lead { font-size: 1.25rem; color: var(--ink-soft); margin: 1em 0 1.4em; max-width: 42ch; }
.cta { display: inline-flex; align-items: center; gap: 10px; padding: .8em 1.3em; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 2px solid var(--ink); }
.cta.primary { background: var(--ink); color: var(--paper); }
.cta.primary:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.cta.ghost:hover { background: var(--concrete); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Étiquette d'entrepôt : l'écran de l'app, simplifié */
.tag {
  background: var(--panel);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 18px 20px 20px;
  box-shadow: 8px 8px 0 var(--orange);
  font-family: "Barlow Condensed", sans-serif;
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
}
.tag .status { display: flex; justify-content: space-between; align-items: center; font-size: 1rem; color: var(--ink-soft); border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 12px; }
.tag .status b { color: var(--orange-ink); font-weight: 700; }
.tag .row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
.tag .row:last-of-type { border-bottom: 0; }
.tag .row span:last-child { font-weight: 700; }
.tag .queue { margin-top: 14px; font-size: 1rem; color: var(--green); font-weight: 600; }
.tag .queue i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--green); margin-right: 8px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Bandeau de faits */
.facts { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); padding: 18px 0; display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.facts div { border-left: 3px solid var(--orange); padding-left: 12px; }
.facts strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
.facts small { color: var(--ink-soft); font-size: .95rem; }

/* Sections */
section { padding: 56px 0 8px; }
.split { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.split h2 { max-width: 14ch; }
.why p { font-size: 1.1rem; }
.deadline { background: var(--concrete); border-radius: var(--radius); padding: 18px 20px; border-left: 6px solid var(--orange); max-width: 60ch; }
.deadline strong { font-family: "Barlow Condensed", sans-serif; font-size: 1.5rem; display: block; }

/* Fonctions : liste en deux colonnes, pas de cartes */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { padding: 16px 0; border-top: 1px solid var(--line); }
.features li strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.35rem; font-weight: 700; margin-bottom: 2px; }
.features li p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Feuille de route : une vraie séquence, donc une frise */
.road { list-style: none; padding: 0; margin: 8px 0 0; position: relative; }
.road::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.road li { position: relative; padding: 0 0 22px 34px; }
.road li::before { content: ""; position: absolute; left: 3px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.road li.now::before { background: var(--orange); border-color: var(--orange); }
.road li strong { display: block; font-family: "Barlow Condensed", sans-serif; font-size: 1.3rem; }
.road li p { margin: 0; color: var(--ink-soft); font-size: 1rem; }

/* Mot du fondateur */
.founder { background: var(--ink); color: var(--paper); border-radius: 10px; padding: 32px 28px; margin-top: 40px; }
.founder h2 { color: var(--paper); }
.founder p { color: #cfd6d0; max-width: 60ch; }
.founder .sign { color: var(--orange); font-family: "Barlow Condensed", sans-serif; font-size: 1.2rem; margin: 0; }

/* Appel final */
.final { text-align: left; padding: 64px 0 24px; }
.final h2 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 18ch; }
.final p { color: var(--ink-soft); font-size: 1.1rem; }

footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 24px 0 48px; color: var(--ink-soft); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px 28px; }
footer a { color: var(--ink); }

/* Logo SVG du kit de marque dans l'en-tête */
.brand img { height: 40px; width: auto; display: block; }
/* Captures d'écran : un cadre de fenêtre, l'image en entier */
.shot { margin: 0; border: 2px solid var(--ink); border-radius: 10px; overflow: hidden; background: var(--panel); box-shadow: 10px 10px 0 var(--orange); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { padding: 10px 14px; font-size: .95rem; color: var(--ink-soft); background: var(--panel); border-top: 1px solid var(--line); }
.hero .shot { max-width: 560px; margin: 0 auto; }
.gallery { display: grid; gap: 24px; grid-template-columns: 1fr; margin-top: 12px; }
@media (min-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; align-items: start; max-width: 820px; } }
.gallery .shot { box-shadow: none; }
.hero h1 { max-width: 14ch; }
