:root {
  --cr-fond: #f1f4f9;
  --cr-surface: #ffffff;
  --cr-surface-alt: #e9eef6;
  --cr-texte: #1b2538;
  --cr-texte-secondaire: #4a5c72;
  --cr-titre: #0c1a2e;
  --cr-accent: #1756a0;
  --cr-accent-clair: #dce9f7;
  --cr-accent-survol: #0f4282;
  --cr-bordure: #c8d5e4;
  --cr-filet-couleur: #a8bcce;
  --cr-police-titre: Georgia, 'Times New Roman', serif;
  --cr-police-corps: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --cr-rayon: 3px;
  --cr-rayon-m: 6px;
  --cr-ombre-douce: 0 1px 8px rgba(10, 28, 56, 0.07), 0 2px 16px rgba(10, 28, 56, 0.04);
  --cr-ombre-medium: 0 4px 24px rgba(10, 28, 56, 0.10);
  --cr-espace-xs: 0.4rem;
  --cr-espace-s: 0.875rem;
  --cr-espace-m: 1.5rem;
  --cr-espace-l: 2.75rem;
  --cr-espace-xl: 4.5rem;
  --cr-largeur: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--cr-police-corps);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cr-texte);
  background-color: var(--cr-fond);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--cr-police-titre);
  color: var(--cr-titre);
  line-height: 1.2;
  font-weight: normal;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.125rem, 2vw, 1.45rem); }
h4 { font-size: 1.0625rem; }

p { margin-bottom: 1.1em; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--cr-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 0.15s ease;
}

a:hover { color: var(--cr-accent-survol); }

a:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 3px;
  border-radius: var(--cr-rayon);
}

strong { font-weight: 600; }

ul, ol { padding-left: 1.5em; margin-bottom: 1em; }
li { margin-bottom: 0.4em; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cr-conteneur {
  max-width: var(--cr-largeur);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--cr-espace-m);
  padding-right: var(--cr-espace-m);
}

.cr-section {
  padding-top: var(--cr-espace-xl);
  padding-bottom: var(--cr-espace-xl);
}

.cr-section-etroite {
  padding-top: var(--cr-espace-l);
  padding-bottom: var(--cr-espace-l);
}

.cr-entete {
  background-color: var(--cr-surface);
  border-bottom: 1px solid var(--cr-bordure);
  position: sticky;
  top: 0;
  z-index: 100;
}

.cr-entete-interieur {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.125rem;
  padding-bottom: 1.125rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cr-marque {
  font-family: var(--cr-police-titre);
  font-size: 1.375rem;
  color: var(--cr-titre);
  text-decoration: none;
  font-weight: normal;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.cr-marque:hover { color: var(--cr-accent); }

.cr-navigation {
  display: flex;
  align-items: center;
  gap: var(--cr-espace-m);
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
}

.cr-lien-nav {
  font-size: 0.9375rem;
  color: var(--cr-texte-secondaire);
  text-decoration: none;
  font-weight: 500;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.cr-lien-nav:hover {
  color: var(--cr-accent);
  border-bottom-color: var(--cr-accent);
}

.cr-lien-nav[aria-current="page"] {
  color: var(--cr-accent);
  border-bottom-color: var(--cr-accent);
}

.cr-lien-nav:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 3px;
  border-radius: var(--cr-rayon);
  border-bottom-color: transparent;
}

.cr-manchette {
  background-color: var(--cr-surface);
  border-bottom: 1px solid var(--cr-bordure);
  padding-top: var(--cr-espace-xl);
  padding-bottom: var(--cr-espace-l);
}

.cr-manchette-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cr-espace-l);
  align-items: center;
}

.cr-manchette-texte {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cr-faq {
  margin-top: var(--cr-espace-m);
}

.cr-etiquette {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--cr-accent);
  margin-bottom: var(--cr-espace-s);
}

.cr-manchette h1 {
  margin-bottom: var(--cr-espace-m);
}

.cr-chapeau {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--cr-texte-secondaire);
  margin-bottom: var(--cr-espace-m);
}

.cr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cr-espace-s);
  margin-top: var(--cr-espace-m);
}

.cr-manchette-visuel {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cr-manchette-visuel img,
.cr-manchette-visuel svg {
  width: 100%;
  max-width: 480px;
  height: auto;
}

.cr-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--cr-police-corps);
  font-size: 0.9375rem;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: var(--cr-rayon-m);
  padding: 0.625rem 1.375rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.cr-bouton-principal {
  background-color: var(--cr-accent);
  color: #ffffff;
  border-color: var(--cr-accent);
}

.cr-bouton-principal:hover {
  background-color: var(--cr-accent-survol);
  border-color: var(--cr-accent-survol);
  color: #ffffff;
}

.cr-bouton-secondaire {
  background-color: transparent;
  color: var(--cr-accent);
  border-color: var(--cr-accent);
}

.cr-bouton-secondaire:hover {
  background-color: var(--cr-accent-clair);
  color: var(--cr-accent-survol);
}

.cr-bouton:focus-visible {
  outline: 2px solid var(--cr-accent);
  outline-offset: 3px;
}

.cr-grille-editoriale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--cr-espace-m);
}

.cr-grille-deux {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cr-espace-l);
  align-items: start;
}

.cr-grille-large-etroite {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--cr-espace-l);
  align-items: start;
}

.cr-grille-etroite-large {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--cr-espace-l);
  align-items: start;
}

.cr-vignette {
  background-color: var(--cr-surface);
  border: 1px solid var(--cr-bordure);
  border-radius: var(--cr-rayon-m);
  padding: var(--cr-espace-m);
  box-shadow: var(--cr-ombre-douce);
  display: flex;
  flex-direction: column;
}

.cr-vignette h3 {
  margin-bottom: var(--cr-espace-s);
}

.cr-vignette p {
  color: var(--cr-texte-secondaire);
  font-size: 0.9375rem;
  flex-grow: 1;
}

.cr-vignette-lien {
  display: inline-block;
  margin-top: var(--cr-espace-s);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--cr-accent);
}

.cr-vignette-lien::after { content: ' →'; }
.cr-vignette-lien:hover { color: var(--cr-accent-survol); }

.cr-icone-vignette {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: var(--cr-espace-s);
  color: var(--cr-accent);
}

.cr-encadre {
  background-color: var(--cr-accent-clair);
  border-left: 4px solid var(--cr-accent);
  border-radius: 0 var(--cr-rayon-m) var(--cr-rayon-m) 0;
  padding: var(--cr-espace-m) var(--cr-espace-l);
}

.cr-encadre-neutre {
  background-color: var(--cr-surface-alt);
  border: 1px solid var(--cr-bordure);
  border-radius: var(--cr-rayon-m);
  padding: var(--cr-espace-m) var(--cr-espace-l);
}

.cr-filet {
  border: none;
  border-top: 1px solid var(--cr-bordure);
  margin: var(--cr-espace-l) 0;
}

.cr-titre-section {
  margin-bottom: var(--cr-espace-l);
}

.cr-titre-section h2 {
  margin-bottom: var(--cr-espace-xs);
}

.cr-sous-titre {
  color: var(--cr-texte-secondaire);
  font-size: 1.0625rem;
  max-width: 640px;
}

.cr-sequence {
  counter-reset: cr-etape;
  list-style: none;
  padding: 0;
}

.cr-sequence-item {
  counter-increment: cr-etape;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: var(--cr-espace-m);
  padding: var(--cr-espace-m) 0;
  border-bottom: 1px solid var(--cr-bordure);
  align-items: start;
}

.cr-sequence-item:last-child { border-bottom: none; }

.cr-sequence-item::before {
  content: counter(cr-etape, decimal-leading-zero);
  font-family: var(--cr-police-titre);
  font-size: 1.5rem;
  color: var(--cr-accent);
  line-height: 1.3;
}

.cr-sequence-item-corps h3 {
  margin-bottom: 0.4rem;
  font-size: 1.0625rem;
}

.cr-sequence-item-corps p {
  color: var(--cr-texte-secondaire);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.cr-faq-element {
  border-bottom: 1px solid var(--cr-bordure);
  padding: var(--cr-espace-m) 0;
}

.cr-faq-element:first-child { border-top: 1px solid var(--cr-bordure); }

.cr-faq-question {
  font-family: var(--cr-police-titre);
  font-size: 1.0625rem;
  color: var(--cr-titre);
  margin-bottom: 0.6rem;
  font-weight: normal;
}

.cr-faq-reponse {
  color: var(--cr-texte-secondaire);
  font-size: 0.9375rem;
}

.cr-faq-reponse p { margin-bottom: 0; }

.cr-tableau-capacites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--cr-espace-m);
}

.cr-capacite {
  background-color: var(--cr-surface);
  border: 1px solid var(--cr-bordure);
  border-top: 3px solid var(--cr-accent);
  border-radius: 0 0 var(--cr-rayon-m) var(--cr-rayon-m);
  padding: var(--cr-espace-m);
}

.cr-capacite h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
}

.cr-capacite p {
  color: var(--cr-texte-secondaire);
  font-size: 0.9375rem;
}

.cr-panneau-info {
  background-color: var(--cr-surface);
  border: 1px solid var(--cr-bordure);
  border-radius: var(--cr-rayon-m);
  padding: var(--cr-espace-l);
  box-shadow: var(--cr-ombre-douce);
}

.cr-coordonnees {
  list-style: none;
  padding: 0;
}

.cr-coordonnees li {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--cr-bordure);
  font-size: 0.9375rem;
  color: var(--cr-texte);
}

.cr-coordonnees li:last-child { border-bottom: none; }

.cr-coordonnees-etiquette {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--cr-texte-secondaire);
  margin-bottom: 0.2rem;
}

.cr-formulaire { }

.cr-champ-groupe {
  margin-bottom: var(--cr-espace-m);
}

.cr-champ-groupe label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cr-texte);
  margin-bottom: 0.4rem;
}

.cr-requis {
  color: var(--cr-accent);
  margin-left: 0.15em;
}

.cr-champ {
  display: block;
  width: 100%;
  font-family: var(--cr-police-corps);
  font-size: 0.9375rem;
  color: var(--cr-texte);
  background-color: var(--cr-surface);
  border: 1.5px solid var(--cr-bordure);
  border-radius: var(--cr-rayon);
  padding: 0.625rem 0.875rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}

.cr-champ:focus {
  outline: none;
  border-color: var(--cr-accent);
  box-shadow: 0 0 0 3px rgba(23, 86, 160, 0.12);
}

.cr-champ::placeholder {
  color: var(--cr-texte-secondaire);
  opacity: 0.65;
}

textarea.cr-champ {
  min-height: 130px;
  resize: vertical;
}

select.cr-champ { cursor: pointer; }

.cr-fond-alt {
  background-color: var(--cr-surface);
}

.cr-fond-profond {
  background-color: var(--cr-titre);
}

.cr-fond-profond h2,
.cr-fond-profond h3 {
  color: #f0f4f8;
}

.cr-fond-profond p {
  color: #8fa8be;
}

.cr-fond-profond .cr-vignette {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

.cr-fond-profond .cr-vignette h3 { color: #e2ecf6; }
.cr-fond-profond .cr-vignette p { color: #7a96ae; }

.cr-illustration {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--cr-rayon-m);
}

.cr-illustration-bordee {
  border: 1px solid var(--cr-bordure);
  box-shadow: var(--cr-ombre-douce);
}

.cr-bandeau {
  background-color: var(--cr-accent);
  padding-top: var(--cr-espace-l);
  padding-bottom: var(--cr-espace-l);
}

.cr-bandeau h2 {
  color: #ffffff;
  margin-bottom: var(--cr-espace-s);
}

.cr-bandeau p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: var(--cr-espace-m);
}

.cr-bandeau .cr-bouton-secondaire {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.65);
}

.cr-bandeau .cr-bouton-secondaire:hover {
  background-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.cr-pied {
  background-color: #0a1624;
  color: #b0c2d4;
  padding-top: var(--cr-espace-xl);
  padding-bottom: var(--cr-espace-l);
}

.cr-pied-grille {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--cr-espace-l);
  margin-bottom: var(--cr-espace-l);
  padding-bottom: var(--cr-espace-l);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cr-pied-marque {
  font-family: var(--cr-police-titre);
  font-size: 1.25rem;
  color: #eaf1f8;
  text-decoration: none;
  font-weight: normal;
  display: block;
  margin-bottom: var(--cr-espace-s);
}

.cr-pied-description {
  font-size: 0.875rem;
  color: #7090a8;
  line-height: 1.6;
}

.cr-pied-rubrique-titre {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #7090a8;
  margin-bottom: var(--cr-espace-s);
}

.cr-pied-liste {
  list-style: none;
  padding: 0;
}

.cr-pied-liste li {
  margin-bottom: 0.5rem;
}

.cr-pied-liste a {
  color: #b0c2d4;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

.cr-pied-liste a:hover { color: #ffffff; }

.cr-pied-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--cr-espace-s);
  font-size: 0.8125rem;
  color: #7090a8;
}

.cr-pied-liens-legaux {
  display: flex;
  gap: var(--cr-espace-m);
  flex-wrap: wrap;
}

.cr-pied-liens-legaux a {
  color: #7090a8;
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.15s ease;
}

.cr-pied-liens-legaux a:hover { color: #b0c2d4; }

.cr-page-interieure-entete {
  background-color: var(--cr-surface);
  border-bottom: 1px solid var(--cr-bordure);
  padding-top: var(--cr-espace-l);
  padding-bottom: var(--cr-espace-l);
}

.cr-page-interieure-corps {
  max-width: 780px;
  margin: 0 auto;
  padding: var(--cr-espace-xl) var(--cr-espace-m);
}

.cr-page-interieure-corps h2 {
  font-size: 1.4rem;
  margin-top: var(--cr-espace-l);
  margin-bottom: var(--cr-espace-s);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--cr-bordure);
}

.cr-page-interieure-corps h3 {
  font-size: 1.125rem;
  margin-top: var(--cr-espace-m);
  margin-bottom: 0.5rem;
}

.cr-meta-document {
  color: var(--cr-texte-secondaire);
  font-size: 0.875rem;
  margin-bottom: var(--cr-espace-l);
}

.cr-liens-retour {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--cr-espace-xl);
  padding-top: var(--cr-espace-m);
  border-top: 1px solid var(--cr-bordure);
}

.cr-liens-retour a {
  font-size: 0.875rem;
  font-weight: 500;
}

.cr-texte-centre { text-align: center; }
.cr-texte-centre .cr-sous-titre { margin: 0 auto; }

@media (max-width: 72em) {
  .cr-manchette-grille {
    grid-template-columns: 1fr;
  }

  .cr-manchette-visuel {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .cr-pied-grille {
    grid-template-columns: 1fr 1fr;
    gap: var(--cr-espace-m);
  }

  .cr-grille-editoriale {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 48em) {
  :root {
    --cr-espace-xl: 2.75rem;
    --cr-espace-l: 2rem;
  }

  .cr-navigation {
    gap: 0.625rem;
    width: 100%;
  }

  .cr-grille-editoriale {
    grid-template-columns: 1fr;
  }

  .cr-grille-deux,
  .cr-grille-large-etroite,
  .cr-grille-etroite-large {
    grid-template-columns: 1fr;
  }

  .cr-tableau-capacites {
    grid-template-columns: 1fr;
  }

  .cr-pied-grille {
    grid-template-columns: 1fr;
    gap: var(--cr-espace-m);
  }

  .cr-pied-bas {
    flex-direction: column;
    align-items: flex-start;
  }

  .cr-sequence-item {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.75rem;
  }

  .cr-panneau-info {
    padding: var(--cr-espace-m);
  }

  .cr-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cr-encadre,
  .cr-encadre-neutre {
    padding: var(--cr-espace-m);
  }

  .cr-bandeau {
    text-align: center;
  }

  .cr-page-interieure-corps {
    padding-top: var(--cr-espace-l);
    padding-bottom: var(--cr-espace-l);
  }
}
