/* ═══════════════════════════════════════════════
   EASIFY - Design System
   Architecture : HTML/CSS/JS natif, sans framework
   ═══════════════════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-2);
  line-height: 1.65;
  overflow-x: clip;
}

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ── 2. TOKENS ────────────────────────────────── */
:root {
  --bg: #08080f;
  --bg-alt: #0c0c1a;
  --card: #0f0f20;
  --card-2: #131330;

  --purple: #7c3aed;
  --purple-mid: #9b5cf0;
  --purple-light: #c39fff;
  --purple-pale: rgba(195, 159, 255, 0.08);
  --purple-border: rgba(195, 159, 255, 0.18);
  --purple-border2: rgba(195, 159, 255, 0.35);
  --purple-glow: rgba(124, 58, 237, 0.18);

  --white: #fff;
  --text-1: #f0eeff;
  --text-2: #94a3b8;
  --text-3: #64748b;
  --border: rgba(255, 255, 255, 0.07);
  --border-2: rgba(255, 255, 255, 0.12);

  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --r-sm: 8px;
  --r: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --max-w: 1280px;
  --px: 24px;
  --shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  --glow: 0 0 40px rgba(124, 58, 237, 0.25);
}

/* ── 3. TYPOGRAPHY ────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--text-1);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 700;
}

h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

p {
  line-height: 1.7;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  padding: 4px 14px;
  margin-bottom: 1em;
  border-radius: 100px;
}

/* ── 4. LAYOUT ────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.section-header h2 {
  margin-top: 14px;
}

.section-header p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-top: 12px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

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

.grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

/* ── 5. COMPONENTS ────────────────────────────── */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: all 0.22s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #6d28d9, var(--purple));
  color: #fff;
  box-shadow: 0 4px 22px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7c3aed, #8b4cf0);
  box-shadow: 0 4px 32px rgba(124, 58, 237, 0.55);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-2);
  color: var(--text-1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--purple-border);
  color: var(--purple-light);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 8px 18px;
  border-radius: 8px;
}

.btn-ghost:hover {
  background: var(--purple-pale);
  border-color: var(--purple-border2);
}

/* Card */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.card:hover {
  border-color: var(--purple-border);
  background: var(--card-2);
}

/* Picto icon box */
.picto {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.picto img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* Pourquoi travailler avec nous */
.why-us {
  background: transparent;
  padding: 0 0 80px;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 20px;
}

.why-us-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
  gap: 16px;
}

.why-us-item .premium-icon {
  margin-bottom: 0;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  position: relative;
}

.why-us-item .premium-icon svg {
  width: 28px;
  height: 28px;
  color: var(--purple-light);
  filter: drop-shadow(0 4px 12px rgba(124, 58, 237, 0.35));
}

.why-us-item h4 {
  color: var(--text-1);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.why-us-item p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid;
}

.tag-purple {
  color: var(--purple-light);
  background: rgba(195, 159, 255, 0.08);
  border-color: rgba(195, 159, 255, 0.22);
}

.tag-blue {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.08);
  border-color: rgba(147, 197, 253, 0.22);
}

.tag-green {
  color: #86efac;
  background: rgba(134, 239, 172, 0.08);
  border-color: rgba(134, 239, 172, 0.22);
}

.tag-pink {
  color: #f9a8d4;
  background: rgba(249, 168, 212, 0.08);
  border-color: rgba(249, 168, 212, 0.22);
}

.tag-amber {
  color: #fcd34d;
  background: rgba(252, 211, 77, 0.08);
  border-color: rgba(252, 211, 77, 0.22);
}

/* Stats row */
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stat-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--purple-light);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Divider */
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ── 6. HEADER ────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}

#header.scrolled {
  background: rgba(8, 8, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

#header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-logo:hover {
  opacity: 0.85;
  transition: opacity 0.2s;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--text-2);
  transition:
    color 0.2s,
    background 0.2s;
}

.header-nav a:hover {
  color: var(--text-1);
  background: rgba(255, 255, 255, 0.05);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Audit pulse indicator */
.audit-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--purple-light);
  border: 1px solid var(--purple-border);
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.audit-btn:hover {
  background: var(--purple-pale);
  border-color: var(--purple-border2);
}

.audit-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  padding: 6px;
  color: var(--text-2);
  transition: color 0.2s;
}

.menu-toggle:hover {
  color: var(--text-1);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 99;
  background: rgba(8, 8, 15, 0.97);
  backdrop-filter: blur(16px);
  flex-direction: column;
  padding: 100px 32px 48px;
  gap: 8px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-2);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--purple-light);
}

.mobile-nav .mobile-ctas {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── 7. HERO ──────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(124, 58, 237, 0.15) 0%,
      transparent 70%);
  top: 10%;
  left: 40%;
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(195, 159, 255, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(195, 159, 255, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 50%,
      #000 60%,
      transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 50%,
      #000 60%,
      transparent 100%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 72fr 28fr;
  align-items: center;
  gap: 32px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--purple-light);
  animation: pulse 2s infinite;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title .accent {
  color: transparent;
  background: linear-gradient(135deg, var(--purple-light), #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(195, 159, 255, 0.05);
  border-left: 2px solid var(--purple-light);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 40px;
}

.hero-trust strong {
  color: var(--text-1);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 0 28px rgba(124, 58, 237, 0.18));
}

/* ── 8. SERVICES ──────────────────────────────── */
#services {
  background: var(--bg);
}

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

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.22s;
}

.service-card:hover {
  border-color: var(--purple-border);
  background: var(--card-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.service-icon img {
  width: 30px;
  height: 30px;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.service-card:hover .service-icon {
  background: rgba(195, 159, 255, 0.15);
}

.service-card:hover .service-icon img {
  opacity: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s;
}

.service-card:hover .service-title {
  color: var(--purple-light);
}

.service-desc {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.6;
  display: none;
}

/* ── 9. TRUST / STATS ─────────────────────────── */
#confiance {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.trust-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent,
      rgba(195, 159, 255, 0.25),
      transparent);
  transition: opacity 0.3s;
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-card:hover {
  border-color: var(--purple-border);
  background: var(--card-2);
}

.trust-card .picto {
  margin-bottom: 20px;
}

.trust-card h4 {
  color: var(--text-1);
  margin-bottom: 8px;
  font-size: 1rem;
}

.trust-card p {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.65;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 48px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: var(--purple-border);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--purple-light));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 6px;
  display: block;
}

.stat-trend {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  display: block;
}

/* ── 10. PROJETS ──────────────────────────────── */
#projets {
  background: var(--bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--purple-border);
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

.project-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.04);
}

.project-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-type {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-1);
}

.project-desc {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: gap 0.2s;
}

.project-link:hover {
  gap: 10px;
}

/* Featured project (last card spans full width) */
.project-card.featured {
  grid-column: 1 / -1;
  flex-direction: row;
}

.project-card.featured .project-img {
  width: 48%;
  aspect-ratio: unset;
  flex-shrink: 0;
}

.project-card.featured .project-body {
  justify-content: center;
}

/* ── 11. EXPERTISES ───────────────────────────── */
#expertises {
  background: var(--bg-alt);
}

.expertises-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 18px;
  transition: border-color 0.2s;
}

.expertise-card:hover {
  border-color: var(--purple-border);
}

.expertise-tag {
  margin-bottom: 10px;
}

.expertise-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
}

/* ── 12. METHODOLOGIE ─────────────────────────── */
#methode {
  background: var(--bg);
}

.timeline {
  max-width: 840px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom,
      var(--purple),
      var(--purple-mid),
      rgba(195, 159, 255, 0.15));
}

.timeline-step {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  cursor: pointer;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--purple-border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-3);
  transition: all 0.25s;
}

.timeline-step.active .timeline-dot {
  background: var(--purple);
  border-color: var(--purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.timeline-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  flex: 1;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.timeline-step.active .timeline-body {
  border-color: var(--purple-border);
  background: var(--card-2);
}

.timeline-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.timeline-picto {
  width: 20px;
  height: 20px;
  opacity: 0.75;
  filter: brightness(0) invert(1);
}

.timeline-badge {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple-light);
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  padding: 2px 10px;
  border-radius: 4px;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
}

.timeline-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.7;
}

.timeline-details {
  margin-top: 14px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: none;
}

.timeline-step.active .timeline-details {
  display: block;
}

.timeline-details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-2);
  margin-bottom: 6px;
}

.timeline-details li::before {
  content: "✓";
  color: #4ade80;
  flex-shrink: 0;
  font-weight: 700;
}

/* ── 13. POURQUOI EASIFY ──────────────────────── */
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.why-args {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.why-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color 0.2s;
}

.why-card:hover {
  border-color: var(--purple-border);
}

.why-card .picto {
  margin-bottom: 14px;
}

.why-card h4 {
  color: var(--text-1);
  margin-bottom: 6px;
  line-height: 1.4;
}

.why-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.65;
}

.why-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.why-illustration {
  display: flex;
  justify-content: center;
}

.why-illustration img {
  width: 100%;
  max-width: 340px;
  opacity: 0.9;
}

.client-types {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
}

.client-types-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.client-types-header span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  display: block;
  margin-bottom: 4px;
}

.client-types-header h3 {
  font-size: 1.1rem;
}

.client-type-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: all 0.2s;
  margin-bottom: 8px;
}

.client-type-item:hover {
  background: var(--card-2);
  border-color: var(--border);
}

.client-type-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--purple-light);
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.client-type-item h4 {
  font-size: 0.9rem;
  color: var(--text-1);
  margin-bottom: 4px;
}

.client-type-item p {
  font-size: 0.78rem;
  color: var(--text-2);
}

/* ── 14. ABOUT / ÉQUIPE ───────────────────────── */
#about {
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.about-illustration {
  display: flex;
  justify-content: center;
}

.about-illustration img {
  width: 100%;
  max-width: 400px;
  opacity: 0.9;
}

.about-text p {
  color: var(--text-2);
  margin-top: 16px;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-pillar {
  display: flex;
  gap: 14px;
}

.about-pillar .picto {
  margin-top: 2px;
}

.about-pillar h4 {
  color: var(--text-1);
  margin-bottom: 4px;
}

.about-pillar p {
  font-size: 0.8rem;
  color: var(--text-2);
  line-height: 1.6;
}

.team-section {
  border-top: 1px solid var(--border);
  padding-top: 64px;
}

.team-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}

.team-header h3 {
  font-size: 1.6rem;
}

.team-header p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-top: 8px;
}

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

.team-card {
  position: relative;
}

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  position: relative;
  cursor: default;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.team-card:hover .team-photo {
  border-color: var(--purple-border2);
  box-shadow: 0 12px 48px rgba(124, 58, 237, 0.22);
}

.team-card:hover .team-photo img {
  transform: scale(1.04);
}

.team-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(8, 8, 15, 0.93) 0%,
      rgba(8, 8, 15, 0.3) 45%,
      transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 18px;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--purple-light);
  margin-top: 5px;
  line-height: 1.45;
}

.team-card.mascot .team-role {
  color: #fcd34d;
}

/* ── 15. TÉMOIGNAGES ──────────────────────────── */
#temoignages {
  background: var(--bg-alt);
}

.testimonials-grid {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right,
      transparent,
      black 5%,
      black 95%,
      transparent);
  mask-image: linear-gradient(to right,
      transparent,
      black 5%,
      black 95%,
      transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: testimonials-scroll 36s linear infinite;
}

.testimonials-track .testimonial-card {
  width: 420px;
  min-width: 420px;
  flex-shrink: 0;
}

.testimonials-track [aria-hidden="true"] {
  display: flex;
}

.testimonials-grid:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: var(--purple-border);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial-text strong {
  color: var(--purple-light);
  font-weight: 700;
}

.testimonial-text::before {
  content: '"';
  color: var(--purple-light);
  font-size: 1.4rem;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 2px;
}

.testimonial-text::after {
  content: '"';
  color: var(--purple-light);
  font-size: 1.4rem;
  line-height: 0;
  vertical-align: -0.3em;
  margin-left: 2px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
  border: 2px solid var(--purple-border);
  background: #f2eeff;
  padding: 4px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-1);
  font-size: 0.9rem;
}

.testimonial-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.testimonial-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--purple-light);
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 4px;
  align-self: flex-start;
}

/* ── 16. FAQ ──────────────────────────────────── */
#faq {
  background: var(--bg);
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-1);
  transition: color 0.2s;
  cursor: pointer;
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--purple-light);
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--purple-light);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  color: var(--text-2);
  font-size: 0.88rem;
  line-height: 1.75;
  padding-bottom: 20px;
}

/* ── 17. CONTACT ──────────────────────────────── */
#contact {
  background: var(--bg-alt);
}

.contact-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}

.contact-left {
  position: sticky;
  top: 100px;
}

.contact-illustration {
  margin-bottom: 32px;
}

.contact-illustration img {
  width: 100%;
  max-width: 300px;
  opacity: 0.9;
}

.contact-left h2 {
  font-size: 1.8rem;
  margin-top: 12px;
  margin-bottom: 12px;
}

.contact-left p {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--purple-pale);
  border: 1px solid var(--purple-border);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon img {
  width: 18px;
  height: 18px;
  opacity: 0.8;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  display: block;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-1);
  display: block;
  margin-top: 2px;
}

.contact-info-value:hover {
  color: var(--purple-light);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  color: var(--text-2);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 12px 16px;
  color: var(--text-1);
  font-size: 0.88rem;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-border2);
  box-shadow: 0 0 0 3px var(--purple-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-3);
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.form-group select option {
  background: var(--card-2);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.form-submit {
  margin-top: 4px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.form-success {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--r);
  padding: 20px 24px;
  color: #4ade80;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-error {
  color: #f87171;
  font-size: 0.8rem;
  text-align: center;
  display: none;
}

.form-error.visible {
  display: block;
}

/* Budget pills */
.budget-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.budget-pill {
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-2);
  background: var(--card);
  cursor: pointer;
  transition: all 0.2s;
}

.budget-pill.selected,
.budget-pill:hover {
  border-color: var(--purple-border2);
  background: var(--purple-pale);
  color: var(--purple-light);
}

/* ── 18. FOOTER ───────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 34px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.83rem;
  color: var(--text-3);
  max-width: 260px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--purple-light);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ── 19. BACK TO TOP (progress circle) ───────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 90;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(12, 12, 26, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  transform: scale(1.1);
}

.btt-progress {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.btt-track {
  fill: none;
  stroke: rgba(195, 159, 255, 0.15);
  stroke-width: 3;
}

.btt-fill {
  fill: none;
  stroke: var(--purple-light);
  stroke-width: 3;
  stroke-dasharray: 125.66;
  stroke-dashoffset: 125.66;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}

.btt-arrow {
  color: var(--text-1);
  font-size: 0.95rem;
  line-height: 1;
  position: relative;
  z-index: 1;
}

/* ── 20. AVANT / APRÈS (slider panels) ──────── */
#avant-apres {
  background: var(--bg-alt);
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  min-height: 340px;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  max-width: 900px;
  margin: 0 auto;
}

.ba-before,
.ba-after {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 48px 40px;
}

.ba-after {
  background: #0b1c12;
}

.ba-before {
  background: #1c0b0b;
  clip-path: inset(0 50% 0 0);
}

.ba-word {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.ba-before .ba-word {
  color: #ef4444;
}

.ba-after .ba-word {
  color: #22c55e;
}

.ba-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 680px;
}

.ba-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ba-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  font-weight: 800;
  line-height: 1;
}

.ba-before .ba-num {
  color: #f87171;
}

.ba-after .ba-num {
  color: #4ade80;
}

.ba-num small {
  font-size: 0.55em;
  font-weight: 500;
  opacity: 0.85;
}

.ba-name {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: rgba(255, 255, 255, 0.38);
  text-align: center;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom,
      transparent,
      var(--purple-light),
      var(--purple-mid),
      var(--purple-light),
      transparent);
  box-shadow:
    0 0 18px var(--purple-glow),
    0 0 34px rgba(195, 159, 255, 0.18);
  z-index: 10;
  pointer-events: none;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%,
      var(--purple-light),
      var(--purple) 62%,
      var(--card) 100%);
  border: 1px solid var(--purple-border2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 6px rgba(195, 159, 255, 0.08),
    0 10px 32px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(124, 58, 237, 0.38);
}

.ba-handle-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── 22. AUDIT CONSOLE (section IA) ──────────── */
#audit {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.audit-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.audit-visual {
  display: flex;
  justify-content: center;
}

.audit-visual img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--r-xl);
}

.audit-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.audit-header {
  text-align: left;
  margin: 0 0 32px;
  max-width: none;
}

.audit-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audit-result {
  margin-top: 28px;
  background: var(--card);
  border: 1px solid var(--purple-border);
  border-radius: var(--r-lg);
  padding: 28px;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.8;
  display: none;
}

.audit-result.visible {
  display: block;
}

.audit-result h3 {
  color: var(--purple-light);
  margin-bottom: 12px;
}

.audit-result strong {
  color: var(--text-1);
}

/* ── 21. RESPONSIVE ───────────────────────────── */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-desc {
    display: block;
  }

  .trust-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .expertises-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) {
  :root {
    --px: 48px;
  }

  section {
    padding: 96px 0;
  }

  .section-header {
    margin-bottom: 64px;
  }

  .why-us {
    padding: 0 0 96px;
  }

  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }

  .header-ctas {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-pillars {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .project-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1023px) {

  .header-nav,
  .header-ctas {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  /* Hero : rocket en déco absolue sur #hero (position: relative + overflow: hidden) */
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    position: relative;
    z-index: 1;
  }

  .hero-visual {
    position: absolute;
    top: 56px;
    right: 0;
    width: 44%;
    max-width: 210px;
    pointer-events: none;
    z-index: 0;
    display: flex;
  }

  .hero-visual img {
    width: 100%;
    opacity: 0.22;
    filter: none;
  }

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

  .about-inner {
    grid-template-columns: 1fr;
  }

  .about-illustration {
    order: -1;
  }

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

  .audit-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .audit-visual {
    order: -1;
  }

  .audit-visual img {
    max-width: 280px;
  }

  .contact-left {
    position: static;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .project-card.featured {
    flex-direction: column;
  }

  .project-card.featured .project-img {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 639px) {
  h1 {
    font-size: 1.9rem;
  }

  .ba-slider {
    min-height: 280px;
  }

  .ba-before,
  .ba-after {
    padding: 28px 20px;
    gap: 24px;
  }

  .ba-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .ba-word {
    font-size: 2.2rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-pillars {
    grid-template-columns: 1fr;
  }

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

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

  .project-card.featured {
    grid-column: auto;
  }

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

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

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    justify-content: center;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }

  .testimonials-track .testimonial-card {
    width: 80vw;
    min-width: 80vw;
  }
}

@keyframes testimonials-scroll {
  to {
    transform: translateX(var(--scroll-width, -50%));
  }
}

/* ── LOGOS MARQUEE ────────────────────────────── */
.logos-marquee {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}

.logos-fade {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 12%,
      #000 88%,
      transparent);
}

.logos-track {
  display: flex;
  align-items: center;
  gap: 72px;
  width: max-content;
  position: relative;
  animation: logos-scroll 40s linear infinite;
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  width: 132px;
  height: 44px;
  background-color: var(--purple-light);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.65;
  transition: opacity 0.25s ease;
}

.logo-item:hover {
  opacity: 1;
}

@keyframes logos-scroll {
  to {
    transform: translateX(var(--scroll-width, -50%));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
  }
}