/* Reset léger, typographie de base, utilitaires d'accessibilité. */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: clamp(16px, .35vw + 15px, 19px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, figure, ol, ul, address { margin: 0; padding: 0; }
ol, ul { list-style: none; }
address { font-style: normal; }

a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
}
.skip:focus { top: 12px; }

/* Titres et grands textes : graisse 500 (la hiérarchie passe par la graisse d'une seule famille, Bricolage Grotesque) */
.scene__title, .scene__lead, .hero__title, .hero__lead, .tl__time, .tl__body h3, .lieu__addr,
.card__kind, .menu__list a, .faq summary, .photoapp__title, .intro__cap {
  font-family: var(--font-display);
  font-weight: 500;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .8em;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 2.2em;
  height: 2px;
  background: var(--display);
}

.scene__title {
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: .98;
  letter-spacing: -.01em;
  color: var(--display);
  text-wrap: balance;
  width: fit-content;
  max-width: 100%;
}

.scene__title--long { font-size: clamp(2.4rem, 6.4vw, 5.6rem); line-height: 1.04; }

.scene__lead {
  max-width: 44ch;
  font-size: clamp(1.1rem, 1.3vw + .6rem, 1.5rem);
  line-height: 1.45;
  color: var(--ink);
}

/* Lettre par lettre (voir js/split.js) */
.w { display: inline-block; white-space: nowrap; perspective: 700px; }
.c { display: inline-block; transform-origin: 0 100%; }
/* L'esperluette suit la police et la couleur du nom, comme dans la réf */
.amp { font: inherit; color: inherit; }
