/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Header avec image */
header {
  background: url("images/flotte-vehicles.jpg") no-repeat center center/cover;
  color: white;
  height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

header .overlay {
  background: rgba(0, 0, 0, 0.9);
  padding: 30px 50px;
  border-radius: 12px;
  max-width: 600px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Bouton CTA */
.cta-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #ff9800;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background: #e68900;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  border-radius: 12px;
}

section:nth-child(even) {
  flex-direction: row-reverse;
}

/* Couleurs alternées */
#services {
  background: #f9f9f9;
}

#expertise {
  background: #eef5ff;
}

#contact {
  background: #1e3c72;
  color: white;
  padding: 60px 20px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#contact .text {
  width: 100%;
  max-width: 600px;
}

/* Titre et texte contact */
#contact h2 {
  color: white !important;
  text-align: center !important;
  margin-bottom: 20px;
}

#contact p {
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

/* Titres & textes */
section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #1e3c72;
}

section p, section ul {
  margin-bottom: 20px;
  text-align: left;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #eee;
  margin: 10px 0;
  padding: 10px;
  border-radius: 8px;
}

/* Images dans sections */
.tilted-img {
  width: 40%;
  transform: rotate(-2deg);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

/* Formulaire */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  margin: auto;
}

form label,
form input,
form textarea,
form button {
  width: 100%;
}

form label {
  font-weight: bold;
  text-align: left;
}

form input, form textarea {
  padding: 10px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

form button {
  background: #ff9800;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: background 0.3s ease;
}

form button:hover {
  background: #e68900;
}

/* Champ honeypot invisible */
.hidden {
  display: none !important;
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #333;
  color: white;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    flex-direction: column;
    text-align: center;
  }

  .tilted-img {
    width: 80%;
    transform: none;
  }

  header h1 {
    font-size: 2rem;
  }

  header p {
    font-size: 1rem;
  }
}
