/* ═══════════════════════════════════════════════════════════════
   QLN EVENT — Home (page d'accueil)
   Design system moderne : dark, glassmorphism, néon, animations
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette dark */
  --bg-0: #050b23;
  --bg-1: #0d1124;
  --bg-2: #11172f;

  /* Texte */
  --text: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.72);
  --text-mute: rgba(255, 255, 255, 0.48);
  --text-faint: rgba(255, 255, 255, 0.32);

  /* Brand */
  --gold: #e8a33d;
  --gold-deep: #d79436;
  --gold-text: #e09530;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-2: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-border-strong: rgba(255, 255, 255, 0.18);

  /* Shadows */
  --shadow-card: 0 12px 30px rgba(0, 0, 0, 0.35);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, 0.55);

  /* Curves */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-med: 0.32s;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg-0);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
::selection { background: var(--gold); color: #1a1408; }

/* ════════════ BACKGROUND FX ════════════ */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(232, 163, 61, 0.10), transparent 60%),
    radial-gradient(ellipse 70% 60% at 80% 20%, rgba(120, 150, 255, 0.10), transparent 60%);
  z-index: -2;
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
  opacity: 0.025;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ════════════ LAYOUT ════════════ */
.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(24px, 4vw, 64px);
}

/* ════════════ NAVBAR ════════════ */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: all var(--t-med) var(--ease-out);
}
header.scrolled {
  background: rgba(5, 11, 35, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  animation: navIn 0.4s var(--ease-out);
}
@keyframes navIn {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 9px; }
.logo img { transition: transform var(--t-fast) var(--ease-out); }
.logo:hover img { transform: scale(1.05); }
.logo-name { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; color: #fff; line-height: 1; }
nav.menu { display: flex; align-items: center; gap: 8px; padding: 6px; background: var(--glass-bg); border: 1px solid var(--glass-border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--r-pill); }
nav.menu a {
  font-size: 13.5px; font-weight: 600; color: var(--text-dim);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  transition: all var(--t-fast) var(--ease-out);
}
nav.menu a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
nav.menu a.active {
  color: #1a1408;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  box-shadow: 0 4px 14px rgba(232, 163, 61, 0.35);
}
.btn-nav-devis {
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1408;
  font-weight: 700; font-size: 13.5px;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease-out);
  box-shadow: 0 6px 20px rgba(232, 163, 61, 0.32);
}
.btn-nav-devis:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 163, 61, 0.45);
}
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.burger span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: all var(--t-fast) var(--ease-out); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ════════════ HERO ════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--bg-0);
}
.hero-photo {
  position: absolute; inset: 0;
  background:
    url('https://images.unsplash.com/photo-1470229722913-7c0e2dbbafd3?q=80&w=1800&auto=format&fit=crop') center 30% / cover no-repeat,
    linear-gradient(135deg, #1a1208 0%, #3d2408 45%, #14101e 100%);
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.12); }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      #050b23 0%,
      rgba(5, 11, 35, 0.96) 32%,
      rgba(5, 11, 35, 0.72) 50%,
      rgba(5, 11, 35, 0.25) 72%,
      rgba(5, 11, 35, 0.15) 100%),
    linear-gradient(180deg, rgba(5, 11, 35, 0.55) 0%, transparent 22%, transparent 80%, rgba(5, 11, 35, 0.4) 100%);
}
.hero-content {
  position: relative; z-index: 5; width: 100%;
  padding-top: 100px;
  padding-bottom: 60px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px 9px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.92);
  margin-bottom: 24px;
  animation: floatY 4s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.hero-eyebrow svg { color: var(--gold); flex-shrink: 0; }
.hero h1 {
  font-size: clamp(40px, 5.6vw, 76px);
  font-weight: 800; line-height: 1.05; letter-spacing: -1.5px;
  color: #fff; margin-bottom: 24px; max-width: 620px;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordIn 0.6s var(--ease-out) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero-desc {
  font-size: 16px; line-height: 1.65;
  color: var(--text-dim);
  max-width: 420px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.4s forwards;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.6s forwards;
}
@keyframes fadeIn {
  to { opacity: 1; }
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #1a1408;
  border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 700;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(232, 163, 61, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(232, 163, 61, 0.50);
}
.btn-gold svg { transition: transform var(--t-fast) var(--ease-out); }
.btn-gold:hover svg { transform: translateX(3px); }
.btn-glass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 700; color: #fff;
  transition: all var(--t-fast) var(--ease-out);
  white-space: nowrap;
}
.btn-glass:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-2px); }
.hero-note {
  font-size: 14px; font-style: italic; color: var(--text-mute);
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.8s forwards;
}
.hero-note::before { content: '✓ '; color: var(--gold); font-style: normal; font-weight: 700; }

/* Hero glow (halo / horizon) */
.hero-glow { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.hero-glow::before {
  content: '';
  position: absolute;
  top: -30px; left: 68%;
  width: 620px; height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 55% at 50% 40%, rgba(232, 163, 61, 0.32), transparent 72%);
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow::after {
  content: '';
  position: absolute;
  top: 0; left: -120px;
  width: 560px; height: 640px;
  background: radial-gradient(circle at 30% 35%, rgba(232, 163, 61, 0.32), transparent 60%),
              radial-gradient(circle at 70% 75%, rgba(120, 150, 255, 0.18), transparent 55%);
}
.hero-arc {
  position: absolute;
  top: 40px; left: 68%;
  width: 760px; height: 760px;
  margin-left: -380px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 163, 61, 0.85);
  box-shadow: 0 0 40px 8px rgba(232, 163, 61, 0.4), 0 0 100px 36px rgba(232, 163, 61, 0.15);
  animation: spin 80s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulseGlow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* ════════════ STATS ════════════ */
.stats {
  position: relative;
  background: #f2f2f2;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 38px 0;
}
.stat {
  display: flex; align-items: flex-start; gap: 16px;
  justify-content: center;
  padding: 6px 18px;
  border-right: 1px solid #d8d8d8;
  transition: transform var(--t-fast) var(--ease-out);
}
.stat:hover { transform: translateY(-2px); }
.stat:last-child { border-right: none; }
.stat svg { color: #2b3147; flex-shrink: 0; margin-top: 6px; transition: color var(--t-fast); }
.stat:hover svg { color: var(--gold-deep); }
.stat-num {
  font-size: 36px; font-weight: 800; color: #131b2e;
  line-height: 1.05; letter-spacing: -0.5px;
}
.stat-l1 { font-size: 13px; font-weight: 700; color: #2b3147; margin-top: 3px; }
.stat-l2 { font-size: 12.5px; color: #8a8f9c; margin-top: 1px; }

/* ════════════ EXPERTISE ════════════ */
.expertise {
  position: relative;
  background: var(--bg-0);
  padding: 96px 0 104px;
  overflow: hidden;
}
.expertise::before {
  content: '';
  position: absolute;
  top: 30%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text);
}
.expertise .label { text-align: center; display: block; margin-bottom: 16px; }
.expertise h2 {
  text-align: center;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 56px;
}
.exp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.exp-card {
  border-radius: var(--r-lg);
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(232, 163, 61, 0.15), transparent 70%),
    linear-gradient(180deg, #0d1122 0%, #4a3617 45%, #a8742c 78%, #d79436 100%);
  padding: 26px 22px 30px;
  border: 1px solid var(--glass-border);
  transition: all var(--t-med) var(--ease-out);
  position: relative;
  overflow: hidden;
}
.exp-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}
.exp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(215, 148, 54, 0.30), 0 0 0 1px rgba(232, 163, 61, 0.4);
}
.exp-card:hover::before { opacity: 1; }
.exp-head { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.exp-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform var(--t-fast) var(--ease-out);
}
.exp-card:hover .exp-icon { transform: rotate(-5deg) scale(1.05); }
.exp-icon svg { flex-shrink: 0; }
.exp-head h3 { font-size: 18px; font-weight: 800; color: #fff; }
.exp-card ul { display: flex; flex-direction: column; gap: 16px; padding-left: 6px; }
.exp-card li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 500; color: #fff;
  transition: transform var(--t-fast) var(--ease-out);
}
.exp-card li:hover { transform: translateX(4px); }
.exp-card li svg { flex-shrink: 0; }

/* ════════════ CATALOGUE PREVIEW ════════════ */
.catalogue {
  position: relative;
  background: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.cat-flex { display: flex; align-items: center; gap: 56px; }
.cat-text { flex: 1; min-width: 0; }
.cat-text .label { display: block; margin-bottom: 16px; }
.cat-text h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800; color: #131b2e;
  line-height: 1.12; letter-spacing: -0.8px;
  margin-bottom: 18px;
}
.cat-text p {
  font-size: 15px; line-height: 1.65;
  color: #5a5f6d;
  max-width: 440px;
  margin-bottom: 30px;
}
.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px;
  border: 1.5px solid #131b2e;
  border-radius: var(--r-pill);
  font-size: 13.5px; font-weight: 700; color: #131b2e;
  transition: all var(--t-fast) var(--ease-out);
  background: transparent;
}
.btn-outline-dark:hover {
  background: #131b2e; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(19, 27, 46, 0.25);
}

/* Panel produit + bandes */
.cat-panel {
  flex: 1.1; min-width: 0;
  display: flex;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-1);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-deep);
  transition: all var(--t-med) var(--ease-out);
}
.cat-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}
.prod {
  width: 42%; flex-shrink: 0;
  position: relative;
  padding: 16px 16px 18px;
  display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 90% 55% at 75% 62%, rgba(60, 70, 110, 0.35), transparent 70%),
    var(--bg-1);
}
.prod-badge {
  align-self: flex-start;
  background: var(--gold);
  color: #1a1408;
  font-size: 11px; font-weight: 700;
  padding: 5px 14px; border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.prod-title { font-size: 13px; font-weight: 800; color: #fff; letter-spacing: 0.02em; }
.prod-sub { font-size: 10.5px; font-style: italic; color: rgba(255, 255, 255, 0.55); margin: 3px 0 14px; }
.prod-feats { display: flex; flex-direction: column; gap: 8px; }
.prod-feat { display: flex; align-items: center; gap: 8px; font-size: 11px; color: rgba(255, 255, 255, 0.85); }
.prod-check {
  width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.prod-speakers {
  flex: 1;
  min-height: 96px;
  margin: 6px 0;
  background: url('https://images.unsplash.com/photo-1545454675-3531b543be5d?q=80&w=600&auto=format&fit=crop') center / contain no-repeat;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5));
}
.prod-price-block { margin-top: auto; }
.prod-from { font-size: 10.5px; color: rgba(255, 255, 255, 0.6); margin-bottom: 1px; }
.prod-price { display: flex; align-items: baseline; gap: 7px; }
.prod-price strong { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.prod-price span { font-size: 10.5px; color: rgba(255, 255, 255, 0.6); }

.cat-strips { flex: 1; display: flex; }
.strip {
  flex: 1;
  position: relative;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  border-left: 2px solid var(--bg-1);
  transition: flex var(--t-med) var(--ease-out);
  cursor: pointer;
}
.strip:hover { flex: 1.6; }
.strip::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 36, 0.15) 0%, transparent 35%, transparent 60%, rgba(13, 17, 36, 0.85) 100%);
}
.strip-label {
  position: absolute; bottom: 12px; left: 0; right: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: #fff; text-transform: uppercase;
}
.strip-label svg { opacity: .9; }
.strip-audio    { background-image: linear-gradient(135deg, #11131f, #1f2330), url('https://images.unsplash.com/photo-1558662431-2d7a21b00a47?q=80&w=500&auto=format&fit=crop'); }
.strip-video    { background-image: linear-gradient(135deg, #15171f, #23252f), url('https://images.unsplash.com/photo-1502920917128-1aa500764cbd?q=80&w=500&auto=format&fit=crop'); }
.strip-lumiere  { background-image: linear-gradient(135deg, #160f24, #2a1a45), url('https://images.unsplash.com/photo-1504509546545-e000b4a62425?q=80&w=500&auto=format&fit=crop'); }
.strip-mobilier { background-image: linear-gradient(135deg, #2a3318, #44551f), url('https://images.unsplash.com/photo-1519167758481-83f550bb49b3?q=80&w=500&auto=format&fit=crop'); }

/* ════════════ RÉFÉRENCES ════════════ */
.references {
  position: relative;
  background: var(--bg-0);
  padding: 96px 0 104px;
  overflow: hidden;
}
.references::before {
  content: '';
  position: absolute;
  bottom: 20%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232, 163, 61, 0.08), transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}
.ref-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.ref-head .label { display: block; margin-bottom: 14px; }
.ref-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800; color: #fff;
  letter-spacing: -0.8px;
  line-height: 1.12;
}
.btn-outline-gold {
  padding: 11px 22px;
  border: 1.5px solid var(--gold);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 700; color: #fff;
  white-space: nowrap;
  transition: all var(--t-fast) var(--ease-out);
}
.btn-outline-gold:hover {
  background: var(--gold); color: #1a1408;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 163, 61, 0.35);
}
.ref-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(232, 163, 61, 0.45);
  height: 300px;
  cursor: pointer;
  background:
    linear-gradient(160deg, #d98a1f, #8a5208),
    url('https://images.unsplash.com/photo-1492684223066-81342ee5ff30?q=80&w=800&auto=format&fit=crop') center / cover;
  background-blend-mode: color, normal;
  transition: all var(--t-med) var(--ease-out);
}
.ref-card:nth-child(2) { background-position: center 30%; }
.ref-card:nth-child(3) { background-position: center 70%; }
.ref-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(232, 163, 61, 0.30);
}
.ref-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(5, 11, 35, 0.55) 70%, rgba(5, 11, 35, 0.94) 100%);
}
.ref-body { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; padding: 20px; }
.ref-name { font-size: 15px; font-weight: 800; color: #fff; }
.ref-loc { font-size: 12.5px; color: rgba(255, 255, 255, 0.75); margin: 3px 0 14px; }
.ref-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 11px; font-weight: 700;
  padding: 6px 16px; border-radius: var(--r-pill);
  transition: transform var(--t-fast) var(--ease-out);
}
.tag:hover { transform: translateY(-2px); }
.tag-fill { background: var(--gold); color: #1a1408; }
.tag-line {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

/* ════════════ WHY ════════════ */
.why { background: #fff; padding: 90px 0 96px; }
.why-flex { display: flex; gap: 48px; align-items: flex-start; }
.why-left { width: 320px; flex-shrink: 0; }
.why-left .label { display: block; margin-bottom: 20px; }
.why-left h2 {
  font-size: clamp(32px, 3.6vw, 42px);
  font-weight: 800; line-height: 1.13;
  letter-spacing: -0.8px; color: #131b2e;
}
.why-left h2 em { font-style: normal; color: var(--gold-text); }
.why-cols { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 46px; }
.why-col {
  padding: 22px;
  border-radius: var(--r-md);
  border-left: 1px solid #e3e4e8;
  transition: all var(--t-fast) var(--ease-out);
}
.why-col:hover {
  background: linear-gradient(180deg, rgba(232, 163, 61, 0.04), transparent);
  border-left-color: var(--gold);
  transform: translateY(-2px);
}
.why-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  border-radius: var(--r-md);
  background: rgba(19, 27, 46, 0.04);
  border: 1px solid rgba(19, 27, 46, 0.1);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: all var(--t-fast) var(--ease-out);
}
.why-col:hover .why-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1408;
  transform: rotate(-5deg);
}
.why-col:hover .why-icon svg { color: #1a1408 !important; }
.why-icon svg { color: #131b2e; }
.why-col h4 { font-size: 15px; font-weight: 800; color: #131b2e; margin-bottom: 8px; }
.why-col p { font-size: 13.5px; line-height: 1.55; color: #5a5f6d; }

/* ════════════ BRAND GLOW ════════════ */
.brand-glow {
  position: relative;
  background: var(--bg-0);
  padding: 160px 0 100px;
  overflow: hidden;
  text-align: center;
}
.brand-glow::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  width: 900px; height: 460px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 60% at 50% 40%, rgba(232, 163, 61, 0.28), transparent 72%);
  pointer-events: none;
  animation: pulseGlow 4s ease-in-out infinite;
}
.brand-glow-arc {
  position: absolute;
  top: 60px; left: 50%;
  width: 1200px; height: 1200px;
  margin-left: -600px;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 163, 61, 0.9);
  box-shadow: 0 0 50px 10px rgba(232, 163, 61, 0.45), 0 0 140px 50px rgba(232, 163, 61, 0.18);
  pointer-events: none;
  animation: spin 120s linear infinite;
}
.brand-glow-badge {
  position: relative; z-index: 2;
  width: 90px; height: 90px;
  margin: 0 auto 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(232, 163, 61, 0.08);
  border: 1px solid rgba(232, 163, 61, 0.5);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 50px 10px rgba(232, 163, 61, 0.35);
  animation: floatY 5s ease-in-out infinite;
}
.brand-glow-badge img { width: 50px; height: 50px; object-fit: contain; }
.brand-glow-text { position: relative; z-index: 2; }
.brand-glow-text p {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700; color: #fff;
  line-height: 1.45; letter-spacing: -0.2px;
  max-width: 620px; margin: 0 auto;
}
.brand-glow-text p em { font-style: normal; color: var(--gold-text); }

/* ════════════ FOOTER ════════════ */
footer {
  position: relative;
  background: var(--bg-0);
  padding: 64px 0 44px;
  overflow: hidden;
  border-top: 1px solid var(--glass-border);
}
.footer-glow {
  position: absolute; right: -60px; top: 0; bottom: 0;
  width: 420px;
  background: radial-gradient(ellipse 70% 90% at 85% 50%, rgba(216, 148, 54, 0.25), rgba(170, 110, 30, 0.10) 45%, transparent 75%);
  pointer-events: none;
}
.footer-glow svg { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); opacity: 0.10; }
.footer-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.f-logo { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.f-logo-text { position: relative; }
.f-logo-event {
  font-size: 12px; font-weight: 600; color: var(--gold-text);
  display: block; text-align: right; margin-bottom: -4px;
}
.f-logo-name { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.5px; }
.f-desc { font-size: 13px; line-height: 1.6; color: rgba(255, 255, 255, 0.65); max-width: 280px; margin-bottom: 22px; }
.f-socials { display: flex; gap: 10px; }
.f-social {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--t-fast) var(--ease-out);
}
.f-social:hover { transform: translateY(-3px) scale(1.05); }
.f-ig { border-radius: 10px; background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.f-fb { border-radius: 50%; background: #1877f2; }
.f-sc { border-radius: 10px; background: #fffc00; }
.f-col { text-align: center; }
.f-col h5 {
  font-size: 14px; font-weight: 800; color: #fff;
  margin-bottom: 18px; letter-spacing: 0.02em;
}
.f-col ul { display: flex; flex-direction: column; gap: 10px; }
.f-col a, .f-col li { font-size: 13px; color: rgba(255, 255, 255, 0.78); transition: color var(--t-fast); }
.f-col a:hover { color: var(--gold-text); transform: translateX(2px); display: inline-block; }

/* ════════════ REVEAL ════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.in[data-reveal-scale] {
  transform: scale(1);
}

/* Stagger via delay inline */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-flex { flex-direction: column; align-items: stretch; }
  .why-cols { grid-template-columns: repeat(2, 1fr); gap: 28px 0; padding-top: 24px; }
  .why-flex { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-glow-arc { width: 900px; height: 900px; margin-left: -450px; }
}
@media (max-width: 760px) {
  nav.menu, .btn-nav-devis { display: none; }
  .burger { display: flex; }
  .mobile-menu {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(5, 11, 35, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 28px 28px;
    flex-direction: column; gap: 8px;
    border-bottom: 1px solid var(--glass-border);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, 0.9);
    padding: 14px 16px;
    border-radius: var(--r-md);
    transition: all var(--t-fast);
  }
  .mobile-menu a:hover, .mobile-menu a.active {
    color: #fff; background: var(--glass-bg-2);
  }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 18px 0; }
  .stat:nth-child(2) { border-right: none; }
  .exp-grid, .ref-grid { grid-template-columns: 1fr; }
  .cat-panel { flex-direction: column; }
  .prod { width: 100%; }
  .cat-strips { min-height: 160px; }
  .strip { min-height: 160px; }
  .ref-head { flex-direction: column; align-items: flex-start; }
  .why-cols { grid-template-columns: 1fr; }
  .why-col { border-left: none; border-top: 1px solid #e3e4e8; padding: 18px 0 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-col { text-align: left; }
  .hero h1 { font-size: 40px; }
  .hero-glow { display: none; }
  .brand-glow { padding: 120px 0 80px; }
  .brand-glow-arc { width: 640px; height: 640px; margin-left: -320px; top: 40px; }
  .brand-glow-text p { font-size: 19px; }
}
@media (min-width: 761px) { .mobile-menu { display: none !important; } }
