@import url("root.css");

/* **************************************************************** */
/* ************************ HERO SECTION ************************** */
/* **************************************************************** */

.spl_hero {
  position: relative;
  width: 100%;
  height: calc(100vh - 80px);

}

.spl_hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
}

.spl_hero-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--soft-dark);
  opacity: 0.43;

}

.spl_hero-text {
  position: absolute;
  width: 90%;
  /* max-width: 900px; */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--white);

}

.spl_hero-main-title,
.spl_hero-main-subtitle,
.spl_hero-contact-btn {
  animation: anim-text 0.5s linear forwards;

}

.spl_hero-main-title {
  font-size: clamp(3rem, 6vw, 10rem);
  text-align: center;
  font-family: var(--raleway);
  text-shadow: 5px 5px 2px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
}

.spl_hero-main-subtitle {
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  margin: 30px auto;
  /* font-size: 2.8rem; */
  text-align: center;
  font-weight: normal;
  max-width: 975px;
  transform: translateY(100px);
  opacity: 0;
  animation-delay: 0.2s;
}

.spl_hero-contact-btn {
  position: relative;
  display: block;
  margin: 30px auto;
  background-color: var(--purple);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  padding: 20px;
  min-width: 200px;
  max-width: 300px;
  color: var(--white);
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  border-radius: 100px;
  transform: translateY(100px);
  opacity: 0;
  animation-delay: 0.4s;

}


@keyframes anim-text {
  100% {
    opacity: 1;
    transform: translate(0);
  }

}




.spl_hero-contact-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--btn-hover);
  z-index: -1;
  transform: translate(-100%);
  border-radius: 100px;
  transition: transform 0.2s linear;
}


.spl_hero-contact-btn:hover::after {
  transform: translate(0);
}



/* **************************************************************** */
/* ********************* SERVICE  SECTION ************************* */
/* **************************************************************** */

.spl_service-section {
  background-color: var(--soft-dark);
  color: var(--white);
  padding: 94px;
}

.spl_service-section h2 {
  font-size: clamp(4rem, 7vw, 7.2rem);
  text-align: center;
}

.spl_service-container {
  max-width: 1300px;
  display: grid;
  margin: auto;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
  gap: 40px;
  margin-top: 55px;
}

.spl_service-item-card {
  border-radius: 10px;
  transition: box-shadow 0.3s linear;
  transform: translateY(80px);
  opacity: 0;
  /* transition: transform 0.5s linear forwards, opacity 0.5s linear forwards; */
}


.spl_service-item-card.anim-services {
  animation: anim-service-card 0.4s linear forwards;
}





.spl_service-item-card.anim-services:nth-child(2) {
  animation: anim-service-card 0.4s 0.2s linear forwards;
}

.spl_service-item-card.anim-services:nth-child(3) {
  animation: anim-service-card 0.4s 0.4s linear forwards;
}

.spl_service-item-card.anim-services:nth-child(4) {
  animation: anim-service-card 0.4s 0.6s linear forwards;
}

.spl_service-item-card.anim-services:nth-child(5) {
  animation: anim-service-card 0.4s 0.8s linear forwards;
}

.spl_service-item-card.anim-services:nth-child(6) {
  animation: anim-service-card 0.4s 1s linear forwards;
}

@keyframes anim-service-card {
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.spl_service-item-card img {
  display: block;
  margin: auto;
  width: 100px;

}

.spl_service-item-card h3 {
  font-size: 3.2rem;
  text-align: center;
  font-family: var(--raleway);
}

.spl_service-item-card p {
  margin: 8px auto;
  text-align: center;
  font-size: 1.8rem;
  font-family: var(--poppins);
  color: var(--gray);
  max-width: 320px;
}



/* HOVER */
.spl_service-item-card:hover.spl_service-item-card img {
  animation: icon-hover 0.7s ease-in-out;
}

@keyframes icon-hover {
  0% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-25px);
  }

  50% {
    transform: translateY(25px);
  }

  75% {
    transform: translateY(-25px);

  }

  100% {
    transform: translateY(0);
  }
}


.spl_service-item-card:hover {

  box-shadow: 0px 0px 10px 3px var(--purple);
}

/* **************************************************************** */
/* ************************* WHY SECTION ************************** */
/* **************************************************************** */
.spl_why-us {
  max-width: 1300px;
  margin: 94px auto 94px;
  padding-left: 30px;
  padding-right: 30px;
}

.spl_why-us-section-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  transform: translateY(200px);
  opacity: 0;
  transition: transform ease-in-out 0.5s, opacity ease-in-out 0.5s;
}

.spl_why-us-section-card:nth-child(2) {
  margin-top: 50px;
  transition-delay: 0.250s;
}


.why-card-anim {
  transform: translateY(0);
  opacity: 1;
}

.why_us-illustration-container {
  width: 100%;
  border-radius: 10px;

}

.why_us-illustration-container:nth-child(1) {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 5px 10px;

}



.why_us-illustration-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.why_us-img-illustration {
  /* padding-left: 50px; */
}

.why_us-text,
.commitment_card-container {
  /* padding: 50px; */
}



.commitment_card-container {
  position: relative;
}



.commitment_card-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(200px, 500px));
  gap: 30px;
  justify-content: center;


}


.commitment_card-container .card {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
  border-radius: 20px;
  max-height: 100%;
  padding: 20px;
  background-color: var(--white);

}

.why_us-text p {
  font-size: 1.8rem;
  font-family: var(--poppins);
  max-width: 562px;
  margin-top: 10px;
  color: var(--soft-dark);
  opacity: 0.8;
  line-height: 35px;
}

.commitment_emoji-card .emoji-title {
  font-size: 3rem;
}


.commitment_text-card h2 {
  font-size: 2.5rem;
  color: var(--purple);
  font-family: var(--raleway);
  text-align: center;
}

.commitment_text-card p {
  text-align: center;
  font-size: 1.8rem;
  margin-top: 7px;
  color: #000;
  opacity: 0.6;
  font-family: var(--poppins);
}


/* **************************************************************** */
/* *********************** ABOUT SECTION ************************** */
/* **************************************************************** */

.spl_about-us-section {
  /* background-color: var(--soft-dark); */
  background-image:
    radial-gradient(circle at 25% 30%, rgba(123, 63, 242, 0.07) 0%, rgba(123, 63, 242, 0.07) 12%, transparent 12%, transparent 100%),
    radial-gradient(circle at 75% 55%, rgba(123, 63, 242, 0.07) 0%, rgba(123, 63, 242, 0.07) 18%, transparent 18%, transparent 100%),
    radial-gradient(circle at 40% 85%, rgba(123, 63, 242, 0.07) 0%, rgba(123, 63, 242, 0.07) 25%, transparent 25%, transparent 100%),
    linear-gradient(0deg, rgb(255, 255, 255), rgb(255, 255, 255));


  padding: 0px 0px 94px 0px;
}

.separator {
  margin: 94px auto;
  width: 80%;
  height: 3px;
  border-radius: 100%;
  background-color: var(--dark);
  opacity: 0.3;
  transform: scale(0);
  transition: transform 0.5s linear;
}

.separator.separator-anim {
  transform: scale(1);
}

.spl_about-us-section .spl_about_title {
  text-align: center;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.3s linear, opacity 0.3s linear;
}

.spl_about_title.title-anim {
  transform: translate(0);
  opacity: 1;
}

.spl_about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 50px auto;
  gap: 50px;
  max-width: 1300px;
  padding-left: 30px;
  padding-right: 30px;
  /* overflow: hidden; */
}



.spl_about-container h2 {
  color: var(--purple);
  font-size: 3.5rem;
  font-family: var(--raleway);
}

.spl_about-container p {
  margin-top: 30px;
  font-size: 1.8rem;
  line-height: 2;
  font-family: var(--poppins);
  color: var(--soft-dark);
  opacity: 0.8;

}

.about-text {
  max-width: 800px;
}



.element-for-anim-about {
  transform: translateY(80px);
  transition: transform 0.6s linear, opacity 0.6s linear;
}



.about-text-anim {
  transform: translateY(0);

}

.about-img-container {
  width: 100%;
  height: 100%;
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.6s linear, opacity 0.6s linear;
}

.about-img-anim {
  transform: translateY(0);
  opacity: 1;
}

.about-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 40%;
  border-radius: 20px;
}

.about_us-date {
  display: flex;
  justify-content: space-around;
  margin: auto;
  max-width: 1240px;
  padding: 30px;
  background-color: var(--purple);
  border-top: 1px solid var(--purple);
  border-bottom: 1px solid var(--purple);


}

.date h3 {
  text-align: center;
  font-size: 3rem;
  /* color: var(--purple); */
  color: var(--white);
}

.date p {
  text-align: center;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 400;
  color: var(--white);
  opacity: 0.7;
}

.btn-about-us {
  max-width: 300px;
}


/* **************************************************************** */
/* *********************** PRICE SECTION ************************** */
/* **************************************************************** */

.spl-price-section {
  background-color: var(--dark);
  color: var(--white);
}

.spl_price_title {
  text-align: center;
  margin-bottom: 27px;
}

.spl_price_btn-reduc {
  display: flex;
  align-items: center;
  font-size: 2rem !important;
  background-color: var(--purple);
  padding: 0 5px;
  border-radius: 5px;
}

.spl_price-subtitle {
  text-align: center;
  font-size: clamp(1.6rem, 2vw, 2rem);
  max-width: 718px;
  margin: 27px auto;
  font-weight: normal;
}

.spl_price-card-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 410px));
  gap: 29px;
  justify-content: center;
  max-width: 1300px;
  margin: auto;
  padding-left: 30px;
  padding-right: 30px;
}

.spl_price-card {
  padding: 30px;
  max-height: max-content;
  border-radius: 20px;
  background-color: var(--soft-dark);
  width: 100%;

}

.spl_price-title-card {
  font-size: 2.5rem;
  text-align: center;
  font-weight: lighter;
  margin-bottom: 8px;
}

.spl_price-price-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 5rem;
  color: var(--purple);
}

.spl_price-price-card:nth-child(1) {
  color: var(--white);
}

.spl_price-devis {
  font-size: 3.2rem;
  text-align: center;
  background-color: var(--purple);
  border-radius: 10px;
  font-weight: bold;
  padding: 8px;
  margin-top: 10px;
}

.spl_price-price-card span {
  font-size: 1.6rem;
  color: #FFF;
  font-weight: lighter;
}

.reduc-offer {
  display: block;
  text-decoration: line-through;
}

.spl_price-subtitle-card {
  font-size: 2rem;
  text-align: center;
  color: #FFF;
  opacity: 0.5;
  font-weight: lighter;
  margin-top: 15px;
}

.spl_price-item {
  font-size: 1.6rem;
  list-style-type: none;
  margin-top: 22px;
}

.spl_price-item li {
  margin-bottom: 18px;
}

.wordpress-card {
  border: 2px solid var(--purple);
  box-shadow: 0px 0px 10px 5px #7b3ff26d;
}

.spl-price-info {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: max-content;
  background-color: var(--purple);
  border-radius: 7px;
  padding: 10px;
}

.spl-price-info p {
  font-size: 3rem;
}

/* switch button */

.switch-button {
  margin: 0 auto 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
}

.switch-button p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 2rem;

}

.switch-button button {
  position: relative;
  width: 80px;
  height: 30px;
  outline: none;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  background-color: transparent;
  border: 1px solid var(--white);
  margin: 0px 13px;
}

.rounded-btn {
  position: absolute;
  top: 0px;
  left: 0px;
  transform: translateX(0);
  height: 28px;
  width: 28px;
  border-radius: 100%;
  background-color: var(--purple);
  transition: transform 0.3s ease-in-out;
}

.price-btn-active {
  transform: translateX(175%);
}

.flag-price {
  width: 30px;
}

.france-flag {
  width: 40px;
}




/* **************************************************************** */
/* ************************ FAQ SECTION *************************** */
/* **************************************************************** */


.spl_faq {

  font-weight: normal;
  padding: 94px 30px 94px;
}

.spl_faq-title {
  text-align: center;
}

.spl-faq_questions-container {
  max-width: 840px;
  margin: 20px auto;
}

.spl_faq-question {

  margin: 20px auto 20px;
  max-width: 100%;
  background-color: var(--purple);
  padding: 20px;
  font-size: 2rem;
  border-radius: 20px;
  font-family: var(--raleway);

}


.spl_faq-question-title {
  display: flex;
  width: 100%;
  font-size: 1.8rem;
  background-color: transparent;
  border: none;
  outline: none;
  align-items: center;
  color: var(--white);
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
}

.spl_faq-question-title span {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--purple-dark);
  height: 30px;
  width: 30px;
  transition: transform 0.2s linear;
}

.spl_faq-question-title span::after {
  content: "+";
  position: absolute;
  top: 49%;
  left: 52%;
  transform: translate(-50%, -50%);
  font-size: 4.5rem;
}

.spl_faq-answer {
  color: #ffffffb5;
  overflow: hidden;
  transition: max-height 0.3s ease;
  max-height: 0;
  font-family: var(--poppins);
  /* font-size: 1.2rem; */

}



.spl_faq-answer p,
.spl_faq-answer ul {

  font-size: 1.5rem;
}

.spl_faq-answer p {
  margin-top: 10px;
}

.spl_faq-answer ul li {
  margin-top: 10px;
}

.spl_faq-answer ul li span {
  font-weight: 700;
}

.spl_faq-answer.active {
  max-height: 1000px;
}

.spl_faq-answer.active button span {
  transform: rotate(45deg);
}


/* **************************************************************** */
/* *********************** CONTACT SECTION ************************ */
/* **************************************************************** */

.spl_contact-form {
  background-color: var(--dark);
  margin: auto;
  padding: 94px 30px;
}


.spl_contact h2 {
  text-align: center;
  color: var(--white);
}



.spl_contact form {
  margin: 50px auto;
  max-width: 600px;
  padding: 20px;
  /* border: 1px solid var(--gray); */
  border-radius: 10px;
  /* background-color: var(-); */

}

.spl_contact form label {
  display: block;
  font-family: var(--poppins);
  font-weight: bold;
  font-size: 2rem;
  color: var(--white);
}

.spl_contact form input {
  margin-bottom: 15px;
  padding: 8px 0px;
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--poppins);
  color: var(--purple);
  font-weight: 600;
  background-color: transparent;
  border-bottom: 1px solid var(--gray);
  font-size: 1.5rem;

}

.error-message {
  font-size: 1.6rem;
  margin-top: -10px;
  margin-bottom: 10px;
  color: #ff0000;
}

.spl_contact form input::placeholder {
  font-weight: normal;
  color: #ffffff2b;
}


.spl_contact form input:focus {
  outline: 2px solid var(--purple);
  padding: 8px 12px;
  border: none;
  border-radius: 5px;
}


.input-checkbox {
  display: flex;
  gap: 10px;
}

.spl_contact form input[type="checkbox"] {
  margin-left: 0;
  accent-color: var(--purple);
  cursor: pointer;
  outline: none;
  width: 30px;
  height: 20px;



}

.spl_contact form .check-label {
  font-size: 1.2rem;
  font-weight: normal;
  cursor: pointer;
}



.btn-contact.btn-contact-section {

  width: 100% !important;

}

.input-container {
  position: relative;
}

.verif-icone {
  display: none;
  position: absolute;
  right: 10px;
  top: 19px;
  transform: translateY(-50%);
  width: 30px;
  color: #008000;
}