/* =========================================================
   BeautiFoul : styles communs à toutes les pages
   (en-tête, menu, pied de page, base typographique)
   Toute modification ici s'applique aux 4 pages.
   ========================================================= */

/* ---------- Polices hébergées sur le site (aucun appel à Google) ---------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/inter-600.woff') format('woff'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff') format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 400 500; font-display: swap; src: url('fonts/bricolage-grotesque-400.woff') format('woff'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 600 800; font-display: swap; src: url('fonts/bricolage-grotesque-700.woff') format('woff'); }

/* Largeur maximale du contenu sur toutes les pages.
   C'est LA valeur à changer pour élargir ou resserrer le site. */
:root { --page-width: 1320px; }

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

/* Réserve toujours la place de la barre de défilement :
   le bandeau ne se décale plus entre une page courte et une page longue */
html { overflow-y: scroll; }

body {
  margin: 0;
  background: #F5F7F6;
  color: #0E2433;
  font-family: Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: #0F6E7A; }
a:hover { color: #0A4F58; }

/* ---------- En-tête ---------- */
.site-header { background: #FFFFFF; border-bottom: 1px solid #DCE4E6; }
.site-header .inner {
  max-width: var(--page-width); margin: 0 auto; padding: 12px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.site-header .brand { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
/* Bandeau : 104 px de haut sur ordinateur, réduit proportionnellement sur mobile */
.site-header .brand img { display: block; width: 418px; max-width: 100%; height: auto; }

/* ---------- Menu ---------- */
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.site-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border-radius: 999px; text-decoration: none;
  color: #0E2433; font-size: 1rem; font-weight: 500; line-height: 1.6;
}
.site-nav a:hover { background: #F5F7F6; color: #0E2433; }
/* Page en cours : il suffit de mettre aria-current="page" sur le bon lien.
   Même graisse que les autres liens pour que le menu ne bouge pas. */
.site-nav a[aria-current="page"] { color: #FFFFFF; background: #0E2433; }

/* ---------- Pied de page ---------- */
.site-footer { background: #0A1B26; color: #A9BCC3; font-size: 0.9rem; }
.site-footer .inner {
  max-width: var(--page-width); margin: 0 auto; padding: 32px 24px;
  display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center;
}
.site-footer p { margin: 0; }
.site-footer .links { display: flex; gap: 20px; }
.site-footer a { color: #DCE8EC; display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 600px) {
  .site-header .inner, .site-footer .inner { padding-left: 16px; padding-right: 16px; }
}
