/* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  font-family: Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: #f7f7f7;
  color: #222;
}

/* ================= HEADER ================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
}

/* ================= LOGO ================= */
.logo {
  height: 42px;
}

/* ================= NAV ================= */
.nav {
  display: flex;
  flex-direction: row; /* Horizontal par défaut */
  align-items: center;
}

.nav a {
  color: #000;
  margin-left: 18px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a:hover {
  color: #4dd0e1;
}

/* ================= HERO ================= */
.hero {
  padding: 60px 20px;
  background: linear-gradient(120deg,#111,#333);
  color: white;
  text-align: center;
}

.hero h1 span {
  color: #4dd0e1;
}

/* ================= SERVICES ================= */
.services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,.05);
}

/* ================= FOOTER ================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ================= RESPONSIVE ================= */
@media(min-width:768px){
  .services {
    grid-template-columns: repeat(4,1fr);
  }
}

/* ================= MENU BURGER ================= */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.burger span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  transition: 0.3s;
}

/* Mobile */
@media (max-width: 768px) {

  .burger {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 56px; /* hauteur du header sticky */
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column; /* vertical sur mobile */
    display: none;
    border-bottom: 1px solid #e0e0e0;
    align-items: flex-start;
  }

  .nav a {
    width: 100%;
    padding: 14px 20px;
    margin: 0;
    border-top: 1px solid #eee;
  }

  .nav.active {
    display: flex;
  }

}
.services h2 {
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre icône et texte */
  font-size: 1.5rem;
}

.services i {
  color: #4dd0e1; /* couleur sympa pour les icônes */
}

