/* ---------------------------- MENU ----------------------------
1. HEADER ---------------------------------------------------- 18
2. FOOTER ---------------------------------------------------- 176
3. HERO ------------------------------------------------------ 227
4. HERO CTA -------------------------------------------------- 295
5. MENU ------------------------------------------------------ 353
6. QUOTE------------------------------------------------------ 376
7. SKILL SLIDER ---------------------------------------------- 398
8. CLIENTS --------------------------------------------------- 486
9. PRIVACY POLICY -------------------------------------------- 530
10. CONTACT FORM --------------------------------------------- 535
11. SKILLS SECTION ------------------------------------------- 688
12. AGENCE --------------------------------------------------- 787
13. 404 / SUCCESS FORM --------------------------------------- 843
*/

/* ---------------------------- HEADER ---------------------------- */
/* ------ Logo ------ */
.menu-item-logo {
  display: none;
}
.menu-logo {
  height: 6rem;
}
.menu-logo > a > img {
  height: 100%;
  width: auto;
}

/* ------ Menu Burger ------ */
.header-head {
  position: fixed;
  top: 0;
  left: 0;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
  padding: 0 1rem;
  width: 100svw;
  z-index: 1000;
}
.header-burger {
  cursor: pointer;
}

.header-burger span {
  display: block;
  width: 30px;
  height: 2px;
  margin: 7px;
  background-color: var(--white);
  transition: all 0.3s ease-in-out;
}

.header-burger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 8.5px;
}
.header-burger.open span:nth-child(2) {
  transform: scaleX(0);
  transform-origin: center;
}
.header-burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -8.5px;
}

/* ------ Body ------ */
.header-body {
  background-color: var(--black);
  width: 100svw;
  height: 100svh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

  padding: 1rem;

  transform: translateX(100%);
  transition: transform ease-in 0.4s;

  z-index: 100;
}
.header-body.open {
  transform: translateY(0);
}

.header-body-footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.header-main-nav,
.social-nav {
  display: flex;
  justify-content: center;
  align-items: center;
}
.header-main-nav {
  flex-direction: column;
  gap: 1rem;
}
.social-nav {
  gap: 1rem;
}
.menu-item a img {
  margin: 0;
}

/* Hovers */
.menu-item {
  position: relative;
}
.menu-item::after {
  content: "";
  display: block;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--white);
  transition: width 0.3s ease-in-out;
  z-index: 10000;
}
.menu-item:hover::after {
  width: 100%;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 1024px) {
  .header-burger {
    display: none;
  }
  .header-body {
    /* background: rgba(17, 17, 17, 0.2); */
    background: none;
    display: flex;
    flex-direction: row;
    justify-content: end;
    gap: 4rem;
    width: 100%;
    height: 6rem;
    padding: 4rem 1rem;
    transition: all 0.5s ease-in-out;

    transform: translate(0);
  }
  .header {
    width: 100svw;
    height: 100%;
  }
  .header-main-nav {
    flex-direction: row;
    gap: 4rem;
  }
  .header-body-footer .legal-menu {
    display: none;
  }
  .header-head {
    width: min-content;
    z-index: 150;
    transition: all 0.5s ease-in-out;
  }
}

/* ---------------------------- FOOTER ---------------------------- */
.footer {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-top: 4rem;
}

.footer-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer .social-menu .social-nav {
  justify-content: start;
}

.footer-menu-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}
.footer-copyright {
  font-size: var(--small);
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 1024px) {
  .footer {
    padding-top: 8rem;
    gap: 4rem;
  }

  .footer-body {
    flex-direction: row;
    justify-content: center;
    gap: 8rem;
  }
}

/* ---------------------------- HERO ---------------------------- */
.hero {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  z-index: -1;
  padding-top: 6rem;

  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
}
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  overflow: hidden;
  transition: transform 0.3s ease-out;
}
#hero-video {
  width: auto;
  height: auto;
  min-height: 100%;
  pointer-events: none;
  user-select: none;
}
.hero-video-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 100000;
  pointer-events: none;
}
.hero-body {
  margin: 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-body p {
  font-size: var(--h5-size);
  max-width: 685px;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 1024px) {
  .hero-body p {
    width: 50%;
  }
  .hero-body {
    /* margin: 0 2rem; */
    gap: 0;
  }
}

/* ---------------------------- HERO CTA ---------------------------- */
/* ------ Side ------ */
div.side-cta {
  transition: all 0.3s ease-in-out;
  background-color: var(--primary);
  display: flex;
  width: fit-content;
  z-index: 100;
}
div.side-cta:not(.hero-body > div.side-cta) {
  display: none;
}
div.side-cta:not(.hero-body > div.side-cta) {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-300%) rotate(-90deg);
  transform-origin: bottom right;
}

div.side-cta a {
  padding: 0.7rem 1.5rem;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 768px) {
  div.side-cta:not(.hero-body > div.side-cta) {
    display: flex;
  }
}
@media screen and (min-width: 1024px) {
  div.side-cta:hover {
    background-color: var(--accent);
  }
}

/* ------ Bottom ------ */
.hero-scroll-cta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--small);

  margin-bottom: 1rem;
}

.hero-scroll-cta img {
  width: 8px;
}

/* ---------------------------- MENU ---------------------------- */
/* ------ Main ------ */
#menu-main-1 li {
  width: fit-content;
}

/* ------ Legal ------ */
.legal-menu {
  font-size: var(--small);
}

/* ------ Contact ------ */
#menu-contact li {
  width: fit-content;
}

.footer-contact-nav,
.footer-main-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ---------------------------- QUOTE ---------------------------- */
/* ------ Index Quote ------ */
.quote-container {
  padding: 4rem;
}
.quote-container,
.quote-container blockquote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 1024px) {
  .quote-container {
    padding: 8rem;
  }
  .quote {
    width: 60%;
  }
}

/* ---------------------------- SKILL SLIDER ---------------------------- */
.skill-slider-item-title {
  font-size: 1.7rem;
  width: min-content;
}
.skill-slider-item-wrapper {
  position: relative;
  /* height: 50px; */
  overflow: hidden;
  cursor: pointer;
  transition: height 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.skill-slider-item-header {
  display: flex;
  gap: 1rem;
  position: absolute;
  top: .8rem;
  left: 0;
}
.skill-slider-item-header img {
  width: 24px;
  transform: rotate(-90deg);
  transition: transform 0.2s ease-in-out;
}
.skill-slider-item-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: var(--white);
}

.sliderItemOpen {
  height: 700px !important;
}
.sliderItemOpenImg {
  transform: rotate(0deg) !important;
}

.skill-slider-title {
  padding: 1rem 0;
}

.slider-link {
  display: flex;
  position: relative;
  align-items: center;
  width: fit-content;
  font-size: var(--small);
  height: 20px;
  margin-top: 1rem;
  display: none;
}
.slider-link-img {
  transform-origin: center center;
  transform: rotate(-90deg) translateY(50%);
}


.skill-item-img-container {
  position: relative;
  /* flex: 0 0 300px; */
  width: 300px;
  height: 450px;
  overflow: hidden;
}

.skill-item-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 600px) {
  .sliderItemOpen {
    height: 550px !important;
  }
  .skill-slider-item-wrapper {
    flex-direction: row;
  }
  .slider-dash {
    position: absolute;
    left: 350px;
    bottom: 0;
    transform: translateY(-200%);
    width: fit-content;
    opacity: 0;
  }
  .slider-item-excerpt {
    position: absolute;
    left: 350px;
    bottom: 0;
    transform: translateY(-100%);
    width: fit-content;
    opacity: 0;
  }
  .sliderItemOpenExcerpt {
    opacity: 1;
  }
}


@media screen and (min-width: 769px) {
  .slider-item-excerpt,
  .slider-dash {
    position: initial;
    opacity: 1;
    transform: none;
  }
  .skill-slider-item-title {
    font-size: var(--h3);
    width: auto;
  }
  .slider-link {
    display: flex;
  }
  .skill-slider-item-wrapper::after {
    display: none;
  }
  .skill-slider-item-header {
    display: flex;
    position: initial;
  }
  .skill-slider-item-header img {
    display: none;
  }

  .skill-slider-title {
    text-align: right;
    width: 100%;
    padding: 0;
  }

  /* .skill-item-img-container {
    position: relative;
    height: ;
    max-width: 300px;
  }
  .skill-item-img-container img {
    object-fit: fill;
    height: 100%;
    width: 100%;
  } */


  /* Important : */
  html {
    scroll-behavior: smooth;
    overflow-y: scroll;
  }
  body {
    margin: 0;
  }

  .skill-slider-item {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    align-items: center;
  }
  .other-section {
    scroll-snap-align: start;
  }

  .skill-slider-item-wrapper {
    overflow: visible;
    cursor: auto;
    height: auto;
    display: flex;
    position: relative;
    align-items: center;
  }


  .skill-slider-item-body {
    width: fit-content;
    position: absolute;
    left: calc(100% + 1rem);
  }

  .skill-slider-item-body h3:nth-child(2) {
    line-height: 50%;
  }

  .slider-link::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.5px;
    background-color: var(--white);
    transition: width 0.3s ease-in-out;
    z-index: 10000;
  }

  .slider-link:hover::after {
    width: 160%;
  }

  /* ------ Responsive Desktop ------ */
  @media screen and (min-width: 1024px) {
    .skill-slider-item-wrapper {
      align-items: center;
      padding-left: 6rem;
      flex-direction: row;

      /* animation */
      opacity: 0;
      transform: scale(0.9);
      transform: translateX(-10px);
      transition: opacity 0.3s ease-in-out, transform 0.3s ease-out;
    }

    .skill-slider-item-wrapper.visible {
      opacity: 1;
      transform: scale(1);
      transform: translateX(0);
    }


  }
}

/* ---------------------------- CLIENTS ---------------------------- */
.clients-container,
.clients-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.clients-container {
  padding: 4rem 0;
  gap: 2rem;
  padding-bottom: 8rem;
}

.clients-container h2 {
  text-align: center;
}

.clients {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  /* max-width: 1000px; */
}
.clients-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
  width: 100%;
}
.clients[data-animated="true"] {
  justify-content: start;
  overflow: hidden;
  --webkit-mask:
    linear-gradient(
      90deg,
      transparent,
      white 20%,
      white 80%,
      transparent
    );
  mask:
    linear-gradient(
      90deg,
      transparent,
      white 20%,
      white 80%,
      transparent
  );
}
.clients[data-animated="true"] .clients-inner{
  width: fit-content;
  flex-wrap: nowrap;
  animation: clientScroll 20s linear infinite;
}

.clients img {
  width: 6rem;
  height: fit-content;
}

@keyframes clientScroll {
  to {
    transform: translateX(calc(-50% - 1.5rem));
  }
}




/* ------ Responsive Desktop ------ */
@media screen and (min-width: 1024px) {
  .clients {
    gap: 2rem;
    width: 80%;
  }

  .clients img {
    width: 8rem;
  }
}

/* ---------------------------- PRIVACY POLICY ---------------------------- */
.privacy-container {
  padding-top: 10rem;
}

/* ---------------------------- CONTACT FORM ---------------------------- */
/* ------ Contact main + info ------ */
.contact {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 1rem;
  padding-top: 4rem;
  min-height: 90svh;
}
.contact::before {
  content: "";
  position: absolute;
  top: calc( 0 - 4rem);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  height: 0.5px;
  background-color: var(--white);
}

.contact-subtitle {
  color: var(--gray);
  width: 80%;
}

.contact-body {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 6rem;
  padding: 2rem 0;
}

.contact-form-container {
  display: flex;
  justify-content: center;
  align-items: end;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 600px) {
  .contact-subtitle {
    color: var(--gray);
    width: 80%;
  }
}

@media screen and (min-width: 1000px) {
  .contact-subtitle {
    color: var(--gray);
    width: 40%;
  }
}

@media screen and (min-width: 1189px) {
  .contact-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100%;
    gap: 0;
  }

  .contact-info-container {
    align-self: end;
  }
}

/* ------ Contact Form ------ */
.form {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 80svw;
}

.form span {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 3rem;
}

.form-input {
  background: none;
  border: none;
  border-bottom: 0.5px solid var(--white);
  padding: 0.5rem 0.5rem 0.5rem 0;
  color: var(--white);
  font-family: var(--base-font);
  overflow: visible;
}

.form-input::placeholder {
  color: var(--gray);
  transition: all 0.3s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}
.form-input:focus {
  outline: none;
}
.form-input:focus::placeholder {
  opacity: 0;
  transform: translateY(-20px);
}

.form-message {
  height: 150px;
}

.form-submit {
  background-color: var(--primary);
  border-radius: 0;
  border: none;
  color: var(--white);
  width: fit-content;
  padding: 0.7rem 2rem;
  transition: all 0.3s ease-in-out;
}
.form-submit:hover {
  background-color: var(--accent);
}

.form-label-wrapper {
  position: relative;
  font-size: 13px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-label-wrapper *,
.form-label-wrapper-message * {
  width: 100%;
}

.form-label-wrapper-message {
  display: flex;
  font-size: 13px;
  position: relative;
}

.form-label-wrapper-message label {
  transform: translateY(0px);
  /* background-color: red; */
  top: 7px;
}

.form-label {
  opacity: 0;
  color: var(--gray);
  position: absolute;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

@media screen and (min-width: 650px) {
  .form {
    width: 500px;
  }

  .form span {
    flex-direction: row;
    gap: 0;
  }
}

/* ---------------------------- SKILLS SECTION ---------------------------- */
.service-quote {
  height: 100svh;
  display: flex;
  justify-content: end;
  padding: 2rem 1rem;
}

.skill-wrapper {
  display: flex;
  flex-direction: column-reverse;
  flex-wrap: wrap;
  /* align-items: center; */
  /* justify-content: space-between; */
  gap: 8rem;
  padding: 4rem 0;
}

.skill-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.skill-card-img-container {
  position: relative;
  flex: 0 0 300px; /* Taille fixe pour chaque conteneur */
  height: 450px;
  /* overflow: hidden; */
}

.skill-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* transform: translateY(-50%); */
  transition: transform 0.3s ease-out;
}

.skill-right {
  text-align: right;
  align-items: end;
}

.skill-right {
  text-align: right;
  align-items: end;
}
.skill-left {
  text-align: left;
  align-items: start;
}

.skill-right .skill-body {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.skill-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  display: none;
  /* transform: translateY(-50%); */
  transition: transform 0.3s ease-out;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 500px) {
  .skill-body p {
    width: 70%;
  }
}
@media screen and (min-width: 750px) {
  .skill-video {
    display: initial;
  }
  .skill-wrapper {
    padding: 4rem 2rem;
    gap: 4rem;
  }
  .skill-card {
    align-items: center;
    flex-direction: row;
  }
  .skill-right {
    flex-direction: row-reverse;
  }
}
@media screen and (min-width: 1024px) {

  .skill-wrapper {
    padding: 4rem 10rem;
  }
}
@media screen and (min-width: 1200px) {

  .skill-wrapper {
    padding: 4rem 10rem;
  }
  .skill-body {
    max-width: 540px;
  }
  .skill-body p{
    width: 100%;
  }
}

/* ---------------------------- AGENCE ---------------------------- */
.agence {
  min-height: 100svh;
  padding: 5rem 1rem;
  padding-top: 10rem;

  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.agence-header {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 2rem;
}

.agence-subtitle {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.agence-subtitle p {
  width: 90%;
}

.agence-body {
  max-height: 600px;
  padding-bottom: 4rem;
}
.agence-body img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* ------ Responsive Desktop ------ */
@media screen and (min-width: 620px) {
  .agence-subtitle p {
    width: 70%;
  }
}
@media screen and (min-width: 1024px) {
  .agence-header {
    flex-direction: row;
    align-items: end;
    gap: 6rem;
  }
  .agence-subtitle p {
    width: 80%;
  }
  .agence-body img {
    max-height: none;
  }
}
@media screen and (min-width: 1124px) {
  .agence-body {
    max-height: 800px;
  }
}

/* ---------------------------- 404 PAGE (AND FORM SUCCESS (same classes)) ---------------------------- */
.page-404-container {
  height: 100svh;
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-404-bg-text {
  position: absolute;
  color: var(--primary);
  opacity: 0.6;
  font-size: 25rem;
}

.page-404-bg-text::after {
  display: none;
}

.page-404-body {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-404-link {
  margin-top: 2rem;
  text-decoration: underline;
}


/* Style initial des mots */
.word {
  color: var(--gray);
  display: inline-block;
}

/* Style quand un mot devient visible */
.word.visible {
  color: var(--white);
}
