/* Vitrine desaint.org (13/10/2026) - palette minuit et or de De Saint Paris, polices locales. */
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-300-latin.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 500; font-style: normal; font-display: swap; src: url('/assets/fonts/cormorant-garamond-normal-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 300; font-style: italic; font-display: swap; src: url('/assets/fonts/cormorant-garamond-italic-300-latin.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-weight: 400; font-style: italic; font-display: swap; src: url('/assets/fonts/cormorant-garamond-italic-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro'; font-weight: 300; font-style: normal; font-display: swap; src: url('/assets/fonts/crimson-pro-normal-300-latin.woff2') format('woff2'); }
@font-face { font-family: 'Crimson Pro'; font-weight: 400; font-style: normal; font-display: swap; src: url('/assets/fonts/crimson-pro-normal-400-latin.woff2') format('woff2'); }

:root {
  --minuit: #0b0d14;
  --minuit-2: #141826;
  --or: #c9a84c;
  --or-pale: #e6d3a0;
  --ivoire: #efe8da;
  --ivoire-dim: rgba(239, 232, 218, .62);
  --halo: rgba(201, 168, 76, .16);
  --fondu: 900ms;
}
.vitrine[data-teinte="pourpre"] { --halo: rgba(150, 70, 140, .20); }
.vitrine[data-teinte="cyan"]    { --halo: rgba(60, 150, 170, .18); }
.vitrine[data-teinte="ivoire"]  { --halo: rgba(239, 232, 218, .12); }

* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  background: var(--minuit);
  color: var(--ivoire);
  font-family: 'Crimson Pro', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.vitrine {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: clamp(24px, 5vw, 56px) clamp(16px, 6vw, 72px);
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, var(--halo), transparent 70%),
    linear-gradient(180deg, var(--minuit-2), var(--minuit) 70%);
  transition: background var(--fondu) ease;
}

.tete { text-align: center; }
.marque {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px);
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--or);
  padding-left: .42em; /* compense l'espacement final pour un centrage optique */
}
.devise {
  margin-top: 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 16px);
  color: var(--ivoire-dim);
}

.scenes {
  align-self: center;
  justify-self: center;
  width: min(100%, 620px);
  display: grid;
  gap: 72px;
  padding: 40px 0;
}
.scene { text-align: center; }
/* Défilement (JS) : toutes les scènes dans la même case, une seule visible ; les autres restent dans le DOM. */
.defile .scenes { gap: 0; }
.defile .scene {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  /* Sortie : 0,5 s, puis masquée. L'entrée attend la fin de la sortie : jamais deux scènes visibles à la fois. */
  transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.defile .scene.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .7s ease .55s, transform .7s ease .55s, visibility 0s linear .55s;
}
.scene__surtitre {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--or-pale);
  opacity: .8;
}
.scene__titre {
  margin: 14px 0 22px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(40px, 8vw, 84px);
  line-height: 1.02;
  color: var(--ivoire);
  overflow-wrap: break-word;
}
.scene__texte {
  margin: 0 auto;
  max-width: 34em;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--ivoire-dim);
  text-align: justify;
  text-align-last: center;
  hyphens: none;
  -webkit-hyphens: none;
}
.scene__lien {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  letter-spacing: .12em;
  color: var(--or);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 168, 76, .45);
  transition: color .3s ease, border-color .3s ease;
}
.scene__lien:hover, .scene__lien:focus-visible { color: var(--or-pale); border-color: var(--or-pale); outline: none; }

.points:empty { display: none; }
.points {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 28px 0 18px;
}
.points button {
  width: 32px; height: 32px;
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
}
.points button::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(239, 232, 218, .28);
  transition: background .3s ease, transform .3s ease;
}
.points button[aria-current="true"]::before { background: var(--or); transform: scale(1.35); }
.points button:focus-visible { outline: 1px solid var(--or); outline-offset: -6px; border-radius: 50%; }

.pied {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 13px;
  letter-spacing: .24em;
  color: rgba(239, 232, 218, .38);
}

@media (prefers-reduced-motion: reduce) {
  .vitrine, .defile .scene, .defile .scene.active { transition: none; }
}
