* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 200;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "IBM Flex Sans", Arial, sans-serif;
  font-weight: 400;
}

em {
  font-weight: 100;
}

strong {
  font-weight: 700;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #111;
  color: white;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icons img {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

#burger {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

#burger img {
  width: 28px;
  height: 28px;
}

.hidden {
  display: none;
}

#full-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  color: white;
  z-index: 999;
  display: none; /* caché par défaut */
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#full-menu.show {
  display: flex;
}

#full-menu ul {
  list-style: none;
  text-align: center;
}

#full-menu li {
  margin: 1rem 0;
}

#full-menu a {
  text-decoration: none;
  color: white;
  font-size: 2rem;
}

#close {
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 3rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.overlay {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-start;
  padding-left: 5vw;
  width: 75%;
  padding-top: 10em;
  padding-bottom: 10em;
  flex-direction: column;
  justify-content: space-between;
}

.overlay h2 {
  color: white;
  font-size: 5.5vw;
  text-transform: uppercase;
  text-align: justify;
}

/* Rendre le header transparent */
header {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.sponsors-banner {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: rgba(0, 0, 0, 0.4); /* semi-transparent noir */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
}

.sponsors-banner img {
  max-height: 60%;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* rend le png blanc si noir */
}

.project-section {
  position: relative;
  height: 100vh;
  background-color: #3c4025;
  background-image: url('../images/draw_bg.png');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  color: #e0e0d0;
  padding: 5vh 5vw;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.top-block {
  flex: 0 0 auto;
  margin-bottom: 2rem;
  width: 70%;
  text-transform: uppercase;
}

.top-block h2 {
  font-size: 4vw;
  margin-bottom: 1.5rem;
  color: #BBC8A7;
  letter-spacing: -0.1em;
}

.bottom-block {
  flex: 1;
  display: flex;
  gap: 3rem;
}

.left-inner-block {
  flex: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-left: 6em;
}

.top-inner-inner-block {
  margin-left: 1em;
  margin-bottom: 2em;
}

.top-inner-inner-block img {
  vertical-align: middle;
}

.bottom-inner-inner-block {
  display: flex;
  justify-content: space-around;
}

.bottom-inner-inner-block p {
  margin-bottom: 1rem;
  max-width: 20vw;
  line-height: 1.6;
  font-size: 1.2em;
}

.right-inner-block {
  flex: 1.5;
  display: flex;
  justify-content: center;
}

.right-inner-block img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.bottom-two-tiny-p {
  display: flex;
  color: white;
  justify-content: space-between;
  width: 80%;
}

.bottom-two-tiny-p p {
  max-width: 22.5vw;
  font-size: 2em;
}

.find-your-way-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px;
  background: url('../images/nature_bg.png') no-repeat center center;
  background-size: cover;
  color: white;
  min-height: 100vh;
  position: relative;
  gap: 40px;
}

.left-fyws {
  width: 40%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 5em;
}

.left-fyws h2 {
  text-transform: uppercase;
  letter-spacing: -0.1em;
  font-size: 4.5rem;
  line-height: 1.2;
}

.left-fyws h2 strong {
  font-weight: 900;
}

.left-fyws h2 em {
  font-style: italic;
  font-weight: 300;
}

.left-fyws p {
  font-size: 1.5rem;
}

.btn-find-your-way {
  background: linear-gradient(
    135deg,
    rgba(54, 52, 52, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(10px); /* Applique le flou */
  -webkit-backdrop-filter: blur(10px); /* Pour Safari */
  color: white;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 10px;
}

.right-fyws {
  width: 40%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 5em;
}

.right-fyws .text-container-left,
.right-fyws .text-container-right {
  background: linear-gradient(
    135deg,
    rgba(54, 52, 52, 0.4),
    rgba(255, 255, 255, 0.1)
  );
  border: 2px solid white;
  padding: 50px;
  width: 20vw;
  font-size: 0.95rem;
  backdrop-filter: blur(10px); /* Applique le flou */
  -webkit-backdrop-filter: blur(10px); /* Pour Safari */
}


.right-fyws .text-container-left:nth-of-type(1) {
  align-self: flex-start;
}

.right-fyws .text-container-right {
  align-self: flex-end;
}

.right-fyws .text-container-left:nth-of-type(2) {
  align-self: flex-start;
}

.community {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px;
  color: black;
  min-height: 100vh;
  flex-direction: column;
}

.head-community {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-bottom: 4em;
}

.slider-images {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
}

.slide {
  min-width: 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.slide img {
  max-width: 100%;
  border-radius: 10px;
}

.left-head-community {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.right-head-community {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 50%;
}

.left-head-community h2 {
  font-size: 4rem;
  letter-spacing: -0.1em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.slider-images {
  width: 100%;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

/* fond transparent, pas de bordure pour les slider controls, les boutons doivent etre centrés mais etre un peu espacés */

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.slider-controls button {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 2rem;
  color: black;
}

.slide p {
  margin-top: 10px;
  text-decoration: underline;
}

button.join-community {
  background-color: #BBC8A7;
  color: #3B3E29;
  text-transform: uppercase;
  padding: 12px 24px;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 20px;
}

.footer {
  background-color: #c3cdad;
  color: #2e2f24;
  padding: 60px 40px 0;
  font-family: "Inter", sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  margin-right: 30px;
}

.footer-col h4 {
  font-weight: bold;
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  border-bottom: 2px solid #2e2f24;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #2e2f24;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-col.newsletter input {
  padding: 10px;
  border: none;
  margin-right: 10px;
  width: 60%;
  background-color: #c3cdad;
  border-bottom: #111 solid 2px;
}

.footer-col.newsletter button {
  background-color: #fff;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 30px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.footer-description {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  font-size: 0.95rem;
  line-height: 1.6;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-description p {
  max-width: 20%;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.footer-logos span {
  font-weight: bold;
}

.footer-logos img {
  height: 40px;
  object-fit: contain;
}

.footer-contact {
  margin-top: 60px;
  padding: 40px 0;
  font-family: "IBM Plex Sans", sans-serif;
}

.footer-contact h1 {
  font-size: 6rem;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -2px;
}

.newsletter-form {
  display: flex;
  flex-direction: row;
}