/* ═══════════════════════════════════════════════
   OCKHAM — Feuille de style principale
   Palette : Navy #0E1A2B · Teal #4CC5BB · Copper #C07840
═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
  --navy:         #0E1A2B;
  --navy-mid:     #162336;
  --navy-light:   #1E3045;
  --teal:         #4CC5BB;
  --teal-dark:    #2D8C84;
  --teal-muted:   #E6F7F6;
  --copper:       #C07840;
  --copper-light: #F5E6D3;
  --copper-dark:  #9A5F2E;
  --bg:           #F0F3F7;
  --surface:      #FFFFFF;
  --border:       #DDE3EC;
  --text:         #1A2535;
  --text-mid:     #4A5D72;
  --text-light:   #7A8FA6;
  --red:          #E05252;
  --green:        #3BAA7A;
  --yellow:       #E8A020;

  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --radius:    10px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(14,26,43,.08);
  --shadow-lg: 0 8px 40px rgba(14,26,43,.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ════════════════════════════════════════
   BOUTONS
════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--teal);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-ghost:hover { background: rgba(76,197,187,.12); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  padding: .6rem 1.4rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--teal); background: var(--teal-muted); }

.btn-lg { font-size: 1rem; padding: .8rem 2rem; }
.btn-full { width: 100%; text-align: center; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14,26,43,0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
}
#nav.scrolled {
  background: rgba(14,26,43,.92);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.nav-logo-o {
  width: 32px; height: 32px;
  background: var(--teal);
  color: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: .04em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  margin-right: auto;
}
.nav-links a {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: #fff; }

.nav-cta-group { display: flex; gap: .75rem; align-items: center; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .25rem;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2rem 2rem;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.07);
}
.nav-mobile a { color: rgba(255,255,255,.8); font-size: .95rem; }
.nav-mobile .mobile-connect { color: var(--teal); font-weight: 600; }
.nav-mobile .mobile-cta { margin-top: .5rem; text-align: center; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  gap: 4rem;
}

.hero-bg-o {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-40%, -50%);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: min(60vw, 600px);
  color: rgba(76,197,187,.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(76,197,187,.12);
  color: var(--teal);
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .9rem;
  border-radius: 20px;
  border: 1px solid rgba(76,197,187,.25);
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, #7FD8D0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-sub strong { color: rgba(255,255,255,.9); font-weight: 600; }

.hero-cta-group { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

.hero-note {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
}

/* Carte hero */
.hero-visual {
  flex: 1;
  max-width: 440px;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}

.hero-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.hc-header {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.hc-dot { width: 10px; height: 10px; border-radius: 50%; }
.hc-dot.red { background: #FF5F57; }
.hc-dot.yellow { background: #FEBC2E; }
.hc-dot.green { background: #28C840; }
.hc-title {
  margin-left: .5rem;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}

.hc-stats {
  display: flex;
  gap: 1rem;
  background: rgba(0,0,0,.2);
  border-radius: var(--radius);
  padding: .75rem 1rem;
  margin-bottom: 1rem;
}
.hc-stat { display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.hc-stat-val { font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: #fff; }
.hc-stat-val.teal { color: var(--teal); }
.hc-stat-val.copper { color: var(--copper); }
.hc-stat-label { font-size: .7rem; color: rgba(255,255,255,.4); }

.hc-rows { display: flex; flex-direction: column; gap: .5rem; }

.hc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem;
  border-radius: 8px;
  font-size: .82rem;
  opacity: 0;
  animation: fadeRow .4s forwards;
}
.hc-row span:first-child { color: rgba(255,255,255,.75); }
.hc-row.matched { background: rgba(59,170,122,.08); }
.hc-row.pending { background: rgba(192,120,64,.08); }

.hc-row.delay1 { animation-delay: .2s; }
.hc-row.delay2 { animation-delay: .4s; }
.hc-row.delay3 { animation-delay: .6s; }
.hc-row.delay4 { animation-delay: .8s; }

@keyframes fadeRow {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.tag-green {
  display: inline-block;
  background: rgba(59,170,122,.2);
  color: #3BAA7A;
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 4px;
}
.tag-copper {
  display: inline-block;
  background: rgba(192,120,64,.2);
  color: var(--copper);
  font-size: .7rem;
  font-weight: 600;
  padding: .15rem .5rem;
  border-radius: 4px;
}

/* ════════════════════════════════════════
   STATS BAR
════════════════════════════════════════ */
.stats-bar {
  background: var(--navy-mid);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1.5rem 2rem;
}
.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal);
}
.stat-desc {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.1);
}

/* ════════════════════════════════════════
   FEATURES
════════════════════════════════════════ */
.features { padding: 5rem 2rem; }

.feature-block {
  max-width: 1100px;
  margin: 0 auto 6rem;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.feature-block.reverse { flex-direction: row-reverse; }
.feature-block:last-child { margin-bottom: 0; }

.feature-visual, .feature-text { flex: 1; }

.feature-tag {
  display: inline-block;
  background: var(--teal-muted);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 20px;
  margin-bottom: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.feature-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.feature-text p {
  color: var(--text-mid);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.feature-list { display: flex; flex-direction: column; gap: .5rem; }
.feature-list li {
  font-size: .9rem;
  color: var(--text-mid);
  padding-left: 1.5rem;
  position: relative;
}
.feature-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ── Demo cards ── */
.demo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.demo-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--text);
}
.demo-badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 20px;
}
.demo-badge.teal { background: var(--teal-muted); color: var(--teal-dark); }
.demo-badge.copper { background: var(--copper-light); color: var(--copper-dark); }

/* ── Import demo ── */
.upload-zone {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1rem;
  background: #fafbfd;
}
.upload-icon { font-size: 1.5rem; margin-bottom: .25rem; color: var(--text-light); }
.upload-text { font-size: .82rem; color: var(--text-mid); margin-bottom: .25rem; }
.upload-formats { font-size: .72rem; color: var(--text-light); letter-spacing: .05em; }

.import-rows { display: flex; flex-direction: column; gap: .75rem; }
.import-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  opacity: 0;
  animation: fadeRow .4s forwards;
}
.import-row.r1 { animation-delay: .3s; }
.import-row.r2 { animation-delay: .7s; }
.import-row.r3 { animation-delay: 1.1s; }

.ir-icon { font-size: 1.2rem; flex-shrink: 0; }
.ir-info { flex: 1; }
.ir-name { display: block; font-size: .8rem; font-weight: 500; color: var(--text); margin-bottom: .25rem; }
.ir-bar { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; }
.ir-fill {
  height: 100%;
  background: var(--teal);
  border-radius: 2px;
  width: 0;
  animation: fillBar 1s .4s forwards ease-out;
}
.ir-fill.delay { animation-delay: .8s; }
.ir-fill.delay2 { animation-delay: 1.2s; }
.ir-bar.short .ir-fill { animation-duration: .6s; }
.ir-count { font-size: .75rem; font-weight: 600; white-space: nowrap; }
.ir-count.teal { color: var(--teal-dark); }
.ir-count.green { color: var(--green); }

@keyframes fillBar {
  to { width: 100%; }
}

/* ── Lettrage demo ── */
.lettrage-panels {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.l-panel { flex: 1; display: flex; flex-direction: column; gap: .4rem; }
.l-panel-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .25rem;
}
.l-item {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .5rem .7rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.l-item.active {
  border-color: var(--teal);
  background: var(--teal-muted);
  animation: pulse-border 2s infinite;
}
.l-item.done { opacity: .5; }
.l-amount { display: block; font-weight: 700; font-size: .85rem; color: var(--text); }
.l-label { display: block; font-size: .72rem; color: var(--text-mid); margin-top: .1rem; }

.tag-green-sm {
  background: rgba(59,170,122,.2);
  color: var(--green);
  font-size: .65rem;
  padding: .1rem .35rem;
  border-radius: 3px;
  font-weight: 700;
}

.l-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1.75rem;
}
.l-line {
  width: 2px;
  height: 44px;
  background: var(--border);
  position: relative;
}
.l-line-active {
  background: var(--teal);
  animation: drawLine 1s .3s ease-out both;
}
@keyframes drawLine {
  from { height: 0; }
  to   { height: 44px; }
}

.lettrage-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem;
  background: var(--bg);
  border-radius: 8px;
}
.ls-chip {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green);
}
.ls-btn {
  background: var(--teal);
  color: var(--navy);
  font-size: .8rem;
  font-weight: 700;
  padding: .35rem .9rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
}

/* ── Client demo ── */
.client-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.client-name { display: block; font-weight: 700; font-size: .9rem; color: var(--text); }
.client-sub { display: block; font-size: .75rem; color: var(--text-light); margin-top: .15rem; }

.score-ring {
  position: relative;
  width: 54px; height: 54px;
}
.score-ring svg { width: 56px; height: 56px; transform: rotate(-90deg); }
.score-val {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--teal);
}
.score-label { font-size: .65rem; color: var(--text-light); text-align: center; margin-top: .15rem; }

.client-kpis {
  display: flex;
  gap: .75rem;
  background: var(--bg);
  border-radius: 8px;
  padding: .75rem;
  margin-bottom: 1rem;
}
.ck { flex: 1; text-align: center; }
.ck-val { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--text); }
.ck-val.red { color: var(--red); }
.ck-lbl { display: block; font-size: .7rem; color: var(--text-light); margin-top: .1rem; }

.client-factures { display: flex; flex-direction: column; gap: .4rem; }
.cf-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .45rem .7rem;
  border-radius: 6px;
  font-size: .8rem;
}
.cf-row.overdue { background: rgba(224,82,82,.07); color: var(--red); }
.cf-row.warning { background: rgba(232,160,32,.07); color: var(--yellow); }
.cf-row.ok { background: rgba(59,170,122,.07); color: var(--text-mid); }
.cf-days { font-weight: 600; }
.cf-row .green { color: var(--green); font-weight: 600; }

/* ── Relance demo ── */
.relance-progress { margin-bottom: 1rem; }
.rp-label { font-size: .75rem; color: var(--text-mid); margin-bottom: .4rem; }
.rp-bar-wrap { display: flex; align-items: center; gap: .75rem; }
.rp-bar {
  flex: 1;
  height: 8px;
  background: var(--bg);
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.rp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  border-radius: 4px;
  width: 0;
  animation: fillBar 1.5s .3s ease-out forwards;
  --fill-width: 78%;
  animation: fillRelance 1.5s .3s ease-out forwards;
}
@keyframes fillRelance {
  to { width: 78%; }
}
.rp-pct { font-family: var(--font-head); font-weight: 700; color: var(--teal-dark); font-size: .9rem; }

.relance-items { display: flex; flex-direction: column; gap: .5rem; margin-bottom: .75rem; }
.ri {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .5rem .75rem;
  background: var(--bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.ri.urgent { border-color: rgba(224,82,82,.3); background: rgba(224,82,82,.04); }
.ri-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ri-dot.red { background: var(--red); }
.ri-dot.yellow { background: var(--yellow); }
.ri-info { flex: 1; }
.ri-name { display: block; font-weight: 600; font-size: .82rem; color: var(--text); }
.ri-detail { display: block; font-size: .72rem; color: var(--text-light); }
.ri-action {
  background: var(--teal);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .7rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  white-space: nowrap;
}
.ri-action.ghost {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid var(--border);
}

.relance-gamif {
  text-align: center;
  padding: .6rem;
  background: linear-gradient(135deg, rgba(192,120,64,.08), rgba(192,120,64,.04));
  border: 1px solid rgba(192,120,64,.2);
  border-radius: 8px;
}
.rg-badge { font-size: .8rem; font-weight: 600; color: var(--copper-dark); }

@keyframes pulse-border {
  0%, 100% { border-color: var(--teal); }
  50%       { border-color: var(--teal-dark); box-shadow: 0 0 0 3px rgba(76,197,187,.15); }
}

/* ════════════════════════════════════════
   CIBLE
════════════════════════════════════════ */
.cible {
  background: var(--navy);
  padding: 5rem 2rem;
}
.cible-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.cible h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.cible-sub {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}
.cible-cards {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.cible-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: left;
  transition: border-color .2s, transform .2s;
}
.cible-card:hover { border-color: rgba(76,197,187,.3); transform: translateY(-4px); }
.cible-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.cible-card h3 { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: .5rem; }
.cible-card p { color: rgba(255,255,255,.5); font-size: .88rem; line-height: 1.6; }

/* ════════════════════════════════════════
   DÉMO INTERACTIVE
════════════════════════════════════════ */
.demo-section {
  padding: 5rem 2rem;
  background: var(--bg);
}
.demo-inner { max-width: 900px; margin: 0 auto; }
.demo-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.demo-head h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: .75rem;
}
.demo-head p { color: var(--text-mid); font-size: .95rem; max-width: 540px; margin: 0 auto; }

.demo-app {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.demo-app-header {
  background: var(--navy);
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dah-title { font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.8); font-size: .85rem; }
.dah-badge {
  background: rgba(76,197,187,.15);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 20px;
  transition: background .3s;
}

.demo-app-body {
  display: flex;
  gap: 0;
  padding: 1.5rem;
  align-items: flex-start;
}
.da-col { flex: 1; display: flex; flex-direction: column; gap: .6rem; }
.da-col-title {
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .25rem;
}
.da-item {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .65rem .9rem;
  cursor: pointer;
  transition: border-color .2s, background .2s, opacity .2s;
  user-select: none;
}
.da-item:hover { border-color: var(--teal); background: var(--teal-muted); }
.da-item.selected { border-color: var(--teal); background: var(--teal-muted); }
.da-item.matched { border-color: var(--green); background: rgba(59,170,122,.08); opacity: .6; pointer-events: none; }
.da-item.disabled { opacity: .4; pointer-events: none; }
.da-amount { display: block; font-weight: 700; font-size: .9rem; color: var(--text); }
.da-label { display: block; font-size: .75rem; color: var(--text-mid); margin-top: .1rem; }

.da-mid {
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-top: 1.75rem;
}
.da-arrow { font-size: 1.2rem; color: var(--text-light); }
.da-hint { font-size: .7rem; color: var(--text-light); text-align: center; writing-mode: vertical-lr; transform: rotate(180deg); }

.demo-app-footer {
  padding: .75rem 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.demo-result { font-size: .9rem; font-weight: 600; color: var(--green); }

/* Overlay locked */
.demo-locked {
  position: absolute;
  inset: 0;
  background: rgba(14,26,43,.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}
.dl-content { text-align: center; padding: 2rem; max-width: 380px; }
.dl-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.dl-content h3 { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: .75rem; font-size: 1.3rem; }
.dl-content p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.7; margin-bottom: 1.5rem; }

/* ════════════════════════════════════════
   PRICING
════════════════════════════════════════ */
.pricing {
  padding: 5rem 2rem;
  background: var(--navy-mid);
}
.pricing-inner { max-width: 1000px; margin: 0 auto; text-align: center; }
.pricing h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .75rem;
}
.pricing-sub { color: rgba(255,255,255,.5); font-size: .95rem; margin-bottom: 3rem; }

.pricing-cards {
  display: flex;
  gap: 1.5rem;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: center;
}
.price-card {
  flex: 1;
  min-width: 240px;
  max-width: 300px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, border-color .2s;
}
.price-card:hover { transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--teal);
  background: var(--navy);
  transform: scale(1.03);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: var(--navy);
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .9rem;
  border-radius: 20px;
  white-space: nowrap;
}

.pc-header { margin-bottom: 1rem; }
.pc-plan {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}
.pc-price { display: flex; align-items: baseline; gap: .4rem; }
.pc-amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: #fff;
}
.price-card.featured .pc-amount { color: var(--teal); }
.pc-period { font-size: .82rem; color: rgba(255,255,255,.4); }

.pc-desc { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 1.5rem; }

.pc-features { flex: 1; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; }
.pc-features li { font-size: .85rem; color: rgba(255,255,255,.7); }
.pc-features li.muted { color: rgba(255,255,255,.25); }

.pc-cta { display: block; text-align: center; }

.pricing-note {
  margin-top: 2rem;
  color: rgba(255,255,255,.35);
  font-size: .85rem;
}
.pricing-note a { color: var(--teal); text-decoration: underline; }

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact { padding: 5rem 2rem; background: var(--bg); }
.contact-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.contact-text { flex: 1; min-width: 260px; }
.contact-text h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.contact-text p { color: var(--text-mid); line-height: 1.7; margin-bottom: 1.5rem; font-size: .95rem; }
.contact-infos { margin-top: 2rem; }
.contact-mail {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--teal-dark);
  font-size: .95rem;
  margin-bottom: .5rem;
}
.contact-promise { font-size: .82rem; color: var(--text-light); }

.contact-form { flex: 1; min-width: 300px; display: flex; flex-direction: column; gap: 1rem; }

.cf-row-2 { display: flex; gap: 1rem; }
.cf-field { display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.cf-field label { font-size: .82rem; font-weight: 600; color: var(--text); }
.cf-field input,
.cf-field select,
.cf-field textarea {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .65rem .9rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .2s;
  width: 100%;
  outline: none;
}
.cf-field input:focus,
.cf-field select:focus,
.cf-field textarea:focus { border-color: var(--teal); }
.cf-field textarea { resize: vertical; min-height: 80px; }

.cf-rgpd { font-size: .75rem; color: var(--text-light); text-align: center; line-height: 1.5; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer { background: var(--navy); padding: 3rem 2rem 1.5rem; }
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand { flex: 1; min-width: 200px; }
.footer-brand .nav-logo-o { margin-right: .5rem; }
.footer-brand .nav-logo-text { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.1rem; }
.footer-tagline { color: rgba(255,255,255,.35); font-size: .83rem; margin-top: .75rem; line-height: 1.6; max-width: 240px; }

.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
.fl-col { display: flex; flex-direction: column; gap: .6rem; }
.fl-title { font-family: var(--font-head); font-weight: 700; color: rgba(255,255,255,.5); font-size: .75rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: .25rem; }
.fl-col a { color: rgba(255,255,255,.55); font-size: .85rem; transition: color .2s; }
.fl-col a:hover { color: var(--teal); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-wrap: wrap;
  color: rgba(255,255,255,.25);
  font-size: .78rem;
}
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ════════════════════════════════════════
   COMPOSANTS SaaS — Fenêtre app animée
════════════════════════════════════════ */

/* Fenêtre OS */
.app-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(14,26,43,.06);
  overflow: hidden;
}
.app-window.compact { font-size: .82rem; }

.aw-titlebar {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: #2A2F38;
  padding: .55rem .9rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.aw-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.aw-dot.red { background: #FF5F57; }
.aw-dot.yellow { background: #FEBC2E; }
.aw-dot.green { background: #28C840; }
.aw-url {
  margin-left: .5rem;
  font-size: .72rem;
  color: rgba(255,255,255,.35);
  font-family: var(--font-body);
  letter-spacing: .01em;
  flex: 1;
  text-align: center;
}

/* Navbar app */
.aw-navbar {
  background: var(--navy);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1rem;
  height: 44px;
  border-bottom: 1px solid rgba(74,142,166,.15);
}
.aw-logo-row { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.aw-logo-o {
  width: 26px; height: 26px;
  background: linear-gradient(135deg, #4A8EA6 0%, #2D6B82 100%);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .85rem; color: #fff;
}
.aw-logo-name { font-family: var(--font-head); font-weight: 700; font-size: .8rem; color: #fff; letter-spacing: .2em; }
.aw-tabs { display: flex; gap: 2px; overflow: hidden; }
.aw-tab {
  padding: .35rem .7rem;
  border-radius: 5px;
  font-size: .72rem;
  font-weight: 500;
  color: rgba(255,255,255,.45);
  white-space: nowrap;
}
.aw-tab.active { background: var(--navy-light); color: #fff; }

/* KPIs barre hero */
.aw-kpis {
  display: flex;
  gap: .5rem;
  padding: .75rem .75rem .5rem;
  background: #EFF2F6;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.aw-kpi {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .5rem .7rem;
  min-width: 80px;
}
.aw-kpi.warning { border-color: #FDE68A; }
.aw-kpi.danger  { border-color: #FECACA; }
.aw-kpi-label { display: block; font-size: .62rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
.aw-kpi-val { display: block; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--text); }
.aw-kpi.warning .aw-kpi-val { color: #92400E; }
.aw-kpi.danger  .aw-kpi-val { color: #DC2626; }
.aw-kpi-val.teal { color: var(--teal-dark); }

/* Tableau principal hero */
.aw-table-wrap { overflow-x: auto; }
.aw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .75rem;
}
.aw-table thead th {
  padding: .4rem .7rem;
  text-align: left;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-light);
  background: #FAFBFD;
  border-bottom: 1px solid var(--border);
}
.aw-table thead th.r { text-align: right; }
.aw-table .r { text-align: right; }

.aw-tr {
  border-bottom: 1px solid var(--border);
  opacity: 0;
  animation: fadeRow .35s forwards;
  transition: background .15s;
}
.aw-tr:hover { background: #F5F7FA; }
.aw-tr td { padding: .45rem .7rem; color: var(--text); }
.aw-td-name { font-weight: 500; white-space: nowrap; max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.warn-val { color: #DC2626; font-weight: 600; }

/* Barre de score (identique à classeScore SaaS) */
.score-bar-wrap { display: flex; align-items: center; gap: .4rem; }
.score-bar-bg { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; max-width: 60px; }
.score-bar-fill { height: 100%; border-radius: 3px; transition: width .8s ease; }
.score-green { font-size: .65rem; font-weight: 700; color: #3BAA7A; white-space: nowrap; }
.score-amber { font-size: .65rem; font-weight: 700; color: #D97706; white-space: nowrap; }
.score-red   { font-size: .65rem; font-weight: 700; color: #DC2626; white-space: nowrap; }
.sort-arrow  { color: var(--teal-dark); font-size: .65rem; }

/* ── Import (Dépôt) window ── */
.depot-body { padding: .75rem; }
.depot-tabs { display: flex; gap: .25rem; margin-bottom: .75rem; }
.depot-tab { padding: .3rem .7rem; border-radius: 6px; font-size: .72rem; font-weight: 500; color: var(--text-mid); }
.depot-tab.active { background: var(--teal-muted); color: var(--teal-dark); font-weight: 700; }
.depot-step {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .6rem; border-radius: 6px;
  background: var(--bg); margin-bottom: .5rem; font-size: .72rem;
}
.depot-step-num {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--border); color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; font-weight: 700; flex-shrink: 0;
}
.depot-step-num.done { background: var(--teal); color: var(--navy); }
.depot-step-label { flex: 1; font-weight: 500; color: var(--text-mid); }
.depot-step-tag { font-weight: 600; color: var(--teal-dark); }
.depot-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: .9rem;
  text-align: center;
  margin-bottom: .75rem;
  background: #FAFBFD;
}
.dd-icon { font-size: 1.3rem; color: var(--text-light); margin-bottom: .2rem; }
.dd-text { font-size: .77rem; color: var(--text-mid); margin-bottom: .15rem; font-weight: 500; }
.dd-formats { font-size: .65rem; color: var(--text-light); letter-spacing: .04em; }

.depot-files { display: flex; flex-direction: column; gap: .55rem; }
.depot-file {
  display: flex; align-items: center; gap: .6rem;
  opacity: 0; animation: fadeRow .35s forwards;
}
.depot-file.f1 { animation-delay: .3s; }
.depot-file.f2 { animation-delay: .7s; }
.depot-file.f3 { animation-delay: 1.1s; }
.df-icon { font-size: 1rem; flex-shrink: 0; }
.df-info { flex: 1; min-width: 0; }
.df-name { display: block; font-size: .72rem; font-weight: 500; color: var(--text); margin-bottom: .2rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.df-bar { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.df-fill { height: 100%; background: var(--teal); border-radius: 2px; width: 0; animation: fillBar 1s .5s ease-out forwards; }
.df-fill.delay1 { animation-delay: .9s; }
.df-fill.delay2 { animation-delay: 1.3s; }
.df-bar.short .df-fill { animation-duration: .5s; }
.df-stat { font-size: .68rem; font-weight: 600; white-space: nowrap; }
.df-stat.teal { color: var(--teal-dark); }
.df-stat.green { color: var(--green); }

/* ── Panneau Lettrage ── */
.lett-filters {
  display: flex; gap: .25rem;
  padding: .5rem .75rem;
  border-bottom: 1px solid var(--border);
  background: #FAFBFD;
}
.lett-filter {
  padding: .25rem .6rem; border-radius: 5px;
  font-size: .68rem; font-weight: 500;
  color: var(--text-mid); background: none; border: none; cursor: pointer;
}
.lett-filter.active { background: var(--teal); color: #fff; }
.lett-layout {
  display: flex; height: 260px;
}
.lett-left {
  flex: 1.2;
  border-right: 1px solid var(--border);
  overflow-y: auto;
  padding: .5rem;
  background: #FAFBFD;
}
.lett-right {
  flex: 1;
  overflow-y: auto;
  padding: .6rem;
}
.lett-panel-title {
  font-size: .65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-light); margin-bottom: .4rem;
  display: flex; align-items: center; gap: .4rem;
}
.lett-count {
  background: var(--teal-muted); color: var(--teal-dark);
  padding: .1rem .4rem; border-radius: 10px; font-size: .62rem; font-weight: 700;
}

.lett-row {
  display: flex; align-items: center; gap: .5rem;
  padding: .4rem .5rem;
  border-radius: 6px;
  margin-bottom: .3rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s, border-color .15s;
  opacity: 0; animation: fadeRow .3s forwards;
}
.lett-row:hover { background: #F0F3F7; }
.lett-row.lett-row-active { background: var(--teal-muted); border-color: var(--teal); }
.lett-row.lett-row-done { opacity: .45; }
.lett-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.dot-green { background: #3BAA7A; box-shadow: 0 0 0 3px rgba(59,170,122,.2); }
.dot-amber { background: #E8A020; box-shadow: 0 0 0 3px rgba(232,160,32,.2); }
.dot-red   { background: #D94F4F; box-shadow: 0 0 0 3px rgba(217,79,79,.2); }
.lett-row-info { flex: 1; min-width: 0; }
.lett-row-lib { display: block; font-size: .72rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lett-row-sub { display: block; font-size: .62rem; color: var(--text-light); }
.lett-row-amount { font-family: var(--font-head); font-weight: 700; font-size: .75rem; color: var(--text); white-space: nowrap; }

/* Panneau droit — formulaire affectation */
.lett-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; text-align: center; gap: .35rem;
}
.lett-empty-icon { font-size: 1.8rem; opacity: .25; }
.lett-empty p { font-size: .8rem; font-weight: 600; color: var(--text-mid); margin: 0; }
.lett-empty small { font-size: .7rem; color: var(--text-light); }

.lett-form { display: flex; flex-direction: column; gap: .5rem; }
.lf-header { background: var(--bg); border-radius: 7px; padding: .55rem .7rem; border-left: 3px solid var(--teal); }
.lf-tag { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .15rem; }
.lf-lib { font-size: .72rem; font-weight: 500; color: var(--text); margin-bottom: .1rem; }
.lf-amount { font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--text); }
.lf-bar-row { display: flex; align-items: center; gap: .5rem; }
.lf-bar-label { font-size: .65rem; color: var(--text-light); white-space: nowrap; }
.lf-bar-bg { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.lf-bar-fill { height: 100%; background: var(--teal); border-radius: 3px; width: 0; transition: width .8s ease; }
.lf-bar-pct { font-size: .68rem; font-weight: 700; color: var(--teal-dark); white-space: nowrap; }
.lf-fields { display: flex; flex-direction: column; gap: .35rem; }
.lf-field-row { display: flex; align-items: center; gap: .5rem; }
.lf-input {
  flex: 1; padding: .35rem .6rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-size: .72rem; color: var(--text); background: var(--surface);
  font-family: var(--font-body);
}
.lf-field-info { font-size: .7rem; font-weight: 600; white-space: nowrap; }
.lf-field-info.teal { color: var(--teal-dark); }
.lf-footer { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .25rem; }
.lf-restant { font-size: .72rem; font-weight: 600; }
.lf-restant.green { color: var(--green); }
.lf-btn-valid {
  background: var(--teal); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  padding: .35rem .8rem; border-radius: 6px; border: none; cursor: pointer;
}

/* ── Compte client table (feature bloc) ── */
.cc-kpis {
  display: flex; gap: .5rem; padding: .6rem .75rem;
  border-bottom: 1px solid var(--border); background: #FAFBFD;
}
.cc-kpi { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .4rem .6rem; }
.cc-kpi.warn { border-color: #FDE68A; }
.cc-kpi.danger { border-color: #FECACA; }
.cc-kpi-l { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .15rem; }
.cc-kpi-v { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--text); }
.cc-kpi.warn .cc-kpi-v { color: #92400E; }
.cc-kpi.danger .cc-kpi-v { color: #DC2626; }

.cc-table-wrap { overflow-x: auto; }
.cc-table {
  width: 100%; border-collapse: collapse; font-size: .75rem;
}
.cc-table thead th {
  padding: .4rem .65rem;
  text-align: left; font-size: .62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-light); background: #FAFBFD;
  border-bottom: 1px solid var(--border); cursor: pointer;
}
.cc-table thead th.r { text-align: right; }
.cc-table .r { text-align: right; }

.cc-tr {
  border-bottom: 1px solid var(--border);
  opacity: 0; animation: fadeRow .35s forwards;
  transition: background .15s;
}
.cc-tr:hover { background: #F5F7FA; }
.cc-tr td { padding: .42rem .65rem; color: var(--text); }
.cc-td-name { font-weight: 500; white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }

/* ── Relances (feature bloc) ── */
.rel-kpis {
  display: flex; gap: .5rem; padding: .6rem .75rem;
  border-bottom: 1px solid var(--border); background: #FAFBFD;
}
.rel-kpi { flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .4rem .6rem; }
.rel-kpi-l { display: block; font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); margin-bottom: .15rem; }
.rel-kpi-v { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--text); }
.rel-kpi-v.teal { color: var(--teal-dark); }
.rel-kpi-v.green { color: var(--green); }

.rel-progress { padding: .6rem .75rem; border-bottom: 1px solid var(--border); }
.rel-prog-top { display: flex; justify-content: space-between; font-size: .7rem; color: var(--text-mid); margin-bottom: .35rem; }
.rel-prog-top .teal { color: var(--teal-dark); font-weight: 700; }
.rel-prog-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.rel-prog-fill { height: 100%; background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dark) 100%); border-radius: 3px; width: 0; animation: fillRelance 1.5s .3s ease-out forwards; }
@keyframes fillRelance { to { width: 78%; } }

#relanceRows { padding: .5rem .5rem .25rem; display: flex; flex-direction: column; gap: .35rem; }
.rel-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .45rem .6rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 7px;
  opacity: 0; animation: fadeRow .35s forwards;
}
.rel-row.urgent { border-color: rgba(217,79,79,.3); background: rgba(217,79,79,.04); }
.ri-dot-red    { width: 7px; height: 7px; border-radius: 50%; background: #D94F4F; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(217,79,79,.2); }
.ri-dot-yellow { width: 7px; height: 7px; border-radius: 50%; background: #E8A020; flex-shrink: 0; box-shadow: 0 0 0 3px rgba(232,160,32,.2); }
.ri-info { flex: 1; min-width: 0; }
.ri-name { display: block; font-size: .77rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ri-detail { display: block; font-size: .67rem; color: var(--text-light); }
.ri-btn {
  background: var(--teal); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: .7rem;
  padding: .25rem .6rem; border-radius: 5px; border: none; cursor: pointer;
  white-space: nowrap;
}
.rel-gamif {
  margin: .25rem .5rem .6rem;
  text-align: center; padding: .5rem;
  background: linear-gradient(135deg, rgba(192,120,64,.08), rgba(192,120,64,.04));
  border: 1px solid rgba(192,120,64,.2); border-radius: 7px;
}
.rel-gamif span { font-size: .73rem; font-weight: 600; color: var(--copper-dark); }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero { flex-direction: column; text-align: center; padding-top: 5rem; }
  .hero-cta-group { justify-content: center; }
  .hero-visual { width: 100%; max-width: 480px; }
  .feature-block, .feature-block.reverse { flex-direction: column; gap: 2.5rem; }
  .stats-sep { display: none; }
  .contact-inner { flex-direction: column; gap: 2.5rem; }
  .demo-app-body { gap: .5rem; padding: 1rem; }
  .da-mid { width: 30px; }
  .da-hint { display: none; }
  .nav-links, .nav-cta-group { display: none; }
  .nav-burger { display: flex; }
  .nav-mobile.open { display: flex; }
  .pricing-cards { flex-direction: column; align-items: center; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-4px); }
}

@media (max-width: 600px) {
  .hero { padding: 5rem 1.25rem 3rem; }
  .features, .cible, .demo-section, .pricing, .contact { padding: 3.5rem 1.25rem; }
  .feature-block { margin-bottom: 4rem; }
  .cf-row-2 { flex-direction: column; }
  .stats-inner { gap: 1.5rem; }
  .hero-bg-o { font-size: 90vw; }
}
