.site-footer {
  background-color: var(--bois-fonce);
  color: var(--ivoire-attenue);
  padding-block: 4rem 0;
  margin-top: 4rem;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer__brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ivoire);
  transition: color 150ms ease;
}

.site-footer__brand-link:hover {
  color: var(--or-clair);
}

.site-footer__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-footer__brand-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ivoire);
}

.site-footer__tagline {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ivoire-attenue);
  max-width: 30ch;
}

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--or);
  margin-bottom: 1rem;
}

.site-footer__nav-list,
.site-footer__legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__nav-list a,
.site-footer__legal-list a {
  color: var(--ivoire-attenue);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: color 150ms ease;
}

.site-footer__nav-list a:hover,
.site-footer__legal-list a:hover {
  color: var(--or-clair);
}

.site-footer__address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ivoire-attenue);
  margin-bottom: 0.75rem;
}

.site-footer__phone,
.site-footer__email {
  display: block;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--or);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 150ms ease;
}

.site-footer__phone:hover,
.site-footer__email:hover {
  color: var(--or-clair);
}

.site-footer__bottom {
  border-top: 1px solid rgba(198, 161, 91, 0.2);
  padding-block: 1.5rem;
}

.site-footer__bottom-inner {
  display: flex;
  justify-content: center;
}

.site-footer__copyright {
  font-size: 0.75rem;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--ivoire-attenue);
  text-align: center;
  margin: 0;
}

.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background-color: var(--vert-table);
  border-top: 1px solid rgba(198, 161, 91, 0.3);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
}

.consent-banner[hidden] {
  display: none !important;
}

.consent-banner__content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.consent-banner__text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ivoire);
  margin: 0;
  flex: 1 1 300px;
}

.consent-banner__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.consent-banner__button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  min-height: 48px;
}

.consent-banner__button--accept {
  background-color: var(--or);
  color: var(--vert-profond);
  border: 1px solid var(--or);
}

.consent-banner__button--accept:hover {
  background-color: var(--or-clair);
  border-color: var(--or-clair);
}

.consent-banner__button--reject {
  background-color: transparent;
  color: var(--or);
  border: 1px solid var(--or);
}

.consent-banner__button--reject:hover {
  background-color: rgba(198, 161, 91, 0.1);
  color: var(--or-clair);
  border-color: var(--or-clair);
}

.consent-banner__button:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 2px;
}

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-modal[hidden] {
  display: none !important;
}

.age-modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 43, 38, 0.9);
}

.age-modal__dialog {
  position: relative;
  background-color: var(--vert-table);
  border: 1px solid rgba(198, 161, 91, 0.3);
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  max-height: calc(100vh - 3rem);
  overflow-y: auto;
  z-index: 1;
}

.age-modal__title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--ivoire);
  margin-bottom: 1rem;
}

.age-modal__description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ivoire);
  margin-bottom: 2rem;
}

.age-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.age-modal__button {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
  min-height: 48px;
  width: 100%;
}

.age-modal__button--confirm {
  background-color: var(--or);
  color: var(--vert-profond);
  border: 1px solid var(--or);
}

.age-modal__button--confirm:hover {
  background-color: var(--or-clair);
  border-color: var(--or-clair);
}

.age-modal__button--decline {
  background-color: transparent;
  color: var(--or);
  border: 1px solid var(--or);
}

.age-modal__button--decline:hover {
  background-color: rgba(198, 161, 91, 0.1);
  color: var(--or-clair);
  border-color: var(--or-clair);
}

.age-modal__button:focus-visible {
  outline: 2px solid var(--or);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .site-footer__inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }

  .site-footer__brand {
    grid-column: 1 / 2;
  }

  .site-footer__nav {
    grid-column: 2 / 3;
  }

  .site-footer__legal {
    grid-column: 3 / 4;
  }

  .site-footer__contact {
    grid-column: 4 / 5;
  }

  .age-modal__actions {
    flex-direction: row;
  }

  .age-modal__button {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 767px) {
  .site-footer {
    padding-block: 3rem 0;
    margin-top: 3rem;
  }

  .site-footer__inner {
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .consent-banner {
    padding: 1rem;
  }

  .consent-banner__content {
    flex-direction: column;
    align-items: stretch;
  }

  .consent-banner__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .consent-banner__button {
    width: 100%;
  }

  .age-modal {
    padding: 1rem;
  }

  .age-modal__dialog {
    padding: 1.5rem;
    max-height: calc(100vh - 2rem);
  }
}
