/* ==========================================================================
   ACADÉMIE ARIJE — DESIGN SYSTEM CLINIQUE & ACADÉMIQUE PROFESSIONNEL (2026)
   Portail d'Excellence Médicale : Santé du Dos, Décompression Vertébrale & Thérapies Manuelles
   Palette : Blanc Clinique, Bleu Saphir Médical, Émeraude Thérapeutique & Ardoise Noble
   Zéro Mode Sombre Non Adapté • 100% Clarté, Crédibilité Médicale & Ergonomie
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Palette Médicale & Académique */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-card: #ffffff;
  
  --primary-teal: #0d9488;
  --primary-teal-dark: #0f766e;
  --primary-teal-light: #ccfbf1;
  
  --primary-blue: #1e40af;
  --primary-blue-dark: #1e3a8a;
  --primary-blue-light: #dbeafe;
  
  --accent-amber: #d97706;
  --accent-amber-light: #fef3c7;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -6px rgba(15, 23, 42, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container-max-width: min(94vw, 1380px);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Progress bar */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0d9488, #1e40af, #0284c7);
  width: 0%;
  z-index: 999999;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

/* ==========================================================================
   CLEAN MEDICAL HEADER & NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d9488 0%, #1e40af 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.3);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-wordmark {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: #0d9488;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #334155;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
  padding: 6px 0;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #0d9488;
}

.nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #0d9488;
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   BUTTONS (CLEAN PROFESSIONAL MEDICAL LUXURY)
   ========================================================================== */
.btn-primary, .btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
  color: #ffffff !important;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover, .btn-3d:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(13, 148, 136, 0.45);
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%) !important;
}

.btn-primary:active, .btn-3d:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: #0f172a !important;
  padding: 11px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: #0d9488;
  color: #0d9488 !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-amber, .btn-3d-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
  color: #ffffff !important;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
  border: none;
  cursor: pointer;
}

.btn-amber:hover, .btn-3d-amber:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.45);
}

/* ==========================================================================
   PARTNER CAPSULES & BADGES (CLEAN LIGHT DESIGN)
   ========================================================================== */
.bubble-3d {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  color: #1e293b;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.2s ease;
}

.bubble-3d:hover {
  border-color: #0d9488;
  color: #0d9488;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.15);
}

.bubble-3d.highlight {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f1f5f9;
  color: #475569;
}

.tag-pill.teal, .tag-pill.iris {
  background: #ccfbf1;
  color: #0f766e;
}

.tag-pill.amber, .tag-pill.spark {
  background: #fef3c7;
  color: #b45309;
}

.tag-pill.blue {
  background: #dbeafe;
  color: #1e40af;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.display-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.03em;
}

.heading-lg {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-sm {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
}

.body-lead {
  font-size: 18px;
  line-height: 1.65;
  color: #475569;
}

.body-secondary {
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
}

/* ==========================================================================
   CARDS & SECTIONS
   ========================================================================== */
.section-block {
  padding: 60px 0;
}

.hero-section {
  padding: 50px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
}

.floating-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.floating-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-main);
}

.floating-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 14px 0 10px;
}

.card-description {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-cta {
  font-size: 14px;
  font-weight: 700;
  color: #0d9488;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   SPINE CLINICAL SIMULATOR CARD (CLEAN MEDICAL LOOK)
   ========================================================================== */
.spine-simulator-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin: 40px 0;
  box-shadow: var(--shadow-md);
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.vertebrae-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vertebra-btn {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #1e293b;
  font-family: var(--font-family);
  font-size: 14px;
}

.vertebra-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.vertebra-btn.active {
  background: #ccfbf1;
  border-color: #0d9488;
  color: #0f766e;
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

.vertebra-tag {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
}

.vertebra-btn.active .vertebra-tag {
  background: #0d9488;
  color: #ffffff;
}

.diagnostic-display-box {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ==========================================================================
   DISC TRACTION SLIDER & BIOMETRICS (CLEAN LIGHT AESTHETIC)
   ========================================================================== */
.disc-slider-container {
  background: #f8fafc;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 24px;
}

.biometric-gauges-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.biometric-gauge {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.gauge-val {
  font-size: 22px;
  font-weight: 800;
  margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.gauge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
}

.traction-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #0d9488 100%);
  outline: none;
  margin: 16px 0;
  cursor: pointer;
}

.traction-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #0d9488;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.traction-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

/* ==========================================================================
   POSITION 0 SUMMARY & AUTHORITY BOXES
   ========================================================================== */
.position-zero-card {
  background: #ffffff;
  border: 1px solid #ccfbf1;
  border-left: 4px solid #0d9488;
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

.agency-authority-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   ORGANIZED PROFESSIONAL MEDICAL FOOTER (HIGH TRUST & E-E-A-T)
   ========================================================================== */
.network-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 64px 0 32px;
  margin-top: 80px;
  border-top: 1px solid #1e293b;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 36px;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 40px;
}

.footer-bubbles-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.footer-bubbles-row .bubble-3d {
  background: #1e293b;
  border: 1px solid #334155;
  color: #f1f5f9;
  box-shadow: none;
}

.footer-bubbles-row .bubble-3d:hover {
  border-color: #0d9488;
  color: #ffffff;
  background: #0f766e;
}

.footer-columns-5 {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  transition: all 0.2s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 2px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom a {
  color: #cbd5e1;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1100px) {
  .footer-columns-5 {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .simulator-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .nav-inner {
    height: 64px;
  }
  .display-title {
    font-size: 32px !important;
  }
  .heading-lg {
    font-size: 26px !important;
  }
  .biometric-gauges-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .footer-columns-5 {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Clean Medical Position 0 Snippet & Table Styles */
.position-zero-card {
  background: #ffffff !important;
  border: 1px solid #ccfbf1 !important;
  border-left: 5px solid #0d9488 !important;
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 36px 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.p0-badge {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 12px;
}

.p0-paragraph-box {
  background: #f8fafc;
  border-left: 3px solid #0d9488;
  padding: 18px 22px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0 24px;
}

.p0-paragraph-box p {
  color: #1e293b !important;
  font-size: 16.5px;
  line-height: 1.7;
}

.p0-list-snippet {
  list-style-type: decimal;
  padding-left: 24px;
  margin: 16px 0 28px;
  color: #334155;
}

.p0-list-snippet li {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 15px;
}

.p0-list-snippet li strong {
  color: #0f172a;
}

.table-responsive {
  overflow-x: auto;
  margin: 20px 0;
}

.p0-table-snippet {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.p0-table-snippet th {
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 700;
  font-size: 13.5px;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 2px solid #e2e8f0;
}

.p0-table-snippet td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #334155;
}

.p0-table-snippet tr:hover td {
  background: #f8fafc;
}

.p0-table-snippet td.price-tag {
  color: #0d9488;
  font-weight: 800;
}

/* Diagnostic display box text overrides */
.diagnostic-display-box h3 {
  color: #0f172a !important;
}

.diagnostic-display-box p {
  color: #334155 !important;
}

.diagnostic-display-box span {
  color: inherit;
}
