@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Satoshi'; src: url('/fonts/satoshi-900.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  --white: #FAF9F7;
  --sky: #CCD9FF;
  --blue: #2A4BEF;
  --blue-hover: #3D5CFF;
  --navy: #0E2A7A;
  --deep: #09173F;
  --ink: #040A1C;
  --line: rgba(204, 217, 255, 0.14);
  --muted: rgba(250, 249, 247, 0.62);
  --radius: 18px;
  --maxw: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink); color: var(--white);
  font-family: 'Satoshi', system-ui, -apple-system, sans-serif; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.logo svg { width: 17px; height: 24px; flex: none; }
.logo span { font-weight: 700; font-size: 1rem; letter-spacing: 0.14em; white-space: nowrap; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 500; font-size: 0.98rem; text-decoration: none; cursor: pointer;
  padding: 14px 24px; border-radius: 100px; border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--sky); }
.btn-light { background: var(--white); color: var(--blue); }
.btn-light:hover { background: #fff; }

/* Libellé type brandbook */
.label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sky); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .25s ease, border-color .25s ease; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(4, 10, 28, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--muted); transition: color .2s ease; }
.nav-links a:hover { color: var(--white); }
.nav .btn { padding: 11px 20px; font-size: 0.92rem; }

/* Pied de page */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--ink); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer-tagline { color: var(--muted); font-size: 0.95rem; margin-top: 14px; max-width: 360px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols .fh { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.footer-cols a { display: block; text-decoration: none; color: var(--muted); font-size: 0.95rem; margin-bottom: 8px; }
.footer-cols a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .logo span { font-size: 0.9rem; letter-spacing: 0.1em; }
}
@media (max-width: 420px) {
  .nav .btn { padding: 10px 14px; font-size: 0.85rem; }
  .logo span { font-size: 0.8rem; letter-spacing: 0.08em; }
}

/* Pied de page : liens et signature */
.footer { overflow: hidden; }
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }
.footer .logo span { line-height: 1; display: block; }
.footer-top .logo { display: flex; }
.footer-cols .fh { line-height: 1; }
.footer-tagline { margin-top: 10px !important; }

/* Typographie : lignes équilibrées, pas de mot isolé */
h1, h2, h3, h4, summary, .label { text-wrap: balance; }
p, li { text-wrap: pretty; }
