/* 🌍 GLOBAL - Variables et styles de base */
/* Définit les variables racine pour la cohérence (gestion centralisée des couleurs et autres) */
:root {
  --border-radius: var(--ds-radius-lg); /* Use design_harmony radius */
  --box-shadow: var(--ds-shadow); /* Use design_harmony shadow */
  --transition: all 0.3s ease; /* Transition standard */
  --avatar-size: 32px; /* Taille avatar */
  --topbar-height: 60px; /* Hauteur topbar */
  --search-height: 38px; /* Hauteur recherche */
  --notification-dot-size: 8px; /* Taille point notification */
  --sidebar-width: 248px;
  --sidebar-collapsed-width: 76px;
}

/* Styles globaux du body et layout */
body {
  font-family: 'Poppins', sans-serif; /* Police principale */
  background-color: var(--light-bg); /* Fond clair */
  color: var(--text-dark); /* Texte foncé */
  overflow-x: hidden; /* Pas de débordement horizontal */
  font-size: 13px; /* Taille de base réduite */
  transition: var(--transition); /* Transitions fluides */
}

/* En-têtes avec tailles réduites */
h1, .h1 { font-size: 24px; font-weight: 700; line-height: 1.3; }
h2, .h2 { font-size: 20px; font-weight: 700; line-height: 1.35; }
h3, .h3 { font-size: 17px; font-weight: 700; line-height: 1.4; }
h4, .h4 { font-size: 15px; font-weight: 600; line-height: 1.4; }
h5, .h5 { font-size: 13.5px; font-weight: 600; line-height: 1.45; }
h6, .h6 { font-size: 12px; font-weight: 600; line-height: 1.5; }

p { font-size: 13px; }
.small, small { font-size: 11px; }
.lead { font-size: 14px; }

.wrapper {
  display: flex; /* Layout flex */
  width: 100%; /* Pleine largeur */
  align-items: stretch; /* Étirement items */
}

.app-layout {
  align-items: flex-start;
}

main {
  flex: 1; /* Espace restant */
  min-width: 0; /* Réduction possible */
  max-width: 100%; /* Max pleine largeur */
}

.container {
  max-width: 1200px; /* Largeur max réduite */
  padding-left: 12px; /* Padding horizontal réduit */
  padding-right: 12px;
  line-height: 19px; /* Hauteur de ligne réduite */
}

.container-fluid {
  width: 100%; /* Pleine largeur */
  margin-right: auto; /* Recentrage bootstrap */
  margin-left: auto; /* Recentrage bootstrap */
}

/* 📱 RESPONSIVE - Ajustements globaux et media queries */
/* Défilement horizontal et ajustements */
.table-responsive {
  overflow-x: auto; /* Défilement horizontal */
  -webkit-overflow-scrolling: touch; /* Fluide sur iOS */
  margin: 0 -15px; /* Marges négatives */
  padding: 0 15px; /* Compensation padding */
}

.content {
  overflow-x: auto; /* Défilement */
  -webkit-overflow-scrolling: touch;
  padding: 15px; /* Padding standard */
  transition: margin-left 0.3s ease; /* Transition pour sidebar */
  background-color: var(--light-bg); /* Fond */
  min-height: calc(100vh - var(--topbar-height)); /* Hauteur utile sous topbar */
}

.sidebar + .content,
.sidebar + .sidebar-overlay + .content {
  margin-left: 6px; /* Petite marge gauche */
}

.sidebar.collapsed + .content,
.sidebar.collapsed + .sidebar-overlay + .content {
  margin-left: 6px; /* Petite marge quand collapsé */
}

.sidebar-overlay {
  position: fixed; /* Fixé */
  inset: 0; /* Plein écran */
  background: rgba(8, 18, 28, 0.22); /* Assombrissement léger sans effet flou */
  z-index: 1040; /* Entre contenu et panneau sidebar mobile */
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.sidebar.show ~ .sidebar-overlay,
.sidebar.show + .sidebar-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Media queries de base: contenu et conteneurs (sidebar mobile gérée dans design_harmony.css) */
@media (max-width: 768px) {
  .container {
    max-width: 100%; /* Pleine largeur mobile */
    padding: 15px; /* Padding standard */
    overflow-x: hidden; /* Pas de débordement */
  }
  .table-responsive, .content {
    margin: 0; /* Reset margin */
    padding: 10px; /* Réduit */
  }
}

@media (max-width: 992px) {
  .app-layout {
    display: block;
  }

  .content {
    margin-left: 0 !important; /* Pas de rail permanent en mobile */
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100%;
  }

  main.content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .container,
  .container-fluid {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* 🧩 COMPONENTS - Avatars, search, buttons, forms, etc. */
/* Avatar */
.avatar {
  width: var(--avatar-size);
  height: var(--avatar-size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: calc(var(--avatar-size) * 0.4);
}

/* Search form */
.search-form {
  width: 280px;
}

.search-form .input-group {
  height: var(--search-height);
}

.search-form .form-control {
  padding-left: 1rem;
  font-size: 0.8rem;
  border: none;
  box-shadow: none;
}

.search-form .btn {
  border: none;
  padding: 0 1rem;
  color: var(--text-muted);
}

.search-form .btn:hover {
  color: var(--text-dark);
}

/* Buttons généraux */
.btn-primary {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border: none;
  box-shadow: 0 4px 15px rgba(59,183,143,0.3);
  padding: 10px 22px;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(11,171,100,0.18);
}

.btn-gradient {
  background: linear-gradient(90deg, #3bb78f 0%, #2575fc 100%);
  color: #fff;
  border: none;
  box-shadow: 0 6px 20px rgba(37,117,252,0.18);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border-radius: 50px;
  padding: 0.7rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37,117,252,0.22);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.btn-icon-sm {
  width: 28px;
  height: 28px;
  font-size: 0.875rem;
}

.btn-icon-lg {
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
}

/* Forms et inputs */
.form-control-search {
  padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 12px center;
  background-size: 16px;
}

/* Topbar notifications quick center */
.topbar-notifications-menu {
  width: min(420px, 92vw);
}

.topbar-notifications-list {
  max-height: 360px;
  overflow-y: auto;
}

.topbar-notification-unread {
  border-left: 3px solid var(--primary-dark);
  background: #f6fbf9;
}

.form-floating > .form-control,
.form-floating > .form-select {
  border-radius: 12px;
  border: 2px solid #e9ecef;
  padding: 1rem 0.75rem;
  transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59,183,143,0.1);
}

.form-floating > label {
  color: var(--text-muted);
  padding: 1rem 0.75rem;
}

/* 🔝 TOPBAR & SIDEBAR - Navigation haute et latérale */
.topbar {
  background-color: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  height: var(--topbar-height);
  position: sticky;
  top: 0;
  z-index: 1020;
  padding: 0;
}

.topbar .navbar-brand {
  color: var(--text-dark) !important;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.topbar .btn-outline-primary {
  border: none;
  padding: 8px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--text-dark);
}

.topbar .btn-outline-primary:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.nav-link .notification-indicator {
  position: relative;
}

.nav-link .notification-indicator::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: var(--notification-dot-size);
  height: var(--notification-dot-size);
  background-color: var(--danger);
  border-radius: 50%;
  border: 2px solid var(--white);
}

.topbar .user-dropdown {
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}

.topbar .user-dropdown:hover {
  background-color: var(--light-bg);
}

.topbar .user-dropdown .user-name {
  font-weight: 500;
  color: var(--text-dark);
}

.topbar .user-dropdown .user-email {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.dropdown-menu {
  padding: 8px;
  border: none;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  border-radius: 12px;
}

.dropdown-item {
  padding: 8px 16px;
  border-radius: 8px;
  color: var(--text-dark);
  font-size: 0.8rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: var(--light-bg);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  margin: 8px 0;
  border-color: var(--light-bg);
}

.dropdown-header {
  padding: 8px 16px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.sidebar {
  background: linear-gradient(180deg, #19a97b, #0b7f59);
  min-height: calc(100vh - var(--topbar-height));
  height: calc(100vh - var(--topbar-height));
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  transition: width 0.22s ease-in-out, box-shadow 0.22s ease-in-out;
  color: #fff;
  position: sticky;
  top: var(--topbar-height);
  overflow-x: hidden;
  box-shadow: 3px 0 10px rgba(0,0,0,0.1);
  z-index: 1010;
  scrollbar-gutter: stable;
}

.sidebar-collapse-btn {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
}

.sidebar-collapse-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.2);
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
  flex-basis: var(--sidebar-collapsed-width);
  overflow-x: visible;
}

@media (max-width: 1399.98px) and (min-width: 993px) {
  :root {
    --sidebar-width: 228px;
    --sidebar-collapsed-width: 72px;
  }
}

.sidebar.collapsed .sidebar-collapse-wrap {
  justify-content: center !important;
}

.sidebar.collapsed .nav-link {
  justify-content: center;
  padding: 0;
  margin-left: 8px;
  margin-right: 8px;
}

.sidebar.collapsed .nav-link i {
  margin-right: 0 !important;
}

.sidebar.collapsed .sidebar-text,
.sidebar.collapsed h6,
.sidebar.collapsed .fa-chevron-down {
  display: none !important;
}

.sidebar.collapsed .nav-item {
  position: relative;
}

.sidebar.collapsed .nav-item > .collapse {
  display: none !important;
  position: absolute;
  left: calc(100% - 2px);
  top: 0;
  min-width: 220px;
  background: #18463c;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.24);
  padding: 8px;
  z-index: 1300;
}

.sidebar.collapsed .nav-item.flyout-open > .collapse {
  display: block !important;
}

.sidebar.collapsed .collapsing {
  display: none !important;
  height: 0 !important;
}

.sidebar.collapsed .nav-item > .collapse .nav {
  margin-left: 0 !important;
  margin-top: 0 !important;
}

.sidebar.collapsed .nav-item > .collapse .sidebar-sublink {
  display: flex !important;
  margin: 2px 0;
  color: rgba(255,255,255,0.92);
}

.sidebar.collapsed .nav-item > .collapse .sidebar-sublink:hover,
.sidebar.collapsed .nav-item > .collapse .sidebar-sublink.active {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.sidebar.collapsed .nav-link[data-bs-toggle="collapse"] {
  cursor: pointer;
}

.sidebar.collapsed .nav-link,
.sidebar.collapsed .sidebar-collapse-btn {
  position: relative;
}

.sidebar.collapsed .nav-link:hover::after,
.sidebar.collapsed .sidebar-collapse-btn:hover::after {
  content: attr(title);
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: #132e28;
  color: #fff;
  font-size: 0.74rem;
  white-space: nowrap;
  padding: 5px 8px;
  border-radius: 6px;
  z-index: 1200;
}

.sidebar .nav-link {
  color: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  gap: 12px;
  margin: 2px 12px;
  transition: all 0.25s ease-in-out;
}

.sidebar .sidebar-sublink {
  height: 34px;
  padding: 0 10px;
  margin: 1px 8px;
  border-radius: 8px;
  font-size: 0.78rem;
  opacity: 0.95;
}

.sidebar .sidebar-sublink i {
  width: 20px;
  font-size: 0.95rem;
}

.sidebar .nav-link i {
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.sidebar .nav-link span {
  font-size: 0.8rem;
  white-space: nowrap;
}

.sidebar .nav-link:hover {
  background-color: rgba(255,255,255,0.1);
  color: #fff;
}

.sidebar .nav-link:hover i {
  background-color: rgba(255,255,255,0.15);
  transform: scale(1.1);
}

.sidebar .nav-link.active {
  background-color: rgba(255,255,255,0.9);
  color: var(--primary-dark);
  font-weight: 600;
}

.sidebar .nav-link.active i {
  background-color: var(--primary-color);
  color: white;
}

.sidebar .section-header {
  color: rgba(255,255,255,0.6);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 24px;
  margin: 24px 0 8px 0;
}

.sidebar::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.3);
}

/* Mobile user dropdown */
.mobile-user-dropdown {
  z-index: 1060;
  position: relative;
}

@media (max-width: 992px) {
  .mobile-user-dropdown .avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  .mobile-user-dropdown .dropdown-menu {
    right: 0;
    left: auto;
  }
}

/* 🧱 MAIN CONTENT & CARDS - Contenu principal et cartes */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  background-color: var(--white);
}

.card h5 {
  color: var(--primary-dark);
}

.card-hover {
  transition: var(--transition);
  border: 1px solid transparent;
}

.card-hover:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px rgba(59,183,143,0.15);
}

.table-hover tbody tr {
  transition: var(--transition);
}

.table-hover tbody tr:hover {
  background-color: rgba(59,183,143,0.05);
}

/* Landing page flash banner */
.landing-flash-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.landing-flash-alert {
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  margin-bottom: 0 !important;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  padding: 1rem 2.5rem 1rem 1rem !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.landing-flash-alert .btn-close {
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
}

.landing-flash-alert.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  border-bottom: 3px solid #28a745;
}

.landing-flash-alert.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f5c6cb);
  color: #721c24;
  border-bottom: 3px solid #dc3545;
}

.landing-flash-alert.alert-warning {
  background: linear-gradient(135deg, #fff3cd, #ffeeba);
  color: #856404;
  border-bottom: 3px solid #ffc107;
}

.landing-flash-alert.alert-info {
  background: linear-gradient(135deg, #d1ecf1, #bee5eb);
  color: #0c5460;
  border-bottom: 3px solid #17a2b8;
}

/* Floating flash container */
.floating-flash-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 2000;
  width: calc(100% - 40px);
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.floating-flash-container .alert {
  pointer-events: auto;
  box-shadow: 0 8px 26px rgba(0,0,0,0.15);
  border-radius: 12px;
}

@media (max-width: 576px) {
  .floating-flash-container { right: 12px; left: 12px; max-width: none; }
}

/* Status indicators */
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator.online { background-color: var(--success-color); }
.status-indicator.away { background-color: var(--warning-color); }
.status-indicator.offline { background-color: var(--secondary-color); }

/* Badges soft */
.badge-soft-primary { background-color: rgba(59,183,143,0.1); color: var(--primary-color); }
.badge-soft-success { background-color: rgba(40,167,69,0.1); color: var(--success-color); }
.badge-soft-warning { background-color: rgba(255,193,7,0.1); color: var(--warning-color); }
.badge-soft-info { background-color: rgba(23,162,184,0.1); color: var(--info-color); }

/* 🏠 LANDING PAGE - Styles spécifiques à la page d'accueil */
body.landing-page {
  background-color: #ffffff;
}

.landing-header {
  background-color: #14cabb!important;
  box-shadow: 0 2px 15px rgba(0,0,0,0.03);
  position: sticky;
  top: 0;
  z-index: 1020;
  background: linear-gradient(10deg, rgba(255,255,255,0.85), rgba(255,255,255,0.95));
  backdrop-filter: blur(6px);
}

.landing-header .navbar-brand {
  color: var(--primary-color);
  font-weight: 600;
}

.landing-header .btn-success {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 8px 16px;
  font-weight: 500;
}

.landing-header .btn-outline-success {
  border-color: var(--primary-color);
  color: var(--primary-color);
  padding: 8px 16px;
}

.landing-header .btn-outline-success:hover {
  background-color: rgba(11,171,100,0.08);
}

.landing-content {
  padding: 0;
  background-color: #ffffff;
}

.landing-content h1 {
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.landing-content .lead {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.landing-content .btn-success {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border: none;
  padding: 10px 24px;
  transition: var(--transition);
}

.landing-content .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(11, 171, 100, 0.25);
}

.landing-content section {
  padding: 5rem 0;
  position: relative;
  z-index: 2;
}

.landing-content .bg-light {
  background-color: #f9fcfa !important;
}

.landing-content .bg-dark {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.landing-content .hero-section {
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  padding-top: 0.75rem; /* small top gap to avoid content touching header */
  padding-bottom: 10px;
}

.landing-content .hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(11,171,100,0.05) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: 0;
}

/* Reduce top spacing inside hero container (neutralize bootstrap py-4 used in template) */
.hero-section .container {
  padding-top: 1.5rem !important;
  padding-bottom: 0.5rem !important;
}

.landing-content .benefit-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.landing-content .image-container {
  padding: 20px;
}

.landing-content .bg-blob {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: linear-gradient(140deg, rgba(11,171,100,0.08) 0%, rgba(59,183,143,0.12) 100%);
  z-index: 1;
  top: 10%;
  left: 5%;
}

.landing-content .badge {
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.landing-content .card {
  transition: var(--transition);
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.landing-content .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow) !important;
}

#demander-devis .card {
  border-radius: var(--border-radius);
  background-color: var(--white);
  overflow: hidden;
}

#demander-devis .form-control {
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: none;
  transition: var(--transition);
}

#demander-devis .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(11,171,100,0.1);
}

#demander-devis .btn-success {
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 500;
}

#demander-devis h4 {
  position: relative;
  padding-bottom: 12px;
}

#demander-devis h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 10px;
}

.testimonial-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}

.testimonial-avatar {
  font-size: 1.25rem;
}

.landing-content .text-warning {
  color: var(--warning-color) !important;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.hero-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-shapes .shape-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59,183,143,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-bg-shapes .shape-2 {
  position: absolute;
  bottom: -15%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(11,171,100,0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-bg-shapes .shape-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(59,183,143,0.05) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

.min-vh-75 {
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  color: white;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.benefit-content h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.benefit-content p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.9rem;
}

.hero-cta .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.hero-stats {
  margin-top: 0.5rem;
}



.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.dashboard-mockup {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: var(--transition);
  will-change: transform;
}

.dashboard-mockup:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}

.mockup-title {
  color: white;
  font-weight: 600;
}

.mockup-content {
  padding: 30px 20px;
  background-color: var(--white);
}

.mockup-chart {
  margin-bottom: 25px;
  position: relative;
  height: 80px;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 100%;
}

.bar {
  flex: 1;
  background: linear-gradient(180deg, var(--primary-color), var(--primary-dark));
  border-radius: 4px 4px 0 0;
  animation: growUp 1s ease-out forwards;
  opacity: 0.9;
}

.chart-bars .bar:nth-child(1) { height: 60%; }
.chart-bars .bar:nth-child(2) { height: 80%; }
.chart-bars .bar:nth-child(3) { height: 45%; }
.chart-bars .bar:nth-child(4) { height: 90%; }
.chart-bars .bar:nth-child(5) { height: 70%; }

.mockup-alerts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.alert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #f8f9fa;
  border-radius: 8px;
}

.alert-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.alert-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  perspective: 1000px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
  animation: floatCard 3s ease-in-out infinite;
  pointer-events: auto;
  z-index: 10;
}

.floating-card.card-1 {
  top: 15%;
  left: -5%;
  animation-delay: 0s;
}

.floating-card.card-2 {
  top: 55%;
  right: -8%;
  animation-delay: 1s;
}

.floating-card.card-3 {
  bottom: 10%;
  left: -10%;
  animation-delay: 2s;
}

.features-section,
.testimonials-section,
.cta-section {
  padding: 100px 0;
}

.features-section {
  background: var(--light-bg);
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-card .feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-card h5 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 13px;
}

.feature-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
}

.tag {
  background: rgba(59,183,143,0.1);
  color: var(--primary-color);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.testimonials-section {
  background-color: var(--light-bg);
}

.testimonial-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.testimonial-rating {
  color: var(--warning-color);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 20px;
  flex-grow: 1;
}

.testimonial-card blockquote::before {
  content: '“';
  font-family: serif;
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59,183,143,0.2);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cta-section {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

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

.cta-benefits {
  margin-top: 2rem;
}

.benefit-check {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.benefit-check i {
  color: var(--primary-dark);
  margin-right: 0.75rem;
}

.cta-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h4 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 10px;
}

.form-header h4::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 3px;
  width: 60px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 10px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-footer-text {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.final-cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 80px 0;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.final-cta-section h2 {
  font-weight: 700;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.final-cta-section p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.final-cta-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
}

.final-cta-buttons .btn-light {
  color: var(--primary-dark);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.final-cta-buttons .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.final-cta-buttons .btn-outline-light {
  border-color: white;
  color: white;
}

.final-cta-buttons .btn-outline-light:hover {
  background-color: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.landing-nav .nav-link {
  color: rgba(0,0,0,0.65);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
}

.landing-nav .nav-link:hover {
  color: var(--primary-dark);
  background: rgba(59,183,143,0.06);
}

#landingMobileMenu.show {
  display: block !important;
}

[data-animate] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

.animate-image {
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1), box-shadow 0.4s ease;
}

.animate-image:hover {
  transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.image-frame {
  display: inline-block;
  position: relative;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(246,252,250,0.85));
  box-shadow: 0 18px 40px rgba(3, 40, 30, 0.08), 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
  overflow: hidden;
}

.image-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(3, 40, 30, 0.12), 0 6px 18px rgba(0,0,0,0.08);
}

.image-frame .animate-image {
  border-radius: 12px;
  display: block;
  border: 1px solid rgba(0,0,0,0.04);
  filter: saturate(1.04) contrast(1.03);
}

.image-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow: inset 0 30px 40px rgba(0,0,0,0.03);
}

.floating-demo-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2000;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(11,171,100,0.18);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

#cookieBanner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 18px;
  z-index: 3000;
  background: rgba(255,255,255,0.98);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 12px;
}

#cookieBanner .cookie-inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

#cookieBanner .cookie-text {
  flex: 1 1 60%;
  color: var(--text-dark);
  font-size: 0.95rem;
}

#cookieBanner .cookie-actions {
  display: flex;
  gap: 8px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 2.5rem 0;
}

.trust-logos img {
  max-height: 48px;
  opacity: 0.85;
  filter: grayscale(0.1) contrast(0.95);
}

/* Modern landing animations and enhancements */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(1deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(15,139,117,0.15); }
  50% { box-shadow: 0 0 40px rgba(15,139,117,0.25); }
}

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

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

@keyframes slideInRight {
  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 gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-section .text-gradient-animated {
  background: linear-gradient(90deg, #0f8b75, #1a91b8, #0f8b75, #1a91b8);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-section .hero-content .display-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.5rem;
}

.hero-section .hero-content .display-stat .stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0f8b75;
  line-height: 1;
}

.hero-section .hero-content .display-stat .stat-label {
  font-size: 0.85rem;
  color: #5d7382;
  font-weight: 500;
  margin-top: 0.3rem;
}

.hero-section .hero-visual .dashboard-mockup {
  transform: perspective(1200px) rotateY(-3deg) rotateX(4deg);
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1);
  box-shadow: 0 30px 60px rgba(9,33,40,0.12), 0 10px 20px rgba(9,33,40,0.06);
}

.hero-section .hero-visual .dashboard-mockup:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.hero-section .floating-card {
  animation: floatSlow 4s ease-in-out infinite;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(15,139,117,0.12);
}

.hero-section .floating-card.card-1 { animation-delay: 0s; }
.hero-section .floating-card.card-2 { animation-delay: 1.5s; }
.hero-section .floating-card.card-3 { animation-delay: 3s; }

/* How it works section */
.how-it-works-section .step-card {
  position: relative;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 8px 30px rgba(9,33,40,0.06);
  transition: all 0.4s cubic-bezier(.2,.9,.2,1);
  height: 100%;
  text-align: center;
}

.how-it-works-section .step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9,33,40,0.12);
  border-color: rgba(15,139,117,0.15);
}

.how-it-works-section .step-number {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f8b75, #1a91b8);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(15,139,117,0.2);
}

.how-it-works-section .step-connector {
  position: absolute;
  top: 2.8rem;
  right: -2.5rem;
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, #0f8b75, transparent);
}

@media (max-width: 991.98px) {
  .how-it-works-section .step-connector { display: none; }
}

/* Stats counter section */
.stats-counter-section .stat-counter-item {
  text-align: center;
  padding: 1.5rem;
}

.stats-counter-section .stat-counter-item .counter-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: #0f8b75;
  line-height: 1.1;
}

.stats-counter-section .stat-counter-item .counter-label {
  font-size: 0.95rem;
  color: #4b6370;
  font-weight: 500;
  margin-top: 0.3rem;
}

.stats-counter-section .stat-counter-item .counter-icon {
  font-size: 1.8rem;
  color: #1a91b8;
  margin-bottom: 0.8rem;
  opacity: 0.7;
}

/* Screenshots section refinements */
.screenshots-section .screenshot-block {
  padding: 2.5rem;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 8px 30px rgba(9,33,40,0.05);
  transition: all 0.4s ease;
}

.screenshots-section .screenshot-block:hover {
  box-shadow: 0 20px 50px rgba(9,33,40,0.1);
  transform: translateY(-4px);
}

.screenshots-section .feature-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.screenshots-section .feature-badge-list .badge-soft {
  background: rgba(15,139,117,0.08);
  color: #0f6c5d;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Feature cards modern */
.features-section .feature-card {
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.2,.9,.2,1);
  position: relative;
  overflow: hidden;
}

.features-section .feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0f8b75, #1a91b8);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.features-section .feature-card:hover::before {
  opacity: 1;
}

.features-section .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9,33,40,0.12);
  border-color: rgba(15,139,117,0.1);
}

.features-section .feature-card .feature-icon {
  position: relative;
}

.features-section .feature-card .feature-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: inherit;
  opacity: 0.15;
  transform: scale(1.3);
  z-index: -1;
}

/* Testimonials modern */
.testimonials-section .testimonial-card {
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(.2,.9,.2,1);
  position: relative;
}

.testimonials-section .testimonial-card::after {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 6rem;
  line-height: 1;
  color: rgba(15,139,117,0.06);
  font-family: serif;
}

.testimonials-section .testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(9,33,40,0.1);
}

/* CTA section enhancements */
.cta-section .cta-form-card {
  position: relative;
  overflow: hidden;
}

.cta-section .cta-form-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(15,139,117,0.03), transparent 70%);
  pointer-events: none;
}

/* Pricing cards modern */
.pricing-section .pricing-card {
  position: relative;
  transition: all 0.4s cubic-bezier(.2,.9,.2,1);
  overflow: hidden;
}

.pricing-section .pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(9,33,40,0.12);
}

.pricing-section .pricing-card.recommended {
  border: 2px solid #0f8b75;
  box-shadow: 0 8px 30px rgba(15,139,117,0.15);
  position: relative;
}

.pricing-section .pricing-card.recommended::before {
  content: 'Recommandé';
  position: absolute;
  top: 1.2rem;
  right: -2.8rem;
  background: linear-gradient(90deg, #0f8b75, #1a91b8);
  color: white;
  padding: 0.25rem 3.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transform: rotate(45deg);
  z-index: 2;
  text-transform: uppercase;
}

.pricing-section .pricing-card .display-5 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #0f8b75;
  line-height: 1.1;
}

.pricing-section .pricing-card .pricing-features li {
  font-size: 0.92rem;
  color: #2d4a5a;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  padding: 0.6rem 0 !important;
}

.pricing-section .pricing-card .pricing-features li:last-child {
  border-bottom: none;
}

.pricing-section .pricing-card .pricing-features li i {
  font-size: 1rem;
  width: 1.4rem;
  text-align: center;
}

.pricing-section .pricing-card .btn-gradient {
  border-radius: 12px;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.pricing-section .pricing-card .btn-outline-primary {
  border-radius: 12px;
  padding: 0.8rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* FAQ modern */
.faq-section .accordion-item {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.faq-section .accordion-item:hover {
  border-color: rgba(15,139,117,0.15);
  box-shadow: 0 4px 15px rgba(9,33,40,0.05);
}

.faq-section .accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
}

.faq-section .accordion-button:not(.collapsed) {
  color: #0f6c5d;
  background: rgba(15,139,117,0.04);
}

.faq-section .accordion-body {
  padding: 1rem 1.5rem 1.5rem;
  color: #4b6370;
  line-height: 1.7;
}

/* Final CTA */
.final-cta-section {
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.05), transparent 70%);
  pointer-events: none;
}

.final-cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
  pointer-events: none;
}

/* Trust section animated */
.trust-section .trust-logos img {
  transition: all 0.4s cubic-bezier(.2,.9,.2,1);
  filter: grayscale(0.3) contrast(0.9);
  opacity: 0.7;
}

.trust-section .trust-logos img:hover {
  transform: translateY(-6px) scale(1.05);
  filter: grayscale(0) contrast(1);
  opacity: 1;
}

/* Floating demo button */
.floating-demo-btn {
  animation: pulseGlow 2s ease-in-out infinite;
  border: none;
}

/* Responsive modern media queries */
@media (max-width: 992px) {
  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero-visual { margin-top: 3rem; }
  .floating-card { display: none; }
  .mockup-header { font-size: 0.8rem; padding: 10px 15px; }
  .mockup-dots span { width: 10px; height: 10px; }
  .mockup-content { padding: 20px 15px; }
  .alert-item { padding: 8px; }
  .alert-text { font-size: 0.8rem; }
  .section-title { font-size: 2.2rem; }
  .section-subtitle { font-size: 1rem; }
  .feature-card, .testimonial-card { padding: 30px 20px; }
  .feature-card .feature-icon { width: 60px; height: 60px; font-size: 1.3rem; margin-bottom: 1rem; }
  .testimonial-card blockquote { font-size: 0.95rem; }
  .cta-title { font-size: 2.2rem; }
  .cta-subtitle { font-size: 1rem; }
  .cta-form-card { padding: 30px; }
  .final-cta-section h2 { font-size: 2rem; }
  .final-cta-buttons .btn { padding: 12px 25px; font-size: 0.95rem; }
  .stats-counter-section .stat-counter-item .counter-value { font-size: 2.2rem; }
}

@media (max-width: 768px) {
  .hero-section { padding: 60px 0; }
  .hero-title { font-size: 2.2rem; text-align: center; }
  .hero-subtitle { font-size: 1rem; text-align: center; }
  .hero-badge { margin: 0 auto 1.5rem auto; display: table; }
  .hero-benefits { align-items: center; }
  .benefit-item { text-align: center; flex-direction: column; }
  .benefit-icon { margin: 0 auto 1rem auto; }
  .benefit-content h6, .benefit-content p { text-align: center; }
  .hero-cta { text-align: center; }
  .hero-cta .btn { display: block; width: 100%; margin-bottom: 1rem; }
  .hero-stats { margin-top: 2rem; }
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
  .testimonials-section .row > div:not(:last-child) { margin-bottom: 1.5rem; }
  .cta-title { font-size: 1.8rem; text-align: center; }
  .cta-subtitle { text-align: center; }
  .cta-benefits { text-align: center; margin-bottom: 2rem; }
  .benefit-check { justify-content: center; }
  .final-cta-section h2 { font-size: 1.8rem; }
  .final-cta-section p { font-size: 1rem; }
  .final-cta-buttons .btn { width: 100%; margin-bottom: 1rem; }
  .landing-nav { display: none; }
  #landingMobileMenu { display: none; }
  .stats-counter-section .stat-counter-item { padding: 1rem; }
  .stats-counter-section .stat-counter-item .counter-value { font-size: 1.8rem; }
  .screenshots-section .screenshot-block { padding: 1.5rem; }
  .how-it-works-section .step-card { padding: 1.5rem; }
}

@media (min-width: 768px) {
  .floating-demo-btn { display: none !important; }
}

/* Dark mode floating card text */
.floating-card span { font-size: 0.82rem; font-weight: 600; }

/* 🔐 AUTH / LOGIN - Styles pour les pages d'authentification */
body.auth-page {
  height: 100vh;
  overflow: hidden;
}

.auth-bg {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, rgba(59,183,143,0.6), rgba(59,183,143,0.2));
  background-size: 400% 400%;
  animation: gradient 3s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  margin: 0;
  height: 100vh;
}

.auth-bg,
.auth-bg body,
.auth-wrap {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.auth-left {
  background: linear-gradient(135deg, rgba(59,183,143,0.95) 0%, rgba(6,182,103,0.95) 100%), 
              url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1770&q=80');
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,0,0,0.4), rgba(0,0,0,0.1));
  z-index: 1;
}

.auth-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.15), rgba(0,0,0,0.25));
  z-index: 2;
}

.auth-left .shape {
  position: absolute;
  z-index: 1;
  opacity: 0.1;
}

.auth-left .shape-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #fff, transparent);
  border-radius: 50%;
  top: 10%;
  left: 10%;
  animation: float 8s ease-in-out infinite;
}

.auth-left .shape-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #fff, transparent);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  bottom: 15%;
  right: 15%;
  animation: float 10s ease-in-out infinite reverse;
}

.auth-left .shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #fff, transparent);
  border-radius: 50%;
  top: 50%;
  right: 20%;
  animation: float 7s ease-in-out infinite 2s;
}

.auth-left-card {
  position: relative;
  z-index: 3;
  max-width: 380px;
}

.frost-card {
  background: rgba(255,255,255,0.15);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: #fff;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.frost-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.auth-left .back-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  z-index: 30;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.auth-left .back-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.3);
}

.auth-left-card .brand img {
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.25));
  transition: transform 0.3s ease;
}

.auth-left-card .brand img:hover {
  transform: scale(1.05);
}

.login-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  animation: popIn 560ms cubic-bezier(.2,.9,.2,1);
  border-radius: 16px;
  margin: 1.5rem;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 30px 60px rgba(6,22,36,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  color: #fff;
}

.login-card:hover {
  transform: translateY(-5px);
}

.login-card h2 {
  letter-spacing: 2px;
  font-weight: 600;
}

.login-card .form-control {
  border: 1px solid rgba(42,42,42,0.08);
  background: rgba(255,255,255,0.9);
  transition: all 0.3s ease;
  padding: 12px 15px;
  border-radius: 10px;
}

.login-card .form-control:focus {
  box-shadow: 0 8px 24px rgba(59,183,143,0.15);
  border-color: rgba(59,183,143,0.9);
  outline: none;
  transform: translateY(-2px);
  background: rgba(255,255,255,1);
}

.login-card .btn-dark {
  background: #2b2f3a;
  border: none;
  padding: 14px 28px;
}

.login-card a {
  color: #2575fc;
  transition: all 0.3s ease;
}

.login-card a:hover {
  text-decoration: underline;
  color: #1a5dcc;
}

.login-card .small {
  color: rgba(255,255,255,0.85);
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #6c757d;
}

.form-group {
  position: relative;
}

.btn-gradient.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-gradient.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  transition: all 0.4s ease;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-check-input:checked {
  background-color: #2575fc;
  border-color: #2575fc;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 5px;
  display: none;
}

.form-control.error {
  border-color: #dc3545;
}

.form-control.error + .error-message {
  display: block;
}

.auth-card {
  opacity: 0;
  transform: translateY(8px);
  animation: cardIn 400ms ease forwards;
}

.input-with-icon {
  position: relative;
}

.input-with-icon svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
  opacity: 0.9;
}

.input-with-icon .form-control {
  padding-left: 40px;
}

.remember-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

/* Media queries pour auth */
@media (max-width: 767.98px) {
  .auth-left { display: none !important; }
  .auth-left-card h3 { font-size: 1.05rem; }
  .login-card { margin: 1.5rem; max-height: calc(100vh - 48px); overflow: auto; }
  .shape { display: none; }
  .auth-left { min-height: 30vh; padding: 2rem 1rem; }
  .login-card { margin: 1.5rem; }
}

@media (max-width: 900px) {
  .auth-split { flex-direction: column; }
  .auth-left { order: 1; padding: 28px; }
  .auth-right { order: 2; padding: 24px; }
}

/* ✨ UTILS & OTHERS - Utilitaires, animations, debug */
html {
  scroll-behavior: smooth;
}

.navbar .dropdown-menu {
  font-size: 0.9rem;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

a, button {
  transition: var(--transition);
}

body.debug-sidebar .sidebar .nav-link {
  outline: 2px dashed rgba(255,255,255,0.25);
  background-color: rgba(255,255,255,0.02);
}

body.debug-sidebar .sidebar .nav-link i {
  outline: 1px solid rgba(0,0,0,0.12);
  background-color: rgba(255,255,255,0.02);
}

body.debug-sidebar .sidebar .nav-item {
  outline: 1px dotted rgba(0,0,0,0.06);
}

body.debug-sidebar .sidebar {
  outline: 1px solid rgba(0,0,0,0.06);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-hover {
  transition: var(--transition);
}

.shadow-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.bg-light-hover {
  transition: background-color 0.2s ease;
}

.bg-light-hover:hover {
  background-color: var(--light-bg);
}

.blockquote {
  color: #333;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 4px;
}

.border-start {
  border-left-color: #0d6efd !important;
}

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

.node-accent {
  position: relative;
  overflow: visible;
}

.border-left-accent-1 { border-left: 2px solid var(--accent-1) !important; }
.border-left-accent-2 { border-left: 2px solid var(--accent-2) !important; }
.border-left-accent-3 { border-left: 2px solid var(--accent-3) !important; }
.border-left-primary  { border-left: 2px solid var(--primary-color) !important; }
.border-left-success  { border-left: 2px solid #28a745 !important; border-top: 2px solid #28a745 !important; }
.border-left-info     { border-left: 2px solid #17a2b8 !important; border-top: 2px dashed #17a2b8 !important; }
.border-left-warning  { border-left: 2px solid #ffc107 !important; }
.border-left-danger   { border-left: 2px solid #dc3545 !important; }
.border-left-dark     { border-left: 2px solid #78a117 !important; }

.node-accent.card-body, .node-accent.card {
  padding-left: 1rem;
}

.node-accent.card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 6px;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  pointer-events: none;
  background: transparent;
}

/* Animations keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes growUp {
  0% { height: 0; opacity: 0; }
  100% { opacity: 0.9; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px) rotateX(0deg); }
  50% { transform: translateY(-10px) rotateX(5deg); }
}

@keyframes popIn {
  from { opacity: 0; transform: translateY(8px) scale(0.995); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes cardIn {
  to { opacity: 1; transform: none; }
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Card header brand gradient ── */
.bg-header-brand {
  background: linear-gradient(135deg, #f0f9f6 0%, #e6f2ef 100%);
  position: relative;
}
.bg-header-brand::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ds-brand), var(--ds-brand-strong));
}

/* ── Brand icon circle ── */
.icon-brand {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ds-brand), var(--ds-brand-strong));
  color: #fff;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(15, 139, 117, 0.2);
}

/* ── Section divider ── */
.section-divider {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2edeb;
}
.section-title-brand {
  color: var(--ds-brand-strong);
  font-size: 0.95rem;
}

/* ── Input group brand (icon + field) ── */
.input-group-brand {
  border-radius: var(--ds-radius-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.input-group-brand .input-group-text {
  background: #f4f8f7;
  border-color: #ccd9df;
  color: #6f8a96;
  font-size: 0.85rem;
  padding: 0.5rem 0.65rem;
  transition: color 0.2s, background 0.2s;
}
.input-group-brand .form-control,
.input-group-brand .form-select {
  border-left: 0;
  background: #fff;
  transition: background 0.2s;
}
.input-group-brand .form-control:focus,
.input-group-brand .form-select:focus {
  background: #fff;
}
.input-group-brand:focus-within {
  box-shadow: 0 0 0 0.18rem rgba(15, 139, 117, 0.15);
  border-radius: var(--ds-radius-sm);
}
.input-group-brand:focus-within .input-group-text {
  color: var(--ds-brand);
  background: #eaf5f1;
}
.input-group-brand .form-control:focus,
.input-group-brand .form-select:focus {
  border-color: var(--ds-brand);
  box-shadow: none;
}

/* ── Info card (security, hints, etc.) ── */
.info-card {
  border-radius: var(--ds-radius-md);
  padding: 1rem;
  background: linear-gradient(135deg, #f6fbfa 0%, #eef7f4 100%);
  border: 1px solid #d4e6e1;
}

/* ── Form actions footer ── */
.form-actions {
  background: #fafcfb;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (max-width: 576px) {
  .form-actions {
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    position: sticky;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);
    border-top-color: #d6e2e7 !important;
  }
  .form-actions .btn {
    flex: 1;
  }
}

/* ── Tag-select option text ── */
.tag-select-option-label span {
  flex: 1;
}

/* ── Stat icon backgrounds (light & transparent) ── */
.icon-bg-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  flex-shrink: 0;
}
.icon-bg-light-primary {
  background: rgba(13, 148, 136, 0.08);
}
.icon-bg-light-danger {
  background: rgba(225, 29, 72, 0.08);
}
.icon-bg-light-info {
  background: rgba(14, 165, 233, 0.08);
}
.icon-bg-light-success {
  background: rgba(16, 185, 129, 0.08);
}
.icon-bg-light-warning {
  background: rgba(245, 158, 11, 0.08);
}

/* ── Drop zone pour upload JSON version ── */
.upload-drop-zone {
  border: 2px dashed #c0c0c0;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.25s ease;
  cursor: pointer;
}
.upload-drop-zone:hover,
.upload-drop-zone.dragover {
  border-color: var(--ds-primary, #0d6efd);
  background: #eef2ff;
}
.upload-drop-zone.dragover {
  border-color: var(--ds-primary, #0d6efd);
  background: #e0e7ff;
  box-shadow: 0 0 0 4px rgba(13,110,253,0.12);
}
.upload-drop-zone input[type="file"] {
  cursor: pointer;
}

/* ── Stat cards icon container size fix ── */
.stat-icon-wrap {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}