/* FOOTER 5 - SPLIT */
.footer-5 {
  display: grid;
  grid-template-columns: 400px 1fr;
}
.footer-5 .left {
  background: var(--secondary);
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer-5 .logo {
  margin-bottom: 20px;
}
.footer-5 .logo-text {
  color: var(--white);
  font-size: 1.5rem;
}
.footer-5 .left p {
  color: var(--white);
  line-height: 1.7;
  margin-bottom: 30px;
}
.footer-5 .contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-5 .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 500;
}
.footer-5 .contact-item svg {
  width: 20px;
  height: 20px;
}
.footer-5 .contact-item a {
  color: var(--white);
  text-decoration: none;
}
.footer-5 .right {
  background: var(--primary);
  color: var(--on-primary);
  padding: 60px 50px;
}
.footer-5 .right-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}
.footer-5 .col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}
.footer-5 .col ul {
  list-style: none;
  padding-left: 0;
}
.footer-5 .col li {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 0.9rem;
}
.footer-5 .col a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-5 .col a:hover {
  color: var(--white);
}
.footer-5 .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-5 .bottom p {
  color: var(--white);
  font-size: 0.85rem;
  margin: 0;
}
.footer-5 .social {
  display: flex;
  gap: 12px;
}
.footer-5 .social a {
  color: var(--gray-light);
  transition: color 0.3s;
}
.footer-5 .social a:hover {
  color: var(--secondary);
}
.footer-5 .social svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .footer-5 {
    grid-template-columns: 1fr;
  }
  .footer-5 .right-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .footer-5 .right-inner {
    grid-template-columns: 1fr;
  }
}

/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.footer-5 .col h4:hover {
  color: var(--secondary);
}

/* ── REGROUPEMENT PAR METIER ──────────────────────────────────────────
   Un intitule ouvre la serie de chaque metier dans la colonne « services ».
   Il n'est pas un lien : c'est un intertitre, pas une destination.

   MONO-METIER : aucun intitule n'est emis, la colonne est celle d'avant.

   LA COULEUR — le pied de page est SOMBRE : la rampe va de --secondary a
   --on-primary, les deux couleurs que le theme garantit lisibles dessus.
   Aucune couleur en dur, aucune variable ajoutee. */
.footer-5__metier {
  --m-couleur: color-mix(in oklab, var(--secondary), var(--on-primary) var(--m-melange, 0%));
  margin-top: 18px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--m-couleur);
}
/* Le premier intitule ouvre la liste : pas d'espace superflu sous le <h4>. */
.footer-5__metier:first-child {
  margin-top: 0;
}
