/* ---- Reset simple ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f2f2f2;
  color: #333;
}

/* ---- Header ---- */
.hero {
  text-align: center;
  background: #1e293b;
  color: white;
  padding: 3rem 1rem;
}
.hero h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.hero .btn {
  display: inline-block;
  background: #38bdf8;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}
.hero .btn:hover {
  background: #0ea5e9;
}

/* ---- Navigation ---- */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* ---- Sections alignées ---- */
.sections {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 colonnes */
  gap: 2rem;
  padding: 2rem;
}

/* ---- Blocs ---- */
.sections section {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.sections section:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  background: #ffffff;
}

/* ---- Cartes services ---- */
.services .card {
  margin-bottom: 1rem;
  padding: 1rem;
  border-left: 4px solid #38bdf8;
  background: #fff;
  border-radius: 8px;
}

/* ---- Formulaire ---- */
form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
form input, form textarea, form button {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}
form button {
  background: #38bdf8;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}
form button:hover {
  background: #0ea5e9;
}

/* ---- Logos ---- */
.logos {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.logos img {
  max-height: 40px;
  object-fit: contain;
}

/* ---- Footer ---- */
footer {
  text-align: center;
  background: #1e293b;
  color: white;
  padding: 1rem;
  margin-top: 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .sections {
    grid-template-columns: 1fr; /* empile les sections */
  }
}
