.container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 30px;
  gap: 20px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    padding: 10px;
  }
}

.text-section {
  flex: 1;
  max-width: 600px;
}

.text-section h1 {
  color: #15730d;
  font-size: 52px;
  margin-bottom: 20px;
}

.text-section p {
  font-size: 20px;
  margin: 15px 0;
  line-height: 1.6;
}

.button.large {
  display: block;
  text-align: center;
  width: 260px;
  margin-top: 10px;
  background: #15730d;
  color: white;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
}

.image-section {
  flex: 1;
  max-width: 600px;
}

.image-section img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

a {
  text-decoration: none;
  color: #15730d;
}

/* ----- SECTION DES CARDS ----- */

.cards-wrapper {
  padding: 50px 20px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  color: #15730d;
  margin-bottom: 30px;
  font-weight: bold;
}

.cards-container {
  display: flex;
  overflow-x: auto;
  gap: 25px;
  padding: 20px 10px;
  scroll-snap-type: x mandatory;
}

.cards-container::-webkit-scrollbar {
  height: 8px;
}

.cards-container::-webkit-scrollbar-thumb {
  background: #15730d;
  border-radius: 10px;
}

.card {
  background: #ffffff;
  min-width: 280px;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
  scroll-snap-align: start;
  transition: transform 0.2s;
}

.card:hover {
  transform: scale(1.03);
}

.card img {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 160px;
  object-fit: cover;
}

.card h3 {
  font-size: 22px;
  margin: 15px 0 10px;
  color: #15730d;
}

.card p {
  font-size: 16px;
  padding: 0 15px;
  margin-bottom: 15px;
  color: #333;
}

.card-btn {
  display: inline-block;
  background: #15730d;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s;
}

.card-btn:hover {
  background: #0e5609;
}

/* Responsive */
@media (max-width: 768px) {
  .cards-container {
    padding-bottom: 20px;
  }
}

.cards-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards-container {
    max-width: 1000px; /* largeur du carrousel */
    margin: 0 auto;
}