/* Diamant Jet Tours : jetons, polices, remise à zéro, accessibilité. */
@font-face {
  font-family: "Shrikhand";
  src: url("fonts/shrikhand-400.woff2?v=2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Chillax";
  src: url("fonts/Chillax-Variable.woff2?v=2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --magenta: #c4128c;
  --profond: #7e0a59;
  --blanc: #fff;
  --encre: #1b0f17;
  --gris: #5a4a54;
  --jaune: #ffd23c;
  --mer: #24466c;
  --titre: "Shrikhand", "Georgia", serif;
  --texte: "Chillax", "Trebuchet MS", sans-serif;
  --H: calc(100svh - var(--demobar-offset, 0px));
  --g: 16px;
  --plaque-bas: 76px;
  color-scheme: light;
}
@media (min-width: 600px) {
  :root { --g: max(16px, calc((100vw - 1180px) / 2)); --plaque-bas: 96px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--magenta);
  color: var(--blanc);
  font: 500 17px/1.4 var(--texte);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
a { color: inherit; }
img, svg { display: block; }
[hidden] { display: none !important; }
.nw { white-space: nowrap; }
html.fige, html.fige body { overflow: hidden; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--blanc); outline-offset: 3px; border-radius: 4px; }
.panneau :focus-visible, .plaque :focus-visible { outline-color: var(--magenta); }
.plaque.inverse :focus-visible { outline-color: var(--blanc); }
.question:focus-visible { outline: none; }

.evitement {
  position: fixed;
  z-index: 60;
  top: calc(var(--demobar-offset, 0px) + 8px);
  left: 8px;
  padding: 12px 18px;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}
.evitement:focus-visible { transform: none; }

/* Sans JavaScript : les sept écrans et le panneau se suivent, la page défile. */
html:not(.js) .question-zone { display: none; }
html:not(.js) .scene { height: auto; overflow: visible; }
html:not(.js) .decor { position: relative; height: 46svh; }
html:not(.js) .colonne { position: static; width: auto; background: none; }
html:not(.js) .fil { display: none; }
html:not(.js) .ecrans { overflow: visible; }
html:not(.js) .ecran { display: block; padding-bottom: 48px; }
html:not(.js) .panneau { position: static; transform: none; visibility: visible; }
.js .titre-sans-js { display: none; }
.titre-sans-js { font: 400 44px/1.05 var(--titre); padding: 24px 0 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
