/* ==========================================================================
   JD-SERVICES — FEUILLE DE STYLE PRINCIPALE (style.css)
   Site vitrine B2B Premium : Administration Réseau & Infrastructure IT
   ========================================================================== */

/* --- 1. Variables & Design Tokens --- */
:root {
  --color-white: #FFFFFF;
  --color-bg-light: #F5F7FA;
  --color-border: #E5E7EB;
  --color-border-hover: #CBD5E1;
  --color-text-dark: #111111;
  --color-text-body: #374151;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  
  --color-tech-blue: #0B5FFF;
  --color-tech-blue-hover: #004BD6;
  --color-tech-blue-light: #EFF6FF;
  --color-tech-blue-glow: rgba(11, 95, 255, 0.25);
  
  --color-dark-blue: #0B1F3A;
  --color-dark-surface: #132A4A;
  --color-dark-surface-2: #1C385E;
  
  --color-success: #10B981;
  --color-success-bg: #ECFDF5;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-danger-bg: #FEF2F2;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(11, 31, 58, 0.1), 0 10px 10px -5px rgba(11, 31, 58, 0.04);
  --shadow-blue: 0 10px 25px -5px rgba(11, 95, 255, 0.25);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --header-height: 80px;
  --container-max: 1280px;
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height, 80px) + 1rem);
  -webkit-text-size-adjust: 100%;
}

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

body.modal-open {
  overflow: hidden;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* --- 3. Typography & Utilities --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }

.lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--color-tech-blue-light);
  color: var(--color-tech-blue);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mono-tag.dark {
  background: rgba(11, 95, 255, 0.2);
  color: #60A5FA;
  border: 1px solid rgba(11, 95, 255, 0.3);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 6rem 0;
}

.section-spacing-sm {
  padding: 4rem 0;
}

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

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.section-header .sub-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-tech-blue);
  background: var(--color-tech-blue-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section-header h2 {
  margin-bottom: 1rem;
}

/* --- 4. Buttons & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

.btn-primary {
  background-color: var(--color-tech-blue);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(11, 95, 255, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-tech-blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
  color: var(--color-white);
}

.btn-secondary {
  background-color: var(--color-white);
  color: var(--color-dark-blue);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-tech-blue);
  color: var(--color-tech-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-white);
}

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

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* --- 5. Header & Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid var(--color-border);
}

.site-header.header-dark-mode:not(.is-scrolled) .nav-link {
  color: var(--color-white);
}

.site-header.header-dark-mode:not(.is-scrolled) .brand-text-services {
  color: #E2E8F0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  flex-wrap: nowrap;
  gap: 1.5rem;
}

/* Brand Logo (Official JD-SERVICES Typographic Logo) */
.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.header-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Bascule intelligente logo blanc / logo sombre selon l'état du header */
.site-header.header-dark-mode:not(.is-scrolled) .header-logo-img.logo-white {
  display: block;
}
.site-header.header-dark-mode:not(.is-scrolled) .header-logo-img.logo-dark {
  display: none;
}

.site-header.is-scrolled .header-logo-img.logo-white,
.site-header:not(.header-dark-mode) .header-logo-img.logo-white {
  display: none;
}

.site-header.is-scrolled .header-logo-img.logo-dark,
.site-header:not(.header-dark-mode) .header-logo-img.logo-dark {
  display: block;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  display: block;
  margin-bottom: 1.25rem;
}

/* Navigation Links — Toujours sur une seule et même ligne */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.3vw, 1.6rem);
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-item {
  position: relative;
  flex-shrink: 0;
}

.nav-link {
  font-size: clamp(0.82rem, 0.88vw, 0.92rem);
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 0.5rem 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-tech-blue);
}

.nav-link-chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link-chevron {
  transform: rotate(180deg);
}

/* Mega-Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 1.75rem;
  min-width: 640px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 1050;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

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

.mega-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--color-tech-blue-light);
  color: var(--color-tech-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mega-icon svg {
  width: 20px;
  height: 20px;
}

.mega-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.15rem;
}

.mega-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: transparent;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-dark);
  transition: all var(--transition-normal);
}

.header-dark-mode:not(.is-scrolled) .mobile-toggle span {
  background-color: var(--color-white);
}

/* --- 6. Hero Section --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 8.5rem 0 5.5rem;
  background-color: var(--color-dark-blue);
  color: var(--color-white);
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  filter: saturate(1.2) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.82) 55%, rgba(11, 95, 255, 0.4) 100%);
  z-index: 2;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  z-index: 3;
}

.hero-container {
  position: relative;
  z-index: 5;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  min-width: 0;
}

.hero-content {
  max-width: 660px;
  min-width: 0;
  width: 100%;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(11, 95, 255, 0.2);
  border: 1px solid rgba(11, 95, 255, 0.5);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.95rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #93C5FD;
  margin-bottom: 1.5rem;
  max-width: 100%;
  white-space: normal;
  box-sizing: border-box;
}

.hero-badge-pill span:not(.pulse-dot) {
  white-space: normal;
  word-break: break-word;
  line-height: 1.35;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
  animation: pulseLight 2s infinite;
}

.hero-title {
  color: var(--color-white);
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .text-gradient-blue {
  background: linear-gradient(135deg, #60A5FA 0%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

/* Indicators bar */
.hero-indicators {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-indicator-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #E2E8F0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-indicator-item svg {
  color: #60A5FA;
  width: 16px;
  height: 16px;
}

/* Hero Network SVG Interactive Card */
.hero-visual {
  position: relative;
}

.tech-window {
  background: rgba(19, 42, 74, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(11, 95, 255, 0.2);
}

.tech-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.25rem;
  min-height: 38px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.window-title {
  font-family: var(--font-mono);
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  flex: 1 1 auto;
  line-height: 1;
}

.window-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.1vw, 0.72rem);
  font-weight: 600;
  color: #34D399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  flex: 0 0 auto;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* --- 7. Intro Section --- */
.intro-section {
  background-color: var(--color-white);
  position: relative;
  z-index: 10;
}

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

.intro-graphic-card {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.intro-metrics-row {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.intro-metric-item {
  flex: 1 1 120px;
}

/* --- 8. Services Grid (12 Expertises) --- */
.services-section {
  background-color: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-tech-blue);
  box-shadow: var(--shadow-xl);
}

.service-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(8px);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.service-card-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-tech-blue);
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-tech-blue);
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 0.75rem;
  color: var(--color-tech-blue-hover);
}

/* --- Architecture Diagram Window & Pipeline --- */
.architecture-window {
  background: #0B1F3A;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(11, 95, 255, 0.15);
  box-sizing: border-box;
}

.architecture-diagram-header {
  text-align: center;
  margin-bottom: 1.75rem;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.architecture-desktop-view {
  display: block;
  width: 100%;
}

.architecture-diagram-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.architecture-mobile-view {
  display: none;
}

/* Architecture Mobile Pipeline Cards */
.arch-card {
  width: 100%;
  max-width: 440px;
  background: rgba(19, 42, 74, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  text-align: left;
}

.arch-card-wan {
  border-color: rgba(148, 163, 184, 0.4);
}
.arch-card-fw {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.08);
}
.arch-card-router {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(56, 189, 248, 0.08);
}
.arch-card-switch {
  border-color: rgba(96, 165, 250, 0.6);
  background: rgba(11, 95, 255, 0.12);
}

.arch-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.arch-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #94A3B8;
}
.arch-badge-wan { color: #94A3B8; }
.arch-badge-fw { color: #FCA5A5; }
.arch-badge-router { color: #7DD3FC; }
.arch-badge-switch { color: #93C5FD; }

.arch-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.arch-pill-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.arch-pill-shield {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.arch-pill-vpn {
  background: rgba(56, 189, 248, 0.15);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.arch-pill-switch {
  background: rgba(96, 165, 250, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.arch-card-main {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.arch-card-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-card-title {
  color: var(--color-white);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0 0 0.25rem 0;
}

.arch-card-sub {
  color: #94A3B8;
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0;
}

/* Architecture Flow Connector (vertical animated line) */
.arch-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.6rem 0;
  position: relative;
  width: 100%;
}

.arch-flow-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, #0B5FFF 0%, #38BDF8 100%);
  position: relative;
}

.arch-flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
  margin: 2px 0;
}

.arch-flow-text {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #64748B;
  letter-spacing: 0.03em;
  margin-top: 3px;
  text-align: center;
}

/* 3 VLAN boxes grid on Mobile */
.arch-vlans-mobile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  width: 100%;
  max-width: 440px;
  box-sizing: border-box;
}

.arch-vlan-box {
  background: #0F172A;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
}

.arch-vlan-box.box-servers {
  border: 1px solid #38BDF8;
}
.arch-vlan-box.box-workstations {
  border: 1px solid #10B981;
}
.arch-vlan-box.box-wifi {
  border: 1px solid #F59E0B;
}

.vlan-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.box-servers .vlan-tag { color: #38BDF8; }
.box-workstations .vlan-tag { color: #10B981; }
.box-wifi .vlan-tag { color: #F59E0B; }

.vlan-title {
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 0.25rem;
}

.vlan-desc {
  color: #94A3B8;
  font-size: 0.65rem;
  line-height: 1.3;
}

/* Architecture CTA Button */
.architecture-cta-btn {
  white-space: normal !important;
  max-width: 100%;
  text-align: center;
  display: inline-flex;
}

/* --- 9. Packages M1 / M2 / M3 Section --- */
.packages-section {
  background-color: var(--color-white);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.package-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.package-card.popular {
  border-color: var(--color-tech-blue);
  box-shadow: 0 10px 30px -5px rgba(11, 95, 255, 0.15);
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-tech-blue);
  color: var(--color-white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(11, 95, 255, 0.3);
}

.package-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.package-code-tag {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-tech-blue);
  margin-bottom: 0.35rem;
}

.package-name {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.package-tagline {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.package-pricing-box {
  margin-bottom: 1.75rem;
  background: var(--color-bg-light);
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.pricing-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

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

.package-features-list {
  margin-bottom: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.package-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--color-text-body);
}

.package-feature-item svg {
  color: var(--color-tech-blue);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- 10. Comparison Table --- */
.comparison-section {
  background-color: var(--color-bg-light);
}

.table-responsive-wrap {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  background: #F8FAFC;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.comparison-table th.col-m1, 
.comparison-table th.col-m2, 
.comparison-table th.col-m3 {
  text-align: center;
  width: 22%;
}

.comparison-table th.col-m2 {
  background: #EFF6FF;
  color: var(--color-tech-blue);
}

.comparison-table td.col-m1,
.comparison-table td.col-m2,
.comparison-table td.col-m3 {
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table td.col-m2 {
  background: rgba(239, 246, 255, 0.4);
  font-weight: 600;
}

.check-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-success-bg);
  color: var(--color-success);
}

.dash-badge {
  color: var(--color-text-light);
  font-weight: bold;
}

/* --- 11. Timeline Method Section --- */
.method-section {
  background-color: var(--color-dark-blue);
  color: var(--color-white);
}

.method-section h2, .method-section h3 {
  color: var(--color-white);
}

.timeline-flow {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  position: relative;
  margin-top: 3.5rem;
}

.timeline-step {
  background: rgba(19, 42, 74, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all var(--transition-normal);
}

.timeline-step:hover {
  background: rgba(19, 42, 74, 0.95);
  border-color: var(--color-tech-blue);
  transform: translateY(-5px);
}

.timeline-number {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 0.5rem;
}

.timeline-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.timeline-desc {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.45;
}

/* --- 12. Sectors Grid --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
}

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

.industry-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.industry-card:hover .industry-card-bg {
  transform: scale(1.08);
}

.industry-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.2) 0%, rgba(11, 31, 58, 0.95) 85%);
  transition: background var(--transition-normal);
}

.industry-card:hover .industry-card-overlay {
  background: linear-gradient(180deg, rgba(11, 95, 255, 0.3) 0%, rgba(11, 31, 58, 0.98) 85%);
}

.industry-card-content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.industry-card-title {
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.industry-card-desc {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.4;
  margin-bottom: 1rem;
}

/* --- 13. FAQ Accordion --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-active {
  border-color: var(--color-tech-blue);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-text-dark);
}

.faq-trigger:hover {
  color: var(--color-tech-blue);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  color: var(--color-tech-blue);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.is-active .faq-icon-arrow {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  padding: 0 1.5rem;
}

.faq-item.is-active .faq-content {
  padding: 0 1.5rem 1.5rem;
  max-height: 600px;
}

.faq-answer {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

/* --- 14. Forms & Interactive Elements --- */
.form-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.col-full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-tech-blue);
  box-shadow: 0 0 0 3px var(--color-tech-blue-glow);
}

.form-control.is-invalid {
  border-color: var(--color-danger);
  background-color: var(--color-danger-bg);
}

.field-error {
  font-size: 0.78rem;
  color: var(--color-danger);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* --- 15. Feedback Modal --- */
.jd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  padding: 1.5rem;
}

.jd-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.jd-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 31, 58, 0.7);
  backdrop-filter: blur(6px);
}

.jd-modal-dialog {
  position: relative;
  z-index: 10;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  max-width: 580px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.jd-modal.is-active .jd-modal-dialog {
  transform: translateY(0);
}

.jd-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.modal-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-badge-icon.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
}

.modal-badge-icon.badge-error {
  background: var(--color-danger-bg);
  color: var(--color-danger);
}

.modal-title {
  font-size: 1.35rem;
  flex-grow: 1;
}

.modal-close-btn {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--color-text-muted);
}

.modal-message {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-body);
}

.modal-data-preview {
  margin-top: 1.25rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  max-height: 180px;
  overflow-y: auto;
}

.preview-table-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.preview-table {
  width: 100%;
  font-size: 0.8rem;
  border-collapse: collapse;
}

.preview-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.jd-modal-footer {
  margin-top: 1.75rem;
  text-align: right;
}

/* --- 16. Custom Cursor (Désactivé à la demande de l'utilisateur) --- */
.custom-cursor, .custom-cursor-follower {
  display: none !important;
}

/* --- 17. Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  max-width: min(480px, calc(100vw - 3rem));
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 1999;
  display: none;
  animation: slideUp 0.4s ease-out forwards;
}

.cookie-content {
  font-size: 0.88rem;
  color: var(--color-text-body);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* --- 18. Footer --- */
.site-footer {
  background-color: var(--color-dark-blue);
  color: #94A3B8;
  padding: 5rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand-col {
  max-width: 320px;
}

.footer-tagline {
  color: var(--color-white);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.75rem;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

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

.footer-link {
  font-size: 0.88rem;
  color: #94A3B8;
  transition: color var(--transition-fast);
}

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

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

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

/* --- 16. Click-to-Call & Téléphone Direct Partout --- */
.header-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: 9999px;
  background: rgba(11, 95, 255, 0.15);
  border: 1px solid rgba(11, 95, 255, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.site-header:not(.header-dark-mode) .header-phone-btn {
  color: var(--color-dark-blue);
  background: rgba(11, 95, 255, 0.08);
  border: 1px solid rgba(11, 95, 255, 0.25);
}
.header-phone-btn:hover {
  background: #0B5FFF;
  color: #FFFFFF !important;
  border-color: #0B5FFF;
  transform: translateY(-1px);
}
.header-phone-btn svg {
  width: 15px;
  height: 15px;
  stroke: #38BDF8;
  flex-shrink: 0;
  transition: stroke 0.2s ease;
}
.header-phone-btn:hover svg {
  stroke: #FFFFFF;
}

/* Hero Quick Call */
.hero-quick-call {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.35);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  font-size: 0.88rem;
  color: #CBD5E1;
}
.hero-quick-call .hero-phone-link {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-quick-call .hero-phone-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}
.hero-quick-call .hero-phone-link svg {
  width: 14px;
  height: 14px;
}
.call-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  display: inline-block;
  animation: pulse-green 1.8s infinite;
  flex-shrink: 0;
}

/* Bannière Téléphone Direct Section Contact */
.direct-phone-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-lg, 16px);
  padding: 1.25rem 1.75rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
@media (max-width: 640px) {
  .direct-phone-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
}
.direct-phone-text strong {
  display: block;
  font-size: 1.05rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
}
.direct-phone-text span {
  font-size: 0.88rem;
  color: #94A3B8;
}
.btn-phone-call {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #10B981;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.4rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn-phone-call:hover {
  background: #059669;
  transform: translateY(-2px);
  color: #FFFFFF;
}
.btn-phone-call svg {
  width: 18px;
  height: 18px;
}

/* Bouton d'appel flottant mobile (Click-to-Call FAB) */
.float-call-btn {
  display: none;
}
@media (max-width: 991px) {
  .float-call-btn {
    position: fixed;
    bottom: 20px;
    right: 18px;
    z-index: 998;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #10B981;
    color: #FFFFFF;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.02em;
    animation: pulse-phone 2.5s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .float-call-btn:active {
    transform: scale(0.95);
  }
  .float-call-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
}
@media (max-width: 576px) {
  .header-phone-btn {
    padding: 0.42rem 0.55rem;
  }
  .header-phone-btn .phone-number-text {
    display: none;
  }
  .header-phone-btn svg {
    width: 16px;
    height: 16px;
  }
}
@keyframes pulse-phone {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

