* {
  font-family: 'Roboto', sans-serif !important;
}

html,
body {
  height: 100%;
  font-family: 'Roboto', sans-serif !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.main-content,
#main-content,
.container-main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}
/* Fixe la hauteur des cards et aligne le footer interne */
.card.h-100,
.card.align-items-stretch {
  display: flex;
  flex-direction: column;
}
.card-body,
.card-sub-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

/* Sous-corps de card : flex column pour alignement du titre, texte et footer */
.card-sub-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 150px; /* Hauteur mini pour forcer l'alignement bas, à ajuster selon le design */
}
.card-sub-body .card-title {
  flex-shrink: 0;
}
.card-sub-body .card-text {
  flex-grow: 1;
  flex-shrink: 1;
}
.card-sub-body .d-flex.justify-content-between.align-items-center.mt-3 {
  margin-top: auto !important;
}
.card-body .card-title,
.card-body .card-text {
  flex-shrink: 0;
}
.card-body .d-flex.justify-content-between.align-items-center.mt-3 {
  margin-top: auto !important;
}
/* Footer links hover effet */
.footer-link {
  color: #bfc2c5;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}
.footer-link:hover,
.footer-link:focus {
  color: #fff;
  text-decoration: underline;
}
body {
  overflow-x: hidden !important;
}
.hero-header {
  position: relative;
  min-height: 110vh;
  width: 100%;
  margin: 0;
  padding: 0;
  background: #222;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: background-image 0s;
  overflow: hidden;
}
.hero-header .bg-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s;
  z-index: 1;
}
.hero-header .container {
  position: relative;
  z-index: 2;
}

/* Overlay pour le fondu du header */
#heroHeader .bg-fade {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s;
  z-index: 1;
  pointer-events: none;
}
