/* =========================================================
   OctoCapt — Enterprise eClinical Platform
   style.css
   ========================================================= */

/* ── CSS Variables ── */
:root {
  --blue-deep:    #0b2c4c;
  --blue-mid:     #1a4b82;
  --blue-light:   #2e6db4;
  --cyan-accent:  #1f88da;
  --cyan-soft:    #e6f7f9;
  --white:        #ffffff;
  --gray-100:     #f5f6f8;
  --gray-200:     #eaecf0;
  --gray-300:     #d1d5db;
  --gray-500:     #6b7280;
  --gray-700:     #374151;
  --charcoal:     #1a1f2e;
  --text-primary: #1a2433;
  --text-muted:   #596170;
  --shadow-sm:    0 1px 4px rgba(15,45,82,.07);
  --shadow-md:    0 4px 20px rgba(15,45,82,.10);
  --shadow-lg:    0 8px 40px rgba(15,45,82,.14);
  --radius:       8px;
  --button-radius:25px;
  --radius-lg:    14px;
  --transition:   .22s ease;
}
/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', 'Inter', sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  /* font-family: 'DM Serif Display', 'Playfair Display', serif; */
  color: var(--text-primary);
  line-height: 1.2;
}

.section-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  display: inline-block;
  margin-bottom: .6rem;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Utility ── */
.section-pad  { padding: 45px 0; }
.section-pad-sm { padding: 64px 0; }
.bg-light-gray { background: var(--gray-100); }
.bg-dark       { background: var(--blue-deep); }
.text-cyan     { color: var(--cyan-accent) !important; }

.btn-primary-oc {
  background: var(--blue-deep);
  color: var(--white);
  border: none;
  padding: .72rem 1.6rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-primary-oc:hover {
  background: var(--blue-mid);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-oc {
  background: transparent;
  color: var(--blue-deep);
  border: 1.5px solid var(--blue-deep);
  padding: .68rem 1.5rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-outline-oc:hover {
  background: var(--blue-deep);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost-white {
  background: rgba(255,255,255,.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: .68rem 1.5rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 600;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,.22);
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}

/* ── Scroll Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }
.reveal-delay-5 { transition-delay: .5s; }

/* =========================================================
   NAVBAR
   ========================================================= */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
#mainNav.scrolled {
  background: rgba(255,255,255,.8);
  box-shadow: 0 1px 0 var(--gray-200);
  padding: .65rem 0;
  backdrop-filter: blur(8px);
}
.nav-logo {
  /* font-family: 'DM Serif Display', serif; */
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -.01em;
  transition: color var(--transition);
}
.nav-logo span { color: var(--cyan-accent); }
#mainNav.scrolled .nav-logo { color: var(--blue-deep); }

.nav-link-oc {
  font-size: .87rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: .35rem .7rem;
  border-radius: 4px;
  transition: color var(--transition);
  letter-spacing: .01em;
}
.nav-link-oc:hover { color: var(--white); }
#mainNav.scrolled .nav-link-oc { color: var(--gray-700); }
#mainNav.scrolled .nav-link-oc:hover { color: var(--blue-deep); }

.btn-nav-demo {
  background: var(--cyan-accent);
  color: var(--white);
  border: none;
  padding: .45rem 1.1rem;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.btn-nav-demo:hover { background: #25a4b0; transform: translateY(-1px); color: var(--white); }

.btn-nav-signin {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.3);
  padding: .42rem 1rem;
  border-radius: var(--radius);
  font-size: .84rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-nav-signin:hover { border-color: rgba(255,255,255,.6); color: var(--white); }
#mainNav.scrolled .btn-nav-signin { color: var(--gray-700); border-color: var(--gray-300); }
#mainNav.scrolled .btn-nav-signin:hover { border-color: var(--blue-deep); color: var(--blue-deep); }

/* Mobile nav */
.navbar-toggler {
  border: none;
  outline: none;
  background: transparent;
  padding: .4rem;
}
.navbar-toggler-icon { width: 22px; }
.navbar-toggler .bar {
  display: block; width: 22px; height: 2px;
  background: var(--white);
  margin: 5px 0;
  border-radius: 2px;
  transition: background var(--transition);
}
#mainNav.scrolled .navbar-toggler .bar { background: var(--blue-deep); }

/* =========================================================
   HERO
   ========================================================= */
#hero {
  min-height: 100vh;
  background: linear-gradient(155deg, var(--blue-deep) 0%, #112948 55%, #0d2040 100%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(46,184,197,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(46,107,180,.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(46,184,197,.12);
  border: 1px solid rgba(46,184,197,.3);
  color: var(--cyan-accent);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .38rem .9rem;
  border-radius: 20px;
  margin-bottom: 1.4rem;
}
.hero-label::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan-accent);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: .3; }
}

.hero-title {
  /* font-family: 'DM Serif Display', serif; */
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.4rem;
  letter-spacing: -.02em;
}
.hero-title .accent { color: var(--cyan-accent); }

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .8rem;
  font-weight: 500;
  line-height: 1.55;
}
.hero-para {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.8rem; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.hero-trust-item svg { color: var(--cyan-accent); flex-shrink: 0; }

/* ── Dashboard Mockup ── */
.dashboard-wrap {
  position: relative;
  perspective: 1000px;
}
.dashboard-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08);
  overflow: hidden;
  transform: perspective(900px) rotateY(-4deg) rotateX(2deg);
  transition: transform .5s ease;
}
.dashboard-card:hover {
  transform: perspective(900px) rotateY(-1deg) rotateX(0deg);
}

/* Sidebar */
.db-sidebar {
  width: 180px;
  background: var(--blue-deep);
  display: flex;
  flex-direction: column;
  padding: 0;
  flex-shrink: 0;
}
.db-sidebar-logo {
  padding: 1rem 1.1rem;
  /* font-family: 'DM Serif Display', serif; */
  font-size: 1rem;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
  font-weight: 700;
}
.db-sidebar-logo span { color: var(--cyan-accent); }
.db-nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .62rem 1.1rem;
  padding: .62rem 0.6rem;
  font-size: .64rem;
  font-weight: 500;
  color: rgba(255,255,255,.6);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  border-radius: 0;
}
.db-nav-item:hover, .db-nav-item.active {
  background: rgba(46,184,197,.15);
  color: var(--white);
}
.db-nav-item.active .db-nav-dot { background: var(--cyan-accent); }
.db-nav-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: transparent; flex-shrink: 0;
}
.db-nav-section {
  font-size: .63rem;
  color: rgba(255,255,255,.28);
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .8rem 1.1rem .2rem;
  font-weight: 600;
}
.db-sidebar-footer {
  margin-top: auto;
  padding: .8rem 1.1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.db-user {
  display: flex; align-items: center; gap: .5rem;
}
.db-avatar {
  width: 24px; height: 24px;
  background: var(--blue-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .62rem; color: var(--white); font-weight: 700;
}
.db-user-info { font-size: .68rem; color: rgba(255,255,255,.6); line-height: 1.3; }
.db-user-name { color: rgba(255,255,255,.85); font-weight: 600; font-size: .71rem; }

/* Main area */
.db-main {
  flex: 1;
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.db-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: .55rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.db-page-title { font-size: .82rem; font-weight: 700; color: var(--text-primary); }
.db-breadcrumb { font-size: .67rem; color: var(--text-muted); }
.db-topbar-actions { display: flex; gap: .4rem; align-items: center; }
.db-chip {
  background: var(--cyan-soft);
  color: var(--cyan-accent);
  font-size: .62rem;
  font-weight: 600;
  padding: .18rem .6rem;
  border-radius: 12px;
}
.db-chip.orange { background: #fff3e6; color: #d97706; }
.db-chip.green  { background: #e6f9f0; color: #10a855; }
.db-chip.red    { background: #fde8e8; color: #dc2626; }

.db-content { padding: .9rem 1.1rem; flex: 1; overflow: hidden; }

/* KPI row */
.db-kpi-row { display: flex; gap: .65rem; margin-bottom: .9rem; }
.db-kpi {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .6rem .75rem;
  flex: 1;
  min-width: 0;
}
.db-kpi-label { font-size: .6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.db-kpi-val   { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); line-height: 1.15; }
.db-kpi-delta { font-size: .62rem; color: #10a855; font-weight: 600; }
.db-kpi-delta.down { color: #dc2626; }

/* Query table */
.db-query-table {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: .65rem;
}
.db-table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--gray-200);
}
.db-table-title { font-size: .73rem; font-weight: 700; color: var(--text-primary); }
.db-table-more  { font-size: .63rem; color: var(--blue-light); font-weight: 600; cursor: pointer; }
.db-table-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .42rem .75rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: .66rem;
}
.db-table-row:last-child { border-bottom: none; }
.db-table-row:hover { background: var(--gray-100); }
.db-col-id    { width: 56px; color: var(--text-muted); font-weight: 600; font-family: monospace; }
.db-col-sub   { flex: 1; font-weight: 600; color: var(--text-primary); }

.db-col-subject { width: 115px; color: var(--text-muted); }
.db-col-subject.th { font-weight: 700;}
.db-col-visit { width: 68px; color: var(--text-muted); }
.db-col-field { flex: 1; color: var(--text-muted); }
.db-col-status.th{ font-weight: 700; color: var(--text-muted); }
.db-col-status{ width: 60px; }

/* Chart bars */
.db-chart-row { display: flex; gap: .65rem; }
.db-chart-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .6rem .75rem;
  flex: 1;
}
.db-chart-label { font-size: .63rem; font-weight: 700; color: var(--text-primary); margin-bottom: .55rem; }
.db-bar-row { display: flex; align-items: center; gap: .4rem; margin-bottom: .28rem; }
.db-bar-name { font-size: .6rem; color: var(--text-muted); width: 50px; text-align: right; }
.db-bar-track { flex: 1; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.db-bar-fill  { height: 100%; background: var(--blue-light); border-radius: 3px; }
.db-bar-fill.cyan  { background: var(--cyan-accent); }
.db-bar-fill.green { background: #10a855; }
.db-bar-val { font-size: .6rem; color: var(--text-muted); width: 24px; font-weight: 600; }

.db-progress-ring {
  width: 52px; height: 52px;
  margin: 0 auto .3rem;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.db-ring-val { font-size: .7rem; font-weight: 800; color: var(--text-primary); }

/* Floating badges */
.float-badge {
  position: absolute;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: .55rem .85rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
  animation: float-anim 4s ease-in-out infinite;
}
.float-badge:nth-child(2) { animation-delay: 1s; }
.float-badge:nth-child(3) { animation-delay: 2s; }
.float-badge:nth-child(4) { animation-delay: .5s; }
@keyframes float-anim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.float-badge-icon {
  width: 28px; height: 28px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  flex-shrink: 0;
}
.float-badge-icon.blue  { background: #e8f0f9; }
.float-badge-icon.cyan  { background: var(--cyan-soft); }
.float-badge-icon.green { background: #e6f9f0; }
.float-badge-icon.orange { background: #fff3e6; }
.float-badge-label { font-size: .72rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.float-badge-sub   { font-size: .62rem; color: var(--text-muted); }

/* =========================================================
   FEATURES — 6 MODULE CARDS
   ========================================================= */
.module-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,184,197,.3);
}
.module-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  background: var(--gray-100);
}
.module-icon.blue   { background: #e8f0f9; color: var(--blue-light); }
.module-icon.cyan   { background: var(--cyan-soft); color: var(--cyan-accent); }
.module-icon.green  { background: #e6f9f0; color: #10a855; }
.module-icon.orange { background: #fff3e6; color: #d97706; }
.module-icon.red    { background: #fde8e8; color: #dc2626; }
.module-icon.purple { background: #f0ecf9; color: #7c3aed; }
.module-icon.indigo { background: #eef0fb; color: #4f46e5; }

.module-title { font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; font-family: 'DM Sans', sans-serif; }
.module-desc  { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   WHY CHOOSE — 6 BLOCKS
   ========================================================= */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-num {
  font-size: .7rem;
  font-weight: 700;
  color: var(--cyan-accent);
  letter-spacing: .1em;
  margin-bottom: .7rem;
  font-family: monospace;
}
.benefit-title { font-size: .97rem; font-weight: 700; color: var(--text-primary); margin-bottom: .45rem; font-family: 'DM Sans', sans-serif; }
.benefit-desc  { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }

/* =========================================================
   WORKFLOW TIMELINE
   ========================================================= */
.workflow-section { background: var(--charcoal); }

.workflow-scroll-wrap {
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.workflow-scroll-wrap::-webkit-scrollbar { height: 4px; }
.workflow-scroll-wrap::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 2px; }

.workflow-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: max-content;
  padding: 2rem 0 1rem;
  position: relative;
}
.workflow-line {
  position: absolute;
  top: calc(2rem + 22px);
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(46,184,197,.4) 5%, rgba(46,184,197,.4) 95%, transparent);
  pointer-events: none;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 0 1.2rem;
  cursor: default;
}
.ws-dot {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(46,184,197,.4);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .7rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.workflow-step:hover .ws-dot {
  background: var(--cyan-accent);
  border-color: var(--cyan-accent);
  color: var(--white);
  transform: scale(1.12);
}
.ws-label {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-align: center;
  max-width: 76px;
  line-height: 1.3;
  transition: color var(--transition);
}
.workflow-step:hover .ws-label { color: rgba(255,255,255,.9); }
.ws-arrow {
  position: absolute;
  top: calc(22px - 1px);
  right: -12px;
  color: rgba(46,184,197,.4);
  font-size: .7rem;
  z-index: 2;
  line-height: 44px;
}

/* =========================================================
   PLATFORM OVERVIEW — ALTERNATING
   ========================================================= */
.overview-section { padding: 0; }
.overview-block {
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-200);
}
.overview-block:last-child { border-bottom: none; }
.overview-block.bg-alt { background: var(--gray-100); }

.overview-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cyan-accent);
  margin-bottom: .6rem;
}
.overview-title {
  /* font-family: 'DM Serif Display', serif; */
  font-size: 1.85rem;
  color: var(--text-primary);
  margin-bottom: .85rem;
  line-height: 1.2;
}
.overview-desc {
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 420px;
}
.overview-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue-light);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap var(--transition);
}
.overview-link:hover { gap: .6rem; color: var(--blue-deep); }

/* UI Mockups */
.ui-mockup {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: .7rem;
}
.ui-mockup-bar {
  background: var(--blue-deep);
  padding: .6rem .9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ui-mockup-title { color: var(--white); font-weight: 700; font-size: .72rem; }
.ui-mockup-dots { display: flex; gap: .28rem; }
.ui-dot { width: 8px; height: 8px; border-radius: 50%; }
.ui-dot.r { background: #ef4444; }
.ui-dot.y { background: #f59e0b; }
.ui-dot.g { background: #10b981; }
.ui-mockup-body { padding: .8rem; }

/* eCRF mockup */
.ecrf-form { display: flex; flex-direction: column; gap: .55rem; }
.ecrf-section-head {
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-deep);
  border-bottom: 2px solid var(--cyan-accent);
  padding-bottom: .25rem;
  margin-bottom: .1rem;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.ecrf-row { display: flex; gap: .5rem; align-items: flex-end; }
.ecrf-field { flex: 1; }
.ecrf-field-label { font-size: .58rem; color: var(--text-muted); font-weight: 600; margin-bottom: .18rem; }
.ecrf-field-input {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  padding: .3rem .5rem;
  font-size: .65rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex; align-items: center;
}
.ecrf-field-input.has-val { border-color: var(--blue-light); }
.ecrf-field-input.error   { border-color: #ef4444; background: #fef2f2; }
.ecrf-field-input.warn    { border-color: #f59e0b; }
.ecrf-val-badge {
  font-size: .55rem;
  padding: .1rem .35rem;
  border-radius: 10px;
  font-weight: 600;
  margin-left: auto;
}
.ecrf-val-badge.ok   { background: #e6f9f0; color: #10a855; }
.ecrf-val-badge.err  { background: #fde8e8; color: #dc2626; }

/* Query mockup */
.query-table-ui { width: 100%; border-collapse: collapse; }
.query-table-ui th {
  font-size: .58rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .3rem .5rem;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}
.query-table-ui td {
  font-size: .63rem;
  padding: .38rem .5rem;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-primary);
  vertical-align: middle;
}
.q-id { color: var(--text-muted); font-family: monospace; font-size: .6rem; }
.q-status {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .15rem .5rem;
  border-radius: 10px;
  font-size: .6rem;
  font-weight: 600;
}
.q-status.open    { background: #fde8e8; color: #dc2626; }
.q-status.pending { background: #fff3e6; color: #d97706; }
.q-status.closed  { background: #e6f9f0; color: #10a855; }
.q-priority { font-size: .6rem; font-weight: 600; }
.q-priority.high { color: #dc2626; }
.q-priority.med  { color: #d97706; }
.q-priority.low  { color: #10a855; }

/* Analytics mockup */
.analytics-mockup { display: flex; flex-direction: column; gap: .65rem; }
.am-kpi-row { display: flex; gap: .5rem; }
.am-kpi {
  flex: 1;
  background: var(--gray-100);
  border-radius: 6px;
  padding: .5rem .6rem;
  border: 1px solid var(--gray-200);
}
.am-kpi-label { font-size: .56rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; }
.am-kpi-val   { font-size: 1rem; font-weight: 800; color: var(--text-primary); }
.am-kpi-trend { font-size: .58rem; color: #10a855; font-weight: 600; }
.am-chart-wrap {
  background: var(--gray-100);
  border-radius: 6px;
  padding: .55rem .6rem;
  border: 1px solid var(--gray-200);
}
.am-chart-title { font-size: .63rem; font-weight: 700; color: var(--text-primary); margin-bottom: .5rem; }
.am-bars { display: flex; align-items: flex-end; gap: .3rem; height: 52px; }
.am-bar-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.am-bar-fill { width: 100%; background: var(--blue-light); border-radius: 3px 3px 0 0; transition: opacity var(--transition); }
.am-bar-fill.c { background: var(--cyan-accent); }
.am-bar-lbl { font-size: .53rem; color: var(--text-muted); }
.am-progress-section { display: flex; flex-direction: column; gap: .35rem; }
.am-prog-row { display: flex; align-items: center; gap: .5rem; }
.am-prog-label { font-size: .6rem; color: var(--text-muted); width: 62px; font-weight: 500; }
.am-prog-track { flex: 1; height: 5px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.am-prog-fill  { height: 100%; border-radius: 3px; background: var(--blue-light); }
.am-prog-val   { font-size: .6rem; font-weight: 700; color: var(--text-primary); width: 26px; text-align: right; }

/* RBAC mockup */
.rbac-mockup { display: flex; flex-direction: column; gap: .6rem; }
.rbac-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: .1rem; }
.rbac-title { font-size: .65rem; font-weight: 700; color: var(--text-primary); }
.rbac-badge {
  font-size: .58rem; font-weight: 600;
  padding: .15rem .55rem; border-radius: 10px;
  background: var(--cyan-soft); color: var(--cyan-accent);
}
.rbac-role-card {
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: .5rem .65rem;
  background: var(--white);
}
.rbac-role-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .35rem; }
.rbac-role-name { font-size: .68rem; font-weight: 700; color: var(--text-primary); display: flex; align-items: center; gap: .35rem; }
.rbac-role-dot  { width: 6px; height: 6px; border-radius: 50%; }
.rbac-perm-grid { display: flex; flex-wrap: wrap; gap: .25rem; }
.rbac-perm {
  font-size: .56rem; font-weight: 600;
  padding: .12rem .45rem; border-radius: 10px;
}
.rbac-perm.allow { background: #e6f9f0; color: #10a855; }
.rbac-perm.deny  { background: #fde8e8; color: #dc2626; }
.rbac-perm.read  { background: #eef0fb; color: #4f46e5; }

/* =========================================================
   COMPLIANCE
   ========================================================= */
.compliance-section {
  background: var(--charcoal);
}
.compliance-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(46,184,197,.2);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.compliance-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(46,184,197,.5);
  transform: translateY(-3px);
}
.compliance-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(46,184,197,.12);
  border: 1px solid rgba(46,184,197,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan-accent);
  margin-bottom: 1rem;
  font-size: .95rem;
}
.compliance-title { font-size: .97rem; font-weight: 700; color: var(--white); margin-bottom: .45rem; font-family: 'DM Sans', sans-serif; }
.compliance-desc  { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }

/* =========================================================
   SCREENSHOT GALLERY
   ========================================================= */
.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.gallery-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-card-label {
  background: var(--blue-deep);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  padding: .45rem .75rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.gallery-card-body { padding: .75rem; }

/* Subject profile mockup */
.subject-profile { display: flex; flex-direction: column; gap: .45rem; }
.sp-header {
  display: flex; align-items: center; gap: .7rem;
  background: var(--gray-100); border-radius: 6px; padding: .55rem .7rem;
}
.sp-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--white); font-weight: 700;
  flex-shrink: 0;
}
.sp-id   { font-size: .7rem; font-weight: 700; color: var(--text-primary); }
.sp-meta { font-size: .6rem; color: var(--text-muted); }
.sp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
.sp-field {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: 5px; padding: .35rem .45rem;
}
.sp-field-label { font-size: .56rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.sp-field-val   { font-size: .68rem; font-weight: 700; color: var(--text-primary); }
.sp-visit-list  { display: flex; flex-direction: column; gap: .25rem; }
.sp-visit {
  display: flex; align-items: center; gap: .5rem;
  font-size: .63rem; padding: .3rem .45rem;
  border-radius: 5px; border: 1px solid var(--gray-200);
}
.sp-visit-name { flex: 1; font-weight: 600; color: var(--text-primary); }
.sp-visit-date { color: var(--text-muted); }

/* Audit trail mockup */
.audit-trail { display: flex; flex-direction: column; gap: .35rem; }
.at-filter-row { display: flex; gap: .35rem; margin-bottom: .1rem; }
.at-filter-chip {
  font-size: .6rem; font-weight: 600;
  padding: .18rem .55rem; border-radius: 10px;
  background: var(--gray-100); color: var(--text-muted);
  border: 1px solid var(--gray-200);
  cursor: pointer;
}
.at-filter-chip.active { background: var(--cyan-soft); color: var(--cyan-accent); border-color: rgba(46,184,197,.3); }
.at-entry {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .4rem .5rem;
  border-radius: 6px; border: 1px solid var(--gray-200);
  background: var(--white);
}
.at-icon-wrap {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .65rem;
}
.at-icon-wrap.edit   { background: #eef0fb; color: #4f46e5; }
.at-icon-wrap.add    { background: #e6f9f0; color: #10a855; }
.at-icon-wrap.red, .at-icon-wrap.delete { background: #fde8e8; color: #dc2626; }
.at-icon-wrap.lock   { background: var(--cyan-soft); color: var(--cyan-accent); }
.at-icon-wrap.orange { background: #fff3e6; color: #d97706; }
.at-content { flex: 1; }
.at-action  { font-size: .65rem; font-weight: 700; color: var(--text-primary); }
.at-detail  { font-size: .6rem; color: var(--text-muted); }
.at-meta    { font-size: .58rem; color: var(--text-muted); text-align: right; flex-shrink: 0; }
.at-user    { font-weight: 600; color: var(--text-muted); font-size: .6rem; }

/* eConsent mockup */
.econsent-mockup { display: flex; flex-direction: column; gap: .5rem; }
.ec-progress-bar { display: flex; align-items: center; gap: .4rem; margin-bottom: .1rem; }
.ec-step {
  flex: 1; height: 3px; border-radius: 2px;
  background: var(--gray-200);
}
.ec-step.done { background: var(--cyan-accent); }
.ec-step.current { background: var(--blue-light); }
.ec-step-label { font-size: .58rem; color: var(--text-muted); white-space: nowrap; }
.ec-doc-preview {
  background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 6px; padding: .55rem .65rem;
}
.ec-doc-title { font-size: .68rem; font-weight: 700; color: var(--text-primary); margin-bottom: .3rem; }
.ec-doc-lines { display: flex; flex-direction: column; gap: .2rem; }
.ec-doc-line { height: 4px; background: var(--gray-200); border-radius: 2px; }
.ec-doc-line.short { width: 60%; }
.ec-doc-line.med   { width: 80%; }
.ec-signature-area {
  border: 1.5px dashed var(--blue-light);
  border-radius: 6px; padding: .55rem .65rem;
  display: flex; align-items: center; justify-content: space-between;
}
.ec-sig-label { font-size: .63rem; color: var(--blue-light); font-weight: 600; }
.ec-sig-status {
  display: flex; align-items: center; gap: .3rem;
  font-size: .63rem; font-weight: 700;
}
.ec-sig-status.signed { color: #10a855; }
.ec-checklist { display: flex; flex-direction: column; gap: .25rem; }
.ec-check-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .62rem; color: var(--text-muted);
}
.ec-check-box {
  width: 14px; height: 14px; border-radius: 3px;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: .55rem;
  background: var(--white);
}
.ec-check-box.checked { background: #10a855; border-color: #10a855; color: var(--white); }

/* Study dashboard mockup */
.study-dash { display: flex; flex-direction: column; gap: .55rem; }
.sd-study-list { display: flex; flex-direction: column; gap: .3rem; }
.sd-study-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .45rem .6rem; border-radius: 6px;
  border: 1px solid var(--gray-200); background: var(--white);
}
.sd-study-item:hover { background: var(--gray-100); }
.sd-study-name { flex: 1; font-size: .65rem; font-weight: 700; color: var(--text-primary); }
.sd-study-meta { font-size: .58rem; color: var(--text-muted); }
.sd-study-phase {
  font-size: .58rem; font-weight: 700;
  padding: .12rem .45rem; border-radius: 10px;
}
.sd-phase-1 { background: #e6f9f0; color: #10a855; }
.sd-phase-2 { background: var(--cyan-soft); color: var(--cyan-accent); }
.sd-phase-3 { background: #eef0fb; color: #4f46e5; }
.sd-enroll-bar { display: flex; flex-direction: column; gap: .3rem; }
.sd-enroll-row { display: flex; align-items: center; gap: .5rem; }
.sd-enroll-label { font-size: .6rem; color: var(--text-muted); width: 55px; font-weight: 500; }
.sd-enroll-track { flex: 1; height: 6px; background: var(--gray-200); border-radius: 3px; overflow: hidden; }
.sd-enroll-fill  { height: 100%; border-radius: 3px; background: var(--blue-light); }
.sd-enroll-val   { font-size: .6rem; font-weight: 700; color: var(--text-primary); width: 36px; text-align: right; }

/* Monitoring mockup */
.monitoring-mockup { display: flex; flex-direction: column; gap: .5rem; }
.mon-header {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue-deep); border-radius: 6px;
  padding: .5rem .7rem;
}
.mon-title { font-size: .68rem; font-weight: 700; color: var(--white); }
.mon-visit-tag {
  font-size: .58rem; font-weight: 600;
  padding: .12rem .5rem; border-radius: 10px;
  background: rgba(46,184,197,.2); color: var(--cyan-accent);
}
.mon-checklist { display: flex; flex-direction: column; gap: .3rem; }
.mon-check-item {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .5rem; border-radius: 5px;
  border: 1px solid var(--gray-200); background: var(--white);
}
.mon-check-label { flex: 1; font-size: .63rem; font-weight: 500; color: var(--text-primary); }
.mon-check-status {
  font-size: .6rem; font-weight: 700;
  padding: .1rem .45rem; border-radius: 10px;
}
.mon-check-status.ok   { background: #e6f9f0; color: #10a855; }
.mon-check-status.issue{ background: #fde8e8; color: #dc2626; }
.mon-check-status.na   { background: var(--gray-100); color: var(--text-muted); }
.mon-summary-row { display: flex; gap: .4rem; }
.mon-sum-card {
  flex: 1; background: var(--gray-100); border: 1px solid var(--gray-200);
  border-radius: 5px; padding: .4rem .5rem; text-align: center;
}
.mon-sum-val   { font-size: .9rem; font-weight: 800; color: var(--text-primary); }
.mon-sum-label { font-size: .57rem; color: var(--text-muted); font-weight: 500; }

/* =========================================================
   RESOURCES
   ========================================================= */
.resource-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: pointer;
}
.resource-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(46,184,197,.3);
}
.resource-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
  color: var(--blue-light);
}
.resource-body { flex: 1; }
.resource-title { font-size: .95rem; font-weight: 700; color: var(--text-primary); margin-bottom: .3rem; font-family: 'DM Sans', sans-serif; }
.resource-desc  { font-size: .84rem; color: var(--text-muted); line-height: 1.55; }
.resource-arrow {
  color: var(--blue-light);
  font-size: 1rem;
  margin-top: .1rem;
  transition: transform var(--transition);
  flex-shrink: 0;
}
.resource-card:hover .resource-arrow { transform: translateX(4px); }

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0d2345 60%, #0a1c38 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 80% 50%, rgba(46,184,197,.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 60%, rgba(46,107,180,.1) 0%, transparent 50%);
  pointer-events: none;
}
.cta-title {
  /* font-family: 'DM Serif Display', serif; */
  font-size: 2.6rem;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.15;
}
.cta-para { font-size: 1rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; max-width: 480px; line-height: 1.7; }
.cta-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }

.btn-cta-primary {
  background: var(--cyan-accent);
  color: var(--white);
  border: none;
  padding: .8rem 1.8rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-cta-primary:hover { background: #25a4b0; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(46,184,197,.35); color: var(--white); }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--charcoal);
  padding: 60px 0 32px;
}
.footer-logo {
  /* font-family: 'DM Serif Display', serif; */
  font-size: 1.4rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .6rem;
}
.footer-logo span { color: var(--cyan-accent); }
.footer-tagline { font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.55; max-width: 200px; }
.footer-col-title {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.7);
  margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .84rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 2.5rem 0 1.5rem;
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.7); }
.footer-badges { display: flex; gap: .6rem; }
.footer-badge {
  font-size: .62rem; font-weight: 600;
  padding: .2rem .6rem; border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.1);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
.mobile-logo {
  display: none;
}
@media (max-width: 991px) {
  .hero-title  { font-size: 2.4rem; }
  .section-title { font-size: 1.85rem; }
  .db-sidebar  {
	/* display: none; */
	width: 70px;
  }
  .desktop-logo,
  .db-user-info,
  .db-nav-section,
  .db-sidebar .db-nav-item .text {
	display: none;
  }
  .db-sidebar-footer {
	  padding-top: .3rem;
  }
  .db-kpi-label {
	  font-size: .53rem;
  }
  .db-kpi-label .bi {
	  display: block;
  }
  .mobile-logo {
	  display: block;
  }
  .dashboard-card { transform: none; }
  .float-badge { display: none; }
}
@media (max-width: 767px) {
  .section-pad  { padding: 60px 0; }
  .hero-title   { font-size: 2rem; }
  .cta-title    { font-size: 2rem; }
  .overview-block { padding: 56px 0; }
  .workflow-step { padding: 0 .9rem; }
}

.oc-border-radius {
	border-radius: var(--button-radius);
}

.workflow-line {
	background: linear-gradient(90deg, transparent, rgb(46 122 197 / 40%) 5%, rgb(46 62 197 / 40%) 95%, transparent);
}
.ws-dot {
    background: rgb(37 45 71);
	border: 2px solid rgb(46 77 197 / 40%);
}































/* =========================================================
   SECTIONS : EXIGENCES CLINIQUES & CONFORMITÉ
   ========================================================= */

.section-header {
  margin-bottom: 3.5rem;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-title {
  color: var(--blue-deep);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* --- Bento Grid (Exigences de recherche) --- */
.clinical-features-section {
  padding: 6rem 0;
  background: var(--white);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  auto-rows: minmax(220px, auto);
}

.bento-card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: var(--cyan-accent);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-icon {
  font-size: 1.8rem;
  color: var(--cyan-accent);
  margin-bottom: 1.5rem;
  background: var(--cyan-soft);
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.bento-card h3 {
  font-size: 1.3rem;
  color: var(--blue-deep);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* --- Grille de Conformité (Fiabilité & Sécurité) --- */
#platform.compliance-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
  border-top: 1px solid var(--gray-200);
}

#platform .compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

#platform .compliance-item {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 45, 82, 0.05); /* Bordure très douce */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#platform .compliance-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

#platform .compliance-item .icon-wrapper {
  font-size: 2.5rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  display: inline-block;
  background: var(--gray-100);
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
}

#platform .compliance-item h4 {
  font-size: 1.2rem;
  color: var(--blue-deep);
  margin-bottom: 1rem;
  font-weight: 700;
}

#platform .compliance-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card.large {
    grid-column: span 1;
  }
  .compliance-grid {
    grid-template-columns: 1fr;
  }
  .section-header {
    padding: 0 1rem;
  }
}








/* Styles pour le nouveau footer */
.footer-socials a {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    opacity: 1;
    color: var(--accent) !important;
    transform: translateY(-2px);
}

.footer-badge-link i {
    /* font-size: 0.5rem; */
}
.footer-badge-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: #A0AEC0;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-badge-link:hover {
    background-color: rgba(0, 166, 180, 0.1);
    color: var(--accent);
    border-color: var(--accent);
}

.footer-copy {
    letter-spacing: 0.02em;
}