/* ===== Page Acteurs : style moderne Barbie ===== */

/* Carte titre */
.titre-section {
  max-width: 1000px;
  margin: 20px auto 40px;
  padding: 35px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.titre-section::before {
  content: "";
  position: absolute;
  top: -90px;
  right: -90px;
  width: 240px;
  height: 240px;
  background: linear-gradient(135deg,#ff2c9c,#ff7bd5);
  border-radius: 50%;
  opacity: 0.08;
}

.titre-section h1 {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 8px;
  background: linear-gradient(135deg,#ff2c9c,#ff7bd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.titre-section h2 {
  font-size: 18px;
  color: #666;
  font-weight: 600;
}

/* Mini badge demo */
#demo {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 44, 156, 0.10);
  color: #ff2c9c;
  font-weight: 700;
}

/* Grille de cartes */
.liste-articles {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Carte */
.article-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,0.08);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(0,0,0,0.12);
}

/* Image (ne coupe pas les têtes) */
.article-media {
  background: rgba(255, 220, 245, 0.35);
  padding: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 230px;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* ✅ garde l'image entière */
}

/* Contenu */
.article-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 900;
  color: #222;
}

.texte {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
}

/* Voir plus */
.plus-texte { display: none; }
.fin { display: inline; }

.texte.voirplus .plus-texte { display: inline; }
.texte.voirplus .fin { display: none; }

.bouton-lire-plus {
  border: none;
  background: transparent;
  color: #ff2c9c;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  padding: 0;
}

/* Bouton rose */
.bouton {
  margin-top: 6px;
  display: inline-block;
  text-align: center;
  padding: 12px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg,#ff2c9c,#ff7bd5);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.bouton:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 35px rgba(255,44,156,0.25);
}

/* Responsive */
@media (max-width: 980px) {
  .liste-articles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .liste-articles { grid-template-columns: 1fr; }
  .article-media { height: 220px; }
}
