/* Polices locales : aucune dépendance à un service de polices tiers. */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('assets/fonts/barlow-condensed-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/dm-sans-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Palette commune à la Garde Nationale de San Andreas. */
:root {
  --ink: #18211e;
  --forest: #233a30;
  --muted: #5c675f;
  --cream: #f1f0e9;
  --paper: #faf9f5;
  --line: #d8dcd3;
  --display: 'Barlow Condensed', Impact, sans-serif;
  --body: 'DM Sans', Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 400 15px/1.8 var(--body);
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #8a673e;
  outline-offset: 5px;
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  padding: 12px 20px;
  z-index: 10;
  background: var(--forest);
  color: white;
}
.skip-link:focus {
  top: 16px;
}

/* En-tête et navigation vers les trois sites. */
.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px max(32px, calc((100vw - 1200px) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand > span {
  font: 700 17px/1.1 var(--display);
  letter-spacing: 1.5px;
}
.brand small {
  display: block;
  font: 400 9px/1.5 var(--body);
  letter-spacing: 2px;
  margin-top: 4px;
}
.network-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
}
.network-nav a {
  padding: 5px 18px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.network-nav a + a {
  border-left: 1px solid var(--line);
}
.network-nav a:last-child {
  padding-right: 0;
}
.network-nav a:hover {
  text-decoration: underline;
}

/* Titre et sommaire. */
.page-heading {
  padding-top: 76px;
  padding-bottom: 58px;
}
.eyebrow,
.section-number {
  margin: 0 0 21px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}
h1 {
  margin: 0 0 25px;
  font: 700 clamp(58px, 7.6vw, 96px)/0.95 var(--display);
  text-transform: uppercase;
  letter-spacing: -1px;
}
h1 em {
  color: #708269;
  font-style: normal;
}
.page-intro {
  max-width: 650px;
  color: var(--muted);
  margin-bottom: 22px;
}
.updated {
  font-size: 11px;
  color: var(--muted);
}
.legal-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 65px;
  align-items: start;
  padding-bottom: 90px;
}
.contents {
  position: sticky;
  top: 30px;
  padding-top: 4px;
}
.contents > p {
  margin: 0 0 19px;
  font: 700 22px var(--display);
  text-transform: uppercase;
}
.contents nav {
  display: grid;
  border-top: 1px solid var(--line);
}
.contents nav a {
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 12px;
}
.contents nav a:hover {
  color: #59734d;
}
.contents nav span {
  color: #778173;
  font-size: 10px;
}
.back-link {
  display: inline-block;
  margin-top: 28px;
  font-size: 11px;
}
.legal-document {
  min-width: 0;
}

/* Contenu juridique et informations de confidentialité. */
.fiction-note {
  padding: 25px 29px;
  border-left: 3px solid #75866c;
  background: #e4e8de;
  margin-bottom: 15px;
}
.fiction-note > strong {
  display: block;
  font: 700 25px var(--display);
  text-transform: uppercase;
}
.fiction-note p {
  margin: 9px 0 0;
  font-size: 13px;
  color: #445346;
}
.legal-section {
  padding: 39px 0 33px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 25px;
}
.section-number {
  font-size: 9px;
  margin-bottom: 13px;
}
h2 {
  margin: 0 0 23px;
  font: 700 38px/1.1 var(--display);
  text-transform: uppercase;
}
h3 {
  margin: 30px 0 12px;
  font: 700 25px/1.2 var(--display);
}
.legal-section p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
}
.legal-section p:last-child {
  margin-bottom: 0;
}
.legal-section a {
  overflow-wrap: anywhere;
}
.facts {
  margin: 23px 0;
  background: var(--paper);
  padding: 5px 22px;
}
.facts > div {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
}
.facts > div + div {
  border-top: 1px solid var(--line);
}
.facts dt {
  font-size: 11px;
  color: var(--muted);
}
.facts dd {
  margin: 0;
  font-size: 13px;
}
.scope {
  margin-top: 23px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  font-size: 12px;
}
.scope summary {
  font-weight: 700;
  cursor: pointer;
}
.scope ul {
  margin-bottom: 0;
  padding-left: 18px;
}
.scope li {
  margin-top: 7px;
  overflow-wrap: anywhere;
}
.host-card {
  background: var(--paper);
  padding: 25px 29px;
  margin-bottom: 23px;
  border: 1px solid var(--line);
}
.host-card > strong {
  font: 700 33px var(--display);
}
.host-card address {
  font-style: normal;
  font-size: 14px;
  margin: 12px 0 18px;
}
.host-card .host-registration {
  font-size: 11px;
  color: var(--muted);
}
.text-link {
  font-size: 12px;
  font-weight: 700;
}
.legal-section .source-note {
  font-size: 11px;
  color: var(--muted);
}
.credit-links {
  display: grid;
  gap: 8px;
  padding-left: 19px;
  font-size: 13px;
  margin: 20px 0 25px;
}
.contact-section {
  border-bottom: 0;
}
.contact-button {
  display: inline-flex;
  gap: 30px;
  align-items: center;
  padding: 14px 22px;
  margin: 0 0 26px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.contact-button:hover {
  background: #3b5143;
}

/* Pied de page et mentions du projet fictif. */
.site-footer {
  background: #17231e;
  color: #e3e8df;
  padding: 43px 0 26px;
}
.footer-top {
  display: flex;
  gap: 35px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 29px;
  margin-bottom: 25px;
  border-bottom: 1px solid #ffffff28;
}
.footer-top nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 11px;
}
.site-footer p {
  font-size: 11px;
  margin: 9px 0;
  line-height: 1.8;
  color: #b4c0b3;
}
.site-footer .copyright {
  padding-top: 18px;
  margin-top: 25px;
  border-top: 1px solid #ffffff28;
}

/* Petits écrans et impression. */
@media (max-width: 1000px) {
  .legal-layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 35px;
  }
  .facts > div {
    grid-template-columns: 135px minmax(0, 1fr);
    gap: 15px;
  }
  .network-nav a {
    padding-inline: 12px;
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 0;
    gap: 16px;
  }
  .network-nav {
    width: 100%;
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding-block: 11px;
    justify-content: center;
  }
  .network-nav a {
    flex: 1;
    padding: 4px 8px;
    text-align: center;
    font-size: 10px;
  }
  .network-nav a:last-child {
    padding-right: 8px;
  }
  .page-heading {
    padding-top: 46px;
    padding-bottom: 35px;
  }
  h1 {
    font-size: clamp(44px, 9vw, 67px);
  }
  .page-intro {
    font-size: 14px;
  }
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-bottom: 45px;
  }
  .contents {
    position: static;
  }
  .contents nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 23px;
  }
  .contents nav a {
    font-size: 11px;
    gap: 9px;
  }
  .back-link {
    margin-top: 17px;
  }
  .fiction-note {
    padding: 23px;
  }
  .legal-section {
    padding-block: 30px;
  }
  h2 {
    font-size: 34px;
  }
  .facts > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .host-card {
    padding: 23px;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  body {
    color: black;
    background: white;
  }
  .site-header,
  .contents,
  .skip-link,
  .contact-button,
  .footer-top {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .page-heading {
    padding-top: 0;
    padding-bottom: 20px;
  }
  h1 {
    font-size: 45px;
  }
  .legal-layout {
    display: block;
  }
  .legal-section {
    break-inside: avoid-page;
  }
  .site-footer {
    background: white;
    color: black;
    padding-top: 20px;
  }
  .site-footer p {
    color: black;
  }
}
