/* ==========================================================================
   HELIOS ENGINEERING GROUP — Footer
   --------------------------------------------------------------------------
   Porté depuis le prototype « assets/css/style.css » (ADR-0007). On ne
   produit QUE la variante standard (README §6.2) : les règles `.ft--home`
   (footer compact de l'accueil) et `.ft__tpl` (rangée de liens de revue,
   README §15.10) ne sont PAS portées. Enfilée avec `helios-base` en dépendance.
   ========================================================================== */

.ft{background:var(--ink-deep);color:var(--muted-3);padding:clamp(30px,4vw,52px) var(--pad) 0;}
.ft__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:clamp(20px,2.6vw,44px);padding-bottom:clamp(20px,3vw,36px);}
.ft__logo{height:clamp(40px,4vw,54px);width:auto;display:block;margin:0 0 16px;}
.ft__lead{margin:0;font-size:13px;line-height:1.7;}
.ft__k{font-family:var(--mono);font-size:11.5px;letter-spacing:.2em;text-transform:uppercase;color:#fff;margin-bottom:14px;}
.ft__list{display:grid;gap:8px;font-size:13px;}
.ft__list a,.ft__contact a{color:var(--muted-3);}
.ft__list a:hover,.ft__contact a:hover,.ft__legal a:hover{color:var(--orange);}
.ft__contact{font-size:13px;line-height:1.7;}
.ft__contact a{display:inline-flex;align-items:center;min-height:44px;}
.ft__contact a.mail{color:var(--orange);overflow-wrap:anywhere;}
.ft__legal{border-top:1px solid rgba(255,255,255,.12);padding:16px 0 20px;display:flex;flex-wrap:wrap;gap:8px 28px;justify-content:space-between;font-size:12px;}
.ft__legal div{display:flex;flex-wrap:wrap;gap:22px;}
.ft__legal a{color:var(--muted-3);}
/* Reste du Lot 2 : quand une URL légale n'est pas renseignée, le libellé sort en
   <span> et non en <a> — il doit garder la couleur des liens du prototype. */
.ft__legal div span{color:var(--muted-3);}

@media (max-width:768px){
  .ft a{display:inline-flex;align-items:center;min-height:44px;}
}

/* Lot 15 — réseaux sociaux sous l'e-mail, pied de page ET encadré « Siège » de
   la page Contact (même `.ft__contact`, même part). Écart assumé au design
   validé (JOURNAL 2026-09-14) : rien n'est rendu tant qu'aucune URL n'est
   saisie. Fond sombre aux deux emplacements (`.ft`, `.box--dark`) : une seule
   déclinaison (D5). Cible 44 × 44 px (WCAG 2.5.8) ; l'icône fait 18 px, la
   marge négative aligne son bord gauche sur le texte. Couleurs : celles des
   liens du pied de page (`--muted-3`, survol `--orange`) ; le focus visible
   est celui de `base.css`. Aucun radius, aucune ombre. */
.ft__social{display:flex;flex-wrap:wrap;gap:0 4px;margin:4px 0 0 -13px;}
.ft__social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-height:44px;color:var(--muted-3);}
.ft__social a:hover,.ft__social a:focus-visible{color:var(--orange);}
.ft__social svg{display:block;width:18px;height:18px;}
