/* ==========================================================================
   MONARCH GLOBAL ENGINEERING — CHARTE OFFICIELLE CORPORATE MODERNE
   Couleurs : Bleu Marine (#0b3553, #032540) | Orange Solaire (#f37021) | Blanc & Gris Doux
   Style : Cabinet d'ingénierie et de conseil IT haut de gamme, humain et chaleureux
   Zéro cliché IA | Typographie soignée, cartes élégantes, finitions irréprochables
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --color-primary: #0b3553;
  --color-primary-dark: #032540;
  --color-primary-light: #164e75;
  --color-orange: #f37021;
  --color-orange-hover: #d95f17;
  --color-orange-light: rgba(243, 112, 33, 0.1);
  --color-bg-light: #f8f9fc;
  --color-white: #ffffff;
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  
  --shadow-sm: 0 2px 6px rgba(11, 53, 83, 0.05);
  --shadow-md: 0 8px 24px rgba(11, 53, 83, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 53, 83, 0.12);
  --shadow-hover: 0 20px 48px rgba(11, 53, 83, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --------------------------------------------------------------------------
   RESET & FONDAMENTAUX
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   PRELOADER INSTITUTIONNEL PRESTIGE MONARCH
   -------------------------------------------------------------------------- */
.monarch-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  background: radial-gradient(circle at 50% 45%, #05263f 0%, #021727 60%, #010f1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s;
  overflow: hidden;
}

.monarch-preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(243, 112, 33, 0.12) 0%, transparent 60%);
  pointer-events: none;
  animation: preloaderPulse 4s ease-in-out infinite alternate;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: scale(1);
  transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.monarch-preloader.preloader-hidden .preloader-content {
  transform: scale(1.05);
}

/* Emblème & Anneaux Concentriques */
.preloader-emblem-wrap {
  position: relative;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.preloader-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.preloader-ring-outer {
  width: 110px;
  height: 110px;
  border: 1.5px dashed rgba(243, 112, 33, 0.35);
  animation: preloaderSpinClockwise 16s linear infinite;
}

.preloader-ring-inner {
  width: 88px;
  height: 88px;
  border: 2px solid transparent;
  border-top-color: var(--color-orange);
  border-right-color: rgba(243, 112, 33, 0.5);
  animation: preloaderSpinCounter 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.preloader-logo-core {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0b3a5c 0%, #031e33 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(243, 112, 33, 0.25), inset 0 0 12px rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 3;
}

.preloader-logo-img {
  max-width: 42px;
  max-height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.preloader-monogram {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

/* Titre & Sous-titre de Marque */
.preloader-brand-title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
}

.brand-monarch {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-sub {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: #ff9d5c;
  text-transform: uppercase;
  opacity: 0.95;
}

/* Piste de progression cinétique */
.preloader-progress-track {
  width: 170px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  margin-bottom: 1.25rem;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--color-orange) 50%, #ffc091 80%, transparent 100%);
  animation: preloaderProgress 1.6s ease-in-out infinite;
}

/* Statut discret */
.preloader-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.04em;
}

.preloader-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 10px #34d399;
  animation: preloaderDotGlow 1.4s ease-in-out infinite;
}

/* Animations CSS */
@keyframes preloaderSpinClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes preloaderSpinCounter {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes preloaderDotGlow {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes preloaderPulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-container {
  width: 100%;
  max-width: 1740px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 3.5vw, 4rem);
  padding-right: clamp(1.25rem, 3.5vw, 4rem);
}

.site-header .site-container {
  max-width: 1820px;
  padding-left: clamp(1.25rem, 3vw, 3.5rem);
  padding-right: clamp(1.25rem, 3vw, 3.5rem);
}

.section-spacing {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: 0.85rem;
}

.section-tag::before {
  content: '';
  width: 12px;
  height: 2px;
  background-color: var(--color-orange);
}

.section-header-center {
  text-align: center;
  max-width: 960px;
  margin: 0 auto clamp(2.75rem, 4vw, 4.25rem);
}

.section-header-center h2 {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 1rem;
}

.section-header-center p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   BOUTONS CORPORATE REHAUSSÉS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: 0 8px 20px rgba(11, 53, 83, 0.25);
  transform: translateY(-2px);
}

.btn-orange {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.btn-orange:hover {
  background-color: var(--color-orange-hover);
  box-shadow: 0 8px 20px rgba(243, 112, 33, 0.3);
  transform: translateY(-2px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION STICKY
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.35s ease;
  padding: 1.15rem 0;
}

.site-header.scrolled {
  background: linear-gradient(135deg, rgba(2, 18, 31, 0.98) 0%, rgba(8, 41, 68, 0.98) 60%, rgba(14, 59, 96, 0.95) 100%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(2, 18, 31, 0.5), 0 1px 0 rgba(255,255,255,0.06);
  padding: 0.65rem 0;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo img,
.brand-logo-img {
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Logo : toujours le logo blanc sur fond sombre permanent */
.site-header .logo-light {
  display: block;
}
.site-header .logo-dark {
  display: none;
}
.site-header.scrolled .logo-light {
  display: block;
}
.site-header.scrolled .logo-dark {
  display: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  transition: color 0.3s ease;
}

.brand-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header.scrolled .brand-title {
  color: var(--color-white);
}

.site-header.scrolled .brand-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.main-nav-wrapper {
  display: flex;
  align-items: center;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation > .nav-item > a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.4rem 0;
  position: relative;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.25s ease;
}

.main-navigation > .nav-item > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-orange);
  transition: width 0.25s ease;
}

.main-navigation > .nav-item:hover > a::after,
.main-navigation > .nav-item.active > a::after {
  width: 100%;
}

.main-navigation > .nav-item:hover > a {
  color: #ffffff;
}

.site-header.scrolled .main-navigation > .nav-item:hover > a {
  color: var(--color-orange);
}

/* Dropdown Menu Desktop */
.nav-item.has-dropdown {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background-color: var(--color-white) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 35px rgba(2, 18, 31, 0.2);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-dropdown li a {
  display: block !important;
  padding: 0.65rem 1.25rem !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  color: var(--color-primary-dark) !important;
  text-decoration: none !important;
  border: none !important;
  background: transparent !important;
  transition: all 0.2s ease !important;
  position: relative;
}

.nav-dropdown li a::after,
.nav-item.active .nav-dropdown li a::after,
.nav-item:hover .nav-dropdown li a::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
}

.nav-dropdown li a:hover,
.nav-dropdown li a:focus {
  background-color: var(--color-orange-light) !important;
  color: var(--color-orange) !important;
  padding-left: 1.5rem !important;
}

/* Actions Header (Recherche, Contact, Burger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-search-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.header-search-btn:hover {
  border-color: var(--color-orange);
  color: #ffffff;
  background: rgba(243, 112, 33, 0.2);
  transform: translateY(-1px);
}

.header-search-btn svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.search-shortcut-badge {
  font-size: 0.68rem;
  padding: 0.15rem 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Consolas', monospace;
  font-weight: 600;
}

.header-contact-btn {
  white-space: nowrap;
  font-size: 0.88rem;
  padding: 0.65rem 1.35rem;
}

.nav-item-mobile-cta {
  display: none;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  width: 38px;
  height: 38px;
  padding: 0;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: rgba(243, 112, 33, 0.25);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.mobile-toggle .icon-hamburger {
  display: block;
}
.mobile-toggle .icon-close {
  display: none;
}

.mobile-toggle[aria-expanded="true"] {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
}
.mobile-toggle[aria-expanded="true"] .icon-hamburger {
  display: none;
}
.mobile-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

body.menu-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   HERO BANNER & SLIDER AVEC PHOTOGRAPHIES D'ÉQUIPES RÉELLES
   -------------------------------------------------------------------------- */
.hero-slider-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-primary-dark);
  background-image: 
    linear-gradient(135deg, rgba(11, 53, 83, 0.88) 0%, rgba(3, 37, 64, 0.94) 100%),
    url('../assets/img/slider-1.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 8rem 0 5rem;
  color: var(--color-white);
}

.hero-content {
  max-width: 1180px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(243, 112, 33, 0.2);
  border: 1px solid rgba(243, 112, 33, 0.4);
  color: #ffd8be;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-title .highlight-orange {
  color: var(--color-orange);
}

.hero-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 920px;
}

.hero-btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   LES 3 OFFRES D'ACCOMPAGNEMENT (CARTES ÉLÉGANTES SUR FOND CLAIR)
   -------------------------------------------------------------------------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}

.offer-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(243, 112, 33, 0.35);
}

.offer-card.featured {
  border-color: var(--color-orange);
}

.offer-card.featured::before {
  content: 'RECOMMANDÉ';
  position: absolute;
  top: 18px;
  right: -32px;
  background-color: var(--color-orange);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.3rem 2.5rem;
  transform: rotate(45deg);
}

.offer-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background-color: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.offer-card:hover .offer-icon-box {
  background-color: var(--color-orange);
  color: var(--color-white);
}

.offer-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.offer-subtitle {
  font-size: 0.88rem;
  color: var(--color-orange);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.offer-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.offer-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.check-icon {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   SECTION À PROPOS (AVEC VRAIE PHOTO ET BADGE 18+ ANS)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -25px;
  right: 25px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-left: 4px solid var(--color-orange);
}

.badge-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-dark);
  line-height: 1.3;
}

.about-content h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.about-content .lead-text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Barres de progression réelles */
.skills-progress-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-orange) 100%);
  border-radius: var(--radius-pill);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   PRODUIT PHARE : JAVIS (VITRINE LOGICIELLE OFFICIELLE)
   -------------------------------------------------------------------------- */
.javis-banner {
  background: linear-gradient(135deg, #0b3553 0%, #032540 60%, #04162b 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

/* Pôles d'Ingénierie Associés — liens lisibles sur fond sombre */
.product-linked-pole {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff9d5c;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  border: 1px solid rgba(243, 112, 33, 0.35);
  background: rgba(243, 112, 33, 0.12);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.product-linked-pole:hover {
  background: rgba(243, 112, 33, 0.28);
  border-color: rgba(243, 112, 33, 0.7);
  color: #ffb87a;
  transform: translateX(4px);
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.25);
}

.product-linked-pole svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.javis-banner::after {
  content: '';
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(243, 112, 33, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   SLIDER / CARROUSEL DES PRODUITS AMIRAUX DYNAMIQUES
   -------------------------------------------------------------------------- */
.amiral-carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  z-index: 5;
}

.amiral-tabs-track {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.amiral-nav-pill {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.82);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: var(--font-body);
}

.amiral-nav-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.amiral-nav-pill.active {
  background: var(--color-orange);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 4px 16px rgba(243, 112, 33, 0.4);
}

.amiral-pill-num {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  opacity: 0.85;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.amiral-nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.amiral-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amiral-ctrl-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: scale(1.06);
}

.amiral-dots-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amiral-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.amiral-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.amiral-dot.active {
  width: 26px;
  border-radius: 4px;
  background: var(--color-orange);
}

.amiral-slides-wrapper {
  position: relative;
  width: 100%;
}

.amiral-slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.amiral-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.javis-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.javis-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: rgba(243, 112, 33, 0.25);
  color: #ff9d5c;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.javis-title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

.javis-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.javis-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.javis-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.javis-pill svg {
  color: var(--color-orange);
}

.javis-visual-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.javis-logo-placeholder {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.javis-logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #ef4444;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.javis-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
}

.javis-stat-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-orange);
}

.javis-stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   SECTION PRODUITS PHARES & SUITES LOGICIELLES (HAUT DE PAGE)
   -------------------------------------------------------------------------- */
.produits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 2.5vw, 2.75rem);
}

.product-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 2.8vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(243, 112, 33, 0.4);
}

.product-media-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  min-height: 56px;
}

.product-logo-img {
  max-height: 52px;
  max-width: 140px;
  object-fit: contain;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-orange-light);
  color: var(--color-orange);
}

.product-title {
  font-size: 1.45rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.product-desc {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Lien réciproque Produit -> Pôle d'Ingénierie Service (Carte blanche) */
.product-linked-pole {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(11, 53, 83, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(11, 53, 83, 0.12);
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
}

.product-linked-pole:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.product-linked-pole svg {
  color: var(--color-orange);
}

/* Version haute lisibilité sur fond sombre (Bannière JAVIS / Vitrine amirale) */
.javis-banner .product-linked-pole,
.amiral-slide .product-linked-pole {
  background-color: rgba(243, 112, 33, 0.12);
  color: #ffb87a;
  border: 1px solid rgba(243, 112, 33, 0.35);
}

.javis-banner .product-linked-pole:hover,
.amiral-slide .product-linked-pole:hover {
  background-color: rgba(243, 112, 33, 0.25);
  color: #ffffff;
  border-color: var(--color-orange);
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.25);
}

.javis-banner .product-linked-pole svg,
.amiral-slide .product-linked-pole svg {
  color: var(--color-orange);
}

.product-actions-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* --------------------------------------------------------------------------
   LES 5 PÔLES DE SERVICES D'INGÉNIERIE OFFICIELS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: clamp(1.75rem, 2.5vw, 2.75rem);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 2.8vw, 2.75rem);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(243, 112, 33, 0.4);
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  margin-bottom: 1.35rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Liste des solutions / sous-services */
.service-sublist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex-grow: 1;
}

.service-sublist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.service-sublist-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

/* Lien réciproque Service -> Produit Logiciel */
.service-linked-product {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: var(--color-orange-light);
  color: var(--color-orange);
  border: 1px solid rgba(243, 112, 33, 0.25);
  margin-bottom: 1.25rem;
  text-decoration: none;
  transition: all 0.25s ease;
  width: fit-content;
}

.service-linked-product:hover {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.service-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-link:hover {
  color: var(--color-orange-hover);
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   BANNIÈRE CHIFFRES CLÉS (FOND HARDWARE BLEUTÉ ÉLÉGANT)
   -------------------------------------------------------------------------- */
.stats-banner-section {
  background: 
    linear-gradient(rgba(3, 37, 64, 0.92), rgba(11, 53, 83, 0.92)),
    url('../assets/img/page-title-bg-2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 5rem 0;
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-box {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* --------------------------------------------------------------------------
   POURQUOI NOUS CHOISIR (LES 6 PILIERS)
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--color-orange);
  box-shadow: var(--shadow-sm);
  border-top: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.why-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.6rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   PARTENAIRES & CLIENTS (LOGOS AUTHENTIQUES MONARCH)
   -------------------------------------------------------------------------- */
.clients-section {
  padding: 4rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-white);
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4.5rem);
}

.client-logo-item {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.client-logo-item img {
  max-height: 42px;
  width: auto;
  object-fit: contain;
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   FOOTER INSTITUTIONNEL BLEU MARINE PROFOND
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  margin-bottom: 4rem;
}

.footer-brand .brand-logo {
  display: inline-flex;
  align-items: center;
}

.footer-brand .brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.25rem;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-orange);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links li a:hover {
  color: var(--color-orange);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  color: var(--color-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Bouton flottant retour en haut */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background-color: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.4);
  cursor: pointer;
  z-index: 99;
  border: none;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 1300px) {
  .offers-grid,
  .produits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1100px) {
  .offers-grid,
  .produits-grid,
  .services-grid,
  .why-grid,
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .javis-grid {
    grid-template-columns: 1fr;
  }

  .about-experience-badge {
    position: static;
    margin-top: 1.5rem;
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding: 0.75rem 0;
  }
  .site-header.scrolled {
    padding: 0.6rem 0;
  }
  .site-header .site-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .brand-logo img,
  .brand-logo-img {
    height: 38px;
    max-width: 130px;
    object-fit: contain;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  .main-navigation {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 58px);
    width: 100vw;
    background: linear-gradient(180deg, rgba(2, 18, 31, 0.98) 0%, rgba(5, 38, 63, 0.99) 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 1.25rem 1.5rem 3.5rem;
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
  }

  .main-navigation.is-open {
    display: flex !important;
    animation: mobileDrawerFade 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileDrawerFade {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-navigation .nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
  }

  .main-navigation > .nav-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1rem 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff !important;
  }

  .main-navigation > .nav-item > a::after {
    display: none !important;
  }

  .main-navigation > .nav-item:hover > a,
  .main-navigation > .nav-item.active > a {
    color: var(--color-orange) !important;
  }

  /* Chevron animé du menu déroulant */
  .main-navigation .nav-item.has-dropdown > a svg {
    transition: transform 0.25s ease;
    opacity: 0.8;
  }

  .main-navigation .nav-item.is-dropdown-open > a svg {
    transform: rotate(180deg);
    color: var(--color-orange);
  }

  /* Sous-menus déroulants masqués par défaut sur mobile, dépliables au clic */
  .main-navigation .nav-dropdown {
    display: none !important;
    position: static !important;
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    background: rgba(255, 255, 255, 0.03) !important;
    border-left: 2px solid var(--color-orange) !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    border-radius: 0 8px 8px 0 !important;
    box-shadow: none !important;
    padding: 0.35rem 0.5rem 0.5rem 0.75rem !important;
    margin: 0 0 0.75rem 0.5rem !important;
    flex-direction: column;
    gap: 0.15rem;
  }

  .main-navigation .nav-item.is-dropdown-open .nav-dropdown {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: fadeInSubmenu 0.2s ease-out;
  }

  @keyframes fadeInSubmenu {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .main-navigation .nav-dropdown li a {
    color: rgba(255, 255, 255, 0.82) !important;
    padding: 0.55rem 0.75rem !important;
    font-size: 0.88rem !important;
    border-radius: 4px;
    display: block !important;
    transition: all 0.2s ease !important;
  }

  .main-navigation .nav-dropdown li a:hover {
    color: var(--color-orange) !important;
    background: rgba(243, 112, 33, 0.15) !important;
    padding-left: 1rem !important;
  }

  .nav-item-mobile-cta {
    display: block !important;
    margin-top: 1.75rem !important;
    border-bottom: none !important;
  }

  .btn-mobile-nav {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-size: 0.95rem;
    justify-content: center;
    font-weight: 700;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-search-btn {
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    justify-content: center;
    margin: 0;
  }

  .header-search-btn .search-text,
  .header-search-btn .search-shortcut-badge {
    display: none !important;
  }

  .header-search-btn svg {
    width: 18px;
    height: 18px;
  }

  .header-contact-btn {
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  .offers-grid,
  .produits-grid,
  .services-grid,
  .why-grid,
  .stats-grid,
  .footer-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider-section {
    padding: 6.5rem 0 3.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .header-contact-btn {
    display: none !important;
  }

  .site-header .site-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo img,
  .brand-logo-img {
    height: 34px;
    max-width: 110px;
  }

  .header-search-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
}

/* ==========================================================================
   BANNIÈRE EN-TÊTE CORPORATE POUR SOUS-PAGES (ÉLÉGANTE, CENTRÉE & TEXTURÉE)
   ========================================================================== */
.page-header-banner {
  background: 
    linear-gradient(180deg, rgba(3, 37, 64, 0.94) 0%, rgba(11, 53, 83, 0.88) 55%, rgba(3, 37, 64, 0.96) 100%),
    url('../assets/img/page-title-bg-2.jpg') center center / cover no-repeat;
  background-attachment: scroll;
  color: var(--color-white);
  padding: clamp(7.5rem, 11vw, 10rem) 0 clamp(4rem, 6.5vw, 5.5rem);
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 60% at 50% 120%, rgba(243, 112, 33, 0.18) 0%, transparent 70%),
    radial-gradient(circle at 85% 20%, rgba(22, 78, 117, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.page-header-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-orange), transparent);
  border-radius: var(--radius-pill);
}

.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Fil d'Ariane en Pilule Glassmorphic */
.breadcrumb-trail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.breadcrumb-trail a {
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.breadcrumb-trail a:hover {
  color: var(--color-orange);
}

.breadcrumb-trail .breadcrumb-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  color: var(--color-orange);
}

.breadcrumb-trail .breadcrumb-sep,
.breadcrumb-trail span.sep {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
}

.breadcrumb-trail span:last-child {
  color: var(--color-white);
  font-weight: 600;
}

/* Titre Principal de Page */
.page-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--color-white);
  margin-bottom: 1.15rem;
  max-width: 900px;
}

/* Description / Sous-titre Lead */
.page-header-lead {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin: 0 auto;
  font-weight: 400;
}

/* Grille Catalogue (Services / Produits) */
.catalog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  align-items: center;
  justify-content: center;
}

.filter-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-pill:hover,
.filter-pill.active {
  background-color: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.25);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.catalog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(243, 112, 33, 0.4);
}

.catalog-card-media {
  width: 100%;
  height: 200px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.catalog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-card-media img {
  transform: scale(1.05);
}

.catalog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.catalog-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  background: var(--color-orange-light);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
  width: fit-content;
}

.catalog-title {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.75rem;
}

.catalog-desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Mise en page Detaillee (Categories / Produits) */
.detail-layout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 992px) {
  .detail-layout-grid {
    grid-template-columns: 1fr;
  }
}

.detail-main-article {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 3vw, 3rem);
  box-shadow: var(--shadow-sm);
}

.detail-cover-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.detail-article-title {
  font-size: clamp(1.75rem, 2.5vw, 2.3rem);
  color: var(--color-primary-dark);
  margin-bottom: 1.25rem;
}

.detail-article-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 2.5rem;
}

.solution-panel {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.solution-panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-sidebar-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  margin-bottom: 2rem;
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-orange);
  margin-bottom: 1.25rem;
}

.solution-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.solution-nav-btn {
  width: 100%;
  text-align: left;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.solution-nav-btn:hover,
.solution-nav-btn.active {
  background-color: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.solution-nav-btn svg {
  transition: transform 0.25s ease;
}

.solution-nav-btn:hover svg,
.solution-nav-btn.active svg {
  transform: translateX(3px);
}

/* Processus en 4 etapes (About) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 112, 33, 0.3);
}

.process-step-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(243, 112, 33, 0.2);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Pages juridiques / Editoriales (Privacy & Terms) */
.legal-document-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

.legal-document-card h2 {
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 0.75rem;
}

.legal-document-card h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-document-card h4 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.legal-document-card p,
.legal-document-card li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin-bottom: 0.75rem;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-social-box {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  color: rgba(255, 255, 255, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: all 0.25s ease;
}

.footer-social-btn:hover {
  background: var(--color-orange);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: inherit;
  text-decoration: none;
}

.footer-legal-links a:hover {
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   SCROLL REVEAL & MICRO-ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   INFINITE MARQUEE PARTENAIRES & CLIENTS
   -------------------------------------------------------------------------- */
.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1.5rem 0;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marqueeScroll 26s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  padding: 1rem 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  height: 80px;
}

.marquee-item img {
  max-height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.3s ease;
}

.marquee-item:hover {
  transform: translateY(-4px);
  border-color: rgba(243, 112, 33, 0.4);
  box-shadow: var(--shadow-md);
}

.marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   SHOWCASE INTERACTIF JAVIS OS
   -------------------------------------------------------------------------- */
.javis-simulator-box {
  background: rgba(3, 37, 64, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
}

.javis-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: rgba(11, 53, 83, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.javis-sim-dots {
  display: flex;
  gap: 6px;
}

.javis-sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.javis-sim-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  color: #34d399;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulseGreen 1.8s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.javis-sim-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.javis-sim-tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.javis-sim-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.javis-sim-tab-btn.active {
  color: var(--color-orange);
  border-bottom-color: var(--color-orange);
  background: rgba(243, 112, 33, 0.08);
}

.javis-sim-content {
  padding: 1.5rem;
  min-height: 270px;
}

.javis-sim-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}

.javis-sim-panel.active {
  display: block;
}

@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.javis-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.javis-metric-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: all 0.25s ease;
}

.javis-metric-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(243, 112, 33, 0.3);
}

.javis-metric-value {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  font-family: var(--font-heading);
  margin-bottom: 0.2rem;
}

.javis-metric-value.highlight {
  color: var(--color-orange);
}

.javis-metric-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.javis-pipeline-stages {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.javis-stage-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.9);
}

.stage-badge-ok {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.javis-sim-btn-trigger {
  margin-top: 1rem;
  width: 100%;
  padding: 0.65rem;
  background: rgba(243, 112, 33, 0.15);
  border: 1px solid var(--color-orange);
  color: var(--color-orange);
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.javis-sim-btn-trigger:hover {
  background: var(--color-orange);
  color: #ffffff;
}

.javis-live-log {
  background: rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  font-family: 'Consolas', monospace;
  font-size: 0.75rem;
  color: #a7f3d0;
  line-height: 1.5;
  margin-top: 0.75rem;
  max-height: 85px;
  overflow-y: auto;
}

/* --------------------------------------------------------------------------
   CONFIGURATEUR DE PROJET INTERACTIF EN 3 ÉTAPES
   -------------------------------------------------------------------------- */
.configurator-section {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: stretch;
}

@media (max-width: 992px) {
  .configurator-grid {
    grid-template-columns: 1fr;
  }
}

.config-step-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.config-step-title {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.config-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: var(--color-orange);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

.config-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
}

.config-btn-opt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.config-btn-opt:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.config-btn-opt.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(243, 112, 33, 0.35);
}

.config-summary-card {
  background: var(--color-white);
  color: var(--color-text-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.config-sum-header {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.config-sum-header h3 {
  font-size: 1.25rem;
  color: var(--color-primary-dark);
}

.config-sum-rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.config-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.config-sum-label {
  color: var(--color-text-muted);
}

.config-sum-val {
  font-weight: 700;
  color: var(--color-primary);
  text-align: right;
}

.config-action-btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   STACK TECHNOLOGIQUE & ÉCOSYSTÈME (FILTRABLE EN TEMPS RÉEL)
   -------------------------------------------------------------------------- */
.tech-stack-section {
  background-color: var(--color-bg-light);
  position: relative;
}

.tech-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.tech-filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tech-filter-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.tech-filter-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 37, 64, 0.25);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}

.tech-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  transition: background-color 0.3s ease;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(243, 112, 33, 0.35);
}

.tech-card:hover::before {
  background: var(--color-orange);
}

.tech-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tech-icon-box {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.tech-card:hover .tech-icon-box {
  background: var(--color-orange-light);
  color: var(--color-orange);
}

.tech-category-tag {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: rgba(3, 37, 64, 0.06);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.tech-title {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.tech-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   FAQ STRATÉGIQUE & SÉCURITÉ DSI / ACCORDÉON INTERACTIF
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--color-white);
}

.faq-accordion-list {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: rgba(243, 112, 33, 0.4);
}

.faq-item.active {
  border-color: var(--color-orange);
  box-shadow: 0 4px 18px rgba(3, 37, 64, 0.08);
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.faq-item.active .faq-question-btn {
  color: var(--color-orange);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-orange);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  padding-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   CALCULATEUR DE ROI / TCO OPÉRATIONNEL INTERACTIF
   -------------------------------------------------------------------------- */
.roi-calculator-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.roi-sliders-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .roi-sliders-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.roi-slider-group {
  margin-bottom: 1.5rem;
}

.roi-slider-group:last-child {
  margin-bottom: 0;
}

.roi-slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 0.6rem;
}

.roi-slider-val {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 1.05rem;
}

.roi-range-input {
  width: 100%;
  height: 6px;
  background: var(--color-border);
  border-radius: var(--radius-pill);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-orange);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(243, 112, 33, 0.4);
  transition: transform 0.15s ease;
}

.roi-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.roi-results-card {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.roi-result-metric {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.85rem;
}

.roi-result-metric:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roi-metric-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #34d399;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.roi-metric-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   RECHERCHE GLOBALE INSTANTANÉE (MODALE PALETTE DE COMMANDE)
   -------------------------------------------------------------------------- */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 37, 64, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 1rem 2rem;
}

.search-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.search-modal {
  background: #ffffff;
  width: 100%;
  max-width: 660px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-backdrop.is-open .search-modal {
  transform: translateY(0) scale(1);
}

.search-input-header {
  display: flex;
  align-items: center;
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  gap: 0.85rem;
}

.search-input-header svg {
  color: var(--color-orange);
  flex-shrink: 0;
}

.search-input-header input {
  border: none;
  outline: none;
  font-size: 1.05rem;
  width: 100%;
  font-family: var(--font-body);
  color: var(--color-primary-dark);
}

.search-shortcut-badge {
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  color: var(--color-text-muted);
  font-family: 'Consolas', monospace;
  font-weight: 600;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text-dark);
  transition: all 0.15s ease;
}

.search-result-item:hover,
.search-result-item:focus {
  background: var(--color-orange-light);
  color: var(--color-primary-dark);
}

.search-result-title {
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-result-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  background: rgba(3, 37, 64, 0.08);
  color: var(--color-primary);
}

.search-empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.search-modal-footer {
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-light);
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --------------------------------------------------------------------------
   MODALE PLAQUETTE INSTITUTIONNELLE CORPORATE
   -------------------------------------------------------------------------- */
.brochure-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.brochure-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.brochure-modal {
  background: #ffffff;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brochure-modal-backdrop.is-open .brochure-modal {
  transform: scale(1);
}

.brochure-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.brochure-modal-close:hover {
  color: var(--color-primary-dark);
}

/* --------------------------------------------------------------------------
   BANNIÈRE DE CONSENTEMENT AUX COOKIES (CONFORMITÉ RGPD / CNIL)
   -------------------------------------------------------------------------- */
.cookie-banner-dock {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 1080px;
  margin: 0 auto;
  background: rgba(3, 37, 64, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--color-white);
  transform: translateY(120%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-banner-dock.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (max-width: 900px) {
  .cookie-banner-dock {
    flex-direction: column;
    align-items: stretch;
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 1.25rem;
    gap: 1.25rem;
  }
}

.cookie-content-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(243, 112, 33, 0.18);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-text-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.cookie-text-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.55;
  margin: 0;
}

.cookie-text-desc a {
  color: var(--color-orange);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cookie-actions-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .cookie-actions-group {
    flex-direction: column;
    align-items: stretch;
  }
}

.cookie-btn {
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.cookie-btn-primary {
  background: var(--color-orange);
  border: 1px solid var(--color-orange);
  color: #ffffff;
}

.cookie-btn-primary:hover {
  background: var(--color-orange-hover);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.35);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.cookie-btn-text {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  padding: 0.65rem 0.5rem;
}

.cookie-btn-text:hover {
  color: #ffffff;
}

/* Modale de personnalisation des cookies */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 37, 64, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.cookie-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.cookie-modal-card {
  background: #ffffff;
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal-backdrop.is-open .cookie-modal-card {
  transform: scale(1);
}

.cookie-category-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--color-bg-light);
}

.cookie-category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.cookie-category-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.cookie-category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.badge-required {
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
}

.badge-optional {
  background: rgba(3, 37, 64, 0.08);
  color: var(--color-primary);
}

.cookie-category-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --------------------------------------------------------------------------
   PORTAIL JURIDIQUE MULTI-ONGLETS (MENTIONS, CGU, CONFIDENTIALITÉ, COOKIES)
   -------------------------------------------------------------------------- */
.legal-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.legal-tab-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.35rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-tab-btn:hover {
  border-color: var(--color-orange);
  color: var(--color-primary-dark);
}

.legal-tab-btn.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(3, 37, 64, 0.25);
}

.legal-panel {
  display: none;
  animation: fadeInPanel 0.3s ease;
}

.legal-panel.active {
  display: block;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}

.legal-table th {
  background: var(--color-bg-light);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid var(--color-border);
}

.legal-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-dark);
}


