:root {
  /* Couleurs principales */
  --fond-principal: #faf9f6; /* Blanc cassé */
  --couleur-primaire: #7baf7f; /* Vert mousse */
  --couleur-secondaire: #a4c3d8; /* Bleu ciel */
  --accent-chaleureux: #e8d8c3; /* Beige sable */
  --texte-principal: #4a4a4a; /* Gris anthracite */
  --texte-secondaire: #777777; /* Gris perle */
  --appel-action: #f1c40f; /* Or doux */

  /* Couleurs complémentaires */
  --couleur-ombre: #2f2f2f; /* Gris foncé */
  --accents-spirituels: #b0a4c7; /* Lavande légère */
  --fond-zone: #f8f1e5; /* Crème douce */
  --detail-doux: #f9e6a0; /* Jaune pâle */
  --couleur-contrastante: #f5a623; /* Rouge corail */

  /* Ombres et bordures */
  --ombre-legere: rgba(0, 0, 0, 0.1); /* Ombre douce */
  --ombre-forte: rgba(0, 0, 0, 0.25); /* Ombre plus marquée */
}

.light-background {
  --background-color: #f7f7f7;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none;
}

/* Section principale avec fond flou */
.main-slider {
  position: relative;
  overflow: hidden;
}

.slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: none;
  /* flou sur l’arrière-plan */
  background-color: rgba(17, 17, 17, 0.4);
  /* fond noir transparent (modifiable) */
  z-index: 1;
  /* au-dessus du fond, mais sous le texte */
}



.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  /* derrière le texte */
}

.tp-caption {
  width: 100% !important;
  max-width: 90% !important;
  padding: 0 5% !important;
  text-align: center !important;
  word-wrap: break-word !important;
  white-space: normal !important;
  z-index: 2 !important;
}

.tp-caption h1,
.tp-caption h2,
.tp-caption h4 {
  color: #fff !important;
  margin: 10px auto !important;
  line-height: 1.3 !important;
  word-break: break-word !important;
  white-space: normal !important;
}

/* Espace entre les éléments */
.tp-caption + .tp-caption {
  margin-top: 20px !important;
}

/* Desktop ajustements */
@media (min-width: 768px) {
  .tp-caption h1 {
    font-size: 50px !important;
  }

  .tp-caption h2 {
    font-size: 40px !important;
  }

  .tp-caption h4 {
    font-size: 30px !important;
  }

  .tp-caption a.theme-btn {
    font-size: 16px !important;
    padding: 10px 25px !important;
  }
}

@media (max-width: 767px) {
  .tp-caption.h1-caption {
    padding-top: 10px !important;
    /* diminue l'espace au-dessus */
  }

  .tp-caption h1 {
    font-size: 6vw !important;
    /* plus petit sur mobile */
  }
}

/* Animation pour les h1 (animation de montée) */
.tp-caption.h1-caption {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1.5s ease-out;
}

.tp-caption.h1-caption.tp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour les h2 (animation de glissement latéral) */
.tp-caption.h2-caption {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1.5s ease-out;
}

.tp-caption.h2-caption.tp-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Animation pour les h4 (animation de fondu) */
.tp-caption.h4-caption {
  opacity: 0;
  transition: opacity 1.5s ease-out;
}

.tp-caption.h4-caption.tp-visible {
  opacity: 1;
}

/* Animation pour le bouton (effet de zoom) */
.tp-caption.button-caption {
  opacity: 0;
  transform: scale(0.5);
  transition: all 1.5s ease-out;
}

.tp-caption.button-caption.tp-visible {
  opacity: 1;
  transform: scale(1);
}

/* Pour les petits écrans */
@media (max-width: 767px) {
  .tp-caption h1,
  .tp-caption h2,
  .tp-caption h4 {
    font-size: 30px;
  }

  .theme-btn.btn-style-one {
    font-size: 14px;
    padding: 10px 20px;
  }
}

.blog-news-column {
  display: flex;
  flex-direction: column;
}

.blog-news-column .inner-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-news-column .content-box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.blog-news-column .content-box .text {
  flex-grow: 1;
}
.blog-news-column .content-box .text h3 {
  margin-bottom: 10px;
}

.default-featured-column {
  display: flex;
  flex-direction: column;
}

.inner-boxs {
  background-color: #ffffff !important;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.content-boxs {
  flex-grow: 2;
  background-color: #ffffff !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
  