@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  box-sizing: border-box;
  color: inherit;
}

body {
  background-color: #e1dfdd;
  margin: 2rem;
}

html {
  font-size: 62.5%;
  --scroll-behavior: smooth;
  scroll-behavior: smooth;
}

html {
  height: -webkit-fill-available;
}

a {
  text-decoration: none;
}

@media all and (min-width: 580px) {
  body {
    margin: 4rem;
  }
}
@media all and (min-width: 800px) {
  body {
    margin: 6rem;
  }
}
/* CURSEUR PERSONNALISÉ
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.cursor--active {
  opacity: 1;
}

.cursor--hover {
  width: 4.5rem;
  height: 4.5rem;
}

body.has-custom-cursor {
  cursor: none;
}
body.has-custom-cursor a, body.has-custom-cursor button, body.has-custom-cursor label {
  cursor: none;
}

@media (prefers-reduced-motion: reduce) {
  .cursor {
    display: none;
  }
}
@font-face {
  font-family: "Neue-Montreal";
  src: url(assets/font/NeueMontreal-Medium.otf);
}
@font-face {
  font-family: "Neue-Montreal-light";
  src: url(assets/font/NeueMontreal-Light.otf);
}
@font-face {
  font-family: "Neue-Montreal-regular";
  src: url(assets/font/NeueMontreal-Regular.otf);
}
body {
  font-family: "Neue-Montreal-regular";
  font-size: 1.5rem;
}

h2,
h3 {
  font-size: 2rem;
  font-weight: 750;
}

footer {
  font-family: "Neue-Montreal";
}

@media (min-width: 425px) {
  body {
    font-size: 2rem;
  }
  h2,
  h3 {
    font-size: 3.5rem;
  }
}
@media (min-width: 800px) {
  h2 {
    font-size: 5rem;
    text-transform: uppercase;
  }
}
@media (min-width: 1024px) {
  h2 {
    font-size: 8rem;
    text-transform: uppercase;
  }
}
@keyframes showTopText {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
.animated {
  position: relative;
  height: 2.5rem;
}

.animated-title {
  height: 8rem;
  position: absolute;
  width: 100%;
}

@media (min-width: 425px) {
  .animated-title {
    height: 15rem;
  }
  .animated {
    height: 4rem;
  }
}
@media (min-width: 800px) {
  .animated-title {
    height: 18rem;
  }
  .animated {
    height: 6rem;
  }
}
@media (min-width: 1024px) {
  .animated-title {
    height: 28rem;
  }
  .animated {
    height: 8rem;
  }
}
.animated-title > div {
  height: 25%;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.animated-title > div.text-top .up {
  animation: showTopText 1s;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
  bottom: 0;
  transform: translate(0, 100%);
}

.name {
  text-align: end;
}

.me {
  padding: 3rem 0;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: 0% 30%;
}

.list {
  padding: 2rem 0;
}
.list__number {
  margin: 4rem 0;
  font-family: "Neue-Montreal-light";
}
.list__title {
  text-transform: uppercase;
  margin-bottom: 4rem;
}
.list__text {
  margin-bottom: 2rem;
}
.list__text__uppercase {
  text-transform: uppercase;
  font-size: 2.5rem;
}
.list__career {
  display: inline-block;
  padding: 2rem 0;
  border-bottom: 1px black solid;
  width: 100%;
}
.list__career:first-child {
  border-top: 1px black solid;
}

.presentation {
  margin-bottom: 5rem;
}

/* EXPERIENCES / FORMATIONS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 3rem;
}

.experience-card {
  padding-bottom: 3rem;
  border-bottom: 1px black solid;
}
.experience-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.experience-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-bottom: 0.5rem;
}
.experience-card__role {
  font-size: 2.2rem;
}
.experience-card__company {
  font-family: "Neue-Montreal-light";
  margin-top: 0.3rem;
}
.experience-card__sector {
  font-family: "Neue-Montreal-light";
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.experience-card__meta {
  font-family: "Neue-Montreal-light";
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.experience-card__text {
  margin-bottom: 2rem;
}
.experience-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.experience-card__tags li {
  border: 1px black solid;
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  font-size: 1.3rem;
  font-family: "Neue-Montreal-light";
}

@media all and (min-width: 800px) {
  .experience-card__role {
    font-size: 2.8rem;
  }
}
/* REVEAL AU SCROLL
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media all and (min-width: 580px) {
  .me {
    height: 220px;
  }
}
@media all and (min-width: 800px) {
  .me {
    width: 40%;
    height: 250px;
  }
  .list {
    display: flex;
    padding: 10rem 0;
  }
  .list__number {
    margin: 0;
    margin-right: 20%;
  }
  .list__career__content {
    display: flex;
    justify-content: space-between;
  }
  .list__text__uppercase {
    font-size: 4rem;
  }
  .list__text__uppercase br {
    margin: 2rem;
  }
}
/* PROPOS
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.hobbies {
  display: flex;
  flex-direction: column;
  padding: 3rem;
  background-color: #EBB9D2;
  border-radius: 2rem;
  transition: background-color 0.5s ease;
}
.hobbies__frame {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px black solid;
  border-radius: 1.2rem;
}
.hobbies__image {
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hobbies__content {
  transition: opacity 0.3s ease;
}
.hobbies__count {
  font-family: "Neue-Montreal-light";
  margin-bottom: 1rem;
}
.hobbies__name {
  font-size: 2.5rem;
  font-family: "Neue-Montreal";
  margin-bottom: 1.5rem;
}
.hobbies__text {
  margin-bottom: 2.5rem;
}
.hobbies__nav {
  display: flex;
  gap: 1.5rem;
}
.hobbies__btn {
  width: 4rem;
  height: 4rem;
  border: 1px black solid;
  border-radius: 100px;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.hobbies__btn span {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  border-left: 2px solid black;
  border-bottom: 2px solid black;
  transition: border-color 0.2s ease;
}
.hobbies__btn:hover {
  background-color: black;
}
.hobbies__btn:hover span {
  border-color: #e1dfdd;
}
.hobbies__btn--prev span {
  transform: rotate(45deg);
  margin-left: 0.3rem;
}
.hobbies__btn--next span {
  transform: rotate(225deg);
  margin-right: -0.3rem;
}
.hobbies--fade .hobbies__image,
.hobbies--fade .hobbies__content {
  opacity: 0;
}
.hobbies__image, .hobbies__content {
  transition: opacity 0.3s ease;
}

@media all and (min-width: 800px) {
  .hobbies {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
    padding: 4rem;
  }
  .hobbies__frame {
    width: 40%;
    aspect-ratio: 1;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .hobbies__content {
    flex: 1;
  }
  .hobbies__name {
    font-size: 3.5rem;
  }
}
/* ACCORDION
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.accordion {
  position: relative;
  margin: 0;
}

input[type=radio] {
  display: none;
}

.panel {
  border-bottom: 1px black solid;
}

.panel:first-child {
  border-top: 1px black solid;
}

.accordion li,
.accordion {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
}

.accordion li {
  display: inline-block;
  width: 100%;
}

.accordion__title {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: space-between;
  margin-left: 20%;
}

.accordion__number {
  font-size: 2rem;
  position: absolute;
  left: -25%;
}

.accordion .accordion__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height, 0.5s;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  transition: all 0.5s;
  margin-left: 20%;
}
.accordion .accordion__content__list {
  padding: 1rem 0;
}

.cross {
  margin-right: 1rem;
}

.content:before {
  content: "";
  border-top: 2px solid;
  width: 10px;
  display: block;
  transition: 0.3s;
  margin-left: 6px;
}

.cross:before, .cross:after {
  content: "";
  border-top: 2px solid black;
  width: 12px;
  display: block;
  transition: 0.5s;
  margin-left: 5px;
}

.cross:after {
  transform: rotate(90deg);
  margin-top: -2px;
}

input:checked ~ .content {
  max-height: 400px;
  transition: max-height, 1s;
}

input:checked ~ label .cross:before {
  transform: rotate(180deg);
}

input:checked ~ label .cross:after {
  transform: rotate(0deg);
}

input:checked ~ .questions {
  max-height: 400px;
  transition: 1s;
}

[value=Panel_1]:checked ~ [for=Panel_1] + .accordion__content,
[value=Panel_2]:checked ~ [for=Panel_2] + .accordion__content,
[value=Panel_3]:checked ~ [for=Panel_3] + .accordion__content {
  max-height: 400px;
}

label {
  cursor: pointer;
}

.footer {
  margin-top: 8rem;
}
.footer__content {
  padding: 1rem 0;
}

@media all and (min-width: 900px) {
  footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 10vh;
  width: 100%;
  background-color: #e1dfdd;
}

.navigation, .navbar, .menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navigation {
  height: 100%;
  width: 100%;
  padding: 6rem;
  font-weight: bolder;
  transform: translateY(-5rem);
  animation: 1.5s slideIn cubic-bezier(0.62, 0.05, 0.01, 0.99) forwards 1s;
  opacity: 0;
}
.navigation .home {
  font-size: 3rem;
}

@keyframes slideIn {
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
.menu a {
  margin-left: 4vw;
  display: inline-block;
}

.toggle, .none {
  display: none;
}

.highlighted {
  position: relative;
}

.highlighted::after {
  content: "";
  position: absolute;
  background: #000000;
  height: 2px;
  width: 0%;
  left: 0;
  bottom: -0.3rem;
  transform-origin: right;
  transition: 0.3s cubic-bezier(0.65, 0.05, 0.36, 1);
}

.highlighted:hover::after {
  width: 100%;
  transform: scale(1);
}

@media all and (max-width: 580px) {
  header .navbar .menu {
    font-size: 3rem;
  }
}
@media all and (max-width: 800px) {
  .toggle {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 20;
  }
  .toggle__open {
    display: block;
    font-size: 3rem;
  }
  .toggle__close {
    display: none;
  }
  .open .toggle__open {
    display: none;
  }
  .open .toggle__close {
    display: block;
    color: #e1dfdd;
    font-size: 4rem;
  }
  .open .home {
    color: #e1dfdd;
    z-index: 20;
  }
  .open .animated-title > div.text-top h2 {
    display: none;
  }
  .navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    background-color: #464c47;
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
    transform: translateY(-100%);
  }
  .navbar .menu {
    flex-direction: column;
    align-items: flex-start;
    font-size: 6rem;
    text-transform: uppercase;
  }
  .navbar p, .navbar a {
    color: #e1dfdd;
    margin-bottom: 1rem;
  }
  .navbar .highlighted::after {
    background: #e1dfdd;
    height: 6px;
  }
  .open .navbar {
    transform: translateY(0);
    transition: 0.8s cubic-bezier(0, 0, 0.56, 0);
  }
}
main {
  margin-top: 20rem;
}
