/* ══════════════════════════════════════════════════════════
   S7VENORA GROUP — STYLESHEET
   Fonts: Plus Jakarta Sans (headlines) / Inter (body)
   Theme: Dark luxury with violet, orange & gold accents
══════════════════════════════════════════════════════════ */

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:            #0d0e12;
  --bg2:           #111318;
  --bg3:           #161820;
  --primary:       #c59aff;
  --primary-dim:   rgba(197, 154, 255, 0.15);
  --primary-glow:  rgba(197, 154, 255, 0.35);
  --secondary:     #fd9000;
  --sec-dim:       rgba(253, 144, 0, 0.15);
  --sec-glow:      rgba(253, 144, 0, 0.35);
  --tertiary:      #ffe792;
  --ter-dim:       rgba(255, 231, 146, 0.15);
  --ter-glow:      rgba(255, 231, 146, 0.3);
  --text:          #faf8fe;
  --text-muted:    rgba(250, 248, 254, 0.58);
  --text-dim:      rgba(250, 248, 254, 0.32);
  --card:          rgba(22, 24, 32, 0.75);
  --card-border:   rgba(197, 154, 255, 0.1);
  --font-head:     'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;
  --r:             16px;
  --r-lg:          24px;
}

/* ─── LIGHT THEME ───────────────────────────────────────── */
[data-theme="light"] {
  --clr-bg: #f4f4f8;
  --clr-bg-2: #ffffff;
  --clr-bg-3: #ecedf5;
  --clr-surface: rgba(255,255,255,0.85);
  --clr-surface-2: rgba(240,240,250,0.9);
  --clr-border: rgba(0,0,0,0.1);
  --clr-text: #0f0e17;
  --clr-text-2: #3a3a4a;
  --clr-text-muted: #6b6b80;
  --clr-purple: #7c3aed;
  --clr-orange: #ea6c00;
  --clr-white: #0f0e17;

  /* Override existing vars so current CSS adapts automatically */
  --bg:          #f4f4f8;
  --bg2:         #ffffff;
  --bg3:         #ecedf5;
  --card:        rgba(255,255,255,0.85);
  --card-border: rgba(0,0,0,0.1);
  --text:        #0f0e17;
  --text-muted:  #6b6b80;
  --text-dim:    rgba(15,14,23,0.4);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--bg);
}
::-webkit-scrollbar        { width: 5px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--primary); border-radius: 3px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; transition: color .25s; }
ul    { list-style: none; }
input, select, textarea, button { font-family: inherit; }

/* ─── MATERIAL SYMBOLS TWEAK ─────────────────────────────── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  vertical-align: middle;
  line-height: 1;
  display: inline-block;
}

/* ══════════════════════════════════════════════════════════
   CUSTOM CURSOR
══════════════════════════════════════════════════════════ */
.cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(197, 154, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s, border-color .3s, background .3s;
  mix-blend-mode: normal;
}
.cursor.cursor-big {
  width: 56px; height: 56px;
  border-color: var(--primary);
  background: rgba(197, 154, 255, 0.06);
}
.cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--primary);
}
@media (pointer: coarse) {
  .cursor, .cursor-dot { display: none; }
}

/* ══════════════════════════════════════════════════════════
   BACKGROUND FX
══════════════════════════════════════════════════════════ */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.18;
  animation: float-orb 18s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -180px; left: -150px;
  animation-delay: 0s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: var(--secondary);
  bottom: 10%; right: -100px;
  animation-delay: -6s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: var(--tertiary);
  top: 55%; left: 40%;
  animation-delay: -12s;
  opacity: 0.1;
}
@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -50px) scale(1.05); }
  66%       { transform: translate(-30px, 30px) scale(0.97); }
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(197,154,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197,154,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ══════════════════════════════════════════════════════════
   PROGRESS BAR
══════════════════════════════════════════════════════════ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 9998;
  transition: width .05s linear;
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: background .4s, backdrop-filter .4s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(13, 14, 18, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 6px 0;
  border-color: rgba(197, 154, 255, 0.08);
}
.nav-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; }
.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-wrap-sm .logo-img { height: 72px; }
.logo-img {
  height: 112px;
  width: auto;
  display: block;
  filter:
    invert(1)
    sepia(0.55)
    saturate(2.5)
    hue-rotate(-8deg)
    drop-shadow(0 0 22px rgba(255, 231, 146, 0.7))
    drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: filter .35s, transform .25s;
}
.logo-img:hover {
  filter:
    invert(1)
    sepia(0.55)
    saturate(3)
    hue-rotate(-8deg)
    drop-shadow(0 0 36px rgba(255, 231, 146, 0.95))
    drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transform: scale(1.04);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color .25s, background .25s;
  letter-spacing: .3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: translateX(-50%);
  transition: width .3s;
  border-radius: 2px;
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 14px !important;
  padding: 10px 20px !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme toggle */
.theme-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
  transition: background 0.3s, transform 0.3s;
  margin-right: 12px;
}
.theme-toggle:hover { background: rgba(197,154,255,0.15); transform: rotate(20deg); }
.theme-icon-light { display: none; }
.theme-icon-dark  { display: block; }
[data-theme="light"] .theme-icon-light { display: block; }
[data-theme="light"] .theme-icon-dark  { display: none; }
[data-theme="light"] .theme-toggle {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: #0f0e17;
}

/* Lang toggle */
.lang-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 6px 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  color: inherit;
  transition: background 0.3s;
  margin-right: 12px;
}
.lang-toggle:hover { background: rgba(197,154,255,0.15); }
[data-theme="light"] .lang-toggle {
  background: rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.1);
  color: #0f0e17;
}

/* Light mode overrides for hardcoded backgrounds */
[data-theme="light"] .navbar.scrolled {
  background: rgba(244,244,248,0.92);
  border-color: rgba(0,0,0,0.08);
}
[data-theme="light"] .stats-bar {
  background: rgba(255,255,255,0.7);
  border-color: rgba(0,0,0,0.05);
}
[data-theme="light"] .nav-menu {
  background: rgba(244,244,248,0.97);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--primary) 0%, #9b6fe0 50%, var(--secondary) 100%);
  background-size: 200% 200%;
  background-position: left;
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background-position .4s, box-shadow .3s, transform .2s;
  box-shadow: 0 4px 20px rgba(197,154,255,0.3);
  letter-spacing: .3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-primary:hover {
  background-position: right;
  box-shadow: 0 6px 32px rgba(197,154,255,0.5), 0 0 0 1px rgba(197,154,255,0.2);
  transform: translateY(-1px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: linear-gradient(135deg, var(--secondary), #c47000);
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: box-shadow .3s, transform .2s;
  box-shadow: 0 4px 20px rgba(253,144,0,0.35);
  letter-spacing: .3px;
}
.btn-secondary:hover {
  box-shadow: 0 6px 32px rgba(253,144,0,0.55), 0 0 0 1px rgba(253,144,0,0.2);
  transform: translateY(-1px);
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: rgba(197,154,255,0.08);
  color: var(--text);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid rgba(197,154,255,0.2);
  cursor: pointer;
  transition: background .3s, border-color .3s, transform .2s;
  letter-spacing: .3px;
}
.btn-ghost:hover {
  background: rgba(197,154,255,0.15);
  border-color: rgba(197,154,255,0.4);
  transform: translateY(-1px);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   BADGES
══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: .5px;
  margin-bottom: 20px;
}
.badge .material-symbols-outlined { font-size: 16px; }
.badge-purple {
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(197,154,255,0.2);
}
.badge-orange {
  background: var(--sec-dim);
  color: var(--secondary);
  border: 1px solid rgba(253,144,0,0.2);
}
.badge-gold {
  background: var(--ter-dim);
  color: var(--tertiary);
  border: 1px solid rgba(255,231,146,0.2);
}

/* ══════════════════════════════════════════════════════════
   GRADIENT TEXT
══════════════════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 30%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-orange {
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
.reveal-d4 { transition-delay: .48s; }
.reveal-d5 { transition-delay: .60s; }

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 0 80px;
  z-index: 1;
}
.hero-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-content { max-width: 580px; }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -1.5px;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.75;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}
.trust-item .material-symbols-outlined {
  font-size: 16px;
  color: var(--primary);
}
.trust-sep {
  width: 1px; height: 16px;
  background: rgba(250,248,254,0.15);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-orb-wrap {
  position: relative;
  width: 480px;
  height: 480px;
  flex-shrink: 0;
}
.hero-svg {
  width: 100%; height: 100%;
  overflow: visible;
}

/* SVG ring animations */
.svg-ring-1 { animation: spin-slow 30s linear infinite; transform-origin: 240px 240px; }
.svg-ring-2 { animation: spin-slow 20s linear infinite reverse; transform-origin: 240px 240px; }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* Orbiting dot animations */
.orb-dot-1 { animation: pulse-glow 3s ease-in-out infinite; }
.orb-dot-2 { animation: pulse-glow 3s ease-in-out infinite .8s; }
.orb-dot-3 { animation: pulse-glow 3s ease-in-out infinite 1.6s; }
.orb-dot-4 { animation: pulse-glow 3s ease-in-out infinite 2.4s; }
@keyframes pulse-glow {
  0%, 100% { opacity: 1; r: 9; }
  50%       { opacity: 0.5; r: 6; }
}

/* Floating chips */
.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--card);
  border: 1px solid rgba(197,154,255,0.15);
  border-radius: 50px;
  backdrop-filter: blur(16px);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.float-chip .material-symbols-outlined { font-size: 18px; color: var(--primary); }
.float-chip-1 {
  top: 40px; left: -20px;
  animation: float-chip 5s ease-in-out infinite;
}
.float-chip-2 {
  bottom: 100px; right: -30px;
  animation: float-chip 5s ease-in-out infinite 1.5s;
  border-color: rgba(253,144,0,0.2);
}
.float-chip-2 .material-symbols-outlined { color: var(--secondary); }
.float-chip-3 {
  bottom: 30px; left: 10px;
  animation: float-chip 5s ease-in-out infinite 3s;
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line-anim {
  width: 1.5px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--primary), transparent);
  animation: scroll-drop 2s ease-in-out infinite;
}
@keyframes scroll-drop {
  0%         { transform: scaleY(0) translateY(-50%); opacity: 0; }
  50%        { transform: scaleY(1) translateY(0);    opacity: 1; }
  100%       { transform: scaleY(0) translateY(50%);  opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════ */
.stats-bar {
  position: relative;
  z-index: 1;
  background: rgba(22, 24, 32, 0.7);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.stat-item {
  text-align: center;
  flex: 1;
}
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--secondary);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .3px;
}
.stat-sep {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--card-border), transparent);
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 32px;
}
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════
   BENTO GRID
══════════════════════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}
.bento-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}
.bento-card:hover {
  border-color: rgba(197,154,255,0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

/* Large card — inner 2-col grid */
.bento-lg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.bento-lg h3 {
  grid-column: 1; grid-row: 2;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.bento-lg p {
  grid-column: 1; grid-row: 3;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}
.bento-lg .bento-icon-wrap { grid-column: 1; grid-row: 1; }
.bento-lg .bento-tags { grid-column: 1; grid-row: 4; }
.bento-lg .bento-glow-purple { grid-column: 2; grid-row: 1 / 5; }
.bento-lg .code-block { grid-column: 2; grid-row: 1 / 5; }

.bento-sm h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}
.bento-sm p { color: var(--text-muted); font-size: 13.5px; line-height: 1.6; }

/* Visual card */
.bento-vis {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 220px;
}

/* Second row: sm cards */
.bento-sm:nth-child(2) { grid-column: 1; grid-row: 2; }
.bento-sm:nth-child(3) { grid-column: 2; grid-row: 2; }
.bento-vis             { grid-column: 3; grid-row: 1 / 3; }
.bento-sm:nth-child(5) { grid-column: 1 / 3; grid-row: 3; }

/* Bento grid explicit placement */
.bento > :nth-child(1) { grid-column: 1 / 3; grid-row: 1; }   /* lg */
.bento > :nth-child(2) { grid-column: 1 / 2; grid-row: 2; }   /* cyber */
.bento > :nth-child(3) { grid-column: 2 / 3; grid-row: 2; }   /* data */
.bento > :nth-child(4) { grid-column: 3 / 4; grid-row: 1 / 3; } /* vis */
.bento > :nth-child(5) { grid-column: 1 / 4; grid-row: 3; }   /* support */

/* Icons */
.bento-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.bento-icon-wrap .material-symbols-outlined { font-size: 26px; }
.bento-icon-purple {
  background: var(--primary-dim);
  color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}
.bento-icon-orange {
  background: var(--sec-dim);
  color: var(--secondary);
  box-shadow: 0 0 20px var(--sec-glow);
}
.bento-icon-gold {
  background: var(--ter-dim);
  color: var(--tertiary);
  box-shadow: 0 0 20px var(--ter-glow);
}

/* Tags */
.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tag {
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(197,154,255,0.1);
  border: 1px solid rgba(197,154,255,0.18);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-head);
}

/* Arrow */
.bento-arrow {
  position: absolute;
  bottom: 24px; right: 24px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, transform .3s;
}
.bento-arrow .material-symbols-outlined { font-size: 18px; color: var(--primary); }
.bento-card:hover .bento-arrow {
  background: var(--primary);
  transform: rotate(-45deg);
}
.bento-card:hover .bento-arrow .material-symbols-outlined { color: #fff; }

/* Code block decoration */
.code-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(197,154,255,0.12);
  border-radius: 12px;
  padding: 20px;
  font-size: 13px;
  font-family: 'Courier New', monospace;
  line-height: 1.8;
  align-self: center;
}
.cb-kw  { color: var(--primary); }
.cb-var { color: var(--tertiary); }
.cb-key { color: #7dd3fc; }
.cb-str { color: #86efac; }
.cb-line { opacity: .85; }

/* Glow on large card */
.bento-glow-purple {
  display: none;
}

/* Server animation */
.server-anim {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.server-rack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(197,154,255,0.15);
  border-radius: 10px;
  width: 80%;
}
.srv {
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}
.srv::after {
  content: '';
  position: absolute;
  right: 8px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.srv-on::after {
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: blink 2s ease-in-out infinite;
}
.srv-on { border-color: rgba(34,197,94,0.2); }
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}
.srv-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(197,154,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.bento-vis-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-head);
  text-align: center;
}

/* ══════════════════════════════════════════════════════════
   SERVICES ÉVÉNEMENTIELS
══════════════════════════════════════════════════════════ */
.events-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.events-vis { position: relative; }

/* Event image grid */
.ev-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 480px;
}
.ev-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.ev-main { grid-column: 1; grid-row: 1 / 3; }
.ev-top  { grid-column: 2; grid-row: 1; }
.ev-bot  { grid-column: 2; grid-row: 2; }

.ev-scene {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(197,154,255,0.12), rgba(13,14,18,0.9));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Conference scene */
.ev-spotlight {
  position: absolute;
  width: 3px;
  height: 60%;
  background: linear-gradient(to bottom, var(--tertiary), transparent);
  opacity: 0.5;
  top: 0;
  transform-origin: top center;
  animation: spotlight-swing 6s ease-in-out infinite;
}
.sp1 { left: 30%; transform: rotate(-15deg); animation-delay: 0s; }
.sp2 { left: 50%; transform: rotate(0deg); animation-delay: 1s; }
.sp3 { left: 70%; transform: rotate(15deg); animation-delay: 2s; }
@keyframes spotlight-swing {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}
.ev-stage {
  width: 80%; height: 8px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  border-radius: 4px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--primary);
}

/* Gala scene */
.ev-scene-gala {
  background: linear-gradient(135deg, rgba(253,144,0,0.12), rgba(13,14,18,0.9));
  align-items: center;
  justify-content: center;
}
.confetti-wrap { position: relative; width: 80%; height: 80%; }
.cf {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  animation: confetti-fall 3s ease-in-out infinite;
}
.cf1 { background: var(--primary);   top: 10%; left: 20%;  animation-delay: 0s; }
.cf2 { background: var(--secondary); top: 20%; left: 60%;  animation-delay: .5s; }
.cf3 { background: var(--tertiary);  top: 5%;  left: 40%;  animation-delay: 1s; }
.cf4 { background: var(--primary);   top: 30%; left: 80%;  animation-delay: 1.5s; }
.cf5 { background: var(--secondary); top: 0%;  left: 10%;  animation-delay: 2s; }
.cf6 { background: var(--tertiary);  top: 15%; left: 50%;  animation-delay: 2.5s; }
@keyframes confetti-fall {
  0%         { transform: translateY(0) rotate(0deg);  opacity: 1; }
  100%       { transform: translateY(160px) rotate(360deg); opacity: 0; }
}

/* Team building scene */
.ev-scene-tb {
  background: linear-gradient(135deg, rgba(255,231,146,0.1), rgba(13,14,18,0.9));
  align-items: center;
  justify-content: center;
}
.tb-icon .material-symbols-outlined {
  font-size: 48px;
  color: var(--tertiary);
  opacity: 0.7;
  animation: tb-pulse 3s ease-in-out infinite;
}
@keyframes tb-pulse {
  0%, 100% { transform: scale(1); opacity: .7; }
  50%       { transform: scale(1.1); opacity: 1; }
}

/* Event label overlay */
.ev-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Badge float */
.ev-badge-float {
  position: absolute;
  top: -20px; right: -20px;
  background: var(--card);
  border: 1px solid rgba(197,154,255,0.2);
  border-radius: var(--r);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.ev-badge-float .material-symbols-outlined { font-size: 28px; color: var(--tertiary); }
.ev-badge-num {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--tertiary);
  line-height: 1;
}
.ev-badge-txt { font-size: 12px; color: var(--text-muted); }

/* Events content */
.events-content { }
.events-desc {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.ev-features { margin-bottom: 36px; display: flex; flex-direction: column; gap: 18px; }
.ev-feat {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.ev-feat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ev-feat-icon .material-symbols-outlined { font-size: 22px; }
.ev-feat-purple { background: var(--primary-dim); color: var(--primary); }
.ev-feat-orange { background: var(--sec-dim);     color: var(--secondary); }
.ev-feat-gold   { background: var(--ter-dim);     color: var(--tertiary); }
.ev-feat h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 3px;
}
.ev-feat p { font-size: 13.5px; color: var(--text-muted); }

/* ══════════════════════════════════════════════════════════
   WHY US
══════════════════════════════════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: border-color .3s, transform .35s, box-shadow .3s;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.35);
}
.why-icon {
  width: 64px; height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}
.why-icon .material-symbols-outlined { font-size: 30px; }
.wi-purple { background: var(--primary-dim); color: var(--primary); box-shadow: 0 0 24px var(--primary-glow); }
.wi-orange { background: var(--sec-dim);     color: var(--secondary); box-shadow: 0 0 24px var(--sec-glow); }
.wi-gold   { background: var(--ter-dim);     color: var(--tertiary); box-shadow: 0 0 24px var(--ter-glow); }
.why-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* Card glow effect */
.why-glow {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  bottom: -40px; right: -20px;
  transition: opacity .4s;
  pointer-events: none;
}
.why-card:hover .why-glow { opacity: 0.35; }
.wg-purple { background: var(--primary); }
.wg-orange { background: var(--secondary); }
.wg-gold   { background: var(--tertiary); }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 32px;
  backdrop-filter: blur(16px);
  position: relative;
  transition: border-color .3s, transform .3s;
}
.testi-card:hover {
  border-color: rgba(197,154,255,0.2);
  transform: translateY(-4px);
}
.testi-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testi-stars .material-symbols-outlined {
  font-size: 16px;
  color: var(--tertiary);
  font-variation-settings: 'FILL' 1, 'wght' 400;
}
.testi-quote {
  font-size: 60px;
  line-height: 0.5;
  color: var(--primary);
  opacity: 0.25;
  font-family: Georgia, serif;
  margin-bottom: 16px;
}
.testi-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.av-1 { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; }
.av-2 { background: linear-gradient(135deg, var(--secondary), #c47000); color: #fff; }
.av-3 { background: linear-gradient(135deg, var(--tertiary), #d97706); color: #000; }
.testi-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.testi-role { font-size: 12.5px; color: var(--text-dim); }

/* ══════════════════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════════════════ */
.cta-wrap { }
.cta-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 72px 56px;
  text-align: center;
  backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}
.cta-bg-glow {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(197,154,255,0.12) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.cta-sub {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.info-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 36px;
  backdrop-filter: blur(16px);
  margin-bottom: 24px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.info-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-ico {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-ico .material-symbols-outlined { font-size: 22px; }
.info-ico-purple { background: var(--primary-dim); color: var(--primary); }
.info-ico-orange { background: var(--sec-dim); color: var(--secondary); }
.info-ico-gold   { background: var(--ter-dim); color: var(--tertiary); }
.info-item h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.info-item p, .info-item a {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.info-item a:hover { color: var(--primary); }

.socials { display: flex; gap: 12px; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .3s, color .3s, border-color .3s, transform .2s;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover {
  background: var(--primary-dim);
  color: var(--primary);
  border-color: rgba(197,154,255,0.3);
  transform: translateY(-2px);
}

/* Form */
.contact-form-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-lg);
  padding: 40px;
  backdrop-filter: blur(16px);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-head);
  letter-spacing: .3px;
}
.input-wrap { position: relative; }
.iico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--text-dim);
  pointer-events: none;
  z-index: 1;
}
textarea ~ .iico { top: 18px; transform: none; }
.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: var(--text);
  font-size: 14.5px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
}
.input-wrap select { cursor: pointer; }
.input-wrap textarea { padding-left: 44px; resize: vertical; min-height: 120px; }
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: var(--text-dim); }
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: rgba(197,154,255,0.4);
  box-shadow: 0 0 0 3px rgba(197,154,255,0.08);
}
.input-wrap select option { background: var(--bg2); color: var(--text); }

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(197,154,255,0.08);
}
.footer-top { padding: 72px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0 20px;
  max-width: 280px;
}
.footer-logo { margin-bottom: 0; }
.footer-legal-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-legal-codes span {
  font-size: 11px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  padding: 3px 10px;
  font-family: var(--font-head);
  font-weight: 500;
}
.footer-col-ttl {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: .3px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .25s, transform .25s;
  display: inline-block;
}
.footer-links a:hover { color: var(--primary); transform: translateX(4px); }

.footer-contact-list { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-contact-list .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-contact-list a { color: var(--text-muted); }
.footer-contact-list a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-dim);
  transition: color .25s;
}
.footer-bottom-links a:hover { color: var(--primary); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { display: none; }

  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento .bento-lg {
    grid-column: 1 / 3;
    grid-template-columns: 1fr;
  }
  .bento .bento-vis  { grid-column: 1 / 3; grid-row: auto; }
  .bento .bento-sm:nth-of-type(5) { grid-column: 1 / 3; }

  .events-layout { grid-template-columns: 1fr; gap: 48px; }
  .ev-grid { height: 320px; }
  .ev-badge-float { display: none; }

  .why-grid { grid-template-columns: 1fr 1fr; }

  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid .testi-card:last-child { grid-column: 1 / 3; max-width: 480px; margin: 0 auto; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / 3; }
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  .nav-inner { gap: 16px; padding: 0 20px; }
  .nav-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13,14,18,0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform .4s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
  }
  .nav-menu.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-link { font-size: 22px; padding: 12px 24px; }
  .nav-cta  { display: none; }
  .hamburger { display: flex; z-index: 1001; }

  .hero { padding: 110px 0 60px; }
  .hero-inner { padding: 0 20px; gap: 40px; }
  .hero-title { font-size: 34px; letter-spacing: -.5px; }
  .hero-ctas { flex-direction: column; align-items: center; }

  .stats-inner { flex-direction: column; gap: 32px; }
  .stat-sep { width: 80px; height: 1px; }

  .section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .section-head { margin-bottom: 40px; }

  .bento { grid-template-columns: 1fr; }
  .bento .bento-lg { grid-column: 1; grid-template-columns: 1fr; }
  .bento .bento-lg .code-block { display: none; }
  .bento .bento-vis { grid-column: 1; }
  .bento .bento-sm:nth-of-type(5) { grid-column: 1; }

  .ev-grid { grid-template-columns: 1fr; height: auto; gap: 12px; }
  .ev-main { grid-row: auto; height: 200px; }
  .ev-top  { height: 130px; }
  .ev-bot  { height: 130px; }

  .why-grid  { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-grid .testi-card:last-child { grid-column: 1; max-width: 100%; }

  .cta-card { padding: 44px 24px; }
  .cta-actions { flex-direction: column; align-items: center; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 20px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════
   EXTRA MICRO-DETAILS
══════════════════════════════════════════════════════════ */

/* Card shimmer on hover */
.bento-card::before,
.why-card::before,
.testi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(197,154,255,0.04), transparent 60%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.bento-card:hover::before,
.why-card:hover::before,
.testi-card:hover::before { opacity: 1; }

/* Selection color */
::selection {
  background: rgba(197,154,255,0.25);
  color: var(--text);
}

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

#realisations { display: none; }

/* ══════════════════════════════════════════════════════════
   SHOWREEL
══════════════════════════════════════════════════════════ */
#showreel {
  background: linear-gradient(180deg, rgba(197,154,255,0.03) 0%, transparent 100%);
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--primary);
  letter-spacing: .5px;
  margin-bottom: 14px;
}
.section-tag .material-symbols-outlined { font-size: 16px; }
.showreel-wrapper {
  max-width: 860px;
  margin: 0 auto;
  transition: transform .4s ease;
}
.showreel-wrapper:hover { transform: scale(1.01); }
.showreel-video-wrap {
  position: relative;
  padding-top: 56.25%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 60px rgba(197,154,255,0.18),
    0 0 120px rgba(253,144,0,0.08),
    0 32px 80px rgba(0,0,0,0.5);
}
.showreel-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.showreel-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.showreel-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
}
.showreel-stat .material-symbols-outlined { font-size: 28px; color: var(--primary); }
.showreel-stat strong {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.showreel-stat span { font-size: 14px; color: var(--text-muted); }
.showreel-stat-sep {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, var(--card-border), transparent);
}

/* ══════════════════════════════════════════════════════════
   RÉALISATIONS / PORTFOLIO
══════════════════════════════════════════════════════════ */
.portfolio-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.pf-btn {
  padding: 9px 24px;
  border-radius: 50px;
  border: 1px solid rgba(197,154,255,0.2);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.pf-btn:hover { border-color: rgba(197,154,255,0.4); color: var(--text); }
.pf-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: transparent;
  color: #fff;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.portfolio-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 3/2;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.portfolio-card:hover img { transform: scale(1.05); }
.pcard-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: .5px;
  z-index: 1;
}
.pcard-badge-it    { background: rgba(197,154,255,0.85); color: #fff; backdrop-filter: blur(8px); }
.pcard-badge-event { background: rgba(253,144,0,0.85);   color: #fff; backdrop-filter: blur(8px); }
.pcard-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity .35s ease;
}
.portfolio-card:hover .pcard-overlay { opacity: 1; }
.pcard-overlay h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}
.pcard-overlay p {
  font-size: 13.5px;
  color: rgba(250,248,254,0.75);
  margin-bottom: 14px;
  line-height: 1.5;
}
.pcard-btn {
  align-self: flex-start;
  padding: 8px 18px !important;
  font-size: 13px !important;
}
.portfolio-card.hidden { display: none; }

/* ══════════════════════════════════════════════════════════
   PROCESSUS DE TRAVAIL
══════════════════════════════════════════════════════════ */
.process-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 32px;
}
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  flex: 0 0 auto;
  width: 140px;
}
.ps-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
  opacity: 0.7;
}
.ps-icon-wrap {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid rgba(197,154,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  transition: border-color .3s, box-shadow .35s, transform .3s;
}
.ps-icon-wrap .material-symbols-outlined { font-size: 32px; color: var(--primary); }
.process-step:hover .ps-icon-wrap {
  border-color: rgba(197,154,255,0.5);
  box-shadow: 0 0 32px rgba(197,154,255,0.35);
  transform: scale(1.08);
}
.process-step h4 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 110px;
}
.process-arrow {
  display: flex;
  align-items: center;
  padding: 0 4px;
  margin-top: 44px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.process-arrow .material-symbols-outlined { font-size: 22px; }

/* ── Responsive additions ── */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .showreel-stats { gap: 20px; }
  .showreel-stat-sep { display: none; }
  .process-track { flex-direction: column; align-items: center; }
  .process-arrow { padding: 0; margin-top: 0; transform: rotate(90deg); }
  .process-step { width: 100%; max-width: 200px; }
  #partenaires { height: auto; padding: 16px 0; }
}

/* ══ ÉVÉNEMENTIEL REFONTE ══ */
.evnt-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  margin-top: 60px;
}

.evnt-col-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evnt-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.evnt-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.evnt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}

.evnt-card:hover img { transform: scale(1.07); }

.evnt-card--large { height: 520px; }
.evnt-card--medium { height: 250px; }
.evnt-card--sm { height: 220px; }

.evnt-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.evnt-card:hover .evnt-card-overlay { opacity: 1; }

.evnt-card-tag {
  display: inline-block;
  background: linear-gradient(135deg, #c59aff, #fd9000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.evnt-card-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

.evnt-services-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 48px;
  padding: 32px;
  background: rgba(197,154,255,0.04);
  border: 1px solid rgba(197,154,255,0.1);
  border-radius: 20px;
}

.evnt-service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(250,248,254,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.evnt-service-item .material-symbols-outlined {
  font-size: 1.2rem;
  background: linear-gradient(135deg,#c59aff,#fd9000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.evnt-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

/* Light mode overrides */
[data-theme="light"] .evnt-services-strip {
  background: rgba(124,58,237,0.05);
  border-color: rgba(124,58,237,0.15);
}
[data-theme="light"] .evnt-service-item {
  color: #3a3a4a;
}

/* Responsive */
@media (max-width: 900px) {
  .evnt-grid { grid-template-columns: 1fr; }
  .evnt-card--large { height: 320px; }
  .evnt-card--medium { height: 200px; }
  .evnt-grid-2 { grid-template-columns: 1fr 1fr; }
  .evnt-card--sm { height: 180px; }
}

@media (max-width: 600px) {
  .evnt-grid-2 { grid-template-columns: 1fr; }
}
