/* ============================================================
   Avrile — Footer
   Gradient orange-rouge, wordmark qui grossit au scroll.
   ============================================================ */

.avr-footer {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 85vh;
  background: var(--avr-color-red);
}

.avr-footer .avr-aurora {
  inset: -6%;
  max-width: none;
  max-height: none;
}

/* ----------------------------------------------------------
   Barre d'infos — 2 colonnes aux extrémités
---------------------------------------------------------- */
.avr-footer__top {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: clamp(28px, 3.5vh, 48px) clamp(28px, 4.5vw, 76px);
}

.avr-footer__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.avr-footer__col--right {
  text-align: right;
  align-items: flex-end;
}

.avr-footer__col p,
.avr-footer__col a {
  font-family: var(--avr-font-mono);
  font-size: var(--avr-text-label);
  font-weight: var(--avr-weight-regular);
  letter-spacing: 0.02em;
  line-height: 1.6;
  color: var(--avr-color-white);
  text-decoration: none;
  margin: 0;
}

/* ----------------------------------------------------------
   Icônes social
---------------------------------------------------------- */
.avr-footer__social {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.avr-footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: var(--avr-color-white);
  flex-shrink: 0;
}

.avr-footer__social-btn svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ----------------------------------------------------------
   Logo — ancré sous la barre, grossit au scroll (JS)
   Toujours coupé en bas : minW calculé dynamiquement par le JS
   en fonction de la hauteur disponible dans le footer.
---------------------------------------------------------- */
.avr-footer__logo-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30vw;
  z-index: 0;
  line-height: 0;
}

.avr-footer__logo {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  color: var(--avr-color-white);
}

/* ----------------------------------------------------------
   Responsive
---------------------------------------------------------- */
@media (max-width: 768px) {
  .avr-footer {
    min-height: 50vh;
  }

  .avr-footer__top {
    flex-direction: column;
    gap: clamp(24px, 4vh, 40px);
  }

  .avr-footer__col--right {
    text-align: left;
    align-items: flex-start;
  }
}
