/* ===================================
   LANDING PAGE MODERNE - FOND SOMBRE
   =================================== */

/* Variables de couleurs */
:root {
  --bg-primary: #0a0e27;
  --bg-secondary: #131829;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  
  --blue-primary: #3b82f6;
  --blue-secondary: #60a5fa;
  --blue-accent: #2563eb;
  --blue-glow: rgba(59, 130, 246, 0.3);
  
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
  
  /* Variables compatibles landing.css */
  --green: #16a34a;
  --orange: #fb923c;
  --purple: #8b5cf6;
}

/* Reset et base */
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; 
}

/* Effet de particules en arrière-plan */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(96, 165, 250, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Container avec z-index et scroll snap */
section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   ANIMATIONS D'APPARITION
   =================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
  }
}

/* Classes d'animation */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

/* Délais d'animation */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* ===================================
   GLASSMORPHISME
   =================================== */

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

/* ===================================
   TOPBAR
   =================================== */

.topbar{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
  color : white;
}
.topbar__inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand{
  display: flex; align-items: center; justify-content: space-between; gap: 10px; 
  text-decoration: none; 
  color: white; 
}
.logo{ 
  height: 40px; width: auto; 
  display: block; 
}
.logo__nom{
  display: flex; flex-direction: column; 
  font-weight: 600; 
}
.logo__nom h3{ 
  font-weight: 600; 
  opacity: .9;
  margin:0;
}
.logo__nom h3::first-letter {
  color: var(--primary);
}

.nav{ 
  display: flex; gap: 12px; align-items: center;
  margin-left: auto;
}
.nav a{
  color: white; 
  text-decoration: none; 
  position: relative; 
  padding: 6px 2px; 
  opacity: .85;
}
.nav a:hover{ 
  opacity: 1; 
}
.nav a::after{
  content: ""; 
  position: absolute; left: 0; right: 0; bottom: -2px; 
  height: 2px;
  background: linear-gradient(90deg,#2563eb,#10b981); 
  transform: scaleX(0); transform-origin: left; transition: .25s;
}
.nav a:hover::after{ 
  transform: scaleX(1); 
}

/* Burger menu - caché par défaut sur desktop */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 60;
}

.burger-icon {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Animation du burger en X quand ouvert */
.burger-menu.open .burger-icon:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.burger-menu.open .burger-icon:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.burger-menu.open .burger-icon:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===================================
   CONTAINER & UTILITIES
   =================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  padding: 0;
  width: 100%;
}

.hero .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Badge hero au-dessus du titre */
.hero__badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.2));
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  color: var(--blue-secondary);
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem auto;
  display: block;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero__main {
  max-width: none;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
}

.hero__title .accent {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 2rem 0;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}

.btn--info {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border: none;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
}

.btn--info:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(16, 185, 129, 0.4);
}

/* Mockup phone style */
.hero__mockup-container {
  width: 400px;
  height: 500px;
}

.mockup-phone {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1e293b 0%, #334155 100%);
  border: 2px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
}

.mockup-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px 20px;
  background: rgba(59, 130, 246, 0.1);
  border-bottom: 1px solid var(--border-glass);
}

.mockup-brand {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.mockup-menu {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.mockup-content {
  padding: 20px;
  height: calc(100% - 80px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mockup-section {
  margin-bottom: 12px;
}

.section-label {
  font-size: 0.875rem;
  color: var(--blue-secondary);
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.document-card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  padding: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.document-card h5 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  color: #1e293b;
  font-weight: 600;
}

.document-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.line {
  height: 3px;
  background: linear-gradient(90deg, rgba(71, 85, 105, 0.4), rgba(71, 85, 105, 0.1));
  border-radius: 2px;
}

.line.short {
  width: 60%;
}

.line.medium {
  width: 80%;
}

/* Features avec couleurs distinctes */
.hero__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1rem;
  text-align: left;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--feature-color);
}

.feature-block--fire {
  --feature-color: #ff6b6b;
  border-color: rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.03));
}

.feature-block--accessibility {
  --feature-color: #00e676;
  border-color: rgba(0, 230, 118, 0.4);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12), rgba(0, 230, 118, 0.03));
}

.feature-block--table {
  --feature-color: #2196f3;
  border-color: rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.12), rgba(33, 150, 243, 0.03));
}

.feature-block--export {
  --feature-color: #9c27b0;
  border-color: rgba(156, 39, 176, 0.4);
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.12), rgba(156, 39, 176, 0.03));
}

.feature-block:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 30px var(--feature-glow);
}

.feature-block--fire:hover {
  --feature-glow: rgba(255, 107, 107, 0.3);
}

.feature-block--accessibility:hover {
  --feature-glow: rgba(0, 230, 118, 0.3);
}

.feature-block--table:hover {
  --feature-glow: rgba(33, 150, 243, 0.3);
}

.feature-block--export:hover {
  --feature-glow: rgba(156, 39, 176, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  z-index: 1;
}

.feature-icon span {
  position: relative;
  z-index: 2;
}

.feature-icon.fire {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  box-shadow: 
    0 6px 25px rgba(255, 107, 107, 0.4),
    0 0 20px rgba(255, 107, 107, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon.accessibility {
  background: linear-gradient(135deg, #00e676, #00c853);
  box-shadow: 
    0 6px 25px rgba(0, 230, 118, 0.4),
    0 0 20px rgba(0, 230, 118, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon.table {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  box-shadow: 
    0 6px 25px rgba(33, 150, 243, 0.4),
    0 0 20px rgba(33, 150, 243, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-icon.export {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
  box-shadow: 
    0 6px 25px rgba(156, 39, 176, 0.4),
    0 0 20px rgba(156, 39, 176, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.feature-block h4 {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0 0.4rem 0;
  color: var(--text-primary);
  line-height: 1.3;
}

.feature-block p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
  opacity: 0.9;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.hero__main {
  max-width: 600px;
}

.hero__mockup-container {
  width: 300px;
  height: 250px;
}

.hero__features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-block {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-block:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}



.feature-block h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}

.feature-block p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  padding: 0.875rem 1.75rem;
  border-radius: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-accent) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: var(--bg-card);
  border-color: var(--blue-primary);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  background: var(--bg-card);
  border-color: var(--blue-primary);
}

/* ===================================
   TYPES DE BÂTIMENTS
   =================================== */

.types {
  padding: 6rem 0 4rem 0;
  width: 100%;
  min-height: auto !important;
  display: block !important;
  position: static !important;
}

.types .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.types h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.types__grid1 {
  width: 100%;
  margin: 0 auto;
}

.btcard {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.btcard:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.btcard--blue:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

.btcard--green:hover {
  border-color: rgba(34, 197, 94, 0.5);
}

.btcard__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.btcard__head .ico {
  font-size: 2.5rem;
  color: var(--blue-primary);
}

.btcard--green .ico {
  color: #22c55e;
}

.btcard__head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.btcard__sub {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* ===================================
   PROCESS SECTION
   =================================== */

.proc {
  padding: 6rem 0 4rem 0;
  width: 100%;
  min-height: auto !important;
  display: block !important;
  position: static !important;
}

.proc h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.proc__pills {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--blue-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.pill .circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.pill b {
  display: block;
  color: var(--text-primary);
  font-size: 1rem;
}

.pill small {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.proc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.proc__row--rev {
  direction: rtl;
}

.proc__row--rev > * {
  direction: ltr;
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--blue-secondary);
  font-weight: 600;
}

.step span {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
}

.proc__txt h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.proc__txt p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
}

.proc__mock {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 2rem;
}

.seg {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.seg button {
  flex: 1;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.seg button:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--blue-primary);
}

.seg button.on {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-accent));
  border-color: var(--blue-primary);
  color: white;
}

.bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 60%;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-secondary));
  border-radius: 4px;
  animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
  0%, 100% { width: 60%; }
  50% { width: 80%; }
}

/* ===================================
   REGULATORY SECTION
   =================================== */

.regulatory {
  padding: 0;
  width: 100%;
}

.regulatory .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.regulatory h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.types__grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.doccard {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.4s ease;
}

.doccard:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.doc__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.doc__head .ico {
  font-size: 2.5rem;
  color: var(--blue-primary);
}

.doc__head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-unit {
  padding: 4rem 0 !important;
  width: 100%;
  background: transparent;
  min-height: auto !important;
}

.pricing-unit .badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    width: max(max-content, auto);
}

.pricing-unit .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-unit h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-table {
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.price-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
}

.price-header h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.category-desc {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.price-unit {
  font-size: 1.25rem;
  color: var(--text-secondary);
}

.price-features {
  list-style: none;
  padding: 0;
}

.price-features li {
  padding: 0.75rem 0;
  padding-left: 1.75rem;
  color: var(--text-secondary);
  position: relative;
  border-bottom: 1px solid var(--border-glass);
}

.price-features li:last-child {
  border-bottom: none;
}

.price-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta--full {
  padding: 0;
  width: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(37, 99, 235, 0.05));
  position: relative;
}

.cta--full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.cta__inner {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__inner h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta__inner p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===================================
   FOOTER
   =================================== */

.footer--dark {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  min-height: auto;
  scroll-snap-align: none;
}

.f-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.f-cols {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.f-cols h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.f-cols p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.f-cols b {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.f-cols ul {
  list-style: none;
  padding: 0;
}

.f-cols ul li {
  margin-bottom: 0.75rem;
}

.f-cols ul a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.f-cols ul a:hover {
  color: var(--blue-primary);
  padding-left: 5px;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 1024px) {
  /* Désactiver scroll snap sur tablette/mobile pour meilleure UX */
  html {
    scroll-snap-type: none;
  }
  
  section {
    min-height: auto;
    padding: 60px 0;
  }
  
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero__mockup-container {
    margin: 0 auto;
  }
  
  .hero__grid {
    grid-template-columns: 1fr;
  }
  
  .proc__row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .proc__row--rev {
    direction: ltr;
  }
  
  .f-cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Afficher le burger menu sur mobile */
  .burger-menu {
    display: flex;
  }

  /* Navigation mobile */
  .nav {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 64px);
    background: rgba(17, 24, 39, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 2rem 0;
    transition: right 0.3s ease-in-out;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover {
    background: rgba(59, 130, 246, 0.1);
  }

  section {
    padding: 40px 0;
  }
  
  .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .hero__badge {
    max-width: 300px;
  }
  
  .hero__title {
    font-size: 2rem;
  }
  
  .hero__ctas {
    align-items: center;
  }
  
  .hero__features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero__mockup-container {
    width: 100%;
    max-width: 280px;
    height: 350px;
  }
  
  .hero .lede {
    font-size: 1rem;
  }
  
  .hero__ctas {
    flex-direction: column;
  }
  
  .proc__pills {
    flex-direction: column;
    align-items: stretch;
  }
  
  .types__grid2 {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .f-cols {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   UTILITIES
   =================================== */

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 3rem;
}

.hidden {
  display: none !important;
}

/* ===================================
   FIXES & COMPATIBILITY
   =================================== */

/* Fix pour les listes */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Fix pour les liens */
a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Typography fixes */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

p {
  margin: 0;
  padding: 0;
}

/* Fix scroll behavior */
* {
  box-sizing: border-box;
}

main {
  width: 100%;
  overflow-x: hidden;
}

/* Section Outils */
.tools-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.tool-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.tool-item:hover {
  transform: translateX(8px);
  background: var(--bg-card-hover);
}

.tool-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tool-item strong {
  display: block;
  color: var(--text-primary);
  font-weight: 600;
}

.tool-item small {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Responsive pour les nouvelles sections */
@media (max-width: 768px) {
  .tool-item {
    flex-direction: column;
    text-align: center;
  }
  
  .presentation-new {
    padding: 60px 0;
  }
  
  .presentation-new h2 {
    font-size: 2rem;
  }
  
  .presentation-box {
    padding: 24px;
    margin-bottom: 40px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===========================
   NOUVELLE PRÉSENTATION GÉNÉRALE
   =========================== */
.presentation-new {
  background: transparent;
  padding: 80px 0;
  position: relative;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
}

.process-badge .material-symbols-outlined {
  font-size: 18px;
}

.presentation-new h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.presentation-box {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  margin: 0 auto 60px auto;
  max-width: 800px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.presentation-box p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  text-align: center;
}

.presentation-box strong {
  color: #60a5fa;
  font-weight: 600;
}

.process-section h3 {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.process-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-size: 16px;
  margin-bottom: 48px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.process-card {
  background: rgba(30, 41, 59, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.process-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}

.process-icon.blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.process-icon.purple {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.process-icon.teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.process-icon.orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.process-number {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
}

.process-card h4 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-card > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.process-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.process-features li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 4px 0;
  position: relative;
  padding-left: 16px;
}

.process-features li:before {
  content: "✓";
  color: #10b981;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* ===========================
   SECTION TYPES ERP - NOUVEAU DESIGN
   =========================== */

/* Carte principale ERP */
.erp-main-card {
  background: transparent;
  border: none;
  border-radius: 32px;
  padding: 32px;
  margin: 40px 0;
  box-shadow: none;
}

.erp-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.erp-icon {
  color: #60a5fa;
  font-size: 32px;
}

.erp-header h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.erp-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* Grille des catégories intégrée dans la carte principale */
.erp-main-card .erp-categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 24px 0;
}

.erp-main-card .category-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.erp-main-card .category-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Cartes supplémentaires intégrées */
.erp-main-card .additional-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.erp-main-card .additional-card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.erp-main-card .additional-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.erp-main-card .additional-icon {
  color: #8b5cf6;
  font-size: 24px;
  margin-bottom: 8px;
}

.erp-main-card .additional-card h4 {
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.erp-main-card .additional-card p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin: 0;
}

/* Responsive pour la carte intégrée */
@media (max-width: 1024px) {
  .erp-main-card .erp-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .erp-main-card .erp-categories-grid {
    grid-template-columns: 1fr;
  }
  
  .erp-main-card .additional-cards {
    grid-template-columns: 1fr;
  }
}

.category-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.category-icon {
  color: #60a5fa;
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}

.category-header h4 {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.category-header p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  margin: 0;
  line-height: 1.3;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.category-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-bottom: 12px;
}

.category-types {
  margin-bottom: 12px;
}

.category-types > span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  display: block;
  margin-bottom: 6px;
}

.type-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.type-badge {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-warning {
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.3);
  border-radius: 16px;
  padding: 12px;
  font-size: 11px;
  color: #fbbf24;
  margin-bottom: 8px;
}

.category-status {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-align: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Catégories spécifiques avec couleurs d'icônes */
.category-5 .category-icon {
  color: #10b981;
}

.category-5-sommeil .category-icon {
  color: #8b5cf6;
}

.category-4 .category-icon {
  color: #60a5fa;
}

.category-3 .category-icon {
  color: #f59e0b;
}

.category-2 .category-icon {
  color: #ef4444;
}

.category-1 .category-icon {
  color: #dc2626;
}

/* Responsive pour la carte intégrée */
@media (max-width: 1024px) {
  .erp-main-card .erp-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .erp-main-card .erp-categories-grid {
    grid-template-columns: 1fr;
  }
  
  .erp-main-card .additional-cards {
    grid-template-columns: 1fr;
  }
}
