/* Footer legal mention collé en bas à gauche */
.footer-contact-inner {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.footer-legal {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: #e7e7e7;
  padding: 10px 24px 14px 24px;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  box-sizing: border-box;
}

.footer-legal--mobile {
  display: none;
  position: static;
  padding: 16px;
  background: rgba(0, 0, 0, 0.75);
  margin-top: 0px;
}

.footer-legal-link {
  background: linear-gradient(135deg, #00ff88, #00ccff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  font-weight: 600;
}



/* Footer */
.site-footer {
  margin-top: 80px;
  padding: clamp(24px, 5vw, 40px);
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-bottom: 0px;
}

.footer-container {
  width: min(100%);
  margin: 0 auto;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 0;
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.08);
}

.footer-contact-card {
  background: linear-gradient(135deg, #21185d 20%,  #050533 100%);
  position: relative;
  color: #fff;
  display: flex;
}

.footer-contact-card::after,
.footer-contact-card::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(114, 83, 255, 0.38);
}

.footer-contact-card::before {
  width: 240px;
  height: 240px;
  bottom: -70px;
  right: -60px;
  background: rgba(114, 83, 255, 0.6);
}

.footer-contact-card::after {
  width: 180px;
  height: 180px;
  bottom: -36px;
  right: 80px;
}

.footer-contact-inner {
  position: relative;
  padding: clamp(32px, 6vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.footer-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 700;
  margin: 0;
}

.footer-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

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

.footer-contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.footer-icon svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.footer-label {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.footer-value,
.footer-value a {
  margin: 6px 0 0 0;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.5;
}

.footer-value a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
}

.footer-social-link {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: rgba(255, 255, 255, 0.22);
}

.footer-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.footer-social-icon svg {
  width: 22px;
  height: 22px;
  fill: #fff;
}

.footer-form-panel {
  --panel-padding-block: clamp(32px, 6vw, 56px);
  --panel-padding-inline: clamp(32px, 6vw, 56px);
  background: #ffffff;
  padding: var(--panel-padding-block) var(--panel-padding-inline);
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

.footer-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.footer-form-row.footer-form-row-contact {
  margin: 0.5em 0;
}

.footer-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
  color: #1f2937;
}

.footer-field span {
  font-weight: 600;
}

.footer-field input,
.footer-field textarea {
  border: none;
  border-bottom: 1px solid #d1d5db;
  padding: 12px 4px 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  resize: vertical;
  background: transparent;
}

.footer-field input:focus,
.footer-field textarea:focus {
  outline: none;
  border-color: #050533;
}

.footer-form-actions {
  display: flex;
  justify-content: flex-end;
}

.footer-submit {
  background: #111827;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.12);
}

.footer-map {
  margin-top: auto;
  margin-left: calc(-1 * var(--panel-padding-inline));
  margin-right: calc(-1 * var(--panel-padding-inline));
  margin-bottom: calc(-1 * var(--panel-padding-block));
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 32px;
  overflow: hidden;
}

.footer-map iframe {
  width: 100%;
  min-height: clamp(240px, 28vw, 320px);
  border: none;
  border-radius: 0;
  display: block;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: clamp(24px, 6vw, 40px);
    align-items: flex-start;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    border-radius: 24px;
  }

  .footer-map iframe {
    min-height: 240px;
  }

  .footer-contact-inner {
    gap: 24px;
  }

  .footer-form-panel {
    --panel-padding-block: 32px;
    --panel-padding-inline: 26px;
    padding: 32px 26px;
  }

  .footer-map {
    margin: 0;
    border-radius: 20px;
  }

  .footer-map iframe {
    border-radius: 20px;
  }
}

@media (max-width: 700px) {

.site-footer {

  padding: 0;

}

.footer-container {
  width: 100%;
  margin:  auto;
  background: #ffffff;
  border-radius: 0px;
}



  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-contact-inner {
    gap: 24px;
  }

  .footer-social {
    justify-content: flex-start;
  }
  .footer-form-row {
    grid-template-columns: 1fr;
  }

  .footer-legal--desktop {
    display: none;
  }

  .footer-legal--mobile {
    display: block;
  }
}