/* ── footer.css — Pavé hero de footer Jeunes Médecins ───────────────────── */

#colophon,
.site-footer-wrap,
.site-footer-section {
  background: linear-gradient(180deg, #16345f 0%, var(--jm-night, #10294f) 100%);
}

#colophon {
  margin-top: 64px;
  padding-top: 8px;
}

#colophon .site-footer-wrap,
#colophon .site-footer-section,
#colophon .site-bottom-footer-wrap,
#colophon .site-middle-footer-wrap,
#colophon .site-top-footer-wrap {
  background: transparent;
}

#colophon .site-footer-row-container-inner,
#colophon .site-footer-section-inner-items,
#colophon .footer-widget-area,
#colophon .footer-navigation {
  position: relative;
  z-index: 1;
}

#colophon .site-footer-row-container {
  padding-inline: 24px;
}

#colophon .site-top-footer-wrap {
  padding-top: 28px;
  padding-bottom: 20px;
}

#colophon .site-middle-footer-wrap {
  padding-top: 12px;
  padding-bottom: 12px;
}

#colophon .site-bottom-footer-wrap {
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#colophon .site-footer-section,
#colophon .site-footer-row-container {
  color: rgba(255, 255, 255, 0.82);
}

#colophon .footer-widget-area a,
#colophon .site-footer-section a,
#colophon .footer-navigation a,
#colophon .site-bottom-footer-wrap a {
  color: var(--jm-surface, #ffffff);
}

#colophon .site-footer-section p,
#colophon .site-footer-section li,
#colophon .site-footer-section span,
#colophon .site-bottom-footer-wrap,
#colophon .site-bottom-footer-wrap p {
  color: rgba(255, 255, 255, 0.72);
}

#colophon .footer-widget-area,
#colophon .footer-navigation,
#colophon .footer-social-wrap {
  font-size: 16px;
}

#colophon .footer-widget-area ul,
#colophon .footer-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

#colophon .footer-widget-area li,
#colophon .footer-navigation li {
  display: block;
  margin: 0 0 12px;
}

#colophon .footer-widget-area a,
#colophon .footer-navigation a {
  text-decoration: none;
  opacity: 0.92;
}

#colophon .footer-widget-area a:hover,
#colophon .footer-navigation a:hover,
#colophon .site-bottom-footer-wrap a:hover {
  opacity: 1;
  color: var(--jm-surface, #ffffff);
}

#colophon .footer-social-wrap {
  display: flex;
  justify-content: center;
}

#colophon .footer-social-inner-wrap {
  gap: 10px;
}

#colophon .footer-social-wrap a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

#colophon .footer-social-wrap a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.jm-footer-pave {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding: clamp(40px, 5vw, 60px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  color: var(--jm-surface, #ffffff);
  background: linear-gradient(135deg, #1f4385 0%, #23488d 58%, #365fa4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 40px rgba(0, 0, 0, 0.16);
}

.jm-footer-pave__copy,
.jm-footer-pave__stats {
  min-width: 0;
}

.jm-footer-pave__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.jm-footer-pave__eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  margin-bottom: 18px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(151, 203, 255, 0.18);
  border: 1px solid rgba(181, 218, 255, 0.22);
  color: #b9dcff;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.jm-footer-pave__title {
  max-width: 209ch;
  margin: 0;
  color: var(--jm-surface, #ffffff);
  font-size: clamp(34px, 4.3vw, 45px);
  line-height: 0.98;
  text-wrap: balance;
  text-align: left;
}

.jm-footer-pave__text {
  max-width: 30ch;
  margin: 26px 0 0;
  color: rgba(227, 237, 255, 0.8);
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
}

.jm-footer-pave__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  justify-content: flex-start;
}

.jm-footer-pave__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.jm-footer-pave__cta:hover,
.jm-footer-pave__cta:focus-visible {
  transform: translateY(-1px);
}

.jm-footer-pave__cta--primary {
  color: var(--jm-night, #10294f);
  background: var(--jm-surface, #ffffff);
}

.jm-footer-pave__cta--primary,
.jm-footer-pave__cta--primary:visited,
#colophon .jm-footer-pave__cta--primary,
#colophon .jm-footer-pave__cta--primary:visited {
  color: var(--jm-night, #10294f) !important;
}

.jm-footer-pave__stats {
  display: grid;
  gap: 18px;
}

.jm-footer-pave__stat {
  padding: 24px 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(111, 147, 214, 0.18), rgba(111, 147, 214, 0.14));
  border: 1px solid rgba(186, 212, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jm-footer-pave__stat-value {
  margin: 0;
  color: var(--jm-surface, #ffffff) !important;
  font-size: clamp(30px, 3.4vw, 50px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.jm-footer-pave__stat-label {
  margin: 10px 0 0;
  color: rgba(225, 235, 255, 0.72);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.footer-widget-area .widget .jm-footer-pave,
.footer-widget-area .widget_block .jm-footer-pave {
  margin: 0;
}

@media (max-width: 920px) {
  #colophon .site-footer-row-container {
    padding-inline: 16px;
  }

  .jm-footer-pave {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jm-footer-pave__title,
  .jm-footer-pave__text {
    max-width: none;
  }

  #colophon .site-middle-footer-wrap,
  #colophon .site-bottom-footer-wrap {
    text-align: center;
  }

  #colophon .footer-widget-area li,
  #colophon .footer-navigation li {
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .jm-footer-pave {
    padding: 28px;
    border-radius: 24px;
  }

  .jm-footer-pave__actions {
    width: 100%;
    flex-direction: column;
  }

  .jm-footer-pave__cta {
    width: 100%;
  }

  .jm-footer-pave__stat {
    padding: 22px;
  }
}
