/* ============================================================
   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:     #22F588;
  --accent-rgb: 34, 245, 136;
  --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: flex-start;
  gap: 1.5rem;
  height: 56px;
  padding: 0 0.75rem 0 1.25rem;
}
.nav__pill .theme-toggle { margin-left: auto; }

.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: 0.75rem;
}

.hero__badge {
  width: 140px;
  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, 5vw, 7rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  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-top: 1.5rem;
  margin-bottom: 1rem;
}

.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: 1.25rem;
  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: var(--accent);
}
.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 items - ombre verte au hover ── */
.why-item {
  transition: border-color 0.35s, box-shadow 0.35s;
}
.why-item:hover {
  border-color: rgba(34, 245, 136, 0.45);
  box-shadow: 0 0 0 1px rgba(34, 245, 136, 0.12), 0 8px 32px -6px rgba(34, 245, 136, 0.25);
}
#probleme .why-item:hover {
  border-color: rgba(255, 80, 80, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 80, 80, 0.12), 0 8px 32px -6px rgba(255, 80, 80, 0.28);
}

.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; }

/* ── Mini animations "Ce que vous vivez" ── */
.why-item__anim {
  width: 100%;
  height: 120px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Spreadsheet */
.wa-sheet {
  font-size: 0.63rem;
  font-family: var(--font-b);
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
}
.wa-sheet__head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  gap: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.58rem;
}
.wa-sheet__row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  padding: 5px 8px;
  gap: 4px;
  border-top: 1px solid var(--border);
  color: var(--muted2);
  align-items: center;
}
.wa-sheet__row--err {
  animation: wa-row-blink 2.8s ease-in-out infinite;
}
.wa-err {
  color: #ff5050;
  font-weight: 700;
}
.wa-ver { color: var(--muted); text-decoration: line-through; }
.wa-ver__new {
  text-decoration: none;
  color: #ff9600;
  margin-left: 3px;
}
.wa-tag {
  display: inline-block;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.58rem;
  font-weight: 700;
}
.wa-tag--ok   { background: rgba(34,245,136,0.12);  color: #22F588; }
.wa-tag--err  { background: rgba(255,80,80,0.14);   color: #ff5050; animation: wa-tag-pulse 2.8s ease-in-out infinite; }
.wa-tag--warn { background: rgba(255,150,0,0.12);   color: #ff9600; }

@keyframes wa-row-blink {
  0%, 100% { background: transparent; }
  35%, 65% { background: rgba(255,80,80,0.07); }
}
@keyframes wa-tag-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Outils déconnectés */
.wa-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0.25rem 0 0;
}
.wa-tool {
  font-size: 0.62rem;
  font-family: var(--font-b);
  font-weight: 700;
  letter-spacing: 0.07em;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted2);
  background: var(--bg-card);
  flex-shrink: 0;
}.wa-connector {
  flex: 1;
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
}
.wa-connector__line {
  display: block;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to right,
    rgba(255,80,80,0.65) 0px, rgba(255,80,80,0.65) 5px,
    transparent 5px, transparent 10px
  );
  animation: wa-line-shift 1.6s linear infinite;
}
.wa-connector--b .wa-connector__line { animation-delay: -0.8s; }
.wa-connector__x {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.15rem;
  color: #ff5050;
  font-weight: 900;
  background: var(--bg-card);
  padding: 0 3px;
  line-height: 1;
  animation: wa-x-pulse 1.6s ease-in-out infinite;
}
.wa-connector--b .wa-connector__x { animation-delay: -0.8s; }


.wa-tools__note {
  font-size: 0.62rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0;
}

@keyframes wa-line-shift {
  from { background-position: 0 0; }
  to   { background-position: -16px 0; }
}
@keyframes wa-x-pulse {
  0%, 100% { opacity: 1;   transform: translateX(-50%) scale(1); }
  50%       { opacity: 0.3; transform: translateX(-50%) scale(0.75); }
}

/* Barre 60% bloquée */
.wa-fit { display: flex; flex-direction: column; gap: 6px; }
.wa-fit__labels {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.62rem;
  color: var(--muted);
}
.wa-fit__pct {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ff9600;
}
.wa-fit__bar {
  height: 14px;
  border-radius: 6px;
  background: var(--border);
  overflow: hidden;
  display: flex;
}
.wa-fit__fill {
  width: 62%;
  background: linear-gradient(to right, #ff9600, rgba(255,150,0,0.7));
  border-radius: 5px 0 0 5px;
  flex-shrink: 0;
  animation: wa-fill-pulse 2.4s ease-in-out infinite;
}
.wa-fit__rest {
  flex: 1;
  background: rgba(255,80,80,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: wa-rest-pulse 2.4s ease-in-out infinite;
}
.wa-fit__rest-label {
  font-size: 0.52rem;
  color: #ff5050;
  font-style: italic;
  letter-spacing: 0.02em;
  opacity: 0.8;
}
.wa-fit__note {
  font-size: 0.62rem;
  color: #ff5050;
  font-style: italic;
}

@keyframes wa-fill-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}
@keyframes wa-rest-pulse {
  0%, 100% { background: rgba(255,80,80,0.10); }
  50%       { background: rgba(255,80,80,0.22); }
}

.manifeste__sub {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.5rem 0 0;
}
.manifeste__sub em {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
.manifeste__contrast {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  text-align: center;
}
.manifeste__contrast-before {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--muted);
  font-style: italic;
  margin: 0;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.2);
}
.manifeste__contrast-before em {
  font-style: normal;
  text-decoration: none;
}
.manifeste__contrast-after {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--fg);
  margin: 0;
  letter-spacing: -0.02em;
}
.manifeste__contrast-after em {
  font-style: italic;
  color: var(--accent);
}
.manifeste__emoji {
  font-style: normal;
  display: inline-block;
  animation: manifeste-wobble 4s ease-in-out infinite;
}
@keyframes manifeste-wobble {
  0%, 70%, 100% { transform: rotate(0deg); }
  74%  { transform: rotate(-12deg); }
  78%  { transform: rotate(10deg); }
  82%  { transform: rotate(-8deg); }
  86%  { transform: rotate(6deg); }
  90%  { transform: rotate(0deg); }
}

/* ============================================================
   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;
}

#crm-ticker-diff {
  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:     #22F588;
    --accent-rgb: 34, 245, 136;
    --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:     #22F588;
  --accent-rgb: 34, 245, 136;
  --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); }
html[data-theme="light"] .btn--primary:hover { color: #fff; }

/* ── Thème clair : accent #22F588 direct ───────────────────── */

/* Textes accent */
html[data-theme="light"] .nav__logo-text,
html[data-theme="light"] .hero__title em,
html[data-theme="light"] .logo-marquee__headline,
html[data-theme="light"] .section-head a,
html[data-theme="light"] .stats__number .accent,
html[data-theme="light"] .page-hero__eyebrow,
html[data-theme="light"] .page-hero h1 em,
html[data-theme="light"] .service-card__meta-label,
html[data-theme="light"] .project-card__type,
html[data-theme="light"] .tag--accent,
html[data-theme="light"] .break-pattern__title em,
html[data-theme="light"] #contact .section-head h2 em {
  color: #22F588;
  background: transparent;
  padding: 0;
  border-radius: 0;
  font-style: normal;
  text-shadow: none;
}

/* Hover titres de cartes */
html[data-theme="light"] .why-item:hover .why-item__title,
html[data-theme="light"] .why-item:hover .why-item__number,
html[data-theme="light"] .service-card:hover .service-card__title,
html[data-theme="light"] .project-card:hover .project-card__title,
html[data-theme="light"] .project-item:hover .project-item__title,
html[data-theme="light"] .about-card:nth-child(2):hover .about-card__title {
  color: #22F588;
  text-shadow: none;
  text-decoration: none;
}

/* Numéros why-item */
html[data-theme="light"] .why-item__number {
  color: #22F588;
  background: transparent;
  display: block;
  padding: 0;
  border-radius: 0;
  opacity: 0.55;
  text-shadow: none;
}

/* Icônes → fond teinté vert léger */
html[data-theme="light"] .why-item__icon,
html[data-theme="light"] .project-card__icon {
  color: #22F588;
  background: rgba(34,245,136,0.08);
  border-color: rgba(34,245,136,0.2);
  filter: none;
}
html[data-theme="light"] .why-item:hover .why-item__icon {
  background: rgba(34,245,136,0.15);
  border-color: rgba(34,245,136,0.4);
}
html[data-theme="light"] .hero__claim svg,
html[data-theme="light"] .contact-info-item svg {
  color: #22F588;
  background: transparent;
  padding: 0;
  border-radius: 0;
  filter: drop-shadow(0 0 3px rgba(0,0,0,0.2));
}

/* Prequalify / reassurance / form-success */
html[data-theme="light"] .prequalify__icon,
html[data-theme="light"] .reassurance-card__icon,
html[data-theme="light"] .form-success svg {
  color: #22F588;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Différenciation "après" */
html[data-theme="light"] .diff-col--after {
  background: rgba(34,245,136,0.04);
  border-color: rgba(34,245,136,0.2);
}
html[data-theme="light"] .diff-col--after .diff-col__title {
  color: #22F588;
  background: transparent;
  padding: 0;
  border-radius: 0;
  display: block;
}
html[data-theme="light"] .diff-col--after .diff-icon {
  color: #22F588;
  background: rgba(34,245,136,0.08);
}
html[data-theme="light"] .diff-col--after .diff-list li { color: var(--muted2); }
html[data-theme="light"] .diff-col--after .diff-col__preview {
  background: #1a1e26;
  border-color: rgba(0,0,0,0.15);
}
html[data-theme="light"] .diff-col--after .diff-list li:hover {
  background: rgba(34,245,136,0.05);
}
html[data-theme="light"] .diff-col--after .diff-list li:hover .diff-icon {
  color: #22F588;
  background: rgba(34,245,136,0.15);
}

/* Stats hover */
html[data-theme="light"] .stats__item:nth-child(2):hover .stats__number {
  color: #22F588;
  text-shadow: none;
}
html[data-theme="light"] .stats__item:nth-child(4):hover .stats__number { color: #22F588; }

/* FAQ */
html[data-theme="light"] .faq-question:hover { color: #22F588; }
html[data-theme="light"] .faq-item.is-open .faq-chevron { color: #22F588; }

/* Project card */
html[data-theme="light"] .project-card:hover .project-card__impact { color: #22F588; }

/* Sections : fonds alt */
html[data-theme="light"] #methode,
html[data-theme="light"] .cx-section { background: var(--bg-alt); }
html[data-theme="light"] .why__grid--3::before {
  background: linear-gradient(to right,
    rgba(34,245,136,0.5) 0%, rgba(34,245,136,0.22) 50%, rgba(34,245,136,0.5) 100%
  );
}
html[data-theme="light"] .why__grid--3::after { background: rgba(34,245,136,0.6); }

/* ── Thème système clair (sans override manuel) */
@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); }
  html:not([data-theme="dark"]) .btn--primary:hover { color: #fff; }

  html:not([data-theme="dark"]) .nav__logo-text,
  html:not([data-theme="dark"]) .hero__title em,
  html:not([data-theme="dark"]) .logo-marquee__headline,
  html:not([data-theme="dark"]) .section-head a,
  html:not([data-theme="dark"]) .stats__number .accent,
  html:not([data-theme="dark"]) .page-hero__eyebrow,
  html:not([data-theme="dark"]) .page-hero h1 em,
  html:not([data-theme="dark"]) .service-card__meta-label,
  html:not([data-theme="dark"]) .project-card__type,
  html:not([data-theme="dark"]) .tag--accent,
  html:not([data-theme="dark"]) .break-pattern__title em,
  html:not([data-theme="dark"]) #contact .section-head h2 em {
    color: #22F588;
    background: transparent;
    padding: 0;
    border-radius: 0;
    font-style: normal;
    text-shadow: none;
  }
  html:not([data-theme="dark"]) .why-item:hover .why-item__title,
  html:not([data-theme="dark"]) .why-item:hover .why-item__number,
  html:not([data-theme="dark"]) .service-card:hover .service-card__title,
  html:not([data-theme="dark"]) .project-card:hover .project-card__title,
  html:not([data-theme="dark"]) .project-item:hover .project-item__title,
  html:not([data-theme="dark"]) .about-card:nth-child(2):hover .about-card__title {
    color: #22F588;
    text-shadow: none;
    text-decoration: none;
  }
  html:not([data-theme="dark"]) .why-item__number {
    color: #22F588;
    background: transparent;
    display: block;
    padding: 0;
    border-radius: 0;
    opacity: 0.55;
    text-shadow: none;
  }
  html:not([data-theme="dark"]) .why-item__icon,
  html:not([data-theme="dark"]) .project-card__icon {
    color: #22F588;
    background: rgba(34,245,136,0.08);
    border-color: rgba(34,245,136,0.2);
    filter: none;
  }
  html:not([data-theme="dark"]) .why-item:hover .why-item__icon {
    background: rgba(34,245,136,0.15);
    border-color: rgba(34,245,136,0.4);
  }
  html:not([data-theme="dark"]) .hero__claim svg,
  html:not([data-theme="dark"]) .contact-info-item svg {
    color: #22F588;
    background: transparent;
    padding: 0;
    border-radius: 0;
    filter: drop-shadow(0 0 3px rgba(0,0,0,0.2));
  }
  html:not([data-theme="dark"]) .prequalify__icon,
  html:not([data-theme="dark"]) .reassurance-card__icon,
  html:not([data-theme="dark"]) .form-success svg {
    color: #22F588;
    background: transparent;
    padding: 0;
    border-radius: 0;
  }
  html:not([data-theme="dark"]) .diff-col--after {
    background: rgba(34,245,136,0.04);
    border-color: rgba(34,245,136,0.2);
  }
  html:not([data-theme="dark"]) .diff-col--after .diff-col__title {
    color: #22F588;
    background: transparent;
    padding: 0;
    border-radius: 0;
    display: block;
  }
  html:not([data-theme="dark"]) .diff-col--after .diff-icon {
    color: #22F588;
    background: rgba(34,245,136,0.08);
  }
  html:not([data-theme="dark"]) .diff-col--after .diff-list li { color: var(--muted2); }
  html:not([data-theme="dark"]) .diff-col--after .diff-col__preview {
    background: #1a1e26;
    border-color: rgba(0,0,0,0.15);
  }
  html:not([data-theme="dark"]) .diff-col--after .diff-list li:hover {
    background: rgba(34,245,136,0.05);
  }
  html:not([data-theme="dark"]) .diff-col--after .diff-list li:hover .diff-icon {
    color: #22F588;
    background: rgba(34,245,136,0.15);
  }
  html:not([data-theme="dark"]) .stats__item:nth-child(2):hover .stats__number {
    color: #22F588;
    text-shadow: none;
  }
  html:not([data-theme="dark"]) .stats__item:nth-child(4):hover .stats__number { color: #22F588; }
  html:not([data-theme="dark"]) .faq-question:hover { color: #22F588; }
  html:not([data-theme="dark"]) .faq-item.is-open .faq-chevron { color: #22F588; }
  html:not([data-theme="dark"]) .project-card:hover .project-card__impact { color: #22F588; }
  html:not([data-theme="dark"]) #methode,
  html:not([data-theme="dark"]) .cx-section { background: var(--bg-alt); }
  html:not([data-theme="dark"]) .why__grid--3::before {
    background: linear-gradient(to right,
      rgba(34,245,136,0.5) 0%, rgba(34,245,136,0.22) 50%, rgba(34,245,136,0.5) 100%
    );
  }
  html:not([data-theme="dark"]) .why__grid--3::after { background: rgba(34,245,136,0.6); }
}

/* 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:     #22F588;
  --accent-rgb: 34, 245, 136;
  --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%;
  max-width: 850px;
  margin: auto;
}

.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: #22F588;
  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(34,245,136,0.14);
  color: #22F588;
  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(34,245,136,0.1);
  color: #22F588;
}

.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(34,245,136,0.12);  color: #22F588;               border: 1px solid rgba(34,245,136,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: #22F588;
  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(34,245,136,0.1);
  border-color: rgba(34,245,136,0.25);
  color: #22F588;
}

/* Couleurs filtres par statut */
#aw-projets .aw-filter[data-filter="En cours"].is-active,
#aw-projets .aw-filter[data-filter="En cours"]:hover {
  background: rgba(100,180,255,0.1);
  border-color: rgba(100,180,255,0.25);
  color: #64b4ff;
}
#aw-projets .aw-filter[data-filter="En attente"].is-active,
#aw-projets .aw-filter[data-filter="En attente"]:hover {
  background: rgba(255,150,0,0.1);
  border-color: rgba(255,150,0,0.25);
  color: #ff9600;
}
#aw-projets .aw-filter[data-filter="Terminé"].is-active,
#aw-projets .aw-filter[data-filter="Terminé"]:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.45);
}

/* ── 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(34,245,136,0.2); }

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

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

.aw-slider-val {
  font-size: 8.5px;
  color: #22F588;
  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: #22F588;
  cursor: pointer;
}

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

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

.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(34,245,136,0.1);
  border-color: rgba(34,245,136,0.3);
  color: #22F588;
}

/* Donut + KPIs - layout stable à toutes largeurs */
.aw-dash-top {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  height: 148px;
}

.aw-chart-box--donut {
  width: 168px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 12px;
}

.aw-chart-box--donut .aw-donut-wrap { flex: 1; }

.aw-chart-box--donut .aw-donut-svg {
  width: 90px;
  height: 90px;
}

.aw-dash-kpis {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  min-width: 0;
}

.aw-dash-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  overflow: hidden;
}

.aw-dash-kpi--up { border-color: rgba(34,245,136,0.15); }

.aw-dash-kpi__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

.aw-dash-kpi__val {
  font-size: 13px;
  font-weight: 700;
  color: var(--text, #f2f2f2);
  line-height: 1;
  font-family: 'Plus Jakarta Sans', system-ui;
}

.aw-dash-kpi--up .aw-dash-kpi__val { color: #22F588; }

.aw-dash-kpi__label {
  font-size: 7px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.aw-dash-kpi__bar {
  height: 3px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.aw-dash-kpi__fill {
  height: 100%;
  background: rgba(34,245,136,0.55);
  border-radius: 10px;
  width: 0 !important;
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.aw-dash-kpi__fill.is-animated {
  width: var(--bar-target) !important;
}

.aw-dash-kpi--up .aw-dash-kpi__fill { background: #22F588; }

/* 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; }
  .aw-dash-kpis { display: none; }
  .aw-chart-box--donut { width: 100%; }
}

@media (max-width: 480px) {
  .aw-params-grid { grid-template-columns: 1fr; }
  .aw-kpi__val { font-size: 20px; }
}


/* ── Factures - barre de progression + actions ───────────── */
.aw-kpis--3 { margin-bottom: 10px; }

.aw-kpi--warn { color: #ff9600 !important; }

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

.aw-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.aw-progress-label {
  font-size: 7.5px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 600;
}

.aw-progress-pct {
  font-size: 8px;
  font-weight: 700;
  color: #22F588;
}

.aw-progress-track {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}

.aw-progress-fill {
  height: 100%;
  background: linear-gradient(to right, rgba(34,245,136,0.6), #22F588);
  border-radius: 10px;
}

.aw-progress-footer {
  margin-top: 4px;
  font-size: 7px;
  color: rgba(255,255,255,0.22);
  text-align: right;
}

.aw-item--actions { padding-right: 6px; }

.aw-item__actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
  flex-shrink: 0;
}

.aw-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.aw-action-btn:hover {
  background: rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.75);
  border-color: rgba(255,255,255,0.2);
}

/* ── 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__tag {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

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

/* ── Citation panique ──────────────────────────────────── */
.panic-quote {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto 3rem;
  padding: 16px 20px;
  border: 1px solid rgba(255, 150, 0, 0.3);
  border-radius: 8px;
  background: rgba(255, 150, 0, 0.05);
  animation: panic-shake 3.5s ease-in-out infinite;
}
.panic-quote__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
  animation: panic-icon 3.5s ease-in-out infinite;
}
.panic-quote__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.panic-quote__line1 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ff9600;
  font-style: italic;
  margin: 0;
}
.panic-quote__line2 {
  font-size: 0.82rem;
  color: var(--muted2);
  font-style: italic;
  margin: 0;
}
.panic-quote__line3 {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  margin: 4px 0 0;
  opacity: 0.75;
}
@keyframes panic-shake {
  0%, 60%, 100% { transform: translateX(0) rotate(0deg); }
  63%  { transform: translateX(-4px) rotate(-0.4deg); }
  66%  { transform: translateX(4px)  rotate(0.4deg); }
  69%  { transform: translateX(-3px) rotate(-0.3deg); }
  72%  { transform: translateX(3px)  rotate(0.3deg); }
  75%  { transform: translateX(-2px) rotate(0deg); }
  78%  { transform: translateX(0); }
}
@keyframes panic-icon {
  0%, 60%, 100% { transform: scale(1) rotate(0deg); }
  63%  { transform: scale(1.2) rotate(-8deg); }
  69%  { transform: scale(1.2) rotate(8deg); }
  75%  { transform: scale(1) rotate(0deg); }
}

/* ── Why grid - 3 colonnes avec ligne de connexion ──────── */
@media (min-width: 768px) {
  .why__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.why__grid--3 { position: relative; }

@media (min-width: 768px) {
  /* Ligne animée qui relie les 3 étapes */
  .why__grid--3::before {
    content: '';
    position: absolute;
    top: calc(2rem + 22px);
    left:  calc(100% / 6);
    width: calc(100% * 2 / 3);
    height: 2px;
    border-radius: 1px;
    background: repeating-linear-gradient(
      to right,
      rgba(34,245,136,0.8) 0px, rgba(34,245,136,0.8) 8px,
      transparent 8px, transparent 16px
    );
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.4,0,0.2,1) 0.2s;
    animation: connector-flow 1.1s linear infinite;
    animation-play-state: paused;
    pointer-events: none;
    z-index: 0;
  }
  .why__grid--3.line-active::before {
    transform: scaleX(1);
    animation-play-state: running;
  }

  /* Points aux extrémités */
  .why__grid--3::after {
    content: '';
    position: absolute;
    top: calc(2rem + 18px);
    left:  calc(100% / 6 - 4px);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(34,245,136,0.9);
    opacity: 0;
    transition: opacity 0.35s ease 0.8s;
    pointer-events: none;
    box-shadow: calc(100% * 2/3 + 4px) 0 0 rgba(34,245,136,0.9);
    z-index: 0;
  }
  .why__grid--3.line-active::after { opacity: 1; }

@keyframes connector-flow {
  from { background-position: 0 0; }
  to   { background-position: 32px 0; }
}
}

/* Les cartes passent au-dessus de la ligne */
.why__grid--3 .why-item { position: relative; z-index: 1; }

/* ── Méthode - animations ─────────────────────────────────── */

/* Bloc 01 - Découverte : tags qui s'allument */
.wm-discover {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px;
}
.wm-dtag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.wm-dtag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: background 0.3s;
}
.wm-dtag.is-active {
  border-color: rgba(34, 245, 136, 0.45);
  background: rgba(34, 245, 136, 0.08);
  color: rgba(34, 245, 136, 0.9);
}
.wm-dtag.is-active .wm-dtag__dot {
  background: rgba(34, 245, 136, 0.9);
  box-shadow: 0 0 6px rgba(34, 245, 136, 0.7);
}

/* Bloc 02 - Conception : code qui s'écrit */
.wm-code {
  width: 100%;
  background: #0d1117;
  border-radius: 7px;
  overflow: hidden;
  font-family: 'Courier New', monospace;
}
.wm-code__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  background: #161b22;
}
.wm-code__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.wm-code__dot--r { background: #ff5f57; }
.wm-code__dot--y { background: #febc2e; }
.wm-code__dot--g { background: #28c840; }
.wm-code__file {
  margin-left: 6px;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.32);
}
.wm-code__body {
  padding: 7px 9px;
  min-height: 82px;
  font-size: 0.63rem;
  line-height: 1.65;
  color: #e6edf3;
  white-space: pre;
}
.wm-code__cursor {
  display: inline-block;
  width: 6px;
  height: 0.78em;
  background: rgba(34, 245, 136, 0.9);
  vertical-align: text-bottom;
  animation: wm-blink 0.65s steps(1) infinite;
}
@keyframes wm-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Bloc 03 - Mise à jour logiciel */
.wm-update {
  width: 100%;
  background: #12131a;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wm-update__header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wm-update__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(34,245,136,0.22), rgba(34,245,136,0.08));
  border: 1px solid rgba(34,245,136,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(34,245,136,0.9);
  flex-shrink: 0;
}
.wm-update__name {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}
.wm-update__ver {
  font-size: 0.6rem;
  color: rgba(34,245,136,0.75);
  font-weight: 600;
  min-height: 0.85em;
}
.wm-update__track {
  height: 5px;
  background: rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
}
.wm-update__fill {
  height: 100%;
  width: 0%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(34,245,136,0.6), rgba(34,245,136,1));
  transition: width 0.15s linear;
}
.wm-update__status {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.42);
  min-height: 0.9em;
  transition: color 0.3s;
}
.wm-update__status.is-done {
  color: rgba(34,245,136,0.85);
  font-weight: 600;
}

/* ── 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(34, 245, 136, 0.04);
  border: 1px solid rgba(34, 245, 136, 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-col__img {
  width: 100%;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
  display: block;
  border: 1px solid var(--border);
  opacity: 0.85;
}

.diff-col__preview {
  width: 100%;
  border-radius: 0.6rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(34,245,136,0.12);
  padding: 0.75rem;
}

.diff-col__preview--before {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  padding: 0;
}

.diff-col__preview svg {
  width: 100%;
  height: auto;
  display: block;
}

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

.diff-list li {
  font-size: 0.93rem;
  color: var(--muted2);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.5rem;
  cursor: default;
  transition: background 0.2s ease;
}
.diff-list li::before { display: none; }

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

/* Icon container */
.diff-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  margin-top: 0.05rem;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.diff-col--before .diff-icon {
  color: rgba(255,100,100,0.55);
  background: rgba(255,80,80,0.06);
}
.diff-col--after .diff-icon {
  color: rgba(34,245,136,0.65);
  background: rgba(34,245,136,0.07);
}
.diff-list li span:last-child { padding-top: 0.28rem; }

/* ── Before: hover backgrounds */
.diff-col--before .diff-list li:hover {
  background: rgba(255,80,80,0.04);
}
.diff-col--before .diff-list li:hover .diff-icon {
  color: rgba(255,90,90,0.85);
  background: rgba(255,80,80,0.1);
}

/* ── After: hover backgrounds */
.diff-col--after .diff-list li:hover {
  background: rgba(34,245,136,0.04);
}
.diff-col--after .diff-list li:hover .diff-icon {
  color: var(--accent);
  background: rgba(34,245,136,0.13);
}

/* ─── Before hover animations ─────────────────────────── */
/* b1 : pas de connexion → shake rageur */
.diff-item--b1:hover .diff-icon { animation: dh-shake 0.45s ease; }
@keyframes dh-shake {
  0%,100% { transform: translateX(0); }
  18%  { transform: translateX(-5px) rotate(-6deg); }
  36%  { transform: translateX(5px) rotate(6deg); }
  54%  { transform: translateX(-3px) rotate(-3deg); }
  72%  { transform: translateX(3px) rotate(3deg); }
}

/* b2 : données éparpillées → explosion puis retour */
.diff-item--b2:hover .diff-icon { animation: dh-scatter 0.55s ease; }
@keyframes dh-scatter {
  0%   { transform: scale(1) rotate(0deg); }
  25%  { transform: scale(1.22) rotate(-10deg) translate(-2px,-2px); }
  50%  { transform: scale(0.88) rotate(10deg) translate(2px,2px); }
  75%  { transform: scale(1.1) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* b3 : bricolage → clé qui tourne comme pour serrer */
.diff-item--b3:hover .diff-icon { animation: dh-wrench 0.7s ease; }
@keyframes dh-wrench {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(22deg); }
  45%  { transform: rotate(-12deg); }
  65%  { transform: rotate(18deg); }
  85%  { transform: rotate(-6deg); }
  100% { transform: rotate(0deg); }
}

/* b4 : processus qui contourne → fait le tour d'un obstacle */
.diff-item--b4:hover .diff-icon { animation: dh-detour 0.75s ease; }
@keyframes dh-detour {
  0%   { transform: translate(0,0); }
  20%  { transform: translate(7px,-3px); }
  40%  { transform: translate(4px,-8px); }
  60%  { transform: translate(-4px,-8px); }
  80%  { transform: translate(-7px,-3px); }
  100% { transform: translate(0,0); }
}

/* b5 : adoption difficile → recule et tressaute (refus) */
.diff-item--b5:hover .diff-icon { animation: dh-reject 0.5s ease; }
@keyframes dh-reject {
  0%,100% { transform: scale(1) translateX(0); }
  20%  { transform: scale(1.1) translateX(-6px); }
  40%  { transform: scale(1.05) translateX(4px); }
  60%  { transform: scale(0.95) translateX(-3px); }
  80%  { transform: scale(1) translateX(2px); }
}

/* ─── After hover animations ──────────────────────────── */
/* a1 : système unique → onde de connexion */
.diff-item--a1:hover .diff-icon { animation: dh-link 0.6s ease; }
@keyframes dh-link {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(34,245,136,0); }
  35%  { transform: scale(1.18); box-shadow: 0 0 0 6px rgba(34,245,136,0.18); }
  70%  { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(34,245,136,0.06); }
  100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(34,245,136,0); }
}

/* a2 : info à jour → rotation sync */
.diff-item--a2:hover .diff-icon { animation: dh-spin 0.65s cubic-bezier(0.45,0,0.55,1); }
@keyframes dh-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* a3 : automatisation → éclair qui frappe */
.diff-item--a3:hover .diff-icon { animation: dh-zap 0.5s ease; }
@keyframes dh-zap {
  0%   { transform: scale(1)    translateY(0);   opacity: 1; }
  20%  { transform: scale(1.3)  translateY(-3px); opacity: 0.6; }
  40%  { transform: scale(0.9)  translateY(2px);  opacity: 1; }
  60%  { transform: scale(1.15) translateY(-2px); opacity: 0.8; }
  100% { transform: scale(1)    translateY(0);   opacity: 1; }
}

/* a4 : suit vos processus → glisse en avant comme une boussole */
.diff-item--a4:hover .diff-icon { animation: dh-forward 0.55s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes dh-forward {
  0%   { transform: translateX(0)   rotate(0deg); }
  40%  { transform: translateX(8px) rotate(12deg); }
  70%  { transform: translateX(4px) rotate(5deg); }
  100% { transform: translateX(0)   rotate(0deg); }
}

/* a5 : équipe → rebond joyeux */
.diff-item--a5:hover .diff-icon { animation: dh-bounce 0.55s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes dh-bounce {
  0%   { transform: scale(1) translateY(0); }
  40%  { transform: scale(1.28) translateY(-5px); }
  70%  { transform: scale(1.1) translateY(-2px); }
  100% { transform: scale(1) translateY(0); }
}

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

/* ── Marquee défilant ── */
.testimonials-marquee {
  overflow: hidden;
  position: relative;
  max-width: 1160px;
  margin-inline: auto;
  margin-top: 3rem;
  padding-block: 0.75rem;
}
.testimonials-marquee::before,
.testimonials-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}
.testimonials-marquee::before { left: 0;  background: linear-gradient(to right, var(--bg), transparent); }
.testimonials-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.testimonials-marquee__track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  padding-inline: 1.25rem;
  animation: marquee 60s linear infinite;
}
.testimonials-marquee__track:hover { animation-play-state: paused; }

/* ── Carte témoignage ── */
.testimonial {
  width: 300px;
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s, box-shadow 0.35s;
}
.testimonial:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 30px -4px rgba(var(--accent-rgb), 0.35);
}

.testimonial__points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}
.testimonial__points li {
  font-size: 0.84rem;
  color: var(--muted2);
  line-height: 1.55;
}

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

.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(34, 245, 136, 0.1);
  border: 1px solid rgba(34, 245, 136, 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;
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
  padding-block: 6rem;
  background: var(--bg-alt);
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-intro {
  font-size: 1rem;
  color: var(--muted2);
  margin-top: 0.75rem;
  line-height: 1.7;
  max-width: 540px;
}

.faq-section .section-head {
  flex-direction: column;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 780px;
}

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

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

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

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

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.25s ease;
  color: var(--muted2);
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

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

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

.faq-answer p {
  font-size: 0.94rem;
  color: var(--muted2);
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

/* ============================================================
   PRÉ-QUALIFICATION CONTACT
   ============================================================ */
.prequalify {
  margin-bottom: 1.5rem;
}

.prequalify--hidden { display: none; }

.prequalify__label {
  font-family: var(--font-d);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text);
}

.prequalify__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

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

@media (max-width: 480px) {
  .prequalify__options,
  .prequalify__options--budget { grid-template-columns: 1fr; }
}

.prequalify__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  text-align: center;
  padding: 1.4rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.9rem;
  line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}

.prequalify__card:hover {
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.04);
}

.prequalify__card--sm {
  padding: 0.9rem 0.75rem;
  font-size: 0.88rem;
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

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

.prequalify__title { font-weight: 500; }

/* Exclusion message */
.prequalify-excl__inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
  color: var(--muted2);
  font-size: 0.94rem;
  line-height: 1.65;
}

.prequalify-excl__inner svg { flex-shrink: 0; color: var(--muted); margin-top: 0.1rem; }

.prequalify__reset {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted2);
  font-size: 0.85rem;
  font-family: var(--font-b);
  transition: color 0.15s;
  padding: 0;
}

.prequalify__reset:hover { color: var(--text); }

/* Confirmation envoi */
.form-success {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 0.85rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
}

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

/* ═══════════════════════════════════════════════════════════
   CONNEXION ANIMATION SECTION
   ═══════════════════════════════════════════════════════════ */
.cx-section { padding: 5rem 0 6rem; }

.cx-sub {
  text-align: center;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  margin-top: 0.7rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cx-scene {
  position: relative;
  height: 360px;
  margin-top: 3rem;
  user-select: none;
}

.cx-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* Lines - démarrent invisibles, JS gère le tracé */
.cx-line {
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
  filter: url(#cx-line-glow);
}

/* Hub */
.cx-hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(34,245,136,0.08);
  border: 1.5px solid rgba(34,245,136,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0; /* contrôlé par JS */
  animation: cx-pulse 2.8s ease-in-out infinite;
}

.cx-hub__ring {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 1px solid rgba(34,245,136,0.12);
  pointer-events: none;
  animation: cx-ring-breathe 2.8s ease-in-out infinite;
}

.cx-hub__name {
  font-family: 'Plus Jakarta Sans', system-ui;
  font-size: 15px;
  font-weight: 700;
  color: #22F588;
  letter-spacing: -0.02em;
}

/* Flottement des nœuds satellites */
@keyframes cx-float {
  0%, 100% { transform: translate(-50%, -50%) scale(1) translateY(0px); }
  50%       { transform: translate(-50%, -50%) scale(1) translateY(-7px); }
}

.cx-node.is-floating {
  animation: cx-float 3.5s ease-in-out infinite;
  /* Le délai est appliqué par JS pour désynchroniser */
}

@keyframes cx-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,245,136,0.32), 0 0 22px rgba(34,245,136,0.14); }
  50%       { box-shadow: 0 0 0 20px rgba(34,245,136,0), 0 0 36px rgba(34,245,136,0.06); }
}

@keyframes cx-ring-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%       { transform: scale(1.07); opacity: 0.18; }
}

/* Nodes */
.cx-node {
  position: absolute;
  left: var(--cx-x);
  top: var(--cx-y);
  transform: translate(-50%, -50%) scale(0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.42s ease, transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cx-node.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.cx-node__box {
  position: relative;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.cx-node__icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: rgba(255,255,255,0.28);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease;
}

.cx-node.is-checked .cx-node__box {
  border-color: var(--cx-c);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--cx-c) 20%, transparent),
              0 0 20px color-mix(in srgb, var(--cx-c) 22%, transparent),
              inset 0 0 14px color-mix(in srgb, var(--cx-c) 7%, transparent);
}

.cx-node.is-checked .cx-node__icon {
  stroke: var(--cx-c);
}

/* Badge check (coin sup. droit) */
.cx-node__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--cx-c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0a0a0a;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.3s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.1s;
}

.cx-node.is-checked .cx-node__badge {
  opacity: 1;
  transform: scale(1);
}

.cx-node__badge svg { width: 9px; height: 9px; }

.cx-node__label {
  font-family: 'Plus Jakarta Sans', system-ui;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-align: center;
  white-space: nowrap;
  transition: color 0.4s ease;
}

.cx-node.is-checked .cx-node__label {
  color: rgba(255,255,255,0.88);
}

/* Light mode */
html[data-theme="light"] .cx-hub,
html:not([data-theme="dark"]) .cx-hub {
  border-color: rgba(34,245,136,0.75); background: rgba(34,245,136,0.08);
  animation: cx-pulse-light 2.8s ease-in-out infinite;
}
html[data-theme="light"] .cx-hub__ring,
html:not([data-theme="dark"]) .cx-hub__ring { border-color: rgba(34,245,136,0.20); }
html[data-theme="light"] .cx-hub__name,
html:not([data-theme="dark"]) .cx-hub__name { color: #22F588; }
html[data-theme="light"] .cx-node__icon,
html:not([data-theme="dark"]) .cx-node__icon { stroke: rgba(0,0,0,0.45); }
html[data-theme="light"] .cx-node__box,
html:not([data-theme="dark"]) .cx-node__box { border-color: rgba(0,0,0,0.13); background: rgba(255,255,255,0.82); }
html[data-theme="light"] .cx-node.is-checked .cx-node__box,
html:not([data-theme="dark"]) .cx-node.is-checked .cx-node__box { background: rgba(255,255,255,0.96); }
html[data-theme="light"] .cx-node__label,
html:not([data-theme="dark"]) .cx-node__label { color: rgba(0,0,0,0.48); }
html[data-theme="light"] .cx-node.is-checked .cx-node__label,
html:not([data-theme="dark"]) .cx-node.is-checked .cx-node__label { color: rgba(0,0,0,0.85); }
/* cx-scene : pas de fond en mode clair */

@keyframes cx-pulse-light {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,245,136,0.32), 0 0 18px rgba(34,245,136,0.12); }
  50%       { box-shadow: 0 0 0 18px rgba(34,245,136,0), 0 0 28px rgba(34,245,136,0.06); }
}

/* Hub en phase de fusion */
.cx-hub.is-absorbing {
  animation: cx-absorb 1.4s ease forwards !important;
}
@keyframes cx-absorb {
  0%   { box-shadow: 0 0 0 0   rgba(34,245,136,0.28), 0 0 22px rgba(34,245,136,0.14); }
  18%  { box-shadow: 0 0 0 10px rgba(34,245,136,0.22), 0 0 50px rgba(34,245,136,0.4); }
  42%  { box-shadow: 0 0 0 26px rgba(34,245,136,0.10), 0 0 80px rgba(34,245,136,0.55); }
  68%  { box-shadow: 0 0 0 44px rgba(34,245,136,0.04), 0 0 100px rgba(34,245,136,0.35); }
  100% { box-shadow: 0 0 0 0   rgba(34,245,136,0),    0 0 22px rgba(34,245,136,0.14); }
}

/* Mobile */
@media (max-width: 600px) {
  .cx-scene { height: 250px; margin-top: 2rem; }
  .cx-hub { width: 70px; height: 70px; }
  .cx-hub__name { font-size: 11px; }
  .cx-node__box { width: 38px; height: 38px; border-radius: 10px; }
  .cx-node__icon { width: 17px; height: 17px; }
  .cx-node__label { font-size: 8.5px; }
  .cx-node__badge { width: 13px; height: 13px; top: -5px; right: -5px; }
  .cx-node__badge svg { width: 7px; height: 7px; }
}

/* ── Contact section on index ────────────────────────────── */
/* ── Projets panel - two-column layout ──────────────────── */
#aw-projets {
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
.aw-projets-body {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex: 1;
  min-height: 0;
  margin-top: 8px;
}
#aw-projets .aw-list {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
}
#aw-projets .aw-list::-webkit-scrollbar { display: none; }
.aw-projets-chart {
  width: 110px;
  flex-shrink: 0;
  align-self: flex-start;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 10px 10px 8px;
}
.aw-bar-chart {
  height: 130px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 2px;
}
.aw-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.aw-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  height: 0 !important;
  transition: height 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.aw-bar.is-animated {
  height: var(--bar-h) !important;
}
.aw-bar-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding-top: 5px;
}
.aw-bar-foot strong {
  font-size: 9px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  font-family: 'Plus Jakarta Sans', system-ui;
}
.aw-bar-foot span {
  font-size: 6px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  font-family: 'Plus Jakarta Sans', system-ui;
  white-space: nowrap;
}

/* ── Contact section on index ────────────────────────────── */
#contact.contact-page {
  background: var(--bg);
  padding-block: 6rem;
}

#contact .section-head {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3.5rem;
}

#contact .section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

#contact .section-head h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================================
   FOOTER - crédit cinquante.app
   ============================================================ */
.footer__madeby {
  font-size: 0.77rem;
  color: var(--muted);
}
.footer__cinquante {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--muted2);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__cinquante span { color: var(--accent); }
.footer__cinquante:hover { color: var(--text); }

.footer__legal-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.77rem;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.15s;
}
.footer__legal-btn:hover { color: var(--muted2); }

/* ============================================================
   MODAL - Mentions légales
   ============================================================ */
.mentions-modal {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(680px, calc(100vw - 2rem));
  max-height: min(80vh, 700px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0,0,0,0.45);
}
.mentions-modal::backdrop {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.mentions-modal__inner {
  overflow-y: auto;
  max-height: min(80vh, 700px);
  padding: 2.5rem 2rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.mentions-modal__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  padding-right: 2rem;
}
.mentions-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted2);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, border-color 0.15s;
}
.mentions-modal__close:hover { color: var(--text); border-color: var(--ghost-border-h); }
.mentions-modal__section { margin-bottom: 1.5rem; }
.mentions-modal__section h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted2);
  margin-bottom: 0.5rem;
}
.mentions-modal__section p,
.mentions-modal__section ul {
  font-size: 0.88rem;
  color: var(--muted2);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}
.mentions-modal__section ul {
  padding-left: 1.25rem;
  list-style: disc;
}
.mentions-modal__section a {
  color: var(--accent);
  text-decoration: none;
}
.mentions-modal__section a:hover { text-decoration: underline; }
.mentions-modal__update {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 1rem;
}
