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

:root {
  --primary:      #2563EB;
  --primary-dark: #1E40AF;
  --primary-soft: #DBEAFE;
  --accent:       #3B82F6;
  --dark:         #0F172A;
  --slate:        #1E293B;
  --gray:         #64748B;
  --light-gray:   #94A3B8;
  --border:       #E2E8F0;
  --white:        #FFFFFF;
  --offwhite:     #F8FAFC;
  --section-alt:  #F1F5F9;
  --success:      #10B981;
  --font-h:       'Montserrat', sans-serif;
  --font-b:       'Inter', sans-serif;
  --max-w:        1200px;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 20px rgba(37, 99, 235, 0.08);
  --shadow-lg:    0 12px 50px rgba(37, 99, 235, 0.15);
  --shadow-xl:    0 20px 60px rgba(15, 23, 42, 0.18);
  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-h);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(15, 23, 42, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--dark);
}
.logo-mark {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-soft); }
.nav-links a.active { color: var(--primary); }

.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; display: flex; align-items: center; gap: 6px; }
.dropdown-toggle::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; transition: var(--transition); }
.dropdown:hover .dropdown-toggle::after { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
}
.dropdown-menu a i {
  width: 36px; height: 36px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 0.95rem;
}
.dropdown-menu a:hover { background: var(--offwhite); }

.btn-cta-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white) !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: var(--transition);
}
.btn-cta-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%) !important;
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding: 32px 24px;
  overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn-cta-header { margin-top: 24px; justify-content: center; }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #EFF6FF 0%, #FFFFFF 60%, #DBEAFE 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -15%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.08;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--primary-soft);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.hero-badge .pulse {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  position: relative;
}
.hero-badge .pulse::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  background: var(--success);
  opacity: 0.4;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 10px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(37, 99, 235, 0.45); }
.btn-secondary {
  background: var(--white);
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}
.browser-mockup {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: var(--transition);
}
.browser-mockup:hover { transform: rotate(0); }
.browser-bar {
  background: var(--offwhite);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #E2E8F0;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C840; }
.browser-url {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  color: var(--gray);
  font-family: monospace;
  flex: 1;
  margin-left: 12px;
}
.browser-content {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: 40px 28px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.browser-content::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 300px; height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}
.fake-h {
  height: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  margin-bottom: 12px;
  width: 70%;
}
.fake-p {
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  margin-bottom: 8px;
}
.fake-p.short { width: 60%; }
.fake-btn {
  display: inline-block;
  margin-top: 24px;
  background: var(--white);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}
.floating-card i {
  width: 36px; height: 36px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
}
.float-1 { bottom: -20px; left: -30px; animation: float 4s ease-in-out infinite; }
.float-2 { top: 20px; right: -20px; animation: float 4s ease-in-out infinite 1s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ SECTIONS ============ */
section { padding: 100px 0; }
.section-alt { background: var(--offwhite); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-head p {
  color: var(--gray);
  font-size: 1.1rem;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-soft);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary-soft), var(--white));
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.service-card .link-arrow {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card .link-arrow:hover { gap: 12px; }

/* SPLIT SECTIONS */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .split-text { order: 2; }
.split.reverse .split-visual { order: 1; }
.split-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.split-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}
.split-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.split-text p {
  color: var(--gray);
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.feature-list {
  margin: 28px 0;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--slate);
}
.feature-list li i {
  width: 28px; height: 28px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* PROCESS / TIMELINE */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.process-step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.process-num {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 1.3rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--gray); font-size: 0.92rem; }

/* VALUES / DARK SECTION */
.dark-section {
  background: var(--dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.dark-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
  border-radius: 50%;
}
.dark-section .section-head h2 { color: var(--white); }
.dark-section .section-head p { color: var(--light-gray); }
.dark-section .section-tag { background: rgba(37, 99, 235, 0.2); color: var(--accent); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}
.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.value-card:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: var(--accent);
  transform: translateY(-6px);
}
.value-card .v-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.value-card h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 12px; }
.value-card p { color: var(--light-gray); font-size: 0.95rem; }

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.price-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.price-card.featured {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.18);
  transform: scale(1.03);
}
.price-card.featured::before {
  content: 'Le plus populaire';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 100px;
  text-transform: uppercase;
}
.price-name {
  font-family: var(--font-h);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.price-amount {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}
.price-amount small { font-size: 1rem; color: var(--gray); font-weight: 500; }
.price-desc { color: var(--gray); margin: 16px 0 28px; font-size: 0.95rem; }
.price-features { margin-bottom: 32px; }
.price-features li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--slate);
}
.price-features li i { color: var(--primary); }
.price-card .btn { width: 100%; justify-content: center; }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.stars { color: #FBBF24; margin-bottom: 16px; font-size: 1rem; }
.testimonial-text {
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-weight: 700;
}
.author-name { font-weight: 700; color: var(--dark); font-size: 0.95rem; }
.author-role { color: var(--gray); font-size: 0.85rem; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}
.cta-banner .btn-primary {
  background: var(--white);
  color: var(--primary);
}
.cta-banner .btn-primary:hover { background: var(--offwhite); }

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--slate);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 1rem;
  background: var(--white);
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 8px; }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: var(--transition);
}
.info-card:hover { box-shadow: var(--shadow); border-color: var(--primary-soft); }
.info-card i {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-card h4 { font-size: 1rem; margin-bottom: 6px; }
.info-card p, .info-card a { color: var(--gray); font-size: 0.95rem; }
.info-card a:hover { color: var(--primary); }

/* FOOTER */
footer {
  background: var(--dark);
  color: var(--light-gray);
  padding: 80px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: var(--light-gray); transition: var(--transition); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { margin: 16px 0 24px; font-size: 0.95rem; line-height: 1.7; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* INNER PAGE HEADER */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #EFF6FF 0%, var(--white) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}
.page-header > .container { position: relative; }
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.page-header p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }

/* LEGAL PAGES */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-soft);
}
.legal-content p, .legal-content li {
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.8;
}
.legal-content ul { padding-left: 24px; list-style: disc; margin-bottom: 16px; }

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 24px; right: 24px;
  max-width: 520px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  z-index: 998;
  transition: bottom 0.4s ease;
}
.cookie-banner.visible { bottom: 24px; }
.cookie-banner p { font-size: 0.9rem; color: var(--slate); margin-bottom: 14px; }
.cookie-banner p a { color: var(--primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions button {
  flex: 1;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}
.cookie-accept { background: var(--primary); color: var(--white); }
.cookie-accept:hover { background: var(--primary-dark); }
.cookie-refuse { background: var(--offwhite); color: var(--slate); border: 1px solid var(--border); }

/* FLOATING CONTACT BUTTONS (mobile) */
.float-actions {
  display: none;
  position: fixed;
  bottom: 20px; right: 20px;
  z-index: 990;
  flex-direction: column;
  gap: 12px;
}
.float-actions a {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25);
  transition: var(--transition);
}
.float-actions a:hover { transform: scale(1.1); }
.float-phone { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.float-mail { background: var(--dark); }

/* ========================================
   RESPONSIVE — OPTIMISATION MOBILE MAXIMALE
   ======================================== */

/* Tablette */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split.reverse .split-text,
  .split.reverse .split-visual { order: initial; }
  .services-grid,
  .values-grid,
  .testimonials-grid,
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* MOBILE — < 768px : refonte complète pour smartphone */
@media (max-width: 768px) {

  /* Typographie mobile ajustée */
  html { font-size: 15px; }
  body { line-height: 1.55; -webkit-text-size-adjust: 100%; }

  /* Header compact */
  .site-header { background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--border); }
  .nav-wrap { height: 64px; }
  .logo { font-size: 1.25rem; gap: 8px; }
  .logo-mark { width: 34px; height: 34px; font-size: 0.95rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { top: 64px; padding: 24px 20px 100px; }
  .mobile-nav a { padding: 18px 4px; font-size: 1.05rem; }
  .mobile-nav .btn-cta-header { width: 100%; padding: 16px; font-size: 1rem; }

  /* Boutons d'action flottants — toujours visibles, accessibles au pouce */
  .float-actions { display: flex; bottom: 16px; right: 16px; gap: 10px; }
  .float-actions a { width: 54px; height: 54px; font-size: 1.25rem; box-shadow: 0 8px 24px rgba(15,23,42,0.3); }

  /* Espacements sections réduits */
  section { padding: 56px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.65rem; line-height: 1.25; letter-spacing: -0.3px; }
  .section-head p { font-size: 0.98rem; }
  .section-tag { font-size: 0.72rem; padding: 5px 12px; }

  /* HERO mobile-first */
  .hero { padding: 90px 0 50px; min-height: auto; }
  .hero::before, .hero::after { width: 400px; height: 400px; }
  .hero-grid { gap: 40px; text-align: left; }
  .hero-badge { font-size: 0.78rem; padding: 6px 12px; margin-bottom: 18px; }
  .hero h1 { font-size: 2rem; line-height: 1.15; letter-spacing: -1px; margin-bottom: 18px; }
  .hero p.lead { font-size: 1rem; margin-bottom: 28px; max-width: 100%; }
  .hero-cta { flex-direction: column; gap: 12px; margin-bottom: 32px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 16px; padding-top: 24px; flex-wrap: wrap; justify-content: space-between; }
  .hero-stats > div { flex: 1; min-width: 90px; }
  .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.78rem; }

  /* Mockup hero — masqué pour alléger sur mobile */
  .hero-visual { max-width: 100%; }
  .browser-mockup { transform: none; max-width: 360px; margin: 0 auto; }
  .browser-content { min-height: 200px; padding: 28px 20px; }
  .floating-card { display: none; }

  /* Grilles → 1 colonne pleine largeur */
  .services-grid,
  .values-grid,
  .testimonials-grid,
  .pricing-grid,
  .process-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Cartes services compactes */
  .service-card { padding: 28px 22px; }
  .service-card h3 { font-size: 1.15rem; }
  .service-card p { font-size: 0.92rem; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 16px; }

  /* Split → empilé, image au-dessus */
  .split { gap: 32px; }
  .split-text h2 { font-size: 1.55rem; }
  .split-text p { font-size: 0.98rem; }
  .feature-list li { padding: 10px 0; font-size: 0.95rem; gap: 12px; }
  .feature-list li i { width: 24px; height: 24px; font-size: 0.7rem; }

  /* Process steps */
  .process-step { padding: 24px 20px; }
  .process-num { width: 48px; height: 48px; font-size: 1.15rem; margin-bottom: 14px; }
  .process-step h3 { font-size: 1.05rem; }

  /* Values — fond noir */
  .value-card { padding: 28px 22px; }
  .value-card .v-icon { width: 50px; height: 50px; font-size: 1.25rem; margin-bottom: 16px; }
  .value-card h3 { font-size: 1.1rem; }

  /* Pricing */
  .price-card { padding: 32px 24px; }
  .price-card.featured { transform: none; margin-top: 16px; }
  .price-card.featured::before { font-size: 0.7rem; padding: 5px 14px; }
  .price-amount { font-size: 2.4rem; }
  .price-features li { padding: 8px 0; font-size: 0.92rem; }

  /* Testimonials */
  .testimonial { padding: 26px 22px; }
  .testimonial-text { font-size: 0.95rem; }

  /* CTA banner */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 1.55rem; line-height: 1.25; }
  .cta-banner p { font-size: 1rem; }

  /* Contact form */
  .contact-form { padding: 24px 18px; }
  .form-group { margin-bottom: 16px; }
  .form-group input, .form-group textarea, .form-group select {
    padding: 14px 14px;
    font-size: 16px; /* Empêche le zoom iOS au focus */
  }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .info-card { padding: 22px 20px; gap: 14px; }
  .info-card i { width: 42px; height: 42px; font-size: 1rem; }
  .info-card h4 { font-size: 0.95rem; }

  /* Page header (pages internes) */
  .page-header { padding: 110px 0 50px; }
  .page-header h1 { font-size: 1.85rem; line-height: 1.2; }
  .page-header p { font-size: 1rem; }

  /* Footer compact */
  footer { padding: 56px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 32px; text-align: center; }
  .footer-col ul li i { display: inline-block; }
  .footer-brand p { max-width: 320px; margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; font-size: 0.8rem; }

  /* Boutons généraux mobile */
  .btn { padding: 14px 22px; font-size: 0.95rem; }

  /* Cookie banner adapté */
  .cookie-banner { left: 12px; right: 12px; padding: 16px 18px; }
  .cookie-banner.visible { bottom: 84px; } /* au-dessus du bouton flottant */
  .cookie-banner p { font-size: 0.85rem; }

  /* Performance : désactive les animations lourdes sur mobile */
  .hero::before, .hero::after,
  .cta-banner::before, .cta-banner::after,
  .dark-section::before { animation: none; }

  /* Touch targets — minimum 44x44px (Apple HIG) */
  a, button { min-height: 44px; }
  .nav-links a { min-height: auto; }

  /* Évite le débordement horizontal */
  body, html { overflow-x: hidden; max-width: 100vw; }
  img, video { max-width: 100%; height: auto; }
}

/* PETIT MOBILE — < 480px */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero { padding: 80px 0 40px; }
  .hero h1 { font-size: 1.7rem; line-height: 1.18; }
  .hero p.lead { font-size: 0.95rem; }
  .hero-badge { font-size: 0.72rem; }

  .section-head h2 { font-size: 1.45rem; }
  .section-head p { font-size: 0.92rem; }

  .split-text h2 { font-size: 1.4rem; }
  .cta-banner h2 { font-size: 1.4rem; }
  .page-header h1 { font-size: 1.65rem; }

  .stat-num { font-size: 1.35rem; }
  .stat-label { font-size: 0.72rem; }

  .browser-mockup { max-width: 100%; transform: none; border-radius: 10px; }
  .browser-content { padding: 24px 18px; min-height: 180px; }

  .price-amount { font-size: 2.1rem; }
  .price-name { font-size: 0.95rem; }

  .float-actions a { width: 50px; height: 50px; font-size: 1.15rem; }

  .testimonial-text { font-size: 0.92rem; }
  .author-avatar { width: 42px; height: 42px; font-size: 0.85rem; }

  /* Désactive AOS sur très petit écran pour fluidité */
  [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* TRÈS PETIT MOBILE — < 360px (vieux iPhone SE) */
@media (max-width: 360px) {
  html { font-size: 14px; }
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.55rem; }
  .section-head h2 { font-size: 1.3rem; }
  .btn { padding: 13px 18px; font-size: 0.9rem; }
  .logo { font-size: 1.1rem; }
  .hero-stats { gap: 12px; }
}

/* MODE PAYSAGE MOBILE — éviter overlap header */
@media (max-width: 920px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .mobile-nav { padding-bottom: 40px; }
}

/* ÉCRAN TACTILE — supprime les hovers parasites */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .value-card:hover,
  .price-card:hover,
  .testimonial:hover,
  .info-card:hover,
  .process-step:hover { transform: none; }
  .btn-primary:hover, .btn-secondary:hover { transform: none; }
  .floating-card { animation: none; }
}

/* ============================================
   PREMIUM EFFECTS — Hybride business clean
   ============================================ */

/* ---------- CURSOR CUSTOM (desktop only) ---------- */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}
.cursor-ring.hover {
  width: 56px; height: 56px;
  background: rgba(37, 99, 235, 0.06);
  opacity: 1;
}
@media (hover: none) and (pointer: coarse), (max-width: 1024px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- HEADER SCROLL HIDE ---------- */
.site-header.hide-on-scroll { transform: translateY(-100%); }

/* ---------- MARQUEE / TICKER ---------- */
.marquee {
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--offwhite);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  font-family: var(--font-h);
  font-size: clamp(1.2rem, 2.2vw, 2rem);
  font-weight: 700;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  letter-spacing: -0.5px;
}
.marquee-item .dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}
.marquee-item .star {
  color: var(--primary);
  font-size: 1.4rem;
  display: inline-block;
  animation: spin 8s linear infinite;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- MANIFESTO PINNED (text reveal scroll) ---------- */
.manifesto-section {
  background: var(--white);
  padding: 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.manifesto-text {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  text-align: center;
  max-width: 1100px;
  padding: 80px 24px;
  color: var(--dark);
}
.manifesto-text .accent { color: var(--primary); }
.manifesto-text .word { display: inline-block; }

/* ---------- TEXT REVEAL ANIMATIONS ---------- */
.split-line { overflow: hidden; }
[data-reveal-chars] .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
}

/* ---------- HERO ENHANCEMENTS ---------- */
.hero-badge { transition: var(--transition); }
.hero-badge:hover { transform: scale(1.04); border-color: var(--primary); }

/* Mesh gradient en hero (supplément subtle) */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.hero-mesh::before, .hero-mesh::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.hero-mesh::before {
  top: 20%; left: 10%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4), transparent);
  animation: float-blob 14s ease-in-out infinite;
}
.hero-mesh::after {
  bottom: 10%; right: 15%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.3), transparent);
  animation: float-blob 16s ease-in-out infinite reverse;
}
@keyframes float-blob {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

/* ---------- SERVICE CARDS ENHANCED ---------- */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card .service-icon {
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1), background 0.3s, color 0.3s;
}
.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
}

/* ---------- BUTTONS PREMIUM ---------- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(120%) skewX(-20deg); }

/* ---------- SCROLL REVEAL ---------- */
[data-fade-up] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
[data-fade-up].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SECTION TAG ANIMATED ---------- */
.section-tag {
  position: relative;
  overflow: hidden;
}
.section-tag::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  transform: translateX(-100%);
  animation: tag-shine 4s ease-in-out infinite;
}
@keyframes tag-shine {
  0%, 50%, 100% { transform: translateX(-100%); }
  25%, 75% { transform: translateX(100%); }
}

/* ---------- PRICING FEATURED PULSE ---------- */
.price-card.featured {
  position: relative;
}
.price-card.featured::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 200%;
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: gradient-shift 4s ease infinite;
}
.price-card.featured:hover::after { opacity: 1; }
@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* ---------- STAT NUMBERS GRADIENT ---------- */
.stat-num[data-count] {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- LOGO MARK PULSE ---------- */
.logo-mark { transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); }
.logo:hover .logo-mark { transform: rotate(-12deg) scale(1.08); }

/* ---------- LENIS COMPATIBILITY ---------- */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* ============================================
   MOBILE COMPACT — Optimisations smartphone
   Marges aérées + carrousels horizontaux
   ============================================ */
@media (max-width: 768px) {

  /* HEADER STABLE — pas de blur, pas de hide-on-scroll, pas de stuttering */
  .site-header {
    background: var(--white) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid var(--border) !important;
    box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
    transition: none !important;
  }
  .site-header.hide-on-scroll {
    transform: none !important;
  }
  .site-header.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06) !important;
  }

  /* Sections aérées — les carrousels permettent ce confort */
  section { padding: 72px 0; }
  .section-head { margin-bottom: 44px; max-width: 100%; }
  .section-head h2 { font-size: 1.65rem; line-height: 1.2; margin-bottom: 14px; }
  .section-head p { font-size: 0.95rem; }
  .section-tag { font-size: 0.72rem; padding: 5px 13px; margin-bottom: 16px; }

  /* HERO bien spacieux */
  .hero { padding: 100px 0 60px; }
  .hero::before, .hero::after { width: 360px; height: 360px; opacity: 0.6; }
  .hero-grid { gap: 40px; }
  .hero-badge { font-size: 0.75rem; padding: 6px 13px; margin-bottom: 20px; }
  .hero h1 { font-size: 2rem; line-height: 1.15; margin-bottom: 20px; letter-spacing: -0.5px; }
  .hero p.lead { font-size: 1rem; margin-bottom: 30px; }
  .hero-cta { gap: 12px; margin-bottom: 36px; }
  .hero-cta .btn { padding: 14px 22px; font-size: 0.95rem; }
  .hero-stats { gap: 18px; padding-top: 28px; }
  .hero-stats .stat-num { font-size: 1.5rem; }
  .stat-label { font-size: 0.75rem; }

  /* Browser mockup hero confortable */
  .browser-mockup { max-width: 360px; }
  .browser-content { min-height: 200px; padding: 28px 20px; }
  .browser-bar { padding: 12px 16px; }

  /* SERVICES cards aérées */
  .services-grid { gap: 16px; }
  .service-card { padding: 32px 24px; }
  .service-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
  .service-card p { font-size: 0.95rem; margin-bottom: 20px; line-height: 1.65; }
  .service-icon { width: 52px; height: 52px; font-size: 1.3rem; margin-bottom: 18px; border-radius: 13px; }
  .service-card .link-arrow { font-size: 0.92rem; }

  /* SPLIT (image + text) bien aéré */
  .split { gap: 40px; }
  .split-text h2 { font-size: 1.55rem; margin-bottom: 18px; }
  .split-text p { font-size: 0.98rem; margin-bottom: 22px; }
  .split-visual img { aspect-ratio: 16/10; }
  .feature-list { margin: 24px 0; }
  .feature-list li { padding: 12px 0; font-size: 0.95rem; gap: 12px; }
  .feature-list li i { width: 26px; height: 26px; font-size: 0.72rem; margin-top: 2px; }

  /* PROCESS cards aérées */
  .process-grid { gap: 16px; }
  .process-step { padding: 32px 24px; }
  .process-num { width: 52px; height: 52px; font-size: 1.15rem; margin-bottom: 18px; }
  .process-step h3 { font-size: 1.1rem; margin-bottom: 10px; }
  .process-step p { font-size: 0.92rem; }

  /* DARK VALUES aéré + cercle réduit pour éviter overflow */
  .dark-section {
    padding: 72px 0;
    overflow: hidden;
    position: relative;
  }
  .dark-section::before {
    width: 360px !important;
    height: 360px !important;
    top: -20% !important;
    right: -25% !important;
  }
  .values-grid { gap: 16px; }
  .value-card { padding: 32px 24px; }
  .value-card .v-icon { width: 52px; height: 52px; font-size: 1.25rem; margin-bottom: 18px; border-radius: 13px; }
  .value-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .value-card p { font-size: 0.92rem; }

  /* PRICING bien spacieux */
  .pricing-grid { gap: 18px; }
  .price-card { padding: 36px 28px; }
  .price-card.featured { transform: none; margin-top: 14px; }
  .price-card.featured::before { font-size: 0.7rem; padding: 5px 14px; }
  .price-name { font-size: 1rem; margin-bottom: 10px; }
  .price-amount { font-size: 2.4rem; }
  .price-amount small { font-size: 0.95rem; }
  .price-desc { margin: 14px 0 26px; font-size: 0.92rem; }
  .price-features { margin-bottom: 28px; }
  .price-features li { padding: 9px 0; font-size: 0.92rem; gap: 10px; }
  .price-features li i { font-size: 0.85rem; }

  /* TESTIMONIALS aéré */
  .testimonials-grid { gap: 16px; }
  .testimonial { padding: 32px 24px; }
  .stars { font-size: 0.95rem; margin-bottom: 16px; }
  .testimonial-text { font-size: 0.95rem; margin-bottom: 22px; line-height: 1.65; }
  .author-avatar { width: 46px; height: 46px; font-size: 0.88rem; }
  .author-name { font-size: 0.95rem; }
  .author-role { font-size: 0.82rem; }

  /* CTA banner aéré + cercles décoratifs réduits pour éviter overflow */
  .cta-banner {
    padding: 60px 0;
    overflow: hidden;
    position: relative;
  }
  .cta-banner::before,
  .cta-banner::after {
    width: 280px !important;
    height: 280px !important;
    opacity: 0.7;
  }
  .cta-banner::before { top: -30%; left: -25%; }
  .cta-banner::after { bottom: -30%; right: -25%; }
  .cta-banner > .container { padding: 0 24px; }
  .cta-banner h2 { font-size: 1.55rem; line-height: 1.25; margin-bottom: 14px; padding: 0 8px; }
  .cta-banner p { font-size: 0.98rem; margin-bottom: 26px; max-width: 100%; padding: 0 8px; }
  .cta-banner .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* PAGE HEADER (sous-pages) aéré */
  .page-header { padding: 120px 0 60px; }
  .page-header::before { width: 600px; height: 320px; }
  .page-header h1 { font-size: 1.85rem; line-height: 1.18; margin-bottom: 16px; }
  .page-header p { font-size: 1rem; max-width: 100%; }
  .breadcrumb { font-size: 0.8rem; margin-bottom: 18px; }

  /* CONTACT FORM aéré */
  .contact-grid { gap: 36px; }
  .contact-form { padding: 32px 24px; }
  .form-group { margin-bottom: 18px; }
  .form-group label { font-size: 0.88rem; margin-bottom: 8px; }
  .form-group input, .form-group textarea, .form-group select { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .form-group textarea { min-height: 130px; }
  .info-card { padding: 24px 20px; gap: 14px; }
  .info-card i { width: 42px; height: 42px; font-size: 1rem; }
  .info-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
  .info-card p, .info-card a { font-size: 0.92rem; }

  /* FAQ accordion aéré */
  .faq-item { margin-bottom: 12px; }
  .faq-q { padding: 20px 22px; font-size: 1rem; gap: 18px; }
  .faq-q i { width: 30px; height: 30px; font-size: 0.8rem; }
  .faq-a-inner { padding: 0 22px 22px; font-size: 0.92rem; }
  .faq-cat { font-size: 1.3rem; margin: 40px 0 20px; padding-bottom: 14px; }
  .faq-cat:first-of-type { margin-top: 0; }

  /* COMPARE TABLE aéré */
  .compare-table th, .compare-table td { padding: 16px 18px; font-size: 0.88rem; }
  .compare-table th { font-size: 0.95rem; }
  .compare-table th:first-child { font-size: 0.75rem; }

  /* PORTFOLIO aéré */
  .portfolio-grid { gap: 16px; }
  .portfolio-card { aspect-ratio: 4/3; }
  .portfolio-content { padding: 24px; }
  .portfolio-content h3 { font-size: 1.1rem; }
  .portfolio-content p { font-size: 0.92rem; margin-bottom: 16px; }

  /* BLOG cards aérées */
  .blog-grid { gap: 18px; }
  .blog-card-content { padding: 24px; }
  .blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
  .blog-card p { font-size: 0.92rem; margin-bottom: 18px; }
  .blog-card-meta { font-size: 0.74rem; margin-bottom: 14px; }

  /* Blog featured banner — overflow fix + circle réduit */
  .blog-featured {
    padding: 36px 24px;
    margin-bottom: 40px;
    overflow: hidden;
    position: relative;
  }
  .blog-featured::before {
    width: 320px !important;
    height: 320px !important;
    top: -40% !important;
    right: -30% !important;
  }
  .blog-featured h2 { font-size: 1.45rem; line-height: 1.25; }
  .blog-featured p { font-size: 0.98rem; }
  .blog-featured .btn {
    padding: 14px 22px;
    font-size: 0.92rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* Article content lisible */
  .article-hero { padding: 110px 0 50px; }
  .article-hero h1 { font-size: 1.85rem !important; line-height: 1.18; }
  .article-content > * { margin-bottom: 20px; }
  .article-content h2 { font-size: 1.35rem !important; margin: 44px 0 16px !important; }
  .article-content p { font-size: 1rem; line-height: 1.75; }
  .article-content ul li { font-size: 0.98rem; padding-left: 24px; }
  .article-content blockquote { padding: 20px 24px; font-size: 1.05rem; margin: 32px 0; }

  /* Stats grids 4-col → 2-col aéré */
  .services-grid[style*="repeat(4"] { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }

  /* Highlight box aéré + overflow fix */
  .highlight-box {
    padding: 36px 24px;
    overflow: hidden;
    position: relative;
  }
  .highlight-box h3 { font-size: 1.35rem; margin-bottom: 14px; line-height: 1.3; }
  .highlight-box p { font-size: 0.98rem; }
  .highlight-box .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  /* FOOTER aéré */
  footer { padding: 60px 0 24px; }
  .footer-grid { gap: 36px; margin-bottom: 36px; }
  .footer-col h4 { font-size: 0.9rem; margin-bottom: 18px; }
  .footer-col li { margin-bottom: 10px; }
  .footer-col a { font-size: 0.95rem; }
  .footer-brand p { font-size: 0.95rem; margin: 16px auto 24px; }
  .footer-bottom { padding-top: 24px; font-size: 0.82rem; }
}

/* ============================================
   MOBILE HORIZONTAL CAROUSELS — Réduit le scroll vertical
   Les sections cartes deviennent swipeables horizontalement
   ============================================ */
@media (max-width: 768px) {

  /* Carrousels horizontaux pour les grids de cartes */
  .services-grid,
  .process-grid,
  .values-grid,
  .pricing-grid,
  .testimonials-grid,
  .portfolio-grid,
  .blog-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    gap: 14px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 24px;
    padding: 6px 24px 16px;
    margin: 0 -24px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
  }
  .services-grid::-webkit-scrollbar,
  .process-grid::-webkit-scrollbar,
  .values-grid::-webkit-scrollbar,
  .pricing-grid::-webkit-scrollbar,
  .testimonials-grid::-webkit-scrollbar,
  .portfolio-grid::-webkit-scrollbar,
  .blog-grid::-webkit-scrollbar {
    display: none;
    height: 0;
    width: 0;
  }

  /* Cartes prennent 82% de la largeur pour voir la suivante peek */
  .services-grid > *,
  .process-grid > *,
  .values-grid > *,
  .testimonials-grid > *,
  .blog-grid > * {
    flex: 0 0 82% !important;
    width: 82% !important;
    max-width: 82% !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  /* Pricing cards plus larges (88%) car contenu dense */
  .pricing-grid > * {
    flex: 0 0 88% !important;
    width: 88% !important;
    max-width: 88% !important;
    scroll-snap-align: center;
  }
  .pricing-card.featured {
    transform: none !important;
    margin-top: 0 !important;
  }

  /* Portfolio plus carré */
  .portfolio-grid > * {
    flex: 0 0 78% !important;
    width: 78% !important;
    max-width: 78% !important;
    scroll-snap-align: start;
  }

  /* Fade gradient sur le bord droit pour indiquer scroll horizontal */
  .services-grid,
  .process-grid,
  .values-grid,
  .pricing-grid,
  .testimonials-grid,
  .portfolio-grid,
  .blog-grid {
    -webkit-mask-image: linear-gradient(90deg, white 92%, transparent 100%);
    mask-image: linear-gradient(90deg, white 92%, transparent 100%);
  }

  /* Stats grids 4-col gardent leur layout 2x2 (pas de scroll horizontal) */
  .services-grid[style*="repeat(4"] {
    display: grid !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    grid-template-columns: repeat(2, 1fr) !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
  }
  .services-grid[style*="repeat(4"] > * {
    flex: unset !important;
    width: auto !important;
    max-width: none !important;
  }

  /* Compare table reste scrollable horizontal mais avec ses propres règles */
  .compare-wrap { padding: 0; margin: 0; }

  /* Service icon plus petit dans carousel */
  .services-grid .service-card { padding: 22px 18px; min-height: 200px; }
  .pricing-grid .price-card { min-height: auto; }

  /* CTA banner sans split horizontal */
  .cta-banner .container { padding: 0 24px; }

  /* Footer reste normal (pas de carousel) */
  .footer-grid {
    display: grid !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
  }
}

/* PETIT MOBILE — < 480px (légèrement réduit, mais aéré) */
@media (max-width: 480px) {
  section { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .section-head h2 { font-size: 1.45rem; }
  .hero { padding: 90px 0 44px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.15; }
  .hero p.lead { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-stats { gap: 14px; padding-top: 22px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.72rem; }
  .browser-mockup { max-width: 320px; }
  .browser-content { min-height: 180px; padding: 24px 18px; }
  .service-card, .value-card, .price-card, .testimonial { padding: 28px 22px; }
  .service-card h3, .value-card h3 { font-size: 1.08rem; }
  .price-amount { font-size: 2.1rem; }
  .cta-banner { padding: 60px 0; }
  .cta-banner h2 { font-size: 1.35rem; }
  .page-header { padding: 110px 0 50px; }
  .page-header h1 { font-size: 1.65rem; }
  .compare-table th, .compare-table td { padding: 13px 14px; font-size: 0.82rem; }
  footer { padding: 50px 0 20px; }
  .footer-grid { gap: 30px; margin-bottom: 28px; }
}

/* RÉDUCTION DES MOUVEMENTS — accessibilité */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-dot, .cursor-ring { display: none !important; }
}
