/**
 * Pages légales / simplifiées (a-propos, cgu, plan-site, etc.)
 * Header fixe aligné sur le comportement du thème principal.
 */
:root {
  --iac-bg: #02050a;
  --iac-header-offset: 88px;
}

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

body {
  margin: 0;
  color: #fff;
  background: var(--iac-bg);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  padding-top: var(--iac-header-offset);
}

body > header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
  background: rgba(2, 5, 10, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body > header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.nav-links a:hover,
.nav-links a.active {
  color: #005486;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 20px;
}

main .content {
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

footer {
  margin-top: 48px;
  padding: 32px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

footer a {
  color: #fff;
}

@media (max-width: 767px) {
  :root {
    --iac-header-offset: 100px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
  }
}
