/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f4f4f4;
}

/* Hero */
.hero-img {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-img .overlay {
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 8px;
}

.hero-img h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-img .btn {
  padding: 10px 20px;
  background: #0050b3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}


.overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  text-align: center;
  color: white;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.overlay .btn {
  padding: 10px 20px;
  background: #0050b3;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

/* Navigation */
nav {
  background: #0050b3;
  text-align: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 10px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Sections */
section {
  padding: 2rem;
  background: white;
  margin: 1rem auto;
  max-width: 900px;
  border-radius: 8px;
}

h2 {
  color: #0050b3;
  margin-bottom: 1rem;
}

.timeline li {
  margin-bottom: 0.5rem;
}

/* Entreprises */
.entreprise {
  margin-bottom: 1.5rem;
}

/* Footer */
footer {
  background: #222;
  color: #eee;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay h1 {
    font-size: 2rem;
  }

  nav ul {
    flex-direction: column;
  }
}
