/* SYSTÈME
   Grille : 12 colonnes, marge --m = max(24px, 3,4vw), gouttière --g = 1vw. Tout bloc commence et finit sur une colonne.
   Échelle typographique (6 tailles, aucune autre) : display, h2, h3, lead, corps, petit.
   Espacements : multiples de 8 px. Photos : un seul traitement (étalonnage rouille, grain, flou de bougé), trois intensités.
   Titres : Fragment Glare Light, toujours en romain. Interface : police système Apple. */
@font-face {
  font-family: 'Glare';
  src: url('fonts/fragment-glarelight.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --fond: #170703;
  --fond-2: #1f0b05;
  --blanc: #ffffff;
  --t2: rgba(255, 255, 255, 0.74);
  --t3: rgba(255, 255, 255, 0.5);
  --sep: rgba(255, 255, 255, 0.14);
  --peche: #f6c2a6;
  --jaune: #f4c822;
  --encre: #1c1714;
  --sf:
    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Glare', 'Times New Roman', serif;
  --m: max(24px, 3.4vw);
  --g: 1vw;
  --col: calc((100vw - 2 * var(--m) - 11 * var(--g)) / 12);
  --t-display: clamp(80px, 10vw, 184px);
  --t-h2: clamp(40px, 4.4vw, 80px);
  --t-h3: clamp(26px, 2.2vw, 40px);
  --t-lead: clamp(18px, 1.39vw, 24px);
  --t-corps: clamp(15px, 1.1vw, 18px);
  --t-petit: 13px;
  --barre: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  background: var(--fond);
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--blanc);
  font-family: var(--sf);
  font-size: var(--t-corps);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 1.5px solid var(--peche);
  outline-offset: 3px;
}
.grille {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  padding-left: max(var(--m), env(safe-area-inset-left, 0px));
  padding-right: max(var(--m), env(safe-area-inset-right, 0px));
}
.serif {
  font-family: var(--serif);
  font-weight: 300;
}
.petit {
  font-size: var(--t-petit);
  line-height: 1.45;
  color: var(--t3);
}
.verre {
  background: rgba(28, 12, 6, 0.36);
  -webkit-backdrop-filter: blur(30px) saturate(140%);
  backdrop-filter: blur(30px) saturate(140%);
  border: 0.5px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.26);
}

/* curseur : un point, un anneau qui suit. Rien d'autre. */
.c-point,
.c-anneau {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.bouge .c-point,
.bouge .c-anneau {
  opacity: 1;
}
.c-point {
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: #fff;
}
.c-anneau {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition:
    opacity 0.3s,
    width 0.5s var(--ease),
    height 0.5s var(--ease),
    margin 0.5s var(--ease),
    border-color 0.3s;
}
.c-anneau.sur {
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-color: var(--peche);
}
@media (pointer: fine) {
  .curseur,
  .curseur a,
  .curseur button,
  .curseur input {
    cursor: none;
  }
}

/* barre */
.barre {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: calc(var(--barre) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  align-items: center;
  pointer-events: none;
}
.barre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 7, 3, 0.7), rgba(23, 7, 3, 0));
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.barre.pleine::before {
  opacity: 1;
}
.barre > * {
  position: relative;
  pointer-events: auto;
}
.wm {
  grid-column: 1 / 4;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  text-decoration: none;
  justify-self: start;
}
.barre .appel {
  grid-column: 10 / 13;
  justify-self: end;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--encre);
  background: #fff;
  border-radius: 99px;
  padding: 9px 18px;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.barre.pleine .appel {
  opacity: 1;
  transform: none;
}

/* scènes collantes */
.scene {
  position: relative;
}
.colle {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.photo {
  position: absolute;
  background-size: cover;
  background-position: center;
}

/* formulaire */
.form {
  display: flex;
  gap: 6px;
  padding: 5px;
  border-radius: 99px;
  align-items: center;
  width: 100%;
}
.form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.form input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  font: 400 16px var(--sf);
  padding: 0 18px;
  outline: none;
}
.form input::placeholder {
  color: var(--t3);
}
.form button {
  height: 46px;
  border: 0;
  border-radius: 99px;
  background: #fff;
  color: var(--encre);
  font: 600 15px var(--sf);
  padding: 0 22px;
  white-space: nowrap;
  transition: transform 0.5s var(--ease);
}
.form button:active {
  transform: scale(0.97) !important;
}
.mention {
  margin: 16px 0 0;
  padding-left: 4px;
}
.mention a {
  color: var(--t2);
}
.merci {
  margin: 16px 0 0;
  padding-left: 4px;
  font-size: 15px;
  color: var(--peche);
}
.merci:empty {
  display: none;
}

/* compteur à rouleaux */
.rouleaux {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  line-height: 1em;
  vertical-align: bottom;
}
.rouleau {
  display: block;
  width: 0.6em;
  text-align: center;
}
.rouleau > span {
  display: block;
  transition: transform 1.1s var(--ease);
}
.rouleau i {
  display: block;
  font-style: normal;
  height: 1em;
  line-height: 1em;
}

/* ============ 1 · OUVERTURE ============ */
#s1 {
  height: 200vh;
}
#s1 .photo {
  inset: -3%;
  background-image: url('img/ouverture.webp');
  will-change: transform, filter;
}
#s1 .voile {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(23, 7, 3, 0.62) 0%,
      rgba(23, 7, 3, 0.28) 50%,
      rgba(23, 7, 3, 0) 80%
    ),
    linear-gradient(
      180deg,
      rgba(23, 7, 3, 0.35) 0%,
      rgba(23, 7, 3, 0) 22%,
      rgba(23, 7, 3, 0) 70%,
      rgba(23, 7, 3, 0.45) 100%
    );
}
#s1 .noir {
  position: absolute;
  inset: 0;
  background: var(--fond);
  opacity: 0;
}
#s1 .cadre {
  position: absolute;
  inset: 0;
  padding-top: var(--barre);
  padding-bottom: 32px;
  grid-template-rows: 1fr auto;
}
#s1 .contenu {
  grid-column: 1 / 7;
  align-self: center;
  will-change: transform, opacity;
}
#s1 .sur-titre {
  margin: 0;
  font-size: var(--t-petit);
  color: var(--t2);
  letter-spacing: 0.01em;
}
#s1 h1 {
  margin: 8px 0 0 -0.05em;
  font-size: var(--t-display);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
#s1 h1 .mot-projet {
  display: inline-block;
  margin-right: 0.2em;
}
#s1 .lead {
  margin: 32px 0 0;
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--t2);
  max-width: 30em;
}
#s1 .lead b {
  color: #fff;
  font-weight: 500;
}
#s1 .bloc-form {
  margin-top: 40px;
  width: min(100%, calc(5 * var(--col) + 4 * var(--g)));
}
#s1 .pied {
  grid-column: 1 / 13;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 0.5px solid var(--sep);
}
#s1 .defiler {
  display: flex;
  align-items: center;
  gap: 12px;
}
#s1 .defiler i {
  width: 40px;
  height: 1px;
  background: var(--t3);
  position: relative;
  overflow: hidden;
}
#s1 .defiler i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-100%);
  animation: file 2.4s var(--ease) infinite;
}
@keyframes file {
  60%,
  100% {
    transform: translateX(100%);
  }
}
.entre {
  opacity: 0;
  transform: translateY(16px);
}
.ouvert .entre {
  animation: entre 1.2s var(--ease) forwards;
  animation-delay: calc(0.1s + var(--d, 0) * 0.09s);
}
@keyframes entre {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ============ 2 · HISTOIRE ============ */
#s2 {
  height: 300vh;
}
#s2 .colle {
  background: var(--fond);
}
#s2 .cadre {
  position: absolute;
  inset: 0;
  align-items: center;
}
#s2 .texte {
  grid-column: 1 / 7;
}
#s2 .histoire {
  margin: 0;
  font-size: clamp(30px, 3.05vw, 56px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}
#s2 .mot {
  opacity: 0.16;
  transition: opacity 0.6s var(--ease);
}
#s2 .mot.on {
  opacity: 1;
}
#s2 .mot.fin {
  color: var(--peche);
}
#s2 .signe {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
#s2 .signe.on {
  opacity: 1;
  transform: none;
}
#s2 .signe b {
  font-weight: 500;
  font-size: var(--t-corps);
}
#s2 .image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: calc(var(--m) + 7 * (var(--col) + var(--g)));
  overflow: hidden;
  clip-path: inset(var(--clip, 100%) 0 0 0);
}
#s2 .image .photo {
  inset: 0;
  background-image: url('img/histoire.webp');
  transform: scale(var(--zoom, 1.12));
  will-change: transform;
}

/* ============ 3 · CE QUI COMPTE ============ */
#s3 {
  height: 360vh;
}
#s3 .colle {
  background: var(--fond);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--barre);
}
#s3 .tete {
  align-items: end;
  margin-bottom: 48px;
}
#s3 h2 {
  grid-column: 1 / 10;
  white-space: nowrap;
  margin: 0;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
#s3 .compteur {
  grid-column: 10 / 13;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
  font-variant-numeric: tabular-nums;
  padding-bottom: 8px;
}
#s3 .compteur i {
  width: calc(var(--col));
  height: 1px;
  background: var(--sep);
  position: relative;
}
#s3 .compteur i b {
  position: absolute;
  inset: 0;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0.25);
}
#s3 .rail {
  display: flex;
  gap: var(--g);
  padding-left: max(var(--m), env(safe-area-inset-left, 0px));
  will-change: transform;
}
.carte {
  flex: 0 0 calc(4 * var(--col) + 3 * var(--g));
}
.carte .vue {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
}
.carte .vue .photo {
  inset: 0;
  transition: transform 1.2s var(--ease);
}
.carte:hover .vue .photo {
  transform: scale(1.035);
}
.carte .ligne {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.carte h3 {
  margin: 8px 0 0;
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.carte p {
  margin: 12px 0 0;
  color: var(--t2);
  max-width: 34em;
}

/* ============ 4 · IL GUIDE ============ */
#s4 {
  height: 300vh;
}
#s4 .colle {
  background: var(--fond);
}
#s4 .titre {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--barre) + 40px);
  text-align: center;
}
#s4 .titre > div {
  grid-column: 3 / 11;
}
#s4 h2 {
  margin: 0;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
#s4 .titre p {
  margin: 24px auto 0;
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--t2);
  max-width: 32em;
}
#s4 .zone {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40px;
  align-items: end;
}
#s4 .note {
  grid-row: 1;
  align-self: center;
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
#s4 .note.on {
  opacity: 1;
  transform: none;
}
#s4 .note b {
  display: block;
  font-weight: 500;
  font-size: var(--t-corps);
  color: #fff;
  margin-bottom: 8px;
}
#s4 .note::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--peche);
  margin-bottom: 16px;
}
#s4 .note.g {
  grid-column: 1 / 3;
}
#s4 .note.d {
  grid-column: 11 / 13;
}
#s4 .ecran {
  grid-column: 3 / 11;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -40px rgba(0, 0, 0, 0.8),
    0 0 0 0.5px rgba(255, 255, 255, 0.14);
  container-type: inline-size;
  transform-origin: 50% 100%;
  will-change: transform, filter;
}
.mini {
  position: absolute;
  inset: 0;
  background: url('img/ouverture.webp') center/cover;
}
.mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(23, 7, 3, 0.55),
    rgba(23, 7, 3, 0.25) 50%,
    rgba(23, 7, 3, 0.35)
  );
}
.mini .b {
  position: absolute;
  z-index: 1;
  border-radius: 1.4cqw;
  opacity: var(--o, 1);
  transform: translateY(var(--y, 0));
  transition:
    opacity 0.7s var(--ease),
    transform 0.9s var(--ease);
}
.mini .side {
  left: 1.4cqw;
  top: 1.4cqw;
  bottom: 1.4cqw;
  width: 14.6cqw;
}
.mini .g1 {
  left: 18.2cqw;
  top: 2.8cqw;
  width: 50cqw;
}
.mini .g1 b {
  display: block;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 3.6cqw;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
.mini .g1 span {
  display: block;
  font-size: 1.1cqw;
  color: var(--t2);
  margin-top: 0.6cqw;
}
.mini .c1 {
  left: 18.2cqw;
  top: 13.6cqw;
  width: 26.4cqw;
  height: 23.4cqw;
}
.mini .c2 {
  left: 18.2cqw;
  top: 38.4cqw;
  width: 26.4cqw;
  height: 15.2cqw;
}
.mini .c3 {
  left: 45.6cqw;
  top: 13.6cqw;
  width: 25cqw;
  height: 40cqw;
}
.mini .c4 {
  left: 71.6cqw;
  top: 13.6cqw;
  width: 27cqw;
  height: 12.4cqw;
}
.mini .c5 {
  left: 71.6cqw;
  top: 27.4cqw;
  width: 27cqw;
  height: 12.4cqw;
}
.mini .c6 {
  left: 71.6cqw;
  top: 41.2cqw;
  width: 27cqw;
  height: 12.4cqw;
}
.mini .l {
  position: absolute;
  left: 1.4cqw;
  height: 0.7cqw;
  border-radius: 99cqw;
  background: rgba(255, 255, 255, 0.3);
}
.mini .y {
  position: absolute;
  right: 1.4cqw;
  top: 1.3cqw;
  width: 5cqw;
  height: 1.3cqw;
  border-radius: 99cqw;
  background: var(--jaune);
}
.mini .t {
  position: absolute;
  left: 1.4cqw;
  top: 3.6cqw;
  font-size: 2cqw;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.mini .opt {
  position: absolute;
  left: 1.4cqw;
  right: 1.4cqw;
  height: 2.6cqw;
  border-radius: 0.7cqw;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1cqw;
  font-size: 1cqw;
  color: var(--t2);
}
.mini .opt.on {
  background: rgba(255, 255, 255, 0.92);
  color: var(--encre);
  font-weight: 600;
}

/* ============ 5 · INSCRIPTION ============ */
#s5 {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
}
#s5 .image {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(var(--m) + 6 * var(--col) + 5 * var(--g));
  overflow: hidden;
}
#s5 .image .photo {
  inset: 0;
  background-image: url('img/inscription.webp');
}
#s5 .image .voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 7, 3, 0) 50%, rgba(23, 7, 3, 0.55) 100%);
}
#s5 .numero {
  position: absolute;
  left: max(var(--m), env(safe-area-inset-left, 0px));
  bottom: 40px;
  margin: 0;
  font-size: var(--t-display);
  line-height: 1;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
#s5 .numero .mot-projet {
  margin-right: 0.2em;
}
#s5 .cadre {
  position: relative;
  align-items: center;
  padding-block: calc(var(--barre) + 48px) 96px;
}
#s5 .droite {
  grid-column: 8 / 13;
}
#s5 h2 {
  margin: 16px 0 0;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
#s5 .age {
  margin: 48px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--t-lead);
}
#s5 .age input {
  width: 72px;
  height: 44px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #fff;
  font: 300 var(--t-h3) var(--serif);
  text-align: center;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
  transition: border-color 0.3s;
}
#s5 .age input:focus {
  border-bottom-color: var(--peche);
}
#s5 .age input::-webkit-inner-spin-button,
#s5 .age input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#s5 .age input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
#s5 .age-note {
  margin: 8px 0 0;
}
#s5 .invite {
  margin: 40px 0 16px;
  color: var(--t2);
}
footer {
  position: relative;
  border-top: 0.5px solid var(--sep);
  padding-block: 24px calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--fond);
  align-items: center;
}
footer span {
  grid-column: 1 / 7;
}
footer nav {
  grid-column: 7 / 13;
  justify-self: end;
  display: flex;
  gap: 24px;
}
footer a {
  text-decoration: none;
  color: var(--t2);
}
footer a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  #s1 .contenu,
  #s2 .texte {
    grid-column: 1 / -1;
  }
  #s2 .image {
    display: none;
  }
  #s5 .image {
    position: relative;
    width: auto;
    height: 60vh;
  }
  #s5 {
    display: block;
  }
  #s5 .droite {
    grid-column: 1 / -1;
  }
  #s4 .note {
    display: none;
  }
  #s4 .ecran {
    grid-column: 1 / -1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .entre {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  #s1 .defiler i::after {
    animation: none;
  }
  .rouleau > span,
  #s2 .mot,
  .carte .vue .photo {
    transition: none;
  }
}

/* Styles sortis des attributs style (CSP sans 'unsafe-inline'). */
.v1 {
  --d: 0;
}
.v2 {
  --d: 1;
}
.v3 {
  --d: 2;
}
.v4 {
  --d: 3;
}
.v5 {
  --d: 5;
}
.v6 {
  background-image: url('img/sport.webp');
}
.v7 {
  background-image: url('img/tete.webp');
}
.v8 {
  background-image: url('img/argent.webp');
}
.v9 {
  background-image: linear-gradient(180deg, #5a2412 0%, #2a0f07 100%);
}
.v10 {
  top: 2cqw;
  width: 7cqw;
}
.v11 {
  top: 5cqw;
  width: 9cqw;
}
.v12 {
  top: 7.4cqw;
  width: 8cqw;
}
.v13 {
  top: 9.8cqw;
  width: 7cqw;
}
.v14 {
  top: 13.4cqw;
  width: 6cqw;
}
.v15 {
  top: 15.8cqw;
  width: 8cqw;
}
.v16 {
  top: 1.6cqw;
  width: 7cqw;
}
.v17 {
  top: 8.6cqw;
}
.v18 {
  top: 12cqw;
}
.v19 {
  top: 15.4cqw;
}
.v20 {
  top: 1.6cqw;
  width: 6cqw;
}
.v21 {
  top: 5cqw;
  width: 6cqw;
  height: 2cqw;
}
.v22 {
  top: 5cqw;
  left: 9cqw;
  width: 6cqw;
  height: 2cqw;
}
.v23 {
  top: 5cqw;
  left: 16.6cqw;
  width: 6cqw;
  height: 2cqw;
}
.v24 {
  top: 4.4cqw;
  width: 21cqw;
  height: 3.6cqw;
}
.v25 {
  top: 9cqw;
  width: 21cqw;
  height: 3.6cqw;
}
.v26 {
  top: 14.6cqw;
  width: 21cqw;
  height: 3.6cqw;
}
.v27 {
  top: 19.2cqw;
  width: 21cqw;
  height: 3.6cqw;
}
.v28 {
  top: 1.6cqw;
  width: 5cqw;
}
.v29 {
  top: 4.4cqw;
  width: 18cqw;
}
.v30 {
  top: 6.6cqw;
  width: 16cqw;
}
.v31 {
  top: 4.4cqw;
  width: 3cqw;
  height: 4.6cqw;
}
.v32 {
  top: 4.6cqw;
  left: 5.6cqw;
  width: 14cqw;
}
.v33 {
  top: 4.4cqw;
  width: 6cqw;
  height: 2.2cqw;
}
.v34 {
  top: 4.4cqw;
  left: 11cqw;
  width: 8cqw;
  height: 2.2cqw;
}

/* Champ piège pour les robots : hors de l'écran, ignoré par les lecteurs d'écran. */
.pot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.merci.erreur {
  color: #ffb59a;
}

/* ============ PAGES SIMPLES (confirmation, désinscription, merci, 404, pages légales) ============ */
.page {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--fond);
}
.page .entete {
  position: relative;
  z-index: 5;
  height: var(--barre);
  align-items: center;
}
.page .entete .wm {
  grid-column: 1 / 4;
}
.page main {
  flex: 1;
  position: relative;
}
.split {
  position: relative;
  min-height: calc(100vh - var(--barre) - 70px);
  display: grid;
  align-items: center;
}
.split .image {
  position: absolute;
  top: calc(-1 * var(--barre));
  bottom: 0;
  left: 0;
  width: calc(var(--m) + 6 * var(--col) + 5 * var(--g));
  overflow: hidden;
}
.split .image .photo {
  inset: 0;
}
.split .image .voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 7, 3, 0.35) 0%, rgba(23, 7, 3, 0) 30%);
}
.split .cadre {
  position: relative;
  padding-block: 64px 96px;
}
.split .droite {
  grid-column: 8 / 13;
}
.split h1 {
  margin: 16px 0 0;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.split .lead {
  margin: 24px 0 0;
  font-size: var(--t-lead);
  line-height: 1.45;
  color: var(--t2);
}
.split .actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}
.bouton {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 99px;
  background: #fff;
  color: var(--encre);
  font: 600 15px var(--sf);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.5s var(--ease),
    opacity 0.3s;
}
.bouton:active {
  transform: scale(0.97);
}
.bouton:disabled {
  opacity: 0.6;
  cursor: default;
}
.bouton.discret {
  background: transparent;
  color: #fff;
  border: 0.5px solid rgba(255, 255, 255, 0.4);
}
.etat[hidden] {
  display: none;
}
.photo.p-histoire {
  background-image: url('img/histoire.webp');
}
.photo.p-inscription {
  background-image: url('img/inscription.webp');
}
.photo.p-ouverture {
  background-image: url('img/ouverture.webp');
}
.photo.p-tete {
  background-image: url('img/tete.webp');
}

.legal .cadre {
  padding-block: 64px 120px;
}
.legal .texte {
  grid-column: 1 / 8;
}
.legal h1 {
  margin: 0 0 48px;
  font-size: var(--t-h2);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.legal h2 {
  margin: 48px 0 12px;
  font-family: var(--serif);
  font-weight: 300;
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.legal p,
.legal li {
  color: var(--t2);
  max-width: 38em;
}
.legal p {
  margin: 0 0 12px;
}
.legal ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}
.legal a {
  color: #fff;
}
.legal .a-completer {
  color: var(--jaune);
}
.legal .maj {
  margin-top: 56px;
}
.page footer {
  margin-top: 0;
}

@media (max-width: 900px) {
  .split .image {
    position: relative;
    top: 0;
    width: auto;
    height: 42vh;
  }
  .split {
    display: block;
    min-height: 0;
  }
  .split .droite,
  .legal .texte {
    grid-column: 1 / -1;
  }
}

/* Téléphone : le site est pensé pour l'ordinateur, ceci garde la page lisible et sans débordement. */
.wm,
.barre .appel,
.form button {
  white-space: nowrap;
}
@media (max-width: 700px) {
  .wm,
  .page .entete .wm {
    grid-column: 1 / 7;
  }
  .barre .appel {
    grid-column: 7 / 13;
  }
  #s1 .contenu {
    grid-column: 1 / -1;
  }
  #s1 .bloc-form {
    width: 100%;
  }
  #s3 .tete {
    margin-bottom: 32px;
  }
  #s3 h2 {
    grid-column: 1 / -1;
    white-space: normal;
  }
  #s3 .compteur {
    display: none;
  }
  #s3 .rail {
    gap: 12px;
  }
  .carte {
    flex-basis: 78vw;
  }
  #s5 .numero {
    font-size: clamp(64px, 20vw, 120px);
  }
  footer span,
  footer nav {
    grid-column: 1 / -1;
    justify-self: start;
  }
  footer nav {
    margin-top: 8px;
    flex-wrap: wrap;
  }
}
