/* ========================= */
/* RESET BASIQUE */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========================= */
/* BODY ET FONT */
/* ========================= */
body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ========================= */
/* HERO / HEADER */
/* ========================= */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px 20px;
  background: linear-gradient(to right, #2d2d2d, #444);
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero-buttons .btn {
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-buttons .btn.primary {
  background-color: #ffcc00;
  color: #2d2d2d;
  font-weight: bold;
}

.hero-buttons .btn.primary:hover {
  background-color: #e6b800;
}

.hero-buttons .btn.secondary {
  background-color: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.hero-buttons .btn.secondary:hover {
  background-color: #ffcc00;
  color: #2d2d2d;
}

/* ========================= */
/* PROMISES / SECTIONS */
/* ========================= */
.promises {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.promise {
  flex: 1 1 200px;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}

.promise:hover {
  transform: translateY(-5px);
}

.promise.highlight {
  background-color: #ffcc00;
  color: #2d2d2d;
  font-weight: bold;
}

/* ========================= */
/* FOOTER */
/* ========================= */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #2d2d2d;
  color: #fff;
  margin-top: 30px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #ffcc00;
  text-decoration: none;
  margin: 0 8px;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ========================= */
/* RESPONSIVE MOBILE */
/* ========================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    font-size: 0.95rem;
    padding: 10px 0;
  }

  .promises {
    flex-direction: column;
    gap: 12px;
    padding: 15px 10px;
  }

  .promise {
    width: 100% !important; /* force la largeur à 100% */
    flex: none; /* supprime le flex 1 1 200px qui fait trop grand */
    font-size: 0.9rem;       /* texte un peu plus petit */
    padding: 10px 12px;      /* padding réduit */
    border-radius: 6px;      /* légèrement plus petit */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .promise.highlight {
    font-weight: bold;
  }
}