/* ------------------------------------ *\
  CONTENTS
\* ------------------------------------ */

/**
 * CONTENTS..............You’re reading it!
 * SÉPARATEUR .............................
*/

/* ------------------------------------ *\
  ==SÉPARATEUR
\* ------------------------------------ */
.sep {
  max-width: var(--max);
  margin: clamp(72px, 10vw, 132px) auto clamp(28px, 4vw, 48px);
  padding-inline: var(--pad);
}

.sep-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}

.sep-left {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
}

.sep-picto {
  width: auto;
  height: clamp(32px, 3.4vw, 42px);
  flex-shrink: 0;
  fill: var(--noir);
  display: block;
}

.sep-label {
  font-family: var(--font-medium);
  font-size: 1rem;
  white-space: nowrap;
}

.sep-titre {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-align: right;
}

.sep-line {
  margin-top: 22px;
}

.sep-line span {
  display: block;
  height: 1px;
  background: var(--noir);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.9s var(--ease);
}

.sep.in .sep-line span {
  transform: scaleX(1);
}

.sep-chapo {
  margin: 22px 0 0 auto;
  max-width: 56ch;
  text-align: right;
  font-family: var(--font-medium);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.45;
}

@media (max-width: 760px) {
  .sep-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .sep-titre {
    text-align: left;
  }

  .sep-chapo {
    text-align: left;
    margin-left: 0;
  }
}
