/* =============================================
   L'UNICREATIVE V2 — MAIN STYLESHEET
   Dark Premium Design | Red Accent
============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --bg:        #0a0a0f;
  --bg2:       #0f0f18;
  --surface:   #13131e;
  --surface2:  #1a1a29;
  --border:    rgba(232,25,44,0.18);
  --red:       #e8192c;
  --red-dim:   rgba(232,25,44,0.12);
  --red-glow:  rgba(232,25,44,0.35);
  --text:      #f0f0f8;
  --text2:     #8888a8;
  --text3:     #555570;
  --white:     #ffffff;
  --nav-h:     80px;
  --radius:    14px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Space Grotesk', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

/* =============================================
   CINEMATIC GRAIN & AMBIENT GLOW (NEW)
============================================= */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990; /* High enough to overlay backgrounds but below loader/navbar */
  background: 
    radial-gradient(circle at 0% 20%, rgba(232, 25, 44, 0.06), transparent 40%),
    radial-gradient(circle at 100% 60%, rgba(30, 35, 80, 0.12), transparent 45%);
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9991;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.7'/%3E%3C/svg%3E");
  opacity: 0.04;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { border: none; cursor: pointer; font-family: inherit; }

/* =============================================
   SCROLLBAR
============================================= */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =============================================
   LOADER
============================================= */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-size: 2rem; font-weight: 800; letter-spacing: -0.02em;
  color: var(--white);
}
.loader-logo span { color: var(--red); }
.loader-bar {
  width: 200px; height: 2px;
  background: var(--surface2);
  border-radius: 2px; overflow: hidden;
}
.loader-bar::after {
  content: '';
  display: block; height: 100%; width: 0;
  background: var(--red);
  border-radius: 2px;
  animation: loadBar 1.4s ease forwards;
}
@keyframes loadBar { to { width: 100%; } }

/* =============================================
   NAVBAR
============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 5%;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-brand-icon {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.nav-brand-icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.5);
}
.nav-brand-text {
  font-size: 1.15rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em;
}
.nav-brand-text em { font-style: italic; color: var(--red); }

.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin: 0 auto;
}
.nav-links a {
  padding: 8px 16px;
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text2);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--red);
  border-radius: 1px;
  transition: width var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 60%; }

.nav-cta {
  display: flex; align-items: center; gap: 14px;
  flex-shrink: 0;
}
.btn-contact {
  padding: 10px 22px;
  border: 1.5px solid var(--red);
  border-radius: 8px;
  color: var(--white);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: transparent;
  transition: background var(--transition), color var(--transition);
}
.btn-contact:hover { background: var(--red); }

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

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  padding: 24px 5% 32px;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  flex-direction: column; gap: 8px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 14px 0;
  font-size: 1rem; font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text2); letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--red); }

/* =============================================
   CIRCUIT BACKGROUND
============================================= */
.circuit-bg {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.circuit-bg svg {
  position: absolute; width: 100%; height: 100%;
  opacity: 0.12;
}
.circuit-glow {
  position: absolute; pointer-events: none;
}
.circuit-glow-1 {
  top: -20%; right: -10%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,25,44,0.15) 0%, transparent 70%);
}
.circuit-glow-2 {
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,25,44,0.08) 0%, transparent 70%);
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative;
  padding: calc(var(--nav-h) + 60px) 5% 80px;
  overflow: hidden;
}
.hero-inner {
  position: relative; z-index: 1;
  width: 100%; max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px; align-items: center; gap: 60px;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red-dim);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 16px; margin-bottom: 28px;
  font-size: 0.75rem; font-weight: 600;
  color: var(--red); letter-spacing: 0.1em; text-transform: uppercase;
  position: relative; overflow: hidden;
  box-shadow: 0 0 15px rgba(232,25,44,0.1);
  animation: float-tag 4s ease-in-out infinite;
}
.hero-tag::before {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,25,44,0.4), transparent);
  transform: skewX(-20deg);
  animation: shine-tag 3s infinite 1s;
}
@keyframes float-tag {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 15px rgba(232,25,44,0.1); }
  50% { transform: translateY(-3px); box-shadow: 0 0 25px rgba(232,25,44,0.25); }
}
@keyframes shine-tag { 0% { left: -100%; } 20%, 100% { left: 200%; } }
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; color: var(--white);
  margin-bottom: 24px;
}
.hero-title .red { color: var(--red); }
.hero-title .outline {
  -webkit-text-stroke: 2px rgba(255,255,255,0.25);
  color: transparent;
}

.hero-subtitle {
  font-size: 1.05rem; color: var(--text2);
  margin-bottom: 40px; max-width: 520px;
  line-height: 1.7;
}

.hero-btns {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 56px;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--red);
  color: #fff; font-weight: 700;
  font-size: 0.88rem; letter-spacing: 0.06em;
  text-transform: uppercase; border-radius: 10px;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--red-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  padding: 14px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text); font-weight: 600;
  font-size: 0.88rem; letter-spacing: 0.05em;
  text-transform: uppercase; border-radius: 10px;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover {
  border-color: var(--red); color: var(--red);
  background: var(--red-dim);
}

.hero-stats {
  display: flex; gap: 36px;
}
.hero-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 800; color: var(--white);
  letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.75rem; color: var(--text2);
  line-height: 1.4; margin-top: 2px;
}

/* Badge */
.hero-badge {
  display: flex; align-items: center; justify-content: center;
}
.badge-ring {
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 2px solid var(--border);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: badge-spin 20s linear infinite;
}
.badge-ring::before {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px dashed rgba(232,25,44,0.3);
  animation: badge-spin-reverse 15s linear infinite;
}
@keyframes badge-spin { to { transform: rotate(360deg); } }
@keyframes badge-spin-reverse { to { transform: rotate(-360deg); } }

.badge-inner {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  animation: badge-counter-spin 20s linear infinite;
  box-shadow: 0 0 60px rgba(232,25,44,0.15);
}
@keyframes badge-counter-spin { to { transform: rotate(-360deg); } }

.badge-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem; font-weight: 900;
  color: var(--red); line-height: 1;
}
.badge-years {
  font-size: 0.65rem; font-weight: 700;
  color: var(--text2); letter-spacing: 0.1em;
  text-transform: uppercase; margin-top: 2px;
}
.badge-name {
  font-size: 0.6rem; font-weight: 600;
  color: var(--red); letter-spacing: 0.12em;
  text-transform: uppercase; margin-top: 6px;
}
.badge-since {
  font-size: 0.58rem; color: var(--text3);
  letter-spacing: 0.08em;
}

/* Orbit dots */
.badge-orbit {
  position: absolute; inset: 0;
  animation: badge-counter-spin 20s linear infinite;
}
.badge-orbit-dot {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px var(--red-glow);
}
.badge-orbit-dot.d1 { top: -4px; left: 50%; transform: translateX(-50%); }
.badge-orbit-dot.d2 { bottom: -4px; left: 50%; transform: translateX(-50%); }
.badge-orbit-dot.d3 { left: -4px; top: 50%; transform: translateY(-50%); }
.badge-orbit-dot.d4 { right: -4px; top: 50%; transform: translateY(-50%); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0.5; z-index: 1;
  animation: float-ud 2s ease-in-out infinite;
}
@keyframes float-ud { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }
.scroll-indicator span {
  font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text2);
}
.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--red), transparent);
}

/* =============================================
   SECTION COMMONS
============================================= */
section { padding: 100px 5%; }

.section-inner { max-width: 1300px; margin: 0 auto; }

.section-header {
  text-align: center; margin-bottom: 64px;
}
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.section-label::before, .section-label::after {
  content: ''; flex: 1; height: 1px; width: 40px;
  background: var(--red); opacity: 0.4;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 800; letter-spacing: -0.02em;
  color: var(--white); line-height: 1.15;
}
.section-title span { color: var(--red); }

.section-desc {
  margin-top: 16px;
  font-size: 1rem; color: var(--text2); max-width: 580px;
  margin-left: auto; margin-right: auto;
}

/* =============================================
   SERVICES SECTION
============================================= */
.services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 40px 32px 36px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(232,25,44,0.07) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 70px; height: 70px;
  background: var(--red-dim);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
  font-size: 1.8rem; color: var(--red);
  transition: background var(--transition), box-shadow var(--transition);
}
.service-card:hover .service-icon {
  background: rgba(232,25,44,0.22);
  box-shadow: 0 0 30px rgba(232,25,44,0.25);
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--white); margin-bottom: 12px;
  letter-spacing: -0.01em; text-transform: uppercase;
}

.service-desc {
  font-size: 0.88rem; color: var(--text2); line-height: 1.7;
  margin-bottom: 28px;
}

.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.06em; text-transform: uppercase;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

.service-number {
  position: absolute; top: 24px; right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(232,25,44,0.06);
  line-height: 1; user-select: none;
}

.services-cta {
  text-align: center; margin-top: 52px;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about {
  display: flex; align-items: center;
}
.about .section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-wrap {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 32px 80px rgba(0,0,0,0.6);
  position: relative;
}
.about-img-wrap img { width: 100%; height: 400px; object-fit: cover; }
.about-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(232,25,44,0.15));
}

.about-badge-float {
  position: absolute; top: -20px; right: -20px;
  background: var(--red);
  border-radius: 12px;
  padding: 18px 24px; text-align: center;
  box-shadow: 0 16px 40px rgba(232,25,44,0.4);
}
.about-badge-float .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem; font-weight: 900; color: #fff; line-height: 1;
}
.about-badge-float .lbl {
  font-size: 0.7rem; font-weight: 600; color: rgba(255,255,255,0.8);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}

.about-content .section-header { text-align: left; margin-bottom: 28px; }
.about-content .section-header .section-label { justify-content: flex-start; }

.about-text {
  font-size: 0.95rem; color: var(--text2);
  line-height: 1.8; margin-bottom: 32px;
}
.about-text strong { color: var(--text); font-weight: 600; }

.about-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 36px;
}
.about-feature {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px; padding: 16px;
  transition: border-color var(--transition);
}
.about-feature:hover { border-color: var(--border); }
.about-feature-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--red-dim); color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.about-feature-title {
  font-weight: 700; font-size: 0.85rem; color: var(--text); margin-bottom: 2px;
}
.about-feature-sub { font-size: 0.78rem; color: var(--text2); }

/* =============================================
   STATS SECTION
============================================= */
.stats {
  background: var(--red);
  padding: 60px 5%;
}
.stats-inner {
  max-width: 1300px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; text-align: center;
}
.stat-item {
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem; font-weight: 900; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
}
.stat-lbl {
  font-size: 0.82rem; color: rgba(255,255,255,0.7);
  margin-top: 8px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.stat-icon {
  font-size: 1.4rem; color: rgba(255,255,255,0.4); margin-bottom: 12px;
}

/* =============================================
   PORTFOLIO SECTION
============================================= */
.portfolio { background: var(--bg2); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 1;
  cursor: pointer;
}
.portfolio-card.tall { grid-row: span 2; aspect-ratio: auto; }
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; flex-direction: column;
  justify-content: flex-end; padding: 24px;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-cat {
  font-size: 0.7rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 6px;
}
.portfolio-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: #fff;
}

.portfolio-cta { text-align: center; margin-top: 48px; }

/* =============================================
   WHY CHOOSE US
============================================= */
.why { background: var(--bg); }

.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.why-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius); padding: 36px 28px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--border);
}
.why-num {
  position: absolute; top: 16px; right: 20px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(232,25,44,0.05); line-height: 1;
}
.why-icon {
  font-size: 2rem; color: var(--red); margin-bottom: 20px;
}
.why-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.why-desc { font-size: 0.88rem; color: var(--text2); line-height: 1.7; }

/* =============================================
   CLIENTS SECTION
============================================= */
.clients { background: #0d0f20; padding: 70px 5%; }

.clients-track-outer { overflow: hidden; margin-top: 48px; }
.clients-track {
  display: flex; gap: 40px;
  animation: scroll-track 25s linear infinite;
  width: max-content;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes scroll-track { to { transform: translateX(-50%); } }

.client-logo {
  min-width: 160px; height: 80px;
  background: #1b1f3a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 20px;
  filter: grayscale(0.3) brightness(0.85);
  transition: filter var(--transition), background var(--transition), box-shadow var(--transition);
}
.client-logo:hover {
  filter: grayscale(0) brightness(1);
  background: #252a50;
  box-shadow: 0 4px 20px rgba(232,25,44,0.15);
}
.client-logo img { width: 100%; height: 100%; object-fit: contain; }

/* =============================================
   CONTACT SECTION
============================================= */
.contact { background: var(--bg); }

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}

.contact-info-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--white); margin-bottom: 20px;
}
.contact-info-desc { color: var(--text2); line-height: 1.75; margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
}
.contact-item-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--red-dim); border: 1px solid var(--border);
  color: var(--red); font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-label {
  font-size: 0.72rem; font-weight: 700;
  color: var(--text3); text-transform: uppercase;
  letter-spacing: 0.1em; margin-bottom: 4px;
}
.contact-item-value {
  font-size: 0.95rem; color: var(--text); font-weight: 500;
}
.contact-socials { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text2); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-btn:hover {
  background: var(--red-dim); color: var(--red); border-color: var(--border);
}

/* Contact form */
.contact-form {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.78rem; font-weight: 600;
  color: var(--text2); margin-bottom: 8px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 12px 16px;
  color: var(--text); font-family: inherit; font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
  resize: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 120px; }

.form-group input[type="file"] { padding: 8px 12px; }
.form-group input[type="file"]::file-selector-button {
  margin-right: 16px; padding: 6px 14px;
  background: var(--surface2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; color: var(--text);
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.form-group input[type="file"]::file-selector-button:hover {
  background: var(--red); border-color: var(--red); color: #fff;
}

/* =============================================
   PAGE HERO (inner pages)
============================================= */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 5% 60px;
  background: var(--bg2); position: relative; overflow: hidden;
}
.page-hero-inner {
  max-width: 1300px; margin: 0 auto;
  position: relative; z-index: 1;
}
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: var(--text3); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text2); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }
.page-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800;
  color: var(--white); letter-spacing: -0.02em;
  line-height: 1.1; margin-bottom: 16px;
}
.page-hero-title span { color: var(--red); }
.page-hero-desc {
  font-size: 1rem; color: var(--text2); max-width: 560px; line-height: 1.7;
}

/* =============================================
   FOOTER
============================================= */
#footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 5% 32px;
}
.footer-inner { max-width: 1300px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand p {
  font-size: 0.88rem; color: var(--text2); margin-top: 16px; line-height: 1.7;
  max-width: 300px;
}
.footer-brand .nav-brand { margin-bottom: 12px; }
.footer-col-title {
  font-size: 0.72rem; font-weight: 700;
  color: var(--text3); text-transform: uppercase;
  letter-spacing: 0.12em; margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 0.88rem; color: var(--text2);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--red); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy {
  font-size: 0.82rem; color: var(--text3);
}
.footer-copy span { color: var(--red); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a {
  font-size: 0.82rem; color: var(--text3);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--red); }

/* =============================================
   CARRIÈRE PAGE
============================================= */
.jobs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }

.job-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 32px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  transition: border-color var(--transition), transform var(--transition);
}
.job-card:hover { border-color: var(--border); transform: translateX(4px); }
.job-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.job-tag {
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.job-tag.red { background: var(--red-dim); color: var(--red); }
.job-tag.gray { background: rgba(255,255,255,0.05); color: var(--text2); }
.job-title { font-family: 'Space Grotesk', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--white); }

.apply-form {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); padding: 48px;
  margin-top: 60px;
}
.apply-form-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem; font-weight: 800; color: var(--white);
  margin-bottom: 32px;
}

/* =============================================
   SERVICES PAGE FULL
============================================= */
.services-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-full-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.service-full-card:hover { transform: translateY(-6px); border-color: var(--border); }
.service-full-img { height: 200px; overflow: hidden; position: relative; }
.service-full-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-full-card:hover .service-full-img img { transform: scale(1.08); }
.service-full-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, transparent 60%);
}
.service-full-body { padding: 28px 28px 32px; }
.service-full-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--red-dim); border: 1px solid var(--border);
  color: var(--red); font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-full-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--white);
  margin-bottom: 10px; text-transform: uppercase;
}
.service-full-desc { font-size: 0.88rem; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.service-full-features { list-style: none; }
.service-full-features li {
  padding: 6px 0; font-size: 0.83rem; color: var(--text2);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; gap: 10px;
}
.service-full-features li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red); flex-shrink: 0;
}

/* =============================================
   RÉALISATIONS PAGE
============================================= */
.portfolio-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text2); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red); color: #fff; border-color: var(--red);
}

.portfolio-full-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-full-item {
  border-radius: var(--radius); overflow: hidden;
  position: relative; cursor: pointer; aspect-ratio: 1;
}
.portfolio-full-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-full-item:hover img { transform: scale(1.08); }
.portfolio-full-overlay {
  position: absolute; inset: 0;
  background: rgba(10,10,15,0.85);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
}
.portfolio-full-item:hover .portfolio-full-overlay { opacity: 1; }
.portfolio-full-overlay .por-cat {
  font-size: 0.7rem; color: var(--red); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 10px;
}
.portfolio-full-overlay .por-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: #fff; text-align: center;
  margin-bottom: 16px;
}
.por-view-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 90vh;
  border-radius: 8px; object-fit: contain;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1.3rem; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--red); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  font-size: 1.2rem; cursor: pointer; border: none;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--red); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* =============================================
   A PROPOS PAGE
============================================= */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 44px; }
.timeline::before {
  content: '';
  position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red), transparent);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -36px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 16px var(--red-glow);
  border: 2px solid var(--bg2);
}
.timeline-year {
  font-size: 0.72rem; font-weight: 700; color: var(--red);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.timeline-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 8px;
}
.timeline-desc { font-size: 0.88rem; color: var(--text2); line-height: 1.7; }

/* =============================================
   CONTACT PAGE
============================================= */
.contact-page .contact-grid {
  grid-template-columns: 1fr 1.3fr;
}

/* =============================================
   UTILITY
============================================= */
.text-red { color: var(--red); }
.text-dim { color: var(--text2); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-24 { margin-bottom: 24px; }
.text-center { text-align: center; }

/* Animate on scroll */
[data-aos] {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].aos-in {
  opacity: 1; transform: translateY(0);
}
[data-aos="fade-left"] { transform: translateX(-30px); }
[data-aos="fade-left"].aos-in { transform: translateX(0); }
[data-aos="fade-right"] { transform: translateX(30px); }
[data-aos="fade-right"].aos-in { transform: translateX(0); }

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .services-full-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-badge { display: none; }
  .about .section-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-full-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card.tall { grid-row: auto; aspect-ratio: 1; }
}
@media (max-width: 768px) {
  section { padding: 70px 5%; }
  .nav-links { display: none; }
  .btn-contact { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .services-full-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .apply-form { padding: 28px 20px; }
}
@media (max-width: 540px) {
  .portfolio-grid, .portfolio-full-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .about-features { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   WHATSAPP FLOATING BUTTON
============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999999 !important;
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
  color: #fff;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid #25d366;
  border-radius: 50%;
  animation: wa-pulse 2s infinite;
  opacity: 0;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}
