/* MTA Express - Styles Personnalisés & Scrollytelling Animations */
/* Palette Officielle : Blanc, Bleu Roi (#0038A8), Rouge (#E30613) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --mta-bleu-roi: #0038A8;
  --mta-bleu-dark: #002570;
  --mta-rouge: #E30613;
  --mta-rouge-dark: #B9050F;
  --mta-blanc: #FFFFFF;
  --mta-dark: #071526;
  --mta-light: #F0F4F8;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #1e293b;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-panel-dark {
  background: linear-gradient(160deg, rgba(15, 30, 56, 0.78) 0%, rgba(7, 21, 38, 0.9) 100%);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

/* Cartes d'histoire du scrollytelling : liseré dégradé + typographie plus fine */
[id^="card-etape"] {
  overflow: hidden;
}

[id^="card-etape"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22px;
  right: 22px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #0038A8, #E30613);
}

[id^="card-etape"] h3 {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 4px;
}

[id^="card-etape"] p {
  font-size: 0.8rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.glass-panel-accent {
  background: linear-gradient(135deg, rgba(0, 56, 168, 0.12), rgba(227, 6, 19, 0.1));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 56, 168, 0.25);
}

/* Scrollytelling Section Specifics */
#scrolly-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #071526;
}

.scrolly-track {
  display: flex;
  height: 100%;
  width: 400vw;
  will-change: transform;
}

.scrolly-panel {
  width: 100vw;
  height: 100vh;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
}

/* Vignettage très léger pour une ambiance plus cinématographique */
.scrolly-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  background: radial-gradient(ellipse at 50% 55%, transparent 60%, rgba(2, 6, 23, 0.22) 100%);
}

/* Badge AIR • MER de l'étape 3 */
.badge-multimodal {
  filter: drop-shadow(0 8px 16px rgba(7, 21, 38, 0.3));
}

/* Bulles de dialogue : ombre portée douce */
.bulle {
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

/* SVG Stickmen Styling */
.stickman-line {
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4.5;
}

.stickman-mta-cap {
  fill: #E30613;
}

.stickman-mta-shirt {
  stroke: #0038A8;
  stroke-width: 5;
}

.stickman-client {
  stroke: #10B981;
}

/* Rotations with Transform Origins for limbs */
.limb-leg-left, .limb-leg-right {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}

.limb-arm-left, .limb-arm-right {
  transform-box: fill-box;
  transform-origin: 50% 0%;
}

.limb-wave {
  transform-box: fill-box;
  transform-origin: 20% 90%;
}

/* Conveyor belt dashed animation */
@keyframes beltMove {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -40; }
}

.conveyor-belt-track {
  stroke-dasharray: 10, 8;
  animation: beltMove 1.2s linear infinite;
}

/* Floating Elements */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

/* Sea Waves & Maritime Animations - Realistic Ocean & Vessel */
@keyframes oceanWaveSlow {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-35px) translateY(3px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes oceanWaveMedium {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(40px) translateY(-3px); }
  100% { transform: translateX(0) translateY(0); }
}

@keyframes oceanWaveFast {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-48px) translateY(4px); }
  100% { transform: translateX(0) translateY(0); }
}

#vague-arriere-3 {
  animation: oceanWaveSlow 8s ease-in-out infinite;
}

#vague-inter-3 {
  animation: oceanWaveMedium 6s ease-in-out infinite;
}

#vague-svg-1 {
  animation: oceanWaveSlow 6.5s ease-in-out infinite reverse;
}

#vague-svg-2 {
  animation: oceanWaveFast 4.4s ease-in-out infinite;
}

#vague-premier-plan-3 {
  animation: oceanWaveMedium 5s ease-in-out infinite reverse;
}

/* Tangage et pilonnement réalistes du navire cargo (indépendant du scroll) */
@keyframes boatPitchAndHeave {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  22% {
    transform: translateY(-5px) rotate(-1.8deg);
  }
  48% {
    transform: translateY(2px) rotate(1deg);
  }
  74% {
    transform: translateY(6px) rotate(2.2deg);
  }
  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

#bateau-flotteur-3 {
  transform-box: fill-box;
  transform-origin: 50% 65%;
  animation: boatPitchAndHeave 3.6s ease-in-out infinite;
}

/* Écume d'étrave pulsante avec la poussée dans les vagues */
@keyframes bowSprayPulse {
  0%, 100% {
    opacity: 0.65;
    transform: scale(0.92);
  }
  30% {
    opacity: 1;
    transform: scale(1.15) translate(3px, -2px);
  }
  65% {
    opacity: 0.55;
    transform: scale(0.85);
  }
}

.etrave-foam {
  transform-box: fill-box;
  transform-origin: center right;
  animation: bowSprayPulse 3.6s ease-in-out infinite;
}

/* Sillage bouillonnant à l'arrière et sous la coque */
@keyframes wakeChurn {
  0%, 100% {
    opacity: 0.65;
    transform: scaleX(1);
  }
  50% {
    opacity: 0.95;
    transform: scaleX(1.08) translateX(-4px);
  }
}

#bateau-sillage-3 {
  transform-box: fill-box;
  transform-origin: right center;
  animation: wakeChurn 2.5s ease-in-out infinite;
}

/* Volutes de fumée s'élevant de la cheminée */
@keyframes smokePuffRise {
  0% {
    transform: translate(0, 0) scale(0.8);
    opacity: 0.55;
  }
  50% {
    transform: translate(-14px, -14px) scale(1.15);
    opacity: 0.35;
  }
  100% {
    transform: translate(-28px, -26px) scale(1.4);
    opacity: 0;
  }
}

.smoke-puff-1 {
  animation: smokePuffRise 2.8s ease-out infinite;
}
.smoke-puff-2 {
  animation: smokePuffRise 2.8s ease-out infinite 0.9s;
}
.smoke-puff-3 {
  animation: smokePuffRise 2.8s ease-out infinite 1.8s;
}

/* Feux de navigation maritimes clignotants doux */
@keyframes navLightPulse {
  0%, 100% { opacity: 0.9; filter: drop-shadow(0 0 3px currentColor); }
  50% { opacity: 0.4; filter: none; }
}

.nav-light {
  animation: navLightPulse 1.8s ease-in-out infinite;
}

/* Badge multimodal dans le coin inférieur */
.badge-multimodal-corner {
  filter: drop-shadow(0 12px 24px rgba(4, 15, 30, 0.65));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.badge-multimodal-corner:hover {
  filter: drop-shadow(0 14px 28px rgba(14, 165, 233, 0.45));
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #9CA3AF;
}
::-webkit-scrollbar-thumb {
  background: #FFFFFF;
  border-radius: 5px;
  border: 2px solid #9CA3AF;
}
::-webkit-scrollbar-thumb:hover {
  background: #F1F5F9;
}
html {
  scrollbar-color: #FFFFFF #9CA3AF;
}

/* Active Nav Links */
.nav-link-active {
  color: #0038A8 !important;
  font-weight: 700;
  position: relative;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #E30613;
  border-radius: 2px;
}

/* ==========================================================================
   TRANSPARENT NAVBAR ON HERO & SCROLLED STATE
   ========================================================================== */
#main-navbar.navbar-transparent {
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

#main-navbar.navbar-transparent #top-info-bar {
  background-color: rgba(6, 14, 32, 0.45) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

#main-navbar.navbar-transparent .nav-item-link {
  color: #ffffff !important;
}

#main-navbar.navbar-transparent .nav-item-link:hover {
  color: #93c5fd !important;
}

#main-navbar.navbar-transparent #nav-logo-box {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

#main-navbar.navbar-transparent #mobile-menu-toggle {
  color: #ffffff !important;
}

#main-navbar.navbar-scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 6px 25px rgba(11, 27, 61, 0.08) !important;
}

#main-navbar.navbar-scrolled #top-info-bar {
  background-color: #f8fafc !important;
  color: #475569 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

#main-navbar.navbar-scrolled #top-info-bar a {
  color: #334155 !important;
}

#main-navbar.navbar-scrolled #top-info-bar a:hover {
  color: #0038A8 !important;
}

#main-navbar.navbar-scrolled #txt-top-address {
  color: #475569 !important;
}

#main-navbar.navbar-scrolled #txt-top-coverage {
  color: #64748b !important;
}

#main-navbar.navbar-scrolled #lang-switcher {
  background-color: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}

#main-navbar.navbar-scrolled #lang-switcher button:not(.bg-\[\#0038A8\]) {
  color: #475569 !important;
}

#main-navbar.navbar-scrolled .nav-item-link {
  color: #334155 !important;
}

#main-navbar.navbar-scrolled .nav-item-link:hover {
  color: #0038A8 !important;
}

#main-navbar.navbar-scrolled #nav-logo-box {
  background-color: transparent !important;
  box-shadow: none !important;
}

#main-navbar.navbar-scrolled #mobile-menu-toggle {
  color: #1e293b !important;
}

/* ==========================================================================
   CONTAINER & LAYOUT (Identique à mtacmr2026)
   ========================================================================== */
.container {
  width: 90% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  position: relative;
}

/* ==========================================================================
   HEADER & NAVBAR (TRANSPARENTE SUR LE HERO, BLANCHE AU SCROLL)
   ========================================================================== */
#main-navbar {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* État Transparent : Hero Section */
#main-navbar.navbar-transparent {
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#main-navbar.navbar-transparent #top-info-bar {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

#main-navbar.navbar-transparent #top-info-bar a {
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

#main-navbar.navbar-transparent #top-info-bar a:hover {
  color: #ffffff;
  opacity: 0.85;
}

#main-navbar.navbar-transparent .nav-item-link {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

#main-navbar.navbar-transparent .nav-item-link:hover {
  color: #E30613 !important;
}

#main-navbar.navbar-transparent #mobile-menu-toggle {
  color: #ffffff;
}

#main-navbar.navbar-transparent #nav-logo-img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
}

/* Services Dropdown Panel */
/* Red "Track and Trace" Button (Inspiré du modèle Jordans) */
.btn-track-and-trace {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #E30613;
  color: #ffffff !important;
  padding: 10px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(227, 6, 19, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.btn-track-and-trace:hover {
  background: #c7000b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.65);
  color: #ffffff !important;
}

.btn-track-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #051329;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.btn-track-and-trace:hover .btn-track-badge {
  background: #0038A8;
}

/* État Scrolled : Navbar devient normale (fond blanc, 1 seule ligne, top-info-bar masquée) */
#main-navbar.navbar-scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #e2e8f0;
}

#main-navbar.navbar-scrolled #top-info-bar {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

#main-navbar.navbar-scrolled #navbar-nav-row {
  background: #ffffff;
  border-top: none;
}

#main-navbar.navbar-scrolled #nav-logo-img {
  filter: none;
}

#main-navbar.navbar-scrolled .nav-item-link {
  color: #1e293b !important;
  text-shadow: none;
}

#main-navbar.navbar-scrolled .nav-item-link:hover {
  color: #0038A8 !important;
}

#main-navbar.navbar-scrolled #mobile-menu-toggle {
  color: #1e293b !important;
}

/* ==========================================================================
   SCROLL-REVEAL STORYTELLING ANIMATIONS (Identique à mtacmr2026)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.in-view {
  opacity: 1 !important;
  transform: none !important;
}

/* ==========================================================================
   HERO JORDAN & QUICK ACTIONS FROM MTACMR2026
   ========================================================================== */
.hero-jordan {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #060e20;
  padding: 190px 0 60px;
  overflow: visible;
  width: 100%;
}

.hero-jordan-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    180deg,
    rgba(6, 14, 32, 0.82) 0%,
    rgba(6, 14, 32, 0.70) 45%,
    rgba(6, 14, 32, 0.95) 100%
  ), url('../images/port-ocean-mta.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-jordan .hero-container {
  position: relative;
  z-index: 3;
  width: 90% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.hero-content-split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 50px;
}

@media (max-width: 991px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: flex-start;
  }
}

.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227, 6, 19, 0.2);
  color: #ffffff;
  border: 1px solid rgba(227, 6, 19, 0.4);
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-headline {
  font-size: clamp(2.3rem, 4.4vw, 3.9rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-subtext {
  font-size: 1.125rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  font-weight: 400;
}

.hero-actions-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #E30613, #B9050F);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(227, 6, 19, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(227, 6, 19, 0.45);
  background: linear-gradient(135deg, #ff2a37, #E30613);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: #0038A8;
  transform: translateY(-2px);
}

/* Floating interactive card */
.hero-floating-card-wrapper {
  position: relative;
  z-index: 25;
  margin-top: -65px;
  margin-bottom: 50px;
  width: 90% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.floating-main-card {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(11, 27, 61, 0.14);
  padding: 32px 36px;
  border: 1px solid rgba(11, 27, 61, 0.08);
}

.value-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.value-bar-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0038A8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.value-bar-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
}

.value-bar-cta {
  padding: 14px 28px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* La carte flottante ne contient plus que les 3 actions rapides */
.floating-main-card > .sub-actions-grid:first-child {
  border-top: 0;
  padding-top: 0;
}

/* ==========================================================================
   PRÉSENTATION DE L'ENTREPRISE
   (design repris de la "scale-section" de mtacmr2026, couleurs MTA)
   ========================================================================== */
.scale-section {
  padding: 90px 0 70px;
  background: #ffffff;
}

.scale-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.scale-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227, 6, 19, 0.08);
  color: #E30613;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(227, 6, 19, 0.2);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #071526;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  max-width: 680px;
}

/* Onglets */
.scale-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 22px;
}

.scale-tab-btn {
  padding: 10px 20px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #071526;
  cursor: pointer;
  transition: background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-tab-btn:hover {
  border-color: #0038A8;
  color: #0038A8;
}

.scale-tab-btn.active {
  background: #0038A8;
  border-color: #0038A8;
  color: #ffffff;
}

.scale-tab-btn:focus-visible {
  outline: 3px solid #E30613;
  outline-offset: 2px;
}

.scale-tab-content {
  display: none;
}

.scale-tab-content.active {
  display: block;
  animation: scaleTabIn 0.4s ease;
}

@keyframes scaleTabIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.scale-tab-text {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.scale-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
}

.scale-features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  color: #071526;
}

/* Icône illustrant chaque point (remplace la simple coche) */
.scale-feature-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(0, 56, 168, 0.1), rgba(0, 56, 168, 0.04));
  border: 1px solid rgba(0, 56, 168, 0.12);
  color: #0038A8;
  font-size: 0.95rem;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-features-list li:hover .scale-feature-icon {
  background: #0038A8;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Clients accompagnés */
.scale-industries-block {
  margin-top: 30px;
}

.scale-industries-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #64748b;
}

.scale-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.industry-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #071526;
}

.industry-chip > .fa-solid {
  color: #E30613;
  font-size: 0.8rem;
}

/* Carte visuelle */
.scale-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(7, 21, 38, 0.18);
}

.scale-visual-img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: 52% 78%;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.scale-visual-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 28px;
  background: linear-gradient(0deg, rgba(7, 21, 38, 0.96) 0%, rgba(7, 21, 38, 0.75) 55%, rgba(7, 21, 38, 0) 100%);
  color: #ffffff;
}

.scale-visual-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #E30613;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scale-visual-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}

.scale-visual-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.scale-visual-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
}

@media (max-width: 860px) {
  .scale-section {
    padding: 60px 0 40px;
  }

  .scale-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .scale-visual-img {
    height: 420px;
  }
}

@media (max-width: 520px) {
  .scale-features-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NOS DOMAINES D'ACTIVITÉ — cartes épinglées au scroll
   (inspiré de la section "values-pin" de targetym.ai)
   ========================================================================== */
.services-values {
  --v-accent: #0038A8;
  --v-accent-dark: #002570;
  --v-accent-ink: #ffffff;
  --v-red: #E30613;
  --v-soft: #eef3fb;
  --v-band: #f6f8fc;
  --v-card: #ffffff;
  --v-line: rgba(7, 21, 38, 0.08);
  --v-ink: #071526;
  --v-muted: #5b6b82;
  --v-gap: 10px;
  --v-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  position: relative;
  width: 90%;
  max-width: 1280px;
  margin: 0 auto 70px;
  padding: 56px 0 64px;
  /* Bande de fond pleine largeur, sans casser la largeur du conteneur */
  background: var(--v-band);
  box-shadow: 0 0 0 100vmax var(--v-band);
  clip-path: inset(0 -100vmax);
}

/* Desktop : le contenu reste épinglé pendant ~2,4 écrans de scroll
   (≈ 60vh de scroll entre deux cartes, 5 cartes) */
.services-values.is-live {
  height: 340vh;
  padding: 0;
}

.services-values.is-live .services-values-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px; /* place pour la barre de navigation fixe */
}

/* ---------- En-tête ---------- */
.services-values-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.v-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--v-card);
  box-shadow: inset 0 0 0 1px var(--v-line);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--v-accent);
}

.v-eyebrow > i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--v-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.15);
}

.head-duo {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--v-ink);
}

.head-duo span {
  display: block;
}

.head-duo .head-duo-sub {
  color: #93a1b8;
  font-weight: 700;
}

/* Navigation par étapes (desktop uniquement) */
.v-steps {
  position: relative;
  display: none;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border-radius: 999px;
  background: var(--v-card);
  box-shadow: inset 0 0 0 1px var(--v-line), 0 6px 18px rgba(7, 21, 38, 0.05);
}

.services-values.is-live .v-steps {
  display: inline-flex;
}

.v-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--v-muted);
  cursor: pointer;
  transition: background-color 0.35s var(--v-ease), color 0.35s var(--v-ease);
}

.v-step-num {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--v-soft);
  font-size: 10px;
  font-weight: 800;
  color: var(--v-accent);
  transition: background-color 0.35s var(--v-ease), color 0.35s var(--v-ease);
}

.v-step:hover {
  color: var(--v-ink);
}

.v-step.is-active {
  background: var(--v-accent);
  color: var(--v-accent-ink);
}

.v-step.is-active .v-step-num {
  background: rgba(255, 255, 255, 0.2);
  color: var(--v-accent-ink);
}

.v-step:focus-visible {
  outline: 3px solid var(--v-red);
  outline-offset: 2px;
}

.v-steps-progress {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: -9px;
  height: 3px;
  border-radius: 3px;
  background: rgba(0, 56, 168, 0.1);
  overflow: hidden;
}

.v-steps-progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--v-accent), var(--v-red));
  transform: scaleX(var(--v-progress, 0));
  transform-origin: left center;
}

/* ---------- Rangée de cartes ---------- */
.value-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
  height: min(480px, calc(100vh - 280px));
  min-height: 400px;
}

.value-row.is-init * {
  transition: none !important;
}

.v-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  overflow: hidden;
  border-radius: 22px;
  background: var(--v-card);
  box-shadow: inset 0 0 0 1px var(--v-line), 0 1px 2px rgba(7, 21, 38, 0.04);
  transition: flex-grow 0.7s var(--v-ease), box-shadow 0.35s ease, transform 0.35s var(--v-ease);
}

.v-item.is-open {
  flex-grow: 2.4;
  box-shadow: 0 24px 50px rgba(0, 37, 112, 0.14), inset 0 0 0 1px transparent;
}

.v-item:not(.is-open):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(7, 21, 38, 0.1), inset 0 0 0 1px var(--v-line);
}

.v-hit {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.v-hit:focus-visible {
  outline: 3px solid var(--v-red);
  outline-offset: -3px;
}

.v-item.is-open .v-hit {
  pointer-events: none;
  cursor: default;
}

/* Grande image à gauche de la carte ouverte */
.v-media {
  position: relative;
  flex: 0 0 0;
  min-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: flex-basis 0.7s var(--v-ease), opacity 0.4s ease;
}

.v-item.is-open .v-media {
  flex-basis: 44%;
  opacity: 1;
}

.v-media img,
.v-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v-media img {
  transform: scale(1.08);
  transition: transform 1.2s var(--v-ease);
}

.v-item.is-open .v-media img {
  transform: scale(1);
}

/* Léger voile pour faire ressortir le badge */
.v-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 21, 38, 0.35) 0%, transparent 45%);
  pointer-events: none;
}

.v-item[data-placeholder] .v-media::after {
  display: none;
}

/* Visuel provisoire pour les services sans photo :
   fond bleu clair à motif, grande icône aux couleurs MTA */
.v-placeholder,
.v-item[data-placeholder] .v-thumb {
  display: grid;
  place-items: center;
  background-color: #e6edf9;
  background-image: radial-gradient(rgba(0, 56, 168, 0.14) 1.2px, transparent 1.2px),
    radial-gradient(circle at 75% 20%, rgba(227, 6, 19, 0.12), transparent 50%),
    linear-gradient(160deg, #eef3fb 0%, #dbe5f6 100%);
  background-size: 14px 14px, auto, auto;
  color: rgba(0, 56, 168, 0.32);
  font-size: 4.5rem;
}

.v-item[data-placeholder] .v-thumb > .fa-solid {
  font-size: 2.6rem;
  transition: transform 0.5s var(--v-ease);
}

.v-item[data-placeholder]:not(.is-open):hover .v-thumb > .fa-solid {
  transform: scale(1.12) rotate(-6deg);
}

/* ---------- Encoches "découpées" dans les coins (badge et flèche) ---------- */
.dock {
  --dr: 16px;
  --dock-bg: var(--v-card);
  position: absolute;
  z-index: 3;
  background: var(--dock-bg);
  pointer-events: none;
}

.dock::before,
.dock::after {
  content: "";
  position: absolute;
  width: var(--dr);
  height: var(--dr);
  background: var(--dock-bg);
}

.dock-bl {
  bottom: 0;
  left: 0;
  padding: var(--v-gap) var(--v-gap) 0 0;
  border-top-right-radius: var(--dr);
}

.dock-bl::before { bottom: 0; left: 100%; }
.dock-bl::after { left: 0; bottom: 100%; }

.dock-bl::before,
.dock-bl::after {
  -webkit-mask: radial-gradient(circle at 100% 0, transparent calc(var(--dr) - 0.5px), #000 var(--dr));
  mask: radial-gradient(circle at 100% 0, transparent calc(var(--dr) - 0.5px), #000 var(--dr));
}

.dock-br {
  bottom: 0;
  right: 0;
  padding: var(--v-gap) 0 0 var(--v-gap);
  border-top-left-radius: var(--dr);
}

.dock-br::before { bottom: 0; right: 100%; }
.dock-br::after { right: 0; bottom: 100%; }

.dock-br::before,
.dock-br::after {
  -webkit-mask: radial-gradient(circle at 0 0, transparent calc(var(--dr) - 0.5px), #000 var(--dr));
  mask: radial-gradient(circle at 0 0, transparent calc(var(--dr) - 0.5px), #000 var(--dr));
}

.v-media .dock {
  --dr: 20px;
}

/* Le badge glisse en place à l'ouverture */
.v-media .dock > * {
  transform: translate(-24px, 24px);
  opacity: 0;
  transition: transform 0.6s var(--v-ease), opacity 0.4s ease;
}

.v-item.is-open .v-media .dock > * {
  transform: none;
  opacity: 1;
  transition-delay: 0.45s;
}

.v-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px 9px 11px;
  border-radius: 999px;
  background: var(--v-soft);
  font-size: 12px;
  font-weight: 700;
  color: var(--v-ink);
  white-space: nowrap;
}

.v-live > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--v-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.18);
}

/* ---------- Colonne de texte ---------- */
.v-panel {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.v-hi {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px 16px;
  color: var(--v-accent);
  transition: background-color 0.5s var(--v-ease), color 0.5s var(--v-ease), padding 0.5s var(--v-ease);
}

.v-item.is-open .v-hi {
  background: linear-gradient(135deg, var(--v-accent) 0%, var(--v-accent-dark) 100%);
  color: var(--v-accent-ink);
  padding: 22px 24px;
}

.v-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--v-soft);
  display: grid;
  place-items: center;
  transition: background-color 0.5s var(--v-ease), transform 0.5s var(--v-ease);
}

.v-item.is-open .v-ico {
  background: rgba(255, 255, 255, 0.16);
  transform: scale(1.06);
}

.v-ico svg {
  width: 20px;
  height: 20px;
}

/* Numéro du service (01/04) */
.v-num {
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #b3bfd2;
  transition: font-size 0.5s var(--v-ease), color 0.5s var(--v-ease);
}

.v-num small {
  font-size: 0.6em;
  font-weight: 700;
  opacity: 0.7;
  margin-left: 1px;
}

.v-item.is-open .v-num {
  font-size: 32px;
  color: rgba(255, 255, 255, 0.95);
}

/* Vignette photo des cartes fermées */
.v-thumb {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  margin: 0 18px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--v-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: flex-grow 0.6s var(--v-ease), min-height 0.6s var(--v-ease), margin 0.6s var(--v-ease), opacity 0.4s ease;
}

.v-thumb .dock {
  --dr: 14px;
}

.v-item.is-open .v-thumb {
  flex-grow: 0;
  min-height: 0;
  margin-top: 0;
  opacity: 0;
}

.v-go {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--v-soft);
  font-style: normal;
  font-size: 15px;
  color: var(--v-ink);
  transition: background-color 0.2s, color 0.2s, transform 0.3s var(--v-ease);
}

.v-item:not(.is-open):hover .v-go {
  background: var(--v-red);
  color: #ffffff;
  transform: rotate(-45deg);
}

.v-text {
  margin-top: auto;
  padding: 16px 20px 20px;
}

.v-item.is-open .v-text {
  margin-top: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 24px 20px;
}

.v-text h3 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--v-ink);
  transition: font-size 0.5s var(--v-ease);
}

.v-item.is-open .v-text h3 {
  font-size: 23px;
  letter-spacing: -0.01em;
}

.v-text > p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--v-muted);
}

.v-item.is-open .v-text > p {
  margin-top: 10px;
  font-size: 14.5px;
}

.v-detail {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--v-ease), opacity 0.3s ease;
}

.v-detail > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.6s;
}

.v-item.is-open .v-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  transition-delay: 0s, 0.2s;
}

.v-item.is-open .v-detail > div {
  visibility: visible;
}

.v-list {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--v-line);
  display: grid;
  gap: 7px;
}

.v-list li {
  position: relative;
  padding-left: 26px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  color: #334155;
}

/* Puce "coche" */
.v-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(0, 56, 168, 0.1);
}

.v-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 5px;
  width: 4px;
  height: 7px;
  border: solid var(--v-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.v-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--v-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(227, 6, 19, 0.25);
  transition: background-color 0.2s, transform 0.2s;
}

.v-cta:hover {
  background: #B9050F;
  transform: translateY(-1px);
}

.v-cta i {
  font-size: 11px;
  transition: transform 0.2s;
}

.v-cta:hover i {
  transform: translateX(3px);
}

/* ---------- Tablette & mobile : cartes empilées, ouverture au clic ---------- */
@media (max-width: 1080px) {
  .services-values {
    padding: 44px 0 48px;
  }

  .value-row {
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .v-item {
    flex: none;
  }

  .v-item.is-open .v-media {
    display: none;
  }

  .v-thumb {
    flex: none;
    min-height: 140px;
    margin-top: 4px;
  }

  .v-item.is-open .v-thumb {
    min-height: 0;
  }

  .v-item.is-open .v-num {
    font-size: 24px;
  }

  .v-item.is-open .v-text h3 {
    font-size: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-values * {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

.sub-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
}

@media (max-width: 860px) {
  .sub-actions-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.sub-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.sub-action-card:hover {
  background: #0038A8;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 56, 168, 0.18);
  border-color: #0038A8;
}

.sub-action-card:hover .sub-action-title,
.sub-action-card:hover .sub-action-desc,
.sub-action-card:hover .sub-action-icon svg {
  color: #ffffff !important;
}

.sub-action-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #071526;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.sub-action-desc {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.sub-action-icon {
  margin-left: 12px;
  color: #0038A8;
  transition: color 0.2s ease;
}

/* Partners strip */
.partners-section {
  padding: 60px 0;
  background: #ffffff;
  border-bottom: 1px solid #edf2f7;
  text-align: center;
}

.partners-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 800;
  color: #94a3b8;
  transition: all 0.3s ease;
  opacity: 0.75;
}

.partner-logo-item:hover {
  opacity: 1;
  color: #0038A8;
}

@media (max-width: 600px) {
  .floating-main-card {
    padding: 20px 16px;
  }
  .value-bar-cta {
    width: 100%;
    justify-content: center;
  }
}


/* Logo IATA du pied de page, affiché en blanc (le fichier d'origine est bleu) */
.footer-iata-logo {
  display: block;
  /* Le fichier SVG a de grandes marges : on recadre sur le logo */
  width: 220px;
  height: 80px;
  object-fit: cover;
  object-position: center;
  margin-left: -28px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ==========================================================================
   POURQUOI NOUS CHOISIR ? — grille "bento"
   ========================================================================== */
.why-section {
  position: relative;
  padding: 100px 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(0, 56, 168, 0.07), transparent 40%),
    radial-gradient(circle at 92% 88%, rgba(227, 6, 19, 0.06), transparent 40%),
    #F6F8FC;
}

.why-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.why-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.why-head .section-subtitle {
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 18px;
}

.why-tile {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(7, 21, 38, 0.04), 0 10px 30px rgba(7, 21, 38, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.why-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 21, 38, 0.1);
}

/* Grande photo */
.why-photo {
  grid-column: span 2;
  grid-row: span 2;
  margin: 0;
  min-height: 420px;
  overflow: hidden;
}

.why-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-photo:hover > img {
  transform: scale(1.04);
}

.why-photo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 90px 28px 26px;
  background: linear-gradient(0deg, rgba(7, 21, 38, 0.95) 0%, rgba(7, 21, 38, 0.6) 55%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.why-photo-caption strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.why-photo-caption span {
  max-width: 440px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* Logo IATA recadré et blanc (le SVG a de grandes marges) */
.why-iata {
  width: 170px;
  height: 62px;
  object-fit: cover;
  margin-left: -22px;
  filter: brightness(0) invert(1);
}

/* Chiffres clés */
.why-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  overflow: hidden;
}

.why-stat::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.08;
}

.why-stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.why-stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.why-stat--blue {
  background: linear-gradient(145deg, #0038A8 0%, #002570 100%);
  color: #ffffff;
}

.why-stat--white {
  color: #0038A8;
  box-shadow: inset 0 0 0 1px #E2E8F0, 0 10px 30px rgba(7, 21, 38, 0.05);
}

.why-stat--white .why-stat-label {
  color: #475569;
}

.why-stat--red {
  background: linear-gradient(145deg, #E30613 0%, #B9050F 100%);
  color: #ffffff;
}

/* Tuile d'appel à l'action */
.why-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  padding: 28px;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
  background:
    linear-gradient(150deg, rgba(7, 21, 38, 0.92) 0%, rgba(0, 56, 168, 0.82) 100%),
    url('../images/hero-3.jpg') center / cover no-repeat;
}

.why-cta-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FCA5A5;
}

.why-cta-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.2;
  padding-right: 48px;
}

.why-cta-arrow {
  position: absolute;
  right: 22px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E30613;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-cta:hover .why-cta-arrow {
  transform: translateX(4px) rotate(-45deg);
}

/* Atouts */
.why-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.why-reason {
  padding: 28px;
}

.why-reason-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(0, 56, 168, 0.08);
  color: #0038A8;
  font-size: 1.15rem;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.why-reason:hover .why-reason-icon {
  background: #0038A8;
  color: #ffffff;
}

.why-reason h3 {
  margin-top: 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: #071526;
}

.why-reason p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

/* ==========================================================================
   TÉMOIGNAGES — carrousel sur fond sombre
   ========================================================================== */
.testi-section {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 56, 168, 0.45), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(227, 6, 19, 0.25), transparent 40%),
    #071526;
}

.testi-container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.testi-tag {
  background: rgba(227, 6, 19, 0.15);
  border-color: rgba(227, 6, 19, 0.35);
  color: #FCA5A5;
}

.testi-title {
  color: #ffffff;
}

.testi-sub {
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd5e1;
  max-width: 480px;
}

.testi-photo {
  position: relative;
  margin-top: 28px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.testi-photo img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: 48% 35%;
}

.testi-photo-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ffffff;
  color: #071526;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.testi-photo-badge .fa-heart {
  color: #E30613;
}

/* Carrousel */
.testi-slider {
  min-width: 0;
}

.testi-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 24px;
  scrollbar-width: none;
}

.testi-track::-webkit-scrollbar {
  display: none;
}

.testi-track:focus-visible {
  outline: 3px solid #E30613;
  outline-offset: 4px;
  border-radius: 24px;
}

.testi-card {
  position: relative;
  flex: 0 0 88%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  margin: 0;
  padding: 34px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.testi-example {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.testi-quote-icon {
  font-size: 2.4rem;
  color: #E30613;
}

.testi-stars {
  display: flex;
  gap: 4px;
  margin: 16px 0 14px;
  color: #FACC15;
  font-size: 0.9rem;
}

.testi-card blockquote {
  flex: 1;
  margin: 0;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.65;
  color: #F1F5F9;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testi-avatar {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0038A8, #E30613);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}

.testi-author strong {
  display: block;
  font-size: 0.95rem;
}

.testi-service {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #93C5FD;
}

.testi-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
}

.testi-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.testi-btn:hover,
.testi-btn:focus-visible {
  background: #E30613;
  border-color: #E30613;
  outline: none;
}

.testi-dots {
  display: flex;
  gap: 8px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.testi-dot.is-active {
  width: 28px;
  background: #E30613;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-photo {
    grid-row: span 1;
    min-height: 360px;
  }

  .why-reasons {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .why-section,
  .testi-section {
    padding: 70px 0;
  }

  .why-grid {
    grid-auto-rows: minmax(170px, auto);
  }

  .why-reasons {
    grid-template-columns: 1fr;
  }

  .testi-card {
    flex-basis: 92%;
    padding: 26px;
  }

  .testi-card blockquote {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testi-track {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   BOUTON WHATSAPP FLOTTANT AVEC CHOIX DU SERVICE (js/whatsapp-widget.js)
   ========================================================================== */
.mta-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Bouton rond */
.mta-wa-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mta-wa-toggle-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

/* Halo qui pulse pour attirer l'œil */
.mta-wa-toggle-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: mtaWaPulse 2.4s ease-out infinite;
}

@keyframes mtaWaPulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}

.mta-wa-toggle:hover .mta-wa-toggle-icon {
  transform: scale(1.06);
}

.mta-wa-toggle:focus-visible .mta-wa-toggle-icon {
  outline: 3px solid #0038A8;
  outline-offset: 3px;
}

.mta-wa-icon-close {
  display: none;
  font-size: 24px;
}

.mta-wa.is-open .mta-wa-icon-open { display: none; }
.mta-wa.is-open .mta-wa-icon-close { display: inline; }
.mta-wa.is-open .mta-wa-toggle-icon { background: #128C7E; }
.mta-wa.is-open .mta-wa-toggle-icon::before { animation: none; opacity: 0; }

/* Étiquette "Discuter sur WhatsApp" (au survol, écrans larges) */
.mta-wa-label {
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #071526;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(7, 21, 38, 0.15);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mta-wa-toggle:hover .mta-wa-label {
  opacity: 1;
  transform: none;
}

.mta-wa.is-open .mta-wa-label {
  display: none;
}

/* Fenêtre de choix du service */
.mta-wa-popup {
  width: 350px;
  max-width: calc(100vw - 32px);
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(7, 21, 38, 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mta-wa-popup.is-visible {
  opacity: 1;
  transform: none;
}

.mta-wa-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
}

.mta-wa-header-icon {
  flex-shrink: 0;
  font-size: 34px;
  line-height: 1;
}

.mta-wa-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
}

.mta-wa-intro {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.mta-wa-body {
  padding: 14px 16px 18px;
  max-height: min(420px, 60vh);
  overflow-y: auto;
}

.mta-wa-note {
  margin: 0 4px 12px;
  font-size: 0.75rem;
  color: #64748b;
}

.mta-wa-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.mta-wa-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #F6F8FC;
  border-left: 3px solid #25D366;
  color: #071526;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mta-wa-item:hover,
.mta-wa-item:focus-visible {
  background: #ffffff;
  transform: translateX(-2px);
  box-shadow: 0 8px 20px rgba(7, 21, 38, 0.1);
  outline: none;
}

.mta-wa-avatar {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0038A8, #002570);
  color: #ffffff;
  font-size: 1rem;
}

.mta-wa-online {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #25D366;
  border: 2px solid #ffffff;
}

.mta-wa-item-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mta-wa-item-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.mta-wa-item-text span {
  font-size: 0.76rem;
  color: #64748b;
}

.mta-wa-item-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: #25D366;
}

@media (max-width: 600px) {
  .mta-wa {
    right: 16px;
    bottom: 16px;
  }

  .mta-wa-toggle-icon {
    width: 56px;
    height: 56px;
    font-size: 28px;
  }

  .mta-wa-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mta-wa-toggle-icon::before {
    animation: none;
  }
}


/* ==========================================================================
   EN-TÊTE DU SCROLLYTELLING (titre, étapes, progression)
   ========================================================================== */
.scrolly-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  padding: 92px 16px 0;
  pointer-events: none;
}
.scrolly-hud-bar {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 14px 12px 18px;
  border-radius: 20px;
  background: rgba(7, 21, 38, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 18px 40px rgba(2, 6, 23, 0.35);
  pointer-events: auto;
}
.scrolly-hud-title {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.scrolly-live {
  position: relative;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E30613;
}
.scrolly-live::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(227, 6, 19, 0.5);
  animation: scrollyLive 1.8s ease-out infinite;
}
@keyframes scrollyLive {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.6); opacity: 0; }
}
.scrolly-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FCA5A5;
}
.scrolly-hud-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}
.scrolly-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.scrolly-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 12px 6px 6px;
  border-radius: 14px;
  color: #94a3b8;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.scrolly-step + .scrolly-step::before {
  content: "";
  width: 14px;
  height: 2px;
  margin-right: 6px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
}
.scrolly-step-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.scrolly-step-txt {
  display: flex;
  flex-direction: column;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
}
.scrolly-step-txt small {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.scrolly-step.is-done { color: #cbd5e1; }
.scrolly-step.is-done .scrolly-step-ico { background: #0038A8; color: #fff; }
.scrolly-step.is-active { background: #fff; color: #071526; }
.scrolly-step.is-active .scrolly-step-ico {
  background: #E30613;
  color: #fff;
  box-shadow: 0 6px 14px rgba(227, 6, 19, 0.35);
}
.scrolly-step.is-active .scrolly-step-txt small { color: #E30613; opacity: 1; }
.scrolly-pct {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  line-height: 1;
}
#scrolly-progress-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  font-feature-settings: 'tnum';
}
.scrolly-pct small {
  margin-top: 3px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
}
.scrolly-progress {
  max-width: 1252px;
  height: 4px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: rgba(7, 21, 38, 0.35);
  overflow: hidden;
}
#scrolly-progress-bar {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0038A8, #3B82F6, #E30613);
}
.scrolly-hint {
  margin-top: 8px;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #071526;
  opacity: 0.6;
}
.scrolly-hint i { color: #E30613; margin-right: 4px; animation: scrollyHint 1.6s ease-in-out infinite; }
@keyframes scrollyHint { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

@media (max-width: 1100px) {
  .scrolly-step-txt small { display: none; }
}
@media (max-width: 860px) {
  .scrolly-hud { padding-top: 76px; }
  .scrolly-hud-bar { flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px; }
  .scrolly-pct { display: none; }
  .scrolly-step { padding: 4px; }
  .scrolly-step-txt { display: none; }
  .scrolly-step.is-active .scrolly-step-txt { display: flex; }
  .scrolly-step.is-active { padding-right: 10px; }
  .scrolly-hint { display: none; }
}

/* ==========================================================================
   CARTES D'HISTOIRE : version claire, plus lisible sur les décors de jour
   ========================================================================== */
[id^="card-etape"] {
  top: 11.5rem !important;
  padding: 22px 24px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 30px 60px rgba(7, 21, 38, 0.25), 0 2px 6px rgba(7, 21, 38, 0.08) !important;
  color: #071526 !important;
}
[id^="card-etape"] > div:first-child {
  color: #0038A8 !important;
  letter-spacing: 0.08em;
}
[id^="card-etape"] > div:first-child > span:first-child {
  background: #E30613 !important;
  border-color: #E30613 !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 3px 10px !important;
}
[id^="card-etape"] h3 {
  color: #071526 !important;
  font-size: 1.35rem;
  line-height: 1.2;
}
[id^="card-etape"] p {
  color: #475569 !important;
}
[id^="card-etape"] p strong {
  color: #071526;
}
[id^="card-etape"] > div:last-child {
  flex-wrap: wrap;
  gap: 6px !important;
}
[id^="card-etape"] > div:last-child span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #EEF3FB;
  color: #0038A8 !important;
  font-weight: 700;
}
[id^="card-etape"] > div:last-child span i {
  color: #E30613 !important;
}
@media (max-width: 860px) {
  [id^="card-etape"] { top: 9.5rem !important; padding: 16px 18px !important; }
  [id^="card-etape"] h3 { font-size: 1.1rem; }
}

/* ==========================================================================
   BOUTON FLOTTANT « RETOUR EN HAUT » (toutes les pages)
   ========================================================================== */
.mta-to-top {
  position: fixed;
  right: 29px;
  bottom: 96px;
  z-index: 69;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #0B1B3D;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 27, 61, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s, background-color 0.2s ease;
}
.mta-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.mta-to-top:hover { background: #E30613; }
.mta-to-top:hover i { transform: translateY(-2px); }
.mta-to-top:focus-visible { outline: 3px solid #0038A8; outline-offset: 3px; }
.mta-to-top i { position: relative; font-size: 15px; transition: transform 0.2s ease; }
.mta-to-top-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.mta-to-top-ring circle { fill: none; stroke-width: 2.5; }
.mta-to-top-track { stroke: rgba(255, 255, 255, 0.15); }
.mta-to-top-progress { stroke: #E30613; stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
.mta-to-top:hover .mta-to-top-progress { stroke: #ffffff; }
@media (max-width: 640px) {
  .mta-to-top { right: 23px; bottom: 90px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .mta-to-top, .mta-to-top i { transition: none; }
}

/* ==========================================================================
   SÉLECTEUR DE LANGUE DANS LA NAVBAR BLANCHE (accueil, au scroll)
   ========================================================================== */
.nav-lang-pill {
  display: none;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}
#main-navbar.navbar-scrolled .nav-lang-pill { display: inline-flex; }
.nav-lang-pill > i { color: #64748b; font-size: 12px; padding: 0 4px 0 6px; }
.nav-lang-opt {
  border: 0;
  background: transparent;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 5px 9px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-lang-opt:hover { color: #0038A8; }
.nav-lang-opt.is-active { background: #0038A8; color: #ffffff; }
.nav-lang-opt:focus-visible { outline: 2px solid #0038A8; outline-offset: 2px; }
@media (max-width: 380px) {
  .nav-lang-pill > i { display: none; }
}
/* Petits écrans : navbar compacte pour loger langue + bouton + menu */
@media (max-width: 480px) {
  #navbar-nav-row .btn-track-and-trace { padding: 9px 12px; }
  #navbar-nav-row .container > .flex.items-center.gap-3 { gap: 8px; }
  .nav-lang-pill > i { display: none; }
  .nav-lang-opt { padding: 5px 7px; }
  #nav-logo-img { height: 2.25rem; }
}

/* ==========================================================================
   MENU DÉROULANT « NOS SERVICES » (navbar, toutes les pages)
   ========================================================================== */
.nav-dd-chevron { transition: transform .3s ease; }
.nav-dd:hover .nav-dd-chevron,
.nav-dd.is-open .nav-dd-chevron { transform: rotate(180deg); }

.nav-dd-wrap {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  padding-top: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1), visibility .25s;
}
.nav-dd:hover .nav-dd-wrap,
.nav-dd:focus-within .nav-dd-wrap,
.nav-dd.is-open .nav-dd-wrap {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dd.is-closed .nav-dd-wrap { opacity: 0; visibility: hidden; pointer-events: none; }
/* Petite flèche reliant le panneau au lien */
.nav-dd-wrap::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border-left: 1px solid #e2e8f0;
  border-top: 1px solid #e2e8f0;
  border-radius: 3px 0 0 0;
  transform: translateX(-50%) rotate(45deg);
}

.nav-dd-panel {
  display: flex;
  flex-direction: column;
  width: 420px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 30px 60px -12px rgba(7, 21, 38, .28), 0 10px 24px rgba(7, 21, 38, .08);
  color: #0f172a;
  text-align: left;
}
.nav-dd-list { display: flex; flex-direction: column; gap: 2px; padding: 8px 4px 6px 6px; }
.nav-dd-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 0 10px 8px;
}
.nav-dd-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  color: #0f172a !important;
  transition: background-color .2s ease;
}
.nav-dd-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 11%, #ffffff);
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}
.nav-dd-text { display: flex; flex-direction: column; min-width: 0; }
.nav-dd-text strong { font-family: 'Outfit', sans-serif; font-size: 14.5px; font-weight: 700; line-height: 1.25; color: #0f172a; }
.nav-dd-text small { font-size: 12px; line-height: 1.45; color: #64748b; margin-top: 2px; }
.nav-dd-arrow {
  margin-left: auto;
  font-size: 12px;
  color: var(--c);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .2s ease, transform .2s ease;
}
.nav-dd-item:hover,
.nav-dd-item:focus-visible { background: #f5f7fb; outline: none; }
.nav-dd-item:hover .nav-dd-icon,
.nav-dd-item:focus-visible .nav-dd-icon { background: var(--c); color: #ffffff; transform: scale(1.05); }
.nav-dd-item:hover .nav-dd-arrow,
.nav-dd-item:focus-visible .nav-dd-arrow { opacity: 1; transform: none; }
.nav-dd-item.is-current { background: #f5f7fb; }
.nav-dd-item.is-current::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--c);
}

.nav-dd-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border-radius: 16px;
  color: #ffffff;
  background:
    radial-gradient(220px 160px at 110% -10%, rgba(227, 6, 19, .45), transparent 70%),
    linear-gradient(160deg, #0b2d7a 0%, #071526 100%);
}
.nav-dd-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px) 0 0 / 14px 14px;
  pointer-events: none;
}
.nav-dd-aside > * { position: relative; z-index: 1; }
.nav-dd-aside-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffb3b8;
}
.nav-dd-dot { width: 7px; height: 7px; border-radius: 50%; background: #E30613; box-shadow: 0 0 0 4px rgba(227, 6, 19, .25); }
.nav-dd-aside-title { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 800; line-height: 1.25; margin-top: 12px; color: #ffffff; }
.nav-dd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding: 11px 14px;
  border-radius: 12px;
  background: #E30613;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(227, 6, 19, .35);
  transition: background-color .2s ease, transform .2s ease;
}
.nav-dd-cta:hover { background: #c7000b; transform: translateY(-1px); }
.nav-dd-cta i { font-size: 11px; transition: transform .2s ease; }
.nav-dd-cta:hover i { transform: translateX(3px); }
.nav-dd-links { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); }
.nav-dd-aside .nav-dd-cta { margin-bottom: 16px; }
.nav-dd-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #d3dcea !important;
  transition: color .2s ease;
}
.nav-dd-links a i { width: 16px; text-align: center; color: #ffffff; opacity: .7; }
.nav-dd-links a:hover { color: #ffffff !important; }
.nav-dd-cta:focus-visible, .nav-dd-links a:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }

@media (max-width: 1180px) {
  .nav-dd-panel { width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dd-wrap, .nav-dd-chevron, .nav-dd-icon, .nav-dd-arrow { transition: none; }
}

/* Sous-menu « Nos Services » du menu mobile */
.nav-mdd-list { margin: 4px 0 6px; padding: 6px; display: grid; gap: 2px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); }
.nav-mdd-list.hidden { display: none; }
.nav-mdd-item { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .88) !important; transition: background-color .2s ease; }
.nav-mdd-item:hover, .nav-mdd-item.is-current { background: rgba(255, 255, 255, .08); color: #ffffff !important; }
.nav-mdd-icon { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; color: #ffffff; background: var(--c); }
#mobile-services-toggle i { transition: transform .25s ease; }
#mobile-services-toggle.is-open i { transform: rotate(180deg); }
