:root {
  --black: #04050A;
  --dark: #080C14;
  --panel: #0D1120;
  --card: #121828;
  --border: rgba(255,255,255,0.06);
  --gold: #D4AF6A;
  --gold2: #F0CB88;
  --gold3: #A8853A;
  --white: #F0F2F8;
  --silver: #8892A4;
  --fs-body: "Plus Jakarta Sans", sans-serif;
  --fs-head: "Outfit", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; color-scheme: dark; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--fs-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* Même traitement « vitré » que .topbar de l'accueil (dégradé +
   blur), en position sticky : ici la barre n'est jamais superposée
   à un hero, donc pas besoin du variant .is-scrolled au scroll. */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  background: linear-gradient(165deg,
      rgba(13, 17, 32, 0.88) 0%,
      rgba(4, 5, 10, 0.8) 45%,
      rgba(10, 14, 26, 0.86) 100%);
  backdrop-filter: blur(22px) saturate(1.45);
  -webkit-backdrop-filter: blur(22px) saturate(1.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 36px rgba(0, 0, 0, 0.35);
  position: sticky;
  top: 0;
  z-index: 10;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--fs-head);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: var(--white);
}
.logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.logo span { color: var(--gold); }

/* Reprise exacte de .btn-call-top de l'accueil (bouton jaune
   « néo-brutaliste »), pour que l'appel se reconnaisse d'une page
   à l'autre. Le padding + la bordure de 3px suffisent à dépasser
   la cible tactile de 48px, sans les astuces de marge négative
   qu'imposait l'ancien lien texte seul. */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fbca1f;
  color: #000000;
  font-family: inherit;
  padding: 0.5em 1.2em;
  font-weight: 900;
  font-size: 15px;
  border: 3px solid black;
  border-radius: 0.4em;
  box-shadow: 0.12em 0.12em 0 #000000;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: 0.02em;
}
.btn-call:hover {
  transform: translate(-0.05em, -0.05em);
  box-shadow: 0.18em 0.18em 0 #000000;
}
.btn-call:active {
  transform: translate(0.05em, 0.05em);
  box-shadow: 0.05em 0.05em 0 #000000;
}
.btn-call svg { width: 18px; height: 18px; color: #000000; flex-shrink: 0; }

.page {
  width: min(760px, calc(100% - 48px));
  margin: 56px auto 80px;
  flex: 1;
}
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}
.back img { flex-shrink: 0; }
.back:hover { text-decoration: underline; }
h1 {
  font-family: var(--fs-head);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 20px 0 28px;
  line-height: 1.15;
}
h2 {
  font-family: var(--fs-head);
  font-size: 1.15rem;
  margin: 32px 0 10px;
  color: var(--white);
}
/* Sous-titre d'article, sous h2 : réservé aux documents longs
   (CGV/CGU) qui ont besoin d'un troisième niveau de titre. */
h3 {
  font-family: var(--fs-head);
  font-size: 0.98rem;
  font-weight: 700;
  margin: 22px 0 8px;
  color: var(--gold2);
}
/* Sépare visuellement les grandes parties d'un document long
   (ex. CGV vs CGU) sans dépendre d'un h1 supplémentaire. */
.prose h2.prose-part {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 1.4rem;
}
.prose {
  color: rgba(240, 242, 248, 0.78);
  font-size: 0.98rem;
}
.prose .toc {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 22px 0 8px;
  columns: 2;
  column-gap: 28px;
}
.prose .toc li { margin: 4px 0; break-inside: avoid; font-size: 0.9rem; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }
.prose .maj { color: var(--gold); font-weight: 700; }
@media (max-width: 640px) {
  .prose .toc { columns: 1; }
}
.prose p { margin-bottom: 14px; }
.prose ul { margin: 8px 0 16px 20px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--gold); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--white); }
.prose .nowrap { white-space: nowrap; }

/* Tableau récapitulatif des traitements (politique de confidentialité).
   Quatre colonnes de texte ne tiennent pas sur un écran de téléphone :
   le tableau défile dans son propre cadre plutôt que d'élargir la page. */
.prose .tableau {
  overflow-x: auto;
  margin: 12px 0 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  -webkit-overflow-scrolling: touch;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  min-width: 620px;
  font-size: 0.9rem;
}
.prose th,
.prose td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.prose thead th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
  font-family: var(--fs-head);
  font-weight: 700;
  white-space: nowrap;
}
.prose tbody tr:last-child td { border-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 32px;
  color: var(--silver);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Les trois liens légaux figurent déjà dans le pied de page de
   l'accueil. Les répéter ici les rend atteignables depuis n'importe
   quelle page d'atterrissage — ce que vérifie la validation des
   annonces Google Ads, et ce qu'attend un visiteur qui cherche à
   savoir à qui il a affaire. */
.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.site-footer .footer-legal a { color: var(--silver); }
.site-footer .footer-legal a:hover { color: var(--gold); text-decoration: underline; }
.site-footer a { color: var(--gold); }

@media (max-width: 640px) {
  .topbar { padding: 14px 18px; }
  .page { width: calc(100% - 36px); margin: 36px auto 56px; }
}

/* Même palier que .btn-call-top de l'accueil : le numéro reste
   affiché, seuls le padding et la bordure se resserrent. */
@media (max-width: 400px) {
  .btn-call {
    padding: 0.45em 0.7em;
    font-size: 13px;
    gap: 6px;
    border-width: 2px;
  }
  .btn-call svg { width: 15px; height: 15px; }
  .logo { font-size: 15px; gap: 7px; }
  .logo img { width: 26px; height: 26px; }
}
