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

:root {
  --anthracite: #2a2827;
  --anthracite-mid: #3d3a38;
  --blanc: #f7f6f2;
  --greige: #d8d5d2;
  --greige-dark: #c8c4c0;
  --beige: #ada495;
  --gris: #888682;
  --vert: #929571;
  --vert-dark: #7a7d5e;
  --rouge: #ba9686;
  --card: #ffffff;
  --text-muted: #6b6864;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  background: var(--blanc);
  color: var(--anthracite);
  overflow-x: hidden;
}

/* ──────── HEADER ──────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--blanc);
  border-bottom: 1px solid rgba(42,40,39,0.08);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.page-home header {
  background: rgba(42,40,39,0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(247,246,242,0.08);
}

.page-home header.is-scrolled {
  background: var(--blanc);
  backdrop-filter: none;
  border-bottom-color: rgba(42,40,39,0.08);
  box-shadow: 0 2px 20px rgba(42,40,39,0.08);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 28px;
  width: auto;
  display: block;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.page-home header:not(.is-scrolled) .header-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(42,40,39,0.15);
  background: var(--blanc);
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.page-home header:not(.is-scrolled) .nav-toggle {
  border-color: rgba(247,246,242,0.22);
  background: rgba(255,255,255,0.08);
}

.nav-toggle-line {
  width: 18px;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
  display: block;
  position: relative;
  transition: background 0.35s ease;
}

.page-home header:not(.is-scrolled) .nav-toggle-line,
.page-home header:not(.is-scrolled) .nav-toggle-line::before,
.page-home header:not(.is-scrolled) .nav-toggle-line::after {
  background: var(--blanc);
}

.nav-toggle-line::before,
.nav-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--anthracite);
  border-radius: 2px;
}

.nav-toggle-line::before { top: -6px; }
.nav-toggle-line::after { top: 6px; }

nav a.nav-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--anthracite-mid);
  text-decoration: none;
  transition: color 0.2s;
}

nav a.nav-link:hover { color: var(--vert-dark); }

@media (min-width: 769px) {
  .page-home header:not(.is-scrolled) nav a.nav-link {
    color: rgba(247,246,242,0.78);
  }

  .page-home header:not(.is-scrolled) nav a.nav-link:hover {
    color: var(--blanc);
  }
}

nav a.nav-cta {
  background: var(--anthracite);
  color: var(--blanc);
  padding: 9px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, transform 0.1s;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .page-home header:not(.is-scrolled) nav a.nav-cta {
    background: var(--blanc);
    color: var(--anthracite);
  }

  .page-home header:not(.is-scrolled) nav a.nav-cta:hover {
    background: var(--greige);
  }
}

nav a.nav-cta:hover {
  background: var(--anthracite-mid);
  transform: translateY(-1px);
}

/* ──────── HERO ──────── */
.hero {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 96px;
  background: linear-gradient(160deg, #2a2827 0%, #32302f 55%, #3d3a38 100%);
  position: relative;
  overflow: hidden;
  color: var(--blanc);
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(146,149,113,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(186,150,134,0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-logo-big {
  margin-bottom: 28px;
}

.hero-app-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px;
  background: var(--blanc);
  border-radius: 22%;
  box-shadow:
    0 0 0 1px rgba(247,246,242,0.12),
    0 16px 48px rgba(0,0,0,0.4);
}

.hero-logo-big img.hero-app-icon {
  width: clamp(40px, 7.5vw, 48px);
  height: clamp(40px, 7.5vw, 48px);
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.hero-headline {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  max-width: 720px;
  color: var(--blanc);
  margin-bottom: 18px;
  letter-spacing: -1.5px;
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(247,246,242,0.72);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 44px;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary {
  background: var(--anthracite);
  color: var(--blanc);
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(42,40,39,0.2);
}

.btn-primary:hover {
  background: var(--anthracite-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(42,40,39,0.28);
}

.btn-secondary {
  background: transparent;
  color: var(--anthracite);
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--greige);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--beige);
  background: rgba(42,40,39,0.04);
}

.hero .btn-primary {
  background: var(--blanc);
  color: var(--anthracite);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.hero .btn-primary:hover {
  background: var(--greige);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.hero .btn-secondary {
  color: var(--blanc);
  border-color: rgba(247,246,242,0.35);
}

.hero .btn-secondary:hover {
  border-color: rgba(247,246,242,0.65);
  background: rgba(247,246,242,0.08);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat { text-align: center; }

.hero-stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--blanc);
  line-height: 1;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 12px;
  color: rgba(247,246,242,0.55);
  font-weight: 500;
  margin-top: 4px;
}

/* ──────── MOCKUP ──────── */
.hero-mockup {
  margin-top: 64px;
  width: min(920px, 100%);
}

.mockup-window {
  background: var(--card);
  border-radius: 16px;
  border: 1px solid rgba(247,246,242,0.12);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
  overflow: hidden;
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--blanc);
  border-bottom: 1px solid rgba(42,40,39,0.08);
}

.mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--greige);
}

.mockup-dot:nth-child(1) { background: #e0b4a8; }
.mockup-dot:nth-child(2) { background: #d4c9a0; }
.mockup-dot:nth-child(3) { background: #a8b88a; }

.mockup-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 320px;
}

.mockup-sidebar {
  background: var(--blanc);
  border-right: 1px solid rgba(42,40,39,0.08);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mockup-nav-item {
  height: 10px;
  border-radius: 6px;
  background: var(--greige);
  opacity: 0.5;
}

.mockup-nav-item.active {
  background: var(--anthracite);
  opacity: 0.85;
  width: 80%;
}

.mockup-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mockup-title {
  width: 140px;
  height: 14px;
  border-radius: 6px;
  background: var(--anthracite);
  opacity: 0.7;
}

.mockup-btn {
  width: 90px;
  height: 28px;
  border-radius: 50px;
  background: var(--anthracite);
  opacity: 0.9;
}

.mockup-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

.mockup-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 12px;
}

.mockup-cell {
  height: 10px;
  border-radius: 4px;
  background: var(--greige);
  opacity: 0.45;
}

.mockup-cell.accent {
  background: var(--vert);
  opacity: 0.35;
}

.mockup-qr {
  margin-top: auto;
  align-self: flex-end;
  width: 80px;
  height: 80px;
  border: 2px solid var(--anthracite);
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 2px;
  padding: 6px;
  opacity: 0.25;
}

.mockup-qr span {
  background: var(--anthracite);
  border-radius: 1px;
}

.mockup-qr span:nth-child(3n) { opacity: 0; }

/* ──────── SECTIONS ──────── */
section { padding: 96px 24px; }
section[id] { scroll-margin-top: 118px; }

.container { max-width: 1060px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--vert-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--anthracite);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

/* ──────── POURQUOI ──────── */
.why { background: var(--blanc); }

.why-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  margin-bottom: 48px;
}

.why-point {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.why-point-icon { font-size: 28px; line-height: 1; }

.why-point-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--anthracite);
}

.why-point-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.why-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.why-visual {
  background: linear-gradient(135deg, var(--anthracite) 0%, var(--anthracite-mid) 100%);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: center;
}

.why-stat-big {
  font-size: 50px;
  font-weight: 800;
  color: var(--blanc);
  line-height: 1.2;
  letter-spacing: -2px;
}

.why-stat-desc {
  font-size: 15px;
  color: rgba(247,246,242,0.85);
  font-weight: 500;
  line-height: 1.5;
  border-top: 1px solid rgba(247,246,242,0.2);
  padding-top: 20px;
}

.why-features-list {
  background: var(--blanc);
  border-radius: 20px;
  border: 1px solid rgba(42,40,39,0.08);
  padding: 32px;
  box-shadow: 0 16px 48px rgba(42,40,39,0.08);
}

.why-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42,40,39,0.06);
}

.why-feature-item:last-child { border-bottom: none; }

.why-feature-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(146,149,113,0.15);
  color: var(--vert-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.why-feature-text {
  font-size: 14px;
  color: var(--anthracite-mid);
  line-height: 1.5;
  font-weight: 500;
}

/* ──────── DOCUMENTS ──────── */
.documents { background: var(--card); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.doc-card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(42,40,39,0.08);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(42,40,39,0.08);
  border-color: rgba(146,149,113,0.3);
}

.doc-card-icon { font-size: 32px; margin-bottom: 14px; }

.doc-card-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--anthracite);
  margin-bottom: 8px;
}

.doc-card-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.doc-card-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--vert-dark);
  background: rgba(146,149,113,0.12);
  padding: 4px 10px;
  border-radius: 50px;
}

/* ──────── COMMENT ──────── */
.how { background: var(--blanc); }

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

.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--blanc);
  border-radius: 20px;
  border: 1px solid rgba(42,40,39,0.06);
  transition: transform 0.2s;
}

.step:hover { transform: translateY(-4px); }

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--vert-dark);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.step-icon { font-size: 36px; margin-bottom: 14px; display: block; }

.step-title {
  font-weight: 800;
  font-size: 15px;
  color: var(--anthracite);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ──────── CONFIANCE ──────── */
.trust { background: var(--card); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.trust-card {
  background: var(--blanc);
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid rgba(42,40,39,0.08);
}

.trust-icon { font-size: 28px; margin-bottom: 14px; }

.trust-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--anthracite);
  margin-bottom: 8px;
}

.trust-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ──────── TARIFS ──────── */
.pricing { background: var(--blanc); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  background: var(--blanc);
  border-radius: 20px;
  border: 1px solid rgba(42,40,39,0.08);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card--featured {
  background: var(--card);
  border-color: var(--anthracite);
  box-shadow: 0 16px 48px rgba(42,40,39,0.1);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blanc);
  background: var(--vert-dark);
  padding: 4px 10px;
  border-radius: 50px;
}

.pricing-plan {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vert-dark);
  margin-bottom: 12px;
}

.pricing-price {
  margin-bottom: 8px;
  line-height: 1;
}

.pricing-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--anthracite);
  letter-spacing: -1.5px;
}

.pricing-amount--text {
  font-size: 28px;
  letter-spacing: -0.5px;
}

.pricing-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(42,40,39,0.08);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.pricing-features li {
  font-size: 13px;
  color: var(--anthracite-mid);
  font-weight: 500;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--vert-dark);
  font-weight: 800;
  font-size: 11px;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 13px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid var(--greige);
  color: var(--anthracite);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.pricing-btn:hover {
  border-color: var(--beige);
  background: rgba(42,40,39,0.04);
  transform: translateY(-1px);
}

.pricing-btn--primary {
  background: var(--anthracite);
  border-color: var(--anthracite);
  color: var(--blanc);
}

.pricing-btn--primary:hover {
  background: var(--anthracite-mid);
  border-color: var(--anthracite-mid);
}

.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ──────── CTA FINAL ──────── */
.cta-final {
  background: linear-gradient(135deg, var(--anthracite) 0%, #3d3a38 60%, #4a4744 100%);
  padding: 96px 24px;
  text-align: center;
}

.cta-final-logo { margin-bottom: 28px; }

.cta-final-logo img {
  height: 48px;
  width: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.cta-final-headline {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  color: var(--blanc);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.25;
  letter-spacing: -1px;
}

.cta-final-text {
  font-size: 15px;
  color: rgba(247,246,242,0.75);
  margin-bottom: 40px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-final .btn-primary {
  background: var(--blanc);
  color: var(--anthracite);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}

.cta-final .btn-primary:hover {
  background: var(--greige);
  transform: translateY(-2px);
}

.cta-email {
  display: inline-flex;
  margin-top: 28px;
  color: rgba(247,246,242,0.6);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.cta-email:hover { color: var(--blanc); }

/* ──────── FOOTER ──────── */
footer {
  background: var(--anthracite);
  color: rgba(247,246,242,0.55);
}

.footer-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-app-logo img {
  height: 24px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(247,246,242,0.5);
  line-height: 1.6;
  max-width: 240px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(247,246,242,0.35);
  margin-bottom: 16px;
}

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

.footer-col ul li a {
  font-size: 13px;
  color: rgba(247,246,242,0.55);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-col ul li a:hover { color: rgba(247,246,242,0.9); }

.footer-contact-email {
  display: inline-flex;
  margin-top: 13px;
  color: var(--beige);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-contact-email:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(247,246,242,0.08);
  padding: 20px 32px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(247,246,242,0.3);
}

.footer-credit {
  font-size: 12px;
  color: rgba(247,246,242,0.3);
}

.footer-credit a {
  color: rgba(247,246,242,0.5);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-credit a:hover { color: rgba(247,246,242,0.85); }

/* ──────── SCROLL REVEAL ──────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ──────── RESPONSIVE ──────── */
@media (max-width: 900px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
  .header-actions {
    position: static;
  }

  .header-inner {
    padding: 12px 20px;
    position: relative;
  }
  .nav-toggle { display: inline-flex; }
  nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    z-index: 110;
    margin-left: 0;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(42,40,39,0.12);
    background: var(--blanc);
    box-shadow: 0 10px 24px rgba(42,40,39,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  body.nav-open nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  nav a.nav-link {
    display: block;
    padding: 10px 8px;
    color: var(--anthracite);
  }
  nav a.nav-link:hover { color: var(--anthracite-mid); }
  nav a.nav-cta {
    text-align: center;
    margin-top: 4px;
  }
  body.nav-open .page-home header:not(.is-scrolled) {
    background: var(--blanc);
    backdrop-filter: none;
    border-bottom-color: rgba(42,40,39,0.08);
  }
  body.nav-open .page-home header:not(.is-scrolled) .header-logo img {
    filter: none;
    opacity: 1;
  }
  body.nav-open .page-home header:not(.is-scrolled) .nav-toggle {
    border-color: rgba(42,40,39,0.15);
    background: var(--blanc);
  }
  body.nav-open .page-home header:not(.is-scrolled) .nav-toggle-line,
  body.nav-open .page-home header:not(.is-scrolled) .nav-toggle-line::before,
  body.nav-open .page-home header:not(.is-scrolled) .nav-toggle-line::after {
    background: var(--anthracite);
  }
  section[id] { scroll-margin-top: 0; }
  .why-points { grid-template-columns: 1fr; margin-bottom: 32px; }
  .why-bottom { grid-template-columns: 1fr; gap: 24px; }
  .doc-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; align-items: flex-start; }
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
