/* ==========================================================================
   Refonte en-tête + pied de page — aperçu local (non publié)
   Préfixe rf- pour ne pas entrer en collision avec Bootstrap / styles.css
   ========================================================================== */

.rf-header {
  --rf-ink: #24333f;
  --rf-blue: #036798;
  --rf-blue-deep: #0a3a55;
  --rf-pink: #d56a9d;
  --rf-pink-deep: #b8437e;
  --rf-line: #ece5e8;
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, .96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rf-line);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  transition: box-shadow .2s ease;
}
.rf-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, #d56a9d 0%, #d56a9d 40%, #036798 100%);
}
.rf-header.is-scrolled { box-shadow: 0 10px 30px rgba(10, 58, 85, .09); }
.rf-header__inner {
  max-width: 1340px;
  margin-inline: auto;
  padding: 13px clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  min-height: 82px;
}

/* Marque ------------------------------------------------------------------ */
.rf-brand {
  flex: 0 0 auto;
  display: block;
  text-decoration: none !important;
}
.rf-brand__logo { display: block; height: 64px; width: auto; }

/* Navigation -------------------------------------------------------------- */
.rf-nav { display: flex; align-items: center; margin-left: auto; }
.rf-nav ul { display: flex; align-items: center; gap: clamp(8px, 1.3vw, 22px); margin-block: auto; }
.rf-nav li { text-align: left; }
.rf-nav a {
  position: relative;
  display: block;
  padding: 9px 1px 13px;
  color: #2f3f4b;
  font-family: "Erode", Georgia, serif;
  font-size: 1.06rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .005em;
  white-space: nowrap;
  text-decoration: none !important;
}
.rf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--rf-pink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}
.rf-nav a:hover { color: var(--rf-blue); text-decoration: none !important; }
.rf-nav a:hover::after { transform: scaleX(1); background: var(--rf-blue); }
.rf-nav a[aria-current="page"] { color: var(--rf-pink-deep); }
.rf-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Bouton menu mobile ------------------------------------------------------ */
.rf-burger {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--rf-line);
  border-radius: 50%;
  background: #fff;
  color: var(--rf-blue-deep);
  cursor: pointer;
}
.rf-burger span { position: relative; display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.rf-burger span::before,
.rf-burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.rf-burger span::before { top: -6px; }
.rf-burger span::after { top: 6px; }

/* Tiroir mobile ----------------------------------------------------------- */
.rf-drawer {
  --rf-blue-deep: #0a3a55;
  --rf-pink-deep: #b8437e;
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  padding: 18px 22px 28px;
  overflow-y: auto;
  background: #fbf8f9;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.rf-drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.rf-drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #e8dfe3; }
.rf-drawer__brand { display: flex; align-items: center; }
.rf-drawer__logo { display: block; height: 48px; width: auto; }
.rf-drawer__close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #e2d5db;
  border-radius: 50%;
  background: #fff;
  color: var(--rf-blue-deep);
  font-size: 1.15rem;
  cursor: pointer;
}
.rf-drawer__nav { margin-top: 8px; }
.rf-drawer__nav li { text-align: left; }
.rf-drawer__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 2px;
  border-bottom: 1px solid #e8dfe3;
  color: #22333f;
  font-family: "Erode", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.25;
  text-decoration: none !important;
}
.rf-drawer__nav i { margin-left: auto; color: #b58b9d; font-size: .82rem; }
.rf-drawer__nav a[aria-current="page"] { color: var(--rf-pink-deep); }
.rf-drawer__nav a:hover { color: var(--rf-pink-deep); text-decoration: none !important; }
.rf-drawer__foot { margin-top: auto; padding-top: 34px; }
.rf-drawer__label {
  margin-bottom: 8px;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #5f4652;
}
.rf-drawer__people { display: grid; gap: 12px; margin-bottom: 18px; }
.rf-drawer__person { display: flex; align-items: center; gap: 12px; text-align: left; }
.rf-drawer__avatar { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px #e2d3db; }
.rf-drawer__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rf-drawer__who { display: block; min-width: 0; }
.rf-drawer__name { display: block; color: var(--rf-blue-deep) !important; font-size: .98rem; font-weight: 700; line-height: 1.3; text-decoration: none !important; }
.rf-drawer__name:hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rf-drawer__tel, .rf-drawer__email { display: block; color: #56636f !important; font-size: .8rem; line-height: 1.4; text-decoration: none !important; overflow-wrap: anywhere; }
.rf-drawer__tel:hover, .rf-drawer__email:hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rf-drawer__crisis { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; background: #f3dbe5; color: #5b2c45; font-size: .86rem; line-height: 1.45; }
.rf-drawer__crisis a { color: inherit !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }
body.rf-no-scroll { overflow: hidden; }

/* Le bandeau Contact fixe n'existe plus : on retire l'espace de sécurité du body. */
body:has(> .rf-footer) { padding-bottom: 0; }

/* Les ancres ne se cachent pas sous l'en-tête collant. */
html { scroll-padding-top: 104px; }
@media (max-width: 620px) { html { scroll-padding-top: 80px; } }


/* Largeur commune : en-tête, contenu des pages et pied de page --------------- */
main.container {
  width: 100%;
  max-width: 1340px;
  padding-inline: clamp(20px, 3vw, 40px);
}
main.container > .row { margin-inline: 0; }
main.container > .row > [class^="col-"],
main.container > .row > [class*=" col-"],
main.container > .row > .col { padding-inline: 0; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.rf-footer {
  --rf-blue-deep: #0a3a55;
  --rf-pink-deep: #b8437e;
  background: #f8f3f5;
  border-top: 1px solid #d9c6ce;
  color: #3d4a5c;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
}
.rf-footer * { box-sizing: border-box; }
.rf-wrap { width: 100%; max-width: 1340px; margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); }
.rf-footer__main {
  display: grid;
  grid-template-columns: 1fr .72fr 1.35fr;
  gap: clamp(28px, 5vw, 64px);
  padding-block: clamp(44px, 5.5vw, 72px) 40px;
}
.rf-footer__medallion { display: block; width: 192px; height: 192px; border-radius: 50%; margin-inline: auto; }
.rf-footer__medallion img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.rf-values { display: flex; align-items: center; gap: 14px; width: fit-content; max-width: 100%; margin: 18px auto 0; text-align: left; }
.rf-values .rf-flag.pride { flex: 0 0 auto; width: 46px; height: 31px; background-size: contain; background-repeat: no-repeat; background-position: center; }
.rf-values p { max-width: 230px; margin: 0; font-size: 1rem; line-height: 1.45; color: #5f4a55; }
.rf-social { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.rf-footer nav .rf-social { justify-content: flex-start; margin-top: 20px; }
.rf-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #c3aab5;
  border-radius: 50%;
  color: var(--rf-blue-deep) !important;
  font-size: .95rem;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.rf-social a:hover { background: var(--rf-blue-deep); border-color: var(--rf-blue-deep); color: #fff !important; }

.rf-footer__title {
  margin: 0 0 14px;
  font-family: "Erode", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #0a3a55;
}
.rf-footer__nav li { margin-bottom: 5px; text-align: left; }
.rf-footer__nav a { display: inline-block; padding-block: 4px; color: #2f3f4b !important; font-size: .96rem; text-decoration: none !important; }
.rf-footer__nav a:hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }

.rf-people { display: grid; gap: 16px; }
.rf-person { display: flex; align-items: center; gap: 12px; }
.rf-person__avatar { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px #e2d3db; }
.rf-person__avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rf-person__body { min-width: 0; }
.rf-person__name { display: block; margin: 0 0 2px; padding-block: 2px; font-size: .95rem; font-weight: 700; color: var(--rf-blue-deep) !important; text-decoration: none !important; }
.rf-person__name:hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rf-person__body a:not(.rf-person__name) { display: block; width: fit-content; padding-block: 2px; max-width: 100%; color: #46535f !important; font-size: .9rem; line-height: 1.5; text-decoration: none !important; overflow-wrap: anywhere; }
.rf-person__body a:not(.rf-person__name):hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }

/* Bandeau d'aide immédiate ------------------------------------------------ */
.rf-crisis { background: #f3dbe5; color: #5b2c45; }
.rf-crisis__inner { display: flex; align-items: center; gap: 16px 22px; padding-block: 18px; }
.rf-crisis__label {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.rf-crisis__text { margin: 0; font-size: .9rem; line-height: 1.5; }
.rf-crisis a { color: inherit !important; font-weight: 700; text-decoration: underline !important; text-underline-offset: 2px; }

/* Bas de page ------------------------------------------------------------- */
.rf-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 26px;
  padding-block: 20px 24px;
  font-size: .84rem;
  color: #4d5964;
}
.rf-footer__bottom p { margin: 0; }
.rf-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.rf-footer__legal a, .rf-top-link { display: inline-block; padding-block: 3px; color: #46535f !important; font-size: .84rem; text-decoration: underline !important; text-decoration-color: #b9a2ad; text-underline-offset: 3px; }
.rf-footer__legal a:hover, .rf-top-link:hover { color: var(--rf-pink-deep) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.rf-top-link i { margin-left: 5px; font-size: .78em; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1360px) {
  .rf-header__inner { min-height: 76px; padding: 10px 24px; gap: 18px; }
  .rf-brand__logo { height: 56px; }
  .rf-nav ul { gap: 10px; }
  .rf-nav a { font-size: .98rem; padding-block: 9px; }
}
@media (max-width: 1190px) {
  .rf-nav { display: none; }
  .rf-burger { display: inline-flex; margin-left: auto; }
}
@media (max-width: 900px) {
  .rf-footer__main { grid-template-columns: 1fr 1fr; }
  .rf-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  main.container { padding-inline: 16px; }
  .rf-wrap { padding-inline: 16px; }
  .rf-header__inner { gap: 8px; padding: 10px 16px; min-height: 64px; }
  .rf-brand__logo { height: 48px; }
  .rf-burger { width: 40px; height: 40px; }
  .rf-drawer { padding: 14px 18px 24px; }
  .rf-drawer__nav a { font-size: 1.18rem; padding: 15px 2px; }
  .rf-footer__main { grid-template-columns: 1fr; gap: 32px; padding-block: 40px 32px; }
  .rf-footer__brand { grid-column: auto; }
  .rf-crisis__inner { flex-direction: column; align-items: flex-start; gap: 8px; padding-block: 20px; }
  .rf-footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (max-width: 350px) {
  .rf-brand__logo { height: 42px; }
}


/* Menu desktop : réparti sur toute la largeur, dernier item au bord droit. */
@media (min-width: 1191px) {
  .rf-header__inner { gap: 0; }
  .rf-nav { flex: 1 1 auto; display: flex; margin: 0 0 0 40px; }
  .rf-nav ul { width: 100%; justify-content: space-between; gap: 0; }
}

/* Rythme vertical uniforme : en-tête → première carte → cartes → pied de page */
main.container { padding-bottom: 24px; }
main.container .card.bg-white { margin-top: 24px !important; margin-bottom: 0 !important; }
