/* Footer Estudial — forme simple, liens mobilité */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.site-footer {
  margin-top: 1rem;
  color: #fff;
}

.site-footer__newsletter {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  margin-bottom: -2.5rem;
}

.site-footer__newsletter-card {
  display: grid;
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem;
  border: 1px solid rgba(12, 39, 179, 0.1);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow:
    0 4px 8px rgba(22, 28, 36, 0.04),
    0 18px 40px rgba(0, 46, 88, 0.1);
}

@media (min-width: 900px) {
  .site-footer__newsletter-card {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 2rem;
  }
}

.site-footer__newsletter-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1f33;
}

.site-footer__newsletter-lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #637381;
}

.site-footer__newsletter-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  border: 1px solid rgba(12, 39, 179, 0.14);
  border-radius: 999px;
  background: #f8fbff;
}

.site-footer__newsletter-field .hgi,
.site-footer__newsletter-field i {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--color-primary, #0c27b3) !important;
}

.site-footer__newsletter-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 0.9375rem;
  color: #0b1f33;
  outline: none;
}

.site-footer__newsletter-btn {
  flex-shrink: 0;
  border-radius: 999px !important;
  padding: 0.65rem 1.1rem !important;
  white-space: nowrap;
}

.site-footer__main {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 1.75rem;
  background:
    radial-gradient(ellipse 55% 50% at 8% 0%, rgba(61, 82, 212, 0.35) 0%, transparent 55%),
    linear-gradient(165deg, #0c27b3 0%, #002e58 55%, #001433 100%);
  border-radius: 1.5rem 1.5rem 0 0;
}

@media (min-width: 768px) {
  .site-footer__main {
    padding-top: 5rem;
    border-radius: 2rem 2rem 0 0;
  }
}

.site-footer__grid {
  display: grid;
  gap: 2rem 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .site-footer__grid {
    grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.85fr)) minmax(0, 1fr);
    gap: 2rem 1.75rem;
  }
}

.site-footer__logo {
  display: inline-flex;
}

.site-footer__logo img {
  display: block;
  height: 2.25rem;
  width: auto;
}

.site-footer__desc {
  margin: 1rem 0 0;
  max-width: 22rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__corridor {
  margin: 0.85rem 0 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #93c5fd;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.site-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.18s ease;
}

.site-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.18);
}

.site-footer__social-link .hgi,
.site-footer__social-link i {
  font-size: 1.15rem;
  color: #fff !important;
}

.site-footer__col-title {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-footer__list a:hover {
  color: #fff;
}

.site-footer__list--contact a .hgi,
.site-footer__list--contact a i {
  font-size: 1rem;
  color: #93c5fd !important;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

@media (min-width: 768px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal a {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: #fff;
}
