/* ===================================================================
   SOS EHPAD — FOOTER
   Prefixe : seh-ft-
   =================================================================== */

/* --- Variables CSS --- */
.seh-ft-footer, .seh-ft-footer * {
  box-sizing: border-box;
}
.seh-ft-footer {

  background: linear-gradient(180deg, var(--sos-navy) 0%, var(--sos-navy-dark) 100%);
  color: var(--sos-white);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  position: relative;
}

/* Accent line top - matches header gradient */
.seh-ft-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sos-blue) 0%, var(--sos-teal) 40%, var(--sos-green-alt) 100%);
}

/* --- Main footer grid --- */
.seh-ft-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}

/* --- Column titles --- */
.seh-ft-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--sos-teal);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.seh-ft-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--sos-teal);
  border-radius: 1px;
}

/* --- Identity column --- */
.seh-ft-identity {
  padding-right: 20px;
}
.seh-ft-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.seh-ft-logo {
  height: 44px !important;
  width: auto !important;
  max-height: 44px !important;
}
.seh-ft-logo-text {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--sos-white);
}
.seh-ft-logo-text .seh-ft-sos {
  color: var(--sos-teal);
  font-weight: 800;
}
.seh-ft-desc {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.seh-ft-desc strong {
  color: var(--sos-white);
  font-weight: 600;
}

/* Social links */
.seh-ft-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.seh-ft-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--sos-white);
  transition: background 0.25s, transform 0.25s;
}
.seh-ft-social a:hover {
  background: var(--sos-teal);
  transform: translateY(-2px);
}
.seh-ft-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- Link lists --- */
.seh-ft-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.seh-ft-links li {
  margin-bottom: 10px;
}
.seh-ft-links a {
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
  display: inline-block;
  position: relative;
}
.seh-ft-links a:hover {
  color: var(--sos-green-alt);
  padding-left: 6px;
}
.seh-ft-links a::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--sos-teal);
  opacity: 0;
  transition: opacity 0.2s;
}
.seh-ft-links a:hover::before {
  opacity: 1;
}

/* --- Newsletter column --- */
.seh-ft-newsletter-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.seh-ft-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--sos-blue) 0%, var(--sos-teal) 100%);
  color: var(--sos-white);
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--sos-radius-sm);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  font-family: inherit;
  letter-spacing: 0.3px;
}
.seh-ft-newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 108, 176, 0.4);
}
.seh-ft-newsletter-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Academy badge */
.seh-ft-academy {
  margin-top: 24px;
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--sos-radius-sm);
}
.seh-ft-academy-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sos-green-alt);
  margin-bottom: 8px;
}
.seh-ft-academy-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.seh-ft-academy-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--sos-green-alt);
  text-decoration: none;
  transition: gap 0.2s;
}
.seh-ft-academy-link:hover {
  gap: 10px;
}

/* --- Bottom bar --- */
.seh-ft-bottom {
  background: rgba(0,0,0,0.15);
}
.seh-ft-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.seh-ft-copyright {
  font-size: 15px;
}
.seh-ft-legal {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.seh-ft-legal a {
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}
.seh-ft-legal a:hover {
  color: var(--sos-white);
}
.seh-ft-legal-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .seh-ft-inner {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .seh-ft-identity {
    grid-column: 1 / -1;
    padding-right: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
  }
  .seh-ft-identity .seh-ft-desc {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .seh-ft-inner {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px 32px;
    gap: 28px;
  }
  .seh-ft-identity {
    grid-column: 1 / -1;
    flex-direction: column;
  }
  .seh-ft-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .seh-ft-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .seh-ft-inner {
    grid-template-columns: 1fr;
    padding: 32px 20px 24px;
    gap: 24px;
  }
  .seh-ft-title {
    font-size: 15px;
  }
  .seh-ft-newsletter-btn {
    width: 100%;
    justify-content: center;
  }
}
