/* Pages d'information (mentions légales, confidentialité) : charte OSEF Industries v1.0 */
:root {
  --nuit: #0B0F19; --surface: #141924; --bordure: #1E2A3A; --ardoise: #94A3B8;
  --jaune: #EAB543; --lueur: #F5D98A; --blanc: #FFFFFF;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--nuit); color-scheme: dark; scrollbar-width: thin; scrollbar-color: rgba(148, 163, 184, .38) transparent; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, #141d31 0%, var(--nuit) 70%);
  color: #c3cad6; font-family: "IBM Plex Sans", system-ui, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
a { color: var(--blanc); text-decoration: underline; text-decoration-color: rgba(234, 181, 67, .6); text-underline-offset: 3px; }
a:hover, a:focus-visible { color: var(--jaune); }

.entete {
  height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, calc((100vw - var(--colonne, 1160px)) / 2)); font-size: 13px;
}
.entete img { height: 44px; width: auto; display: block; }
.entete .retour { color: rgba(148, 163, 184, .85); text-decoration: none; font-weight: 600; }
.entete .retour:hover, .entete .retour:focus-visible { color: var(--jaune); }

main { flex: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 56px 16px 72px; }
.sur { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--jaune); margin-bottom: 14px; }
.sur::before { content: "◆ "; font-size: 10px; vertical-align: 1px; }
h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; color: var(--blanc); }
.chapo { margin-top: 18px; font-size: 17px; line-height: 1.6; font-weight: 600; }
.maj { margin-top: 10px; font-size: 13px; color: #5d6878; font-weight: 600; }

section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--bordure); scroll-margin-top: 24px; }
h2 { font-size: 20px; font-weight: 800; color: var(--blanc); letter-spacing: -.01em; }
section p, section li { margin-top: 12px; font-size: 15.5px; line-height: 1.65; font-weight: 600; }
section ul { list-style: none; }
section li { padding-left: 18px; position: relative; }
section li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--jaune); }
dl { margin-top: 14px; display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 10px 20px; font-size: 15.5px; line-height: 1.55; font-weight: 600; }
dt { color: var(--ardoise); }
dd { color: var(--blanc); }
.source { margin-top: 14px; font-size: 13px; color: #5d6878; }
/* Information encore à fournir : visible tant que la page n'est pas complète */
.a-completer {
  display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--lueur); background: rgba(234, 181, 67, .08); border: 1px dashed rgba(234, 181, 67, .55);
}

/* Pied de page commun au site */
.pied {
  position: relative; padding: 18px 16px 22px; color: #4b5668;
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.pied::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .22) 22%, rgba(234, 181, 67, .45) 50%, rgba(148, 163, 184, .22) 78%, transparent);
}
.pied .wrap { max-width: var(--colonne, 1160px); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.pied nav { display: flex; flex-wrap: wrap; align-items: center; }
.pied nav a { color: #7a8597; text-decoration: none; }
.pied nav a + a::before { content: ""; display: inline-block; width: 3px; height: 3px; margin: 0 12px; border-radius: 50%; background: #3a4658; vertical-align: middle; }
.pied nav a:hover, .pied nav a:focus-visible { color: var(--jaune); }
.pied nav a[aria-current="page"] { color: var(--blanc); }

@media (max-width: 560px) {
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
  .pied nav { gap: 4px 18px; }
  .pied nav a + a::before { display: none; }
}

/* Section visée par un lien (#cookies) : elle s'éclaire un instant, même si la page ne peut plus défiler jusqu'à elle */
section:target, section.reperee { animation: reperee 2.8s ease-out; border-radius: 18px; }
@keyframes reperee {
  0%, 35% { background: rgba(234, 181, 67, .09); box-shadow: 0 0 0 18px rgba(234, 181, 67, .09); }
  100% { background: rgba(234, 181, 67, 0); box-shadow: 0 0 0 18px rgba(234, 181, 67, 0); }
}
@media (prefers-reduced-motion: reduce) { section:target, section.reperee { animation: none; } }
