body{
  font-family: "Rubik", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  /*
  font-size: 0.875rem;
  font-size: clamp(0.875rem, 0.85rem + 0.125vw, 1rem);
  */
  max-width: 1920px;
  padding-left: 4vw;
  padding-right: 4vw;
}

/* ###################################################################################################
##
## NAV
##
################################################################################################### */
#navigation{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

@media only screen and (min-width: 1000px) {
  #navigation{
    padding: 20px 0;
  }
}

@media only screen and (min-width: 1600px) {
  #navigation{
    padding: 60px 0;
  }
}

#site-title{
  font-size: 30px;
  font-weight: 500;
  text-decoration: none;
  color: #000000;
  transition: color .35s ease;
  position: relative;
}

#site-title::after{
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #7b5cff, #00d4ff, #fd4d86);
  background-size: 200% 100%;
  background-position: 0% 0%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transition: opacity .45s ease, background-position 1.2s ease;
}

#site-title:hover{
  color: transparent;
}

#site-title:hover::after{
  opacity: 1;
  background-position: 100% 0%;
}

#menu{
  display: none;
}

@media only screen and (min-width: 1000px) {
  #menu{
    display: flex;
    gap: var(--margin);
    align-items: center;
  }
}

@media only screen and (min-width: 1600px) {
  #menu{
    padding-right: 60px;
  }
}

#menu a{
  text-decoration: none;
  color: inherit;
  transition: all .4s ease;
}

#menu a:hover{
  color: var(--font-orange);
}


.burger {
  width: 40px;
  height: 24px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 5;
  display: none;
    display: none;
}

@media only screen and (min-width: 1000px) {
  .burger {
    display: none;
  }
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #000;
  transition: transform .25s ease, opacity .25s ease;
}

.burger span + span {
  margin-top: 5px;
}

/* état ouvert */
body.openMenu .burger span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

body.openMenu .burger span:nth-child(2) {
  opacity: 0;
}

body.openMenu .burger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.openMenu #menu {
  display: flex;
  flex-direction: column;
  position: absolute;
  background: #fff;
  TOP: 0;
  right: 0;
  padding: 100px 30px;
  bottom: 0;
  height: 100%;
  z-index: 3;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}

/* ###################################################################################################
##
## BANNER
##
################################################################################################### */
#banner{

}

#title-wrap{
  margin: calc(var(--megaspace)*2) 0 0 0;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  transform: translateY(10vh);
  transition: all .3s ease;
}

@media only screen and (min-width: 1000px) {
  #title-wrap{
    margin: var(--megaspace) 0;
  }
}

.visible #title-wrap{
  transform: translateY(0);
  min-height: 0;
}

#title{
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media only screen and (min-width: 1000px) {
  #title{
    align-items: flex-end;
  }
}

#title h1{
  font-weight: 900;
  line-height: normal;
  font-size: 2.5rem;
  font-size: clamp(2.5rem, 2.083rem + 1.38vw, 3.75rem);
  text-align: center;
}

#title ul{
  text-align: right;
}

#title li{
  font-size: 20px;
  font-weight: 300;
}

#visuel{
  min-height: 55vh;
  flex-direction: column;
  position: relative;
  justify-content: flex-end;
  display: flex;
  opacity: 0;
  transform: translateY(50%);
  transition: all .2s ease .2s;
}

@media only screen and (min-width: 1000px) {
  #visuel{
    justify-content: center;
    flex-direction: row;
  }
}

.visible #visuel{
  opacity: 1;
  transform: translateY(0);
}

#visuel::before{
  background: var(--bg-rose);
  border-radius: 100%;
  z-index: -1;
  position: absolute;
  content: '';
  left: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  transition: all .2s ease .3s;
}

@media only screen and (min-width: 1000px) {
  #visuel::before{
    border-radius: 100px 100px 30px 30px;
  }
}

.visible #visuel::before{
  height: 80%;
}

#visuel img{
  position: relative;
  z-index: 1;
  height: auto;
  display: block;
}

@media only screen and (min-width: 1000px) {
  #visuel img{
    max-width: 50vw;
    object-fit: contain;
  }
}

@media only screen and (min-width: 1480px) {
  #visuel img{
    max-width: 40vw;
  }
}

/* ###################################################################################################
##
## SOLUTIONS
##
################################################################################################### */
#nos-solutions-title{
  display: none;
}

#nos-solutions-grid{
  margin-top: var(--megaspace);
}

@media only screen and (min-width: 1000px) {
  #nos-solutions-grid{
    display: flex;
    gap: var(--megaspace);
    margin-top: var(--megaspace);
  }
}

.solution{
  padding: var(--padding);
  display: flex;
  align-items: center;
  position: relative;
}



.solution::before {
	width: 0;
	height: 0;
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	display: block;
	border-radius: 320px;
	transition: all .5s ease;
  z-index: -1;
}

.solution-mid .solution::before {
  left: unset;
  right: 0;
}

.visible .solution::before{
  border-radius: 10px;
  height: 100%;
  width: 100%;
}

@media only screen and (min-width: 1000px) {
  .visible .solution::before{
    border-radius: 30px;
  }
}

.solution{
  opacity: 0;
  transition: all .1s ease;
}

.visible .solution{
  opacity: 1;
}

@media only screen and (min-width: 1000px) {
  .solution-mid{
    width: 50%;
  }
}

.solution-mid.double{
  gap: 15px;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
}

@media only screen and (min-width: 1000px) {
  .solution-mid.double{
    gap: var(--margin);
    margin-top: 0;
  }
}

.solution h3{
  font-size: 1.375rem;
  font-size: clamp(1.375rem, 1.20rem + 0.55vw, 1.875rem);
  line-height: normal;
}

@media only screen and (min-width: 1000px) {
  .solution h3{
    margin-bottom: var(--space-elements);
  }
}

.solution h3 span{
  display: block;
  font-size: 55%;
  font-weight: 400;
  margin-bottom: 5px;
}

.solution-visuel{
  flex-shrink: 0;
}

@media only screen and (min-width: 1000px) {
  .solution-content{
    width: 70%;
  }
}

.solution-visuel{
  width: 30%;
}

.solution-mid.double .solution-visuel{
  opacity: 0;
  transition: all .2s ease .8s;
}

.visible .solution-mid.double .solution-visuel{
  opacity: 1;
}

#developpement{
  position: relative;
}

@media only screen and (min-width: 1000px) {
  #developpement{
    padding: var(--margin);
  }
}

#developpement::before {
  background: var(--bg-bleu);
}

@media only screen and (min-width: 1000px) {
  #developpement .solution-visuel{
    width: 50%;
    position: absolute;
    right: 0;
    transition: all .2s ease .6s;
    transform: translateX(0) scale(.5);
    opacity: 0;
  }

  .visible #developpement .solution-visuel{
    transform: translateX(25%) scale(1);
    opacity: 1;
  }
}

#developpement h3 span{
  color: var(--font-bleu);
}


#seo::before {
  background: var(--bg-vert);
}


#seo h3 span{
  color: var(--font-vert);
}

#ia::before {
  background: var(--bg-orange);
}

#ia h3 span{
  color: var(--font-orange);
}

#ia .solution-visuel{
  transform: translateY(var(--padding));
}

.tags{
  display: none;
  gap: 10px;
  flex-wrap: wrap;
}

@media only screen and (min-width: 1000px) {
  .tags{
    display: flex;
  }
}

.tags li{
  background: #FFFFFF;
  border-radius: 5px;
  padding: 5px 15px;
  font-size: 14px;
}

.dots{
  display: none;
  flex-direction: column;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: var(--margin);
}

@media only screen and (min-width: 1000px) {
  .dots{
    display: flex;
  }
}

.dots li{
  position: relative;
  font-size: 16px;
  display: inline-flex;
}

.dots li::before{
  width: 24px;
  height: 24px;
  content: '';
  background: url(../img/dots.svg) no-repeat left top / contain transparent;
  margin-right: 10px;
}




/* ###################################################################################################
##
## EXPERTISE
##
################################################################################################### */
#expertise{
  margin: calc(var(--megaspace)*2) 0;
}

@media only screen and (min-width: 1000px) {
  #expertise{
    margin: calc(var(--megaspace)*2.5) 0;
  }
}

#expertise-title{
  text-align: center;
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 1.04rem + 2.77vw, 4.375rem);
  font-weight: 900;
  line-height: normal;
}

#expertise-title span{
  position: relative;
  transition: all .2s ease .2s;
}

#expertise-title span::after{
  width: 0;
  height: 2px;
  position: absolute;
  bottom: 2px;
  left: 0;
  background: var(--font-rose);
  content: '';
  display: block;
  transition: all .2s ease .2s;
}

#expertise.done #expertise-title span{
  color: var(--font-rose);
}

#expertise.done #expertise-title span::after{
  width: 100%;
}

#expertise .perfs{
  display: flex;
  gap: var(--padding);
  justify-content: center;
  margin-top: var(--margin);
  flex-wrap: wrap;
}

#expertise .perfs li{
  padding: 10px 30px;
  border-radius: 320px;
  background: #fafafa;
  font-size: 14px;
  transition: all .2s ease .4s;
  transform: translateY(-15px);
  opacity: 0;
}


#expertise.done .perfs li{
  transform: translateY(0);
  opacity: 1;
}

#expertise.done .perfs li:nth-child(2){ transition: all .2s ease .6s; }
#expertise.done .perfs li:nth-child(3){ transition: all .2s ease .8s; }
#expertise.done .perfs li:nth-child(4){ transition: all .2s ease 1s; }
#expertise.done .perfs li:nth-child(5){ transition: all .2s ease 1.2s; }


/* ###################################################################################################
##
## REFERENCES
##
################################################################################################### */
#references-grid{
  display: flex;
  flex-wrap: wrap;
  transition: all 1s ease;
  transform: translateY(25vh);
  opacity: 0;
}

.visible #references-grid{
  opacity: 1;
  transform: translateY(0);
}

.reference{
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: all .2s ease;
}

@media only screen and (min-width: 1000px) {
  .reference{
    margin: 1%;
    border-radius: 30px;
  }
}

.reference p{
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--padding);
  z-index: 2;
  font-size: 1.5625rem;
  font-size: clamp(1.5625rem, 1.25rem + 1.04vw, 2.5rem);
  font-weight: 900;
  color: #FFFFFF;
  display: flex;
  flex-direction: column-reverse;
  line-height: normal;
}

.reference p span{
  text-transform: uppercase;
  font-size: 14px;
  display: block;
  font-weight: 400;
  line-height: normal;
}

.reference img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
  transition: all 1.2s ease .4s;
  filter: blur(5px);
}

.visible .reference img{
  filter: blur(0);
}

@media only screen and (min-width: 1000px) {
  .reference:nth-child(1){ width: 36%; }
  .reference:nth-child(2){ width: 60%; }
  .reference:nth-child(2) img{ aspect-ratio: 16/9; }
  .reference:nth-child(3){ width: 28%; }
  .reference:nth-child(4){ width: 38%; }
  .reference:nth-child(5){ width: 28%; }
}

#references-more{
  padding-top: var(--padding);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

@media only screen and (min-width: 1000px) {
  #references-more{
    padding-top: 0;
    padding-right: var(--padding);
  }
}

#references-and{
  font-size: 2.1875rem;
  font-size: clamp(2.1875rem, 1.875rem + 1.0416666666666667vw, 3.125rem);
  font-weight: 900;
  -webkit-text-stroke: 1px;
  -webkit-text-stroke-color: currentcolor;
  -webkit-text-stroke-color: var(--font-bleu);
  color: #FFFFFF;
  text-align: center;
}

@media only screen and (min-width: 1000px) {
  #references-and{
    text-align: left;
  }
}

#references-and span{
  color: var(--font-bleu);
}

#references-who{
  text-align: right;
  color: var(--font-bleu);
}

#references-who .wheel{
  text-align: right;
}

ul.wheel{
  list-style:none;
  margin:0;
  padding:0;
  overflow:hidden;
  display:grid;
}

ul.wheel li{
  grid-area:1/1;
  opacity:0;
  transform:translateY(10px);
  transition:opacity 350ms ease,transform 350ms ease;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  color: #000000;
}

@media only screen and (min-width: 1000px) {
  ul.wheel li{
    justify-content: flex-end;
  }
}

ul.wheel li.is-active{
  opacity:1;
  transform:translateY(0);
}

ul.wheel li img{
  height: 24px;
  width: auto;
  margin-left: 10px;
  object-fit: contain;
}


/* ###################################################################################################
##
## STRATEGIE
##
################################################################################################### */
#strategie{
  margin: calc(var(--megaspace)*2) 0 calc(var(--megaspace)*2.5) 0;
}

@media only screen and (min-width: 1000px) {
  #strategie-wrap{
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
  }
}

#strategie-title{
  font-size: 1.5625rem;
  font-size: clamp(1.5625rem, 1.25rem + 1.04vw, 2.5rem);
  position: relative;
  padding: var(--margin);
  line-height: normal;
}

@media only screen and (min-width: 1000px) {
  #strategie-title{
    width: 35%;
    text-align: right;
  }
}

#strategie-title::after {
	z-index: -1;
	position: absolute;
	content: '?';
	font-size: 80vw;
	color: var(--bg-rose);
	right: 0;
	top: 0;
	transform: translateY(-25vw) translateX(-10%)
}

@media only screen and (min-width: 1000px) {
  #strategie-title::after {
  	font-size: 20vw;
    transform: translateY(-5vw) translateX(20%);
  }
}

#faq{
  border-radius: 10px;
  background: #fafafa;
  overflow: hidden;
}

@media only screen and (min-width: 1000px) {
  #faq{
    width: 45%;
    border-radius: 30px;
  }
}

.faq-section{
}

.faq-section h3{
  font-weight: 500;
  padding: var(--space-elements) var(--padding);
  cursor: pointer;
  transition: all .1s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-size: clamp(1rem, 0.958rem + 0.138vw, 1.125rem);
}

.faq-section h3:hover,
.faq-section.open h3{
  background: var(--bg-orange);
}

.faq-section h3 svg{
  width: 16px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

@media only screen and (min-width: 1000px) {
  .faq-section h3 svg{
    width: 24px;
  }
}

.faq-section h3 svg path:nth-child(3){
  transform-origin: center;
    transition: all .2s ease;
}

.faq-section.open h3 svg path:nth-child(3){
  transform: rotate(90deg);
}

.faq-section + .faq-section{
  border-top: 5px solid #FFFFFF;
}

.faq-section.open{
  background: var(--bg-orange);
}

.faq-items{
  display: none;
  padding: 0 var(--space-elements) var(--space-elements) var(--space-elements);
}

.open .faq-items{
  display: block;
}

.faq-item {
  background: #FFF;
  margin-bottom: 10px;
  border-radius: 10px;
}

.faq-item h4{
  font-weight: 400;
  cursor: pointer;
  position: relative;
  padding: 20px;
  font-size: 0.875rem;
  font-size: clamp(0.875rem, 0.83rem + 0.138vw, 1rem);
}

.faq-item h4::after{
  content: '';
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background: url(../img/down.svg) no-repeat left top / contain transparent;
  transition: all .2s ease;
}

.faq-content{
  display: none;
}

.faq-content p + p {
	margin-top: 20px;
}

.faq-content li {
	margin-top: 20px;
}

.faq-item.open .faq-content{
  display: block;
  padding: 0 20px 20px 20px;
  font-size: 14px;
}

.faq-item.open h4::after{
  transform: translateY(-50%) rotate(180deg);
}


/* ###################################################################################################
##
## CONTACT
##
################################################################################################### */
#contact{
  padding: calc(var(--megaspace)*2) var(--margin);
  position: relative;
  text-align: center;
  margin-top: var(--megaspace);
}

@media only screen and (min-width: 1000px) {
  #contact{
    padding: calc(var(--megaspace)*2);
  }
}

#contact::after{
  content: '';
  position: absolute;
  width: 10%;
  height: 10%;
  border-radius: 320px;
  display: block;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  transition: all 1s ease;
  background: var(--bg-rose);
  z-index: -1;
}

#contact.visible::after{
  width: 100%;
  height: 100%;
  border-radius: 50px;
}

#contact *{
  opacity: 0;
  transition: all 1s ease 1s;
}

#contact.visible *{
  opacity: 1;
}

#contact img{
  width: 120px;
  height: auto;
  position: absolute;
  right: 0;
  top: 0;
  transform: translateY(-120px) translateX(-45vw);
}

#contact-title{
  font-size: 1.875rem;
  font-size: clamp(1.875rem, 1.25rem + 2.08vw, 3.75rem);
  line-height: normal;
}

#contact p{
  margin-top: 10px;
  font-size: 1rem;
  font-size: clamp(1rem, 0.95rem + 0.138vw, 1.125rem);
}

#contact-title{

}

#contact a{
  display: inline-flex;
  border: 1px solid #000000;
  padding: 10px 10px 10px 30px;
  color: inherit;
  text-decoration: none;
  border-radius: 320px;
  position: relative;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  font-size: clamp(1rem, 0.916rem + 0.277vw, 1.25rem);
  margin-top: var(--margin);
}

#contact svg {
  margin-left: 15px;
}


/* ###################################################################################################
##
## FOOTER
##
################################################################################################### */
#footer{
  padding: var(--margin);
  text-align: center;
}

#footer a{
  color: inherit;
  text-decoration: none;
  margin: 0 10px;
}




/* ###################################################################################################
##
## POPUP
##
################################################################################################### */
#popup {
  padding: var(--megaspace) 10px 0 10px;
	position: fixed;
	top: 0;
	left: 0;
	background: rgba(0,0,0,.4);
	width: 100%;
	height: 100%;
	z-index: 5;
	bottom: 0;
	overflow: scroll;
}

@media only screen and (min-width: 1000px) {
  #popup {
    padding: var(--megaspace) var(--margin) 0 var(--margin);
  }
}

#popup-content {
  border-radius: 10px 10px 0 0;
	padding-top: 20px;
	background: #FFFFFF;
	min-height: 100%;
}

@media only screen and (min-width: 1000px) {
  #popup-content {
    border-radius: 50px 50px 0 0;
  	padding-top: var(--margin);
  }
}

#popup-content article{
  max-width: 800px;
  padding: 0 20px;
  margin: 0 auto;
  padding-bottom: var(--megaspace);
}

#popup-content h2{
  margin-top: var(--margin);
  font-size: 1.25rem;
  font-size: clamp(1.25rem, 0.833rem + 1.38vw, 2.5rem);
}

#popup-content a {
  color: var(--font-bleu);
}
