/* =======================================================================================
                                        À PROPOS
======================================================================================= */

/* -------------------------------------------------------------------------
   Global Styles
--------------------------------------------------------------------------- */

html,
body {
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden !important;
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.eyebrow {
  font-size: 1rem;
  text-transform: uppercase;
  color: #68c6df;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
  font-weight: 600;
  text-align: center;
}

/* ------------------------------------------------------------------------
     Section 1 : À propos
  --------------------------------------------------------------------------- */

.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f6f8fa;
  color: #f6f8fa;
  position: relative;
  overflow: hidden;
}

.about-hero__container {
  background: linear-gradient(120deg, #162139 0%, #5d5ca5 50%, #bddcb6 100%);
  background-size: 400% 400%;
  animation: gradient-move 15s ease-in-out infinite;
  height: 100vh;
  width: 100vw;
  max-width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0 0 5rem 5rem;
}

.about-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: left;
  padding: 4rem 6rem;
}

.about-hero__title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1;
  text-transform: uppercase;
  text-align: left;
}

.about-hero__subtitle {
  font-size: 1.75rem;
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: left;
}

.about-hero__tagline {
  font-size: 1.25rem;
  font-weight: 400;
  text-align: left;
}

.about-hero__img {
  position: absolute;
  width: 120px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.about-hero__img--top-right {
  bottom: -25%;
  left: 75%;
  animation-delay: 0s;
}

.about-hero__img--bottom-left {
  bottom: -20%;
  left: 70%;
  animation-delay: 2s;
}

.about-hero__scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  opacity: 1;
  z-index: 2;
}

.scroll-label {
  color: #f6f8fa;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 0.2rem;
}

.scroll-arrow {
  display: block;
  animation: scroll-bounce 1.2s infinite;
  margin-bottom: 1rem;
}

/* Animations */
@keyframes gradient-move {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes scroll-bounce {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive --------------------------*/
@media (max-width: 480px) {
  .about-hero__container {
    height: 100vh;
    border-radius: 0 0 2rem 2rem;
  }

  .about-hero__content {
    padding: 2rem 1.5rem;
    align-items: flex-start;
  }

  .about-hero__title {
    font-size: 2.25rem;
    line-height: 1.2;
    text-align: left;
  }

  .about-hero__subtitle {
    font-size: 1.125rem;
    line-height: 1.5;
    text-align: left;
  }

  .about-hero__tagline {
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
  }

  .about-hero__img {
    width: 80px;
  }

  .about-hero__img--top-right {
    right: 10%;
    bottom: -15%;
  }

  .about-hero__img--bottom-left {
    left: 10%;
    top: -10%;
  }

  .about-hero__scroll-indicator {
    bottom: 1.25rem;
    font-size: 0.75rem;
    gap: 0.2rem;
  }

  .scroll-arrow {
    margin-bottom: 10vh;
  }

  .scroll-arrow svg {
    width: 28px;
    height: 28px;
  }
}

/*---------------------------------Responsive.*/

/* -------------------------------------------------------------------------
     Section 2 : Nos valeurs
  --------------------------------------------------------------------------- */

.valeurs__intro {
  text-align: center;
}

.valeurs__scroll-section {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  background: #f6f8fa;
}

.wrapper.valeurs__grid-horizontal {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 100vh;
  padding-left: calc(50vw - 20vw);
  padding-right: calc(50vw - 20vw);
  gap: 0;
}

.item.valeurs__card {
  width: 40vw;
  min-width: 40vw;
  max-width: 90vw;
  height: 40vw;
  max-height: 70vh;
  flex: 0 0 40vw;
  opacity: 0.5;
  transform: scale(0.85);
  transition: box-shadow 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    opacity 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    transform 0.7s cubic-bezier(0.77, 0, 0.18, 1),
    filter 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: 1;
  background: #fff;
  border-radius: 2.5rem;
  box-shadow: 0 4px 24px rgba(104, 198, 223, 0.1);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  filter: grayscale(1);
  margin-right: 2vw;
  margin-left: 0;
  box-sizing: border-box;
}

.item.valeurs__card.active {
  opacity: 1;
  box-shadow: 0 16px 48px rgba(104, 198, 223, 0.22),
    0 2px 8px rgba(22, 33, 57, 0.1);
  transform: scale(1.13);
  z-index: 2;
  filter: grayscale(0);
}

.valeurs__card .valeurs__icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #68c6df, #bddcb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.valeurs__card h4 {
  font-size: 1.3rem;
  color: #162139;
  margin-bottom: 0.7rem;
  font-weight: 700;
  line-height: 1.2;
}

.valeurs__card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #5d5ca5;
  margin-bottom: 0;
  margin-top: 0;
  text-align: left;
}

/* Responsive */
@media (max-width: 480px) {
  .wrapper.valeurs__grid-horizontal {
    padding-left: calc(50vw - 35vw);
    padding-right: calc(50vw - 35vw);
  }
  .item.valeurs__card {
    width: 70vw;
    min-width: 70vw;
    max-width: 90vw;
    height: 70vw;
    max-height: 60vh;
    flex: 0 0 70vw;
    padding: 1.5rem;
    border-radius: 1.2rem;
  }
}
@media (max-width: 480px) {
  html,
  body {
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    touch-action: pan-y; /* Empêche le scroll horizontal au tactile */
  }
  .valeurs__scroll-section {
    overflow-x: hidden !important;
    overflow-y: visible;
    height: auto;
    min-height: 60vh;
    width: 100vw;
    position: relative;
  }
  .wrapper.valeurs__grid-horizontal {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0 0.5rem;
    position: static;
    min-width: 0;
    min-height: 0;
    overflow-x: hidden !important;
    width: 100%;
  }
  .item.valeurs__card,
  .item.valeurs__card.active,
  .item.valeurs__card.prev,
  .item.valeurs__card.next,
  .item.valeurs__card.slide-in-left,
  .item.valeurs__card.slide-in-right {
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 1.5rem 0 !important;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.77, 0, 0.18, 1),
      transform 0.6s cubic-bezier(0.77, 0, 0.18, 1);
    pointer-events: auto !important;
    z-index: 1 !important;
    transition: none !important;
    filter: none !important;
  }
  .valeurs__prev,
  .valeurs__next {
    display: none !important;
  }
  .item.valeurs__card {
    padding: 1.5rem !important; /* Plus d'espace intérieur */
    font-size: 1.15rem; /* Texte un peu plus grand */
    min-height: 60vh; /* Hauteur minimale plus grande */
    margin-bottom: 2.2rem !important; /* Plus d'espace entre les cartes */
    border-radius: 1.5rem !important; /* Coins plus arrondis */
  }
  .item.valeurs__card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .valeurs__prev,
  .valeurs__next {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #68c6df;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
    z-index: 10;
    opacity: 0.92;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(104, 198, 223, 0.1);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    padding: 0;
  }
  .valeurs__prev {
    left: 8px;
  }
  .valeurs__next {
    right: 8px;
  }
  .valeurs__prev i,
  .valeurs__next i {
    margin: 0;
    font-size: 1.3em;
    line-height: 1;
    display: block;
  }
}

/* -------------------------------------------------------------------------
                      Section 3 : Méthodologie
  --------------------------------------------------------------------------- */

.methodo {
  background: #f6f8fa;
  padding: 4rem 2rem;
  text-align: center;
  color: #162139;
}

.methodo__intro {
  max-width: 900px;
  margin: 0 auto 4rem;
}

.methodo__highlight {
  font-size: 2rem;
  font-weight: 700;
  margin: 3rem 0 4rem;
  color: #162139;
}

.methodo__number .count {
  font-size: 5rem;
  color: #68c6df;
}

.methodo__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
}

.methodo__card {
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0px 0px 13px 0px rgba(104, 198, 223, 0.4);
  padding: 2rem;
  flex: 1 1 400px;
  text-align: center;
  transition: transform 0.3s ease;
}

.methodo__card:hover {
  transform: translateY(-10px);
}

.methodo__icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #68c6df, #bddcb6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.methodo__card h3 {
  font-size: 1.5rem;
  color: #162139;
  margin-bottom: 0.5rem;
}

.methodo__card p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
}

/* -------------------------------------------------------------------------
     Section 4 : Processus de recrutement
  --------------------------------------------------------------------------- */

.processus {
  padding: 4rem 2rem;
  background: #f6f8fa;
  position: relative;
}

.processus__step {
  width: 100%;
  max-width: 100vw;
  margin: 4rem auto;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.processus__step.active {
  opacity: 1;
  transform: translateY(0);
}

.processus__step.gauche .processus__content {
  margin-right: auto;
  text-align: center;
}

.processus__step.droite .processus__content {
  margin-left: auto;
  text-align: center;
}

.processus__content {
  padding: 2rem;
  border-radius: 1.5rem;
  box-shadow: 0px 0px 13px 0px rgba(104, 198, 223, 0.4);
  width: 90%;
}

.processus__content h3 {
  font-size: 1.5rem;
  color: #68c6df;
  margin-bottom: 0.5rem;
}

.processus__content p {
  font-size: 1rem;
  color: #162139;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 480px) {
  .processus__step.gauche .processus__content,
  .processus__step.droite .processus__content {
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
     Section 6 : MATCH360
  --------------------------------------------------------------------------- */

.match360 {
  padding: 4rem 2rem;
  background: #f6f8fa;
  text-align: center;
}

.match360__intro h2 {
  font-family: "tt-commons-pro", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: #68c6df;
}

.match360__intro h2 span {
  color: #162139;
}

.match360__intro p {
  font-family: "proxima-nova", sans-serif;
  font-size: 1rem;
  max-width: 600px;
  margin: 1rem auto 2rem;
}

.match360__grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* 3 colonnes, ajuste selon le nombre d'items */
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}

.match360__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(270deg, #bddcb6, #68c6df, #5d5ca5);
  background-size: 200% 200%;
  animation: gradientText 8s ease infinite;
  padding: 2rem;
  border-radius: 50px;
  min-width: 0;
  min-height: 280px;
  box-shadow: 0px 0px 13px 0px rgba(104, 198, 223, 0.18);
}

.match360__item i {
  font-size: 2rem;
  color: #f6f8fa;
  margin-top: 0.3rem;
}

.match360__item h3 {
  font-family: "helvetica-neue-lt-pro", sans-serif;
  font-size: 1.25rem;
  color: #f6f8fa;
  margin-bottom: 0.5rem;
}

.match360__item p {
  font-family: "proxima-nova", sans-serif;
  font-size: 1.5rem;
  color: #f6f8fa;
}

.match360__title {
  grid-column: 1 / -1;
  text-align: center;
  font-family: "tt-commons-pro", sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  margin: 3rem 0;
  background: linear-gradient(270deg, #bddcb6, #68c6df, #5d5ca5);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s ease infinite;
  opacity: 0;
  transform: translateY(40px);
  perspective: 1000px;
}

/* Glitch effet optionnel */
.match360__title.glitch::before,
.match360__title.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.match360__title.glitch::before {
  animation: glitchBefore 2s infinite;
  top: -2px;
}
.match360__title.glitch::after {
  animation: glitchAfter 2.5s infinite;
  top: 2px;
}

@keyframes glitchBefore {
  0% {
    clip-path: inset(0 0 50% 0);
    transform: translate(-2px, -2px);
  }
  50% {
    clip-path: inset(50% 0 0 0);
    transform: translate(2px, 2px);
  }
  100% {
    clip-path: inset(0 0 50% 0);
    transform: translate(-1px, 1px);
  }
}

@keyframes glitchAfter {
  0% {
    clip-path: inset(50% 0 0 0);
    transform: translate(2px, 2px);
  }
  50% {
    clip-path: inset(0 0 50% 0);
    transform: translate(-2px, -1px);
  }
  100% {
    clip-path: inset(50% 0 0 0);
    transform: translate(1px, -2px);
  }
}

@keyframes gradientText {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/*Responsive*/
@media (max-width: 480px) {
  .match360 {
    padding: 2rem 0.5rem;
  }

  .match360__grid {
    gap: 1.2rem;
  }

  .match360__item {
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 0.5rem;
    border-radius: 1.2rem;
    font-size: 1rem;
  }

  .match360__item i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .match360__item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
  }

  .match360__item p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .match360__title {
    font-size: 2rem !important;
    margin: 2rem 0;
    padding: 0 0.5rem;
  }
}

/* -----------------------------------------------------------------------
     Section 7 : Founders
  --------------------------------------------------------------------------- */
.founders-wrapper {
  padding: 4rem 2rem;
}

.founders-immersive {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.founder-side {
  flex: 1 1 500px;
  max-width: 600px;
  background: white;
  border-radius: 2rem;
  padding: 3rem 2rem;
  box-shadow: 0px 0px 13px 0px rgba(104, 198, 223, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #162139;
  transition: all 0.3s ease;
  position: relative;
}

.founder-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.founder-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.founder-content span {
  font-size: 1.5rem;
  font-weight: 600;
  color: #68c6df;
  margin-bottom: 1rem;
}

.portrait {
  position: relative;
  display: inline-block;
}

/* Texte masqué de base */
.founder-text p {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* CTA masqué de base */
.cta-simple {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.65rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: #68c6df;
  background: #fff;
  cursor: pointer;
  margin-top: 1.5rem;
  position: relative;
  transition: color 0.2s, border-color 0.2s, opacity 0.4s ease,
    transform 0.4s ease;
  text-decoration: none;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Hover : texte et bouton visibles */
.founder-side:hover .founder-text p,
.founder-side:hover .cta-simple {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* CTA style interne */
.cta-text {
  position: relative;
  z-index: 1;
}

.cta-text::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #68c6df, #bddcb6);
  transition: width 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}

.cta-simple:hover .cta-text::after,
.cta-simple:focus .cta-text::after {
  width: 100%;
}

.cta-arrow {
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.6s, transform 0.6s;
  font-size: 1.1em;
  vertical-align: middle;
  margin-bottom: 12px;
  color: #68c6df;
}

.cta-simple:hover .cta-arrow,
.cta-simple:focus .cta-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 480px) {
  .founders-wrapper {
    padding: 2rem 0.5rem;
  }

  .founders-immersive {
    flex-direction: column;
    gap: 2rem;
    align-items: stretch;
  }

  .founder-side {
    max-width: 100%;
    padding: 2rem 1rem;
    border-radius: 1.2rem;
    box-shadow: 0px 0px 8px 0px rgba(104, 198, 223, 0.18);
  }

  .founder-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }

  .founder-content span {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }

  .founder-text p,
  .cta-simple {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
  }

  .cta-simple {
    width: 100%;
    min-width: 0;
    padding: 1.2rem 0;
    font-size: 1.2rem;
    border-radius: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    background: #68c6df !important;
    color: #162139 !important;
    box-shadow: 0 2px 8px rgba(104, 198, 223, 0.1);
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    transition: none !important;
    display: flex !important;
    gap: 0.5em;
    text-align: center;
  }
  .cta-simple .cta-text {
    font-size: 1.2rem;
    color: #162139 !important;
    font-weight: 600;
    width: 100%;
    text-align: center;
    display: block;
  }
  .cta-simple .cta-arrow {
    display: none !important;
  }
}
