/* =========================
   GLOBAL
========================= */
body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  background: #0f0f1a;
  color: #e0e0e0;
  scroll-behavior: smooth;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.card-link {
  text-decoration: none;
  color: inherit;
}

.card-link .card {
  cursor: pointer;
}

/* =========================
   NAVBAR
========================= */
/* .navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 25, 50, 0.95);
  padding: 15px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #ff6b00;
  font-weight: bold;
  font-size: 1.8rem;
}

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

.nav-links li a {
  color: #e0e0e0;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links li a:hover {
  color: #ff6b00;
  transform: scale(1.1);
} */
/* =========================
   NAVBAR (Optimisée)
========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(20, 25, 50, 0.95);
  padding: 8px 0; /* réduit hauteur */
  z-index: 1000;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.nav-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo {
  color: #ff6b00;
  font-weight: 600;
  font-size: 1.2rem; /* réduit */
  margin: 0; /* CRUCIAL pour enlever la hauteur inutile */
}

/* NAV LINKS */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row; /* Tout mettre sur une seule ligne*/
  gap: 18px; /* réduit espace */
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #e0e0e0;
  font-weight: 500;
  font-size: 0.9rem; /* plus compact */
  padding: 4px 6px; /* contrôle la hauteur */
  transition: 0.2s ease;
}

/* HOVER */
.nav-links li a:hover {
  color: #ff6b00;
  transform: scale(1.05); /* moins agressif */
}

/* =========================
   HERO / HEADER
========================= */
header {
  background: linear-gradient(rgba(15,15,26,0.7), rgba(15,15,26,0.7)),
              url("images/hero_peoservices.png") no-repeat center center;
  background-size: cover;
  color: white;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 60px;
}

.highlight-red {
  color: #ff0000;
}

.header-container h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.header-container p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.cta {
  background: linear-gradient(90deg, #ff6b00, #ff8f00);
  color: white;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(255,107,0,0.4);
  transition: all 0.3s ease;
}

.cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,107,0,0.6);
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 80px 20px;
  max-width: 1100px;
  margin: auto;
}

/* TITRES */
h2 {
  text-align: center;
  margin-bottom: 50px;
  color: #ff6b00;
  letter-spacing: 1px;
  font-size: 2.5rem;
}

/* =========================
   SERVICES
========================= */
.services {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #1c1c36;
  padding: 25px;
  border-radius: 15px;
  width: 280px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(255,107,0,0.5);
}

.card h3 {
  color: #ff6b00;
  margin-bottom: 15px;
}

/* =========================
   FEATURES
========================= */
.features {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.features div {
  background: #1c1c36;
  padding: 25px;
  border-radius: 15px;
  width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.features div:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(255,107,0,0.5);
}

.features h3 {
  color: #ff6b00;
  margin-bottom: 10px;
}

/* =========================
   CONTACT
========================= */
.contact {
  background: #1c1c36;
  border-radius: 15px;
  padding: 40px 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

form {
  display: flex;
  flex-direction: column;
  max-width: 400px;
  margin: auto;
  gap: 15px;
}

input, textarea {
  padding: 12px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  background: #2a2a50;
  color: #fff;
}

input::placeholder, textarea::placeholder {
  color: #aaa;
}

button {
  background: linear-gradient(90deg, #ff6b00, #ff8f00);
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 50px;
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,107,0,0.6);
}

/* =========================
   FOOTER
========================= */
footer {
  background: #0f0f1a;
  color: #aaa;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  letter-spacing: 1px;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .logo {
    font-size: 1.4rem;
  }

  .nav-links {
    flex-direction: row; /*Mettre tout sur une seule ligne*/
    align-items: center;
    display: flex; /*Mettre tout sur une seule ligne*/
    gap: 10px;
    padding: 0;
    font-size: 14px;
  }

  /* HERO */
  header {
    height: auto;
    padding: 120px 20px 60px 20px;
  }

  .header-container h1 {
    font-size: 2rem;
  }

  .header-container p {
    font-size: 1.1rem;
  }

  .cta {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* SECTIONS */
  section {
    padding: 60px 15px;
  }

  h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  /* SERVICES */
  .services {
    flex-direction: column;
    gap: 20px;
  }

  .card {
    width: 100%;
  }

  /* FEATURES */
  .features {
    flex-direction: column;
    gap: 20px;
  }

  .features div {
    width: 100%;
  }

  /* CONTACT */
  .contact {
    padding: 25px 15px;
  }

  form {
    max-width: 100%;
  }

  input, textarea {
    font-size: 14px;
  }

  button {
    font-size: 14px;
    padding: 12px;
  }
}