* {
  margin: 0;
  border: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

:root {
  --base-color: #fcf6e4;
  --accent-color: #37c884;
  --text-color: #211a19;
}

@font-face {
  font-family: "Cooper";
  src: url(./fonts/Cooper-Bold.woff2) format("woff2");
  line-height: 1.1em;
}

@font-face {
  font-family: "Cooper-bold";
  src: url(./fonts/Cooper-Black.woff2) format("woff2");
  line-height: 1.1em;
}

@font-face {
  font-family: "Basteleur";
  src: url(./fonts/Basteleur-Moonlight.woff2) format("woff2");
}

@font-face {
  font-family: "Basteleur-bold";
  src: url(./fonts/Basteleur-Bold.woff2) format("woff2");
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* Cache-misère, la page dépasse un peu de 100vw */
  scroll-padding-top: 80px;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-color);
}

.darkbg {
  color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cooper", serif;
  font-weight: 400;
  font-style: normal;
  text-align: center;
  line-height: 1.1em;
}

.scroll_hidden > *,
.scroll_hidden.scroll_self {
  opacity: 0;
  transition: all 0.7s;
  filter: blur(2.4px);
  translate: 0 40px;
}

@media (prefers-reduced-motion) {
  .scroll_hidden {
    transition: none;
  }
}

.scroll_show > *,
.scroll_show.scroll_self {
  opacity: 1;
  filter: blur(0px);
  translate: 0 0;
}

.scroll_hidden > *:nth-child(1) {
  transition-delay: 50ms;
}

.scroll_hidden > *:nth-child(2) {
  transition-delay: 200ms;
}

.scroll_hidden > *:nth-child(3) {
  transition-delay: 450ms;
}

a {
  font-family: inherit;
  font-weight: inherit;
}

hr {
  border: 0;
  clear: both;
  display: block;
  width: 100%;
  background-color: hsl(from var(--text-color) h s calc(l + 60));
  height: 1.5px;
  margin: 20px 0;
}

.material-symbols-rounded {
  user-select: none;
  margin-right: 10px;
  position: relative;
  top: 5px;
  transform: scale(1.2);
}

.cooper {
  font-family: "Cooper", serif;
  font-weight: 400;
  font-style: normal;
}

.cooper-bold {
  font-family: "Cooper-bold", sans-serif;
}

.quicksand-400 {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.quicksand-600 {
  font-family: "Quicksand", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

.btn_wrapper {
  position: relative;
  cursor: pointer;
}

.btn_wrapper:hover > .btn_star_bottom_right,
.btn_wrapper:hover > .btn_star_top_left {
  opacity: 1;
}

.btn_primary {
  display: flex;
  padding: 1.2em 2.4em;
  text-align: center;
  transition: all 0.15s ease-out 0s;
  font-weight: 700;
  border-radius: 48px;
  text-decoration-line: none;
  position: relative;
  overflow: hidden;
  filter: drop-shadow(
    hsl(from var(--accent-color) h s calc(l - 16)) 0px 8px 0px
  );
  transform: translateY(-8px);
}

.btn_primary:hover {
  filter: drop-shadow(
    hsl(from var(--accent-color) h s calc(l - 16)) 0px 2px 0px
  );
  transform: translateY(-3px);
}

.btn_star_top_left.black,
.btn_star_bottom_right.black {
  background-color: #000;
}

.btn_star_top_left {
  width: 20px;
  height: 28px;
  background-color: var(--accent-color);
  position: absolute;
  top: -0.8rem;
  left: -0.8rem;
  mask: radial-gradient(10px 14px at 10px 14px, #0000 99%, #000) -10px -14px;
  transition: all 0.1s ease 0.1s;
  opacity: 0;
  animation: btn_star_pop 0.4s ease-out infinite;
}

.btn_star_bottom_right {
  width: 20px;
  height: 28px;
  background-color: var(--accent-color);
  position: absolute;
  bottom: -0.8rem;
  right: -0.8rem;
  mask: radial-gradient(10px 14px at 10px 14px, #0000 99%, #000) -10px -14px;
  transition: all 0.15s ease 0.05s;
  opacity: 0;
  animation: btn_star_pop 0.4s ease-out infinite;
}

@keyframes btn_star_pop {
  0% {
    transform: scale(0.7);
  }
  50% {
    transform: scale(1);
  }
  100% {
    transform: scale(0.7);
  }
}

.bp_text {
  color: #000;
  text-align: center;
  font-weight: 800;
  transition: color 0.1s ease-out;
  letter-spacing: -0.2px;
  font-size: 1.16em;
}

.bp_bg {
  width: 100%;
  height: 100%;
  background-color: var(--accent-color);
  background: linear-gradient(
    20deg,
    hsl(from var(--accent-color) h s calc(l + 16)) 0%,
    var(--accent-color) 25% 80%,
    hsl(from var(--accent-color) h s calc(l + 24)) 100%
  );
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
}

.bp_hover {
  width: 30px;
  aspect-ratio: 1/1;
  position: absolute;
  transform: scale(0.001);
  transition: all 0.25s ease-out;
  z-index: -1;
  left: 46%;
  top: 50%;
  transform-origin: 50% 48%;
}

.btn_primary:hover .bp_hover {
  transform: scale(24);
  fill: #000;
}

.btn_primary:hover .bp_text {
  color: #000000;
}

.star {
  position: absolute;
  top: -8rem;
  width: 100%;
  height: 100%;
}

/* BOUTON SECONDAIRE */

.btn_secondary {
  display: flex;
  padding: 1.2em 2.6em;
  text-align: center;
  transition: all 0.15s ease-out 0s;
  font-weight: 700;
  border-radius: 48px;
  box-shadow: 0px 0px 0px 1.5px var(--text-color) inset;
  text-decoration-line: none;
  position: relative;
  overflow: hidden;
}

.btn_secondary.green_fill {
  background-color: var(--accent-color);
  box-shadow: 0px 0px 0px 1.5px var(--accent-color) inset;
  overflow: hidden;
}

.effect_shine {
  position: absolute;
  width: 26%;
  height: 200%;
  top: -50%;
  left: -30%;
  background-color: #fff;
  filter: blur(3px);
  transform: rotate(20deg);
  animation: effect_shine_sweep 6s infinite
    cubic-bezier(0.42, 0.005, 0.165, 0.995);
  z-index: 0;
}

@keyframes effect_shine_sweep {
  0% {
    left: -30%;
    opacity: 0.15;
  }
  20% {
    left: 120%;
    opacity: 0.1;
  }
  100% {
    left: 120%;
  }
}

.bs_text {
  color: #000;
  text-align: center;
  font-weight: 800;
  transition: color 0.1s ease-in-out;
  z-index: 2;
  letter-spacing: -0.3px;
}

.bs_text.bs_text.external_link {
  margin-right: 1.1em;
}

.bs_text.external_link::after {
  content: url("data:image/svg+xml,%3Csvg viewBox='0 -5 24 24' fill='none' xmlns='http://www.w3.org/2000/svg' %3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'%3E%3C/g%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round' %3E%3C/g%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Cpath d='M7 17L17 7M17 7H8M17 7V16' stroke='%23000000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' %3E%3C/path%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
  transform: translate(0.3em, -0.1em);
  transition: all 0.15s ease 0.05s;
}

.btn_secondary:hover .bs_text.external_link::after {
  filter: invert();
}

.btn_secondary:hover .bs_text {
  color: #ffffff;
}

.btn_secondary:hover .bs_text.green_fill {
  color: #ffffff;
}

.bs_hover {
  width: 100%;
  height: 100%;
  background-color: #000000;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform: scale(1);
  transition: all 0.2s ease;
  z-index: -1;
  border-radius: 50%;
}

.bs_hover.green_fill {
  background-color: #000000;
  z-index: 1;
}

.bs_question {
  color: #bcb3a1;
  position: absolute;
  bottom: -65%;
  font-size: 5.7em;
  transition: all 0.2s ease;
  z-index: -1;
  opacity: 0;
  transform-origin: center 80%;
}

.bs_question.green_fill {
  color: #bcb3a1;
  z-index: 1;
}

.btn_secondary:hover .bs_hover {
  transform: translateY(-3.8em) scale(1.5);
}

.btn_secondary:hover .bs_question {
  opacity: 0.15;
  animation: bs_question_rotate 0.4s ease-in-out infinite alternate;
}

@keyframes bs_question_rotate {
  0% {
    transform: rotate(-2.5deg);
  }
  100% {
    transform: rotate(2.5deg);
  }
}

.bs_anim_question {
  font-size: 1.2rem;
  color: var(--text-color);
  text-align: center;
  font-weight: 600;
  transition: color 0.1s ease-in-out;
  position: absolute;
  top: -10%;
}

.btn_nav_primary {
  display: flex;
  padding: 0.8em 2.1em;
  text-align: center;
  transition: all 0.15s ease-out 0s;
  font-weight: 500;
  border-radius: 64px;
  background-color: var(--accent-color);
  box-shadow: 0px 0px 0px 2px var(--accent-color) inset;
  text-decoration-line: none;
  position: relative;
  overflow: hidden;
}

.bnp_text {
  color: #000;
  text-align: center;
  font-weight: 800;
  transition: color 0.1s ease-in-out;
  z-index: 1;
  letter-spacing: -0.2px;
}

.btn_nav_primary:hover .bnp_text {
  color: #ffffff;
}

.bnp_hover {
  width: 100%;
  aspect-ratio: 1/1;
  background-color: #000000;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  transform: scale(1);
  transition: all 0.2s ease;
  border-radius: 100px;
}

.btn_nav_primary:hover .bnp_hover {
  transform: translateY(-2.2em) scale(1.4);
}

.modal {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: auto;
  height: auto;
}

.modal .modal-button {
  transition: all 0.1s ease-out;
}

.modal .modal-button:hover {
  filter: brightness(0.7);
}

.modal input[type="checkbox"] {
  display: none;
}

.modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 5px;
  background-color: #211a19ae;
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: calc(90vw + 16px);
  max-height: 90vh;
  background-color: var(--base-color);
  border: 6px solid var(--base-color);
  border-radius: 20px;
}

.modal-content > * {
  object-fit: contain;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 16px;
}

.modal input[type="checkbox"]:checked + .modal-container {
  display: flex;
  z-index: 99;
  animation: reveal-modal 0.2s;
}

@keyframes reveal-modal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

body {
  background-color: var(--base-color);
  background: 70% / contain url(./background.avif); /* Photo de Annie Spratt sur Unsplash */
  position: relative;
}

body > img {
  z-index: -99;
  position: absolute;
  mix-blend-mode: normal;
  opacity: 1;
  width: 100%;
}

p,
li,
a {
  font-size: 22px;
}

h1 {
  font-size: 4.4rem;
}

h2 {
  font-size: 3.8rem;
}

h3 {
  font-size: 3rem;
}

h4 {
  font-size: 2.6rem;
}

h5 {
  font-size: 2rem;
}

h6 {
  font-size: 1.2rem;
}

b {
  font-weight: 600;
}

.title_wip {
  margin-left: 10rem;
}

.title_wip::before {
  content: "";
  position: absolute;
  width: 3.2em;
  height: 3.2em;
  background-color: var(--accent-color);
  position: absolute;
  bottom: -0.6em;
  left: -4em;
  mask: radial-gradient(1.6em 1.6em at 1.6em 1.6em, #0000 10% 99%, #000) -1.6em -1.6em;
  transition: all 0.15s ease 0.05s;
  /* animation: 20s linear 0s infinite rotation_360; */
}

.title {
  margin-left: 10rem;
}

.title::before {
  content: "";
  position: absolute;
  width: 3.2em;
  height: 3.2em;
  background-color: var(--accent-color);
  position: absolute;
  bottom: -0.6em;
  left: -4em;
  mask: radial-gradient(1.6em 1.6em at 1.6em 1.6em, #0000 10% 99%, #000) -1.6em -1.6em;
  transition: all 0.15s ease 0.05s;
  /* animation: 20s linear 0s infinite rotation_360; */
}

/* .title::after {
    content: "01";
    font-family: "Basteleur";
    position: absolute;
    font-size: 2.4em;
    color:#3a2d27;
    left: -1em;
    transition: all 0.15s ease 0.05s;
    z-index: 1;
} */

nav {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 80px;
  position: sticky;
  background-color: hsl(from #fff h s l / 0.97);
  top: 0px;
  z-index: 2;
  /* box-shadow: 0px 0px 5px 2px var(#fff) inset; */
  transition: top 0.25s ease 0.05s, background-color 0.3s ease,
    border-bottom 0.3s ease;
  border-bottom: 2px solid hsl(from var(--text-color) h s l / 0.5);
}

nav.top {
  background-color: hsl(from var(--base-color) h s l / 0);
  border-bottom: none;
}

#nav_blur {
  width: inherit;
  height: inherit;
  position: absolute;
  backdrop-filter: blur(5px);
  mask: linear-gradient(to bottom, black 0 75%, transparent);
  z-index: -2;
  opacity: 1;
}

nav.top #nav_blur {
  opacity: 0;
}

#nav_container {
  width: 100%;
  padding: 0 min(5%, 6rem);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nav_button_group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.btn_nav_middle {
  padding: 0.8em 2.1em;
  position: relative;
  font-weight: 500;
  text-align: center;
  transition: all 0.15s ease-out 0s;
  border-radius: 16px;
  width: max-content;
}

.btn_nav_middle::before {
  content: "";
  position: absolute;
  width: calc(100% - 4.2em);
  height: 2px;
  transform-origin: 100% 50%;
  transform: translateY(-0.4em) scaleX(0);
  background-color: #bcb3a1;
  /* background: linear-gradient(90deg, #bcb3a1 0 65%, transparent 65% 100%); */
  background-repeat: repeat-x;
  background-size: 16px 4px;
  bottom: 0;
  border-radius: 4px;
  transition: transform 0.3s ease 0s;
  animation: dashed_line linear 1s infinite;
}

.btn_nav_middle:hover::before {
  transform-origin: 0% 50%;
  transform: translateY(-0.4em) scaleX(1);
}

@keyframes dashed_line {
  0% {
    background-position: 0 0px;
  }
  100% {
    background-position: 16px 0px;
  }
}

.nav_button_group > a {
  font-size: 1.125rem;
  text-decoration-line: none;
  color: var(--text-color);
}

#logo {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

#logo > a > img {
  width: 48px;
  height: 48px;
  transition: transform 0.15s ease-out 0s;
  background: var(--text-color);
  border-radius: 8px;
}

#logo > a > img:hover {
  transform: scale(1.1);
}

#logo > a {
  font-size: 1.3rem;
  line-height: 1em;
}

main {
  width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

main > *:last-child {
  margin-bottom: 64px;
}

main > section {
  width: 100%;
  padding: 4rem min(5%, 6rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.separator {
  padding-top: 48px;
  padding-bottom: 48px;
}

main > .button {
  margin: 48px 0px;
}

.hero_area {
  align-items: center;
  gap: 80px;
  padding-top: 3vh;
}

.text_fill {
  background: linear-gradient(
    90deg,
    hsl(from var(--text-color) h s calc(l + 30)) 0 50%,
    transparent 50% 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  color: transparent;
  background-position-x: 0%;
  line-height: 1.22em;
}

.text_fill.scroll_show {
  animation: 1.4s cubic-bezier(0.18, 0, 0.225, 0.995) 0.5s 1 both text_fill_anim;
}

.text_fill.white {
  background-color: #ffffff;
}

.text_fill.accent {
  background-color: hsl(from var(--accent-color) h calc(s + 30) calc(l));
}

.text_fill.dark {
  background-color: var(--text-color);
}

@keyframes text_fill_anim {
  0% {
    background-position-x: 0%;
  }
  100% {
    background-position-x: -100%;
  }
}

#presentation_text_title * {
  line-height: 1.2em;
  text-align: left;
}

/* TEXTE SLIDER */

.slider_wrapper > * {
  display: inline-block;
}

.slider {
  margin-left: 1em;
  height: 4.3rem;
  overflow: hidden;
  transform: translateY(0.1rem);
}

.slider h1 {
  height: 4rem;
  margin-bottom: 2rem;
  transform: translateY(-0.06em);
  /* color: #000 */
}

.slider > h1:first-child {
  animation: slider_wrapper 11s cubic-bezier(0.34, 0, 0.21, 1.35) 1.5s infinite;
  animation-delay: 2s;
}

@keyframes slider_wrapper {
  0% {
    margin-top: 0;
  }
  20% {
    margin-top: -6rem;
  }
  33% {
    margin-top: -6rem;
  }
  53% {
    margin-top: -12rem;
  }
  66% {
    margin-top: -12rem;
  }
  86% {
    margin-top: -18rem;
  }
  100% {
    margin-top: -18rem;
  }
}

#presentation_img {
  height: 70vh;
  position: relative;
}

#presentation_img > img {
  height: inherit;
  object-fit: scale-down;
  filter: drop-shadow(10px 5px 0px #bcb3a1);
  padding: 16px 0;
  position: relative;
}

#presentation_text {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.4rem;
}

.hero_cta {
  margin-top: 1.4rem;
  display: flex;
  gap: 1rem;
}

.circle_dashed {
  width: 90%;
  aspect-ratio: 1/1;
  position: absolute;
  border-radius: 50%;
  border: 7px dashed #bcb3a1;
  z-index: -1;
  animation: 60s linear 0s infinite rotation_360;
  top: 15%;
  left: 4%;
  right: 0;
}

.inline {
  display: inline;
}

u {
  font-family: inherit;
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-color: var(--accent-color);
}

.about_area {
  flex-direction: column;
  gap: 64px;
  align-items: center;
  background-color: var(--text-color);
}

.about_presentation {
  display: flex;
  gap: 5%;
  justify-content: center;
  padding: 4%;
  border-radius: 48px;
}

.about_presentation.bg {
  background-color: hsl(from var(--text-color) h s calc(l + 6));
}

.section_highlight {
  display: flex;
  justify-content: center;
  align-items: center;
}

.section_highlight img {
  border-radius: 48px;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  box-shadow: hsl(from var(--text-color) h s l / 0.6) 8px 8px 32px;
  border: hsl(from var(--base-color) h s calc(l - 10)) 6px solid;
  transition: scale 0.3s ease, rotate 0.3s ease;
}

.section_highlight img:hover {
  scale: 1.04;
  rotate: 1deg;
}

.section_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 0;
  gap: 2em;
  max-width: 50%;
}

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

.section_title.works {
  background-color: hsl(from var(--base-color) h s calc(l - 6));
  width: 80%;
  padding: 3% 0;
  border-radius: 48px;
}

.section_title_icon {
  width: 6rem;
  height: 6rem;
  animation: 2s star_wiggle ease-in-out infinite alternate-reverse;
  transform-origin: 50% 50%;
}

.section_title_icon:hover {
  transition: 2s transform cubic-bezier(0.105, 0.01, 0.02, 1.005);
}

@keyframes star_wiggle {
  0% {
    transform: scale(1) rotate(-5deg);
  }
  100% {
    transform: scale(1) rotate(5deg);
  }
}

.section_title_description {
  margin-top: 0.5em;
  color: hsl(from var(--text-color) h s calc(l + 10));
  text-align: center;
}

.section_title_description.works {
  color: var(--base-color);
}

.client_area {
  flex-direction: column;
  align-items: center;
}

.client_content {
  width: 100vw;
  display: flex;
  margin: 4rem;
  justify-content: space-between;
  align-items: center;
  padding: 32px 15%;
  gap: 10%;
}

.client_content > p {
  color: white;
  text-align: center;
}

.client_showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}

.client_card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #ffffff;
  width: 70%;
  border-radius: 16px;
  padding: 32px 48px;
  gap: 16px;
}

.works_area {
  flex-direction: column;
  gap: 64px;
}

.works_area_project {
  width: 80%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
  background-color: #fff;
  background-size: cover;
  border: hsl(from var(--text-color) h s calc(l + 30)) 3px solid;
  border-radius: 32px;
  padding: 0 3%;
}

.project_info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  border-radius: inherit;
  gap: 16px;
  padding: 4% 0 4% 2%;
}

/* .project_info h1,
h2,
h3,
h4,
h5,
h6,
p {
  color: #ffffff;
} */

.project_info > h3,
.project_idescription {
  position: relative;
  text-align: left;
}

.project_title {
  margin-left: 1.2em;
  text-align: left;
}

.project_title::before {
  content: url('data:image/svg+xml,<svg viewBox="-6 -4.8 33.60 33.60" fill="none" xmlns="http://www.w3.org/2000/svg" transform="rotate(45)"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M15.2073 4.50372C18.5358 2.97323 20.2 2.20799 20.996 3.00399C21.792 3.79998 21.0268 5.46421 19.4963 8.79267L18.6427 10.649C18.3371 11.3137 18.1843 11.646 18.1843 11.9999C18.1843 12.3539 18.3371 12.6862 18.6427 13.3509L19.4963 15.2072C21.0268 18.5357 21.792 20.1999 20.996 20.9959C20.2 21.7919 18.5358 21.0266 15.2073 19.4962L13.351 18.6426C12.6863 18.337 12.354 18.1841 12.0001 18.1841C11.6461 18.1841 11.3138 18.337 10.6491 18.6426L8.7928 19.4962C5.46434 21.0266 3.80011 21.7919 3.00411 20.9959C2.20811 20.1999 2.97335 18.5357 4.50384 15.2072L5.35741 13.3509C5.66304 12.6862 5.81586 12.3539 5.81586 11.9999C5.81586 11.646 5.66304 11.3137 5.35741 10.649L4.50384 8.79267C2.97335 5.46421 2.20811 3.79998 3.00411 3.00399C3.80011 2.20799 5.46434 2.97323 8.7928 4.50372L10.6491 5.35729C11.3138 5.66292 11.6461 5.81574 12.0001 5.81574C12.354 5.81574 12.6863 5.66292 13.351 5.35729L15.2073 4.50372Z" fill="%2337c884"></path></g></svg>');
  position: absolute;
  width: 1.1em;
  height: 1.1em;
  left: 0.35em;
  /* animation: 20s linear 0s infinite rotation_360; */
}

.project_date {
  color: hsl(from var(--text-color) h s calc(l + 20));
  font-size: 16px;
}

.project_client {
  text-decoration-line: none;
  color: inherit;
  animation: 4s cubic-bezier(0.34, 0, 0.21, 1.35) 2s infinite link_shake;
  transform: scale(8);
}

.project_client:visited {
  color: inherit;
}

.project_client:hover {
  text-decoration-line: underline;
  transform: scale(8);
}

@keyframes link_shake {
  0% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.2) rotate(-10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.project_category {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.8em;
}

.category {
  font-family: "Quicksand", sans-serif;
  color: var(--text-color);
  font-weight: 600;
  font-size: 17px;
  background-color: hsl(from var(--base-color) h calc(s + 10) calc(l - 18));
  border-radius: 28px;
  padding: 0.3em 1em;
  text-shadow: none;
}

.project_description {
  text-align: left;
}

.project_list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.4em;
}

.project_list li {
  position: relative;
}

.project_info > ul > li + li {
  margin-top: 0.8em;
}

.project_list_icon {
  width: 1em;
  height: 1em;
  z-index: 10;
}

.project_list_text {
  margin-left: 2.2em;
}

.project_list_text::before {
  content: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><g id="style=stroke"><g id="check-circle"><path id="vector (Stroke)" fill-rule="evenodd" clip-rule="evenodd" d="M12 2.75C6.89137 2.75 2.75 6.89137 2.75 12C2.75 17.1086 6.89137 21.25 12 21.25C17.1086 21.25 21.25 17.1086 21.25 12C21.25 6.89137 17.1086 2.75 12 2.75ZM1.25 12C1.25 6.06294 6.06294 1.25 12 1.25C17.9371 1.25 22.75 6.06294 22.75 12C22.75 17.9371 17.9371 22.75 12 22.75C6.06294 22.75 1.25 17.9371 1.25 12Z" fill="%23211a19"></path><path id="vector (Stroke)_2" fill-rule="evenodd" clip-rule="evenodd" d="M16.5303 8.96967C16.8232 9.26256 16.8232 9.73744 16.5303 10.0303L11.9041 14.6566C11.2207 15.34 10.1126 15.34 9.42923 14.6566L7.46967 12.697C7.17678 12.4041 7.17678 11.9292 7.46967 11.6363C7.76256 11.3434 8.23744 11.3434 8.53033 11.6363L10.4899 13.5959C10.5875 13.6935 10.7458 13.6935 10.8434 13.5959L15.4697 8.96967C15.7626 8.67678 16.2374 8.67678 16.5303 8.96967Z" fill="%23211a19"></path></g></g></g></svg>');
  position: absolute;
  width: 1.6em;
  height: 1.6em;
  top: 0em;
  left: 0;
  transition: all 0.15s ease 0.05s;
}

.project_list_icon,
.project_list_text {
  vertical-align: middle;
  display: inline-block;
  font-weight: 500;
}

.project_video {
  border-radius: inherit;
  max-width: 28vw;
  max-height: 56vh;
  display: flex;
  flex-direction: flex-start;
  box-shadow: hsl(from var(--text-color) h s l / 0.2) 4px 4px 8px;
}

.project_video.widescreen {
  max-width: 28vw;
  max-height: 38vh;
}

.project_vertical_double {
  width: 100%;
  max-width: 28vw;
  height: 100%;
  max-height: 56vh;
  border-radius: inherit;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.project_vertical_double video {
  transition: all 0.4s ease;
}

.project_vertical_double video:first-of-type {
  filter: brightness(0.7);
}

.project_vertical_double video:last-of-type {
  box-shadow: hsl(from var(--text-color) h s l / 0.2) 2px 2px 10px;
}

.project_vertical_double video:hover {
  z-index: 1;
  filter: none;
  transform: translateY(-6px) scale(1.02);
  box-shadow: hsl(from var(--text-color) h s l / 0.2) 2px 2px 10px;
}

.project_vertical_double video + video {
  position: absolute;
  right: 38%;
  top: 2%;
}

.project_video > video,
.project_video > iframe,
.project_vertical_double > video,
.project_vertical_double > iframe {
  max-width: inherit;
  max-height: inherit;
  border-radius: inherit;
  object-fit: cover;
  /* border: 8px solid hsl(from var(--text-color) h s calc(l + 20)); */
}

.grid {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
}

.grid a {
  text-decoration-line: none;
}

.card {
  display: flex;
  transition: transform 0.15s ease-out 0s;
  background-color: var(--text-color);
  border-radius: 16px;
  aspect-ratio: 1/1;
  flex: 0.05 0 21%;
  position: relative;
}

.card > img {
  width: 100%;
  height: 100%;
  transition: transform 0.15s ease-out 0s;
  object-fit: cover;
  background-color: var(--text-color);
  border-radius: inherit;
  position: absolute;
}

.card_focus {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.15s ease-out 0s;
  z-index: 1;
}

.card_focus > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: opacity 0.15s ease-out 0s;
  position: absolute;
  display: none;
}

.card:hover {
  transform: scale(1.05);
}

.card:hover > .card_focus {
  opacity: 1;
}

.card:hover > .card_focus > video {
  display: initial;
}

.gradient {
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0), #211a19bb);
  border-radius: 0px 0px 16px 16px;
  transition: opacity 1s ease 0s;
  opacity: 1;
}

.card_infos {
  flex-direction: column;
  padding: 1em;
  transition: opacity 0.8s ease-out 0s;
  position: absolute;
}

.card_infos > h5 {
  text-transform: uppercase;
}

.card_infos > * {
  color: var(--base-color);
  text-shadow: 2px 2px 2px #211a1950;
  text-align: left;
}

#contact {
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  background-color: var(--text-color);
  border-radius: 16px;
  padding: 32px 48px;
  gap: 64px;
}

.contact_photo_alex {
  width: 216px;
  height: 216px;
  object-fit: cover;
  background-color: var(--accent-color);
  border-radius: 50%;
}

#contact_text {
  height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

#contact_text h2,
#contact_text p,
#contact_text u,
#contact_text b {
  color: var(--base-color);
}

#contact_reseaux {
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.button > a {
  display: block;
  color: var(--text-color);
  font-weight: 700;
  text-decoration-line: none;
  background-color: var(--accent-color);
  padding: 18px 24px;
  border-radius: 12px;
  transition: background-color 0.15s ease-out 0s, border-color 0.15s ease-out 0s;
}

.button.icon > a {
  border-radius: 16px;
  padding: 10px 24px 18px 22px;
}

.button.icon span {
  color: var(--text-color);
}

.button.rounded > a {
  border-radius: 64px;
}

.button.black > a {
  color: var(--base-color);
  background-color: var(--text-color);
}

.button.black:hover > a {
  background-color: #2e2423;
  border-color: #2e2423;
}

.button:hover > a {
  background-color: hsl(from var(--accent-color) h s calc(l + 10));
  border-color: hsl(from var(--accent-color) h s calc(l + 10));
}

/* 

PAGES DE PROJET

*/

.bg_black {
  background-color: var(--text-color);
  color: var(--base-color);
}

.bg_wip {
  background-color: #ebeb23;
}

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

.same_width {
  padding-left: inherit;
  padding-right: inherit;
  width: inherit;
}

#project_info {
  width: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 24px 15%;
}

.center {
  justify-content: center;
  align-items: center;
}

#project_info *:not(.category) {
  color: inherit;
}

#project_title {
  text-transform: uppercase;
}

#project_description {
  font-size: 20px;
}

#project_client {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#project_client > img {
  border-radius: 50%;
  width: 48px;
  height: 48px;
}

#project_client a {
  text-decoration-line: none;
}

#project_client a:hover {
  text-decoration-line: underline;
}

.relative {
  position: relative;
}

.section_video {
  max-width: 34vw;
  max-height: 70vh;
  border-radius: 16px;
}

.section_video > video,
.section_video > iframe {
  width: inherit;
  height: inherit;
  max-width: inherit;
  max-height: inherit;
  border-radius: inherit;
  object-fit: contain;
}

.section_video > iframe {
  width: 34vw;
  aspect-ratio: 16/9;
}

.deco_active_son {
  position: absolute;
  bottom: -5%;
  right: -36%;
  rotate: -7deg;
}

.section_image {
  width: 100%;
  padding: 32px 15%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.section_image > .div_row {
  width: inherit;
}

.wrap {
  flex-wrap: wrap;
}

.div_row .showcase {
  width: calc(70vw / 3.2);
  height: calc(70vw / 3.2);
  object-fit: cover;
}

.gap {
  gap: 24px;
}

.showcase {
  transition: all 0.15s ease-out 0s;
  border-radius: 16px;
}

.banner {
  width: 70vw;
  height: 200px;
  object-fit: cover;
  flex: 1 1 auto;
}

.stats {
  color: var(--base-color);
  font-weight: 600;
  text-decoration-line: none;
  background-color: var(--text-color);
  padding: 14px 22px;
  border-radius: 32px;
}

.stats.icon {
  padding: 13px 26px 17px 20px; /* code pourri pour contourner l'icône mal positionnée */
}

#project_bottom {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-color: var(--text-color);
  padding: 32px 10%;
  margin-bottom: 0px;
}

#project_bottom > h2 {
  color: var(--base-color);
}

/* 

ABOUT PAGE

*/

.about_main_area {
  width: 100%;
  display: flex;
  margin-bottom: 50vh;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0px;
}

.about_img {
  height: 80vh;
  filter: drop-shadow(7px 3px 0px #bcb3a1);
  animation: 1s cubic-bezier(0.34, 0, 0.21, 1.35) 0s both start_slide;
  position: absolute;
  left: -5%;
  top: 50%;
  z-index: -1;
}

.about_main_photo {
  height: 15vh;
  filter: drop-shadow(7px 3px 0px #bcb3a1);
  animation: 1s cubic-bezier(0.34, 0, 0.21, 1.35) 0s both start_slide;
  position: absolute;
  top: 83%;
  left: -3%;
  border: 10px solid white;
  border-radius: 4px;
  z-index: -1;
}

@keyframes start_slide {
  0% {
    opacity: 0.5;
    transform: translate(0%, 5vh) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0);
  }
}

/* 

FOOTER

*/

footer {
  width: inherit;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--text-color);
  padding: 48px 0;
  gap: 24px;
}

footer * {
  color: var(--base-color);
  text-align: center;
}

#footer_content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 80vw;
}

#footer_content_name {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_content_links {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.footer_content_links h5 {
  margin-bottom: 12px;
}

.footer_content_links a {
  margin-bottom: 6px;
}

.footer_content_links a {
  text-decoration-line: none;
}

.footer_content_links a:hover {
  text-decoration-line: underline;
}

@keyframes rotation_360 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 

PARAMETRES CLASS

*/

.relative {
  position: relative;
}

.text_center {
  text-align: center;
}

.mobile_only {
  display: none;
}

.inline {
  display: inline;
}

/* 

CSS : RESPONSIVE DESIGN

*/

/* 

CSS : MOBILE + TABLETTES

*/

@media only screen and (min-width: 320px) and (max-width: 768px) {
  body {
    background: url(./background.avif); /* Photo de Annie Spratt sur Unsplash */
  }

  html {
    scroll-padding-top: 0px;
  }

  p,
  li,
  a {
    font-size: 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  h4 {
    font-size: 1.3rem;
  }

  h5 {
    font-size: 1.2rem;
  }

  h6 {
    font-size: 12px;
  }

  hr {
    width: 90%;
    margin: 16px 0;
  }

  .mobile_only {
    display: initial;
  }

  .stats.icon {
    padding: 8px 26px 16px 19px; /* code pourri pour contourner l'icône mal positionnée */
  }

  .wave {
    height: 32px;
  }

  .title {
    margin-left: 5rem;
  }

  .title::before {
    content: "";
    position: absolute;
    width: 3.2em;
    height: 3.2em;
    background-color: var(--accent-color);
    position: absolute;
    bottom: -0.4em;
    left: -4em;
    mask: radial-gradient(1.6em 1.6em at 1.6em 1.6em, #0000 10% 99%, #000) -1 6em -1.6em;
    transition: all 0.15s ease 0.05s;
    /* animation: 20s linear 0s infinite rotation_360; */
  }

  nav {
    background-color: var(--text-color);
    padding: 0px 1rem;
    height: 56px;
    box-shadow: none;
  }

  nav.top {
    background-color: var(--text-color);
  }

  #logo > a {
    width: 32px;
    height: 32px;
  }

  #logo > a > img {
    width: inherit;
    height: inherit;
  }

  #nav_container {
    padding: 0;
  }

  #nav_button_projets {
    display: none;
  }

  .nav_a {
    font-size: 16px;
  }

  .btn_nav_primary {
    padding: 0.6em 1.6em;
  }

  .bnp_text {
    font-size: 1rem;
  }

  main > section {
    padding: 4rem min(3%, 3rem);
  }

  .hero_area {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;
    gap: 0px;
    padding-top: 0;
  }

  #presentation_img {
    height: 240px;
  }

  .circle_dashed {
    width: 100%;
    aspect-ratio: 1/1;
    border: 5px dashed #bcb3a1;
    animation: 60s linear 0s infinite rotation_360;
    top: 15%;
    left: 0;
    right: 0;
    z-index: -2;
  }

  #presentation_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  #presentation_text > p {
    order: 1;
  }

  .slider {
    margin-left: 0;
    height: 2.2rem;
  }

  #presentation_text,
  #presentation_text_title * {
    text-align: center;
  }

  .hero_cta {
    margin-top: 0.8em;
    margin-bottom: 0.8em;
  }

  btn_primary {
    padding: 1.1em 2.4em;
  }

  .bp_text {
    font-size: 1em;
  }

  .section_title.works {
    background-color: hsl(from var(--base-color) h s calc(l - 6));
    width: 100%;
    padding: 8% 8%;
    border-radius: 32px;
  }

  .client_content {
    flex-direction: column;
    margin: 0;
    padding: 0;
    width: auto;
    gap: 48px;
  }

  .client_content > h2 {
    transform: scale(1.3);
  }

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

  .section_highlight {
    order: -1;
  }

  .section_text {
    text-align: center;
    justify-content: center;
    align-items: center;
    max-width: 100%;
  }

  .works_area {
    gap: 48px;
  }

  .works_area_project {
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
    border-radius: 24px;
    padding: 2% 3%;
  }

  .project_info {
    padding: 4% 1%;
    gap: 12px;
  }

  .project_info > svg {
    width: 1.6rem;
  }

  .project_date {
    font-size: 0.8rem;
  }

  .project_client {
    font-size: 0.8rem;
  }

  .project_title {
    margin-left: 0;
  }

  .project_title::before {
    content: none;
  }

  .project_info {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .project_category {
    justify-content: center;
    align-items: center;
  }

  .category {
    font-size: 0.8rem;
  }

  .project_description {
    text-align: center;
  }

  .project_list {
    margin-bottom: 0.6em;
  }

  .project_list_icon,
  .project_list_text {
    vertical-align: middle;
    display: inline-block;
    line-height: 1em;
    font-weight: 500;
  }

  .project_video {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
  }

  .project_video.widescreen {
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: 16/9;
  }

  .project_vertical_double {
    max-width: 36vw;
    max-height: 56vh;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    gap: 10%;
  }

  .project_vertical_double video {
    transition: all 0.4s ease;
  }

  .project_vertical_double video:first-of-type {
    filter: initial;
  }

  .project_vertical_double video:last-of-type {
    box-shadow: initial;
  }

  .project_vertical_double video:hover {
    z-index: initial;
    filter: initial;
    transform: initial;
    box-shadow: initial;
  }

  .project_vertical_double video + video {
    position: initial;
    right: initial;
    top: initial;
    order: -1;
  }

  .project_video > video,
  .project_video > iframe,
  .project_vertical_double > video,
  .project_vertical_double > iframe {
    max-width: inherit;
    max-height: inherit;
    border-radius: inherit;
    object-fit: cover;
    border: hsl(from var(--text-color) h s calc(l + 20)) 2px solid;
  }

  .grid {
    flex-direction: column;
    align-items: center;
    padding: 0px 3%;
  }

  .card {
    width: 100%;
  }

  .card_focus {
    opacity: 1;
    transition: all 0.15s ease-out 0s;
  }

  .card_infos > h5 {
    font-size: 26px;
  }

  .card_infos > h6 {
    font-size: 16px;
  }

  #contact {
    width: 92%;
    height: auto;
    flex-direction: column;
    border-radius: 16px;
    margin-bottom: 64px;
  }

  #contact_text > .contact_photo_alex {
    width: 120px;
    height: 120px;
  }

  #contact_text {
    height: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  #contact_text * {
    text-align: center;
  }

  #contact_text > .button {
    transform: scale(0.8);
  }

  #project_info {
    margin-top: 0px;
    width: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 12px 3%;
    gap: 8px;
  }

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

  .div_row.mobile {
    flex-direction: row;
  }

  #project_description {
    font-size: 1em;
  }

  #project_title {
    font-size: 2.4em;
  }

  #project_category {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  #project_client {
    gap: 8px;
  }

  #project_client > img {
    width: 36px;
    height: 36px;
  }

  #project_client a {
    text-decoration-line: underline;
  }

  .section_highlight {
    flex-direction: column;
    padding: 24px 3%;
    gap: 20px;
  }

  .section_text {
    padding: 0;
    height: auto;
  }

  .section_text > h3 {
    font-size: 1.8em;
  }

  .section_text > p {
    text-align: center;
  }

  .section_video {
    max-width: 92vw;
  }

  .section_video > iframe {
    width: 92vw;
  }

  .section_image {
    padding: 24px 3%;
  }

  .gap {
    gap: 12px;
  }

  .section_image > .div_row {
    width: 92vw;
  }

  .div_row .showcase {
    width: 27vw;
    height: 27vw;
  }

  .banner {
    width: 92vw;
    height: 120px;
    object-fit: cover;
    flex: 1 1 auto;
  }

  .deco_active_son {
    bottom: -40px;
    right: 0%;
    rotate: -3deg;
    transform: scale(0.8);
  }

  .button {
    transform-origin: center center;
  }

  footer {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--text-color);
    padding: 32px 0px;
  }

  footer {
    align-items: center;
  }

  #footer_content {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
  }

  #footer_content_name {
    align-items: center;
  }

  #footer_content_name > h4 {
    font-size: 1.5em;
  }

  .footer_content_links {
    align-items: center;
  }

  .mobile_none {
    display: none;
  }
}
