/* =============================================
   BRAND PAGE — Image de Marque
   Noveo Digital
   ============================================= */

/* ===== 1. Header Logo & CTA Reveal on Scroll ===== */
header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

header .content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  width: min(var(--content), calc(100% - 28px));
  margin: 12px auto 0;
  padding: 14px 18px;
  transition: padding 0.35s ease;
}

header .content > * {
  min-width: 0;
}

header .left {
  justify-self: start;
}

header nav {
  position: relative;
  justify-self: center;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 38px rgba(3, 6, 18, 0);
  transition:
    padding 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    backdrop-filter 0.35s ease,
    -webkit-backdrop-filter 0.35s ease;
}

header .header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

header.scrolled nav { 
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.58) 0%, rgba(14, 18, 35, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(3, 6, 18, 0.22);
}

header .logo {
  overflow: hidden;
  width: 36px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

header .logo img {
  min-width: 150px;
  width: 150px;
}

header.scrolled .logo {
  width: 150px;
}

header .lang-dropdown {
  position: relative;
  margin-left: 0;
  z-index: 220;
}

header .lang-dropdown .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

header .lang-dropdown .lang-current:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(165, 209, 255, 0.24);
  box-shadow: 0 16px 30px rgba(3, 6, 18, 0.18);
}

header .lang-dropdown .lang-current .flag {
  display: none;
}

header .lang-dropdown .lang-current .lang-arrow {
  margin-left: 2px;
  font-size: 10px;
  transition: transform 0.2s ease;
}

header .lang-dropdown:hover .lang-current .lang-arrow,
header .lang-dropdown.open .lang-current .lang-arrow {
  transform: rotate(180deg);
}

header .lang-dropdown .lang-options {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 164px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.94) 0%, rgba(11, 15, 30, 0.92) 100%);
  box-shadow: 0 22px 48px rgba(3, 6, 18, 0.38);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

header .lang-dropdown:hover .lang-options,
header .lang-dropdown.open .lang-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header .lang-dropdown .lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

header .lang-dropdown .lang-options a:hover {
  background: rgba(97, 142, 255, 0.12);
  color: rgba(255, 255, 255, 0.98);
}

header .lang-dropdown .lang-options a.active-lang {
  background: rgba(97, 142, 255, 0.18);
  color: #ffffff;
  font-weight: 600;
}

header .lang-dropdown .lang-options .flag {
  font-size: 17px;
  line-height: 1;
}

header.scrolled .lang-dropdown .lang-current {
  background: linear-gradient(180deg, rgba(14, 18, 35, 0.58) 0%, rgba(14, 18, 35, 0.34) 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 44px rgba(3, 6, 18, 0.18);
}

header button.white {
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

header button.white .btn-text {
  display: block;
  flex: 0 0 auto;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s ease,
              margin 0.5s ease;
  margin-right: 0;
}

header.scrolled button.white .btn-text {
  max-width: 200px;
  opacity: 1;
  margin-right: 8px;
}

header:not(.scrolled) button.white:hover .btn-text,
header:not(.scrolled) button.white:focus-visible .btn-text {
  max-width: 200px;
  opacity: 1;
  margin-right: 8px;
}

.mobile-menu .lang-dropdown {
  position: relative;
  margin-top: 8px;
}

.mobile-menu .lang-dropdown .lang-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.mobile-menu .lang-dropdown .lang-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
}

.mobile-menu .lang-dropdown.open .lang-arrow {
  transform: rotate(180deg);
}

.mobile-menu .lang-dropdown .lang-options {
  position: relative;
  top: 10px;
  width: min(260px, 80vw);
  max-height: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu .lang-dropdown.open .lang-options {
  max-height: 220px;
  padding: 8px;
  opacity: 1;
  visibility: visible;
}

.mobile-menu .lang-dropdown .lang-options a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 15px;
}

.mobile-menu .lang-dropdown .lang-options a:hover,
.mobile-menu .lang-dropdown .lang-options a.active-lang {
  background: rgba(97, 142, 255, 0.16);
}

footer h1 .footer-word {
  display: inline-flex;
  align-items: center;
}

footer h1 .footer-word--main,
footer h1 .footer-word--main .footer-char {
  font-size: 160px;
}

footer h1 .footer-word--accent,
footer h1 .footer-word--accent .footer-char {
  font-size: 120px;
}

footer h1 .footer-char {
  display: inline-block;
  font-size: inherit;
  will-change: transform, opacity;
}

/* ===== 2. Hero — Brand Ecosystem inside .illustrate ===== */
.hero.service-page .content {
  margin-top: 16vh;
  margin-bottom: 16vh;
}

.hero.service-page .content .text {
  max-width: 60%;
  height: auto;
  min-height: 55vh;
}

.hero.service-page .content .text h1 {
  font-size: 46px;
  line-height: 1.15;
}

.hero.service-page .illustrate:has(.brand-ecosystem) {
  width: 50%;
  right: -2%;
  bottom: 5%;
}

.hero.service-page {
  overflow: visible;
}

.hero.service-page::before {
  background-image:
    linear-gradient(
      180deg,
      rgba(7, 14, 28, 0) 0%,
      rgba(7, 14, 28, 0) 56%,
      rgba(7, 14, 28, 0.14) 68%,
      rgba(4, 5, 16, 0.56) 84%,
      rgba(4, 5, 16, 0.94) 100%
    ),
    url("/img/heroback.png");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}

.interactive-showcase {
  margin-top: -12vh;
  padding-top: 14vh;
  background: transparent;
  isolation: isolate;
}

.interactive-showcase::before {
  top: 0;
  left: 50%;
  width: 100vw;
  height: calc(24vh + 100%);
  margin-top: -24vh;
  background: transparent;
  transition: background 0.7s ease, opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-showcase::after {
  content: "";
  position: absolute;
  inset: -2px 0 0; 
  opacity: 0;
  pointer-events: none;
  z-index: -2;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body.bg-white .interactive-showcase {
  background: transparent;
}

body.bg-white .interactive-showcase::after {
  opacity: 1;
}

/* SVG draw animation helper */
.hero svg path,
.hero svg rect,
.hero svg circle,
.hero svg line,
.hero svg polyline {
  transition: fill-opacity 0.4s ease;
}

.illustrate .brand-ecosystem {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Brand ecosystem illustration — CSS-based mini mockups */
.brand-eco-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.brand-eco-item {
  position: absolute;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease;
  opacity: 0;
  transform: scale(0.8) translateY(30px);
}

.brand-eco-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Browser mockup */
.eco-browser {
  top: 2%;
  left: 5%;
  width: 320px;
  height: 220px;
  z-index: 3;
  animation: ecoFloat1 6s ease-in-out infinite;
}

.eco-browser .browser-bar {
  height: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.eco-browser .browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.eco-browser .browser-dot:first-child { background: rgba(255, 100, 100, 0.4); }
.eco-browser .browser-dot:nth-child(2) { background: rgba(255, 200, 50, 0.4); }
.eco-browser .browser-dot:nth-child(3) { background: rgba(100, 255, 100, 0.4); }

.eco-browser .browser-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eco-browser .browser-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.eco-browser .browser-line:first-child { width: 60%; }
.eco-browser .browser-line:nth-child(2) { width: 85%; }
.eco-browser .browser-line:nth-child(3) { width: 45%; }

.eco-browser .browser-block {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.eco-browser .browser-block-item {
  flex: 1;
  height: 40px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Business card mockup */
.eco-card {
  top: 40%;
  left: -5%;
  width: 240px;
  height: 145px;
  z-index: 4;
  transform: rotate(-6deg);
  animation: ecoFloat2 7s ease-in-out infinite;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eco-card .card-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.1);
}

.eco-card .card-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eco-card .card-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.eco-card .card-line:first-child { width: 70%; }
.eco-card .card-line:nth-child(2) { width: 50%; }
.eco-card .card-line:nth-child(3) { width: 35%; }

/* Logo mockup */
.eco-logo {
  top: 8%;
  right: 0%;
  width: 140px;
  height: 140px;
  z-index: 5;
  border-radius: 24px;
  animation: ecoFloat3 5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-logo .logo-shape {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-logo .logo-inner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

/* Print document mockup */
.eco-print {
  bottom: 3%;
  left: 32%;
  width: 170px;
  height: 220px;
  z-index: 2;
  animation: ecoFloat4 8s ease-in-out infinite;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eco-print .print-header {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.eco-print .print-line {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.07);
}

.eco-print .print-line:nth-child(2) { width: 90%; }
.eco-print .print-line:nth-child(3) { width: 75%; }
.eco-print .print-line:nth-child(4) { width: 85%; }
.eco-print .print-line:nth-child(5) { width: 60%; }

.eco-print .print-block {
  flex: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

/* Vehicle mockup — SVG van */
.eco-vehicle {
  bottom: 8%;
  right: -3%;
  width: 240px;
  height: 150px;
  z-index: 3;
  border-radius: 16px;
  animation: ecoFloat5 6.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.eco-vehicle .vehicle-svg {
  width: 100%;
  height: 100%;
}

/* Connecting lines between ecosystem items */
.eco-connector {
  position: absolute;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  height: 1px;
  z-index: 1;
  transform-origin: left center;
}

.eco-connector-1 { top: 35%; left: 25%; width: 180px; transform: rotate(15deg); }
.eco-connector-2 { top: 50%; left: 40%; width: 120px; transform: rotate(-20deg); }
.eco-connector-3 { top: 65%; left: 30%; width: 200px; transform: rotate(5deg); }

/* Floating keyframes for ecosystem */
@keyframes ecoFloat1 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

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

@keyframes ecoFloat3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-12px) scale(1.02); }
}

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

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

/* Refined SVG ecosystem for hero */
.hero.service-page .illustrate:has(.brand-ecosystem) {
  width: 66%;
  left: auto;
  right: 0;
  bottom: -1%;
  transform: translateX(-6%);
}

.hero.service-page .content .text {
  max-width: 48%;
  position: relative;
  z-index: 3;
}

.hero.service-page .content .text .btns,
.hero.service-page .content .text .btns button {
  position: relative;
  z-index: 6;
}

.hero.service-page .content .text::before {
  content: "";
  position: absolute;
  inset: -40px -80px -44px -28px;
  background: radial-gradient(circle at 24% 36%, rgba(9, 16, 31, 0.82) 0%, rgba(9, 16, 31, 0.64) 40%, rgba(9, 16, 31, 0.24) 68%, rgba(9, 16, 31, 0) 100%);
  filter: blur(100px);
  opacity: 0.92;
  pointer-events: none;
  z-index: -1;
}

.hero.service-page .content .text h1,
.hero.service-page .content .text p,
.hero.service-page .content .text ul li {
  text-shadow: 0 10px 30px rgba(4, 9, 22, 0.26);
}

.illustrate .brand-ecosystem {
  width: min(100%, 1080px);
  position: relative;
  display: flex;
  justify-content: center;
  margin-left: 0;
  transform: none;
}

.brand-eco-container {
  position: relative;
  width: min(100%, 980px);
  height: auto;
  aspect-ratio: 1120 / 720;
  margin-left: 0;
}

.eco-master {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  shape-rendering: geometricPrecision;
  filter: drop-shadow(0 10px 22px rgba(116, 164, 255, 0.05));
}

.eco-stage {
  transform-origin: center center;
}

.eco-master .eco-frame,
.eco-master .eco-surface,
.eco-master .eco-base,
.eco-master .eco-soft,
.eco-master .eco-accent,
.eco-master .eco-accent-soft,
.eco-master .eco-brand,
.eco-master .eco-node,
.eco-master .eco-dot,
.eco-master .eco-line,
.eco-master .eco-micro {
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eco-master .eco-logo-mark path {
  shape-rendering: geometricPrecision;
  stroke: none;
}

.eco-master .eco-frame {
  fill: rgba(18, 24, 48, 0.26);
  stroke: rgba(184, 214, 255, 0.78);
  stroke-width: 1.7;
}

.eco-master .eco-surface {
  fill: rgba(31, 41, 80, 0.4);
  stroke: rgba(188, 217, 255, 0.18);
  stroke-width: 1.14;
}

.eco-master .eco-base {
  fill: none;
  stroke: rgba(182, 212, 255, 0.78);
  stroke-width: 1.62;
}

.eco-master .eco-soft {
  fill: none;
  stroke: rgba(175, 204, 248, 0.48);
  stroke-width: 1.16;
}

.eco-master .eco-line {
  fill: none;
  stroke: rgba(175, 204, 248, 0.6);
  stroke-width: 1.12;
}

.eco-master .eco-micro {
  fill: none;
  stroke: rgba(168, 196, 244, 0.28);
  stroke-width: 0.96;
}

.eco-master .eco-accent {
  fill: rgba(111, 161, 255, 0.12);
  stroke: rgba(196, 223, 255, 0.84);
  stroke-width: 1.34;
}

.eco-master .eco-accent-soft {
  fill: none;
  stroke: rgba(145, 197, 255, 0.74);
  stroke-width: 1.58;
}

.eco-master .eco-brand {
  fill: rgba(216, 232, 255, 0.92);
  stroke: rgba(216, 232, 255, 0.18);
  stroke-width: 0.75;
}

.eco-master .eco-node {
  fill: rgba(191, 216, 255, 0.88);
  stroke: rgba(216, 233, 255, 0.28);
  stroke-width: 1.1;
}

.eco-master .eco-dot {
  fill: rgba(188, 214, 255, 0.72);
  stroke: none;
}

.eco-master .eco-speck {
  fill: rgba(175, 205, 255, 0.5);
  stroke: none;
}

.eco-link {
  fill: none;
  stroke: rgba(179, 213, 255, 0.9);
  stroke-width: 1.78;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.eco-link--accent {
  stroke: rgba(188, 221, 255, 0.96);
}

/* ===== 3. Service Tabs Override ===== */
.services-detail-section .services-selector {
  width: 340px;
}

.services-detail-section .service-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 14px;
  border-left: 3px solid rgba(255, 255, 255, 0.08);
  padding: 22px 24px;
  border-radius: 0 12px 12px 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Picot (dot indicator) */
.tab-dot {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  position: relative;
  margin-top: 5px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  grid-row: 1;
}

.service-tab:hover .tab-dot {
  border-color: rgba(255, 255, 255, 0.5);
}

.service-tab.active .tab-dot {
  border-color: #fff;
  background: #fff;
}

.service-tab.active .tab-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-detail-section .service-tab h3 {
  grid-column: 2;
}

.services-detail-section .service-tab p {
  grid-column: 2;
}

.services-detail-section .service-tab .tab-progress {
  grid-column: 1 / -1;
}

.services-detail-section .service-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  border-left-color: rgba(255, 255, 255, 0.25);
}

.services-detail-section .service-tab.active {
  background: rgba(255, 255, 255, 0.06);
  border-left-color: #fff;
}

.services-detail-section .service-tab.active h3 {
  color: #fff;
  font-weight: 600;
}

.services-detail-section .service-tab p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  line-height: 1.5;
  display: none;
}

.services-detail-section .service-tab.active p {
  display: block;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== 4. Pourquoi Nous Choisir — UI System ===== */

/* --- Section base (dark default) --- */
.why-section {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
  z-index: 2;
  background: transparent;
  transition: background 0.8s cubic-bezier(0.4,0,0.2,1);
}

.why-section .content {
  display: block !important;
  max-width: 1200px !important;
  width: 90% !important;
  margin: 0 auto !important;
  position: relative;
}

/* Background grid lines */
.sys-bg-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  pointer-events: none;
  z-index: 0;
}

.sys-bg-lines span {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.07) 20%, rgba(255,255,255,0.07) 80%, transparent 100%);
  transition: background 0.6s ease;
}

/* --- Header --- */
.why-header {
  text-align: center;
  margin-bottom: 69px;
  position: relative;
  z-index: 2;
}

.why-header h2 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  transition: color 0.6s ease;
}

.why-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  transition: color 0.6s ease;
}

/* --- Wire system --- */
.sys-wire {
  position: relative;
  height: 40px;
  margin-bottom: 0;
  z-index: 1;
  overflow: hidden;
}

sys-h-line {
    position: absolute;
    top: 0;
    left: 6%;
    right: 6%;
    height: 2px;
    background: rgba(255, 255, 255, 0.14);
    overflow: hidden;
    transition: background 0.6s ease;
}

.sys-pulse {
    position: absolute;
    top: 0px;
    left: -160px;
    width: 160px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(97, 142, 255, 0.82), transparent);
    border-radius: 1px;
    box-shadow: 0 0 14px rgba(97, 142, 255, 0.42);
    animation: sysPulse 5s linear infinite;
}

@keyframes sysPulse {
  0%   { left: -160px; }
  100% { left: calc(100% + 160px); }
}

.sys-v-line {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.05) 100%);
  transition: background 0.6s ease;
}

.sys-dot {
  position: absolute;
  top: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  border: 1px solid rgba(255,255,255,0.16);
  transform: translateX(-3px);
  animation: sysDotBreathe 3s ease-in-out infinite;
  transition: background 0.6s ease, border-color 0.6s ease;
}

.sys-dot:nth-child(6) { animation-delay: 0s; }
.sys-dot:nth-child(7) { animation-delay: 0.8s; }
.sys-dot:nth-child(8) { animation-delay: 1.6s; }
.sys-dot:nth-child(9) { animation-delay: 2.4s; }

@keyframes sysDotBreathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(97,142,255,0); }
  50% { background: rgba(97,142,255,0.78); box-shadow: 0 0 10px rgba(97,142,255,0.42); }
}

/* --- Columns --- */
.sys-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.sys-col { padding: 0 16px; }

/* Scene — blur mask at top/bottom edges */
.sys-scene {
  position: relative;
  height: 280px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 4px;
  will-change: transform;
  mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.sys-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 16px 0 4px;
  letter-spacing: -0.02em;
  transition: color 0.6s ease;
}

.sys-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  transition: color 0.6s ease;
}

/* --- UI Components (dark default) --- */

.ui-card {
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.6s ease;
}

.ui-card--lift {
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.05);
}

.ui-card--sm { padding: 10px 14px; gap: 4px; }

.ui-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.ui-row-text {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-weight: 600;
  transition: color 0.6s ease;
}

.ui-row-text--dim { color: rgba(255,255,255,0.25); }

.ui-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  transition: all 0.6s ease;
}

.ui-dot--green {
  background: rgba(100,220,120,0.3);
  border-color: rgba(100,220,120,0.5);
}

.ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
  transition: all 0.6s ease;
}

.ui-badge--num strong {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  transition: color 0.6s ease;
}

.ui-badge--num span {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.6s ease;
}

.ui-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 4px;
  transition: color 0.6s ease;
}

.ui-stat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ui-stat-num {
  font-size: 20px;
  font-weight: 800;
  color: rgba(255,255,255,0.85);
  transition: color 0.6s ease;
}

.ui-stat-num--dim { color: rgba(255,255,255,0.3); font-size: 16px; }

.ui-stat-cap {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
  transition: color 0.6s ease;
}

.ui-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  align-self: flex-start;
  transition: all 0.6s ease;
}

.ui-pill--blue {
  background: rgba(97,142,255,0.15);
  border: 1px solid rgba(97,142,255,0.3);
  color: rgba(97,142,255,0.9);
}

.ui-pill--ok {
  background: rgba(100,220,120,0.1);
  border: 1px solid rgba(100,220,120,0.25);
  color: rgba(100,220,120,0.8);
}

.ui-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  transition: all 0.6s ease;
}

.ui-check-ic {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  flex-shrink: 0;
  transition: all 0.6s ease;
}

.ui-check-ic--done {
  background: rgba(100,220,120,0.1);
  border: 1px solid rgba(100,220,120,0.3);
  color: rgba(100,220,120,0.8);
}

.ui-check-ic--active {
  background: rgba(97,142,255,0.1);
  border: 1px solid rgba(97,142,255,0.3);
  color: rgba(97,142,255,0.8);
}

.ui-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ui-tag {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.6s ease;
}

.ui-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
  transition: all 0.6s ease;
}

.ui-bar {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px 4px 2px 2px;
  background: rgba(255,255,255,0.07);
  animation: barBreathe 4s ease-in-out infinite;
  transition: background 0.6s ease;
}

.ui-bar:nth-child(2) { animation-delay: 0.4s; }
.ui-bar:nth-child(3) { animation-delay: 0.8s; }
.ui-bar:nth-child(4) { animation-delay: 1.2s; }
.ui-bar:nth-child(5) { animation-delay: 1.6s; }

.ui-bar--accent {
  background: rgba(97,142,255,0.25);
  border: 1px solid rgba(97,142,255,0.15);
}

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

/* SVG trend lines */
.ui-trend { color: rgba(97,142,255,0.6); }
.ui-trend--dim { color: rgba(255,255,255,0.15); transition: color 0.6s ease; }

/* === LIGHT STATE (.is-light) === */


.why-section.is-light .sys-bg-lines span {
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.12) 20%, rgba(0,0,0,0.12) 80%, transparent 100%);
}

.why-section.is-light .why-header h2 { color: #000; }
.why-section.is-light .why-header p { color: rgba(0,0,0,0.55); }

.why-section.is-light .sys-h-line { background: rgba(0,0,0,0.22); }
.why-section.is-light .sys-pulse {
  background: linear-gradient(90deg, transparent, rgba(97,142,255,0.92), transparent);
  box-shadow: 0 0 16px rgba(97,142,255,0.5);
}
.why-section.is-light .sys-v-line { background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.06) 100%); }
.why-section.is-light .sys-dot { background: rgba(0,0,0,0.28); border-color: rgba(0,0,0,0.18); }

.why-section.is-light .sys-title { color: #000; }
.why-section.is-light .sys-desc { color: rgba(0,0,0,0.55); }

.why-section.is-light .ui-card {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
}

.why-section.is-light .ui-card--lift {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.why-section.is-light .ui-row-text { color: #111; font-weight: 700; }
.why-section.is-light .ui-row-text--dim { color: rgba(0,0,0,0.35); font-weight: 500; }

.why-section.is-light .ui-dot { background: rgba(0,0,0,0.12); border-color: rgba(0,0,0,0.18); }
.why-section.is-light .ui-dot--green { background: rgba(52,199,89,0.4); border-color: rgba(52,199,89,0.65); }

.why-section.is-light .ui-badge {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.why-section.is-light .ui-badge--num strong { color: #000; }
.why-section.is-light .ui-badge--num span { color: rgba(0,0,0,0.5); }

.why-section.is-light .ui-label { color: rgba(0,0,0,0.45); }
.why-section.is-light .ui-stat-num { color: #000; }
.why-section.is-light .ui-stat-num--dim { color: rgba(0,0,0,0.4); }
.why-section.is-light .ui-stat-cap { color: rgba(0,0,0,0.45); }

.why-section.is-light .ui-pill--blue {
  background: rgba(97,142,255,0.12);
  border-color: rgba(97,142,255,0.4);
  color: #3366ff;
  box-shadow: 0 1px 6px rgba(97,142,255,0.12);
}

.why-section.is-light .ui-pill--ok {
  background: rgba(52,199,89,0.1);
  border-color: rgba(52,199,89,0.35);
  color: #22863a;
}

.why-section.is-light .ui-check {
  background: #fff;
  border-color: rgba(0,0,0,0.1);
  color: #111;
  font-weight: 700;
}

.why-section.is-light .ui-check-ic--done {
  background: rgba(52,199,89,0.12);
  border-color: rgba(52,199,89,0.4);
  color: #22863a;
}

.why-section.is-light .ui-check-ic--active {
  background: rgba(97,142,255,0.12);
  border-color: rgba(97,142,255,0.4);
  color: #3366ff;
}

.why-section.is-light .ui-tag {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  color: #111;
  font-weight: 700;
}

.why-section.is-light .ui-chart { background: rgba(0,0,0,0.02); border-color: rgba(0,0,0,0.08); }
.why-section.is-light .ui-bar { background: rgba(0,0,0,0.08); }
.why-section.is-light .ui-bar--accent { background: rgba(97,142,255,0.35); border-color: rgba(97,142,255,0.25); }

.why-section.is-light .ui-trend--dim { color: rgba(0,0,0,0.2); }

.why-section.is-light .scroll-list-wrap {
  background: #fff;
  border-color: rgba(0,0,0,0.12);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Hover (light state) */
.why-section.is-light .sys-col:hover .ui-card {
  border-color: rgba(97,142,255,0.25);
  box-shadow: 0 3px 14px rgba(97,142,255,0.1);
}

.why-section.is-light .sys-col:hover .ui-tag {
  border-color: rgba(97,142,255,0.3);
  color: #3366ff;
}

.why-section.is-light .sys-col:hover .ui-check {
  border-color: rgba(0,0,0,0.14);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* Hover (dark state) */
.sys-col:hover .ui-card { border-color: rgba(255,255,255,0.12); }
.sys-col:hover .ui-tag { border-color: rgba(97,142,255,0.2); color: rgba(97,142,255,0.8); }
.sys-col:hover .ui-check { border-color: rgba(255,255,255,0.1); }

/* --- Auto-scrolling list (col 1) --- */
.scroll-list-wrap {
  overflow: hidden;
  position: relative;
  flex: 1;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 14px;
  mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 15%, black 85%, transparent 100%);
  transition: all 0.6s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.scroll-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  animation: scrollList 12s linear infinite;
}

@keyframes scrollList {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.scroll-list:hover { animation-play-state: paused; }

/* --- Micro float --- */
[data-float] {
  animation: sysFloat 5s ease-in-out infinite;
}
[data-float]:nth-child(2) { animation-delay: 0.7s; }
[data-float]:nth-child(3) { animation-delay: 1.4s; }
[data-float]:nth-child(4) { animation-delay: 2.1s; }

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

/* ===== 5. Ce Que Nous Faisons — Dark Service Grid ===== */
.svc-section {
  padding: 128px 0 140px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(97,142,255,0.22), transparent 34%),
    radial-gradient(circle at 0% 30%, rgba(23,32,55,0.75), transparent 30%),
    radial-gradient(circle at 100% 25%, rgba(16,24,44,0.55), transparent 28%),
    linear-gradient(180deg, #060811 0%, #080d16 45%, #05070d 100%);
}

.svc-section::before,
.svc-section::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}

.svc-section::before {
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.12) 22%, rgba(255,255,255,0.12) 78%, rgba(255,255,255,0));
}

.svc-section::after {
  top: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 18%, rgba(97,142,255,0.12), transparent 36%);
  opacity: 0.9;
}

.svc-section .content {
  display: block !important;
  max-width: 1200px !important;
  width: 88% !important;
  margin: 0 auto !important;
  position: relative;
  z-index: 1;
}

.svc-header {
  text-align: center;
  margin-bottom: 64px;
  position: relative;
  z-index: 2;
}

.svc-header::before {
  content: '';
  display: block;
  width: 120px;
  height: 1px;
  margin: 0 auto 24px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.24), rgba(255,255,255,0));
}

.svc-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #f7f9ff;
  letter-spacing: -0.03em;
}

.svc-header p {
  font-size: 18px;
  color: rgba(255,255,255,0.56);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.svc-grid-wrap {
  position: relative;
  padding: 16px 0 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: clamp(20px, 4vw, 34px);
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  border: none;
  background: none;
  box-shadow: none;
  isolation: isolate;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
}

.svc-grid-wrap::-webkit-scrollbar {
  display: none;
}

.svc-grid-wrap.is-dragging {
  cursor: grabbing;
}

.svc-grid-wrap::before,
.svc-grid-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(40px, 7vw, 96px);
  pointer-events: none;
  z-index: 4;
}

.svc-grid-wrap::before {
  left: 0;
  background: linear-gradient(90deg, rgba(4,5,16,1) 0%, rgba(4,5,16,0.86) 42%, rgba(4,5,16,0) 100%);
}

.svc-grid-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, rgba(4,5,16,1) 0%, rgba(4,5,16,0.86) 42%, rgba(4,5,16,0) 100%);
}

.svc-wires {
  display: none;
}

.svc-wire {
  position: absolute;
  display: block;
}

.svc-wire--h {
  top: 0;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.12) 18%, rgba(104,146,255,0.22) 50%, rgba(255,255,255,0.12) 82%, rgba(255,255,255,0) 100%);
  overflow: hidden;
}

.svc-wire--h::after {
  content: '';
  position: absolute;
  top: -0.5px;
  left: -140px;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(104,146,255,0.48), transparent);
  animation: svcPulse 6s linear infinite;
}

@keyframes svcPulse {
  0% { left: -140px; }
  100% { left: calc(100% + 140px); }
}

.svc-wire--v {
  top: 0;
  width: 1px;
  height: 170px;
  transform: translateX(-0.5px);
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.08) 55%, rgba(255,255,255,0) 100%);
}

.svc-wire--v1, .svc-node--1 { left: 16.666%; }
.svc-wire--v2, .svc-node--2 { left: 50%; }
.svc-wire--v3, .svc-node--3 { left: 83.333%; }
.svc-wire--v4, .svc-node--4 { left: 33.333%; }
.svc-wire--v5, .svc-node--5 { left: 66.666%; }

.svc-node {
  position: absolute;
  top: -3px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  transform: translateX(-3px);
  background: #0c111d;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 0 0 6px rgba(97,142,255,0.05), 0 0 18px rgba(97,142,255,0.12);
  animation: svcNodeBreathe 4s ease-in-out infinite;
}

.svc-node--2 { animation-delay: 0.5s; }
.svc-node--3 { animation-delay: 1s; }
.svc-node--4 { animation-delay: 1.5s; }
.svc-node--5 { animation-delay: 2s; }

@keyframes svcNodeBreathe {
  0%, 100% {
    opacity: 0.75;
    box-shadow: 0 0 0 6px rgba(97,142,255,0.04), 0 0 14px rgba(97,142,255,0.08);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 0 9px rgba(97,142,255,0.06), 0 0 24px rgba(97,142,255,0.16);
  }
}

.svc-grid {
  position: relative;
  z-index: 2;
  display: flex;
  width: max-content;
  gap: 0;
  padding-inline: clamp(20px, 4vw, 34px);
}

.svc-cell {
  position: relative;
  flex: 0 0 clamp(320px, 34vw, 420px);
  width: clamp(320px, 34vw, 420px);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  border-radius: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(11,15,24,0.9) 0%, rgba(7,10,17,0.95) 100%);
  border: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 10px 28px rgba(0,0,0,0.22);
  transition: box-shadow 0.35s ease, background 0.35s ease;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.svc-cell:nth-child(1) { grid-column: 1 / span 2; }
.svc-cell:nth-child(2) { grid-column: 3 / span 2; }
.svc-cell:nth-child(3) { grid-column: 5 / span 2; }
.svc-cell:nth-child(4) { grid-column: 2 / span 2; }
.svc-cell:nth-child(5) { grid-column: 4 / span 2; }

.svc-cell:first-child {
  border-top-left-radius: 24px;
  border-bottom-left-radius: 24px;
}

.svc-cell:last-child {
  border-top-right-radius: 24px;
  border-bottom-right-radius: 24px;
}

.svc-cell::before {
  display: none;
}

.svc-cell::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 0;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.2) 16%, rgba(255,255,255,0.2) 84%, rgba(255,255,255,0.04) 100%);
  opacity: 1;
  pointer-events: none;
}

.svc-cell:last-child::after {
  display: none;
}

.svc-cell:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06), 0 14px 34px rgba(0,0,0,0.28);
}

.svc-cell-img {
  position: relative;
  padding: 20px 20px 0;
  min-height: 0;
  aspect-ratio: 16 / 11;
}

.svc-cell-img::before {
  content: '';
  position: absolute;
  inset: 20px 20px 0;
  border-radius: 18px 18px 22px 22px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
  z-index: 1;
}

.svc-cell-img::after {
  content: '';
  position: absolute;
  inset: 20px 20px 0;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, rgba(8,10,16,0) 0%, rgba(8,10,16,0.18) 55%, rgba(8,10,16,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

.svc-cell-img img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 22px 22px;
  filter: brightness(0.72) saturate(0.82);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.45s ease;
}

.svc-cell:hover .svc-cell-img img {
  transform: scale(1.025);
  filter: brightness(0.92) saturate(1);
}

.svc-cell-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  flex: 1;
  position: relative;
  z-index: 2;
}

.svc-num {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
  transition: all 0.45s ease;
}

.svc-cell:hover .svc-num {
  color: rgba(139,168,255,0.92);
  border-color: rgba(139,168,255,0.26);
  background: rgba(139,168,255,0.08);
}

.svc-cell h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #f7f9ff;
  margin: 0;
  max-width: 15ch;
}

.svc-cell p {
  margin: 0;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.58);
}

.svc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.svc-tags span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.48);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.35s ease;
}

.svc-cell:hover .svc-tags span {
  color: rgba(210,221,255,0.82);
  border-color: rgba(97,142,255,0.18);
  background: rgba(97,142,255,0.06);
}

.content-gallery {
  padding: 22px 0 16px;
  border-bottom: none;
  overflow: visible;
}

.content-gallery .content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  overflow: visible;
}

.content-gallery .gallery-cta,
.content-gallery .carousel-nav {
  display: none !important;
}

.content-gallery .gallery-header { 
  width: min(88%, 1200px);
  margin: 0 auto 28px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-gallery .gallery-header h2,
.content-gallery .gallery-header p { 
  text-align: center; 
}



.content-gallery .carousel-wrapper {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  overflow: visible !important;
}

.content-gallery .carousel-container {
  overflow: visible !important;
  padding: 0;
  margin: 0;
}

.content-gallery .gallery-grid {
  width: max-content;
  overflow: visible;
  gap: clamp(18px, 1.8vw, 28px);
  padding: 0 clamp(20px, 2.6vw, 36px) 16px;
  will-change: transform;
}

.content-gallery .gallery-card {
  flex: 0 0 clamp(320px, 29vw, 430px);
  min-width: clamp(320px, 29vw, 430px);
  cursor: pointer;
}

.content-gallery .gallery-card:focus-visible {
  outline: none;
  border-color: rgba(97, 142, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(97, 142, 255, 0.65),
    0 18px 42px rgba(11, 95, 246, 0.22);
}

.showcase-image--slider {
  height: 100%;
}

.showcase-media-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.showcase-media-slide {
  --showcase-media-position: center center;
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  will-change: transform, opacity;
}

.showcase-media-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.showcase-media-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--showcase-media-position);
  display: block;
  border-radius: 20px;
}

.showcase-media-slide--duo {
  padding: 4px;
}

.showcase-media-slide--duo .showcase-duo {
  width: 100%;
  height: 100%;
}

.showcase-media-slide--duo .showcase-duo-item img {
  border-radius: 0;
}

.showcase-media-slide--focus-left {
  --showcase-media-position: 18% center;
}

.showcase-media-slide--focus-right {
  --showcase-media-position: 82% center;
}

.bubble-content {
  display: grid;
  align-items: start;
}

.bubble-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bubble-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.connector-line {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  transition: none;
}

.showcase-bubble.active .connector-line {
  width: 100%;
  transform: scaleX(1);
}

.connector-dot {
  transition: none;
}

footer ul li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
}

/* ===== 6. Marquee Carousel ===== */
.marquee-section {
  padding: 34px 0 80px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.marquee-section .content {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.marquee-section .section-header {
  text-align: center;
  margin-bottom: 34px;
  width: 88%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 34px;
}

.marquee-section .section-header h2 {
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 12px;
}

.marquee-section .section-header p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
}

.marquee-track-wrapper {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: marqueeScroll 56s linear infinite;
  will-change: transform;
}

.marquee-group {
  --marquee-gap: clamp(10px, 1vw, 14px);
  display: flex;
  align-items: stretch;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
  flex-shrink: 0;
}

.marquee-item {
  flex: 0 0 clamp(460px, 52vw, 920px);
  width: clamp(460px, 52vw, 920px);
  aspect-ratio: 1906 / 1080;
  overflow: hidden;
}

.marquee-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1906 / 1080;
  object-fit: contain;
  object-position: center center;
  display: block;
}

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

/* ===== 7. Light Mode Overrides (bg-white) ===== */
/* Why-section is natively white — no overrides needed */

/* Services section is always dark — no light mode overrides needed */

/* Marquee light mode */
body.bg-white .marquee-section .section-header h2 {
  background: linear-gradient(135deg, var(--back) 0%, #2a2a4a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

body.bg-white .marquee-section .section-header p {
  color: rgba(4, 5, 16, 0.6);
}

/* ===== 8. Micro-interactions & Keyframes ===== */
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ===== 9. Responsive ===== */
@media (max-width: 1360px), (max-height: 820px) {
  .interactive-showcase .content {
    max-width: min(94vw, 1280px) !important;
    width: min(94vw, 1280px) !important;
  }

  .showcase-container {
    grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.58fr);
    gap: clamp(24px, 3vw, 40px);
    min-height: clamp(460px, 66vh, 560px);
    align-items: center;
  }

  .showcase-selector {
    padding-top: 18px;
  }

  .selector-item {
    margin-left: -16px;
    padding: 12px 0 12px 16px;
    gap: 12px;
  }

  .selector-text {
    font-size: clamp(1.55rem, 1vw + 1rem, 2.15rem);
  }

  .selector-description {
    max-width: 270px;
    font-size: 14px;
    line-height: 1.55;
  }

  .selector-item.active .selector-details {
    max-height: 210px;
  }

  .selector-progress {
    width: 150px;
  }

  .showcase-display {
    height: clamp(420px, 54vh, 520px);
  }

  .bubble-content {
    max-width: 252px;
    padding: 16px 18px;
  }

  .bubble-content p {
    font-size: 13px;
    line-height: 1.5;
  }
}

@media (max-width: 1100px) {
  .hero.service-page .illustrate:has(.brand-ecosystem) {
    width: 70%;
    right: 0;
    transform: translateX(-12%);
  }

  .hero.service-page .content .text {
    max-width: 50%;
  }

  .brand-eco-item {
    padding: 0;
  }

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

  .sys-wire { display: none; }

  .svc-grid-wrap {
    padding-block: 14px 18px;
  }

  .svc-grid {
    padding-inline: 24px;
  }

  .svc-cell {
    flex-basis: clamp(300px, 42vw, 380px);
    width: clamp(300px, 42vw, 380px);
    min-height: 390px;
  }

  .marquee-item {
    flex-basis: clamp(380px, 54vw, 660px);
    width: clamp(380px, 54vw, 660px);
  }
}

@media (max-width: 768px) {
  .interactive-showcase {
    margin-top: -8vh;
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .interactive-showcase .content {
    gap: 30px;
  }

  .showcase-container {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
  }

  .showcase-display {
    order: 1;
    height: clamp(260px, 54vw, 360px);
    border-radius: 24px;
    overflow: hidden;
  }

  .showcase-images {
    height: 100%;
  }

  .showcase-image,
  .showcase-image.active,
  .showcase-image.exiting {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .showcase-image {
    transform: translate3d(0, 0, 0);
  }

  .showcase-image.active {
    transform: translate3d(0, 0, 0);
  }

  .showcase-image.exiting {
    transform: translate3d(-6%, 0, 0);
  }

  .showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: none;
  }

  .showcase-media-slide {
    inset: 0;
  }

  .showcase-media-slide img {
    border-radius: 24px;
    box-shadow: none;
  }

  .showcase-image--duo,
  .showcase-image--content,
  .showcase-duo {
    height: 100%;
  }

  .showcase-media-slide--duo {
    padding: 0;
  }

  .showcase-duo {
    gap: 10px;
    padding: 0;
  }

  .showcase-duo-item {
    border-radius: 20px;
    box-shadow: none;
  }

  .showcase-content-stream {
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 4px;
  }

  .showcase-content-column {
    border-radius: 20px;
  }

  .showcase-content-media {
    border-radius: 18px;
    box-shadow: none;
  }

  .showcase-selector {
    order: 2;
    flex-direction: column;
    gap: 2px;
    padding-top: 0;
  }

  .selector-item {
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    border-bottom: none;
    margin-left: 0;
    padding: 12px 0 12px 14px;
    gap: 12px;
  }

  .selector-item:not(.active) {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .selector-item.active {
    padding-top: 9px;
    padding-bottom: 10px;
  }

  .selector-item:hover,
  .selector-item.active {
    border-left-color: var(--primary);
  }

  .selector-icon {
    width: 12px;
    height: 12px;
    margin-top: 6px;
  }

  .selector-item.active .selector-icon::after {
    width: 5px;
    height: 5px;
  }

  .selector-text {
    font-size: clamp(1.15rem, 3.9vw, 1.42rem);
    line-height: 1.22;
  }

  .selector-details {
    grid-column: 2;
  }

  .selector-item.active .selector-details {
    max-height: 220px;
    margin-top: 4px;
  }

  .selector-description {
    display: block;
    max-width: none;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.48;
  }

  .selector-details button {
    display: none;
  }

  .selector-progress {
    width: min(160px, 100%);
    margin-top: 10px;
  }

  .hero.service-page .content {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(calc(100vw - 28px), 720px) !important;
    gap: 14px;
    margin-top: clamp(72px, 9vh, 92px);
    margin-bottom: clamp(36px, 5vh, 56px);
  }

  .hero.service-page .illustrate {
    position: relative;
    order: -1;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: auto;
  }

  .hero.service-page .illustrate:has(.brand-ecosystem) {
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    bottom: auto;
    opacity: 0.82;
    margin: 0 auto;
    transform: none;
  }

  .brand-eco-container {
    width: 100%;
  }

  .hero.service-page .content .text {
    max-width: 100%;
    width: 100%;
    min-height: 0;
    height: auto;
    gap: 12px;
  }

  .hero.service-page .content .text::before {
    inset: -24px -26px -28px -18px;
    filter: blur(14px);
    opacity: 0.86;
  }

  .hero.service-page .content .text h1 {
    font-size: clamp(2.15rem, 6.9vw, 2.9rem);
    line-height: 1.03;
  }

  .hero.service-page .content .text p {
    font-size: clamp(1rem, 3.6vw, 1.15rem);
    line-height: 1.52;
    max-width: 28ch;
  }

  .hero.service-page .content .text .btns {
    display: flex;
    margin-top: 0;
  }

  .hero.service-page .content .text .btns button {
    padding: 14px 20px;
    font-size: 15px;
    z-index: 7;
  }

  .hero.service-page .content .text ul li {
    font-size: 14px;
    padding: 6px 14px 6px 10px;
  }

  

  .content-gallery {
    border-bottom: none;
  }

  .illustrate .brand-ecosystem {
    justify-content: center;
    transform: none;
  }

  footer h1 .footer-word--main,
  footer h1 .footer-word--main .footer-char {
    font-size: 25vw;
  }

  footer h1 .footer-word--accent,
  footer h1 .footer-word--accent .footer-char {
    font-size: 22vw;
  }

  .why-header h2,
  .svc-header h2,
  .marquee-section .section-header h2 {
    font-size: 30px;
  }

  .sys-cols {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sys-scene {
    height: 220px;
  }

  .sys-col {
    padding: 0 8px;
  }

  .svc-section {
    padding: 96px 0 110px;
  }

  .svc-grid-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-block: 12px 18px;
  }

  /* Modifications pour la section marquee sur tablette/mobile */
  .marquee-section {
    padding: 40px 0;
  }

  .marquee-section .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .marquee-section .section-header {
    margin-bottom: 30px;
    padding: 0 20px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .marquee-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
  }

  /* Ajouter un indicateur d'overflow sur la droite */
  .marquee-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
    z-index: 10;
  }

  .marquee-track {
    animation: marqueeScroll 56s linear infinite;
    display: flex;
    gap: 16px;
    padding: 0 20px;
    width: max-content;
  }

  .marquee-group {
    padding-right: 16px;
  }

  .marquee-item {
    flex-basis: clamp(280px, 72vw, 480px);
    width: clamp(280px, 72vw, 480px);
  }

  

  .marquee-section .mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 20px 20px 30px;
    margin-top: 16px;
  }

  .marquee-section .mobile-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 400px;
    margin-left: 0;
    margin-right: 0;
  }

  .marquee-section .mobile-cta button {
    background: linear-gradient(135deg, #6195ff 0%, #4a7fff 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .marquee-section .mobile-cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(97, 149, 255, 0.35);
  }

  .svc-grid {
    padding-inline: 18px;
  }

  .svc-grid-wrap::before,
  .svc-grid-wrap::after {
    width: 34px;
  }

  .svc-cell {
    flex-basis: clamp(280px, 76vw, 360px);
    width: clamp(280px, 76vw, 360px);
    min-height: 0;
  }

  .svc-cell-img {
    padding: 16px 16px 0;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .svc-cell-img::before,
  .svc-cell-img::after {
    inset: 16px 16px 0;
  }

  .svc-cell-img img {
    min-height: 0;
  }

  .svc-cell-body {
    padding: 20px;
  }

  .marquee-item {
    flex-basis: clamp(300px, 78vw, 520px);
    width: clamp(300px, 78vw, 520px);
  }

  header .logo {
    width: 30px;
  }

  header.scrolled .logo {
    width: 120px;
  }

  .gallery-cta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .interactive-showcase {
    padding-top: 80px;
    padding-bottom: 58px;
  }

  .showcase-container {
    gap: 18px;
  }

  .showcase-display {
    height: clamp(220px, 62vw, 300px);
    border-radius: 20px;
  }

  .showcase-image img {
    border-radius: 20px;
  }

  .showcase-media-slide img {
    border-radius: 20px;
  }

  .showcase-duo {
    gap: 8px;
  }

  .showcase-duo-item {
    border-radius: 16px;
  }

  .showcase-content-stream {
    gap: 10px;
    padding: 0 2px;
  }

  .showcase-content-column {
    border-radius: 16px;
  }

  .showcase-content-media {
    border-radius: 14px;
  }

  .showcase-selector {
    gap: 0;
  }

  .selector-item {
    padding: 10px 0 10px 12px;
  }

  .selector-item:not(.active) {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .selector-item.active {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .selector-text {
    font-size: clamp(1.02rem, 4.6vw, 1.18rem);
  }

  .selector-description {
    font-size: 13px;
    line-height: 1.42;
    margin-bottom: 7px;
  }

  .selector-progress {
    width: 132px;
  }

  .selector-item.active .selector-details {
    margin-top: 3px;
  }

  .hero.service-page .content {
    width: calc(100vw - 20px) !important;
    gap: 12px;
    margin-top: 68px;
    margin-bottom: 34px;
  }

  .hero.service-page .illustrate:has(.brand-ecosystem) {
    width: 100%;
    max-width: none;
    left: auto;
    right: auto;
    bottom: auto;
    opacity: 0.86;
    transform: none;
  }

  .illustrate .brand-ecosystem {
    width: 100%;
    transform: none;
  }

  .hero.service-page .content .text {
    gap: 12px;
  }

  .hero.service-page .content .text::before {
    inset: -18px -18px -20px -12px;
    filter: blur(12px);
    opacity: 0.8;
  }

  .hero.service-page .content .text h1 {
    font-size: clamp(1.72rem, 7.2vw, 2.15rem);
    line-height: 1.02;
  }

  .hero.service-page .content .text p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 100%;
  }

  .hero.service-page .content .text .btns {
    margin-top: 2px;
  }

  .hero.service-page .content .text .btns button {
    padding: 12px 18px;
    font-size: 14px;
    z-index: 7;
  }

  .hero.service-page .content .text ul li {
    font-size: 13px;
    padding: 5px 12px 5px 9px;
    gap: 8px;
  }

  .hero.service-page .content .text ul li svg {
    width: 20px;
    height: 20px;
  }

  footer h1 .footer-word--main,
  footer h1 .footer-word--main .footer-char {
    font-size: 25vw;
  }

  footer h1 .footer-word--accent,
  footer h1 .footer-word--accent .footer-char {
    font-size: 22vw;
  }

  .sys-title {
    font-size: 18px;
  }

  .sys-desc {
    font-size: 12px;
  }

  .svc-cell h3 {
    font-size: 21px;
    max-width: none;
  }

  .svc-cell p {
    font-size: 14px;
  }

  .svc-tags {
    gap: 6px;
  }

  .marquee-item {
    flex-basis: min(88vw, 360px);
    width: min(88vw, 360px);
  }

  /* Modifications pour la section marquee sur mobile */
  .marquee-section {
    padding: 30px 0;
  }

  .marquee-section .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .marquee-section .section-header {
    margin-bottom: 20px;
    padding: 0 20px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .marquee-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: none;
    mask-image: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
  }

  /* Ajouter un indicateur d'overflow sur la droite pour mobile */
  .marquee-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 10;
  }

  .marquee-track {
    animation: marqueeScroll 56s linear infinite;
    display: flex;
    gap: 12px;
    padding: 0 16px;
    width: max-content;
  }

  .marquee-group {
    padding-right: 12px;
  }

  .marquee-item {
    flex-basis: min(80vw, 380px);
    width: min(80vw, 380px);
  }

  /* Ajouter le texte et CTA sous le marquee sur mobile */
  .marquee-section .content::after {
    content: "";
    display: block;
    height: 1px;
  }

  .marquee-section .gallery-cta {
    
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: left;
    text-align: left;
  }

  .marquee-section .mobile-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 16px 20px 24px;
    margin-top: 12px;
  }

  .marquee-section .mobile-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
    line-height: 1.4;
    margin-left: 0;
    margin-right: 0;
  }

  .marquee-section .mobile-cta button {
    background: linear-gradient(135deg, #6195ff 0%, #4a7fff 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .marquee-section .mobile-cta button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(97, 149, 255, 0.3);
  }



  .content-gallery {
    border-bottom: none;
  }
}

/* Styles pour desktop - cacher le mobile CTA et afficher le gallery CTA */
@media (min-width: 769px) {
  .marquee-section .mobile-cta {
    display: none;
  }
  
  .marquee-section .gallery-cta {
    display: block;
  }

  /* Afficher le bouton de la section content-gallery sur desktop */
  .content-gallery .gallery-cta {
    display: block;
  }

  /* Rétablir la bordure sur desktop */
  .content-gallery {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .marquee-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  }

  .marquee-track {
    animation: marqueeScroll 56s linear infinite;
    display: flex;
    gap: var(--marquee-gap);
    padding: 0;
  }
}
