/* ============================================================
   MOUTON NOIR DIGITAL — style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:ital,wght@0,400;0,500;1,400&display=swap');

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

:root {
  /* Palette */
  --bg:      #1e1e1e;
  --bg-alt:  #0f0f0f;
  --bg-card: #111111;
  --text:    #f2f2f2;
  --muted:   #888;
  --muted2:  #b8b8b8;
  --accent:     #c8ff00;
  --accent-rgb: 200, 255, 0;
  --btn-wipe:   #000;
  --border:  rgba(255,255,255,0.11);
  /* Typography */
  --font-d:  'Plus Jakarta Sans', sans-serif;
  --font-b:  'DM Sans', sans-serif;
  /* Nav */
  --nav-bg:        rgba(20,20,20,0.30);
  --nav-mobile-bg: rgba(20,20,20,0.95);
  /* Buttons */
  --ghost-border:   rgba(255,255,255,0.18);
  --ghost-border-h: rgba(255,255,255,0.35);
  --ghost-fill:     rgba(255,255,255,0.06);
  /* Logos */
  --logo-filter: brightness(0) invert(1);
  /* Chips / marquee */
  --chip-text:   rgba(255,255,255,0.35);
  --chip-text-h: rgba(255,255,255,0.65);
  --chip-bg:     rgba(255,255,255,0.07);
  --chip-bg-h:   rgba(255,255,255,0.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-d);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 768px)  { .container { padding-inline: 2.5rem; } }
@media (min-width: 1200px) { .container { padding-inline: 4rem; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 0.85em 1.75em;
  border-radius: 30px;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  isolation: isolate;
}

/* Primary — wipe : accent → black, texte → accent */
.btn--primary {
  background: linear-gradient(to right, var(--btn-wipe) 50%, var(--accent) 50%);
  background-size: 202% 100%;
  background-position: 100% 0;
  color: #000;
  transition: background-position 0.38s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s ease 0.05s;
}
.btn--primary:hover {
  background-position: 0% 0;
  color: var(--accent);
}

/* Ghost — fill ascendant : fond blanc doux qui monte */
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--ghost-border);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn--ghost::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ghost-fill);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.btn--ghost:hover { border-color: var(--ghost-border-h); }
.btn--ghost:hover::after { transform: translateY(0); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 1.25rem 0;
}

/* Bloc unifié pill + menu mobile */
.nav__card {
  max-width: 1160px;
  margin-inline: auto;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 30px;
  overflow: hidden;
  transition: border-radius 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav.is-open .nav__card { border-radius: 22px; }

.nav__pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 0.75rem 0 1.25rem;
}

.nav__logo { display: flex; align-items: center; }

.nav__logo-img {
  height: 30px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
}

.nav__logo-text {
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav__links { display: none; align-items: center; gap: 2rem; }

.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  color: var(--muted2);
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--text); }

.nav__cta { display: none; }

.nav__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu — animation grid-template-rows (height 0 → auto) */
.nav__mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4,0,0.2,1);
}
.nav.is-open .nav__mobile-menu { grid-template-rows: 1fr; }

.nav__mobile-inner {
  overflow: hidden;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: 0.5rem 1.5rem 0;
}
.nav__mobile-links a {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted2);
  transition: color 0.15s;
}
.nav__mobile-links a:hover { color: var(--text); }

.nav__mobile-inner > .btn {
  margin: 1rem 1.5rem 1.25rem;
  width: calc(100% - 3rem);
  justify-content: center;
}

@media (min-width: 768px) {
  .nav__links  { display: flex; }
  .nav__cta    { display: inline-flex; }
  .nav__burger { display: none; }
  .nav__mobile-menu { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: 2rem;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge-wrap {
  margin-bottom: 2rem;
}

.hero__badge {
  width: 180px;
  opacity: 0.92;
  filter: drop-shadow(0 4px 20px rgba(200, 170, 0, 0.25));
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hero__badge:hover {
  transform: scale(1.06) rotate(-2deg);
  opacity: 1;
}
.hero__badge--light { display: none; }

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .hero__badge--dark  { display: none; }
  html:not([data-theme="dark"]) .hero__badge--light { display: block; }
}
html[data-theme="light"] .hero__badge--dark  { display: none; }
html[data-theme="light"] .hero__badge--light { display: block; }
html[data-theme="dark"]  .hero__badge--dark  { display: block; }
html[data-theme="dark"]  .hero__badge--light { display: none; }

.hero__title {
  font-size: clamp(3rem, 6vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted2);
  margin-bottom: 1.5rem;
}

.hero__claims {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero__claim {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.hero__claim svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero__pills {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-d);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.45em 1em;
  border-radius: 999px;
}

.hero__pill-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.logo-marquee {
  overflow: hidden;
  padding-block: 0;
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
}
.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.logo-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.logo-marquee__headline {
  text-align: center;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 3rem;
  padding-bottom: 0.5rem;
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.logo-marquee__track:hover { animation-play-state: paused; }

.logo-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem 2.5rem;
  flex-shrink: 0;
}

.logo-marquee__item img {
  height: 28px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  /* render logos visible on dark bg: invert to white, then set opacity */
  filter: var(--logo-filter);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.logo-marquee__item:hover img { opacity: 0.85; }

.logo-marquee__item--text {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--chip-text);
  transition: color 0.2s;
}
.logo-marquee__item:hover .logo-marquee__item--text { color: var(--chip-text-h); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TEXT MARQUEE (tags / chips)
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  max-width: 1000px;
  margin-inline: auto;
  position: relative;
}
.marquee-wrap::before,
.marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0.6rem;
  padding-block: 0.9rem;
  animation: marquee 32s linear infinite reverse;
}
.marquee-track:hover { animation-play-state: paused; }

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
}

.marquee-item span {
  font-family: var(--font-d);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--muted2);
  background: var(--chip-bg);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  transition: color 0.15s, background 0.15s;
}
.marquee-item span:hover {
  color: var(--text);
  background: var(--chip-bg-h);
}


/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding-block: 5rem;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
}

.stats__item {
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* ── Stat 1 — 30+ Projets : fond accent qui monte ── */
.stats__item:nth-child(1)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.stats__item:nth-child(1):hover::before { transform: translateY(0); }

.stats__item:nth-child(1) .stats__number,
.stats__item:nth-child(1) .stats__number .accent,
.stats__item:nth-child(1) .stats__label {
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}
.stats__item:nth-child(1):hover .stats__number,
.stats__item:nth-child(1):hover .stats__number .accent { color: #000; }
.stats__item:nth-child(1):hover .stats__label { color: rgba(0, 0, 0, 0.55); }

/* ── Stat 2 — 10 Ans : glow néon ── */
.stats__item:nth-child(2) {
  transition: border-color 0.3s, box-shadow 0.35s;
}
.stats__item:nth-child(2) .stats__number {
  display: inline-block;
  transition: color 0.3s, text-shadow 0.35s;
}
.stats__item:nth-child(2):hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 30px -4px rgba(var(--accent-rgb), 0.35);
}
.stats__item:nth-child(2):hover .stats__number {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(var(--accent-rgb), 0.55);
}

/* ── Stat 3 — 100% Sur mesure : shimmer + lift ── */
.stats__item:nth-child(3) {
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.stats__item:nth-child(3)::after {
  content: '';
  position: absolute;
  top: 0;
  left: -65%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(var(--accent-rgb), 0.13), transparent);
  transform: skewX(-10deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.stats__item:nth-child(3):hover::after { left: 125%; }
.stats__item:nth-child(3):hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.55);
}

/* ── Stat 4 — 1 Interlocuteur : chiffre qui se déploie ── */
.stats__item:nth-child(4) {
  transition: transform 0.3s ease, border-color 0.3s;
}
.stats__item:nth-child(4) .stats__number {
  display: inline-block;
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s;
}
.stats__item:nth-child(4):hover {
  transform: rotate(-1.5deg);
  border-color: var(--accent);
}
.stats__item:nth-child(4):hover .stats__number {
  transform: scale(1.3);
  color: var(--accent);
}

.stats__number {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  letter-spacing: -0.04em;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stats__number .accent { color: var(--accent); }

.stats__label {
  font-size: 0.8rem;
  color: var(--muted2);
  transition: color 0.3s;
}

/* ============================================================
   FEATURED PROJECTS
   ============================================================ */
.featured {
  padding-block: 6rem;
  border-bottom: 1px solid var(--border);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-head h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }

.section-head a {
  font-family: var(--font-d);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  transition: opacity 0.15s;
  white-space: nowrap;
}
.section-head a:hover { opacity: 0.7; }

.featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .featured__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   BEFORE / AFTER COMPARISON SLIDER
   ============================================================ */
.comparison {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
}

.comparison__before,
.comparison__after {
  position: absolute;
  inset: 0;
}

.comparison__before img,
.comparison__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Avant à gauche (base), Après à droite (clippé depuis la gauche) */
.comparison__after { clip-path: inset(0 0 0 50%); }

.comparison__badge {
  position: absolute;
  bottom: 0.5rem;
  font-family: var(--font-d);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 0.2em 0.55em;
  border-radius: 4px;
  pointer-events: none;
}
.comparison__before .comparison__badge { left: 0.5rem; }
.comparison__after  .comparison__badge { right: 0.5rem; }

/* Handle : ligne verticale + cercle centré via flex column */
.comparison__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}
.comparison__handle::before,
.comparison__handle::after {
  content: '';
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.85);
  transition: background 0.3s;
}
.comparison__handle svg {
  width: 30px;
  height: 30px;
  padding: 6px;
  background: #fff;
  color: #333;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
  display: block;
}

/* Animation hint — montre que la barre est draggable */
@keyframes comparison-clip-hint {
  0%   { clip-path: inset(0 0 0 50%); }
  30%  { clip-path: inset(0 0 0 28%); }
  70%  { clip-path: inset(0 0 0 72%); }
  100% { clip-path: inset(0 0 0 50%); }
}
@keyframes comparison-handle-hint {
  0%   { left: 50%; }
  30%  { left: 28%; }
  70%  { left: 72%; }
  100% { left: 50%; }
}
.comparison.is-hinting .comparison__after {
  animation: comparison-clip-hint 1.4s cubic-bezier(0.4,0,0.2,1) 0.4s both;
}
.comparison.is-hinting .comparison__handle {
  animation: comparison-handle-hint 1.4s cubic-bezier(0.4,0,0.2,1) 0.4s both;
}

.project-card {
  background: var(--bg-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  transition: border-color 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.35s ease;
}
.project-card:hover {
  border-color: rgba(var(--accent-rgb), 0.5);
  transform: translateY(-8px);
  box-shadow: 0 24px 50px -12px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(var(--accent-rgb), 0.12);
}
.project-card:hover .project-card__icon {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: scale(1.1) rotate(-4deg);
}
.project-card:hover .project-card__title {
  color: #fff;
}
.project-card:hover .project-card__impact {
  border-top-color: rgba(var(--accent-rgb), 0.3);
  color: var(--accent);
}

.project-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(var(--accent-rgb),0.08);
  border: 1px solid rgba(var(--accent-rgb),0.18);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 0.25rem;
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.project-card__type {
  display: inline-block;
  font-family: var(--font-d);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-card__title {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
}

.project-card__desc {
  font-size: 0.87rem;
  color: var(--muted2);
  line-height: 1.7;
}

.project-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.25rem;
}

.project-card__features li {
  font-size: 0.82rem;
  color: var(--muted2);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.4;
}
.project-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.5em;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.project-card__impact {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.55;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

/* Tags (used elsewhere) */
.tag {
  font-family: var(--font-d);
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28em 0.7em;
  border: 1px solid var(--border);
  color: var(--muted2);
  border-radius: 4px;
}
.tag--accent { border-color: rgba(var(--accent-rgb),0.35); color: var(--accent); }

/* ============================================================
   WHY ME
   ============================================================ */
.why { padding-block: 6rem; }

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .why__grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}

.why-item {
  padding: 2rem 1.75rem;
  border-radius: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* ── Why 1 — Plus rapide : trait qui file en bas + titre accent ── */
.why-item:nth-child(1) {
  transition: border-color 0.3s;
}
.why-item:nth-child(1)::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.why-item:nth-child(1) .why-item__number {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s, color 0.3s;
}
.why-item:nth-child(1):hover { border-color: var(--accent); }
.why-item:nth-child(1):hover::after { width: 100%; }
.why-item:nth-child(1):hover .why-item__number { transform: translateY(-4px); opacity: 1; color: var(--accent); }
.why-item:nth-child(1):hover .why-item__title  { color: var(--accent); }

/* ── Why 2 — Plus accessible : barre inset gauche + nudge droite ── */
.why-item:nth-child(2) {
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.why-item:nth-child(2) .why-item__number {
  transition: opacity 0.3s, color 0.3s;
}
.why-item:nth-child(2):hover {
  transform: translateX(6px);
  box-shadow: inset 3px 0 0 var(--accent);
}
.why-item:nth-child(2):hover .why-item__number { opacity: 1; color: var(--accent); }
.why-item:nth-child(2):hover .why-item__title  { color: var(--accent); }

/* ── Why 3 — 100% sur mesure : glow radial depuis coin bas-droit ── */
.why-item:nth-child(3) {
  transition: border-color 0.35s, box-shadow 0.35s;
}
.why-item:nth-child(3)::before {
  content: '';
  position: absolute;
  bottom: -60%; right: -60%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 65%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.why-item:nth-child(3) .why-item__number {
  transition: opacity 0.3s, color 0.3s, text-shadow 0.35s;
}
.why-item:nth-child(3):hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 8px 30px -8px rgba(var(--accent-rgb), 0.2);
}
.why-item:nth-child(3):hover::before { opacity: 1; transform: scale(2.8); }
.why-item:nth-child(3):hover .why-item__number {
  opacity: 1;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.55);
}
.why-item:nth-child(3):hover .why-item__title { color: var(--accent); }

.why-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 0.5rem;
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.why-item:hover .why-item__icon {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: scale(1.1) rotate(-4deg);
}

.why-item__number {
  font-family: var(--font-d);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  opacity: 0.35;
}

.why-item__title { font-size: 1.25rem; color: var(--text); transition: color 0.3s; }

.why-item__text { font-size: 0.9rem; color: var(--muted2); line-height: 1.7; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding-block: 8rem; }

.cta-band__title {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.cta-band__sub {
  font-size: 1rem;
  color: var(--muted2);
  margin-bottom: 2.5rem;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.page-hero {
  padding-block: 5rem 4.5rem;
  border-bottom: 1px solid var(--border);
}

.page-hero__eyebrow {
  font-family: var(--font-d);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.page-hero h1 em { font-style: italic; color: var(--accent); }

.page-hero__intro {
  max-width: 560px;
  font-size: 1rem;
  color: var(--muted2);
  line-height: 1.75;
}

.services-grid {
  padding-block: 5rem;
}

.services-grid .container {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ── Carte service (commune) ── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card__head {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.service-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 14px;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.service-card:hover .service-card__icon {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: scale(1.1) rotate(-4deg);
}

.service-card__num {
  display: block;
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
  opacity: 0.45;
  margin-bottom: 0.3rem;
  transition: opacity 0.3s;
}
.service-card:hover .service-card__num { opacity: 1; }

.service-card__title {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color 0.3s;
}

.service-card__meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
}
@media (min-width: 680px) {
  .service-card__meta { grid-template-columns: 1fr 1fr; }
}

.service-card__meta-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-d);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.service-card__meta-text {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.65;
}

.service-card__screenshot {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111111;
  position: relative;
}

.service-card__screenshot::before {
  content: '';
  display: block;
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid var(--border);
  background-image: radial-gradient(circle 5px at 20px 16px, rgba(255,255,255,0.15) 100%, transparent),
                    radial-gradient(circle 5px at 38px 16px, rgba(255,255,255,0.10) 100%, transparent),
                    radial-gradient(circle 5px at 56px 16px, rgba(255,255,255,0.06) 100%, transparent);
}

.service-card__screenshot::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 32px; width: 100%;
  background-image: radial-gradient(circle 5px at 20px 16px, #ff5f57 100%, transparent),
                    radial-gradient(circle 5px at 38px 16px, #febc2e 100%, transparent),
                    radial-gradient(circle 5px at 56px 16px, #28c840 100%, transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-card__screenshot:hover::after {
  opacity: 1;
}

.service-card__screenshot img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
}

.service-card__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}
@media (min-width: 480px) {
  .service-card__features { grid-template-columns: repeat(2, 1fr); }
}

.service-card__features li {
  font-size: 0.87rem;
  color: var(--muted2);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.5;
  transition: color 0.25s;
}
.service-card__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}

/* ── Hover 1 — ERP : trait accent qui file en haut ── */
.service-card:nth-child(1) {
  transition: border-color 0.3s, transform 0.3s ease, box-shadow 0.3s;
}
.service-card:nth-child(1)::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 2px; width: 0%;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-card:nth-child(1):hover { border-color: rgba(var(--accent-rgb), 0.4); transform: translateY(-4px); box-shadow: 0 20px 50px -12px rgba(0,0,0,0.5); }
.service-card:nth-child(1):hover::before { width: 100%; }
.service-card:nth-child(1):hover .service-card__title { color: var(--accent); }

/* ── Hover 2 — CRM : barre inset gauche + nudge ── */
.service-card:nth-child(2) {
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.service-card:nth-child(2):hover {
  transform: translateX(6px);
  box-shadow: inset 4px 0 0 var(--accent), 0 8px 30px -8px rgba(0,0,0,0.4);
}
.service-card:nth-child(2):hover .service-card__title { color: var(--accent); }

/* ── Hover 3 — Site vitrine : glow radial + bordure accent ── */
.service-card:nth-child(3) {
  transition: border-color 0.35s, box-shadow 0.35s;
}
.service-card:nth-child(3)::after {
  content: '';
  position: absolute;
  bottom: -60%; right: -40%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.13) 0%, transparent 65%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.service-card:nth-child(3):hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.12), 0 16px 40px -10px rgba(0,0,0,0.5);
}
.service-card:nth-child(3):hover::after { opacity: 1; transform: scale(2.5); }
.service-card:nth-child(3):hover .service-card__title { color: var(--accent); }

/* ============================================================
   PROJECT PREVIEW ANIMATIONS
   ============================================================ */
.project-preview {
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #111111;
  position: relative;
}

.project-preview::before {
  content: '';
  display: block;
  height: 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border);
  background-image:
    radial-gradient(circle 4px at 18px 14px, rgba(255,255,255,0.14) 100%, transparent),
    radial-gradient(circle 4px at 34px 14px, rgba(255,255,255,0.09) 100%, transparent),
    radial-gradient(circle 4px at 50px 14px, rgba(255,255,255,0.05) 100%, transparent);
}

.project-preview svg {
  display: block;
  width: 100%;
}

/* ── Keyframes ── */
@keyframes bar-rise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
@keyframes line-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes preview-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes row-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes dot-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.6); }
}

/* ── Card 2 — Task list check animation (19s: 5×3s + 4s pause) ── */
.svc2-chk {
  opacity: 0;
  animation-duration: 19s;
  animation-timing-function: steps(1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.svc2-chk-1 { animation-name: svc2-chk-1; }
.svc2-chk-2 { animation-name: svc2-chk-2; }
.svc2-chk-3 { animation-name: svc2-chk-3; }
.svc2-chk-4 { animation-name: svc2-chk-4; }
.svc2-chk-5 { animation-name: svc2-chk-5; }

@keyframes svc2-chk-1 { 0%,15.78%{opacity:0} 15.79%,100%{opacity:1} }
@keyframes svc2-chk-2 { 0%,31.57%{opacity:0} 31.58%,100%{opacity:1} }
@keyframes svc2-chk-3 { 0%,47.36%{opacity:0} 47.37%,100%{opacity:1} }
@keyframes svc2-chk-4 { 0%,63.15%{opacity:0} 63.16%,100%{opacity:1} }
@keyframes svc2-chk-5 { 0%,78.94%{opacity:0} 78.95%,100%{opacity:1} }

/* Counter that switches 0→1→2→3→4→5 in sync */
.svc2-cnt {
  opacity: 0;
  animation-duration: 19s;
  animation-timing-function: steps(1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.svc2-cnt-0 { animation-name: svc2-cnt-0; }
.svc2-cnt-1 { animation-name: svc2-cnt-1; }
.svc2-cnt-2 { animation-name: svc2-cnt-2; }
.svc2-cnt-3 { animation-name: svc2-cnt-3; }
.svc2-cnt-4 { animation-name: svc2-cnt-4; }
.svc2-cnt-5 { animation-name: svc2-cnt-5; }

@keyframes svc2-cnt-0 { 0%,15.78%{opacity:1} 15.79%,100%{opacity:0} }
@keyframes svc2-cnt-1 { 0%,15.78%{opacity:0} 15.79%,31.57%{opacity:1} 31.58%,100%{opacity:0} }
@keyframes svc2-cnt-2 { 0%,31.57%{opacity:0} 31.58%,47.36%{opacity:1} 47.37%,100%{opacity:0} }
@keyframes svc2-cnt-3 { 0%,47.36%{opacity:0} 47.37%,63.15%{opacity:1} 63.16%,100%{opacity:0} }
@keyframes svc2-cnt-4 { 0%,63.15%{opacity:0} 63.16%,78.94%{opacity:1} 78.95%,100%{opacity:0} }
@keyframes svc2-cnt-5 { 0%,78.94%{opacity:0} 78.95%,100%{opacity:1} }

/* Progress bar fill (scaleX 0→1 in 5 steps) */
.svc2-progress-fill {
  transform-box: fill-box;
  transform-origin: 0% 50%;
  animation: svc2-progress 19s steps(1) infinite both;
}
@keyframes svc2-progress {
  0%,15.78%  { transform: scaleX(0);   }
  15.79%,31.57% { transform: scaleX(0.2); }
  31.58%,47.36% { transform: scaleX(0.4); }
  47.37%,63.15% { transform: scaleX(0.6); }
  63.16%,78.94% { transform: scaleX(0.8); }
  78.95%     { transform: scaleX(1);   }
}

/* ── Card 3 — Donut arc (15s: 3 states × 4s display + 1s transition) ── */
.svc3-arc { animation: svc3-arc 15s ease-in-out infinite; }
@keyframes svc3-arc {
  0%,26.67%     { stroke-dasharray: 222 327; }  /* 68% */
  33.33%,60%    { stroke-dasharray: 147 327; }  /* 45% */
  66.67%,93.33% { stroke-dasharray: 268 327; }  /* 82% */
  100%          { stroke-dasharray: 222 327; }
}

/* Percentage text cycling (matches donut states) */
.svc3-pct {
  opacity: 0;
  animation-duration: 15s;
  animation-timing-function: steps(1);
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}
.svc3-pct-1 { animation-name: svc3-pct-1; }
.svc3-pct-2 { animation-name: svc3-pct-2; }
.svc3-pct-3 { animation-name: svc3-pct-3; }

@keyframes svc3-pct-1 { 0%,29.99%{opacity:1} 30%,96.66%{opacity:0} 96.67%,100%{opacity:1} }
@keyframes svc3-pct-2 { 0%,29.99%{opacity:0} 30%,63.32%{opacity:1} 63.33%,100%{opacity:0} }
@keyframes svc3-pct-3 { 0%,63.32%{opacity:0} 63.33%,96.66%{opacity:1} 96.67%,100%{opacity:0} }

/* ── Card 3 — Notification ticker (27s: 6 × 4.5s) ── */
#notif-ticker-svc3 { animation: notif-tick-svc3 27s linear infinite; }
@keyframes notif-tick-svc3 {
  0%      { transform: translateY(0px); }
  14.81%  { transform: translateY(0px);    animation-timing-function: ease-in-out; }
  16.67%  { transform: translateY(-44px); }
  31.48%  { transform: translateY(-44px);  animation-timing-function: ease-in-out; }
  33.33%  { transform: translateY(-88px); }
  48.15%  { transform: translateY(-88px);  animation-timing-function: ease-in-out; }
  50%     { transform: translateY(-132px); }
  64.81%  { transform: translateY(-132px); animation-timing-function: ease-in-out; }
  66.67%  { transform: translateY(-176px); }
  81.48%  { transform: translateY(-176px); animation-timing-function: ease-in-out; }
  83.33%  { transform: translateY(-220px); }
  98.15%  { transform: translateY(-220px); animation-timing-function: ease-in-out; }
  100%    { transform: translateY(-264px); }
}

/* CRM ticker — 6 rows × (5s pause + 0.5s scroll) = 33s, loops seamlessly */
#crm-ticker-svc {
  animation: crm-tick-svc 33s linear infinite;
}
@keyframes crm-tick-svc {
  0%      { transform: translateY(0px); }
  15.15%  { transform: translateY(0px);    animation-timing-function: ease-in-out; }
  16.67%  { transform: translateY(-50px); }
  31.82%  { transform: translateY(-50px);  animation-timing-function: ease-in-out; }
  33.34%  { transform: translateY(-100px); }
  48.49%  { transform: translateY(-100px); animation-timing-function: ease-in-out; }
  50.01%  { transform: translateY(-150px); }
  65.16%  { transform: translateY(-150px); animation-timing-function: ease-in-out; }
  66.68%  { transform: translateY(-200px); }
  81.83%  { transform: translateY(-200px); animation-timing-function: ease-in-out; }
  83.35%  { transform: translateY(-250px); }
  98.5%   { transform: translateY(-250px); animation-timing-function: ease-in-out; }
  100%    { transform: translateY(-300px); }
}

/* ── ERP: bars ── */
.preview-bar {
  transform-box: fill-box;
  transform-origin: bottom;
  animation: bar-rise 0.8s cubic-bezier(0.34, 1.1, 0.64, 1) both;
}
.preview-bar--2 { animation-delay: 0.1s; }
.preview-bar--3 { animation-delay: 0.2s; }
.preview-bar--4 { animation-delay: 0.3s; }
.preview-bar--5 { animation-delay: 0.4s; }

/* ── ERP: line ── */
.preview-line {
  animation: line-draw 1.4s ease forwards;
  animation-delay: 0.2s;
}

/* ── ERP: KPI numbers ── */
.preview-kpi {
  animation: preview-fade 0.4s ease both;
}
.preview-kpi--d1 { animation-delay: 0.15s; }
.preview-kpi--d2 { animation-delay: 0.3s; }

/* ── ERP: dots on line ── */
.preview-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pulse 2.5s ease-in-out infinite;
}
.preview-dot--d1 { animation-delay: 0.6s; }
.preview-dot--d2 { animation-delay: 1.2s; }

/* ── CRM: rows ── */
.preview-row--1 { animation: row-in 0.45s ease both; animation-delay: 0.05s; }
.preview-row--2 { animation: row-in 0.45s ease both; animation-delay: 0.2s; }
.preview-row--3 { animation: row-in 0.45s ease both; animation-delay: 0.35s; }

/* ── CRM: pipeline dots ── */
.preview-pip-dot {
  transform-box: fill-box;
  transform-origin: center;
  animation: dot-pulse 2s ease-in-out infinite;
}
.preview-pip-dot--d1 { animation-delay: 0.4s; }
.preview-pip-dot--d2 { animation-delay: 0.8s; }
.preview-pip-dot--d3 { animation-delay: 1.2s; }

/* ============================================================
   REALISATIONS PAGE
   ============================================================ */
.realisations {
  padding-block: 5rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.45em 1.1em 0.45em 0.8em;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted2);
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.filter-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.25); }
.filter-btn.is-active {
  color: #000;
  background: var(--accent);
  border-color: var(--accent);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.3s;
}
.project-item:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px -12px rgba(0,0,0,0.55);
}
.project-item.is-hidden { display: none; }

.project-item__type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-d);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  border-radius: 999px;
  padding: 0.3em 0.8em 0.3em 0.55em;
  width: fit-content;
}

.project-item__title {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  transition: color 0.3s;
}
.project-item:hover .project-item__title { color: var(--accent); }

.project-item__features {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.project-item__features li {
  font-size: 0.82rem;
  color: var(--muted2);
  padding-left: 0.9rem;
  position: relative;
  line-height: 1.4;
}
.project-item__features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.52em;
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.project-item__quote {
  font-style: italic;
  font-size: 0.84rem;
  color: var(--muted2);
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.65;
  margin-top: auto;
  transition: border-color 0.3s;
}
.project-item:hover .project-item__quote { border-top-color: rgba(var(--accent-rgb), 0.25); }
.project-item__link:hover { gap: 0.6em; }

/* ============================================================
   A PROPOS PAGE
   ============================================================ */
.about-intro {
  padding-block: 5rem 4.5rem;
  border-bottom: 1px solid var(--border);
}

.about-intro h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); margin-bottom: 1.5rem; }

.about-intro__text {
  max-width: 600px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted2);
}

.about-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 4rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .about-block { grid-template-columns: 180px 1fr; gap: 3rem; align-items: start; }
}

.about-block__number {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
  letter-spacing: -0.04em;
}

.about-block__title { font-size: 1.3rem; color: var(--text); margin-bottom: 0.8rem; }

.about-block__text { font-size: 0.96rem; color: var(--muted2); line-height: 1.8; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  padding-block: 5rem 4.5rem;
  border-bottom: 1px solid var(--border);
}

.contact-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); margin-bottom: 1rem; }

.contact-hero p { max-width: 500px; font-size: 1rem; color: var(--muted2); line-height: 1.7; }

.contact-body { padding-block: 5rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 768px) {
  .contact-layout { grid-template-columns: 1fr 300px; gap: 5rem; }
}

.contact-form { display: flex; flex-direction: column; gap: 1.4rem; }

.form-row { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.15s;
  width: 100%;
  resize: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(var(--accent-rgb),0.5); }

.form-group textarea { min-height: 150px; }

.contact-aside { padding-top: 0.25rem; }

.contact-aside__title {
  font-family: var(--font-d);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.4rem;
}

.contact-info-item svg {
  width: 15px; height: 15px;
  color: var(--accent);
  margin-top: 0.18em;
  flex-shrink: 0;
}

.contact-info-item span,
.contact-info-item a { font-size: 0.87rem; color: var(--muted2); line-height: 1.5; }
.contact-info-item a:hover { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--border); padding-block: 2rem; }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy { font-size: 0.77rem; color: var(--muted); }

.footer__links { display: flex; gap: 1.5rem; font-size: 0.77rem; color: var(--muted); }
.footer__links a:hover { color: var(--muted2); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in.d1 { transition-delay: 0.08s; }
.fade-in.d2 { transition-delay: 0.16s; }
.fade-in.d3 { transition-delay: 0.24s; }
.fade-in.d4 { transition-delay: 0.32s; }

/* ============================================================
   LIGHT MODE — système (sans override manuel dark)
   ============================================================ */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) {
    --bg:         #f4f4f4;
    --bg-alt:     #ebebeb;
    --bg-card:    #ffffff;
    --text:       #111111;
    --muted:      #777777;
    --muted2:     #444444;
    --accent:     #7ab800;
    --accent-rgb: 122, 184, 0;
    --btn-wipe:   #1a1a1a;
    --border:     rgba(0,0,0,0.10);
    --nav-bg:        rgba(255,255,255,0.30);
    --nav-mobile-bg: rgba(255,255,255,0.97);
    --ghost-border:   rgba(0,0,0,0.18);
    --ghost-border-h: rgba(0,0,0,0.35);
    --ghost-fill:     rgba(0,0,0,0.05);
    --logo-filter: brightness(0);
    --chip-text:   rgba(0,0,0,0.40);
    --chip-text-h: rgba(0,0,0,0.70);
    --chip-bg:     rgba(0,0,0,0.07);
    --chip-bg-h:   rgba(0,0,0,0.12);
  }
}

/* LIGHT MODE — override manuel [data-theme="light"] */
html[data-theme="light"] {
  --bg:         #f4f4f4;
  --bg-alt:     #ebebeb;
  --bg-card:    #ffffff;
  --text:       #111111;
  --muted:      #777777;
  --muted2:     #444444;
  --accent:     #7ab800;
  --accent-rgb: 122, 184, 0;
  --btn-wipe:   #1a1a1a;
  --border:     rgba(0,0,0,0.10);
  --nav-bg:        rgba(255,255,255,0.30);
  --nav-mobile-bg: rgba(255,255,255,0.97);
  --ghost-border:   rgba(0,0,0,0.18);
  --ghost-border-h: rgba(0,0,0,0.35);
  --ghost-fill:     rgba(0,0,0,0.05);
  --logo-filter: brightness(0);
  --chip-text:   rgba(0,0,0,0.40);
  --chip-text-h: rgba(0,0,0,0.70);
  --chip-bg:     rgba(0,0,0,0.07);
  --chip-bg-h:   rgba(0,0,0,0.12);
}

html[data-theme="light"] .service-card__meta { background: rgba(0,0,0,0.03); }
html[data-theme="light"] .comparison__handle::after { background: rgba(0,0,0,0.55); }
html[data-theme="light"] .filter-btn:hover { border-color: rgba(0,0,0,0.25); }

@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .service-card__meta { background: rgba(0,0,0,0.03); }
  html:not([data-theme="dark"]) .comparison__handle::after { background: rgba(0,0,0,0.55); }
  html:not([data-theme="dark"]) .filter-btn:hover { border-color: rgba(0,0,0,0.25); }
}

/* DARK MODE — override manuel [data-theme="dark"] (force dark sur système light) */
html[data-theme="dark"] {
  --bg:         #1e1e1e;
  --bg-alt:     #0f0f0f;
  --bg-card:    #111111;
  --text:       #f2f2f2;
  --muted:      #888;
  --muted2:     #b8b8b8;
  --accent:     #c8ff00;
  --accent-rgb: 200, 255, 0;
  --btn-wipe:   #000;
  --border:     rgba(255,255,255,0.11);
  --nav-bg:        rgba(20,20,20,0.30);
  --nav-mobile-bg: rgba(20,20,20,0.95);
  --ghost-border:   rgba(255,255,255,0.18);
  --ghost-border-h: rgba(255,255,255,0.35);
  --ghost-fill:     rgba(255,255,255,0.06);
  --logo-filter: brightness(0) invert(1);
  --chip-text:   rgba(255,255,255,0.35);
  --chip-text-h: rgba(255,255,255,0.65);
  --chip-bg:     rgba(255,255,255,0.07);
  --chip-bg-h:   rgba(255,255,255,0.12);
}

/* ============================================================
   À PROPOS PAGE
   ============================================================ */
.about { padding-block: 5rem; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 5rem;
}
@media (min-width: 768px) {
  .about__grid { grid-template-columns: repeat(2, 1fr); }
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.about-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 12px;
  color: var(--accent);
  transition: background 0.3s, border-color 0.3s, transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.about-card:hover .about-card__icon {
  background: rgba(var(--accent-rgb), 0.18);
  border-color: rgba(var(--accent-rgb), 0.4);
  transform: scale(1.1) rotate(-4deg);
}

.about-card__num {
  font-family: var(--font-d);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  opacity: 0.4;
  transition: opacity 0.3s;
}
.about-card:hover .about-card__num { opacity: 1; }

.about-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.about-card__text {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.75;
}

/* ── Hover 1 : flood accent de bas en haut ── */
.about-card:nth-child(1)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateY(101%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.about-card:nth-child(1) > * { position: relative; z-index: 1; }
.about-card:nth-child(1) .about-card__icon,
.about-card:nth-child(1) .about-card__num,
.about-card:nth-child(1) .about-card__title,
.about-card:nth-child(1) .about-card__text { transition: color 0.3s, background 0.3s, border-color 0.3s, opacity 0.3s; }
.about-card:nth-child(1):hover::before { transform: translateY(0); }
.about-card:nth-child(1):hover .about-card__title,
.about-card:nth-child(1):hover .about-card__num { color: #000; opacity: 1; }
.about-card:nth-child(1):hover .about-card__text { color: rgba(0,0,0,0.65); }
.about-card:nth-child(1):hover .about-card__icon {
  background: rgba(0,0,0,0.1);
  border-color: rgba(0,0,0,0.2);
  color: #000;
}

/* ── Hover 2 : glow néon ── */
.about-card:nth-child(2) {
  transition: border-color 0.3s, box-shadow 0.35s;
}
.about-card:nth-child(2) .about-card__title { transition: color 0.3s, text-shadow 0.35s; }
.about-card:nth-child(2):hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 30px -4px rgba(var(--accent-rgb), 0.35);
}
.about-card:nth-child(2):hover .about-card__title {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(var(--accent-rgb), 0.4);
}

/* ── Hover 3 : shimmer + lift ── */
.about-card:nth-child(3) {
  transition: transform 0.3s ease, box-shadow 0.3s;
}
.about-card:nth-child(3)::after {
  content: '';
  position: absolute;
  top: 0; left: -65%;
  width: 50%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(var(--accent-rgb), 0.12), transparent);
  transform: skewX(-10deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.about-card:nth-child(3):hover::after { left: 125%; }
.about-card:nth-child(3):hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
}
.about-card:nth-child(3):hover .about-card__title { color: var(--accent); }

/* ── Hover 4 : radial glow coin bas-droit ── */
.about-card:nth-child(4) {
  transition: border-color 0.35s, box-shadow 0.35s;
}
.about-card:nth-child(4)::before {
  content: '';
  position: absolute;
  bottom: -60%; right: -60%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.15) 0%, transparent 65%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.about-card:nth-child(4):hover {
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.15), 0 8px 30px -8px rgba(var(--accent-rgb), 0.2);
}
.about-card:nth-child(4):hover::before { opacity: 1; transform: scale(2.8); }
.about-card:nth-child(4):hover .about-card__title { color: var(--accent); }

/* Stats rapides */
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 5rem;
}

.about__stat {
  padding: 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  text-align: center;
}

.about__stat-number {
  font-family: var(--font-d);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--muted2);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding-block: 5rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 5rem; }
}

/* ── Formulaire ── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 540px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-label {
  font-family: var(--font-d);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--muted2);
}

.form-label span {
  font-weight: 400;
  opacity: 0.6;
  margin-left: 0.3em;
}

.form-input,
.form-textarea {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--muted); opacity: 1; }

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.1);
}

.form-textarea { resize: vertical; min-height: 140px; line-height: 1.65; }

/* ── Colonne info ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
}

.contact-card__eyebrow {
  font-family: var(--font-d);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.65;
  margin-bottom: 1.25rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 1rem;
  border-top: 1px solid var(--border);
}
.contact-detail:first-of-type { border-top: none; padding-top: 0; }

.contact-detail__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  border-radius: 10px;
  color: var(--accent);
}

.contact-detail__label {
  font-family: var(--font-d);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-detail__value {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}
a.contact-detail__value { transition: color 0.2s; }
a.contact-detail__value:hover { color: var(--accent); }

/* Carte reassurance */
.reassurance-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(var(--accent-rgb), 0.07);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
}

.reassurance-card__icon { flex-shrink: 0; color: var(--accent); margin-top: 0.1rem; }

.reassurance-card p {
  font-size: 0.87rem;
  color: var(--muted2);
  line-height: 1.65;
}
.reassurance-card strong {
  display: block;
  font-family: var(--font-d);
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.form-label__opt { font-weight: 400; opacity: 0.6; margin-left: 0.3em; }

.btn--submit { align-self: flex-start; }

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.page-hero--compact { padding-block: 3.5rem 2.5rem; }
.page-hero--compact h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 0.4rem; }

.legal-page { padding-block: 4rem 6rem; }

.legal-content {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.legal-section h2 {
  font-family: var(--font-d);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section p,
.legal-section li {
  font-size: 0.9rem;
  color: var(--muted2);
  line-height: 1.75;
}

.legal-section p + p { margin-top: 0.75rem; }

.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-section ul li::before {
  content: '—';
  color: var(--accent);
  margin-right: 0.6em;
  opacity: 0.6;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}
.legal-section a:hover { opacity: 0.75; }

.legal-section strong { color: var(--text); font-weight: 600; }

.legal-update {
  margin-top: 1rem;
  font-size: 0.8rem !important;
  color: var(--muted) !important;
  font-style: italic;
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--ghost-border);
  background: transparent;
  color: var(--muted2);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s, border-color 0.2s;
  padding: 0;
}
.theme-toggle:hover { color: var(--text); border-color: var(--ghost-border-h); }
.theme-toggle svg { width: 14px; height: 14px; display: block; }

/* Par défaut (dark) : soleil visible, lune cachée */
.theme-toggle__moon { display: none; }

/* En light : lune visible, soleil caché */
@media (prefers-color-scheme: light) {
  html:not([data-theme="dark"]) .theme-toggle__sun  { display: none; }
  html:not([data-theme="dark"]) .theme-toggle__moon { display: block; }
}
html[data-theme="light"] .theme-toggle__sun  { display: none; }
html[data-theme="light"] .theme-toggle__moon { display: block; }
html[data-theme="dark"]  .theme-toggle__sun  { display: block; }
html[data-theme="dark"]  .theme-toggle__moon { display: none; }

/* ═══════════════════════════════════════════════════════════
   APP PREVIEW — Home "Ce que ça donne concrètement"
   ═══════════════════════════════════════════════════════════ */

.app-preview { width: 100%; }

.app-preview__inner {
  display: flex;
  height: 460px;
  font-family: 'Plus Jakarta Sans', system-ui;
  font-size: 11px;
}

/* ── Sidebar ─────────────────────────────────────────────── */
.app-preview__sidebar {
  width: 185px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  padding: 18px 14px;
  gap: 14px;
}

.app-preview__brand {
  font-size: 15px;
  font-weight: 700;
  color: #c8ff00;
  letter-spacing: -0.03em;
  padding: 0 2px;
}

.app-preview__user {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
}

.app-preview__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,255,0,0.14);
  color: #c8ff00;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.app-preview__uname {
  font-size: 9.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  line-height: 1.25;
}

.app-preview__urole {
  font-size: 8px;
  color: rgba(255,255,255,0.28);
  line-height: 1.25;
}

.app-preview__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.app-preview__nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.3);
  font-family: 'Plus Jakarta Sans', system-ui;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s, color 0.15s;
}

.app-preview__nav-btn svg { opacity: 0.5; flex-shrink: 0; transition: opacity 0.15s; }

.app-preview__nav-btn:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.55);
}

.app-preview__nav-btn.is-active {
  background: rgba(200,255,0,0.1);
  color: #c8ff00;
}

.app-preview__nav-btn.is-active svg { opacity: 1; }

/* ── Content area ────────────────────────────────────────── */
.app-preview__content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.app-preview__panel {
  position: absolute;
  inset: 0;
  padding: 16px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
  overflow-y: auto;
  scrollbar-width: none;
}
.app-preview__panel::-webkit-scrollbar { display: none; }

.app-preview__panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ── Dashboard charts ────────────────────────────────────── */
.aw-charts {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 10px;
  margin-bottom: 10px;
  align-items: start;
}

.aw-chart-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
}

.aw-chart-label {
  font-size: 7.5px;
  color: rgba(255,255,255,0.25);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Donut */
.aw-donut-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aw-donut-svg { width: 88px; height: 88px; flex-shrink: 0; }

.aw-donut-legend { display: flex; flex-direction: column; gap: 6px; }

.aw-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: rgba(255,255,255,0.32);
}

.aw-legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Bar chart */
.aw-bar-svg { width: 100%; height: 88px; display: block; }

/* ── Lists ───────────────────────────────────────────────── */
.aw-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#aw-dash .aw-list { max-height: 168px; overflow: hidden; }

.aw-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.028);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 7px;
  padding: 7px 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.aw-item__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.aw-item__name {
  flex: 1;
  font-size: 9.5px;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.aw-item__sub {
  font-size: 7.5px;
  color: rgba(255,255,255,0.22);
  white-space: nowrap;
}

.aw-item__badge {
  font-size: 7.5px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.aw-badge--green  { background: rgba(200,255,0,0.12);  color: #c8ff00;               border: 1px solid rgba(200,255,0,0.2); }
.aw-badge--orange { background: rgba(255,150,0,0.12);  color: #ff9600;               border: 1px solid rgba(255,150,0,0.2); }
.aw-badge--blue   { background: rgba(100,180,255,0.12);color: #64b4ff;               border: 1px solid rgba(100,180,255,0.2); }
.aw-badge--muted  { background: rgba(255,255,255,0.05);color: rgba(255,255,255,0.35);border: 1px solid rgba(255,255,255,0.08); }
.aw-badge--red    { background: rgba(255,80,80,0.12);  color: #ff5050;               border: 1px solid rgba(255,80,80,0.2); }

/* ── KPI cards ───────────────────────────────────────────── */
.aw-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.aw-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 12px 14px;
}

.aw-kpi__val {
  font-size: 26px;
  font-weight: 700;
  color: #c8ff00;
  display: block;
  line-height: 1.1;
  font-family: 'Plus Jakarta Sans', system-ui;
}

.aw-kpi--trend .aw-kpi__val { color: rgba(255,150,0,0.9); }

.aw-kpi__label {
  font-size: 8px;
  color: rgba(255,255,255,0.28);
  display: block;
  margin-top: 4px;
}

/* ── Status filters ──────────────────────────────────────── */
.aw-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.aw-filter {
  font-size: 8.5px;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.aw-filter.is-active,
.aw-filter:hover {
  background: rgba(200,255,0,0.1);
  border-color: rgba(200,255,0,0.25);
  color: #c8ff00;
}

/* ── Paramètres ──────────────────────────────────────────── */
.aw-params { display: flex; flex-direction: column; }

.aw-params-title {
  font-size: 7.5px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.18);
  font-weight: 600;
  margin: 14px 0 4px;
}
.aw-params-title:first-child { margin-top: 0; }

.aw-param-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.aw-param-label {
  font-size: 10px;
  color: rgba(255,255,255,0.52);
}

.aw-toggle {
  width: 30px;
  height: 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  border: none;
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}

.aw-toggle::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  top: 2px;
  left: 2px;
  transition: transform 0.2s, background 0.2s;
}

.aw-toggle.is-on { background: rgba(200,255,0,0.2); }

.aw-toggle.is-on::after {
  transform: translateX(14px);
  background: #c8ff00;
}

.aw-slider-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.aw-slider-val {
  font-size: 8.5px;
  color: #c8ff00;
  min-width: 26px;
  text-align: right;
}

input.aw-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  outline: none;
  cursor: pointer;
}

input.aw-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8ff00;
  cursor: pointer;
}

input.aw-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #c8ff00;
  border: none;
  cursor: pointer;
}

/* ── Dashboard — layout flex + chips ────────────────────── */
#aw-dash {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aw-dash-chips {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}

.aw-dash-chip {
  font-size: 8.5px;
  padding: 4px 13px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.32);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: 'Plus Jakarta Sans', system-ui;
  font-weight: 500;
  user-select: none;
}

.aw-dash-chip.is-active,
.aw-dash-chip:hover {
  background: rgba(200,255,0,0.1);
  border-color: rgba(200,255,0,0.3);
  color: #c8ff00;
}

/* Charts row — hauteur fixe et étendue */
#aw-dash .aw-charts {
  align-items: stretch;
  flex-shrink: 0;
  height: 168px;
}

#aw-dash .aw-chart-box {
  display: flex;
  flex-direction: column;
}

#aw-dash .aw-donut-wrap { flex: 1; }

#aw-dash .aw-donut-svg {
  width: 112px;
  height: 112px;
}

#aw-dash .aw-bar-svg {
  flex: 1;
  height: auto;
  min-height: 0;
}

/* List — prend toute la hauteur restante */
#aw-dash .aw-list {
  flex: 1;
  max-height: none;
  overflow: hidden;
  min-height: 0;
}

/* ── Paramètres — grille 2 colonnes ─────────────────────── */
.aw-params-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.aw-params-bloc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
}

.aw-params-bloc .aw-params-title {
  margin-top: 0 !important;
  margin-bottom: 6px;
}

.aw-params-bloc .aw-param-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* ── App preview — responsive ────────────────────────────── */

/* Sidebar slim : icônes seules */
@media (max-width: 640px) {
  .app-preview__sidebar {
    width: 46px;
    padding: 14px 8px;
    gap: 10px;
  }
  .app-preview__brand { display: none; }
  .app-preview__user {
    padding: 5px;
    justify-content: center;
    gap: 0;
  }
  .app-preview__uname,
  .app-preview__urole { display: none; }
  .app-preview__nav-btn {
    padding: 8px;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }
  .app-preview__nav-btn svg { opacity: 0.6; }
  .app-preview__nav-btn.is-active svg { opacity: 1; }
}

/* Contenu : empilement vertical sur petits écrans */
@media (max-width: 480px) {
  #aw-dash .aw-charts { height: auto; }
  .aw-charts { grid-template-columns: 1fr; }
  .aw-params-grid { grid-template-columns: 1fr; }
}

/* ── Section projet cards (services.html) ────────────────── */
.featured--services { padding: 4rem 0 2rem; }
.featured--services .section-head { margin-bottom: 2rem; }

/* ── Break pattern section ───────────────────────────────── */
.break-pattern {
  padding-block: 6rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.break-pattern__title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--fg);
}

.break-pattern__title em {
  color: var(--accent);
  font-style: normal;
}

.break-pattern__sub {
  font-size: 1rem;
  color: var(--muted2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Why grid — 4 colonnes ───────────────────────────────── */
@media (min-width: 900px) {
  .why__grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Différenciation AVANT / APRÈS ───────────────────────── */
.diff-section { padding-block: 6rem; }

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (max-width: 640px) {
  .diff-grid { grid-template-columns: 1fr; }
}

.diff-col {
  border-radius: 1rem;
  padding: 2rem;
}

.diff-col--before {
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.diff-col--after {
  background: rgba(200, 255, 0, 0.04);
  border: 1px solid rgba(200, 255, 0, 0.18);
}

.diff-col__title {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.diff-col--before .diff-col__title { color: var(--muted2); }
.diff-col--after .diff-col__title { color: var(--accent); }

.diff-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.diff-list li {
  font-size: 0.93rem;
  color: var(--muted2);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.5;
}

.diff-col--before .diff-list li::before {
  content: '×';
  position: absolute;
  left: 0;
  color: rgba(255, 80, 80, 0.7);
  font-weight: 700;
}

.diff-col--after .diff-list li { color: var(--fg); }

.diff-col--after .diff-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ── Témoignages ─────────────────────────────────────────── */
.testimonials { padding-block: 6rem; }

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

.testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.testimonial__quote {
  font-size: 0.95rem;
  color: var(--muted2);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex: 1;
}

.testimonial__meta {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(200, 255, 0, 0.1);
  border: 1px solid rgba(200, 255, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fg);
}

.testimonial__company {
  font-size: 0.78rem;
  color: var(--muted2);
  margin-top: 0.1rem;
}
