/* =========================================================================
   Solidarité Active — Styles des gabarits de repli
   Ne s'appliquent qu'aux pages non construites avec Elementor.
   Scopé sous .sa- pour rester non intrusif.
   ========================================================================= */

.sa-site-content { display: block; }
.sa-section { padding-block: var(--sa-section-py); }

/* --- En-tête de repli (sticky, 88 px) --------------------------------- */
.sa-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--sa-blanc);
  border-bottom: 1px solid var(--sa-line);
}
.sa-header__inner {
  max-width: var(--sa-container);
  margin-inline: auto;
  padding: 0 clamp(20px, 5vw, 40px);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sa-s3);
  flex-wrap: wrap;
}
.sa-header__title {
  font-family: var(--sa-font-titre);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  color: var(--sa-violet-dark);
  text-decoration: none;
}
.sa-header__nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
}
.sa-header__nav a {
  font-family: var(--sa-font-titre);
  font-weight: 600;
  font-size: 15px;
  color: var(--sa-violet-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--sa-tap);
  border-bottom: 3px solid transparent;
}
.sa-header__nav a:hover { color: var(--sa-violet); }
.sa-header__nav .current-menu-item > a { border-bottom-color: var(--sa-or); }

/* --- Pied de page de repli -------------------------------------------- */
.sa-footer {
  background: var(--sa-violet-dark);
  color: var(--sa-blanc);
  font-family: var(--sa-font-corps);
  margin-top: var(--sa-section-py);
}
.sa-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sa-s4);
  padding-block: var(--sa-s5) var(--sa-s4);
}
@media (min-width: 768px)  { .sa-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .sa-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sa-s5); } }

.sa-footer__brand { font-family: var(--sa-font-titre); font-weight: 700; font-size: 22px; margin-bottom: var(--sa-s1); }
.sa-footer__baseline { font-family: var(--sa-font-titre); font-weight: 500; font-size: 16px; color: var(--sa-or); margin-bottom: var(--sa-s3); }
.sa-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sa-footer__menu a { color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 16px; line-height: 1.5; }
.sa-footer__menu a:hover { color: var(--sa-or); }
.sa-footer__coord { font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .82); margin: 0 0 var(--sa-s3); }

.sa-footer__bas {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: var(--sa-s3) var(--sa-s4);
  display: flex;
  justify-content: space-between;
  gap: var(--sa-s2);
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
}
.sa-footer__legal { list-style: none; display: flex; gap: var(--sa-s3); margin: 0; padding: 0; flex-wrap: wrap; }
.sa-footer__legal a { color: rgba(255, 255, 255, .5); text-decoration: none; }
.sa-footer__legal a:hover { color: var(--sa-or); }

/* --- Pastilles réseaux sociaux ---------------------------------------- */
.sa-reseaux { display: flex; gap: 12px; flex-wrap: wrap; }
.sa-reseau {
  width: var(--sa-tap); height: var(--sa-tap);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sa-font-titre); font-weight: 600; font-size: 13px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.sa-reseau:hover { border-color: var(--sa-or); color: var(--sa-or); }

/* --- En-tête de page --------------------------------------------------- */
.sa-page-header { margin-bottom: var(--sa-s4); display: flex; flex-direction: column; gap: var(--sa-s2); align-items: flex-start; }

/* --- Contenu d'article -------------------------------------------------- */
.sa-entry {
  font-family: var(--sa-font-corps);
  font-size: var(--sa-fs-corps);
  line-height: var(--sa-lh-corps);
  color: var(--sa-texte);
  max-width: 72ch;
}
.sa-entry a { color: var(--sa-violet); }
.sa-entry h2 { font-family: var(--sa-font-titre); font-weight: 700; font-size: var(--sa-fs-h2); color: var(--sa-violet-dark); margin-top: var(--sa-s4); }
.sa-entry h3 { font-family: var(--sa-font-titre); font-weight: 600; font-size: var(--sa-fs-h3); color: var(--sa-violet-dark); margin-top: var(--sa-s3); }
.sa-single__media { margin: 0 0 var(--sa-s4); border-radius: var(--sa-radius); overflow: hidden; }
.sa-single__media img { width: 100%; height: auto; display: block; }

/* --- Listes des shortcodes --------------------------------------------- */
.sa-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sa-liste__item {
  position: relative;
  padding-left: 28px;
  font-size: var(--sa-fs-corps);
  line-height: 1.6;
  color: var(--sa-texte);
}
.sa-liste__item::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 12px; height: 3px;
  background: var(--sa-or);
  border-radius: 2px;
}

/* --- Délais de réponse -------------------------------------------------- */
.sa-delais { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.sa-delais__ligne {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sa-s2);
  border-bottom: 1px solid var(--sa-line);
  padding-bottom: 12px;
}
.sa-delais__motif { font-family: var(--sa-font-titre); font-weight: 600; font-size: var(--sa-fs-card); color: var(--sa-violet-dark); margin: 0; }
.sa-delais__valeur { font-family: var(--sa-font-mono); font-size: 13px; letter-spacing: .06em; color: var(--sa-or-dark); margin: 0; }

/* --- Pagination -------------------------------------------------------- */
.sa-site-content .pagination { margin-top: var(--sa-s4); display: flex; gap: var(--sa-s1); flex-wrap: wrap; }
.sa-site-content .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  border-radius: var(--sa-radius-pill);
  border: 1.5px solid var(--sa-violet-tint);
  color: var(--sa-violet);
  text-decoration: none;
  font-family: var(--sa-font-titre); font-weight: 600;
  padding: 0 14px;
}
.sa-site-content .page-numbers.current { background: var(--sa-violet); border-color: var(--sa-violet); color: var(--sa-blanc); }
