/* ==================================================================
   VITRA WALLS — feuille de style
   1. Variables & base      5. Accueil : introduction (animation)
   2. Utilitaires           6. Accueil : sections
   3. Boutons & liens       7. Pages intérieures
   4. En-tête & pied        8. Animations d'apparition
   ================================================================== */

/* ------------------------------------------------------------------ */
/*  1. Variables & base                                                */
/* ------------------------------------------------------------------ */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --soft: #f5f5f3;
  --night: #0f0f13;

  /* Couleurs tirées des variantes du logo et du visuel */
  --blue: #5a9bd5;
  --red: #ef4b4f;
  --yellow: #f2e600;
  --pink: #e6007e;

  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 72px;
  --radius: 4px;
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

/* Pendant l'intro animée, la page ne défile pas : le scroll déclenche le spray */
html.is-locked,
html.is-locked body {
  overflow: hidden;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.is-hovering {
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3 {
  line-height: 1.1;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* ------------------------------------------------------------------ */
/*  2. Utilitaires                                                     */
/* ------------------------------------------------------------------ */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  padding: 0 6px;
  background: var(--ink);
  color: var(--paper);
  font-stretch: 112%;
}

.eyebrow--light .eyebrow__num {
  background: var(--pink);
}

.section-title {
  max-width: 18ch;
  margin-bottom: clamp(32px, 5vw, 56px);
  font-size: clamp(34px, 5.2vw, 72px);
  font-weight: 850;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-head .section-title {
  margin-bottom: 0;
}

.icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Images de remplacement : à remplacer par les vrais visuels */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: repeating-linear-gradient(-45deg, #f0f0ee 0 14px, #e6e6e3 14px 28px);
  color: #8a8a86;
}

.ph__initials {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  font-stretch: 125%;
  color: rgba(0, 0, 0, 0.18);
}

.ph__label {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  background: var(--paper);
  border: 1px dashed #b5b5b0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b67;
}

.tag {
  display: inline-block;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag--cover {
  background: var(--blue);
  color: var(--ink);
}

.tag--embrace {
  background: var(--yellow);
  color: var(--ink);
}

.tag--tell {
  background: var(--red);
  color: var(--ink);
}

.tag--guest {
  background: var(--ink);
  color: var(--paper);
}

/* ------------------------------------------------------------------ */
/*  3. Boutons & liens                                                 */
/* ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background-color 0.2s ease,
    color 0.2s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 5px 5px 0 var(--pink);
}

.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--pink);
}

.btn--outline {
  background: var(--paper);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn--small {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 14px;
}

.btn--large {
  min-height: 58px;
  padding: 16px 36px;
  font-size: 18px;
}

.btn:disabled,
.btn[aria-disabled='true'] {
  opacity: 0.45;
  pointer-events: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.link-arrow::after {
  content: '→';
  transition: transform 0.2s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/*  4. En-tête & pied de page                                          */
/* ------------------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  /* Fond plein : un backdrop-filter piégerait le menu mobile (position: fixed) dans l'en-tête */
  background: var(--paper);
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s ease,
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--line);
}

/* Sur l'accueil, l'en-tête n'apparaît qu'au lancement de l'animation */
.is-intro .site-header {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 var(--gutter);
}

.site-header__brand img {
  width: auto;
  height: 46px;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav__list {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  margin-inline: auto;
}

.site-nav__link {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav__link:hover::after,
.site-nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.site-nav__link--accent {
  color: var(--pink);
}

.site-nav__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.lang-switch__btn {
  min-width: 38px;
  height: 36px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.lang-switch__btn + .lang-switch__btn {
  border-left: 2px solid var(--ink);
}

.lang-switch__btn[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}

.lang-notice {
  padding: 6px var(--gutter);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.burger {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger__box {
  display: grid;
  gap: 6px;
  width: 28px;
  margin: auto;
}

.burger__box span {
  height: 3px;
  background: var(--ink);
  transition:
    transform 0.3s var(--ease),
    opacity 0.2s ease;
}

.burger[aria-expanded='true'] .burger__box span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger[aria-expanded='true'] .burger__box span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded='true'] .burger__box span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .burger {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 32px;
    padding: 32px var(--gutter) 48px;
    background: var(--paper);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease),
      visibility 0s linear 0.3s;
  }

  .menu-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s var(--ease);
  }

  .site-nav__list {
    flex-direction: column;
    gap: 6px;
    margin: 0;
  }

  .site-nav__link {
    display: block;
    padding: 10px 0;
    font-size: clamp(26px, 7vw, 40px);
    font-weight: 850;
    font-stretch: 115%;
    text-transform: uppercase;
  }

  .site-nav__link::after {
    height: 5px;
    right: auto;
    width: 60px;
  }

  .site-nav__tools {
    justify-content: space-between;
    padding-top: 24px;
    border-top: 2px solid var(--ink);
  }
}

.site-footer {
  background: var(--night);
  color: #f2f2f2;
  padding: clamp(56px, 7vw, 96px) var(--gutter) 28px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}

.site-footer__brand img {
  width: 180px;
  height: auto;
}

.site-footer__hashtag {
  margin-top: 16px;
  font-size: 22px;
  font-weight: 850;
  font-stretch: 115%;
  color: var(--yellow);
}

.site-footer__vitra {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
}

.site-footer__vitra::after {
  content: ' ↗';
}

.site-footer__title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a9aa2;
}

.site-footer__nav ul {
  display: grid;
  gap: 10px;
}

.site-footer__nav a,
.site-footer__legal a {
  text-decoration: none;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover {
  text-decoration: underline;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 2px solid #f2f2f2;
  border-radius: 50%;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.social a:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.social svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter p {
  margin-bottom: 14px;
  color: #c9c9cf;
  font-size: 15px;
}

.newsletter__row {
  display: flex;
  gap: 8px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid #f2f2f2;
  border-radius: var(--radius);
  background: transparent;
  color: #f2f2f2;
  font: inherit;
  font-size: 15px;
}

.newsletter input::placeholder {
  color: #9a9aa2;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin: clamp(40px, 6vw, 72px) auto 0;
  padding-top: 20px;
  border-top: 1px solid #2c2c33;
  font-size: 14px;
  color: #9a9aa2;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

@media (max-width: 960px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ */
/*  5. Accueil : introduction animée                                   */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 16px) var(--gutter) 32px;
}

.hero__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Le titre prend toute la largeur et le logo y est centré, comme le texte en dessous */
.hero__title {
  align-self: stretch;
}

.hero__logo {
  display: block;
  width: min(100%, 540px, 62vh);
  margin-inline: auto;
}

.hero__subtitle {
  margin-top: 8px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 750;
  font-stretch: 110%;
}

.hero__meta {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
}

.hero__meta li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.hero__visual {
  width: 100%;
}

/* Calques de l'animation : bombe 3D et gouttelettes de peinture */
.hero__bomb,
.hero__spray {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__bomb {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__bomb.is-ready {
  opacity: 1;
}

.hero.is-done .hero__bomb,
.hero.is-done .hero__spray {
  display: none;
}

/* Bouton pour passer l'animation d'arrivée */
.hero__skip {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  z-index: 3;
  display: none;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  animation: skip-in 0.5s 0.6s var(--ease) backwards;
}

.hero__skip::after {
  content: ' →';
}

.hero__skip:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero.is-ready:not(.is-done) .hero__skip {
  display: block;
}

@keyframes skip-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Tag « walls » derrière la bombe à l'arrivée sur le site */
.walls {
  --px: 0px;
  --py: 0px;
  --scale: 1;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: min(88vw, 150vh);
  pointer-events: none;
  transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py))) scale(var(--scale));
  transition:
    opacity 0.5s ease,
    --scale 0.6s ease;
}

.walls svg {
  width: 100%;
  height: auto;
}

.walls path {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* Chaque trait se dessine l'un après l'autre, comme un tag à la bombe */
.walls.is-drawn path {
  animation: tag-draw 0.45s cubic-bezier(0.6, 0, 0.3, 1) forwards;
  animation-delay: calc(0.2s + var(--i) * 60ms);
}

.walls.is-hidden {
  --scale: 0.92;
  opacity: 0;
}

@keyframes tag-draw {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@property --scale {
  syntax: '<number>';
  inherits: false;
  initial-value: 1;
}

/* Logo animé : apparaît à la place de la bombe, puis change de variante sans transition */
.logo {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.35s ease,
    transform 0.6s cubic-bezier(0.3, 1.5, 0.5, 1);
}

.logo.is-visible {
  opacity: 1;
  transform: none;
}

/* Sous-titre, dates, lieu et boutons arrivent juste après le logo */
.hero__intro > :not(.hero__title) {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.5s ease,
    transform 0.6s var(--ease);
}

.hero.is-revealed .hero__intro > :not(.hero__title) {
  opacity: 1;
  transform: none;
}

.hero.is-revealed .hero__subtitle {
  transition-delay: 0.25s;
}

.hero.is-revealed .hero__meta {
  transition-delay: 0.38s;
}

.hero.is-revealed .hero__actions {
  transition-delay: 0.5s;
}

/* Le bâtiment apparaît quand la bombe part vers le logo */
.building {
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateX(6%) scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.9s var(--ease);
}

.building.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 860px), (max-aspect-ratio: 9 / 10) {
  .hero {
    height: auto;
    min-height: 100svh;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 32px;
  }

  .hero__logo {
    width: min(78vw, 420px);
  }

  .walls {
    width: 96vw;
  }
}

/* ------------------------------------------------------------------ */
/*  6. Accueil : sections                                              */
/* ------------------------------------------------------------------ */

/* Concept */
.concept__quote {
  max-width: 22ch;
  margin-bottom: clamp(48px, 7vw, 96px);
  font-size: clamp(32px, 4.6vw, 66px);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.02em;
}

.intentions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.intention {
  position: relative;
  padding: 28px 28px 32px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.intention::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 10px;
  background: var(--accent);
}

.intention--cover {
  --accent: var(--blue);
}

.intention--embrace {
  --accent: var(--yellow);
}

.intention--tell {
  --accent: var(--red);
}

.intention__num {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.intention__title {
  margin: 6px 0 12px;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 900;
  font-stretch: 125%;
  text-transform: uppercase;
}

/* 1989 / 2029 */
.anniversary {
  background: var(--night);
  color: #f4f4f4;
}

.anniversary__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.anniversary__timeline {
  display: grid;
  gap: 8px;
}

.anniversary__timeline time {
  display: block;
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 800;
  font-stretch: 112%;
  color: var(--yellow);
}

.anniversary__timeline p {
  color: #c9c9cf;
}

.anniversary__gap {
  margin: 8px 0;
  padding-left: 20px;
  border-left: 3px dashed var(--pink);
  font-weight: 700;
  color: var(--pink);
  line-height: 3;
}

.anniversary__year {
  font-size: clamp(80px, 13vw, 190px);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.anniversary__year--past {
  color: transparent;
  -webkit-text-stroke: 2px #f4f4f4;
}

.anniversary__year--now {
  color: var(--pink);
}

.anniversary__forty {
  margin: 16px 0;
  max-width: 34ch;
  font-size: 18px;
  color: #c9c9cf;
}

.anniversary__forty strong {
  color: #fff;
}

.anniversary__figure {
  margin-top: clamp(48px, 7vw, 96px);
}

.anniversary__figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 40%;
}

.anniversary__figure figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: #9a9aa2;
}

/* Dispositifs */
.devices__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.device {
  padding: 28px 24px;
  background: var(--soft);
  border-bottom: 6px solid var(--accent);
}

.device--blue {
  --accent: var(--blue);
}

.device--yellow {
  --accent: var(--yellow);
}

.device--red {
  --accent: var(--red);
}

.device--pink {
  --accent: var(--pink);
}

.device__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.device h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
}

.device p {
  color: var(--muted);
}

/* Artistes */
.artists__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 20px;
}

.artist-card {
  display: block;
  text-decoration: none;
}

.artist-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.artist-card:hover .artist-card__img {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--card-accent, var(--ink));
}

.artist-card--cover {
  --card-accent: var(--blue);
}

.artist-card--embrace {
  --card-accent: var(--yellow);
}

.artist-card--tell {
  --card-accent: var(--red);
}

.artist-card--guest {
  --card-accent: var(--pink);
}

.artist-card--guest .artist-card__img {
  border-style: dashed;
}

.artist-card__name {
  margin-top: 8px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
}

.artist-card__country {
  color: var(--muted);
  font-size: 15px;
}

/* Dates clés */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 3px;
  background: var(--ink);
}

.timeline__item {
  position: relative;
  padding-top: 40px;
}

.timeline__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 21px;
  height: 21px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--paper);
}

.timeline__item--accent::before {
  background: var(--pink);
}

.timeline__date {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 850;
  font-stretch: 112%;
}

.timeline__label {
  color: var(--muted);
}

/* Infos pratiques rapides */
.quick-info {
  background: var(--soft);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  padding: 28px;
  background: var(--paper);
  border: 2px solid var(--ink);
}

.info-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
}

.info-card address {
  font-style: normal;
}

.hours {
  display: grid;
  gap: 14px;
}

.hours dt {
  font-size: 22px;
  font-weight: 800;
}

.hours dd {
  color: var(--muted);
}

/* Appel à l'action final */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 13vw, 180px) var(--gutter);
  background: var(--yellow);
  text-align: center;
}

.cta__tag {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1100px, 120vw);
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%) rotate(-6deg);
  opacity: 0.14;
  pointer-events: none;
}

.cta__inner {
  position: relative;
}

.cta__title {
  max-width: 16ch;
  margin: 0 auto 40px;
  font-size: clamp(36px, 6vw, 84px);
  font-weight: 900;
  font-stretch: 118%;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

@media (max-width: 1100px) {
  .devices__grid,
  .artists__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .intentions,
  .info-grid,
  .anniversary__grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-left: 40px;
  }

  .timeline::before {
    left: 9px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 3px;
    height: auto;
  }

  .timeline__item {
    padding-top: 0;
  }

  .timeline__item::before {
    left: -40px;
  }
}

@media (max-width: 520px) {
  .devices__grid {
    grid-template-columns: 1fr;
  }

  .artists__grid {
    gap: 28px 14px;
  }
}

/* ------------------------------------------------------------------ */
/*  7. Pages intérieures                                               */
/* ------------------------------------------------------------------ */

.page-hero {
  padding: calc(var(--header-h) + clamp(48px, 8vw, 110px)) var(--gutter) clamp(48px, 7vw, 96px);
  border-bottom: 2px solid var(--ink);
}

.page-hero__title {
  max-width: 16ch;
  font-size: clamp(42px, 7vw, 104px);
  font-weight: 900;
  font-stretch: 120%;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.page-hero__lead {
  max-width: 52ch;
  margin-top: 24px;
  font-size: clamp(18px, 1.6vw, 22px);
}

.page-hero--blue {
  background: var(--blue);
}

.page-hero--yellow {
  background: var(--yellow);
}

.page-hero--red {
  background: var(--red);
}

.page-hero--pink {
  background: var(--pink);
  color: var(--paper);
}

.page-hero--soft {
  background: var(--soft);
}

.prose {
  max-width: 68ch;
}

.prose p + p {
  margin-top: 1em;
}

.prose h2 {
  margin: 1.6em 0 0.6em;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 850;
  font-stretch: 115%;
  text-transform: uppercase;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.ph--wide {
  aspect-ratio: 16 / 10;
  border: 2px solid var(--ink);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border: 2px solid var(--ink);
  background: var(--paper);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 800;
  font-stretch: 112%;
}

.card p {
  color: var(--muted);
}

.card .card__meta {
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

/* Fiches artistes */
.artist-list {
  display: grid;
  gap: clamp(48px, 7vw, 96px);
}

.artist-sheet {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.artist-sheet .ph,
.artist-sheet__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 2px solid var(--ink);
}

.artist-sheet__portrait {
  width: 76px;
  height: 76px;
  margin-bottom: 14px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
}

.artist-sheet__name {
  margin: 10px 0 4px;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 900;
  font-stretch: 118%;
  text-transform: uppercase;
}

.artist-sheet__country {
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--muted);
}

.artist-sheet__work {
  margin-top: 18px;
  padding: 16px 18px;
  background: var(--soft);
  border-left: 6px solid var(--pink);
}

.artist-sheet__work strong {
  display: block;
}

/* Tableaux (classement) */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.table caption {
  margin-bottom: 12px;
  text-align: left;
  font-weight: 700;
}

.table th,
.table td {
  padding: 14px 12px;
  border-bottom: 2px solid var(--line);
  text-align: left;
}

.table thead th {
  border-bottom-color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.table td:last-child,
.table th:last-child {
  text-align: right;
}

/* Formulaires de maquette */
.form {
  display: grid;
  gap: 18px;
  max-width: 460px;
}

.form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

.form input,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
}

.notice {
  padding: 14px 18px;
  border: 2px dashed var(--ink);
  background: var(--soft);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding: 28px;
  border: 2px solid var(--ink);
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--yellow);
  font-size: 22px;
  font-weight: 900;
}

.steps h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
}

.steps p {
  color: var(--muted);
}

.price {
  margin: 6px 0 12px;
  font-size: 40px;
  font-weight: 900;
  font-stretch: 115%;
}

.prose h3 {
  margin: 1.6em 0 0.4em;
  font-size: 20px;
  font-weight: 800;
}

.prose h3:first-child {
  margin-top: 0;
}

.card address {
  font-style: normal;
  color: var(--muted);
}

.intention .intention__artists {
  margin-top: 16px;
}

.notice--intro {
  margin: calc(clamp(32px, 5vw, 56px) * -0.5) 0 32px;
}

.campus-map {
  margin-top: 20px;
}

@media (max-width: 860px) {
  .two-cols,
  .card-grid,
  .steps,
  .artist-sheet {
    grid-template-columns: 1fr;
  }
}

/* Retour sur l'accueil après avoir vu l'intro : affichage immédiat */
.is-instant .hero *,
.is-instant .site-header {
  transition: none !important;
}

/* ------------------------------------------------------------------ */
/*  8. Apparition des blocs au défilement                              */
/* ------------------------------------------------------------------ */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.8s var(--ease);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.intro-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
