/* ═══════════════════════════════════════════
   Blink Web — styles communs (accueil, studio)
   Les pages /creation-de-sites/ et /neva/ gardent leurs propres styles.
════════════════════════════════════════════ */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
  --blue: #2563eb;
  --blue-d: #1d4ed8;
  --purple: #7c3aed;
  --studio: #3b82f6;
  --radius: 20px;
  --max: 1120px;
  --ease: cubic-bezier(.16,1,.3,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .jakarta { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -.03em; line-height: 1.12; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before { content: ''; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(2rem, 4.4vw, 2.9rem); font-weight: 900; margin: 14px 0 16px; }
.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: var(--muted); max-width: 620px; }

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 68px; display: flex; align-items: center;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226,232,240,.7);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: -.02em; }
.nav-brand img { height: 34px; width: auto; }
.nav-left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.nav-brand small { font-weight: 600; font-size: .8rem; color: var(--studio); letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  text-decoration: none; font-size: .86rem; font-weight: 500; color: var(--ink-2);
  padding: 8px 14px; border-radius: 10px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: #eef2f7; color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--blue); font-weight: 650; }
.nav-links .nav-cta { background: var(--ink); color: #fff; font-weight: 600; margin-left: 8px; }
.nav-links .nav-cta:hover { background: var(--blue); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; width: 42px; height: 42px; border-radius: 10px; cursor: pointer; color: inherit; }
.nav-toggle svg { margin: auto; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .25s var(--ease);
  }
  .nav.open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; }
  .nav-links .nav-cta { margin: 8px 0 0; text-align: center; }
  /* Accueil et Studio : le sélecteur de pôles suffit, pas de menu */
  .nav-simple .nav-toggle, .nav-simple .nav-links { display: none; }
}
@media (max-width: 560px) {
  .nav-left { gap: 10px; }
  .nav-brand span { display: none; }
}

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 13px; font-weight: 650; font-size: .94rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #3b82f6); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { box-shadow: 0 12px 28px rgba(37,99,235,.36); }
.btn-ghost { background: #fff; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: #cbd5e1; color: var(--ink); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }

/* ── Badges ── */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px; font-size: .72rem; font-weight: 650;
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-live { background: #ecfdf5; border-color: #a7f3d0; color: #047857; }
.pill-soon { background: #fffbeb; border-color: #fde68a; color: #b45309; }

/* ── Apparition au défilement ── */
.sr { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sr.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sr { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ── Pied de page ── */
.footer { background: var(--ink); color: #94a3b8; padding: 64px 0 36px; font-size: .86rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; margin-bottom: 44px; }
.footer-brand { max-width: 320px; }
.footer-brand .nav-brand { color: #fff; margin-bottom: 14px; }
.footer-brand .nav-brand img { filter: brightness(0) invert(1); opacity: .9; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 56px; }
.footer-cols h4 { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: #e2e8f0; margin-bottom: 14px; font-family: 'Inter', sans-serif; }
.footer-cols a { display: block; text-decoration: none; color: #94a3b8; margin-bottom: 9px; transition: color .2s; }
.footer-cols a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .76rem; color: #64748b; }

/* ═══════════ Thème sombre : pages Studio ═══════════ */
.studio {
  --bg: #0b0d12;
  --card: #12151d;
  --ink: #f1f5f9;
  --ink-2: #cbd5e1;
  --muted: #8b95a7;
  --line: rgba(255,255,255,.09);
  --accent: #60a5fa;
  background: var(--bg);
  color: var(--ink);
}
.studio .nav { background: rgba(11,13,18,.78); border-bottom-color: var(--line); }
.studio .nav-brand img { filter: brightness(0) invert(1); }
.studio .nav-brand small { color: var(--accent); }
.studio .nav-links a:hover { background: rgba(255,255,255,.06); }
.studio .nav-links a[aria-current="page"] { color: var(--accent); }
.studio .nav-links .nav-cta { background: #fff; color: #0b0d12; }
.studio .nav-links .nav-cta:hover { background: var(--accent); }
@media (max-width: 820px) { .studio .nav-links { background: var(--bg); } }
.studio .eyebrow { color: var(--accent); }
.studio .btn-ghost { background: transparent; color: var(--ink); border-color: rgba(255,255,255,.18); }
.studio .btn-ghost:hover { border-color: rgba(255,255,255,.4); }
.studio .footer { background: #07080c; border-top: 1px solid var(--line); }

/* Galerie de captures, défilement horizontal */
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 24px 18px; margin: 0 -24px; scrollbar-width: thin; }
.shots img { scroll-snap-align: start; border-radius: 14px; flex: 0 0 auto; border: 1px solid var(--line); background: #000; }

/* Boutons de magasin */
.store {
  display: inline-flex; align-items: center; gap: 11px; padding: 10px 18px 10px 14px; border-radius: 12px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.22);
  transition: transform .2s var(--ease), border-color .2s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.store small { display: block; font-size: .64rem; opacity: .75; line-height: 1.1; }
.store b { display: block; font-size: 1rem; font-weight: 600; line-height: 1.2; }
