

:root {
  --gold: #c9a227;
  --gold-light: #e8c874;
  --gold-dim: rgba(201, 162, 39, 0.35);
  --ink: #0b0a08;
  --cream: #f3e9d2;
}

* {
  margin: 0;
  padding: 0;
  font-family: 'Lora', serif;
  box-sizing: border-box;
}

.title-separateur {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 160px;
  animation: fadeIn 1.5s ease forwards;
}

.title {
  font-size: 3.5em;
  font-weight: 500;
  letter-spacing: 5px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  position: relative;
  line-height: 1;
}

.line {
  display: block;
  width: 100px;
  height: 1px;
  background-color: var(--gold-dim);
  margin: 0 20px;
  align-self: center;
  animation: fadeInLine 1.5s ease forwards;
}

.nombre-romain {
  color: transparent;
  -webkit-text-stroke: 1px var(--gold-light);
  font-style: italic;
  font-weight: 400;
  margin: 0 15px;
  line-height: 1;
}

.edition-text {
  color: var(--cream);
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1;
}

.subtitle {
  font-size: 1.8em;
  color: var(--gold-light);
  font-style: italic;
  font-weight: 400;
  margin-top: 15px;
  padding-bottom: 40px;
  animation: fadeInUp 2s ease forwards;
}

@media (max-width: 767px) {
  .title-separateur {
    margin-top: 82px;
  }

  .title {
    font-size: 1.8em;
    letter-spacing: 2px;
    flex-wrap: nowrap;
  }

  .line {
    width: 36px;
    margin: 0 8px;
  }

  .nombre-romain {
    font-size: 1.5em;
    margin: 0 6px;
  }

  .edition-text {
    font-size: 0.72em;
    letter-spacing: 1px;
    margin-left: 4px;
  }

  .subtitle {
    font-size: 1rem;
    padding-bottom: 20px;
    margin-top: 8px;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInLine {
  from { width: 0; opacity: 0; }
  to { width: 100px; opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}