/* assets/styles.css */

/* Prevent Multiple Contact Form 7 Submissions */

.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html { scroll-behavior: auto !important; }


/* Boutons */

.cfpp_green {
	color: var(--e-global-color-accent) !important;
}

/* Boutons */

.cfpp-btn .elementor-button {
  overflow: hidden;
  position: relative;
}

.cfpp-btn .elementor-button-text {
  display: block;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

.cfpp-btn .elementor-button-text .cfpp-btn-clone {
  position: absolute;
  left: 0;
  top: 250%;
  width: 100%;
  text-align: center;
  pointer-events: none;
}

.cfpp-btn .elementor-button:hover .elementor-button-text {
  transform: translateY(-250%);
}

/* Animations Overwrite */

@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(60px); filter: blur(8px); }
  70%  { filter: blur(0px); }
  100% { opacity: 1; transform: translateY(0);    filter: blur(0px); }
}

@keyframes fadeInDown {
  0%   { opacity: 0; transform: translateY(-60px); filter: blur(8px); }
  70%  { filter: blur(0px); }
  100% { opacity: 1; transform: translateY(0);     filter: blur(0px); }
}

@keyframes fadeInLeft {
  0%   { opacity: 0; transform: translateX(-60px); filter: blur(8px); }
  70%  { filter: blur(0px); }
  100% { opacity: 1; transform: translateX(0);     filter: blur(0px); }
}

@keyframes fadeInRight {
  0%   { opacity: 0; transform: translateX(60px); filter: blur(8px); }
  70%  { filter: blur(0px); }
  100% { opacity: 1; transform: translateX(0);    filter: blur(0px); }
}

.animated.fadeInUp,
.animated.fadeInDown,
.animated.fadeInLeft,
.animated.fadeInRight {
  animation-duration: 1s;
  animation-timing-function: cubic-bezier(0.45, 0, 0.15, 1);
}

/* Icon fix */

.cfpp_icon .elementor-icon-wrapper {
	display: flex !important;
}

/* Number highlights (3 bénéfices clé) */

.cfpp_number_highlight {
    background-color: transparent;
    position: relative;
    overflow: visible;
}

.cfpp_number_highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    height: 100%;
    width: calc(100% + 100vw);
    background-color: var(--e-global-color-e8a84a1);
    z-index: -1;
}