/* FONT FACE */
/* Imports des fonts */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/static/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/static/Manrope-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/static/Manrope-Medium.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope/static/Manrope-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth/Amaranth-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth/Amaranth-Bold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth/Amaranth-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: "Amaranth";
  src: url("../fonts/Amaranth/Amaranth-BoldItalic.ttf") format("truetype");
  font-weight: 800;
  font-style: italic;
}
/* VARIABLES */
/**********
* ACCUEIL *
**********/
.hero {
  background-color: #1E1E1E;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  padding: 2rem 10%;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .hero {
    gap: 4rem;
  }
}
.hero__titre {
  color: #FFFFFF;
  max-width: 800px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}
@media (min-width: 1500px) {
  .hero__titre {
    max-width: 900px;
  }
}
.hero__illu {
  position: relative;
  text-align: center;
}
.hero__illu .nuage {
  position: absolute;
  top: 0;
  left: -1rem;
  max-width: 40vw;
  opacity: 0;
  z-index: 1;
}
.hero__illu .element-1 {
  display: none;
}
@media (min-width: 1024px) {
  .hero__illu .element-1 {
    display: block;
    position: absolute;
    top: 45%;
    left: -13rem;
    max-width: 40vw;
    z-index: 1;
    opacity: 0;
  }
}
.hero__illu .element-2 {
  position: absolute;
  top: 40%;
  right: -5rem;
  max-width: 40vw;
  z-index: 1;
  opacity: 0;
}
@media (min-width: 1188px) {
  .hero__illu .element-2 {
    right: -9rem;
  }
}
.hero__illu .soleil {
  max-width: 80vw;
  max-height: 50vh;
  transform: scale(0);
  transition: transform 1s ease-in-out;
}
.hero__logo {
  margin-top: -25vh;
  z-index: 0;
  max-width: 80vw;
  width: 525px;
  transform: translateZ(0);
  opacity: 0;
}
.hero__arrow {
  animation: arrow-bounce 1.2s ease-in-out infinite;
}

.loaded .hero .soleil {
  transform: scale(1);
  transition: transform 1s ease-in-out 0.3s;
}
.loaded .hero__titre {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s ease-out 0.8s, opacity 0.8s ease-out 0.8s;
}
.loaded .hero__logo {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.8s ease-out 0.5s, opacity 0.8s ease-out 0.5s;
}
.loaded .hero .nuage {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.8s ease-out 0.5s, opacity 0.8s ease-out 0.5s;
}
.loaded .hero .element-1 {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.8s ease-out 0.9s, opacity 0.8s ease-out 0.9s;
}
.loaded .hero .element-2 {
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.8s ease-out 0.9s, opacity 0.8s ease-out 0.9s;
}

@keyframes arrow-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}
.manifesto__texte {
  font-size: 24px;
  font-family: "Amaranth", sans-serif;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .manifesto__texte {
    font-size: 28px;
  }
}
@media (min-width: 1024px) {
  .manifesto__texte {
    font-size: 40px;
  }
}
@media (min-width: 1188px) {
  .manifesto__texte {
    font-size: 50px;
    margin-bottom: 3rem;
  }
}
@media (min-width: 1500px) {
  .manifesto__texte {
    font-size: 60px;
    margin-bottom: 4rem;
  }
}
.manifesto__boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1188px) {
  .manifesto__boutons {
    gap: 1.5rem 2rem;
  }
}

.separateur {
  width: 100%;
  height: 30vh;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}
@media (min-width: 1188px) {
  .separateur {
    height: 50vh;
    background-attachment: fixed;
  }
}

.accompagnement {
  background-image: url("../img/background-1.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
}
.accompagnement .titre::before {
  background-color: #FFC800;
}
.accompagnement ul {
  counter-reset: section;
}
.accompagnement ul li {
  list-style: none;
  position: relative;
  padding-left: 3rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  padding-right: 1rem;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 1188px) {
  .accompagnement ul li {
    padding-left: 6rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    padding-right: 2rem;
  }
}
.accompagnement ul li::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  position: absolute;
  left: 1rem;
  top: 1rem;
  font-weight: 800;
}
@media (min-width: 1188px) {
  .accompagnement ul li::before {
    left: 2rem;
  }
}
.accompagnement ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: #FFC800;
  z-index: -1;
  transition: all 0.3s ease-in-out;
  color: #FFFFFF;
}
.accompagnement ul li:hover {
  color: #1E1E1E;
}
.accompagnement ul li:hover::after {
  height: 100%;
}

.services {
  position: relative;
}
.services .liste-accordion {
  counter-reset: etape;
  list-style: none;
  padding: 0;
  margin: 0;
}
.services .liste-accordion .service {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service {
    max-width: 50%;
    cursor: initial;
    padding-left: 3rem;
  }
}
.services .liste-accordion .service::before {
  counter-increment: etape;
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: #E95900;
  transition: all 0.3s ease-in-out;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service::before {
    color: rgba(30, 30, 30, 0.8);
  }
}
.services .liste-accordion .service__titre {
  position: relative;
  display: inline-block;
}
.services .liste-accordion .service__titre h3 {
  font-family: "Amaranth", sans-serif;
  font-size: 24px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 0.25em;
  text-underline-offset: -0.15em;
  -webkit-text-decoration-skip-ink: none;
          text-decoration-skip-ink: none;
  transition: all 0.3s ease;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service__titre h3 {
    font-size: 30px;
  }
}
@media (min-width: 1500px) {
  .services .liste-accordion .service__titre h3 {
    font-size: 34px;
  }
}
.services .liste-accordion .service__titre p {
  font-family: "Amaranth", sans-serif;
  font-style: italic;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service__titre {
    cursor: pointer;
  }
  .services .liste-accordion .service__titre::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 0;
    transform: translate(-100%, 20%) scale(0.8);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    opacity: 0;
    background-color: transparent;
    transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.2s ease;
  }
}
@media (min-width: 1188px) {
  .services .liste-accordion .service.active .service__titre::after {
    background-color: #E95900;
    opacity: 1;
    transform: translate(100%, 20%) scale(1);
  }
  .services .liste-accordion .service.active::before {
    color: #E95900;
  }
}
.services .liste-accordion .service.active .service__titre h3 {
  text-decoration-color: #FFC800;
}
.services .liste-accordion .service__description {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service__description {
    overflow: visible;
  }
}
.services .liste-accordion .service.active .service__description {
  max-height: 200px;
  padding: 0.5rem 0;
}
@media (min-width: 1188px) {
  .services .liste-accordion .service.active .service__description {
    padding: 0;
  }
}
@media (min-width: 1188px) {
  .services .liste-accordion .service:hover .service__description {
    opacity: 1;
    pointer-events: auto;
  }
}
.services__texte {
  margin-top: 2rem;
}
@media (min-width: 1188px) {
  .services__texte {
    margin-top: 3rem;
  }
}
.services .cercle-gradient {
  display: none;
}
@media (min-width: 1188px) {
  .services .cercle-gradient {
    display: block;
    position: absolute;
    bottom: 4rem;
    right: 0;
  }
}
.services .element-3 {
  display: none;
}
@media (min-width: 1188px) {
  .services .element-3 {
    display: block;
    position: absolute;
    bottom: 8rem;
    right: 200px;
  }
}

.intervention {
  background-image: url("../img/background-2.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #FFFFFF;
}
.intervention .titre::before {
  background-color: #FFC800;
}

.pourquoi .sous-titre {
  font-family: "Amaranth", sans-serif;
  font-style: italic;
  margin-bottom: 2rem;
}
@media (min-width: 1188px) {
  .pourquoi .sous-titre {
    font-size: 40px;
    margin-bottom: 3rem;
  }
}
.pourquoi .raisons .raison {
  background-color: #FFFFFF;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 30, 30, 0.5);
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
}
.pourquoi .raisons .raison:hover {
  border: 1px solid #1e1e1e;
}
@media (min-width: 1024px) {
  .pourquoi .raisons {
    -moz-column-count: 2;
         column-count: 2;
    -moz-column-gap: 2rem;
         column-gap: 2rem;
  }
  .pourquoi .raisons .raison {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
}
@media (min-width: 1188px) {
  .pourquoi .raisons {
    font-size: 24px;
  }
}
.pourquoi .nuage {
  display: none;
}
@media (min-width: 1188px) {
  .pourquoi {
    position: relative;
  }
  .pourquoi .nuage {
    display: block;
    position: absolute;
    top: 4rem;
    right: 10%;
    fill: #E95900;
  }
}

.clients {
  background-image: url("../img/background-3.svg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* ----- Desktop layout when <= 3 clients ----- */
}
.clients__container {
  overflow: hidden;
}
.clients__texte {
  margin-top: 2rem;
}
@media (min-width: 1188px) {
  .clients__texte {
    margin-top: 3rem;
  }
}
.clients .slider {
  display: flex;
  gap: 2rem;
  position: relative;
  align-items: stretch;
  transition: transform 0.5s ease;
  will-change: transform;
}
.clients .client {
  background-color: #FFFFFF;
  padding: 1.5rem;
  border-radius: 18px;
  border: 1px solid rgba(30, 30, 30, 0.5);
  box-sizing: border-box;
  flex: 0 0 auto;
  min-width: 0;
  text-align: center;
  transition: transform 0.3s ease;
}
.clients .client__logo {
  width: 100%;
  height: 150px;
  -o-object-fit: contain;
     object-fit: contain;
  max-width: 300px;
  filter: saturate(0);
  transition: filter 0.3s ease;
}
@media (min-width: 1188px) {
  .clients .client__logo {
    height: 200px;
  }
}
.clients .client:hover {
  transform: translateY(-10px);
}
.clients .client:hover .client__logo {
  filter: saturate(1);
}
.clients .client__description {
  display: block;
  margin-top: 0.75rem;
  text-align: left;
}
@media (min-width: 1188px) {
  .clients .client__description {
    font-size: 20px;
  }
}
@media (min-width: 1500px) {
  .clients .client__description {
    font-size: 24px;
  }
}
@media (min-width: 1188px) {
  .clients.no-slider { /* applied by JS when <=3 clients (desktop) */ }
  .clients.no-slider .clients__container {
    overflow: visible;
  }
  .clients.no-slider .client {
    flex: 1 1 calc(33.333% - 1.333rem); /* 3 per row with gap */
    min-width: 0;
  }
}

/* optionally hide scrollbar if you ever use overflow-x: auto */
.clients__container::-webkit-scrollbar {
  display: none;
}

/* CONTACT */
.contact__titre {
  text-align: center;
  margin-bottom: 3rem;
}

.contact__texte {
  text-align: center;
  margin-bottom: 2rem;
}
@media (min-width: 1188px) {
  .contact__texte {
    margin-bottom: 3rem;
  }
}

#contact {
  position: relative;
}
#contact::before {
  content: "";
  position: absolute;
  bottom: -5rem;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../img/lignes-orangees.webp);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

/* Form */
form,
.wpcf7-form {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: row wrap;
  flex-direction: column;
  margin: 0 auto;
  max-width: 900px;
  background: #FFFFFF;
  padding: 2rem;
  margin: 0 auto;
  border: 1px solid rgba(30, 30, 30, 0.5);
  border-radius: 30px;
}
@media (min-width: 1024px) {
  form,
  .wpcf7-form {
    flex-direction: row;
    justify-content: space-between;
  }
}
form .form-row,
.wpcf7-form .form-row {
  width: 100%;
}
@media (min-width: 1024px) {
  form .form-row,
  .wpcf7-form .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
  }
}
form .wpcf7-form-control-wrap,
.wpcf7-form .wpcf7-form-control-wrap {
  max-width: 100%;
}
form .mid,
.wpcf7-form .mid {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form .mid,
  .wpcf7-form .mid {
    width: 50%;
    margin-top: 0;
  }
}
form .full,
.wpcf7-form .full {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form .full,
  .wpcf7-form .full {
    margin-top: 0;
  }
}
form .submit,
.wpcf7-form .submit {
  width: 100%;
  text-align: center;
}
form select,
.wpcf7-form select {
  width: 100%;
  margin-top: 1rem;
}
@media (min-width: 1024px) {
  form select,
  .wpcf7-form select {
    margin-top: 0;
  }
}
form .wpcf7-not-valid-tip,
.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 1rem;
  text-transform: initial;
  margin-top: 5px;
  color: red;
}
form input:not([type=submit]),
form textarea,
.wpcf7-form input:not([type=submit]),
.wpcf7-form textarea {
  width: 100%;
}
form input:not([type=submit]),
form select,
form textarea,
.wpcf7-form input:not([type=submit]),
.wpcf7-form select,
.wpcf7-form textarea {
  color: #1E1E1E;
  border: 0;
  background-color: #FAF7F2;
  border-radius: 0;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  border: 1px solid rgba(30, 30, 30, 0.5);
  border-radius: 10px;
  outline: none;
  transition: 0.2s;
}
@media (min-width: 1188px) {
  form input:not([type=submit]),
  form select,
  form textarea,
  .wpcf7-form input:not([type=submit]),
  .wpcf7-form select,
  .wpcf7-form textarea {
    font-size: 24px;
  }
}
form input:not([type=submit]):focus,
form select:focus,
form textarea:focus,
.wpcf7-form input:not([type=submit]):focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  border: 1px solid #1e1e1e;
}
form input:not([type=submit])::-moz-placeholder, form select::-moz-placeholder, form textarea::-moz-placeholder, .wpcf7-form input:not([type=submit])::-moz-placeholder, .wpcf7-form select::-moz-placeholder, .wpcf7-form textarea::-moz-placeholder {
  color: rgba(30, 30, 30, 0.5);
}
form input:not([type=submit])::placeholder,
form select::placeholder,
form textarea::placeholder,
.wpcf7-form input:not([type=submit])::placeholder,
.wpcf7-form select::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(30, 30, 30, 0.5);
}
form textarea,
.wpcf7-form textarea {
  height: 200px;
}
form input[type=submit],
.wpcf7-form input[type=submit] {
  margin-top: 1.5rem;
}

.wpcf7-response-output {
  border: 0 !important;
  text-align: center;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-requiblack .wpcf7-response-output {
  color: red;
}

.wpcf7 form.sent .wpcf7-response-output {
  color: #00ab15;
}