* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  color: #222;
}

/* ---- HEADER ---- */
header {
  background: linear-gradient(90deg, #2e7d32, #fdd835);
  padding: 15px 25px;
  display: flex;
  align-items: center;
  position: relative;
}

header img {
  height: 70px;
  width: 70px;
  object-fit: contain;
  border-radius: 8px;
  position: absolute;
  left: 25px;
}

header h1 {
  flex: 1;
  text-align: center;
  color: white;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

/* ---- NAVIGATION ---- */
nav {
  background: #1b5e20;
  padding: 15px;
  text-align: center;
  position: relative;
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #fdd835;
}

/* ---- HAMBURGER MENU ---- */
.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  position: absolute;
  right: 25px;
  top: 22px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- RESPONSIVE MOBILE ---- */
@media (max-width: 768px) {
  header img {
    height: 45px;
    width: 45px;
    left: 10px;
  }

  header h1 {
    font-size: 1.6rem;
    padding-left: 55px;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #1b5e20;
    width: 200px;
    position: absolute;
    right: 0;
    top: 100px;
    z-index: 999;
    border-radius: 0 0 0 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 20px;
    border-bottom: 1px solid #2e7d32;
  }
}

/* ---- HERO (page accueil) ---- */
.hero {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url('https://images.unsplash.com/photo-1509099836639-18ba1795216d?q=80&w=1200') center/cover;
  color: white;
  padding: 20px;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

/* ---- BOUTON ---- */
.btn {
  background: #fdd835;
  color: #1b5e20;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: white;
}

/* ---- SECTIONS ---- */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #2e7d32;
  font-size: 2rem;
}

section p {
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
}

/* ---- CARDS ---- */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  width: 300px;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  border-top: 6px solid #2e7d32;
}

.card h3 {
  color: #2e7d32;
  margin-bottom: 15px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: 0.3s;
}

/* ---- FORMULAIRE (contact) ---- */
form {
  margin-top: 30px;
}

input,
textarea,
select {
  width: 324px;
  padding: 12px;
  margin: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 12px 25px;
  background: #2e7d32;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background: #fdd835;
  color: #1b5e20;
}

/* ---- FOOTER ---- */
footer {
  background: #1b5e20;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
