/* Sticky footer — pied de page collé en bas sur les pages courtes */
html {
  height: 100%;
}

body.has-fixed-header {
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body.has-fixed-header > main {
  flex: 1 0 auto;
  width: 100%;
}

body.has-fixed-header > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
}

/* Pied de page Wise Eat — fond noir, colonnes */
.site-footer {
  background: #000;
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 1.5rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.site-footer__inner {
  max-width: var(--site-max-width);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  gap: 2rem 2.5rem;
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: 1.15fr 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .site-footer__grid {
    grid-template-columns: 1.25fr 0.85fr 0.95fr 0.85fr;
    align-items: start;
  }
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (max-width: 639px) {
  .site-footer__brand {
    align-items: center;
    text-align: center;
    width: 100%;
  }
}

.site-footer__logo-link {
  display: inline-block;
  line-height: 0;
}

.site-footer__logo {
  width: 72px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__tagline {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 16rem;
}

.site-footer__brand-social {
  margin-top: 0.5rem;
  padding-top: 1rem;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__brand-social[hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  .site-footer__brand-social {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__brand-social .site-footer__social-links {
    justify-content: center;
  }
}

.site-footer__heading {
  margin: 0 0 0.85rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-footer__links a:hover {
  color: #ffae00;
  text-decoration: none;
}

.site-footer__links--contact {
  gap: 0.85rem;
}

.site-footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.site-footer__contact-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.site-footer__links--contact a {
  color: #ffae00;
  font-weight: 700;
  word-break: break-word;
}

.site-footer__links--contact a:hover {
  color: #ffc94d;
}

.site-footer__brand-social .site-footer__social {
  display: block;
}

.site-footer__social[hidden] {
  display: none !important;
}

.site-footer__social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 174, 0, 0.55);
  background: rgba(255, 174, 0, 0.12);
  color: #fff;
  text-decoration: none;
}

.footer-social-link svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  fill: currentColor;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

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

.site-footer__newsletter {
  margin-top: 1rem;
  padding-top: 1rem;
  width: 100%;
  max-width: 22rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 639px) {
  .site-footer__newsletter {
    max-width: none;
  }
}

.site-footer__newsletter-lead {
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: stretch;
}

.site-footer__newsletter-label {
  flex: 1 1 10rem;
  min-width: 0;
  margin: 0;
}

.site-footer__newsletter-label input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.site-footer__newsletter-label input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer__newsletter-label input:focus {
  border-color: rgba(255, 174, 0, 0.65);
  background: rgba(255, 255, 255, 0.12);
}

.site-footer__newsletter-submit {
  flex: 0 0 auto;
  padding: 0.65rem 1rem;
  border: none;
  border-radius: 8px;
  background: #ffae00;
  color: #392800;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-footer__newsletter-submit:hover:not(:disabled) {
  background: #ffc94d;
}

.site-footer__newsletter-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.site-footer__newsletter-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer__newsletter-status {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.site-footer__newsletter-status.is-success {
  color: #7dcea0;
}

.site-footer__newsletter-status.is-error {
  color: #f1948a;
}

.site-footer__newsletter-social {
  margin-top: 1rem;
  padding-top: 1rem;
  width: 100%;
  max-width: 22rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__newsletter-social[hidden] {
  display: none !important;
}

@media (max-width: 639px) {
  .site-footer__newsletter-social {
    max-width: none;
  }

  .site-footer__newsletter-social .site-footer__social-links {
    justify-content: center;
  }
}

.site-footer__links--contact-nav {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__links--contact-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
}

.site-footer__links--contact-nav a:hover {
  color: #ffae00;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ancien pied de page une ligne (pages non migrées) */
.footer.footer--compact {
  background: #000;
  color: rgba(255, 255, 255, 0.75);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.875rem;
}

.footer.footer--compact a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 500;
}

.footer.footer--compact a:hover {
  color: #ffae00;
}
