@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

/* BASE */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;

  /* 🔥 NOUVEAU FOND GLOBAL */
  background: linear-gradient(to bottom, #87CEFA, #0d47a1);
}

/* HEADER */
header {
  background: rgba(255,255,255,0.9);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(6px);
}

nav a {
  color: #0d47a1;
  margin-right: 25px;
  text-decoration: none;
  font-weight: 500;
}

.logo img {
  height: 110px;
}

/* SLIDER */
.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

/* SLIDES */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  color: white;

  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* IMAGES */
.slide1 { background-image: url("images/slide1.jpg"); }
.slide2 { background-image: url("images/slide2.jpg"); }
.slide3 { background-image: url("images/slide3.jpg"); }
.slide4 { background-image: url("images/slide4.jpg"); }

/* COMMUN */
.slide1,
.slide2,
.slide3,
.slide4 {
  background-size: cover;
  background-position: center;
  animation: zoom 10s ease-in-out infinite alternate;
}

/* ZOOM */
@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* TEXTE */
.content {
  text-align: center;
  animation: fadeUp 1.2s ease;
}

.content h1,
.content p {
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.content h1 {
  font-size: 44px;
}

.content p {
  font-size: 20px;
}

/* ANIMATION TEXTE */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECTION */
.section {
  background: rgba(255,255,255,0.95);
  margin: 40px auto;
  padding: 60px 40px;
  max-width: 1000px;
  border-radius: 12px;
}

/* FOOTER */
footer {
  background: rgba(13,71,161,0.9);
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}