body {
  background-color: #f6f1e8;
  margin: 0;
  padding: 0;
  padding-top: 70px;
  font-family: Andale Mono, monospace;
  color: #222;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.navbar {
  position: fixed;
  top: 0;
  right: 0;
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  background: none;
  z-index: 2000;
}
.navbar a {
  text-decoration: none;
  color: #3a6cff;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.navbar a:hover,
.navbar a.actif {
  color: #3a6cff;
  border-bottom-color: #3a6cff;
}
.titre-page {
  color: #111;
  font-weight: normal;
  text-align: center;
  margin: 40px 0 10px 0;
}
.rituel {
  height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 1000;
}
.rituel em {
  font-style: italic;
  font-size: 2rem;
  color: #444;
}
.sous-texte {
  font-size: 1.2rem;
  color: #999;
  margin-top: 10px;
}
.journal {
  display: none;
  max-width: 620px;
  margin: 40px auto 80px auto;
  padding: 0 18px;
}
.page-journal {
  position: relative;
  background: #fbf7ef;
  color: #111;
  padding: 56px 46px;
  border-radius: 2px;
  line-height: 1.75;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}
.entree {
  display: none;
  animation: apparition 0.5s ease;
}
.date {
  color: #8a8a8a;
  font-size: 0.8rem;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}
.page-journal p {
  margin: 0 0 18px 0;
}
.nav-cote {
  position: absolute;
  top: 50%;
  background: none;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.45);
  padding: 14px 12px;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.15s ease;
}
.nav-cote-gauche {
  left: -110px;
  transform: translateY(-50%);
}
.nav-cote-droit {
  right: -110px;
  left: auto;
  transform: translateY(-50%);
}
.nav-cote:hover {
  color: rgba(0,0,0,0.75);
}
.nav-cote:active {
  transform: translateY(1px);
}
.feuilleter {
  display: inline-block;
  font-family: inherit;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.45);
  padding: 14px 12px;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.15s ease;
  background: none;
  border: none;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.feuilleter:hover {
  color: rgba(0,0,0,0.75);
}
.feuilleter:active {
  transform: translateY(1px);
}
.bas {
  text-align: center;
  margin-top: 22px;
}
@keyframes apparition {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.footer {
  margin-top: auto;
  padding: 40px 0 20px 0;
  font-size: 0.75rem;
  color: #8a8a8a;
  text-align: center;
  letter-spacing: 0.05em;
}