@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&family=REM:ital,wght@0,100..900;1,100..900&family=Vollkorn+SC:wght@400;600;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=League+Script&display=swap");
/* ==========================================================================
   cover / tools
   ========================================================================== */
/* ==========================================================================
   cover / typo
   ========================================================================== */
/* ==========================================================================
   COLORS / SETTINGS
   ========================================================================== */
@import 'https://cdn.jsdelivr.net/npm/swiper@10/swiper-bundle.min.css';
:root {
  --color-white: #fafafa;
  --color-black: #2a2a2a;
  --color-primary: #72DDF5;
  --color-bg-primary: #39445C;
  --color-bg-diluted: rgba(57, 68, 92, 0.5)
  // Couleurs du formulaire de contact
  --color-form: #88ACC3;
}

/* ==========================================================================
   easing / settings
   ========================================================================== */
/* ==========================================================================
   FONTS / SETTINGS
   ========================================================================== */
:root {
  --font-primary: "Baloo 2", sans-serif;
  --font-secondary: "REM", sans-serif;
  --font-tertiary: "Vollkorn SC", serif;
  --font-logo: "League Script", cursive;
  --font-size-content: clamp(1rem, 0.21vw + 0.94rem, 1.13rem);
  --font-size-h1: clamp(3.13rem, 4.17vw + 1.88rem, 5.63rem);
  --font-size-h2: clamp(2.38rem, 3.33vw + 1.38rem, 4.38rem);
  --font-size-h3: clamp(1.56rem, 3.65vw + 0.47rem, 3.75rem);
  --font-size-h4: clamp(1.13rem, 1.25vw + 0.75rem, 1.88rem);
  --font-size-p: clamp(1rem, 1.04vw + 0.69rem, 1.63rem);
  --font-size-a: clamp(1rem, 0.83vw + 0.75rem, 1.5rem);
  --font-size-a-form: clamp(1.25rem, 1.04vw + 0.94rem, 1.88rem);
  --font-size-nav-mobile: clamp(1.75rem, 0.21vw + 1.69rem, 1.88rem);
  --font-size-logo: clamp(1.56rem, 3.13vw + 0.63rem, 3.44rem);
}

/* ==========================================================================
   DIMENSIONS / SETTINGS
   ========================================================================== */
:root {
  --spacing-xs: 5px;
  --spacing-sm: 15px;
  --spacing-md: 30px;
  --spacing-lg: 50px;
  --spacing-xl: 100px;
  --spacing-xxl: 220px;
}

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* ==========================================================================
   RESET / GENERIC
   ========================================================================== */
html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

img {
  max-width: 100%;
}

.tt {
  align-items: center;
  color: var(--color-black);
  display: flex;
  height: 100vh;
  font: 800 75px/1.5 helvetica, sans-serif;
  justify-content: center;
  position: fixed;
  left: 0;
  margin: 0;
  top: 0;
  width: 100vw;
}

/* ==========================================================================
   BODY / ELEMENT
   Le body permet d'initialiser les propriétés générales de la page.
   Les éléments de la page vont hérités des propriétés inscrite dans body
   ========================================================================== */
body {
  font-family: var(--font-primary);
  font-size: var(--font-size-content);
  color: var(--color-white);
  line-height: 1.6;
  background-color: var(--color-black);
}
body p {
  font-size: var(--font-size-p);
}
body a {
  font-size: var(--font-size-a);
}

/* ==========================================================================
   HEADINGS / ELEMENT
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: var(--font-size-h1);
  line-height: 1;
  font-family: var(--font-tertiary);
  font-weight: 400;
}

h2 {
  font-size: var(--font-size-h2);
  padding-top: 45px;
  padding-bottom: 45px;
  font-family: var(--font-secondary);
  font-weight: 300;
  color: var(--color-primary);
}

h3 {
  font-size: var(--font-size-h3);
  font-family: var(--font-secondary);
  font-weight: 200;
  color: var(--color-primary);
}

h4 {
  font-size: var(--font-size-h4);
  font-family: var(--font-secondary);
  font-weight: 400;
  color: var(--color-primary);
}

em {
  font-style: italic;
}

.alternative_heading {
  color: var(--color-white);
}

/* ==========================================================================
   LINKS / ELEMENTS
   Style de base de tous les liens et bouton du site
   ========================================================================== */
a {
  color: var(--color-white);
  text-decoration: none;
}
a:hover {
  color: var(--color-primary);
}

.button {
  border: 1px solid var(--color-primary);
  padding: 15px 20px;
  border-radius: 15px;
  width: -moz-fit-content;
  width: fit-content;
  align-items: center;
  transition: all 0.3s ease-in-out;
}
.button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}
@media screen and (max-width: 768px) {
  .button {
    padding: 5px 10px;
  }
}

.defiler {
  color: var(--color-primary);
  margin-top: auto;
}
.defiler:hover {
  color: var(--color-white);
}

.switch_project {
  color: var(--color-primary);
}
.switch_project:hover {
  color: var(--color-white);
}
.switch_project .reversed {
  transform: scaleX(-1);
}

.switch_project_section {
  padding-top: 45px;
  padding-bottom: 45px;
}

.defiler_section .wrapper {
  padding-bottom: 45px;
  display: flex;
}
.defiler_section .wrapper .defiler {
  margin-left: auto;
}

/* ==========================================================================
   WRAPPER / ELEMENT
   ========================================================================== */
.wrapper {
  max-width: 1440px;
  width: calc(100% - var(--spacing-md));
  margin: 0 auto;
  overflow-x: hidden;
}

header {
  background: var(--color-black);
  color: var(--color-white);
  height: auto;
}
header .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 30px;
}
header .wrapper .nav__menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
header .wrapper li {
  list-style-type: none;
}
header .wrapper .nav-primary__item {
  font-size: var(--font-size-nav-mobile);
}
header .wrapper a:hover {
  color: var(--color-primary);
}
@media screen and (min-width: 1440px) {
  header {
    padding: 0 var(--spacing-lg);
  }
}
header::before {
  display: none;
  content: "";
  background-color: var(--color-bg-secondary);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (max-width: 1024px) {
  header::before {
    display: flex;
  }
}
header .is-scrolling-up header {
  transform: translateY(0);
}
.header-is-hidden.is-scrolling-down:not(.nav-is-active) header {
  transform: translateY(-100%);
}

.header__toggle {
  --bar-height: 8px;
  --bar-spacer: 6px;
  --bar-width: 50px;
  background-color: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  width: var(--bar-width);
  height: var(--bar-width);
  z-index: 25;
}
.header__toggle span {
  background-color: var(--color-primary);
  border-radius: 3px;
  height: var(--bar-height);
  width: 100%;
  position: absolute;
  top: calc(50% - var(--bar-height) / 2);
  left: calc(50% - var(--bar-width) / 2);
  transition: 0.3s all ease-out;
}
.header__toggle span:nth-child(1) {
  top: calc(50% - var(--bar-height) / 2 - var(--bar-height) - var(--bar-spacer));
}
.header__toggle span:nth-child(3) {
  top: calc(50% - var(--bar-height) / 2 + var(--bar-height) + var(--bar-spacer));
}
.nav-is-active .header__toggle span {
  top: calc(50% - var(--bar-height) / 2);
}
.nav-is-active .header__toggle span:nth-child(1) {
  transform: rotate(45deg);
}
.nav-is-active .header__toggle span:nth-child(2) {
  transform: scaleX(0);
}
.nav-is-active .header__toggle span:nth-child(3) {
  transform: rotate(-45deg);
}
@media screen and (min-width: 1024px) {
  .header__toggle {
    display: none;
  }
}

header .nav-primary {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: var(--color-black);
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  overflow: visible;
}
.nav-is-active header .nav-primary {
  opacity: 1;
  z-index: 20;
  overflow: hidden;
}
header .nav-primary ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  z-index: 10000;
}
header .nav-primary a {
  display: block;
  text-align: center;
  pointer-events: auto;
}
header .nav-primary a span {
  pointer-events: auto;
}
@media screen and (min-width: 1024px) {
  header .nav-primary {
    display: block;
    background: unset;
    position: relative;
    height: auto;
    width: auto;
    padding-top: 0;
    opacity: 1;
    z-index: 15;
  }
  header .nav-primary ul {
    flex-direction: row;
  }
  header .nav-primary li {
    transform: scale(100%);
  }
}

header li {
  transform: scale(0);
  transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}
.nav-is-active header li {
  transform: scale(100%);
}

header .nav-primary__item {
  font-size: var(--font-size-p);
  color: var(--color-white);
  text-transform: uppercase;
  position: relative;
}
header .nav-primary__item:hover {
  color: inherit;
}
@media screen and (min-width: 1024px) {
  header .nav-primary__item {
    font-size: var(--font-size-a);
    color: var(--color-white);
    position: relative;
    text-transform: none;
  }
  header .nav-primary__item::before {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    height: 2px;
    width: 100%;
    content: "";
    background-color: var(--color-black);
    transform: scaleX(0);
    transition: 0.3s all;
  }
  header .nav-primary__item:hover {
    text-decoration: none;
    color: inherit;
  }
  header .nav-primary__item:hover::before {
    transform: scaleX(1);
  }
}

header .nav-is-active body {
  overflow: hidden;
}
@media screen and (min-width: 1440px) {
  header .nav-is-active body {
    overflow: auto;
  }
}

.hero {
  height: 80vh;
}
.hero .hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: auto;
  transform: translate(-50%, -50%);
  -o-object-fit: cover;
     object-fit: cover;
  z-index: 0;
  filter: brightness(0.6); /* optionnel, pour assombrir la vidéo */
}
.hero .wrapper {
  display: flex;
  justify-content: flex-end;
  position: relative;
  height: 100%;
}
.hero .hero__media {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
.hero .hero__media .croco_hero {
  transform: scaleX(-1);
}
.hero .hero__content {
  position: absolute;
  top: 15%;
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 30px;
  z-index: 10;
}
.hero .hero__content .button {
  margin-left: auto;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .hero {
    height: 60vh;
  }
}

.switch_project_section .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero__about {
  height: 85vh;
}
.hero__about .hero__media img {
  width: auto;
  height: 80vh;
  -o-object-fit: contain;
     object-fit: contain;
}
.hero__about .hero__content {
  height: 80%;
  overflow: hidden;
}
@media screen and (max-width: 1440px) {
  .hero__about .hero__content {
    width: 100%;
    height: 100%;
    text-align: right;
    gap: 5px;
    top: 0;
    padding: 15px;
  }
}
.hero__about .liens {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hero__about .liens #video {
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .hero__about {
    height: 70vh;
  }
}

.hero__project {
  height: 70vh;
  position: relative;
}
.hero__project .wrapper {
  overflow: hidden;
}
.hero__project .hero__media {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  width: 65%;
  height: 100%;
}
.hero__project .hero__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-radius: 20px;
}
.hero__project .hero__media .croco_hero {
  -o-object-position: left;
     object-position: left;
}
@media screen and (max-width: 1440px) {
  .hero__project .hero__media {
    width: 100vw;
    height: 100%;
    overflow: visible;
  }
}
.hero__project .hero__content {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 0;
  height: 100%;
}
.hero__project .hero__content .icon {
  margin-left: auto;
}
@media screen and (max-width: 1440px) {
  .hero__project .hero__content {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: right;
    gap: 5px;
    padding: 15px;
  }
}
@media screen and (max-width: 768px) {
  .hero__project {
    height: 50vh;
  }
}

/* ==========================================================================
   icons / component
   ========================================================================== */
.icon {
  fill: currentColor;
  display: inline-block;
  flex: 0 0 auto;
  height: 1em;
  vertical-align: middle;
  width: 1em;
  stroke: transparent;
}
.icon:hover {
  color: var(--color-primary);
}

.icon--stroke {
  fill: transparent;
  stroke: currentColor;
}

.icon--xs {
  height: 0.75em;
  width: 0.75em;
}

.icon--sm {
  height: 0.8em;
  width: 0.8em;
}

.icon--md {
  height: 1.25em;
  width: 1.25em;
}

.icon--lg {
  height: 2em;
  width: 2em;
}

.icon--xl {
  height: 4em;
  width: 4em;
}

.sketchfab-embed {
  width: 100%;
  height: 100%;
  border-radius: 25px;
}

.embed .wrapper {
  height: 60vh;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
.embed .animation_pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.embed .animation_pagination .bullets {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--color-bg-primary);
}
.embed .animation_pagination .active {
  background-color: var(--color-primary);
}
.embed .canvas_container {
  width: 100%;
  height: 100%;
}

.processus {
  background-color: var(--color-bg-primary);
  padding-bottom: 30px;
}
.processus .wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.processus h2 {
  padding-bottom: 0;
}
.processus .credits {
  display: flex;
  flex-direction: column;
  padding-top: 30px;
}
.processus .credits .discipline {
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .processus .credits .discipline {
    gap: 10px;
    padding: 0;
  }
}
.processus .credits .bold {
  font-weight: 600;
}

.small_img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}

.gallerie {
  height: -moz-fit-content;
  height: fit-content;
}
.gallerie .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-bottom: 40px;
}
.gallerie .cards img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: auto;
  border: 10px solid var(--color-bg-primary);
  border-radius: 20px;
  aspect-ratio: 1/1;
}
@media screen and (max-width: 1024px) {
  .gallerie .cards {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .gallerie .cards {
    grid-template-columns: 1fr;
  }
}

.gallerie--interne {
  grid-template-columns: 1fr 1fr;
}

.description {
  background-color: var(--color-bg-primary);
}

.form {
  --input-padding: 1em;
}
.form fieldset {
  border: none;
  padding: 0;
}
.form .grid {
  display: grid;
  gap: var(--spacing-md);
  grid-template-columns: 1fr;
}
@media screen and (min-width: 1024px) {
  .form .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form__footer {
  display: flex;
  justify-content: left;
}

.form__confirmation {
  display: none;
}
.is-sent .form__confirmation {
  display: block;
}

.form__body {
  display: block;
}
.is-sent .form__body {
  display: none;
}

.input__label {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
}

.input__element {
  border-top: none;
  border-right: 1px solid var(--color-primary);
  border-left: none;
  border-bottom: 1px solid var(--color-primary);
  background-color: transparent;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  font-family: inherit;
  padding: var(--input-padding);
  outline: none;
  width: 100%;
}
.input__element:-webkit-autofill, .input__element:-webkit-autofill:active {
  -webkit-box-shadow: inset 0 0 0 30px var(--color-white) !important;
  -webkit-text-fill-color: inherit !important;
}
.input__element:hover,
.input__element + .input__label:hover::before {
  background-color: var(--color-neutral-light);
  -webkit-box-shadow: inset 0 0 0 30px var(--color-neutral-light) !important;
}
.input__element:focus {
  background-color: var(--color-primary-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 0 0 30px var(--color-primary-light) !important;
}
.input__element:-webkit-autofill, .input__element:-webkit-autofill:focus, .input__element:focus + .input__label::before {
  background-color: var(--color-primary-light);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 0 0 30px var(--color-primary-light) !important;
}
.input__element::-moz-placeholder {
  color: var(--color-form);
}
.input__element::placeholder {
  color: var(--color-form);
}

/* ==========================================================================
    Text area
   ========================================================================== */
.textarea {
  grid-column: 1/-1;
}
.textarea .input__element {
  resize: vertical;
  height: 150px;
}

/* ==========================================================================
    checkbox + radio
   ========================================================================== */
.checkbox {
  --active-scale: 1;
}
.checkbox .input__element {
  opacity: 0;
  position: absolute;
  z-index: -1;
}
.checkbox .input__label {
  --size: 22px;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  padding-left: calc(var(--size) + var(--spacing-sm));
}
.checkbox .input__label::before, .checkbox .input__label::after {
  content: "";
  height: var(--size);
  width: var(--size);
  position: absolute;
  left: 0;
  top: 0;
}
.checkbox .input__label::before {
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
}
.checkbox .input__label::after {
  opacity: 0;
  transform: scale(0);
  transition: all 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.checkbox .input__label:hover {
  background-color: var(--color-form);
}
.checkbox .input__element:checked + .input__label::after {
  opacity: 1;
  transform: scale(var(--active-scale));
}

.checkbox .input__label::after {
  background: url(../../assets/images/icon-check.svg) no-repeat 50% 50%;
  background-size: 50%;
}

input,
textarea,
select {
  color: var(--color-white);
  background-color: transparent;
  border: 1px solid var(--color-primary);
}

input:focus,
textarea:focus,
select:focus {
  color: var(--color-white);
  outline: none;
  border-color: var(--color-primary);
}

input[type=checkbox] {
  accent-color: var(--color-primary);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type=checkbox]:focus {
  outline: none;
}

.error .input__element, .error.check .input__label::before, .error.radio .input__label::before,
.error .check .input__label::before,
.error .radio .input__label::before {
  box-shadow: inset 0 0 0 3px var(--color-fail);
}
.error .input__label {
  color: var(--color-fail);
}

.form .button {
  background-color: var(--color-black);
  color: var(--color-white);
  margin-top: 25px;
  font-size: var(--font-size-a-form);
  cursor: pointer;
}
.form .button:hover {
  background-color: var(--color-primary);
}

.result {
  display: none;
  height: 100%;
}

.infos_contact {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 20px;
}
.infos_contact a {
  color: var(--color-primary);
}
.infos_contact a:hover {
  color: var(--color-white);
}
.infos_contact h3 {
  color: var(--color-white);
}
.infos_contact .button {
  width: -moz-fit-content;
  width: fit-content;
}

.formulaire {
  padding-bottom: 30px;
}

.colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 30px;
  padding-top: 30px;
}
.colonnes h2 {
  padding: 0;
}
.colonnes img {
  border-radius: 25px;
}
@media screen and (max-width: 1440px) {
  .colonnes {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 0;
  }
}

.colonnes_trees {
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.colonnes_contact {
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
@media screen and (max-width: 768px) {
  .colonnes_contact {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.aboutme .images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .aboutme .images {
    grid-template-columns: 1fr;
  }
}
.aboutme .images img {
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 1/1;
}

.competences h4 {
  padding-top: 30px;
  padding-bottom: 30px;
}
.competences .tools {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  width: 100%;
  padding-top: 30px;
  gap: 40px;
}
.competences .tools .tool {
  padding-left: 20px;
  padding-top: 30px;
  padding-right: 20px;
  padding-bottom: 30px;
  background-color: var(--color-bg-primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  .competences .tools {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 768px) {
  .competences .tools {
    grid-template-columns: 1fr;
  }
}

.tool:hover {
  color: var(--color-primary);
}

.groups {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.group {
  display: flex;
  justify-content: left;
  gap: 10px;
}
.group .bold {
  font-weight: 600;
  margin: 0;
}
.group p {
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .group {
    flex-direction: column;
    gap: 0;
  }
}

.footer {
  background-color: var(--color-bg-primary);
  margin-top: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.footer .wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.footer h2 {
  color: var(--color-white);
}
.footer .contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .contact .info {
  display: flex;
  justify-content: center;
  gap: 10px;
}
@media screen and (max-width: 1440px) {
  .footer .contact {
    flex-direction: column;
    gap: 15px;
  }
}
.footer .button_footer {
  padding: 20px 30px;
  border: 1px solid var(--color-white);
  border-radius: 25px;
  align-items: center;
}
@media screen and (max-width: 1440px) {
  .footer .button_footer {
    padding: 10px 15px;
    border-radius: 15px;
  }
}
.footer .mail {
  line-height: 1;
  padding-bottom: 0;
}
.footer .copyrights {
  text-align: center;
  padding-top: 20px;
}

/* ==========================================================================
   video / component
   ========================================================================== */
.video {
  color: var(--color-white);
  text-align: center;
  height: 0;
  padding-bottom: 56.25%;
  position: relative;
  cursor: pointer;
  background-color: var(--color-black);
}
.video img {
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}
.video .icon {
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  text-shadow: 0 0 4px rgb(0, 0, 0);
  transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
  transition-property: opacity, transform;
  transform-origin: 0 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.is-youtube-ready .video .icon {
  opacity: 1;
}
.video:hover .icon {
  transform: scale(0.8) translate(-50%, -50%);
}

.video__media {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.projets h2 {
  position: sticky;
  top: 2vh;
}
.projets .cards {
  display: flex;
  height: 80vh;
  gap: 50px;
}
.projets .cards .card {
  flex: 0 0 80%;
  transition: opacity 0.3 ease-in-out;
  aspect-ratio: 1/1;
  position: relative;
}
@media screen and (max-width: 1440px) {
  .projets .cards .card {
    overflow: visible;
  }
}
@media screen and (max-width: 768px) {
  .projets .cards .card {
    height: 50vh;
  }
}
.projets .cards .card__media {
  height: 100%;
}
.projets .cards .card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border: 10px solid var(--color-bg-primary);
  border-radius: 20px;
}
.projets .cards .icons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  margin-left: auto;
  gap: 15px;
}
@media screen and (max-width: 768px) {
  .projets .cards .icons {
    gap: 5px;
  }
}
.projets .cards .card__content {
  display: none;
  background-color: rgba(57, 68, 92, 0.9);
  color: var(--color-white);
  height: 100%;
  width: 50%;
  border-bottom-right-radius: 20px;
  border-top-right-radius: 20px;
  position: absolute;
  top: 0;
  right: 0;
}
.projets .cards .card__content .outils {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.projets .cards .card__content p {
  max-width: 70%;
  margin-left: auto;
  margin-top: 0;
  margin-bottom: 0;
}
.projets .cards .card__content .button {
  width: -moz-fit-content;
  width: fit-content;
  margin-left: auto;
  height: -moz-fit-content;
  height: fit-content;
}
@media screen and (max-width: 1440px) {
  .projets .cards .card__content {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, rgba(57, 68, 92, 0) 0%, rgba(57, 68, 92, 0.7) 50%, rgb(57, 68, 92) 100%);
  }
}
.projets .cards .text_group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.projets .cards .text_container {
  display: flex;
  width: 100%;
  height: 70%;
  flex-direction: column;
  margin-left: auto;
  padding-top: 70px;
  padding-right: 30px;
  padding-left: 50px;
  text-align: right;
  gap: 20px;
}
@media screen and (max-width: 1440px) {
  .projets .cards .text_container {
    padding-top: 50px;
  }
}
@media screen and (max-width: 768px) {
  .projets .cards .text_container {
    padding-top: 10px;
    gap: 10px;
  }
}
@media screen and (max-width: 1440px) {
  .projets .cards {
    flex-direction: column;
    height: auto;
    padding-bottom: 40px;
  }
}
@media screen and (max-width: 1440px) {
  .projets {
    overflow-y: visible;
  }
}

.outer-wrapper {
  height: -moz-fit-content;
  height: fit-content;
}

.card:hover .card__content {
  display: block;
}

@media screen and (max-width: 1440px) {
  .projet_description {
    display: none;
  }
}

.section_secondary {
  background-color: var(--color-black);
}

.section_primary {
  background-color: var(--color-bg-primary);
}

.curseur {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
@media screen and (max-width: 1024px) {
  .curseur {
    display: none;
  }
}

.curseur::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px 3px var(--color-form);
  animation: pulse 2s infinite alternate;
}

.curseur::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--color-form);
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  to {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
  }
}
.loader {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  height: 45px;
}
.loader .loading-bar {
  width: 15px;
  height: 15px;
  background-color: var(--color-primary);
}
.loader .un {
  animation: loading 0.7s ease-in-out 0.3s infinite alternate-reverse;
}
.loader .deux {
  animation: loading 0.7s ease-in-out 0.4s infinite alternate-reverse;
}
.loader .trois {
  animation: loading 0.7s ease-in-out 0.5s infinite alternate-reverse;
}
.loader .quatre {
  animation: loading 0.7s ease-in-out 0.6s infinite alternate-reverse;
}
.loader .cinq {
  animation: loading 0.7s ease-in-out 0.7s infinite alternate-reverse;
}

@keyframes loading {
  from {
    height: 15px;
  }
  to {
    height: 45px;
    background-color: var(--color-form);
  }
}
.loading {
  height: 100vh;
}

.loading .wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
}

/* ==========================================================================
   scrolly / component
   ========================================================================== */
.has-js [data-scrolly=fromBottom] {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.4s ease-out;
}
.has-js [data-scrolly=fromBottom].is-active {
  opacity: 1;
  transform: translateY(0);
}
.has-js [data-scrolly=fromTop] {
  opacity: 0;
  transform: translateY(-60px);
  transition: all 0.4s ease-out;
}
.has-js [data-scrolly=fromTop].is-active {
  opacity: 1;
  transform: translateY(0);
}
.has-js [data-scrolly=fromLeft] {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s ease-out;
}
.has-js [data-scrolly=fromLeft].is-active {
  opacity: 1;
  transform: translateX(0);
}
.has-js [data-scrolly=fromRight] {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s ease-out;
}
.has-js [data-scrolly=fromRight].is-active {
  opacity: 1;
  transform: translateX(0);
}
.has-js [data-scrolly=flipFromBottom] {
  opacity: 0;
  transform: RotateX(180deg);
  transition: all 0.8s ease-out;
}
.has-js [data-scrolly=flipFromBottom].is-active {
  opacity: 1;
  transform: RotateX(0deg);
}
.has-js [data-scrolly=typing] {
  overflow: hidden;
  white-space: nowrap;
  width: 0;
  opacity: 0;
  transition: width 1.5s steps(20) 0.3s;
}
.has-js [data-scrolly=typing].is-active {
  opacity: 1;
  width: 100%;
  position: relative;
}
.has-js [data-scrolly=typing].is-active::after {
  content: "|";
  display: inline-block;
  animation: blink 0.7s steps(2, start) infinite;
  color: var(--color-white);
}
.has-js [data-scrolly=blurIn] {
  opacity: 0;
  filter: blur(5px);
  transition: all 0.6s ease-out;
}
.has-js [data-scrolly=blurIn].is-active {
  filter: blur(0);
  opacity: 1;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyBpZD0iQ2FscXVlXzEiIGRhdGEtbmFtZT0iQ2FscXVlIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDQ2LjU0IDQ0OS43MiI+CiAgPGRlZnM+CiAgICA8c3R5bGU+CiAgICAgIC5jbHMtMSB7CiAgICAgICAgZmlsbDogbm9uZTsKICAgICAgICBzdHJva2U6ICM1ZWMzZGU7CiAgICAgICAgc3Ryb2tlLW1pdGVybGltaXQ6IDEwOwogICAgICAgIHN0cm9rZS13aWR0aDogNHB4OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00NC40LDE2NS4zNWMtMS40MSwwLTQyLjI2LTY0LjkxLTQyLjI2LTY0LjkxTDIzLjI3LDguODZsMjEuMTMsOTAuODZMMi4xNCwxNjUuMzUiLz4KICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00NC40LDIwNi4xM2MtMS40MSwwLTQyLjI2LTY0LjkxLTQyLjI2LTY0LjkxTDIzLjI3LDQ5LjY1bDIxLjEzLDkwLjg2TDIuMTQsMjA2LjEzIi8+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDQuNCwyNDMuNTljLTEuNDEsMC00Mi4yNi02NC45MS00Mi4yNi02NC45MWwyMS4xMy05MS41NywyMS4xMyw5MC44NkwyLjE0LDI0My41OSIvPgogIDxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTQ0LjQsMjg0LjM4Yy0xLjQxLDAtNDIuMjYsNjQuOTEtNDIuMjYsNjQuOTFsMjEuMTMsOTEuNTcsMjEuMTMtOTAuODZMMi4xNCwyODQuMzgiLz4KICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik00NC40LDI0MS41NWMtMS40MSwwLTQyLjI2LDY0LjkxLTQyLjI2LDY0LjkxbDIxLjEzLDkxLjU3LDIxLjEzLTkwLjg2TDIuMTQsMjQxLjU1Ii8+CiAgPHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDQuNCwyMDQuMWMtMS40MSwwLTQyLjI2LDY0LjkxLTQyLjI2LDY0LjkxbDIxLjEzLDkxLjU3LDIxLjEzLTkwLjg2TDIuMTQsMjA0LjEiLz4KPC9zdmc+") center/contain no-repeat;
}
/*# sourceMappingURL=main.css.map */
