@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,700;1,9..144,400;1,9..144,600&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f6f1e8;
  --bg-soft: #efe7da;
  --surface: #ffffff;
  --surface-muted: #faf7f2;
  --ink: #1a1512;
  --ink-2: #5c5148;
  --ink-3: #8c7f74;
  --line: rgba(43, 35, 29, 0.11);
  --line-strong: rgba(43, 35, 29, 0.22);
  --dark: #15120f;
  --dark-2: #1f1a16;
  --dark-3: #2b231d;
  --copper: #c9623d;
  --copper-deep: #9a4724;
  --copper-soft: rgba(201, 98, 61, 0.12);
  --teal: #0f766e;
  --teal-soft: rgba(15, 118, 110, 0.11);
  --amber: #b45309;
  --rose: #be123c;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 1px 2px rgba(26, 21, 18, 0.04), 0 12px 32px -12px rgba(26, 21, 18, 0.09);
  --shadow-float: 0 28px 64px -20px rgba(21, 18, 15, 0.24), 0 2px 8px rgba(21, 18, 15, 0.06);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  overflow-x: hidden;
}

/* Subtle paper grain via fine radial dot matrix (no clutter) */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(43, 35, 29, 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font-family: inherit;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}

.container {
  width: min(1440px, calc(100vw - 64px));
  margin: 0 auto;
}

.hero-container {
  width: min(1860px, calc(100vw - 48px));
  margin: 0 auto;
}

/* Scroll reading progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--copper), var(--teal));
  z-index: 120;
  transition: width 60ms linear;
}

/* Top bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(246, 241, 232, 0.84);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  object-fit: contain;
  transform: scale(1.22);
}

.brand-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--copper-deep);
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--copper-soft);
  border: 1px solid rgba(201, 98, 61, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.nav-links a {
  transition: color 0.18s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--dark-3);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(21, 18, 15, 0.45);
}

.btn-primary:hover {
  background: var(--dark);
  transform: translateY(-1px);
}

.btn-copper {
  background: var(--copper);
  color: #fff;
  box-shadow: 0 8px 22px -6px rgba(201, 98, 61, 0.5);
}

.btn-copper:hover {
  background: var(--copper-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: #fff;
  border-color: var(--dark-3);
}

.btn-lg {
  height: 48px;
  padding: 0 24px;
  font-size: 14.5px;
  border-radius: 12px;
}

/* Hero Section */
.hero {
  padding: 40px 0 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.74fr) minmax(0, 1.4fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
  box-shadow: 0 2px 6px rgba(26, 21, 18, 0.04);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.4rem, 3.85vw, 3.7rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-lead {
  margin: 0 0 26px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 580px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.fact-k {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.fact-v {
  font-size: 12px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* Live Interactive Product Frame */
.app-window {
  background: var(--surface);
  border: 1px solid rgba(43, 35, 29, 0.16);
  border-radius: 18px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.app-titlebar {
  height: 36px;
  background: #14110f;
  color: rgba(255, 255, 255, 0.88);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px 0 14px;
  font-size: 11.5px;
  font-weight: 600;
}

.win-title-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.win-title-left img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}

.win-controls {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.win-btn {
  width: 28px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 5px;
}

.win-btn.close:hover {
  background: #c42b1c;
  color: #fff;
}

.sim-shell {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  min-height: 490px;
  background: #f6efe4;
}

.sim-rail {
  background: #ffffff;
  border-right: 1px solid var(--line);
  padding: 12px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.sim-rail-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 6px;
}

.sim-nav-btn {
  width: 46px;
  padding: 6px 2px;
  border-radius: 9px;
  border: none;
  background: transparent;
  color: var(--ink-3);
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: all 0.15s ease;
}

.sim-nav-btn svg {
  width: 15px;
  height: 15px;
}

.sim-nav-btn:hover {
  background: var(--surface-muted);
  color: var(--ink);
}

.sim-nav-btn.active {
  background: var(--teal-soft);
  color: var(--teal);
}

.sim-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sim-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  padding: 10px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-breadcrumb {
  font-size: 10px;
  color: var(--ink-3);
  font-weight: 600;
  line-height: 1.1;
}

.sim-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.sim-title-row h3 {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.sim-subtabs {
  display: flex;
  gap: 14px;
  margin-top: 2px;
  overflow-x: auto;
}

.sim-subtab {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-3);
  padding-bottom: 7px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.sim-subtab.active {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
}

.sim-workspace {
  flex: 1;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 10px;
  padding: 10px;
  min-height: 0;
}

.sim-sidebar {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sim-search-stub {
  padding: 5px 8px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  font-size: 10px;
  color: var(--ink-3);
  display: flex;
  align-items: center;
  gap: 5px;
}

.sim-dossier-item {
  width: 100%;
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 8px;
  padding: 6px 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background-color 0.14s ease, border-color 0.14s ease;
}

.sim-dossier-item:hover {
  background: var(--surface-muted);
}

.sim-dossier-item.active {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.25);
}

.sim-dossier-avatar {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: var(--copper-soft);
  color: var(--copper-deep);
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-dossier-item.active .sim-dossier-avatar {
  background: var(--teal);
  color: #fff;
}

.sim-dossier-meta {
  min-width: 0;
  flex: 1;
}

.sim-dossier-name {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sim-dossier-sub {
  font-size: 9px;
  color: var(--ink-3);
}

.blur-secret {
  display: inline-block;
  filter: blur(3.5px);
  user-select: none;
  opacity: 0.72;
}

.sim-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}

.sim-panel-toolbar {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
  background: #fdfbf8;
}

.sim-pill-group {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: #fff;
}

.sim-pill {
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.sim-pill.on {
  background: var(--dark-3);
  color: #fff;
}

.sim-step-dots {
  display: inline-flex;
  gap: 3px;
}

.sim-step-dot {
  padding: 1px 4px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
  background: rgba(15, 118, 110, 0.14);
  color: var(--teal);
}

.sim-step-dot.off {
  background: var(--surface-muted);
  color: var(--ink-3);
}

.echeancier-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 5px;
}

.ech-tile {
  border-radius: 7px;
  padding: 5px 4px;
  text-align: center;
  border: 1px solid var(--line);
  background: var(--surface-muted);
}

.ech-tile.paid { background: rgba(15, 118, 110, 0.08); border-color: rgba(15, 118, 110, 0.28); color: var(--teal); }
.ech-tile.due { background: rgba(190, 18, 60, 0.07); border-color: rgba(190, 18, 60, 0.25); color: var(--rose); }
.ech-tile.future { background: #fff; border-style: dashed; color: var(--ink-3); }

.ech-m { font-size: 9px; color: var(--ink-3); }
.ech-v { font-size: 9.5px; font-weight: 700; margin-top: 1px; }

.client-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 700;
}

.client-pill-avatar {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), #059669);
  color: #fff;
  font-size: 8.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.sim-client-switch {
  display: flex;
  gap: 4px;
  background: var(--surface-muted);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.sim-client-chip {
  border: none;
  background: transparent;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}

.sim-client-chip.active {
  background: var(--dark-3);
  color: #fff;
}

.sim-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}

.sim-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sim-kpi {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
}

.sim-kpi-l {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

.sim-kpi-v {
  font-size: 16px;
  font-weight: 800;
  margin-top: 3px;
}

.sim-table-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sim-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.sim-table th {
  text-align: left;
  padding: 8px 12px;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
}

.sim-table td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(43, 35, 29, 0.06);
  white-space: nowrap;
}

.sim-table tr:last-child td {
  border-bottom: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

.badge-ok { background: rgba(15, 118, 110, 0.12); color: #0f766e; }
.badge-warn { background: rgba(180, 83, 9, 0.12); color: #b45309; }
.badge-ko { background: rgba(190, 18, 60, 0.12); color: #be123c; }

.sim-footer {
  margin-top: auto;
  padding: 9px 12px;
  background: var(--surface-muted);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.sim-xml-box {
  background: #14110e;
  color: #e9dfd3;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.55;
  overflow-x: auto;
}

.xml-tag { color: #e28765; }
.xml-attr { color: #76c7bd; }
.xml-val { color: #f6d591; }

/* Compliance Marquee */
.marquee-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  padding: 13px 0;
  margin-top: 24px;
}

.marquee-track {
  display: flex;
  gap: 38px;
  width: max-content;
  animation: marquee 36s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.marquee-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--copper);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Section typography */
.section {
  padding: 84px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
  flex-wrap: wrap;
}

.section-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper-deep);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 680px;
}

.section-desc {
  margin: 0;
  max-width: 400px;
  color: var(--ink-2);
  font-size: 14.5px;
}

/* Bento Modules Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 98, 61, 0.35);
  box-shadow: 0 20px 44px -18px rgba(26, 21, 18, 0.14);
}

.span-7 { grid-column: span 7; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-4 { grid-column: span 4; }

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--copper-soft);
  color: var(--copper-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.bento-card h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.bento-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.bento-preview {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}

.step-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}

.step-pill {
  text-align: center;
  padding: 7px 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 800;
  color: var(--ink-2);
}

.step-pill.done {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

/* Dark Architectural Pipeline & Interactive Calculator */
.dark-band {
  background: var(--dark);
  color: #f8f4ed;
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

.dark-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 360px at 82% 15%, rgba(201, 98, 61, 0.18), transparent 65%),
              radial-gradient(600px 340px at 14% 85%, rgba(15, 118, 110, 0.16), transparent 65%);
  pointer-events: none;
}

.dark-band .section-kicker { color: #e28765; }
.dark-band .section-desc { color: rgba(248, 244, 237, 0.72); }

.pipeline-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.dark-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(10px);
}

.pipe-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.pipe-step {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: all 0.18s ease;
}

.pipe-step:hover,
.pipe-step.active {
  background: rgba(201, 98, 61, 0.14);
  border-color: rgba(226, 135, 101, 0.45);
}

.pipe-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.pipe-step.active .pipe-num {
  background: var(--copper);
  color: #fff;
}

.pipe-step h4 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
}

.pipe-step p {
  margin: 0;
  font-size: 13px;
  color: rgba(248, 244, 237, 0.72);
}

/* Live Simulator Box inside Dark Card */
.sim-payroll-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.range-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  margin-bottom: 6px;
}

.dark-range {
  width: 100%;
  accent-color: var(--copper);
  cursor: pointer;
}

.toggle-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dark-pill {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 244, 237, 0.8);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.dark-pill.active {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.breakdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.bk-item {
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
}

.bk-item span {
  display: block;
  font-size: 11px;
  color: rgba(248, 244, 237, 0.62);
}

.bk-item strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  font-weight: 800;
}

.bk-item.highlight {
  background: rgba(15, 118, 110, 0.2);
  border-color: rgba(45, 212, 191, 0.35);
}

/* Pricing & License Configurator */
.pricing-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-card);
}

.billing-switch {
  display: inline-flex;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 3px;
  gap: 4px;
}

.billing-btn {
  border: none;
  background: transparent;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}

.billing-btn.active {
  background: var(--dark-3);
  color: #fff;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
}

.plan-card.featured {
  background: var(--dark);
  color: #f8f4ed;
  border-color: rgba(201, 98, 61, 0.6);
  box-shadow: 0 26px 56px -18px rgba(21, 18, 15, 0.38);
}

.plan-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--copper);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.plan-name {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.plan-sub {
  font-size: 13px;
  color: var(--ink-2);
  margin: 0 0 20px;
}

.plan-card.featured .plan-sub {
  color: rgba(248, 244, 237, 0.72);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.plan-amount {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.plan-unit {
  font-size: 13px;
  color: var(--ink-3);
}

.plan-card.featured .plan-unit {
  color: rgba(248, 244, 237, 0.65);
}

.plan-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.check-ico {
  width: 17px;
  height: 17px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.plan-card.featured .check-ico {
  color: #4fd1c5;
}

/* Add-on Builder Strip */
.addon-box {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.addon-toggles {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.addon-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface-muted);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

.addon-check input {
  accent-color: var(--copper);
  width: 15px;
  height: 15px;
}

/* Security & FAQ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.trust-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
}

.trust-item h4 {
  margin: 12px 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.trust-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-2);
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-item.open .faq-a {
  max-height: 240px;
}

.faq-a p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* CTA Footer */
.cta-band {
  background: var(--dark-2);
  color: #f8f4ed;
  border-radius: 28px;
  padding: 54px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer {
  padding: 46px 0 36px;
  border-top: 1px solid var(--line);
  margin-top: 72px;
  font-size: 13px;
  color: var(--ink-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-text {
  margin: 10px 0 0;
  max-width: 380px;
  line-height: 1.6;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-col a,
.footer-link-btn {
  color: var(--ink-2);
  text-decoration: none;
}

.footer-col a:hover,
.footer-link-btn:hover {
  color: var(--copper-deep);
}

.footer-link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--copper-deep);
}

.footer-h {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

/* Nouveautés */
.new-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.new-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.new-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 98, 61, 0.35);
}

.new-card h3 {
  margin: 14px 0 8px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.new-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.6;
}

.new-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--copper-soft);
  color: var(--copper-deep);
}

.new-tag.teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.new-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.new-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.new-list .check-ico {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--teal);
}

/* Envoi de la demande */
.send-row {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.send-row .btn {
  width: 100%;
  text-decoration: none;
}

.send-row .btn[hidden] {
  display: none;
}

.btn-wa {
  background: #1f9d55;
  color: #fff;
}

.btn-wa:hover {
  background: #17803f;
}

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1f9d55;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(21, 18, 15, 0.4);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float[hidden] {
  display: none;
}

.show-sm {
  display: none;
}

/* Order / License Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 18, 15, 0.72);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-panel {
  width: min(540px, 100%);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  box-shadow: var(--shadow-float);
  overflow: hidden;
  animation: popIn 0.2s ease;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: none; }
}

.modal-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface-muted);
}

.modal-body {
  padding: 22px 24px;
  display: grid;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.field input,
.field select {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: #fff;
  font-size: 13.5px;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--copper);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-summary {
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .pipeline-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .span-7, .span-5, .span-6, .span-4 {
    grid-column: span 12;
  }
  .trust-grid,
  .faq-list {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .sim-shell { grid-template-columns: 1fr; }
  .sim-workspace { grid-template-columns: 1fr; }
  .sim-sidebar { display: none; }
  .sim-rail { flex-direction: row; justify-content: center; border-right: none; border-bottom: 1px solid var(--line); }
  .sim-rail-logo { margin-bottom: 0; margin-right: 8px; }
  .hero-facts,
  .sim-kpis,
  .trust-grid,
  .faq-list,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .cta-band { padding: 34px 24px; }
  .new-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions .btn-ghost { display: none; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}

/* Menu téléphone */
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-btn.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px 18px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mobile-menu[hidden] { display: none; }

.mobile-menu a {
  padding: 12px 4px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .btn { margin-top: 12px; }

/* Agenda fiscal */
.agenda-card {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.agenda-side {
  background: var(--dark-2);
  color: #f8f4ed;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.agenda-year {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
}

.agenda-arrow {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.agenda-arrow:hover { background: rgba(255, 255, 255, 0.14); }

.agenda-months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.agenda-month {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(248, 244, 237, 0.85);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.agenda-month small {
  font-size: 10.5px;
  color: rgba(248, 244, 237, 0.5);
}

.agenda-month:hover { background: rgba(255, 255, 255, 0.1); }

.agenda-month.current::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4fd1c5;
}

.agenda-month.active {
  background: var(--copper);
  border-color: var(--copper);
  color: #fff;
}

.agenda-month.active small { color: rgba(255, 255, 255, 0.85); }

.agenda-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  font-size: 11.5px;
  color: rgba(248, 244, 237, 0.7);
  margin-top: auto;
}

.agenda-legend span { display: inline-flex; align-items: center; gap: 6px; }

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-tva { background: #e28765; }
.dot-social { background: #4fd1c5; }
.dot-is { background: #f2c14e; }
.dot-autre { background: #a8a29e; }

.agenda-main { padding: 26px; }

.agenda-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.agenda-kicker {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.agenda-count {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}

.agenda-countdown {
  text-align: right;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--teal-soft);
  color: var(--teal);
}

.agenda-countdown[hidden] { display: none; }

.agenda-countdown span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.agenda-countdown strong { font-size: 18px; }

.agenda-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.agenda-item {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 10px;
  border: 1px solid var(--line);
  border-left: 4px solid #a8a29e;
  border-radius: 12px;
  background: var(--surface-muted);
}

.agenda-item.t-tva { border-left-color: #e28765; }
.agenda-item.t-social { border-left-color: #2bb3a6; }
.agenda-item.t-is { border-left-color: #e0a92c; }

.agenda-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.agenda-date strong { font-size: 19px; }

.agenda-date span {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-3);
}

.agenda-txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.agenda-txt strong { font-size: 14px; }

.agenda-txt span {
  font-size: 12.5px;
  color: var(--ink-2);
}

.agenda-etat {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  white-space: nowrap;
}

.agenda-etat.urgent {
  background: var(--copper-soft);
  color: var(--copper-deep);
}

.agenda-etat.passe {
  background: var(--line);
  color: var(--ink-3);
}

.agenda-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* Démarrer */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--dark-2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.step-card h3 {
  margin: 16px 0 6px;
  font-size: 18px;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
}

.compare {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.compare-head,
.compare-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.2fr;
  gap: 16px;
  padding: 14px 22px;
  align-items: center;
}

.compare-head {
  background: var(--surface-muted);
  border-bottom: 1px solid var(--line);
}

.compare-col {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-col.bad { color: var(--ink-3); }
.compare-col.good { color: var(--teal); }

.compare-row { font-size: 13.5px; }
.compare-row + .compare-row { border-top: 1px solid var(--line); }
.compare-row span:first-child { font-weight: 800; }
.compare-row span:nth-child(2) { color: var(--ink-3); }
.compare-row span:nth-child(3) {
  color: var(--ink);
  font-weight: 600;
  padding-left: 22px;
  background: no-repeat left center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

@media (max-width: 1024px) {
  .agenda-card { grid-template-columns: 1fr; }
  .agenda-months { grid-template-columns: repeat(6, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .menu-btn { display: flex; }
  .agenda-months { grid-template-columns: repeat(4, 1fr); }
  .agenda-main, .agenda-side { padding: 18px; }
  .agenda-head { flex-direction: column; }
  .agenda-countdown { text-align: left; }
  .agenda-item { grid-template-columns: 46px minmax(0, 1fr); }
  .agenda-item .agenda-etat { grid-column: 2; justify-self: start; }
  .compare-head { display: none; }
  .compare-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
  .compare-row span:nth-child(2)::before { content: "Sans : "; font-weight: 700; }
}

/* Barre de navigation : liens sur une ligne, menu compact sous 1180 px */
.nav-links a { white-space: nowrap; }
@media (max-width: 1180px) {
  .nav-actions .btn-ghost { display: none; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
}
@media (max-width: 720px) {
  .brand-sub { display: none; }
}

/* L'application en images */
.shot-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.shot-tabs::-webkit-scrollbar { display: none; }

.shot-tab {
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: 10px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.shot-tab:hover { color: var(--ink); background: var(--surface-muted); }

.shot-tab.active {
  background: var(--dark-2);
  color: #fff;
}

.shot-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 24px;
  align-items: center;
}

.shot-window {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-float);
}

.shot-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #f8f4ed;
  cursor: zoom-in;
}

.shot-zoom img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  transition: opacity 0.2s ease;
}

.shot-zoom img.changing { opacity: 0.35; }

.shot-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(21, 18, 15, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.shot-zoom:hover .shot-zoom-hint,
.shot-zoom:focus-visible .shot-zoom-hint { opacity: 1; }

.shot-caption { display: none; }
.shot-caption.active { display: block; animation: apparait 0.3s ease; }

@keyframes apparait {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.shot-caption h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shot-caption p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
}

.shot-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
}

.shot-arrow {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
}

.shot-arrow:hover { border-color: var(--copper); color: var(--copper-deep); }

.shot-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.shot-thumbs .shot-thumb {
  flex: 0 0 170px;
  scroll-snap-align: start;
}

.shot-thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  text-align: left;
  font: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.shot-thumb:hover { transform: translateY(-2px); }
.shot-thumb.active { border-color: var(--copper); }

.shot-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.shot-thumb span {
  display: block;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-2);
}

.shot-thumb.active span { color: var(--copper-deep); }

.shot-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-3);
}

/* Visionneuse plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 12, 10, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lightbox figure {
  margin: 0;
  max-width: min(1600px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 110px);
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox figcaption {
  color: #f8f4ed;
  font-size: 14px;
  font-weight: 700;
}

.lightbox-close,
.lightbox-arrow {
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  font-size: 16px;
}

.lightbox-arrow {
  width: 46px;
  height: 46px;
  font-size: 24px;
}

.lightbox-close:hover,
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.18); }

@media (max-width: 1024px) {
  .shot-stage { grid-template-columns: 1fr; }
  .shot-side { order: 2; }
  .shot-thumbs .shot-thumb { flex-basis: 150px; }
}

@media (max-width: 720px) {
  .shot-caption h3 { font-size: 20px; }
  .shot-zoom-hint { opacity: 1; padding: 5px 10px; font-size: 11px; }
  .lightbox { padding: 12px; gap: 6px; }
  .lightbox-arrow { position: absolute; bottom: 18px; }
  .lightbox-arrow.prev { left: calc(50% - 56px); }
  .lightbox-arrow.next { right: calc(50% - 56px); }
  .lightbox img { max-height: calc(100vh - 150px); }
}
