:root {
  --ink: #13231c;
  --soft-ink: rgba(19, 35, 28, 0.72);
  --line: rgba(19, 35, 28, 0.14);
  --cream: #f7f1e7;
  --paper: #fffaf1;
  --sage: #7ba88d;
  --moss: #315b45;
  --terracotta: #d56e43;
  --terracotta-dark: #b9582f;
  --sun: #f2c85b;
  --aqua: #81c9c0;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(49, 91, 69, 0.22);
  --shadow-sm: 0 22px 60px rgba(49, 91, 69, 0.11);
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;
  --radius: 28px;
  --radius-sm: 18px;
  --header-h: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

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

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

/* Ancrage : les sections ne passent plus sous le header fixe */
section[id],
main[id] {
  scroll-margin-top: var(--header-h);
}

/* --- Accessibilité --- */
:focus-visible {
  outline: 3px solid var(--moss);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 60;
  padding: 12px 16px;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================== HEADER =========================== */
.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 20px 55px rgba(19, 35, 28, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 214px;
  height: 44px;
  min-width: 170px;
  overflow: hidden;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.brand-text {
  display: grid;
  align-content: center;
  gap: 1px;
  color: var(--ink);
  line-height: 1;
}

.brand-text strong {
  font-family: var(--font-title);
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.brand-text span {
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--soft-ink);
  font-size: 0.93rem;
  font-weight: 800;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(123, 168, 141, 0.18);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.site-nav .nav-cta:hover {
  background: var(--moss);
  color: var(--white);
}

.menu-toggle {
  display: none;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  min-height: 96svh;
  display: grid;
  align-items: end;
  padding: 150px 6vw 56px;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 22%, rgba(242, 200, 91, 0.38), transparent 24%),
    linear-gradient(90deg, rgba(19, 35, 28, 0.82), rgba(19, 35, 28, 0.38) 47%, rgba(19, 35, 28, 0.1));
}

.hero-content {
  position: relative;
  max-width: 920px;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--sun);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-title);
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  max-width: 900px;
  font-size: clamp(3.4rem, 8vw, 8.4rem);
}

h2 {
  font-size: clamp(2.35rem, 5vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

p {
  color: var(--soft-ink);
  line-height: 1.72;
}

.hero-content p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.7vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ============================ BOUTONS ========================= */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease, border-color 0.18s ease;
}

.button:active {
  transform: scale(0.97);
}

.button.primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(213, 110, 67, 0.3);
}

.button.primary:hover {
  background: var(--terracotta-dark);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
}

.button.soft {
  background: rgba(123, 168, 141, 0.18);
  color: var(--ink);
  border-color: var(--line);
}

.button.soft:hover {
  background: var(--ink);
  color: var(--white);
}

/* ========================= HERO PANEL ========================= */
.hero-panel {
  position: absolute;
  right: 6vw;
  bottom: 56px;
  display: grid;
  gap: 5px;
  width: min(290px, 32vw);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel span,
.hero-panel small {
  color: var(--soft-ink);
  font-weight: 800;
}

.hero-panel small {
  font-weight: 600;
}

.hero-panel strong {
  font-family: var(--font-title);
  font-size: 1.9rem;
  line-height: 1;
}

/* ========================= INTRO STRIP ======================== */
.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

.intro-strip article {
  padding: 34px 6vw;
  background: var(--paper);
}

.intro-strip span {
  display: block;
  margin-bottom: 12px;
  color: var(--terracotta);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
}

.intro-strip strong {
  display: block;
  font-size: 1.2rem;
}

.intro-strip p {
  margin: 8px 0 0;
}

/* =========================== SECTIONS ========================= */
.section {
  padding: 96px 6vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 + p {
  margin-top: 18px;
}

/* ====================== LE LIEU (story) ======================= */
.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 32px;
  align-items: stretch;
}

.story-image {
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  display: grid;
  gap: 16px;
}

.feature-list article,
.affiche-card,
.member-card,
.contact-item,
.infos-card,
.team-card,
.newsletter-card,
.contact-form,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 250, 241, 0.85);
  box-shadow: var(--shadow-sm);
}

.feature-list article {
  display: grid;
  align-content: center;
  min-height: 170px;
  padding: 30px;
  border-radius: var(--radius);
}

.feature-list h3 {
  margin-bottom: 8px;
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.place-card {
  position: relative;
  min-height: 270px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(49, 91, 69, 0.16);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 18% 12%, rgba(242, 200, 91, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(255, 250, 241, 0.96), rgba(237, 246, 230, 0.7));
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.place-card::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -72px;
  bottom: -72px;
  border: 1px solid rgba(123, 168, 141, 0.35);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px rgba(123, 168, 141, 0.08);
}

.place-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  border-radius: 50%;
  color: var(--moss);
  background: rgba(123, 168, 141, 0.22);
  font-weight: 900;
}

.place-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
}

.place-card p {
  max-width: 34ch;
  margin: 0;
  color: var(--soft-ink);
}

.dot {
  width: 14px;
  height: 14px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 10px rgba(123, 168, 141, 0.18);
}

.activity-rotator {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 32px;
  align-items: stretch;
}

.activity-stage {
  position: sticky;
  top: calc(var(--header-h) + 28px);
  align-self: start;
  min-height: 650px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 10%, rgba(242, 200, 91, 0.24), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(129, 201, 192, 0.22), transparent 32%),
    linear-gradient(135deg, #fffaf1 0%, #edf4e7 100%);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.activity-image-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(18px, 2.3vw, 34px);
}

.activity-image-wrap::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(19, 35, 28, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 241, 0.18));
  box-shadow: inset 0 0 70px rgba(49, 91, 69, 0.08);
}

.activity-image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(19, 35, 28, 0.18);
  transform: scale(1);
  transition: opacity 0.24s ease, transform 0.5s ease;
}

.activity-stage.is-changing .activity-image-wrap img {
  opacity: 0.18;
  transform: scale(0.98);
}

.activity-controls {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 42px rgba(19, 35, 28, 0.18);
  backdrop-filter: blur(14px);
}

.activity-controls button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(19, 35, 28, 0.12);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease;
}

.activity-controls button:hover {
  background: var(--sun);
  transform: translateY(-1px);
}

.activity-dots {
  display: flex;
  gap: 6px;
}

.activity-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(19, 35, 28, 0.22);
}

.activity-dots span.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--moss);
}

.activity-list {
  display: grid;
  gap: 14px;
}

.activity-card {
  position: relative;
  display: grid;
  min-height: 126px;
  gap: 8px;
  padding: 24px 26px 24px 64px;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--ink);
  text-align: left;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.activity-card:hover,
.activity-card.is-active {
  transform: translateX(-6px);
  border-color: rgba(123, 168, 141, 0.55);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(49, 91, 69, 0.16);
}

.activity-card.is-active::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px 18px;
  width: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sage), var(--terracotta));
}

.activity-card .dot {
  position: absolute;
  top: 30px;
  left: 34px;
  width: 10px;
  height: 10px;
  margin: 0;
}

.activity-card small {
  color: var(--terracotta-dark);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.activity-card strong {
  font-family: var(--font-title);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.02;
}

.activity-card p {
  margin: 0;
  color: var(--soft-ink);
}

/* Version premium du module activites */
.activity-rotator {
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 28px;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid rgba(49, 91, 69, 0.12);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 6%, rgba(242, 200, 91, 0.34), transparent 28%),
    radial-gradient(circle at 92% 14%, rgba(129, 201, 192, 0.3), transparent 26%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.92), rgba(238, 246, 230, 0.72));
  box-shadow: 0 34px 110px rgba(49, 91, 69, 0.16);
}

.activity-stage {
  min-height: clamp(520px, 58vw, 760px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(19, 35, 28, 0.06), rgba(123, 168, 141, 0.18)),
    var(--paper);
}

.activity-stage::before,
.activity-stage::after {
  content: "";
  position: absolute;
  inset: 34px;
  border-radius: 30px;
  background: rgba(255, 250, 241, 0.66);
  border: 1px solid rgba(19, 35, 28, 0.08);
  box-shadow: 0 20px 70px rgba(19, 35, 28, 0.1);
  pointer-events: none;
}

.activity-stage::before {
  transform: rotate(-3deg) translate(-12px, 8px);
}

.activity-stage::after {
  transform: rotate(2.5deg) translate(14px, -2px);
}

.activity-image-wrap {
  padding: clamp(18px, 2.1vw, 30px);
}

.activity-image-wrap::before {
  inset: clamp(24px, 3vw, 42px);
  z-index: 1;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 250, 241, 0.44));
}

.activity-image-wrap img {
  z-index: 2;
  border-radius: 24px;
  box-shadow:
    0 26px 90px rgba(19, 35, 28, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.72);
}

.activity-controls {
  top: 24px;
  right: 24px;
  padding: 8px 10px;
  background: rgba(255, 250, 241, 0.9);
}

.activity-spotlight {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 16px;
  min-height: 520px;
  padding: clamp(28px, 3vw, 42px);
  border: 1px solid rgba(19, 35, 28, 0.14);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.78), rgba(255, 250, 241, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(123, 168, 141, 0.2), transparent 34%);
  box-shadow: var(--shadow-sm);
}

.spotlight-kicker {
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(123, 168, 141, 0.18);
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.activity-spotlight h3 {
  max-width: 8ch;
  font-family: var(--font-title);
  font-size: clamp(3.4rem, 5.6vw, 6.6rem);
  line-height: 0.88;
}

.activity-spotlight p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 1.05rem;
  line-height: 1.65;
}

.activity-spotlight .spotlight-meta {
  color: var(--terracotta-dark);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spotlight-link {
  width: fit-content;
  margin-top: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.spotlight-link:hover {
  background: var(--moss);
}

.activity-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, minmax(142px, 1fr));
  gap: 12px;
}

.activity-card {
  min-height: 0;
  gap: 8px;
  padding: 10px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 250, 241, 0.7);
}

.activity-card:hover,
.activity-card.is-active {
  transform: translateY(-5px);
}

.activity-card.is-active::before,
.activity-card .dot,
.activity-card p {
  display: none;
}

.activity-thumb {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(123, 168, 141, 0.12);
}

.activity-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-card small {
  padding-inline: 4px;
  font-size: 0.64rem;
  line-height: 1.25;
}

.activity-card strong {
  padding: 0 4px 4px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.12;
}

/* ============================ AGENDA ========================== */
.agenda-section {
  background: var(--paper);
}

.agenda-block {
  margin-bottom: 64px;
}

.agenda-block:last-child {
  margin-bottom: 0;
}

.agenda-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.agenda-block-title {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1;
}

.agenda-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agenda-badge.hebdo {
  background: rgba(123, 168, 141, 0.22);
  color: var(--moss);
}

.agenda-badge.ponctuel {
  background: rgba(213, 110, 67, 0.16);
  color: var(--terracotta);
}

.affiches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.affiche-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.affiche-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(49, 91, 69, 0.18);
}

.affiche-img-wrap {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 10px;
  cursor: zoom-in;
  background:
    radial-gradient(circle at 12% 10%, rgba(242, 200, 91, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.9), rgba(236, 246, 227, 0.72));
}

.affiche-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(19, 35, 28, 0.1);
}

.affiche-info {
  flex: 1;
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
}

.affiche-info strong {
  font-family: var(--font-title);
  font-size: 1.25rem;
  line-height: 1.1;
}

.affiche-info p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

.affiche-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
}

.affiche-actions a,
.poster-open {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 800;
}

.affiche-actions a {
  color: var(--moss);
  background: rgba(123, 168, 141, 0.16);
}

.affiche-actions a:hover {
  background: rgba(123, 168, 141, 0.24);
}

.poster-open {
  border: 0;
  color: var(--white);
  background: var(--moss);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.poster-open:hover {
  transform: translateY(-1px);
  background: var(--ink);
}

.tag {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(129, 201, 192, 0.24);
  color: var(--moss);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

body.poster-opened {
  overflow: hidden;
}

.poster-modal[hidden] {
  display: none;
}

.poster-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 44px);
}

.poster-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(19, 35, 28, 0.68);
  backdrop-filter: blur(12px);
}

.poster-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1120px, 96vw);
  max-height: 92vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.32);
}

.poster-modal-media {
  min-height: 0;
  padding: clamp(12px, 2vw, 24px);
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 200, 91, 0.22), transparent 28%),
    linear-gradient(135deg, rgba(255, 250, 241, 0.95), rgba(237, 246, 230, 0.78));
}

.poster-modal-media img {
  width: 100%;
  height: 100%;
  max-height: calc(92vh - 120px);
  object-fit: contain;
  border-radius: 18px;
}

.poster-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(18px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.poster-modal-footer h3 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.poster-modal-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
  align-items: center;
}

.poster-share,
.poster-download {
  flex: 0 0 auto;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.poster-share {
  color: var(--white);
  background: var(--moss);
  cursor: pointer;
}

.poster-share:hover {
  background: var(--ink);
}

.poster-download {
  color: var(--terracotta-dark);
  background: rgba(213, 110, 67, 0.14);
}

.poster-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.9);
  box-shadow: 0 16px 38px rgba(19, 35, 28, 0.18);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

/* ========================== GALERIE =========================== */
.gallery-band {
  padding-block: 56px;
  overflow: hidden;
}

.marquee {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: glide 40s linear infinite;
}

.gallery-band:hover .marquee {
  animation-play-state: paused;
}

.marquee img {
  width: 360px;
  height: 270px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(19, 35, 28, 0.16);
}

@keyframes glide {
  from {
    transform: translateX(0);
  }
  to {
    /* défile sur la moitié = la copie dupliquée par le JS, boucle sans saut */
    transform: translateX(-50%);
  }
}

/* ====================== INFOS PRATIQUES ======================= */
.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.infos-card {
  padding: 28px;
  border-radius: var(--radius);
}

.infos-card h3 {
  margin-bottom: 16px;
}

.hours {
  margin: 0;
  display: grid;
  gap: 2px;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.hours dt {
  font-weight: 800;
}

.hours dd {
  margin: 0;
  color: var(--soft-ink);
  text-align: right;
  font-weight: 600;
}

.hours .closed dd {
  color: var(--terracotta);
  font-weight: 800;
}

.note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--soft-ink);
}

.address {
  font-family: var(--font-title);
  font-size: 1.3rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
}

.access {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.access li {
  font-size: 0.92rem;
  color: var(--soft-ink);
  line-height: 1.5;
}

.access strong {
  color: var(--ink);
}

.map-card {
  padding: 0;
  overflow: hidden;
}

.map-card h3 {
  padding: 24px 28px 0;
}

.map-frame {
  margin-top: 16px;
  aspect-ratio: 4 / 3;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ====================== ÉQUIPE / COMITÉ ======================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.team-card {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 28px 20px;
  border-radius: var(--radius);
  text-align: center;
}

.team-avatar {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--moss));
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.4rem;
}

.team-card strong {
  font-size: 1.05rem;
}

.team-card span {
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ========================= ASSOCIATION ======================== */
.association-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(19, 35, 28, 0.84), rgba(49, 91, 69, 0.92)),
    url("assets/01_balade_partagee.png") center / cover;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 42px;
  align-items: end;
}

.association-section p {
  color: rgba(255, 255, 255, 0.82);
}

.principles {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.principles span {
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  font-weight: 900;
}

/* ======================= DEVENIR MEMBRE ======================= */
.member-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(242, 200, 91, 0.34), transparent 28%),
    radial-gradient(circle at 88% 26%, rgba(129, 201, 192, 0.34), transparent 24%),
    var(--cream);
}

.member-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 36px;
  text-align: center;
}

.member-card > p {
  max-width: 600px;
  margin: 16px auto 0;
}

.member-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 30px 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.member-perks li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
}

.member-perks strong {
  color: var(--terracotta);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-perks span {
  font-size: 0.95rem;
  color: var(--ink);
}

.member-perks em {
  color: var(--soft-ink);
  font-style: normal;
  font-size: 0.85rem;
}

/* ====================== FORMULAIRES ========================== */
.member-form,
.contact-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.member-form label,
.contact-form label {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

.member-form input,
.member-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.member-form input:focus,
.member-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(213, 110, 67, 0.14);
}

.member-form textarea,
.contact-form textarea {
  resize: vertical;
}

.member-form .button {
  width: 100%;
}

.form-status {
  margin: 4px 0 0;
  min-height: 1.3rem;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--moss);
}

.form-status.error {
  color: var(--terracotta-dark);
}

/* ========================= NEWSLETTER ========================= */
.newsletter-section {
  padding-block: 0;
}

.newsletter-card {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 0.8fr);
  gap: 32px;
  align-items: center;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 36px;
  background: linear-gradient(135deg, var(--moss), var(--ink));
  color: var(--white);
  box-shadow: var(--shadow);
}

.newsletter-card .eyebrow {
  color: var(--sun);
}

.newsletter-card h2 {
  color: var(--white);
}

.newsletter-card p {
  color: rgba(255, 255, 255, 0.82);
  margin-top: 12px;
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.newsletter-form input {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.newsletter-form .form-status {
  grid-column: 1 / -1;
  color: var(--sun);
}

/* ============================= FAQ ============================ */
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.faq-list details {
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  transition: box-shadow 0.18s ease;
}

.faq-list details[open] {
  box-shadow: 0 26px 70px rgba(49, 91, 69, 0.14);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 0 20px;
  max-width: 70ch;
}

/* ========================== CONTACT =========================== */
.contact-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 30px;
}

.contact-item {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 130px;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 70px rgba(49, 91, 69, 0.16);
}

.contact-item span {
  color: var(--terracotta);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-item strong {
  font-family: var(--font-title);
  font-size: 1.5rem;
  line-height: 1.05;
}

.contact-item small {
  color: var(--soft-ink);
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(123, 168, 141, 0.14);
  font-weight: 800;
  font-size: 0.9rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.socials a:hover {
  background: var(--ink);
  color: var(--white);
}

.contact-form {
  padding: 30px;
  border-radius: var(--radius);
}

.form-title {
  margin-bottom: 6px;
  font-size: 1.5rem;
}

.contact-form .button {
  justify-self: start;
}

/* ========================= PARTENAIRES ======================== */
.partners-section {
  text-align: center;
  padding-block: 64px;
  border-top: 1px solid var(--line);
}

.partners-label {
  margin: 0 0 22px;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.partner-slot {
  display: grid;
  place-items: center;
  width: 180px;
  height: 84px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--line);
  color: var(--soft-ink);
  font-size: 0.82rem;
  font-weight: 700;
}

/* =========================== FOOTER =========================== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 40px 6vw;
  color: var(--white);
  background: var(--ink);
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-brand strong {
  font-family: var(--font-title);
  font-size: 1.4rem;
}

.footer-brand span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  transition: background 0.18s ease, color 0.18s ease;
}

.footer-nav a:hover {
  background: var(--sun);
  color: var(--ink);
}

/* ===================== LÉGAL (pages texte) ==================== */
.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 6vw 80px;
}

.legal-page h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 8px;
}

.legal-page h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 36px 0 10px;
}

.legal-page p,
.legal-page li {
  color: var(--soft-ink);
  line-height: 1.7;
}

.legal-page a.back {
  display: inline-flex;
  margin-top: 40px;
  font-weight: 800;
  color: var(--moss);
}

/* ====================== REVEAL AU SCROLL ====================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ========================= RESPONSIVE ========================= */
@media (max-width: 1100px) {
  .site-nav {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    inset: calc(100% + 10px) 0 auto;
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 24px;
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .menu-toggle {
    display: grid;
    gap: 4px;
    width: 46px;
    height: 46px;
    place-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    background: var(--white);
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 360px);
    margin-top: 34px;
  }

  .story-layout,
  .activity-rotator,
  .place-grid,
  .split,
  .contact-section,
  .newsletter-card {
    grid-template-columns: 1fr;
  }

  .activity-stage {
    position: relative;
    top: auto;
    min-height: 560px;
  }

  .activity-spotlight {
    min-height: 0;
  }

  .activity-list {
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

  .infos-grid,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .affiches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .site-header {
    inset: 10px 10px auto;
  }

  .brand {
    width: 160px;
  }

  .hero {
    padding: 128px 20px 34px;
  }

  h1 {
    font-size: clamp(2.9rem, 14vw, 4.6rem);
  }

  .section {
    padding: 70px 20px;
  }

  .intro-strip,
  .affiches-grid,
  .place-grid,
  .contact-grid,
  .infos-grid,
  .team-grid,
  .member-perks,
  .field-row,
  .newsletter-form {
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .contact-section > *,
  .contact-grid > *,
  .infos-grid > *,
  .team-grid > *,
  .affiches-grid > *,
  .place-grid > * {
    min-width: 0;
  }

  .story-image {
    min-height: 0;
    height: 360px;
  }

  .activity-stage {
    min-height: 430px;
    border-radius: 22px;
  }

  .activity-rotator {
    padding: 10px;
    border-radius: 26px;
  }

  .activity-stage::before,
  .activity-stage::after {
    inset: 22px;
  }

  .activity-image-wrap {
    padding: 14px;
  }

  .activity-image-wrap::before {
    inset: 18px;
    border-radius: 20px;
  }

  .activity-spotlight {
    padding: 24px;
    border-radius: 24px;
  }

  .activity-spotlight h3 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .activity-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x mandatory;
  }

  .activity-controls {
    top: 14px;
    right: 14px;
  }

  .activity-card {
    flex: 0 0 178px;
    scroll-snap-align: start;
    min-height: 0;
    padding: 9px;
    border-radius: 20px;
  }

  .activity-card:hover,
  .activity-card.is-active {
    transform: translateY(-2px);
  }

  .marquee img {
    width: 230px;
    height: 300px;
  }

  .place-card {
    min-height: 220px;
  }

  .poster-modal {
    padding: 10px;
  }

  .poster-modal-panel {
    width: 100%;
    max-height: 94vh;
    border-radius: 22px;
  }

  .poster-modal-media {
    padding: 10px;
  }

  .poster-modal-media img {
    max-height: calc(94vh - 150px);
  }

  .poster-modal-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .poster-modal-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .poster-share,
  .poster-download {
    width: 100%;
  }

  .contact-form .button,
  .button {
    width: 100%;
  }
}

/* ================== RÉDUCTION DES ANIMATIONS ================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
