/* ═══════════════════════════════════════════════════════════
   vitrine.css — BazaArt page vitrine
   Extrait de bazaart_vitrine_v2.html — ne pas modifier
═══════════════════════════════════════════════════════════ */

:root {
  /* bazaart.fr palette */
  --cream:    #f7f4ef;
  --white:    #ffffff;
  --dark:     #1a1a1a;
  --forest:   #1c3a2f;
  --terra:    #c8503a;
  --terra-lt: #fee0dc;
  --sage:     #d4e6dc;
  --tan:      #e2ddd6;
  --muted:    #6b6860;
  /* PDF palette accents */
  --yellow:   #ffe000;
  --pdf-brown:#7a3b0a;
  --pdf-red:  #e8200a;
  --pdf-green:#1a8a3a;
  --black:    #0a0a0a;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  background: var(--cream);
  color: var(--dark);
  font-family: 'Inter', system-ui, sans-serif;
  overflow-x: hidden;
}

/* ═══════════════════════════════
   TOP BANNER — coming soon
═══════════════════════════════ */
.top-banner {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
/* Tag "[Événement]" mis en avant */
.banner-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--forest);
  border-radius: 3px;
  padding: 0 6px;
  margin-right: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  vertical-align: middle;
}

/* Séparateurs · entre les infos */
.banner-sep {
  color: var(--yellow);
  margin: 0 0.4rem;
}

/* Lien "En savoir plus" */
.banner-link {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s;
}
.banner-link:hover { opacity: 0.75; }



/* ═══════════════════════════════
   NAV
═══════════════════════════════ */

.nav {
  background: var(--white);
  border-bottom: 1px solid var(--tan);
  padding: 0 3rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}

.nav-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--forest);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--terra); }

.nav-actions { display:flex; gap:0.75rem; align-items:center; }

.btn-outline {
  border: 1.5px solid var(--dark);
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--dark); color: var(--white); }

.btn-primary {
  border-radius: 6px;
  padding: 0.55rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  background: var(--terra);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-primary:hover { background: #b04432; }

/* Bouton don HelloAsso dans la navbar */
.btn-nav-don {
  border: 1.5px solid var(--terra);
  background: transparent;
  color: var(--terra);
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-nav-don:hover {
  background: var(--terra);
  color: var(--white);
}

/* ═══════════════════════════════
   HERO — two-col layout
═══════════════════════════════ */
.hero {
  background: var(--cream);
  min-height: calc(100vh - 104px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 5rem 3rem 4rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

/* background grid lines like PDF */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28,58,47,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,58,47,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}

.hero-left { position: relative; z-index: 2; }

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--terra-lt);
  color: var(--terra);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.8rem;
}
.hero-pill-dot {
  width: 6px; height: 6px;
  background: var(--terra);
  border-radius: 50%;
}

.hero-h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 5.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--forest);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-h1 em {
  font-style: italic;
  color: var(--terra);
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 460px;
  margin-bottom: 2.5rem;
}

.hero-btns { display:flex; gap:1rem; align-items:center; flex-wrap:wrap; }

.btn-hero-main {
  background: var(--terra);
  color: var(--white);
  border-radius: 6px;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s;
  letter-spacing: 0.02em;
}
.btn-hero-main:hover { background:#b04432; transform:translateY(-2px); box-shadow:0 8px 24px rgba(200,80,58,0.3); }

.btn-hero-sec {
  border: 1.5px solid var(--tan);
  background: var(--white);
  color: var(--dark);
  border-radius: 6px;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
.btn-hero-sec:hover { border-color: var(--dark); }

/* flow tags */
.hero-flow {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.flow-chip {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--tan);
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}

/* right side - floating cards */
.hero-right {
  position: relative;
  z-index: 2;
  height: 580px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: 0 8px 40px rgba(28,58,47,0.1);
  border: 1px solid var(--tan);
}

/* ── LIGNE HAUTE (top: 0) ─────────────────────────────
   [ photo-1 ]   [ fc-main ]
──────────────────────────────────────────────────── */
.fc-main  { width: 260px; top: 10px; right: 0; }

/* ── LIGNE MILIEU (top: ~200px) ──────────────────────
   [ fc-small ]  [ photo-2 ]  [ fc-tiny ]
──────────────────────────────────────────────────── */
.fc-small { width: 200px; top: 205px; left: 0; }
.fc-tiny  { width: 175px; top: 205px; right: 0; }

/* ── LIGNE BASSE (bottom: 0) ─────────────────────────
   [ fc-extra ]               [ photo-3 ]
──────────────────────────────────────────────────── */

.fc-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.fc-badge-terra { background: var(--terra-lt); color: var(--terra); }
.fc-badge-sage  { background: var(--sage);     color: var(--forest); }
.fc-badge-tan   { background: var(--tan);       color: var(--muted); }

.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.fc-meta {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
}

.fc-tags {
  margin-top: 0.7rem;
  font-size: 0.68rem;
  color: var(--muted);
}

/* Carte photo flottante — style polaroid */
.fc-photo-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  padding: 0.6rem 0.6rem 1.2rem;
  box-shadow: 0 8px 32px rgba(28,58,47,0.15);
  border: 1px solid var(--tan);
  overflow: hidden;
}
.fc-photo-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.fc-photo-card .fc-photo-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Positions des cartes photo (polaroid) */
.fc-photo-1 { width: 155px; top: 5px;   left: 0;    transform: rotate(-2deg); }
.fc-photo-2 { width: 145px; top: 200px; left: 210px; transform: rotate(2deg);  }
.fc-photo-3 { width: 150px; bottom: 10px; right: 0;  transform: rotate(-2deg); }

.fc-photo-1 { animation: floatCard 5s 0.2s ease-in-out infinite; }
.fc-photo-2 { animation: floatCard 6s 1s ease-in-out infinite; }
.fc-photo-3 { animation: floatCard 4.5s 1.8s ease-in-out infinite; }

/* 4e carte texte — Stação Cabo Branco */
.fc-extra { width: 210px; bottom: 10px; left: 0; }
.fc-extra { animation: floatCard 5.5s 1.5s ease-in-out infinite; }

/* big decorative letter behind */
.deco-letter {
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28vw;
  color: rgba(28,58,47,0.03);
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

/* ═══════════════════════════════
   STATS BAR
═══════════════════════════════ */
.stats-bar {
  background: var(--forest);
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item { border-left: 2px solid rgba(255,224,0,0.25); padding-left: 1.5rem; }
.stat-item:first-child { border-left: none; padding-left: 0; }

.stat-n {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-l {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.55);
}

/* ═══════════════════════════════
   SECTION BASE
═══════════════════════════════ */
.section {
  padding: 6rem 3rem;
}

.section-header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.sec-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.sec-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--terra);
}

.sec-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--forest);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sec-title em {
  font-style: italic;
  color: var(--terra);
}

.sec-desc {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ═══════════════════════════════
   HUBS SECTION — green bg
═══════════════════════════════ */
.section-hubs {
  background: var(--forest);
  padding: 6rem 3rem;
}

.section-hubs .sec-title { color: var(--cream); }
.section-hubs .sec-eyebrow { color: var(--yellow); }
.section-hubs .sec-eyebrow::before { background: var(--yellow); }
.section-hubs .sec-desc { color: rgba(247,244,239,0.6); }

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.hub-card {
  border-radius: 16px;
  padding: 2rem 1.8rem;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s;
}
.hub-card:hover { transform: translateY(-6px); }

.hub-card-1 { background: var(--cream); color: var(--dark); }
.hub-card-2 { background: #3a7bd5; color: var(--white); }
.hub-card-3 { background: var(--terra); color: var(--white); }
.hub-card-4 { background: #145a2e; color: var(--cream); border: 1px solid rgba(255,224,0,0.2); }

.hub-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hub-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.7rem;
}

.hub-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  opacity: 0.8;
  flex: 1;
}

.hub-icon {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  color: currentColor;
  opacity: 0.8;
}

/* ═══════════════════════════════
   DISCIPLINES — cream bg
═══════════════════════════════ */
.section-discs {
  background: var(--tan);
  padding: 5rem 3rem;
}

.disc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

.disc-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid transparent;
  transition: all 0.25s;
  cursor: default;
}
.disc-card:hover {
  border-color: var(--terra);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(200,80,58,0.1);
}

.disc-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.6rem;
}

.disc-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--forest);
}

.disc-icon {
  margin-bottom: 1.25rem;
  color: var(--terra);
  opacity: 0.85;
}

.disc-icon svg {
  display: block;
}

/* ═══════════════════════════════
   PROJETS — white bg
═══════════════════════════════ */
.section-projets { background: var(--white); }

.projets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.projet-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--tan);
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
  transition: all 0.25s;
  cursor: default;
}
.projet-card:hover {
  border-color: var(--terra);
  box-shadow: 0 4px 20px rgba(200,80,58,0.08);
}

.projet-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--terra);
  line-height: 1;
  opacity: 0.4;
}

.projet-body {}

.projet-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  background: var(--terra-lt);
  color: var(--terra);
  margin-bottom: 0.7rem;
}

.projet-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--forest);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.projet-detail {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

/* featured big project */
.projet-card-featured {
  grid-column: 1 / -1;
  background: var(--forest);
  color: var(--cream);
  border-color: transparent;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
}

.projet-card-featured .projet-num { color: var(--yellow); opacity: 0.5; font-size: 3rem; }
.projet-card-featured .projet-name { color: var(--cream); font-size: 1.4rem; }
.projet-card-featured .projet-detail { color: rgba(247,244,239,0.6); }
.projet-card-featured .projet-tag { background: rgba(255,224,0,0.15); color: var(--yellow); }

.projet-card-featured .proj-count {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 5rem;
  color: var(--yellow);
  opacity: 0.25;
  line-height: 1;
}

/* ═══════════════════════════════
   PARTENAIRES
═══════════════════════════════ */
.section-partners {
  background: var(--cream);
  padding: 5rem 3rem;
}

.partners-wrap {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.partner-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--forest);
  background: var(--white);
  border: 1.5px solid var(--tan);
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  transition: all 0.2s;
}
.partner-tag:hover { border-color: var(--forest); background: var(--sage); }

/* ═══════════════════════════════
   ÉQUIPE — terra bg
═══════════════════════════════ */
.section-equipe {
  background: var(--terra);
  padding: 6rem 3rem;
}

.section-equipe .sec-title { color: var(--white); }
.section-equipe .sec-title em { color: var(--white); }
.section-equipe .sec-eyebrow { color: var(--yellow); }
.section-equipe .sec-eyebrow::before { background: var(--yellow); }
.section-equipe .sec-desc { color: rgba(255,255,255,0.7); }

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.membre-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}
.membre-card:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-6px);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  margin: 0 auto 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}

.membre-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--white);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.membre-role {
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.65);
}

/* ═══════════════════════════════
   CONTACT / CTA
═══════════════════════════════ */
.section-contact {
  background: var(--forest);
  padding: 7rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.section-contact::before {
  content: 'B';
  position: absolute;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 50vw;
  color: rgba(255,224,0,0.025);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
}

.contact-inner { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }

.contact-pill {
  display: inline-block;
  background: rgba(255,224,0,0.15);
  color: var(--yellow);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,224,0,0.25);
}

.contact-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--cream);
  line-height: 1.0;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}
.contact-title em { font-style: italic; color: var(--yellow); }

.contact-sub {
  font-size: 1rem;
  color: rgba(247,244,239,0.6);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-sub a {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 600;
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--yellow);
  color: var(--black);
  border-radius: 6px;
  padding: 1rem 2.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.25s;
}
.btn-contact:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(255,224,0,0.3); }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
.footer {
  background: var(--black);
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--cream);
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(247,244,239,0.35);
  letter-spacing: 0.06em;
}

.footer-site {
  font-size: 0.75rem;
  color: rgba(247,244,239,0.35);
  letter-spacing: 0.06em;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1024px) {
  .hubs-grid { grid-template-columns: 1fr 1fr; }

  .disc-grid { grid-template-columns: 1fr 1fr; }
  .equipe-grid { grid-template-columns: 1fr 1fr; }
  .projets-grid { grid-template-columns: 1fr; }
  .projet-card-featured { grid-template-columns: 80px 1fr; }
  .projet-card-featured .proj-count { display: none; }
}

/* Boutons CTA dans le menu mobile — cachés sur desktop */
.nav-mobile-actions {
  display: none;
}

/* Forcer la couleur blanche du bouton "Rejoindre" dans le menu mobile
   (la règle .nav-links a écrase sinon .btn-primary) */
.nav-links .btn-primary {
  color: var(--white);
}

/* Top banner : version mobile cachée par défaut */
.banner-mobile { display: none; }
.banner-desktop { display: inline; }

/* Hamburger — caché par défaut sur desktop, affiché sur mobile */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Animation hamburger → croix quand le menu est ouvert */
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .stats-bar { grid-template-columns: 1fr 1fr; }

  /* ── Nav mobile ── */
  .nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  /* Cacher les boutons d'action nav sur mobile — le menu hamburger suffit */
  .nav-actions { display: none; }

  /* Menu mobile ouvert — panneau déroulant sous la nav */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--tan);
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  /* Ajouter les boutons CTA en bas du menu ouvert */
  .nav-links.open::after {
    content: '';
    display: block;
    border-top: 1px solid var(--tan);
    margin-top: 0.5rem;
  }

  /* Boutons CTA visibles dans le menu mobile ouvert */
  .nav-mobile-actions {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--tan);
    flex-wrap: wrap;
  }

  /* Top banner — texte court sur mobile */
  .banner-desktop { display: none; }
  .banner-mobile  { display: inline; }

  /* Hubs : 1 colonne sur mobile */
  .hubs-grid { grid-template-columns: 1fr; }

  /* ── Section événement : 1 colonne, image pleine largeur ── */
  .event-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Sur mobile, aspect-ratio peut ne pas calculer la hauteur (height: 0).
     min-height garantit que le conteneur est visible même si aspect-ratio échoue. */
  #event-mansa-guadeloupe .event-img-wrapper {
    min-height: 300px !important;
  }

  #event-mansa-guadeloupe {
    padding: 40px 20px !important;
  }

  #event-mansa-guadeloupe h2 {
    font-size: 22px !important;
  }

  .section, .section-hubs, .section-discs, .section-projets,
  .section-partners, .section-equipe, .section-contact { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

.hero-pill    { animation: fadeUp 0.6s ease forwards; }
.hero-h1      { animation: fadeUp 0.6s 0.1s ease both; }
.hero-desc    { animation: fadeUp 0.6s 0.2s ease both; }
.hero-btns    { animation: fadeUp 0.6s 0.3s ease both; }
.hero-flow    { animation: fadeUp 0.6s 0.4s ease both; }

.fc-main  { animation: floatCard 5s ease-in-out infinite; }
.fc-small { animation: floatCard 6s 1s ease-in-out infinite; }
.fc-tiny  { animation: floatCard 4.5s 0.5s ease-in-out infinite; }

/* ═══════════════════════════════
   SCROLL REVEAL
═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ombre navbar au scroll */
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

/* ═══════════════════════════════
   CARROUSEL PARTENAIRES
═══════════════════════════════ */
.carousel-wrapper {
  overflow: hidden;
  margin-top: 3rem;
  /* Dégradé gauche/droite pour un effet de fondu */
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 8%,
    black 92%,
    transparent 100%
  );
}

.carousel-track {
  display: flex;
  gap: 3rem;
  align-items: center;
  /* Animation CSS pure — défilement infini vers la gauche */
  animation: carousel-scroll 35s linear infinite;
  width: max-content;
}

/* Pause au survol */
.carousel-wrapper:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  flex-shrink: 0;
  height: 80px;
  display: flex;
  align-items: center;
}

.carousel-item img {
  height: 100%;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  /* Filtre gris par défaut, couleur au survol */
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.3s;
}

.carousel-item img:hover {
  filter: grayscale(0%) opacity(1);
}

@keyframes carousel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* -50% car la piste est dupliquée */
}

/* ═══════════════════════════════
   FORMULAIRE DE CONTACT
═══════════════════════════════ */
.contact-form {
  margin-top: 2.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field label {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(247,244,239,0.65);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-field input,
.contact-field textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--cream);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(247,244,239,0.3);
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.12);
}

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

/* Zone de feedback succès / erreur */
.contact-feedback {
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 1.5rem;
  text-align: center;
}
.contact-feedback.success { color: #7dffb3; }
.contact-feedback.error   { color: #ff8a7a; }

/* Bouton désactivé pendant l'envoi */
.btn-contact:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

@media (max-width: 768px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

