* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

.container {
    
  width: 90%;
  max-width: 1200px;
  margin: auto;
}


/* BANNIERE */
.hero {
    position: relative;
    width: 100%;
    min-height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero__img {
    position: absolute;
    inset: 0;                   /* top:0; right:0; bottom:0; left:0; */
    width: 100%;
    height: 100%;
    object-fit: cover;          /* couvre le conteneur sans déformer */
    object-position: center;
    z-index: 0;
    pointer-events: none;       /* laisse le clic sur le contenu si besoin */
}

/* overlay */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

/* responsive adjustments */
@media (max-width: 768px) {
    .hero { min-height: 40vh; }
    .hero__content { padding: 0.8rem; }
}

.banner h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color:#0073e6;
}
.banner p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.banner button {
  padding: 12px 25px;
  background: #0073e6;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
/* DESCRIPTION */
.marketplace-description {
  background: #f4f6f8;
  padding: 60px 20px;
}

.marketplace-flex {
  display: flex;
  flex-wrap: wrap; /* pour mobile */
  align-items: center;
  gap: 40px;
}

.description-text {
  flex: 1;
  min-width: 300px;
}

.description-text h2 {
  color: #0073e6;
  font-size: 2em;
  margin-bottom: 20px;
}

.description-text p {
  font-size: 1.1em;
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.description-text .btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.description-text .btn:hover {
  background-color: #0073e6;
}

.description-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.description-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 12px;
}

/* Responsive : sur petit écran, image passe en dessous du texte */
@media (max-width: 768px) {
  .marketplace-flex {
    flex-direction: column;
    align-items: center;
  }

  .description-image img {
    max-width: 100%;
  }
}



/* CATEGORIES */
.categories {
  padding: 60px 0;
  text-align: center;
}
.categories h2 {
  margin-bottom: 30px;
  color: #0073e6;
}

.container h2 {
    margin-bottom: 30px;
    color: #0073e6;
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.category-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 150px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.category-box:hover {
  transform: translateY(-5px);
}


/* TESTIMONIAUX */
.testimonials {
  padding: 60px 0;
  background: #e0f7fa;
  text-align: center;
}
.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.testimonial {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}



