/* ======================== */
/*   ROOTS                  */
/* ======================== */

:root {
  /* -------- Couleurs -------- */
  --color-text: black;
  --color-text-survol: #A4A4A4;
  --color-projets: #A4A4A4;

  --color-hermes: #FE4251;
  --color-axolotl: #575150;
  --color-terrestre: #AA7DCA;
  --color-komik: #49A9E8;
  --color-bompard: #EACA3B;
  --color-ppn: #01008C;
  --color-ddd: #FC8F2F;
  --color-moonlight: #4DC3B4;

  /* -------- Typographies -------- */
  --font-body: "Antonio", sans-serif;

  /* -------- Tailles -------- */
  --fs-title: 1rem;
  --fs-menu: 5.3rem;
  --fs-description: 0.9rem;
  --fs-bas: 0.8rem;

  /* -------- Graisses -------- */
  --fw-thin: 100;
  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 700;

  /* -------- Hauteurs -------- */
  --header-h: 60px;
  --footer-h: 32px;

  /* -------- Composition Menu -------- */
  --type-block-w: 32rem;
  --type-block-x: 0rem;
  --type-block-y: 0rem;
  --type-line-gap: 0px;

  --legend-w: 320px;
  --gap-media: 25px;
}



/* ======================== */
/*   STYLE GLOBAL           */
/* ======================== */

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

header,
.main-menu,
footer {
  position: relative;
  z-index: 10;
}

body {
  background-color: transparent;
  height: 100vh;
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

header, footer, .main-menu {
  position: fixed;
  z-index: 10;
}

.header-menu {
  background-color: transparent;
}



/* ======================== */
/*   HEADER                 */
/* ======================== */

header {
  background-color: white;
  height: var(--header-h);
  width: 100%;
  padding: 1%;
  margin: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);

  display: flex;
  align-items: center;
  justify-content: center;

  position: fixed;
  overflow: hidden;

  font-family: var(--font-body);
  font-size: var(--fs-title);
  font-weight: var(--fw-medium);
  letter-spacing: 0.5%;
}



/* ======================== */
/*   MENU HEADER            */
/* ======================== */

.header-menu {
  background-color: transparent;
  width: 100%;
  padding: 0;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: inline-flex;
  padding: 0;
  margin: 0;
  gap: 50px;
}

.header-right .nav {
  display: inline-flex;
  padding: 0;
  margin: 0;
  gap: 50px;
}

.nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: var(--color-text);
}

.nav a:hover {
  text-decoration: none;
  color: var(--color-text-survol);
}

.Projet li{
  color: var(--color-text-survol);
}

.Projets{
  color: var(--color-projets);
}

.Fiona {
  text-decoration: none;
  color: var(--color-text);
}

.Fiona:hover {
  color: var(--color-text-survol);
  text-decoration: none;
}

/* ======================== */
/*   CONTENEUR GLOBAL       */
/* ======================== */

.container {
  background-color: white;
  font-family: "inter", sans-serif;
  font-size: 1em;
  color: black;

  height: 100vh;
  width: 100%;
  padding-top: var(--header-h);
  padding-bottom: var(--footer-h);

  overflow-x: auto;
  overflow-y: hidden;
}

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

.swiper {
  height: 100%;
  width: max-content;
}

.swiper-wrapper {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  height: 100%;
  gap: 25px;
  padding-left: 1%;   /* garde alignement avec header */
  padding-right: 1%;
}

.swiper-slide {
  flex: 0 0 auto;
  height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide:first-child {
  justify-content: flex-start;
}

.swiper-slide:first-child .image {
  margin-left: 0;
}

.image {
height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.slide-legende {
  width: var(--legend-w);
  min-width: var(--legend-w);
  height: calc(100vh - var(--header-h) - var(--footer-h));
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}

.légende {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.titre {
  margin: 0 0 1rem 0;
  font-family: var(--font-body);
  font-weight: var(--fw-bold);
  font-size: 1rem;
  line-height: 1.2;
  color: var(--color-text);
}

.texte1,
.texte2 {
  font-weight: var(--fw-regular);
  color: #7A7A7A;
  margin-left: 0.4rem;
  font-size: 0.95em;
}

.texte3 {
  margin: 0;
  max-width: 32ch;
  text-align: left;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--color-text);
}



/* ======================== */
/*   FOOTER                 */
/* ======================== */

footer {
  background-color: transparent;
  height: var(--footer-h);
  width: 100%;
  padding: 1% 1%;
  margin: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;

  font-family: var(--font-body);
  font-size: var(--fs-bas);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  letter-spacing: 0.5%;
}