/* ============================
   ZYGDESIGN - PRESTATIONS
============================ */

.prestas-section {
  background: url("../assets/vegetal.jpg") no-repeat center top;
  background-size: cover;
  padding: 5rem 2rem;
  text-align: center;
  color: var(--color-text);
}

.prestas-section h3 {
  font-family: 'Borel', cursive;
  font-size: 1.4rem;
  color: var(--color-text);
}

.prestas-section h2 {
  font-family: 'Cactus Classical Serif', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  background-color: #e2eee9;
  padding: 10px 15px;
  display: inline-block; /* cartouche ajusté */
  text-transform: capitalize;
  
}

.prestas-section h2 b {
  font-weight: normal;
  color: #f3396e;
}

.prestas-intro {
  list-style: none;
  padding: 0;
  margin: 0 auto 3rem;
  font-family: 'Arvo', serif;
  font-size: 1.1rem;
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
  color: var(--color-text);
}

.prestas-intro li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.prestas-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Cartes */
.presta-card {
  background-color: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 280px;
  text-align: center;
  font-family: 'Arvo', serif;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presta-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.presta-top {
  padding: 1rem 1rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.presta-card.jaune .presta-top {
  background-color: #ffcc00;
}
.presta-card.rose .presta-top {
  background-color: #f3396e;
}
.presta-card.vert .presta-top {
  background-color: #03738b;
}

.presta-top img {
  width: 70%;
  height: auto;
  margin-bottom: 0.5rem;
}

.presta-label {
  background-color: #2d435b;
  color: white;
  font-family: 'Bungee', cursive;
  font-size: 1.2rem;
  padding: 0.5rem 0;
  width: 100%;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
}

.presta-desc {
  padding: 1rem 1rem 2rem;
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--color-text);
  font-family: 'Arvo', serif;
}

/* Responsive Mobile */
@media screen and (max-width: 768px) {
  .prestas-section {
    padding: 3rem 1rem;
  }

  .prestas-section h2 {
    font-size: 1.5rem;
    line-height: 1.2;
    white-space: normal;
    text-wrap: balance;
  }

  .prestas-section h3 {
    font-size: 1.2rem;
  }

  .prestas-intro {
    font-size: 1rem;
    max-width: 90vw;
    gap: 0.4rem 0.8rem;
  }

  .prestas-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .presta-card {
    width: 92%;
  }

  .presta-top img {
    width: 70%;
    margin-bottom: 0.8rem;
  }

  .presta-label {
    font-size: 1rem;
    padding: 0.6rem 0;
  }

  .presta-desc {
    font-size: 1rem;
    padding: 1rem;
  }
}
