/*police d'écritures*/
@font-face {
  font-family: 'Hanken';
  src: url('../fonts/HankenGrotesk-VariableFont_wght.ttf');
  font-weight: 100 900;
}

@font-face {
  font-family: 'Sen';
  src: url('../fonts/Sen-VariableFont_wght.ttf');
  font-weight: 100 900;
}


/*variables*/

:root {
  /*Couleurs*/
  --white: #ffffff;
  --white45: #ffffffb5;
  --white65: #ffffff8e;
  --black: #292929;
  --grey1: #4D4A4A;
  --grey2: #767676;
  --translucid: #EFEFEF;
  --blue: #3731e8;
  --blue2: #302bc4;
  --test:#ccd7f6;

  /*shadow*/
  --shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.65);
  --shadow2: 
  0 2px 2px rgba(0, 0, 0, 0.1),
  0 6px 10px rgba(0, 0, 0, 0.05),
  inset 1px 1px 0 rgba(239, 239, 239, 0.65);

  --shadow-hover: 
  0 2px 2px rgba(0, 0, 0, 0.09),
  0 6px 9px rgba(0, 0, 0, 0.05),
  inset 1px 1px 0 rgba(239, 239, 239, 0.65);

  --shadow-none: 
  0 0px 0px rgba(0, 0, 0, 0),
  0 0px 0px rgba(0, 0, 0, 0),
  inset 0px 0px 0 rgba(239, 239, 239, 0);


  /*flou*/
  --flou: saturate(180%) blur(5px);
  --flou2: blur(8px);

  /*border radius*/

  --corner-s: 12px;
  --corner-m: 16px;
  --corner-l: 28px;
  --corner-full: 500px;
}


/*css commun*/

* {
  list-style-type: none;
  text-decoration: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

html {
  scroll-behavior: smooth;
overflow-x: hidden;
}

body {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: normal;
  font-family: 'Hanken';
  color: var(--grey1);
}

h2,
h3,
h4 {
  font-family: 'Sen';
  font-weight: 600;
}

/*titres*/

.star-title{
  font-family: 'Sen';
  font-size: 2rem;
  font-weight: 500;
  display: flex;
  flex-wrap: wrap;
  text-align: start;
  gap: 0.5rem;
}
.star-title::before{
  content: "";
  height: 2rem;
  width: 2rem;
  background: url(../images/svg/alea-5.svg);
  background-size: cover;
  margin: auto 0;
}

.travail h2::before{
  background: url(../images/svg/alea-3.svg);
  background-size: cover;
}

.outils h2::before, .maitrise-section h1::before{
    background: url(../images/svg/alea-6.svg);
    background-size: cover;
  }
.derniers-projets h2::before, .projets-section h1::before{
  background: url(../images/svg/projet.svg);
  background-size: cover;
}

.parcours h2::before{
  background: url(../images/svg/alea-2.svg);
  background-size: cover;
}

.inspiration h2::before{
  background: url(../images/svg/alea-4.svg);
  background-size: cover;
}


/*animation page*/

@keyframes body-animation {
  0% {
    transform-origin: center;
    transform: scale(0);
    border-radius: 500px;
  }

  99% {
    transform: scale(1);    
    transform-origin: center;
    border-radius: 0px;
  }
  100%{
    transform-origin: top;
  }
}

@keyframes header-animation {
  0% {
    transform: translateY(-150%);
  }
  50% {
    transform: translateY(-150%);
  }

  100% {
    transform: translateY(0);
  }
}


a {
  color: var(--black);
}

button {
  appearance: none;
  border: none;
  background-color: none;
  cursor: pointer;
}

/*header*/

header {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(100% - 16px);
  font-family: 'Sen';
  font-weight: 500;
  margin: 8px 8px 0px 8px;
  border-radius: 50px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr 0;
  overflow: hidden;
  height: calc(2.25rem + 24px);
  background-color: var(--white);
  border: solid 1px var(--translucid);
  box-sizing: border-box;
  align-content: center;
  transition: all 300ms cubic-bezier(0, -0.02, .12, .99);
  z-index: 100;
  animation: header-animation 800ms cubic-bezier(0, -0.02, .12, .99);
}

html.index header{
  animation: header-animation 1500ms cubic-bezier(0, -0.02, .12, .99);
}
header a {
  font-size: 1.2rem;
}

.logo {
  width: fit-content;
  height: fit-content;
  grid-column: 1/2;
  grid-row: 1/2;
}

.logo svg {
  height: 2.25rem;
  width: 3.75rem;
  display: block;
}

.hamburger {
  grid-column: 2/3;
  grid-row: 1/2;
  width: 2.25rem;
  height: 2rem;
  background-color: #ffffff00;
  margin-left: auto;
  align-self: center;
  display: block;
}

.hamburger svg {
  width: 100%;
  height: 100%;
}

/*group header*/

.group-header-1 {
  gap: 24px;
  height: fit-content;
  margin: auto auto 40px auto;
  display: none;
  animation: overlay-closing 550ms;
}


.group-header-1 a{
  color: var(--grey1);
  font-size: 3.2rem;
  padding: 10px 12px;
  border: solid 1px var(--translucid);
  border-radius: var(--corner-full);
  background-color: var(--white);
}

.group-header-2 {
  grid-column: 1/3;
  grid-row: 3/4;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 24px;
  padding-bottom: 20px;
  display: none;
  animation: overlay-closing 550ms;
}

/*nombre projet*/
.projets-link {
  position: relative;
  width: fit-content;
}

.projets-link span {
  font-family: Hanken;
  font-size: 0.8rem;
  position: absolute;
  top: -0.6rem;
  right: -1rem;
}

.language {
  font-family: 'Hanken';
  font-weight: 300;
  text-decoration: underline;
  font-size: 1.2rem;
  color: var(--grey1);
}

.btn-fill {
  font-family: 'Hanken';
  width: fit-content;
  height: fit-content;
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--corner-full);
  background-color: var(--blue);
  font-size: 1.2rem;
}
.btn-secondary{
  font-family: 'Hanken';
  width: fit-content;
  height: fit-content;
  color: var(--grey2);
  padding: 10px 16px;
  border-radius: var(--corner-full);
  background-color: var(--white);
  border: solid 1px var(--translucid);
  font-size: 1.2rem;
}

/*animation js menu*/

/*key frame d'animation*/
@keyframes overlay-open {
  0% {
    opacity: 0;
  }

  60% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes overlay-closing {
  0% {
    opacity: 1;
  }

  20% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

header.open {
  background-color: var(--white);
  margin: 0;
  width: calc(100%);
  height: calc(100dvh);
  border-radius: 0;
  transition: all 600ms cubic-bezier(0, -0.02, .12, .99);
  grid-template-rows: auto 1fr calc(1.375rem + 20px + 20px);
}

header.open .group-header-1 {
  display: grid;
  grid-column: 1/3;
  animation: overlay-open 1100ms;
}



header.open .group-header-2 {
  display: flex;
  animation: overlay-open 1200ms;
}

.hamburger path {
  transition: all 300ms cubic-bezier(0.8, -0.3, 0.75, 0.8);
}

.hamburger.open svg path:nth-child(1) {
  transform: rotate(45deg) translateX(4.24px) translateY(-4px);
}

.hamburger.open svg path:nth-child(2) {
  opacity: 0;
}

.hamburger.open svg path:nth-child(3) {
  transform: rotate(-45deg) translateX(-9.24px) translateY(-2px);
}

/*animation du header au scroll*/

.scrolled-down:not(.open) {
  transform: translateY(-150%);
  transition: all 600ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scrolled-top {
  transform: translateY(0);
  transition: all 400ms cubic-bezier(0.25, 0.1, 0.25, 1);
}

/*animation du header quand il est en haut de la page*/
header.up {
  margin: 0;
  top: 0;
  border-radius: 0;
  width: calc(100%);
  transition: all 1000ms cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: var(--shadow-none);
  border: solid 1px #efefef00;
}

html.index header.up {
  background: #ffffff00;
}

html.index header.up.open {
  background-color: var(--white);
}



/*hero-section*/

.hero-section {
  padding: calc(2.25rem + 16px + 41px) 25px 25px 25px;
  display: grid;
  grid-template-rows: 1fr auto 1fr auto;
  gap: 24px;
  min-height: calc(100dvh - 2.25rem - 12px - 41px - 25px);
  overflow: hidden;
  animation: body-animation 1700ms cubic-bezier(.5,.13,.47,1);
  transform-origin: top;
}

.hero-section::after {
  content: '';
  width: 62px;
  height: 62px;
  background: url(../images/svg/star.svg);
  background-size: cover;
  margin: 0 auto;
  grid-row: 2/3;
}

.hero-section h1 {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.hero-section h1 img {
  width: 100%;
}

.hero-section h2 {
  margin: auto;
  height: fit-content;
  font-family: 'Sen';
  font-weight: 600;
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}


.hero-section h2 span {
  transition: all 1000ms cubic-bezier(0, -0.02, .12, .99);
  color: var(--grey1);
  padding: 12px 24px;
  border-radius: var(--corner-full);
  background-color: var(--white65);
  border: solid 1px var(--translucid);
  display: inline-block;
  overflow: hidden;
  white-space: nowrap; /* évite les retours à la ligne */
}


/*explorez*/
.hero-section a {
  margin: auto auto 0 auto;
  width: fit-content;
  margin-bottom: 20px;
  font-size: 1.6rem;
  padding: 12px 20px;
  backdrop-filter: var(--flou);
  border: solid 1px var(--translucid);
}

.hero-section a.arrow svg {
transform: rotate(135deg);
margin: auto 0;
width: 1.8rem;
height: 1.8rem;
}


.hero-section canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/*section présentation*/

.presentation {
  padding: 50px 25px 50px 25px;
  display: grid;
  gap: 2px;
  width: auto;
}

.presentation h2 {
  font-size: 1.82rem;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.presentation h2::before{
  content: "";
  height: 2.25rem;
  width: 2.62rem;
  background: url(../images/svg/jemepresente.svg) no-repeat;
  background-size: cover;
}


.presentation img {
  width: 300px;
  border-radius: var(--corner-l);
  margin: 0 auto;
}

/*tag présentation*/
.container-presentation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--grey1);
  margin-bottom: 12px;
}

.tag {
  padding: 4px 8px;
  border-radius: var(--corner-l);
  border: solid 1px var(--translucid);
  width: fit-content;
  height: fit-content;
}

.presentation p {
  color: var(--grey2);
}

/*lien présentation*/
.presentation div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.arrow {
  width: fit-content;
  display: flex;
  text-wrap: nowrap;
  row-gap: 8px;
  column-gap: 12px;
  border-radius: var(--corner-full);
}

.arrow svg {
  width: 1.6rem;
  height: 1.6rem;
}

  .arrow g{
    transition: all 200ms ease-in-out;
    transform: translate(100px,100px) rotate(-135deg) scale(1.8) translate(-21.5px,-23px);
  }

  /*motif*/

  .motif{
    height: 100px;
    width: 100%;
    overflow: hidden;
    margin:  25px 0;
  }
  .motif img{
    height: 100%;
  }
/* section slider*/

.travail {
  padding: 50px 0;
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  gap: 25px;
}


.slider {
  gap: 0;
  padding: 0;
  width: 100%;
  height: 650px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
  background-color: var(--blue);
}


.slider::before{
  content: "";
  z-index: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  height: 100px;
  width: 100px;
  background-color: var(--white);
  mask: url(../images/svg/logo.svg);
  mask-size: cover;
}
.slider-container {
  position: static;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  height: 100%;
  scrollbar-width: none;
}

.slider-item {
  display: block;
  width: 100vw;
  height: 100%;
}

.slider-item>img {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  z-index: 1;
  padding: 8px 16px;
  box-shadow: var(--shadow2) !important;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.slider-controls .bullet {
  width: 12px;
  height: 12px;
  background-color: var(--black);
  border-radius: var(--corner-l);
  opacity: 0.7;
  transition: all 600ms cubic-bezier(0, -0.02, .12, .99);
  overflow: hidden;
}

.slider-controls .bullet.active {
  position: relative;
  width: 36px;
  border: solid 1px var(--translucid);
  background-color: #00000000;
  transition: all 600ms cubic-bezier(0, -0.02, .12, .99);
}

.slider-controls .bullet.active::after{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--blue);
  animation: timer 7s linear ;
  border-radius: var(--corner-full);
}

@keyframes timer {
  from{
    transform: translateX(-100%);
  }
  to{
    transform: translateX(0);
  }
  
}

.slider-btn,.frise-btn {
  width: 40px;
  height: 40px;
  justify-content: center;
  align-content: center;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  transition: opacity 300ms ease-out;
}

.slider-btn.hidden {
  opacity: 0;
}

.next {
  right: 20px;
}

.prev {
  left: 20px;
}

.slider-btn img,.frise-btn img{
  transform: scale(2);
}

.next img {
  transform: rotate(180deg) scale(2);
}

.slider-info {
  padding: 25px;
  width: calc(100% - 50px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.glassy {
  border: none;
  background: var(--white65);
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: var(--flou);
}


.slider-item-title {
  font-size: 1.82rem;
  padding: 8px 16px;
}

.slider-projet-link {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  pointer-events: none;
}


/*animation du slider*/

.slider-info * {
  opacity: 0;
  transform: translateY(-20%);
  transition: all 200ms cubic-bezier(0, -0.02, .12, .99);
}

.slider-projet-link {
  opacity: 0;
  transform: translateX(-50%) translateY(20%);
  transition: all 300ms cubic-bezier(0, -0.02, .12, .99);
  cursor: pointer;

}

.slider-item:not(.active)>img {
  transform: scale(1);
  clip-path: inset(0 50% 0 50%);
  transition: all 400ms cubic-bezier(0, -0.02, .12, .99);
}

.slider-item.active .slider-info * {
  opacity: 1;
  transform: translateY(0);
  transition: all 1100ms cubic-bezier(0, -0.02, .12, .99);
  transition-delay: 1250ms;
}

.slider-item.active .slider-projet-link {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  transition: all 600ms cubic-bezier(0, -0.02, .12, .99);
  transition-delay: 1250ms;
  pointer-events: all;
}

.slider-item.active .slider-info :nth-child(2) {
  transition-delay: 1350ms;
}

.slider-item.active .slider-info :nth-child(3) {
  transition-delay: 1550ms;
}

.slider-item.active>img {
  transform: scale(1.2);
  clip-path: inset(0 0 0 0);
  border-radius: 0;
  transition: all 850ms cubic-bezier(.2, .12, .30, .99);
  transition-delay: 700ms;
}



/*section outils*/

.outils {
  max-width: 1500px;
  width: 100%;
  padding: 50px 0;
  gap: 25px;
  margin: 0 auto;
  justify-items: center;
  display: grid;
  grid-template-columns: 100%;
}

.outils h2, .travail h2{
  width: calc(100% - 50px);
  padding: 0 25px;
}

.derniers-projets h2{
  width: 100%;
}

.container-outil {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 550px;
}

.tag.outil-item {
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  /* pour Safari */
  -ms-user-select: none;
  /* pour IE/Edge */
}



/*section derniers-projets*/

.derniers-projets {
  padding: 50px 25px;
  gap: 25px;
  display: grid;
  width: calc(100% - 50px);
  max-width: 1500px;
  margin: 0 auto;
  justify-items: center;
}

/*container outil*/
.container-derniers-projets {
  display: flex;
  gap: 24px;
  flex-direction: column;
}


/*carte d'un projet*/
.projet {
  height: fit-content;
  width: 100%;
  position: relative;
  display: grid;
  cursor: pointer;
}

.projet a {
  width: 100%;
  height: 100%;
}

.projet-type {
  position: absolute;
  top: 8px;
  left: 8px;
}

.projet-date {
  position: absolute;
  top: 8px;
  right: 8px;
}

.projet-img {
  width: 100%;
  height: fit-content;
  border-radius: var(--corner-l);
  overflow: hidden;
  margin-bottom: 12px;
}

.projet-img img{
  width: 100%;
  height: 100%;
  display: block;
  transition: all 400ms ease-out;
}

.projet-title {
  font-size: 1.5rem;
  color: var(--grey1);
  display: flex;
  gap: 8px;
}
.projet-title::before{
  margin: auto 0;
  content: "";
  height: 1.25rem;
  width: 1.25rem;
  background: url(../images/svg/projet.svg);
  background-size: cover;
}

.projet-description {
  color: var(--grey2);
}

/*footer*/

footer {
  padding: 1px 0;
  background: var(--translucid);
  gap: 1px;
  display: grid;
  grid-template-rows: auto auto auto auto;
}

footer * {
  background-color: var(--white);
}

.reseau-social {
  padding: 20px;
  min-height: 150px;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr auto;
}

.reseau-social img {
  grid-row: 1/2;
  grid-column: 1/2;
}

.reseau-social p {
  grid-row: 2/3;
  grid-column: 1/3;
  margin-top: auto;
}

.reseau-social svg{
  content: '';
  width: 32px;
  height: 32px;
  grid-row: 1/2;
  grid-column: 2/3;
}

.contact {
  color: var(--grey1);
  font-size: 1.25rem;
  gap: 10px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mailto {
  text-decoration: underline;
  text-align: center;
  padding: 20px;
}

.banniere {
  padding: 20px;
  gap: 20px;
  display: flex;
  flex-direction: column;
}

.banniere img {
  max-width: 320px;
  width: 100%;
}



/*page projet*/

.projets-section, .maitrise-section {
  padding: calc(2.25rem + 12px + 41px) 25px 25px 25px;
}

/*filtres*/

.filter {
  padding: 25px 0;
}

.filter-list {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--white);
  font-size: 1.125rem;
  font-family: 'Hanken';
  color: var(--grey1);
}

.filter-btn.active {
  color: var(--white);
  background: var(--blue);
  border-color: #ffffff00;
  transition: all 500ms cubic-bezier(0, -0.02, .12, .99);
}

/*projets*/

.container-projets {
  display: grid;
  row-gap: 40px;
  column-gap: 20px;
  max-width: 1400px;
}

 .container-projets .projet:not(.active) {
  width: 100%;
  display: none !important;
  opacity: 0;
  transform: translateY(50px);
}
.container-projets .projet.active {
  width: 100%;
  display: inline;
  opacity: 1;
  transform: translateY(0);
  animation: projets-visible 900ms cubic-bezier(0, -0.02, .12, .99);
}

@keyframes projets-visible {
  0%{
    display: unset;
    opacity: 0;
    transform: translateY(50px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes outils-visible {
  0%{
    display: grid;
    opacity: 0;
    transform: translateY(50px);
  }
  100%{
    opacity: 1;
    transform: translateY(0);
  }
}

/* page maitrise*/

.container-maitrise{
  width: calc(100% - 50px);
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 12Px;
}

.container-maitrise li{
    width: 100%;
    display: none;
    opacity: 0;
    transform: translateY(50px);
    grid-template-columns: auto auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: solid 1px var(--translucid);
    border-radius: var(--corner-l);
    width: 100%;
  }


.container-maitrise > li.active{
  opacity: 1;
  transform: translateY(0);
  display: grid;
  animation: outils-visible 900ms cubic-bezier(0, -0.02, .12, .99);
}

.container-maitrise h3{
  font-family: 'Hanken' !important;
  font-size: 1.125rem;
}

.container-maitrise img{
 height: 2rem;
}

.container-maitrise progress{
  width: 100%;
  max-width: 400px;
  margin-left: auto;
  appearance: none;
  height: 8px;
}

.container-maitrise progress::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 10px;
}

progress::-webkit-progress-value {
  background-color: var(--blue);
  border-radius: 10px;
}

/* Firefox */
progress::-moz-progress-bar {
  background-color: var(--blue);
  border-radius: 10px;
}

/*page d'un projet*/



.legend-projet{
  padding-bottom: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  grid-column: 1/3;
}
.legend-projet h1.tag{
  padding: 8px 16px;
  text-align: center;
}

.container-informations-projet{
  grid-column: 1/2;
  grid-row: 2/3;
  display: grid;
  background: var(--translucid);
}

.container-img-projet{
  grid-column: 2/3;
  grid-row: 2/3;
  width: auto;
  display: grid;
  gap: 20px;
  max-width: 1400px;
}

.container-img-projet img, .container-img-projet video{
  width: 100%;
}

.summary{
  display: grid;
  grid-template-rows: auto auto;
  padding: 12px 0;
  background-color: var(--white);
  height: fit-content;
}

.summary-content{
  overflow: auto;
  scrollbar-color: #ffffff00;
  margin-top: 0;
  padding-right: 20px;
  height: 0;
  transition: all 400ms cubic-bezier(0, -0.02, .12, .99);
}

.summary a{
  text-decoration: underline;
}
.summary-btn{
  color: var(--black);
  font-family: 'Sen';
  font-weight: 500;
  font-size: 1.125rem;
  text-align: start;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto;
  grid-column: 1/2;
  grid-row: 1/2;
  appearance: unset;
  background: none;
  height: fit-content;
}

.summary-btn::after{
  content: "";
  grid-column: 2/3;
  grid-row: 1/2;
  height: 1rem;
  aspect-ratio: 1/1;
  background: url(../images/svg/trait.svg) no-repeat;
  background-size: contain;
  margin: auto;
  transition: all 400ms cubic-bezier(0, -0.02, .12, .99);
}
.summary-btn::before{
  content: "";
  grid-column: 2/3;
  grid-row: 1/2;
  height: 1rem;
  aspect-ratio: 1/1;
  transform: rotate(90deg);
  background: url(../images/svg/trait.svg) no-repeat;
  background-size: contain;
  margin: auto;
}

.summary-btn.active::after{
  transform: rotate(90deg);
}

.summary ul{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.summary p{
  color: var(--grey2);
}


/*page à propos*/

.jemepresente{
  display: grid;
  padding: calc(2.25rem + 16px + 66px) 50px 50px 50px;
  gap: 10px;
  grid-template-rows: auto auto auto;
  justify-items: center;
}
.jemepresente h1{
  grid-row: 1/2;
}
.jemepresente img{
  width: 100%;
  max-width: 500px;
  grid-row: 2/3;
  border-radius: var(--corner-l);
}
.jemepresente p{
  color: var(--grey2);
  height: fit-content;
}

/*frise*/

.parcours{
  padding: 50px;
  display: grid;
  gap: 12px;
}

.frise{
  display: grid;
  gap: 12px;
  position: relative;
  margin: 25px 0 0 0;
}
.frise-btn{
  background: #efefefc1;
}
.frise > p{
  width: fit-content;
  margin-left: auto;
  display: flex;
  gap: 10px;
  font-size: 1.5rem;
  transition: all 200ms ease-out;
}
.frise > p::after{
  content: "";
  width: 1.3rem;
  height: 1.3rem;
  margin: auto 0;
  background: url(../images/svg/defilement.svg);
  background-size: cover;

}
.timeline{
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(5, 100%);
  width: calc(100vw - 100px);
  gap: 200px;
  scrollbar-width: none;       
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}
.timeline-item{
  scroll-snap-align: start;
}

.timeline::-webkit-scrollbar{
  display: none;
}


.timeline-item article{
  width: 100%;
  height: fit-content;
  display: grid;
  gap: 12px;
  grid-template-rows: auto auto auto auto auto;
  justify-items: center;
  overflow: hidden;
}

.timeline-item h3{
  grid-row: 2/3;
  font-size: 1.5rem;
}
.timeline-item h4{
  grid-row: 3/4;
  font-family: 'Hanken' !important;
  font-size: 1.125rem;
  color: var(--grey2);
}

.timeline-item article::after{
  content: "";
  grid-row: 4/5;
  width: 32px;
  height: 32px;
  background: url(../images/svg/star.svg);
  background-size: cover;
}
.timeline-item img{
  width: 100%;
  grid-row: 5/6;
  max-width: 400px;
  margin: auto;
}
.timeline-item p{
  grid-row: 1/2;
font-family: 'Sen';
font-weight: 500;
font-size: 1.5rem;
width: 100%;
text-align: center;
width: fit-content;
}

.frise progress{
  width: 100%;
  height: 10px;
  max-width: 800px;
  border-radius: 20px;
  margin: 20px auto 0 auto;
}
.frise progress::-webkit-progress-bar{
  background: var(--translucid);
  border-radius: 12px;
}

progress::-webkit-progress-value {
  background-color: var(--blue);
  border-radius: 10px;
  transition: width 100ms ease; /* transition animée */
}

/*inspiration*/

.inspiration{
  padding: 50px;
  margin: 0 auto;
  max-width: 1500px;
  width: calc(100% - 100px);
  display: grid;
  gap: 20px;
}
.inspiration-container{
  margin-top: 25px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.item-inspiration{
  max-width: 320px;
  width: 100%;
  padding: 20px;
  border-radius: var(--corner-l);
  border: solid 1px var(--translucid);
  display: grid;
  grid-template-rows: 1.594rem 1.531rem auto;
  grid-auto-columns: auto 1fr;
}
.item-inspiration h3{
  grid-column: 2/3;
  margin-top: auto;
}
.inspiration-domaine{
  grid-column: 2/3;
  grid-row: 2/3;
  color: var(--grey2);
  height: fit-content;
}
.item-inspiration img{
  grid-column: 1/2;
  grid-row: 1/3;
  height: 40px;
  margin:auto 12px auto 0;
  object-fit: contain;
}
.inspiration-description{
  margin-top: 10px;
  grid-column: 1/3;
  color: var(--grey2);
}





/*animation au scroll*/

.animated-block {
  opacity: 0;
  transform: translateY(60px);
}

.animated-block.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:transform 800ms ease-out, opacity 800ms ease-out;
}

/*pour les texte*/

.animated-text .word {
  white-space: nowrap; /* empêche les mots d'être coupés */
  display: inline-block;
}

.animated-text{
  justify-content: start;
}

.animated-text span span, .animated-text::before{
  display: inline-block;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.150s cubic-bezier(0, -0.02, .12, .99);
}


.animated-text.is-visible span span, .animated-text.is-visible::before {
  transform: scaleY(1);
}

p.animated-text.is-visible span span {
  /* animation en cascade */
  transition-delay: calc(var(--char-index) * 3ms);
}

.star-title.animated-text.is-visible span span, .animated-text.is-visible::before {
  /* animation en cascade */
  transition-delay: calc(var(--char-index) * 3ms);
}











@media all and (min-width: 1200px) {

  /*titres*/

.star-title{
  font-family: 'Sen';
  font-size: 3rem;
  font-weight: 500;
  display: flex;
  gap: 0.75rem;
  text-align: start;
}
.star-title::before{
  width: 3rem;
  height: 3rem;
}

  /*header*/
  .hamburger {
    display: none;
  }

  header {
    position: sticky;
    padding: 8px 16px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto;
    height: fit-content;
    max-width: 1000px;
    top: 8px;
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  header.up {
    margin: 0 auto;
    overflow: hidden;
    top: 0;
    max-width: 4000px;
    width: calc(100%);
    transition: all 900ms cubic-bezier(0.25, 0.1, 0.25, 1);
  }

  header:hover:not(.up){
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    transform: scale(1.005);
  }

  /*group header*/

  .group-header-1 {
    display: flex;
    padding: 0;
    grid-column: 1/2;
    grid-row: 1/2;
    margin: auto 0;
  }

  .group-header-1 a{
    font-size: 1.2rem;
  }

  .group-header-2 {
    padding: 0;
    display: flex;
    grid-column: 3/4;
    grid-row: 1/2;
    justify-content: end;
  }

  .logo {
    grid-column: 2/3;
    margin: auto 0;
  }

  /*hero section*/

  .hero-section {
    margin-top: calc(-1.6rem - 36px);
    padding: calc(50px + 1.6rem + 40px) 50px 50px 50px;
    display: grid;
    gap: 50px;
    min-height: calc(100vh - 100px - 1.6rem - 36px);
  }

  .hero-section h2 {
    font-size: 2rem;
    flex-direction: row;
    gap: 12px;
  }

  /*section présentation*/
  .presentation {
    grid-template-rows: auto auto auto 1fr;
    grid-template-columns: auto 1fr;
    column-gap: 40px;
    padding: 100px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .presentation img {
    grid-column: 1/2;
    grid-row: 1/5;
    margin: auto 0;
    width: 400px;
  }

  .presentation div {
    margin: auto auto 0 auto;
    padding-top: 20px;
  }

  /*section slider*/

  .slider-controls {
    left: calc(100% - 25px);
    top: 25px;
    transform: translateX(-100%);
  }

  .slider-info {
    top: 0px;
    justify-content: flex-start;
  }

  .slider-item-title {
    font-size: 2rem;
  }

  /*section outils*/

  .outils {
    padding: 100px 0;
  }

  .outils h2, .travail h2{
    width: calc(100% - 100px);
    padding: 0 50px;
  }

  /*section derniers-projets*/

  .container-derniers-projets {
    flex-direction: row;
  }

  .projet:hover .projet-img img{
    transform: scale(1.05);
  }

  /*footer*/

  footer {
    grid-template-rows: auto auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .contact {
    grid-column: 1/5;
  }

  .banniere {
    grid-column: 1/3;
    grid-row: 2/4;
    display: grid;
    grid-template-rows: 1fr auto;
  }

  .mailto {
    grid-row: 3/4;
    grid-column: 3/5;
    padding: 50px;
  }

  /*projets*/

  .projets-section, .maitrise-section{
    padding: 50px;
  }

  .container-projets {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: auto;
  }

  .container-projets .position1, .container-projets .position10, .container-projets .position19{
    grid-column: 1/3;
  }

  .container-projets .position2, .container-projets .position11, .container-projets .position20 {
    grid-column: 3/4;
  }

  .container-projets .position3, .container-projets .position12, .container-projets .position21 {
    grid-column: 4/5;
  }

  .container-projets .position4, .container-projets .position13, .container-projets .position22 {
    grid-column: 1/5;
  }

  .container-projets .position5, .container-projets .position14, .container-projets .position23 {
    grid-column: 1/3;
  }

  .container-projets .position6, .container-projets .position15, .container-projets .position24 {
    grid-column: 3/5;
  }

  .container-projets .position7, .container-projets .position16, .container-projets .position25 {
    grid-column: 1/2;
  }

  .container-projets .position8, .container-projets .position17, .container-projets .position26 {
    grid-column: 2/3;
  }

  .container-projets .position9, .container-projets .position18, .container-projets .position27 {
    grid-column: 3/5;
  }

  /*page d'un projet*/
  .legend-projet{
    padding: 0 50px 50px 50px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto;
     }

/*page à propos*/

.jemepresente{
  padding: 150px 100px;
  max-width: 1500px;
  gap: 50px;
  row-gap: 10px;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  justify-items: start;
  width: calc(100% - 200px);
}
.jemepresente h1{
  grid-column: 1/2;
  grid-row: 1/2;
}
.jemepresente img{
  grid-column: 2/3;
  grid-row: 1/3;
}
.jemepresente p{
  grid-column: 1/2;
  grid-row: 2/3;
  text-wrap: wrap;
}

/*frise*/

.parcours{
  padding: 100px;
  width: calc(100% - 200px);
  display: grid;
  gap: 12px;
  max-width: 1500px;
  margin: 0 auto;
}

.timeline{
  width: calc(100vw - 100px);
  max-width: 1500px;
}

.timeline-item article{
  grid-template-rows:auto 1fr 1fr;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 0;
}

.timeline-item h3{
  grid-column: 1/2;
  grid-row: 2/3;
  height: fit-content;
  margin-top: auto;
  font-size: 3rem;
}
.timeline-item h4{
  grid-column: 1/2;
  grid-row: 3/4;
  font-size: 2rem;
}
.timeline-item article::after{
  grid-column: 2/3;
  grid-row: 2/4;
  margin: auto 0;
}

.timeline-item img{
  grid-column: 3/4;
  grid-row: 2/4;
  max-width: 450px;
}

.timeline-item p{
  font-size: 2rem;
  grid-column: 1/4;
  margin-bottom: 40px;
  padding: 8px 16px;
  }

  /*inspiration*/

  .inspiration{
    padding: 100px;
    width: calc(100% - 200px);
  }



  /*hover*//*hover*//*hover*//*hover*//*hover*//*hover*//*hover*/

  .hero-section a{
    transition: all 300ms ease-out;

  }

  .btn-fill, .btn-secondary{
    transition: all 300ms ease-out;
  }
  .btn-fill:not(.slider-projet-link):hover{
    transform: scale(0.98);
    background: var(--blue2);
    cursor: pointer;
  }
  .btn-secondary:hover{
    transform: scale(0.98);
    background: #fcfcfc;
    cursor: pointer;
  }
  .arrow .progress-circle {
    transition: stroke-dashoffset 200ms ease-in-out;
    stroke-dasharray: 566.2px;
    stroke-dashoffset: 0;
    opacity: 1;
  }
  .arrow:hover .progress-circle {
    stroke-dashoffset: 566.2px;
    transition: stroke-dashoffset 400ms ease-out;
  }
  .arrow:hover g{
    transition-delay: 40ms;
    transform: translate(100px,100px) rotate(-135deg) scale(2.5) translate(-21.5px,-23px);
    transition: all 300ms ease-out;
  }
  .reseau-social .progress-circle{
    transition: stroke-dashoffset 200ms ease-in-out;
    stroke-dasharray: 566.2px;
    stroke-dashoffset: 0;
  }
  .reseau-social:hover .progress-circle{
    stroke-dashoffset: 566.2px;
    transition: stroke-dashoffset 400ms ease-out;
  }
  .reseau-social svg{
    transition: all 200ms ease-in-out;
    transform-origin: center;
  }
  .reseau-social:hover svg{
    transform: scale(1.1);
  }
  .filter-btn {
    transition: all 200ms ease-out;
  }
  .filter-btn:not(.active):hover{
    background-color: var(--translucid);
  }
  .slider-btn,.slider-controls, .frise-btn{
    transition: all 400ms ease-out;
  }
  .slider-btn:hover, .frise-btn:hover{
    background: var(--translucid);
    transform: scale(1.05) translateY(-50%);
  }
  .slider-controls:hover{
    background: var(--translucid);
    box-shadow: var(--shadow-hover);
  }
  .slider-controls .bullet{
    transition: all 200ms ease-out;
  }
  .slider-controls .bullet:not(.active):hover{
    background: var(--grey2);
  }

  .projet-title{
    padding-bottom: 1px;
    position: relative;
    width: fit-content;
    overflow: hidden;
  }
  .projet-title::after{
    position: absolute;
    content: "";
    bottom: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--black);
    transition: all 200ms ease-out;
    transform: translateX(100%);
  }
  .projet:hover .projet-title::after{
    transform: translateX(0);
    width: calc(100% - 1.5rem - 6px);
  }
  .projet-title::before{
    transition: all 200ms ease-out;
    transform-origin: left;
  }
  .projet:hover .projet-title::before{
    transform: scale(1.2);
  }
  .group-header-1 a{
    position: relative;
    width: fit-content;
  }
  .group-header-1 a::after{
    position: absolute;
    content: "";
    bottom: 8px;
    left: 12px;
    width: 0%;
    height: 2px;
    background: var(--grey1);
    transition: all 200ms ease-out;
  }
  .group-header-1 a:hover::after{
    width: calc(100% - 24px);
  }

  /* animation du logo*/

  .logo path{
    transform-origin: center;
  }
  .logo path:first-child{
    transition: all 300ms ease;
  }
  .logo:hover path:first-child{
    transform: rotate(90deg);
  }
  .logo path:nth-child(2){
    transition: all 200ms ease-out;
  }
  .logo:hover path:nth-child(2){
    transform: translateY(-50%);
  }
  .logo path:nth-child(3){
    transition: all 200ms ease-out;
  }
  .logo:hover path:nth-child(3){
    transform: translateX(50%);
  }
  .logo path:nth-child(4){
    transition: all 400ms ease-out;
  }
  .logo:hover path:nth-child(4){
    transform: translateY(50%);
  }
  .cursor{
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: solid 3px var(--blue);
    border-radius: 50px;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    mix-blend-mode:difference;
    transition: all 300ms ease-out;
  }
  .cursor::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--corner-full);
    background-color: var(--blue);
    transform: scale(0);
    transition: all 300ms ease-out;
  }
  .cursor::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--corner-full);
    background-color: var(--white);
    mask: url(../images/svg/arrow.svg) no-repeat;
    mask-size: contain;
    transform: rotate(-135deg) scale(0);
    transition: all 300ms ease-out;
  }

  .cursor.active{
    mix-blend-mode:normal;
    transform: scale(1.3);
  }
  .cursor.active::before{
    transform: scale(1.01);
  }
  .cursor.active::after{
    transform:rotate(-135deg) scale(0.6);
  }
}

@media all and (min-width: 700px) and (max-width: 1200px) {
  .container-projets {
    grid-template-columns: 1fr 1fr;
  }
  .container-derniers-projets{
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  
}



@media all and (min-width: 1450px) {
  .slider {
    border-radius: 60px;
    border: solid 1px var(--translucid);
  }

  .projets-section, .maitrise-section{
    padding: 0;
    display: grid;
    grid-template-columns: 500px 1fr;
    grid-template-rows: auto auto;
    padding-top: 50px;
  }

  .projets-section:has(.summary){
    border-bottom: solid 1px var(--translucid);
  }
  .summary{
    padding: 16px 25px;
  }

  .container-projets, .container-maitrise{
    margin: 0 auto;
    padding:50px;
  }


  .filter{
    height: fit-content;
    min-height: calc(100vh - 1.6rem - 36px - 100px);
    position: sticky;
    top: 0;
    padding:calc(50px + 1.6rem + 36px) 50px 50px 50px;
    border-right: solid 1px var(--translucid);
  }

  .projets-section > h1, .maitrise-section h1{
    grid-column: 1/3;
    grid-row: 1/2;
    padding: 0 0 25px 50px;
    border-bottom: solid 1px var(--translucid);
  }

  /*page de maitrise*/

  .container-maitrise{
    width: calc(100% - 100px) !important;
  }
  .container-maitrise li{
    width: calc(100% - 32px) !important;
  }

  /* page d'un projet*/

  .legend-projet{
    padding: 0 50px 25px 50px;
    border-bottom: solid 1px var(--translucid);
  }

  .container-informations-projet{
    display: flex;
    flex-direction: column;
    height: fit-content;
    min-height: calc(100vh - 1.6rem - 36px);
    position: sticky;
    top: 0;
    padding:calc(25px + 1.6rem + 36px) 0 0 0;
    border-right: solid 1px var(--translucid);
    background-color: var(--white);
  }

  .container-img-projet{
    padding: 50px;
    margin: 0 auto;
  }


}