/* ============================================================
   CINQUANTE - style.css
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400;1,9..144,500&family=Outfit:wght@300;400;500;600&display=swap');

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

/* ============================================================
   VARIABLES - thème clair forcé
   ============================================================ */
:root {
  color-scheme: light;

  --bg:           #FAFAF8;
  --bg-alt:       #F2F0EB;
  --bg-card:      #FFFFFF;
  --text:         #1A1A18;
  --muted:        #7A7970;
  --muted2:       #B8B6AE;
  --accent:       #0F0F0E;
  --accent-dark:  #000000;
  --accent-soft:  rgba(15,15,14,0.06);
  --accent-glow:  rgba(15,15,14,0.18);
  --border:       rgba(26,26,24,0.10);
  --border-h:     rgba(26,26,24,0.22);

  --font-d: 'Fraunces', Georgia, serif;
  --font-b: 'Outfit', system-ui, sans-serif;

  --nav-h:      68px;
  --radius:     12px;
  --radius-lg:  20px;

  --shadow-sm: 0 2px 8px rgba(26,26,24,0.06);
  --shadow:    0 4px 20px rgba(26,26,24,0.08);
  --shadow-lg: 0 12px 48px rgba(26,26,24,0.12);
  --shadow-xl: 0 24px 80px rgba(26,26,24,0.16);
}

/* Force light même si le système est en dark */
@media (prefers-color-scheme: dark) {
  :root { color-scheme: light; }
  html  { background: #FAFAF8; }
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

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

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

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  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;
  justify-content: center;
  gap: 0.4em;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-b);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease,
              border-color 0.2s ease,
              color 0.2s ease;
  isolation: isolate;
}
/* Sliding underlay - glisse de gauche à droite */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1);
  z-index: -1;
}
.btn:hover::before  { transform: translateX(0); }
.btn:active         { transform: scale(0.97); }

.btn--lg   { padding: 0.9rem 2rem; font-size: 1rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary::before { background: var(--accent-dark); }
.btn--primary:hover   { box-shadow: 0 8px 28px var(--accent-glow); }

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-h);
}
.btn--ghost::before { background: var(--text); }
.btn--ghost:hover   { border-color: var(--text); color: #fff; }

.btn--white {
  background: #fff;
  color: var(--text);
  font-weight: 700;
}
.btn--white::before { background: var(--bg-alt); }
.btn--white:hover   { box-shadow: 0 8px 28px rgba(0,0,0,0.18); }

/* Hero CTA - effet premium */
.hero__actions .btn--primary::before { display: none; }
.hero__actions .btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
    transparent 30%,
    rgba(255,255,255,0.14) 50%,
    transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}
.hero__actions .btn--primary {
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.4s ease;
}
.hero__actions .btn--primary:hover {
  transform: translateY(-3px) scale(1.025);
  box-shadow: 0 20px 52px rgba(15,15,14,0.38);
}
.hero__actions .btn--primary:hover::after {
  transform: translateX(120%);
}
.hero__actions .btn--primary:active { transform: scale(0.97); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.5rem;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1200px) { .nav__inner { padding-inline: 4rem; } }

.nav.is-scrolled {
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

.nav__logo {
  font-family: var(--font-d);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.nav__logo-dot { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.nav__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__cta { margin-left: 1rem; }

/* Burger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(250,250,248,0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
}
.nav__mobile-links {
  display: flex;
  flex-direction: column;
}
.nav__mobile-links a {
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease, padding-left 0.25s ease;
}
.nav__mobile-links a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.is-open .nav__mobile { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
}

.hero__bg-deco {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-55%);
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(260px, 44vw, 680px);
  line-height: 1;
  color: rgba(26,26,24,0.05);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  animation: heroDrift 22s ease-in-out infinite;
  will-change: transform;
}

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

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border-h);
  padding: 0.35em 0.9em;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero__headline {
  font-family: var(--font-d);
  font-size: clamp(3.5rem, 7.5vw, 7rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}
.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
}
.hero__stat-sep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2em;
  padding: 1rem 1.75rem;
}
.hero__stat--text {
  justify-content: center;
}
.hero__stat--text .hero__stat-label {
  font-size: 1.1rem;
  font-weight: 300;
  font-variation-settings: "opsz" 72;
  color: var(--text);
  opacity: 1;
  letter-spacing: -0.01em;
}
.hero__stat-num {
  font-family: var(--font-d);
  font-size: 2.25rem;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero__stat-unit {
  font-size: 1.2rem;
  color: var(--text);
  font-style: italic;
  opacity: 0.5;
  margin-left: 0.05em;
}
.hero__stat-peryear {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text);
  opacity: 0.45;
  margin-left: 0.1em;
  letter-spacing: 0;
}
.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text);
  font-weight: 400;
  opacity: 0.5;
}

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

.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.eyebrow--light { color: rgba(255,255,255,0.45); }

.section__title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 3rem;
}
.section__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

.feature-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
/* Fond plein qui monte depuis le bas */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}
.feature-card:hover::before { transform: scaleY(1); }
.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 56px var(--accent-glow);
}
/* Tout le contenu passe en blanc */
.feature-card > * { position: relative; z-index: 1; }
.feature-card h3,
.feature-card p { transition: color 0.25s ease; }
.feature-card:hover h3 { color: #fff; }
.feature-card:hover p  { color: rgba(255,255,255,0.65); }

.feature-card__icon {
  width: 48px; height: 48px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-bottom: 1.25rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover .feature-card__icon {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: scale(1.1) rotate(-8deg);
}

.feature-card h3 {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   PROCESS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step { cursor: default; }

.process-step__num {
  display: block;
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 1.25rem;
}

.process-step h3 {
  font-family: var(--font-d);
  font-size: 1.375rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   DIFFERENTIATOR
   ============================================================ */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 768px) { .diff-grid { grid-template-columns: 1fr; } }

.diff-col {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  cursor: default;
  position: relative;
  overflow: hidden;
}

/* ── "Comment c'est fait" - dark fill from bottom ── */
.diff-col--tech {
  transition: border-color 0.35s ease;
}
.diff-col--tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.52s cubic-bezier(0.22,1,0.36,1);
  z-index: 0;
}
.diff-col--tech:hover::before { transform: scaleY(1); }
.diff-col--tech:hover { border-color: var(--text); }
.diff-col--tech > * { position: relative; z-index: 1; }
.diff-col--tech:hover .diff-col__label { color: rgba(255,255,255,0.35); }
.diff-col--tech:hover .diff-list li { color: #fff; }
.diff-col--tech:hover .diff-badge--blue {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
}
.diff-col--tech:hover .diff-badge--muted {
  background: rgba(255,80,80,0.15);
  color: #ff6b6b;
}

/* ── "Ce que tu obtiens" - border + shadow premium ── */
.diff-col--results {
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.diff-col--results::before { display: none; }
.diff-col--results:hover {
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text), 0 16px 48px rgba(26,26,24,0.13);
}

.diff-col__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
  margin-bottom: 1.75rem;
  display: inline-block;
  padding: 0.2em 0;
  transition: color 0.25s ease, background 0.25s ease,
              padding 0.25s ease, border-radius 0.25s ease;
}
.diff-col--results:hover .diff-col__label {
  background: var(--text);
  color: #fff;
  padding: 0.2em 0.6em;
  border-radius: 4px;
}
.diff-col--tech:hover .diff-col__label {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  padding: 0.2em 0.6em;
  border-radius: 4px;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.diff-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}
.diff-list--results svg {
  color: #1a7a3a;
  flex-shrink: 0;
}

/* Stack tech (HTML/CSS/JS) vs items négatifs */
.diff-item--stack {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.diff-item--stack .diff-badge--blue {
  background: var(--text);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25em 0.7em;
}
.diff-item--no {
  font-size: 0.875rem;
  color: var(--muted);
}
.diff-item--stack + .diff-item--no {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.diff-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2em 0.55em;
  border-radius: 5px;
  flex-shrink: 0;
  letter-spacing: 0.04em;
}
.diff-badge--blue { background: var(--accent-soft); color: var(--text); }
.diff-badge--muted { background: rgba(200,40,40,0.08); color: #c03030; }

/* ============================================================
   OFFERS
   ============================================================ */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 820px;
}
.offers-grid--single {
  grid-template-columns: 1fr;
  max-width: 480px;
}
@media (max-width: 600px) { .offers-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: box-shadow 0.3s ease;
}
.offer-card:hover { box-shadow: var(--shadow-xl); }

.offer-card--featured {
  background: var(--text);
  border-color: var(--text);
}
/* Reflet diagonal qui traverse la carte */
.offer-card--featured::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -40%;
  width: 30%;
  height: 220%;
  background: rgba(255,255,255,0.07);
  transform: skewX(-18deg) translateX(-120%);
  transition: transform 0.65s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.offer-card--featured:hover::after {
  transform: skewX(-18deg) translateX(550%);
}
.offer-card--featured:hover {
  box-shadow: 0 20px 64px rgba(26,26,24,0.35);
}

.offer-card__badge {
  position: absolute;
  top: -13px; right: 1.75rem;
  background: #fff;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3em 0.85em;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
}

.offer-card__tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.offer-card--featured .offer-card__tag { color: rgba(255,255,255,0.6); }

.offer-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1em;
  margin-bottom: 2rem;
  line-height: 1;
}
.offer-card__amount {
  font-family: var(--font-d);
  font-size: 4.5rem;
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.04em;
  color: var(--text);
}
.offer-card--featured .offer-card__amount { color: #fff; }

.offer-card__currency {
  font-family: var(--font-d);
  font-size: 2rem;
  color: var(--text);
  align-self: flex-start;
  margin-top: 0.4rem;
}
.offer-card--featured .offer-card__currency { color: rgba(255,255,255,0.75); }

.offer-card__period {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 500;
  align-self: flex-end;
  margin-bottom: 0.2rem;
  margin-left: 0.25rem;
}
.offer-card--featured .offer-card__period { color: rgba(255,255,255,0.6); }

.offer-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
}
.offer-card__features li {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.offer-card__features li svg {
  flex-shrink: 0;
  margin-top: 0.15em;
  opacity: 0.5;
}
.offer-card--featured .offer-card__features li { color: rgba(255,255,255,0.85); }
.offer-card--featured .offer-card__features li svg { opacity: 0.7; }

.offer-card--featured .btn--ghost {
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.offer-card--featured .btn--ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

/* ============================================================
   RÉALISATIONS
   ============================================================ */
/* ── Slider défilement horizontal (auto + drag) ── */
.works-slider {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.works-slider::-webkit-scrollbar { display: none; }
.works-slider.is-dragging { cursor: grabbing; }
.works-slider.is-dragging a { pointer-events: none; }

.works-slider__track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.works-slider__track .work-card {
  flex: 0 0 420px;
  height: 280px;
}

@media (max-width: 560px) {
  .works-slider__track .work-card { flex: 0 0 300px; height: 220px; }
  .works-slider__track .work-card--self {
    min-height: 0;
    padding: 1.25rem;
  }
  .work-card--self .work-card__self-title { font-size: 2.75rem; }
  .work-card--self .work-card__self-sub { font-size: 0.8125rem; }
}

.work-card {
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--text);
  cursor: pointer;
  text-decoration: none;
  height: 100%;
}

.work-card__img {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.work-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1),
              opacity  0.4s ease;
}
.work-card:hover .work-card__img img {
  transform: scale(1.04);
  opacity: 0.45;
}

.work-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.work-card:hover .work-card__overlay { opacity: 1; }

.work-card__cta {
  background: #fff;
  color: var(--text);
  font-family: var(--font-b);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  transform: translateY(8px);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
  display: inline-block;
  text-decoration: none;
}
.work-card:hover .work-card__cta { transform: translateY(0); }

/* Sur écrans tactiles : overlay visible en permanence (pas de :hover possible) */
@media (hover: none) {
  .work-card .work-card__overlay { opacity: 1; }
  .work-card .work-card__cta { transform: translateY(0); }
}

/* ── Bloc "ce site" auto-référentiel ── */
.work-card--self {
  background: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
  height: 100%;
  min-height: 280px;
  cursor: default;
  overflow: visible;
}
.work-card--self:hover .work-card__img img { transform: none; opacity: 1; }
.work-card--self:hover .work-card__overlay { opacity: 0; }

.work-card__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  align-self: flex-start;
}
.work-card__live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74,222,128,0.6);
  animation: live-pulse 2s ease infinite;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
  60%  { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
  100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); }
}

.work-card__self-title {
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
}

.work-card__self-sub {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}

.work-card__self-url {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 680px; }

.faq__item { border-bottom: 1.5px solid var(--border); }
.faq__item:first-child { border-top: 1.5px solid var(--border); }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-d);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}
.faq__question:hover { opacity: 0.6; }

.faq__icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-h);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--muted);
  flex-shrink: 0;
  font-family: var(--font-b);
  font-weight: 300;
  transition: transform 0.38s cubic-bezier(0.22,1,0.36,1),
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease;
}
.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

/* Accordion via grid-template-rows */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.22,1,0.36,1);
}
.faq__item.is-open .faq__answer { grid-template-rows: 1fr; }
.faq__answer > div { overflow: hidden; min-height: 0; }

.faq__answer p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  padding: 0.75rem 1rem 1.5rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--text);
  overflow: hidden;
  position: relative;
}
.cta-section::before {
  content: '50';
  position: absolute;
  bottom: -15%;
  right: -4%;
  font-family: var(--font-d);
  font-style: italic;
  font-size: clamp(180px, 34vw, 520px);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-family: var(--font-d);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  font-variation-settings: "opsz" 144;
  line-height: 1.07;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.cta-section__title em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
}

.cta-section__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 2.75rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-d);
  font-size: 1.125rem;
  color: var(--text);
}
.footer__logo span { color: var(--accent); }
.footer__copy {
  font-size: 0.875rem;
  color: var(--muted);
}
.footer__legal {
  font-size: 0.875rem;
  color: var(--muted2);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}
.footer__legal:hover { color: var(--text); }

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

/* ============================================================
   ANIMATIONS - fade up on scroll
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease,
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.fade-up.is-visible { opacity: 1; transform: none; }
.fade-up.d1 { transition-delay: 0.10s; }
.fade-up.d2 { transition-delay: 0.20s; }
.fade-up.d3 { transition-delay: 0.30s; }
.fade-up.d4 { transition-delay: 0.40s; }

/* Respect préférence de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Hero animations ─────────────────────────────────────── */

/* Dérive du "50" décoratif - amplitude augmentée */
@keyframes heroDrift {
  0%   { transform: translateY(-55%) translateX(0px)    rotate(0deg);    }
  20%  { transform: translateY(-59%) translateX(-22px)  rotate(-1.2deg); }
  45%  { transform: translateY(-51%) translateX(18px)   rotate(0.9deg);  }
  70%  { transform: translateY(-58%) translateX(-12px)  rotate(-0.6deg); }
  100% { transform: translateY(-55%) translateX(0px)    rotate(0deg);    }
}

/* Badge - flottement vertical visible */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px);   opacity: 1;   }
  40%       { transform: translateY(-5px);  opacity: 0.85; }
  70%       { transform: translateY(3px);   opacity: 0.95; }
}
.hero__badge {
  animation: badgeFloat 5s ease-in-out infinite;
}

/* Headline em - léger décalage horizontal */
@keyframes emDrift {
  0%, 100% { transform: translateX(0px); }
  35%       { transform: translateX(4px); }
  70%       { transform: translateX(-3px); }
}
.hero__headline em {
  display: inline-block;
  animation: emDrift 7s ease-in-out infinite;
}
.hero__headline em + em,
.hero__headline em:nth-of-type(2) {
  animation-delay: -3s;
}

/* Stats chiffres - micro montée */
@keyframes statBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-3px); }
}
.hero__stat-num {
  display: inline-block;
  animation: statBob 6s ease-in-out infinite;
}
.hero__stat:nth-child(3) .hero__stat-num { animation-delay: -2s; }
.hero__stat:nth-child(5) .hero__stat-num { animation-delay: -4s; }

/* Ligne de séparation stats - scintillement */
@keyframes sepFade {
  0%, 100% { opacity: 1;   transform: scaleY(1); }
  50%       { opacity: 0.3; transform: scaleY(0.6); }
}
.hero__stat-sep {
  animation: sepFade 5s ease-in-out infinite;
}
.hero__stat-sep:nth-child(4) { animation-delay: -1.5s; }

/* Orbe de fond - dérive lente */
@keyframes orbDrift {
  0%, 100% { transform: translate(0, 0) scale(1);       }
  33%       { transform: translate(-30px, 20px) scale(1.06); }
  66%       { transform: translate(20px, -15px) scale(0.95); }
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(15,15,14,0.04) 0%, transparent 70%);
  animation: orbDrift 18s ease-in-out infinite;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

/* ============================================================
   ONBOARDING MODAL
   ============================================================ */

/* ── Overlay ── */
.onboard-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,23,18,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.onboard-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

/* Modal card */
.onboard-modal {
  background: var(--bg-card);
  border-radius: 24px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 32px 80px rgba(28,23,18,0.22), 0 0 0 1px var(--border);
  display: flex;
  flex-direction: column;
  transform: scale(0.96) translateY(12px);
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.onboard-overlay.is-open .onboard-modal {
  transform: scale(1) translateY(0);
}

/* ── Header ── */
.onboard-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem 0;
  flex-shrink: 0;
}

/* Step tracker */
.onboard-track {
  flex: 1;
  display: flex;
  align-items: center;
}
.onboard-track__step { flex-shrink: 0; }
.onboard-track__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--border-h);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.35s cubic-bezier(0.22,1,0.36,1),
              border-color 0.35s ease,
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.onboard-track__num {
  font-family: var(--font-b);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.onboard-track__chk {
  position: absolute;
  color: #fff;
  opacity: 0;
  transform: scale(0.3) rotate(-10deg);
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.onboard-track__step.is-active .onboard-track__dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.08);
}
.onboard-track__step.is-active .onboard-track__num { color: #fff; }
.onboard-track__step.is-done .onboard-track__dot {
  background: var(--accent);
  border-color: var(--accent);
}
.onboard-track__step.is-done .onboard-track__num {
  opacity: 0;
  transform: scale(0);
}
.onboard-track__step.is-done .onboard-track__chk {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.onboard-track__line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 0.5rem;
  overflow: hidden;
  border-radius: 100px;
}
.onboard-track__line-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.55s cubic-bezier(0.22,1,0.36,1);
}
.onboard-track__line-fill.is-filled { width: 100%; }

.onboard-close-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border-h);
  background: none;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.onboard-close-btn:hover {
  border-color: var(--text);
  color: var(--text);
  transform: rotate(90deg);
}

/* Body - carousel container */
.onboard-body {
  overflow: hidden;
  transition: height 0.42s cubic-bezier(0.22,1,0.36,1);
  min-height: 100px;
}

.onboard-slides {
  display: flex;
  align-items: flex-start; /* chaque step garde sa hauteur naturelle */
  transition: transform 0.42s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}

/* Step */
.onboard-step {
  flex: 0 0 100%;
  width: 100%;
  padding: 1.75rem 2rem 1.5rem;
  box-sizing: border-box;
}
.onboard-step--final {
  padding: 2rem;
}

.onboard-eyebrow {
  font-family: var(--font-b);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.6rem;
  opacity: 0.7;
}

.onboard-step__q {
  font-family: var(--font-d);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.onboard-step__sub {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 300;
}

/* ── Checklist ── */
.onboard-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 1.75rem;
}

.onboard-chk-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.125rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: var(--bg);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.3s ease,
              background  0.3s ease,
              transform   0.35s cubic-bezier(0.22,1,0.36,1);
}
.onboard-chk-item:hover {
  border-color: var(--border-h);
  background: var(--bg-card);
  transform: translateX(4px);
}
.onboard-chk-item:has(input:checked) {
  border-color: var(--accent-soft);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.onboard-chk-input {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
  pointer-events: none;
}

.onboard-chk-box {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 7px;
  border: 2px solid var(--border-h);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: background 0.3s cubic-bezier(0.22,1,0.36,1),
              border-color 0.3s ease,
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.onboard-chk-box svg {
  color: #fff;
  opacity: 0;
  transform: scale(0.2) rotate(-15deg);
  transition: opacity 0.25s ease,
              transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.onboard-chk-input:checked ~ .onboard-chk-box {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.onboard-chk-input:checked ~ .onboard-chk-box svg {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.onboard-chk-label {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  transition: color 0.25s ease;
}
.onboard-chk-input:checked ~ .onboard-chk-label { color: var(--muted); }
.onboard-chk-sub {
  color: var(--muted2);
  font-size: 0.875em;
}

/* ── Email input ── */
.onboard-email-input {
  display: block;
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  font-family: var(--font-b);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text);
  outline: none;
  margin-bottom: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.onboard-email-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.onboard-email-input::placeholder { color: var(--muted2); }

/* Error state shake */
.onboard-email-input.is-error {
  border-color: #D94F3D;
  animation: onboard-shake 0.38s ease;
}
@keyframes onboard-shake {
  0%,100% { transform: translateX(0); }
  20%,60%  { transform: translateX(-5px); }
  40%,80%  { transform: translateX(5px); }
}

/* ── Continue button ── */
.onboard-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.onboard-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.8rem 1.625rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.25s ease,
              opacity 0.3s ease,
              background 0.3s ease;
}
.onboard-btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.onboard-btn-primary:not(:disabled):hover {
  box-shadow: 0 8px 28px var(--accent-glow);
  transform: translateY(-1px);
}
.onboard-btn-primary.is-unlocked {
  animation: btnUnlock 0.5s cubic-bezier(0.22,1,0.36,1);
}
@keyframes btnUnlock {
  0%   { transform: scale(0.94); }
  55%  { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.onboard-hint {
  font-size: 0.78rem;
  color: var(--muted2);
}
.onboard-hint-chk {
  font-size: 0.78rem;
  color: var(--muted2);
  transition: opacity 0.3s ease;
}
kbd {
  font-family: var(--font-b);
  font-size: 0.72rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-h);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0.1em 0.45em;
  letter-spacing: 0;
}

/* Back button */
.onboard-back-btn {
  align-items: center;
  gap: 0.4em;
  padding: 0.875rem 2rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color 0.2s ease, transform 0.25s ease;
}
.onboard-back-btn:hover { color: var(--text); transform: translateX(-3px); }

/* Final step */
.onboard-final {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.onboard-final__check {
  width: 68px; height: 68px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 1.375rem;
  opacity: 0;
  transform: scale(0.5);
}
.onboard-final__check.is-animating {
  animation: checkPop 0.55s cubic-bezier(0.22,1,0.36,1) forwards;
  animation-delay: 0.18s;
}
@keyframes checkPop {
  to { opacity: 1; transform: scale(1); }
}

.onboard-final__title {
  font-family: var(--font-d);
  font-size: 2.125rem;
  font-weight: 400;
  font-variation-settings: "opsz" 144;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.onboard-final__sub {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: 2rem;
}

.onboard-stripe-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5em;
  width: 100%;
  padding: 1rem 2.25rem;
  background: var(--accent);
  color: #fff;
  border-radius: 12px;
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.28s cubic-bezier(0.22,1,0.36,1), box-shadow 0.28s ease;
  margin-bottom: 1rem;
}
.onboard-stripe-btn:hover {
  box-shadow: 0 12px 36px var(--accent-glow);
  transform: translateY(-2px);
}

.onboard-final__secure {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 0.8rem;
  color: var(--muted2);
  font-weight: 400;
}

/* ── Responsive ── */
@media (max-width: 540px) {
  .onboard-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .onboard-modal {
    border-radius: 24px 24px 0 0;
    max-height: 92svh;
    overflow-y: auto;
  }
  .onboard-body {
    height: auto !important;
    overflow: visible;
    transition: none;
  }
  .onboard-step { padding: 1.5rem 1.25rem 1.25rem; }
  .onboard-step--final { padding: 1.5rem 1.25rem; }
  .onboard-header { padding: 1.25rem 1.25rem 0; }
  .onboard-back-btn { padding: 0.875rem 1.25rem 1.5rem; }
  .onboard-track__dot { width: 28px; height: 28px; }
}

/* ============================================================
   HERO - additions
   ============================================================ */
.hero__stat-inf {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
}

/* ============================================================
   SECTION INTRO TEXT
   ============================================================ */
.section__intro {
  max-width: 680px;
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.75;
  margin-top: -0.5rem;
  margin-bottom: 2.5rem;
}

/* ============================================================
   MAC WINDOW PREVIEW
   ============================================================ */
.section--preview {
  padding-top: 4rem;
  padding-bottom: 5rem;
}
.section__title--preview {
  text-align: center;
  margin-bottom: 0.75rem;
}
.section-label {
  text-align: center;
  font-family: var(--font-d);
  font-style: italic;
  font-variation-settings: "opsz" 72;
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  line-height: 1.2;
}
.container--narrow {
  max-width: 860px;
}
.mac-window {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f0f0e;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(26,26,24,0.04);
}
.mac-window__bar {
  height: 38px;
  background: #1a1a18;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  position: relative;
  flex-shrink: 0;
}
.mac-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mac-dot--r { background: #ff5f57; }
.mac-dot--y { background: #febc2e; }
.mac-dot--g { background: #28c840; }
.mac-window__url {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-b);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 5px;
  padding: 3px 14px;
  white-space: nowrap;
}
.mac-window__body {
  height: 600px;
  position: relative;
  overflow: hidden;
}

/* - Phases - */
.mac-phase {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}
.mac-phase.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* - Phase 1 : génération - */
.mac-phase--gen {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #0f0f0e;
}
.mac-gen__top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mac-gen__icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: rgba(200,255,0,0.07);
  border: 1px solid rgba(200,255,0,0.14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mac-gen__info { flex: 1; }
.mac-gen__label {
  font-family: var(--font-b);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.01em;
}
.mac-gen__dots::after {
  content: '';
  animation: gen-dots 0.8s infinite steps(1);
}
@keyframes gen-dots {
  0%  { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}
.mac-gen__sub {
  font-size: 11px;
  color: rgba(255,255,255,0.32);
  margin-top: 3px;
}
.mac-gen__pct {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 600;
  color: #c8ff00;
  min-width: 36px;
  text-align: right;
}
.mac-gen__bar {
  height: 2px;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  overflow: hidden;
}
.mac-gen__bar-fill {
  height: 100%;
  background: #c8ff00;
  border-radius: 10px;
  width: 0%;
  box-shadow: 0 0 12px rgba(200,255,0,0.4);
}
.mac-gen__code {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  overflow: hidden;
}
.mac-gen__line {
  font-family: 'Courier New', 'Courier', monospace;
  font-size: 11.5px;
  color: rgba(255,255,255,0.38);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mac-gen__line.is-visible { opacity: 1; transform: translateY(0); }
.hl-t  { color: #64b4ff; }
.hl-s  { color: #c8ff00; }
.hl-p  { color: #ff9600; }
.hl-v  { color: rgba(255,255,255,0.55); }
.hl-ok { color: #c8ff00; font-weight: 600; }

/* - Phase 2 : wireframe - */
.mac-phase--wire {
  background: #f5f4f0;
  overflow-y: auto;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
}
.mac-phase--wire::-webkit-scrollbar { display: none; }

.mac-wire__nav {
  height: 48px;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  gap: 14px;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease 0.05s, transform 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.05s;
}
.mac-wire__nav.is-visible { opacity: 1; transform: translateY(0); }
.mac-wire__logo { width: 72px; height: 13px; background: #1a1a18; border-radius: 3px; opacity: 0.8; }
.mac-wire__links { display: flex; gap: 10px; align-items: center; }
.mac-wire__cta-btn { width: 82px; height: 26px; background: #1a1a18; border-radius: 5px; }

.mac-wire__hero {
  padding: 36px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mac-wire__btns {
  display: flex;
  gap: 9px;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(8px) scale(0.95);
  transition: opacity 0.45s ease 0.6s, transform 0.45s cubic-bezier(0.34,1.56,0.64,1) 0.6s;
}
.mac-wire__btns.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.mac-wire__btn--p { width: 128px; height: 34px; border-radius: 6px; background: #1a1a18; }
.mac-wire__btn--s { width: 100px; height: 34px; border-radius: 6px; background: transparent; border: 1.5px solid rgba(0,0,0,0.18); }

/* Hero image placeholder */
.mac-wire__img-placeholder {
  margin: 0 22px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.03) 50%, rgba(0,0,0,0.06) 100%);
  background-size: 200% 100%;
  border-radius: 10px;
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease 0.7s, transform 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.7s;
}
.mac-wire__img-placeholder.is-visible {
  opacity: 1;
  transform: scale(1);
  animation: shimmer 2.5s ease-in-out infinite 1.2s;
}
@keyframes shimmer {
  0%, 100% { background-position: 200% 0; }
  50% { background-position: -200% 0; }
}

/* Stats row */
.mac-wire__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 22px;
}
.mac-wire__stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  transition: opacity 0.45s ease calc(0.9s + var(--cd, 0ms)), transform 0.45s cubic-bezier(0.34,1.56,0.64,1) calc(0.9s + var(--cd, 0ms));
}
.mac-wire__stat-item.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.mac-wire__stat-num {
  width: 40px;
  height: 20px;
  background: #1a1a18;
  border-radius: 4px;
  opacity: 0.8;
}

.mac-wire__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 22px 14px;
}
.mac-wire__card {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 9px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition: opacity 0.5s ease calc(1.1s + var(--cd, 0ms)), transform 0.5s cubic-bezier(0.34,1.56,0.64,1) calc(1.1s + var(--cd, 0ms));
}
.mac-wire__card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.mac-wire__card-icon { width: 28px; height: 28px; background: rgba(0,0,0,0.07); border-radius: 7px; }

/* Testimonial */
.mac-wire__testimonial {
  margin: 0 22px 14px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 9px;
  display: flex;
  gap: 12px;
  align-items: center;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease 1.5s, transform 0.5s cubic-bezier(0.34,1.56,0.64,1) 1.5s;
}
.mac-wire__testimonial.is-visible { opacity: 1; transform: translateX(0); }
.mac-wire__testi-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.mac-wire__testi-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mac-wire__testi-stars {
  font-size: 10px;
  color: #f5a623;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Footer */
.mac-wire__footer {
  margin-top: auto;
  padding: 12px 22px;
  background: #1a1a18;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 1.7s, transform 0.5s ease 1.7s;
}
.mac-wire__footer.is-visible { opacity: 1; transform: translateY(0); }
.mac-wire__footer-logo {
  width: 50px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 3px;
}
.mac-wire__footer-links {
  display: flex;
  gap: 8px;
}
.mac-wire__footer .wbar {
  background: rgba(255,255,255,0.15);
  opacity: 1;
  transform: none;
}

/* Wireframe bars */
.wbar {
  border-radius: 4px;
  background: rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.wbar.is-visible { opacity: 1; transform: translateY(0); }
.wbar--xs   { width: 38px; height: 7px; }
.wbar--badge { width: 160px; height: 18px; border-radius: 20px; transition-delay: 0.15s; }
.wbar--h1   { width: 68%; height: 26px; transition-delay: 0.28s; }
.wbar--h1b  { width: 52%; height: 26px; transition-delay: 0.38s; }
.wbar--p    { width: 58%; height: 11px; transition-delay: 0.48s; }
.wbar--p2   { width: 48%; height: 11px; transition-delay: 0.56s; }
.wbar--ct   { width: 65%; height: 9px; }
.wbar--cs   { width: 100%; height: 7px; }
.wbar--cs2  { width: 75%; height: 7px; }

/* ============================================================
   COMPARAISON TABLEAU
   ============================================================ */
.cmp-table {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2rem;
}
.cmp-header {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 1fr 1fr;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.cmp-header__empty { padding: 1rem 1.25rem; }
.cmp-header__col {
  padding: 1rem 1.25rem;
  font-family: var(--font-b);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  border-left: 1px solid var(--border);
}
.cmp-header__col--highlight {
  background: var(--accent);
  color: #FAFAF8;
  font-weight: 700;
  font-size: 0.875rem;
}
.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.cmp-row--last { border-bottom: none; }
.cmp-row:hover { background: rgba(26,26,24,0.018); }
.cmp-row__label {
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
}
.cmp-cell {
  padding: 0.9rem 1.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cmp-cell--highlight {
  background: rgba(15,15,14,0.03);
  font-weight: 600;
  color: var(--text);
}
.cmp-cell--yes { color: #1a7a3a; font-weight: 600; }
.cmp-cell--no  { color: var(--muted2); }
.cmp-cell--mid { color: var(--muted); }
.cmp-note {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 680px;
}


/* Mobile comparison cards – hidden on desktop */
.cmp-mobile { display: none; }

/* Responsive comparaison */
@media (max-width: 900px) {
  .cmp-table { display: none; }
  .cmp-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
  }
  .cmp-mcard {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .cmp-mcard__header {
    background: var(--accent);
    color: #fff;
    font-family: var(--font-b);
    font-size: 0.9375rem;
    font-weight: 700;
    padding: 0.85rem 1rem;
    text-align: center;
  }
  .cmp-mcard__header span {
    font-weight: 400;
    opacity: 0.6;
    margin: 0 0.25rem;
    font-size: 0.8125rem;
  }
  .cmp-mrow {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 1rem;
  }
  .cmp-mrow--last { border-bottom: none; }
  .cmp-mrow__label {
    font-family: var(--font-b);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
  }
  .cmp-mrow__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .cmp-mval {
    font-family: var(--font-b);
    font-size: 0.8125rem;
    padding: 0.5rem 0.625rem;
    border-radius: 6px;
    text-align: center;
    line-height: 1.35;
  }
  .cmp-mval--us {
    background: rgba(26,122,58,0.08);
    color: #1a7a3a;
    font-weight: 600;
  }
  .cmp-mval--them {
    background: var(--bg-alt);
    color: var(--muted);
  }
}
@media (max-width: 640px) {
  .mac-window__body { height: 480px; }
  .mac-wire__cards { grid-template-columns: repeat(2, 1fr); }
  .mac-gen__code .mac-gen__line:nth-child(n+6) { display: none; }
  .mac-phase--gen { padding: 20px 18px; }
  .mac-wire__hero { padding: 24px 16px 18px; }
  .mac-wire__img-placeholder { margin: 0 16px; height: 50px; }
  .mac-wire__stats { padding: 10px 16px; gap: 8px; }
  .mac-wire__cards { padding: 0 16px 10px; gap: 8px; }
  .mac-wire__testimonial { margin: 0 16px 10px; padding: 10px; }
  .mac-wire__footer { padding: 10px 16px; }
  .mac-wire__stat-num { width: 32px; height: 16px; }
  .mac-wire__testi-avatar { width: 26px; height: 26px; }
  .palette-preview { display: none; }
}

/* ============================================================
   SECTION CONTEXT LABEL
   ============================================================ */
.section-context {
  font-family: var(--font-d);
  font-style: italic;
  font-variation-settings: "opsz" 72;
  font-weight: 300;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

/* ============================================================
   PALETTE SECTION
   ============================================================ */
.palette-swatches {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.palette-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.palette-swatch__dot {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), filter 0.3s ease;
}
/* Anneau qui s'étend au hover */
.palette-swatch__dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--swatch-color, #0F0F0E);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.22,1,0.36,1);
}
.palette-swatch:hover .palette-swatch__dot {
  transform: scale(1.12) rotate(8deg);
  filter: brightness(1.08) saturate(1.1);
}
.palette-swatch:hover .palette-swatch__dot::before {
  opacity: 0.5;
  transform: scale(1);
}

/* Actif : anneau plein visible en permanence */
.palette-swatch.is-active .palette-swatch__dot::before {
  opacity: 1;
  transform: scale(1);
  border-width: 2.5px;
}
.palette-swatch.is-active .palette-swatch__dot {
  box-shadow: 0 6px 20px var(--swatch-glow, rgba(15,15,14,0.25));
}

.palette-swatch__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease;
}
.palette-swatch:hover .palette-swatch__name {
  color: var(--swatch-color, var(--text));
}
.palette-swatch.is-active .palette-swatch__name {
  color: var(--swatch-color, var(--accent));
  font-weight: 700;
}

/* ============================================================
   PALETTE PREVIEW
   ============================================================ */
.palette-preview {
  --pp-accent: #0F0F0E;
  --pp-accent-soft: rgba(15,15,14,0.08);
  margin-top: 3rem;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--pp-accent);
  padding: 3rem 2rem 0;
}
.palette-preview__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-d);
  font-size: clamp(14rem, 28vw, 26rem);
  font-weight: 500;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.6s ease;
}
.palette-preview__screen {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  box-shadow: 0 -4px 40px rgba(0,0,0,0.25);
}
.palette-preview__bar {
  height: 32px;
  background: #1a1a18;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
}
.pp-dot { width: 9px; height: 9px; border-radius: 50%; }
.pp-dot--r { background: #ff5f57; }
.pp-dot--y { background: #febc2e; }
.pp-dot--g { background: #28c840; }
.palette-preview__body {
  background: #faf8f4;
  padding: 0;
  min-height: 320px;
}

/* Nav */
.pp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  background: #fff;
}
.pp-logo {
  width: 60px;
  height: 11px;
  background: var(--pp-accent);
  border-radius: 3px;
}
.pp-nav__links { display: flex; gap: 8px; }
.pp-cta-btn {
  font-family: var(--font-b);
  font-size: 9px;
  font-weight: 600;
  background: var(--pp-accent);
  color: #fff;
  border-radius: 5px;
  padding: 4px 10px;
  white-space: nowrap;
}

/* Hero */
.pp-hero {
  padding: 24px 20px 16px;
  text-align: center;
}
.pp-badge {
  display: inline-block;
  font-family: var(--font-b);
  font-size: 8px;
  font-weight: 600;
  color: var(--pp-accent);
  background: var(--pp-accent-soft);
  border: 1px solid var(--pp-accent-soft);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 10px;
  animation: ppPulse 2.5s ease-in-out infinite;
}
@keyframes ppPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
.pp-h1 {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: #1a1a18;
  margin-bottom: 6px;
}
.pp-h1 em {
  font-style: italic;
  color: var(--pp-accent);
}
.pp-subtitle {
  font-family: var(--font-b);
  font-size: 10px;
  color: rgba(26,26,24,0.5);
  margin-bottom: 12px;
}
.pp-hero__btns { display: flex; gap: 8px; justify-content: center; }
.pp-btn {
  font-family: var(--font-b);
  font-size: 9px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
}
.pp-btn--primary {
  background: var(--pp-accent);
  color: #fff;
}
.pp-btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(0,0,0,0.15);
  color: #1a1a18;
}

/* Stats */
.pp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(0,0,0,0.06);
  margin: 0 20px;
  border-radius: 8px;
  overflow: hidden;
}
.pp-stat {
  background: #fff;
  padding: 10px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pp-stat__num {
  font-family: var(--font-d);
  font-size: 16px;
  font-weight: 500;
  color: var(--pp-accent);
}
.pp-stat__label {
  font-family: var(--font-b);
  font-size: 8px;
  color: rgba(26,26,24,0.45);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Cards */
.pp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px 20px 20px;
}
.pp-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.5s ease, transform 0.3s ease;
}
.pp-card:hover {
  border-color: var(--pp-accent-soft);
  transform: translateY(-2px);
}
@keyframes ppCardPop {
  0% { opacity: 0; transform: translateY(10px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.pp-card__icon {
  font-size: 14px;
  color: var(--pp-accent);
}
.pp-card__title {
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  color: #1a1a18;
}

/* Bars (skeleton lines) */
.pp-bar {
  border-radius: 3px;
  background: rgba(0,0,0,0.07);
}
.pp-bar--xs { width: 32px; height: 6px; }
.pp-bar--md { width: 85%; height: 5px; }
.pp-bar--sm { width: 60%; height: 5px; }

/* Responsive */
@media (max-width: 640px) {
  .palette-preview { padding: 2rem 1rem 0; margin-top: 2rem; }
  .palette-preview__body { min-height: 260px; }
  .pp-hero { padding: 18px 14px 12px; }
  .pp-h1 { font-size: 17px; }
  .pp-cards { grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 10px 14px 14px; }
  .pp-card { padding: 8px; }
  .pp-stats { margin: 0 14px; }
  .pp-stat { padding: 8px 4px; }
  .pp-stat__num { font-size: 13px; }
}

/* ============================================================
   J'AI QUOI SECTION
   ============================================================ */
.section--jaquoi { background: var(--bg); }

.jaquoi-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 860px) {
  .jaquoi-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}

.jaquoi-pre {
  font-family: var(--font-b);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted2);
  margin-bottom: 0.75rem;
}

.jaquoi-title {
  font-family: var(--font-d);
  font-style: italic;
  font-variation-settings: "opsz" 144;
  font-weight: 300;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1rem;
}

.jaquoi-since {
  font-size: 0.9375rem;
  color: var(--muted);
}
.jaquoi-since strong { color: var(--text); }

.jaquoi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1.5px solid var(--border);
  border-left: 1.5px solid var(--border);
}
@media (max-width: 600px) { .jaquoi-grid { grid-template-columns: 1fr; } }

.jaquoi-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem 1.5rem;
  border-right: 1.5px solid var(--border);
  border-bottom: 1.5px solid var(--border);
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Numéro */
.jaquoi-num {
  font-family: var(--font-d);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--muted2);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  position: relative;
  transition: color 0.25s ease;
}
/* Cercle qui apparaît derrière le numéro */
.jaquoi-num::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--text);
  transform: scale(0);
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
  z-index: -1;
}
.jaquoi-item:hover .jaquoi-num::before { transform: scale(1); }
.jaquoi-item:hover .jaquoi-num { color: #fff; }

/* Ligne de bas qui s'étend de gauche à droite */
.jaquoi-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--text);
  transition: width 0.45s cubic-bezier(0.22,1,0.36,1);
}
.jaquoi-item:hover::after { width: 100%; }

.jaquoi-item__body h3 {
  font-family: var(--font-d);
  font-size: 1.0625rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.375rem;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.jaquoi-item__body p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  transition: color 0.25s ease;
}

/* ============================================================
   MAC WINDOW - bouton launch + états cachés
   ============================================================ */
.mac-gen__top,
.mac-gen__bar,
.mac-gen__code { opacity: 0; }

.mac-gen__launch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Courier New', 'Menlo', monospace;
  font-size: 12px;
  color: rgba(250,248,244,0.45);
  transition: opacity 0.25s ease;
}
.mac-gen__prompt { color: rgba(250,248,244,0.3); }
.mac-gen__btn {
  font-family: inherit;
  font-size: 11.5px;
  background: rgba(250,248,244,0.07);
  border: 1px solid rgba(250,248,244,0.14);
  border-radius: 5px;
  padding: 3px 12px;
  color: rgba(250,248,244,0.72);
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.mac-gen__btn.is-clicked {
  transform: scale(0.88);
  background: rgba(250,248,244,0.2);
  box-shadow: 0 0 0 2px rgba(250,248,244,0.18);
}
.mac-gen__cursor {
  color: rgba(250,248,244,0.55);
  animation: genCursorBlink 1s steps(1) infinite;
}
@keyframes genCursorBlink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}


/* ============================================================
   FAQ ITEM HOVER
   ============================================================ */
.faq__item { transition: background 0.2s ease; }
.faq__item:hover { background: var(--bg-alt); }
.faq__question:hover { opacity: 1; }
.faq__question { transition: opacity 0.2s ease; }
