/* ══ Pages légales (mentions légales, confidentialité) — charte graphique du site ══ */

/* ── POLICE (repli hors appareils Apple ; même fichier que celui intégré dans index.html) ── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 900; font-display: swap; src: url('../fonts/inter.woff2') format('woff2'); }

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

:root {
  --blue: #2997ff;
  --blue-dark: #66b5ff;
  --text: #f5f5f7;
  --muted: #86868b;
  --white: #000000;
  --bg: #0b0b0c;
  --surface: #1d1d1f;
  --border: #424245;
  --radius: 18px;
  --radius-lg: 28px;
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html { scroll-behavior: smooth; color-scheme: dark; background: #000; }
body {
  font-family: var(--font); color: var(--text); background: var(--white);
  font-size: 17px; line-height: 1.53; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── TOPBAR ── */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px max(22px, calc((100% - 1024px) / 2)); background: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-mark svg { width: 38px; height: 38px; }
.logo-wordmark { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.logo-word-full { font-size: 1.2rem; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.logo-word-full em { font-style: normal; }
.logo-word-sub { font-size: .6rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.topbar-right { text-align: right; }
.topbar-right .label { font-size: .7rem; color: var(--muted); margin-bottom: 1px; }
.topbar-right .phone { font-size: .95rem; font-weight: 600; color: var(--text); }

/* ── NAV (barre translucide collante) ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: center; align-items: center; gap: 4px;
  min-height: 52px; padding: 0 22px;
  background: rgba(22,22,23,.8);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
nav a { color: var(--text); font-size: .76rem; padding: 8px 14px; opacity: .8; transition: opacity .2s; }
nav a:hover { opacity: 1; text-decoration: none; }
nav a.active { opacity: 1; font-weight: 600; }

/* ── BANDEAU TITRE ── */
.page-hero { background: var(--white); padding: 90px 22px 40px; text-align: center; }
.page-hero-inner { max-width: 820px; margin: 0 auto; }
.page-hero .badge { display: block; color: var(--muted); font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; letter-spacing: -.01em; }
.page-hero h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 700; line-height: 1.06; letter-spacing: -.035em; margin-bottom: 16px; }
.page-hero h1 span { color: var(--muted); }
.page-hero p { font-size: 1.25rem; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.4; }

/* ── CONTENU ── */
main { max-width: 820px; margin: 0 auto; padding: 30px 22px 100px; }
main h2 {
  font-size: 1.6rem; font-weight: 700; color: var(--text); letter-spacing: -.03em; line-height: 1.15;
  margin: 56px 0 16px; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; align-items: baseline; gap: 12px;
}
main > p:first-child + h2, main h2:first-child { border-top: none; }
main h2 .num { color: var(--muted); font-weight: 600; font-size: 1.1rem; min-width: 1.4em; }
main h3 { font-size: 1.12rem; font-weight: 600; color: var(--text); margin: 26px 0 10px; letter-spacing: -.02em; }
main p, main li { font-size: 1rem; color: #c7c7cc; }
main p { margin-bottom: 14px; }
main ul { margin: 0 0 18px 0; list-style: none; }
main ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
main ul li::before { content: ''; position: absolute; left: 4px; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
main strong { color: var(--text); font-weight: 600; }

/* Tableaux */
.table-wrap { overflow-x: auto; margin: 16px 0 26px; background: var(--surface); border-radius: var(--radius); }
table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 14px 20px; text-align: left; font-size: .92rem; border-bottom: 1px solid #2c2c2e; vertical-align: top; }
table.data tr:last-child td, table.data tr:last-child th { border-bottom: none; }
table.data thead th { color: var(--text); font-weight: 600; font-size: .85rem; }
table.data.kv th { width: 34%; color: var(--muted); font-weight: 400; }
table.data td { color: var(--text); }

.highlight { background: var(--surface); padding: 20px 24px; border-radius: var(--radius); margin: 22px 0; }
.highlight p { margin: 0; }
.updated { margin-top: 56px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .82rem; color: var(--muted); }

/* ── FOOTER ── */
footer { background: var(--bg); color: var(--muted); padding: 36px max(22px, calc((100% - 1024px) / 2)) 22px; font-size: .75rem; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 26px; }
.footer-logo { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.footer-logo .word { font-size: 1.05rem; font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.footer-logo .word em { font-style: normal; }
.footer-logo .sub { font-size: .58rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.footer-brand p { font-size: .78rem; line-height: 1.5; margin-top: 12px; }
footer h4 { color: var(--text); font-size: .75rem; font-weight: 600; margin-bottom: 10px; }
footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
footer ul li a { font-size: .75rem; color: var(--muted); }
footer ul li a:hover, footer ul li a[aria-current] { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: .72rem; color: #86868b;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .topbar-right .label { display: none; }
  .topbar-right .phone { white-space: nowrap; }
  nav { overflow-x: auto; flex-wrap: nowrap; justify-content: flex-start; scrollbar-width: none; padding: 0 12px; }
  nav::-webkit-scrollbar { display: none; }
  nav a { white-space: nowrap; flex-shrink: 0; padding: 8px 10px; }
  .page-hero { padding: 64px 20px 24px; }
  .page-hero h1 { font-size: 2.3rem; overflow-wrap: break-word; }
  .page-hero p { font-size: 1.1rem; }
  main { padding: 20px 20px 70px; }
  main h2 { font-size: 1.35rem; margin-top: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 540px) {
  .logo-word-sub { display: none; }
  .logo-mark, .logo-mark svg { width: 32px; height: 32px; }
  .topbar { padding: 8px 16px; }
}
