/* MultiCam — site vitrine (multicam.tripinlab.com)
   Thème PRO line-art sobre, aligné sur l'app (public/css/shared.css). */

:root {
  --bg: #08090c;
  --bg-soft: #0e1014;
  --bg-card: rgba(18, 20, 27, 0.72);
  --bg-card-hover: rgba(26, 29, 39, 0.85);
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.16);
  --primary: #00e676;
  --primary-glow: rgba(0, 230, 118, 0.22);
  --secondary: #00b0ff;
  --secondary-glow: rgba(0, 176, 255, 0.22);
  --text: #f5f6f9;
  --text-muted: #8a8f9d;
  --logo-bg: var(--bg);
  --radius: 16px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(0, 176, 255, 0.10), transparent 60%),
    radial-gradient(900px 500px at 90% 10%, rgba(0, 230, 118, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Top nav ---------- */
header.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(8, 9, 12, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: 0.01em; }
.brand svg { width: 30px; height: 30px; color: var(--text); }
.brand .sub { color: var(--text-muted); font-weight: 400; font-size: 0.82rem; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; font-size: 0.92rem; }
.nav-links a { color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--secondary);
  color: var(--secondary) !important;
  padding: 0.45rem 0.95rem;
  border-radius: 10px;
}
.nav-cta:hover { background: var(--secondary-glow); }
@media (max-width: 720px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 5.5rem 0 3.5rem; }
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 35%, var(--secondary) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  color: var(--text-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 640px;
  margin: 1.3rem auto 0;
  font-weight: 300;
}
.hero-cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #04120a; box-shadow: 0 6px 22px var(--primary-glow); }
.btn-secondary { border-color: var(--border-hover); color: var(--text); background: var(--bg-card); }
.btn-secondary:hover { background: var(--bg-card-hover); }
.btn small { display: block; font-weight: 400; font-size: 0.72rem; opacity: 0.75; }
.btn .platform { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }

/* ---------- Device mock / preview strip ---------- */
.preview-strip {
  margin: 1rem auto 0;
  max-width: 900px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  padding: 1.2rem;
}
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}
.preview-tile {
  aspect-ratio: 9/16;
  border-radius: 10px;
  background: linear-gradient(160deg, #10131a, #0a0c10);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.preview-tile::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60px 60px at 50% 42%, rgba(0,176,255,0.18), transparent 70%);
}
.preview-tile .rec {
  position: absolute; top: 8px; left: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #ff4d4f; box-shadow: 0 0 8px #ff4d4f;
}
.preview-tile .label {
  position: absolute; bottom: 8px; left: 8px; right: 8px;
  font-size: 0.62rem; color: var(--text-muted);
  display: flex; justify-content: space-between;
}
@media (max-width: 640px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
section { padding: 4rem 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 2.6rem; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); margin-top: 0.7rem; font-weight: 300; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
@media (max-width: 860px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s, background 0.2s;
}
.card:hover { border-color: var(--border-hover); transform: translateY(-3px); background: var(--bg-card-hover); }
.card .ico {
  width: 42px; height: 42px; border-radius: 11px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--secondary); margin-bottom: 1rem;
}
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.card p { color: var(--text-muted); font-size: 0.94rem; font-weight: 300; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 1.6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--secondary); color: var(--secondary);
  font-weight: 700; margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 0.3rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; }

/* ---------- Download ---------- */
.download-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 720px) { .download-grid { grid-template-columns: 1fr; } }
.dl-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; background: var(--bg-card); text-align: center;
}
.dl-card .os { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.dl-card h3 { font-size: 1.4rem; margin: 0.4rem 0 0.3rem; }
.dl-card .role { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; margin-bottom: 1.3rem; }
.dl-card .btn { width: 100%; justify-content: center; }
.badge-soon { font-size: 0.7rem; color: var(--secondary); border: 1px solid var(--border); border-radius: 999px; padding: 0.2rem 0.6rem; }

.note {
  margin-top: 1.6rem; text-align: center; color: var(--text-muted);
  font-size: 0.86rem; font-weight: 300;
}

/* ---------- Compatibility ---------- */
.compat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 820px) { .compat-grid { grid-template-columns: 1fr; } }
.compat-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--bg-card); padding: 1.6rem;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.compat-card .top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; }
.compat-card h3 { font-size: 1.1rem; }
.compat-card .plat { font-size: 0.74rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-muted); }
.compat-card p { color: var(--text-muted); font-size: 0.92rem; font-weight: 300; }
.pill { font-size: 0.68rem; border-radius: 999px; padding: 0.22rem 0.6rem; border: 1px solid var(--border); white-space: nowrap; }
.pill.now { color: var(--primary); border-color: rgba(0,230,118,0.35); }
.pill.soon { color: var(--secondary); border-color: rgba(0,176,255,0.35); }
.pill.web { color: var(--text-muted); }

/* ---------- Use cases ---------- */
.usecases { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center; max-width: 760px; margin: 0 auto; }
.chip {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.55rem 1.05rem; color: var(--text-muted);
  font-size: 0.92rem; font-weight: 300; background: var(--bg-card);
}

/* ---------- Callout ---------- */
.callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: 12px;
  background: rgba(0, 176, 255, 0.04);
  padding: 1.2rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 300;
  max-width: 760px;
  margin: 0 auto;
}
.callout strong { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
footer.site-foot {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.foot-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.foot-links a:hover { color: var(--text); }

/* ---------- Legal pages ---------- */
.legal { padding: 3.5rem 0 2rem; max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 0.4rem; letter-spacing: -0.01em; }
.legal .updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal p, .legal li { color: #cbd0da; font-weight: 300; }
.legal ul { margin: 0.5rem 0 0.5rem 1.2rem; }
.legal a { color: var(--secondary); }
.legal a:hover { text-decoration: underline; }
