/* ==========================================================
   FOOTER COMMUN — VERSION FINALE PILOTE
   Installé uniquement sur contact.html pour validation.
   ========================================================== */

.site-footer.footer-pilot {
  display: block;
  margin: 0;
  padding: 0;
  border-top: 0;
  background: #274f68;
  color: rgba(255,255,255,.88);
  font-family: Arial, Helvetica, sans-serif;
}

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

.footer-pilot .footer-inner {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 1.08fr .95fr 1fr;
  gap: clamp(46px, 7vw, 92px);
  align-items: start;
}

.footer-pilot a {
  color: inherit;
  text-decoration: none;
  transition: color 160ms ease;
}

.footer-pilot a:hover,
.footer-pilot a:focus-visible {
  color: #a9c46c;
}

.footer-identity {
  padding-top: 1px;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-brand-logo {
  display: block;
  width: min(295px, 100%);
  height: auto;
  margin: 0 0 22px;
}

.footer-signature {
  max-width: 310px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.48;
}

.footer-linkedin {
  width: 34px;
  height: 34px;
  margin-top: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ffffff;
  color: #274f68 !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  text-decoration: none;
  transition: transform 160ms ease, color 160ms ease;
}

.footer-linkedin span {
  display: block;
  position: relative;
  left: -1px;
  top: -1px;
  color: inherit;
}

.footer-linkedin:hover,
.footer-linkedin:focus-visible {
  background: #ffffff;
  color: #718e48 !important;
  transform: translateY(-1px);
}

.footer-heading {
  margin: 2px 0 17px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.footer-nav,
.footer-service-links {
  display: grid;
}

.footer-nav {
  gap: 10px;
  font-size: .97rem;
}

.footer-nav > a,
.footer-service-links a,
.footer-contact-link {
  width: fit-content;
  line-height: 1.45;
}

.footer-nav-group {
  margin: 2px 0 1px;
}

.footer-nav-label {
  display: block;
  margin-bottom: 9px;
  color: #fff;
  font-weight: 700;
}

.footer-service-links {
  gap: 8px;
  padding-left: 13px;
  border-left: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.78);
  font-size: .93rem;
}

.footer-contact-block + .footer-contact-block {
  margin-top: 25px;
}

.footer-contact-block p {
  max-width: 330px;
  margin: 0 0 9px;
  color: rgba(255,255,255,.82);
  font-size: .97rem;
  line-height: 1.52;
}

.footer-contact-link {
  display: inline-block;
  color: #fff !important;
  font-size: .96rem;
  font-weight: 700;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: #a9c46c !important;
}

.footer-bottom {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
  padding: 17px 0 21px;
  border-top: 1px solid rgba(255,255,255,.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: rgba(255,255,255,.64);
  font-size: .81rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255,255,255,.72);
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: #a9c46c;
}

@media (max-width: 900px) {
  .footer-pilot .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 56px;
  }

  .footer-identity {
    grid-column: 1 / -1;
  }

  .footer-brand-logo {
    width: min(280px, 100%);
  }
}

@media (max-width: 620px) {
  .footer-pilot .footer-inner {
    width: min(100% - 36px, 1180px);
    padding: 40px 0 30px;
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-identity {
    grid-column: auto;
  }

  .footer-brand-logo {
    width: min(270px, 90%);
  }

  .footer-bottom {
    width: min(100% - 36px, 1180px);
    padding: 16px 0 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}
