/*
 * GOOD SMOOTHIE — base : remise à zéro, typographie, mise en page,
 * éléments graphiques repris des visuels officiels.
 */

/* ---------- Remise à zéro ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1.5px; }
p, h1, h2, h3, h4, li, dd { overflow-wrap: break-word; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--green); color: var(--white); }

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

/* ---------- Typographie ---------- */
.display, .h1, .h2, .h3 {
  font-weight: var(--fw-extrabold);
  color: var(--green);
  letter-spacing: var(--ls-heading);
  line-height: var(--lh-heading);
}
.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}
/* Titre « affiche » : ExtraBold italique des visuels officiels, en accent ponctuel */
.display--poster { font-style: italic; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
.lead {
  font-size: var(--fs-lead);
  color: var(--ink-muted);
  line-height: 1.55;
  max-width: 38ch;
}
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-muted); }
.eyebrow {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--ink-muted);
}
/* Numérotation éditoriale, comme les sections de la charte (« 01 — ») */
.section-index {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--orange-deep);
  letter-spacing: 0.04em;
}
.section-index::after {
  content: "";
  width: 2.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.price {
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Éléments graphiques des visuels officiels ---------- */

/* Pastille orange derrière un mot (« OUVERTS ! », « over neehh »).
   Texte blanc sur orange : 3,15:1, réservé aux grands titres (≥ 24 px). */
.mark {
  display: inline-block;
  padding: 0.02em 0.34em 0.08em;
  margin: 0 -0.06em;
  border-radius: 0.42em;
  background: var(--orange);
  color: var(--white);
  transform: rotate(-2deg);
}
/* Trait de pinceau sous un titre */
.swoosh {
  display: block;
  width: min(14rem, 60%);
  height: auto;
  margin-top: var(--sp-3);
  color: var(--orange);
}
.swoosh--green { color: var(--green); }
/* Éclats (trois traits) près d'un élément mis en avant */
.rays {
  position: absolute;
  width: 2.75rem;
  height: auto;
  color: var(--orange);
  pointer-events: none;
}
/* Formes organiques des coins d'affiche (vert en haut, orange en bas) */
.blob {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 58% 42% 47% 53% / 62% 45% 55% 38%;
}
.blob--green { background: var(--green); }
.blob--orange { background: var(--orange); }

/* ---------- Mise en page ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section-y); }
.stack > * + * { margin-top: var(--stack, var(--sp-4)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--gap, var(--sp-3)); align-items: center; }
.grid-auto {
  display: grid;
  gap: var(--gap, var(--sp-5));
  grid-template-columns: repeat(auto-fill, minmax(min(var(--min, 15rem), 100%), 1fr));
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 100;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--green);
  color: var(--white);
  font-weight: var(--fw-semibold);
}
.skip-link:focus-visible { top: var(--sp-4); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.stack--tight { --stack: var(--sp-2); }
