/* ============================================================
   FOOTER
   css/components/footer.css
   ============================================================ */


/* ── WRAPPER SITE-FOOTER ───────────────────────────────────── */

.site-footer {
  background: var(--palette-gray-800);
  color: var(--palette-white);
  padding: var(--space-12) 0 var(--space-8);
  font-size: var(--fs-sm);
}


/* ── GRILLE 3 COLONNES ─────────────────────────────────────── */

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: var(--space-10);
  align-items: start;
}


/* ── COLONNE GÉNÉRIQUE ─────────────────────────────────────── */

.site-footer .taxonomy-nav__title,
.site-footer .contact-footer__nom {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--palette-white);
  margin-bottom: var(--space-5);
  letter-spacing: var(--ls-caps);
}


/* ── COL 1 : BRANDING ──────────────────────────────────────── */


.footer__col--brand .contact-footer__description {
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--palette-white);
  margin-bottom: var(--space-5);
  line-height: var(--lh-normal);
}

/* Infos de contact */
.footer__col--brand .footer-contact__list {
  list-style: none;
  margin: 0 0 var(--space-6);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}


.footer__col--brand .contact-footer a {
  color: var(--palette-gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__col--brand .contact-footer a:hover {
  color: var(--palette-white);
}

/* Liens légaux + copyright */
.footer__col--brand .menu--footer-link {
  padding-top: var(--space-5);
  margin-top: var(--space-5);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--palette-white);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-3);
}

.footer__col--brand .menu--footer-link ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col--brand .menu--footer-link a {
  color: var(--palette-gray-400);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__col--brand .menu--footer-link a:hover {
  color: var(--palette-white);
}

#block-francenews-copy {
  padding-top: var(--space-5);
  margin-top: var(--space-5);
}

#block-francenews-copy p.sign a {
  color: var(--palette-white);
  text-decoration: none;
  transition: color var(--transition-base);
}

#block-francenews-copy p.sign a:hover {
  color: var(--palette-gray-700);
}


/* ── COL 2 & 3 : MENUS DRUPAL ──────────────────────────────── */

.footer__col--themes .item-list ul,
.footer__col--destinations .item-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer__col--themes .taxonomy-nav__link,
.footer__col--destinations .taxonomy-nav__link {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--palette-gray-350);
  text-decoration: none;
  font-size: var(--fs-sm);
  transition: color var(--transition-base);
}

.footer__col--themes .taxonomy-nav__link:hover,
.footer__col--destinations .taxonomy-nav__link:hover {
  color: var(--palette-white);
}

.footer__col--themes .taxonomy-nav__chevron,
.footer__col--destinations .taxonomy-nav__chevron {
  font-size: var(--fs-xs);
  flex-shrink: 0;
}


/* ── COL 3 : DESTINATIONS (2 sous-colonnes) ─────────────────── */

.footer__col--destinations .item-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2) var(--space-6);
}


/* ── RESPONSIVE ────────────────────────────────────────────── */

@media (max-width: 1023px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__col--destinations {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__col--destinations {
    grid-column: auto;
  }

  .footer__col--destinations .item-list ul {
    grid-template-columns: 1fr 1fr;
  }
}
