/* ==========================================================================
   AXALISE — feuille de style
   Couleurs reprises du logo : bleu, doré, gris foncé, sur fonds clairs.
   ========================================================================== */

/* Polices auto-hébergées (aucune requête vers un service tiers) */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }

:root {
  --bleu: #1a486d;
  --bleu-fonce: #11314b;
  --bleu-pale: #e9eff5;
  --or: #c0a874;
  --or-clair: #e7dcc3;
  --or-texte: #85672a;          /* doré assez foncé pour être lisible sur fond clair */
  --gris: #515250;
  --texte: #2b2c2a;
  --texte-doux: #5c5d5a;
  --fond: #f8f6f1;
  --blanc: #ffffff;
  --ligne: #e2ddd1;
  --erreur: #a3261b;
  --succes: #1f6a3f;

  --titres: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --corps: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

  --rayon: 10px;
  --ombre: 0 1px 2px rgba(17, 49, 75, .06), 0 8px 24px rgba(17, 49, 75, .07);
  --largeur: 1160px;
  --gouttiere: clamp(16px, 4vw, 32px);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--blanc);
  color: var(--texte);
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--bleu-fonce); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--or); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--titres); color: var(--bleu-fonce); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 600; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 760px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.lien-evitement { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--bleu-fonce); color: #fff; padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.lien-evitement:focus { top: 12px; color: #fff; }

/* Petit libellé au-dessus des titres, inspiré de la ligne « Cabinet de recrutement » du logo */
.surtitre {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--titres); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte);
  margin: 0 0 1rem;
}
.surtitre::before { content: ""; width: 28px; height: 1px; background: var(--or); }

.intro { font-size: 1.18rem; color: var(--texte-doux); max-width: 62ch; }

/* --- Boutons ------------------------------------------------------------- */
.boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .75em 1.4em;
  font-family: var(--titres); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.bouton:hover { text-decoration: none; transform: translateY(-1px); }
.bouton--plein { background: var(--bleu); color: #fff; }
.bouton--plein:hover { background: var(--bleu-fonce); color: #fff; }
.bouton--contour { border-color: var(--bleu); color: var(--bleu); background: transparent; }
.bouton--contour:hover { background: var(--bleu); color: #fff; }
.bouton--or { background: var(--or); color: var(--bleu-fonce); }
.bouton--or:hover { background: var(--or-clair); color: var(--bleu-fonce); }
.bouton--clair { border-color: rgba(255,255,255,.7); color: #fff; }
.bouton--clair:hover { background: #fff; color: var(--bleu-fonce); }
.bouton .fleche { transition: transform .2s; }
.bouton:hover .fleche { transform: translateX(3px); }

.lien-fleche { font-family: var(--titres); font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.lien-fleche:hover { text-decoration: underline; }

/* --- En-tête et menu ----------------------------------------------------- */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--ligne); backdrop-filter: saturate(1.4) blur(8px); }
.entete__barre { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; }
.entete__logo { display: block; flex: none; padding: 6px 0; }
.entete__logo-img { width: 76px; height: auto; }

.navigation__liste { display: flex; flex-wrap: wrap; gap: 4px 6px; list-style: none; margin: 0; padding: 0; }
.navigation__lien {
  display: block; padding: .55em .85em; border-radius: 999px;
  font-family: var(--titres); font-weight: 600; font-size: .9rem; color: var(--gris); text-decoration: none;
}
.navigation__lien:hover { color: var(--bleu); background: var(--bleu-pale); }
.navigation__lien[aria-current="page"] { color: var(--bleu-fonce); box-shadow: inset 0 -2px 0 var(--or); border-radius: 0; }
.navigation__lien--accent { background: var(--bleu); color: #fff; margin-left: 6px; }
.navigation__lien--accent:hover { background: var(--bleu-fonce); color: #fff; }
.navigation__lien--accent[aria-current="page"] { border-radius: 999px; box-shadow: 0 0 0 2px var(--or); }

.menu-bouton {
  display: none; align-items: center; gap: 10px; min-height: 46px; padding: 0 16px;
  border: 1px solid var(--ligne); border-radius: 999px; background: #fff; color: var(--bleu-fonce);
  font-family: var(--titres); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.menu-bouton__icone { display: grid; gap: 4px; width: 18px; }
.menu-bouton__icone span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-bouton[aria-expanded="true"] .menu-bouton__icone span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-bouton__icone span:nth-child(2) { opacity: 0; }
.menu-bouton[aria-expanded="true"] .menu-bouton__icone span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1000px) {
  .entete__barre { min-height: 76px; }
  .entete__logo-img { width: 62px; }
  /* Sans JavaScript, le menu reste affiché en dessous du logo. */
  .entete__barre { flex-wrap: wrap; }
  .js .entete__barre { flex-wrap: nowrap; }
  .js .menu-bouton { display: inline-flex; }
  .js .navigation { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ligne); box-shadow: 0 16px 24px rgba(17,49,75,.08); }
  .js .navigation.est-ouvert { display: block; }
  .js .navigation__liste { flex-direction: column; padding: 8px var(--gouttiere) 20px; gap: 2px; }
  .js .navigation__lien { padding: .85em .9em; font-size: 1rem; border-radius: 8px; }
  .js .navigation__lien[aria-current="page"] { box-shadow: inset 3px 0 0 var(--or); background: var(--fond); }
  .js .navigation__lien--accent { margin: 8px 0 0; text-align: center; border-radius: 999px; }
  .navigation { width: 100%; }
  .js .navigation { width: auto; }
}

/* --- Sections ------------------------------------------------------------ */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--fond { background: var(--fond); }
.section--serree { padding: clamp(40px, 6vw, 72px) 0; }
.section__entete { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__entete--centre { margin-left: auto; margin-right: auto; text-align: center; }
.section__entete--centre .surtitre { justify-content: center; }
.section__entete p { color: var(--texte-doux); }

/* --- Héros (accueil) ----------------------------------------------------- */
.heros { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--fond) 0%, #fff 100%); padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); }
.heros__grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.heros h1 { max-width: 16ch; }
.heros__visuel { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.heros__visuel::before, .heros__visuel::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.heros__visuel::before { inset: 0; background: #fff; box-shadow: var(--ombre); }
.heros__visuel::after { inset: -18px; border: 1px solid var(--or-clair); }
.heros__logo { position: relative; width: 66%; }
.heros__trait { position: absolute; z-index: 1; width: 120px; height: 1px; background: var(--or); right: -40px; top: 18%; }

@media (max-width: 820px) {
  .heros__grille { grid-template-columns: 1fr; }
  .heros__visuel { order: -1; max-width: 220px; }
  .heros__visuel::after { inset: -10px; }
  .heros__trait { display: none; }
}

/* --- En-tête des pages internes ----------------------------------------- */
.bandeau { background: var(--fond); border-bottom: 1px solid var(--ligne); padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.bandeau::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -170px;
  border-radius: 50%; border: 1px solid var(--or-clair); box-shadow: 0 0 0 28px rgba(26,72,109,.03);
  pointer-events: none;
}
.bandeau h1 { max-width: 22ch; }
.bandeau .intro { margin-bottom: 0; }

/* --- Cartes de services -------------------------------------------------- */
.grille-4, .grille-3 { list-style: none; padding: 0; margin: 0; }
.grille-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grille-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1000px) { .grille-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grille-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grille-4 { grid-template-columns: 1fr; } }

.carte {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon);
  padding: 28px 24px 24px; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.carte__numero { font-family: var(--titres); font-weight: 600; font-size: .8rem; letter-spacing: .14em; color: var(--or-texte); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.carte__numero::after { content: ""; flex: 1; height: 1px; background: var(--ligne); }
.carte h3 { margin-bottom: .5em; }
.carte p { color: var(--texte-doux); font-size: 1rem; flex: 1; }
.carte__lien { text-decoration: none; }
.carte__lien::after { content: ""; position: absolute; inset: 0; border-radius: var(--rayon); }
.carte:hover { border-color: var(--or); box-shadow: var(--ombre); transform: translateY(-2px); }
.carte:focus-within { border-color: var(--bleu); box-shadow: var(--ombre); }
.carte__lien:focus-visible { outline: none; }
.carte__lien:focus-visible::after { outline: 3px solid var(--or); outline-offset: 2px; }
.carte__pied { font-family: var(--titres); font-weight: 600; font-size: .88rem; color: var(--bleu); margin-top: 8px; }

/* --- Secteurs ------------------------------------------------------------ */
.secteur { border-top: 2px solid var(--bleu); padding-top: 20px; }
.secteur h3 { display: flex; align-items: baseline; gap: 10px; }
.secteur h3::before { content: ""; flex: none; width: 9px; height: 9px; background: var(--or); transform: rotate(45deg) translateY(-2px); }
.secteur p { color: var(--texte-doux); margin: 0; }

.note { font-size: .95rem; color: var(--texte-doux); border-left: 2px solid var(--or); padding-left: 14px; margin-top: 28px; max-width: 70ch; }

/* --- Démarche ------------------------------------------------------------ */
.etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: etape; }
.etape { position: relative; padding: 0 28px 0 0; counter-increment: etape; }
.etape::before {
  content: counter(etape, decimal-leading-zero); display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  border: 1px solid var(--or); color: var(--bleu-fonce); background: #fff;
  font-family: var(--titres); font-weight: 700; font-size: .95rem; position: relative; z-index: 1;
}
.etape::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 1px; background: var(--or-clair); }
.etape:last-child::after { display: none; }
.etape p { color: var(--texte-doux); margin: 0; }
@media (max-width: 820px) {
  .etapes { grid-template-columns: 1fr; gap: 28px; }
  .etape { padding: 0 0 0 72px; min-height: 52px; }
  .etape::before { position: absolute; left: 0; top: -4px; margin: 0; }
  .etape::after { left: 26px; top: 52px; bottom: -28px; right: auto; width: 1px; height: auto; }
}

/* --- Bloc d'appel ----------------------------------------------------- */
.appel { background: var(--bleu-fonce); color: #e8eef4; position: relative; overflow: hidden; }
.appel::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(192,168,116,.35); left: -220px; bottom: -330px; }
.appel::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; border: 1px solid rgba(192,168,116,.25); right: -120px; top: -200px; }
.appel__contenu { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.appel h2 { color: #fff; margin-bottom: .4em; }
.appel p { margin: 0; color: #cfdbe6; }
.appel .surtitre { color: var(--or); }
.appel .boutons { justify-content: flex-end; margin-top: 0; }
@media (max-width: 820px) { .appel__contenu { grid-template-columns: 1fr; } .appel .boutons { justify-content: flex-start; } }

/* --- Présentation (accueil) --------------------------------------------- */
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .deux-colonnes { grid-template-columns: 1fr; } }
.points { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.points li { position: relative; padding-left: 30px; }
.points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 16px; height: 1px; background: var(--or); }
.points li::after { content: ""; position: absolute; left: 14px; top: calc(.62em - 2px); width: 5px; height: 5px; border-radius: 50%; background: var(--or); }

/* --- Page Services ------------------------------------------------------- */
.sommaire { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.sommaire a { display: inline-block; padding: .45em 1em; border: 1px solid var(--ligne); border-radius: 999px; background: #fff; font-family: var(--titres); font-weight: 600; font-size: .85rem; text-decoration: none; color: var(--bleu-fonce); }
.sommaire a:hover { border-color: var(--bleu); }

.service { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--ligne); }
.service:first-child { border-top: 0; padding-top: 0; }
.service__repere { position: sticky; top: 120px; align-self: start; }
.service__numero { font-family: var(--titres); font-weight: 700; font-size: 3.2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or); margin-bottom: 14px; }
.service__repere h2 { font-size: 1.4rem; }
.service__corps > p:first-child { font-size: 1.12rem; }
.service__infos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; margin: 26px 0; }
.service__infos h3 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-texte); margin-bottom: .7em; }
.service__infos ul { margin: 0; }
.service__infos .espace-haut { margin-top: 1.4em; }
.service__infos li { margin-bottom: .35em; }
.service__infos p { margin: 0; color: var(--texte-doux); }
.encadre { background: var(--fond); border-radius: var(--rayon); padding: 18px 20px; font-size: .97rem; color: var(--texte-doux); border-left: 3px solid var(--or); }
.encadre p:last-child { margin: 0; }
@media (max-width: 820px) {
  .service { grid-template-columns: 1fr; }
  .service__repere { position: static; }
  .service__numero { font-size: 2.4rem; }
  .service__infos { grid-template-columns: 1fr; }
}

/* --- Offres d'emploi ----------------------------------------------------- */
.vide { text-align: center; background: var(--fond); border: 1px dashed var(--or); border-radius: var(--rayon); padding: clamp(36px, 6vw, 64px) 24px; }
.vide p { font-size: 1.12rem; max-width: 52ch; margin: 0 auto; }
.vide .boutons { justify-content: center; }
.vide--apres { margin-top: 32px; }

.offres { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.offre { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px 26px; }
.offre__entete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: baseline; }
.offre h2 { font-size: 1.3rem; margin: 0; }
.offre__ref { font-family: var(--titres); font-size: .8rem; letter-spacing: .08em; color: var(--or-texte); }
.offre__infos { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 14px 0; padding: 0; }
.offre__infos div { display: flex; gap: 6px; font-size: .95rem; }
.offre__infos dt { color: var(--texte-doux); }
.offre__infos dd { margin: 0; font-weight: 600; color: var(--bleu-fonce); }
.offre__resume { color: var(--texte-doux); }
.offre details { margin: 6px 0 16px; border-top: 1px solid var(--ligne); padding-top: 12px; }
.offre summary { cursor: pointer; font-family: var(--titres); font-weight: 600; font-size: .92rem; color: var(--bleu); }
.offre__details { padding-top: 10px; white-space: pre-line; }
.offre__date { font-size: .9rem; color: var(--texte-doux); margin: 0; }
.offre__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }

/* --- Formulaires --------------------------------------------------------- */
.contact-grille { display: grid; grid-template-columns: 1.4fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }
.formulaire { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: clamp(22px, 4vw, 40px); box-shadow: var(--ombre); }
.formulaire__aide { font-size: .95rem; color: var(--texte-doux); margin-bottom: 22px; }
.champ { margin-bottom: 20px; }
.champ label { display: block; font-weight: 600; color: var(--bleu-fonce); margin-bottom: 6px; }
.champ .facultatif { font-weight: 400; color: var(--texte-doux); font-size: .92rem; }
.champ__indication { font-size: .92rem; color: var(--texte-doux); margin: -2px 0 8px; }
.champ input, .champ select, .champ textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--texte);
  background: #fff; border: 1px solid #bfb9ab; border-radius: 8px; padding: .72em .85em; min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--bleu) 50%), linear-gradient(135deg, var(--bleu) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4em; }
.champ textarea { min-height: 170px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(26,72,109,.18); }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__erreur { color: var(--erreur); font-size: .93rem; font-weight: 600; margin: 6px 0 0; }
.champ--piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.deux-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .deux-champs { grid-template-columns: 1fr; } }
.formulaire__rgpd { font-size: .9rem; color: var(--texte-doux); margin: 4px 0 20px; }
.formulaire .bouton { width: 100%; }
@media (min-width: 601px) { .formulaire .bouton { width: auto; } }

.alerte { border-radius: 8px; padding: 16px 18px; margin-bottom: 22px; }
.alerte:focus { outline: 3px solid var(--or); outline-offset: 2px; }
.alerte__titre { font-weight: 600; margin: 0 0 .3em; }
.alerte p:last-child, .alerte ul { margin-bottom: 0; }
.alerte--erreur { background: #fbeceb; border: 1px solid #e7b7b2; color: #6e1a12; }
.alerte--erreur a { color: #6e1a12; }
.alerte--succes { background: #eaf4ee; border: 1px solid #b5d6c1; color: #154a2c; }

.aside h2 { font-size: 1.25rem; }
.aside .bloc { border-top: 1px solid var(--ligne); padding-top: 22px; margin-top: 22px; }
.aside .bloc:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.aside p, .aside li { color: var(--texte-doux); font-size: 1rem; }

/* --- Informations légales (page Contact employeur) ---------------------- */
.legal { background: var(--fond); border-top: 1px solid var(--ligne); }
.legal__section + .legal__section { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--ligne); }
.legal h2 { font-size: 1.5rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.6em; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.legal dt { font-weight: 600; color: var(--bleu-fonce); }
.legal dd { margin: 0; }
@media (max-width: 600px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }
.legal p, .legal li { font-size: 1rem; }

/* --- Pied de page -------------------------------------------------------- */
.pied { background: var(--fond); border-top: 1px solid var(--ligne); padding-top: clamp(44px, 6vw, 72px); font-size: .97rem; }
.pied__grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.pied__logo { display: inline-block; margin-bottom: 14px; }
.pied__logo-img { width: 96px; }
.pied__marque p { color: var(--texte-doux); max-width: 30ch; }
.pied__titre { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--or-texte); margin-bottom: 14px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { color: var(--gris); text-decoration: none; }
.pied a:hover { color: var(--bleu); text-decoration: underline; }
.pied__bas { border-top: 1px solid var(--ligne); margin-top: 40px; padding-top: 18px; padding-bottom: 22px; color: var(--texte-doux); font-size: .9rem; }
.pied__bas p { margin: 0; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* --- Apparition discrète au défilement ---------------------------------- */
.js .apparait { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .apparait.est-visible { opacity: 1; transform: none; }

/* --- Page d'erreur ------------------------------------------------------- */
.erreur-404 { text-align: center; }
.erreur-404 .intro { margin-left: auto; margin-right: auto; }
.erreur-404 .surtitre { justify-content: center; }
.erreur-404 .boutons { justify-content: center; }

@media print {
  .entete, .pied, .appel, .menu-bouton { display: none; }
  body { font-size: 11pt; }
}
