* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #f8fafc;   /* plus clair */
  color: #334155;
  line-height: 1.65;
}

/* HERO */
/* Desktop (par défaut) */
.hero {
  height: 380px;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center; /* montre le bas sur desktop */
  position: relative;
}

/* Tablette */
@media (max-width: 921px) {
  .hero {
    height: 320px;
    background-position: center 85%; /* un peu moins bas, souvent mieux */
  }
}

/* Mobile */
@media (max-width: 544px) {
  .hero {
    height: 260px;
    background-position: center 92%; /* favorise encore le bas */
  }

  .hero h1 {
    font-size: 1.9rem;
  }

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

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.40),
    rgba(15, 23, 42, 0.18)
  );
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  padding: 20px;
}

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

/* CONTENU */
.container {
  max-width: 900px;
  margin: 40px auto 60px;
  padding: 0 20px;
}

.card {
  background: #ffffff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  border-left: 6px solid #fb8307; /* touche chaleureuse */
}

.card h2 {
  margin-bottom: 15px;
  color: #1e293b;
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 8px;
}

/* CTA */
.cta {
  background: #fff7ed;           /* orange très pâle */
  color: #1e293b;
  padding: 40px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid rgba(251, 131, 7, 0.45);
}

.cta h2 {
  margin-bottom: 10px;
  color: #1e293b;
}

.cta h2 {
  margin-bottom: 10px;
}

.button {
  display: inline-block;
  margin-top: 15px;
  padding: 14px 28px;
  background: #fb8307;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
}

.button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  color: #64748b;
  font-size: 0.9rem;
}

.link {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
}

.link:hover {
  color: #fb8307;
}
