/* ==========================================================================
   Groupe Borimaïnce — feuille de style commune
   Chaque page choisit son thème via une classe sur <body> :
   (aucune) = groupe · .theme-events · .theme-ti · .theme-gc
   ========================================================================== */
:root {
  --bg: #0a0c12;
  --bg-2: #11141d;
  --bg-3: #1a1e2a;
  --accent: #f2892b;
  --accent-2: #3b78ff;
  --accent-soft: #ffc690;
  --accent-ink: #c9620c;
  --cream: #f6ecdc;
  --ink: #0d0f14;
  --muted: #a9a49b;
  --muted-ink: #6b6253;
  --line: rgba(246, 236, 220, 0.12);
  --line-ink: rgba(13, 15, 20, 0.14);
  --radius: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;

  /* couleurs des entités */
  --c-events: #2f6bea;
  --c-events-2: #f08a24;
  --c-ti: #e4603a;
  --c-ti-2: #2f7bd0;
  --c-gc: #d92b2b;
}
.theme-events { --bg: #0d0a07; --bg-2: #17110b; --bg-3: #221810; --accent: #f2a33a; --accent-2: #2f6bea; --accent-soft: #f3d391; --accent-ink: #c4451f; --muted: #b5a690; }
.theme-ti { --bg: #07101d; --bg-2: #0d1829; --bg-3: #14233a; --accent: #ff7a4d; --accent-2: #4a94ff; --accent-soft: #a9cbff; --accent-ink: #2f6fc4; --muted: #9fadc2; }
.theme-gc { --bg: #0a0a0a; --bg-2: #141414; --bg-3: #1f1f1f; --accent: #ef3b3e; --accent-2: #8a1c1f; --accent-soft: #ff9a9c; --accent-ink: #c1121f; --muted: #ababab; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--ink); }

body::after {
  content: ""; position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  opacity: .06; animation: grain 1s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} 100%{transform:translate(0,0)} }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); font-weight: 600;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); font-weight: 300; }
section { position: relative; }
.pad { padding: clamp(80px, 12vw, 160px) 0; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 620px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head h2 { margin-top: 20px; }
.section-head > p { max-width: 420px; color: var(--muted); }

/* Sections claires */
.light { background: var(--cream); color: var(--ink); border-radius: 48px 48px 0 0; }
.light .eyebrow { color: var(--accent-ink); }
.light h2 em, .light h3 em { color: var(--accent-ink); }
.light .lead, .light .section-head > p { color: var(--muted-ink); }
.light + .light { border-radius: 0; }

/* Preloader (CSS pur : se retire seul même sans JavaScript) */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center; pointer-events: none;
  animation: loaderOut .5s var(--ease) .45s forwards;
}
@keyframes loaderOut { to { transform: translateY(-100%); visibility: hidden; } }
.loader img { width: 110px; animation: pop .5s var(--ease) both; }
.loader-bar { width: 160px; height: 2px; background: var(--line); margin: 22px auto 0; overflow: hidden; border-radius: 2px; }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--accent); animation: fill .45s ease-out forwards; }
@keyframes fill { to { width: 100%; } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Curseur */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 1002; border-radius: 50%; mix-blend-mode: difference; }
.cursor { width: 40px; height: 40px; border: 1px solid #fff; transition: width .35s var(--ease), height .35s var(--ease), background .35s; }
.cursor.hover { width: 84px; height: 84px; background: #fff; }
.cursor-dot { width: 6px; height: 6px; background: #fff; }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* Navigation */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1240px, 100% - 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 14px; border-radius: 999px;
  background: rgba(10, 12, 18, .5); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); transition: transform .5s var(--ease);
}
.nav.hide { transform: translate(-50%, -140%); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.1; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand small { display: block; font-family: var(--sans); font-size: 10px; letter-spacing: .28em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .3s, background .3s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); background: rgba(246, 236, 220, .07); }
.nav-links a i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; border: 0;
  padding: 14px 24px; border-radius: 999px; font: 600 14px var(--sans); letter-spacing: .02em;
  background: var(--accent); color: var(--ink); position: relative; overflow: hidden; isolation: isolate;
}
.btn::before { content: ""; position: absolute; inset: 0; background: var(--cream); transform: translateY(101%); border-radius: inherit; transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 16px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn-ghost::before { background: var(--accent); }
.btn-ghost:hover { color: var(--ink); }
.light .btn { background: var(--ink); color: var(--cream); }
.light .btn::before { background: var(--accent-ink); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); border: 0; cursor: pointer; position: relative; flex-shrink: 0; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px 28px 40px;
  clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 46px); visibility: visible; }
.mobile-menu a { font-family: var(--display); font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.3; display: block; }
.mobile-menu a em { color: var(--accent); font-size: .38em; vertical-align: super; margin-right: 10px; font-family: var(--sans); font-style: normal; }
.mobile-menu p { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* Hero */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 150px 0 80px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; will-change: transform; }
.blob.b1 { width: 52vw; height: 52vw; background: radial-gradient(circle, var(--accent), transparent 65%); top: -14vw; right: -12vw; animation: float 16s ease-in-out infinite; }
.blob.b2 { width: 42vw; height: 42vw; background: radial-gradient(circle, var(--accent-2), transparent 65%); bottom: -16vw; left: 6vw; opacity: .45; animation: float 20s ease-in-out infinite reverse; }
@keyframes float { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(4vw,-3vw) scale(1.08)} 66%{transform:translate(-3vw,2vw) scale(.95)} }
.hero-pattern { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23f6ecdc' stroke-width='1.2'%3E%3Ccircle cx='60' cy='60' r='26'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Cpath d='M0 60h20M100 60h20M60 0v20M60 100v20'/%3E%3Cpath d='M0 0l30 30M120 0L90 30M0 120l30-30M120 120L90 90'/%3E%3C/g%3E%3C/svg%3E"); mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 8rem); line-height: .95; letter-spacing: -.035em; margin: 22px 0 30px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) .5s forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .6s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .7s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-logo { position: relative; aspect-ratio: 1; max-width: 480px; margin-left: auto; width: 100%; display: grid; place-items: center; }
.hero-logo .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--line); animation: spin 60s linear infinite; }
.hero-logo .ring:nth-child(2) { inset: 12%; border-style: solid; animation-duration: 40s; animation-direction: reverse; }
.hero-logo img { width: 72%; filter: drop-shadow(0 30px 60px rgba(0,0,0,.5)); animation: bob 6s ease-in-out infinite; }
.hero-logo .disc { width: 72%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 40px 90px rgba(0,0,0,.5); animation: bob 6s ease-in-out infinite; }
.hero-logo .disc img { width: 78%; animation: none; filter: none; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-2deg); } }

/* Orbite des trois logos (accueil) */
.orbit { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; margin-left: auto; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px dashed var(--line); }
.orbit::before { inset: 8%; animation: spin 80s linear infinite; }
.orbit::after { inset: 26%; border-style: solid; }
.orbit-center { position: absolute; inset: 30%; display: grid; place-items: center; z-index: 2; }
.orbit-center img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,.55)); animation: bob 6s ease-in-out infinite; }
.orbit-track { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit-item { position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.45); transition: transform .4s var(--ease); }
.orbit-item img { width: 76%; animation: spin 40s linear infinite reverse; }
.orbit-item:hover { transform: scale(1.12); }
.orbit-item:nth-child(1) { top: 37%; left: -5%; }
.orbit-item:nth-child(2) { top: 37%; right: -5%; }
.orbit:hover .orbit-track, .orbit:hover .orbit-item img { animation-play-state: paused; }

/* Marquee */
.marquee { border-block: 1px solid var(--line); padding: 24px 0; overflow: hidden; background: var(--bg-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--display); font-size: clamp(1.7rem, 3.6vw, 3rem); font-style: italic; padding-inline: 26px; white-space: nowrap; display: flex; align-items: center; gap: 52px; }
.marquee span::after { content: "✦"; font-style: normal; color: var(--accent); font-size: .6em; }
.marquee span:nth-child(even) { -webkit-text-stroke: 1px var(--cream); color: transparent; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stats.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat { background: var(--bg); padding: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 300; line-height: 1; white-space: nowrap; }
.stat strong sup, .stat strong .pre { color: var(--accent); font-size: .5em; }
.stat strong .pre { vertical-align: .35em; margin-right: 4px; }
.stat > span { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.light .stats { background: var(--line-ink); border-color: var(--line-ink); }
.light .stat { background: var(--cream); }
.light .stat strong .pre, .light .stat strong sup { color: var(--accent-ink); }
.light .stat > span { color: var(--muted-ink); }

/* Trio d'entités (accordéon) */
.trio { display: flex; gap: 16px; height: clamp(560px, 70vh, 680px); }
.entity {
  flex: 1; position: relative; border-radius: 34px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; padding: clamp(26px, 3vw, 40px);
  transition: flex .8s var(--ease), transform .6s var(--ease); color: #fff; min-width: 0;
}
.trio:hover .entity { flex: .85; }
.trio .entity:hover, .trio .entity:focus-visible { flex: 1.6; }
.entity::before { content: ""; position: absolute; inset: 0; z-index: -2; }
.entity::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.22), transparent 45%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
.e-events::before { background: linear-gradient(160deg, #3a78f2, #1a3c94 70%, #0f2766); }
.e-ti::before { background: linear-gradient(160deg, #ef7a4f, #c34522 60%, #7d260f); }
.e-gc::before { background: linear-gradient(160deg, #2a2a2a, #111 55%, #3a0b0c); }
.e-gc::after { background: radial-gradient(circle at 85% 15%, rgba(217,43,43,.45), transparent 50%), linear-gradient(180deg, transparent 40%, rgba(0,0,0,.4)); }
.entity-logo { width: 96px; height: 96px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 16px 40px rgba(0,0,0,.3); transition: transform .6s var(--ease); flex-shrink: 0; }
.entity-logo img { width: 80%; }
.entity:hover .entity-logo { transform: rotate(-8deg) scale(1.06); }
.entity-num { position: absolute; top: clamp(26px, 3vw, 40px); right: clamp(26px, 3vw, 40px); font-family: var(--display); font-style: italic; font-size: 1.1rem; opacity: .8; }
.entity-tag { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; opacity: .85; font-weight: 600; }
.entity h3 { font-size: clamp(2rem, 3.4vw, 3.4rem); margin: 12px 0 14px; }
.entity p { font-size: 15px; color: rgba(255,255,255,.85); max-width: 420px; }
.entity-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); transition: background .4s, color .4s; }
.entity-cta svg { width: 16px; transition: transform .4s var(--ease); }
.entity:hover .entity-cta { background: #fff; color: #111; }
.entity:hover .entity-cta svg { transform: translate(3px, -3px); }
.entity-watermark { position: absolute; right: -14%; bottom: 8%; width: 70%; opacity: .1; z-index: -1; filter: grayscale(1) brightness(3); transition: transform 1s var(--ease), opacity .6s; pointer-events: none; }
.entity:hover .entity-watermark { transform: scale(1.1) rotate(-6deg); opacity: .16; }

/* Activités (texte qui s'éclaire) */
.big-lead { font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.2; letter-spacing: -.01em; }
.big-lead .w { opacity: .18; transition: opacity .4s; }
.big-lead .w.on { opacity: 1; }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.pillars { display: grid; gap: 14px; margin-top: 40px; }
.pillar { display: grid; grid-template-columns: 54px 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.pillar:hover { border-color: var(--accent); transform: translateX(6px); }
.pillar .dot { width: 54px; height: 54px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.pillar .dot img { width: 80%; }
.pillar b { display: block; font-weight: 600; }
.pillar small { color: var(--muted); font-size: 14px; }
.pillar svg { width: 18px; color: var(--accent); }

/* Cartes génériques */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  border-radius: 26px; padding: 32px 28px; background: var(--bg-2); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; transition: transform .6s var(--ease), border-color .4s, background .4s; transform-style: preserve-3d;
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: var(--bg-3); }
.card .ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); flex-shrink: 0; }
.card .ico svg { width: 26px; }
.card h3, .card h4 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; line-height: 1.15; }
.card p { color: var(--muted); font-size: 15px; }
.card small { color: var(--accent); font-size: 12px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }
.light .card { background: #fff; border-color: var(--line-ink); }
.light .card:hover { background: #fff; border-color: var(--accent-ink); box-shadow: 0 30px 60px rgba(13,15,20,.08); }
.light .card p { color: var(--muted-ink); }
.light .card .ico { background: color-mix(in srgb, var(--accent-ink) 12%, transparent); color: var(--accent-ink); }
.light .card small { color: var(--accent-ink); }

/* Liste de services (lignes) */
.svc-list { border-top: 1px solid var(--line-ink); }
.svc {
  display: grid; grid-template-columns: 80px 1fr 1.1fr 60px; align-items: center; gap: 24px;
  padding: 32px 10px; border-bottom: 1px solid var(--line-ink); position: relative; isolation: isolate;
  transition: color .5s var(--ease), padding .5s var(--ease);
}
.svc::before { content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); border-radius: 18px; }
.svc:hover { color: var(--cream); padding-inline: 30px; }
.svc:hover::before { transform: scaleY(1); }
.svc-num { font-family: var(--display); font-style: italic; color: var(--accent-ink); font-size: 1.1rem; }
.svc:hover .svc-num { color: var(--accent); }
.svc h3 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.svc p { color: var(--muted-ink); font-size: 15px; transition: color .5s; }
.svc:hover p { color: #c9c2b6; }
.svc-arrow { width: 54px; height: 54px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; transition: transform .5s var(--ease), background .4s, border-color .4s; }
.svc-arrow svg { width: 18px; }
.svc:hover .svc-arrow { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Festivals */
.ev-stack { display: grid; gap: 28px; }
.ev { position: sticky; top: 100px; border-radius: 36px; overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; isolation: isolate; border: 1px solid var(--line); }
.ev + .ev { top: 124px; }
.ev-garba { background: linear-gradient(135deg, #2b1608, #4a1f0c 55%, #7a2e14); }
.ev-festigac { background: linear-gradient(135deg, #0f1a3a, #1a2f6b 55%, #2f4fae); }
.ev-body { padding: clamp(30px, 5vw, 60px); display: flex; flex-direction: column; gap: 30px; }
.ev-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ev-tags span { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; letter-spacing: .08em; color: var(--accent-soft); background: rgba(0,0,0,.18); }
.ev h3 { font-size: clamp(2.6rem, 6vw, 5.4rem); margin: 20px 0 16px; }
.ev p { color: #ddd0bd; }
.ev p + p { margin-top: 12px; }
.ev-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 24px; }
.ev-facts b { display: block; font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.1; }
.ev-facts small { color: #c8b9a3; font-size: 13px; }
.ev-art { position: relative; overflow: hidden; min-height: 320px; }
.ev-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fb-link { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 12px 18px; border-radius: 999px; background: #1877f2; color: #fff; font-weight: 600; font-size: 14px; transition: transform .4s var(--ease), box-shadow .4s; }
.fb-link:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24,119,242,.4); }
.fb-link svg { width: 18px; }
.spin-slow { animation: spin 40s linear infinite; }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

/* Frise */
.tl-track { display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); margin-top: 60px; position: relative; }
.tl-track::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.tl-progress { position: absolute; top: 9px; left: 0; height: 1px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width 2.2s var(--ease); }
.tl-track.in .tl-progress, html:not(.js) .tl-progress { width: 100%; }
.tl-item { padding-right: 26px; position: relative; }
.tl-item::before { content: ""; display: block; width: 19px; height: 19px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--accent); margin-bottom: 30px; position: relative; z-index: 1; box-shadow: 0 0 0 6px var(--bg-2); }
.tl-item.hl::before { background: var(--accent); box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px var(--accent); }
.tl-year { font-family: var(--display); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 300; color: var(--accent); line-height: 1; }
.tl-item h4 { font-size: 1.1rem; font-weight: 600; margin: 14px 0 8px; }
.tl-item p { color: var(--muted); font-size: 15px; }
.bg-2 { background: var(--bg-2); }

/* Galerie réalisations */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; grid-auto-flow: dense; }
.shot { position: relative; border-radius: 22px; overflow: hidden; background: var(--bg-3); isolation: isolate; }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot .art { position: absolute; inset: 0; z-index: -1; }
.shot figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(7,16,29,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 14px; font-weight: 600; display: flex; justify-content: space-between; gap: 10px; transform: translateY(8px); opacity: .92; transition: transform .5s var(--ease), opacity .5s; }
.shot figcaption span { color: var(--accent-soft); font-weight: 500; }
.shot:hover figcaption { transform: none; opacity: 1; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.member { border-radius: 26px; padding: 26px; background: #fff; border: 1px solid var(--line-ink); transition: transform .6s var(--ease), box-shadow .5s; position: relative; overflow: hidden; }
.member:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(13,15,20,.1); }
.avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-size: 1.9rem; color: #fff; margin-bottom: 22px; background: linear-gradient(135deg, var(--c-events), #1a3c94); overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member:nth-child(3n+2) .avatar { background: linear-gradient(135deg, var(--c-events-2), #c4451f); }
.member:nth-child(3n) .avatar { background: linear-gradient(135deg, #2a2a2a, var(--c-gc)); }
.member h4 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.member p { color: var(--muted-ink); font-size: 14px; margin-top: 8px; }
.member.feature { grid-column: span 2; background: var(--ink); color: var(--cream); display: flex; gap: 26px; align-items: center; }
.member.feature .avatar { width: 120px; height: 120px; font-size: 2.6rem; margin: 0; flex-shrink: 0; }
.member.feature p { color: var(--muted); }
.member.feature small { color: var(--accent); font-size: 11px; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; }

/* Partenaires */
.partner-card { border-radius: 36px; padding: clamp(36px, 6vw, 80px); position: relative; overflow: hidden; background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 50%), radial-gradient(circle at 10% 90%, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 50%), var(--bg-2); border: 1px solid var(--line); }
.partner-card h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 40px; }
.logo-tile { aspect-ratio: 3/2; border-radius: 18px; background: #fff; display: grid; place-items: center; padding: 18px; color: var(--ink); font-weight: 700; text-align: center; font-size: 14px; transition: transform .5s var(--ease); }
.logo-tile:hover { transform: translateY(-5px) rotate(-1deg); }
.logo-tile img { max-height: 100%; object-fit: contain; }
.logo-tile.ghost { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-weight: 500; }

/* Bloc citation / mission */
.quote { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 3.4rem); line-height: 1.15; letter-spacing: -.015em; max-width: 1000px; }
.quote em { font-style: italic; color: var(--accent); }
.light .quote em { color: var(--accent-ink); }
.checklist { list-style: none; display: grid; gap: 14px; margin-top: 26px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checklist li::before { content: "✓"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-size: 14px; font-weight: 700; }
.light .checklist li::before { background: var(--accent-ink); color: #fff; }

/* CTA */
.cta { padding: clamp(90px, 14vw, 170px) 0; text-align: center; overflow: hidden; }
.cta h2 { font-size: clamp(2.8rem, 10vw, 9.5rem); line-height: .92; letter-spacing: -.04em; }
.cta h2 .outline { -webkit-text-stroke: 1.5px var(--cream); color: transparent; font-style: italic; }
.cta p { color: var(--muted); max-width: 560px; margin: 30px auto 40px; }
.magnet { display: inline-block; }
.cta .btn { padding: 22px 36px; font-size: 16px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.contact-info { margin-top: 36px; display: grid; gap: 20px; }
.contact-info div { padding-bottom: 20px; border-bottom: 1px solid var(--line-ink); }
.contact-info small { display: block; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: #8a7861; margin-bottom: 4px; }
.contact-info a, .contact-info span { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.contact-info a:hover { color: var(--accent-ink); }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; align-content: start; }
.field { position: relative; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1.5px solid rgba(13, 15, 20, .25);
  padding: 26px 0 12px; font: 500 17px var(--sans); color: var(--ink); outline: none; border-radius: 0; transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field label { position: absolute; left: 0; top: 26px; color: #8a7861; pointer-events: none; transition: transform .35s var(--ease), color .3s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--accent-ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-24px) scale(.78); color: var(--accent-ink); }
fieldset { border: 0; }
.chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { width: 100%; font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: #8a7861; margin-bottom: 12px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(13, 15, 20, .2); font-size: 14px; transition: all .3s var(--ease); }
.chips input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot small { color: #8a7861; font-size: 13px; }
.form-msg { grid-column: 1 / -1; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: var(--accent-soft); display: none; }
.form-msg.show { display: block; }

/* Pied de page */
footer { background: var(--bg); padding: 80px 0 30px; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 60px; border-bottom: 1px solid var(--line); }
.foot-top h5 { font-size: 12px; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 600; }
.foot-top ul { list-style: none; display: grid; gap: 10px; }
.foot-top li a { color: var(--muted); transition: color .3s; }
.foot-top li a:hover { color: var(--cream); }
.foot-top p { color: var(--muted); max-width: 330px; margin-top: 18px; font-size: 15px; }
.socials { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.socials a { height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 8px; font-size: 13px; transition: background .3s, color .3s, border-color .3s; }
.socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.socials svg { width: 16px; }
.giant { font-family: var(--display); font-size: clamp(3.6rem, 17vw, 17rem); line-height: .85; letter-spacing: -.05em; text-align: center; margin: 40px 0 10px; background: linear-gradient(180deg, var(--cream), rgba(246, 236, 220, .04)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; white-space: nowrap; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }

/* Apparition au défilement (uniquement si JavaScript actif) */
.js .reveal { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Responsive */
@media (max-width: 1100px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .orbit, .hero-logo { max-width: 380px; margin: 10px auto 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .trio { flex-direction: column; height: auto; }
  .trio .entity, .trio:hover .entity, .trio .entity:hover { flex: none; min-height: 380px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ev { grid-template-columns: 1fr; }
  .ev-art { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .tl-track { grid-template-columns: 1fr; gap: 36px; padding-left: 36px; }
  .tl-track::before, .tl-progress { top: 0; left: 9px; width: 1px !important; height: 0; bottom: 0; }
  .tl-track::before { height: auto; }
  .tl-track.in .tl-progress, html:not(.js) .tl-progress { height: 100%; transition: height 2.2s var(--ease); }
  .tl-item::before { position: absolute; left: -36px; top: 6px; margin: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 32px); }
  .brand { font-size: 1.1rem; }
  .brand img { width: 38px; height: 38px; }
  .light { border-radius: 30px 30px 0 0; }
  .stat strong { font-size: 2.3rem; }
  .stats.cols-3 { grid-template-columns: 1fr; }
  .cards, .cards.cols-2, .cards.cols-4 { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr auto; gap: 8px 16px; padding: 26px 4px; }
  .svc-num { grid-column: 1 / -1; }
  .svc p { grid-column: 1 / -1; grid-row: 3; }
  .svc-arrow { grid-row: 2; grid-column: 2; width: 46px; height: 46px; }
  .svc:hover { padding-inline: 16px; }
  .ev { position: relative; top: 0 !important; }
  .ev-facts { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; }
  .shot.wide { grid-column: span 2; }
  .team { grid-template-columns: 1fr; }
  .member.feature { grid-column: auto; flex-direction: column; align-items: flex-start; }
  form { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .pillar { grid-template-columns: 48px 1fr; }
  .pillar .dot { width: 48px; height: 48px; }
  .pillar > svg { display: none; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Photos réelles */
.entity-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; transition: transform 1.2s var(--ease); }
.entity.has-photo::before { opacity: .78; transition: opacity .6s; }
.entity.has-photo:hover::before { opacity: .55; }
.entity.has-photo:hover .entity-photo { transform: scale(1.06); }
.ev-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ev:hover .ev-photo { transform: scale(1.04); }
.ev-badge { position: absolute; top: 22px; right: 22px; width: 110px; height: 110px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.35); animation: bob 6s ease-in-out infinite; }
.ev-badge img { width: 70%; }
.shot img { cursor: zoom-in; }
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); pointer-events: none; }
.shot figcaption { z-index: 1; }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; z-index: 1001; background: rgba(5, 6, 10, .94); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox figure { text-align: center; animation: pop .4s var(--ease); }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 18px; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 16px; color: var(--cream); font-weight: 600; }
.lightbox figcaption span { color: var(--muted); font-weight: 400; margin-left: 10px; }
.lightbox button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; transition: background .3s; justify-self: center; }
.lightbox button:hover { background: var(--accent); color: var(--ink); }
.lightbox .lb-close { position: absolute; top: 20px; right: 20px; font-size: 18px; }
@media (max-width: 720px) {
  .lightbox { grid-template-columns: 1fr 1fr; padding: 70px 12px 20px; }
  .lightbox figure { grid-column: 1 / -1; grid-row: 1; }
  .lightbox .lb-prev, .lightbox .lb-next { grid-row: 2; margin-top: 16px; }
  .ev-badge { width: 84px; height: 84px; top: 14px; right: 14px; }
}

/* Équipe avec photos */
.member { padding: 12px; display: flex; flex-direction: column; }
.m-photo { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #e9dfcf; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.92); }
.member:hover .m-photo img { transform: scale(1.06); filter: saturate(1.08); }
.m-body { padding: 18px 10px 10px; }
.member h4 { margin: 0; }
.member.feature { padding: 12px; flex-direction: row; align-items: stretch; gap: 0; }
.member.feature .m-photo { width: 48%; aspect-ratio: auto; flex-shrink: 0; }
.member.feature .m-body { padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.member.feature h4 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }

/* Logos partenaires */
.logo-tile.photo { padding: 0; overflow: hidden; aspect-ratio: 16/9; }
.logo-tile.photo img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.partner-marquee { overflow: hidden; padding: 10px 0 30px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.pm-track { display: flex; gap: 18px; width: max-content; animation: marquee 40s linear infinite; }
.partner-marquee:hover .pm-track { animation-play-state: paused; }
.pm { width: 220px; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden; background: #fff; flex-shrink: 0; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.pm img { width: 100%; height: 100%; object-fit: cover; }

/* Logos satellites (hero festivals) */
.hero-sat { position: absolute; width: 30%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.45); transition: transform .5s var(--ease); z-index: 2; }
.hero-sat img { width: 74%; animation: none; filter: none; }
.hero-sat:hover { transform: scale(1.1) rotate(-4deg); }
.hero-sat.s1 { left: -2%; bottom: 4%; animation: bob 7s ease-in-out infinite; }
.hero-sat.s2 { right: -2%; top: 2%; animation: bob 8s ease-in-out infinite reverse; }

/* 6e édition */
.ev-tags span.live { background: var(--accent); color: var(--ink); border-color: var(--accent); font-weight: 700; }
.ev-tags span.live::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-right: 8px; vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }
.tl-item.next::before { animation: glow 1.8s ease-in-out infinite; }
.tl-item.next .tl-year { color: var(--cream); }
@keyframes glow { 50% { box-shadow: 0 0 0 6px var(--bg-2), 0 0 36px 6px var(--accent); } }

@media (max-width: 1100px) { .member.feature { grid-column: span 2; } }
@media (max-width: 720px) {
  .team { grid-template-columns: 1fr 1fr; gap: 12px; }
  .member { padding: 8px; }
  .member h4 { font-size: 1.15rem; }
  .member p { font-size: 13px; }
  .member.feature { grid-column: span 2; flex-direction: column; }
  .member.feature .m-photo { width: 100%; aspect-ratio: 4/3; }
  .member.feature .m-body { padding: 18px 10px 10px; }
  .pm { width: 160px; }
}
.video-banner { margin-top: 50px; border-radius: 30px; overflow: hidden; aspect-ratio: 1180 / 494; background: #3a1a0b; border: 1px solid var(--line); box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.video-banner video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-art > div { position: absolute; inset: 0; }

/* Thèmes des festivals */
.theme-garba { --bg: #120a04; --bg-2: #1c1007; --bg-3: #29170a; --accent: #f7b718; --accent-2: #e2332a; --accent-soft: #ffd978; --accent-ink: #c92a20; --muted: #c2ad8f; }
.theme-festigac { --bg: #06120b; --bg-2: #0c1d13; --bg-3: #13291b; --accent: #36b057; --accent-2: #e2332a; --accent-soft: #9fe0b0; --accent-ink: #1f7a39; --muted: #a3b8aa; }

/* Fil d'Ariane */
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 26px; flex-wrap: wrap; }
.crumb { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); transition: background .3s, color .3s; }
.crumb:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.crumb-cur { color: var(--cream); font-weight: 600; }

/* Portail des festivals */
.fest-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fest { position: relative; min-height: 640px; border-radius: 36px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.fest-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.fest::after { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .6s; }
.fest-garba::after { background: linear-gradient(180deg, rgba(18,10,4,.1) 0%, rgba(18,10,4,.55) 45%, rgba(18,10,4,.96) 78%); }
.fest-festigac::after { background: linear-gradient(180deg, rgba(6,18,11,.15) 0%, rgba(6,18,11,.55) 45%, rgba(6,18,11,.96) 78%); }
.fest:hover .fest-media { transform: scale(1.07); }
.fest-logo { position: absolute; top: 26px; right: 26px; width: 104px; height: 104px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px rgba(0,0,0,.4); transition: transform .6s var(--ease); }
.fest-logo img { width: 74%; }
.fest:hover .fest-logo { transform: rotate(-10deg) scale(1.08); }
.fest h3 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 18px 0 14px; }
.fest-garba h3 em { color: #f7b718; }
.fest-festigac h3 em { color: #36b057; }
.fest p { color: #e4d9c8; max-width: 460px; }
.fest:hover .entity-cta { background: #fff; color: #111; }
.fest:hover .entity-cta svg { transform: translate(3px, -3px); }

/* Éditions (page Garba) */
.editions { border-top: 1px solid var(--line); }
.edition { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background .5s; }
.ed-num { font-family: var(--display); font-size: clamp(3.4rem, 7vw, 6rem); line-height: .9; color: var(--accent); font-weight: 300; }
.ed-num small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.ed-body h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.ed-body p { color: var(--muted); max-width: 760px; font-size: 1.05rem; }
.edition.next { background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%); border-radius: 24px; padding-inline: 28px; border-bottom: 0; margin-top: 10px; }
.edition.next .ed-num { color: var(--cream); }
.edition.next .ed-body h3::after { content: "Bientôt"; display: inline-block; margin-left: 14px; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--ink); font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; animation: blink 1.6s ease-in-out infinite; }

/* Visuels */
.garba-art { position: relative; aspect-ratio: 5/4; border-radius: 30px; overflow: hidden; background: linear-gradient(135deg, #2b1608, #4a1f0c 55%, #7a2e14); }
.garba-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.festigac-photo { position: relative; border-radius: 30px; overflow: hidden; aspect-ratio: 4/5; position: sticky; top: 110px; }
.festigac-photo > img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) {
  .fest-duo { grid-template-columns: 1fr; }
  .fest { min-height: 520px; }
  .festigac-photo { position: relative; top: 0; aspect-ratio: 4/3; }
}
@media (max-width: 720px) {
  .edition { grid-template-columns: 1fr; gap: 10px; padding: 30px 0; }
  .edition.next { padding-inline: 18px; }
  .fest-logo { width: 80px; height: 80px; top: 18px; right: 18px; }
}
.garba-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Fondateur */
.founder-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.founder-photo { position: relative; border-radius: 34px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 40px 80px rgba(0,0,0,.45); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.founder-photo:hover img { transform: scale(1.04); }
.founder-tag { position: absolute; left: 18px; bottom: 18px; padding: 10px 16px; border-radius: 999px; background: rgba(10,12,18,.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--accent-soft); }
.hero-founder { max-width: 480px; margin-left: auto; width: 100%; animation: pop .8s var(--ease) .4s both; }
.founder-quote { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.2; margin: 24px 0 26px; color: var(--cream); }
.founder-quote::first-letter { color: var(--accent); }
.founder-quote cite { display: block; margin-top: 18px; font-family: var(--sans); font-style: normal; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.founder-quote.big { font-size: clamp(2rem, 5vw, 4rem); text-align: center; max-width: 1100px; margin: 0 auto; }
.founder-motto { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.3; margin-top: 22px; }
.founder-motto em { color: var(--accent); }
.bio-year { font-size: clamp(1.7rem, 2.8vw, 2.5rem); white-space: nowrap; }
@media (max-width: 1024px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { max-width: 520px; } .hero-founder { margin: 10px auto 0; } }

/* Festival du Garba : Release Party et galeries */
.edition.party { background: linear-gradient(90deg, rgba(226,51,42,.18), transparent 75%); border-radius: 24px; padding-inline: 28px; border-bottom: 0; margin: 10px 0; }
.edition.party .ed-num img { width: 92px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.edition.party .ed-body h3 { color: var(--accent); }
.ed-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 14px; color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.ed-link svg { width: 14px; }
.photo-tabs { position: sticky; top: 92px; z-index: 50; padding: 12px 0; pointer-events: none; }
.photo-tabs .container { display: flex; justify-content: center; gap: 10px; }
.ptab { pointer-events: auto; display: flex; flex-direction: column; align-items: center; padding: 12px 22px; border-radius: 999px; background: rgba(18,10,4,.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); transition: background .3s, color .3s; line-height: 1.2; }
.ptab b { font-size: 14px; }
.ptab small { font-size: 11px; color: var(--muted); }
.ptab:hover { background: var(--accent); color: var(--ink); }
.ptab:hover small { color: var(--ink); }
.gallery.square { grid-template-columns: repeat(5, 1fr); grid-auto-rows: auto; }
.gallery.square .shot { aspect-ratio: 1; }
.gallery.square .shot figcaption { font-size: 12px; padding: 8px 12px; left: 8px; right: 8px; bottom: 8px; }
.gallery.square .shot figcaption span { display: none; }
@media (max-width: 1024px) { .gallery.square { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) {
  .gallery.square { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .edition.party { padding-inline: 18px; }
  .photo-tabs { top: 84px; }
  .ptab { padding: 10px 14px; }
  .ptab b { font-size: 12px; }
}

/* Navigation : bascule en menu burger plus tôt pour éviter tout chevauchement */
@media (max-width: 1240px) {
  .nav-links, .nav > .btn { display: none; }
  .burger { display: block; }
}
.mobile-menu { overflow-y: auto; justify-content: flex-start; padding-top: 110px; }
@media (min-height: 760px) { .mobile-menu { justify-content: center; } }

/* Petits téléphones */
.stat { min-width: 0; }
@media (max-width: 720px) {
  .shot figcaption { font-size: 13px; padding: 9px 12px; left: 10px; right: 10px; bottom: 10px; }
  .shot figcaption span { display: none; }
}
@media (max-width: 420px) {
  .stat { padding: 22px 14px; }
  .stat strong { font-size: 1.9rem; }
  .stat > span { font-size: 11px; letter-spacing: .08em; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); }
}

/* Retouches responsive */
.photo-tabs { position: static; padding: 30px 0 0; background: var(--bg-2); }
.photo-tabs .container { flex-wrap: wrap; }
.orbit-item:nth-child(1) { left: 0; }
.orbit-item:nth-child(2) { right: 0; }
.mobile-menu a { font-size: clamp(1.7rem, 7.5vw, 2.8rem); }

/* Téléphones et tablettes : la barre de navigation reste toujours visible */
@media (max-width: 1240px) { .nav.hide { transform: translateX(-50%); } }

/* WhatsApp */
.btn-wa, .light .btn.btn-wa { background: #25d366; color: #06301a; }
.btn-wa svg { width: 20px; }
.btn-wa:hover svg { transform: none; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 95; display: flex; align-items: center; gap: 10px; padding: 14px 18px 14px 14px; border-radius: 999px; background: #25d366; color: #06301a; font-weight: 700; font-size: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.35); transition: transform .4s var(--ease); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-4px) scale(1.03); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: wa-ping 2.4s ease-out infinite; }
@keyframes wa-ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.35); opacity: 0; } }
.menu-open .wa-float { display: none; }
@media (max-width: 720px) { .wa-float span { display: none; } .wa-float { padding: 14px; right: 14px; bottom: 14px; } }

/* Happy Run Color Guinée */
.theme-happy { --bg: #120a24; --bg-2: #1b1033; --bg-3: #261646; --accent: #ffcb1f; --accent-2: #e8306f; --accent-soft: #ffe58a; --accent-ink: #6b2bd9; --muted: #b6a9d4; }
.fest-happy { grid-column: 1 / -1; min-height: 520px; }
.fest-happy::after { background: linear-gradient(90deg, rgba(18,10,36,.95) 0%, rgba(18,10,36,.7) 45%, rgba(18,10,36,.1) 100%); }
.fest-happy .fest-body { max-width: 620px; }
.fest-happy h3 em { color: #ffcb1f; }
.fest-happy .fest-logo { width: 130px; height: 130px; background: transparent; box-shadow: none; }
.fest-happy .fest-logo img { width: 100%; border-radius: 22px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.founder-photo.portrait { aspect-ratio: 4/5; }
.kids { background: radial-gradient(circle at 15% 30%, rgba(232,48,111,.35), transparent 45%), radial-gradient(circle at 85% 70%, rgba(255,203,31,.25), transparent 45%), var(--bg); }
.kids-logo { border-radius: 34px; overflow: hidden; box-shadow: 0 40px 80px rgba(0,0,0,.5); max-width: 480px; animation: bob 6s ease-in-out infinite; }
.kids-logo img { width: 100%; }
@media (max-width: 1024px) { .fest-happy::after { background: linear-gradient(180deg, rgba(18,10,36,.1) 0%, rgba(18,10,36,.6) 45%, rgba(18,10,36,.96) 78%); } .kids-logo { margin: 0 auto; } }

.stats.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .stats.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1024px) { .stats.cols-5 { grid-template-columns: repeat(2, 1fr); } .stats.cols-5 .stat:first-child { grid-column: 1 / -1; } }

/* Expansion internationale (Borimaïnce Events) */
.expansion { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--line);
  background: radial-gradient(circle at 10% 20%, rgba(30,181,58,.22), transparent 45%), radial-gradient(circle at 90% 85%, rgba(0,114,198,.25), transparent 45%), var(--bg-3); }
.exp-flag { font-size: clamp(5rem, 12vw, 9rem); line-height: 1; filter: drop-shadow(0 20px 30px rgba(0,0,0,.4)); animation: bob 6s ease-in-out infinite; }
.expansion h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
@media (max-width: 720px) { .expansion { grid-template-columns: 1fr; text-align: left; } }

/* Borimaïnce Events France */
.expansion + .expansion { margin-top: 24px; }
.exp-france { background: radial-gradient(circle at 10% 20%, rgba(0,85,164,.28), transparent 45%), radial-gradient(circle at 90% 85%, rgba(239,65,53,.22), transparent 45%), var(--bg-3); }
.exp-photo { position: relative; width: clamp(180px, 24vw, 300px); aspect-ratio: 3/4; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.exp-photo img { width: 100%; height: 100%; object-fit: cover; }
.exp-mini { position: absolute; right: 10px; bottom: 8px; font-size: 2.4rem; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
@media (max-width: 720px) { .exp-photo { width: 100%; max-width: 340px; } }
