/* ══════════════════════════════════════════
   INDEX-V3.CSS — Home page V3
   Arc narratif : Problème → Promesse → Preuve → Produit → Prix → Action
   Tokens via css/main.css → BrandGuidelines/brand.css
   ══════════════════════════════════════════ */

/* ═══════════════════════════════
   SHARED — Hub wrapper & Header
   (from shared site chrome)
   ═══════════════════════════════ */
.hub-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow:
    0 -4px 0 0 rgba(154, 208, 201, 0.10),
    0 0 80px rgba(0, 0, 0, 0.55);
  position: relative;
}
.hub-wrapper::before { display: none; }

.site-body { border-radius: 0 !important; }

.hub-spacer { height: var(--sp-2); }

/* Header sticky */
.site-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-sticky-header.scrolled .site-header {
  background: rgba(7, 31, 28, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(154, 208, 201, 0.10);
}
.site-header {
  display: flex;
  align-items: center;
  height: 64px;
  background: transparent;
  border-bottom: none;
  padding: 0 28px;
  transition: background 0.25s, border-color 0.25s;
}
.site-header-top { display: contents; }

.site-header-logo {
  order: 1;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal-200);
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header-logo svg { flex-shrink: 0; }

.site-header-right {
  order: 3;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-header-login {
  font-size: 13px;
  font-weight: 500;
  color: rgba(154, 208, 201, 0.5);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 10px;
  border: 1px solid rgba(154, 208, 201, 0.12);
  background: rgba(154, 208, 201, 0.05);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}
.site-header-login:hover {
  color: var(--teal-200);
  border-color: rgba(154, 208, 201, 0.25);
  background: rgba(154, 208, 201, 0.08);
}

.site-header-tabs {
  order: 2;
  display: flex;
  gap: 0;
  padding: 0;
  margin-left: 16px;
  align-self: stretch;
}
.site-tab-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 14px;
  height: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: color 0.18s, border-color 0.18s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.site-tab-btn:hover { color: var(--teal-200); }
.site-tab-btn.active {
  color: var(--slate-50);
  border-bottom-color: var(--amber);
  font-weight: 600;
}

.site-header-hamburger {
  display: none;
  background: none;
  border: 1px solid rgba(154, 208, 201, 0.15);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  cursor: pointer;
  color: rgba(154, 208, 201, 0.5);
  transition: color 0.2s, border-color 0.2s;
}
.site-header-hamburger:hover { color: var(--teal-200); border-color: rgba(154, 208, 201, 0.3); }
.site-header-hamburger svg { display: block; }

.nav-btn-sm {
  font-size: var(--t-xs);
  padding: 9px 18px;
}

/* Dropdown nav */
.site-tab-dropdown {
  position: relative;
  display: flex;
  align-items: stretch;
}
.site-tab-dropdown::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.site-tab-trigger {
  gap: 5px;
}
.site-tab-trigger svg {
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
}
.site-tab-dropdown:hover .site-tab-trigger svg,
.site-tab-dropdown.open .site-tab-trigger svg {
  opacity: 0.8;
  transform: rotate(180deg);
}
.site-tab-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 220px;
  background: rgba(7, 31, 28, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(154, 208, 201, 0.12);
  border-radius: 10px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  transform: translateX(-50%) translateY(10px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
  z-index: 200;
}
.site-tab-dropdown:hover .site-tab-menu,
.site-tab-dropdown.open .site-tab-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}
.site-tab-menu-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition: background 0.15s;
}
.site-tab-menu-item:hover {
  background: rgba(154, 208, 201, 0.08);
}
.site-tab-menu-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(154, 208, 201, 0.07);
  border: 1px solid rgba(154, 208, 201, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(154, 208, 201, 0.55);
  transition: background 0.15s, color 0.15s;
}
.site-tab-menu-item:hover .site-tab-menu-icon {
  background: rgba(154, 208, 201, 0.13);
  color: var(--teal-200);
}
.site-tab-menu-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.site-tab-menu-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.2;
  transition: color 0.15s;
}
.site-tab-menu-item:hover .site-tab-menu-title {
  color: var(--teal-200);
}
.site-tab-menu-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.3;
  white-space: nowrap;
}
.site-tab-menu--wide {
  min-width: 280px;
}

.site-tab-menu--mega {
  min-width: 680px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  align-items: start;
  padding: 6px;
  left: 0;
  transform: translateY(10px);
}

.site-tab-dropdown:hover .site-tab-menu--mega,
.site-tab-dropdown.open .site-tab-menu--mega {
  transform: translateY(4px);
}

.site-tab-menu-section {
  padding: 2px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.site-tab-menu-section-label--link {
  display: block;
  text-decoration: none;
  color: rgba(154, 208, 201, 0.35);
  transition: color 0.15s;
}
.site-tab-menu-section-label--link:hover { color: rgba(154, 208, 201, 0.7); }

/* Vision produit — carte featured en bas du mega menu produit */
.site-tab-menu-section--vision {
  align-self: stretch;
  display: flex;
  flex-direction: column;
}
.site-tab-vision-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border-radius: 9px;
  border: 1px solid rgba(154, 208, 201, 0.14);
  background: rgba(154, 208, 201, 0.05);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  flex: 1;
  height: 100%;
  box-sizing: border-box;
}
.site-tab-vision-card:hover {
  background: rgba(154, 208, 201, 0.10);
  border-color: rgba(154, 208, 201, 0.25);
}
.site-tab-vision-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(154, 208, 201, 0.07);
  border: 1px solid rgba(154, 208, 201, 0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(154, 208, 201, 0.55);
}
.site-tab-vision-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.site-tab-vision-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.90);
  line-height: 1.2;
}
.site-tab-vision-desc {
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.5;
  white-space: normal;
}
.site-tab-vision-body-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28) !important;
  line-height: 1.55;
  white-space: normal;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(154, 208, 201, 0.07);
}

.site-tab-menu-section + .site-tab-menu-section {
  border-left: 1px solid rgba(154, 208, 201, 0.08);
  padding-left: 4px;
}
.site-tab-menu-section--no-sep {
  border-left: none !important;
  padding-left: 2px;
}

.site-tab-menu-section-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(154, 208, 201, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px 4px;
}

/* Split trigger (label link + chevron séparés) */
.site-tab-split-trigger {
  display: flex;
  align-items: stretch;
}
.site-tab-chevron-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 10px 0 2px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
}
.site-tab-chevron-btn svg {
  opacity: 0.45;
  transition: transform 0.2s, opacity 0.2s;
}
.site-tab-dropdown:hover .site-tab-chevron-btn svg,
.site-tab-dropdown.open .site-tab-chevron-btn svg {
  opacity: 0.8;
  transform: rotate(180deg);
}

/* Resources : mini-hub 2 colonnes */
.site-tab-menu--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 440px;
}
.site-tab-menu-col {
  padding: 2px;
  display: flex;
  flex-direction: column;
}
.site-tab-menu-col + .site-tab-menu-col {
  border-left: 1px solid rgba(154, 208, 201, 0.08);
  padding-left: 4px;
}
.site-tab-menu-col-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(154, 208, 201, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 10px 4px;
}

/* Article en vedette dans Resources */
.site-tab-featured-article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  margin: 4px 4px 2px;
  border-radius: 8px;
  border: 1px solid rgba(154, 208, 201, 0.12);
  background: rgba(154, 208, 201, 0.04);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  flex: 1;
}
.site-tab-featured-article:hover {
  background: rgba(154, 208, 201, 0.09);
  border-color: rgba(154, 208, 201, 0.22);
}
.site-tab-featured-label {
  font-size: 10px;
  font-weight: 600;
  color: rgba(154, 208, 201, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.site-tab-featured-title {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

/* Footer extras */
.footer-social { margin-top: 20px; display: flex; gap: var(--sp-2); }
.footer-bottom-links { display: flex; gap: var(--sp-4); }

/* ═══════════════════════════════
   SHARED — Segments & Platform link
   ═══════════════════════════════ */
.segment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px var(--sp-3);
  border-radius: var(--r-full);
  margin-bottom: 14px;
  align-self: flex-start;
}
.badge-pme { background: var(--teal-50); color: var(--teal-600); border: 1px solid var(--teal-100); }
.badge-eti { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }
.badge-grand { background: #fdf4ff; color: #7e22ce; border: 1px solid #e9d5ff; }

.segment-pill {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s, border-color 0.3s;
}
.segment-pill:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.08);
  border-color: var(--teal-200);
}
.segment-pill-desc {
  font-size: var(--t-sm);
  color: var(--gray-500);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 18px;
}
.segment-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--teal-500);
  text-decoration: none;
  transition: gap 0.2s;
}
.segment-pill-link:hover { gap: 10px; }

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--teal-200);
  transition: gap 0.2s;
}
.platform-link:hover { gap: 10px; }

/* ═══════════════════════════════
   SHARED — Responsive header mobile
   ═══════════════════════════════ */
@media (max-width: 768px) {
  .site-header {
    display: block;
    height: auto;
    padding: 0 16px;
  }
  .site-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
  }
  .site-header-tabs {
    display: none;
    flex-direction: column;
    padding: 8px 0 12px;
    gap: 2px;
    margin-left: 0;
    align-self: auto;
    order: unset;
  }
  .site-header-tabs.open { display: flex; }
  .site-tab-btn {
    padding: 10px 12px;
    border-bottom: none;
    border-radius: var(--r-sm);
  }
  .site-tab-btn:hover { background: rgba(154, 208, 201, 0.06); }
  .site-tab-btn.active {
    background: rgba(154, 208, 201, 0.08);
    border-bottom: none;
    border-left: 2px solid var(--amber);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    padding-left: 14px;
  }
  .site-header-hamburger { display: block; }
  .site-header-login { display: none; }
  .site-header-right { gap: 6px; }
  .site-header-right .nav-btn-sm {
    white-space: nowrap;
    padding: 7px 10px;
  }
  .segments-v3 { grid-template-columns: 1fr; }

  /* ── Burger menu: dropdowns en accordéon ── */
  .site-tab-dropdown {
    flex-direction: column;
    align-items: stretch;
  }
  .site-tab-menu {
    position: static !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100%;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 0;
    overflow: hidden;
    padding: 0 6px !important;
    margin-top: 2px;
    transition: max-height 0.35s cubic-bezier(0.16,1,0.3,1),
                padding 0.25s ease !important;
    pointer-events: none !important;
  }
  /* Neutraliser le :hover desktop sur mobile */
  .site-tab-dropdown:hover .site-tab-menu {
    max-height: 0 !important;
    padding: 0 6px !important;
    pointer-events: none !important;
  }
  /* Ouverture via la classe .open ajoutée par JS */
  .site-tab-dropdown.open .site-tab-menu {
    max-height: 600px !important;
    padding: 6px !important;
    pointer-events: auto !important;
  }
  /* Mega menu: passe de 2 colonnes à colonne unique */
  .site-tab-menu--mega {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  .site-tab-menu-section + .site-tab-menu-section {
    border-left: none !important;
    border-top: 1px solid rgba(154, 208, 201, 0.08) !important;
    padding-left: 2px;
    margin-top: 6px;
  }
  .site-tab-menu-desc {
    white-space: normal;
  }
  /* Split trigger mobile */
  .site-tab-split-trigger {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .site-tab-split-trigger .site-tab-btn {
    flex: 1;
  }
  .site-tab-chevron-btn {
    padding: 10px 12px;
    border-radius: var(--r-sm);
    border-bottom: none;
  }
  .site-tab-chevron-btn:hover { background: rgba(154, 208, 201, 0.06); }
  /* Resources 2-col → colonne unique sur mobile */
  .site-tab-menu--two-col {
    display: flex !important;
    flex-direction: column !important;
  }
  .site-tab-menu-col + .site-tab-menu-col {
    border-left: none !important;
    border-top: 1px solid rgba(154, 208, 201, 0.08) !important;
    padding-left: 2px;
    margin-top: 6px;
  }
}

/* ── Hero V3 — Industrial Data: SVG grid, pas d'orbs ── */
.hero-v3 {
  min-height: calc(100vh - var(--nav-h) - 40px);
  display: flex;
  align-items: center;
  padding: clamp(100px, 12vw, 180px) 0 clamp(80px, 10vw, 140px);
  position: relative;
  overflow: hidden;
  background: #f9f8f5;
}
/* Grille SVG subtile — précision industrielle */
.hero-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(94, 173, 160, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 173, 160, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Points aux intersections */
.hero-v3::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(94, 173, 160, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-v3-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(56px, 7vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-v3-text { max-width: 520px; }

.hero-v3 h1 {
  font-size: clamp(44px, 5vw, 72px);
  color: var(--gray-900);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-v3 h1 .h1-teal { color: var(--teal-500); }
.hero-v3 h1 .h1-amber { color: var(--amber-dark, #c8960a); }

.hero-v3-sub {
  font-size: clamp(16px, 1.15vw, 18px);
  color: var(--gray-500);
  line-height: 1.8;
  max-width: 460px;
  margin-bottom: 40px;
}
.hero-v3-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.hero-v3-proof {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  color: var(--gray-400);
  flex-wrap: wrap;
}
.hero-v3-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-v3-proof-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal-400);
  flex-shrink: 0;
}

/* Hero visual — floating screenshot with glow (Attio-style, no window chrome) */
.hero-v3-visual {
  position: relative;
}
.hero-v3-screenshot {
  border-radius: 20px;
  overflow: hidden;
  background: #0a0f14;
  position: relative;
  box-shadow:
    0 40px 100px -20px rgba(0,0,0,0.25),
    0 0 0 1px rgba(154,208,201,0.08),
    0 0 80px -20px rgba(154,208,201,0.12);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero-v3-screenshot:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}
.hero-v3-screenshot-inner {
  background: #0a0f14;
  padding: 24px;
  min-height: 360px;
  position: relative;
}
/* Floating chip near screenshot */
.hero-floating-chip {
  position: absolute;
  bottom: -16px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 0 0 1px rgba(0,0,0,0.04);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  z-index: 2;
  animation: float-chip 3s ease-in-out infinite;
}
.hero-floating-chip-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-400);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes float-chip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* Real data mockup inside hero */
.real-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.real-dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(154,208,201,0.08);
}
.real-dash-topbar-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(154,208,201,0.6);
  letter-spacing: 0.03em;
}
.real-dash-topbar-meta {
  font-size: 11px;
  color: rgba(154,208,201,0.3);
}
.real-dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.real-stat {
  background: rgba(154,208,201,0.04);
  border: 1px solid rgba(154,208,201,0.08);
  border-radius: 10px;
  padding: 14px;
}
.real-stat-label {
  font-size: 9px;
  font-weight: 700;
  color: rgba(154,208,201,0.45);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.real-stat-value {
  font-size: 24px;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.real-stat-value .unit {
  font-size: 11px;
  font-weight: 600;
  color: rgba(154,208,201,0.4);
  margin-left: 3px;
}
.real-stat-sub {
  font-size: 9px;
  color: rgba(154,208,201,0.3);
  margin-top: 4px;
}
.real-stat-value.positive { color: #34d399; }
.real-stat-value.amber { color: var(--amber); }

/* Chart area */
.real-chart {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(154,208,201,0.06);
  border-radius: 10px;
  padding: 14px;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.real-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.real-chart-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
}
.real-chart-legend {
  display: flex;
  gap: 12px;
  align-items: center;
}
.real-chart-legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: rgba(154,208,201,0.35);
}
.real-chart-legend-dot {
  width: 8px; height: 8px;
  border-radius: 2px;
}
.real-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  position: relative;
}
.real-chart-bars::before {
  content: '';
  position: absolute;
  top: 28%;
  left: 0; right: 0;
  border-top: 1.5px dashed var(--amber);
  opacity: 0.35;
}
.real-chart-bar {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  min-width: 0;
  position: relative;
}
.real-chart-bar-label {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: rgba(154,208,201,0.25);
  white-space: nowrap;
}

/* ── Trust logos bar — minimal ── */
.trust-logos {
  padding: clamp(40px, 5vw, 64px) 0;
  border-bottom: none;
  background: var(--white);
}
.trust-logos-inner {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  justify-content: center;
  flex-wrap: wrap;
}
.trust-logos-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  flex-shrink: 0;
}
.trust-logo-item {
  height: 28px;
  opacity: 0.35;
  filter: grayscale(1);
  transition: opacity 0.2s, filter 0.2s;
}
.trust-logo-item:hover {
  opacity: 0.7;
  filter: grayscale(0);
}
/* Placeholder logos */
.trust-logo-placeholder {
  height: 24px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}

/* ── Section Problème — Attio-style: generous padding, visual hierarchy ── */
.problem-section {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--white);
  position: relative;
}
.problem-header {
  max-width: 680px;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.problem-header h2 {
  font-size: clamp(28px, 2.8vw, 40px);
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.25;
}
.problem-header p {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--gray-500);
  line-height: 1.75;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}
.problem-card {
  padding: clamp(28px, 3vw, 40px);
  border-radius: 16px;
  border: 1px solid var(--gray-200);
  background: var(--slate-50);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.08);
}
.problem-card::before { display: none; }
.problem-card--featured {
  background: var(--gray-900, #111827);
  border-color: var(--gray-900, #111827);
}
.problem-card--featured h3 { color: var(--white, #fff); }
.problem-card--featured p { color: rgba(255,255,255,0.55); }
.problem-card--featured .problem-card-num { color: rgba(255,255,255,0.08); }
.problem-card-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--gray-100);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
}
.problem-card h3 {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--gray-900);
  margin-bottom: 12px;
  line-height: 1.35;
}
.problem-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
}

/* ── Section Transformation (avant/après) — cleaner, more space ── */
.transform-section {
  padding: clamp(100px, 12vw, 160px) 0;
  position: relative;
  overflow: hidden;
}
.transform-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}
.transform-col {
  padding: clamp(36px, 4vw, 56px);
  border-radius: 20px;
}
.transform-col--before {
  background: var(--slate-50);
  border: 1px solid var(--gray-200);
}
.transform-col--after {
  background: var(--teal-700);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.transform-col--after::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(154,208,201,0.03) 1px, transparent 1px),
    linear-gradient(rgba(154,208,201,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.transform-col--after > * { position: relative; z-index: 1; }

.transform-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  flex-shrink: 0;
}
.transform-arrow-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(240,192,64,0.25);
}

.transform-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.transform-label--before { color: var(--gray-400); }
.transform-label--after { color: var(--amber); }

.transform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.transform-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
}
.transform-list--before li { color: var(--gray-600); }
.transform-list--after li { color: rgba(226,237,233,0.85); }

.transform-icon {
  width: 24px; height: 24px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.transform-icon--pain {
  background: rgba(239,68,68,0.08);
  color: #ef4444;
}
.transform-icon--gain {
  background: rgba(154,208,201,0.15);
  color: var(--teal-200);
}

/* ── Platform section V3 — Attio-inspired bento grid ── */
.platform-v3 {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--teal-700);
  position: relative;
  overflow: hidden;
}
/* Subtle dot grid (Attio-style) — one layer only */
.platform-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(154,208,201,0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.platform-v3::after { display: none; }
.platform-v3 > * { position: relative; z-index: 1; }

.platform-v3-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.platform-v3-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(154,208,201,0.08);
  border-radius: 20px;
  padding: clamp(32px, 3.5vw, 48px);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s, background 0.2s, box-shadow 0.35s;
}
.platform-v3-card:hover {
  border-color: rgba(154,208,201,0.18);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.3);
}
/* Klem card spans full width = featured */
.platform-v3-card.featured {
  grid-column: 1 / -1;
  border-color: rgba(240,192,64,0.12);
  background: rgba(240,192,64,0.02);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.platform-v3-card.featured:hover {
  border-color: rgba(240,192,64,0.25);
  background: rgba(240,192,64,0.04);
}

.platform-v3-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.platform-v3-icon.icon-teal { background: rgba(154,208,201,0.1); }
.platform-v3-icon.icon-amber { background: rgba(240,192,64,0.1); }

.platform-v3-card h3 {
  font-size: clamp(20px, 1.8vw, 26px);
  color: var(--white);
  margin-bottom: 10px;
}
.platform-v3-card p {
  font-size: 14px;
  color: rgba(154,208,201,0.55);
  line-height: 1.7;
  margin-bottom: 20px;
}
.platform-v3-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.platform-v3-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
  background: rgba(154,208,201,0.08);
  border: 1px solid rgba(154,208,201,0.12);
  color: rgba(154,208,201,0.6);
}
.platform-v3-tag.tag-amber {
  background: rgba(240,192,64,0.08);
  border-color: rgba(240,192,64,0.15);
  color: rgba(240,192,64,0.7);
}

/* Klem mini-mockup inside featured card — polished */
.klem-v3-mock {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(154,208,201,0.06);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(154,208,201,0.04);
}
.klem-v3-msg {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.klem-v3-msg.user { justify-content: flex-end; }
.klem-v3-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
}
.klem-v3-bubble.bot {
  background: rgba(154,208,201,0.08);
  border: 1px solid rgba(154,208,201,0.1);
  color: rgba(226,237,233,0.8);
}
.klem-v3-bubble.user {
  background: rgba(240,192,64,0.1);
  border: 1px solid rgba(240,192,64,0.15);
  color: rgba(240,192,64,0.85);
}
.klem-v3-avatar {
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(240,192,64,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Social proof — cleaner, more visual weight on numbers ── */
.proof-section {
  padding: clamp(100px, 12vw, 160px) 0;
  background: var(--slate-50);
  position: relative;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: clamp(56px, 7vw, 80px);
}
.proof-stat {
  text-align: center;
  padding: clamp(28px, 3vw, 44px) 20px;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.proof-stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.08);
}
.proof-stat-value {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 800;
  color: var(--teal-500);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.proof-stat-label {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

/* Testimonials — floating cards */
.proof-quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.proof-quote {
  padding: clamp(32px, 3.5vw, 48px);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s;
}
.proof-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -15px rgba(0,0,0,0.08);
}
.proof-quote blockquote {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--gray-700);
  line-height: 1.8;
  font-style: normal;
  flex: 1;
}
.proof-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.proof-quote-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-500);
}
.proof-quote-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}
.proof-quote-role {
  font-size: 12px;
  color: var(--gray-400);
}

/* ── Segments V3 — compact ── */
.segments-v3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ── Pricing V3 — darker shade for visual variety ── */
.pricing-v3 {
  padding: clamp(100px, 12vw, 160px) 0;
  background: #050e0c;
  position: relative;
  overflow: hidden;
}
.pricing-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(154,208,201,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.pricing-v3 > * { position: relative; z-index: 1; }

.pricing-v3-inner {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}
.pricing-v3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: clamp(40px, 5vw, 56px) 0;
}
.pricing-v3-pill {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(154,208,201,0.08);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.2s, box-shadow 0.3s;
}
.pricing-v3-pill:hover {
  border-color: rgba(154,208,201,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px -12px rgba(0,0,0,0.3);
}
.pricing-v3-pill.featured {
  border-color: rgba(240,192,64,0.25);
  background: rgba(240,192,64,0.04);
}
.pricing-v3-pill.featured:hover {
  border-color: rgba(240,192,64,0.4);
}
.pricing-v3-price {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}
.pricing-v3-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(154,208,201,0.6);
  margin-top: 6px;
}
.pricing-v3-desc {
  font-size: 12px;
  color: rgba(154,208,201,0.35);
  margin-top: 4px;
}

/* ── Timeline V3 — horizontal card flow ── */
.timeline-v3 {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}
.timeline-v3-card {
  flex: 1;
  max-width: 300px;
  text-align: center;
  padding: 0 20px;
}
.timeline-v3-week {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal-500);
  margin-bottom: 16px;
}
.timeline-v3-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.timeline-v3-icon--done {
  background: rgba(240,192,64,0.08);
  border-color: rgba(240,192,64,0.2);
}
.timeline-v3-card h3 {
  font-size: clamp(17px, 1.3vw, 20px);
  color: var(--gray-900);
  margin-bottom: 10px;
}
.timeline-v3-card p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}
.timeline-v3-connector {
  display: flex;
  align-items: center;
  padding-top: 42px;
  flex-shrink: 0;
}

/* ── FAQ V3 — 4 items max ── */
.faq-v3 {
  max-width: 720px;
  margin: 0 auto;
}

/* ── CTA final V3 — gradient treatment distinct from platform ── */
.cta-v3 {
  padding: clamp(120px, 14vw, 200px) 0;
  background: var(--teal-700);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-v3::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(240,192,64,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 0%, rgba(154,208,201,0.06) 0%, transparent 40%);
  pointer-events: none;
}
.cta-v3::after { display: none; }
.cta-v3 > * { position: relative; z-index: 1; }

.cta-v3 h2 {
  font-size: clamp(38px, 4vw, 60px);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.cta-v3 h2 .cta-amber { color: var(--amber); }
.cta-v3-sub {
  font-size: clamp(15px, 1.1vw, 17px);
  color: rgba(154,208,201,0.55);
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 44px;
}
.cta-v3-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cta-v3-legal {
  font-size: 12px;
  color: rgba(154,208,201,0.3);
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */
@media (max-width: 900px) {
  .hero-v3-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero-v3-screenshot {
    transform: none;
  }
  .hero-v3-screenshot:hover {
    transform: none;
  }
  .hero-v3-visual { max-width: 520px; }
  .problem-grid { grid-template-columns: 1fr; }
  .transform-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .transform-arrow {
    width: auto;
    height: 48px;
  }
  .platform-v3-grid { grid-template-columns: 1fr; }
  .platform-v3-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-quotes { grid-template-columns: 1fr; }
  .segments-v3 { grid-template-columns: 1fr; }
  .pricing-v3-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-v3 {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .timeline-v3-connector {
    transform: rotate(90deg);
    padding-top: 0;
  }
  .timeline-v3-card { max-width: 360px; }
}

@media (max-width: 600px) {
  .hero-v3 h1 { font-size: clamp(32px, 8vw, 42px); }
  .real-dash-stats { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .pricing-v3-grid { grid-template-columns: 1fr 1fr; }
  .hero-floating-chip { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL — .reveal → .in-view entrance transitions
   Observateur IntersectionObserver dans SiteInit.tsx
   ═══════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity   0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Direction variants */
.reveal.from-right  { transform: translateX(32px);  }
.reveal.from-left   { transform: translateX(-32px); }
.reveal.from-right.in-view,
.reveal.from-left.in-view { transform: translateX(0); }

/* Stagger — assignés automatiquement par SiteInit via style --reveal-delay */
.reveal-delay-1 { --reveal-delay: 85ms;  }
.reveal-delay-2 { --reveal-delay: 170ms; }
.reveal-delay-3 { --reveal-delay: 255ms; }
.reveal-delay-4 { --reveal-delay: 340ms; }

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

/* ═══════════════════════════════════════════════════════════
   PAGE TRANSITIONS — fade-up sur changement de route
   ═══════════════════════════════════════════════════════════ */

@keyframes kb-page-enter {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0);   }
}
.page-fade {
  animation: kb-page-enter 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@media (prefers-reduced-motion: reduce) {
  .page-fade { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   CAS D'USAGE · Shared Styles
   Used across: index, automatisation, bilan-carbone,
   empreinte-produit-acv, rapport
   ═══════════════════════════════════════════════════════════ */

/* ── Index hero ── */
.uc-hero {
  background: var(--teal-700);
  padding: clamp(96px, 11vw, 140px) 0 clamp(80px, 9vw, 112px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.uc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(154,208,201,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(240,192,64,0.08) 0%, transparent 45%);
  z-index: 1;
}
.uc-hero > * { position: relative; z-index: 2; }
.uc-hero .eyebrow-glow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}
.uc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 auto 1.25rem;
  max-width: 760px;
}
.uc-hero-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── Stats bar (index) ── */
.uc-stats-bar {
  background: #f8fafa;
  border-bottom: 1px solid rgba(154,208,201,0.2);
  padding: 1.5rem 0;
}
.uc-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
}
.uc-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.uc-stat-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--teal-700);
}
.uc-stat-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(17,52,62,0.55);
  text-align: center;
}

/* ── Index cards section ── */
.uc-cards-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #fff;
}
.uc-cards-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--teal-700);
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.uc-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.uc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(154,208,201,0.25);
  border-radius: 16px;
  padding: 2rem 1.75rem 1.75rem;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.uc-card:hover {
  border-color: var(--teal-400);
  box-shadow: 0 8px 32px rgba(106,184,175,0.14);
  transform: translateY(-2px);
}
.uc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(154,208,201,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--teal-700);
  flex-shrink: 0;
}
.uc-card-icon svg {
  width: 22px;
  height: 22px;
}
.uc-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 0.5rem;
}
.uc-card-desc {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(17,52,62,0.65);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.uc-card-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal-700);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}
.uc-card:hover .uc-card-link { color: var(--amber); }

/* ── Index CTA ── */
.uc-cta {
  background: var(--teal-700);
  padding: clamp(56px, 7vw, 80px) 0;
  text-align: center;
}
.uc-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.uc-cta-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2rem;
}

/* ── Detail pages — hero ── */
.uc-detail-hero {
  background: var(--teal-700);
  padding: clamp(96px, 11vw, 140px) 0 clamp(80px, 9vw, 112px);
  position: relative;
  overflow: hidden;
}
.uc-detail-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 25%, rgba(154,208,201,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 75%, rgba(240,192,64,0.08) 0%, transparent 45%);
  z-index: 1;
}
.uc-detail-hero > * { position: relative; z-index: 2; }
.uc-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.2s;
}
.uc-back-link:hover { color: var(--amber); }
.uc-detail-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
  display: block;
}
.uc-detail-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  max-width: 720px;
}
.uc-detail-sub {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  line-height: 1.65;
}

/* ── Detail pages — problem ── */
.uc-problem {
  padding: clamp(56px, 7vw, 80px) 0;
  background: #fff;
}
.uc-section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
  display: block;
}
.uc-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 1rem;
  max-width: 640px;
}
.uc-section-text {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(17,52,62,0.72);
  line-height: 1.75;
  max-width: 640px;
}

/* ── Detail pages — solution ── */
.uc-solution {
  padding: clamp(56px, 7vw, 80px) 0;
  background: var(--teal-mid, #0d3340);
}
.uc-solution .uc-section-label { color: var(--amber); }
.uc-solution .uc-section-title { color: #fff; }
.uc-solution-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 560px;
}
.uc-solution-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.97rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.55;
}
.uc-solution-list li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l2.5 2.5L9 1' stroke='%230d3340' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

/* ── Detail pages — CTA ── */
.uc-detail-cta {
  background: var(--teal-700);
  padding: clamp(56px, 7vw, 80px) 0;
  text-align: center;
}
.uc-detail-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2rem;
}
.uc-detail-cta-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 2rem;
  margin-top: -1rem;
}

/* ── Detail pages — related links ── */
.uc-related {
  padding: 2.5rem 0;
  background: #fff;
  border-top: 1px solid rgba(154,208,201,0.15);
}
.uc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1rem;
}
.uc-related-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-700);
  text-decoration: none;
  border: 1.5px solid rgba(154,208,201,0.3);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: border-color 0.2s, background 0.2s;
}
.uc-related-link:hover {
  border-color: var(--teal-400);
  background: rgba(154,208,201,0.06);
}

/* ── UC KPI bar (hero inline stats) ── */
.uc-kpi-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  margin-top: 2.5rem;
}
.uc-kpi-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.uc-kpi-value {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.02em;
  line-height: 1;
}
.uc-kpi-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  max-width: 160px;
  line-height: 1.35;
}

/* ── UC How it works ── */
.uc-hiw {
  padding: clamp(56px, 7vw, 80px) 0;
  background: #fff;
}
.uc-hiw-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.uc-hiw-step {
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid rgba(154,208,201,0.25);
}
.uc-hiw-step-num {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal-400, #6ab8af);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.uc-hiw-step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 0.5rem;
}
.uc-hiw-step-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(17,52,62,0.65);
  line-height: 1.65;
}

/* ── UC FAQ ── */
.uc-faq {
  padding: clamp(56px, 7vw, 80px) 0;
  background: #f8fafa;
}
.uc-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 720px;
}
.uc-faq-item {
  background: #fff;
  border: 1.5px solid rgba(154,208,201,0.2);
  border-radius: 12px;
  padding: 1.5rem;
}
.uc-faq-q {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-700);
  margin-bottom: 0.6rem;
}
.uc-faq-a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(17,52,62,0.68);
  line-height: 1.7;
}
