/* Footer redesign — dark, structured and consistent with Site Créativ'. */
.footer.footer-redesign {
  position: relative;
  overflow: hidden;
  padding: 78px 0 30px;
  border-top: 1px solid rgba(68, 166, 222, 0.16);
  background: radial-gradient(circle at 8% 4%, rgba(15, 119, 190, 0.15), transparent 30%), linear-gradient(180deg, #041025 0%, #020916 100%);
}

.footer.footer-redesign::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, 70vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #44a6de, transparent);
}

.footer-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.95fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
}

.footer-brand-panel,
.footer-directory,
.footer-contact-card { min-width: 0; }

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(68, 166, 222, 0.2));
}

.footer-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand-name {
  color: #f7fbff;
  font-family: "Plus Jakarta Sans", "Poppins", sans-serif;
  font-size: clamp(1.18rem, 1.7vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1;
}

.footer-brand-services {
  color: #71c8f3;
  font-family: "Poppins", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.footer-brand-services span { color: rgba(113, 200, 243, 0.52); }

.footer-brand-panel > p {
  max-width: 470px;
  margin: 24px 0 27px;
  color: rgba(224, 237, 248, 0.68);
  font-size: 0.96rem;
  line-height: 1.75;
}

.footer-project-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(68, 166, 222, 0.55);
  color: #71c8f3;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, gap 180ms ease;
}

.footer-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 44px);
  padding-top: 7px;
}

.footer-column-title {
  margin: 0 0 20px;
  color: #f7fbff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-link-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-link-column li + li { margin-top: 12px; }

.footer-link-column a {
  color: rgba(224, 237, 248, 0.68);
  font-size: 0.9rem;
  line-height: 1.45;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-contact-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(68, 166, 222, 0.22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(10, 31, 63, 0.96), rgba(5, 20, 44, 0.98));
  box-shadow: 0 22px 54px rgba(0, 4, 16, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.footer-contact-eyebrow {
  margin: 0 0 12px;
  color: #71c8f3;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-contact-card h3 {
  margin: 0 0 26px;
  color: #f7fbff;
  font-size: clamp(1.12rem, 1.7vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.footer-contact-list {
  display: grid;
  gap: 10px;
}

.footer-contact-item {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  color: #eef7ff;
  text-decoration: none;
}

.footer-contact-item > i {
  display: inline-grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(68, 166, 222, 0.26);
  border-radius: 12px;
  background: rgba(68, 166, 222, 0.09);
  color: #71c8f3;
  font-size: 1rem;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.footer-contact-item span {
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.footer-contact-item small {
  display: block;
  margin-bottom: 2px;
  color: rgba(224, 237, 248, 0.5);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 54px;
  padding-top: 25px;
  border-top: 1px solid rgba(68, 166, 222, 0.12);
  color: rgba(224, 237, 248, 0.48);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.76rem;
}

.footer-bottom strong {
  color: rgba(238, 247, 255, 0.78);
  font-weight: 600;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.footer-legal a,
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(224, 237, 248, 0.56);
  font: inherit;
  font-size: 0.76rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-signature { text-align: right; }

@media (hover: hover) and (pointer: fine) {
  .footer-project-link:hover {
    gap: 14px;
    border-color: #f8b12e;
    color: #f8b12e;
  }

  .footer-link-column a:hover,
  .footer-legal a:hover,
  .footer-legal button:hover { color: #f8b12e; }

  .footer-link-column a:hover {
    display: inline-block;
    transform: translateX(3px);
  }

  a.footer-contact-item:hover > i {
    border-color: rgba(248, 177, 46, 0.48);
    background: rgba(248, 177, 46, 0.11);
    color: #f8b12e;
  }
}

@media (max-width: 1099.98px) {
  .footer-stage { grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr); }
  .footer-directory {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 680px;
  }
  .footer-bottom { grid-template-columns: 1fr auto; }
  .footer-legal {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .footer.footer-redesign { padding: 58px 0 28px; }
  .footer-stage {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .footer-directory {
    grid-column: auto;
    grid-row: auto;
    gap: 28px;
  }
  .footer-contact-card { border-radius: 20px; }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 42px;
  }
  .footer-legal {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
  }
  .footer-signature { text-align: left; }
}

@media (max-width: 419.98px) {
  .footer-directory { grid-template-columns: 1fr; }
  .footer-brand-panel > p { font-size: 0.92rem; }
}