/* ============================================
   EverUP – Site Vitrine
   Design System & Styles
   ============================================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Couleurs */
  --navy: #070934;
  --navy-light: #212483;
  --blue-mid: #2c4b8a;
  --orange: #FF7F00;
  --orange-light: #ff9a33;
  --white: #ffffff;
  --gray-50: #f8f9fc;
  --gray-100: #f0f2f7;
  --gray-200: #e2e5ee;
  --gray-400: #9ca3b8;
  --gray-600: #636b83;
  --gray-800: #2d3348;

  /* Gradients */
  --gradient-blue: linear-gradient(135deg, #212483 0%, #2c4b8a 100%);
  --gradient-orange: linear-gradient(135deg, #ff9a33 0%, #FF7F00 100%);
  --gradient-dark: linear-gradient(135deg, #0a0b34 0%, #070934 100%);

  /* Typographie */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Espacements */
  --section-py: clamp(3rem, 6vw, 6rem);
  --container-px: clamp(1rem, 3vw, 2rem);
  --container-max: 1200px;

  /* Animations */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-out);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

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

/* ---------- Utilitaires ---------- */
.text-gradient {
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(255, 127, 0, 0.3);
}

.btn-primary:hover {
  background: var(--orange-light);
  box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out);
}

.header.scrolled {
  padding: 0.5rem 0;
}

.header.scrolled .navbar {
  box-shadow: 
    0 6px 32px rgba(0, 0, 0, 0.4),
    0 12px 48px rgba(7, 9, 52, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header .container {
  max-width: 1100px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 9, 52, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 50px;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.3),
    0 8px 40px rgba(7, 9, 52, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.navbar::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 127, 0, 0.4), rgba(255, 255, 255, 0.2), rgba(255, 127, 0, 0.3));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.navbar-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  transition: all var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-cta .btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 9, 52, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 2rem;
}

.mobile-nav.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  transition: all var(--transition-base);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
  background: rgba(255, 127, 0, 0.15);
  border-color: var(--orange);
  color: var(--orange);
  transform: scale(1.05);
}

.mobile-nav .btn-primary {
  margin-top: 1rem;
  border-color: var(--orange);
}

@media (max-width: 768px) {
  .nav-links, .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--navy);
  padding: 8rem 0 0;
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  text-align: center;
  max-width: 750px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.hero .highlight {
  position: relative;
  display: inline-block;
}

.hero .highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  right: -4px;
  height: 35%;
  background: var(--orange);
  opacity: 0.3;
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1.5rem;
  font-weight: 400;
}

.hero-subtitle strong {
  color: var(--white);
  font-weight: 700;
}

.hero-mockups {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.hero-mockup-desktop {
  width: 85%;
  animation: floatUp 1s var(--ease-out) both;
}

.hero-mockup-mobile {
  position: absolute;
  right: 5%;
  bottom: 0;
  width: 18%;
  animation: floatUp 1s 0.2s var(--ease-out) both;
}

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

/* ============================================
   CLIENTS MARQUEE
   ============================================ */
.clients {
  padding: 2.5rem 0;
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.clients::before,
.clients::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.clients::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.clients::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.logo-set {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 0 1.75rem;
}

.logo-item {
  width: 110px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(30%);
  transition: all var(--transition-base);
}

.logo-track:hover {
  animation-play-state: paused;
}

.logo-track:hover .logo-item img {
  opacity: 1;
  filter: grayscale(0%);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
}

/* ============================================
   SECTIONS COMMUNES
   ============================================ */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--gray-600);
}

.section-header p strong {
  color: var(--navy);
}

/* ============================================
   FEATURES – GRILLE MASONRY
   ============================================ */
.features {
  background: var(--gray-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
  align-items: start;
}

.features-image {
  grid-row: 1 / 3;
  border-radius: 1.5rem;
  overflow: hidden;
}

.features-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  padding: 1.75rem;
  border-radius: 1.25rem;
  transition: all var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(7, 9, 52, 0.1);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.feature-card--light {
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.feature-card--dark {
  background: var(--gradient-dark);
  color: var(--white);
}

.feature-card--dark h3 { color: var(--white); }
.feature-card--dark p { color: rgba(255, 255, 255, 0.7); }

.feature-card--orange {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, var(--orange) 200%);
  background-color: var(--orange);
}

.feature-card--orange h3 { color: var(--white); }
.feature-card--orange p { color: rgba(255, 255, 255, 0.9); }

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .features-image {
    grid-row: auto;
  }
  .feature-cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PLATFORM – Section "All-in-one"
   ============================================ */
.platform {
  background: var(--white);
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.platform-card {
  background: var(--white);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(7, 9, 52, 0.06);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.platform-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(7, 9, 52, 0.12);
}

.platform-card-img {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--gray-50);
}

.platform-card-img img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.platform-card:hover .platform-card-img img {
  transform: scale(1.05);
}

.platform-card-body {
  padding: 1.5rem;
  text-align: center;
}

.platform-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.platform-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .platform-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .platform-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
  .platform-card {
    max-width: 100%;
  }
  .platform-card-img {
    padding: 0.75rem;
    aspect-ratio: 1;
    min-height: auto;
  }
  .platform-card-img img {
    width: 70%;
    height: 70%;
  }
  .platform-card-body {
    padding: 0.75rem 0.5rem 0.875rem;
  }
  .platform-card-body h3 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
  }
  .platform-card-body p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 380px) {
  .platform-cards {
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
  .platform-card-img {
    padding: 0.5rem;
  }
  .platform-card-img img {
    width: 65%;
    height: 65%;
  }
  .platform-card-body {
    padding: 0.625rem 0.375rem 0.75rem;
  }
  .platform-card-body h3 {
    font-size: 0.85rem;
  }
  .platform-card-body p {
    font-size: 0.7rem;
  }
}

/* ============================================
   SOLUTION – Grande image
   ============================================ */
.solution {
  background: var(--navy);
  padding: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}

.solution .section-header h2 {
  color: var(--white);
}

.solution .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.solution-image {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
}

.solution-image img {
  width: 100%;
}

.solution-image--mobile {
  display: none;
}

@media (max-width: 768px) {
  .solution-image--desktop {
    display: none;
  }
  .solution-image--mobile {
    display: block;
  }
}

/* ============================================
   SOLUTIONS CARDS
   ============================================ */
.solutions {
  background: var(--navy);
  padding: 0 0 var(--section-py);
}

.solutions .section-header h2 {
  color: var(--white);
}

.solutions .section-header p {
  color: rgba(255, 255, 255, 0.6);
}

.solutions .section-header p strong {
  color: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.solution-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.solution-card-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.solution-card:hover .solution-card-img img {
  transform: scale(1.05);
}

.solution-card-body {
  padding: 1.5rem;
  text-align: center;
}

.solution-card-body h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.solution-card-body p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 1rem;
  }
  .solution-card-img {
    aspect-ratio: 1;
  }
  .solution-card-body {
    padding: 0.75rem 0.5rem 0.875rem;
  }
  .solution-card-body h3 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
  }
  .solution-card-body p {
    font-size: 0.75rem;
    line-height: 1.3;
  }
}

@media (max-width: 380px) {
  .solutions-grid {
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
  .solution-card-body {
    padding: 0.625rem 0.375rem 0.75rem;
  }
  .solution-card-body h3 {
    font-size: 0.85rem;
  }
  .solution-card-body p {
    font-size: 0.7rem;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: var(--gray-50);
  padding: var(--section-py) 0;
}

.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial-slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  animation: fadeSlide 0.6s var(--ease-out);
}

.testimonial-slide.active {
  display: flex;
}

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

.testimonial-icon {
  font-size: 3rem;
  color: var(--orange);
  margin-bottom: 1.5rem;
  line-height: 1;
}

.testimonial-quote {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--gray-800);
  font-style: italic;
  margin-bottom: 2rem;
  max-width: 650px;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
}

.testimonial-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* Contrôles du slider */
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonials-dots {
  display: flex;
  gap: 0.5rem;
}

.testimonials-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-base);
}

.testimonials-dot.active {
  background: var(--orange);
  transform: scale(1.2);
}

.testimonials-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  font-size: 1rem;
  color: var(--gray-600);
}

.testimonials-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--orange);
}

.footer-links a {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--orange);
}

.footer-contact p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--orange);
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all var(--transition-base);
}

.social-links a:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-brand img {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .social-links {
    justify-content: center;
  }
}

/* ============================================
   CTA SECTION (Call-to-action avant footer)
   ============================================ */
.cta {
  background: linear-gradient(135deg, #070934 0%, #212483 50%, #2c4b8a 100%);
  padding: var(--section-py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 127, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

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

.cta h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn-primary {
  font-size: 1.05rem;
  padding: 0.9rem 2.25rem;
}

/* ============================================
   STATS / CHIFFRES CLÉS
   ============================================ */
.stats {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: var(--gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.4;
}

.stat-item img,
.stat-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  object-fit: contain;
  display: block;
}

/* Challenges section (dark bg #0a0b34) */
.challenges {
  background: #0a0b34;
}

.challenges .section-header h2 {
  color: var(--white);
}

.challenges .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.challenges .section-header p strong {
  color: var(--white);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   SCROLL ANIMATIONS (Intersection Observer)
   ============================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }

/* ============================================
   COOKIE BAR
   ============================================ */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 1rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-out);
}

.cookie-bar.visible {
  transform: translateY(0);
}

.cookie-bar p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.cookie-bar .btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-secondary {
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

/* ============================================
   SCROLL-TO-TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(255, 127, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 900;
  font-size: 1.2rem;
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 127, 0, 0.4);
}

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

/* Navbar active link indicator */
.nav-links a.active {
  color: var(--orange);
  background: rgba(255, 127, 0, 0.08);
}

/* Hover effect on nav */
.nav-links a:hover {
  color: var(--orange);
}

/* Hero responsive */
@media (max-width: 576px) {
  .hero {
    padding: 6.5rem 0 0;
  }
  .hero-mockup-mobile {
    display: none;
  }
  .hero-mockup-desktop {
    width: 100%;
  }
}

/* Section light border separators */
.section + .section {
  border-top: 1px solid var(--gray-200);
}

.solution + .solutions {
  border-top: none;
}

/* Smooth hover for all cards generically */
.platform-card,
.solution-card,
.feature-card {
  will-change: transform;
}

/* Text selection color */
::selection {
  background: var(--orange);
  color: var(--white);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print styles */
@media print {
  .header, .cookie-bar, .scroll-top, .mobile-nav {
    display: none !important;
  }
  .hero {
    padding-top: 2rem;
  }
  .section {
    break-inside: avoid;
  }
}
