/* ==========================================================================
   CAPVALORICS Expertises - Main Stylesheet
   Modern, Clean, Lightweight & Responsive Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0C356A;
  --primary-light: #176B87;
  --primary-dark: #071952;
  --accent: #059212;
  --accent-teal: #0284C7;
  --bg-light: #F8FAFC;
  --bg-card: #FFFFFF;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(12, 53, 106, 0.08);
  --shadow-lg: 0 20px 35px -10px rgba(12, 53, 106, 0.12);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-padding-top: 75px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Prevent text overflow on narrow mobile screens */
a, p, span, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

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

ul {
  list-style: none;
}

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

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

/* --- Section Titles --- */
.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--accent-teal);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(12, 53, 106, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(12, 53, 106, 0.35);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Topbar Navigation
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
}

/* --- Top Info Bar --- */
.top-bar {
  background: var(--primary-dark);
  color: #E2E8F0;
  font-size: 0.84rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-contacts {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.top-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #F1F5F9;
  font-weight: 500;
  transition: var(--transition);
}

.top-contact-item i {
  color: #38BDF8;
  font-size: 0.9rem;
}

.top-contact-item:hover {
  color: #38BDF8;
}

.top-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 0.02em;
}

/* --- Main Navbar --- */
.header {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.99);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

/* Enhanced logo display quality */
.logo-img {
  height: 64px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  mix-blend-mode: multiply;
  transition: var(--transition);
}

.logo-brand:hover .logo-img {
  transform: scale(1.03);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-teal);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--primary-light);
  transition: var(--transition);
  border-radius: 2px;
}

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

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

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary-dark);
  cursor: pointer;
  touch-action: manipulation;
}

.mobile-call-btn {
  display: none;
  touch-action: manipulation;
}

.mobile-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* --- Mobile Nav Overlay & Drawer Header/Footer Defaults --- */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(7, 25, 82, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1045;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-links-header {
  display: none;
}

.nav-drawer-footer {
  display: none;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 150px;
  padding-bottom: 5rem;
  background: linear-gradient(135deg, #F0F4F8 0%, #FFFFFF 50%, #E6F4F1 100%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-width: 650px;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.3rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0;
}

.btn-hero-expertise {
  margin-left: auto;
  padding: 0.65rem 1.5rem;
  font-size: 0.9rem;
  border-radius: 50px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

.hero-badge i {
  color: var(--accent);
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-teal) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: auto;
  padding-top: 1rem;
}

.hero-description {
  font-size: clamp(1.02rem, 1.15vw, 1.12rem);
  color: #475569;
  margin-bottom: 0;
  line-height: 1.8;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-description strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.hero-commitment-box {
  background: linear-gradient(135deg, rgba(12, 53, 106, 0.04) 0%, rgba(2, 132, 199, 0.07) 100%);
  border-left: 4px solid var(--accent-teal);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.1rem 1.35rem;
  box-shadow: 0 4px 15px rgba(12, 53, 106, 0.04);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  border-right: 1px solid rgba(226, 232, 240, 0.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-commitment-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-commitment-header i {
  color: var(--accent-teal);
  font-size: 1.05rem;
}

.hero-commitment-desc {
  font-size: 0.96rem;
  color: var(--text-dark);
  line-height: 1.65;
  margin: 0;
  text-align: justify;
  text-justify: inter-word;
  font-weight: 500;
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-actions .btn {
  flex: 1 1 auto;
  justify-content: center;
}

.hero-features {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.hero-feat-item i {
  color: var(--accent);
  font-size: 1.1rem;
}

.hero-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  width: 100%;
}

.hero-card-preview {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-card-preview:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.hero-logo-large {
  max-height: 145px;
  width: auto;
  margin: 0 auto 1rem auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 6px 16px rgba(12, 53, 106, 0.12));
}

.hero-map-img {
  max-height: 155px;
  width: auto;
  margin: 0 auto 1rem auto;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 6px 16px rgba(12, 53, 106, 0.14));
  transition: transform 0.3s ease;
}

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

.hero-card-motto {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.hero-card-sub {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
  padding: 1.25rem 0 3.5rem;
  background-color: transparent;
  position: relative;
  z-index: 5;
}

.stats-box {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0C2E60 100%);
  color: #FFFFFF;
  padding: 2.75rem 2rem;
  border-radius: 20px;
  box-shadow: 0 20px 45px -15px rgba(7, 25, 82, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

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

.stat-card {
  text-align: center;
  padding: 0.5rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-card:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
}

.stat-number span {
  color: #38BDF8;
}

.stat-label {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 500;
  line-height: 1.45;
}

/* ==========================================================================
   Services & Domaines d'Expertise
   ========================================================================== */
.expertises-section {
  background-color: var(--bg-light);
}

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

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-image {
  position: relative;
  width: 100%;
  height: 185px;
  overflow: hidden;
  background-color: var(--primary-dark);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-icon-badge {
  position: absolute;
  bottom: -22px;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(12, 53, 106, 0.25);
  border: 3px solid #FFFFFF;
  transition: var(--transition);
  z-index: 2;
}

.service-card:hover .service-icon-badge {
  background: var(--accent-teal);
  transform: rotate(6deg) scale(1.1);
}

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

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-list {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service-list li i {
  color: var(--accent);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Vocation & Target Partners
   ========================================================================== */
.targets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.target-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--accent-teal);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.target-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.target-icon-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.target-icon {
  font-size: 2rem;
  color: var(--accent-teal);
}

.target-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.target-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Méthodologie (5 Phases Timeline)
   ========================================================================== */
.methodology-section {
  background-color: var(--bg-light);
  padding: 3rem 0;
}

/* ==========================================
   PROCESS METHODOLOGY TABS & NAVIGATION
   ========================================== */
/* Guide d'interaction au-dessus des onglets */
.process-choice-guide {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  text-align: center;
}

.guide-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  padding: 0.55rem 1.35rem;
  border-radius: 50px;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.08);
  font-size: 0.88rem;
  color: var(--text-main);
  animation: guideFloat 3s ease-in-out infinite;
}

.guide-pulsing-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: dotPulse 2s infinite;
  flex-shrink: 0;
}

.guide-click-anim {
  color: #0284c7;
  font-size: 1rem;
  animation: pointerBounce 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
  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); }
}

@keyframes pointerBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px) rotate(-8deg); }
}

@keyframes guideFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.process-tabs-container {
  display: flex;
  justify-content: center;
  margin: 0 auto 2.25rem auto;
  max-width: 940px;
  width: 100%;
}

.process-tabs-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 0.55rem;
  border-radius: 50px;
  border: 1.5px solid rgba(203, 213, 225, 0.85);
  box-shadow: 0 4px 18px rgba(12, 53, 106, 0.06);
  width: 100%;
}

.process-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.4rem;
  border-radius: 40px;
  border: 2px solid transparent;
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: left;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.process-tab-btn:not(.active) {
  border: 2px dashed #94a3b8;
  background: #ffffff;
}

.process-tab-btn:not(.active):hover {
  border-color: #0284c7;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.12);
}

.tab-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e2e8f0;
  color: var(--text-muted);
  font-size: 1.15rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tab-btn-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.tab-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.tab-subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
  transition: color 0.3s ease;
}

/* Action indicator badges on buttons */
.tab-action-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.tab-action-badge.active-state {
  background: #0284c7;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.tab-action-badge.inactive-state {
  background: #eff6ff;
  color: #0284c7;
  border: 1.5px solid #0284c7;
  animation: callToActionPulse 2.2s infinite ease-in-out;
}

@keyframes callToActionPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 6px rgba(2, 132, 199, 0);
  }
}

.process-tab-btn:hover .tab-icon-box {
  background: rgba(2, 132, 199, 0.12);
  color: var(--secondary);
}

.process-tab-btn:hover .tab-title {
  color: var(--primary);
}

.process-tab-btn.active {
  background: #ffffff;
  border: 2px solid #0284c7;
  box-shadow: 0 8px 24px -2px rgba(2, 132, 199, 0.18), 0 2px 6px rgba(0, 0, 0, 0.04);
}

.process-tab-btn.active .tab-icon-box {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.35);
}

.process-tab-btn.active .tab-title {
  color: var(--primary);
}

.process-tab-btn.active .tab-subtitle {
  color: var(--secondary);
  font-weight: 600;
}

/* Tab Panes */
.process-tab-contents {
  width: 100%;
}

.process-tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.process-tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: processTabFade 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes processTabFade {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Barre de basculement rapide en bas de carte */
.roadmap-switch-footer {
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1120px;
  box-sizing: border-box;
  gap: 1rem;
}

.switch-footer-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.switch-footer-label i {
  color: #0284c7;
}

.btn-switch-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.25rem;
  background: #ffffff;
  border: 1.5px solid #0284c7;
  color: #0284c7;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.1);
}

.btn-switch-tab:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-switch-tab i {
  transition: transform 0.3s ease;
}

.btn-switch-tab:hover i.fa-arrow-right {
  transform: translateX(3px);
}

/* Roadmap Infographic Preview & Dynamic Interactive Pins */
.process-roadmap-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  padding: 1.25rem 1.25rem 2rem 1.25rem;
  margin: 0 auto;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
}

.process-roadmap-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.35);
}

.roadmap-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: rgba(12, 53, 106, 0.06);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.roadmap-badge-top i {
  color: var(--accent-teal);
}

.process-roadmap-wrapper {
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  line-height: 0;
}

.process-roadmap-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-md);
  transition: transform 0.4s ease;
}

/* ==========================================
   DYNAMIC INTERACTIVE PIN HOTSPOTS
   ========================================== */
.roadmap-pin-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  line-height: 1;
}

/* Precise Coordinates & Proportions */
.pin-step-1 {
  left: 49.3%;
  top: 72.5%;
  width: 11.4%;
  aspect-ratio: 1 / 1;
  color: #0284c7;
}

.pin-step-2 {
  left: 72.5%;
  top: 55.7%;
  width: 11.4%;
  aspect-ratio: 1 / 1;
  color: #f59e0b;
}

.pin-step-3 {
  left: 51.3%;
  top: 39.8%;
  width: 8.2%;
  aspect-ratio: 1 / 1;
  color: #64748b;
}

.pin-step-4 {
  left: 82.4%;
  top: 32.6%;
  width: 7.2%;
  aspect-ratio: 1 / 1;
  color: #10b981;
}

/* Precise Coordinates & Proportions - Asset Management (5 Steps - Positioned near image boxes) */
.pin-asset-step {
  width: 4.0%;
  aspect-ratio: 1 / 1;
}

.pin-asset-1 {
  left: 15.80%;
  top: 41.5%;
  color: #0284c7;
}

.pin-asset-2 {
  left: 32.63%;
  top: 41.5%;
  color: #0ea5e9;
}

.pin-asset-3 {
  left: 50.39%;
  top: 41.5%;
  color: #0d9488;
}

.pin-asset-4 {
  left: 68.15%;
  top: 41.5%;
  color: #f59e0b;
}

.pin-asset-5 {
  left: 85.05%;
  top: 41.5%;
  color: #10b981;
}

/* Animated Radar Beacon Waves */
.pin-radar-ring {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
  pointer-events: none;
  animation: radarPulse 2.8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.pin-radar-ring.delay-1 {
  animation-delay: 1.4s;
}

@keyframes radarPulse {
  0% { transform: scale(0.85); opacity: 0.9; }
  50% { opacity: 0.4; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* Dynamic Core Button */
.pin-core-btn {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), inset 0 0 0 2px currentColor;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: pinBreathe 3s ease-in-out infinite;
}

.pin-step-1 .pin-core-btn { animation-delay: 0s; }
.pin-step-2 .pin-core-btn { animation-delay: 0.75s; }
.pin-step-3 .pin-core-btn { animation-delay: 1.5s; }
.pin-step-4 .pin-core-btn { animation-delay: 2.25s; }

.pin-asset-1 .pin-core-btn { animation-delay: 0s; }
.pin-asset-2 .pin-core-btn { animation-delay: 0.6s; }
.pin-asset-3 .pin-core-btn { animation-delay: 1.2s; }
.pin-asset-4 .pin-core-btn { animation-delay: 1.8s; }
.pin-asset-5 .pin-core-btn { animation-delay: 2.4s; }

@keyframes pinBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22), inset 0 0 0 3px currentColor; }
}

.pin-step-1 .pin-core-btn i { font-size: clamp(1.3rem, 2.6vw, 2.2rem); }
.pin-step-2 .pin-core-btn i { font-size: clamp(1.2rem, 2.4vw, 2.0rem); }
.pin-step-3 .pin-core-btn i { font-size: clamp(1.0rem, 1.9vw, 1.6rem); }
.pin-step-4 .pin-core-btn i { font-size: clamp(0.85rem, 1.6vw, 1.35rem); }

.pin-asset-step .pin-core-btn i { font-size: clamp(0.65rem, 1.1vw, 0.95rem); }

.pin-core-btn i {
  color: currentColor;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Hover & Active / Focus States */
.roadmap-pin-hotspot:hover,
.roadmap-pin-hotspot:focus {
  z-index: 30;
  outline: none;
}

.roadmap-pin-hotspot:hover .pin-core-btn,
.roadmap-pin-hotspot:focus .pin-core-btn {
  transform: scale(1.22);
  background: currentColor;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.roadmap-pin-hotspot:hover .pin-core-btn i,
.roadmap-pin-hotspot:focus .pin-core-btn i {
  color: #ffffff;
  transform: scale(1.15) rotate(8deg);
}

/* Interactive Modern Tooltips */
.pin-tooltip {
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-align: left;
  line-height: 1.3;
}

.pin-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.95);
}

.pin-tooltip-step {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.pin-tooltip-desc {
  display: block;
  color: #e2e8f0;
  font-weight: 500;
}

.roadmap-pin-hotspot:hover .pin-tooltip,
.roadmap-pin-hotspot:focus .pin-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Edge Tooltip Adjustment for Step 4 (Expertises) */
.pin-step-4 .pin-tooltip {
  left: auto;
  right: -20px;
  transform: translateX(0) translateY(8px);
}

.pin-step-4:hover .pin-tooltip,
.pin-step-4:focus .pin-tooltip {
  transform: translateX(0) translateY(0);
}

.pin-step-4 .pin-tooltip::after {
  left: auto;
  right: 25px;
  transform: none;
}

/* Edge Tooltips for Asset Management (Step 1 and Step 5) */
.pin-asset-1 .pin-tooltip {
  left: -20px;
  transform: translateX(0) translateY(8px);
}

.pin-asset-1:hover .pin-tooltip,
.pin-asset-1:focus .pin-tooltip {
  transform: translateX(0) translateY(0);
}

.pin-asset-1 .pin-tooltip::after {
  left: 30px;
  transform: none;
}

.pin-asset-5 .pin-tooltip {
  left: auto;
  right: -20px;
  transform: translateX(0) translateY(8px);
}

.pin-asset-5:hover .pin-tooltip,
.pin-asset-5:focus .pin-tooltip {
  transform: translateX(0) translateY(0);
}

.pin-asset-5 .pin-tooltip::after {
  left: auto;
  right: 30px;
  transform: none;
}

/* ==========================================================================
   Progiciel SaaS Highlight
   ========================================================================== */
.software-card {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

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

.software-content h3 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.software-content p {
  font-size: 1rem;
  color: #CBD5E1;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.software-feats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.software-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #F1F5F9;
}

.software-feat-item i {
  color: #38BDF8;
  margin-top: 0.25rem;
}

.software-badge-list {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.software-badge-list h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #38BDF8;
}

.software-badge-list ul li {
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  line-height: 1.5;
}

.software-badge-list ul li i {
  color: #38BDF8;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.software-badge-list ul li strong,
.no-wrap {
  white-space: nowrap;
  display: inline;
}

/* ==========================================================================
   References Carousel (Dynamic 2 Rows x 9 Logos Carousel)
   ========================================================================== */
.references-section {
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.references-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 54px;
}

.references-carousel-viewport {
  overflow: hidden;
  width: 100%;
  border-radius: var(--radius-sm);
}

.references-carousel-track {
  display: flex;
  width: 100%;
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.references-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.references-grid-slide {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 0.65rem;
}

.ref-item {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.55rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 82px;
  box-shadow: 0 3px 10px rgba(12, 53, 106, 0.04);
  transition: var(--transition);
}

.ref-item img {
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 54px;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  image-rendering: -webkit-optimize-contrast;
  transition: var(--transition);
}

.ref-item:hover {
  background: #FFFFFF;
  border-color: var(--accent-teal);
  box-shadow: 0 8px 22px rgba(12, 53, 106, 0.12);
  transform: translateY(-3px);
}

.ref-item:hover img {
  transform: scale(1.08);
}

/* Navigation Arrows */
.ref-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(12, 53, 106, 0.12);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.ref-nav-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 8px 22px rgba(12, 53, 106, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.ref-nav-btn:active {
  transform: translateY(-50%) scale(0.96);
}

.ref-nav-btn.ref-prev {
  left: 0;
}

.ref-nav-btn.ref-next {
  right: 0;
}

/* Pagination Dots */
.ref-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.75rem;
}

.ref-dot {
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background: #CBD5E1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ref-dot:hover {
  background: #94A3B8;
}

.ref-dot.active {
  width: 28px;
  background: var(--primary);
}

/* Anchor scrolling offset for fixed header */
section[id] {
  scroll-margin-top: 85px;
}

.contact-section {
  background-color: var(--bg-light);
  padding-top: 2.25rem;
  padding-bottom: 4rem;
}

.contact-header-compact {
  margin-bottom: 1.5rem !important;
}

.contact-header-compact .badge-tag {
  margin-bottom: 0.5rem;
}

.contact-header-compact .section-title {
  font-size: 1.85rem;
  margin-bottom: 0.35rem;
}

.contact-header-compact .section-subtitle {
  font-size: 0.95rem;
}

/* ==========================================================================
   Floating Scroll to Top Button
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 8px 25px rgba(12, 53, 106, 0.4);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top-btn.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.scroll-top-btn:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-5px) scale(1.08) !important;
  box-shadow: 0 12px 30px rgba(12, 53, 106, 0.5);
  color: #FFFFFF !important;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.contact-info-side {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.contact-card-img-wrap {
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.contact-card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.contact-card-img:hover {
  transform: scale(1.02);
}

.contact-direct-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.92rem;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38BDF8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form-side {
  padding: 3rem;
}

.contact-form-header {
  margin-bottom: 2rem;
}

.contact-form-header h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.contact-form-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

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

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

.form-group.full-width {
  grid-column: span 2;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 16px; /* Prevents auto-zoom on iOS */
  font-family: inherit;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(23, 107, 135, 0.1);
}

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

.form-feedback {
  grid-column: span 2;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback.success {
  display: block;
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.form-feedback.error {
  display: block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}

.hp-field {
  display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand .logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo-badge {
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
}

.footer-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.footer-logo-badge img {
  height: 52px;
  max-width: 240px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
}

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

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38BDF8;
  padding-left: 4px;
}

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

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */

/* --- All Tablets, Mobile Devices & Desktop-Emulated Views (< 1024px) --- */
@media (max-width: 1024px) {
  /* Container padding */
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3rem 0;
  }

  /* Section anchor scroll offset */
  section[id] {
    scroll-margin-top: 145px;
  }

  /* Top Contact Strip with GSM & Email for Mobile & Tablet */
  .top-bar {
    display: block !important;
    padding: 0.4rem 0;
    background: var(--primary-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .top-bar-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .top-tagline {
    display: none !important;
  }

  .top-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem 0.85rem;
    width: 100%;
    font-size: 0.74rem;
  }

  .top-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #F8FAFC;
    font-weight: 500;
    padding: 0.2rem 0.45rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    white-space: nowrap;
  }

  .top-contact-item i {
    color: #38BDF8;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .top-contact-item:active,
  .top-contact-item:hover {
    color: #38BDF8;
    background: rgba(56, 189, 248, 0.2);
  }

  /* Compact Navbar */
  .navbar {
    height: 64px;
  }

  .logo-brand {
    gap: 0.65rem;
  }

  .logo-img {
    height: 50px;
    max-width: 195px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-tagline {
    font-size: 0.72rem;
  }

  /* Mobile menu toggle & call button */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    color: var(--primary-dark);
    font-size: 1.25rem;
    touch-action: manipulation;
  }

  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #FFFFFF !important;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(12, 53, 106, 0.2);
    transition: var(--transition);
    touch-action: manipulation;
  }

  .mobile-call-btn:hover,
  .mobile-call-btn:active {
    background: var(--accent-teal);
    transform: scale(0.96);
  }

  /* Mobile navigation drawer */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh;
    background: #FFFFFF;
    z-index: 1050;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 1.5rem 1.25rem;
    box-shadow: -10px 0 35px rgba(7, 25, 82, 0.18);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    gap: 0.25rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-drawer-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    max-width: calc(100% - 48px);
  }

  .nav-drawer-logo {
    height: 38px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    display: block;
    transition: var(--transition);
  }

  .nav-drawer-brand:hover .nav-drawer-logo {
    transform: scale(1.02);
  }

  .nav-drawer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    letter-spacing: -0.02em;
  }

  .nav-close-btn {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary-dark);
    cursor: pointer;
    touch-action: manipulation;
    transition: var(--transition);
  }

  .nav-close-btn:hover {
    background: var(--primary-dark);
    color: #FFFFFF;
  }

  .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    display: block;
    width: 100%;
  }

  .nav-link:hover, .nav-link.active {
    background-color: var(--bg-light);
    color: var(--primary-light);
  }

  .nav-link::after {
    display: none;
  }

  .nav-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
  }

  .btn-drawer-cta {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem;
  }

  .drawer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.85rem;
  }

  .drawer-contact-info a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-weight: 500;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .drawer-contact-info a i {
    color: var(--accent-teal);
    flex-shrink: 0;
  }

  /* Hero Section */
  .hero {
    padding-top: 155px;
    padding-bottom: 2.75rem;
  }

  .hero-shape {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    text-align: center;
    width: 100%;
    min-width: 0;
  }

  .hero-content {
    margin: 0 auto;
    display: block;
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-right {
    height: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hero-badge-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
  }

  .hero-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: 0.82rem;
    padding: 0.5rem 0.85rem;
    white-space: normal;
  }

  .hero-badge i {
    flex-shrink: 0;
  }

  .btn-hero-expertise {
    width: 100%;
    justify-content: center;
    margin-left: 0;
    padding: 0.65rem 1.25rem;
    font-size: 0.88rem;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(1.5rem, 5.5vw, 2.1rem);
    line-height: 1.22;
    margin-bottom: 1rem;
    text-align: center;
  }

  .hero-description {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    text-align: justify;
    text-justify: inter-word;
  }

  .hero-commitment-box {
    padding: 1rem 1.15rem;
    text-align: left;
    margin-top: 0.75rem;
    border-radius: var(--radius-sm);
  }

  .hero-commitment-desc {
    font-size: 0.88rem;
    text-align: left;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    padding-top: 1.25rem;
  }

  .hero-feat-item {
    font-size: 0.85rem;
  }

  .hero-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 440px;
    width: 100%;
    margin: 0 auto;
    min-width: 0;
  }

  .hero-card-preview {
    padding: 1.35rem 1.1rem;
    border-radius: var(--radius-md);
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-logo-large {
    max-height: 90px;
    width: auto;
    margin-bottom: 0.6rem;
  }

  .hero-map-img {
    max-height: 120px;
    width: auto;
    max-width: 100%;
    margin-bottom: 0.6rem;
    object-fit: contain;
  }

  .hero-card-motto {
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
  }

  .hero-card-sub {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  /* Stats Section (Compact 2x2 Grid) */
  .stats-section {
    padding: 1rem 0 2.25rem;
  }

  .stats-box {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    padding: 1rem 0.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat-number {
    font-size: 1.85rem;
    margin-bottom: 0.35rem;
  }

  .stat-label {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  /* Services & Targets: 1 full column */
  .services-grid, .targets-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-card-body {
    padding: 1.25rem;
  }

  .service-title {
    font-size: 1.2rem;
  }

  .service-desc {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .target-card {
    padding: 1.5rem 1.25rem;
  }

  /* Methodology */
  .guide-badge-pill {
    font-size: 0.78rem;
    padding: 0.45rem 1rem;
    gap: 0.5rem;
    white-space: normal;
    text-align: left;
  }

  .process-tabs-nav {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    gap: 0.65rem;
    padding: 0.45rem;
  }

  .process-tab-btn {
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .tab-icon-box {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .tab-title {
    font-size: 0.9rem;
  }

  .tab-subtitle {
    font-size: 0.72rem;
  }

  .tab-action-badge {
    padding: 0.25rem 0.6rem;
    font-size: 0.7rem;
    margin-left: auto;
  }

  .process-roadmap-card {
    padding: 0.85rem 0.75rem 1.5rem 0.75rem;
    margin-bottom: 0;
  }

  .process-roadmap-img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .roadmap-switch-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    margin-top: 1.25rem;
  }

  .switch-footer-label {
    justify-content: center;
    font-size: 0.82rem;
  }

  .btn-switch-tab {
    justify-content: center;
    width: 100%;
  }

  .pin-tooltip {
    font-size: 0.68rem;
    padding: 0.4rem 0.65rem;
    max-width: 170px;
    white-space: normal;
  }

  .pin-asset-step .pin-core-btn i {
    font-size: clamp(0.55rem, 1.4vw, 0.85rem);
  }

  /* Software Section */
  .software-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .software-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .software-content h3 {
    font-size: 1.45rem;
  }

  .software-content p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .software-feats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .software-badge-list {
    padding: 1.25rem;
  }

  .software-badge-list ul li {
    font-size: 0.85rem;
  }

  .software-badge-list ul li strong,
  .no-wrap {
    white-space: normal !important;
    display: inline;
  }

  /* References Carousel Responsive (< 1024px) */
  .references-carousel-container {
    padding: 0 46px;
  }

  .references-grid-slide {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
  }

  .ref-item {
    height: 70px;
    padding: 0.35rem;
  }

  .ref-item img {
    max-height: 46px;
  }

  .ref-nav-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Contact Section */
  .contact-section {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    border-radius: var(--radius-md);
  }

  .contact-info-side {
    padding: 1.5rem 1.25rem;
  }

  .contact-direct-details a {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .contact-detail-item {
    gap: 0.75rem;
    font-size: 0.88rem;
  }

  .contact-detail-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .contact-form-side {
    padding: 1.5rem 1.25rem;
  }

  .contact-form-header h3 {
    font-size: 1.4rem;
  }

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

  .form-group.full-width {
    grid-column: span 1;
  }

  .form-feedback {
    grid-column: span 1;
  }

  /* Footer */
  .footer {
    padding-top: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-links a {
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }

  .scroll-top-btn {
    width: 44px;
    height: 44px;
    bottom: 16px;
    right: 16px;
    font-size: 1.05rem;
  }
}

/* --- Tablets (680px - 1024px): 2 Columns for Hero Cards --- */
@media (min-width: 680px) and (max-width: 1024px) {
  .hero-cards-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
    gap: 1.25rem;
  }
}

/* --- Ultra Small Devices (< 380px) --- */
@media (max-width: 380px) {
  .top-contacts {
    flex-direction: column;
    gap: 0.25rem;
  }

  .top-contact-item {
    font-size: 0.7rem;
    padding: 0.15rem 0.35rem;
    width: 100%;
    justify-content: center;
    white-space: normal;
    word-break: break-all;
  }

  .hero {
    padding-top: 165px;
  }

  section[id] {
    scroll-margin-top: 155px;
  }

  .logo-img {
    height: 44px;
    max-width: 170px;
  }

  .nav-drawer-logo {
    height: 34px;
    max-width: 150px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .references-carousel-container {
    padding: 0 34px;
  }

  .references-grid-slide {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
  }

  .ref-item {
    height: 60px;
    padding: 0.25rem;
  }

  .ref-item img {
    max-height: 38px;
  }

  .ref-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }
}
