

/* === ANIMATIONS === */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes cardLift {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }

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

@keyframes titrePulse {

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

  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

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

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

@keyframes softFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* === STRUCTURE DE BASE === */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body.homepage {
  min-height: 100vh;
  background: url('image/image (4).jpg') no-repeat center center fixed;
  background-size: cover;
}

/* === CONTAINERS === */
.contentContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  animation: fadeInUp 1.2s ease-out both;
}

.hero-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  animation: softFadeSlide 1.2s ease-out both;
}

/* === CADRE NOIR (FLUO FIX) === */
.cardeNoir {
  width: 65%;
  max-width: 90vw;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  padding: 20px;
  color: white;
  text-align: center;
  font-size: 1.575em;
  margin: 150px auto 70px;
  animation: cardLift 1.2s ease-out both;
  animation-delay: 0.4s;
  border: 4px solid rgba(49, 49, 49, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(49, 49, 49, 0.3);
  background: transparent;
}

.cardeNoir::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
}

.cardeNoir>* {
  position: relative;
  z-index: 1;
}

/* === TITRE CADRE === */
.TitreCadre {
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
  font-size: 3.85em;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 2px 2px 6px rgba(151, 151, 151, 0.6);
  background: linear-gradient(90deg, #b6b6b6, #aaaaaa, #a1a1a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titrePulse 2.5s ease-in-out infinite;
}

/* === HEADER & NAVIGATION === */
.header {
  position: absolute;
  top: 25px;
  right: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 10;
}

.navMenu {
  display: flex;
  list-style: none;
  gap: 30px;
  padding: 0;
}

.navMenu li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 28px;
  transition: 0.3s ease;
}

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

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

/* === HERO ELEMENTS === */
.logo-container,
.hero-title,
.hero-slogan,
.hero-btn,
.topNav {
  animation: slideDownFade 0.3s ease-out forwards;
  opacity: 0;
}

.logo-container {
  animation-delay: 0.2s;
}

.topNav {
  animation-delay: 0.3s;
}

.hero-title {
  animation-delay: 0.4s;
}

.hero-slogan {
  animation-delay: 0.5s;
}

.hero-btn {
  animation-delay: 0.6s;
}

/* === RESPONSIVE === */
@media (max-width: 48rem) {
  html {
    font-size: 1em;
  }

  .contentContainer {
    padding: 1em;
  }

  .cardeNoir {
    width: 95%;
    font-size: 1em;
    padding: 1.2em;
    margin: 2em auto 1em;
  }

  .header {
    padding: 1.3em 1.5em;
    top: 1.2em;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .navMenu {
    flex-wrap: wrap;
    gap: 0.5em;
    padding: 0.5em 1em;
  }

  .navMenu li a {
    font-size: 0.8rem;
    padding: 0.05em 0.1em;
  }

  .hero-container {
    padding-top: 1.5em;
    text-align: center;
  }

  .logo-container {
    margin: 1em auto;
  }

  .logo {
    height: 3em;
  }
}

/* === FOOTER === */
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 {
  color: white;
  font-weight: bold;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.6);
  transition: color 0.3s;
}


.office-link {
  text-align: center;
  margin-top: 25px;
  padding: 0 1rem;
}

.office-link p {
  font-size: 1.4rem;
  color: white;
  line-height: 1.6;
}

.office-link a {
  color: #65adff;
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 768px) {
  .office-link p {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .office-link p {
    font-size: 1rem;
  }
}