/* === Footer global — LNK Design Touch (v3 — style maquette) === */

.site-footer {
  background: #0B1F1C;
  color: rgba(255, 249, 240, 0.72);
  padding: clamp(48px, 6vw, 72px) 0 24px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 249, 240, 0.06);
  margin-top: clamp(64px, 8vw, 96px);
}
.site-footer a { color: rgba(255, 249, 240, 0.72); text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #7EE0D0; }
.site-footer ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.site-footer li { margin-bottom: 8px; list-style: none !important; }

/* ============================================================
   DESKTOP — 4 colonnes : Brand · Nav · Apps · Socials
   ============================================================ */
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 249, 240, 0.08);
}

/* Colonne 1 : Branding + contact */
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { display: inline-block; max-width: 200px; margin-bottom: 4px; }
.footer-logo img { width: 100%; height: auto; display: block; }
.footer-hashtag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #7EE0D0;
  margin: 0;
}
.footer-slogan {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 249, 240, 0.6);
  margin: 0 0 8px;
}
.footer-brand-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 4px;
}
.footer-brand-contact a {
  font-size: 0.85rem;
  color: rgba(255, 249, 240, 0.8);
}
.footer-brand-location {
  font-size: 0.82rem;
  color: rgba(255, 249, 240, 0.5);
  margin: 8px 0 0;
  line-height: 1.5;
}
.footer-brand-location small { color: rgba(255, 249, 240, 0.4); font-size: 0.76rem; }

/* Labels de colonnes */
.footer-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7EE0D0;
  margin: 0 0 14px;
}

/* Colonnes Nav + Apps */
.footer-col ul li { margin-bottom: 6px; }
.footer-col ul li a { font-size: 0.9rem; display: inline-block; padding: 1px 0; }
.footer-col ul li a[aria-current="page"] { color: #7EE0D0; font-weight: 600; }
.footer-all-apps { color: #7EE0D0 !important; font-weight: 600; }
.footer-all-apps span { display: inline-block; transition: transform .2s ease; }
.footer-all-apps:hover span { transform: translateX(4px); }

/* Colonne 4 : Socials */
.footer-col-socials .social-grid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 240px;
}
.social-link {
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 249, 240, 0.05);
  border: 1px solid rgba(255, 249, 240, 0.08);
  transition: all .2s ease;
  flex: 0 0 34px;
}
.social-link:hover {
  background: rgba(0, 150, 136, 0.2);
  border-color: rgba(126, 224, 208, 0.4);
  transform: translateY(-2px);
}
.social-link .brand-icon { width: 15px; height: 15px; fill: currentColor; }

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  font-size: 0.78rem;
  color: rgba(255, 249, 240, 0.45);
  flex-wrap: wrap;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 249, 240, 0.55); }
.footer-bottom a:hover { color: #7EE0D0; }

/* ============================================================
   TABLETTE — 2x2 grid : Brand | Socials / Nav | Apps
   ============================================================ */
@media (max-width: 960px) and (min-width: 561px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand socials"
      "nav apps";
    gap: 32px 40px;
  }
  .footer-brand         { grid-area: brand; }
  .footer-col-socials   { grid-area: socials; }
  .footer-col-nav       { grid-area: nav; }
  .footer-col-apps      { grid-area: apps; }
  .footer-col-socials .social-grid { max-width: 100%; }
}

/* ============================================================
   MOBILE — Brand / Nav+Apps côte à côte / Socials
   ============================================================ */
@media (max-width: 560px) {
  .site-footer { padding: clamp(40px, 8vw, 56px) 0 20px; }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "nav apps"
      "socials socials";
    gap: 28px 20px;
    padding-bottom: 28px;
  }
  .footer-brand         { grid-area: brand; }
  .footer-col-nav       { grid-area: nav; }
  .footer-col-apps      { grid-area: apps; }
  .footer-col-socials   { grid-area: socials; }

  .footer-col ul li a { font-size: 0.86rem; }
  .footer-col .footer-label { font-size: 0.68rem; margin-bottom: 10px; }
  .footer-col-apps ul li a { word-break: break-word; }

  .footer-col-socials .social-grid { max-width: 100%; gap: 6px; }
  .social-link { width: 32px; height: 32px; flex: 0 0 32px; }
  .social-link .brand-icon { width: 14px; height: 14px; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding-top: 20px;
    font-size: 0.74rem;
  }
}
