/* ============================================================
   SOMMAIRE DES RÉGLAGES SELON LA TAILLE DE L’ÉCRAN
   Classé des grandes largeurs vers les petites ; lignes ci-dessous.
   Les règles communes s’appliquent à tous les écrans.
   Les blocs restent à leur place pour conserver leurs priorités.
   Modifier les sources, puis reconstruire le site.

   (max-width: 1249px) : ligne(s) 110
   (max-width: 600px) : ligne(s) 120
   (prefers-reduced-motion: reduce) : ligne(s) 158
   ============================================================ */

/* ===== RÉGLAGES COMMUNS : TOUS LES ÉCRANS ===== */
/* ============================================================
   EN-TÊTE COMMUN — LOGO ET BARRE DU SITE
   Réglages du menu : sources/menu.css.
   Après modification, lancer RECONSTRUIRE.bat.
   ============================================================ */

/* 1. RÉGLAGES COMMUNS — TOUS LES ÉCRANS */
html body.site .entete-site,
html body.site .entete-site * {
  box-sizing: border-box;
}

html body.site header.entete-site {
  position: fixed !important;
  inset: 0 0 auto !important;
  z-index: 10000 !important;
  width: 100% !important;
  margin: 0 !important;
  transform: none !important;
  translate: none !important;
  background: #fff !important;
  border-bottom: 1px solid #dbe5ec;
  text-align: left;
  color: #10253f !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  font-stretch: normal;
  font-size: 14px;
  line-height: 1.5;
}

.site .entete-site .entete-barre {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  flex-wrap: nowrap;
  width: min(calc(100% - 40px), 1740px);
  margin: 0 auto;
  padding: 12px 0;
}

.site .entete-site .logo-site {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  min-width: 0;
}

.site .entete-site .logo-site img {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.site .entete-site .logo-site strong {
  display: block;
  color: #10253f !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: 800;
  font-stretch: normal;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.site .entete-site .logo-site small {
  display: block;
  margin-top: 5px;
  color: #087aa8 !important;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-style: normal;
  font-variant: normal;
  font-weight: 800;
  font-stretch: normal;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* 2. ORDINATEUR — AU-DELÀ DE 1 249 PX
   Les réglages communs ci-dessus s’appliquent. */

/* 3. TABLETTE ET MOBILE — JUSQU’À 1 249 PX */
/* ===== RÉGLAGES ÉCRANS : TABLETTE ET MOBILE | (max-width: 1249px) ===== */
@media (max-width: 1249px) {
  .site .entete-site .entete-barre {
    width: 100%;
    gap: 10px;
    padding: 12px 16px;
  }
}

/* 4. MOBILE — JUSQU’À 600 PX */
/* ===== RÉGLAGES ÉCRANS : MOBILE | (max-width: 600px) ===== */
@media (max-width: 600px) {
  .site .entete-site .entete-barre {
    gap: 8px;
    padding: 12px;
  }

  .site .entete-site .logo-site {
    flex: 1;
    gap: 7px;
  }

  .site .entete-site .logo-site img {
    width: 34px;
    height: 34px;
  }

  .site .entete-site .logo-site span {
    min-width: 0;
  }

  .site .entete-site .logo-site strong {
    font-size: 12.87px;
    letter-spacing: 0;
  }

  .site .entete-site .logo-site small {
    font-size: 8.19px;
    letter-spacing: 0;
  }

  .site .entete-site .logo-site strong,
  .site .entete-site .logo-site small {
    white-space: nowrap;
  }
}

/* 5. ACCESSIBILITÉ — RÉDUCTION DES ANIMATIONS */
/* ===== RÉGLAGES ÉCRANS : ACCESSIBILITÉ — ANIMATIONS | (prefers-reduced-motion: reduce) ===== */
@media (prefers-reduced-motion: reduce) {
  .site .entete-site * {
    scroll-behavior: auto;
  }
}
