/* THEME_MARKER_VITRINE_VIOLET_PASTEL_CORRIGE */
/* FINAL_FULL_WIDTH_RESPONSIVE_HOME_20260521_V2 */
:root {
  --bg: #f7f4ee;
  --bg-soft: #fbfaf7;
  --surface: rgba(255, 255, 255, .82);
  --surface-solid: #ffffff;
  --surface-muted: #f1ece4;
  --text: #11110f;
  --muted: #6e675d;
  --muted-2: #9a9287;
  --primary: #11110f;
  --primary-2: #24231f;
  --accent: #b7a2ff;
  --accent-strong: #7d5cf4;
  --accent-soft: #efe9ff;
  --accent-ink: #6746d8;
  --accent-ink-strong: #2f1f61;
  --accent-rgb: 183, 162, 255;
  --success: #2f1f61;
  --danger: #b42318;
  --warning: #d98d00;
  --border: rgba(17, 17, 15, .10);
  --border-strong: rgba(17, 17, 15, .18);
  --shadow-xs: 0 4px 14px rgba(17, 17, 15, .05);
  --shadow-sm: 0 14px 36px rgba(17, 17, 15, .08);
  --shadow-md: 0 24px 70px rgba(17, 17, 15, .12);
  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 30px;
  --page-gutter: clamp(18px, 4vw, 56px);
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--accent-rgb), .22), transparent 32rem),
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.92), transparent 28rem),
    linear-gradient(180deg, #fbfaf6 0%, #f7f4ee 48%, #fbfaf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(17,17,15,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(17,17,15,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 72%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.container {
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(17,17,15,.075);
  background: rgba(251,250,247,.78);
  backdrop-filter: blur(22px) saturate(1.15);
}

.navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 24px rgba(17,17,15,.18);
  font-size: .85rem;
  font-weight: 950;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #403b34;
  font-size: .91rem;
  font-weight: 800;
}

.nav-links > a:not(.btn) {
  padding: 9px 11px;
  border-radius: 999px;
  color: rgba(17,17,15,.68);
  transition: color .18s ease, background .18s ease, transform .18s ease;
}
.nav-links > a:not(.btn):hover,
.nav-links > a:not(.btn).active {
  color: var(--text);
  background: rgba(255,255,255,.72);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.82);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .92rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .58; cursor: not-allowed; transform: none; }
.btn-primary { color: #fff; background: var(--primary); box-shadow: 0 14px 30px rgba(17,17,15,.18); }
.btn-primary:hover { background: var(--primary-2); box-shadow: 0 18px 42px rgba(17,17,15,.23); }
.btn-secondary { color: var(--text); background: rgba(255,255,255,.84); border-color: rgba(17,17,15,.12); box-shadow: var(--shadow-xs); }
.btn-secondary:hover { border-color: rgba(17,17,15,.24); background: #fff; }
.btn-muted { color: #fff; background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.18); }

.eyebrow,
.tag,
.status {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: .76rem;
  font-weight: 950;
  line-height: 1;
}

.eyebrow {
  padding: 8px 11px;
  color: var(--accent-ink-strong);
  background: rgba(var(--accent-rgb), .24);
  border: 1px solid rgba(var(--accent-rgb), .34);
}
.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .22);
}
.tag { padding: 8px 11px; color: #312d28; background: rgba(17,17,15,.07); }
.tag.accent { color: var(--accent-ink-strong); background: var(--accent-soft); }
.tag.dark { color: #fff; background: var(--primary); }

h1, h2, h3 {
  margin: 0;
  letter-spacing: -.058em;
  line-height: 1.02;
}
h1 { font-size: clamp(2.65rem, 7vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4.8vw, 3.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); letter-spacing: -.04em; }
p { margin: 0; }
.lead {
  max-width: 680px;
  margin-top: 22px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
}

/* Accueil */
.home-main { padding-bottom: 64px; }
.home-hero { padding: clamp(52px, 9vw, 104px) 0 34px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(38px, 6vw, 76px);
}
.hero-copy h1 { margin-top: 22px; max-width: 780px; }
.hero-copy .lead { max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 16px; color: var(--muted); font-size: .92rem; font-weight: 750; }
.proof-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(17,17,15,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: #403b34;
  font-size: .88rem;
  font-weight: 850;
}
.proof-pill::before { content: "✓"; color: var(--accent-ink); font-weight: 950; }

.hero-card {
  position: relative;
  isolation: isolate;
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(17,17,15,.11);
  background:
    radial-gradient(circle at 75% 8%, rgba(var(--accent-rgb), .40), transparent 15rem),
    linear-gradient(145deg, rgba(255,255,255,.88), rgba(247,244,238,.72));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -70px -95px auto;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .34);
  filter: blur(18px);
  z-index: -1;
}
.hero-dashboard {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17,17,15,.10);
  background: #fff;
  box-shadow: 0 28px 70px rgba(17,17,15,.12);
}
.dashboard-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(17,17,15,.08);
  background: rgba(247,244,238,.66);
  font-weight: 950;
}
.window-dots { display: flex; gap: 6px; }
.window-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(17,17,15,.22); }
.dashboard-content { padding: 18px; display: grid; gap: 14px; }
.dashboard-metric {
  padding: 20px;
  border-radius: 22px;
  color: #fff;
  background: var(--primary);
  overflow: hidden;
  position: relative;
}
.dashboard-metric span { color: rgba(255,255,255,.66); font-weight: 850; font-size: .82rem; }
.dashboard-metric strong { display: block; margin-top: 7px; font-size: 2.55rem; line-height: .95; letter-spacing: -.07em; }
.dashboard-bars { display: flex; align-items: end; gap: 8px; height: 74px; margin-top: 18px; }
.dashboard-bars i { flex: 1; min-height: 20px; border-radius: 999px 999px 6px 6px; background: linear-gradient(180deg, #e5dcff, var(--accent-strong)); }
.dashboard-list { display: grid; gap: 10px; }
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 15px;
  border-radius: 18px;
  border: 1px solid rgba(17,17,15,.08);
  background: rgba(251,250,247,.86);
}
.dashboard-row b { display: block; font-size: .95rem; letter-spacing: -.03em; }
.dashboard-row span { color: var(--muted); font-size: .82rem; font-weight: 750; }
.dashboard-row em {
  font-style: normal;
  color: var(--accent-ink-strong);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 7px 9px;
  font-size: .76rem;
  font-weight: 950;
  white-space: nowrap;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.metric-card,
.card,
.panel,
.price-card,
.form-card,
.sector-card,
.testimonial-card,
.demo-kpi-strip,
.final-cta,
.feature-strip,
.cta-band,
.split-dark {
  border: 1px solid rgba(17,17,15,.10);
  box-shadow: var(--shadow-sm);
}
.metric-card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
}
.metric-card strong { display: block; font-size: clamp(1.85rem, 3vw, 2.4rem); line-height: .95; letter-spacing: -.06em; }
.metric-card span { display: block; margin-top: 9px; color: var(--muted); font-size: .88rem; font-weight: 800; line-height: 1.38; }
.metric-card .line-icon { margin-bottom: 12px; }

.line-icon { display: inline-grid; place-items: center; color: var(--accent-strong); }
.line-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.section { padding: clamp(44px, 7vw, 82px) 0; }
.section.compact { padding-top: 28px; }
.section-header { max-width: 760px; margin-bottom: 28px; }
.section-header.center { text-align: center; margin-inline: auto; }
.section-header h2 { margin-top: 12px; }
.section-header p { margin-top: 14px; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.58);
}
.feature-strip article {
  min-height: 188px;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,17,15,.08);
}
.feature-strip h3 { margin-top: 16px; }
.feature-strip p { margin-top: 10px; color: var(--muted); font-size: .94rem; line-height: 1.55; }

.sector-testimonial {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  margin-top: 28px;
}
.sector-card,
.testimonial-card {
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.70);
  padding: clamp(24px, 4vw, 34px);
}
.sector-card h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); }
.sector-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.sector-list article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(17,17,15,.08);
  background: rgba(255,255,255,.74);
  font-weight: 900;
}
.testimonial-card { display: flex; flex-direction: column; justify-content: center; }
.stars { color: var(--accent-ink); letter-spacing: .06em; font-size: 1rem; }
blockquote { margin: 18px 0 0; font-size: clamp(1.35rem, 2.5vw, 2rem); line-height: 1.16; letter-spacing: -.05em; font-weight: 900; }
.testimonial-card p { margin-top: 18px; color: var(--muted); font-weight: 800; }

.demo-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(17,17,15,.09);
}
.demo-kpi-strip article { padding: 24px 18px; background: rgba(255,255,255,.82); }
.demo-kpi-strip strong { display: block; color: var(--accent-ink-strong); font-size: clamp(1.45rem, 2.2vw, 2.2rem); line-height: .95; letter-spacing: -.06em; }
.demo-kpi-strip span { display: block; margin-top: 9px; color: var(--muted); font-size: .84rem; font-weight: 800; line-height: 1.35; }

.final-cta {
  position: relative;
  overflow: hidden;
  margin-top: 38px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: var(--radius-lg);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(var(--accent-rgb), .35), transparent 28rem),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(240,235,255,.78));
}
.final-cta h2 { max-width: 720px; margin: 14px auto 0; }
.final-cta p { max-width: 640px; margin: 16px auto 0; color: var(--muted); font-size: 1.05rem; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Pages secondaires */
.hero { padding: clamp(56px, 9vw, 98px) 0 clamp(34px, 5vw, 56px); }
.hero > .container { max-width: 940px; }
.hero h1 { margin-top: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card,
.panel,
.price-card,
.form-card {
  border-radius: var(--radius);
  background: rgba(255,255,255,.76);
}
.card,
.panel { padding: 26px; }
.card { min-height: 230px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.card p,
.panel p,
.price-card p { color: var(--muted); line-height: 1.6; }
.card:hover { transform: translateY(-3px); border-color: rgba(17,17,15,.20); transition: transform .18s ease, border-color .18s ease; }
.card-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; color: #fff; background: var(--primary); font-weight: 950; }
.card-icon.soft { color: var(--accent-ink-strong); background: var(--accent-soft); }
.card .btn { margin-top: auto; }

.split-dark,
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-lg);
}
.split-dark { padding: clamp(30px, 5vw, 56px); }
.split-dark::after,
.cta-band::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(var(--accent-rgb), .26);
  filter: blur(10px);
}
.split-dark > *,
.cta-band > * { position: relative; z-index: 1; }
.split-dark p,
.cta-band p { color: rgba(255,255,255,.70); }
.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(30px, 5vw, 52px);
}
.cta-band p { max-width: 680px; margin-top: 12px; }
.cta-band .btn-secondary,
.price-card.featured .btn-secondary { color: var(--text); background: #fff; }

.price-card {
  position: relative;
  padding: 28px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}
.price-card.featured { color: #fff; background: var(--primary); box-shadow: var(--shadow-md); }
.price-card.featured p,
.price-card.featured .price small { color: rgba(255,255,255,.68); }
.price { margin: 18px 0 10px; font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 950; letter-spacing: -.08em; line-height: .9; }
.price small { color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.feature-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); }
.check { width: 22px; height: 22px; flex: none; border-radius: 999px; display: inline-grid; place-items: center; color: var(--accent-ink-strong); background: var(--accent-soft); font-weight: 950; font-size: .8rem; }

.form-card { max-width: 900px; margin-inline: auto; padding: clamp(24px, 4vw, 42px); box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--text); font-weight: 900; }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(17,17,15,.14);
  background: rgba(255,255,255,.94);
  color: var(--text);
  border-radius: 16px;
  padding: 15px 16px;
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
textarea { min-height: 132px; resize: vertical; }
input:focus,
select:focus,
textarea:focus { border-color: rgba(125,92,244,.64); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), .24); background: #fff; }
.help { color: var(--muted); font-size: .9rem; }
.error { color: var(--danger); font-size: .9rem; font-weight: 850; }
.success { color: var(--success); font-weight: 900; }
.hidden-field { display: none; }
.notice {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(17,17,15,.10);
  background: rgba(255,255,255,.68);
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}
.form-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 20px; }

.site-footer {
  position: relative;
  z-index: 1;
  padding: 34px 0;
  border-top: 1px solid rgba(17,17,15,.09);
  color: var(--muted);
}
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand { color: var(--text); }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; font-weight: 800; font-size: .9rem; }
.footer-links a:hover { color: var(--text); }

/* Site vitrine : violet pastel. */

/* Espace démo : accents verts volontairement limités à .demo-body. */
.demo-body {
  --accent: #43d487;
  --accent-strong: #127542;
  --accent-soft: #dcf8e9;
  --accent-ink: #0d512e;
  --accent-ink-strong: #06391e;
  --accent-rgb: 67, 212, 135;
  background: #f6f4ef;
}
.demo-body::before { display: none; }
.demo-body .tag.green { color: var(--accent-ink); background: var(--accent-soft); }
.demo-layout { display: grid; grid-template-columns: 286px minmax(0, 1fr); min-height: 100vh; }
.demo-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 0%, rgba(var(--accent-rgb), .20), transparent 18rem),
    #0a0a09;
}
.demo-sidebar .brand { margin-bottom: 28px; }
.demo-sidebar .brand-mark { color: #0a0a09; background: #fff; }
.demo-nav { display: grid; gap: 8px; margin-top: 22px; }
.demo-nav button {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 12px 13px;
  text-align: left;
  color: rgba(255,255,255,.68);
  background: transparent;
  cursor: pointer;
  font-weight: 850;
}
.demo-nav button.active,
.demo-nav button:hover { color: #0a0a09; background: #fff; }
.demo-main { padding: clamp(22px, 4vw, 38px); }
.demo-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.demo-company { color: var(--muted); }
.demo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.demo-panel { padding: 24px; }
.demo-panel h2 { font-size: clamp(1.85rem, 3vw, 2.8rem); }
.demo-main h1 { font-size: clamp(2.2rem, 5vw, 4.3rem); }
.demo-main .section-header p { color: var(--muted); }
.demo-table { width: 100%; border-collapse: collapse; margin-top: 4px; overflow: hidden; border-radius: 18px; }
.demo-table th,
.demo-table td { padding: 15px 14px; border-bottom: 1px solid rgba(17,17,15,.08); text-align: left; }
.demo-table th { color: var(--muted); background: rgba(17,17,15,.04); font-size: .88rem; }
.demo-table tr:last-child td { border-bottom: 0; }
.status { padding: 8px 11px; color: var(--accent-ink); background: var(--accent-soft); }

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 560px; }
  .metric-row,
  .feature-strip,
  .demo-kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .navbar { min-height: 66px; }
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: var(--page-gutter);
    right: var(--page-gutter);
    align-items: stretch;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid rgba(17,17,15,.10);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
  .sector-testimonial,
  .grid-2,
  .demo-layout { grid-template-columns: 1fr; }
  .demo-sidebar { position: static; height: auto; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  :root { --page-gutter: 16px; }
  h1 { font-size: clamp(2.35rem, 13vw, 3.75rem); }
  .home-hero { padding-top: 42px; }
  .hero-actions,
  .cta-actions,
  .form-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .metric-row,
  .feature-strip,
  .sector-list,
  .demo-kpi-strip,
  .grid-3,
  .demo-grid { grid-template-columns: 1fr; }
  .hero-card { padding: 10px; border-radius: 24px; }
  .dashboard-content { padding: 12px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .demo-main { padding: 18px; }
  .demo-topbar { align-items: flex-start; flex-direction: column; }
  .demo-table { display: block; overflow-x: auto; white-space: nowrap; }
}

.panel h2 + p,
.demo-panel h2 + p { margin-top: 10px; }
.panel p + h2,
.demo-panel p + h2 { margin-top: 28px; }
.panel > h2:first-child,
.demo-panel > h2:first-child { font-size: clamp(1.7rem, 3vw, 2.5rem); }
