/* =========================================================
   Block : Articles scientifiques (accordéon <details>)
   À coller dans style.css
   Charte eye-4you : orange #ff551e, noir #000, gris #666
   ========================================================= */

.articles-sci__titre-section {
  margin: 0 0 1.5rem;
  text-align: center;
}

.articles-sci__liste {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Carte / accordéon --- */
.article-sci {
  border: 1px solid #f0f0f0;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  /* Box-shadow sur tous les dropdowns (esprit CTA) */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.article-sci[open] {
  border-color: #ff551e;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.1);
}

/* --- En-tête cliquable --- */
.article-sci__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none; /* retire la flèche native */
  user-select: none;
}

.article-sci__header::-webkit-details-marker {
  display: none;
}

.article-sci__titre {
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #000;
}

.article-sci[open] .article-sci__titre {
  color: #ff551e;
}

/* Chevron en pur CSS */
.article-sci__chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  margin-right: 4px;
  border-right: 2px solid #ff551e;
  border-bottom: 2px solid #ff551e;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.article-sci[open] .article-sci__chevron {
  transform: rotate(-135deg);
}

/* --- Corps déplié --- */
.article-sci__body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.article-sci__abstract {
  margin-top: 1.25rem;
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
}

.article-sci__abstract p {
  margin: 0 0 0.75rem;
}

/* --- Auteurs --- */
.article-sci__auteurs {
  margin-top: 1.25rem;
}

.article-sci__auteurs-label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ff551e;
  margin-bottom: 0.4rem;
}

.article-sci__auteurs-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-sci__auteurs-liste li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.25rem;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.5;
}

.article-sci__auteurs-liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff551e;
}

/* --- Boutons --- */
.article-sci__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.article-sci__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.article-sci__btn--gratuit {
  background: #ff551e;
  color: #fff;
  border: 2px solid #ff551e;
}

.article-sci__btn--gratuit:hover {
  background: #e6471a;
  border-color: #e6471a;
}

.article-sci__btn--payant {
  background: transparent;
  color: #ff551e;
  border: 2px solid #ff551e;
}

.article-sci__btn--payant:hover {
  background: #ff551e;
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .article-sci__header {
    padding: 1rem 1.1rem;
  }
  .article-sci__body {
    padding: 0 1.1rem 1.1rem;
  }
  .article-sci__titre {
    font-size: 1rem;
  }
  .article-sci__btns {
    flex-direction: column;
  }
  .article-sci__btn {
    width: 100%;
  }
}
