* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  color: #333;
  overflow-x: hidden;
}
.navbar {
  background-color: rgba(255, 255, 255, 0.9);
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  color: #cc9900;
  font-size: 2rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}
.acceuil {
  color: #006699;
}
.nav-links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a:hover {
  color: #cc9900;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #cc9900;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Menu burger (masqué par défaut) */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 21px;
}

.burger div {
  width: 100%;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Media queries pour le responsive */
@media screen and (max-width: 1024px) {
  .navbar {
    padding: 1rem 5rem;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    padding: 1rem 2rem;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 70px;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    flex-direction: column;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    transform: translateX(0%);
  }

  .nav-links li {
    margin: 1.5rem 0;
  }

  .burger {
    display: flex;
  }
}

/* Animation du burger en croix */

.main-content {
  flex: 1;
}

.footer {
  background: linear-gradient(135deg, #004466 0%, #006699 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1519751138087-5bf79df62d5b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80")
    center/cover no-repeat;
  opacity: 0.1;
}

.footer-content {
  position: relative;
  z-index: 1;
}
s .footer-logo {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(to right, #cc9900, #ffcc33);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.footer-divider {
  height: 3px;
  background: linear-gradient(to right, transparent, #cc9900, transparent);
  margin: 1.5rem 0;
  border: none;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: #cc9900;
  border-radius: 2px;
}

.footer-link {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  color: #e2e8f0;
}

.footer-link:hover {
  color: #cc9900;
  transform: translateX(5px);
}

.footer-link i {
  margin-right: 0.75rem;
  width: 20px;
  text-align: center;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 0.75rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: #cc9900;
  transform: translateY(-5px);
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 50px 0 0 50px;
  width: 100%;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  border-color: #cc9900;
}

.newsletter-btn {
  background: #cc9900;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #b38600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.back-to-top {
  position: absolute;
  right: 2rem;
  top: -25px;
  background: #cc9900;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background: #b38600;
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .back-to-top {
    right: 1rem;
    top: -20px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 50px;
    margin-bottom: 0.5rem;
  }

  .newsletter-btn {
    border-radius: 50px;
    width: 100%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.input-focus-effect:focus {
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.5);
}

.btn-hover-effect:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.6);
}

.transition-all {
  transition: all 0.3s ease;
}
