/* ------------------------------
   GLOBAL
--------------------------------*/
body {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #0d0d0d;
  color: #e8e8e8;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
}

/* ------------------------------
   HEADER
--------------------------------*/
header {
  text-align: center;
  padding: 40px 20px;
}

header img {
  height: 90px;
  margin-bottom: 15px;
}

/* ------------------------------
   NAVIGATION
--------------------------------*/
nav {
  background-color: #0d0d0d;
  padding: 12px;
  text-align: center;
  border-bottom: 2px solid #00b050;
}

nav a {
  color: #e8e8e8;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s;
}

nav a:hover {
  color: #00b050;
}

/* ------------------------------
   IMAGE DE FOND + TEXTE
--------------------------------*/
.image-fond {
  width: 100%;
  height: 100vh; /* image entière */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.image-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55); /* voile noir prestige */
}

.texte-fond {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e8e8e8;
  text-align: center;
  z-index: 2;
}

.texte-fond h2 {
  color: #00b050;
  font-size: 32px;
  margin-bottom: 10px;
}

/* ------------------------------
   IMAGES PAR PAGE
--------------------------------*/
.image-fond.accueil {
  background-image: url("/image/fond-prestige.jpg");
}

.image-fond.services {
  background-image: url("/image/service-parebrise.jpg");
}

.image-fond.zones {
  background-image: url("/image/toulouse-zones.jpg");
}

.image-fond.assurances {
  background-image: url("/image/assurances.jpg");
}

.image-fond.apropos {
  background-image: url("/image/fond-prestige.jpg");
}

.image-fond.contact {
  background-image: url("/image/contact.jpg");
}

/* ------------------------------
   BLOCS
--------------------------------*/
.blocks, .services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}

.block, .service {
  background-color: #1a1a1a;
  border-left: 4px solid #00b050;
  border-radius: 10px;
  width: 280px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: 0.3s;
}

.block:hover, .service:hover {
  transform: translateY(-8px);
}

/* ------------------------------
   FORMULAIRE
--------------------------------*/
form {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  margin: auto;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #0d0d0d;
  color: #e8e8e8;
}

button {
  background-color: #00b050;
  color: #0d0d0d;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background-color: #009040;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
  background-color: #0d0d0d;
  color: #e8e8e8;
  text-align: center;
  padding: 25px;
  border-top: 2px solid #00b050;
}
