@charset "UTF-8";

/** Polices de caractères **/

@font-face {
  font-family: "IvyPresto";
  src: url(../fonts/IvyPrestoHeadline-LightItalic.woff) format("woff");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Geist-Light";
  src: url('../fonts/Geist-Light.woff2') format("woff2");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Geist-Regular';
  src: url('../fonts/Geist-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist-Medium';
  src: url('../fonts/Geist-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist-SemiBold';
  src: url('../fonts/Geist-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist-Bold';
  src: url('../fonts/Geist-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'Geist-Black';
  src: url('../fonts/Geist-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #be2d1f;
  --white: #fff;
  --beige: #FFFDFA;
  --black: #1D1D1D;
  --couleur-trait: #7c7c7c;
}

p {
  font-family: "Geist", sans-serif;
  font-weight: 400;
}

em {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--red);
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-size: 1rem;
  color: var(--black);
  scroll-behavior: smooth;
}

body.stop-scrolling {
  overflow: hidden;
}

.section-title {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  padding: 5rem;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.first {
  margin-top: 1.5rem;
}

.container a {
  font-size: 20px;
  color: var(--red);
}

.container_content {
  width: 100%;
}

.container_content.flex {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.container_content.grid {
  width: 100%;
  display: grid;
  align-content: center;
  justify-items: start;
  grid-template-columns: repeat(2, 1fr);
}

.container_content.end {
  justify-items: end;
}

.container_content .left {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
}

.container_content .right {
  width: 30rem;
  height: 30rem;
  object-fit: cover;
  overflow: hidden;
}

.container_content .right div,
.container_content .right div>a {
  display: block;
  width: 100%;
  height: 100%;
}

.container_content .right img {
  height: 100%;
  align-self: center;
}

.container_content .descriptif {
  font-family: "Geist-Regular", sans-serif;
  font-weight: 400;
  font-size: 1.25rem;
  letter-spacing: -0.025rem;
  line-height: 125%;
  color: var(--black);
  width: 90%;
}

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

.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1rem;
  min-height: 21rem;
  width: 100%;
  background-color: #f2f2f2;
  font-family: "Geist", sans-serif;
  letter-spacing: -0.05rem;
}

.service-item {
  border: 1px solid var(--beige);
  border-radius: 0.75rem;
  padding: 2rem 1rem 2rem 2rem;
  transition: all 0.25s ease;
  color: var(--black);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  user-select: none;
  width: 100%;
  background-color: var(--beige);
}

.service-item .num {
  color: #666;
  font-size: 0.875rem;
  min-width: 1.25rem;
}

.service-item.active,
.service-item:hover {
  border: 1px solid var(--red);
  background: #FFFDFA;
  color: #555;
}

.service-item.active .num {
  color: #aaa;
}


.col-left {
  align-items: flex-start;
  display: flex;
  flex: 0 0 auto;
  flex-flow: column;
  gap: 6px;
  height: min-content;
  overflow: hidden;
  padding: 0px;
  position: relative;
  width: 100%;
}

.col-center {
  background: var(--beige);
  border: 1px solid transparent;
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
}

.center-panel {
  position: absolute;
  inset: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  /* transform: translateY(1.5rem); */
  transition: opacity 0.1s ease;
  pointer-events: none;
}

.center-panel.active {
  opacity: 1;
  /* transform: translateY(0); */
  pointer-events: auto;
}

.center-panel.exit {
  opacity: 0;
  /* transform: translateY(-1.5rem); */
  pointer-events: none;
}

ul {
  list-style: none;
  padding-left: 0;
  font-size: 1.20rem;
  color: var(--black);
  letter-spacing: 0;
  gap: 1rem;
  font-family: "Geist", sans-serif;
}

li {
  padding: 0 0 1.5rem 1.5rem;
  position: relative;
}

li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: inherit;
  color: var(--red);
}


.col-right {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
}

.right-panel {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* transform: translateY(-1.5rem); */
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.right-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.right-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.right-panel.exit {
  opacity: 0;
  /* transform: translateY(1.5rem); */
  pointer-events: none;
}

.right-panel svg {
  width: 100%;
  height: 100%;
}

.main-title {
  font-family: "Geist", sans-serif;
  color: var(--black);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -1px;
  margin-bottom: 3rem;
}

.main-title span {
  font-family: "IvyPresto";
}


.logo-track-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos 24s linear infinite;
}


.logo {
  flex-shrink: 0;
  padding: 0 3rem;
  display: flex;
  align-items: center;
}

.logo img {
  width: 8rem;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.3s, filter 0.3s;
}

.logo img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll-logos {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.container h2 {
  font-family: "Geist", sans-serif;
  color: var(--black);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -2px;
}

.container h4 {
  color: var(--black);
  text-decoration: none;
  font-weight: 200;
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.container h4 {
  font-family: "IvyPresto";
  color: var(--black);
}

.container .title_section {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer_container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  text-align: left;
  padding: 3rem 7rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer_container a {
  font-size: 20px;
  color: var(--red);
}


.footer_container h2 {
  font-family: "Geist", sans-serif;
  color: var(--black);
  font-size: 2.25rem;
  font-weight: 300;
  letter-spacing: -1px;
}

.footer_container a {
  color: var(--black);
  text-decoration: none;
  font-weight: 200;
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.footer_container a span {
  font-family: "IvyPresto";
  color: var(--black);
}

.footer_container a:hover:not(.see-more),
.footer_container a:hover:not(.see-more) span {
  color: var(--red) !important;
}

.footer_container .footer_content {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.all_projects,
.all_projects a {
  align-self: end;
}


.see-more {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid var(--black);
  padding: 0.6rem 1.15rem;
  gap: 0.25rem;
  border-radius: 0.6rem;
  background: transparent;
  font-size: 1rem !important;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  transition: all .2s cubic-bezier(.31, .11, .25, .83);
  color: var(--black) !important;
}

.see-more:hover {
  border: 1px solid var(--red);
  background: rgba(190, 45, 31, 0.07);
  color: var(--black) !important;
}

.see-more svg {
  display: inline-block;
  width: 1rem;
  height: 1rem;
}


.footer_contact {
  display: flex;
  flex-direction: column;
}

.footer_links {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#back_top {
  margin: 0 0 4rem 0;
  text-decoration: none;
  background: none;
  border: none;
  color: var(--black);
}

#back_top:hover {
  cursor: pointer;
}

#back_top svg {
  height: 2rem;
  width: 2rem;
}

#back_top svg {
  transition: transform 0.3s ease-out;
  transform: translateY(0);
}

#back_top:hover svg {
  animation: bounceUpAndDown 0.5s infinite alternate;
  color: var(--red);
}

@keyframes bounceUpAndDown {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(-8px);
  }
}

.footer_container .nav_logo {
  margin-top: 3rem;
  height: 6.5rem;
  width: 6.5rem;
}

#bg-video-footer {
  overflow: hidden;
  display: flex;
  justify-content: center;
  background-color: var(--beige);
  opacity: 1;
  transition: opacity .5s ease;
  height: 13.5rem;
  width: 13.5rem;
}

#bg-video-footer video {
  z-index: 1;
  mix-blend-mode: darken;
  height: 100%;
}

.projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.projects a {
  height: 20rem;
  background-blend-mode: lighten;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  background-size: 100% auto;
  transition: all .3s cubic-bezier(.31, .11, .25, .83);
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.4);
}

.projects a:has(p):hover {
  background-size: 105% auto;
  background-color: rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

#previousProject,
#nextProject {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
}

#previousProject {
  margin-left: 1rem;
}

#nextProject {
  margin-right: 1rem;
}

#previousProject .projet,
#nextProject .projet {
  font-family: "IvyPresto";
  text-decoration: none;
  color: white;
  font-size: 3rem;
  display: block !important;
}

#previousProject p,
#nextProject p {
  align-items: center;
  align-content: center;
}

#nextProject svg {
  transform: scaleX(-1);
}

.modal_fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(3px);
  background-color: rgba(0, 0, 0, 0.6);
  z-Index: 9999;
  cursor: default;
  display: flex;
  margin: 0 auto;
  text-align: center;
  justify-items: center;
  align-items: center;
  justify-content: center;
  align-content: center;
  flex-direction: row;
  padding: 0 8rem;
}

.modal_fullscreen svg {
  fill: white;
}



.arrow__container svg:hover {
  fill: var(--red);
  transition: fill 0.1s cubic-bezier(.31, .11, .25, .83);
}

#rightarrow {
  transform: scale(-2);
}

#leftarrow {
  transform: scale(2);
}


.image__carousel__animation {
  max-width: 0%;
  max-height: 0%;
  opacity: 0%;
  user-select: none;
  transition: max-width .25s cubic-bezier(.31, .11, .25, .83), opacity .1s cubic-bezier(.31, .11, .25, .83);
}

#bg-video-wrap {
  position: absolute;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--beige);
  height: 100vh;
  width: 100vw;
  opacity: 1;
  transition: opacity .5s ease;
  z-index: 2;
}

#bg-video-wrap video {
  z-index: 1;
  mix-blend-mode: darken;
  height: 50%;
}

@media (max-width: 1200px) {
  #bg-video-wrap video {
    margin-bottom: 25vw;
  }

   .modal_fullscreen {
    padding: 0 5rem;
   }
}

.navbar {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 0.15fr);
  align-items: center;
  justify-content: center;
  justify-items: center;
  margin: 2.5rem auto;
  text-transform: uppercase;
}

.navbar button,
.navbar a:not(.projet) {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 100px;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 0;
}

.navbar button:hover,
.navbar a:not(.projet):hover {
  cursor: pointer;
}


.navbar a:not(#logo_header):hover {
  color: #000000 !important;
}

.navbar .nav_logo {
  height: 5.5rem;
}

.page {
  background: var(--beige);
  background-attachment: fixed;
  overflow-y: scroll;
  overflow-x: hidden;
}

.page .accueil__avatar {
  height: clamp(550px, 50vw, 650px);
}


.page .hero_titre {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  grid-template-columns: repeat(2, 1fr);
  color: var(--red);
  margin-top: 13rem;
  gap: 3rem;
  padding: 0 2rem;
  margin-bottom: 4rem;
}

.page .hero_titre h1 {
  font-size: 6.5rem;
  margin: 0;
  line-height: 90%;
  font-family: "Geist", sans-serif;
  font-weight: 600;
  letter-spacing: -0.2rem;
  color: var(--black) !important;
}

.filtres {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filtre-btn {
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: 999px;
  background: #f0f0f0;
  color: #000;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
  transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.filtre-btn:hover {
  background: #e0e0e0;
}

.filtre-btn.active {
  background: var(--red);
  color: #fff;
}


.filtres button:hover {
  background: rgba(190, 45, 31, 0.07);
  cursor: pointer;
}

.filtres button.active:hover {
  background: #b1281b;
  color: var(--white);
}


.page .projet {
  text-decoration: none;
}

.page .sous_contenu {
  margin-top: 5vh;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 90%;
  align-items: center;
  justify-items: center;
}

.padding__titre {
  margin-top: 5rem;
}

.page .sous_contenu div {
  margin-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page .sous_contenu div button,
.page .sous_contenu div a {
  margin-top: 25px;
  width: 260px;
  height: 50px;
  border: 1px solid #412017;
  color: #412017;
}

.page .sous_contenu div button:hover,
.page .sous_contenu div a:hover {
  border-color: var(--red);
  background: var(--red);
  transition: 0.2s 0.4s cubic-bezier(0.075, 0.82, 0.165, 1) background;
  color: var(--white);
}

.page .page__projet {
  color: var(--black);
  flex-flow: column;
  flex: none;
  place-content: center;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: min-content;
  padding: 4rem 0;
  display: flex;
  position: relative;
  overflow: visible;
  background: var(--beige);
}


.projet__container {
  flex-flow: row;
  flex: none;
  place-content: flex-start;
  align-items: flex-start;
  gap: 1.5rem;
  width: 100%;
  height: min-content;
  padding: 0;
  display: flex;
  position: relative;
  overflow: visible;
}

.projet__images {
  width: 70%;
}

.projet__infos {
  z-index: 1;
  flex-flow: column;
  flex: 1 0 0;
  place-content: flex-start;
  align-items: flex-start;
  gap: 1rem;
  height: min-content;
  padding: 0;
  display: flex;
  position: sticky;
  top: 48px;
}

.self-description {
  position: absolute;
  bottom: 0;
  padding: 1rem 1.5rem;
  z-index: 1;
  color: var(--white) !important;
  width: 100%;
  display: grid;
  grid-auto-flow: column;
  align-items: flex-end;
  justify-content: space-between;
  mix-blend-mode: difference;
}

.self-description h1 {
  font-size: 5.5rem;
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  letter-spacing: -0.2rem;
}

.self-description h2 {
  font-size: 2.5rem;
  margin: 0;
  font-family: "IvyPresto";
  letter-spacing: -0.05rem;
  font-weight: 200;
}

.self-description h3 {
  font-size: 1rem;
  margin: 0;
  font-family: "Geist-Regular", sans-serif;
  letter-spacing: -0.05rem;
  font-weight: 200;
}


.self-description p {
  font-size: 1rem;
  margin: 0;
  font-family: "Geist-Regular", sans-serif;
  color: var(--white) !important;
  white-space: pre-wrap;
  word-break: break-word;
  word-wrap: break-word;
  max-width: 400px;
  height: min-content;
  letter-spacing: -0.05rem;
  padding-bottom: 0.5rem;
}

.hero-image-container {
  flex-flow: column;
  place-content: center flex-end;
  width: 100%;
  height: 100vh;
  padding: 0.5rem;
  display: flex;
  position: sticky;
  overflow: hidden;
}

.hero-content-container {
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
}

.hero-image-content {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-image-content img, .hero-image-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  border-radius: 1rem;
}


.hero-image-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0) 33%,
      rgba(0, 0, 0, 0) 66%,
      rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  border-radius: 1rem;
}

.mute-container{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.volume-icon {
  width: 1.8125rem;
}
/* Base button — reset */
#muteBtn {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding-bottom: 1rem;
  justify-content: center;
  color:var(--white);
  transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  outline: none;
  line-height: 0;
}

#copy-email{
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding-bottom: 1rem;
  justify-content: center;
  color:var(--red);
  text-decoration: underline;
  transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
  outline: none;
  line-height: 0;
}


#copy-email:hover, #copy-email:active {
  color: var(--black);
}

#muteBtn:hover  { color: var(--red); }
#icon-off { color: var(--red); }
#icon-off:hover { color: var(--white) !important; }
#muteBtn:active { transform: scale(0.95); }

.descriptif a:hover{
  color: var(--black) !important;
}

.page .page__projet .arborescence {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.page .page__projet .arborescence * {
  font-family: "Geist", sans-serif;
  font-weight: 400 !important;
  font-size: 1rem !important;
  color: var(--black);
  text-decoration: none;
}

.page .page__projet .arborescence a {
  text-decoration: underline !important;
}


.page .page__projet h1 {
  font-family: "Geist", sans-serif;
  color: var(--red);
  font-size: 3.5rem;
  margin: 1rem 0 0 0;
  width: 100%;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 94%;
}

.page .page__projet h2 {
  font-family: "IvyPresto";
  color: var(--red);
  font-size: 3rem;
  font-weight: 300;
  letter-spacing: -1px;
}

.page .page__projet button,
.page .page__projet a:not(.icone, .lien_desc, .descriptif) {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0);
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 20px;
  line-height: 0;
}

.page .page__projet button:hover,
.page .page__projet a:not(.icone, .lien_desc, .descriptif):hover {
  cursor: pointer;
}



.page .page__projet .image_presentation {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.page .page__projet .image_presentation:hover {
  cursor: pointer;
}

.page .page__projet .projet__description {
  padding: 0 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.page .page__projet .projet__description .titre__logiciel {
  width: 90%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page .page__projet .projet__description h4 {
  font-size: 1rem;
  font-weight: 400;
  font-family: "Geist", sans-serif;
  color: var(--red);
  letter-spacing: normal;
}

.page .page__projet .projet__description p {
  font-size: 1.125rem;
  line-height: 1.5rem;
  text-justify: auto;
  width: 90%;
}

.tags-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.tags {
  box-sizing: border-box;
  width: fit-content;
  margin: 0rem;
  display: inline-block;
  font-size: 1rem !important;
  text-transform: uppercase;
}

.tags_separator {
  width: 100%;
  height: 1px;
  background-color: var(--couleur-trait);
  margin-top: 0.25rem;
}


.tags:first-letter {
  text-transform: uppercase
}


.page .carousel_container .carousel {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: scroll;
  overflow-y: hidden;
  justify-content: center !important;
  scroll-snap-type: x mandatory;
  scroll-snap-stop: always;
  gap: 1.125rem;
}

#soustitre a {
  color: var(--red);
}

/* Hide scrollbar */
.page .carousel_container .carousel::-webkit-scrollbar {
  display: none;
}

.page .carousel_container .carousel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ------------------- */

.page .carousel_container .carousel_container {
  width: 100%;
}

.page .carousel_container .image__carousel {
  margin: 0 1.1em;
  -o-object-fit: cover;
  object-fit: cover;
  min-width: 300px;
  max-width: 400px;
  justify-content: flex-start !important;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}


.page .carousel_container .image__carousel div {
  width: 100%;
  text-align: center;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.padding__section.carousel_container {
  position: relative;
  overflow: hidden; /* déjà présent sur le parent */
}

.padding__section.carousel_container::before,
.padding__section.carousel_container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.padding__section.carousel_container::before {
  left: 0;
  background: linear-gradient(
    to right,
    var(--beige) 0%,
    transparent 100%
  );
}

.padding__section.carousel_container::after {
  right: 0;
  background: linear-gradient(
    to left,
    var(--beige) 0%,
    transparent 100%
  );
}

.page .page__projet .animate_in {
  transform: translate(0, 100%);
  animation: translation 1.7s forwards cubic-bezier(0.075, 0.82, 0.165, 1);
  animation-delay: 200ms;
}

.page .page__projet .images__flex {
  margin-top: 2vw !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  width: 70% !important;
  justify-content: space-around !important;
}

.page .page__projet .images__flex video {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.page .page__projet .lien_desc {
  color: var(--black);
}

@keyframes translation {
  0% {
    transform: translate(0, 100%);
  }

  100% {
    transform: translate(0, 0%);
  }
}

.page #creatif1 {
  display: none;
}

.page #creatif2 {
  display: block;
}

.page .page__contact {
  margin-top: 5vh;
  width: clamp(60vw, 70%, 100vw);
  align-items: center;
  justify-items: center;
}

.page .page__contact div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
}

.page .page__contact div p {
  font-family: "Geist", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  color: black;
  text-align: justify;
}

.page .page__contact .redirections {
  width: 100%;
  flex-direction: row;
  justify-content: center;
  gap: 4vw;
  margin-top: clamp(15px, 2.5em, 30px);
}

.page .page__contact .redirections a {
  color: var(--red);
  font-size: clamp(3em, 2.5vw, 4.5em);
}

.page .page__contact .redirections a:hover {
  color: #f03f2f;
}

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

#city {
  display: flex;
  position: relative;
  flex-direction: column;
  align-items: center;
  height: 40vw;
  width: 100%;
}

#city img {
  opacity: 1;
  padding-bottom: 0 !important;
  position: absolute;
  display: block;
  height: auto !important;
}

.slider-container {
  width: 100%;
  padding: 1rem 0 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#slider {
  width: 90%;
  accent-color: var(--red);
}

#slider:hover {
  cursor: grab;
}

#slider:active {
  cursor: grabbing;
}

.active:active {
  cursor: grabbing;
}

.fade_out_content {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

@keyframes fade_in {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.slide {
  display: none;
}

.resize {
  display: block;
}


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

h2 {
  font-family: "IvyPresto";
}


.projets:has(div:hover) .item__image {
  background-color: rgba(0, 0, 0, 0.25);
  transition: all 0.5s cubic-bezier(.31, .11, .25, .83);
  transition-delay: 30ms;
}

.projets:has(div:hover) .item__content h2,
.projets:has(div:hover) .item__content p {
  opacity: 0.3;
  transition: all 0.3s cubic-bezier(.31, .11, .25, .83);
}

.item a {
  width: 100%;
  height: 100%;
  text-align: center;
  font-family: "Geist", sans-serif;
  color: var(--black);
  text-decoration: none;
  display: flex;
  flex-direction: column;
}


.item__image {
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: all .3s cubic-bezier(.31, .11, .25, .83);
  background-blend-mode: overlay;
  background-color: rgba(0, 0, 0, 0.05);
  background-size: auto 100%;
}

.item__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0.5rem;
  gap: 0.25rem;
}

.item__content h2 {
  font-size: 1.25rem;
  margin: 0;
  font-family: "Geist", sans-serif;
  font-weight: 400;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px !important;
  margin-bottom: -0.25rem;
}

.item__content p {
  font-size: 0.875rem;
  font-weight: 300;
  margin: 0;
  font-family: "Geist", sans-serif;
  color: var(--white);
  text-decoration: none;
}

.projets {
  flex: none;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  grid-auto-rows: min-content;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: min-content;
  padding: 0 0.5rem;
  display: grid;
  position: relative;
  margin: 3rem 0;
}

.item {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  color: var(--black);
  transition: all 0.3s cubic-bezier(.31, .11, .25, .83);
}


/* Dégradé sombre en bas pour lisibilité du texte */
.item__image::after {
  content: '';
  position: absolute;
  inset: 0;
  transition: all 0.25s cubic-bezier(.31, .11, .25, .83);
  background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0), transparent 50%)
}

.item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.1rem 1rem;
  z-index: 2;
}

.item__metas {
  color: rgba(255, 255, 255, 0.65);
}

.noisy {
  background-image: url(../../liaisons/css/noise.png);
  background-blend-mode: hard-light;
}

.item a:hover .item__image {
  background-size: auto 105%;
  background-color: rgba(0, 0, 0, 0);
  transition: all 0.25s cubic-bezier(.31, .11, .25, .83);
  cursor: pointer;
}

/* Le gradient hover (rouge) par-dessus, invisible par défaut */
.item__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(50, 0, 0, 1), rgba(50, 0, 0, 0), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(.31, .11, .25, .83);
}

.item a:hover .item__image::before {
  opacity: 1;
}

.item a:hover .item__image::after {
  opacity: 0;
}

.item a:hover .item__content h2,
.item a:hover .item__content p {
  opacity: 1;
  transition: all 0.25s cubic-bezier(.31, .11, .25, .83);
}


/* ---------------------------------- */
.slide-vertical .char {
  line-height: 1.3;
  overflow: hidden;
  color: transparent;
}

.slide-vertical .char:before,
.slide-vertical .char:after {
  visibility: visible;
  color: var(--red);
  transition: transform 0.45s cubic-bezier(0.9, 0, 0.2, 1);
  transition-delay: calc(0.1s + 0.01s * (var(--char-index)));
}

.slide-vertical .char:before {
  color: var(--black);
  transition-delay: calc(0.01s * (var(--char-index)));
}

.slide-vertical:hover .char:before {
  transition-delay: calc(0.1s + 0.01s * (var(--char-index)));
}

.slide-vertical:hover .char:after {
  transition-delay: calc(0.01s * (var(--char-index)));
}

.slide-vertical .char:before {
  transform: translateY(-100%);
}

.slide-vertical:hover .char:before {
  transform: translateY(0%);
}

.slide-vertical:hover .char:after {
  transform: translateY(100%);
}

.whitespace {
  width: 7px;
}

.overflow-hide {
  overflow: hidden;
}

.trait__horizontal {
  width: 100%;
  height: 1px;
  background-color: var(--couleur-trait);
}

.trait__horizontal--mobile {
  margin: 15px 0;
}

.trait__vertical {
  width: 1px;
  height: 0%;
  background-color: var(--couleur-trait);
}

svg:hover {
  cursor: pointer;
}

.trait__animation {
  width: 0%;
  animation: trait forwards 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.trait2__animation {
  height: 0%;
  margin: 0 25px;
  animation: trait2 forwards 3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

@keyframes trait {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

@keyframes trait2 {
  0% {
    height: 0%;
  }

  100% {
    height: 100%;
  }
}

.column_container {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.column_content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.column_content img {
  width: 100%;
  margin-top: 8px;
  vertical-align: middle;
}

.column_content img:hover {
  cursor: pointer;
}

iframe {
  width: 100%;
  border: none;
}

iframe.ytb {
  height: 40rem;
}

iframe:hover {
  cursor: pointer;
}

.fullscreen:hover {
  cursor: pointer;
}

.manuel a {
  width: 235px !important;
  margin-bottom: 1.5em;
}

.descriptif {
  color: var(--black);
}


/* Recommandation */
#review-container {
  overflow-x: scroll;
  justify-content: flex-start !important;
  scroll-snap-type: x mandatory;
}

blockquote {
  min-width: clamp(300px, 95%, 450px);
  border-radius: 15px;
  padding: 1rem 2rem;
  border: var(--red) 2px solid;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-behavior: smooth;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

blockquote * {
  user-select: none;
}

blockquote div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

blockquote .prenom-nom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.symbol {
  font-family: "IvyPresto";
  font-size: 150px;
  color: rgba(190, 45, 31, 0.175);
  font-weight: 900;
  display: block;
  height: 2.5rem;
  line-height: 70%;
}

.symbol-invert {
  font-family: "IvyPresto";
  mix-blend-mode: darken;
  font-size: 150px;
  color: rgba(190, 45, 31, 0.175);
  font-weight: 900;
  display: block;
  height: 2rem;
  transform: scale(-1);
  line-height: 80%;
}

.quote {
  font-family: "Geist", sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--black);
}

.quote-hr {
  border: 0.5px solid var(--red);
}

.quote-pfp {
  width: 60px;
  height: 60px;
  display: inline-block;
  margin-top: 10px;
  vertical-align: middle;
}

.metier {
  font-size: 14px;
  font-weight: 400;
}

#logo_footer {
  display: none;
}

.hero-image-content img {
    animation: dezoom 3s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}

.self-description {
    animation: fadeIn 1.2s ease forwards;
}

.max_wdth {
  max-width: 100%;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes dezoom {
    0% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 1430px) {
  .slide {
    display: block;
  }

  .carousel,
  .carousel img {
    cursor: grab;
  }

  .resize {
    display: none;
  }
}

@media (min-width: 1921px) {
  .page .accueil__avatar {
    height: 37vw;
  }

  .page .hero_titre button,
  .page .hero_titre a {
    font-size: clamp(20px, 2vw, 25px);
  }

  .page .sous_contenu div button,
  .page .sous_contenu div a {
    width: clamp(180px, 15vw, 500px);
    height: clamp(50px, 2.3vw, 200px);
  }

  .navbar button {
    width: clamp(150px, 14vw, 160px);
    font-size: clamp(20px, 1.5vw, 25px);
  }
}

@media (min-width: 1201px) {
  .hide-desktop {
    display: none !important;
  }

  .hide-mobile {
    display: flex;
  }
}

@media (max-width: 1200px) {
  .page #creatif1 {
    display: block;
  }

  .page #creatif2 {
    display: none;
  }

  .page .page__avatar {
    height: clamp(500px, 75vw, 650px);
  }

  .page .page__projet .projet__description {
    gap: 2rem;
  }

  .page .page__projet .projet__description .description__infos {
    max-width: 100%;
  }

  .page .page__projet .projet__description .titre__logiciel {
    flex-direction: row;
    width: 100%;
  }

  .page .hide-desktop {
    display: flex;
  }

  .page .hide-mobile {
    display: none !important;
  }

  .page .carousel_container .carousel {
    justify-content: flex-start !important;
  }


  .container,
  .footer_container {
    padding: 2.5rem;
  }

  .container_content.flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .container_content .right {
    width: 20rem;
    height: 20rem;
  }

  .container_content .left {
    padding-right: 1.5rem;
  }


  .all_projects,
  .all_projects a {
    align-self: flex-start;
  }

  .services-layout {
    grid-template-columns: 1fr 1fr;
  }

  .col-right {
    grid-column: 1 / -1;
    height: 25rem;
  }

  .page .page__projet .arborescence {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 800px) {

  .navbar .nav_logo {
    height: 80px;
    padding-right: clamp(0px, 3vw, 100px);
    padding-left: clamp(0px, 3vw, 100px);
  }

  .navbar {
    grid-template-columns: repeat(3, 0.3fr);
  }

  .page {
    overflow: scroll;
  }

  .page .page__avatar {
    margin-top: -75px;
    height: clamp(200px, 60vw, 650px);
  }

  .page .page__projet .projet__description .titre__logiciel {
    flex-direction: column;
    gap: 2rem;
  }

  .page .page__projet .image__carousel {
    margin: 0;
  }

  .page .page__contact .redirections {
    margin-top: 0;
    margin-bottom: 2.5em;
    gap: 7em;
  }

  .villeimg {
    max-width: 85% !important;
  }

  #previousProject .projet,
  #nextProject .projet {
    font-family: "IvyPresto";
    font-size: 2rem;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  #previousProject,
  #nextProject{
    margin: 0 1rem;
  }


  .page .page__projet h1 {
    line-height: 100%;
    font-size: 5.25rem;
    padding-bottom: 1rem;
  }

  .projets {
    grid-template-columns: repeat(2, 1fr);
    padding: 0;
  }

  .page .hero_titre {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 2rem;
  }

  .filtres {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-evenly;
    justify-items: stretch;
    width: 100%;
    height: 4rem;
  }

  .page .hero_titre h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }

  .container_content .left {
    gap: 2rem;
  }

  .logo img {
    filter: grayscale(0);
    opacity: 1;
    width: 6rem;
  }

  .logo-track {
    margin-top: 1rem;
  }

  .footer_container {
    padding: 2.5rem;
  }

  .projects a {
    background-size: cover;
  }

  .column_content {
    display: flex;
    flex-direction: row;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    -webkit-overflow-scrolling: touch;
  }

  .column_content img {
    flex-shrink: 0;
    width: 85vw;
    max-width: 400px;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    margin: 0;
  }

  /* Cache la scrollbar */
  .column_content::-webkit-scrollbar {
    display: none;
  }

  .column_content {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .projet__container {
    flex-direction: column;
    padding: 0 1rem;
  }

  .projet__images {
    width: 100%;
  }

  .projects a {
    height: 12.5rem;
  }

  .projet__infos {
    gap: 0.25rem;
  }

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

   .container_content.grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: left;
  }

  .container .title_section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .hero-image-container{
    height: 85vh;
  }

  .self-description h1{
    font-size: 3.5rem;
  }

  .mute-container {
    display: flex !important;
    flex-direction: row-reverse !important;
    width: 100%;
    justify-content: space-between !important;
  }

  #muteBtn {
    padding-bottom: 0.25rem;
  }

  .arrow__container {
    display: none !important;
  }

  .modal_fullscreen {
    padding: 0;
  }

}

@media (max-width: 500px) {
  .page .page__projet h1 {
    line-height: 90%;
    padding-bottom: 1rem;
    font-size: 4rem;
  }

  .tags-container {
    margin-top: 0;
  }

  .footer_container .footer_content {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .footer_container {
    padding-bottom: 0;
  }

  .footer_links {
    flex-direction: row-reverse;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
  }

  #back_top svg {
    transform: scale(1.1);
    color: var(--red);
  }

  .self-description {
    gap: 1rem;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .self-description h1 {
    line-height: 90%;
  }

  .self-description h3 {
    font-size: 1.125rem;
  }

  .self-description div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
  }

  .row {
    flex-direction: column;
  }

  .row img {
    pointer-events: none;
  }

  #footer_video {
    display: none;
  }

  #logo_footer {
    display: block;
    width: 7rem;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .col-center {
    height: 25rem;
  }

  .col-right {
    height: 0;
  }
}

.instagram-media {
  width: 50% !important;
}