@charset "UTF-8";
/* ==================================================
   Footer (template-parts/footer.php) : 3 colonnes (présentation, menu, contact + réseaux)
   puis la ligne du bas « … Tous droits réservés · Mentions légales » sous un trait rose.
   Textes : Apparence > Widgets (« Pied de page : présentation / contact ») ; menu : Apparence > Menus ;
   ligne du bas et réseaux : Personnaliser > L'Atelier de Lola.
================================================== */
.adl-footer {
  background: var(--adl-bg-light);
  border-top: 1px solid var(--adl-line);
  font-family: var(--adl-font-text);
  color: var(--adl-nav-text);
}

.adl-footer__top {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  column-gap: 30px;
  row-gap: 24px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 36px 24px 28px;
  text-align: center;
}

.adl-footer__col {
  min-width: 0;
}

.adl-footer__widget {
  margin-bottom: 8px;
}

.adl-footer p {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.7;
}

.adl-footer a {
  color: inherit;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

.adl-footer a:hover,
.adl-footer a:focus-visible {
  color: var(--adl-raspberry-dark);
}

/* Titre « L'atelier de Lola » (bloc HTML du widget de présentation, classe footer-lola-title) :
   même logo que le header, un peu plus grand */
.adl-footer .footer-lola-title {
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: 60px 0 4px;
  font-family: var(--adl-font-script);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--adl-charcoal);
  text-shadow: 2px 0 0 var(--adl-bg-light), -2px 0 0 var(--adl-bg-light), 0 2px 0 var(--adl-bg-light), 0 -2px 0 var(--adl-bg-light), 1.5px 1.5px 0 var(--adl-bg-light), -1.5px 1.5px 0 var(--adl-bg-light), 1.5px -1.5px 0 var(--adl-bg-light), -1.5px -1.5px 0 var(--adl-bg-light);
}

.adl-footer .footer-lola-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: 96px;
  height: 69px;
  transform: translateX(-50%);
  background: url("../img/logo-feather.svg") center/contain no-repeat;
}

/* ---------- Menu du pied de page : une colonne centrée ---------- */
.adl-footer__menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.adl-footer__menu > li > a {
  display: inline-block;
  padding: 3px 0;
  font-size: 15px;
  white-space: nowrap;
  color: var(--adl-footer-link);
}

.adl-footer__menu > li > a.is-active {
  color: var(--adl-raspberry-dark);
}

/* Groupe de pages (« Services », inc/navigation.php) : bouton avec une petite flèche, qui déroule ses pages
   (assets/js/submenu.js). Même aspect que les autres liens du menu ; ouvert d'office sur les pages du groupe. */
.adl-footer__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 3px 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: inherit;
  line-height: inherit;
  white-space: nowrap;
  color: var(--adl-footer-link);
  cursor: pointer;
}

/* Petite flèche qui se retourne à l'ouverture */
.adl-footer__toggle::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease, margin 0.25s ease;
}

/* Le reset de Hello Elementor colore tout bouton survolé : on garde l'aspect d'un lien */
.adl-footer__toggle:hover,
.adl-footer__toggle:focus,
.adl-footer__toggle[aria-expanded=true] {
  background: none;
  color: var(--adl-raspberry-dark);
}

.adl-footer__toggle:focus-visible {
  outline: 2px solid var(--adl-raspberry-dark);
  outline-offset: 2px;
}

.adl-footer__toggle[aria-expanded=true]::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.adl-footer__submenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 2px 0 4px;
  padding: 0;
  list-style: none;
}

.adl-footer__toggle[aria-expanded=false] + .adl-footer__submenu {
  display: none;
}

.adl-footer__submenu a {
  display: inline-block;
  padding: 2px 0;
  font-size: 14px;
  white-space: nowrap;
  color: var(--adl-nav-text);
}

.adl-footer__submenu a.is-active {
  color: var(--adl-raspberry-dark);
}

@media (prefers-reduced-motion: reduce) {
  .adl-footer__toggle::after {
    transition: none;
  }
}
/* ---------- Réseaux sociaux ---------- */
.adl-footer__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--adl-footer-link);
}

.adl-social__links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.adl-footer .adl-social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 51px;
  height: 51px;
  border-radius: 5px;
  background: var(--adl-bg-light);
  color: var(--adl-nav-text);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.adl-footer .adl-social__link svg {
  width: 24px;
  height: 24px;
}

.adl-footer .adl-social__link:hover,
.adl-footer .adl-social__link:focus-visible {
  background: var(--adl-raspberry);
  color: var(--adl-white);
}

/* ---------- Ligne du bas ---------- */
.adl-footer__bottom {
  border-top: 1px solid var(--adl-line-strong);
  padding: 14px 24px;
  text-align: center;
}

.adl-footer__bottom p {
  margin: 0;
  font-size: 13px;
  text-wrap: balance;
}

.adl-footer__bottom a:hover,
.adl-footer__bottom a:focus-visible {
  color: var(--adl-burgundy);
}

.adl-footer__sep {
  margin: 0 6px;
  color: var(--adl-raspberry-dark);
}

/* ---------- Tablette et smartphone : colonnes empilées ---------- */
@media (max-width: 1024px) {
  .adl-footer__top {
    grid-template-columns: minmax(0, 1fr);
  }
}
