/* =========================================================
   FOOTER — STRUCTURE DE BASE
   ========================================================= */

.site-footer {
  padding-top: 60px !important;
}

/* =========================================================
   TAILLE UNIFIÉE — tous les textes du footer
   ========================================================= */

/* =========================================================
   SECTION 1 — Logo + nom
   ========================================================= */

.site-footer-top-section-1 .kt-inside-inner-col {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 15px !important;
  flex-wrap: nowrap !important;
  text-align: left !important;
}

.site-footer-top-section-1 .kadence-column73e280-9e > .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
}

#block-29 .wp-block-kadence-image img,
#block-29 .kb-img {
  width: 95px !important;
  height: 95px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ⭐ NOM DE L'ORGANISATION (footer) — Police LSANSUNI */
#block-29 .kt-adv-heading2aea5b-c2,
#block-29 .kt-adv-heading34036f-00 {
  font-family: var(--font-lucida) !important;
  font-weight: 900 !important;
  font-style: normal !important;
  line-height: 1.1 !important;
  letter-spacing: -0.4px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}

#block-29 .kt-adv-heading2aea5b-c2 {
  color: #ffffff !important;
  font-size: 25px !important;
}

#block-29 .kt-adv-heading34036f-00 {
  color: var(--fiadanana-vert-clair) !important;
  font-size: 30px !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .site-footer-top-section-1 .kt-inside-inner-col { gap: 5px !important; }
  #block-29 .wp-block-kadence-image img,
  #block-29 .kb-img { width: 88px !important; height: 88px !important; }
  #block-29 .kt-adv-heading2aea5b-c2 { font-size: 23px !important; }
  #block-29 .kt-adv-heading34036f-00 { font-size: 28px !important; }
}

@media (max-width: 767px) {
  .site-footer-top-section-1 .kt-inside-inner-col { gap: 5px !important; }
  #block-29 .wp-block-kadence-image img,
  #block-29 .kb-img { width: 80px !important; height: 80px !important; }
  #block-29 .kt-adv-heading2aea5b-c2 { font-size: 22px !important; }
  #block-29 .kt-adv-heading34036f-00 { font-size: 27px !important; }
}

/* =========================================================
   PARAGRAPHE DE DESCRIPTION
   ========================================================= */

.site-footer-top-section-1 .kt-adv-headingblock-9_fdf848-72 {
  font-family: var(--font-main) !important;
  font-size: var(--fs-footer-text) !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================================================
   SECTION 2 — LIENS RAPIDES
   ========================================================= */

.site-footer-top-section-2 .widget_nav_menu .widget-title,
.site-footer-top-section-2 .widget_nav_menu h2 {
  font-family: var(--font-title) !important;
  font-size: 25px !important;
  font-weight: var(--fw-bold) !important;
  letter-spacing: -1px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  text-shadow: 0 0 1px black !important;
}

.site-footer-top-section-2 .widget_nav_menu .widget-title .fiadanana-footer-title-green,
.site-footer-top-section-2 .widget_nav_menu h2 .fiadanana-footer-title-green {
  font-family: var(--font-title) !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  color: var(--fiadanana-vert-clair) !important;
  text-shadow: inherit !important;
}

.fiadanana-footer-title-green {
  color: var(--fiadanana-vert-clair) !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li {
  margin-bottom: 12px !important;
  padding: 0 !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li:last-child {
  margin-bottom: 0 !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li a {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: var(--fs-footer-text) !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  transition: letter-spacing 0.3s ease, color 0.3s ease !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li a::before {
  content: "" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
  background-color: currentColor !important;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'%3E%3C/polyline%3E%3C/svg%3E") !important;
  -webkit-mask-size: contain !important;
  mask-size: contain !important;
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;
  transition: transform 0.3s ease !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li a:hover {
  letter-spacing: 1.5px !important;
  color: var(--fiadanana-vert-clair) !important;
}

.site-footer-top-section-2 .widget_nav_menu ul.menu li a:hover::before {
  transform: translateX(3px) !important;
}

/* =========================================================
   SECTION 3 — REJOIGNEZ-NOUS
   ========================================================= */

.site-footer-top-section-3 .widget_block h3,
.site-footer-top-section-3 .kt-adv-headingblock-49_8d322c-d4 {
  font-family: var(--font-title) !important;
  font-weight: var(--fw-bold) !important;
  font-size: 25px !important;
  letter-spacing: -1px !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  margin: 0 0 20px 0 !important;
  text-shadow: 0 0 1px black !important;
}

.site-footer-top-section-3 .widget_block h3 .fiadanana-footer-title-green,
.site-footer-top-section-3 .kt-adv-headingblock-49_8d322c-d4 .fiadanana-footer-title-green,
.site-footer-top-section-3 .kt-adv-headingblock-49_8d322c-d4 mark.kt-highlight {
  font-family: var(--font-title) !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  color: var(--fiadanana-vert-clair) !important;
  background: transparent !important;
  text-shadow: inherit !important;
}

.site-footer-top-section-3 .kt-adv-headingblock-49_8d322c-d4 mark.kt-highlight {
  color: var(--fiadanana-vert-clair) !important;
  background: transparent !important;
  text-shadow: inherit !important;
}

.site-footer-top-section-3 .kt-adv-heading9cda7d-b2,
.site-footer-top-section-3 .kt-adv-headinge0a9bb-05,
.site-footer-top-section-3 .kt-adv-headingcf76e0-84,
.site-footer-top-section-3 .kt-adv-headingf3d470-69 {
  font-family: var(--font-main) !important;
  font-size: var(--fs-footer-text) !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer-top-section-3 .kt-adv-heading9cda7d-b2 a,
.site-footer-top-section-3 .kt-adv-headinge0a9bb-05 a,
.site-footer-top-section-3 .kt-adv-headingcf76e0-84 a,
.site-footer-top-section-3 .kt-adv-headingf3d470-69 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.site-footer-top-section-3 .kt-adv-heading9cda7d-b2 a:hover,
.site-footer-top-section-3 .kt-adv-headinge0a9bb-05 a:hover,
.site-footer-top-section-3 .kt-adv-headingcf76e0-84 a:hover,
.site-footer-top-section-3 .kt-adv-headingf3d470-69 a:hover {
  color: var(--fiadanana-vert-clair) !important;
}

/* =========================================================
   ICÔNES DU FOOTER — toutes en vert clair
   ========================================================= */

/* 1. LOCALISATION */
#block-33 .kb-svg-icon-ic_marker svg { display: none !important; }

#block-33 .kb-svg-icon-ic_marker {
  display: inline-block !important;
  width: 30px !important;
  height: 30px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C9216'%3E%3Cpath fill-rule='evenodd' d='m11.54 22.351.07.04.028.016a.76.76 0 0 0 .723 0l.028-.015.071-.041a16.975 16.975 0 0 0 1.144-.742 19.58 19.58 0 0 0 2.683-2.282c1.944-1.99 3.963-4.98 3.963-8.827a8.25 8.25 0 0 0-16.5 0c0 3.846 2.02 6.837 3.963 8.827a19.58 19.58 0 0 0 2.682 2.282 16.975 16.975 0 0 0 1.145.742ZM12 13.5a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 2. TÉLÉPHONE */
#block-35 .kb-svg-icon-fas_phone svg { display: none !important; }

#block-35 .kb-svg-icon-fas_phone {
  display: inline-block !important;
  width: 30px !important;
  height: 30px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C9216'%3E%3Cpath fill-rule='evenodd' d='M1.5 4.5a3 3 0 0 1 3-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 0 1-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 0 0 6.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 0 1 1.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 0 1-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5Z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 3. EMAIL */
#block-39 .kb-svg-icon-ic_closed svg { display: none !important; }

#block-39 .kb-svg-icon-ic_closed {
  display: inline-block !important;
  width: 30px !important;
  height: 30px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C9216'%3E%3Cpath d='M1.5 8.67v8.58a3 3 0 0 0 3 3h15a3 3 0 0 0 3-3V8.67l-9.744 6.008a3 3 0 0 1-3.512 0L1.5 8.67Z'/%3E%3Cpath d='M22.5 6.908V5.92a3 3 0 0 0-3-3h-15a3 3 0 0 0-3 3v.988l10.531 6.494a1.5 1.5 0 0 0 1.938 0L22.5 6.908Z'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* 4. FACEBOOK */
#block-54 .kb-svg-icon-fa_facebook-n svg { display: none !important; }

#block-54 .kb-svg-icon-fa_facebook-n {
  display: inline-block !important;
  width: 30px !important;
  height: 30px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C9216'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

/* =========================================================
   SÉPARATEUR
   ========================================================= */

.footer-separator {
  height: 1px !important;
  border: 0 !important;
  background-color: var(--fiadanana-separator) !important;
}

.site-middle-footer-inner-wrap {
  padding-top: 80px !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   SECTION BAS — Copyright + Espace d'Administration
   ========================================================= */

.site-bottom-footer-inner-wrap {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
}

.site-footer-bottom-section-1,
.site-footer-bottom-section-2 {
  flex: 0 0 auto !important;
  width: auto !important;
}

.site-footer-bottom-section-1 .footer-html,
.site-footer-bottom-section-1 .footer-html-inner {
  display: inline-block !important;
  text-align: left !important;
}

.site-footer-bottom-section-2 .widget_block {
  display: inline-block !important;
  text-align: right !important;
}

.site-footer-bottom-section-1 .footer-html-inner p {
  font-family: var(--font-main) !important;
  font-size: var(--fs-footer-text) !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer-bottom-section-2 .kt-adv-headingblock-43_bb64b8-b0 {
  font-family: var(--font-main) !important;
  font-size: var(--fs-footer-text) !important;
  font-weight: var(--fw-regular) !important;
  line-height: 1.4 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: right !important;
}

.site-footer-bottom-section-2 .kt-adv-headingblock-43_bb64b8-b0 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.site-footer-bottom-section-2 .kt-adv-headingblock-43_bb64b8-b0 a:hover {
  color: var(--fiadanana-vert-clair) !important;
}

/* =========================================================
   RESPONSIVE — Section bas
   ========================================================= */

@media (max-width: 767px) {
  .site-bottom-footer-inner-wrap {
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .site-footer-bottom-section-1,
  .site-footer-bottom-section-2 {
    width: 100% !important;
    text-align: center !important;
  }

  .site-footer-bottom-section-1 .footer-html,
  .site-footer-bottom-section-1 .footer-html-inner,
  .site-footer-bottom-section-2 .widget_block {
    text-align: center !important;
  }

  .site-footer-bottom-section-1 .footer-html-inner p,
  .site-footer-bottom-section-2 .kt-adv-headingblock-43_bb64b8-b0 {
    font-size: var(--fs-footer-text-mobile) !important;
    text-align: center !important;
  }

  .site-footer-top-section-1 .kt-adv-headingblock-9_fdf848-72,
  .site-footer-top-section-2 .widget_nav_menu ul.menu li a,
  .site-footer-top-section-3 .kt-adv-heading9cda7d-b2,
  .site-footer-top-section-3 .kt-adv-headinge0a9bb-05,
  .site-footer-top-section-3 .kt-adv-headingcf76e0-84,
  .site-footer-top-section-3 .kt-adv-headingf3d470-69 {
    font-size: var(--fs-footer-text-mobile) !important;
  }
}

/* =========================================================
   FOOTER — ANIMATION D'APPARITION AU SCROLL
   ========================================================= */

#colophon {
  opacity: 0;
  margin-top: 50px;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    margin-top 1s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, margin-top;
}

#colophon.is-visible {
  opacity: 1;
  margin-top: 0;
}

.fiadanana-back-to-top {
  position: fixed !important;
  right: clamp(16px, 3vw, 28px) !important;
  bottom: clamp(16px, 3vw, 28px) !important;
  z-index: 1000 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 55px !important;
  height: 55px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--fiadanana-vert) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  cursor: pointer !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(12px) !important;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    background-color 0.25s ease !important;
}

.fiadanana-back-to-top.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.fiadanana-back-to-top:hover {
  background: var(--fiadanana-vert-fonce) !important;
  color: #ffffff !important;
}

.fiadanana-back-to-top svg {
  display: block !important;
  width: 25px !important;
  height: 25px !important;
}

.fiadanana-back-to-top:focus-visible {
  outline: 3px solid var(--fiadanana-vert-clair) !important;
  outline-offset: 4px !important;
}

@media (prefers-reduced-motion: reduce) {
  .fiadanana-back-to-top {
    transition: none !important;
  }
}