/* ─────────────────────────────────────────────────────────
   Ma'Track Festival – Feuille de style partagée
   ───────────────────────────────────────────────────────── */

/* ─── POLICES CUSTOM ─── */
@font-face {
  font-family: 'Matrackgasse';
  src: url('../fonts/Matrackgasse-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Matrackgras';
  src: url('../fonts/Matrackgras-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* ─── VARIABLES ─── */
:root {
  --jaune: #e3c42f;
  --rose:  #d63a5f;
  --gris:  #2b2b2b;
  --noir:  #000000;
  --blanc: #f5f0e8;
  /* Catégories programmation */
  --cat-concert:    #e3c42f;
  --cat-spectacle:  #d63a5f;
  --cat-table:      #5bbfad;
  --cat-atelier:    #a78bfa;
  --cat-animation:  #fb923c;
  --cat-interscene: #6b7280;
  --cat-ouverture:  #e3c42f;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(0,0,0,0.92);
  border-bottom: 2px solid var(--jaune);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: 'Matrackgras', cursive;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--jaune);
  text-decoration: none;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Boogaloo', cursive;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blanc);
  text-decoration: none;
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--rose);
  transition: width .25s;
}
.nav-links a:hover { color: var(--jaune); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--jaune); }
.nav-links a.active::after { width: 100%; background: var(--jaune); }

.nav-cta {
  background: var(--jaune) !important;
  color: var(--noir) !important;
  padding: .35rem 1rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover {
  background: #cdb228 !important;
  color: var(--noir) !important;
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }
.nav-cta.active {
  background: var(--jaune) !important;
  box-shadow: 3px 3px 0 var(--rose);
}

/* ─── BURGER MENU ─── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: .25rem;
}
.nav-burger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--jaune);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FOOTER ─── */
footer {
  background: var(--gris);
  border-top: 2px solid var(--jaune);
  padding: 3rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo { font-family: 'Matrackgras', cursive; font-size: 2rem; color: var(--jaune); letter-spacing: 0.08em; }
.footer-links { display: flex; gap: 2rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Boogaloo', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,.5);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--rose); }
.footer-links a.nav-cta {
  background: var(--jaune);
  color: var(--noir) !important;
  padding: .25rem .85rem;
  border-radius: 2px;
}
.footer-links a.nav-cta:hover {
  background: #cdb228;
  color: var(--noir) !important;
}
.footer-copy { font-size: 0.8rem; color: rgba(245,240,232,.3); font-family: 'Boogaloo', cursive; }
.footer-socials {
  display: flex;
  gap: 1rem;
  align-items: center;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(245,240,232,.15);
  border-radius: 3px;
  color: rgba(245,240,232,.5);
  text-decoration: none;
  transition: color .2s, border-color .2s, transform .15s;
}
.footer-social-link:hover {
  color: var(--jaune);
  border-color: var(--jaune);
  transform: translateY(-2px);
}
.footer-social-link svg {
  width: 18px; height: 18px;
  fill: currentColor;
}

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

/* ─── COMPOSANTS PARTAGÉS ─── */
.btn {
  display: inline-block;
  font-family: 'Boogaloo', cursive;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .85rem 2rem;
  border-radius: 2px;
  border: none;
  transition: transform .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--jaune);
  color: var(--noir);
  box-shadow: 4px 4px 0 var(--rose);
}
.btn-primary:hover { box-shadow: 6px 6px 0 var(--rose); }
.btn-outline {
  background: transparent;
  color: var(--blanc);
  border: 2px solid var(--blanc);
  box-shadow: 4px 4px 0 var(--gris);
}
.btn-outline:hover { border-color: var(--jaune); color: var(--jaune); box-shadow: 6px 6px 0 var(--gris); }

.section-title {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.02em;
  color: var(--blanc);
  margin-bottom: 3rem;
}
.section-title span { color: var(--jaune); }

/* ─── PAGE HEADER (pages internes) ─── */
.page-header {
  padding: 110px 5vw 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
/* Watermarks via classes modificatrices */
.page-header--prog::before,
.page-header--billet::before,
.page-header--benevoles::before {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Matrackgras', cursive;
  pointer-events: none;
  line-height: 1;
}
.page-header--prog::before {
  content: 'PROG';
  right: -2vw;
  font-size: 22vw;
  color: rgba(227,196,47,.04);
}
.page-header--billet::before {
  content: 'BILLET';
  right: -4vw;
  font-size: 18vw;
  color: rgba(214,58,95,.06);
}
.page-header--benevoles::before {
  content: 'BENEVOLES';
  right: -4vw;
  font-size: 12vw;
  color: rgba(227,196,47,.04);
}
.page-header-tag {
  font-family: 'Boogaloo', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 600;
  margin-bottom: .75rem;
}
.page-header h1 {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(2.2rem, 6vw, 7rem);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--blanc);
  margin-bottom: 1rem;
}
.page-header h1 span { color: var(--jaune); }
.page-header-sub {
  font-family: 'Boogaloo', cursive;
  font-size: 1.1rem;
  color: rgba(245,240,232,.6);
  max-width: 550px;
  line-height: 1.6;
}


/* ══════════════════════════════════════════════════════════
   PAGE : ACCUEIL
   ══════════════════════════════════════════════════════════ */

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 5vw 3rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(214,58,95,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(227,196,47,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  opacity: .35;
  pointer-events: none;
}
.hero-text { position: relative; z-index: 1; }
.hero-eyebrow {
  font-family: 'Boogaloo', cursive;
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  margin-bottom: 1rem;
  animation: fadeUp .6s ease both;
}
.hero-title {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(2.4rem, 8vw, 8rem);
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--jaune);
  margin-bottom: 1.5rem;
  animation: fadeUp .6s .1s ease both;
}
.hero-title span {
  display: block;
  color: var(--blanc);
  font-size: clamp(2.1rem, 7vw, 6rem);
}
.hero-dates {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .6s .2s ease both;
}
.hero-dates .badge {
  background: var(--rose);
  color: #fff;
  font-family: 'Boogaloo', cursive;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 2px;
}
.hero-dates .lieu {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: rgba(245,240,232,.7);
  letter-spacing: 0.05em;
}
.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp .6s .3s ease both;
}

/* ─── AFFICHE ─── */
.hero-poster {
  position: relative;
  z-index: 1;
  animation: fadeUp .6s .15s ease both;
}
.poster-frame {
  aspect-ratio: 3/4;
  max-height: 80vh;
  background: var(--gris);
  border: 3px solid var(--jaune);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--rose);
  transition: transform .35s ease, box-shadow .35s ease;
}
.poster-frame:hover {
  transform: translate(-4px, -4px) rotate(-1deg);
  box-shadow: 14px 14px 0 var(--rose);
}
.poster-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(227,196,47,.04) 20px, rgba(227,196,47,.04) 21px);
}
.poster-placeholder-text {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: rgba(245,240,232,.25);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 2rem;
  line-height: 1.4;
}
.poster-corner {
  position: absolute;
  width: 20px; height: 20px;
  border-color: var(--rose);
  border-style: solid;
}
.poster-corner:nth-child(1) { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.poster-corner:nth-child(2) { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.poster-corner:nth-child(3) { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.poster-corner:nth-child(4) { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

/* ─── INFOS ─── */
.infos {
  background: var(--gris);
  padding: 5rem 5vw;
  border-top: 3px solid var(--jaune);
  border-bottom: 3px solid var(--jaune);
}
.infos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.info-card {
  border-left: 3px solid var(--rose);
  padding-left: 1.5rem;
}
.info-card-icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}
.info-card-label {
  font-family: 'Boogaloo', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 400;
  margin-bottom: .4rem;
}
.info-card-value {
  font-family: 'Boogaloo', cursive;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--blanc);
  line-height: 1.4;
}
.info-card-sub {
  font-size: 0.88rem;
  color: rgba(245,240,232,.55);
  margin-top: .25rem;
  line-height: 1.6;
}
.info-card-sub strong { color: rgba(245,240,232,.8); font-weight: 600; }
.info-card-sub em { color: var(--rose); font-style: normal; }

/* ─── PRÉSENTATION ─── */
.presentation {
  padding: 6rem 5vw;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.presentation-label {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: 1.2;
  color: var(--jaune);
  position: sticky;
  top: 80px;
}
.presentation-label span {
  display: block;
  color: rgba(245,240,232,.25);
  font-size: 1em;
  line-height: 1.2;
}
.presentation-body p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245,240,232,.8);
  margin-bottom: 1.5rem;
}
.presentation-body p strong { color: var(--jaune); font-weight: 600; }
.presentation-body p em { color: var(--rose); font-style: normal; }
.highlight-block {
  background: var(--gris);
  border-left: 4px solid var(--jaune);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-family: 'Matrackgras', cursive;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--jaune);
  line-height: 1.3;
}

/* ─── CATÉGORIES ─── */
.categories {
  padding: 4rem 5vw;
  background: var(--noir);
  border-top: 1px solid rgba(255,255,255,.06);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  border: 1px solid rgba(255,255,255,.06);
  margin-top: 3rem;
}
.cat-item {
  padding: 2rem 1.5rem;
  background: var(--gris);
  text-align: center;
  transition: background .2s;
  cursor: default;
}
.cat-item:hover { background: #363636; }
.cat-item-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.cat-item-name {
  font-family: 'Boogaloo', cursive;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blanc);
}

/* ─── RÉSEAUX SOCIAUX ─── */
.socials-section {
  padding: 5rem 5vw;
  background: var(--noir);
  border-top: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.socials-eyebrow {
  font-family: 'Boogaloo', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
}
.socials-title {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--blanc);
  line-height: 1;
  margin-bottom: 3rem;
}
.socials-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 2.5rem;
  border-radius: 3px;
  text-decoration: none;
  min-width: 280px;
  position: relative;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s;
}
.social-card:hover { transform: translateY(-4px); }
.social-card:hover::before { opacity: 1; }
.social-card--insta {
  background: var(--gris);
  border: 2px solid var(--jaune);
  box-shadow: 6px 6px 0 var(--jaune);
  color: var(--blanc);
}
.social-card--insta:hover { box-shadow: 8px 8px 0 var(--jaune); }
.social-card--fb {
  background: var(--gris);
  border: 2px solid var(--rose);
  box-shadow: 6px 6px 0 var(--rose);
  color: var(--blanc);
}
.social-card--fb:hover { box-shadow: 8px 8px 0 var(--rose); }
.social-card-icon svg { width: 36px; height: 36px; flex-shrink: 0; }
.social-card--insta .social-card-icon svg { fill: var(--jaune); }
.social-card--fb .social-card-icon svg { fill: var(--rose); }
.social-card-body { text-align: left; }
.social-card-network {
  font-family: 'Boogaloo', cursive;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,.45);
  margin-bottom: .2rem;
}
.social-card-handle {
  font-family: 'Matrackgras', cursive;
  font-size: 1.3rem;
  line-height: 1.1;
  margin-bottom: .5rem;
}
.social-card--insta .social-card-handle { color: var(--jaune); }
.social-card--fb .social-card-handle { color: var(--rose); }
.social-card-cta {
  font-family: 'Boogaloo', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,.5);
  transition: color .2s;
}
.social-card:hover .social-card-cta { color: var(--blanc); }


/* ══════════════════════════════════════════════════════════
   PAGE : PROGRAMMATION
   ══════════════════════════════════════════════════════════ */

/* ─── LÉGENDE ─── */
.legende {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  padding: 2rem 5vw;
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: var(--gris);
}
.legende-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Boogaloo', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.legende-dot {
  width: 12px; height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ─── TABS ─── */
.tabs {
  display: flex;
  gap: .75rem;
  padding: 2rem 5vw;
  border-bottom: 2px solid var(--gris);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  font-family: 'Boogaloo', cursive;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: .7rem 1.75rem;
  background: var(--gris);
  color: rgba(245,240,232,.5);
  border: 2px solid transparent;
  border-radius: 3px;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.tab-btn:hover {
  color: var(--blanc);
  border-color: rgba(245,240,232,.2);
}
.tab-btn.active {
  background: var(--jaune);
  color: var(--noir);
  border-color: var(--jaune);
  box-shadow: 4px 4px 0 var(--rose);
}

/* ─── GRILLE PROGRAMME ─── */
.programme-wrapper { padding: 3rem 5vw 6rem; }
.day-panel { display: none; }
.day-panel.active { display: block; }
.day-title {
  font-family: 'Matrackgras', cursive;
  font-size: 2.5rem;
  color: var(--jaune);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}
.day-title span {
  font-size: .5em;
  color: rgba(245,240,232,.4);
  margin-left: .5em;
  font-family: 'Boogaloo', cursive;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ─── TIMELINE ─── */
.timeline {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 79px;
  top: 0; bottom: 0;
  width: 2px;
  background: rgba(255,255,255,.07);
}
.timeline-slot { display: contents; }
.time-label {
  font-family: 'Boogaloo', cursive;
  font-size: 0.95rem;
  color: rgba(245,240,232,.6);
  letter-spacing: 0.04em;
  padding: 1.5rem 1rem 0 0;
  text-align: right;
  line-height: 1;
}
.slot-content {
  padding: 1rem 0 1rem 1.5rem;
  border-left: 2px solid transparent;
}

/* ─── BLOCS ÉVÉNEMENTS ─── */
.event-block {
  background: var(--gris);
  border-radius: 3px;
  padding: 1.1rem 1.4rem;
  margin-bottom: .5rem;
  position: relative;
  overflow: hidden;
  transition: transform .15s;
}
.event-block::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.event-block:hover { transform: translateX(3px); }

.event-block.concert::before   { background: var(--cat-concert); }
.event-block.spectacle::before { background: var(--cat-spectacle); }
.event-block.table::before     { background: var(--cat-table); }
.event-block.atelier::before   { background: var(--cat-atelier); }
.event-block.animation::before { background: var(--cat-animation); }
.event-block.interscene::before { background: var(--cat-interscene); }
.event-block.ouverture::before  { background: var(--cat-ouverture); }

.event-block.interscene {
  background: rgba(43,43,43,.8);
  border: 2px dashed rgba(107,114,128,.35);
  padding: .7rem 1.2rem;
}
.interscene .event-type { color: rgba(245,240,232,.45); }
.interscene .event-name { font-size: .95rem; color: rgba(245,240,232,.75); }
.interscene .event-meta { color: rgba(245,240,232,.4); }

.event-block.after {
  background: linear-gradient(135deg, #2b2b2b 60%, rgba(227,196,47,.08));
  border: 1px solid rgba(227,196,47,.25);
}
.event-block.after::before { background: var(--jaune); }

.event-type {
  font-family: 'Boogaloo', cursive;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: .3rem;
}
.concert   .event-type { color: var(--cat-concert); }
.spectacle .event-type { color: var(--cat-spectacle); }
.table     .event-type { color: var(--cat-table); }
.atelier   .event-type { color: var(--cat-atelier); }
.animation .event-type { color: var(--cat-animation); }

.event-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--blanc);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.event-meta {
  font-size: 0.82rem;
  color: rgba(245,240,232,.5);
  line-height: 1.4;
}
.event-duration {
  position: absolute;
  top: 1.1rem; right: 1.2rem;
  font-family: 'Boogaloo', cursive;
  font-size: 0.75rem;
  color: rgba(245,240,232,.3);
  letter-spacing: 0.05em;
}
.multi-event {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.event-inner { display: flex; align-items: center; gap: 1rem; }
.event-thumb {
  width: 72px; height: 72px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  border: 1px solid rgba(255,255,255,.08);
}
.event-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.event-content { flex: 1; min-width: 0; }
.event-listen {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .5rem;
  font-family: 'Boogaloo', cursive;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jaune);
  text-decoration: none;
  border: 1px solid rgba(227,196,47,.3);
  padding: .25rem .75rem;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.event-listen:hover { background: var(--jaune); color: var(--noir); }
.event-listen svg { width: 10px; height: 10px; fill: currentColor; }

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--gris);
  border-radius: 3px;
  max-width: 560px;
  width: 100%;
  padding: 2rem;
  position: relative;
  transform: translateY(16px);
  transition: transform .25s;
  border-top: 3px solid var(--rose);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.modal-thumb {
  width: 64px; height: 64px;
  border-radius: 3px;
  flex-shrink: 0;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  overflow: hidden;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-title {
  font-family: 'Matrackgras', cursive;
  font-size: 1.5rem;
  color: var(--blanc);
  line-height: 1.15;
}
.modal-type {
  font-family: 'Boogaloo', cursive;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .3rem;
}
.modal-body {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245,240,232,.75);
}
.modal-body p { margin-bottom: .75rem; }
.modal-body p:last-child { margin-bottom: 0; }
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: rgba(245,240,232,.4);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color .2s;
}
.modal-close:hover { color: var(--blanc); }
.modal-listen {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-family: 'Boogaloo', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--jaune);
  text-decoration: none;
  border: 1px solid rgba(227,196,47,.4);
  padding: .4rem 1rem;
  border-radius: 2px;
  transition: background .2s, color .2s;
}
.modal-listen:hover { background: var(--jaune); color: var(--noir); }
.modal-listen svg { width: 12px; height: 12px; fill: currentColor; }
.event-block.has-desc { cursor: pointer; }

/* ─── VILLAGE ASSO ─── */
.village-asso-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(90deg, rgba(167,139,250,.08), rgba(251,146,60,.08));
  border: 1px solid transparent;
  border-image: linear-gradient(90deg, rgba(167,139,250,.35), rgba(251,146,60,.35)) 1;
  padding: 1.1rem 1.5rem;
  margin-bottom: 2rem;
  font-family: 'Boogaloo', cursive;
  font-size: 1.2rem;
  color: rgba(245,240,232,.85);
}
.village-asso-banner .dot {
  width: 10px; height: 10px;
  background: linear-gradient(135deg, var(--cat-atelier), var(--cat-animation));
  border-radius: 2px;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}
.village-asso-banner strong {
  background: linear-gradient(90deg, var(--cat-atelier), var(--cat-animation));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ══════════════════════════════════════════════════════════
   PAGE : BILLETTERIE
   ══════════════════════════════════════════════════════════ */

/* ─── TARIFS ─── */
.tarifs {
  padding: 4rem 5vw;
  background: var(--gris);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.prix-libre-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.prix-libre-eyebrow {
  font-family: 'Boogaloo', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
}
.prix-libre-title {
  font-family: 'Matrackgras', cursive;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
  color: var(--jaune);
  margin-bottom: 1.5rem;
}
.prix-libre-indicatifs { margin-bottom: 1.25rem; }
.prix-indicatifs-label {
  font-family: 'Boogaloo', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
  margin-bottom: .5rem;
}
.prix-indicatifs-ligne {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.prix-libre-indicatifs span {
  font-family: 'Boogaloo', cursive;
  font-size: 1.9rem;
  color: var(--blanc);
}
.prix-libre-indicatifs em { font-style: normal; font-size: .6em; color: rgba(245,240,232,.45); }
.prix-libre-sep { width: 1px; height: 28px; background: rgba(255,255,255,.15); }
.prix-libre-minimo {
  display: inline-block;
  font-family: 'Boogaloo', cursive;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  background: var(--rose);
  color: #fff;
  padding: .3rem 1rem;
  border-radius: 2px;
}
.prix-libre-right p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245,240,232,.72);
  margin-bottom: 1.25rem;
}
.prix-libre-right p strong { color: var(--blanc); font-weight: 600; }

/* ─── SLIDER ─── */
.slider-block {
  background: var(--noir);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 3px;
  padding: 1.75rem 2rem;
  margin-top: 1.75rem;
}
.slider-label {
  font-family: 'Boogaloo', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,240,232,.4);
  margin-bottom: .75rem;
}
.slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.1);
  outline: none;
  margin-bottom: 1rem;
}
.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--jaune);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(227,196,47,.2);
}
.slider-input::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--jaune);
  cursor: pointer;
  border: none;
}
.slider-revenu {
  font-family: 'Matrackgasse', cursive;
  font-size: 2rem;
  color: var(--blanc);
  margin-bottom: .25rem;
}
.slider-result {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(245,240,232,.65);
  min-height: 3.5rem;
}
.slider-result strong { color: var(--jaune); }
.slider-result em { color: var(--rose); font-style: normal; }
.euro { font-family: 'Boogaloo', cursive; font-size: 1.1em; vertical-align: baseline; }

/* ─── BILLETTERIE HELLOASSO ─── */
.billetterie-section { padding: 5rem 5vw; }
.helloasso-wrapper { max-width: 860px; margin: 0 auto; }
.helloasso-intro {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 1.5rem 2rem;
  background: var(--gris);
  border-radius: 3px;
  border-left: 4px solid var(--jaune);
}
.helloasso-logo-placeholder {
  width: 48px; height: 48px;
  background: var(--jaune);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Matrackgras', cursive;
  font-size: 1.1rem;
  color: var(--noir);
  flex-shrink: 0;
}
.helloasso-intro-text { font-size: 0.9rem; color: rgba(245,240,232,.7); line-height: 1.6; }
.helloasso-intro-text strong { color: var(--blanc); font-weight: 500; }

/* ─── FAQ ─── */
.faq {
  padding: 5rem 5vw;
  background: var(--gris);
  border-top: 1px solid rgba(255,255,255,.06);
}
.faq-list { max-width: 760px; margin-top: 3rem; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,.07); }
.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: var(--blanc);
  font-family: 'Boogaloo', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 1.4rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .2s;
}
.faq-question:hover { color: var(--jaune); }
.faq-question::after {
  content: '+';
  font-family: 'Matrackgras', cursive;
  font-size: 1.5rem;
  color: var(--rose);
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item.open .faq-question { color: var(--jaune); }
.faq-item.open .faq-question::after { transform: rotate(45deg); color: var(--jaune); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s;
}
.faq-item.open .faq-answer { max-height: 400px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.95rem; color: rgba(245,240,232,.65); line-height: 1.8; }
.faq-answer p a { color: var(--jaune); text-decoration: underline; }

/* ─── CONTACT STRIP ─── */
.contact-strip {
  padding: 4rem 5vw;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
}
.contact-strip p {
  font-family: 'Boogaloo', cursive;
  font-size: 1rem;
  color: rgba(245,240,232,.5);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.contact-strip a { color: var(--rose); text-decoration: none; font-weight: 600; transition: color .2s; }
.contact-strip a:hover { color: var(--jaune); }


/* ══════════════════════════════════════════════════════════
   PAGE : BÉNÉVOLAT
   ══════════════════════════════════════════════════════════ */

.benevoles-section {
  padding: 4rem 5vw 6rem;
  max-width: 900px;
  margin: 0 auto;
}
.benevoles-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.benevoles-bloc {
  border-left: 3px solid var(--rose);
  padding-left: 1.5rem;
}
.benevoles-bloc-title {
  font-family: 'Boogaloo', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .6rem;
}
.benevoles-bloc p { font-size: 0.95rem; color: rgba(245,240,232,.7); line-height: 1.7; }
.benevoles-bloc p strong { color: var(--blanc); font-weight: 600; }
.framaforms-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--jaune);
  box-shadow: 0 0 0 1px rgba(227,196,47,.15), 6px 6px 0 var(--rose);
}
.framaforms-wrapper::before,
.framaforms-wrapper::after { display: none; }
.framaforms-wrapper iframe { display: block; border: none; width: 100%; border-radius: 6px; }


/* ══════════════════════════════════════════════════════════
   PAGE : MENTIONS LÉGALES
   ══════════════════════════════════════════════════════════ */

.mentions-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 5vw 6rem;
}
.mentions-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mentions-block:last-child { border-bottom: none; margin-bottom: 0; }
.mentions-block h2 {
  font-family: 'Boogaloo', cursive;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 1rem;
}
.mentions-block p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(245,240,232,.7);
  margin-bottom: .75rem;
}
.mentions-block p:last-child { margin-bottom: 0; }
.mentions-block strong { color: var(--blanc); font-weight: 600; }
.mentions-block a {
  color: var(--jaune);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s;
}
.mentions-block a:hover { color: var(--rose); }
.mentions-block .loi { font-size: 0.8rem; color: rgba(245,240,232,.35); margin-top: .5rem; }
.data-highlight {
  background: var(--gris);
  border-left: 4px solid var(--jaune);
  padding: 1.25rem 1.75rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(245,240,232,.8);
}
.data-highlight strong { color: var(--jaune); }


/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 1000px) {
  .nav-burger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(0,0,0,.97);
    border-bottom: 2px solid var(--jaune);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: .85rem 2rem;
    font-size: 1.1rem;
  }
  .nav-links a::after { display: none; }
  .nav-links a.nav-cta {
    display: inline-block !important;
    margin: .5rem auto;
  }
}

@media (max-width: 900px) {
  nav { padding: 0 1rem; gap: .75rem; }
  .nav-logo { font-size: 1.1rem; }

  footer { flex-direction: column; text-align: center; align-items: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: .6rem 1rem; }
  .footer-links a { font-size: 0.75rem; }
  .footer-socials { justify-content: center; }
  .footer-copy { text-align: center; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    text-align: center;
  }
  .hero-poster { order: -1; }
  .poster-frame { max-height: none; aspect-ratio: 3/4; width: 75vw; margin: 0 auto; }
  .cta-group { justify-content: center; }
  .hero-dates { justify-content: center; }
  .presentation { grid-template-columns: 1fr; gap: 2rem; }
  .presentation-label { position: static; font-size: 3rem; }
}

@media (max-width: 700px) {
  .prix-libre-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .helloasso-intro { flex-direction: column; text-align: center; }
  .benevoles-intro { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .poster-frame { width: 90vw; }
  .nav-logo { font-size: 1rem; }
}
