
/* Harmonisation du footer avec l’accueil */

/* Pied de page — Page Franchise uniquement */
body:has(#gib-franchise) #footer-sections,
body:has(#gib-franchise)
#footer-sections .page-section,
body:has(#gib-franchise)
#footer-sections .section-background {
  background: #E4EBE2 !important;
}

body:has(#gib-franchise) #footer-sections {
  border-top: 1px solid #D3DDD0;
}

body:has(#gib-franchise)
#footer-sections .sqs-html-content,
body:has(#gib-franchise)
#footer-sections p,
body:has(#gib-franchise)
#footer-sections a {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #292D2A !important;
}

body:has(#gib-franchise)
#footer-sections a {
  text-decoration: none !important;
  background-image: none !important;
}

body:has(#gib-franchise)
#footer-sections a:hover {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

body:has(#gib-franchise)
#footer-sections a:focus-visible {
  outline: 2px solid #292D2A;
  outline-offset: 5px;
}

@media (max-width: 767px) {
  body:has(#gib-franchise)
  #footer-sections a {
    display: inline-block;
    padding-top: 7px;
    padding-bottom: 7px;
  }
}


body:has(#gib-franchise)
#footer-sections .sqs-block-image img {
  border-radius: 50% !important;
}


/* Grille du pied de page */
body:has(#gib-franchise)
#footer-sections .fluid-engine {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr);
  grid-template-rows: auto auto !important;
  gap: 32px 40px !important;
  align-items: start !important;
  max-width: 1100px;
  margin: auto;
  padding: 40px 24px 24px;
}

/* Menu gauche */
body:has(#gib-franchise)
#footer-sections .fe-block-yui_3_17_2_1_1670875040828_68330 {
  grid-area: 1 / 1 / 2 / 2 !important;
}

/* Logo au centre */
body:has(#gib-franchise)
#footer-sections .fe-block-yui_3_17_2_1_1691589954603_2110 {
  grid-area: 1 / 2 / 2 / 3 !important;
  width: 120px;
  height: 120px;
  justify-self: center;
}

/* Menu droit */
body:has(#gib-franchise)
#footer-sections .fe-block-yui_3_17_2_1_1670875040828_76831 {
  grid-area: 1 / 3 / 2 / 4 !important;
}

/* Copyright sur sa propre ligne */
body:has(#gib-franchise)
#footer-sections .fe-block-yui_3_17_2_1_1670875040828_108641 {
  grid-area: 2 / 1 / 3 / 4 !important;
  text-align: center;
  border-top: 1px solid #CDD7C9;
  padding-top: 20px;
}

/* Alignement identique pour les deux menus */
body:has(#gib-franchise)
#footer-sections .sqs-block-html {
  padding: 0 !important;
  align-self: start !important;
}

body:has(#gib-franchise)
#footer-sections .sqs-html-content p {
  margin: 0 !important;
}

body:has(#gib-franchise)
#footer-sections .sqs-html-content:has(a) {
  text-align: left !important;
}

body:has(#gib-franchise)
#footer-sections .sqs-html-content a {
  display: inline-block;
  padding: 6px 0 !important;
  line-height: 1.6 !important;
}

/* Mobile : logo au-dessus, puis deux colonnes */
@media (max-width: 767px) {
  body:has(#gib-franchise)
  #footer-sections .fluid-engine {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto auto !important;
    gap: 24px 20px !important;
  }

  body:has(#gib-franchise)
  #footer-sections .fe-block-yui_3_17_2_1_1691589954603_2110 {
    grid-area: 1 / 1 / 2 / 3 !important;
    width: 90px;
    height: 90px;
  }

  body:has(#gib-franchise)
  #footer-sections .fe-block-yui_3_17_2_1_1670875040828_68330 {
    grid-area: 2 / 1 / 3 / 2 !important;
  }

  body:has(#gib-franchise)
  #footer-sections .fe-block-yui_3_17_2_1_1670875040828_76831 {
    grid-area: 2 / 2 / 3 / 3 !important;
  }

  body:has(#gib-franchise)
  #footer-sections .fe-block-yui_3_17_2_1_1670875040828_108641 {
    grid-area: 3 / 1 / 4 / 3 !important;
  }
}

