/* Page vitrine de Nino : design de la suite PostMelo (papier chaud, Geist, Instrument Serif),
   accent bleu-vert pétrole de Nino. Mêmes jetons que studio/apps/web/src/styles.css. */
@font-face { font-family: "Geist"; src: url('fonts/geist-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geist"; src: url('fonts/geist-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; src: url('fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('fonts/instrument-serif-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url('fonts/instrument-serif-latin-ext-400-normal.woff2') format('woff2'); font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+A720-A7FF; }

:root {
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --font-display: "Instrument Serif", Georgia, serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  color-scheme: light;
  --bg: #efede8;
  --surface: #fbfaf8;
  --surface-2: #f4f2ee;
  --line: rgba(23, 22, 20, 0.09);
  --line-strong: rgba(23, 22, 20, 0.16);
  --ink: #181715;
  --ink-2: #57544e;
  --ink-3: #7c7870;
  --on-accent: #ffffff;
  --accent: #0b7480;
  --accent-text: #075a63;
  --accent-soft: rgba(11, 116, 128, 0.12);
  --ok-text: #156b3b;
  --ok-soft: rgba(31, 157, 85, 0.12);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 1px 2px rgba(20, 18, 14, 0.06), 0 8px 24px -12px rgba(20, 18, 14, 0.18);
  --shot-shadow: 0 30px 80px -30px rgba(20, 18, 14, 0.35), 0 2px 6px rgba(20, 18, 14, 0.06);
  --grain-opacity: 0.06;
  --grain-blend: multiply;
  --grain-filter: none;
  --brand-tile: linear-gradient(160deg, #2b2a27, #0f0f0e);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f0f0e; --surface: #1a1a18; --surface-2: #222220;
  --line: rgba(255, 252, 245, 0.07); --line-strong: rgba(255, 252, 245, 0.14);
  --ink: #f3f1ec; --ink-2: #b2aea6; --ink-3: #8a867e; --on-accent: #0c1d1f;
  --accent: #4ec4cd; --accent-text: #8fdde2; --accent-soft: rgba(78, 196, 205, 0.16);
  --ok-text: #a7dcbc; --ok-soft: rgba(76, 196, 127, 0.14);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.6);
  --shot-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 252, 245, 0.06);
  --grain-opacity: 0.07; --grain-blend: screen; --grain-filter: invert(1); --brand-tile: transparent;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) {
    color-scheme: dark;
    --bg: #0f0f0e; --surface: #1a1a18; --surface-2: #222220;
    --line: rgba(255, 252, 245, 0.07); --line-strong: rgba(255, 252, 245, 0.14);
    --ink: #f3f1ec; --ink-2: #b2aea6; --ink-3: #8a867e; --on-accent: #0c1d1f;
    --accent: #4ec4cd; --accent-text: #8fdde2; --accent-soft: rgba(78, 196, 205, 0.16);
    --ok-text: #a7dcbc; --ok-soft: rgba(76, 196, 127, 0.14);
    --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 8px 24px -12px rgba(0, 0, 0, 0.6);
    --shot-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 252, 245, 0.06);
    --grain-opacity: 0.07; --grain-blend: screen; --grain-filter: invert(1); --brand-tile: transparent;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  background-image: radial-gradient(900px 520px at 78% -8%, var(--accent-soft), transparent 70%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: url('images/grain.svg');
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  filter: var(--grain-filter);
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 16px; z-index: 200; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-inner { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-tile { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--brand-tile); }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.brand-suite { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line-strong); border-radius: 999px; padding: 1px 8px; }
.nav { display: none; gap: 4px; margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
@media (min-width: 720px) { .nav { display: flex; } }
.theme { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; color: var(--ink-2); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 11px 5px 9px; cursor: pointer; }
.theme:hover { color: var(--ink); }
.theme svg { width: 15px; height: 15px; }
@media (min-width: 720px) { .theme { margin-left: 8px; } }
.theme .i-light, .theme .i-dark { display: none; }
:root[data-theme="light"] .theme .i-auto, :root[data-theme="dark"] .theme .i-auto { display: none; }
:root[data-theme="light"] .theme .i-light { display: block; }
:root[data-theme="dark"] .theme .i-dark { display: block; }

/* Hero */
.hero { padding-top: 72px; text-align: center; }
.eyebrow { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(44px, 9vw, 88px); line-height: 1; }
h1 em { font-style: italic; color: var(--accent-text); }
h2 { font-size: clamp(34px, 5.4vw, 52px); line-height: 1.05; }
h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.005em; margin: 0; }
.lede { max-width: 620px; margin: 24px auto 0; font-size: 18px; color: var(--ink-2); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.hero-meta { margin: 18px 0 0; font-size: 13px; color: var(--ink-3); }

.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px; font-size: 15px; font-weight: 550; text-decoration: none; color: var(--ink); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow); transition: transform 160ms var(--ease-out), background 160ms; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: transparent; box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }

.shot { margin: 56px 0 0; border-radius: 16px; overflow: hidden; box-shadow: var(--shot-shadow); border: 1px solid var(--line); background: #0f0f0e; }
.shot-dark { display: none; }
:root[data-theme="dark"] .shot-light { display: none; }
:root[data-theme="dark"] .shot-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-theme="dark"]) .shot-light { display: none; }
  :root:not([data-theme="light"]):not([data-theme="dark"]) .shot-dark { display: block; }
}

/* Sections */
.section { padding-top: 112px; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-lede { margin: 16px 0 0; font-size: 17px; color: var(--ink-2); }
.grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 8px 0 0; font-size: 15px; color: var(--ink-2); }
.ico { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 16px; border-radius: 10px; color: var(--accent-text); background: var(--accent-soft); }

.soft { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .soft { grid-template-columns: repeat(3, 1fr); } }
.soft-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.soft-card header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.soft-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; letter-spacing: 0; }
.soft-card p { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.soft-card .soft-tech { margin-top: auto; padding-top: 16px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.soft-card.is-soon { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--line-strong); }
.pill { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: var(--ink-3); background: var(--surface-2); white-space: nowrap; }
.pill-ok { color: var(--ok-text); background: var(--ok-soft); }
.studios { margin-top: 12px; padding: 22px; border-radius: 14px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.studios p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-width: 720px; }

/* Installer */
.install { display: grid; gap: 40px; grid-template-columns: 1fr; padding: 28px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 900px) { .install { grid-template-columns: 1fr 1fr; padding: 44px; gap: 56px; } }
.install .cta { justify-content: flex-start; }
.install-meta { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); font-size: 15px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; color: var(--accent-text); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.steps strong { color: var(--ink); font-weight: 600; }
.note { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); max-width: 820px; }

/* Pied */
.foot { margin-top: 112px; border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; padding-bottom: 40px; font-size: 14px; color: var(--ink-3); }
.foot p { margin: 0; }
.foot strong { color: var(--ink-2); font-weight: 600; }
