/* ================= FOOTER ================= */
.footer.section-carte { margin: 72px auto 24px; }

/* --- Rangée 1 : marque + newsletter --- */
.footer__haut {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer__logo {
  font-family: var(--f-display);
  font-size: 34px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  display: inline-block;
}
.footer__logo b { color: var(--encre); }

.footer__baseline {
  display: block;
  font-family: var(--f-script);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
  transform: rotate(-3deg);
  margin-top: 4px;
}

.footer__news-label {
  display: inline-block;
  font-family: var(--f-script);
  font-size: 27px;
  font-weight: 600;
  color: #fff;
  transform: rotate(-2deg);
  margin-bottom: 14px;
}

.footer__form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer__input {
  font-family: var(--f-corps);
  font-size: 15px;
  color: var(--encre);
  background: #fff;
  border: 0;
  border-radius: var(--r-pilule);
  padding: 12px 24px 13px;
  min-width: 270px;
  outline-offset: 3px;
}
.footer__input::placeholder { color: #9a938c; }

.footer__merci {
  margin-top: 14px;
  font-family: var(--f-script);
  font-size: 25px;
  font-weight: 600;
  color: #fff;
  transform: rotate(-1.5deg);
}
.footer__merci[hidden] { display: none; }

/* --- Rangée 2 : colonnes de liens --- */
.footer__colonnes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 52px;
}
.footer__col h4 {
  font-family: var(--f-corps);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer__col li + li { margin-top: 10px; }
.footer__col a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.25s ease;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }

/* --- Séparateur --- */
.footer__separateur {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  margin-bottom: 26px;
}

/* --- Rangée 3 : copyright + réseaux --- */
.footer__bas {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__copyright { font-size: 14px; color: rgba(255, 255, 255, 0.7); }

.footer__reseaux { display: flex; gap: 12px; }
.footer__reseaux a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: var(--terracotta);
  font-family: var(--f-corps);
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.footer__reseaux a:hover { transform: translateY(-4px); }

/* --- Responsive --- */
@media (max-width: 991px) {
  .footer__colonnes { gap: 28px; }
}

@media (max-width: 767px) {
  .footer.section-carte { margin: 56px 14px 14px; }
  .footer__haut { flex-direction: column; margin-bottom: 48px; }
  .footer__colonnes { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 44px; }
  .footer__bas { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 479px) {
  .footer__input { min-width: 0; width: 100%; }
  .footer__form { width: 100%; }
  .footer__form .pilule { width: 100%; text-align: center; }
}
