/* ========================================
   FOOTER - Style unifié bleu marine foncé
   ======================================== */

.site-footer {
  background-color: #162d3d;
  color: #ffffff;
  padding: 48px 0 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

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

/* Logo footer */
.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  object-position: left;
  margin-bottom: 2px;
}

.footer-description,
.footer-col > .text-small-thin {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
  margin: 0;
}

.footer-title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #5FBFAB;
  margin-bottom: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Navigation en 2 colonnes */
.footer-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 16px;
}

.footer-links li a,
.footer-links .text-link {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links li a:hover,
.footer-links .text-link:hover {
  color: #5FBFAB;
}

.footer-links li p,
.footer-links .text-small-thin {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.4;
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-align: center;
}

.footer-bottom p,
.footer-bottom .text-small-thin {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
}

.footer-credit {
  margin-top: 8px !important;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #5FBFAB;
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Tablette */
@media (max-width: 1023px) {
  .site-footer {
    padding: 40px 0 16px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .footer-description,
  .footer-col > .text-small-thin {
    max-width: 100%;
  }

  .footer-logo {
    height: 50px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .site-footer {
    padding: 32px 0 16px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-logo {
    height: 44px;
    object-position: center;
  }

  .footer-description,
  .footer-col > .text-small-thin {
    max-width: 280px;
    text-align: center;
  }

  .footer-title {
    font-size: 10px;
  }

  .footer-links li a,
  .footer-links .text-link {
    font-size: 12px;
  }

  .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
  }

  .footer-bottom {
    padding-top: 12px;
  }

  .footer-bottom p,
  .footer-bottom .text-small-thin {
    font-size: 10px;
  }
}
