/* ============================================================
   GSR TECHNOLOGY — Landing Page Premium
   Design System & Styles Principaux
   ============================================================ */

/* ── Police custom GSR Technology (fournie par le client) ─── */
@font-face {
  font-family: 'GSR Technology';
  src: url('../assets/fonts/gsrtechnology.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Classe utilitaire — application à définir plus tard avec le client */
.font-gsr {
  font-family: 'GSR Technology', var(--font-display);
}

/* ── Variables & Tokens ─────────────────────────────────── */
:root {
  /* Palette de marque */
  --color-navy:       #1a2a4a;
  --color-navy-deep:  #0f1e38;
  --color-navy-mid:   #1e3560;
  --color-teal:       #3ab5c6;
  --color-teal-light: #5ecfdf;
  --color-rose:       #c4a0a8;
  --color-rose-light: #d4b8be;
  --color-white:      #ffffff;
  --color-off-white:  #f4f6f9;
  --color-text:       #1a2a4a;
  --color-text-muted: #5a6a8a;
  --color-border:     rgba(26, 42, 74, 0.1);

  /* Dégradé de marque */
  --gradient-brand:   linear-gradient(135deg, #3ab5c6 0%, #1a2a4a 55%, #c4a0a8 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(58,181,198,0.15) 0%, rgba(26,42,74,0.05) 55%, rgba(196,160,168,0.15) 100%);
  --gradient-hero:    linear-gradient(160deg, #1e3560 0%, #1a2a4a 60%, #1a2a4a 80%, #2a2038 100%);
  --gradient-dark:    linear-gradient(180deg, #0f1e38 0%, #1a2a4a 100%);

  /* Typographie */
  --font-display:     'Roboto', system-ui, sans-serif;
  --font-body:        'Roboto', 'Inter', system-ui, sans-serif;

  /* Espacements */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   2rem;
  --space-lg:   4rem;
  --space-xl:   6rem;
  --space-2xl:  10rem;

  /* Rayons */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  /* Ombres */
  --shadow-sm:  0 2px 8px rgba(26,42,74,0.08);
  --shadow-md:  0 8px 32px rgba(26,42,74,0.12);
  --shadow-lg:  0 24px 64px rgba(26,42,74,0.18);
  --shadow-glow: 0 0 60px rgba(58,181,198,0.15);

  /* Glossy — glass morphism tokens */
  --glass-bg:          rgba(255,255,255,0.07);
  --glass-bg-light:    rgba(255,255,255,0.72);
  --glass-border:      rgba(255,255,255,0.14);
  --glass-border-light:rgba(26,42,74,0.09);
  --glass-blur:        blur(18px);
  --glass-blur-heavy:  blur(28px);
  --glass-shadow:      0 8px 32px rgba(26,42,74,0.14), inset 0 1px 0 rgba(255,255,255,0.18);
  --glass-shadow-dark: 0 16px 48px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
  --glass-highlight:   inset 0 1px 0 rgba(255,255,255,0.22);

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast:   200ms;
  --duration-base:   400ms;
  --duration-slow:   700ms;
}

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

html {
  font-size: 16px;
  /* scroll-behavior géré par JS uniquement, pas en CSS global */
  background-color: var(--color-navy-deep);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ── Page Loader ────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--color-navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 80px;
  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); }
}

/* ── Header / Navigation ────────────────────────────────── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-smooth), border-color 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

/* Stack flex items above background pseudo */
#header > * {
  position: relative;
  z-index: 1;
}

#header.scrolled {
  /* Pas de changement de padding/taille → logo et CTA restent à la même position */
  background: #242A58;
  border-bottom-color: rgba(255,255,255,0.05);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.header-logo {
  height: 56px;
  width: auto;
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) var(--ease-smooth);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-teal);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-link:hover {
  color: var(--color-white);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--duration-fast);
  background: rgba(255,255,255,0.08);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, #3ab5c6 0%, #2a98a8 100%);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(58,181,198,0.18), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4dc8d8 0%, #3ab5c6 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(58,181,198,0.22), inset 0 1px 0 rgba(255,255,255,0.22);
}

.btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(58,181,198,0.1);
  border-color: var(--color-teal);
  color: var(--color-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,181,198,0.15), inset 0 1px 0 rgba(255,255,255,0.18);
}

.btn-secondary-dark {
  background: var(--color-navy);
  color: var(--color-white);
  border: 1.5px solid var(--color-navy);
  box-shadow: 0 4px 16px rgba(26,42,74,0.25);
}

.btn-secondary-dark:hover {
  background: var(--color-navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,42,74,0.35);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

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

.btn-header-cta {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--duration-base) var(--ease-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 30, 56, 0.98);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-smooth);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
}

.mobile-menu .nav-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-white);
}

/* ── Sections — Layout Base ─────────────────────────────── */
.section {
  position: relative;
  overflow: hidden;
}

/* Exception : la section solutions utilise position:sticky sur la nav
   => overflow:hidden sur un parent tue le sticky => on le neutralise */
#solutions {
  overflow: visible;
}

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

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-teal);
}

.section-title {
  font-family: var(--font-body);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--color-navy);
  margin-bottom: 1.5rem;
}

.section-title-white {
  color: var(--color-white);
}

.section-text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  max-width: 640px;
}

.section-text-white {
  color: rgba(255,255,255,0.72);
}

/* ── SECTION 0 — HERO ───────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--color-navy-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 1;
}

/* Ligne lumineuse glossy en haut du hero */
#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(58,181,198,0.5) 30%, rgba(255,255,255,0.3) 50%, rgba(58,181,198,0.5) 70%, transparent 100%);
  z-index: 3;
}

.hero-bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 50% 40% at 15% 35%, rgba(58,181,198,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 30% 30% at 92% 88%, rgba(196,160,168,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 50% 10%, rgba(30,53,96,0.3) 0%, transparent 70%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(58,181,198,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,181,198,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal-light);
  margin-bottom: 2rem;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(58,181,198,0.4); }
  50%       { box-shadow: 0 0 0 8px rgba(58,181,198,0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* H1 lead SEO : "Votre distributeur et intégrateur de solutions [typewriter]" */
.hero-title-lead {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 820px;
  letter-spacing: -0.015em;
}

/* "Technology" : légèrement plus clair pour créer une hiérarchie sans dégradé */
.hero-title-line2 {
  color: rgba(255,255,255,0.88);
  font-weight: 700;
}

.hero-subtitle-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-subtitle-static {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: rgba(255,255,255,0.75);
}

.hero-typewriter {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  color: var(--color-teal-light);
  min-width: 240px;
  position: relative;
}

/* Typewriter dans le H1 : hérite de la taille du H1 lead */
.hero-title-lead .hero-typewriter {
  font-size: inherit;
  font-weight: 700;
  color: var(--color-teal-light);
  display: inline-block;
  min-width: 0;
}

.hero-typewriter::after {
  content: '|';
  animation: blink 0.8s step-end infinite;
  color: var(--color-teal);
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-trust-value {
  font-family: var(--font-body);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-white);
  line-height: 1;
}

.hero-trust-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}

.hero-trust-sep {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* Filigrane icône GSR — fond droit du hero */
.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.hero-watermark-img {
  width: clamp(320px, 35vw, 560px);
  height: auto;
  opacity: 0.55;
  filter: drop-shadow(0 0 24px rgba(58,181,198,0.15));
}

.hero-scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: scrollCueFade 1s 2.5s forwards;
}

@keyframes scrollCueFade {
  to { opacity: 0.6; }
}

.scroll-cue-text {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.scroll-cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(58,181,198,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── SECTION 1 — À PROPOS ───────────────────────────────── */
#about {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual-card {
  background: var(--color-off-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  position: relative;
}

.about-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(135deg, #f0f4f8 0%, #e8eef5 100%);
}

.about-visual-placeholder-icon {
  width: 64px;
  height: 64px;
  opacity: 0.25;
}

.about-visual-placeholder-text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-visual-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: rgba(15,30,56,0.88);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--glass-shadow-dark);
}

.about-visual-badge-value {
  font-family: var(--font-body);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-teal-light);
}

.about-visual-badge-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.about-kpis {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.about-kpi-value {
  font-family: var(--font-body);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-navy);
  line-height: 1;
}

.about-kpi-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.4rem;
}

.about-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* ── SECTION 2 — SOLUTIONS (STICKY SCROLL) ──────────────── */
#solutions-intro {
  padding: var(--space-xl) 0 var(--space-md);
  background: var(--color-off-white);
  text-align: center;
}

.solutions-intro-inner {
  max-width: 700px;
  margin: 0 auto;
}

/* Solutions Sticky Container */
#solutions {
  background: var(--color-off-white);
}

.solutions-sticky-wrapper {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Navigation horizontale solutions */
.solutions-horizontal-nav {
  position: sticky;
  top: 70px;
  z-index: 10;
  padding: 1.5rem 2rem 0;
  background: rgba(244,246,249,0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border-light);
}

.solutions-nav-items {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.solutions-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.25rem;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-smooth);
  border: 1px solid transparent;
  border-bottom: 3px solid transparent;
  flex: 1;
  max-width: 220px;
}

.solutions-nav-item.active {
  background: rgba(255,255,255,0.88);
  border-color: rgba(58,181,198,0.15);
  border-bottom-color: var(--color-teal);
  box-shadow: 0 4px 16px rgba(26,42,74,0.06);
}

.solutions-nav-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(58,181,198,0.08);
  border: 1px solid rgba(58,181,198,0.12);
  transition: all var(--duration-base);
}

.solutions-nav-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  transition: color var(--duration-base);
}

.solutions-nav-item.active .solutions-nav-icon {
  background: rgba(58,181,198,0.15);
  border-color: rgba(58,181,198,0.3);
  box-shadow: 0 2px 8px rgba(58,181,198,0.2);
}

.solutions-nav-item.active .solutions-nav-icon svg {
  color: var(--color-teal);
}

.solutions-nav-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--duration-base);
  text-align: center;
  line-height: 1.3;
}

.solutions-nav-item.active .solutions-nav-label {
  color: var(--color-navy);
  font-weight: 600;
}

/* (Barre de progression solutions retirée — section commentée) */
.solutions-progress { display: none; }

/* Solution Carousel */
.solution-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.solution-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease-smooth), visibility 0s linear 0.45s;
  pointer-events: none;
}

.solution-carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s var(--ease-smooth), visibility 0s linear 0s;
  pointer-events: auto;
  z-index: 1;
}

.solution-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.solution-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26,42,74,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s var(--ease-smooth);
}

.solution-carousel-dot.active {
  background: var(--color-teal);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(58,181,198,0.2);
}

/* Solutions Panels */
.solutions-panels {
  padding: 0;
}

.solution-panel {
  min-height: 0;
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  border-bottom: 1px solid rgba(26,42,74,0.14);
  max-width: 1200px;
  margin: 0 auto;
}

/* Alternance : panels pairs = visuel à droite */
.solution-panel:nth-child(even) .solution-visual {
  order: 2;
}
.solution-panel:nth-child(even) .solution-panel-content {
  order: 1;
}

.solution-panel:last-of-type {
  border-bottom: none;
}

/* CTA centré pleine largeur sous "Nos autres solutions" */
.solutions-other-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 3rem 4rem;
}

.solution-visual {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 80% 70% at 50% 50%, rgba(58,181,198,0.06) 0%, transparent 70%),
    linear-gradient(135deg, rgba(26,42,74,0.025) 0%, rgba(196,160,168,0.04) 100%);
}

.solution-visual-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.solution-visual-bg-text {
  position: absolute;
  font-size: 8rem;
  font-weight: 900;
  color: rgba(26,42,74,0.04);
  font-family: var(--font-body);
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.solution-visual-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #4dc8d8 0%, #1a2a4a 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 24px rgba(58,181,198,0.3), inset 0 1px 0 rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.15);
}

.solution-visual-icon svg {
  width: 36px;
  height: 36px;
  color: white;
}

.solution-visual-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
}

.solution-panel-content {
  max-width: 600px;
}

.solution-panel-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 1rem;
  padding: 0.4rem 0.9rem;
  background: rgba(58,181,198,0.08);
  border-radius: 50px;
  border: 1px solid rgba(58,181,198,0.15);
}

.solution-panel-title {
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
}

.solution-panel-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.solution-panel-result {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(58,181,198,0.06);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-teal);
  font-size: 0.9rem;
  color: var(--color-navy);
  font-style: italic;
  margin-bottom: 2rem;
}

.solution-panel-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── SECTION 3 — SECTEURS ───────────────────────────────── */
#sectors {
  padding: var(--space-2xl) 0;
  background: var(--color-navy-deep);
  position: relative;
  overflow: hidden;
}

.sectors-bg-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(58,181,198,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(196,160,168,0.06) 0%, transparent 60%);
}

.sectors-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.sector-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  transition: all var(--duration-base) var(--ease-out);
  cursor: default;
  position: relative;
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-dark);
}

.sector-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-brand-soft);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.sector-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(58,181,198,0.3);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(58,181,198,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(58,181,198,0.2);
  box-shadow: 0 4px 12px rgba(58,181,198,0.15), inset 0 1px 0 rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.sector-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-teal-light);
}

.sector-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.4rem;
  position: relative;
  z-index: 1;
}

.sector-desc {
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.45);
  position: relative;
  z-index: 1;
}

/* ── SECTION 4 — VALEUR AJOUTÉE ─────────────────────────── */
#value {
  padding: var(--space-2xl) 0;
  background:
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(58,181,198,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(196,160,168,0.06) 0%, transparent 60%),
    var(--color-white);
  position: relative;
}

.value-header {
  text-align: center;
  margin-bottom: 5rem;
}

/* ── Bento moderne 4 blocs (2x2 avec accent cards larges) ── */
.value-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  position: relative;
  padding: 2.5rem 2.25rem 2.25rem;
  border-radius: var(--radius-xl);
  background: var(--color-white);
  border: 1px solid rgba(26,42,74,0.08);
  box-shadow: 0 4px 20px rgba(26,42,74,0.04);
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* Numéro géant en watermark décalé */
.value-card-num {
  font-family: var(--font-body);
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(26,42,74,0.12);
  position: absolute;
  top: -0.4rem;
  right: 1.25rem;
  z-index: 0;
  pointer-events: none;
  transition: -webkit-text-stroke 0.5s var(--ease-out), color 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

/* Petit indicateur (point) avec ligne, en haut à gauche */
.value-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.value-card-mark {
  width: 32px;
  height: 4px;
  background: var(--color-teal);
  border-radius: 2px;
  transform-origin: left;
  transition: width 0.5s var(--ease-out), background 0.5s var(--ease-out);
}

.value-card-title {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.value-card-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.value-card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
}

.value-card-kw {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-teal);
  border-top: 1px solid rgba(58,181,198,0.18);
  padding-top: 1rem;
  position: relative;
  z-index: 1;
}

/* Cards "large" — span 2 colonnes avec layout horizontal subtil */
.value-card-large {
  padding: 3rem 2.5rem 2.5rem;
}

.value-card-large .value-card-num {
  font-size: clamp(6rem, 11vw, 12rem);
}

.value-card-large .value-card-title {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  max-width: 80%;
}

/* Card "accent" — bloc 04 inversé navy/teal pour rupture visuelle */
.value-card-accent {
  background: linear-gradient(135deg, #1e3560 0%, #1a2a4a 60%, #142547 100%);
  border-color: transparent;
  color: var(--color-white);
}

.value-card-accent .value-card-title {
  color: var(--color-white);
}

.value-card-accent .value-card-title em {
  background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-rose-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.value-card-accent .value-card-text {
  color: rgba(255,255,255,0.72);
}

.value-card-accent .value-card-num {
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
}

.value-card-accent .value-card-mark {
  background: var(--color-teal-light);
}

.value-card-accent .value-card-kw {
  color: var(--color-teal-light);
  border-top-color: rgba(58,181,198,0.3);
}

/* Hover */
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(26,42,74,0.12);
  border-color: rgba(58,181,198,0.3);
}

.value-card:hover .value-card-mark {
  width: 56px;
}

.value-card:hover .value-card-num {
  -webkit-text-stroke: 1.5px rgba(58,181,198,0.4);
  transform: scale(1.04);
}

.value-card-accent:hover {
  border-color: rgba(58,181,198,0.4);
  box-shadow: 0 24px 56px rgba(15,30,56,0.35);
}

.value-card-accent:hover .value-card-num {
  -webkit-text-stroke: 1.5px rgba(94,207,223,0.35);
}

/* ── SECTION 5 — ÉQUIPE ─────────────────────────────────── */
#team {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.team-bg-accent {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58,181,198,0.06) 0%, transparent 70%);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.team-content {
  position: relative;
  z-index: 1;
}

.team-visuals {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.team-photo-single {
  width: 100%;
  max-width: 480px;
}

.team-photo-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8eef5 0%, #dde5ef 100%);
  position: relative;
  box-shadow: 0 16px 48px rgba(26,42,74,0.18);
}

.team-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem;
  background: linear-gradient(to top, rgba(15,30,56,0.85) 0%, transparent 100%);
}

.team-photo-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
}

.team-photo-role {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}

.team-values {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.team-value-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
  color: var(--color-text-muted);
}

.team-value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* ── SECTION 6 — CLIENTS & RÉALISATIONS ─────────────────── */
#clients {
  padding: var(--space-2xl) 0;
  background: var(--color-white);
}

.clients-header {
  text-align: center;
  margin-bottom: 4rem;
}

.clients-logos-track {
  overflow: hidden;
  position: relative;
  margin-bottom: 4rem;
}

.clients-logos-track::before,
.clients-logos-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

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

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

.clients-logos-inner {
  display: flex;
  gap: 3rem;
  animation: logoScroll 30s linear infinite;
  width: max-content;
}

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.client-logo-placeholder {
  width: 140px;
  height: 60px;
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.clients-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── Cases Carousel — 3 cards par vue, navigation flèches ─── */
.cases-carousel {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
  margin: 0 auto;
  max-width: 1300px;
}

.cases-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.55s var(--ease-out);
  will-change: transform;
}

.cases-carousel .case-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cases-carousel-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(26,42,74,0.12);
  background: rgba(255,255,255,0.96);
  color: var(--color-navy);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(26,42,74,0.14);
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cases-carousel-arrow:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 8px 24px rgba(58,181,198,0.4);
  transform: translateY(-50%) scale(1.08);
}

.cases-carousel-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.cases-carousel-arrow svg {
  width: 22px;
  height: 22px;
}

.cases-carousel-arrow-prev {
  left: 6px;
}
.cases-carousel-arrow-next {
  right: 6px;
}

.cases-carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.75rem;
}

.cases-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26,42,74,0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.cases-carousel-dot.active {
  background: var(--color-teal);
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(58,181,198,0.2);
}

.case-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(26,42,74,0.08);
  background: rgba(255,255,255,0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.case-card:hover {
  box-shadow: 0 20px 56px rgba(26,42,74,0.16), inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-6px);
  border-color: rgba(58,181,198,0.25);
  background: rgba(255,255,255,0.95);
}

.case-card-visual {
  aspect-ratio: 16/10;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(58,181,198,0.08) 0%, transparent 70%),
    linear-gradient(135deg, rgba(26,42,74,0.04) 0%, rgba(196,160,168,0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.case-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.case-card:hover .case-card-img {
  transform: scale(1.04);
}

.case-card-visual-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26,42,74,0.5);
  font-weight: 600;
  text-align: center;
  padding: 0 1rem;
}
/* Label fallback : visible uniquement si l'image ne charge pas */
.case-card-img + .case-card-visual-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Quand l'image charge : le label est caché derrière (l'image le recouvre) */
.case-card-img {
  position: relative;
  z-index: 1;
}

.case-card-body {
  padding: 1.5rem;
}

.case-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}

.case-card-title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.case-card-desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ── SECTION 7 — CHIFFRES CLÉS ──────────────────────────── */
#stats {
  padding: var(--space-2xl) 0;
  background: var(--color-navy-deep);
  position: relative;
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(58,181,198,0.06) 0%, transparent 70%);
}

.stats-header {
  text-align: center;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-dark);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

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

.stat-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(58,181,198,0.25);
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.stat-value {
  font-family: var(--font-body);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-teal-light);
  margin-bottom: 0.75rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* ── SECTION 8 — PARTENAIRES ────────────────────────────── */
#partners {
  padding: var(--space-2xl) 0;
  background: var(--color-off-white);
}

.partners-header {
  text-align: center;
  margin-bottom: 4rem;
}

.partners-intro {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  text-align: center;
}

.partners-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 2rem;
  margin-top: 1.25rem;
  text-align: left;
}

.partners-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.partners-benefit-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(58,181,198,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.partners-benefit-icon svg {
  width: 12px;
  height: 12px;
  color: var(--color-teal);
}

.partners-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo-card {
  background: rgba(255,255,255,0.85);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,42,74,0.07);
  aspect-ratio: 2/1;
  transition: all var(--duration-base) var(--ease-out);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(26,42,74,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

.partner-logo-card:hover {
  border-color: rgba(58,181,198,0.22);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 8px 28px rgba(26,42,74,0.1), inset 0 1px 0 rgba(255,255,255,1);
  transform: translateY(-3px);
}

/* ── SECTION 9 — CONTACT ────────────────────────────────── */
#contact {
  padding: var(--space-2xl) 0;
  background: var(--color-navy-deep);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 50% 60% at 0% 50%, rgba(58,181,198,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 100% 50%, rgba(196,160,168,0.06) 0%, transparent 60%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-content {
  padding-top: 1rem;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(58,181,198,0.1);
  border: 1px solid rgba(58,181,198,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-teal-light);
}

.contact-info-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
}

.contact-info-link {
  color: rgba(255,255,255,0.85);
  border-bottom: 1px dashed rgba(58,181,198,0.4);
  transition: color var(--duration-fast) var(--ease-smooth), border-color var(--duration-fast);
}

.contact-info-link:hover {
  color: var(--color-teal-light);
  border-bottom-color: var(--color-teal);
}

.contact-reassurance {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.contact-reassurance-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.contact-reassurance-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-reassurance-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.contact-reassurance-item svg {
  width: 14px;
  height: 14px;
  color: var(--color-teal);
  flex-shrink: 0;
}

/* Formulaire */
.contact-form-wrapper {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  box-shadow: var(--glass-shadow-dark);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), rgba(58,181,198,0.3), rgba(255,255,255,0.2), transparent);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
}

.form-label .required {
  color: var(--color-teal);
  margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.875rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-white);
  transition: all var(--duration-fast) var(--ease-smooth);
  outline: none;
  width: 100%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -1px 0 rgba(0,0,0,0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: rgba(58,181,198,0.55);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(58,181,198,0.12), inset 0 1px 0 rgba(255,255,255,0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--color-navy-deep);
  color: var(--color-white);
}

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

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-teal);
}

.form-checkbox-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.form-checkbox-label a {
  color: var(--color-teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* Honeypot anti-bot — invisible pour les humains */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* Feedback succès / erreur */
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback[hidden] {
  display: none;
}

.form-feedback svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.form-feedback strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.form-feedback p {
  margin: 0;
  opacity: 0.85;
}

.form-feedback--success {
  background: rgba(58, 181, 198, 0.15);
  border: 1px solid rgba(58, 181, 198, 0.35);
  color: #5ecfdf;
}

.form-feedback--success svg {
  color: #3ab5c6;
}

.form-feedback--error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #f08080;
}

.form-feedback--error svg {
  color: #e06060;
}

/* État loading du bouton */
.form-submit.is-loading {
  opacity: 0.75;
  pointer-events: none;
  cursor: not-allowed;
}

.btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Respect strict de l'attribut HTML "hidden" même si un display:flex est défini */
.btn-label[hidden],
.btn-loading[hidden],
.btn-icon[hidden] {
  display: none !important;
}

/* Animation spin pour le loader */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.spin {
  animation: spin 0.8s linear infinite;
}

/* ── FOOTER ─────────────────────────────────────────────── */
#footer {
  background: #080f1e;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-logo {
  height: 52px;
  width: auto;
  align-self: flex-start;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast);
}

.footer-social-link:hover {
  background: rgba(58,181,198,0.1);
  border-color: rgba(58,181,198,0.2);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255,0.5);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--duration-fast);
}

.footer-link:hover {
  color: var(--color-teal-light);
}

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

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  transition: color var(--duration-fast);
}

.footer-legal-link:hover {
  color: rgba(255,255,255,0.5);
}

/* ── Scroll-to-top ──────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4dc8d8 0%, #2fa8b8 100%);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(58,181,198,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-base) var(--ease-out);
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(58,181,198,0.4);
}

#scroll-top svg {
  width: 20px;
  height: 20px;
  color: white;
}

/* ── Séparateurs de section ─────────────────────────────── */
.section-divider {
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0.15;
}

.section-divider-wave {
  height: 80px;
  overflow: hidden;
  position: relative;
}

/* ── Animations GSAP (état initial) ─────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
}

/* ══════════════════════════════════════════════════════════
   AJOUTS BROCHURE 2026 — Images réelles & nouvelles sections
══════════════════════════════════════════════════════════ */

/* About — vraie photo */
.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
  display: block;
}

/* Solution panels — vraies images produits */
.solution-visual-image {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1rem 1.25rem;
  position: relative;
}

.solution-visual-image img {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 40px rgba(26,42,74,0.18));
}

.solution-visual-image .solution-visual-label {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
  font-weight: 600;
  background: rgba(255,255,255,0.95);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(58,181,198,0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(26,42,74,0.06);
}

/* ── SECTION KIOSK — Vue éclatée d'une borne ───────────── */
#expertise-kiosk {
  padding: var(--space-2xl) 0 var(--space-xl);
  background: linear-gradient(160deg, #1e3560 0%, #1a2a4a 60%, #1a2a4a 80%, #2a2038 100%);
  color: var(--color-white);
  position: relative;
  /* overflow clip = comme hidden mais autorise les tooltips à dépasser à l'écran si nécessaire */
  overflow: clip;
}

#expertise-kiosk .container {
  max-width: 1400px;
}

.kiosk-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(58,181,198,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(196,160,168,0.10) 0%, transparent 60%);
  pointer-events: none;
}

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

.kiosk-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 0;
  margin-top: -9rem;
}

.kiosk-figure {
  position: relative;
  display: inline-block;
  max-width: 100%;
  line-height: 0;
}

.kiosk-img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

/* Hotspots interactifs sur la borne */
.kiosk-hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(58,181,198,0.85);
  border: 2px solid var(--color-white);
  box-shadow: 0 0 0 4px rgba(58,181,198,0.18), 0 4px 14px rgba(0,0,0,0.35);
  transform: translate(-50%, -50%);
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast);
}

.kiosk-hotspot::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(58,181,198,0.35);
  animation: hotspotPulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes hotspotPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.kiosk-hotspot:hover,
.kiosk-hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.25);
  box-shadow: 0 0 0 6px rgba(58,181,198,0.3), 0 6px 20px rgba(0,0,0,0.4);
  outline: none;
  z-index: 5;
}

/* Tooltip / légende au niveau du point survolé */
.kiosk-hotspot-label {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15, 30, 56, 0.96);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.85rem;
  border-radius: 50px;
  white-space: nowrap;
  border: 1px solid rgba(58,181,198,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.kiosk-hotspot-label::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-top-color: rgba(15, 30, 56, 0.96);
}

.kiosk-hotspot:hover .kiosk-hotspot-label,
.kiosk-hotspot:focus-visible .kiosk-hotspot-label,
.kiosk-hotspot.is-active .kiosk-hotspot-label {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Hotspot mis en évidence (lié à la chip survolée) */
.kiosk-hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.35);
  background: var(--color-white);
  box-shadow: 0 0 0 8px rgba(58,181,198,0.35), 0 0 30px rgba(58,181,198,0.5);
}

.kiosk-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.kiosk-tag {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.82);
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--duration-base) var(--ease-out);
  cursor: pointer;
}

.kiosk-tag:hover {
  background: rgba(58,181,198,0.18);
  border-color: rgba(58,181,198,0.4);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Chip mise en évidence (survol d'un hotspot lié) */
.kiosk-tag.is-active {
  background: var(--color-teal);
  border-color: var(--color-teal-light);
  color: var(--color-white);
  font-weight: 700;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(58,181,198,0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}

/* Autres chips estompées pour focus sur l'élément hover */
.kiosk-tag.is-dimmed {
  opacity: 0.32;
  filter: blur(0.5px);
}

/* ── Stats — passage à 5 colonnes ───────────────────────── */
.stats-grid {
  grid-template-columns: repeat(5, 1fr);
}

.stats-grid .stat-value {
  font-size: 2.6rem;
}

/* ── Clients — vrais logos partenaires ─────────────────── */
.client-logo {
  width: 160px;
  height: 70px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 2px 10px rgba(26,42,74,0.05);
  transition: all var(--duration-base) var(--ease-out);
}

.client-logo:hover {
  box-shadow: 0 6px 20px rgba(26,42,74,0.1);
  transform: translateY(-2px);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}

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

/* ── Partner logo cards — vraies images ───────────────── */
.partner-logo-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.78;
  transition: filter var(--duration-base) var(--ease-out), opacity var(--duration-base) var(--ease-out);
}

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

/* ──────────────────────────────────────────────────────────
   SECTION ÉVOLUTION (frise chronologique)
   ────────────────────────────────────────────────────────── */
#evolution {
  padding: var(--space-xl) 0 var(--space-2xl);
  background: var(--color-off-white);
  position: relative;
  overflow: hidden;
}

.evolution-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Timeline alternée haut/bas, plus aérée ──────────────── */
.timeline {
  --timeline-height: 500px;
  --timeline-axis: 50%;  /* position du trait central */
  --dot-size: 18px;
  --gap-card-dot: 36px;  /* écart vertical entre card et dot */
  --card-expand: 130%;   /* élargissement card vs colonne */
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  column-gap: 0;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1rem;
  height: var(--timeline-height);
}

/* Ligne centrale qui traverse — pile sur l'axe */
.timeline-track {
  position: absolute;
  top: var(--timeline-axis);
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, rgba(58,181,198,0.18) 0%, var(--color-teal) 50%, var(--color-rose) 100%);
  border-radius: 2px;
  z-index: 0;
  transform: translateY(-50%);
}

.timeline-item {
  position: relative;
  height: 100%;
  z-index: 1;
}

/* Dot : ABSOLU centré sur l'axe — toujours pile sur la ligne */
.timeline-dot {
  position: absolute;
  top: var(--timeline-axis);
  left: 50%;
  transform: translate(-50%, -50%);
  width: var(--dot-size);
  height: var(--dot-size);
  background: var(--color-white);
  border: 3px solid var(--color-teal);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(58,181,198,0.25), 0 0 0 4px rgba(58,181,198,0.08);
  z-index: 3;
  transition: all var(--duration-base) var(--ease-out);
}

/* Connector : ABSOLU partant du dot vers la card */
.timeline-connector {
  position: absolute;
  left: 50%;
  width: 2px;
  height: var(--gap-card-dot);
  background: linear-gradient(180deg, var(--color-teal), rgba(58,181,198,0.2));
  transform: translateX(-50%);
  z-index: 1;
}

/* TOP : connector remonte de l'axe vers la card au-dessus */
.timeline-item-top .timeline-connector {
  top: calc(var(--timeline-axis) - var(--gap-card-dot));
  background: linear-gradient(180deg, rgba(58,181,198,0.2), var(--color-teal));
}

/* BOTTOM : connector descend de l'axe vers la card en-dessous */
.timeline-item-bottom .timeline-connector {
  top: var(--timeline-axis);
}

/* Card : positionnement absolu top ou bottom selon l'item */
/* Card élargie au-delà de la largeur de colonne — possible car les items
   alternent haut/bas et ne se chevauchent pas verticalement */
.timeline-card {
  background: var(--color-white);
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(26,42,74,0.08);
  text-align: center;
  width: var(--card-expand);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 6px 18px rgba(26,42,74,0.06);
  transition: all var(--duration-base) var(--ease-out);
  z-index: 2;
}

.timeline-item-top .timeline-card {
  bottom: calc(100% - var(--timeline-axis) + var(--gap-card-dot) + var(--dot-size) / 2);
}

.timeline-item-bottom .timeline-card {
  top: calc(var(--timeline-axis) + var(--gap-card-dot) + var(--dot-size) / 2);
}

.timeline-item:hover .timeline-dot {
  background: var(--color-teal);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 6px 18px rgba(58,181,198,0.4), 0 0 0 6px rgba(58,181,198,0.15);
}

.timeline-item-current .timeline-dot {
  background: var(--color-teal);
  border-color: var(--color-white);
  box-shadow: 0 4px 14px rgba(58,181,198,0.45), 0 0 0 7px rgba(58,181,198,0.18);
}

.timeline-item:hover .timeline-card {
  border-color: rgba(58,181,198,0.3);
  box-shadow: 0 14px 32px rgba(26,42,74,0.12);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-teal);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.timeline-item-current .timeline-year {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-rose) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.timeline-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.timeline-text {
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ──────────────────────────────────────────────────────────
   PARTNERS MARQUEE (défilement auto)
   ────────────────────────────────────────────────────────── */
.partners-marquee {
  overflow: hidden;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-marquee-inner {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: partnersScroll 28s linear infinite;
}

/* Trendnet : nouveau logo horizontal HD — plus besoin d'ajustement scale spécifique */
.partner-logo-card img[src*="trendnet"] {
  max-height: 60px;
}

/* Responsive cases carousel */
@media (max-width: 900px) {
  .cases-carousel .case-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}
@media (max-width: 600px) {
  .cases-carousel .case-card {
    flex: 0 0 100%;
  }
  .cases-carousel-arrow {
    width: 40px;
    height: 40px;
  }
}

.partners-marquee:hover .partners-marquee-inner {
  animation-play-state: paused;
}

@keyframes partnersScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partners-marquee .partner-logo-card {
  flex: 0 0 200px;
  width: 200px;
  aspect-ratio: 2/1;
  padding: 1.25rem 1.5rem;
}

/* Flèches de navigation manuelle du marquee */
.partners-marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(26,42,74,0.1);
  background: rgba(255,255,255,0.95);
  color: var(--color-navy);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,42,74,0.12);
  transition: all var(--duration-base) var(--ease-out);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.partners-marquee-arrow:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  box-shadow: 0 6px 20px rgba(58,181,198,0.35);
  transform: translateY(-50%) scale(1.08);
}

.partners-marquee-arrow svg {
  width: 20px;
  height: 20px;
}

.partners-marquee-arrow-prev {
  left: 0.5rem;
}
.partners-marquee-arrow-next {
  right: 0.5rem;
}

/* Quand navigation manuelle active : anime avec transition CSS au lieu de keyframes */
.partners-marquee.is-manual .partners-marquee-inner {
  animation: none;
  transition: transform 0.5s var(--ease-out);
}

/* ── Responsive — nouvelles sections ───────────────────── */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Timeline mobile/tablette : 1 colonne verticale, dots à gauche */
  .timeline {
    grid-template-columns: 1fr;
    height: auto;
    padding: 0 0 0 36px;
    gap: 1.5rem;
    max-width: 600px;
  }
  .timeline-track {
    top: 8px;
    bottom: 8px;
    left: 12px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(58,181,198,0.2), var(--color-teal) 50%, var(--color-rose));
    transform: none;
  }
  .timeline-item,
  .timeline-item-top,
  .timeline-item-bottom {
    height: auto;
    position: relative;
  }
  .timeline-dot {
    top: 24px;
    left: -24px;
    transform: translate(-50%, 0);
  }
  .timeline-item:hover .timeline-dot {
    transform: translate(-50%, 0) scale(1.2);
  }
  .timeline-connector {
    display: none;
  }
  .timeline-item-top .timeline-card,
  .timeline-item-bottom .timeline-card,
  .timeline-card {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .kiosk-img {
    max-width: 92%;
  }
  .partners-marquee .partner-logo-card {
    flex-basis: 160px;
    width: 160px;
  }
}

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

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid .stat-value {
    font-size: 2.2rem;
  }
  .kiosk-tag {
    font-size: 0.72rem;
    padding: 0.4rem 0.8rem;
  }
}

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

/* ── Large screens — limiter l'écartement du header ─────── */
@media (min-width: 1400px) {
  #header {
    padding-left: calc((100vw - 1280px) / 2 + 2rem);
    padding-right: calc((100vw - 1280px) / 2 + 2rem);
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .solutions-horizontal-nav {
    position: static;
    padding: 1rem;
  }
  .solutions-nav-items {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .solutions-nav-item {
    flex-direction: row;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-md);
    border-bottom-width: 1px;
    max-width: none;
  }
  .solutions-nav-icon {
    width: 28px;
    height: 28px;
  }
  .solutions-nav-icon svg {
    width: 16px;
    height: 16px;
  }
  .solution-panel {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 2rem;
  }
  .solution-panel:nth-child(even) .solution-visual,
  .solution-panel:nth-child(even) .solution-panel-content {
    order: unset;
  }
  .about-grid,
  .team-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .value-bento {
    grid-template-columns: 1fr;
  }
  .clients-cases {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-trust {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .hero-trust-sep {
    display: none;
  }
  .clients-cases {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .team-visuals {
    grid-template-columns: 1fr 1fr;
  }
  .about-kpis {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .about-actions {
    flex-direction: column;
  }
}

/* ══════════════════════════════════════════════════════════
   MODAL BROCHURE — Téléchargement FR/EN
══════════════════════════════════════════════════════════ */
.brochure-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
}
.brochure-modal:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0s;
}
.brochure-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 44, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.brochure-modal-panel {
  position: relative;
  z-index: 1;
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  /* Fond navy pour hériter des styles form existants (labels blancs, inputs sombres) */
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, rgba(58,181,198,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(196,160,168,0.08) 0%, transparent 60%),
    var(--color-navy-deep);
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem 2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: brochureModalIn 0.35s var(--ease-out);
}
@keyframes brochureModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.brochure-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) var(--ease-out);
  z-index: 2;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.brochure-modal-close:hover {
  background: var(--color-teal);
  color: var(--color-white);
  border-color: var(--color-teal);
  transform: rotate(90deg);
}
.brochure-modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}
.brochure-modal-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 0.5rem 0 0.75rem;
}
.brochure-modal-intro {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}
.brochure-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Sélecteur langue radio custom */
.brochure-language-group {
  border: none;
  padding: 0;
  margin: 0.5rem 0 0.25rem;
}
.brochure-language-group legend {
  margin-bottom: 0.6rem;
  padding: 0;
}
.brochure-language-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.brochure-language-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.brochure-language-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.brochure-language-option:hover {
  border-color: rgba(58,181,198,0.5);
  background: rgba(58,181,198,0.08);
  color: var(--color-white);
}
.brochure-language-option:has(input:checked) {
  border-color: var(--color-teal);
  background: rgba(58,181,198,0.15);
  color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(58,181,198,0.18);
}
.brochure-language-flag {
  font-size: 1.25rem;
  line-height: 1;
}
.brochure-submit {
  margin-top: 0.5rem;
  justify-content: center;
}

/* Icône alignée avec le texte dans le CTA (span .btn-label contient svg + texte) */
.brochure-submit .btn-label,
.brochure-submit .btn-loading {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* Prévenir le scroll body quand modal ouvert */
body.brochure-modal-open {
  overflow: hidden;
}

/* Le modal hérite des styles form globaux (labels blancs, inputs sombres)
   grâce à son fond navy — pas d'override nécessaire. */

/* Petit ajustement : les labels doivent bien s'afficher au-dessus des inputs */
.brochure-modal .form-label {
  display: block;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.75);
}
.brochure-modal .brochure-language-group legend.form-label {
  margin-bottom: 0.6rem;
}

@media (max-width: 600px) {
  .brochure-modal-panel {
    padding: 1.75rem 1.25rem 1.5rem;
  }
  .brochure-language-options {
    grid-template-columns: 1fr;
  }
}
