
/* ============================================================
   PropSync System — Main stylesheet v3.0
   Direction : Startup dark · Orange × Noir × Blanc
   ============================================================ */

/* ── Design tokens ────────────────────────────────────────── */
:root {
  /* Brand */
  --brand:          #F07820;
  --brand-2:        #FFB800;
  --brand-gradient: linear-gradient(135deg, #F07820 0%, #FFB800 100%);
  --brand-glow:     0 8px 32px rgba(240,120,32,.42);
  --brand-tint:     rgba(240, 120, 32, .10);

  /* Dark surfaces */
  --dark:       #09090B;
  --dark-2:     #0F0F13;
  --dark-3:     #161619;
  --dark-card:  #1A1A1F;
  --dark-border:  rgba(255,255,255,.08);
  --dark-border-s:rgba(255,255,255,.04);

  /* Light surfaces */
  --light:     #FFFFFF;
  --light-2:   #F7F7F8;
  --light-3:   #EEEEF0;

  /* Text on dark */
  --text-d:   #FFFFFF;
  --text-d-2: rgba(255,255,255,.65);
  --text-d-3: rgba(255,255,255,.36);

  /* Text on light */
  --ink:     #0F172A;
  --ink-2:   #1E293B;
  --muted:   #64748B;
  --muted-2: #94A3B8;

  /* Borders / surfaces (light) */
  --line:      #E2E8F0;
  --surface:   #F8FAFC;
  --surface-2: #F1F5F9;

  /* Radii */
  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:      0 4px 20px rgba(0,0,0,.09);
  --shadow-lg:   0 24px 70px rgba(0,0,0,.14);
  --shadow-dark: 0 32px 80px rgba(0,0,0,.55);

  /* Nav */
  --header-h:       64px;
  --nav-link-gap:   2rem;
  --drawer-overlay: rgba(0,0,0,.70);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI',
               Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
ul  { list-style: none; margin: 0; padding: 0; }
p   { margin: 0 0 1rem; }
h1, h2, h3, h4, h5 { margin: 0 0 .5rem; line-height: 1.12; }
button { font-family: inherit; }

/* ── Layout helpers ───────────────────────────────────────── */
.container   { width: min(1200px, 92vw); margin-inline: auto; }
.muted       { color: var(--muted); }
.text-center { text-align: center; }
.text-white  { color: var(--text-d); }
.sr-only     { position: absolute; width: 1px; height: 1px; padding: 0;
               margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.sr-only-desktop { display: none; }

/* Logo size classes */
.logo-svg--sm { height: 24px; width: auto; }
.logo-svg--md { height: 32px; width: auto; }
.logo-svg--lg { height: 48px; width: auto; }

/* ── Scroll-reveal ────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.16,1,.3,1),
              transform .65s cubic-bezier(.16,1,.3,1);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ── Buttons ──────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-weight: 650; font-size: .95rem; cursor: pointer;
  transition: transform .15s, box-shadow .15s, filter .15s;
  background: var(--brand-gradient); color: #fff;
  box-shadow: var(--brand-glow);
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(240,120,32,.48);
  filter: brightness(1.06);
}
/* Ghost sur fond sombre (hero, dark sections) */
.button.ghost {
  background: transparent;
  border-color: rgba(255,255,255,.2);
  color: rgba(255,255,255,.82);
  box-shadow: none;
}
.button.ghost:hover {
  border-color: rgba(255,255,255,.48);
  background: rgba(255,255,255,.07);
  transform: translateY(-1px);
}
/* Ghost sur fond clair */
.button.ghost-dark {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
  box-shadow: none;
}
.button.ghost-dark:hover { background: rgba(240,120,32,.06); transform: translateY(-1px); }
/* Blanc (pour banner orange) */
.button.white {
  background: #fff; color: var(--brand);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
  border-color: transparent;
}
.button.white:hover {
  box-shadow: 0 10px 32px rgba(0,0,0,.22);
  transform: translateY(-2px);
}
.button.text  {
  background: transparent; border: 0; padding: .2rem 0;
  color: var(--brand); box-shadow: none;
}
.button.text:hover { transform: none; text-decoration: underline; }
.button .icon { width: 17px; height: 17px; flex-shrink: 0; }
/* Icônes inline (post-meta, feature lists…) */
svg.icon { width: 16px; height: 16px; flex-shrink: 0; vertical-align: middle; }

/* ── Keyframes badge ──────────────────────────────────────── */
@keyframes badge-dot-pulse {
  0%, 100% {
    box-shadow: 0 0 4px 0 rgba(240,120,32,.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px 3px rgba(240,120,32,.35);
    transform: scale(1.25);
  }
}
@keyframes badge-dot-pulse-gold {
  0%, 100% {
    box-shadow: 0 0 4px 0 rgba(255,184,0,.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px 3px rgba(255,184,0,.35);
    transform: scale(1.25);
  }
}
@keyframes badge-border-shimmer {
  0%, 100% { border-color: rgba(240,120,32,.3); }
  50%       { border-color: rgba(240,120,32,.65); }
}
@keyframes badge-border-shimmer-gold {
  0%, 100% { border-color: rgba(255,184,0,.28); }
  50%       { border-color: rgba(255,184,0,.6); }
}

/* ── Badges & tags ────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .28rem .9rem; border-radius: 999px;
  background: rgba(240,120,32,.13); color: var(--brand);
  font-weight: 600; font-size: .79rem; letter-spacing: .04em;
  border: 1px solid rgba(240,120,32,.3);
  animation: badge-border-shimmer 3s ease-in-out infinite;
}
.badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  animation: badge-dot-pulse 3s ease-in-out infinite;
}
.badge.on-dark {
  background: rgba(255,184,0,.12); color: var(--brand-2);
  border-color: rgba(255,184,0,.28);
  animation: badge-border-shimmer-gold 3s ease-in-out infinite;
}
.badge.on-dark::before {
  background: var(--brand-2);
  animation: badge-dot-pulse-gold 3s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .badge, .badge::before { animation: none; }
}
.tag {
  display: inline-block; padding: .2rem .65rem; border-radius: 999px;
  background: var(--surface-2); color: var(--muted);
  font-size: .78rem; font-weight: 500; border: 1px solid var(--line);
}
.tag:hover { background: rgba(240,120,32,.08); color: var(--brand); border-color: rgba(240,120,32,.2); }

/* ── Icon wrappers ────────────────────────────────────────── */
.icon-wrap {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--brand-tint);
  border: 1px solid rgba(240,120,32,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, box-shadow .2s;
}
.icon-wrap.gradient {
  background: var(--brand-gradient);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(240,120,32,.38);
}
.icon-wrap svg { width: 20px; height: 20px; stroke: var(--brand); }
.icon-wrap.gradient svg { stroke: #fff; }

/* Icon wrap sur fond sombre */
.icon-wrap-dark {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(240,120,32,.12);
  border: 1px solid rgba(240,120,32,.22);
  display: flex; align-items: center; justify-content: center;
}
.icon-wrap-dark svg { width: 20px; height: 20px; stroke: var(--brand); }

/* ── Site header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(9,9,11,.82);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--dark-border);
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled {
  background: rgba(9,9,11,.96);
  box-shadow: 0 1px 0 rgba(255,255,255,.05),
              0 8px 32px rgba(0,0,0,.48);
}
.nav {
  height: var(--header-h);
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: .65rem;
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  color: #fff; flex-shrink: 0;
}
.brand img,
.brand svg,
.brand .logo-svg,
.brand .logo-svg--md,
.brand .custom-logo-link img,
.brand .custom-logo,
.nav a img { height: 64px; max-height: 64px; width: auto; }
.brand .custom-logo-link { display: flex; align-items: center; }
.brand__name {
  font-size: 1rem; font-weight: 800; letter-spacing: -.01em;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: filter .18s;
}
.brand__name:hover { filter: brightness(1.15); }

.site-header nav {
  display: flex; align-items: center; gap: var(--nav-link-gap);
}

/* Nav links */
.site-header nav a:not(.button-cta) {
  font-size: .875rem; font-weight: 500;
  color: var(--text-d-2); letter-spacing: .005em;
  position: relative; padding-bottom: 2px;
  transition: color .18s;
}
.site-header nav a:not(.button-cta)::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1.5px;
  background: var(--brand-gradient); border-radius: 1px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.site-header nav a:not(.button-cta):hover { color: var(--text-d); }
.site-header nav a:not(.button-cta):hover::after { transform: scaleX(1); }

/* Lien actif */
.site-header .nav-links .current-menu-item > a,
.site-header .nav-links .current-menu-ancestor > a,
.site-header nav a[aria-current="page"] { color: var(--text-d); font-weight: 600; }
.site-header .nav-links .current-menu-item > a::after,
.site-header .nav-links .current-menu-ancestor > a::after,
.site-header nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Nav list reset */
.site-header nav .nav-links {
  display: flex; align-items: center;
  gap: var(--nav-link-gap); list-style: none; margin: 0; padding: 0;
}
.site-header nav .nav-links li { margin: 0; }

/* CTA pill */
.button-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .44rem 1.15rem; border-radius: 999px;
  background: var(--brand-gradient);
  border: none;
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: #fff; white-space: nowrap; cursor: pointer;
  transition: box-shadow .18s, transform .15s, filter .15s;
  box-shadow: 0 4px 14px rgba(240,120,32,.38);
}
.button-cta:hover {
  box-shadow: 0 6px 22px rgba(240,120,32,.55);
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* Hamburger */
.hamburger {
  display: none; background: transparent; cursor: pointer;
  border: 1px solid var(--dark-border); border-radius: var(--radius-sm);
  width: 36px; height: 36px; padding: 0; margin-left: auto;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: border-color .15s; flex-shrink: 0;
}
.hamburger:hover { border-color: var(--brand); }
.hamburger span {
  display: block; width: 16px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
body.nav-open .hamburger { border-color: var(--brand); }
body.nav-open .hamburger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .hamburger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--dark);
  padding: 104px 0 88px;
  position: relative; overflow: hidden;
  color: var(--text-d);
}
.hero::before {
  content: ''; position: absolute;
  top: -160px; right: -80px;
  width: 760px; height: 760px;
  background: radial-gradient(circle, rgba(240,120,32,.17) 0%, rgba(255,184,0,.06) 40%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  bottom: -180px; left: 5%;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(240,120,32,.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.hero .badge { margin-bottom: .9rem; }
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.07; font-weight: 800; letter-spacing: -.030em;
  margin: .3rem 0 1.25rem; color: var(--text-d);
}
.hero h1 em {
  font-style: normal;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lead {
  color: var(--text-d-2); font-size: 1.12rem;
  max-width: 52ch; margin: 0; line-height: 1.72;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.8rem; }

/* Device mockup */
.device {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow: var(--shadow-dark);
  position: relative; overflow: hidden;
}
.device::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,120,32,.14), transparent);
  pointer-events: none;
}
.device-placeholder {
  aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(135deg, rgba(240,120,32,.09), rgba(255,184,0,.05));
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--dark-border);
}
.device-placeholder svg { width: 72px; height: 72px; opacity: .28; }

/* KPI strip */
.kpi { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 24px; }
.kpi .card {
  display: flex; align-items: flex-start; gap: 13px; padding: 16px;
  background: var(--dark-3);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  box-shadow: none; transform: none;
}
.kpi .card:hover { transform: translateY(-2px); border-color: rgba(240,120,32,.22); }
.kpi .card .icon-wrap {
  width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0;
  background: rgba(240,120,32,.12); border-color: rgba(240,120,32,.22);
}
.kpi .card .icon-wrap svg { width: 16px; height: 16px; }
.kpi .card strong { font-size: .84rem; color: var(--text-d); display: block; line-height: 1.3; }
.kpi .card .muted  { font-size: .76rem; color: var(--text-d-3); }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 36px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 0; text-align: center;
}
.stat {
  padding: 14px 20px;
  border-right: 1px solid var(--dark-border);
}
.stat:last-child { border-right: 0; }
.stat-num {
  display: block;
  font-size: 2.3rem; font-weight: 800; line-height: 1.15;
  letter-spacing: -.04em;
  background: var(--brand-gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat > span {
  font-size: .82rem; color: var(--text-d-3);
  margin-top: .2rem; display: block; font-weight: 500;
}

/* ── Section wrappers ─────────────────────────────────────── */
.section      { padding: 88px 0; }
.section-light { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt   { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark  {
  background: var(--dark-2);
  border-top: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute;
  top: -220px; right: -80px;
  width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(240,120,32,.08) 0%, transparent 70%);
  pointer-events: none;
}
.section h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800;
  letter-spacing: -.026em; margin-bottom: .55rem;
}
.section-dark h2 { color: var(--text-d); }
.section-dark p:not(.kicker) { color: var(--text-d-2); }
.kicker {
  color: var(--brand); font-size: .76rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin: 0 0 .7rem;
  display: flex; align-items: center; gap: .5rem;
}
.kicker.text-center { justify-content: center; }
.section-dark .kicker { color: var(--brand-2); }

/* ── Cards (sections claires) ─────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: 28px; }
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--brand-gradient);
  opacity: 0; transition: opacity .25s;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: rgba(240,120,32,.15);
}
.card:hover::before { opacity: 1; }
.card .icon-wrap { margin-bottom: 16px; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; color: var(--ink); }
.card p  { color: var(--muted); font-size: .92rem; margin: 0; line-height: 1.62; }

/* ── Cards sombres ────────────────────────────────────────── */
.card-dark {
  background: var(--dark-card); border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(240,120,32,.28);
  box-shadow: 0 16px 52px rgba(0,0,0,.45);
}
.card-dark .icon-wrap-dark { margin-bottom: 16px; }
.card-dark h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .45rem; color: var(--text-d); }
.card-dark p  { color: var(--text-d-2); font-size: .92rem; margin: 0; line-height: 1.62; }

/* ── Steps (how it works) ─────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 0; margin-top: 56px;
  position: relative; z-index: 1;
}
.steps::before {
  content: ''; position: absolute;
  top: 27px;
  left: calc(16.66% + 28px); right: calc(16.66% + 28px);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(240,120,32,.5),
    rgba(255,184,0,.5));
  pointer-events: none;
}
.step { padding: 0 36px; text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-gradient); color: #fff;
  font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 6px 24px rgba(240,120,32,.48);
  position: relative; z-index: 1;
}
.step h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-d); margin-bottom: .5rem; }
.step p   { font-size: .9rem; color: var(--text-d-2); line-height: 1.68; margin: 0; }

/* ── Feature rows ─────────────────────────────────────────── */
.feature {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; margin: 56px 0;
}
.feature.reverse .aside { order: -1; }
.feature .aside {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 28px; box-shadow: var(--shadow);
}
.feature ul { margin: .85rem 0 0; }
.feature li { display: flex; align-items: flex-start; gap: 10px; margin: .6rem 0; font-size: .95rem; }
.feature li svg { flex-shrink: 0; margin-top: 3px; color: var(--brand); }

/* ── Pricing ──────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 28px; }
.price-card {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  background: var(--dark); color: #fff;
  border-color: rgba(240,120,32,.3);
  box-shadow: 0 28px 64px rgba(0,0,0,.38),
              0 0 0 1px rgba(240,120,32,.22);
}
.price-card.featured p,
.price-card.featured .price small { color: var(--text-d-2); }
.price-card.featured .badge {
  background: rgba(255,184,0,.14); color: var(--brand-2);
  border-color: rgba(255,184,0,.3);
}
.price-card.featured .price { color: #fff; }
.price { font-size: 2.6rem; font-weight: 800; line-height: 1; margin: .7rem 0 .25rem; letter-spacing: -.04em; }
.price small { font-size: .95rem; font-weight: 500; color: var(--muted); }
.price-divider { height: 1px; background: var(--line); margin: 18px 0; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.price-features li {
  display: flex; align-items: center; gap: 9px;
  font-size: .9rem; padding: .5rem 0;
  border-bottom: 1px solid var(--line);
}
.price-features li:last-child { border-bottom: 0; }
.price-features li svg { color: var(--brand); flex-shrink: 0; width: 16px; height: 16px; }
.price-card.featured .price-features li { border-color: rgba(255,255,255,.07); }
.price-card.featured .price-divider     { background: rgba(255,255,255,.10); }
.price-card.featured .price-features li svg { color: var(--brand-2); }

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s;
}
.faq-item.open {
  border-color: rgba(240,120,32,.3);
  box-shadow: 0 4px 20px rgba(240,120,32,.08);
}
.faq-question {
  width: 100%; background: #fff;
  padding: 18px 22px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; text-align: left;
  font-size: .97rem; font-weight: 600; color: var(--ink);
  border: 0; font-family: inherit;
  transition: background .18s;
}
.faq-question:hover { background: var(--surface); }
.faq-item.open .faq-question { background: rgba(240,120,32,.05); color: var(--brand); }
.faq-chevron {
  width: 18px; height: 18px; flex-shrink: 0;
  stroke: var(--muted-2); transition: transform .28s cubic-bezier(.4,0,.2,1), stroke .18s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); stroke: var(--brand); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .32s cubic-bezier(.4,0,.2,1), padding .28s;
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 16px 22px 20px; }
.faq-answer p { font-size: .92rem; color: var(--muted); line-height: 1.72; margin: 0; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.quote {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .22s, transform .22s;
}
.quote:hover { border-color: rgba(240,120,32,.24); transform: translateY(-3px); }
.quote .stars { color: var(--brand-2); font-size: .88rem; margin-bottom: .85rem; letter-spacing: 2px; }
.quote p    { color: var(--text-d-2); font-size: .93rem; line-height: 1.68; margin: 0 0 1.1rem; }
.quote .who  { font-weight: 700; font-size: .88rem; color: var(--text-d); }
.quote .role { color: var(--text-d-3); font-size: .8rem; margin-top: 2px; }

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--brand-gradient);
  border-radius: var(--radius-xl); padding: 52px 56px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 28px; flex-wrap: wrap; color: #fff; margin: 56px 0;
  box-shadow: 0 28px 80px rgba(240,120,32,.38),
              0 8px 32px rgba(240,120,32,.22);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute;
  top: -80px; right: -50px;
  width: 340px; height: 340px; border-radius: 50%;
  background: rgba(255,255,255,.09);
  pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute;
  bottom: -90px; left: 220px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h3 {
  font-size: 1.9rem; font-weight: 800; margin: 0 0 .35rem;
  letter-spacing: -.026em; color: #fff;
}
.cta-banner p  { color: rgba(255,255,255,.82); margin: 0; font-size: .95rem; }
.cta-banner .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-banner .button.ghost {
  border-color: rgba(255,255,255,.32); color: #fff;
}
.cta-banner .button.ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.6);
}

/* ── Brand strip (footer) ─────────────────────────────────── */
.brand-strip { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 14px; }
.brand-pill {
  padding: .4rem .9rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  font-size: .8rem; color: var(--text-d-3); font-weight: 500;
}

/* ── Blog index / archive ─────────────────────────────────── */
.blog-hero {
  padding: 76px 0 64px;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.blog-hero::before {
  content: ''; position: absolute;
  top: -120px; right: -60px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(240,120,32,.13) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero h1 {
  font-size: clamp(2rem, 3.8vw, 2.9rem); font-weight: 800;
  letter-spacing: -.026em; margin: .5rem 0 .8rem;
  color: var(--text-d); position: relative; z-index: 1;
}
.blog-hero .kicker { position: relative; z-index: 1; }
.blog-hero p {
  color: var(--text-d-2); font-size: 1.05rem;
  max-width: 52ch; margin: 0; position: relative; z-index: 1;
}
.blog-section { padding: 56px 0 80px; }
.blog-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 28px; margin-top: 36px;
}
.blog-list { display: flex; flex-direction: column; gap: 0; }

/* Post card */
.post-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow .25s, transform .25s, border-color .25s;
  display: flex; flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(240,120,32,.15);
}
.post-card .thumb {
  aspect-ratio: 16/9; overflow: hidden;
  background: var(--surface-2); flex-shrink: 0;
}
.post-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}
.post-card:hover .thumb img { transform: scale(1.06); }
.post-card .thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(240,120,32,.07), rgba(255,184,0,.05));
}
.post-card .thumb-placeholder svg { width: 38px; height: 38px; opacity: .2; }
.post-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .post-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: .75rem; }
.post-card .post-meta {
  font-size: .78rem; color: var(--muted); margin-bottom: .75rem;
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.post-card .post-meta .sep { opacity: .4; }
.post-card h3 { font-size: 1.03rem; font-weight: 700; margin: 0 0 .55rem; line-height: 1.32; }
.post-card h3 a { color: var(--ink); transition: color .18s; }
.post-card h3 a:hover { color: var(--brand); }
.post-card .excerpt { font-size: .87rem; color: var(--muted); line-height: 1.62; margin: 0 0 1rem; flex: 1; }
.post-card .read-more { margin-top: auto; }

/* Post card list layout */
.post-card-list {
  display: flex; gap: 20px; padding: 22px 0;
  border-bottom: 1px solid var(--line); align-items: flex-start;
}
.post-card-list .body { flex: 1; }
.post-card-list .post-meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.post-card-list h3 { margin-bottom: .4rem; }
.post-card-list h3 a { color: var(--ink); }
.post-card-list h3 a:hover { color: var(--brand); }

/* ── Single post ──────────────────────────────────────────── */
.post-header {
  padding: 68px 0 0;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-border);
  position: relative; overflow: hidden;
}
.post-header::before {
  content: ''; position: absolute;
  top: -120px; right: -60px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(240,120,32,.11) 0%, transparent 70%);
  pointer-events: none;
}
.post-header .post-meta {
  font-size: .86rem; color: var(--text-d-3);
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap; margin-bottom: 1rem; position: relative; z-index: 1;
}
.post-header .post-meta .sep { opacity: .35; }
.post-header h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 800;
  letter-spacing: -.030em; max-width: 24ch; line-height: 1.1;
  margin: .2rem 0 .8rem; color: var(--text-d); position: relative; z-index: 1;
}
.post-header .post-excerpt {
  font-size: 1.1rem; color: var(--text-d-2);
  max-width: 60ch; margin: .2rem 0 2rem; line-height: 1.7;
  position: relative; z-index: 1;
}
.post-header .post-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 1.4rem; position: relative; z-index: 1; }
.post-header .tag {
  background: rgba(255,255,255,.07);
  color: var(--text-d-2); border-color: var(--dark-border);
}
.post-featured {
  margin-top: 40px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden; aspect-ratio: 21/8; max-height: 440px;
  position: relative; z-index: 1;
}
.post-featured img { width: 100%; height: 100%; object-fit: cover; }

/* ── Prose ────────────────────────────────────────────────── */
.prose {
  max-width: 72ch; line-height: 1.82;
  font-size: 1.06rem; padding: 56px 0 80px;
}
.prose h1 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.024em; margin-bottom: 1rem; }
.prose h2 { font-size: 1.65rem; font-weight: 700; margin: 2.6rem 0 .8rem; letter-spacing: -.018em; }
.prose h3 { font-size: 1.22rem; font-weight: 700; margin: 2rem 0 .5rem; }
.prose p  { margin: 0 0 1.4rem; }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 2rem 0; }
.prose ul, .prose ol { padding-left: 1.5rem; margin: 0 0 1.4rem; }
.prose li { margin: .5rem 0; }
.prose blockquote {
  margin: 2rem 0; padding: 1.1rem 1.6rem;
  border-left: 3px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(240,120,32,.05); color: var(--ink-2);
  font-style: italic;
}
.prose a {
  color: var(--brand); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.prose code {
  background: var(--surface-2); padding: .15em .45em;
  border-radius: 5px; font-size: .88em; border: 1px solid var(--line);
}
.prose pre {
  background: var(--dark); color: #e2e8f0;
  padding: 1.4rem 1.6rem; border-radius: var(--radius);
  overflow-x: auto; margin: 1.8rem 0;
  border: 1px solid var(--dark-border);
}
.prose pre code { background: none; padding: 0; color: inherit; font-size: .88rem; border: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6rem 0; }
.prose th, .prose td { text-align: left; padding: .65rem .95rem; border: 1px solid var(--line); font-size: .93rem; }
.prose th { background: var(--surface); font-weight: 600; }

/* Post navigation */
.post-nav {
  padding: 32px 0; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px; max-width: 72ch;
}

/* Author bio */
.author-bio {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: var(--surface); max-width: 72ch; margin-bottom: 52px;
}
.author-bio img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.author-bio h4 { font-size: .95rem; font-weight: 700; margin-bottom: .25rem; }
.author-bio p  { font-size: .88rem; color: var(--muted); margin: 0; }

/* ── Forms ────────────────────────────────────────────────── */
.form label { display: block; margin: .5rem 0 .3rem; font-weight: 500; font-size: .9rem; }
.form input,
.form textarea,
.form select {
  width: 100%; padding: .82rem 1rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; font-size: .95rem; font-family: inherit;
  transition: border-color .15s, box-shadow .15s; outline: none;
  color: var(--ink);
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,120,32,.14);
}

/* Variante sombre — formulaire sur fond dark */
.form-dark label { color: var(--text-d-2); }
.form-dark input,
.form-dark textarea,
.form-dark select {
  background: var(--dark-3);
  border-color: var(--dark-border);
  color: var(--text-d);
}
.form-dark input::placeholder,
.form-dark textarea::placeholder { color: var(--text-d-3); }
.form-dark input:focus,
.form-dark textarea:focus,
.form-dark select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(240,120,32,.18);
  background: var(--dark-2);
}
/* Option select sur fond sombre */
.form-dark select option { background: var(--dark-3); color: var(--text-d); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin: 44px 0 0; flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .page-numbers.current {
  background: var(--brand-gradient); color: #fff;
  border-color: transparent; box-shadow: var(--brand-glow);
}
.pagination .page-numbers.dots { border: 0; color: var(--muted-2); min-width: auto; padding: 0 6px; }

/* ── Site footer ──────────────────────────────────────────── */
.site-footer {
  padding: 68px 0 36px;
  background: var(--dark);
  border-top: 1px solid var(--dark-border);
}
.site-footer .brand { color: var(--text-d); }
.site-footer .brand .logo-svg--sm,
.site-footer .brand img { height: 26px; width: auto; }
.site-footer .cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
}
.site-footer strong {
  font-weight: 700; font-size: .76rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--text-d-3); display: block; margin-bottom: .95rem;
}
.list { list-style: none; padding: 0; margin: 0; }
.list li { margin: .5rem 0; }
.list a { font-size: .9rem; color: var(--text-d-2); transition: color .15s; }
.list a:hover { color: var(--brand); }
.copy {
  margin-top: 52px; padding-top: 24px;
  border-top: 1px solid var(--dark-border);
  font-size: .82rem; color: var(--text-d-3);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.copy a { color: var(--text-d-3); transition: color .15s; }
.copy a:hover { color: var(--brand); }

/* ── Mobile nav overlay ───────────────────────────────────── */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: var(--drawer-overlay); z-index: 98;
  opacity: 0; transition: opacity .25s;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
body.nav-open .nav-overlay { display: block; opacity: 1; }

/* ── Responsive — tablet (≤ 980 px) ──────────────────────── */
@media (max-width: 980px) {
  .hero-grid                { grid-template-columns: 1fr; }
  .feature                  { grid-template-columns: 1fr; gap: 28px; }
  .feature.reverse .aside   { order: unset; }
  .grid-3, .pricing, .testimonials { grid-template-columns: 1fr 1fr; }
  .blog-grid                { grid-template-columns: 1fr 1fr; }
  .kpi                      { grid-template-columns: 1fr 1fr; }
  .site-footer .cols        { grid-template-columns: 1fr 1fr; }
  .cta-banner               { padding: 32px 28px; }
  .steps                    { grid-template-columns: 1fr; gap: 36px; }
  .steps::before            { display: none; }
  .stats-grid               { grid-template-columns: 1fr 1fr; }
  .stat                     { border-right: 0; border-bottom: 1px solid var(--dark-border); }
  .stat:nth-child(odd)      { border-right: 1px solid var(--dark-border); }
  .stat:nth-last-child(-n+2) { border-bottom: 0; }

  /* Masquer liens nav, afficher hamburger */
  .site-header nav a:not(.button-cta) { display: none; }
  .site-header nav .nav-links         { display: none; }
  .hamburger { display: flex; }

  .site-header nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--dark-2);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    flex-direction: column; align-items: stretch;
    padding: 8px 24px 24px; gap: 0; z-index: 99;
    box-shadow: 0 24px 60px rgba(0,0,0,.55);
    transform: translateY(-8px); opacity: 0;
    pointer-events: none;
    transition: transform .22s cubic-bezier(.4,0,.2,1),
                opacity .22s cubic-bezier(.4,0,.2,1);
  }
  body.nav-open .site-header { position: fixed; width: 100%; left: 0; right: 0; }
  body.nav-open .site-header nav { transform: translateY(0); opacity: 1; pointer-events: auto; }

  body.nav-open .site-header nav a:not(.button-cta) {
    display: flex; align-items: center;
    padding: 14px 0; border-bottom: 1px solid var(--dark-border);
    font-size: .95rem; font-weight: 500; color: var(--text-d); opacity: 1;
  }
  body.nav-open .site-header nav a:not(.button-cta)::after { display: none; }
  body.nav-open .site-header nav .nav-links {
    display: flex; flex-direction: column; gap: 0;
    width: 100%; list-style: none; padding: 0; margin: 0;
  }
  body.nav-open .site-header nav .nav-links li { margin: 0; }
  body.nav-open .site-header nav .nav-links li a {
    display: flex; align-items: center; width: 100%;
    padding: 14px 0; border-bottom: 1px solid var(--dark-border);
    font-size: .95rem; font-weight: 500; color: var(--text-d);
  }
  body.nav-open .site-header nav .button-cta {
    margin-top: 16px; justify-content: center;
    border-radius: var(--radius); padding: .7rem 1.2rem; font-size: .9rem;
  }
}

/* ── Responsive — mobile (≤ 640 px) ──────────────────────── */
@media (max-width: 640px) {

  .grid-3, .pricing, .testimonials { grid-template-columns: 1fr; }
  .blog-grid                { grid-template-columns: 1fr; }
  .kpi                      { grid-template-columns: 1fr; }
  .site-footer .cols        { grid-template-columns: 1fr; }
  .hero                     { padding: 60px 0 52px; }
  .section                  { padding: 60px 0; }
  .cta-banner               { padding: 28px 24px; }
  .cta-banner h3            { font-size: 1.5rem; }
  .post-featured            { aspect-ratio: 16/9; }
  .pricing .price-card.featured { order: -1; }
  .post-nav                 { flex-direction: column; gap: 8px; }
  .stats-grid               { grid-template-columns: 1fr 1fr; }
  .step                     { padding: 0 16px; }
}

/* ── Page Inscription ─────────────────────────────────── */
.insc-benefits {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.insc-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-d-2);
  font-size: .98rem;
}
.insc-benefit .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}
.insc-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  color: var(--text-d-2);
  font-size: .92rem;
}
.insc-proof .stars { color: #FFB800; letter-spacing: 2px; }

.form .form-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 1.2rem;
  color: var(--text-d);
}
.form .form-error {
  margin-top: 14px;
  padding: 10px 14px;
  background: rgba(220, 50, 50, .12);
  border: 1px solid rgba(220, 50, 50, .35);
  color: #ffb3b3;
  border-radius: 10px;
  font-size: .9rem;
}
.form .form-legal {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--text-d-2);
  font-size: .82rem;
  opacity: .8;
}
.form .form-login {
  display: block;
  text-align: center;
  margin-top: 16px;
  color: var(--text-d-2);
  font-size: .9rem;
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 16px;
}
.form .form-login:hover { color: var(--brand); }
.form.is-loading { opacity: .75; pointer-events: none; }

.signup-success {
  text-align: center;
  padding: 48px 32px;
}
.signup-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 18px;
}
.signup-success h3 {
  margin: 0 0 10px;
  color: var(--text-d);
  font-size: 1.4rem;
}
.signup-success p {
  margin: 0;
  color: var(--text-d-2);
}
