/*description de biochimie métabolique/
/* Cartes */
main .Cours{
    position: relative;
    top: 235px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.titre{
    background-color: transparent;
    width: 100%;
}
.titre h1 {
  margin: 20px;
  text-align: center;
  justify-content: center;
  font-size: 2rem;
  color: #2a9d8f;
}
.titre p {
  text-align: center;
  font-size: 1.1rem;
  color: rgb(65, 119, 118)
}
.cardO {
  background: white;
  width: 900px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  text-align: justify;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.cardO h2 {
  color: #4a69bd;
  margin-bottom: 1rem;
  border-left: 5px solid #60a3bc;
  padding-left: 0.5rem;
}

.cardO ul, .cardO ol {
  margin-left: 1.2rem;
  text-align: justify;

}

.cardO li {
  margin-bottom: 0.6rem;
}
.plan {
      max-width: 800px;
      margin: 2rem auto;
      padding: 0 1rem;
    }

    .chapter-btn {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      background: #60a3bc;
      color: white;
      font-size: 1.1rem;
      font-weight: bold;
      padding: 1rem;
      margin: 0.5rem 0;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
      text-align: left;
    }
    .chapter-btn a{
        color: white;
        list-style: none;
        text-decoration: none;
 }
    .chapter-btn:hover {
      background: #4a69bd;
    }

    .arrow {
      transition: transform 0.3s;
    }

    .rotate {
      transform: rotate(90deg);
    }

    .content {
      max-height: 0;
      overflow: hidden;
      background: white;
      padding: 0 1.5rem;
      margin-bottom: 0.5rem;
      border-radius: 8px;
      box-shadow: 0 3px 8px rgba(0,0,0,0.1);
      text-align: justify;
      transition: max-height 0.4s ease-out, padding 0.3s ease-out;
    }

    .content.open {
      padding: 1rem 1.5rem;
      max-height: 500px;
      transition: max-height 0.6s ease-in, padding 0.3s ease-in;
    }
    