/* ============================================================
   MARCHÉ L'ARCHIPEL DE SEPT-ÎLES — web3
   Polices : Unbounded (titres) · DM Sans (corps)
   Palette : extraite du logo officiel
   Mobile-first · Accessible · SEO-friendly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;700;900&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  /* Palette du logo */
  --coral:        #E8501A;
  --coral-dk:     #B83A10;
  --coral-lt:     #FEF0EB;
  --teal:         #1A8FA0;
  --teal-dk:      #116070;
  --teal-lt:      #E0F5F8;
  --green:        #2D7A4F;
  --green-lt:     #E3F5EC;
  --gold:         #F0A020;
  --gold-lt:      #FEF4DC;

  /* Neutres */
  --ink:          #0B1820;
  --ink2:         #162D3A;
  --gray:         #5A6B75;
  --smoke:        #EEF0F2;
  --paper:        #FBF9F6;
  --white:        #FFFFFF;
  --footer-bg:    #060E14;

  /* Typographie */
  --ff-display: 'Unbounded', system-ui, sans-serif;
  --ff-body:    'DM Sans', system-ui, sans-serif;

  /* Tailles fluides */
  --text-xs:   clamp(.72rem,  1.1vw, .8rem);
  --text-sm:   clamp(.875rem, 1.4vw, .95rem);
  --text-base: clamp(.95rem,  1.6vw, 1.05rem);
  --text-lg:   clamp(1.05rem, 2vw,   1.25rem);
  --text-xl:   clamp(1.2rem,  2.5vw, 1.6rem);
  --text-2xl:  clamp(1.6rem,  3.5vw, 2.4rem);
  --text-3xl:  clamp(2rem,    5vw,   3.2rem);
  --text-hero: clamp(2.6rem,  6vw,   5rem);

  /* Espacement */
  --s1:.25rem; --s2:.5rem;  --s3:.75rem; --s4:1rem;
  --s5:1.25rem; --s6:1.5rem; --s8:2rem; --s10:2.5rem;
  --s12:3rem; --s16:4rem; --s20:5rem; --s24:6rem;

  /* Rayons */
  --r-sm:6px; --r-md:12px; --r-lg:20px; --r-xl:32px; --r-full:9999px;

  /* Ombres */
  --sh-sm: 0 2px 8px rgba(0,0,0,.07);
  --sh-md: 0 6px 24px rgba(0,0,0,.11);
  --sh-lg: 0 16px 48px rgba(0,0,0,.15);
  --sh-xl: 0 24px 64px rgba(0,0,0,.2);

  --nav-h: 72px;
  --max-w: 1180px;
  --ease: cubic-bezier(.16,1,.3,1);
}

/* ── Réduction de mouvement ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, textarea, select { font-family: inherit; }
sup { font-size: .65em; vertical-align: super; }

/* Focus visible accessible */
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  transition: background .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), var(--sh-sm);
}
/* backdrop-filter sur le nav piège les enfants position:fixed (bug Chrome/mobile) — on le coupe quand le menu est ouvert */
.nav.menu-is-open {
  backdrop-filter: none !important;
}

.nav__inner {
  max-width: var(--max-w); width: 100%; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav__logo img {
  height: 40px; width: auto;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.3));
  transition: filter .2s;
}
/* Logo sur fond blanc : pilule sombre pour garder la lisibilité */
.nav.is-scrolled .nav__logo {
  background: var(--ink);
  border-radius: var(--r-sm);
  padding: 5px 10px;
}
.nav.is-scrolled .nav__logo img { filter: none; }

.nav__links {
  display: flex; align-items: center; gap: var(--s6);
}
.nav__links a {
  font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .15s;
}
.nav.is-scrolled .nav__links a { color: var(--gray); }
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--coral) !important; }

.nav__cta {
  background: var(--coral) !important; color: var(--white) !important;
  padding: .55rem 1.25rem; border-radius: var(--r-full);
  font-weight: 600 !important;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.nav__cta:hover {
  background: var(--coral-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,80,26,.35);
}

.nav__burger {
  display: none; flex-direction: column; gap: 5px;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.nav__burger span {
  display: block; width: 22px; height: 2px; border-radius: 2px;
  background: var(--white);
  transition: transform .25s, opacity .2s;
}
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════════════════════════
   HÉRO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  justify-content: center;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('../assets/images/hero-dessin.png');
  background-size: cover; background-position: center top;
  animation: heroZoom 14s ease-out forwards;
  will-change: transform;
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11,24,32,.7) 0%,
    rgba(11,24,32,.5) 50%,
    rgba(11,24,32,.85) 100%
  );
}

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); width: 100%;
  margin: 0 auto;
  padding: calc(var(--nav-h) + var(--s16)) clamp(1rem,4vw,2.5rem) var(--s16);
  display: flex; flex-direction: column; gap: var(--s6);
}

.hero__badge {
  display: inline-flex; align-items: center; gap: var(--s3);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  padding: var(--s2) var(--s5); border-radius: var(--r-full);
  width: fit-content;
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  animation: fadeUp .5s var(--ease) .1s both;
}
.hero__badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--coral);
  animation: pulse 2.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: .6; }
}

.hero__title {
  font-family: var(--ff-display);
  font-size: var(--text-hero); font-weight: 900;
  line-height: 1.06; letter-spacing: .01em;
  color: var(--white); max-width: 14ch;
  animation: fadeUp .65s var(--ease) .2s both;
}
.hero__title--accent {
  display: block; color: var(--gold);
}
.hero__title--sub {
  display: block;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 400; color: rgba(255,255,255,.8);
  letter-spacing: .06em; text-transform: uppercase;
  margin-top: var(--s2);
}

.hero__countdown {
  display: flex; align-items: baseline; gap: var(--s3);
  animation: fadeUp .5s var(--ease) .35s both;
}
.hero__cd-label, .hero__cd-unit {
  font-size: var(--text-base); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.hero__cd-num {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900; color: var(--gold);
  letter-spacing: .02em; line-height: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

.hero__sub {
  font-size: var(--text-base); font-weight: 500;
  color: rgba(255,255,255,.92);
  letter-spacing: .05em;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  animation: fadeUp .5s var(--ease) .42s both;
}

.hero__actions {
  display: flex; gap: var(--s3); flex-wrap: wrap;
  animation: fadeUp .5s var(--ease) .5s both;
}

.hero__scroll-cue {
  position: absolute; bottom: var(--s8); left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.3);
  animation: bounce 2.5s ease-in-out infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══════════════════════════════════════════════════════════
   BOUTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--ff-body); font-size: var(--text-sm);
  font-weight: 600; letter-spacing: .04em;
  padding: var(--s3) var(--s8); border-radius: var(--r-full);
  min-height: 50px; cursor: pointer; border: none;
  transition: transform .15s var(--ease), box-shadow .15s, background .15s;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--coral  { background: var(--coral); color: var(--white); }
.btn--coral:hover { background: var(--coral-dk); box-shadow: 0 8px 24px rgba(232,80,26,.35); }

.btn--ghost  { background: transparent; border: 2px solid rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

.btn--teal   { background: var(--teal); color: var(--white); }
.btn--teal:hover { background: var(--teal-dk); box-shadow: 0 8px 24px rgba(26,143,160,.35); }

.btn--outline {
  background: transparent; border: 2px solid var(--smoke); color: var(--ink);
}
.btn--outline:hover { border-color: var(--coral); color: var(--coral); }

/* ══════════════════════════════════════════════════════════
   SECTIONS — LAYOUT COMMUN
══════════════════════════════════════════════════════════ */
.section { position: relative; }
.section--paper     { background: var(--paper); }
.section--white     { background: var(--white); }
.section--teal-light{ background: var(--teal-lt); }
.section--ink       { background: var(--ink); }
.section--ink2      { background: var(--ink2); }

.inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--s24) clamp(1rem,4vw,2.5rem);
}
.inner--tight { padding-top: var(--s16); padding-bottom: var(--s16); }

/* Labels, titres, leads ── */
.label {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  margin-bottom: var(--s4);
}
.label::before {
  content: ''; width: 22px; height: 2px; border-radius: 2px;
  background: currentColor; display: block; flex-shrink: 0;
}
.label--coral { color: var(--coral); }
.label--teal  { color: var(--teal); }
.label--gold  { color: var(--gold); }

.h2 {
  font-family: var(--ff-display);
  font-size: var(--text-3xl); font-weight: 900;
  line-height: 1.1; letter-spacing: .01em;
  margin-bottom: var(--s5);
}
.h2--dark  { color: var(--ink); }
.h2--light { color: var(--white); }

.lead {
  font-size: var(--text-lg); color: var(--gray);
  line-height: 1.75; max-width: 60ch;
  margin-bottom: var(--s6);
}
.lead--light { color: rgba(255,255,255,.6); }

.body-text {
  font-size: var(--text-base); color: var(--gray);
  line-height: 1.75; max-width: 60ch;
  margin-top: var(--s4);
}
.mission {
  background: var(--coral-lt); border-left: 3px solid var(--coral);
  border-radius: var(--r-md); padding: var(--s4) var(--s5);
  margin-top: var(--s5);
}
.mission strong { color: var(--coral-dk); }

/* Scroll reveal ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.stagger > * {
  opacity: 0; transform: translateY(16px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.stagger.is-visible > * { opacity: 1; transform: none; }
.stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .19s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .26s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .33s; }

/* ══════════════════════════════════════════════════════════
   SECTION ÉVÉNEMENT
══════════════════════════════════════════════════════════ */
.ev-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: var(--s16); align-items: start;
}

.ev-tags {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin-top: var(--s5);
}
.tag {
  background: var(--smoke); border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--r-full); padding: var(--s1) var(--s3);
  font-size: var(--text-xs); font-weight: 500; color: var(--gray);
}

.ev-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--smoke);
  border-radius: var(--r-lg); overflow: hidden;
}
.stat {
  background: var(--white); padding: var(--s6);
  border-top: 3px solid transparent;
  transition: transform .2s, box-shadow .2s;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.stat--coral { border-top-color: var(--coral); }
.stat--teal  { border-top-color: var(--teal); }
.stat--gold  { border-top-color: var(--gold); }
.stat--green { border-top-color: var(--green); }
.stat__n {
  font-family: var(--ff-display);
  font-size: var(--text-2xl); font-weight: 900;
  color: var(--ink); line-height: 1; letter-spacing: .01em;
}
.stat__l {
  font-size: var(--text-xs); font-weight: 500;
  color: var(--gray); margin-top: var(--s2);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   SECTION CONTEXTE
══════════════════════════════════════════════════════════ */
.ctx-cards {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--s6); margin-top: var(--s10);
}
.ctx-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: var(--s8);
  transition: background .2s, transform .25s var(--ease);
}
.ctx-card:hover { background: rgba(255,255,255,.1); transform: translateY(-4px); }
.ctx-card__icon {
  font-size: 2rem; margin-bottom: var(--s4); display: block;
}
.ctx-card__title {
  font-family: var(--ff-display);
  font-size: var(--text-lg); font-weight: 700;
  color: var(--white); line-height: 1.2; letter-spacing: .01em;
  margin-bottom: var(--s3);
}
.ctx-card__text {
  font-size: var(--text-sm); color: rgba(255,255,255,.55); line-height: 1.65;
}
.ctx-card__text strong { color: var(--gold); }
.ctx-card__text em { color: rgba(255,255,255,.75); font-style: italic; }

/* ══════════════════════════════════════════════════════════
   SECTION ZONES
══════════════════════════════════════════════════════════ */
.zones-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: var(--s4); margin-top: var(--s12);
}
/* 5 cartes : 3+2, la 4e et 5e centrées */
.zones-grid > *:nth-child(4) { grid-column: 1 / span 1; }

.zone-card {
  border-radius: var(--r-xl); overflow: hidden;
  position: relative; min-height: 300px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.zone-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: var(--sh-xl); }

.zone-card__photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform .5s var(--ease);
}
.zone-card:hover .zone-card__photo { transform: scale(1.06); }

.zone-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,24,32,.92) 0%, rgba(11,24,32,.4) 55%, transparent 100%);
}
.zone-card__accent {
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.zone-card__accent--gold  { background: var(--gold); }
.zone-card__accent--coral { background: var(--coral); }
.zone-card__accent--teal  { background: var(--teal); }
.zone-card__accent--green { background: var(--green); }

.zone-card__body {
  position: relative; z-index: 2; padding: var(--s6);
}
.zone-card__icon {
  font-size: 1.4rem; margin-bottom: var(--s3); display: block;
}
.zone-card__title {
  font-family: var(--ff-display);
  font-size: var(--text-xl); font-weight: 700;
  color: var(--white); margin-bottom: var(--s2);
  line-height: 1.2; letter-spacing: .01em;
}
.zone-card__desc {
  font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   SECTION PROGRAMME
══════════════════════════════════════════════════════════ */
.prog-note {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--text-xs); color: rgba(255,255,255,.35);
  margin-top: var(--s2); font-style: italic;
}

.prog-tabs {
  display: flex; gap: var(--s2);
  background: rgba(255,255,255,.08);
  padding: var(--s2); border-radius: var(--r-full);
  width: fit-content; margin: var(--s8) 0;
}
.tab-btn {
  font-size: var(--text-sm); font-weight: 600;
  padding: var(--s3) var(--s6); border-radius: var(--r-full);
  color: rgba(255,255,255,.5);
  transition: background .2s, color .2s, box-shadow .2s;
  min-height: 44px;
}
.tab-btn--active,
.tab-btn[aria-selected="true"] {
  background: var(--white); color: var(--ink); box-shadow: var(--sh-sm);
}
.tab-btn:hover:not([aria-selected="true"]) { color: var(--white); }

.tab-panel { display: none; }
.tab-panel--active,
.tab-panel:not([hidden]) { display: block; }

.schedule { display: flex; flex-direction: column; }
.sched-item {
  display: grid; grid-template-columns: 90px 1fr;
  gap: var(--s5); padding: var(--s4) var(--s4);
  border-radius: var(--r-md); align-items: start;
  transition: background .15s;
}
.sched-item:hover { background: rgba(255,255,255,.04); }
.sched-item--feat {
  background: rgba(232,80,26,.1);
  border-left: 3px solid var(--coral);
}
.sched-item--feat:hover { background: rgba(232,80,26,.16); }
.sched-item--culture { border-left: 3px solid var(--green); padding-left: calc(var(--s4) - 1px); }

.sched__time {
  font-family: var(--ff-display); font-size: var(--text-sm); font-weight: 700;
  color: var(--teal); padding-top: 2px; letter-spacing: .01em;
  white-space: nowrap;
}
.sched__event { font-weight: 600; color: var(--white); margin-bottom: 3px; line-height: 1.35; }
.sched__detail { font-size: var(--text-sm); color: rgba(255,255,255,.42); line-height: 1.5; }
.sched__badge {
  display: inline-block; margin-top: var(--s2);
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 8px; border-radius: var(--r-full);
  background: var(--coral); color: var(--white);
}
.sched__badge--green { background: var(--green); }
.sched__badge--gold  { background: var(--gold); color: var(--ink); }

/* ══════════════════════════════════════════════════════════
   SECTION EXPOSANTS
══════════════════════════════════════════════════════════ */
.expo-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: var(--s4); margin-top: var(--s10);
}
.expo-card {
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--s8); box-shadow: var(--sh-sm);
  border: 1.5px solid var(--smoke);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.expo-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.expo-card__icon {
  font-size: 2rem; margin-bottom: var(--s4); display: block;
}
.expo-card__title {
  font-family: var(--ff-display);
  font-size: var(--text-lg); font-weight: 700;
  color: var(--ink); margin-bottom: var(--s3);
  line-height: 1.2; letter-spacing: .01em;
}
.expo-card__text {
  font-size: var(--text-sm); color: var(--gray); line-height: 1.65;
}

.expo-format {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s12); align-items: center;
  margin-top: var(--s12);
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--s10); box-shadow: var(--sh-sm);
  border: 1.5px solid var(--smoke);
}
.expo-format__title {
  font-family: var(--ff-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--ink); margin-bottom: var(--s5); letter-spacing: .01em;
}
.expo-format__text p {
  font-size: var(--text-sm); color: var(--gray); line-height: 1.7;
}
.expo-format__img img {
  border-radius: var(--r-lg); width: 100%; object-fit: cover;
}

.soiree-card {
  margin-top: var(--s10);
  background: linear-gradient(135deg, var(--ink), var(--ink2));
  border-radius: var(--r-xl); padding: var(--s10);
  border-top: 4px solid var(--gold);
}
.soiree-card__label {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: var(--s3);
}
.soiree-card__title {
  font-family: var(--ff-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--white); line-height: 1.2; letter-spacing: .01em;
  margin-bottom: var(--s4);
}
.soiree-card__text {
  font-size: var(--text-base); color: rgba(255,255,255,.6); line-height: 1.7;
  max-width: 70ch;
}

/* ══════════════════════════════════════════════════════════
   PARTENAIRES CONFIRMÉS
══════════════════════════════════════════════════════════ */
.part-tier {
  margin-top: var(--s10);
  padding-top: var(--s8);
  border-top: 1px solid rgba(0,0,0,.08);
}
.part-tier:first-of-type { border-top: none; margin-top: var(--s6); }

.part-tier__label {
  margin-bottom: var(--s5);
}

.tier-badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.tier-badge--gold  { background: var(--gold-lt); color: #8B5B00; }
.tier-badge--teal  { background: var(--teal-lt); color: var(--teal-dk); }
.tier-badge--smoke { background: var(--smoke); color: var(--gray); }

.part-tier__names {
  display: flex; flex-wrap: wrap; gap: var(--s4);
}
.part-tier__names--lg .part-name--featured { font-size: var(--text-lg); min-height: 80px; }

.part-name {
  background: var(--white); border-radius: var(--r-lg);
  padding: var(--s4) var(--s6);
  font-family: var(--ff-display); font-size: var(--text-base); font-weight: 700;
  color: var(--ink); box-shadow: var(--sh-sm);
  border: 1.5px solid var(--smoke);
  display: flex; align-items: center; min-height: 60px;
  transition: transform .2s, box-shadow .2s;
}
.part-name:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.part-name--featured {
  border-top: 3px solid var(--gold);
  min-width: 220px;
}

.part-logo {
  max-height: 48px; width: auto;
  object-fit: contain;
}

/* ── Logo strip — grille de logos partenaires ── */
.logo-strip {
  display: flex; flex-wrap: wrap; gap: var(--s4);
  margin-top: var(--s5); align-items: center;
}
.logo-strip--sm { gap: var(--s3); }

.logo-card {
  background: var(--white); border-radius: var(--r-lg);
  padding: var(--s4) var(--s6);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s2);
  min-height: 90px; min-width: 180px;
  box-shadow: var(--sh-sm); border: 1.5px solid var(--smoke);
  transition: transform .2s var(--ease), box-shadow .2s;
  text-align: center;
  overflow: hidden; /* empêche tout débordement de logo, filet de sécurité vieux navigateurs */
}
.logo-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }

.logo-card img {
  display: block;
  max-height: 64px; max-width: 200px;
  width: auto; height: auto; object-fit: contain;
  /* Vieux Android/Chrome : max-width seul parfois ignoré dans un flex — flex-shrink force la contrainte */
  flex-shrink: 1;
  min-width: 0;
}
.logo-card--featured {
  min-height: 150px; min-width: 280px;
  border-top: 4px solid var(--gold);
  padding: var(--s8) var(--s8);
  box-shadow: var(--sh-md);
}
.logo-card--featured img { max-height: 110px; max-width: 280px; }

.logo-card--sm {
  min-height: 70px; min-width: 140px;
  padding: var(--s3) var(--s4);
}
.logo-card--sm img { max-height: 44px; max-width: 150px; }

/* Logo sur fond sombre — la carte adopte le fond du logo */
.logo-card--dark {
  background: #111;
  border-color: #222;
}
.logo-card--dark:hover { box-shadow: 0 6px 20px rgba(0,0,0,.35); }

.logo-card--text { font-size: var(--text-sm); font-weight: 600; color: var(--gray); }

.logo-card__name {
  font-family: var(--ff-display); font-size: var(--text-sm); font-weight: 700;
  color: var(--ink); line-height: 1.3; letter-spacing: .01em;
}
.logo-card__pending {
  font-size: var(--text-xs); color: rgba(0,0,0,.25);
  font-style: italic;
}
.logo-card__sub {
  font-size: var(--text-sm); font-weight: 500;
  color: var(--gray); letter-spacing: .03em;
  text-align: center; margin-top: var(--s2);
}

/* ── Chips (fallback texte) ── */
.chips {
  display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s3);
}
.chip {
  background: var(--white); border: 1.5px solid var(--smoke);
  border-radius: var(--r-full); padding: var(--s2) var(--s4);
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  display: flex; align-items: center;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.chip:hover {
  background: var(--teal-lt); border-color: var(--teal);
  color: var(--teal-dk); transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════
   DEVENIR PARTENAIRE
══════════════════════════════════════════════════════════ */
.why-box {
  background: var(--teal-lt); border-radius: var(--r-xl);
  border-left: 4px solid var(--teal);
  padding: var(--s8); margin-top: var(--s8); margin-bottom: var(--s10);
}
.why-box__title {
  font-family: var(--ff-display); font-size: var(--text-lg); font-weight: 700;
  color: var(--ink); margin-bottom: var(--s5); letter-spacing: .01em;
}
.why-list { display: flex; flex-direction: column; gap: var(--s3); padding-left: var(--s5); }
.why-list li {
  font-size: var(--text-sm); color: var(--gray); line-height: 1.6;
  list-style: disc; list-style-position: outside;
}
.why-list sup { font-size: .6em; }

.tiers-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr;
  gap: var(--s5); align-items: start;
}
.tier {
  background: var(--white); border-radius: var(--r-xl);
  padding: var(--s8); box-shadow: var(--sh-sm);
  border: 1.5px solid var(--smoke);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.tier:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }

.tier--top {
  background: var(--ink); border-color: transparent;
  border-top: 4px solid var(--gold);
}

.tier__header { margin-bottom: var(--s6); }
.tier__tag {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: var(--s4);
}
.tier__tag--gold  { background: var(--gold); color: var(--ink); }
.tier__tag--teal  { background: var(--teal-lt); color: var(--teal-dk); }
.tier__tag--green { background: var(--green-lt); color: var(--green); }

.tier__name {
  font-family: var(--ff-display); font-size: var(--text-xl); font-weight: 900;
  line-height: 1.1; letter-spacing: .01em; margin-bottom: var(--s2);
}
.tier--top  .tier__name { color: var(--white); }
.tier--b .tier__name, .tier--c .tier__name { color: var(--ink); }

.tier__amount {
  font-family: var(--ff-display); font-size: var(--text-2xl); font-weight: 900;
  line-height: 1; letter-spacing: .01em; margin-bottom: var(--s4);
}
.tier--top .tier__amount { color: var(--gold); }
.tier--b   .tier__amount { color: var(--teal); }
.tier--c   .tier__amount { color: var(--green); }

.tier__mention {
  font-size: var(--text-xs); color: rgba(255,255,255,.35); line-height: 1.5;
  font-style: italic;
}
.tier--b .tier__mention, .tier--c .tier__mention { color: var(--gray); }

.tier-perks { display: flex; flex-direction: column; gap: var(--s3); margin-top: var(--s5); }
.tier-perks li {
  display: flex; gap: var(--s3); align-items: flex-start;
  font-size: var(--text-sm); line-height: 1.5;
}
.tier--top .tier-perks li { color: rgba(255,255,255,.65); }
.tier--b .tier-perks li, .tier--c .tier-perks li { color: var(--gray); }

.check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .55rem; font-weight: 700; margin-top: 2px;
}
.tier--top .check { background: rgba(240,160,32,.2); color: var(--gold); }
.tier--b   .check { background: var(--teal-lt); color: var(--teal); }
.tier--c   .check { background: var(--green-lt); color: var(--green); }

.tiers-note {
  text-align: center; margin-top: var(--s10);
  font-size: var(--text-sm); color: var(--gray);
}
.tiers-note a { color: var(--teal); font-weight: 600; }
.tiers-note a:hover { color: var(--teal-dk); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s10); margin-top: var(--s10);
}

.contact-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-xl); padding: var(--s8);
  display: flex; flex-direction: column; gap: var(--s6);
}
.contact-block__logo {
  max-width: 220px; width: 100%; height: auto;
  filter: brightness(0) invert(1); opacity: .85;
}
.contact-block__name {
  font-family: var(--ff-display); font-size: var(--text-xl); font-weight: 700;
  color: var(--white); letter-spacing: .01em;
}
.contact-block__role {
  font-size: var(--text-sm); color: rgba(255,255,255,.5);
  line-height: 1.6; margin-top: var(--s2);
}

.contact-links {
  display: flex; flex-direction: column; gap: var(--s3);
  margin-top: var(--s4);
}
.contact-link {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-size: var(--text-base); font-weight: 600;
  color: var(--teal);
  transition: color .15s;
}
.contact-link:hover { color: var(--teal-lt); }
.contact-link svg { flex-shrink: 0; }

.contact-infos {
  display: flex; flex-direction: column; gap: var(--s4);
}
.info-card {
  display: flex; gap: var(--s4); align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: var(--s4) var(--s5);
  transition: background .15s;
}
.info-card:hover { background: rgba(255,255,255,.09); }
.info-card__icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.info-card__label {
  font-size: var(--text-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 4px;
}
.info-card__val {
  font-size: var(--text-sm); color: rgba(255,255,255,.65); line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
#toast {
  position: fixed; bottom: var(--s6); right: var(--s6); z-index: 9999;
  background: var(--white); border-radius: var(--r-lg);
  padding: var(--s4) var(--s6); box-shadow: var(--sh-xl);
  border-left: 4px solid var(--green);
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
  display: flex; align-items: center; gap: var(--s3);
  transform: translateY(16px); opacity: 0; pointer-events: none;
  transition: transform .35s var(--ease), opacity .35s;
  max-width: 340px;
}
#toast.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
#toast::before { content: '✓'; color: var(--green); font-weight: 800; }

/* ══════════════════════════════════════════════════════════
   PIED DE PAGE
══════════════════════════════════════════════════════════ */
.footer {
  background: var(--footer-bg);
  padding: var(--s16) clamp(1rem,4vw,2.5rem) var(--s8);
}
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s8); padding-bottom: var(--s10);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand img { height: 36px; width: auto; margin-bottom: var(--s4); }
.footer__desc {
  font-size: var(--text-sm); color: rgba(255,255,255,.3);
  line-height: 1.7; max-width: 28ch;
}
.footer__col-title {
  font-size: var(--text-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.25); margin-bottom: var(--s5);
}
.footer__links { display: flex; flex-direction: column; gap: var(--s3); }
.footer__links a {
  font-size: var(--text-sm); color: rgba(255,255,255,.45);
  transition: color .15s;
}
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  max-width: var(--max-w); margin: var(--s8) auto 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3);
  font-size: var(--text-xs); color: rgba(255,255,255,.2);
}
.footer__bottom a { color: rgba(255,255,255,.35); }
.footer__bottom a:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ev-grid      { grid-template-columns: 1fr; }
  .ctx-cards    { grid-template-columns: 1fr 1fr; }
  .zones-grid   { grid-template-columns: 1fr 1fr; }
  .zones-grid > *:nth-child(4) { grid-column: auto; }
  .expo-grid    { grid-template-columns: 1fr 1fr; }
  .tiers-grid   { grid-template-columns: 1fr; }
  .expo-format  { grid-template-columns: 1fr; }
  .expo-format__img { order: -1; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: fixed; top: var(--nav-h); right: 0; bottom: 0; left: 0;
    background: var(--white); z-index: 499;
    gap: var(--s6); padding: var(--s8);
    overflow-y: auto;
  }
  .nav__links.is-open a {
    font-size: var(--text-lg); color: var(--ink) !important;
    text-transform: none; letter-spacing: 0;
  }
  .nav__burger { display: flex; }

  .ctx-cards  { grid-template-columns: 1fr; }
  .zones-grid { grid-template-columns: 1fr; }
  .expo-grid  { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  /* Logos partenaires : aucun logo ne doit déborder du card sur mobile */
  .logo-card--featured { min-width: 0; width: calc(50% - var(--s2)); }
  .logo-card { min-width: 120px; }
  /* max-width + width: 100% = double contrainte pour vieux Android où max-width seul échoue */
  .logo-card img,
  .logo-card--featured img,
  .logo-card--sm img { max-width: 100%; width: auto; flex-shrink: 1; min-width: 0; }
  .sched-item { grid-template-columns: 75px 1fr; gap: var(--s3); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  /* Bouton "Faire une demande d'inscription" : pleine largeur et texte centré */
  .expo-format__text .btn { display: flex; width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .ev-stats { grid-template-columns: 1fr; }
  .prog-tabs { flex-direction: column; border-radius: var(--r-lg); }
  .tab-btn { border-radius: var(--r-md); }
}

/* ══════════════════════════════════════════════════════════
   TÉLÉCHARGEMENTS PDF
══════════════════════════════════════════════════════════ */
.dl-block {
  margin-top: var(--s10);
}
.dl-block--inline { margin-top: var(--s8); }

.dl-block__title {
  font-family: var(--ff-display); font-size: var(--text-lg); font-weight: 700;
  color: var(--ink); margin-bottom: var(--s5); letter-spacing: .01em;
}

.dl-cards { display: flex; flex-wrap: wrap; gap: var(--s4); }

.dl-card {
  display: flex; align-items: center; gap: var(--s5);
  background: var(--white); border: 2px solid var(--smoke);
  border-radius: var(--r-lg); padding: var(--s4) var(--s6);
  text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s var(--ease);
  min-width: 280px; max-width: 480px;
}
.dl-card:hover {
  border-color: var(--coral);
  box-shadow: 0 4px 20px rgba(232,80,26,.15);
  transform: translateY(-2px);
}
.dl-card--teal:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(26,143,160,.15);
}

.dl-card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md); flex-shrink: 0;
  background: var(--coral-lt); color: var(--coral);
  display: flex; align-items: center; justify-content: center;
}
.dl-card--teal .dl-card__icon { background: var(--teal-lt); color: var(--teal); }

.dl-card__info {
  display: flex; flex-direction: column; gap: 3px; flex: 1;
}
.dl-card__name {
  font-family: var(--ff-display); font-size: var(--text-sm); font-weight: 700;
  color: var(--ink); letter-spacing: .01em; line-height: 1.3;
}
.dl-card__meta {
  font-size: var(--text-xs); color: var(--gray);
}

.dl-card__action {
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--coral); white-space: nowrap;
  padding: var(--s2) var(--s4); border-radius: var(--r-full);
  background: var(--coral-lt);
  transition: background .15s, color .15s;
}
.dl-card--teal .dl-card__action { color: var(--teal); background: var(--teal-lt); }
.dl-card:hover .dl-card__action { background: var(--coral); color: var(--white); }
.dl-card--teal:hover .dl-card__action { background: var(--teal); color: var(--white); }

@media (max-width: 480px) {
  .dl-card { min-width: 0; width: 100%; }
  .dl-card__action { display: none; }
}

/* ── Print ── */
@media print {
  .nav, .hero__scroll-cue, .sep, #toast { display: none; }
  .hero { min-height: auto; }
  * { animation: none !important; transition: none !important; }
}
