body.homepage,
html {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-size: 1.35em;
}

body.homepage footer {
  display: none;
}

.hero-container {
  position: relative;
  min-height: 100dvh;
  width: 100vw;
  background-image: url('image/img4.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.header {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  padding: clamp(12px, 4vw, 40px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
}

.topNav {
  position: relative;
  animation: slideDownFade 2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

.navMenu {
  display: flex;
  list-style: none;
  gap: clamp(10px, 4vw, 40px);
  padding: 12px;
  margin: 0;
}

.navMenu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: clamp(1rem, 2vw, 1.5rem);
  transition: 0.3s ease;
}

.navMenu li a:hover {
  color: rgba(101, 173, 255);
}


.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: bold;
  margin-bottom: 20px;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  animation: slideDownFade 1.5s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-slogan {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 25px;
  font-style: italic;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: slideDownFade 1.5s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.hero-btn {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: gray;
  color: white;
  padding: clamp(0.5rem, 2vw, 1rem) clamp(1rem, 4vw, 2.5rem);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  animation: slideDownFade 2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

@keyframes slideDownFade {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 48rem) {
  .navMenu {
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 0.6em;
    padding: 0.8em 1em;
    border-radius: 0.8em;
  }

  .navMenu li a {
    font-size: 0.9rem;
  }

  html {
    font-size: 1em;
  }
}

footer {
  font-size: 1em;
  padding: 1.2em 1em;
  text-align: center;
  color: white;
  background-color: transparent;
  width: 100%;
}

@media (max-width: 48rem) {
  footer {
    font-size: 0.85em;
    padding: 1em 0.5em;
    margin-top: 2em;
  }

  footer p {
    margin-bottom: 0.3em;
    line-height: 1.4em;
  }
}

.navMenu a.active {
  color: rgba(101, 173, 255);
}

.hero-title {
  color: white;
  text-shadow:
    2px 2px 10px rgba(0, 0, 0, 1),
    0px 0px 20px rgba(0, 0, 0, 0.7);
}

.hero-slogan {
  color: white;
  text-shadow:
    2px 2px 4px rgba(0, 0, 0, 1),
    0 0 10px rgba(0, 0, 0, 0.6);
}

.hero-btn {
  color: white;
  background-color: rgba(0, 0, 0, 0.322);
  /* <- transparence ici */
  border: none;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.6),
    0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease-in-out;
  backdrop-filter: blur(2px);
}

.navMenu a {
  color: white;
  font-weight: bold;
  text-shadow:
    1px 1px 3px rgb(65, 65, 65),
    0 0 8px rgba(78, 78, 78, 0.6);
  transition: color 0.3s;
}

.logo-button {
  display: inline-block;
  margin-top: 25px;
  animation: slideDownFade 2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.logo-container {
  animation: slideDownFade 2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.1s;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center;     
  text-align: center;
  color: white;
  z-index: 2;
  padding: 0 30px;          
}


@media (max-width: 768px) {
  .hero-content {
    padding-top: 70px;
  }

  .logo {
    height: auto !important; 
  }
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

#cookie-banner {
  font-size: 0.9rem;
}

#cookie-banner a {
  font-size: 0.9rem;
}

#cookie-banner button {
  font-size: 0.9rem;
}
