/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .timeline__item { opacity: 1; }
  .reveal { opacity: 1; }
  .ticker__track { animation: none; }
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--brown-mid);
  background: var(--cream);
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: var(--z-content);
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: min(100% - 2.5rem, var(--max-w));
  margin-inline: auto;
}

.header .container {
  width: 100%;
  max-width: var(--max-w);
  padding-inline: clamp(0.75rem, 4vw, 1.25rem);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

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

/* ===== TYPOGRAPHY ===== */
.display {
  font-family: var(--font-accent);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}

.section-tag::before,
.section-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.section-tag::before { background: linear-gradient(90deg, var(--gold), transparent); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  color: var(--brown);
  margin-bottom: 1.25rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--brown-soft);
  max-width: 58ch;
  margin-bottom: 2.5rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head .section-tag {
  display: inline-flex;
}

.section-head .section-title {
  margin-bottom: 1rem;
}

.section-head .section-lead {
  margin-inline: auto;
  margin-bottom: 0;
}

.section--dark .section-head .section-title {
  color: var(--beige);
}

.section--dark .section-head .section-lead--on-dark {
  color: rgba(245, 235, 224, 0.75);
}

.section--navy .section-head .section-lead--light {
  color: rgba(245, 235, 224, 0.78);
}

/* ===== TICKER ===== */
.ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-ticker);
  height: var(--ticker-h);
  background: var(--navy);
  overflow: hidden;
  border-bottom: 1px solid rgba(212, 168, 83, 0.2);
}

.ticker__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 100%;
  width: max-content;
  animation: ticker-scroll 45s linear infinite;
  padding-left: 2rem;
}

.ticker__item {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  white-space: nowrap;
}

.ticker__dot {
  color: var(--red);
  font-size: 0.45rem;
}

@keyframes ticker-scroll {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; flex-wrap: wrap; width: 100%; justify-content: center; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: var(--ticker-h);
  left: 0;
  right: 0;
  z-index: var(--z-header);
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(12, 22, 40, 0.85) 0%, transparent 100%);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.header__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue) 33%, var(--yellow) 33% 66%, var(--red) 66%);
  opacity: 0;
  transition: opacity 0.4s;
}

.header.is-solid .header__stripe { opacity: 1; }

.header.is-solid {
  background: rgba(12, 22, 40, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.logo__img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 168, 83, 0.45);
  flex-shrink: 0;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  line-height: 1.05;
}

.logo__line {
  font-family: var(--font-accent);
  font-size: clamp(0.7rem, 2.8vw, 1rem);
  color: var(--beige);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo__brand {
  font-family: var(--font-accent);
  font-style: normal;
  font-size: clamp(0.85rem, 3.2vw, 1.2rem);
  color: var(--gold);
  white-space: nowrap;
}

.header.is-solid .logo__line { color: var(--gold-bright); }

@media (max-width: 380px) {
  .logo__line { display: none; }
  .logo__brand { font-size: 1rem; }
  .logo__img { width: 36px; height: 36px; }
}

@media (min-width: 900px) {
  :root {
    --header-h: 80px;
    --ticker-h: 36px;
  }
  .logo__img { width: 44px; height: 44px; }
  .logo__text {
    flex-direction: row;
    align-items: baseline;
    gap: 0.35rem;
  }
  .logo__line { font-size: 1.25rem; }
  .logo__brand { font-size: 1.25rem; }
}

.btn-nav {
  display: none;
  min-height: 42px;
  padding: 0 1.1rem;
  font-size: 0.68rem;
}

@media (min-width: 900px) {
  .btn-nav { display: inline-flex; }
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 235, 224, 0.75);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--gold-bright);
}

.nav-desktop a:hover::after,
.nav-desktop a.is-active::after { width: 100%; }

.nav-desktop__group {
  position: relative;
  padding-bottom: 0.4rem;
  margin-bottom: -0.4rem;
}

.nav-desktop__parent {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 235, 224, 0.75);
  padding-bottom: 4px;
  transition: color 0.3s;
}

.nav-desktop__group:hover .nav-desktop__parent,
.nav-desktop__group:focus-within .nav-desktop__parent {
  color: var(--gold-bright);
}

.nav-desktop__submenu {
  position: absolute;
  top: calc(100% - 0.1rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 180px;
  display: grid;
  gap: 0.2rem;
  padding: 0.45rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 168, 83, 0.26);
  background: rgba(12, 22, 40, 0.96);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s var(--ease);
  transition-delay: 0s, 0s, 0.12s;
}

.nav-desktop__group:hover .nav-desktop__submenu,
.nav-desktop__group:focus-within .nav-desktop__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.nav-desktop__submenu a {
  font-size: 0.72rem;
  color: var(--beige);
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  min-height: auto;
}

.nav-desktop__submenu a::after {
  display: none;
}

.nav-desktop__submenu a:hover,
.nav-desktop__submenu a.is-active {
  color: var(--gold-bright);
  background: rgba(212, 168, 83, 0.12);
}

.menu-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(212, 168, 83, 0.45);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: var(--z-menu-btn);
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 900px) {
  .menu-btn { display: none; }
}

.menu-btn span {
  display: block;
  width: 20px; height: 2px;
  background: var(--gold-bright);
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-layer {
  position: fixed;
  top: calc(var(--header-h) + var(--ticker-h));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-nav-layer);
  pointer-events: none;
  visibility: hidden;
}

.nav-layer.is-active {
  pointer-events: auto;
  visibility: visible;
}

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.nav-layer.is-active .nav-backdrop.is-visible {
  opacity: 1;
}

.nav-mobile {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 320px);
  max-width: 100vw;
  background: linear-gradient(165deg, var(--navy) 0%, var(--brown) 100%);
  padding: 1.25rem clamp(1rem, 5vw, 1.75rem) max(1.5rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.5);
  border-left: 1px solid rgba(212, 168, 83, 0.25);
}

.nav-layer.is-active .nav-mobile.is-open {
  transform: translateX(0);
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  color: var(--beige);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(212, 168, 83, 0.12);
  min-height: 48px;
  display: flex;
  align-items: center;
  transition: color 0.25s, padding-left 0.25s;
}

.nav-mobile a:hover,
.nav-mobile a:focus-visible {
  color: var(--gold-bright);
  padding-left: 0.35rem;
}

.nav-mobile__group {
  border-bottom: 1px solid rgba(212, 168, 83, 0.12);
}

.nav-mobile__group summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.5rem);
  color: var(--beige);
  padding: 0.9rem 0;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.nav-mobile__group summary::-webkit-details-marker {
  display: none;
}

.nav-mobile__group summary::after {
  content: '▾';
  margin-left: auto;
  font-size: 0.9rem;
  color: rgba(212, 168, 83, 0.9);
  transition: transform 0.2s var(--ease);
}

.nav-mobile__group[open] summary::after {
  transform: rotate(180deg);
}

.nav-mobile__group a {
  font-size: 1rem;
  border-bottom: 0;
  padding: 0.55rem 0 0.55rem 0.9rem;
  color: rgba(245, 235, 224, 0.9);
}

.nav-mobile__group a:last-child {
  padding-bottom: 0.95rem;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

body.menu-open main {
  pointer-events: none;
  user-select: none;
}

@media (max-width: 899px) {
  .nav-desktop {
    display: none !important;
  }

  .header {
    background: rgba(12, 22, 40, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
  }

  .header.is-solid {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 480px) {
  .ticker__item {
    font-size: 0.58rem;
    letter-spacing: 0.16em;
  }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn:hover { transform: translateY(-3px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-dark) 100%);
  color: var(--brown);
  border-color: var(--gold-bright);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  box-shadow: 0 12px 40px rgba(212, 168, 83, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--beige);
  border-color: rgba(245, 235, 224, 0.5);
}

.btn-ghost:hover {
  background: rgba(245, 235, 224, 0.1);
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-dark {
  background: var(--brown);
  color: var(--gold-bright);
  border-color: var(--brown);
}

.btn-dark:hover {
  background: var(--brown-mid);
}

.btn-wa {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}

.btn-wa:hover { background: #1ebe5d; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  padding: calc(var(--header-h) + var(--ticker-h) + 2rem) 0 3rem;
  overflow: hidden;
  background: var(--navy);
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.35;
}

.hero__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 22, 40, 0.97) 0%, rgba(12, 22, 40, 0.75) 45%, rgba(12, 22, 40, 0.4) 100%),
    linear-gradient(0deg, rgba(12, 22, 40, 0.9) 0%, transparent 40%);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212, 168, 83, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: end;
  min-height: calc(100vh - var(--header-h) - var(--ticker-h) - 5rem);
}

@media (min-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr min(42vw, 420px);
    align-items: center;
    gap: 3rem;
  }
}

.hero__content { max-width: 640px; }

.hero__edition {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero__title {
  font-family: var(--font-accent);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  color: var(--beige);
  line-height: 1.05;
  margin-bottom: 0.75rem;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
}

.hero__play {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 3vw, 1.65rem);
  font-weight: 700;
  color: var(--gold-bright);
  margin-bottom: 0.75rem;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: rgba(245, 235, 224, 0.88);
  margin-bottom: 1rem;
  max-width: 38ch;
}

.hero__meta {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 235, 224, 0.55);
  margin-bottom: 2rem;
}

.hero__poster-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.hero__poster-btn img {
  width: 100%;
  display: block;
}

.hero__poster {
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(212, 168, 83, 0.35);
  background: linear-gradient(160deg, rgba(12, 22, 40, 0.6) 0%, rgba(26, 16, 8, 0.9) 100%);
  display: flex;
  flex-direction: column;
  align-self: center;
  perspective: 900px;
  transform-style: preserve-3d;
  padding: 1.25rem 0.85rem 3.25rem;
}

.hero__poster img {
  width: 100%;
  margin: 0 auto;
  display: block;
  height: auto;
  max-height: min(70vh, 460px);
  object-fit: contain;
  object-position: top center;
  transform: none;
  transform-origin: center top;
  transition: transform 0.2s ease-out;
  will-change: transform;
}

@media (max-width: 899px) {
  .hero__poster {
    max-width: min(360px, 92vw);
    padding-top: 1rem;
  }

  .hero__poster img {
    max-height: min(62vh, 420px);
  }
}

.hero__poster-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(12, 22, 40, 0.9));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  text-align: center;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245, 235, 224, 0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}

.hero__scroll-hint::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Hero entrance */
.hero .anim-in {
  opacity: 0;
  transform: translateY(28px);
  animation: fade-up 0.9s var(--ease) forwards;
}

.hero .anim-in:nth-child(1) { animation-delay: 0.08s; }
.hero .anim-in:nth-child(2) { animation-delay: 0.18s; }
.hero .anim-in:nth-child(3) { animation-delay: 0.28s; }
.hero .anim-in:nth-child(4) { animation-delay: 0.38s; }
.hero .anim-in:nth-child(5) { animation-delay: 0.48s; }
.hero .anim-in:nth-child(6) { animation-delay: 0.58s; }
.hero .anim-in:nth-child(7) { animation-delay: 0.68s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== SECTIONS COMMON ===== */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.section--dark {
  background: var(--brown);
  color: var(--beige);
}

.section--dark .section-title { color: var(--beige); }
.section--dark .section-lead { color: rgba(245, 235, 224, 0.75); }
.section--dark .section-tag { color: var(--gold-bright); }

.section--warm {
  background: var(--beige);
}

.section--cream {
  background: var(--cream);
}

.section--navy {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--beige);
}

.section-title--light { color: var(--beige); }
.section-lead--light { color: rgba(245, 235, 224, 0.78); }
.section--navy .section-tag { color: var(--gold-bright); }

/* Kuba divider */
.divider-kuba {
  height: 32px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--gold) 0 12px,
      var(--brown-mid) 12px 24px,
      var(--beige-warm) 24px 36px
    );
  opacity: 0.5;
}

/* ===== HISTOIRE ===== */
.histoire-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .histoire-grid { grid-template-columns: 1fr 1fr; }
}

.histoire-visual {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 24px 64px rgba(26, 16, 8, 0.2);
}

.histoire-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.45) contrast(1.08);
}

.histoire-visual__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,16,8,0.85) 0%, transparent 50%);
}

.histoire-visual__caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--gold-bright);
}

.histoire-visual__date {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.histoire-text p {
  margin-bottom: 1.25rem;
  color: var(--brown-soft);
}

.histoire-quote {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 168, 83, 0.08);
  font-family: var(--font-display);
  font-style: italic;
  color: var(--brown-mid);
  line-height: 1.6;
}

.histoire-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

.histoire-text p:first-of-type::first-letter {
  font-family: var(--font-accent);
  font-size: 3.5rem;
  float: left;
  line-height: 0.85;
  margin: 0.1rem 0.5rem 0 0;
  color: var(--gold-dark);
}

/* ===== EXPERIENCE ===== */
.exp-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) { .exp-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .exp-grid { grid-template-columns: repeat(4, 1fr); } }

.exp-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 41, 20, 0.08);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--blue));
}

.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(26, 16, 8, 0.12);
}

.exp-card__num {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: rgba(212, 168, 83, 0.25);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.exp-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.exp-card__text {
  font-size: 0.9rem;
  color: var(--brown-soft);
}

.exp-quote {
  margin-top: 3rem;
  padding: 2rem;
  text-align: center;
  border-left: 3px solid var(--gold);
  border-right: 3px solid var(--gold);
  background: rgba(212, 168, 83, 0.08);
  border-radius: var(--radius);
}

.exp-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--brown);
}

.exp-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

/* ===== PROGRAMME TIMELINE ===== */
.timeline-wrap {
  position: relative;
  padding: 2rem 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

@media (min-width: 900px) {
  .timeline {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 3rem;
    width: 100%;
    gap: 0.5rem;
  }

  .timeline::before {
    content: '';
    position: absolute;
    top: 1.25rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-bright), var(--gold), var(--gold-dark));
    background-size: 200% 100%;
  }

  .timeline--animated::before {
    animation: timeline-line-flow 4s ease-in-out infinite;
  }
}

@keyframes timeline-line-flow {
  0%, 100% { background-position: 0% 50%; opacity: 0.75; }
  50% { background-position: 100% 50%; opacity: 1; }
}

.timeline__item {
  position: relative;
  padding: 1.5rem 0 1.5rem 2.5rem;
  flex: 1;
  min-width: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  transition-delay: calc(var(--timeline-i, 0) * 0.12s);
}

.timeline__item.is-visible {
  opacity: 1;
}

.timeline__item.is-visible::before {
  animation: timeline-dot-pulse 2.2s ease-in-out infinite;
  animation-delay: calc(var(--timeline-i, 0) * 0.2s);
}

@keyframes timeline-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold); transform: translateX(-50%) scale(1); }
  50% { box-shadow: 0 0 0 4px var(--gold), 0 0 14px rgba(212, 168, 83, 0.55); transform: translateX(-50%) scale(1.15); }
}

@media (max-width: 899px) {
  .timeline__item.is-visible::before {
    animation-name: timeline-dot-pulse-mobile;
  }
  @keyframes timeline-dot-pulse-mobile {
    0%, 100% { box-shadow: 0 0 0 2px var(--gold); transform: scale(1); }
    50% { box-shadow: 0 0 0 4px var(--gold), 0 0 12px rgba(212, 168, 83, 0.5); transform: scale(1.12); }
  }
}

@media (min-width: 900px) {
  .timeline__item {
    padding: 3rem 1rem 0;
    text-align: center;
  }
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.75rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}

@media (min-width: 900px) {
  .timeline__item::before {
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
  }

  .timeline__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 899px) {
  .timeline__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2.5rem;
    bottom: -1rem;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(212,168,83,0.2));
  }
}

.timeline__time {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.timeline__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.timeline__desc {
  font-size: 0.875rem;
  color: var(--brown-soft);
}

/* ===== PACKS ===== */
.packs-showcase {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .packs-showcase { grid-template-columns: repeat(3, 1fr); }
}

.pack {
  position: relative;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid rgba(212, 168, 83, 0.25);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: border-color 0.35s, background 0.35s, transform 0.35s var(--ease);
}

.pack:hover,
.pack.is-selected {
  border-color: var(--gold);
  background: rgba(212, 168, 83, 0.12);
  transform: translateY(-4px);
}

.pack.is-featured:not(.is-selected) {
  border-color: rgba(212, 168, 83, 0.25);
  background: rgba(255, 255, 255, 0.04);
  transform: none;
}

.pack.is-featured::after {
  content: 'Populaire';
  position: absolute;
  top: -10px;
  right: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--brown);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.pack__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--gold-bright);
}

.pack__name {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--gold-bright);
  margin-bottom: 0.35rem;
}

.pack__price {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.pack__desc {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.5;
}

.pack input { position: absolute; opacity: 0; pointer-events: none; }

/* Form */
.form-box {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.5rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 168, 83, 0.3);
  border-radius: var(--radius);
}

.form-row { margin-bottom: 1.25rem; }

.form-row label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 6px;
  background: rgba(250, 246, 240, 0.95);
  color: var(--brown);
  transition: border-color 0.3s;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-row textarea { min-height: 110px; resize: vertical; }

.form-row.is-invalid input,
.form-row.is-invalid textarea {
  border-color: var(--red);
}

.form-error {
  font-size: 0.8rem;
  color: #ff9a9a;
  margin-top: 0.35rem;
  display: none;
}

.form-row.is-invalid .form-error { display: block; }

/* ===== INFOS ===== */
.infos-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .infos-row { grid-template-columns: repeat(3, 1fr); }
}

.info-tile {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(26, 16, 8, 0.06);
  position: relative;
  overflow: hidden;
}

.info-tile::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red));
}

.info-tile__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--gold-dark);
}

.info-tile__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.info-tile__value {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--brown);
  line-height: 1.4;
}

/* ===== PARTENAIRES ===== */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 4rem;
}

.partner-slot {
  width: 150px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(1) opacity(0.55);
  transition: filter 0.4s, opacity 0.4s, transform 0.4s;
}

.partner-slot:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}

.partner-slot span {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brown-soft);
  text-align: center;
}

/* ===== SOCIAL ===== */
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.social-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brown);
  color: var(--gold-bright);
  border: 2px solid rgba(212, 168, 83, 0.3);
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.social-btn:hover {
  background: var(--gold);
  color: var(--brown);
  border-color: var(--gold);
  transform: scale(1.1);
}

.social-btn svg { width: 22px; height: 22px; }

/* ===== STATS ===== */
.stats {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: var(--navy-mid);
  border-block: 1px solid rgba(212, 168, 83, 0.15);
  padding: 2rem 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stat {
  text-align: center;
  padding: 1rem;
}

.stat__value {
  font-family: var(--font-accent);
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--gold-bright);
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--beige);
  margin-top: 0.35rem;
}

.stat__sub {
  font-size: 0.75rem;
  color: rgba(245, 235, 224, 0.5);
  margin-top: 0.25rem;
}

/* ===== CONCEPT & ROADMAP ===== */
.concept {
  display: grid;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 900px) {
  .concept { grid-template-columns: 1.1fr 0.9fr; }
}

.concept__body {
  color: rgba(245, 235, 224, 0.8);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.concept__slogan {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-bright);
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 168, 83, 0.25);
}

.roadmap {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
}

.roadmap__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.roadmap__intro {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(245, 235, 224, 0.72);
}

.roadmap__locked {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 83, 0.4);
  background: rgba(212, 168, 83, 0.12);
}

.roadmap__locked .roadmap__year {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--gold-bright);
  line-height: 1;
}

.roadmap__locked-name {
  flex: 1;
  min-width: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--beige);
}

.roadmap__pinned {
  margin-bottom: 0.65rem;
}

.roadmap__pinned-label {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(212, 168, 83, 0.9);
}

.roadmap__poll-zone {
  display: grid;
  gap: 0.55rem;
}

.roadmap__year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.roadmap__year-tab {
  border: 1px solid rgba(212, 168, 83, 0.35);
  border-radius: 999px;
  background: transparent;
  color: rgba(245, 235, 224, 0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.roadmap__year-tab.is-active {
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  border-color: var(--gold-bright);
}

.roadmap__years-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.35rem;
}

.roadmap__years-viewport {
  overflow: hidden;
}

.roadmap__years-track {
  display: flex;
  transition: transform 0.45s var(--ease);
}

.roadmap__years-nav {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.45);
  background: rgba(212, 168, 83, 0.1);
  color: var(--gold-bright);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.roadmap__years-nav:hover {
  background: rgba(212, 168, 83, 0.24);
  transform: translateY(-1px);
}

.roadmap__item {
  flex: 0 0 100%;
  min-width: 100%;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 168, 83, 0.15);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.roadmap__item--poll.is-year-active {
  border-color: rgba(212, 168, 83, 0.35);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.roadmap__item.has-voted {
  border-color: rgba(212, 168, 83, 0.55);
}

.roadmap__year {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--gold-bright);
  line-height: 1;
}

.roadmap__body {
  min-width: 0;
}

.roadmap__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
}

.roadmap__figure {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(245, 235, 224, 0.92);
  font-weight: 600;
  transition: opacity 0.35s var(--ease);
}

.roadmap__role {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  color: rgba(245, 235, 224, 0.62);
  transition: opacity 0.35s var(--ease);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.roadmap__badge {
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
}

.roadmap__dots {
  display: flex;
  gap: 0.35rem;
  margin: 0;
}

.roadmap__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid rgba(212, 168, 83, 0.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.roadmap__dot.is-active {
  background: var(--gold-bright);
  transform: scale(1.15);
}

.roadmap__vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0;
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(212, 168, 83, 0.45);
  border-radius: 999px;
  background: rgba(212, 168, 83, 0.14);
  color: var(--gold-bright);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.roadmap__vote-btn:hover:not(:disabled) {
  background: rgba(212, 168, 83, 0.28);
  transform: translateY(-1px);
}

.roadmap__vote-btn:disabled {
  opacity: 0.75;
  cursor: default;
}

.roadmap__vote-name {
  color: var(--beige);
}

.roadmap__bars {
  display: grid;
  gap: 0.3rem;
  margin: 0.4rem 0 0;
}

.roadmap__bar-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 2.5ch;
  align-items: center;
  gap: 0.45rem;
}

.roadmap__bar-row.is-user-vote .roadmap__bar-name {
  color: var(--gold-bright);
}

.roadmap__bar-name {
  font-size: 0.68rem;
  color: rgba(245, 235, 224, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roadmap__bar-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.roadmap__bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright));
  transition: width 0.45s var(--ease);
}

.roadmap__bar-pct {
  font-size: 0.65rem;
  color: rgba(245, 235, 224, 0.55);
  text-align: right;
}

.roadmap__feedback {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: rgba(212, 168, 83, 0.95);
}

/* ===== MEDIA CARD ===== */
.media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(12, 22, 40, 0.92));
  font-family: var(--font-display);
  color: var(--gold-bright);
}

.media-card__date {
  font-family: var(--font-accent);
  font-size: 2.25rem;
  display: block;
  line-height: 1;
}

/* ===== BENTO EXPERIENCE ===== */
.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.experience-feature {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 700px) {
  .bento {
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }
  .bento.bento--single {
    grid-template-columns: 1fr;
  }
  .bento__card--large {
    min-height: 100%;
  }
  .bento__stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
  }
  .bento__stack .bento__card {
    flex: 1;
    min-height: 0;
  }
  .experience-feature {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.2rem;
  }
}

.bento__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bento__card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(212, 168, 83, 0.2);
  padding: 1.75rem;
  min-height: 160px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.bento__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.bento__card--large {
  padding: 0;
  min-height: 320px;
}

.bento__card--large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.bento__media-btn {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.bento--single .bento__card--large {
  max-width: 100%;
  min-height: 230px;
}

.bento--single .bento__card--large img {
  height: 230px;
  min-height: 230px;
  filter: brightness(1.12) contrast(1.04) saturate(1.04);
}

.experience-note {
  border: 1px solid rgba(12, 22, 40, 0.12);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 2vw, 1.3rem);
  box-shadow: 0 10px 24px rgba(12, 22, 40, 0.08);
}

.experience-note__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--gold-dark);
}

.experience-note h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(1.05rem, 2.3vw, 1.35rem);
}

.experience-note p {
  margin: 0;
  color: var(--brown-soft);
}

.experience-note p + p {
  margin-top: 0.6rem;
}

.bento__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(transparent 30%, rgba(12, 22, 40, 0.92) 100%);
  color: var(--beige);
  pointer-events: none;
}

.bento--single .bento__overlay {
  background: linear-gradient(transparent 36%, rgba(12, 22, 40, 0.7) 100%);
}

.bento__num {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.bento__card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.bento__card--large h3 { color: var(--beige); font-size: 1.5rem; }

.bento__card p {
  font-size: 0.92rem;
  color: var(--brown-soft);
  line-height: 1.55;
}

.bento__card--large p { color: rgba(245, 235, 224, 0.85); }

.bento__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

/* ===== PROGRAMME BLOCK ===== */
.programme-block {
  max-width: 100%;
}

.programme-header {
  margin-bottom: 2rem;
}

.programme-block .timeline-wrap {
  padding: 2.5rem 0 1rem;
  background: linear-gradient(180deg, rgba(212, 168, 83, 0.06) 0%, transparent 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 168, 83, 0.15);
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
  .programme-block .timeline__item {
    max-width: none;
  }
}

/* ===== OBJECTIFS ===== */
.objectifs-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 600px) {
  .objectifs-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .objectifs-grid { grid-template-columns: repeat(3, 1fr); }
  .objectif:last-child { grid-column: span 2; max-width: 60%; justify-self: center; }
}

.objectif {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, background 0.3s;
}

.objectif:hover {
  border-color: rgba(212, 168, 83, 0.45);
  background: rgba(212, 168, 83, 0.06);
}

.objectif__num {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--gold);
  opacity: 0.6;
  display: block;
  margin-bottom: 0.5rem;
}

.objectif__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.objectif__text {
  font-size: 0.9rem;
  color: rgba(245, 235, 224, 0.72);
  line-height: 1.6;
}

/* ===== EQUIPE ===== */
.equipe-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .equipe-grid { grid-template-columns: 1fr 1fr; }
  .equipe-card--wide { grid-column: span 2; }
}

.equipe-card {
  background: var(--cream);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.equipe-card__role {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}

.equipe-card__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brown);
  margin-bottom: 0.25rem;
}

.equipe-card__detail {
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.equipe-card__list {
  list-style: none;
  color: var(--brown-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}

.equipe-card__list--cols {
  columns: 2;
  column-gap: 2rem;
}

@media (max-width: 500px) {
  .equipe-card__list--cols { columns: 1; }
}

/* ===== PARTENAIRES LOGOS ===== */
.partners-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  max-width: 980px;
  margin: 2rem auto 0;
}

@media (min-width: 700px) {
  .partners-logos {
    gap: 2rem;
  }
}

.partner-logo {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem;
  min-height: 110px;
  background: var(--cream);
  border: 1px solid rgba(212, 168, 83, 0.22);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(212, 168, 83, 0.45);
}

.partner-logo img {
  max-width: min(100%, 150px);
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo--clap img {
  max-width: min(100%, 130px);
  max-height: 80px;
}

.partner-logo--ministere-culture img {
  max-width: min(100%, 168px);
  max-height: 82px;
}

@media (max-width: 640px) {
  .partner-logo--ministere-culture img {
    max-width: min(100%, 158px);
  }
}

.pack__tier {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.35rem;
}

.info-tile__sub {
  font-size: 0.8rem;
  color: var(--brown-soft);
  margin-top: 0.5rem;
  line-height: 1.4;
}

.infos-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  padding: 1.5rem 1.25rem;
  background: linear-gradient(145deg, rgba(212, 168, 83, 0.12) 0%, rgba(12, 22, 40, 0.04) 100%);
  border: 1px solid rgba(212, 168, 83, 0.25);
  border-radius: var(--radius-lg);
  text-align: center;
}

.infos-contact__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.25rem;
}

.infos-contact__link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.infos-contact__link:hover,
.infos-contact__link:focus-visible {
  color: var(--gold-dark);
}

/* ===== CTA FINAL ===== */
.cta-final {
  position: relative;
  text-align: center;
  padding: clamp(5rem, 12vw, 8rem) 0;
  color: var(--beige);
  overflow: hidden;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
}

.cta-final__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta-final__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 40, 0.92) 0%, rgba(27, 67, 50, 0.85) 100%);
}

.cta-final__inner {
  position: relative;
  z-index: 1;
}

.cta-final__logo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-gold);
}

.cta-final .section-title {
  color: var(--beige);
  font-family: var(--font-accent);
  font-size: clamp(2rem, 6vw, 3.25rem);
}

.cta-final .section-lead {
  color: rgba(245, 235, 224, 0.88);
  margin-inline: auto;
}

.cta-final .btn-group {
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(245, 235, 224, 0.65);
  padding: 2.5rem 0 1rem;
  font-size: 0.85rem;
}

.footer__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
  text-align: left;
}

@media (min-width: 700px) {
  .footer__grid { grid-template-columns: auto 1fr; }
}

.footer__brand img {
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 83, 0.35);
  margin-bottom: 0.75rem;
}

.footer__name {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--gold-bright);
}

.footer__org {
  font-size: 0.75rem;
  color: rgba(245, 235, 224, 0.5);
  margin-top: 0.25rem;
  max-width: 28ch;
}

.footer a { color: var(--gold); }

.footer__contact {
  margin-top: 0.5rem;
  line-height: 1.7;
}

.footer__addr {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.7;
}

.footer__creator {
  margin-top: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: rgba(245, 235, 224, 0.55);
}

.footer__creator a {
  color: rgba(245, 235, 224, 0.78);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer__creator a:hover,
.footer__creator a:focus-visible {
  color: var(--gold-bright);
}

.experience-gallery {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.experience-gallery__item {
  margin: 0;
}

.experience-gallery__btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.experience-gallery img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(12, 22, 40, 0.12);
  box-shadow: 0 12px 28px rgba(12, 22, 40, 0.16);
  transition: transform 0.25s var(--ease);
}

.experience-gallery__btn:hover img,
.experience-gallery__btn:focus-visible img {
  transform: scale(1.03);
}

.experience-gallery__item figcaption {
  margin-top: 0.55rem;
  font-size: 0.92rem;
  color: var(--brown);
  text-align: center;
}

.downloads {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.downloads--center {
  flex-direction: column;
  align-items: center;
}

.downloads__main {
  width: min(100%, 440px);
  text-align: center;
  justify-content: center;
}

/* Ghost btn targets dark backgrounds; on warm section use navy outline */
.downloads .btn-ghost {
  color: var(--navy);
  border-color: var(--brown-mid);
  background: var(--cream);
}

.downloads .btn-ghost:hover {
  background: var(--beige-warm);
  border-color: var(--gold-dark);
  color: var(--brown);
}

body.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: zoom-out;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(212, 168, 83, 0.95);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__img,
.lightbox__video {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
}

.lightbox__img {
  object-fit: contain;
}

.lightbox__video {
  width: min(96vw, 1100px);
  background: #000;
}

.organigramme {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(12, 22, 40, 0.1);
  background: rgba(255, 255, 255, 0.6);
}

.organigramme img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.organigramme figcaption {
  margin-top: 0.8rem;
  text-align: center;
  color: var(--brown-soft);
  font-size: 0.9rem;
}

.actualites-list {
  display: grid;
  gap: 1rem;
}

.actualites-empty {
  text-align: center;
  color: var(--brown-soft);
}

.actualites-admin-link {
  margin-top: 1rem;
  text-align: center;
}

.actualites-admin-link a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
}

.actualite-card {
  border: 1px solid rgba(12, 22, 40, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 24px rgba(12, 22, 40, 0.08);
}

.actualite-card__date {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.35rem;
}

.actualite-card__title {
  font-family: var(--font-display);
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.actualite-card__excerpt {
  color: var(--brown-mid);
  margin-bottom: 0.5rem;
}

.actualite-card__medias {
  display: grid;
  gap: 0.55rem;
  margin: 0.55rem 0 0.65rem;
}

.actualite-card__medias--duo {
  grid-template-columns: 1fr 1fr;
}

.actualite-card__media-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(12, 22, 40, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy);
  cursor: zoom-in;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.actualite-card__media-btn:hover,
.actualite-card__media-btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(212, 168, 83, 0.55);
  box-shadow: 0 10px 24px rgba(12, 22, 40, 0.18);
}

.actualite-card__media-btn img,
.actualite-card__video-preview {
  display: block;
  width: 100%;
  height: min(28vw, 200px);
  object-fit: cover;
}

.actualite-card__video-preview {
  object-fit: cover;
  pointer-events: none;
}

.actualite-card__media-hint {
  position: absolute;
  right: 0.45rem;
  bottom: 0.45rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--beige);
  background: rgba(12, 22, 40, 0.72);
}

@media (max-width: 640px) {
  .actualite-card__medias--duo {
    grid-template-columns: 1fr;
  }

  .actualite-card__media-btn img,
  .actualite-card__video-preview {
    height: min(42vw, 220px);
  }
}

.actualite-card__content {
  color: var(--brown-soft);
  font-size: 0.95rem;
}

/* ===== AMBIENT AUDIO TOGGLE ===== */
.ambient-audio {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.audio-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 10003;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(212, 168, 83, 0.45);
  border-radius: 50%;
  background: rgba(12, 22, 40, 0.88);
  color: var(--gold);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(12, 22, 40, 0.35);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.audio-toggle:hover {
  background: var(--navy-mid);
  border-color: var(--gold);
  color: var(--gold-bright);
  transform: scale(1.05);
}

.audio-toggle:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.audio-toggle[hidden] {
  display: none !important;
}

.audio-toggle__icon {
  display: grid;
  place-items: center;
}

.audio-toggle__icon--off {
  display: none;
}

.audio-toggle.is-muted .audio-toggle__icon--on {
  display: none;
}

.audio-toggle.is-muted .audio-toggle__icon--off {
  display: grid;
}

@media (prefers-reduced-motion: reduce) {
  .audio-toggle {
    transition: none;
  }

  .audio-toggle:hover {
    transform: none;
  }
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transition: opacity 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ===== CSAJC ===== */
.section#csajc {
  position: relative;
  overflow: clip;
}

.section#csajc::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(12, 22, 40, 0.08), transparent 45%),
    radial-gradient(circle at 92% 80%, rgba(212, 168, 83, 0.14), transparent 40%);
}

.section#csajc .container {
  position: relative;
  z-index: 1;
}

.csajc-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 auto clamp(1.1rem, 2.8vw, 2rem);
  max-width: 980px;
}

.csajc-pillars p {
  margin: 0;
  text-align: center;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(12, 22, 40, 0.12);
  box-shadow: 0 6px 18px rgba(12, 22, 40, 0.08);
}

.csajc-pillars strong {
  color: var(--navy);
}

.csajc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
}

.csajc-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(12, 22, 40, 0.1);
  border-radius: 16px;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 14px 34px rgba(12, 22, 40, 0.1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.csajc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--red));
  opacity: 0.85;
}

.csajc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(12, 22, 40, 0.22);
  box-shadow: 0 18px 38px rgba(12, 22, 40, 0.14);
}

.csajc-card h3 {
  margin: 0 0 0.65rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.06rem;
  color: var(--navy);
}

.csajc-card p,
.csajc-card li {
  color: var(--brown-soft);
}

.csajc-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.csajc-card li + li {
  margin-top: 0.35rem;
}

@media (min-width: 980px) {
  .csajc-grid {
    grid-template-columns: 0.92fr 1.16fr 0.92fr;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 1.6rem);
  }

  .csajc-grid .csajc-card {
    min-height: 100%;
  }

  .csajc-grid .csajc-card:nth-child(1),
  .csajc-grid .csajc-card:nth-child(3) {
    transform: translateY(18px) scale(0.98);
    opacity: 0.96;
    box-shadow: 0 12px 28px rgba(12, 22, 40, 0.1);
  }

  .csajc-grid .csajc-card:nth-child(2) {
    transform: translateY(0) scale(1.02);
    border-color: rgba(212, 168, 83, 0.55);
    box-shadow:
      0 20px 46px rgba(12, 22, 40, 0.16),
      0 0 0 1px rgba(212, 168, 83, 0.2) inset;
    z-index: 2;
  }

  .csajc-grid .csajc-card:nth-child(2):hover {
    transform: translateY(-3px) scale(1.025);
    border-color: rgba(212, 168, 83, 0.75);
  }

  .csajc-grid .csajc-card:nth-child(1):hover,
  .csajc-grid .csajc-card:nth-child(3):hover {
    transform: translateY(12px) scale(0.99);
    opacity: 1;
  }
}

@media (max-width: 820px) {
  .csajc-pillars {
    grid-template-columns: 1fr;
  }
}

/* ===== GALLERY STAGE ===== */
.gallery-stage {
  max-width: 980px;
  margin-inline: auto;
}

.gallery-stage__toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.gallery-stage__counter {
  margin: 0;
  min-width: 4.5rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

.gallery-stage__nav {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(12, 22, 40, 0.2);
  background: #fff;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.gallery-stage__nav:hover {
  background: var(--navy);
  color: var(--gold-bright);
  transform: translateY(-1px);
}

.gallery-stage__panorama {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 2vw, 1rem);
  min-height: min(52vh, 420px);
  perspective: 1400px;
  transition: opacity 0.25s var(--ease);
}

.gallery-stage__panorama.is-transitioning {
  opacity: 0.72;
}

.gallery-stage__card {
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.gallery-stage__card--hero {
  flex: 0 1 min(56%, 560px);
  z-index: 2;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(12, 22, 40, 0.22);
  border: 2px solid rgba(212, 168, 83, 0.45);
}

.gallery-stage__hero-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-stage__card--hero img {
  width: 100%;
  height: min(52vh, 420px);
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}

.gallery-stage__hero-btn:hover img,
.gallery-stage__hero-btn:focus-visible img {
  transform: scale(1.03);
}

.gallery-stage__card--side {
  flex: 0 1 min(22%, 200px);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.82;
  border: 1px solid rgba(12, 22, 40, 0.14);
  box-shadow: 0 10px 28px rgba(12, 22, 40, 0.14);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.gallery-stage__card--side img {
  width: 100%;
  height: min(34vh, 280px);
  object-fit: cover;
  display: block;
  filter: saturate(0.92);
}

.gallery-stage__card--left {
  transform: rotateY(14deg) scale(0.92);
  transform-origin: right center;
}

.gallery-stage__card--right {
  transform: rotateY(-14deg) scale(0.92);
  transform-origin: left center;
}

.gallery-stage__card--side:hover {
  opacity: 1;
  transform: rotateY(0deg) scale(0.96);
  box-shadow: 0 14px 32px rgba(12, 22, 40, 0.2);
}

.gallery-stage__thumbs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0.85rem 0.25rem 0.35rem;
  margin-top: 0.25rem;
  scrollbar-width: thin;
}

.gallery-stage__thumb {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

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

.gallery-stage__thumb.is-active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-3px);
}

.gallery-stage__caption {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--brown-soft);
  min-height: 1.4em;
}

@media (max-width: 760px) {
  .gallery-stage__panorama {
    min-height: 280px;
  }

  .gallery-stage__card--side {
    display: none;
  }

  .gallery-stage__card--hero {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .gallery-stage__card--hero img {
    height: min(46vh, 340px);
  }
}
