/* =========================================================
   SmartVision Congo — Styles principaux
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.021em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
p { color: var(--color-text); }
.text-accent { color: var(--color-accent); }
.text-gradient { color: var(--color-accent); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.wide { max-width: var(--container-wide); }
.section { padding-block: var(--section-y); position: relative; }
.section.surface { background: var(--color-surface); }
.section.dark { background: var(--gradient-hero); color: rgba(255,255,255,0.82); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--color-accent);
  display: inline-block;
}
.section-head.center .eyebrow { justify-content: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--color-text-soft); margin-top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.012em;
  padding: 0.95rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--color-accent-600);
  color: #fff;
  box-shadow: var(--shadow-inset), 0 6px 18px rgba(16, 0, 24, 0.12);
}
.btn-primary:hover {
  background: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-inset), 0 14px 30px rgba(16, 0, 24, 0.18);
}
.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow-inset), 0 4px 12px rgba(16, 0, 24, 0.14); }
.btn-dark {
  background: var(--color-primary);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-inset), 0 6px 18px rgba(16, 0, 24, 0.14);
}
.btn-dark:hover { transform: translateY(-2px); background: var(--color-primary-500); box-shadow: var(--shadow-inset), 0 14px 30px rgba(16, 0, 24, 0.2); }
.btn-dark:active { transform: translateY(0); }
.btn-ghost {
  background: var(--color-bg);
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
/* Variante sur fond sombre (hero, bandes, sections dark) */
.hero .btn-ghost,
.page-hero .btn-ghost,
.section.dark .btn-ghost,
.cta-band .btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(6px);
}
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.section.dark .btn-ghost:hover,
.cta-band .btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.section.dark .btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); background: rgba(255, 110, 0, 0.08); }
.btn-lg { padding: 1.1rem 2.2rem; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--color-accent);
  transition: gap var(--t) var(--ease);
}
.link-arrow:hover { gap: 0.85rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease), height var(--t) var(--ease);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 1px 0 var(--hairline), 0 10px 30px rgba(32, 2, 51, 0.06);
  height: 72px;
}
.brand img { height: 46px; width: auto; transition: height var(--t) var(--ease); }
.site-header.scrolled .brand img { height: 40px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.95rem;
  color: #fff;
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--t) var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width var(--t) var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--color-accent); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.site-header.scrolled .main-nav a { color: var(--color-primary); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a[aria-current="page"] { color: var(--color-accent); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-socials { display: flex; gap: 0.4rem; }
.header-socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--t) var(--ease);
}
.header-socials a:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-2px); }
.site-header.scrolled .header-socials a { color: var(--color-primary); border-color: var(--color-border); }
.site-header.scrolled .header-socials a:hover { color: #fff; background: var(--color-accent); border-color: var(--color-accent); }
.header-socials svg { width: 17px; height: 17px; }

/* Burger */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 12px;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 11px; right: 11px; height: 2px;
  background: #fff;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease), background var(--t) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.site-header.scrolled .nav-toggle span { background: var(--color-primary); }
body.nav-open .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: rgba(255,255,255,0.85);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.22; filter: saturate(1.1);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,0,31,0.4) 0%, rgba(20,0,31,0.85) 100%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}
.hero-orb.a { width: 420px; height: 420px; background: rgba(255,110,0,0.4); top: -120px; right: -80px; }
.hero-orb.b { width: 360px; height: 360px; background: rgba(120,40,200,0.45); bottom: -120px; left: -100px; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 880px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-ui); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--color-accent-300);
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  margin-bottom: 1.8rem;
  backdrop-filter: blur(8px);
}
.hero h1 { color: #fff; margin-bottom: 1.5rem; }
.hero h1 .rotator {
  display: inline-block;
  color: var(--color-accent);
  position: relative;
}
.hero p { font-size: clamp(1.05rem, 1.8vw, 1.35rem); max-width: 620px; color: rgba(255,255,255,0.8); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-meta .num { font-family: var(--font-heading); font-weight: 700; font-size: 2rem; color: #fff; }
.hero-meta .lbl { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,0.6);
  font-family: var(--font-ui); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero-scroll .mouse {
  width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.4); border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 4px; background: var(--color-accent);
  animation: scrollDot 1.6s var(--ease) infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 80% { opacity: 0; top: 18px; } 100% { opacity: 0; } }

/* ---------- Page hero (interieures) ---------- */
.page-hero {
  background: var(--gradient-hero);
  color: #fff;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
  padding-bottom: clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero .hero-orb.a { width: 360px; height: 360px; top: -100px; right: -60px; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 640px; margin-top: 1rem; }
.breadcrumb {
  display: flex; gap: 0.5rem; align-items: center;
  font-family: var(--font-ui); font-size: 0.85rem;
  color: rgba(255,255,255,0.6); margin-bottom: 1.2rem;
}
.breadcrumb a:hover { color: var(--color-accent); }

/* ---------- Grilles generiques ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }

/* ---------- Cartes services ---------- */
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  position: relative;
  overflow: hidden;
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
  height: 100%;
}
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--hairline); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius);
  display: grid; place-items: center;
  background: var(--color-surface);
  color: var(--color-accent);
  margin-bottom: 1.4rem;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), transform var(--t) var(--ease);
}
.service-card:hover .service-icon { background: var(--color-accent); color: #fff; transform: rotate(-4deg) scale(1.04); }
.service-icon svg, .service-icon img { width: 32px; height: 32px; }
.service-card h3 { margin-bottom: 0.7rem; font-size: 1.3rem; }
.service-card p { font-size: 0.96rem; }
.service-num {
  position: absolute; top: 1.4rem; right: 1.6rem;
  font-family: var(--font-heading); font-weight: 700; font-size: 2.4rem;
  color: var(--color-surface-2); line-height: 1;
}

/* ---------- Bloc image + texte ---------- */
.media-stack { position: relative; }
.media-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.media-stack .badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--color-bg); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.9rem;
}
.media-stack .badge .n { font-family: var(--font-heading); font-weight: 700; font-size: 1.8rem; color: var(--color-accent); }
.media-stack .badge .t { font-size: 0.82rem; color: var(--color-text-soft); line-height: 1.3; }
.media-frame { position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--color-accent); border-radius: var(--radius-lg); z-index: -1; }

/* ---------- Clients ---------- */
.clients { padding-block: clamp(2.5rem, 5vw, 4rem); }
.clients-track-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.clients-track { display: flex; gap: 3.5rem; width: max-content; animation: marquee 32s linear infinite; }
.clients-track img { height: 54px; width: auto; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity var(--t), filter var(--t); }
.clients-track img:hover { opacity: 1; filter: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats / compteurs ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.stat { text-align: center; }
.stat .value {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat .value .suffix { color: var(--color-accent); }
.stat .label { margin-top: 0.7rem; font-family: var(--font-ui); font-size: 0.95rem; color: rgba(255,255,255,0.7); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); counter-reset: step; }
.process-step {
  position: relative;
  padding: 2.2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-step .step-n {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-primary); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-inset), 0 6px 16px rgba(32, 2, 51, 0.14);
  margin-bottom: 1.3rem;
}
.process-step h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.process-step p { font-size: 0.92rem; }
.process-grid .process-step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.2rem; right: -1rem;
  width: 2rem; height: 2px; background: var(--color-border);
}

/* ---------- Portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.8rem; }
.filter-btn {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.01em;
  padding: 0.6rem 1.4rem; border-radius: var(--radius-pill);
  color: var(--color-primary); background: var(--color-bg);
  border: 1px solid var(--color-border);
  transition: color var(--t) var(--ease), background var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.filter-btn:hover { color: var(--color-accent); border-color: rgba(255, 110, 0, 0.45); transform: translateY(-1px); }
.filter-btn.active { background: var(--color-primary); border-color: var(--color-primary); color: #fff; box-shadow: 0 8px 20px rgba(32, 2, 51, 0.16); }

.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.project {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-primary);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.project img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), opacity var(--t);
}
.project:hover { box-shadow: var(--shadow-lg); }
.project:hover img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(32,2,51,0) 30%, rgba(32,2,51,0.88) 100%);
  opacity: 0; transform: translateY(12px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.project:hover .project-overlay { opacity: 1; transform: translateY(0); }
.project-cat {
  font-family: var(--font-ui); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-accent-300); margin-bottom: 0.35rem;
}
.project-title { color: #fff; font-size: 1.25rem; font-weight: 700; font-family: var(--font-heading); }
.project-actions { display: flex; gap: 0.6rem; margin-top: 1rem; }
.project-actions a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.14); color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--t) var(--ease);
}
.project-actions a:hover { background: var(--color-accent); border-color: var(--color-accent); }
.project-actions svg { width: 18px; height: 18px; }
.project.is-hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16,0,24,0.92);
  display: grid; place-items: center;
  padding: 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-caption { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--font-ui); }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem;
  transition: background var(--t);
}
.lightbox-close:hover { background: var(--color-accent); }

/* ---------- Portfolio vidéo (YouTube) ---------- */
.video-showcase { overflow: hidden; }
.video-showcase .hero-orb.b { width: 420px; height: 420px; left: -160px; bottom: -160px; opacity: 0.32; }
.video-showcase .section-head.center .lead { color: rgba(255,255,255,0.75); margin-inline: auto; }
.video-showcase .eyebrow { color: var(--color-accent-300); }
.video-showcase .eyebrow::before { background: var(--color-accent-300); }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }

.video-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.video-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,110,0,0.5);
  box-shadow: 0 28px 64px rgba(0,0,0,0.45);
}

.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-dark);
  border: 0;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform 0.8s var(--ease), opacity var(--t) var(--ease); }
.video-card:hover .video-thumb img { transform: scale(1.05); opacity: 1; }
.video-thumb::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,0,24,0.05) 40%, rgba(16,0,24,0.55) 100%);
}

.video-play {
  position: absolute; top: 50%; left: 50%; z-index: 2;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--color-accent-600);
  color: #fff;
  box-shadow: var(--shadow-inset), 0 10px 26px rgba(16, 0, 24, 0.28);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-play::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 2px solid rgba(255,110,0,0.55);
  animation: playPulse 2.4s var(--ease) infinite;
}
@keyframes playPulse {
  0% { transform: scale(0.9); opacity: 0.85; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}
.video-thumb:hover .video-play, .video-thumb:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: var(--shadow-inset), 0 16px 34px rgba(16, 0, 24, 0.34);
}

.video-duration {
  position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 2;
  font-family: var(--font-ui); font-weight: 600; font-size: 0.78rem;
  padding: 0.28rem 0.62rem; border-radius: var(--radius-sm);
  background: rgba(16,0,24,0.8); color: #fff; letter-spacing: 0.02em;
}

.video-meta { padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1.15rem, 2vw, 1.7rem) clamp(1.35rem, 2vw, 1.8rem); }
.video-client {
  font-family: var(--font-ui); font-weight: 600; font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-accent-300);
}
.video-meta h3 { color: #fff; font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.3; margin: 0.5rem 0 0.6rem; }
.video-meta p { color: rgba(255,255,255,0.68); font-size: 0.94rem; }

.video-channel {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.6rem;
  margin-top: clamp(2.2rem, 4vw, 3.2rem);
  text-align: center;
}
.video-channel-note { font-family: var(--font-ui); font-size: 0.9rem; color: rgba(255,255,255,0.62); }

.video-showcase .video-subhead {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: none;
  color: #fff;
  margin: 0 0 1.6rem;
}
.video-showcase .video-subhead::before {
  content: "";
  flex: none;
  width: 30px; height: 3px; border-radius: 2px;
  background: var(--color-accent);
}
.video-showcase .video-subhead::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.video-grid + .video-subhead { margin-top: clamp(2.8rem, 4.5vw, 3.8rem); }

/* Lecteur vidéo plein écran */
.video-modal {
  position: fixed; inset: 0; z-index: 210;
  background: rgba(10,0,16,0.94);
  display: grid; place-items: center;
  padding: 5vw;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t) var(--ease), visibility var(--t);
}
.video-modal.open { opacity: 1; visibility: visible; }
.video-modal-inner { width: min(1100px, 92vw); }
.video-embed {
  position: relative; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }
.video-modal-caption { color: #fff; text-align: center; margin-top: 1rem; font-family: var(--font-ui); font-size: 0.95rem; }
.video-modal-close {
  position: absolute; top: 24px; right: 28px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem;
  transition: background var(--t);
}
.video-modal-close:hover { background: var(--color-accent); }

/* ---------- Equipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.team-card { text-align: center; }
.team-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 3.4;
  background: var(--color-surface-2);
  box-shadow: var(--shadow-sm);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter var(--t); filter: grayscale(0.15); }
.team-card:hover .team-photo img { transform: scale(1.06); filter: none; }
.team-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(32,2,51,0.55) 100%);
  opacity: 0; transition: opacity var(--t);
}
.team-card:hover .team-photo::after { opacity: 1; }
.team-name { margin-top: 1.1rem; font-size: 1.15rem; color: var(--color-primary); font-weight: 600; font-family: var(--font-heading); }
.team-role { font-family: var(--font-ui); font-size: 0.88rem; color: var(--color-accent); margin-top: 0.25rem; }

/* ---------- Valeurs / vision ---------- */
.value-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--color-border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  height: 100%;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .vc-icon { width: 56px; height: 56px; border-radius: var(--radius); display: grid; place-items: center; background: var(--color-primary); color: #fff; border: 1px solid rgba(255,255,255,0.08); box-shadow: var(--shadow-inset), 0 6px 16px rgba(32, 2, 51, 0.12); margin-bottom: 1.2rem; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }

.vm-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  color: #fff;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-inset), 0 14px 34px rgba(32, 2, 51, 0.12);
}
.vm-card.vision { background: var(--color-primary); }
.vm-card.mission { background: var(--color-accent-600); }
.vm-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 0.8rem; }
.vm-card p { color: rgba(255,255,255,0.9); font-size: 1.05rem; }
.vm-card .vm-ico { font-size: 2rem; margin-bottom: 1rem; opacity: 0.9; }

/* ---------- Marquee texte ---------- */
.text-marquee { background: var(--color-primary); color: #fff; padding-block: 1.6rem; overflow: hidden; }
.text-marquee .tm-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 26s linear infinite; }
.text-marquee span { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.4rem); display: inline-flex; align-items: center; gap: 2.5rem; }
.text-marquee span::after { content: "•"; color: var(--color-accent); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2rem); }
.post-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-thumb { aspect-ratio: 16 / 11; overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 1.5rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.post-tag { font-family: var(--font-ui); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.7rem; }
.post-card h3 { font-size: 1.18rem; line-height: 1.3; margin-bottom: 1rem; }
.post-card .link-arrow { margin-top: auto; }

/* ---------- Article ---------- */
.article { max-width: 820px; margin-inline: auto; }
.article p { margin-bottom: 1.3rem; font-size: 1.08rem; line-height: 1.8; }
.article h2 { margin: 2.4rem 0 1rem; }
.article h3 { margin: 1.8rem 0 0.8rem; }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.article ul.bullets { margin: 0 0 1.4rem; padding-left: 0; }
.article ul.bullets li { position: relative; padding-left: 1.8rem; margin-bottom: 0.7rem; font-size: 1.05rem; }
.article ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; border-radius: 50%; background: var(--color-accent); }
.article-meta { display: flex; gap: 1.2rem; align-items: center; font-family: var(--font-ui); font-size: 0.85rem; color: var(--color-text-soft); margin-bottom: 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); }
.contact-cards { display: grid; gap: 1rem; margin-bottom: 2rem; }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.3rem 1.4rem; border-radius: var(--radius);
  background: var(--color-bg); border: 1px solid var(--color-border);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .cc-icon { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--color-surface); color: var(--color-accent); display: grid; place-items: center; }
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-heading); color: var(--color-primary); font-size: 1.02rem; margin-bottom: 0.2rem; }
.contact-card p, .contact-card a { font-size: 0.95rem; color: var(--color-text); }
.contact-card a:hover { color: var(--color-accent); }

.form-field { margin-bottom: 1.1rem; }
.form-field label { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 0.85rem; color: var(--color-primary); margin-bottom: 0.45rem; }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.95rem 1.1rem;
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-bg); color: var(--color-primary);
  transition: border-color var(--t), box-shadow var(--t);
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(255,110,0,0.12); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-card { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: var(--font-ui);
  line-height: 1.45;
}
.form-status.is-success { background: rgba(255, 110, 0, 0.1); color: var(--color-accent-600); border: 1px solid rgba(255, 110, 0, 0.25); }
.form-status.is-error { background: rgba(200, 30, 30, 0.08); color: #c0392b; border: 1px solid rgba(200, 30, 30, 0.22); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
  color: #fff;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; background: rgba(255,110,0,0.16); filter: blur(90px); top: -160px; right: -80px; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 140% at 50% 0%, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 60%); pointer-events: none; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 1rem auto 0; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-dark); color: rgba(255,255,255,0.7); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 50px; margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.95rem; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 1.2rem; font-family: var(--font-heading); }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.95rem; transition: color var(--t); }
.footer-col a:hover { color: var(--color-accent); }
.footer-contact li { display: flex; gap: 0.7rem; margin-bottom: 0.9rem; font-size: 0.95rem; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--color-accent); flex: none; margin-top: 2px; }
.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.footer-socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; transition: all var(--t); }
.footer-socials a:hover { background: var(--color-accent); transform: translateY(-3px); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-block: 1.8rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ---------- Animations reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); }
.no-gsap [data-reveal] { opacity: 1; transform: none; }

/* ---------- Mobile menu panel ---------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 110;
  background: var(--gradient-hero);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  visibility: hidden;
}
body.nav-open .mobile-nav { transform: translateX(0); visibility: visible; }
.mobile-nav a { color: #fff; font-family: var(--font-heading); font-weight: 600; font-size: 1.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); transition: color var(--t), padding-left var(--t); }
.mobile-nav a:hover { color: var(--color-accent); padding-left: 0.6rem; }
.mobile-nav .btn { margin-top: 1.8rem; align-self: flex-start; }
.mobile-nav .header-socials { margin-top: 2rem; }
.mobile-nav .header-socials a { width: 44px; height: 44px; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.muted { color: var(--color-text-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid .process-step::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid, .team-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .main-nav, .header-socials.desktop { display: none; }
  .nav-toggle { display: block; }
  .header-cta.desktop { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .media-frame { display: none; }
  .video-grid { grid-template-columns: 1fr; }
  .video-play { width: 68px; height: 68px; }
  .video-play svg { width: 24px; height: 24px; }
}
@media (max-width: 620px) {
  .portfolio-grid, .team-grid, .post-grid, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 1.5rem; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .clients-track, .tm-track { animation: none !important; }
}
