

.site-footer {
  padding: clamp(48px, 7vw, 78px) 0 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--c-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.35fr) repeat(3, minmax(160px, 0.85fr));
  gap: clamp(26px, 4vw, 48px);
  align-items: start;
}

.footer-brand p {
  max-width: 440px;
  margin-top: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo strong {
  display: block;
  color: var(--c-white);
  font-family: var(--f-primary);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1;
}

.footer-logo small {
  display: block;
  margin-top: 8px;
  color: #e3b879;
  font-weight: 800;
  line-height: 1.35;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: var(--c-white);
  transition: transform var(--t-slow), background var(--t-slow);
}

.footer-socials a:hover {
  transform: translateY(-5px);
  background: var(--c-primary);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-toggle {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.footer-heading {
  color: var(--c-white);
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-heading span {
  display: none;
}

.footer-dropdown-content {
  display: grid;
  gap: 9px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--t-slow), transform var(--t-slow);
}

.footer-col a:hover {
  color: #e3b879;
  transform: translateX(4px);
}

.footer-labels .footer-dropdown-content > span {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
}

.footer-bottom {
  margin-top: 44px;
  padding: 20px clamp(18px, 5vw, 56px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: var(--fs-sm);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--fs-sm);
}

.footer-legal a:hover {
  color: #e3b879;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1.15fr 1fr;
  }

  .footer-brand {
    max-width: 520px;
  }

  .footer-bottom {
    align-items: center;
  }
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-brand p {
    margin: 14px auto 0;
    font-size: 0.94rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-logo strong {
    font-size: 1.35rem;
  }

  .footer-logo small {
    max-width: 210px;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-dropdown {
    padding: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-heading {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    text-align: left;
  }

  .footer-heading span {
    width: 10px;
    height: 10px;
    display: block;
    border-right: 2px solid #e3b879;
    border-bottom: 2px solid #e3b879;
    transform: rotate(45deg);
    transition: transform var(--t-slow);
  }

  .footer-dropdown-content {
    max-height: 0;
    overflow: hidden;
    gap: 8px;
    opacity: 0;
    text-align: left;
    transition: max-height var(--t-slow), opacity var(--t-slow), padding var(--t-slow);
  }

  .footer-toggle:checked + .footer-heading span {
    transform: rotate(225deg);
  }

  .footer-toggle:checked + .footer-heading + .footer-dropdown-content {
    max-height: 260px;
    padding-bottom: 12px;
    opacity: 1;
  }

  .footer-labels .footer-dropdown-content > span {
    padding: 7px 10px;
  }

  .footer-bottom {
    margin-top: 24px;
  }
}

@media (max-width: 620px) {
  .footer-logo strong {
    font-size: 1.2rem;
  }

  .footer-logo small {
    margin-inline: auto;
  }

  .footer-copy {
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Copyright RZU Informatique */
