/* =========================================
   SITE PO MEDIA 2026 · CPNV Sainte-Croix
   Feuille de style commune à toutes les pages
   ========================================= */

:root {
  --coral: #ff696a;
  --pink: #f8a0ab;
  --pink-light: #f5cacc;
  --pink-btn: #eab7bd;
  --blue: #9bb3d6;
  --blue-dark: #8ea6d0;
  --cream: #f1e6d0;
  --navy: #243447;
  --navy-dark: #162130;
  --navy-deep: #0f1722;
  --grey-blue: #c9d3e2;
  --line: #4a5d74;
  --white: #fff;

  --f-title: "Asimovian", "Space Mono", monospace;
  --f-mono: "Space Mono", monospace;
  --f-zen: "Zen Maru Gothic", sans-serif;
  --f-jp: "Shippori Mincho B1", serif;

  --max: 1240px;
  --gutter: 80px;
  --header-h: 72px;
}

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

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

body {
  background: var(--cream);
  color: var(--navy);
  font-family: var(--f-mono);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-weight: 700;
  text-align: center;
  border-radius: 24px;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(0); }

.btn--coral {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 4px 0 var(--navy-deep);
}
.btn--coral:hover { box-shadow: 0 7px 0 var(--navy-deep); }

.btn--navy {
  background: var(--navy);
  color: var(--cream);
  box-shadow: 0 4px 0 var(--coral);
}
.btn--navy:hover { box-shadow: 0 7px 0 var(--coral); }

.btn--small { padding: 10px 18px; font-size: 13px; letter-spacing: 1px; white-space: nowrap; }
.btn--big { padding: 16px 28px; font-size: 18px; }

.btn--pink {
  background: var(--pink-btn);
  color: #fffbf4;
  box-shadow: 0 4px 0 var(--coral);
}
.btn--pink:hover { background: var(--coral); box-shadow: 0 7px 0 var(--navy); }

.btn__arrow {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 16px;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-dark);
  box-shadow: 0 5px 0 var(--coral);
}
.header__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-title);
  font-size: 26px;
  color: var(--cream);
  letter-spacing: 1px;
  white-space: nowrap;
}
.header__logo img { width: 30px; height: 30px; }
.header__logo { flex-shrink: 0; margin-right: 28px; }
.header__logo span { color: var(--coral); }

.header__nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header__nav a:not(.btn) {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--grey-blue);
  position: relative;
  transition: color .2s;
  white-space: nowrap;
}
.header__nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--coral);
  transition: width .25s;
}
.header__nav a:not(.btn):hover,
.header__nav a.is-active { color: var(--cream); }
.header__nav a:not(.btn):hover::after,
.header__nav a.is-active::after { width: 100%; }

.header__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 36px; height: 28px;
  flex-direction: column;
  justify-content: space-between;
}
.header__burger span {
  display: block;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.header.is-open .header__burger span:nth-child(1) { transform: translateY(12.5px) rotate(45deg); }
.header.is-open .header__burger span:nth-child(2) { opacity: 0; }
.header.is-open .header__burger span:nth-child(3) { transform: translateY(-12.5px) rotate(-45deg); }

/* ---------- Fleurs de sakura ---------- */
.fleur {
  position: absolute;
  z-index: 6;
  pointer-events: none;
  animation: sway 6s ease-in-out infinite;
}
.fleur--s { width: 46px; }
.fleur--m { width: 70px; }
.fleur--l { width: 98px; }
.fleur:nth-of-type(2n) { animation-delay: -2s; animation-duration: 7s; }
.fleur:nth-of-type(3n) { animation-delay: -4s; animation-duration: 8s; }
@keyframes sway {
  0%, 100% { transform: rotate(0) translateY(0); }
  50%      { transform: rotate(14deg) translateY(6px); }
}

/* ---------- Scène japonaise (hero) ---------- */
.hero {
  position: relative;
  height: 820px;
  background: linear-gradient(to bottom, var(--blue), var(--pink-light));
  overflow: hidden;
}
.hero__scene {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1240px;
  height: 820px;
  transform: translateX(-50%);
}

.sun {
  position: absolute;
  left: 800px; top: 110px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: var(--coral);
}
.cloud {
  position: absolute;
  height: 26px;
  border-radius: 13px;
  background: var(--cream);
  z-index: 2;
}
.cloud--1 { left: 880px; top: 70px; width: 190px; }
.cloud--2 { left: 930px; top: 102px; width: 130px; }
.cloud--3 { left: 700px; top: 420px; width: 150px; }
.cloud--4 { left: 1080px; top: 380px; width: 120px; }

.fuji {
  position: absolute;
  left: 494px; top: 330px;
  width: 952px; height: 315px;
  background: var(--blue-dark);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.fuji-snow {
  position: absolute;
  left: 856px; top: 330px;
  width: 228px; height: 75px;
  background: var(--cream);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  z-index: 1;
}
.hills {
  position: absolute;
  left: -100vw; top: 720px;
  width: calc(1240px + 200vw); height: 100px;
  background: var(--pink-light);
  z-index: 3;
}
.hill {
  position: absolute;
  left: -120px; top: 680px;
  width: 600px; height: 200px;
  border-radius: 50%;
  background: var(--pink-btn);
  z-index: 3;
}

.torii { position: absolute; inset: 0; z-index: 4; }
.torii > div { position: absolute; }
.torii__roof   { left: 780px; top: 500px; width: 360px; height: 26px; background: var(--coral); border-radius: 6px; }
.torii__shadow { left: 795px; top: 526px; width: 330px; height: 10px; background: var(--navy); }
.torii__bar    { left: 820px; top: 566px; width: 280px; height: 16px; background: var(--coral); }
.torii__pillar { top: 536px; width: 26px; height: 284px; background: var(--coral); }
.torii__pillar--l { left: 840px; }
.torii__pillar--r { left: 1054px; }
.torii__plate  { left: 945px; top: 538px; width: 30px; height: 30px; background: var(--cream); border-radius: 3px; }

.hero__fox {
  position: absolute;
  left: 905px; top: 600px;
  width: 112px;
  z-index: 5;
  animation: bounce 3s ease-in-out infinite;
}
@keyframes bounce { 50% { transform: translateY(-8px); } }

.hero__content {
  position: relative;
  z-index: 5;
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 170px var(--gutter) 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--navy);
  color: var(--cream);
  font-size: 18px;
  letter-spacing: 1.8px;
  transition: background-color .2s;
}
a.tag:hover { background: var(--navy-dark); }

.pin { width: 12px; height: 17px; fill: var(--coral); flex-shrink: 0; }
.pin--coral { width: 16px; height: 22px; margin-left: 10px; vertical-align: middle; }

.hero__title {
  margin-top: 12px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 112px;
  line-height: .98;
  color: var(--navy);
}
.hero__year {
  margin-top: 22px;
  font-family: var(--f-title);
  font-size: 64px;
  color: var(--coral);
}
.hero__date {
  position: absolute;
  left: var(--gutter);
  top: 640px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 110px;
  padding: 16px 28px;
  border-radius: 18px;
  background: var(--coral);
  color: var(--white);
}
.hero__date-day { font-size: 40px; }
.hero__date-month { font-size: 24px; font-weight: 700; letter-spacing: 1.92px; }

/* Petite version du hero pour les autres pages */
.hero--page { height: 520px; }
.hero--page .hero__scene { top: -300px; }
.hero--page .hero__content { padding-top: 110px; }
.hero--page .hero__title { font-size: 88px; }
.hero--page .hero__intro {
  margin-top: 22px;
  max-width: 520px;
  font-size: 20px;
  line-height: 1.5;
}

/* ---------- Tableau départ (timer) ---------- */
.board {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 33px 30px;
  background: var(--navy-dark);
  border-radius: 9px;
  box-shadow: 0 7px 0 var(--coral);
}
.board__top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 18.5px;
  color: var(--grey-blue);
  white-space: nowrap;
}
.board__dot { color: var(--coral); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .2; } }

.board__timer {
  margin-top: 11px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 29.5px;
}
.board__digits { display: flex; gap: 5.5px; }
.digit {
  position: relative;
  flex: 1;
  height: 114px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 5.5px;
  background: var(--navy);
  color: var(--cream);
  font-family: var(--f-title);
  font-size: 59px;
}
.digit::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--navy-deep);
}
.digit.is-flipping { animation: flip .45s ease; }
@keyframes flip {
  0%   { transform: rotateX(0); }
  50%  { transform: rotateX(90deg); }
  100% { transform: rotateX(0); }
}
.board__label { margin-top: 7px; font-size: 18.5px; color: var(--blue); }
.board__done {
  margin-top: 16px;
  font-family: var(--f-title);
  font-size: 32px;
  color: var(--coral);
  text-align: center;
}

/* ---------- Sections communes ---------- */
.section { position: relative; }

.eyebrow {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 3.2px;
  color: var(--coral);
}
.eyebrow--zen { font-family: var(--f-zen); }

.title {
  margin-top: 10px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 56px;
  line-height: 1.12;
}
.lead {
  margin-top: 23px;
  font-size: 24px;
  line-height: 1.5;
}

/* ---------- Programme ---------- */
.programme { padding: 58px 0 120px; }

.programme__grid {
  margin-top: 19px;
  display: grid;
  grid-template-columns: 390px 390px 1fr;
  gap: 38px;
  align-items: start;
}

.day {
  position: relative;
  height: 300px;
  padding: 28px;
  border-radius: 24px;
  color: var(--cream);
  display: flex;
  flex-direction: column;
}
.day--coral { background: var(--coral); }
.day--navy  { background: var(--navy); }

.day__name { font-weight: 700; font-size: 20px; letter-spacing: 2.4px; }
.day__date { margin-top: 4px; font-size: 54px; color: var(--white); }
.day__text { margin-top: 12px; font-size: 20px; line-height: 1.45; }
.day__text strong { display: block; }
.pill {
  margin-top: auto;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
}

.download {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
}
.download__img {
  width: 155px;
  height: 220px;
  object-fit: cover;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 6px 0 var(--navy);
  transition: transform .3s;
}
.download:hover .download__img { transform: rotate(-3deg) scale(1.03); }
.download__btn {
  width: 260px;
  min-height: 67px;
  padding: 6px 20px;
  font-size: 17px;
  line-height: 1.3;
}

/* ---------- Teaser plan (accueil) ---------- */
.teaser { padding: 0 0 110px; }
.teaser__box {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 48px;
  border-radius: 28px;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.teaser__box .title { color: var(--cream); font-size: 46px; }
.teaser__box .lead { font-size: 18px; color: var(--grey-blue); }
.teaser__box .btn { margin-top: 28px; }
.teaser__floors { display: flex; flex-direction: column; gap: 10px; }
.teaser__floor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px 8px 8px;
  border-radius: 14px;
  background: rgba(241, 230, 208, .08);
  transition: background-color .2s, transform .2s;
}
.teaser__floor:hover { background: rgba(241, 230, 208, .16); transform: translateX(6px); }
.teaser__floor img { width: 42px; height: 42px; border-radius: 6px; }
.teaser__floor b { font-family: var(--f-title); font-weight: 400; font-size: 22px; }
.teaser__floor small { margin-left: auto; font-size: 13px; color: var(--blue); }

/* ---------- Formation ---------- */
.formation { padding: 0 0 80px; }
.domains {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.domain {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 22px;
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.domain:hover { transform: translateY(-6px); box-shadow: 0 8px 0 var(--pink); }
.domain { color: inherit; text-decoration: none; cursor: pointer; }
.domain__icon { width: 81px; height: 81px; }
.domain__title {
  margin-top: 14px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 23px;
}
.domain__text { margin-top: 18px; font-size: 18px; line-height: 1.4; }
.domain__floor {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--cream);
  font-size: 12px;
  font-weight: 700;
}

.chips {
  margin-top: 29px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.chip {
  padding: 12px 22px;
  border-radius: 30px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  font-size: 19px;
}

/* ---------- Équipe ---------- */
.team {
  padding: 106px 0 110px;
  background: var(--pink-light);
  overflow: hidden;
}
.team__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.member {
  min-height: 340px;
  padding: 19px 12px 24px;
  border-radius: 24px;
  background: var(--white);
  text-align: center;
  transition: transform .25s;
}
.member:hover { transform: translateY(-6px); }
.member__frame {
  width: 229px;
  height: 225px;
  margin: 0 auto;
  border-radius: 122px;
  overflow: hidden;
  background: #ececec url("assets/img/renard.png") center 30px / 90px no-repeat;
}
.member__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.member__photo.is-missing { display: none; }
.member__name {
  margin-top: 8px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 32px;
}
.member__role {
  margin-top: 2px;
  font-family: var(--f-zen);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .96px;
  color: var(--coral);
}
.member--dark { background: var(--navy); }
.member--dark .member__name { color: var(--cream); }
.member--dark .member__role { color: var(--pink); }

/* =========================================
   PAGE PLAN DU BÂTIMENT
   ========================================= */
.alert {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 33px;
  background: var(--navy-dark);
  border-radius: 9px;
  box-shadow: 0 7px 0 var(--coral);
  color: var(--cream);
}
.alert__icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  font-family: var(--f-title);
  font-size: 30px;
  color: var(--white);
}
.alert__title { font-family: var(--f-title); font-size: 26px; }
.alert__text { margin-top: 4px; font-size: 15px; color: var(--grey-blue); }
.alert__jp { margin-left: auto; font-size: 13px; color: var(--blue); white-space: nowrap; }

.plan { padding: 70px 0 110px; }

.plan__layout {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

/* Colonne étages */
.floors { display: flex; flex-direction: column; gap: 26px; }

.floor {
  display: grid;
  grid-template-columns: 400px 1fr;
  border-radius: 24px;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--navy);
  scroll-margin-top: calc(var(--header-h) + 20px);
  transition: transform .25s, box-shadow .25s;
}
.floor:hover { transform: translateY(-4px); box-shadow: 0 8px 0 var(--accent, var(--coral)); }
.floor__banner {
  position: relative;
  min-height: 100%;
  background: var(--accent, var(--blue));
}
.floor__banner img {
  width: 100%;
  height: auto;
}
.floor__body { padding: 26px 28px; }
.floor__head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.floor__kanji { width: 54px; height: 54px; border-radius: 8px; }
.floor__level { font-weight: 700; font-size: 15px; }
.floor__name {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
}
.floor__here {
  margin-left: auto;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.floor__title {
  margin-top: 20px;
  font-family: var(--f-title);
  font-size: 22px;
}
.rooms { margin-top: 8px; list-style: none; }
.room {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid #ddd2bd;
  font-weight: 700;
  font-size: 17px;
}
.room:last-child { border-bottom: 0; }
.room img { width: 48px; height: 48px; }
.room small { display: block; font-weight: 400; font-size: 13px; color: var(--line); }

.floor--1 { --accent: var(--blue); }
.floor--3 { --accent: var(--pink-light); }
.floor--4 { --accent: var(--pink); }
.floor--5 { --accent: var(--coral); }
.floor--6 { --accent: var(--navy); }

.floor--closed {
  grid-template-columns: 1fr;
  border-style: dashed;
  border-color: #b9b0a0;
  background: transparent;
}
.floor--closed:hover { transform: none; box-shadow: none; }
.floor--closed .floor__body { display: flex; align-items: center; gap: 18px; padding: 18px 28px; }
.floor__closed-kanji {
  width: 54px; height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d8d1c3;
  font-size: 26px;
}

/* Colonne latérale */
.aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 22px; }
.mini-plan {
  padding: 22px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--cream);
}
.mini-plan__title { font-family: var(--f-title); font-size: 26px; }
.mini-plan__summit {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 12px;
  background: var(--navy-dark);
  font-size: 12px;
}
.mini-plan__summit::before { content: "▲ "; color: var(--coral); }
.mini-plan ol { margin-top: 16px; list-style: none; }
.mini-plan li + li { margin-top: 6px; }
.mini-plan a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  transition: background-color .2s;
}
.mini-plan a:hover { background: rgba(241, 230, 208, .1); }
.mini-plan a img { width: 34px; height: 34px; border-radius: 5px; }
.mini-plan a span { font-family: var(--f-title); font-size: 19px; }
.mini-plan a small { margin-left: auto; font-size: 12px; color: var(--blue); }
.mini-plan__off { padding: 7px 10px; font-size: 13px; color: var(--line); }
.mini-plan__foot {
  margin-top: 16px;
  padding: 10px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--navy);
  text-align: center;
  font-family: var(--f-title);
  font-size: 16px;
}

.legend {
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
}
.legend__title { font-family: var(--f-title); font-size: 22px; }
.legend ul { margin-top: 12px; list-style: none; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 700; }
.legend img { width: 40px; height: 40px; }

/* Panneaux de la signalétique */
.signs { padding: 0 0 110px; }
.signs__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.sign {
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  border: 3px solid var(--navy);
  transition: transform .25s;
}
.sign:hover { transform: translateY(-5px) rotate(-1deg); }
.sign img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: top; }
.sign p { padding: 12px 16px; font-weight: 700; font-size: 14px; }

/* =========================================
   PAGE INFOS PRATIQUES
   ========================================= */
.infos { padding: 80px 0 100px; }
.infos__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
}
.card--navy { background: var(--navy); color: var(--cream); }
.card--coral { background: var(--coral); color: var(--white); }
.card__icon { width: 64px; height: 64px; }
.card__title {
  margin-top: 14px;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 28px;
}
.card__text { margin-top: 10px; font-size: 16px; line-height: 1.55; }
.card__list { margin-top: 12px; list-style: none; font-size: 15px; line-height: 1.5; }
.card__list li { padding: 8px 0; border-bottom: 1px dashed currentColor; }
.card__list li:last-child { border-bottom: 0; }
.card__list b { display: inline-block; min-width: 90px; }

.map {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy);
  border: 3px solid var(--navy);
}
.map__info { padding: 40px; color: var(--cream); }
.map__info .title { color: var(--cream); font-size: 42px; }
.map__info address { margin-top: 18px; font-style: normal; font-size: 20px; line-height: 1.5; }
.map__info .btn { margin-top: 26px; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

.entrance { padding: 0 0 100px; }
.entrance__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.entrance__img {
  border-radius: 24px;
  border: 3px solid var(--navy);
  box-shadow: 0 8px 0 var(--coral);
}

.faq { padding: 0 0 100px; }
.faq__list { margin-top: 26px; display: grid; gap: 14px; }
.faq details {
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 22px;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; font-size: 16px; line-height: 1.6; }

.posters { padding: 90px 0 110px; background: var(--pink-light); }
.posters__grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.poster {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.poster img {
  border-radius: 18px;
  box-shadow: 0 8px 0 var(--navy);
  transition: transform .3s;
}
.poster:hover img { transform: translateY(-6px) rotate(-1.5deg); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); overflow: hidden; }
.footer__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 120px var(--gutter) 36px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.footer__top {
  display: flex;
  align-items: flex-end;
  gap: 64px;
}
.footer__jp {
  flex: 0 1 816px;
  font-family: var(--f-jp);
  font-weight: 800;
  font-size: 200px;
  line-height: .85;
  color: var(--coral);
  padding-bottom: 60px;
}
.footer__cta { flex: 1; color: var(--cream); }
.footer__wait { font-family: var(--f-title); font-size: 36px; }
.footer__small { margin-top: 12px; font-size: 12px; line-height: 1.5; }

.footer__infos {
  display: flex;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  min-height: 170px;
}
.footer__logo img { width: 110px; height: auto; }
.footer__col { display: flex; flex-direction: column; gap: 6px; }
.footer__col--addr { width: 259px; }
.footer__label { font-size: 12px; color: var(--blue); }
.footer__address,
.footer__links a {
  font-size: 20px;
  color: var(--cream);
  transition: color .2s;
}
.footer__links a { font-size: 15px; }
.footer__address:hover,
.footer__links a:hover { color: var(--coral); }
.footer__links { display: flex; flex-direction: column; gap: 4px; }

.socials { display: flex; gap: 12px; }
.socials a {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--navy);
  transition: transform .2s, background-color .2s;
}
.socials a:hover { transform: translateY(-3px); background: var(--pink); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  color: var(--grey-blue);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1240px) {
  .hero__scene { left: auto; right: -120px; transform: none; }
  .board, .alert { border-radius: 0; }
  .programme__grid { grid-template-columns: 1fr 1fr; }
  .download { grid-column: 1 / -1; flex-direction: row; justify-content: center; }
  .domains { grid-template-columns: repeat(2, 1fr); }
  .plan__layout { grid-template-columns: 1fr; }
  .aside { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .floor { grid-template-columns: 320px 1fr; }
  .footer__jp { font-size: 150px; }
}

@media (max-width: 1180px) {
  .header__burger { display: flex; }
  .header__nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 22px;
    padding: 28px 24px 32px;
    background: var(--navy-dark);
    box-shadow: 0 5px 0 var(--coral);
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform .3s ease, visibility .3s;
    z-index: -1;
  }
  .header.is-open .header__nav { transform: translateY(0); visibility: visible; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .hero { height: 700px; }
  .hero__scene { right: -560px; top: 40px; transform: scale(.85); transform-origin: top right; }
  .hero__content { padding-top: 110px; }
  .hero__title { font-size: 72px; }
  .hero__year { font-size: 44px; }
  .hero__date { top: auto; bottom: 40px; height: auto; }

  .hero--page { height: 560px; }
  .hero--page .hero__scene { top: -160px; }
  .hero--page .hero__title { font-size: 56px; }
  .hero--page .hero__intro { font-size: 16px; }

  .board { padding: 20px 16px 24px; }
  .board__top { font-size: 12px; flex-wrap: wrap; }
  .board__dest { display: none; }
  .board__timer { gap: 10px; }
  .digit { height: 70px; font-size: 34px; }
  .board__label { font-size: 12px; }

  .alert { flex-wrap: wrap; padding: 18px 20px; }
  .alert__jp { margin-left: 0; }

  .programme__grid { grid-template-columns: 1fr; gap: 20px; }
  .download { flex-direction: column; }

  .title { font-size: 38px; }
  .lead { font-size: 18px; }

  .teaser__box { grid-template-columns: 1fr; padding: 28px; }
  .teaser__box .title { font-size: 34px; }

  .domains { gap: 16px; }
  .chip { font-size: 15px; }

  .team__grid { grid-template-columns: 1fr 1fr; }

  .floor { grid-template-columns: 1fr; }
  .floor__banner { height: auto; }
  .aside { grid-template-columns: 1fr; }
  .signs__grid, .infos__grid, .posters__grid { grid-template-columns: 1fr 1fr; }
  .map, .entrance__box { grid-template-columns: 1fr; }

  .footer__top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer__jp { font-size: 96px; padding-bottom: 0; }
  .footer__infos { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 560px) {
  .hero__title { font-size: 54px; }
  .hero__date-day { font-size: 30px; }
  .hero__date-month { font-size: 18px; }
  .tag { font-size: 12px; letter-spacing: .5px; }
  .domains { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; }
  .signs__grid, .infos__grid, .posters__grid { grid-template-columns: 1fr; }
  .floor__name { font-size: 30px; }
  .footer__bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================
   PAGES OPTIONS (Création d'entreprise + Option web)
   ========================================= */
.page-intro {
  position: relative;
  padding: 210px 0 60px;
  overflow: hidden;
}
.page-intro__branch {
  position: absolute;
  left: -40px; top: -60px;
  width: 330px;
  pointer-events: none;
  animation: sway 9s ease-in-out infinite;
  transform-origin: top left;
}
.page-intro__year {
  position: absolute;
  right: var(--gutter); top: -70px;
  font-family: var(--f-title);
  font-size: 64px;
  color: var(--coral);
}
.page-intro .eyebrow { font-size: 16px; }
.page-intro .title { font-size: 48px; }
.page-intro .lead { max-width: 1040px; font-size: 20px; }

/* Logos des entreprises */
.brands {
  margin-top: 46px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: end;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 12px;
  border-radius: 22px;
  transition: background-color .2s, transform .2s;
}
.brand:hover { background: var(--white); transform: translateY(-5px); }
.brand__logo { height: 110px; display: grid; place-items: center; }
.brand__logo img { max-height: 110px; max-width: min(220px, 100%); width: auto; border-radius: 6px; }
.brand__logo { max-width: 100%; }
.brand { min-width: 0; }
.brand span { font-size: 20px; }

/* Fiche entreprise */
.companies { padding: 20px 0 110px; display: grid; gap: 34px; }
.company {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 60px 70px;
  border: 2px solid var(--navy);
  border-radius: 80px;
  background: var(--cream);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.company:nth-child(even) { background: #f6eedd; }
.company__left { display: flex; flex-direction: column; align-items: center; }
.company__logo { height: 130px; display: grid; place-items: center; margin-bottom: 30px; }
.company__logo img { max-height: 130px; max-width: min(280px, 100%); border-radius: 8px; }
.company > * { min-width: 0; }

.carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 540 / 462;
  border-radius: 90px;
  background: var(--coral);
  overflow: hidden;
}
.carousel__track { display: flex; height: 100%; transition: transform .5s ease; }
.carousel__slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  padding: 40px;
  font-size: 22px;
  line-height: 1.6;
  color: var(--navy);
  text-align: center;
}
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__slide:has(img) { padding: 0; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 20px;
  cursor: pointer;
  opacity: .85;
  transition: opacity .2s;
}
.carousel__btn:hover { opacity: 1; }
.carousel__btn--prev { left: 18px; }
.carousel__btn--next { right: 18px; }
.carousel__dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.carousel__dots button {
  width: 10px; height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--cream);
  opacity: .5;
  cursor: pointer;
}
.carousel__dots button.is-active { opacity: 1; }

.company__site { margin-top: -26px; position: relative; z-index: 2; min-width: 260px; padding: 14px 24px; }

.pills { display: flex; flex-wrap: wrap; gap: 20px 20px; }
.pills--top { justify-content: space-between; }
.pill-navy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 197px;
  padding: 14px 22px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  font-size: 18px;
  flex: 1 1 auto;
}
a.pill-navy { transition: background-color .2s, transform .2s; }
a.pill-navy:hover { background: var(--coral); transform: translateY(-2px); }
.pill-navy svg { width: 32px; height: 32px; padding: 5px; border-radius: 50%; background: var(--navy-deep); fill: var(--cream); }

.company__desc { margin-top: 44px; font-size: 22px; line-height: 1.65; }
.company__team-title {
  margin: 34px 0 24px;
  text-align: center;
  font-family: var(--f-title);
  font-weight: 400;
  font-size: 36px;
}

/* ---------- Option web ---------- */
.callout {
  display: block;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 14px 28px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}
.stats {
  margin-top: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.stats .pill-navy { min-width: 0; }
.stats__word { font-family: var(--f-title); font-size: 56px; }

.projects { padding: 30px 0 120px; }
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 22px;
}
.project {
  display: flex;
  flex-direction: column;
  border-radius: 60px;
  overflow: hidden;
  background: var(--blue);
  transition: transform .25s, box-shadow .25s;
}
.project:hover { transform: translateY(-6px); box-shadow: 0 8px 0 var(--navy); }
.project__img {
  height: 176px;
  display: grid;
  place-items: center;
  background: #d9d9d9;
  font-size: 18px;
}
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__body { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 10px; }
.project__label { text-align: center; font-weight: 700; font-size: 18px; }
.project__label--left { text-align: left; }
.project__link,
.project__skill {
  display: block;
  padding: 12px;
  border-radius: 26px;
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  font-weight: 700;
  font-size: 17px;
}
.project__skill { padding: 10px; font-size: 14px; }
a.project__link:hover { background: var(--coral); }
.project__people { font-size: 17px; margin-top: -6px; }
.project__desc { font-size: 15px; line-height: 1.5; }
.project__body .project__label + .project__desc { margin-top: -4px; }

@media (max-width: 1240px) {
  .brands { grid-template-columns: repeat(3, 1fr); }
  .company { gap: 40px; padding: 48px; border-radius: 56px; }
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .page-intro { padding-top: 170px; }
  .page-intro__branch { width: 260px; top: -40px; }
  .page-intro__year { position: static; font-size: 32px; margin-bottom: 14px; }
  .page-intro .title { font-size: 34px; }
  .page-intro .lead { font-size: 16px; }
  .brands { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brand__logo { height: 80px; }
  .brand__logo img { max-height: 80px; }
  .company { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 40px; }
  .company__desc { font-size: 17px; margin-top: 28px; }
  .carousel { border-radius: 48px; }
  .pill-navy { min-width: 0; font-size: 15px; }
  .stats { grid-template-columns: 1fr; gap: 14px; text-align: center; margin-top: 50px; }
  .stats__word { font-size: 40px; }
  .projects__grid { grid-template-columns: 1fr; }
}

/* ---------- Logo PO ---------- */
.header__logo .header__logo-img { width: auto; height: 48px; }
.footer__logo--po img { width: 92px; }

/* Logo à la place du titre (accueil) */
.hero__logo { margin-top: 34px; }
.hero__logo img { width: 600px; max-width: 100%; height: auto; }

/* Logo d'entreprise en grand */
.company__panel {
  width: 100%;
  aspect-ratio: 540 / 462;
  display: grid;
  place-items: center;
  padding: 60px;
  border-radius: 90px;
  background: var(--white);
  border: 2px solid var(--navy);
}
.company__panel img { max-width: 85%; max-height: 260px; width: auto; border-radius: 10px; }

@media (max-width: 900px) {
  .hero__logo img { width: 440px; }
  .company__panel { border-radius: 48px; padding: 30px; }
}
@media (max-width: 560px) {
  .hero__logo { margin-top: 24px; }
}
.company__site svg { width: 20px; height: 20px; fill: currentColor; }
.company__panel img { width: 80%; max-width: 380px; height: auto; max-height: none; }

/* Cartes du programme alignées */
.programme__grid { align-items: stretch; }
.day { height: auto; min-height: 300px; }
.day__text { margin-bottom: 22px; }
.download { align-self: start; }
.download__more {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--coral);
  transition: color .2s;
}
.download__more:hover { color: var(--coral); }

/* Texte "On t'attend" du footer */
.footer__jp { flex: 1 1 auto; }
.footer__cta { flex: 0 0 330px; }
.footer__wait { display: flex; flex-direction: column; gap: 6px; font-family: var(--f-title); }
.footer__wait-intro { font-size: 24px; color: var(--grey-blue); }
.footer__wait-date { font-size: 44px; line-height: 1.05; color: var(--coral); }
.footer__wait-place { font-size: 26px; color: var(--cream); }
.footer__hours {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 16px;
  background: var(--cream);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}
.footer__small { color: var(--grey-blue); }
@media (max-width: 900px) {
  .footer__cta { flex: none; }
  .footer__wait-date { font-size: 36px; }
}
.footer__jp { white-space: nowrap; font-size: 170px; }
@media (max-width: 1240px) { .footer__jp { font-size: 130px; } }
@media (max-width: 900px) { .footer__jp { font-size: 84px; } }

/* =========================================
   Ajustements responsive (tablette + mobile)
   ========================================= */
@media (max-width: 900px) {
  /* fleurs : seulement en déco dans le coin du hero, plus sur les titres */
  .section .fleur, .team .fleur, .posters .fleur, .hero .fleur:not(:first-of-type) { display: none; }
  .hero .fleur:first-of-type { width: 60px; left: auto !important; right: 14px; top: 14px !important; }

  /* scène Fuji + torii visible en bas à droite */
  .hero__scene,
  .hero--page .hero__scene {
    top: auto;
    bottom: 0;
    right: -70px;
    left: auto;
    transform: scale(.48);
    transform-origin: bottom right;
  }
  .hero__content { padding-top: 40px; }
  .hero--page .hero__content { padding-top: 40px; }
  .hero__logo { margin-top: 28px; }
  .hero__logo img { width: 100%; max-width: 420px; }
  .hero__date { bottom: 28px; }
  .tag { max-width: 100%; white-space: normal; text-align: left; }

  .programme { padding-top: 48px; padding-bottom: 80px; }
  .teaser, .formation { padding-bottom: 70px; }
  .team { padding: 70px 0 80px; }
  .plan { padding: 50px 0 80px; }
  .infos { padding: 50px 0 70px; }
  .posters { padding: 70px 0 80px; }
  .map__info { padding: 28px; }
  .map__info .title { font-size: 34px; }
  .entrance__box { gap: 24px; }
  .faq summary { font-size: 16px; padding: 16px 18px; }
  .faq details p { padding: 0 18px 18px; }
  .day__date { font-size: 44px; }
  .teaser__floor b { font-size: 18px; }
}

@media (max-width: 560px) {
  .hero { height: 640px; }
  .hero--page { height: 520px; }
  .hero__scene, .hero--page .hero__scene { transform: scale(.4); right: -40px; }
  .hero--page .hero__title { font-size: 44px; }
  .hero__date { left: var(--gutter); right: var(--gutter); justify-content: center; padding: 14px 18px; }
  .title, .page-intro .title { font-size: 30px; }
  .board__top { justify-content: space-between; }
  .digit { height: 56px; font-size: 28px; }
  .board__digits { gap: 3px; }
  .board__timer { gap: 8px; }
  .member__frame { width: 200px; height: 196px; }
  .floor__body { padding: 20px 18px; }
  .room { font-size: 15px; }
  .room img { width: 40px; height: 40px; }
  .company__desc { font-size: 15px; }
  .company__team-title { font-size: 28px; margin: 24px 0 16px; }
  .pills { gap: 10px; }
  .company__site { min-width: 0; font-size: 14px; }
  .footer__jp { font-size: 64px; }
  .footer__wait-date { font-size: 30px; }
  .footer__inner { padding-top: 70px; gap: 44px; }
}
@media (max-width: 900px) { .hero .tag { max-width: calc(100% - 70px); } }
@media (max-width: 1240px) {
  .section .fleur, .team .fleur, .posters .fleur, .hero .fleur:not(:first-of-type) { display: none; }
  .hero__logo img { width: 480px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .programme__grid { grid-template-columns: 1fr 1fr; }
  .download { grid-column: 1 / -1; }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .company__left { max-width: 440px; margin: 0 auto; width: 100%; }
  .team__grid { grid-template-columns: 1fr 1fr; }
}

/* 5 domaines de la formation */
.domains { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.domain { padding: 22px 20px; }
.domain__icon { width: 72px; height: 72px; }
.domain__title { font-size: 21px; }
.domain__text { font-size: 15px; }
@media (max-width: 1240px) { .domains { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .domains { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .domains { grid-template-columns: 1fr; } }

/* =========================================
   Fluidité : animations et transitions
   ========================================= */
:root { --ease: cubic-bezier(.22, .8, .24, 1); }

/* fondu entre les pages (navigateurs récents) */
@view-transition { navigation: auto; }

.btn, .domain, .member, .floor, .sign, .project, .teaser__floor, .brand, .poster img, .download__img {
  transition-timing-function: var(--ease);
  transition-duration: .35s;
}

/* header qui se cache en descendant, revient en remontant */
.header { transition: transform .35s var(--ease); }
.header.is-hidden { transform: translateY(calc(-100% - 6px)); }

/* entrée du hero */
.hero__content > .tag,
.hero__logo,
.hero__title,
.hero__intro,
.hero__date { animation: rise .8s var(--ease) backwards; }
.hero__logo, .hero__title { animation-delay: .1s; }
.hero__intro { animation-delay: .2s; }
.hero__date { animation-delay: .25s; }
.sun { animation: sun-rise 1.4s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes sun-rise { from { opacity: 0; transform: translateY(80px) scale(.9); } }

/* nuages qui dérivent doucement */
.cloud { animation: drift 9s ease-in-out infinite alternate; }
.cloud--2 { animation-duration: 11s; animation-delay: -3s; }
.cloud--3 { animation-duration: 13s; animation-delay: -5s; }
.cloud--4 { animation-duration: 10s; animation-delay: -2s; }
@keyframes drift { to { translate: 34px 0; } }

/* léger parallaxe de la scène (valeur --scroll posée par script.js) */
.sun   { translate: 0 calc(var(--scroll, 0) * .25px); }
.fuji, .fuji-snow { translate: 0 calc(var(--scroll, 0) * .12px); }

/* apparition au scroll (classes posées par script.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }


.carousel__track { transition: transform .6s var(--ease); }
.header__nav { transition-timing-function: var(--ease); }
.faq details p { animation: rise .35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .header.is-hidden { transform: none; }
}

/* logo du hero : ne dépasse plus de l'écran sur mobile */
@media (max-width: 900px) { .hero__logo img { width: 100%; max-width: 420px; } }

/* =========================================
   Affiche dans la section programme (accueil)
   ========================================= */
.programme__grid { grid-template-columns: 1fr 1fr 300px; }
.download__poster { display: block; width: 100%; }
.download__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  box-shadow: 0 8px 0 var(--navy);
  transform: rotate(2deg);
}
.download:hover .download__img { transform: rotate(0) translateY(-6px); }
.download__actions { display: flex; flex-direction: column; align-items: center; gap: 17px; }

@media (max-width: 1240px) {
  .programme__grid { grid-template-columns: 1fr 1fr; }
  .download { flex-direction: row; justify-content: center; align-items: center; gap: 40px; }
  .download__poster { width: 280px; flex-shrink: 0; }
}
@media (max-width: 599px) {
  .programme__grid { grid-template-columns: 1fr; }
  .download { flex-direction: column; gap: 22px; }
  .download__poster { width: min(100%, 320px); }
}

/* grand écran : l'affiche prend toute la hauteur à droite, le bouton passe sous les cartes */
@media (min-width: 1241px) {
  .download { display: contents; }
  .download__poster { grid-column: 3; grid-row: 1 / span 2; align-self: start; }
  .download__actions { grid-column: 1 / 3; grid-row: 2; flex-direction: row; gap: 28px; }
  .poster-credit { grid-column: 3; grid-row: 3; text-align: center; }
  .day { min-height: 260px; }
}

/* ---------- Affiche agrandie (lightbox) ---------- */
.download__poster { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  cursor: zoom-out;
}
.lightbox__bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox__img {
  position: relative;
  max-width: none;
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 20px;
  z-index: 1;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  transition: transform .2s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); }

/* Cartes du programme plus compactes (ne s'étirent plus à la hauteur de l'affiche) */
.programme__grid { align-items: start; gap: 28px; }
.day { min-height: 0; padding: 22px 24px; border-radius: 20px; }
.day__name { font-size: 16px; }
.day__date { font-size: 42px; }
.day__text { margin: 8px 0 18px; font-size: 17px; }
@media (min-width: 1241px) {
  .programme__grid { grid-template-columns: 1fr 1fr 250px; }
  .day { min-height: 0; }
}
@media (max-width: 900px) { .day__date { font-size: 36px; } }
.day { align-self: stretch; } /* les deux cartes gardent la même hauteur */
@media (max-width: 1240px) { .download__poster { width: 240px; } }
@media (max-width: 599px) { .download__poster { width: min(100%, 300px); } }

/* ---------- Visionneuse du programme ---------- */
.pdf-viewer {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(760px, 92vw);
  height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 8px 0 var(--coral), 0 24px 70px rgba(0, 0, 0, .45);
  cursor: auto;
}
.pdf-viewer__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 22px;
  background: var(--navy-dark);
  color: var(--cream);
}
.pdf-viewer__title { margin-right: auto; font-family: var(--f-title); font-size: 20px; }
.pdf-viewer__close { position: static; flex-shrink: 0; width: 40px; height: 40px; font-size: 17px; }
.pdf-viewer__pages {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  gap: 18px;
  padding: 18px;
}
.pdf-viewer__pages img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 4px 14px rgba(22, 33, 48, .15);
}
@media (max-width: 560px) {
  .pdf-viewer { width: 94vw; height: 88vh; }
  .pdf-viewer__bar { gap: 10px; padding: 10px 10px 10px 14px; }
  .pdf-viewer__title { font-size: 15px; }
  .pdf-viewer__pages { padding: 10px; gap: 10px; }
}
@media (max-width: 560px) {
  .pdf-viewer__bar .btn { padding: 9px 12px; font-size: 12px; letter-spacing: 0; }
}
@media (max-width: 360px) {
  .pdf-viewer__title { display: none; }
  .pdf-viewer__bar .btn { margin-right: auto; }
}

/* =========================================
   Retours de Mathias (novembre 2026)
   ========================================= */

/* Hero de l'accueil un peu moins haut (scène réduite, ancrée en bas) */
@media (min-width: 901px) {
  .hero:not(.hero--page) { height: 720px; }
  .hero:not(.hero--page) .hero__scene { top: auto; bottom: 0; transform: translateX(-50%) scale(.88); transform-origin: bottom center; }
  .hero:not(.hero--page) .hero__content { padding-top: 120px; }
  .hero:not(.hero--page) .hero__date { top: 500px; }
}
@media (min-width: 901px) and (max-width: 1240px) {
  .hero:not(.hero--page) .hero__scene { transform: scale(.88); transform-origin: bottom right; }
}

/* Horaires des présentations dans la carte du samedi */
.day__slots { margin: -6px 0 18px; font-size: 14px; line-height: 1.5; color: var(--grey-blue); }
.day__slots b { display: block; font-size: 17px; color: var(--cream); }

/* Lien vers mediamatique.ch */
.formation__link { margin-top: 28px; }
@media (max-width: 560px) { .formation__link { font-size: 15px; padding: 14px 20px; } }

/* Teaser vidéo */
.trailer { padding: 0 0 110px; }
.trailer__frame {
  position: relative;
  margin-top: 26px;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 8px 0 var(--coral);
}
.trailer__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.trailer__empty { display: none; }
.trailer__frame.is-missing { border: 3px dashed var(--coral); box-shadow: none; background: var(--navy) url("assets/img/fleur-1.svg") right 30px top 30px / 90px no-repeat; }
.trailer__frame.is-missing .trailer__video { display: none; }
.trailer__frame.is-missing .trailer__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-title);
  font-size: 26px;
  color: var(--cream);
  text-align: center;
}
.trailer__empty b { font-family: var(--f-jp); font-size: 54px; color: var(--coral); }
@media (max-width: 900px) {
  .trailer { padding-bottom: 70px; }
  .trailer__frame { border-radius: 20px; }
  .trailer__empty { font-size: 18px; }
  .trailer__empty b { font-size: 36px; }
}

/* Création d'entreprise : logos en boutons */
.brand {
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 26px;
  box-shadow: 0 5px 0 var(--navy);
  cursor: pointer;
}
.brand:hover { transform: translateY(-4px); box-shadow: 0 9px 0 var(--coral); border-color: var(--coral); }
.brand:active { transform: translateY(0); box-shadow: 0 3px 0 var(--navy); }
.brand span:last-child { font-weight: 700; }
.brands { align-items: stretch; }
.brand { justify-content: center; }

/* Bouton "Site web" : caché tant que l'adresse n'est pas remplie */
.company__web[href=""] { display: none; }

/* Fiche entreprise en pop-up */
.company-modal {
  position: relative;
  width: min(1180px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 40px;
  background: var(--cream);
  box-shadow: 0 8px 0 var(--coral), 0 24px 70px rgba(0, 0, 0, .45);
  cursor: auto;
}
.company-modal .company { border: 0; border-radius: 0; background: transparent; }
.company-modal__close { position: sticky; float: right; top: 18px; margin: 18px 18px -64px 0; }
@media (max-width: 900px) {
  .company-modal { border-radius: 28px; }
  .company-modal .company { padding-top: 64px; }
}
.trailer__frame { max-width: 900px; }
@media (max-width: 360px) { .hero--page .hero__title { font-size: 36px; } }

/* FAQ sur l'accueil (après l'équipe) */
.faq--home { padding-top: 100px; }
.faq__more { margin-top: 30px; }
@media (max-width: 900px) { .faq--home { padding: 70px 0 80px; } }

/* FAQ : la réponse s'arrête avant la colonne du bouton +/× */
.faq details p { padding-right: calc(24px + 34px + 20px); }
@media (max-width: 900px) { .faq details p { padding-right: calc(18px + 34px + 20px); } }

/* Bandeau d'info à cheval entre le hero et la section suivante */
.alert { margin-top: -48px; }
@media (max-width: 900px) { .alert { margin-top: -32px; } }
.alert { z-index: 10; } /* passe au-dessus du contenu du hero (z-index 5) */

/* Infos pratiques : espace entre le texte "Entrée par le bas" et son bouton */
.entrance .btn { margin-top: 28px; }
@media (max-width: 900px) { .entrance .btn { margin-top: 22px; } }

/* Footer : toutes les colonnes alignées en haut */
.footer__infos { align-items: flex-start; }
.footer__col { padding-top: 0; }

/* Accueil : tableau de départ détaché du hero */
.board { margin-top: 56px; }
@media (max-width: 900px) { .board { margin-top: 36px; } }

/* Date du hero plus compacte */
.hero__date { height: 84px; gap: 12px; padding: 12px 20px; border-radius: 14px; }
.hero__date-day { font-size: 30px; }
.hero__date-month { font-size: 17px; letter-spacing: 1.2px; }
@media (max-width: 560px) {
  .hero__date { height: auto; padding: 10px 14px; }
  .hero__date-day { font-size: 24px; }
  .hero__date-month { font-size: 14px; }
}

/* Infos pratiques : présentations par filière à Sainte-Croix */
.slots { padding: 0 0 80px; }
.slots__grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.slots__times { margin-top: 16px; font-weight: 700; font-size: 17px; line-height: 1.5; }
.slots__more { margin-top: 26px; font-size: 16px; }
@media (max-width: 900px) { .slots__grid { grid-template-columns: 1fr; } }

/* Footer : grille régulière, colonnes de même poids, icônes plus discrètes */
@media (min-width: 901px) {
  .footer__infos {
    display: grid;
    grid-template-columns: auto auto 1.3fr 1fr 0.8fr;
    gap: 40px;
    align-items: start;
  }
  .footer__col--addr { width: auto; }
  .footer__logo--po img { width: 84px; }
  .footer__logo:not(.footer__logo--po) img { width: 96px; }
  .footer__col:nth-of-type(1) { gap: 6px; }
}
.socials a { width: 36px; height: 36px; }
.socials svg { width: 17px; height: 17px; }

/* Accueil : tableau de départ à cheval sur le bas du hero (comme le bandeau des autres pages) */
@media (min-width: 901px) {
  /* date : position d'origine (gauche, sous le hero) */
  .board { margin-top: -48px; z-index: 10; }
}
@media (max-width: 900px) {
  .board { margin-top: -32px; }
}

/* Logo du canton de Vaud dans le footer (fond crème pour rester lisible sur le bleu nuit) */
.footer__logo--vaud { padding: 10px 12px; border-radius: 14px; background: var(--cream); }
.footer__logo--vaud img { width: 56px; height: auto; }
@media (min-width: 901px) {
  .footer__infos { grid-template-columns: repeat(4, auto); justify-content: space-between; }
}
.footer__logo.footer__logo--vaud img { width: auto; height: 64px; }


/* La date passe devant la scène (torii, renard) */
.hero__date { z-index: 10; }

/* La fleur du hero passe devant le bouton d adresse */
.hero .fleur { z-index: 20; }

/* Téléphone : scène (Fuji, torii) remontée pour laisser la place à la date */
@media (max-width: 560px) {
  .hero:not(.hero--page) .hero__scene { bottom: 110px; }
}

/* Téléphone : date remontée, marge avant le tableau de départ */
@media (max-width: 560px) {
  .hero:not(.hero--page) .hero__date { bottom: 60px; }
}

/* Téléphone : bande rose du bas, agrandie vers le haut (sous la scène) */
@media (max-width: 560px) {
  .hero:not(.hero--page)::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: var(--pink-light); z-index: 0; }
}

/* Téléphone : torii remonté d environ 10 px (la scène est réduite à 0,48) */
@media (max-width: 560px) {
  .hero:not(.hero--page) .porte { transform: translateY(-63px); }
}

/* Téléphone : logo PO à 88 % de la taille précédente */
@media (max-width: 560px) {
  .hero:not(.hero--page) .hero__logo img { width: 81%; }
}

/* Crédit discret sous l'affiche */
.poster-credit { margin-top: 10px; font-size: 14px; color: var(--navy); }
.poster-credit a { color: inherit; text-decoration: underline; }

/* Crédits : liens discrets, sans soulignement ni couleur de lien */
a.credit { color: var(--cream); text-decoration: none; cursor: default; }

/* Lien du crédit sous l'affiche : bleu nuit, lisible sur le fond crème */
.poster-credit a.credit { color: var(--navy); }
/* Survol des crédits : rouge, pour montrer que c'est un lien */
a.credit:hover { color: var(--coral); }
.poster-credit a.credit:hover { color: var(--coral); }

/* Montagnes : dessin importé (montagne.svg), même place que l'ancien Fuji */
.montagnes { position: absolute; left: -5046px; top: -84px; width: 12043px; max-width: none; height: auto; z-index: 1; pointer-events: none; }

/* Ordinateur : logo en haut, puis la date et le lieu côte à côte */
@media (min-width: 901px) {
  .hero:not(.hero--page) .hero__content {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "logo logo logo" "date tag .";
    align-content: start;
    column-gap: 20px;
    row-gap: 32px;
    padding-top: 110px;
  }
  .hero:not(.hero--page) .hero__logo { grid-area: logo; margin-top: 0; }
  .hero:not(.hero--page) .hero__date { grid-area: date; position: relative; top: auto; left: auto; right: auto; }
  .hero:not(.hero--page) .tag { grid-area: tag; align-self: stretch; justify-self: start; display: inline-flex; align-items: center; padding: 0 26px; }
}

/* Porte (torii) : dessin importé porte.svg, à la place de l'ancien torii en CSS */
.porte { position: absolute; left: 720px; top: 412px; width: 480px; max-width: none; height: auto; z-index: 4; pointer-events: none; }

/* Ordinateur : bloc logo + date + lieu centré verticalement, un peu plus à gauche sur les grands écrans */
@media (min-width: 901px) {
  .hero:not(.hero--page) .hero__content {
    align-content: center;
    padding-top: 40px;
    padding-bottom: 200px;
    translate: clamp(-140px, (1240px - 100vw) / 4, 0px) 0;
  }
}

/* Pages intérieures : montagne et soleil plus petits, sol plus bas pour être vu en entier */
.hero--page .montagnes { transform-origin: 6028px 777px; scale: .75; translate: 0 60px; }
.hero--page .sun { transform-origin: 182px 583px; scale: .75; translate: 0 60px; }

/* Pages intérieures : texte du hero un peu plus haut */
@media (min-width: 901px) {
  .hero--page .hero__content { padding-top: 80px; }
}

/* Création d'entreprise : intro (texte + MEDIA 2026) plus haut sur ordinateur */
@media (min-width: 901px) {
  .page-intro { padding-top: 140px; }
  .page-intro__branch { top: -150px; }
}

/* Accueil, ordinateur : porte et renard un peu plus hauts */
@media (min-width: 901px) {
  .hero:not(.hero--page) .porte,
  .hero:not(.hero--page) .hero__fox { translate: 0 -40px; }
}

/* Pages intérieures : fleurs derrière l'étiquette et le titre */
.hero--page .fleur { z-index: 4; }

/* Bandeau : texte japonais qui alterne avec sa traduction (script.js), masqué sur mobile */
.alert__jp { text-align: right; }
@media (max-width: 900px) { .alert__jp { display: none; } }

.alert__jp .slot { display: inline-block; width: 1ch; height: 1.25em; overflow: hidden; vertical-align: bottom; }
.alert__jp .slot__reel { display: block; }
.alert__jp .slot__reel > span { display: block; height: 1.25em; line-height: 1.25em; white-space: pre; }

/* Footer : logo Média et logo Vaud de même hauteur côte à côte, CPNV en dessous sur toute la largeur */
.footer__brands { display: grid; grid-template-columns: auto auto; gap: 30px 34px; align-items: center; justify-content: start; width: max-content; }
.footer__brands .footer__logo.footer__logo--po img { width: auto; height: 80px; }
.footer__brands .footer__logo.footer__logo--vaud img { width: auto; height: 60px; }
.footer__brands .footer__logo:last-child { grid-column: 1 / -1; width: 100%; }
.footer__brands .footer__logo:last-child img { width: 0; min-width: 100%; height: auto; }

/* Footer : adresse à la même taille que les autres textes */
.footer .footer__address { font-size: 15px; line-height: 1.5; }

/* Footer : réseaux sous l'adresse */
.footer__col--social { margin-top: 26px; }

/* Footer : crédits sur une seule ligne chacun */
.footer a.credit { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) { .footer__infos { gap: 24px; } }

/* Footer : petite épingle collée au libellé ADRESSE */
.footer__label .pin--coral { width: 9px; height: 12px; margin-left: 5px; vertical-align: -1px; }

/* ---------- Soleil suivi sur l'heure réelle (script.js) ---------- */
.sun {
  left: calc(800px + var(--sun-dx, 0px));
  top: calc(110px + var(--sun-dy, 0px));
  transition: left 1.5s linear, top 1.5s linear, background-color 1.5s;
}
.hero, .fuji, .cloud, .sun { transition: background-color 1.5s, background 1.5s; }

/* nuit : ciel sombre, soleil gris, montagne et nuages assombris */

/* nuit : la scène (torii, montagne, fleurs, renard) est désaturée ; les textes gardent leurs couleurs */
.hero__scene, .hero .fleur { transition: filter 1.5s; }

/* jour / nuit en dégradé continu : --jour va de 1 (plein jour) à 0 (nuit), mis à jour chaque minute */
.ciel-nuit { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(to bottom, #1d2a3f, #3b4a63); opacity: calc(1 - var(--jour, 1)); transition: opacity 60s linear; }
.sun { background: color-mix(in srgb, #ff696a calc(var(--jour, 1) * 100%), #9aa3ad); transition: left 1.5s linear, top 1.5s linear, background 60s linear; }
.fuji { background: color-mix(in srgb, #8ea6d0 calc(var(--jour, 1) * 100%), #2c3a52); transition: background 60s linear; }
.hero__scene, .hero .fleur { filter: grayscale(calc((1 - var(--jour, 1)) * .6)) brightness(calc(1 - (1 - var(--jour, 1)) * .2)); transition: filter 60s linear; }

/* renard qui dort la nuit : respiration plus lente, "zzz" qui apparaissent avec la nuit (variable --jour) */
.hero__fox { animation: bounce calc(3s + (1 - var(--jour, 1)) * 2.5s) ease-in-out infinite; }
.zzz { position: absolute; left: 1010px; top: 530px; z-index: 6; pointer-events: none; color: #f3e9d8; font: 700 22px system-ui, sans-serif; opacity: calc(1 - var(--jour, 1)); transition: opacity 60s linear; }
.zzz span { position: absolute; left: 0; top: 0; opacity: 0; animation: zz 3.6s ease-in-out infinite; }
.zzz span:nth-child(2) { left: 18px; top: -20px; font-size: 26px; animation-delay: 1.2s; }
.zzz span:nth-child(3) { left: 42px; top: -44px; font-size: 32px; animation-delay: 2.4s; }
@keyframes zz { 0% { opacity: 0; transform: translateY(8px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(-16px); } }

/* soleil : agrandissement le jour (--sun-scale, défini par script.js) */
.sun { transform: scale(var(--sun-scale, 1)); }

/* titre et accroche des pages intérieures : foncé le jour, bleu clair la nuit */
.hero--page .hero__title, .hero--page .hero__intro { color: color-mix(in srgb, #1d2a3f calc(var(--jour, 1) * 100%), #a9d0f5); }

/* pastille "Sommet" des pages intérieures : fond foncé le jour, un peu plus clair la nuit */
.hero--page .tag { background: color-mix(in srgb, #162130 calc(var(--jour, 1) * 100%), #3b4a63); transition: none; }

/* logos SVG des entreprises : taille fixe (un SVG sans dimensions s'affiche en 0 x 0) ; GAIA est blanc, on lui donne un fond sombre */
.brand__logo img[src$=".svg"] { width: 180px; height: 90px; max-width: 100%; max-height: none; object-fit: contain; border-radius: 6px; }
.brand__logo img[src*="gaia"], .company__panel img[src*="gaia"] { background: #231b2b; }
.company__panel img[src$=".svg"] { width: 100%; height: auto; max-height: 360px; object-fit: contain; }

/* téléphone : la branche de fleurs reste au-dessus du titre, sans recouvrir "Média 2026" */
@media (max-width: 900px) {
  .page-intro__branch { top: -120px; width: 210px; z-index: 0; }
  .page-intro__year, .page-intro .title, .page-intro .lead { position: relative; z-index: 2; }
}

/* téléphone : un peu plus d'espace entre la branche de fleurs et "Média 2026" */
@media (max-width: 900px) {
  .page-intro__year { margin-top: 36px; }
}

/* téléphone : les crédits longs passent à la ligne au lieu de déborder à droite */
@media (max-width: 900px) {
  .footer__col, .footer__links, .footer__label { min-width: 0; max-width: 100%; }
  .footer__links .credit, .footer a { overflow-wrap: anywhere; }
}

/* téléphone, accueil : tout le décor (torii, soleil, montagne, renard) est décalé vers la gauche */
@media (max-width: 1000px) {
  .hero:not(.hero--page) .hero__scene { translate: -70px 0; }
}

/* téléphone, accueil : le logo MÉDIA passe au-dessus de l'adresse */
@media (max-width: 1000px) {
  .hero:not(.hero--page) .hero__content { display: flex; flex-direction: column; }
  .hero:not(.hero--page) .hero__logo { order: -1; }
}

/* téléphone, accueil : un peu d'espace sous le logo MÉDIA, avant l'adresse */
@media (max-width: 1000px) {
  .hero:not(.hero--page) .hero__logo { margin-bottom: 22px; }
}

/* téléphone, accueil : la pastille d'adresse garde sa largeur naturelle (pas toute la largeur) */
@media (max-width: 1000px) {
  .hero:not(.hero--page) .hero__content > .tag { align-self: flex-start; width: auto; }
}

/* accueil en colonne : la date garde sa largeur naturelle (pas toute la largeur) */
@media (max-width: 1000px) {
  .hero:not(.hero--page) .hero__content > .hero__date { align-self: flex-start; width: auto; }
}

/* Nuages : dessins importés (nuages 1.svg), la couleur vient des fichiers */
.cloud { height: auto; max-width: none; border-radius: 0; background: none; }
.cloud--1 { left: 840px; top: 50px; width: 190px; }
.cloud--2 { left: 1070px; top: 120px; width: 130px; }
.cloud--3 { left: 640px; top: 330px; width: 150px; }
.cloud--4 { left: 1150px; top: 300px; width: 120px; }


/* Divergences : logo rose clair, posé sur un fond bleu nuit pour rester lisible */
.brand__logo img[src*="divergences"], .company__panel img[src*="divergences"] { background: var(--navy); padding: 10px; }

/* Fiches entreprises (pop-up) : fond blanc */
.company-modal { background: #fff; }

/* =========================================
   Page « Le site des PO 2026 » : ligne du temps et démos avant / après
   ========================================= */
.tl-section { padding-top: 40px; }
.tl { position: relative; padding-left: 72px; }
.tl__track { position: absolute; left: 22px; top: 0; bottom: 0; width: 4px; border-radius: 2px; background: var(--grey-blue); }
.tl__fill { width: 100%; height: calc(var(--p, 0) * 100%); border-radius: 2px; background: var(--coral); }
.tl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 110px; }
.tl__step { position: relative; }
.tl__step::before { content: ""; position: absolute; left: -60px; top: 4px; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; background: var(--cream); border: 4px solid var(--grey-blue); transition: background .4s, border-color .4s, transform .4s var(--ease, ease); }
.tl__step.is-on::before { background: var(--coral); border-color: var(--coral); transform: scale(1.15); }
.tl--js .tl__step { opacity: .3; translate: 0 30px; transition: opacity .6s, translate .6s var(--ease, ease); }
.tl--js .tl__step.is-on { opacity: 1; translate: 0 0; }
.tl__num { font-family: var(--f-title); font-size: 18px; color: var(--coral); }
.tl__title { margin-top: 4px; font-family: var(--f-title); font-size: 34px; line-height: 1.15; color: var(--navy); }
.tl__text { margin-top: 14px; max-width: 720px; font-size: 16px; line-height: 1.7; }
.tl__demo { margin-top: 26px; max-width: 820px; }
.tl__links { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 16px; }

/* boutons Avant / Après */
.tl-ab { display: inline-flex; margin-bottom: 14px; padding: 4px; border-radius: 999px; background: var(--navy); }
.tl-ab button { padding: 8px 18px; border: 0; border-radius: 999px; background: none; color: var(--grey-blue); font: 700 14px var(--f-mono); cursor: pointer; transition: background .25s, color .25s; }
.tl-ab button[aria-pressed="true"] { background: var(--coral); color: var(--white); }

/* 01 typographie */
.tl-typo { padding: 34px 36px; border-radius: 24px; background: var(--white); }
.tl-typo__eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .25em; color: var(--coral); }
.tl-typo__title { margin-top: 8px; font-family: var(--f-title); font-size: 44px; line-height: 1.1; color: var(--navy); }
.tl-typo__lead { margin-top: 14px; max-width: 520px; font-size: 17px; line-height: 1.6; }
.tl-typo__jp { margin-top: 12px; font-family: var(--f-jp); font-size: 34px; color: var(--coral); }
.tl-typo__btn { display: inline-block; margin-top: 18px; padding: 12px 22px; border-radius: 999px; background: var(--navy); color: var(--cream); font-size: 14px; font-weight: 700; }
.is-avant .tl-typo * { font-family: Arial, sans-serif; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.4; color: #333; margin-top: 4px; }
.is-avant .tl-typo__btn { padding: 0; background: none; text-decoration: underline; }

/* 02 affiche */
.tl-poster { display: inline-block; width: min(280px, 100%); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 0 var(--navy); cursor: zoom-in; transition: transform .3s var(--ease, ease); }
.tl-poster:hover { transform: rotate(-2deg) scale(1.03); }
.tl-poster img { display: block; width: 100%; height: auto; }

/* 03 hero */
.tl-hero { aspect-ratio: 16 / 9; padding: 6%; border-radius: 24px; background: linear-gradient(to bottom, var(--blue), var(--pink-light)); display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "logo logo logo" "date tag ."; align-content: center; gap: 16px 14px; }
.tl-hero__logo { grid-area: logo; width: min(300px, 70%); }
.tl-hero__date, .tl-hero__tag { display: inline-flex; align-items: center; height: 56px; padding: 0 16px; border-radius: 12px; font-size: 12px; font-weight: 700; }
.tl-hero__date { grid-area: date; gap: 8px; background: var(--coral); color: var(--white); }
.tl-hero__date b { font-family: var(--f-title); font-size: 22px; }
.tl-hero__tag { grid-area: tag; border-radius: 999px; background: var(--navy); color: var(--cream); font-weight: 400; line-height: 1.4; }
.is-avant .tl-hero { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.is-avant .tl-hero__tag { order: -1; height: auto; padding: 8px 14px; }
.is-avant .tl-hero__date { height: 74px; margin-top: auto; padding: 0 26px; }
.is-avant .tl-hero__date b { font-size: 30px; }

/* 04 et 05 scène */
.tl-scene { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 24px; background: linear-gradient(to bottom, var(--blue), var(--pink-light)); }
.tl-scene > * { position: absolute; }
.tl-scene__sun { z-index: 1; left: calc(var(--cx, 50%) - 12%); top: calc(var(--cy, 34%) - 21.3%); width: 24%; aspect-ratio: 1; border-radius: 50%; background: var(--coral); }
.tl-new__mont { z-index: 2; left: -263%; top: 8.7%; width: 626%; max-width: none; }
.tl-new__porte { z-index: 3; left: 37.5%; bottom: 14%; width: 25%; max-width: none; }
.tl-new__cloud { z-index: 2; height: auto; }
.tl-new__cloud--1 { left: 10%; top: 10%; width: 20%; }
.tl-new__cloud--2 { left: 72%; top: 20%; width: 14%; }
.tl-scene__fox { z-index: 4; left: 46.5%; bottom: 14.5%; width: 7%; }
.tl-old { z-index: 2; }
.tl-old__fuji { left: 25%; top: 50%; width: 50%; height: 30%; background: var(--blue-dark); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tl-old__snow { z-index: 3; left: 43%; top: 50%; width: 14%; height: 8.4%; background: var(--cream); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.tl-old__ground { left: 0; right: 0; bottom: 0; height: 20%; background: var(--pink-light); }
.tl-old__cloud { height: 5%; border-radius: 999px; background: var(--cream); }
.tl-old__cloud--1 { left: 15%; top: 12%; width: 18%; }
.tl-old__cloud--2 { left: 68%; top: 22%; width: 12%; }
.tl-old__torii { z-index: 3; left: 38%; top: 54%; width: 24%; height: 32%; }
.tl-old__torii i { position: absolute; background: var(--coral); }
.tl-old__torii .r { left: 0; right: 0; top: 0; height: 9%; border-radius: 4px; }
.tl-old__torii .b { left: 8%; right: 8%; top: 22%; height: 6%; }
.tl-old__torii .p1, .tl-old__torii .p2 { top: 9%; bottom: 0; width: 7%; }
.tl-old__torii .p1 { left: 16%; }
.tl-old__torii .p2 { right: 16%; }
[data-ab]:not(.is-avant) .tl-old, .is-avant .tl-new { display: none; }

/* 05 soleil et manivelle */
.tl-sun { --j: 1; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.tl-sun .tl-scene__sun { background: color-mix(in srgb, #ff696a calc(var(--j) * 100%), #9aa3ad); }
.tl-sun .tl-scene > img, .tl-sun .tl-scene__sun { filter: grayscale(calc((1 - var(--j)) * .6)) brightness(calc(1 - (1 - var(--j)) * .2)); }
.tl-sun__nuit { z-index: 0; inset: 0; background: linear-gradient(to bottom, #1d2a3f, #3b4a63); opacity: calc(1 - var(--j)); }
.tl-sun__zzz { z-index: 5; left: 55%; bottom: 30%; color: #f3e9d8; font: 700 16px system-ui, sans-serif; opacity: calc(1 - var(--j)); }
.tl-sun__zzz span { display: inline-block; translate: 0 -10px; }
.tl-sun__zzz span + span { font-size: 22px; translate: 0 -24px; }
.tl-sun__ctrl { display: grid; justify-items: center; gap: 10px; padding: 16px; border-radius: 22px; background: var(--navy-dark); color: var(--cream); }
.tl-sun__heure { font: 700 24px var(--f-mono); }
.tl-sun__roue { position: relative; width: 120px; height: 120px; border-radius: 50%; background: #2b3a52; border: 4px solid var(--cream); touch-action: none; cursor: grab; }
.tl-sun__roue:active { cursor: grabbing; }
.tl-sun__roue:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.tl-sun__bras { position: absolute; left: 50%; top: 50%; width: 48px; height: 7px; margin-top: -3.5px; border-radius: 4px; background: var(--cream); transform-origin: 0 50%; }
.tl-sun__poignee { position: absolute; right: -12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--coral); border: 3px solid var(--cream); }
.tl-sun__axe { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--cream); }

/* 06 bandeau */
.tl-band { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 20px; background: var(--navy-dark); color: var(--cream); }
.tl-band__icon { flex-shrink: 0; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: var(--white); font-weight: 700; }
.tl-band__title { font-family: var(--f-title); font-size: 20px; }
.tl-band__jp { margin-left: auto; font-size: 13px; color: var(--blue); white-space: nowrap; }
.tl-band .alert__jp { display: block; }
[data-ab]:not(.is-avant) .tl-band__jp--old, .is-avant .tl-band__jp--new { display: none; }

/* 07 contraste */
.tl-contrast { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 20px; border: 2px solid var(--navy); }
.tl-contrast p { padding: 26px; font-size: 14px; line-height: 1.7; }
.tl-contrast__light { background: var(--cream); color: var(--navy); }
.tl-contrast__light b { color: var(--navy); }
.tl-contrast__dark { background: var(--navy); color: var(--cream); }
.tl-contrast__dark span { display: block; font-size: 12px; color: var(--blue); }
.is-avant .tl-contrast__light { color: rgba(36, 52, 71, .45); }
.is-avant .tl-contrast__light b { color: var(--cream); }
.is-avant .tl-contrast__dark { color: #9c4a52; }

/* 08 pied de page */
.tl-foot { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 22px; padding: 26px; border-radius: 20px; background: var(--navy); color: var(--cream); font-size: 12px; line-height: 1.6; }
.tl-foot b { display: block; margin-bottom: 4px; font-size: 10px; font-weight: 400; color: var(--blue); }
.tl-foot__soc { margin-top: 12px; }
.tl-foot__dots { display: flex; gap: 6px; }
.tl-foot__dots i { width: 18px; height: 18px; border-radius: 50%; background: var(--coral); }
.tl-foot__col { white-space: nowrap; }
.tl-foot__brands { display: grid; grid-template-columns: auto auto; gap: 14px 16px; align-items: center; width: max-content; }
.tl-foot__brands .po { height: 44px; }
.tl-foot__brands .vd { display: grid; place-items: center; height: 44px; padding: 5px 6px; box-sizing: border-box; border-radius: 8px; background: var(--cream); }
.tl-foot__brands .vd img { height: 100%; }
.tl-foot__brands .cp { grid-column: 1 / -1; width: 0; min-width: 100%; }
.is-avant .tl-foot { display: flex; justify-content: flex-start; gap: 10px; }
.is-avant .tl-foot__brands { display: flex; gap: 8px; }
.is-avant .tl-foot__brands .cp { width: 90px; min-width: 0; }
.is-avant .tl-foot__col { width: 80px; white-space: normal; font-size: 13px; }
.is-avant .tl-foot__col:first-of-type { font-size: 16px; }
.is-avant .tl-foot__soc, .is-avant .tl-foot__dots { display: none; }

@media (max-width: 900px) {
  .tl { padding-left: 46px; }
  .tl__track { left: 10px; }
  .tl__step::before { left: -46px; width: 20px; height: 20px; }
  .tl__list { gap: 80px; }
  .tl__title { font-size: 26px; }
  .tl-typo { padding: 24px 22px; }
  .tl-typo__title { font-size: 32px; }
  .tl-sun { grid-template-columns: 1fr; }
  .tl-sun__ctrl { grid-auto-flow: column; justify-content: center; align-items: center; gap: 20px; }
  .tl-hero__date, .tl-hero__tag { height: 44px; padding: 0 10px; font-size: 10px; }
  .tl-hero__date b { font-size: 16px; }
  .tl-band { flex-wrap: wrap; }
  .tl-contrast { grid-template-columns: 1fr; }
  .tl-foot { grid-template-columns: 1fr 1fr; justify-content: stretch; }
  .tl-foot__col { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .tl--js .tl__step { opacity: 1; translate: none; transition: none; }
}

/* Page « Le site des PO 2026 » : la page commence brute, chaque étape ajoute une couche
   (classes posées sur <html> par script.js selon l'étape atteinte) */
.sans-couleur body > * { filter: grayscale(1); }
.sans-anim body > * { transition: filter .8s !important; }
.sans-typo body *:not(svg):not(svg *) { font-family: "Times New Roman", Times, serif !important; letter-spacing: normal !important; text-transform: none !important; }
.sans-espace .container { padding-left: 12px !important; padding-right: 12px !important; }
.sans-espace .section { padding-top: 20px !important; padding-bottom: 20px !important; }
.sans-espace .page-intro { padding-top: calc(var(--header-h) + 12px) !important; padding-bottom: 12px !important; }
.sans-espace .tl__list { gap: 18px; }
.sans-espace .tl__title, .sans-espace .tl__text, .sans-espace .tl__demo, .sans-espace .tl__links { margin-top: 4px !important; }
.sans-espace body p { line-height: 1.25 !important; }
.sans-espace body *:not(.tl__step)::before, .sans-espace body * { border-radius: 0 !important; box-shadow: none !important; }
.sans-espace .btn, .sans-espace .tl-ab button, .sans-espace .tl-typo, .sans-espace .tl-band, .sans-espace .tl-foot, .sans-espace .tl-hero, .sans-espace .tl-contrast p { padding: 4px 6px !important; }
.sans-espace .header__nav { gap: 6px; }
.sans-dessin .page-intro__branch, .sans-dessin .fleur { display: none; }
.sans-anim *, .sans-anim *::before, .sans-anim *::after { animation: none !important; transition: none !important; }

/* nuancier de l'étape « couleurs » */
.tl-swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.tl-swatches span { position: relative; padding: 80px 12px 12px; overflow: hidden; border-radius: 16px; background: var(--white); font-size: 12px; }
.tl-swatches span::before { content: ""; position: absolute; inset: 0 0 auto; height: 68px; background: var(--c); }
.tl-swatches b { display: block; font-size: 14px; }
@media (max-width: 900px) { .tl-swatches { grid-template-columns: repeat(2, 1fr); } }
.tl-intro { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; }
.tl-intro__hint { margin-top: 30px; font-weight: 700; color: var(--coral); animation: tl-hint 1.6s ease-in-out infinite; }
@keyframes tl-hint { 50% { translate: 0 8px; } }
.sans-couleur body { background-color: #fff; }
body { transition: background-color .8s; }

/* Divergences : logo intégré dans la page pour utiliser sa police (Swiss721 BT, Adobe Fonts) */
.dv-logo { display: block; box-sizing: border-box; padding: 10px; border-radius: 6px; background: var(--navy); }
.brand__logo .dv-logo { width: 180px; height: 90px; max-width: 100%; }
.company__panel .dv-logo { width: 100%; height: auto; max-height: 360px; }

/* =========================================
   Page « Le site des PO 2026 » : histoire au défilement
   La maquette reste en place (sticky), le panneau change d'étape.
   La maquette se mesure en cqw (1 % de sa largeur) pour garder ses proportions.
   ========================================= */
.story { position: relative; height: calc(var(--n, 10) * 70vh + 100vh); }
.story__sticky { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); box-sizing: border-box; display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: center; max-width: 1400px; margin: 0 auto; padding: 24px var(--gutter); }
.story__stage { justify-self: center; width: min(100%, calc((100vh - var(--header-h) - 48px) * 16 / 11)); aspect-ratio: 16 / 11; container-type: inline-size; overflow: hidden; border-radius: 20px; box-shadow: 0 10px 0 var(--navy), 0 30px 60px rgba(22, 33, 48, .25); }

/* panneau */
.story__panel { padding: 28px; border-radius: 24px; background: var(--white); box-shadow: 0 8px 0 var(--coral); }
.story__count { font-family: var(--f-title); font-size: 20px; color: var(--coral); }
.story__steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.story__steps li { grid-area: 1 / 1; opacity: 0; translate: 0 18px; pointer-events: none; transition: opacity .45s, translate .45s var(--ease, ease); }
.story__steps li.is-current { opacity: 1; translate: 0 0; pointer-events: auto; }
.story__steps h2 { font-family: var(--f-title); font-size: 28px; line-height: 1.15; color: var(--navy); }
.story__steps p { margin-top: 12px; font-size: 15px; line-height: 1.65; }
.story__bar { margin-top: 24px; height: 6px; border-radius: 3px; background: var(--grey-blue); overflow: hidden; }
.story__bar span { display: block; height: 100%; width: calc(var(--sp, .1) * 100%); background: var(--coral); transition: width .45s var(--ease, ease); }
.story-end__links { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- maquette ---------- */
.mk { --j: 1; height: 100%; overflow: hidden; background: var(--cream); color: var(--navy); font-size: 1.2cqw; transition: filter .8s, background-color .8s; }
.mk * { box-sizing: border-box; }
.mk__scroll { transition: transform .9s var(--ease, ease); }
.mk__header { display: flex; align-items: center; gap: 2cqw; height: 5cqw; padding: 0 4cqw; background: var(--navy-dark); color: var(--cream); font-size: .85cqw; }
.mk__header-logo { height: 3cqw; margin-right: auto; }

.mk__hero { position: relative; height: 36cqw; overflow: hidden; background: linear-gradient(to bottom, var(--blue), var(--pink-light)); }
.mk__hero > * { position: absolute; }
.mk__nuit { z-index: 0; inset: 0; background: linear-gradient(to bottom, #1d2a3f, #3b4a63); opacity: calc(1 - var(--j)); }
.mk__sun { z-index: 1; left: calc(var(--cx, 70cqw) - 7cqw); top: calc(var(--cy, 12cqw) - 7cqw); width: 14cqw; aspect-ratio: 1; border-radius: 50%; background: color-mix(in srgb, #ff696a calc(var(--j) * 100%), #9aa3ad); }
.mk-new__mont { z-index: 2; left: -180.8cqw; top: -8.5cqw; width: 501cqw; max-width: none; }
.mk-new__porte { z-index: 3; left: 60cqw; top: 12cqw; width: 20cqw; max-width: none; }
.mk-new__cloud { z-index: 2; }
.mk-new__cloud--1 { left: 49cqw; top: 3cqw; width: 9cqw; }
.mk-new__cloud--2 { left: 84cqw; top: 9cqw; width: 6cqw; }
.mk__fox { z-index: 4; left: 68cqw; top: 19.5cqw; width: 4cqw; }
.mk__zzz { z-index: 5; left: 72.5cqw; top: 16cqw; color: #f3e9d8; font: 700 1.3cqw system-ui, sans-serif; opacity: calc(1 - var(--j)); }
.mk__zzz span { display: inline-block; translate: 0 -.8cqw; }
.mk__zzz span + span { font-size: 1.7cqw; translate: 0 -1.8cqw; }
.mk__hero img:not(.mk__logo):not(.mk__fleur), .mk__sun { filter: grayscale(calc((1 - var(--j)) * .6)) brightness(calc(1 - (1 - var(--j)) * .2)); }
.mk__fleur { z-index: 6; transform-origin: 50% 50%; }
.mk__fleur--1 { left: 1cqw; top: 1cqw; width: 6cqw; }
.mk__fleur--2 { left: 7.5cqw; top: 6cqw; width: 4cqw; }

.mk-old { z-index: 2; }
.mk-old__cloud { height: 1.6cqw; border-radius: 1cqw; background: var(--cream); }
.mk-old__cloud--1 { left: 52cqw; top: 4cqw; width: 10cqw; }
.mk-old__cloud--2 { left: 82cqw; top: 9cqw; width: 7cqw; }
.mk-old__fuji { left: 50cqw; top: 10cqw; width: 40cqw; height: 14cqw; background: var(--blue-dark); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mk-old__snow { z-index: 3; left: 65.2cqw; top: 10cqw; width: 9.6cqw; height: 3.36cqw; background: var(--cream); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.mk-old__ground { left: 0; right: 0; top: 24cqw; bottom: 0; background: var(--pink-light); }
.mk-old__torii { z-index: 3; left: 61cqw; top: 13cqw; width: 18cqw; height: 13cqw; }
.mk-old__torii i { position: absolute; background: var(--coral); }
.mk-old__torii .r { left: 0; right: 0; top: 0; height: 1.3cqw; border-radius: .4cqw; }
.mk-old__torii .b { left: 1.6cqw; right: 1.6cqw; top: 3cqw; height: .9cqw; }
.mk-old__torii .p1, .mk-old__torii .p2 { top: 1.3cqw; bottom: 0; width: 1.3cqw; }
.mk-old__torii .p1 { left: 3cqw; }
.mk-old__torii .p2 { right: 3cqw; }

.mk__content { z-index: 7; left: 6cqw; top: 0; bottom: 3cqw; width: 44cqw; display: grid; grid-template-columns: auto auto 1fr; grid-template-areas: "logo logo logo" "date tag ."; align-content: center; gap: 1.8cqw 1.2cqw; }
.mk__logo { grid-area: logo; width: 26cqw; }
.mk__date, .mk__tag { display: inline-flex; align-items: center; height: 4.6cqw; padding: 0 1.4cqw; border-radius: 1cqw; font-size: 1cqw; font-weight: 700; white-space: nowrap; }
.mk__date { grid-area: date; gap: .7cqw; background: var(--coral); color: var(--white); }
.mk__date b { font-family: var(--f-title); font-size: 2.2cqw; }
.mk__tag { grid-area: tag; border-radius: 3cqw; background: var(--navy); color: var(--cream); font-weight: 400; line-height: 1.4; }

.mk__board { position: relative; z-index: 8; width: 84cqw; margin: -3cqw auto 0; padding: 1.6cqw 2cqw; border-radius: 1.4cqw; background: var(--navy-dark); color: var(--cream); }
.mk__board-top { display: flex; justify-content: space-between; font-size: .9cqw; }
.mk__board-top span:first-child { color: var(--coral); }
.mk__digits { display: flex; gap: .5cqw; margin-top: 1.2cqw; }
.mk__digits i { flex: 1; display: grid; place-items: center; height: 5.4cqw; border-radius: .6cqw; background: var(--navy); font: 400 3cqw var(--f-title); font-style: normal; }
.mk__digits em { width: 1.2cqw; }

.mk__section { padding: 4cqw 8cqw; }
.mk__eyebrow { font-size: 1cqw; font-weight: 700; letter-spacing: .25em; color: var(--coral); }
.mk__title { margin-top: .6cqw; font-family: var(--f-title); font-size: 3.6cqw; line-height: 1.1; }
.mk__text { margin-top: 1cqw; max-width: 50cqw; font-size: 1.3cqw; line-height: 1.6; }
.mk__btn { display: inline-block; margin-top: 1.6cqw; padding: 1cqw 2cqw; border-radius: 3cqw; background: var(--navy); color: var(--cream); font-size: 1.1cqw; font-weight: 700; box-shadow: 0 .5cqw 0 var(--coral); }

.mk__band { display: flex; align-items: center; gap: 1.4cqw; margin: 0 8cqw 4cqw; padding: 1.6cqw 2cqw; border-radius: 1.6cqw; background: var(--navy-dark); color: var(--cream); }
.mk__band-icon { flex-shrink: 0; display: grid; place-items: center; width: 3cqw; height: 3cqw; border-radius: 50%; background: var(--coral); color: var(--white); font-weight: 700; }
.mk__band-title { font-family: var(--f-title); font-size: 1.6cqw; }
.mk__band-jp { margin-left: auto; font-size: 1.1cqw; color: var(--blue); white-space: nowrap; }
.mk .alert__jp { display: block; }

.mk__footer { padding: 4cqw 8cqw; background: var(--navy); color: var(--cream); }
.mk__footer-jp { font-family: var(--f-jp); font-size: 8cqw; line-height: 1; color: var(--coral); }
.mk__foot { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 2cqw; margin-top: 3cqw; padding-top: 2.4cqw; border-top: 1px solid var(--line); font-size: .95cqw; line-height: 1.6; }
.mk__foot b { display: block; margin-bottom: .4cqw; font-size: .8cqw; font-weight: 400; color: var(--blue); }
.mk__foot-soc { margin-top: 1.2cqw; }
.mk__foot-dots { display: flex; gap: .6cqw; }
.mk__foot-dots i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--coral); }
.mk__foot-col { white-space: nowrap; }
.mk__foot-brands { display: grid; grid-template-columns: auto auto; gap: 1.4cqw 1.6cqw; align-items: center; width: max-content; }
.mk__foot-brands .po { height: 4.4cqw; }
.mk__foot-brands .vd { display: grid; place-items: center; height: 4.4cqw; padding: .5cqw .6cqw; border-radius: .8cqw; background: var(--cream); }
.mk__foot-brands .vd img { height: 100%; }
.mk__foot-brands .cp { grid-column: 1 / -1; width: 0; min-width: 100%; }

/* ---------- états de la maquette (retirés un par un en défilant) ---------- */
.mk.no-color { filter: grayscale(1); background-color: #fff; }
.mk.no-typo * { font-family: "Times New Roman", Times, serif !important; letter-spacing: normal !important; font-weight: 400 !important; }
.mk.no-typo :is(.mk__title, .mk__eyebrow, .mk__text, .mk__btn, .mk__band-title, .mk__board-top, .mk__date b) { font-size: 1.3cqw !important; }
.mk.no-space .mk__section { padding: 1cqw 2cqw; }
.mk.no-space .mk__text { line-height: 1.2; }
.mk.no-space .mk__title, .mk.no-space .mk__text, .mk.no-space .mk__btn { margin-top: .2cqw; }
.mk.no-space .mk__btn { padding: .2cqw .5cqw; box-shadow: none; }
.mk.no-space .mk__board { width: 100%; margin: 0; padding: .6cqw 1cqw; }
.mk.no-space .mk__band { margin: 0; padding: .6cqw 1cqw; }
.mk.no-space .mk__footer { padding: 1cqw 2cqw; }
.mk.no-space :is(.mk__btn, .mk__board, .mk__digits i, .mk__band, .mk__band-icon, .mk__date, .mk__tag, .mk__foot-brands .vd, .mk-old__torii .r) { border-radius: 0; }
.mk.old-art .mk-new, .mk.old-art .mk__fleur, .mk:not(.old-art) .mk-old { display: none; }
.mk.old-hero .mk__content { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 1.2cqw; padding-top: 2.4cqw; }
.mk.old-hero .mk__tag { order: -1; height: auto; padding: .7cqw 1.2cqw; }
.mk.old-hero .mk__date { height: 6cqw; margin-top: auto; padding: 0 2.2cqw; }
.mk.old-hero .mk__date b { font-size: 3cqw; }
.mk.old-band .mk__band-jp--new, .mk:not(.old-band) .mk__band-jp--old { display: none; }

/* animations (à partir de l'étape « le décor s'anime ») */
.mk:not(.no-anim) .mk__fox { animation: bounce 3s ease-in-out infinite; }
.mk:not(.no-anim) .mk-new__cloud, .mk:not(.no-anim) .mk-old__cloud { animation: drift 9s ease-in-out infinite alternate; }
.mk:not(.no-anim) .mk__fleur { animation: sway 6s ease-in-out infinite; }
.mk:not(.no-anim) .mk__board-top span:first-child { animation: mk-blink 1.6s steps(2) infinite; }
@keyframes mk-blink { 50% { opacity: .3; } }

@media (max-width: 900px) {
  .story { height: calc(var(--n, 10) * 60vh + 100vh); }
  .story__sticky { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-items: start; gap: 14px; padding: 14px 16px; }
  .story__stage { width: 100%; border-radius: 14px; }
  .story__panel { padding: 18px; border-radius: 18px; }
  .story__steps h2 { font-size: 22px; }
  .story__steps p { margin-top: 8px; font-size: 14px; line-height: 1.55; }
  .story__bar { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk:not(.no-anim) * { animation: none !important; }
  .mk__scroll, .story__steps li { transition: none; }
}
