* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}
body {
  background: #f7f9fc;
  color: #333;
}

/* HEADER */
.main-header {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.main-header .container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.logo img {
  max-height: 50px;
  width: auto;
}

/* MENU */
.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #0078d7;
}

/* BURGER ICON */
.burger {
  display: none;
  font-size: 1.8em;
  color: #0078d7;
  cursor: pointer;
  z-index: 1100;
}

/* Icône burger → croix avec transition */
.burger i {
  transition: transform 0.3s ease;
}

.burger.open i {
  transform: rotate(90deg);
}

/* Changement icône Font Awesome quand ouvert */
.burger.open i::before {
  content: "\f00d"; /* fa-times (croix) */
}

/* Overlay (fond sombre quand menu ouvert) */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

h2 {
  color: #0078d7;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
}

.services {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.services-container {
  max-width: 1200px;
  margin: auto;
}

.services h2 {
  font-size: 2.5em;
  color: #0078d7;
  margin-bottom: 10px;
}

.services .intro-text {
  font-size: 1.2em;
  color: #555;
  margin-bottom: 30px;
}

/* Bannière */
.services-banner {
  margin-bottom: 40px;
}
.services-banner img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Grille des services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f9fbfd;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  background: #0078d7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  margin: 0 auto 20px;
}

/* ---------- SECTION ---------- */
.approach {
  padding: 60px 20px;
  text-align: center;
}
.approach-container {
  max-width: 1000px;
  margin: auto;
}
.approach-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.approach h2 {
  font-size: 2.5em;
  color: #0078d7;
  margin-bottom: 15px;
}
.approach p {
  color: #555;
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* ---------- TIMELINE ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background: #00b7e8;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.timeline-item {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 80%;
  max-width: 700px;
  position: relative;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  margin-top: 3rem;
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -65px;
  width: 55px;
  height: 55px;
  background: #0078d7;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.timeline-content strong {
  display: block;
  margin-bottom: 5px;
  color: #0078d7;
  font-size: 1.1em;
}

footer {
  text-align: center;
  padding: 15px;
  background: #0078d7;
  color: #fff;
  font-size: 0.9em;
}

.main-footer {
  background-color: #0078d7;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  font-size: 1em;
}

.footer-container p {
  margin: 8px 0;
}

.footer-container i {
  margin-right: 8px;
}
