/*
Theme Name: Booya Studios
Theme URI: https://booyastudios.fr
Author: Booya Studios
Author URI: https://booyastudios.fr
Description: Custom theme for Booya Studios — Animation studio based in Abidjan, Ivory Coast.
Version: 1.0.0
License: All Rights Reserved
Text Domain: booya
*/

:root {
  --purple: #6B21E8;
  --purple-deep: #3D0A8F;
  --purple-light: #9B59F5;
  --cream: #F5F0E8;
  --dark: #0D0A1A;
  --gold: #C8A84B;
  --white: #FFFFFF;
  --purple-dim: rgba(107, 33, 232, 0.15);
  --purple-glow: rgba(107, 33, 232, 0.4);
}

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

body {
  background: var(--dark);
  color: var(--white);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* Cursor */
.cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--purple-light); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.2s;
}
.cursor-ring {
  position: fixed; width: 32px; height: 32px;
  border: 1px solid var(--purple-light); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
  opacity: 0.5;
}

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 48px;
  background: linear-gradient(to bottom, rgba(13,10,26,0.95), transparent);
  backdrop-filter: blur(0px);
}
.nav-logo img { height: 36px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a,
.nav-links li a {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links li a:hover { color: var(--purple-light); }

/* WP nav menu overrides */
.nav-links .menu-item { list-style: none; }
.nav-links .sub-menu { display: none; }

.nav-lang {
  display: flex; gap: 8px; align-items: center;
  font-family: 'Space Mono', monospace; font-size: 10px;
}
.nav-lang button {
  background: none; border: none; color: rgba(255,255,255,0.45);
  cursor: none; font-family: inherit; font-size: inherit;
  letter-spacing: 0.1em; transition: color 0.2s;
}
.nav-lang button.active { color: var(--purple-light); }
.nav-lang .sep { opacity: 0.3; }

/* ===================== HERO ===================== */
.hero {
  position: relative; height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end; overflow: hidden;
}
.hero-video {
  position: absolute; inset: 0; overflow: hidden;
}
.hero-video video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.3;
}
.hero-video::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,10,26,0.2) 0%,
    rgba(13,10,26,0.1) 40%,
    rgba(13,10,26,0.85) 100%
  );
}

/* Grain overlay */
.grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Orbes */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
  animation: breathe 9s ease-in-out infinite;
}
.orb-1 { width: 700px; height: 700px; background: var(--purple); opacity: 0.25; top: -200px; right: -150px; animation-delay: 0s; }
.orb-2 { width: 400px; height: 400px; background: #C8A84B; opacity: 0.1; bottom: 50px; left: -50px; animation-delay: -4s; }
@keyframes breathe {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

/* Lignes geometriques Kente */
.hero-geo {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
}
.hero-geo svg { width: 100%; height: 100%; opacity: 0.05; }

/* Bouton play */
.play-wrap {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5; display: flex; flex-direction: column;
  align-items: center; gap: 14px; cursor: none;
}
.play-btn {
  width: 90px; height: 90px;
  border: 1.5px solid rgba(255,255,255,0.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), border-color 0.3s;
  position: relative;
}
.play-btn::before {
  content: ''; position: absolute; inset: -10px;
  border-radius: 50%; border: 1px solid rgba(155,89,245,0.3);
  animation: spin 14s linear infinite;
}
.play-btn::after {
  content: ''; position: absolute; inset: -22px;
  border-radius: 50%; border: 1px dashed rgba(200,168,75,0.2);
  animation: spin 22s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }
.play-btn:hover { transform: scale(1.1); border-color: var(--purple-light); }
.play-btn svg { margin-left: 5px; }
.play-label {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.55;
}

/* Contenu hero */
.hero-content {
  position: relative; z-index: 5; padding: 0 48px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: flex-end;
}
.hero-h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(68px, 9.5vw, 138px);
  line-height: 0.9; letter-spacing: 0.015em;
}
.hero-h1 .line-purple { color: var(--purple-light); display: block; }
.hero-h1 .line-gold { color: var(--gold); display: block; }

.hero-right { display: flex; flex-direction: column; gap: 28px; padding-bottom: 6px; }
.hero-tagline {
  font-size: 14px; line-height: 1.7; opacity: 0.7;
  max-width: 360px; font-weight: 400;
  font-style: italic; font-family: 'Space Mono', monospace;
}
.hero-stats { display: flex; gap: 36px; }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat-n {
  font-family: 'Bebas Neue', sans-serif; font-size: 40px;
  color: var(--purple-light); letter-spacing: 0.03em; line-height: 1;
}
.stat-l {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.45;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 12px;
  width: fit-content; padding: 13px 26px;
  background: var(--purple); color: white;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: none;
  transition: background 0.25s, transform 0.25s;
  border: none;
}
.hero-cta:hover { background: var(--purple-deep); transform: translateY(-2px); }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: 64px; left: 50%;
  transform: translateX(-50%); z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.35; animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }
.scroll-hint span {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.22em; text-transform: uppercase; writing-mode: vertical-lr;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, white, transparent); }

/* ===================== SECTION TAG ===================== */
.s-tag {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.s-tag::before { content: ''; width: 28px; height: 1px; background: var(--purple-light); display: block; }

/* ===================== ABOUT ===================== */
.section-about {
  padding: 140px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  align-items: center; position: relative; overflow: hidden;
}
.section-about::before {
  content: 'STUDIO';
  position: absolute; font-family: 'Bebas Neue', sans-serif;
  font-size: 22vw; color: rgba(107,33,232,0.04);
  top: 30px; left: -10px; line-height: 1; pointer-events: none;
}

.about-visual { position: relative; }
.artwork-grid {
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto;
  gap: 8px;
}
.aw {
  overflow: hidden; position: relative;
  background: var(--purple-dim); border: 1px solid rgba(107,33,232,0.2);
}
.aw img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
  display: block;
}
.aw:hover img { transform: scale(1.06); }
.aw-1 { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
.aw-2 { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 3/4; }
.aw-3 { grid-column: 1; grid-row: 2; aspect-ratio: 4/3; }
.aw-label {
  position: absolute; bottom: 8px; left: 8px;
  background: rgba(13,10,26,0.8); padding: 4px 8px;
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0;
  transition: opacity 0.3s;
}
.aw:hover .aw-label { opacity: 1; }

.about-badge {
  position: absolute; bottom: -16px; right: -16px;
  width: 96px; height: 96px;
  background: var(--purple); border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1px;
}
.about-badge-y { font-family: 'Bebas Neue', sans-serif; font-size: 26px; line-height: 1; }
.about-badge-t {
  font-family: 'Space Mono', monospace; font-size: 7px;
  letter-spacing: 0.08em; text-transform: uppercase;
  opacity: 0.85; text-align: center; line-height: 1.3;
}

.about-text { position: relative; z-index: 1; }
.about-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1; letter-spacing: 0.02em; margin-bottom: 28px;
}
.about-h2 em { font-style: normal; color: var(--gold); display: block; }
.about-p {
  font-size: 15px; line-height: 1.78; opacity: 0.72;
  margin-bottom: 20px; font-weight: 400;
}
.about-p strong { color: var(--white); opacity: 1; font-weight: 700; }
.about-quote {
  border-left: 3px solid var(--purple);
  padding: 12px 0 12px 20px; margin: 32px 0;
  font-family: 'Space Mono', monospace; font-size: 12px;
  font-style: italic; color: var(--purple-light);
  line-height: 1.6; opacity: 0.9;
}
.about-services {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px;
}
.pill {
  padding: 5px 14px; border: 1px solid rgba(107,33,232,0.4);
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.7; transition: border-color 0.2s, opacity 0.2s, background 0.2s;
  cursor: none;
}
.pill:hover { border-color: var(--purple-light); opacity: 1; background: var(--purple-dim); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 26px; background: var(--purple); color: white;
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: none; border: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-2px); }
.btn-primary svg { transition: transform 0.2s; }
.btn-primary:hover svg { transform: translateX(4px); }

/* ===================== PROJETS LINE-UP ===================== */
.section-lineup {
  padding: 120px 48px;
  position: relative;
}
.section-lineup::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--purple), transparent);
  opacity: 0.3;
}
.lineup-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px; gap: 32px;
}
.lineup-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 7vw, 96px);
  line-height: 1; letter-spacing: 0.02em;
}
.lineup-h2 span { color: var(--purple-light); }
.lineup-intro {
  max-width: 300px; font-size: 13px; line-height: 1.7;
  opacity: 0.55; font-weight: 400; text-align: right;
  font-family: 'Space Mono', monospace;
}

/* Grille projets */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: rgba(107,33,232,0.12);
}
.project-card {
  position: relative; overflow: hidden; cursor: none;
  background: var(--dark); aspect-ratio: 16/9;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.project-card img.cover {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23,1,0.32,1), opacity 0.5s;
  opacity: 0.6;
}
.project-card:hover img.cover { transform: scale(1.07); opacity: 0.45; }
.project-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,10,26,0.95) 0%, transparent 60%);
}
.project-info {
  position: relative; z-index: 2; padding: 28px;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.project-card:hover .project-info { transform: translateY(0); }
.project-tag {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 8px; opacity: 0.8;
}
.project-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 38px;
  letter-spacing: 0.03em; line-height: 1; margin-bottom: 8px;
}
.project-meta {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.1em; opacity: 0.5; text-transform: uppercase;
  display: flex; gap: 16px;
}
.project-desc {
  font-size: 12px; line-height: 1.6; opacity: 0;
  max-width: 440px; margin-top: 12px;
  transition: opacity 0.3s 0.1s;
  color: rgba(255,255,255,0.7);
}
.project-card:hover .project-desc { opacity: 1; }
.project-award {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 4px 10px;
  background: var(--purple); font-family: 'Space Mono', monospace;
  font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.3s 0.15s;
}
.project-card:hover .project-award { opacity: 1; }

.project-specs {
  display: none;
}

/* ===================== ACHIEVEMENTS ===================== */
.section-achiev {
  padding: 120px 48px;
  background: linear-gradient(180deg, transparent, rgba(107,33,232,0.05), transparent);
  position: relative;
}
.achiev-layout {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  align-items: start;
}
.achiev-left { position: sticky; top: 120px; }
.achiev-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6vw, 82px);
  line-height: 1; letter-spacing: 0.02em; margin-bottom: 24px;
}
.achiev-h2 span { color: var(--gold); }
.achiev-desc {
  font-size: 13px; line-height: 1.75; opacity: 0.6;
  margin-bottom: 32px; font-weight: 400;
}

/* Award star */
.award-star {
  background: var(--purple); padding: 24px;
  border-left: 4px solid var(--gold);
}
.award-star-label {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.award-star-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 8px;
}
.award-star-film {
  font-family: 'Space Mono', monospace; font-size: 11px;
  font-style: italic; opacity: 0.8;
}
.award-star-org {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0.6; margin-top: 6px;
}

/* Liste achievements */
.achiev-list { display: flex; flex-direction: column; gap: 0; }
.achiev-item {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 24px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid rgba(107,33,232,0.15);
  transition: background 0.2s;
}
.achiev-item:first-child { border-top: 1px solid rgba(107,33,232,0.15); }
.achiev-year {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  color: rgba(107,33,232,0.35); line-height: 1; padding-top: 2px;
}
.achiev-title {
  font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
  line-height: 1.3; margin-bottom: 6px;
}
.achiev-detail {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.08em; opacity: 0.55; line-height: 1.5;
}
.achiev-detail em { color: var(--purple-light); font-style: normal; }

/* Bande defilante partenaires */
.partner-strip {
  margin-top: 80px; overflow: hidden; position: relative;
  border-top: 1px solid rgba(107,33,232,0.15);
  border-bottom: 1px solid rgba(107,33,232,0.15);
  padding: 20px 0;
}
.partner-strip::before, .partner-strip::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2;
}
.partner-strip::before { left: 0; background: linear-gradient(to right, var(--dark), transparent); }
.partner-strip::after { right: 0; background: linear-gradient(to left, var(--dark), transparent); }
.partner-scroll {
  display: flex; gap: 56px; animation: marquee 20s linear infinite;
  white-space: nowrap; align-items: center;
}
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.p-item {
  font-family: 'Bebas Neue', sans-serif; font-size: 18px;
  letter-spacing: 0.12em; opacity: 0.2; text-transform: uppercase; flex-shrink: 0;
}
.p-sep { color: var(--purple-light); opacity: 0.35; font-size: 14px; flex-shrink: 0; }

/* ===================== SERVICES ===================== */
.section-services {
  padding: 120px 48px;
  position: relative; overflow: hidden;
}
.section-services::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--purple), transparent);
  opacity: 0.3;
}
.services-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: end; margin-bottom: 72px;
}
.services-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1; letter-spacing: 0.02em;
}
.services-h2 span { color: var(--purple-light); }
.services-intro {
  font-size: 13px; line-height: 1.75; opacity: 0.55;
  font-family: 'Space Mono', monospace; max-width: 380px;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: rgba(107,33,232,0.1);
}
.service-card {
  background: var(--dark); padding: 40px 32px 36px;
  position: relative; overflow: hidden; cursor: none;
  border-bottom: 3px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.service-card:hover {
  background: rgba(107,33,232,0.08);
  border-bottom-color: var(--purple-light);
}
.service-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 56px;
  color: rgba(107,33,232,0.12); line-height: 1;
  position: absolute; top: 16px; right: 24px;
  transition: color 0.3s;
}
.service-card:hover .service-num { color: rgba(107,33,232,0.25); }
.service-icon {
  font-size: 28px; margin-bottom: 20px; display: block; line-height: 1;
}
.service-title {
  font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 800;
  margin-bottom: 12px; line-height: 1.2;
}
.service-desc {
  font-size: 13px; line-height: 1.7; opacity: 0.6; margin-bottom: 20px;
}
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag-item {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid rgba(155,89,245,0.25);
  color: var(--purple-light); opacity: 0.8;
}

/* CTA Services */
.services-cta-row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(107,33,232,0.15);
  flex-wrap: wrap; gap: 24px;
}
.services-cta-text {
  font-family: 'Bebas Neue', sans-serif; font-size: 32px;
  letter-spacing: 0.03em; opacity: 0.85;
}
.services-cta-text span { color: var(--gold); }

/* ===================== CLIENTS ===================== */
.section-clients {
  padding: 100px 48px;
  background: linear-gradient(180deg, transparent, rgba(107,33,232,0.04), transparent);
  position: relative;
}
.clients-header { text-align: center; margin-bottom: 64px; }
.clients-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1; letter-spacing: 0.02em; margin-bottom: 12px;
}
.clients-h2 span { color: var(--purple-light); }
.clients-sub {
  font-family: 'Space Mono', monospace; font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.4;
}

.clients-categories { display: flex; flex-direction: column; gap: 48px; }
.client-cat-title {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--purple-light); opacity: 0.7;
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.client-cat-title::after {
  content: ''; flex: 1; height: 1px;
  background: rgba(107,33,232,0.2);
}
.clients-row {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.client-chip {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em; opacity: 0.65;
  transition: opacity 0.25s, border-color 0.25s, background 0.25s;
  cursor: none;
}
.client-chip:hover {
  opacity: 1; border-color: var(--purple-light);
  background: rgba(107,33,232,0.1);
}
.client-chip.featured {
  border-color: rgba(107,33,232,0.5); background: var(--purple-dim);
  opacity: 0.9;
}

/* Compteur impact */
.clients-impact {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; background: rgba(107,33,232,0.1);
  margin-top: 64px;
}
.impact-cell {
  background: var(--dark); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 6px;
  transition: background 0.3s;
}
.impact-cell:hover { background: rgba(107,33,232,0.08); }
.impact-n {
  font-family: 'Bebas Neue', sans-serif; font-size: 52px;
  color: var(--purple-light); line-height: 1; letter-spacing: 0.03em;
}
.impact-l {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.45;
  line-height: 1.4;
}

/* ===================== EQUIPE ===================== */
.section-team {
  padding: 120px 48px; position: relative; overflow: hidden;
}
.section-team::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: linear-gradient(to right, transparent, var(--purple), transparent);
  opacity: 0.3;
}
.team-header { margin-bottom: 64px; }
.team-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1; letter-spacing: 0.02em; margin-bottom: 8px;
}
.team-h2 span { color: var(--gold); }
.team-sub {
  font-size: 13px; opacity: 0.55; font-weight: 400;
  font-family: 'Space Mono', monospace; max-width: 480px;
  line-height: 1.7;
}

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  position: relative; cursor: none;
}
.team-avatar {
  width: 100%; aspect-ratio: 3/4; overflow: hidden;
  background: var(--purple-dim);
  border: 1px solid rgba(107,33,232,0.2);
  margin-bottom: 16px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 8px,
    rgba(107,33,232,0.06) 8px, rgba(107,33,232,0.06) 9px
  );
}
.team-avatar img {
  width: 100%; height: 100%; object-fit: cover;
  position: relative; z-index: 1;
}
.team-avatar-initials {
  position: relative; z-index: 1;
  font-family: 'Bebas Neue', sans-serif; font-size: 48px;
  color: var(--purple-light); opacity: 0.5; letter-spacing: 0.05em;
}
.team-avatar-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px; background: var(--purple);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.team-card:hover .team-avatar-bar { transform: scaleX(1); }
.team-name {
  font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 800;
  margin-bottom: 4px;
}
.team-role {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--purple-light); opacity: 0.8; margin-bottom: 8px;
}
.team-bio {
  font-size: 12px; line-height: 1.65; opacity: 0.5;
}

/* ===================== BEHIND THE SCENES ===================== */
.section-bts {
  padding: 120px 48px;
  background: linear-gradient(180deg, transparent, rgba(107,33,232,0.05), transparent);
  position: relative;
}
.bts-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px; gap: 32px;
}
.bts-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1; letter-spacing: 0.02em;
}
.bts-h2 span { color: var(--purple-light); }
.bts-intro {
  max-width: 320px; font-size: 13px; line-height: 1.7;
  opacity: 0.55; font-family: 'Space Mono', monospace; text-align: right;
}

.bts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
}
.bts-card {
  position: relative; overflow: hidden; cursor: none;
  background: var(--purple-dim);
  border: 1px solid rgba(107,33,232,0.15);
}
.bts-card-main { grid-column: 1; grid-row: 1 / 3; aspect-ratio: 4/3; }
.bts-card-sm { aspect-ratio: 4/3; }

.bts-inner {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 20px;
  position: relative;
}
.bts-card-main .bts-inner { min-height: 320px; padding: 28px; }

.bts-card::before {
  content: attr(data-step);
  position: absolute; top: 16px; right: 16px;
  font-family: 'Bebas Neue', sans-serif; font-size: 80px;
  color: rgba(107,33,232,0.08); line-height: 1; pointer-events: none;
}
.bts-card-main::before { font-size: 140px; top: 20px; right: 20px; }

.bts-deco {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.06;
}
.bts-deco svg { width: 100%; height: 100%; }

.bts-step-tag {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 8px; opacity: 0.9;
}
.bts-step-title {
  font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 800;
  line-height: 1.2; margin-bottom: 6px;
}
.bts-card-main .bts-step-title { font-size: 24px; }
.bts-step-desc {
  font-size: 11px; line-height: 1.6; opacity: 0.6;
}

/* Pipeline progress */
.bts-pipeline {
  margin-top: 48px;
  display: flex; align-items: center; gap: 0;
  overflow-x: auto; padding-bottom: 8px;
}
.pipeline-step {
  flex: 1; min-width: 120px; padding: 20px 16px;
  border: 1px solid rgba(107,33,232,0.15);
  border-right: none; position: relative;
  background: var(--dark); cursor: none;
  transition: background 0.25s;
}
.pipeline-step:last-child { border-right: 1px solid rgba(107,33,232,0.15); }
.pipeline-step:hover { background: rgba(107,33,232,0.08); }
.pipeline-step.active { background: rgba(107,33,232,0.12); border-color: var(--purple); }
.pipeline-step.active .pipeline-n { color: var(--purple-light); }
.pipeline-n {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  color: rgba(107,33,232,0.25); line-height: 1; margin-bottom: 4px;
}
.pipeline-l {
  font-family: 'Space Mono', monospace; font-size: 8px;
  letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.5;
  line-height: 1.4;
}
.pipeline-step:not(:last-child)::after {
  content: '\2192';
  position: absolute; right: -10px; top: 50%;
  transform: translateY(-50%);
  color: var(--purple-light); opacity: 0.4;
  font-size: 14px; z-index: 1;
  background: var(--dark); padding: 0 2px;
}

/* ===================== FOOTER ===================== */
footer {
  padding: 64px 48px 40px;
  border-top: 1px solid rgba(107,33,232,0.15);
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 48px;
  align-items: start;
}
footer img.logo { height: 32px; margin-bottom: 16px; display: block; }
.footer-tagline {
  font-size: 12px; line-height: 1.7; opacity: 0.5;
  font-family: 'Space Mono', monospace;
}
.footer-col-title {
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--purple-light); margin-bottom: 16px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a,
.footer-links li a {
  color: rgba(255,255,255,0.5); text-decoration: none;
  font-family: 'Syne', sans-serif; font-size: 13px;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-links li a:hover { color: var(--purple-light); }
.footer-links .menu-item { list-style: none; }
.footer-links .sub-menu { display: none; }
.footer-contact { font-size: 13px; opacity: 0.55; line-height: 2; }
.footer-contact a { color: inherit; text-decoration: none; }
.footer-contact a:hover { color: var(--purple-light); opacity: 1; }
.footer-bottom {
  grid-column: 1 / -1; display: flex; justify-content: space-between;
  align-items: center; padding-top: 32px;
  border-top: 1px solid rgba(107,33,232,0.1);
  font-family: 'Space Mono', monospace; font-size: 9px;
  letter-spacing: 0.1em; opacity: 0.35;
}
.social-links { display: flex; gap: 20px; }
.social-links a { color: inherit; text-decoration: none; opacity: 0.5; transition: opacity 0.2s; }
.social-links a:hover { opacity: 1; }

/* Team CTA row */
.team-cta-row {
  margin-top: 48px; padding-top: 40px;
  border-top: 1px solid rgba(107,33,232,0.15);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.team-cta-text {
  font-family: 'Space Mono', monospace; font-size: 11px;
  opacity: 0.5; max-width: 400px; line-height: 1.7;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .hero-content { grid-template-columns: 1fr; padding: 0 20px 48px; gap: 20px; }
  .section-about { grid-template-columns: 1fr; padding: 80px 20px; gap: 48px; }
  .artwork-grid { order: -1; }
  .section-lineup { padding: 80px 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  .lineup-header { flex-direction: column; align-items: flex-start; }
  .lineup-intro { text-align: left; }
  .section-achiev { padding: 80px 20px; }
  .achiev-layout { grid-template-columns: 1fr; }
  .achiev-left { position: static; }
  footer { grid-template-columns: 1fr; padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .services-header { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section-services { padding: 80px 20px; }
  .section-clients { padding: 80px 20px; }
  .clients-impact { grid-template-columns: 1fr 1fr; }
  .section-team { padding: 80px 20px; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .section-bts { padding: 80px 20px; }
  .bts-header { flex-direction: column; align-items: flex-start; }
  .bts-intro { text-align: left; }
  .bts-grid { grid-template-columns: 1fr; }
  .bts-card-main { grid-row: auto; }
  .services-cta-row { flex-direction: column; align-items: flex-start; }
  .bts-pipeline { gap: 0; }
  .team-cta-row { flex-direction: column; align-items: flex-start; }
}

/* Fade-in */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
