
/* Header harmonisé avec l’accueil */

/* Franchise : proportions de l’en-tête */
body:has(#gib-franchise) #header {
  background: #F7F4EF !important;
  border-bottom: 1px solid #E4E3DC;
}

body:has(#gib-franchise)
#header .header-background {
  background: #F7F4EF !important;
  opacity: 1 !important;
}

body:has(#gib-franchise)
#header .header-inner {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

/* Le fond rose conserve la lisibilité du logo blanc */
body:has(#gib-franchise)
#header .header-title-logo img {
  height: 72px !important;
  max-height: 72px !important;
  width: auto !important;
  padding: 8px;
  box-sizing: border-box;
  background: #FB9F94;
  border-radius: 50%;
}

/* Navigation */
body:has(#gib-franchise)
#header .header-nav-item a,
body:has(#gib-franchise)
#header .header-nav-folder-title {
  font-family: Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #292D2A !important;
}

body:has(#gib-franchise)
#header .header-nav-folder-content {
  background: #F7F4EF !important;
}

/* Bouton et icônes */
body:has(#gib-franchise)
#header .header-actions-action--cta a {
  background: #FB9F94 !important;
  color: #292D2A !important;
  border: 0 !important;
  border-radius: 100px !important;
  padding: 14px 22px !important;
  font: 600 13px/1.4 Arial, sans-serif !important;
}

body:has(#gib-franchise)
#header .header-actions-action--social .icon {
  color: #292D2A !important;
  fill: #292D2A !important;
}

body:has(#gib-franchise)
#header .burger-inner > div {
  background-color: #292D2A !important;
}



/* En-tête uniforme : suppression du cadre rose */
body:has(#gib-franchise) #header,
body:has(#gib-franchise) #header .header-inner,
body:has(#gib-franchise) #header .header-background,
body:has(#gib-franchise) #header .header-background-solid,
body:has(#gib-franchise) #header .header-blur-background {
  background: #FFFFFF !important;
  background-image: none !important;
  box-shadow: none !important;
}

body:has(#gib-franchise) #header {
  border-bottom: 1px solid #ECECE7 !important;
}

/* Icônes sociales visibles sur fond blanc */
body:has(#gib-franchise)
#header .header-actions-action--social {
  color: #292D2A !important;
}

body:has(#gib-franchise)
#header .header-actions-action--social a,
body:has(#gib-franchise)
#header .header-actions-action--social svg,
body:has(#gib-franchise)
#header .header-actions-action--social svg use {
  color: #292D2A !important;
  fill: #292D2A !important;
  opacity: 1 !important;
}


@media (max-width: 767px) {

  /* Fond uniforme, y compris autour du logo */
  body:has(#gib-franchise) #header,
  body:has(#gib-franchise) #header .header-inner,
  body:has(#gib-franchise) #header .header-background,
  body:has(#gib-franchise) #header .header-background-solid,
  body:has(#gib-franchise) #header .header-blur-background,
  body:has(#gib-franchise) .header-menu-bg {
    background: #FFFFFF !important;
    background-image: none !important;
  }

  /* Logo plus discret */
  body:has(#gib-franchise)
  #header .header-title-logo img {
    height: 58px !important;
    max-height: 58px !important;
    padding: 6px !important;
  }

  body:has(#gib-franchise)
  #header .header-inner {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  /* Liens lisibles et moins imposants */
  body:has(#gib-franchise)
  .header-menu-nav-item a,
  body:has(#gib-franchise)
  .header-menu-nav-item-content {
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 21px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    color: #292D2A !important;
  }

  body:has(#gib-franchise)
  .header-menu-nav-item {
    margin: 0 24px !important;
    padding: 13px 0 !important;
    text-align: left !important;
    border-bottom: 1px solid #ECEEE8;
  }

  /* Réseaux sociaux */
  body:has(#gib-franchise)
  .header-menu-actions {
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }

  body:has(#gib-franchise)
  .header-menu-actions a,
  body:has(#gib-franchise)
  .header-menu-actions svg,
  body:has(#gib-franchise)
  .header-menu-actions svg use {
    color: #292D2A !important;
    fill: #292D2A !important;
  }

  /* Bouton rose arrondi */
  body:has(#gib-franchise)
  .header-menu-cta a {
    background: #FB9F94 !important;
    color: #292D2A !important;
    border: 0 !important;
    border-radius: 100px !important;
    padding: 16px 24px !important;
    font: 600 15px/1.4 Arial, sans-serif !important;
  }
}

