/* Composant 6 : le pied de page, le bas de la planche. Adresse de l'atelier, plan d'accès imprimé en deux encres,
   liens des trois maisons, et un « achevé d'imprimer » au-dessus de la barre de contrôle qui ferme la feuille. */
.pied { background: var(--fond-creux); border-top: 1px solid var(--filet); }
.pied__interieur { max-width: 1440px; margin: 0 auto; padding: var(--espace-9) max(var(--espace-7), env(safe-area-inset-right, 0px)) var(--espace-6) max(var(--espace-7), env(safe-area-inset-left, 0px)); }
.pied__haut { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--espace-8); align-items: start; }
.pied h2 { margin: 0; font-family: var(--font-titre); font-weight: 700; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.01em; }
.pied address { margin-top: 24px; font-style: normal; font-size: 20px; line-height: 30px; }
.pied address strong { font-family: var(--font-titre); font-weight: 700; }
.pied__note { margin: 14px 0 0; max-width: 30em; font-size: 15px; line-height: 22px; color: var(--texte-doux); }
.pied__tel { margin: 26px 0 0; display: grid; gap: 2px; }
.pied__tel span { font-size: 13px; line-height: 16px; color: var(--texte-doux); }
.pied__tel strong { font-size: 24px; line-height: 30px; font-weight: 600; user-select: all; }
.pied__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 30px; }
.pied__actions .secondaire { font-size: 16px; font-weight: 600; color: var(--accent); }

/* Le plan : une petite planche avec ses repères de coupe et sa légende. */
.plan { position: relative; margin: 0; padding: 22px; }
.plan img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 720; }
.plan .repere::before { background: var(--texte); }
.plan figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 14px; font-size: 13px; line-height: 18px; color: var(--texte-doux); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; }
.legende li { display: inline-flex; align-items: center; gap: 8px; }
.legende i { flex: none; display: inline-block; }
.legende .l-atelier { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--mps-rouge); background: linear-gradient(var(--mps-rouge), var(--mps-rouge)) center / 100% 2.5px no-repeat, linear-gradient(var(--mps-rouge), var(--mps-rouge)) center / 2.5px 100% no-repeat; }
.legende .l-axe { width: 22px; height: 7px; border: 2px solid var(--mps-noir); background: var(--fond-creux); }
.legende .l-rue { width: 22px; height: 2px; background: var(--mps-bleu); }
.legende .l-parc { width: 18px; height: 12px; background: radial-gradient(circle, var(--mps-cyan) 0 1.2px, transparent 1.6px) 0 0 / 5px 5px; }
.plan figcaption a { color: inherit; }

/* Les liens du bas, en colonnes. */
.pied__liens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr); gap: var(--espace-6); margin-top: var(--espace-8); padding-top: var(--espace-6); border-top: 1px solid var(--filet); }
.pied__liens h3 { margin: 0 0 14px; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-doux); }
.pied__liens ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.pied__liens a { position: relative; display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 15.5px; line-height: 21px; }
.pied__liens .pied__suite { margin-top: 28px; }
.pied__liens a::after { content: ""; position: absolute; left: -4px; right: -6px; bottom: -4px; height: 8px; background: url(/assets/img/pinceau-bleu.webp) center / 100% 100% no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path 0.5s cubic-bezier(0.2, 0.7, 0.2, 1); pointer-events: none; }
.pied__liens a:hover::after, .pied__liens a:focus-visible::after { clip-path: inset(0 0 0 0); }
.pied__liens .maison { font-family: var(--font-titre); font-weight: 700; font-size: 18px; }
.pied__liens .maison img { height: 22px; width: auto; }
.pied__liens a[lang="ar"] { font-family: var(--font-arabe); }

/* L'achevé d'imprimer, puis la barre de contrôle qui ferme la feuille. */
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; margin-top: var(--espace-8); font-size: 13px; line-height: 20px; color: var(--texte-doux); }
.colophon p { margin: 0; }
.colophon a { color: inherit; }
.colophon .credit a { color: var(--texte); font-weight: 600; text-underline-offset: 3px; }
.pied .barre-controle { margin: 16px 0 0; padding: 12px 0 0; }

@media (max-width: 1000px) {
  .pied__interieur { padding: var(--espace-8) max(var(--espace-4), env(safe-area-inset-right, 0px)) var(--espace-5) max(var(--espace-4), env(safe-area-inset-left, 0px)); }
  .pied__haut { grid-template-columns: 1fr; gap: var(--espace-6); }
  .plan { padding: 14px; margin: 0; }
  .plan .repere::before { width: 9px; } .plan .repere::after { height: 9px; }
  .plan .repere--hg::before, .plan .repere--bg::before { right: 4px; } .plan .repere--hd::before, .plan .repere--bd::before { left: 4px; }
  .plan .repere--hg::after, .plan .repere--hd::after { bottom: 4px; } .plan .repere--bg::after, .plan .repere--bd::after { top: 4px; }
  .pied__liens { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-6) var(--espace-5); }
  .pied address { font-size: 18px; line-height: 27px; }
}
