/* ==========================================================================
   DAMET — SECTION : FOOTER PREMIUM V1.5
   Conclusion architecturale & coordonnées complètes de l'entreprise
   Mise en valeur de la proposition HOSA Group & maquette de démonstration
   ========================================================================== */

/* 1. CONTENEUR GLOBAL DU FOOTER */
footer.site-footer,
#site-footer.site-footer {
  position: relative;
  display: block !important;
  width: 100%;
  background-color: var(--ink, #1e2448) !important;
  color: var(--stone, #f5f1ea) !important;
  padding: 0 !important;
  margin: 0;
  border-top: 1px solid rgba(245, 241, 234, 0.12);
  font-family: var(--sans, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
  box-sizing: border-box;
  overflow: hidden;
}

/* 2. ZONE PRINCIPALE — GRILLE À 3 COLONNES */
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(64px, 7.5vw, 96px) clamp(24px, 6.8vw, 110px) clamp(52px, 6vw, 76px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.25fr) minmax(0, 0.85fr);
  gap: clamp(40px, 5.5vw, 84px);
  align-items: start;
}

/* ==========================================================================
   COLONNE 1 : IDENTITÉ & RAISON SOCIALE
   ========================================================================== */
.footer-col-identity {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.footer-brand {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.footer-brand:focus-visible {
  outline: 2px solid var(--mineral, #6fa9c7);
  outline-offset: 4px;
}

/* Annulation du filtre monochrome de site.css pour afficher le logo SVG clair authentique */
footer.site-footer img.footer-logo-img,
#site-footer img.footer-logo-img {
  display: block;
  width: clamp(170px, 16vw, 210px);
  height: auto;
  max-height: 110px;
  filter: none !important;
}

.footer-identity-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-company-name {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone, #f5f1ea);
}

.footer-siren-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #9da7c0;
}

.footer-siren-badge strong {
  font-weight: 600;
  color: #c4cce0;
}

.footer-tagline {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #a4adc5;
  max-width: 340px;
}

/* ==========================================================================
   COLONNE 2 : COORDONNÉES DE L'ENTREPRISE
   ========================================================================== */
.footer-col-contact {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-col-heading {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mineral, #6fa9c7);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-heading::after {
  content: "";
  height: 1px;
  width: 28px;
  background: rgba(111, 169, 199, 0.45);
}

/* Adresse physique */
.footer-address-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
}

.footer-sublabel {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8c96b2;
}

.footer-address-text {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--stone, #f5f1ea);
}

.footer-address-text span {
  display: block;
}

/* Bloc téléphones cliquables */
.footer-phones-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-phone-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 2px solid rgba(111, 169, 199, 0.35);
  border-radius: 2px;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.footer-phone-card.is-primary {
  background: rgba(111, 169, 199, 0.08);
  border-left-color: var(--mineral, #6fa9c7);
}

.footer-phone-card:hover {
  background: rgba(111, 169, 199, 0.14);
  border-left-color: var(--stone, #f5f1ea);
}

.footer-phone-card .footer-phone-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9da8c4;
}

.footer-phone-card.is-primary .footer-phone-tag {
  color: #c4d7e8;
}

.footer-phone-link {
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--stone, #f5f1ea);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-phone-card.is-primary .footer-phone-link {
  font-size: 17px;
  color: #ffffff;
}

.footer-phone-link:hover {
  color: var(--mineral, #6fa9c7);
  transform: translateX(2px);
}

.footer-phone-link:focus-visible {
  outline: 2px solid var(--mineral, #6fa9c7);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   COLONNE 3 : NAVIGATION & HAUT DE PAGE
   ========================================================================== */
.footer-col-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-menu a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #c0c7dc;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 3px 0;
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-nav-menu a::before {
  content: "—";
  font-size: 11px;
  color: rgba(111, 169, 199, 0.6);
  transition: color 0.22s ease, transform 0.22s ease;
}

.footer-nav-menu a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-nav-menu a:hover::before {
  color: var(--mineral, #6fa9c7);
}

.footer-nav-menu a:focus-visible {
  outline: 2px solid var(--mineral, #6fa9c7);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Bouton élégant de retour en haut de page */
.footer-back-to-top {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(245, 241, 234, 0.2);
  border-radius: 2px;
  color: var(--stone, #f5f1ea);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  width: fit-content;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-back-to-top b {
  font-size: 14px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover {
  background: rgba(111, 169, 199, 0.18);
  border-color: var(--mineral, #6fa9c7);
  color: #ffffff;
}

.footer-back-to-top:hover b {
  transform: translateY(-3px);
}

.footer-back-to-top:focus-visible {
  outline: 2px solid var(--mineral, #6fa9c7);
  outline-offset: 3px;
}

/* ==========================================================================
   BANDEAU INFÉRIEUR : VALORISATION HOSA GROUP & NOTE DE DÉMONSTRATION
   ========================================================================== */
.footer-bottom-bar {
  border-top: 1px solid rgba(245, 241, 234, 0.14);
  background: rgba(18, 22, 46, 0.65);
  padding: 28px clamp(24px, 6.8vw, 110px) 32px;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

/* Titre principal HOSA Group calibré entre 17px et 19px */
.footer-hosa-title {
  margin: 0;
  font-family: 'Manrope', var(--sans, 'Inter', sans-serif);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--stone, #f5f1ea);
}

.footer-hosa-accent {
  font-weight: 700;
  color: var(--mineral, #6fa9c7);
  letter-spacing: 0.01em;
  display: inline-block;
}

/* Note de démonstration indépendante */
.footer-disclaimer {
  margin: 0;
  font-family: var(--sans, 'Inter', sans-serif);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #929bb4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-disclaimer-separator {
  color: rgba(111, 169, 199, 0.45);
  font-size: 11px;
}

/* ==========================================================================
   RESPONSIVE DESIGN DU FOOTER
   ========================================================================== */

/* Écrans intermédiaires / Tablettes <= 960px */
@media (max-width: 960px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px 36px;
    padding-top: 54px;
    padding-bottom: 48px;
  }
  .footer-col-identity {
    grid-column: 1 / -1;
  }
  .footer-tagline {
    max-width: 520px;
  }
}

/* Mobile <= 680px */
@media (max-width: 680px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 44px;
    padding-bottom: 42px;
    padding-left: 20px;
    padding-right: 20px;
  }
  .footer-col-identity {
    gap: 18px;
  }
  footer.site-footer img.footer-logo-img,
  #site-footer img.footer-logo-img {
    width: 175px;
  }
  .footer-col-contact {
    gap: 20px;
  }
  .footer-phone-card {
    padding: 12px 14px;
  }
  .footer-phone-link {
    min-height: 38px;
  }
  .footer-col-nav {
    gap: 20px;
  }
  .footer-back-to-top {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
  }
  .footer-bottom-bar {
    padding: 24px 20px 28px;
  }
  .footer-hosa-title {
    font-size: 16px;
  }
  .footer-disclaimer {
    font-size: 11.5px;
    gap: 6px;
    line-height: 1.5;
  }
}

/* Accessibilité : réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  .footer-brand,
  .footer-phone-link,
  .footer-nav-menu a,
  .footer-back-to-top,
  .footer-back-to-top b {
    transition: none !important;
    transform: none !important;
  }
}
