* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}

body {
  font-family: "ROBOTO", sans-serif;   
  cursor: none;

}

.nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background-color: #1e1f26;
  text-align: center;
  padding: 0 2em;
  cursor: none;
}

.slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  position: relative;
  background-color: #1e1f26;
  text-align: center;
  padding: 0 2em;
  cursor: none;
 
}

.nav h1,
.slider h1 {
  font-family: "Josefin Sans", sans-serif;
  font-size: 5vw;
  margin: 0;
  padding-bottom: 0.5rem;
  letter-spacing: 0.5rem;
  color: #03dac6;
  transition: all 0.3s ease;
  z-index: 3;
}
h1:hover {
  transform: translate3d(0, -10px, 22px);
  color: #ff0266;
}

.slider h2 {
  font-size: 1.5vw;
  font-family: "ROBOTO", sans-serif;
  font-weight: 300;
  color: #faebd7;
  z-index: 4;
  margin-top: 10px;
  margin-bottom: 30px;
  width: 90%;
}

h3.span {
  font-size: 2vw;
  letter-spacing: 0.7em;
  font-family: "ROBOTO", sans-serif;
  font-weight: 300;
  color: #faebd7;
  z-index: 4;
}

.slider h4 {
  font-size: 1.2vw;
  font-family: "ROBOTO", sans-serif;
  font-weight: 300;
  color: #faebd7;
  z-index: 4;
  margin-top: 10px;
  width: 90%;

}

span.m:hover {
  color: #ff0266;
  font-weight: 500;
  font-size: 2.2vw;
}

a {
  text-decoration: none;
}

.nav-container {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 75px;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  background: #1e1f26;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  cursor: none;

}

.nav-container--top-first {
  position: fixed;
  top: 0;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-container--top-second { 
  position: fixed;
  top: 0;
  cursor: none;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-tab {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: #03dac6;
  letter-spacing: 0.1rem;
  transition: all 0.5s ease;
  font-size: 1.1vw;
  cursor: none;
  
}

.nav-tab:hover {
  color: #1e1f26;
  background: #03dac6;
  transition: all 0.5s ease;
}

.nav-tab-slider {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #03dac6;
  transition: left 0.3s ease;
}

.background {
  position: absolute;
  height: 90vh;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

}

/*******************  STRATEGIES  **********************/

.strategie-image {
  display: flex;
  position: relative;
  width: calc(min(90rem, 90%));
  margin: 0 auto;
  column-gap: 3rem;
  padding-block: min(20vh, 3rem);
}

.strategie-image > div p {
  line-height: 1.6;
}

.strategie-image a {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 500;
  background: #03dac580;
  border-radius: 3.125rem;
  transition: 0.3s ease-in-out;
}

.swiper {
  width: 100%;
  padding-top: 3.125rem;
}

.swiper-pagination-bullet{
  --swiper-pagination-bullet-inactive-color : #ffffff;
  --swiper-pagination-bullet-size:9px;
 
}
.swiper-pagination-bullet-active {
  --swiper-pagination-color: #03dac6;
}

.swiper-pagination {
  bottom: 1.25rem !important;
}

.swiper-slide {
  width: 18.75rem;
  height: 28.125rem;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: self-start;
}

.swiper-slide h2 {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 0.625rem;
  padding: 0 0 0 1.563rem;
  text-transform: uppercase;
}

.swiper-slide p {
  color: #dadada;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  padding: 0 1.563rem;
  line-height: 1.6;
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.swiper-slide a {
  margin: 1.25rem 1.563rem 3.438rem 1.563rem;
  padding: 0.438em 1.875rem;
  font-size: 0.9rem;
}
/*
.swiper-slide a:hover {
  color: #03dac6;
}  */

.swiper-slide div {
  display: none;
  opacity: 0;
  padding-bottom: 0.625rem;
}

.swiper-slide-active div {
  display: block;
  opacity: 1;
}

.swiper-slide--one {
  background: linear-gradient(to top, #000000aa, #00000050, #00000050), url("../resources/images/strategies/forex.png") no-repeat 50% 50%/cover;
}

.swiper-slide--two {
  background: linear-gradient(to top, #000000aa, #00000050, #00000050), url("../resources/images/strategies/USindex.png") no-repeat 50% 50%/cover;
}

.swiper-slide--three {
  background: linear-gradient(to top, #000000aa, #00000050, #00000050), url("../resources/images/strategies/commodities.png") no-repeat 50% 50%/cover;
}
/*
.swiper-slide--four {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("https://images.unsplash.com/photo-1598977123118-4e30ba3c4f5b?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80") no-repeat 50% 50%/cover;
}

.swiper-slide--five {
  background: linear-gradient(to top, #0f2027, #203a4300, #2c536400), url("https://images.unsplash.com/photo-1570481662006-a3a1374699e8?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=765&q=80") no-repeat 50% 50%/cover;
} */

.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}






/*******************  TEAM  **********************/

:root {
	--clr-primary: teal;
	--clr-secondary: #ff0266;
	--bg-primary: rgba(255, 255, 255, 0.1);
	--bg-secondary: rgba(255, 255, 255, 0.1);
	--text-primary: #03dac6;
	--text-secondary: #ccc;
  --circle: #03dac6;

}

ul:where([role="list"]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

section.container {
  padding-block: clamp(2rem, 5vw, 5rem);
}

.card__social ion-icon {
  color: #03dac6;
  text-decoration: none;
  }

.container {
  width: min(100% - 2rem, 65rem);
  margin-inline: auto;
}
.grid {
display: grid;
gap: 1.5rem;
grid-template-columns: 
  repeat(auto-fit, minmax(min(35ch, 100%), 1fr));
}
.section-title {
font-size: clamp(2rem, 5vw, 3rem);
text-align: center;
font-weight: bold;
color: var(--text-primary);
margin-bottom: 0.5em;
}
.flex-group {
display: flex;
gap: 1rem;
flex-wrap: wrap;
align-items: center;
}
.flow-content {
display: grid;
align-content: start;
gap: 1rem;
}
[data-spacing="sm"] {
gap: 0.25rem;
}

.mx-auto {
width: fit-content;
margin-inline: auto;
}
.card {
width: min(100% - 2rem, 35ch);
margin-inline: auto;
background-color: var(--bg-secondary);
text-align: center;
border-radius: 0.5rem;
position: relative;
overflow: hidden;
display: grid;
gap: 0.5rem;
}

.card__name {
font-weight: 700;
color: var(--text-primary);
}
.card__nameb {
  font-weight: 700;
  color: var(--text-primary);
}

q, .card__position {
font-style: italic;
color: var(--text-secondary);
}

.card__img {
width: 5rem;
aspect-ratio: 1 / 1;
object-fit: cover;
border-radius: 50%;
border: 2px solid var(--circle);
}

.card__front {
padding: 2em 2em 2.5em 2em;
transition: 
  opacity 250ms ease,
  transform 450ms ease;
}

.card[data-visible="false"] .card__front {
opacity: 1;
transform: translateY(0);
}

.card__footer {
background-color: var(--bg-primary);
height: 1.5rem;
position: relative;
z-index: 5;
}

.card__back {
position: absolute;
padding: 2em 2em 2.5em 2em;
inset: 0;
transition: 
  transform 450ms ease,
  opacity 150ms ease;
z-index: 1;
overflow: auto;
}

.card[data-visible="false"] .card__back {
opacity: 0;
transform: translateY(100%);
overflow: hidden;
}

.card[data-visible="true"] .card__front {
opacity: 0;
transform: translateY(100%);
transition: 
  opacity 150ms ease,
  transform 450ms ease 50ms;
  overflow: hidden;
}

.card[data-visible="true"] .card__back {
opacity: 1;
transform: translateY(0);
transition: 
  transform 350ms ease,
  opacity 450ms ease 100ms;
  overflow: hidden;
}

.card__social {
justify-content: center;
margin-bottom: 2em;
}

.card__toggle {
text-align: 1;
border-radius: 50%;
width: 3rem;
aspect-ratio: 1 / 1;
padding: 0.5em;
border: 0;
background-color: var(--clr-primary);
color: var(--text-primary);
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
cursor: pointer;
transition: background-color 250ms ease;
}

.card__toggle-icon {
transition: rotate 250ms ease;
}

.card[data-visible="true"] .card__toggle {
background-color: var(--clr-secondary);
overflow: hidden;
}

.card[data-visible="true"] .card__toggle-icon {
rotate: 315deg;
}
  



 /* Button */
 
.section-button1 {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap : 50px;
  justify-content: center;
}

 a.button1 {
  position: relative;
  padding: 10px 30px;
  color: #03dac6;
  font-size: 20px;
  text-transform: uppercase;
  transition: 0.5s;
  letter-spacing: 5px;
  display: inline-flex; /* Pour permettre l'alignement vertical */
  align-items: center; /* Aligner les éléments au centre verticalement */
}

a.button1::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #03dac6;
  border-left: 2px solid #03dac6;
  transition: 0.5s;
  transition-delay: 0.5s;
}

a.button1::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid #03dac6;
  border-right: 2px solid #03dac6;
  transition: 0.5s;
  transition-delay: 0.5s;
}

a.button1:hover::before,
a.button1:hover:after {
  width: 100%;
  height: 100%;
  transition-delay: 0s;  
}

a.button1:hover {
  background: #03dac6;
  color:#1e1f26;
  box-shadow: 0 0 20px #03dac6;
  transition-delay: 0.25s;
  transform: translate3d(0, -10px, 22px);
}

 /* Button mail and phone  */
 .section-button1 .button1 img {
  width: 20px;
  filter: invert(100%);
  margin-right: 15px;
  vertical-align: middle; /* Ajuster l'alignement vertical de l'image par rapport au texte */
}



/*  button social link   */
.social {
  display: flex;
  flex-direction: row-reverse;;
  position: absolute;
  top: 0;
  width: 100vw;
  box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 9;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  opacity: 100;
  cursor: none;
}
.social--bottom {
  position: fixed;
  bottom: 0;
  top:auto;
  transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  background: #1e1f26;
  opacity: 100;
  cursor: none;
}
 button {
  --size: 50px;
  border: none;
  min-width: var(--size);
  min-height: var(--size);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  background: #1e1f26;
  color: #03dac6;
  cursor: none; 
}
 button:hover {
  color: #1e1f26;
  background: #03dac6;
  cursor: none;
}


/*  cursor  */
.cursor {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 100;
}
.cursor--large {
  --size: 35px;
  border: 1px solid #ffffff;
}
.cursor--small {
  --size: 10px;
  background: #03dac6;
  transform: translate(-50%, -50%);
}


/* MEDIA */
  /*****1200px *****/
  @media only screen and (max-width: 1200px) {
    .nav h1,
    .slider h1 {
      font-size: 5vw;
    }
    .nav h2,
    .slider h2 {
      font-size: 3vw;
      width: 90%;
    }
    .slider h4 {
      font-size: 2vw;
      width: 90%;
    }
    .nav-tab {
      font-size: 1.8vw;
    }
    .grid {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: repeat(auto-fit, minmax(min(30ch, 100%), 1fr));
  }
  }
  
  /***** 1000px *****/
@media  only screen and (max-width: 1000px) {
  .nav h1,
  .slider h1 {
    font-size: 8vw;
  }
  
  .nav h2,
  .slider h2 {
    font-size: 3.5vw;
    /*letter-spacing: 0.2vw; */
    margin-bottom: 10px;
    width: 100%;
  }
  .slider h4 {
    font-size: 3vw;
    width: 100%;
  }
  .nav-tab {
    font-size: 2vw;
  }
  .nav-container {
    height: 50px;    
  }

  /* swipper image */
  .strategie-image{
    align-items: center;
    padding-block: min(10vh, 1.5rem);
  }
  .swiper-pagination-bullet{
    --swiper-pagination-bullet-size:8px; 
  }

  /* button x card */
  main button {
    --size: 40px;
  }

  .cursor {
    left: 0;
    top: 0;
    position :fixed;
    opacity: 0;
    z-index: -1;
  }

  .section-button1{
    gap: 40px
  }
  a.button1 {
    font-size: 10px;
    margin-top: 10px;
    padding: 10px 15px;
    letter-spacing: 4px;
  }
  section-button1 .button1 img {
    width: 17px;
  }

  /* card team */
  .container {
    margin-top: 1rem;
  }
  .flow-content {
    gap: 0.25rem;
    display: flex;
    justify-content: center;
    align-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .card__front {
    padding: 0.5em 0.5em 1em 0.5em;
  }
  .card__name {
    font-size: 0.8em;
    }
  .card__position {
    margin: 0.5em;
    font-size: 0.8em;
  }
  .card__back {
    padding: 0em 0em 0em 0em;
  }
  q {
    margin-bottom: 0.25em;
    padding: 0em 0.1em 0em 0.1em;
    font-size: 0.8em;
  }
  .card__nameb {
    margin-top: 0.5rem;
    font-size: 0.8em;
  }
  .card__social {
    margin-bottom: 3rem;
  }
  .card__img {
    width: 3.5rem;
  }
  .card__toggle {
    width: 0rem;
  }
}





/*
@media only screen and (max-height: 500px) {

  .slider{
    justify-content:initial;
    padding: 1em 2em;
  }

  .nav h1,
  .slider h1 {
    font-size: 4vw;
  }

  .slider h2 {
    font-size: 1.8vw;    
    margin-top: 10px;
    width: 100%;
    margin-bottom: 20px;
  }

  .slider h4 {
    font-size: 1.5vw;
    width: 100%;
    margin-top: 0px;
  }

} */


.loader span {
  color: #faebd7;
  text-shadow: 0 0 0 #faebd7;
  -webkit-animation: loading 1s ease-in-out infinite alternate;
}

@-webkit-keyframes loading {
  to {
    text-shadow: 20px 0 70px #ff0266;
    color: #ff0266;
  }
}
.loader span:nth-child(2) {
  -webkit-animation-delay: 0.1s;
}
.loader span:nth-child(3) {
  -webkit-animation-delay: 0.2s;
}
.loader span:nth-child(4) {
  -webkit-animation-delay: 0.3s;
}
.loader span:nth-child(5) {
  -webkit-animation-delay: 0.4s;
}
.loader span:nth-child(6) {
  -webkit-animation-delay: 0.5s;
}
.loader span:nth-child(7) {
  -webkit-animation-delay: 0.6s;
}
.loader span:nth-child(8) {
  -webkit-animation-delay: 0.7s;
}
.loader span:nth-child(9) {
  -webkit-animation-delay: 0.8s;
}

.loader span:nth-child(10) {
  -webkit-animation-delay: 0.9s;
}
.loader span:nth-child(11) {
  -webkit-animation-delay: 1s;
}
.loader span:nth-child(12) {
  -webkit-animation-delay: 1.1s;
}
.loader span:nth-child(13) {
  -webkit-animation-delay: 1.2s;
}
.loader span:nth-child(14) {
  -webkit-animation-delay: 1.3s;
}
.loader span:nth-child(15) {
  -webkit-animation-delay: 1.4s;
}
.loader span:nth-child(16) {
  -webkit-animation-delay: 1.5s;
}
.loader span:nth-child(17) {
  -webkit-animation-delay: 1.6s;
}
.loader span:nth-child(18) {
  -webkit-animation-delay: 1.7s;
}
.loader span:nth-child(19) {
  -webkit-animation-delay: 1.8s;
}
.loader span:nth-child(20) {
  -webkit-animation-delay: 1.9s;
}
.loader span:nth-child(21) {
  -webkit-animation-delay: 2s;
}
.loader span:nth-child(22) {
  -webkit-animation-delay: 2.1s;
}