/* Reset */
* {
  box-sizing: border-box;
  padding: 0;
  text-transform: uppercase;
  font-family: "Neue Haas Grotesk Light", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 600; /* LIGHT */
  font-variation-settings: "wght" 600; /* normal */
}

/* Header */
header.site-header {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  z-index: 2000;
}

.brand,
.tagline {
  font-size: 20px;
  font-weight: 400; /* LIGHT */
  letter-spacing: 0.2px;
  line-height: 1.5;
  font-size: 16px;
}

/* Barre sous le header */ 
.header-bar {
  width: 100%;
  height: 0px;
  background: transparent;
}

/* Photo section */
.photo-section {
  padding: 32px;
  display: flex;
  justify-content: center;
}

.photo-section img {
  max-width: 100%;
  top: 45%;
  height: auto;
}

.top-img:hover {
  filter: grayscale(100%);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: white;
}

section img {
    position: relative;
    z-index: 1;
}

.photo-section {
  margin-top: 140px;
}

.site-header {
    background: transparent;
}

/* Section blanche */
.white-section {
  position: relative;
  top: 42%;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  transition: transform 0.6s ease-out;
}

.white-section .top-img {
  max-width: 80%;
  top: -6%;
  max-height: 80%;
}

/* Section en dessous */
.under-section {
  position: relative;
  width: 100%;
  height: 100vh;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.under-section .under-img {
  position: fixed;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.white-section.lifted {
  transform: translateY(-100vh);
}

.white-section.lifted + .under-section .under-img {
  opacity: 1;
}

/* Fond blanc */
.white-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 10;
}

.white-section .white-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  transition: transform 0.6s ease-out;
  z-index: 1;
}

.white-section .top-img {
  position: relative;
  z-index: 2;
  max-width: 80%;
}

.under-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
}

.under-section .under-img {
  max-width: 80%;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.white-section.lifted .white-bg {
  transform: translateY(-100%);
}

.white-section.lifted + .under-section .under-img {
  opacity: 1;
}

/* Section en dessous */
.under-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background: white;
  box-sizing: border-box;
}

/* Conteneur interne */
.under-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 700px;
  width: 100%;
}

.under-container .under-img {
  max-width: 100%;
  border-radius: 12px;
}

/* Conteneur about */
.about-container {
  position: absolute;
  top: 120px; /* juste sous le header */
  left: 40px; /* aligné à gauche */
  text-transform: uppercase;
  z-index: 10;
}

/* ABOUT titre */
.about-title {
  font-family: "Neue Haas Grotesk Light", Helvetica, Arial, sans-serif;
  font-size: 48px;       /* texte assez gros */
  font-weight: 300;      /* light */
  margin-bottom: 12px;
}

/* Trait sous ABOUT */
.about-line {
  width: 60px;
  height: 2px;
  background: black;
}

/* Conteneur principal */
.about-container {
  position: absolute;
  top: 90px; /* juste sous le header */
  left: 40px; /* aligné à gauche */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
  text-transform: uppercase;
  font-family: "Neue Haas Grotesk Light", Helvetica, Arial, sans-serif;
}

/* Titres principaux (ABOUT, CONTACT) */
.about-title,
.contact-title {
  font-size: 18px;
  font-weight: 500; /* Light */
  margin-bottom: 12px;
}

/* Lignes séparatrices */
.about-line {
  width: 60px;
  height: 1px;
  background: black;
  margin-bottom: 24px;
}

/* Texte description */
.about-text {
  font-size: 16px;
  font-weight: 300;
  margin-bottom: 24px;
  text-transform: none; /* garder la casse normale pour le texte */
  line-height: 1.5;
}

/* Contact texte */
.contact-text {
  font-size: 16px;
  font-weight: 300;
  text-transform: none;
  line-height: 1.5;
  margin-top: 12px;
}

/* Texte description (ABOUT, contact) en monospace moderne */
.about-text,
.contact-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 300; /* light */
  text-transform: none;
  line-height: 1.5;
  margin-bottom: 24px;
}

/* Menu déroulant plein écran */
#menu-deroulant {
  display: none; /* caché par défaut */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  color: black;
  padding: 80px 40px;
  font-size: 32px;
  z-index: 1050;
  overflow-y: auto;
}

/* Liste principale */
.menu-main {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Neue Haas Grotesk Light", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 300;
}

/* Liens principaux */
.menu-main > li {
  margin-bottom: 24px;
  position: relative;
}

.menu-main > li > a {
  text-decoration: none;
  color: black;
}

/* Sous-menu */
.has-submenu > .submenu {
  display: none;
  list-style: none;
  padding-left: 24px;
  margin-top: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  font-weight: 300;
  text-transform: none;
}

/* Liens sous-menu */
.submenu li {
  margin-bottom: 12px;
}

.submenu li a {
  color: black;
  text-decoration: none;
}

/* Afficher sous-menu actif */
.has-submenu.active > .submenu {
  display: block;
}

/* Curseur pointeur sur le texte du header pour indiquer clic */
#menu-toggle {
  cursor: pointer;
}

/* Assurer que le header reste au-dessus du menu */
.site-header {
  position: fixed; /* déjà fixé */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100; /* supérieur au menu */
  background: transparent; /* ou transparent selon ton design */
}

/* Menu déroulant reste derrière le header */
#menu-deroulant {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  color: black;
  padding: 80px 40px;
  font-size: 32px;
  z-index: 1050; /* inférieur au header */
  overflow-y: auto;
}

.site-header {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;     /* toujours au-dessus */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
}

/* Image principale du site */
.white-section .top-img {
  z-index: 2000001;         /* sous le header (2000) mais au-dessus du fond blanc (1) */
  max-width: 80%;
}

/* Liste principale du menu */
.menu-main {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Neue Haas Grotesk Light", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 300;
  line-height: 1.2; /* réduit l'espacement vertical global */
}

/* Chaque item du menu */
.menu-main > li {
  margin-bottom: 5px; /* réduit l'espacement entre les lignes */
  position: relative;
}

/* Liens */
.menu-main > li > a {
  text-decoration: none;
  color: black;
  display: block;      /* s'assure que toute la ligne est cliquable */
  padding: 4px 0;      /* optionnel : petit padding pour confort */
}

body {
  margin: 0;
  padding: 0;
  background: white; /* assure qu’il n’y a pas de rouge */
}


.white-section, .under-section {
  background: white; /* toutes les sections blanches */
}

.white-section, .under-section {
  min-height: 100vh;  /* plutôt que height:100vh */
}

html, body {
  margin: 0;
  padding: 0;
  background: white; /* supprime toute couleur non désirée */
  min-height: 100%;
  overflow-x: hidden; /* évite tout scroll horizontal rouge */
}

.contact-text a,
.contact-text span {
  text-decoration: none;        /* pas de soulignement par défaut */
  color: black;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-text a::after,
.contact-text span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;        /* distance du texte */
  width: 0;
  height: 2px;
  background: black;
  transition: width 0.3s ease;
}

.contact-text a:hover::after,
.contact-text span:hover::after {
  width: 100%;          /* soulignement complet au hover */
}

.contact-text {
  text-transform: none; /* annule le uppercase global */
}

.contact-text {
  font-weight: 300; /* ou 400 si tu veux un texte normal */
}

#menu-deroulant a {
  text-decoration: none;      /* enlève le soulignement */
  color: black;               /* texte en noir */
}

#menu-deroulant a:hover {
  text-decoration: none;      /* pas de soulignement au hover */
  opacity: 0.6;               /* optionnel : petit effet élégant */
}