/* Import des polices Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* Variables globales et personnalisation */
:root {
  /* Couleurs principales */
  --primary: #4361ee;
  --primary-dark: #3a0ca3;
  --primary-light: #60a5fa;
  --secondary: #7c3aed;
  --accent: #f59e0b;

  /* Dégradés */
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  
  /* Couleurs neutres */
  --dark: #111827;
  --medium: #4b5563;
  --light: #f3f4f6;
  --white: #ffffff;
  
  /* Espacement */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  
  /* Bordures et ombres */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 20px rgba(0, 0, 0, 0.04);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Effet de grain/texture subtil sur tout le site */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c4zIgXAAAA3UlEQVR4nO3VyZaDIBBF0aJGkIgYB3L+/zdr0SLEThjSK2ftZUQO1KUoIiIiIiIiIiIiIqIXd1dT95Gw2KWDXD2KnWJdSeZZlVrGzuUk5/6HmZrk6UKjLE+cGxXJrEKjLDc5vLZ7h0ZZTnJMC8iI5LgWkBHJ/1FSsc3FbDfqbHMxO4h+rMb0LH8K0uePaIcHhejHQZAj4iC3giBHxMdEk4zgIYdzY0ryICfO1wI54jtlQY7InbIgR+ROWZAjcqcsyBH5FpAR+RaQEckxLSAjkuNaQEYkx7WAjIiIiIj4B/YHeBR7CF+1BwAAAABJRU5ErkJggg==');
  opacity: 0.03;
  z-index: 1000;
  pointer-events: none;
}

/* Animations de chargement */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #4361ee;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  will-change: opacity, visibility;
}

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.loader-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1.05); }
}

.loader-bar {
  width: 120px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  animation: loaderProgress 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Header et Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.65rem 0;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  padding: 0.5rem 0;
  background: #4361ee;
  border-bottom-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 16px rgba(67, 97, 238, 0.35);
}

/* Masquer le badge reCAPTCHA */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* Logo variations */
.logo-img {
  width: 50%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo-img.logo-white {
  display: none;
}

.site-header.scrolled .logo-img.logo-color {
  display: none;
}

.site-header.scrolled .logo-img.logo-white {
  display: block;
}

.logo-text {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .logo-text {
  background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 101;
}

.hamburger {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background-color: var(--dark);
  border-radius: 2px;
  transition: var(--transition-fast);
  margin: 3px 0;
}

.site-header.scrolled .hamburger span {
  background-color: #fff;
}

.nav-toggle.active .hamburger span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.nav-toggle.active .hamburger span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-links li a {
  position: relative;
  padding: var(--space-xs) 0;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--dark);
  transition: var(--transition-normal);
}

.nav-links li a:hover {
  color: var(--primary);
}

.nav-links li a.active {
  color: var(--primary);
}

.site-header.scrolled .nav-links li a {
  color: rgba(255, 255, 255, 0.85);
}

.site-header.scrolled .nav-links li a:hover,
.site-header.scrolled .nav-links li a.active {
  color: #fff;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: #4361ee !important;
  color: var(--white) !important;
  font-weight: 500;
  font-size: 0.825rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-link:hover {
  background: #3451d1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}

/* Style spécifique pour le bouton Contact dans la navbar */
.nav-links li a.btn-link {
  padding: 0.45rem 1.1rem;
  margin-top: 0;
  background: #4361ee !important;
  color: var(--white) !important;
  box-shadow: none;
  border: none;
}

.site-header:not(.scrolled) .nav-links li a.btn-link {
  background: #4361ee !important;
  border: none;
}

.site-header.scrolled .nav-links li a.btn-link {
  background: #fff !important;
  color: #4361ee !important;
}

.site-header.scrolled .nav-links li a.btn-link:hover {
  background: rgba(255, 255, 255, 0.85) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: var(--transition-normal);
}

.btn-link:hover::before {
  transform: translateX(0);
}

/* Mega Menu — Solutions Dropdown */
.hk-has-dropdown {
  position: relative;
}

.hk-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hk-chevron {
  font-size: 0.55rem;
  transition: transform 0.2s ease;
}

.hk-has-dropdown:hover .hk-chevron,
.hk-has-dropdown.hk-dropdown-open .hk-chevron {
  transform: rotate(180deg);
}

.hk-mega-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 200;
}

/* Pont invisible entre le lien et le mega menu pour maintenir le hover */
.hk-mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.hk-has-dropdown:hover .hk-mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.hk-mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  padding: 1rem;
  min-width: 480px;
}

.hk-mega-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.hk-mega-item:hover {
  background: #f8fafc;
}

.hk-mega-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.hk-mega-icon.blue { background: #eef1ff; color: #4361ee; }
.hk-mega-icon.green { background: #ecfdf5; color: #059669; }
.hk-mega-icon.purple { background: #f3f0ff; color: #7c3aed; }
.hk-mega-icon.cyan { background: #ecfeff; color: #0891b2; }

.hk-mega-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hk-mega-body strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

.hk-mega-body span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
}

.hk-mega-footer {
  padding: 0.75rem 1rem;
  border-top: 1px solid #f1f5f9;
}

.hk-mega-footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary) !important;
  text-decoration: none;
  padding: 0.4rem 0.5rem;
  border-radius: 6px;
  transition: background 0.15s ease;
}

.hk-mega-footer-link:hover {
  background: #eef1ff;
}

.hk-mega-footer-link .fa-arrow-right {
  font-size: 0.7rem;
  margin-left: auto;
}

/* Section Hero */
.hero {
  position: relative;
  padding: calc(var(--space-xl) * 2.5) 0 var(--space-xl);
  overflow: hidden;
}

.hero-section,
.team-hero,
.services-hero {
  position: relative;
  padding: calc(var(--space-xl) * 2.5) 0 var(--space-xl);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.legal-content {
  padding: calc(var(--space-xl) * 2.5) 0 var(--space-xl);
}

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

.gradient-sphere {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2) 0%, rgba(96, 165, 250, 0) 70%);
  border-radius: 50%;
  top: -300px;
  right: -300px;
  z-index: -1;
}

/* Content containers with consistent styling */
.content-box,
.legal-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.hero-content {
  max-width: 600px;
  margin-bottom: var(--space-lg);
}

.subtitle {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-left: 20px;
}

.subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 2px;
  background-color: var(--primary);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--medium);
  margin-bottom: var(--space-lg);
  max-width: 90%;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.925rem;
  gap: 0.6rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(67, 97, 238, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(67, 97, 238, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  background-color: transparent;
  color: var(--primary);
  border: 1px solid rgba(43, 108, 176, 0.3);
  transition: var(--transition-normal);
}

.btn-outline:hover {
  border-color: var(--primary);
  background-color: rgba(43, 108, 176, 0.05);
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  gap: var(--space-xs);
  position: relative;
}

.btn-arrow i {
  transition: var(--transition-normal);
}

.btn-arrow:hover i {
  transform: translateX(4px);
}

/* Hero Visual avec cards flottantes */
.hero-visual {
  position: relative;
  height: 500px;
  margin-top: var(--space-md);
}

.geometric-shape {
  position: absolute;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  opacity: 0.2;
  z-index: -1;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 20%;
  transform: rotate(15deg);
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  right: 10%;
  transform: rotate(-10deg);
  animation: float 7s ease-in-out infinite reverse;
  background: var(--gradient-accent);
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 50%;
  right: 30%;
  transform: rotate(25deg);
  animation: float 8s ease-in-out infinite 1s;
}

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

.visual-card {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  width: 280px;
}

.visual-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-1 {
  top: 10%;
  left: 0;
  animation: cardFloat 6s ease-in-out infinite;
}

.card-2 {
  top: 40%;
  right: 0;
  animation: cardFloat 7s ease-in-out infinite 1s;
}

.card-3 {
  bottom: 5%;
  left: 20%;
  animation: cardFloat 8s ease-in-out infinite 2s;
}

@keyframes cardFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.visual-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.visual-card .content {
  flex: 1;
}

.visual-card .title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--dark);
}

.metrics {
  display: flex;
  justify-content: space-between;
}

.metric {
  text-align: left;
}

.metric .value {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.25rem;
}

.metric .label {
  font-size: 0.875rem;
  color: var(--medium);
}

.client-avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  border: 2px solid var(--white);
  margin-right: -10px;
  flex-shrink: 0;
}

.avatar:nth-child(2) {
  background-color: var(--secondary);
}

.avatar:nth-child(3) {
  background-color: var(--accent);
}

.avatar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: rgba(75, 85, 99, 0.1);
  color: var(--medium);
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid var(--white);
}

.progress-container {
  background-color: rgba(75, 85, 99, 0.1);
  border-radius: var(--radius-full);
  height: 8px;
  overflow: hidden;
  margin-top: var(--space-xs);
  position: relative;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.progress-label {
  font-size: 0.875rem; /* Taille augmentée */
  color: var(--dark); /* Couleur plus foncée pour meilleur contraste */
  margin-top: 6px;
  text-align: right;
  font-weight: 500; /* Un peu plus gras */
  display: block; /* Assure que l'élément est bien affiché */
}

/* Sections communes */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

.section-tag {
  display: inline-block;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--primary);
  margin-bottom: var(--space-sm);
  position: relative;
  padding: 0.3rem 1rem;
  background-color: rgba(67, 97, 238, 0.06);
  border: 1px solid rgba(67, 97, 238, 0.12);
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.section-description {
  font-size: 1.125rem;
  color: var(--medium);
  max-width: 90%;
  margin: 0 auto;
}

/* Services Section avec tabs */
.services {
  padding: 5rem 0;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.service-tabs {
  margin-top: var(--space-xl);
}

.tab-nav {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.tab-btn {
  display: flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  background-color: transparent;
  border: none;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--medium);
  cursor: pointer;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.tab-btn i {
  margin-right: var(--space-xs);
  font-size: 1.125rem;
}

.tab-btn.active {
  background-color: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.tab-content {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.service-content {
  padding-right: var(--space-lg);
}

.service-content h3 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
  color: var(--dark);
}

.service-content p {
  font-size: 1.125rem;
  color: var(--medium);
  margin-bottom: var(--space-md);
}

.feature-list {
  margin-bottom: var(--space-lg);
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
  color: var(--medium);
}

.feature-list li i {
  color: var(--primary);
  margin-right: var(--space-sm);
  background-color: rgba(43, 108, 176, 0.1);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-visual {
  position: relative;
}

.device-mockup {
  position: relative;
  perspective: 1000px;
}

.device-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-md);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-normal);
}

.device-mockup:hover .device-frame {
  transform: rotateY(0) rotateX(0);
}

.device-screen {
  display: block;
  width: 100%;
  height: auto;
}

.device-shadow {
  position: absolute;
  bottom: -20px;
  left: 5%;
  width: 90%;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 80%);
  z-index: -1;
}

/* Style pour les exemples de réalisation */
.example-realization {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background-color: rgba(67, 97, 238, 0.05);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
}

.example-realization h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
  color: var(--primary);
  font-weight: 600;
}

.example-realization p {
  font-size: 1rem;
  margin-bottom: var(--space-sm);
}

/* About Section améliorée */
.about {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background-color: var(--light);
}

.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.experience-badge {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: inline-block;
  margin: 0 auto;
}

.experience-badge .number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.experience-badge .number span {
  font-size: 1.5rem;
}

.experience-badge .text {
  font-size: 0.875rem;
  color: var(--medium);
  margin-top: var(--space-xs);
}

.about-features {
  margin-top: var(--space-lg);
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-md);
  transition: var(--transition-normal);
}

.feature-item:hover {
  transform: translateX(5px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--light);
  color: var(--primary);
  font-size: 1.25rem;
  margin-right: var(--space-md);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.feature-item:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
}

.feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.feature-content p {
  color: var(--medium);
  font-size: 1rem;
}

/* CTA Section */
.cta {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 50%, #312e81 100%);
  color: var(--white);
}

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

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: var(--space-lg);
  opacity: 0.8;
}

.cta-bg .gradient-sphere {
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3) 0%, rgba(124, 58, 237, 0) 70%);
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
  background: #fafbff;
}

.contact-info {
  padding-right: var(--space-lg);
}

.info-items {
  margin-top: 2rem;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: background 0.2s ease;
}

.info-item:hover {
  background: rgba(67, 97, 238, 0.04);
}

.info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(67, 97, 238, 0.06);
  color: var(--primary);
  font-size: 0.95rem;
  margin-right: 1rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.info-item:hover .info-icon {
  background: var(--primary);
  color: var(--white);
}

.info-content h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--dark);
}

.info-content p {
  color: var(--medium);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-left: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: rgba(67, 97, 238, 0.06);
  color: var(--primary);
  font-size: 0.9rem;
  transition: all 0.25s ease;
}

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

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.form-group {
  margin-bottom: 0.6rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.2rem;
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 0.5rem 0.85rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background-color: rgba(243, 244, 246, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.08);
  background-color: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

/* Form validation states */
.form-control.error,
input.error,
textarea.error,
select.error {
  border: 1px solid #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

label.error {
  color: #dc3545;
  font-size: 10px;
  margin-top: 4px;
  display: block;
  font-weight: 500;
}

/* Form messages - Positionnés en dehors du formulaire */
#form-message-success,
#form-message-success-modal {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%) !important;
  border: 2px solid #28a745 !important;
  color: #155724 !important;
  padding: 1.5rem !important;
  border-radius: var(--radius-md) !important;
  margin-top: 1.5rem !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2) !important;
  animation: slideInDown 0.5s ease !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  width: 100% !important;
  min-height: 100px !important;
  z-index: 10 !important;
  clear: both !important;
}

#form-message-warning,
#form-message-warning-modal {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%) !important;
  border: 2px solid #dc3545 !important;
  color: #721c24 !important;
  padding: 1.5rem !important;
  border-radius: var(--radius-md) !important;
  margin-top: 1.5rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  text-align: center !important;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2) !important;
  opacity: 1 !important;
  visibility: visible !important;
  position: relative !important;
  width: 100% !important;
  z-index: 10 !important;
  clear: both !important;
}

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

.submitting {
  color: var(--primary);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Contact Modal */
.modal-contact {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-contact.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-contact-content {
  background: var(--white);
  margin: 2rem;
  padding: 0;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.modal-contact-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-contact-header h3 {
  margin: 0;
  color: var(--dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.modal-contact-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-normal);
}

.modal-contact-close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.modal-contact-body {
  padding: 1.25rem 1.5rem;
}

.modal-contact-body .mb-4 {
  margin-bottom: 0.75rem !important;
  font-size: 0.85rem;
}

.modal-contact-body .form-group {
  margin-bottom: 0;
}

.modal-contact-body .form-group label {
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.modal-contact-body .form-control {
  padding: 0.4rem 0.65rem;
  font-size: 0.85rem;
}

.modal-contact-body textarea.form-control {
  rows: 3;
}

.modal-contact-body .row.g-3 {
  --bs-gutter-y: 0.6rem;
  --bs-gutter-x: 0.75rem;
}

@media (max-width: 768px) {
  .modal-contact-content {
    margin: 0.75rem;
    max-height: 95vh;
  }

  .modal-contact-header {
    padding: 1rem 1.25rem;
  }

  .modal-contact-body {
    padding: 1rem 1.25rem;
  }

  .modal-contact-header h3 {
    font-size: 1.1rem;
  }
}

/* Footer — Compact */
.site-footer {
  padding: 1.5rem 0 1rem;
  background: var(--primary);
  color: var(--white);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer-compact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
}

.footer-left {
  flex-shrink: 0;
}

.footer-logo-img {
  max-width: 120px;
  height: auto;
  opacity: 0.85;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-nav a:hover {
  color: var(--white);
  text-decoration: none;
}

.footer-nav a i {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.footer-nav a:hover i {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
}

.footer-badge-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer-badge-inline i {
  font-size: 0.55rem;
  color: rgba(96, 165, 250, 0.5);
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  min-width: 300px;
  transform: translateX(100%);
  opacity: 0;
  transition: var(--transition-normal);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  margin-right: var(--space-sm);
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background-color: rgba(74, 222, 128, 0.2);
  color: #22c55e;
}

.toast-error .toast-icon {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.toast-message {
  font-size: 0.875rem;
  color: var(--medium);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: var(--space-md);
  left: var(--space-md);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* Sticky Popover Widget - Style EasyWeek.io */
.sticky-popover {
  position: fixed;
  right: 20px;
  bottom: 100px;
  width: 100%;
  max-width: 30rem;
  min-height: 80px;
  max-height: calc(100% - 108px);
  z-index: 200;
  opacity: 0;
  transform: scale(0);
  transform-origin: right bottom;
  transition: all 0.3s cubic-bezier(0, 1.2, 1, 1);
  pointer-events: none;
}

.sticky-popover--opened {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.sticky-popover-content {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.16);
  padding: 2rem;
  position: relative;
}

.sticky-popover-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  color: var(--dark);
}

.sticky-popover-close:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: rotate(90deg);
}

.sticky-popover-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.sticky-popover-subtitle {
  color: #6b7280;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.sticky-popover-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sticky-popover-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 56px;
  position: relative;
  overflow: hidden;
}

.sticky-popover-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(239, 68, 68, 0.05));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sticky-popover-button:hover::before {
  opacity: 1;
}

.sticky-popover-button i {
  font-size: 1.5rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
}

.button-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  z-index: 1;
  text-align: left;
}

.button-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
}

.button-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}

.email-button {
  background: #f3f4f6;
  color: var(--dark);
}

.email-button:hover {
  background: #e5e7eb;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.email-button i {
  color: #f97316;
}

.phone-button {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: var(--white);
}

.phone-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

.phone-button .button-title,
.phone-button .button-subtitle {
  color: var(--white);
}

.phone-button i {
  color: var(--white);
}

.whatsapp-button {
  background: #25d366;
  color: var(--white);
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button .button-title,
.whatsapp-button .button-subtitle {
  color: var(--white);
}

.whatsapp-button i {
  color: var(--white);
}

/* Sticky Popover Trigger Button */
.sticky-popover-trigger {
  position: fixed;
  right: 20px;
  bottom: 30px;
  width: auto;
  height: 56px;
  padding: 0 1.5rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
  z-index: 200;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.sticky-popover-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
}

.sticky-popover-trigger i {
  font-size: 1.25rem;
}

.trigger-text {
  font-weight: 600;
}

/* Animation pulse pour le trigger */
.sticky-popover-trigger::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 32px;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  opacity: 0;
  animation: pulse-trigger 2s infinite;
  z-index: -1;
}

@keyframes pulse-trigger {
  0%, 100% {
    transform: scale(1);
    opacity: 0;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.3;
  }
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .sticky-popover {
    right: 20px;
    left: 20px;
    max-width: calc(100% - 40px);
    bottom: 100px;
  }

  .sticky-popover-content {
    padding: 1.25rem;
  }

  .sticky-popover-title {
    font-size: 1.25rem;
  }

  .sticky-popover-trigger {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
  }

  .trigger-text {
    display: none;
  }

  .sticky-popover-button {
    padding: 0.875rem 1rem;
  }

  .button-title {
    font-size: 0.95rem;
  }

  .button-subtitle {
    font-size: 0.8rem;
  }
}

/* Amélioration de l'animation des cards */
.visual-card {
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.visual-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(67, 97, 238, 0.2);
}

/* Amélioration du gradient-text pour plus d'impact */
.gradient-text {
  background: linear-gradient(135deg, #4361ee 0%, #7c3aed 50%, #3a0ca3 100%);
  background-size: 200% auto;
  animation: gradientFlow 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

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

/* Amélioration de l'effet de survol des tabs */
.tab-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
  z-index: -1;
}

.tab-btn:hover::after {
  width: 80%;
}

.tab-btn.active::after {
  width: 80%;
}

/* Styles pour la page À propos */
.about-section {
  padding: var(--space-xl) 0;
  position: relative;
}

.value-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.value-card .service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--light);
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  transition: var(--transition-normal);
}

.value-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.expertise-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: var(--space-md);
}

.expertise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.expertise-card h4 {
  color: var(--primary);
  margin-bottom: var(--space-sm);
  font-weight: 600;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-md);
}

.expertise-tags span {
  display: inline-block;
  padding: 4px 12px;
  background-color: rgba(67, 97, 238, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition-normal);
}

.expertise-tags span:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-visual {
    height: 450px;
    margin-top: var(--space-xl);
  }
  
  .visual-card {
    width: 240px;
  }
  
  .card-1 {
    left: 5%;
  }
  
  .card-3 {
    left: 15%;
  }
  
  .footer-content {
    gap: var(--space-lg);
  }

}

@media (max-width: 768px) {
  .logo-img {
    width: 60%;
  }

  .nav-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 280px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-links li:last-child {
    border-bottom: none;
    margin-top: 0.75rem;
  }

  .nav-links li a {
    color: var(--dark) !important;
    font-size: 1rem;
    padding: 0.85rem 0.5rem !important;
    display: block;
  }

  .nav-links li a.active {
    color: var(--primary) !important;
  }

  .nav-links li a.btn-link {
    text-align: center;
    border-radius: 8px;
    padding: 0.75rem 1rem !important;
  }

  /* Mega menu mobile */
  .hk-mega-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    background: #f8fafc;
    min-width: auto !important;
    max-height: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none;
    transition: max-height 0.3s ease;
    z-index: auto;
  }

  .hk-mega-menu::before {
    display: none;
  }

  /* Désactiver le hover desktop */
  .hk-has-dropdown:hover .hk-mega-menu {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 0;
    pointer-events: none;
    transform: none !important;
  }

  /* Ouvrir au click uniquement */
  .hk-has-dropdown.hk-dropdown-open .hk-mega-menu,
  .hk-has-dropdown.hk-dropdown-open:hover .hk-mega-menu {
    max-height: 500px;
    pointer-events: all;
  }

  .hk-mega-grid {
    grid-template-columns: 1fr;
    min-width: auto;
    padding: 0.5rem 0;
    gap: 0;
  }

  .hk-mega-item {
    padding: 0.65rem 1rem;
    border-radius: 0;
  }

  .hk-mega-footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid #e2e8f0;
  }

  .hk-chevron {
    transition: transform 0.3s ease;
  }

  .hk-dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto var(--space-xl);
  }
  
  .hero-description {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-visual {
    height: 500px;
  }
  
  .tab-nav {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }
  
  .tab-content {
    padding: var(--space-md);
  }
  
  .service-content {
    padding-right: 0;
    margin-bottom: var(--space-lg);
  }
  
  .contact-info {
    padding-right: 0;
    margin-bottom: var(--space-xl);
  }

  .footer-compact {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-visual {
    height: 400px;
  }
  
  .visual-card {
    width: 200px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .feature-item {
    flex-direction: column;
  }
  
  .feature-icon {
    margin-bottom: var(--space-sm);
    margin-right: 0;
  }
  
  .contact-form-container {
    padding: var(--space-md);
  }
}

@media (max-width: 375px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .visual-card {
    width: 180px;
    padding: var(--space-sm);
  }
  
}
/* ================================================
   PAGE-SPECIFIC STYLES (extracted from PHP files)
   ================================================ */

/* ===== HANIKO V2 DESIGN ===== */

/* --- Hero --- */
.hk-hero {
    padding: 9rem 0 5rem;
    background: #ffffff;
    position: relative;
}
.hk-hero-content {
    max-width: 640px;
}
.hk-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.9rem;
    background: #eef1ff;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hk-badge i { font-size: 0.65rem; }
.hk-hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}
.hk-hero h1 span {
    color: var(--primary);
}
.hk-hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #64748b;
    margin-bottom: 2rem;
}
.hk-cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.hk-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hk-cta-primary:hover {
    background: #3451d1;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(67, 97, 238, 0.25);
}
.hk-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.5rem;
    background: transparent;
    color: var(--dark) !important;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hk-cta-secondary:hover {
    border-color: var(--primary);
    color: var(--primary) !important;
}
/* Hero Visual — Floating Cards */
.hk-hero-visual {
    position: relative;
    height: 420px;
}

/* Screenshot carousel backdrop */
.hk-visual-backdrop {
    position: absolute;
    inset: 3% 2%;
    border-radius: 16px;
    overflow: hidden;
    z-index: 0;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.hk-screenshot {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.hk-screenshot.hk-screenshot-active {
    opacity: 1;
}
.hk-screenshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    opacity: 0.75;
}

/* Visual cards */
.hk-visual-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: #fff;
    border-radius: 14px;
    padding: 1.1rem 1.35rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-width: 240px;
}
.hk-visual-card:hover {
    transform: translateY(-6px);
}
.hk-vcard-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}
.hk-vcard-body { flex: 1; }
.hk-vcard-title {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1e293b;
    display: block;
    margin-bottom: 0.35rem;
}
.hk-vcard-stat { display: flex; align-items: baseline; gap: 0.4rem; }
.hk-stat-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: #4361ee;
}
.hk-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Avatars */
.hk-vcard-avatars { display: flex; align-items: center; }
.hk-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    color: #fff;
}
.hk-avatar:first-child { margin-left: 0; }
.hk-avatar-1 { background: linear-gradient(135deg, #4361ee, #6366f1); }
.hk-avatar-2 { background: linear-gradient(135deg, #10b981, #34d399); }
.hk-avatar-3 { background: linear-gradient(135deg, #f59e0b, #f97316); }
.hk-avatar-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    font-size: 0.6rem;
    font-weight: 700;
    color: #475569;
    margin-left: -8px;
    border: 2px solid #fff;
}

/* Mini chart sparkline */
.hk-vcard-mini-chart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hk-sparkline {
    width: 80px;
    height: 28px;
}
.hk-spark-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

/* Progress */
.hk-vcard-progress { display: flex; align-items: center; gap: 0.5rem; }
.hk-progress-track {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}
.hk-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    border-radius: 3px;
}
.hk-progress-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f59e0b;
}

/* Card positions */
.hk-vcard-1 {
    top: 25%;
    left: -3%;
    animation: hkFloat 6s ease-in-out infinite;
}
.hk-vcard-2 {
    top: 42%;
    right: -5%;
    animation: hkFloat 6s ease-in-out infinite 2s;
}
.hk-vcard-3 {
    bottom: 8%;
    left: 5%;
    animation: hkFloat 6s ease-in-out infinite 4s;
}
@keyframes hkFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Trust Bar --- */
.hk-trust {
    padding: 3rem 0;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}
.hk-trust-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.75rem;
}
.hk-trust-carousel {
    overflow-x: scroll;
    overflow-y: hidden;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.hk-trust-carousel::-webkit-scrollbar {
    display: none;
}
.hk-trust-carousel:active {
    cursor: grabbing;
}
.hk-trust-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    padding: 0.5rem 0;
}
.hk-trust-slide {
    flex-shrink: 0;
    width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hk-trust-slide img {
    height: 70px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
}
.hk-trust-slide img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* --- Pillars (4 cards) --- */
.hk-pillars {
    padding: 5rem 0;
    background: #ffffff;
}
.hk-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.hk-pillar {
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    text-align: center;
    transition: all 0.25s ease;
}
.hk-pillar:hover {
    border-color: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.06);
    transform: translateY(-2px);
}
.hk-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.25rem;
}
.hk-pillar-icon.blue { background: #eef1ff; color: var(--primary); }
.hk-pillar-icon.green { background: #ecfdf5; color: #059669; }
.hk-pillar-icon.orange { background: #fff7ed; color: #ea580c; }
.hk-pillar-icon.purple { background: #f3f0ff; color: #7c3aed; }
.hk-pillar h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.hk-pillar p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* --- Metrics --- */
.hk-metrics {
    padding: 4rem 0;
    background: var(--primary);
    color: #fff;
}
.hk-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}
.hk-metric-value {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}
.hk-metric-label {
    font-size: 0.875rem;
    opacity: 0.85;
    font-weight: 500;
}

/* --- Solutions --- */
.hk-solutions {
    padding: 5rem 0;
    background: #f8fafc;
}
.hk-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.hk-solution-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    transition: all 0.25s ease;
}
.hk-solution-card:hover {
    border-color: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.06);
}
.hk-solution-logo {
    width: 120px;
    height: 90px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
}
.hk-solution-card-wide {
    grid-column: 1 / -1;
}
.hk-solution-card-inactive {
    opacity: 0.5;
}
.hk-solution-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.hk-solution-icon.blue { background: #eef1ff; color: var(--primary); }
.hk-solution-icon.purple { background: #f3f0ff; color: #7c3aed; }
.hk-solution-icon.green { background: #ecfdf5; color: #059669; }
.hk-solution-icon.orange { background: #fff7ed; color: #ea580c; }
.hk-solution-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}
.hk-solution-body p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 0.75rem;
}
.hk-solution-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary) !important;
    text-decoration: none;
    transition: gap 0.2s ease;
}
.hk-solution-link:hover {
    gap: 0.6rem;
}

/* --- Testimonials --- */
.hk-testimonials {
    padding: 5rem 0;
    background: #ffffff;
}
.hk-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.hk-testimonial {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 2rem;
}
.hk-testimonial-stars {
    color: #f59e0b;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.hk-testimonial blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--dark);
    margin: 0 0 1.25rem;
    font-style: italic;
}
.hk-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hk-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    color: #64748b;
    flex-shrink: 0;
}
.hk-testimonial-author strong {
    display: block;
    font-size: 0.875rem;
    color: var(--dark);
}
.hk-testimonial-author span {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* --- Accompagnement (Support) --- */
.hk-support {
    padding: 5rem 0;
    background: #f8fafc;
}
.hk-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.hk-support-card {
    text-align: center;
    padding: 2rem 1.5rem;
}
.hk-support-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1.25rem;
    background: #eef1ff;
    color: var(--primary);
}
.hk-support-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.hk-support-card p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

/* --- Final CTA --- */
.hk-final-cta {
    padding: 5rem 0;
    background: #ffffff;
    text-align: center;
}
.hk-final-cta-box {
    max-width: 640px;
    margin: 0 auto;
    padding: 3.5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #3451d1 100%);
    border-radius: 16px;
    color: #fff;
}
.hk-final-cta-box h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}
.hk-final-cta-box p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.hk-final-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #ffffff;
    color: var(--primary) !important;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-decoration: none;
}
.hk-final-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* --- Section headers --- */
.hk-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.hk-section-header .section-tag {
    margin-bottom: 0.75rem;
}
.hk-section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}
.hk-section-header p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.65;
}

/* --- Responsive --- */

/* Tablet landscape */
@media (max-width: 992px) {
    .hk-hero { padding: 7rem 0 3rem; }
    .hk-hero h1 { font-size: 2.5rem; }
    .hk-hero .row { flex-direction: column; }
    .hk-hero .col-lg-6 { width: 100%; }
    .hk-hero-content { max-width: 100%; text-align: center; }
    .hk-hero-desc { max-width: 560px; margin-left: auto; margin-right: auto; }
    .hk-cta-group { justify-content: center; }
    .hk-hero-visual { margin-top: 2.5rem; height: 360px; }
    .hk-visual-backdrop { inset: 3% 5%; }
    .hk-visual-card { min-width: 220px; padding: 1rem 1.15rem; }
    .hk-vcard-1 { left: 2%; }
    .hk-vcard-2 { right: 0; }
    .hk-vcard-3 { left: 8%; }
    .hk-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .hk-solutions-grid { grid-template-columns: 1fr; }
    .hk-testimonials-grid { grid-template-columns: 1fr; }
    .hk-support-grid { grid-template-columns: 1fr; gap: 1rem; }
    .hk-support-card { padding: 1.5rem; }
    .hk-section-header { max-width: 100%; }
    .hk-section-header h2 { font-size: 2rem; }
    .hk-final-cta-box { margin: 0 1rem; }
    .hk-trust-slide img { height: 60px; }
}

/* Tablet portrait / large mobile */
@media (max-width: 768px) {
    .hk-hero { padding: 6rem 0 2.5rem; }
    .hk-hero h1 { font-size: 2rem; line-height: 1.15; }
    .hk-hero-desc { font-size: 1rem; }
    .hk-badge { font-size: 0.7rem; padding: 0.25rem 0.75rem; }
    .hk-hero-visual { height: 340px; }
    .hk-visual-backdrop { inset: 3% 8%; }
    .hk-visual-card { min-width: 200px; font-size: 0.9em; }
    .hk-vcard-1 { left: 0; }
    .hk-vcard-2 { right: 0; }
    .hk-vcard-3 { left: 5%; }
    .hk-pillars-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .hk-pillar { padding: 1.5rem 1.25rem; }
    .hk-pillar h3 { font-size: 0.95rem; }
    .hk-pillar p { font-size: 0.825rem; }
    .hk-pillar-icon { width: 48px; height: 48px; font-size: 1.1rem; }
    .hk-metrics { padding: 3rem 0; }
    .hk-metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
    .hk-metric-value { font-size: 2.25rem; }
    .hk-metric-label { font-size: 0.8rem; }
    .hk-solutions { padding: 3.5rem 0; }
    .hk-solution-card { padding: 1.5rem; }
    .hk-solution-body h3 { font-size: 1rem; }
    .hk-solution-body p { font-size: 0.825rem; }
    .hk-testimonials { padding: 3.5rem 0; }
    .hk-testimonial { padding: 1.5rem; }
    .hk-testimonial blockquote { font-size: 0.9rem; }
    .hk-support { padding: 3.5rem 0; }
    .hk-trust-slide img { height: 55px; }
    .hk-section-header h2 { font-size: 1.75rem; }
    .hk-section-header p { font-size: 0.9rem; }
    .hk-final-cta { padding: 3.5rem 0; }
    .hk-final-cta-box { padding: 2.5rem 1.5rem; }
    .hk-final-cta-box h2 { font-size: 1.5rem; }
    .hk-final-cta-box p { font-size: 0.9rem; }
    .hk-pillars { padding: 3.5rem 0; }
    .hk-cta-primary, .hk-cta-secondary { padding: 0.75rem 1.5rem; font-size: 0.9rem; }
}

/* Mobile */
@media (max-width: 576px) {
    .hk-hero { padding: 5.5rem 0 2rem; }
    .hk-hero h1 { font-size: 1.65rem; }
    .hk-hero-desc { font-size: 0.925rem; }
    .hk-hero-visual { height: auto; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; margin-top: 2rem; }
    .hk-visual-backdrop { display: none; }
    .hk-visual-card { position: static; min-width: 100%; animation: none; }
    .hk-visual-card:hover { transform: none; }
    .hk-cta-group { flex-direction: column; align-items: stretch; }
    .hk-cta-primary, .hk-cta-secondary { justify-content: center; width: 100%; }
    .hk-pillars-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .hk-pillar { display: flex; align-items: center; gap: 1rem; text-align: left; padding: 1.25rem; }
    .hk-pillar-icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1rem; border-radius: 10px; }
    .hk-pillar h3 { margin-bottom: 0.2rem; }
    .hk-pillar p { font-size: 0.8rem; }
    .hk-metrics-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 0.5rem; }
    .hk-metric-value { font-size: 1.85rem; }
    .hk-metric-label { font-size: 0.75rem; }
    .hk-solution-card { flex-direction: column; gap: 0.75rem; padding: 1.25rem; }
    .hk-solution-logo { width: 100px; height: 75px; }
    .hk-solution-icon { width: 42px; height: 42px; font-size: 1rem; }
    .hk-trust { padding: 2rem 0; }
    .hk-trust-label { font-size: 0.7rem; margin-bottom: 1.25rem; }
    .hk-trust-slide img { height: 50px; }
    .hk-testimonial-footer { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .hk-support-card { text-align: left; display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; }
    .hk-support-icon { margin: 0; flex-shrink: 0; width: 44px; height: 44px; font-size: 1.1rem; }
    .hk-support-card h3 { font-size: 0.95rem; }
    .hk-support-card p { font-size: 0.8rem; }
    .hk-final-cta-box { padding: 2rem 1.25rem; border-radius: 12px; }
    .hk-final-cta-box h2 { font-size: 1.35rem; }
    .hk-final-cta-box p { font-size: 0.85rem; margin-bottom: 1.5rem; }
    .hk-final-cta-btn { font-size: 0.875rem; padding: 0.75rem 1.5rem; }
    .hk-section-header h2 { font-size: 1.5rem; }
    .hk-section-header p { font-size: 0.85rem; }
}

/* Small mobile */
@media (max-width: 375px) {
    .hk-hero { padding: 5rem 0 1.5rem; }
    .hk-hero h1 { font-size: 1.45rem; }
    .hk-hero-desc { font-size: 0.875rem; }
    .hk-badge { font-size: 0.65rem; }
    .hk-metric-value { font-size: 1.6rem; }
    .hk-section-header h2 { font-size: 1.35rem; }
    .hk-trust-slide img { height: 45px; }
    .hk-final-cta-box h2 { font-size: 1.2rem; }
}

/* ===== ABOUT PAGE V2 ===== */

/* Hero compact */
.hk-about-hero {
    padding: 8rem 0 3rem;
    background: #fff;
    text-align: center;
}
.hk-about-hero h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.025em;
    margin-bottom: 0.75rem;
}
.hk-about-hero h1 span { color: var(--primary); }
.hk-about-hero p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Valeurs */
.hk-values {
    padding: 4.5rem 0;
    background: #f8fafc;
}
.hk-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.hk-value-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}
.hk-value-card:hover {
    border-color: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.06);
}
.hk-value-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    background: #eef1ff;
    color: var(--primary);
}
.hk-value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.hk-value-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Équipe */
.hk-team {
    padding: 5rem 0;
    background: #fff;
}
.hk-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* Card CEO — pleine largeur */
.hk-team-card-ceo {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.hk-ceo-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid #eef1ff;
}
.hk-ceo-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
}
.hk-ceo-info .hk-team-role {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: block;
}
.hk-ceo-info p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Cards membres */
.hk-team-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}
.hk-team-card:hover {
    border-color: rgba(67, 97, 238, 0.15);
    box-shadow: 0 8px 30px rgba(67, 97, 238, 0.06);
}
.hk-team-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 2px solid #eef1ff;
}
.hk-team-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.15rem;
}
.hk-team-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: block;
    margin-bottom: 0.6rem;
}
.hk-team-bio {
    font-size: 0.825rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 1rem;
}
.hk-team-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    background: #eef1ff;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hk-team-contact-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* CTA */
.hk-about-cta {
    padding: 4rem 0;
    background: #f8fafc;
}
.hk-about-cta-box {
    background: var(--primary);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
}
.hk-about-cta-box h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}
.hk-about-cta-box p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hk-about-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    background: #fff;
    color: var(--primary) !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}
.hk-about-cta-btn:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ============================
   Page Case Studies
   ============================ */
.hk-cs-section {
    padding: var(--space-xl) 0;
    background: #fafbfc;
}

/* Featured Case Study */
.hk-cs-featured {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hk-cs-featured:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.hk-cs-featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 2.5rem;
    background: #fff !important;
    border-right: 1px solid #f1f5f9;
}

.hk-cs-featured-logo {
    max-width: 280px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.06));
}

.hk-cs-featured-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hk-cs-featured-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hk-cs-featured-body p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.hk-cs-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.hk-cs-stat {
    display: flex;
    flex-direction: column;
}

.hk-cs-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.hk-cs-stat span {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

/* Case Studies Grid */
.hk-cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.hk-cs-card {
    background: var(--white);
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.hk-cs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
    color: inherit;
    text-decoration: none;
}

.hk-cs-card-img {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff !important;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
}

.hk-cs-card-logo {
    max-width: 160px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.06));
}

.hk-cs-card-logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.hk-cs-card-icon {
    font-size: 2.5rem;
    color: #7c3aed;
    opacity: 0.6;
}

.hk-cs-card-body {
    padding: 1.25rem;
}

.hk-cs-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    margin-bottom: 0.65rem;
}

.hk-cs-badge.blue { background: #eef1ff; color: #4361ee; }
.hk-cs-badge.green { background: #ecfdf5; color: #059669; }
.hk-cs-badge.purple { background: #f3f0ff; color: #7c3aed; }
.hk-cs-badge.cyan { background: #ecfeff; color: #0891b2; }

.hk-cs-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.hk-cs-card p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.hk-cs-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap 0.2s ease;
}

.hk-cs-card:hover .hk-cs-link,
.hk-cs-featured:hover .hk-cs-link {
    gap: 0.6rem;
}

.hk-cs-link .fa-arrow-right {
    font-size: 0.65rem;
}

@media (max-width: 992px) {
    .hk-cs-featured {
        grid-template-columns: 1fr;
    }
    .hk-cs-featured-visual {
        min-height: 200px;
        padding: 2rem;
    }
    .hk-cs-featured-body {
        padding: 1.75rem;
    }
    .hk-cs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hk-cs-featured-body h2 {
        font-size: 1.25rem;
    }
    .hk-cs-stats {
        gap: 1.25rem;
    }
    .hk-cs-stat strong {
        font-size: 1.25rem;
    }
}

@media (max-width: 576px) {
    .hk-cs-grid {
        grid-template-columns: 1fr;
    }
    .hk-cs-featured-body {
        padding: 1.25rem;
    }
    .hk-cs-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Section headers */
.hk-section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.hk-section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}
.hk-section-header p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    background: #eef1ff;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hk-about-hero h1 { font-size: 2.25rem; }
    .hk-values-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-team-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-team-card-ceo { flex-direction: column; text-align: center; gap: 1.5rem; padding: 2rem; }
    .hk-ceo-photo { width: 120px; height: 120px; }
}
@media (max-width: 768px) {
    .hk-about-hero { padding: 6rem 0 2.5rem; }
    .hk-about-hero h1 { font-size: 1.85rem; }
    .hk-about-hero p { font-size: 1rem; }
    .hk-values { padding: 3.5rem 0; }
    .hk-team { padding: 3.5rem 0; }
    .hk-team-grid { grid-template-columns: repeat(2, 1fr); }
    .hk-section-header h2 { font-size: 1.75rem; }
}
@media (max-width: 576px) {
    .hk-about-hero h1 { font-size: 1.6rem; }
    .hk-values-grid { grid-template-columns: 1fr; }
    .hk-team-grid { grid-template-columns: 1fr; }
    .hk-team-card-ceo { padding: 1.5rem; }
    .hk-ceo-photo { width: 100px; height: 100px; }
    .hk-about-cta-box { padding: 2rem 1.25rem; }
    .hk-about-cta-box h2 { font-size: 1.35rem; }
}

/* ============================
   Page 404
   ============================ */
.hk-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.hk-404-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.hk-404-visual {
    flex-shrink: 0;
}

.hk-404-img {
    width: 320px;
    height: 320px;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hk-404-text {
    display: flex;
    flex-direction: column;
}

.hk-404-code {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: #eef1ff;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    width: fit-content;
}

.hk-404 h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.hk-404 p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.hk-404-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hk-404-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hk-404-btn-primary:hover {
    background: var(--dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.hk-404-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: var(--dark);
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    text-decoration: none;
}

.hk-404-btn-secondary:hover {
    background: #f8fafc;
    color: var(--primary);
    text-decoration: none;
    border-color: var(--primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hk-404 {
        padding: 6rem 0 3rem;
    }
    .hk-404-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    .hk-404-img {
        width: 220px;
        height: 220px;
    }
    .hk-404 h1 {
        font-size: 1.5rem;
    }
    .hk-404-code {
        margin-left: auto;
        margin-right: auto;
    }
    .hk-404-actions {
        justify-content: center;
    }
}

.hk-legal-hero {
    padding: 8rem 0 2rem;
    background: #fff;
    text-align: center;
}
.hk-legal-hero h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}
.hk-legal-updated {
    font-size: 0.85rem;
    color: #94a3b8;
}
.hk-legal {
    padding: 2rem 0 4rem;
    background: #fff;
}
.hk-legal-content {
    max-width: 760px;
    margin: 0 auto;
}
.hk-legal-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}
.hk-legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin: 1.5rem 0 0.75rem;
}
.hk-legal-content p,
.hk-legal-content li {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
}
.hk-legal-content ul {
    padding-left: 1.25rem;
    margin-bottom: 1rem;
}
.hk-legal-content li {
    margin-bottom: 0.35rem;
}
.hk-todo {
    background: #fef3c7;
    color: #92400e;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
}
.hk-legal-back {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}
.hk-legal-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: var(--primary);
    color: #fff !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}
.hk-legal-back a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 97, 238, 0.3);
}
@media (max-width: 768px) {
    .hk-legal-hero { padding: 6rem 0 1.5rem; }
    .hk-legal-hero h1 { font-size: 1.75rem; }
}
