/* ============================================================
   Losio — shell partagé pour les pages secondaires
   (tokens + base + header + footer + boutons + prose)
   Repris à l'identique de « Landing page Losio.html »
   ============================================================ */
:root {
  --sidebar-top: #1f2a3d; --sidebar-bottom: #0d1521;
  --gold: #d4b15f;
  --bg: #eceefa; --card: #ffffff;
  --ink: #1d2a3c; --ink-soft: #56657b; --muted: #94a2b6;
  --line: #eef1f6; --line-soft: #f3f5f9;
  --teal: #15bd9a; --teal-deep: #0fa384; --teal-soft: #d6f6ee;
  --coral: #f06b73; --coral-deep: #e0454f; --coral-soft: #fde6e7;
  --blue: #4a82f5; --blue-deep: #3a6fd8; --blue-soft: #eef4ff;
  --amber: #e7a33a; --amber-deep: #cf8c22; --amber-soft: #fdf2dd;
  --slate-soft: #eef1f6;
  --shadow-card: 0 1px 2px rgba(29,42,60,.04), 0 12px 30px -16px rgba(29,42,60,.18);
  --shadow-pop: 0 18px 50px -22px rgba(29,42,60,.5);
  --radius: 18px;
  --container: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; line-height: 1.5; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 32px; width: 100%; }
.mono { font-family: 'JetBrains Mono', monospace; font-variant-numeric: tabular-nums; }

/* ===== HEADER ===== */
header { position: sticky; top: 0; z-index: 50; background: rgba(236,238,250,.82); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
header.scrolled { border-bottom-color: #dde1ee; background: rgba(236,238,250,.92); }
.nav { display: flex; align-items: center; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(170deg, var(--sidebar-top), var(--sidebar-bottom)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.brand-name { line-height: 1.02; }
.brand-name strong { display: block; font-size: 20px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); }
.brand-name span { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 4px; margin: 0 auto; }
.nav-links a { padding: 9px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: background .18s, color .18s; }
.nav-links a:hover, .nav-links a.active { background: rgba(31,42,61,.06); color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 24px; border-radius: 13px; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid transparent; transition: transform .14s, box-shadow .2s, background .18s, border-color .18s, color .18s; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(74,130,245,.7); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(74,130,245,.75); }
.btn-ghost { background: #fff; color: var(--ink); border-color: #dfe3ee; }
.btn-ghost:hover { border-color: #c4cce0; transform: translateY(-2px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.header-login { font-size: 14.5px; font-weight: 700; color: var(--ink-soft); padding: 9px 12px; }
.header-login:hover { color: var(--ink); }

/* ===== PAGE HERO (bandeau de titre) ===== */
main { flex: 1 0 auto; }
.page-hero { padding: 56px 0 18px; }
.page-hero .crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.page-hero .crumbs a:hover { color: var(--ink-soft); }
.page-hero .crumbs svg { width: 15px; height: 15px; opacity: .6; }
.page-hero .kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.page-hero h1 { font-size: 46px; line-height: 1.06; letter-spacing: -1.3px; font-weight: 800; color: var(--ink); text-wrap: balance; }
.page-hero .lead { margin-top: 18px; font-size: 18.5px; line-height: 1.6; color: var(--ink-soft); font-weight: 500; max-width: 640px; }

/* ===== CARD / SURFACES ===== */
.surface { background: var(--card); border: 1px solid #f0f2f8; border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* ===== PROSE (pages légales) ===== */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; font-weight: 800; letter-spacing: -.4px; color: var(--ink); margin: 38px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 16px; font-weight: 800; color: var(--ink); margin: 24px 0 8px; }
.prose p { font-size: 15.5px; line-height: 1.7; color: var(--ink-soft); font-weight: 500; margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); font-weight: 500; }
.prose ul li::before { content: ''; position: absolute; left: 6px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.prose a.inline { color: var(--blue-deep); font-weight: 700; }
.prose a.inline:hover { text-decoration: underline; }
.prose b, .prose strong { color: var(--ink); font-weight: 700; }
.legal-meta { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-top: 6px; }

/* ===== FOOTER ===== */
footer { flex-shrink: 0; background: linear-gradient(178deg, var(--sidebar-top), var(--sidebar-bottom)); color: #b3bfd2; padding: 60px 0 34px; margin-top: 80px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .brand-name strong { color: #fff; }
.foot-brand p { margin-top: 18px; font-size: 14px; line-height: 1.6; max-width: 280px; }
.foot-col h5 { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #6f7d93; margin-bottom: 16px; }
.foot-col a { display: block; font-size: 14px; font-weight: 600; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; font-size: 13px; gap: 16px; flex-wrap: wrap; }
.foot-bottom .made { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .made svg { width: 15px; height: 15px; color: var(--coral); }

/* ===== MOBILE ===== */
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid #dfe3ee; background: #fff; color: var(--ink); place-items: center; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-links, .header-login { display: none; }
  .menu-btn { display: grid; }
  .nav-cta .btn:not(.menu-btn) { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .page-hero { padding: 36px 0 8px; }
  .page-hero h1 { font-size: 34px; letter-spacing: -1px; }
  .page-hero .lead { font-size: 16.5px; }
  .foot-grid { grid-template-columns: 1fr; }
}

/* ===== MENU MOBILE (câblé côté app) ===== */
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 20px 20px; background: rgba(236,238,250,.98); backdrop-filter: blur(14px); border-bottom: 1px solid #dde1ee; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 12px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--ink); }
.mobile-menu a:hover { background: rgba(31,42,61,.06); }
.mobile-menu .mm-login { color: var(--ink-soft); border-top: 1px solid #dde1ee; margin-top: 6px; padding-top: 16px; border-radius: 0; }
.mobile-menu .mm-cta { justify-content: center; margin-top: 8px; color: #fff; }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }
