/* PayPos — styles propres à la page index.html */
body {
  margin: 0;
}
.x {
  font-family: "Montserrat", Arial, sans-serif;
  color: #0a1f3c;
  background: #f5f9fd;
  overflow: hidden;
}
.x a {
  color: inherit;
}
.in {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  width: 100%;
}
.top {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 20;
}
.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 8px 8px;
  border-radius: 22px;
  background: rgba(10, 31, 60, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.brandpill {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  padding: 6px 14px;
  text-decoration: none;
}
.brandpill img {
  height: 40px;
  display: block;
}
.nl {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.nl a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 12px;
}
.nl a:hover,
.nl a.on {
  background: rgba(255, 255, 255, 0.14);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(
    110deg,
    #15578f,
    #1f72b8 45%,
    #2b86cc 55%,
    #15578f
  );
  background-size: 220% 100%;
  animation: shine 5s linear infinite;
  box-shadow: 0 14px 34px rgba(53, 145, 214, 0.42);
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.cta:hover {
  transform: translateY(-2px);
}
.ghostw {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-family: inherit;
}
.play {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: #0a1f3c;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #dcebf8;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fb3ff;
  box-shadow: 0 0 0 0 rgba(79, 179, 255, 0.7);
  animation: pulse 1.8s infinite;
}
.grad {
  background: linear-gradient(90deg, #7cc4ff, #3591d6, #dcebf8, #7cc4ff);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s linear infinite;
}
.glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  color: #fff;
}
.float1 {
  animation: float 6s ease-in-out infinite;
}
.float2 {
  animation: float 7s ease-in-out -2s infinite;
}
.float3 {
  animation: float 5.5s ease-in-out -1s infinite;
}
.a1,
.a2,
.a3,
.a4,
.a5 {
  animation: up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.a2 {
  animation-delay: 0.12s;
}
.a3 {
  animation-delay: 0.24s;
}
.a4 {
  animation-delay: 0.36s;
}
.a5 {
  animation-delay: 0.5s;
}
.marq {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marq 32s linear infinite;
}
.marq span {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.06em;
  color: rgba(220, 235, 248, 0.7);
  white-space: nowrap;
}
.sec {
  padding: 110px 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #1f72b8;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #3591d6;
}
.h2 {
  font-size: 52px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
}
.lead {
  font-size: 18px;
  line-height: 1.65;
  color: #3b4c63;
  margin: 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(250px, auto);
  gap: 18px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  padding: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: #0a1f3c;
  border: 1px solid #dcebf8;
  box-shadow: 0 18px 50px rgba(10, 31, 60, 0.07);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10, 31, 60, 0.16);
}
.tile h3 {
  font-size: 22px;
  line-height: 1.25;
  margin: auto 0 0;
  font-weight: 800;
}
.tile p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #3b4c63;
}
.tile .go {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcebf8;
  color: #0a1f3c;
  font-weight: 800;
  transition:
    transform 0.35s,
    background 0.35s;
}
.tile:hover .go {
  transform: rotate(-45deg);
  background: #3591d6;
  color: #fff;
}
.tile.dk {
  background: linear-gradient(150deg, #0a1f3c, #16406f);
  color: #fff;
  border: 0;
}
.tile.dk p {
  color: #dcebf8;
}
.tile.dk .go {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.ico {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #dcebf8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dk .ico {
  background: rgba(255, 255, 255, 0.12);
}
.photo {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #16406f, #0a1f3c);
  min-height: 200px;
}
.photo::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(
      circle at 30% 30%,
      rgba(53, 145, 214, 0.6),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(124, 196, 255, 0.35),
      transparent 45%
    ),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      transparent 2px 14px
    );
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.tile:hover .photo::before,
.sc:hover .photo::before {
  transform: scale(1.12) rotate(2deg);
}
.lab {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #dcebf8;
  font-weight: 700;
  background: rgba(10, 31, 60, 0.6);
  padding: 6px 10px;
  border-radius: 99px;
}
.ring {
  position: absolute;
  border: 2px solid rgba(124, 196, 255, 0.7);
  border-radius: 50%;
  animation: ring 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.stat {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat small {
  font-size: 28px;
  color: #3591d6;
}
.vid {
  position: relative;
  height: 760px;
  overflow: hidden;
  background: #061428;
}
.vid video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vid .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 20, 40, 0.85),
    rgba(6, 20, 40, 0.2) 60%,
    rgba(6, 20, 40, 0.5)
  );
}
.dark {
  background: #0a1f3c;
  color: #fff;
}
.dark .lead {
  color: #c9ddf1;
}
.dark .eyebrow {
  color: #7cc4ff;
}
.step {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #dcebf8;
}
.step b {
  font-size: 13px;
  color: #1f72b8;
  letter-spacing: 0.12em;
}
.step h4 {
  font-size: 19px;
  margin: 10px 0 6px;
}
.step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3b4c63;
}
.line {
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #3591d6, #7cc4ff);
  animation: grow 3s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.sc {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: #0a1f3c;
}
.sc h3 {
  margin: 0;
  font-size: 19px;
}
.sc p {
  margin: 0;
  font-size: 14px;
  color: #3b4c63;
  line-height: 1.5;
}
.tg {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #cfe2f3;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: #0a1f3c;
}
.tg:hover {
  background: #0a1f3c;
  color: #fff;
}
.foot {
  background: #061428;
  color: #c9ddf1;
  padding: 70px 0 30px;
}
.foot a {
  color: #dcebf8;
  text-decoration: none;
}
.foot h5 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
}
.wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #128c7e;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes shine {
  to {
    background-position: -220% 0;
  }
}
@keyframes float {
  50% {
    transform: translateY(-16px);
  }
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}
@keyframes ring {
  from {
    transform: scale(0.4);
    opacity: 1;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 12px rgba(79, 179, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 179, 255, 0);
  }
}
@keyframes grow {
  0% {
    width: 0;
  }
  60%,
  100% {
    width: 100%;
  }
}
@keyframes bob {
  50% {
    transform: translate(-50%, 8px);
  }
}
@media (max-width: 1000px) {
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .h2 {
    font-size: 38px;
  }
}
@media (max-width: 640px) {
  .in {
    padding: 0 16px;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .h2 {
    font-size: 32px;
  }
  .stat {
    font-size: 48px;
  }
  .nl {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .x * {
    animation: none !important;
    transition: none !important;
  }
}

.photo .pimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sol:hover .pimg,
.sc:hover .pimg,
.tile:hover .pimg,
a.photo:hover .pimg {
  transform: scale(1.08);
}

.sico {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: #1f72b8;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(6, 20, 40, 0.35);
  transition: transform 0.35s;
}
.sc:hover .sico {
  transform: rotate(-8deg) scale(1.08);
}
.photo .pimg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.itile {
  position: relative;
  height: 220px;
  border-radius: 26px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(53, 145, 214, 0.28),
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 90%,
      rgba(124, 196, 255, 0.3),
      transparent 45%
    ),
    linear-gradient(140deg, #ffffff 0%, #eaf3fb 55%, #dcebf8 100%);
  border: 1px solid #cfe2f3;
  box-shadow: 0 18px 50px rgba(10, 31, 60, 0.08);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.4s;
}
.itile::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(31, 114, 184, 0.16) 1.2px,
    transparent 1.4px
  );
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.ibox {
  position: relative;
  z-index: 2;
  width: 116px;
  height: 116px;
  border-radius: 34px;
  background: linear-gradient(140deg, #1a66a6 0%, #3591d6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 18px 36px rgba(31, 114, 184, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.4s;
}
.iring {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid rgba(53, 145, 214, 0.45);
  animation: ring 2.4s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}
.sc:hover .itile {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10, 31, 60, 0.16);
}
.sc:hover .ibox {
  transform: scale(1.1) rotate(-6deg);
  background: linear-gradient(140deg, #0a1f3c 0%, #16406f 100%);
}
/* Hero vidéo en version claire */
.hl video {
  filter: brightness(1.12) saturate(1.05);
}
.hl .bar {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(10, 31, 60, 0.08);
  box-shadow: 0 12px 32px rgba(10, 31, 60, 0.12);
  padding: 8px 10px 8px 18px;
}
.hl .brandpill {
  background: none;
  padding: 0;
  border-radius: 0;
}
.hl .nl a {
  color: #0a1f3c;
}
.hl .nl a:hover {
  background: rgba(31, 114, 184, 0.1);
}
.hl .nl a.on {
  background: none;
  color: #1f72b8;
  box-shadow: inset 0 -2px 0 #1f72b8;
  border-radius: 0;
}
/* Section Nos solutions */
.sg2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sg2 .tile {
  min-height: 250px;
}
.sg2 .wide {
  flex-direction: row;
  align-items: center;
  gap: 22px;
  min-height: 150px;
}
.sg2 .wide h3 {
  margin: 0;
}
.sg2 .wide .ico {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.sg2 .lt {
  background: linear-gradient(135deg, #eaf3fb, #fff 70%);
}
.sg2 .go svg {
  display: block;
}
@media (max-width: 1000px) {
  .sg2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sg2 > * {
    grid-column: span 2 !important;
    grid-row: auto !important;
  }
}
@media (max-width: 640px) {
  .sg2 {
    grid-template-columns: minmax(0, 1fr);
  }
  .sg2 > * {
    grid-column: auto !important;
  }
  .sg2 .wide {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hl .chip {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(31, 114, 184, 0.35);
  color: #0a1f3c;
}
.hl .grad {
  background: linear-gradient(90deg, #15578f, #1f72b8, #3591d6, #15578f);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hl .ghostw {
  color: #0a1f3c !important;
  border-color: rgba(10, 31, 60, 0.45);
  background: rgba(255, 255, 255, 0.6);
}
.hl .ghostw .play {
  background: #0a1f3c;
  color: #fff;
}
.hl .marq span {
  color: rgba(10, 31, 60, 0.6);
}
/* Barre de navigation pleine largeur */
.top {
  top: 0 !important;
}
.top > .in {
  max-width: none !important;
  padding: 0 !important;
}
.top .bar {
  border-radius: 0 !important;
  border-width: 0 0 1px 0 !important;
  border-style: solid !important;
  border-color: rgba(10, 31, 60, 0.08) !important;
  padding: 12px 48px !important;
  min-height: 76px;
  box-shadow: 0 8px 28px rgba(10, 31, 60, 0.08) !important;
}
@media (max-width: 640px) {
  .top .bar {
    padding: 10px 16px !important;
  }
}
/* Section Nos secteurs */
.sxw {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #061428, #0a1f3c 55%, #123a66);
}
.sxw::before {
  content: "";
  position: absolute;
  right: -240px;
  top: -240px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(53, 145, 214, 0.35),
    transparent 65%
  );
}
.sxw::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(124, 196, 255, 0.12) 1.2px,
    transparent 1.4px
  );
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%);
  mask-image: linear-gradient(180deg, #000, transparent 70%);
}
.sxg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.sx {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 340px;
  padding: 28px;
  border-radius: 28px;
  text-decoration: none;
  color: #fff !important;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    border-color 0.45s,
    background 0.45s;
}
.sx::before {
  content: "";
  position: absolute;
  left: -30%;
  bottom: -60%;
  width: 160%;
  height: 100%;
  background: radial-gradient(
    closest-side,
    rgba(53, 145, 214, 0.55),
    transparent
  );
  opacity: 0;
  transition:
    opacity 0.5s,
    transform 0.6s;
  transform: translateY(30px);
}
.sx:hover {
  transform: translateY(-8px);
  border-color: rgba(124, 196, 255, 0.6);
  background: linear-gradient(
    160deg,
    rgba(53, 145, 214, 0.28),
    rgba(255, 255, 255, 0.04)
  );
}
.sx:hover::before {
  opacity: 1;
  transform: none;
}
.sx > * {
  position: relative;
}
.sx-n {
  position: absolute !important;
  top: 24px;
  right: 26px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #7cc4ff;
}
.sx-i {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, #1f72b8, #3591d6);
  box-shadow:
    0 18px 36px rgba(31, 114, 184, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  margin-bottom: auto;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sx:hover .sx-i {
  transform: rotate(-8deg) scale(1.08);
}
.sx h3 {
  margin: 26px 0 0;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
}
.sx p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #c9ddf1;
}
.sx-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #7cc4ff;
  transition: gap 0.3s;
}
.sx:hover .sx-go {
  gap: 14px;
  color: #fff;
}
.syg {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sy {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 18px 12px 12px;
  border-radius: 20px;
  text-decoration: none;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.3s;
}
.sy:hover {
  background: #fff;
  color: #0a1f3c !important;
  transform: translateY(-3px);
}
.sy-i {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 196, 255, 0.16);
  color: #7cc4ff;
  transition:
    background 0.3s,
    color 0.3s;
}
.sy:hover .sy-i {
  background: #1f72b8;
  color: #fff;
}
.sy b {
  font-size: 15px;
  flex-grow: 1;
}
.sy-a {
  opacity: 0.6;
  display: flex;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.sy:hover .sy-a {
  opacity: 1;
  transform: translateX(4px);
}
.sy-all {
  justify-content: space-between;
  padding-left: 22px;
  background: linear-gradient(120deg, #1f72b8, #3591d6);
  border-color: transparent;
}
@media (max-width: 1100px) {
  .sxg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .syg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .sxg,
  .syg {
    grid-template-columns: minmax(0, 1fr);
  }
  .sx {
    min-height: 280px;
  }
}
/* Logo blanc dans le pied de page */
footer .brandpill {
  background: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
footer .brandpill img {
  filter: brightness(0) invert(1);
  height: 44px;
}
/* Style d'icône unifié sur tout le site */
.ico,
.ibx,
.sx-i,
.sy-i,
.st-i,
.hn-i,
.bn-i,
.sw-b,
.hico,
.ibox,
.svc i {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    150deg,
    #3591d6 0%,
    #1f72b8 45%,
    #0f4c86 100%
  ) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 30% !important;
  box-shadow:
    0 12px 26px rgba(31, 114, 184, 0.32),
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -5px 12px rgba(6, 20, 40, 0.22) !important;
}
.ico::after,
.ibx::after,
.sx-i::after,
.sy-i::after,
.st-i::after,
.hn-i::after,
.bn-i::after,
.sw-b::after,
.hico::after,
.svc i::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 6%;
  height: 40%;
  border-radius: 40% 40% 60% 60%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}
.ico svg,
.ibx svg,
.sx-i svg,
.sy-i svg,
.st-i svg,
.hn-i svg,
.bn-i svg,
.sw-b svg,
.hico svg {
  position: relative;
  z-index: 1;
  stroke: #fff;
  filter: drop-shadow(0 3px 6px rgba(6, 20, 40, 0.3));
}
.ibox::before {
  display: none !important;
}
/* Bannière diaporama (inspirée de dev.paypos.tn) */
.hs2 {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #eaf3fb;
}
.hs2-s {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateX(-100%);
  animation: hsmove 28s linear infinite;
  animation-delay: calc(var(--n) * 7s - 1s);
  will-change: transform;
}
/* Image entière, sans recadrage ni zoom */
.hs2-s img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
}
.hs2-p {
  position: absolute;
  z-index: 3;
  right: max(24px, calc(50% - 610px));
  bottom: 110px;
  display: flex;
  gap: 8px;
}
.hs2-p span {
  position: relative;
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: rgba(10, 31, 60, 0.18);
  overflow: hidden;
}
.hs2-p span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #1f72b8;
  transform-origin: left center;
  transform: scaleX(0);
  animation: hsprog 28s linear infinite;
  animation-delay: calc(var(--n) * 7s - 1s);
}
.hs2.pz .hs2-s,
.hs2.pz .hs2-p span::after {
  animation-play-state: paused;
}
@keyframes hsmove {
  0% {
    transform: translateX(-100%);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }
  3.57% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(0);
    animation-timing-function: cubic-bezier(0.65, 0, 0.35, 1);
  }
  28.57%,
  100% {
    transform: translateX(100%);
  }
}
@keyframes hsprog {
  0%,
  3.57% {
    transform: scaleX(0);
  }
  28.57% {
    transform: scaleX(1);
  }
  28.67%,
  100% {
    transform: scaleX(0);
  }
}
/* Desktop : le hero prend la hauteur exacte des images, collé sous la navbar */
@media (min-width: 1025px) {
  .x > .hl {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    min-height: 0 !important;
  }
  .x > .hl > .top {
    grid-row: 1;
    grid-column: 1;
  }
  .x > .hl > .hs2,
  .x > .hl > div[aria-hidden="true"],
  .x > .hl > .in {
    grid-row: 2;
    grid-column: 1;
  }
  .x > .hl > .hs2 {
    position: relative;
    inset: auto;
    z-index: 0;
    width: 100%;
    aspect-ratio: 762 / 505;
  }
  .x > .hl > .hs2 .hs2-s img {
    object-fit: cover;
    object-position: center;
  }
  .x > .hl > div[aria-hidden="true"] {
    position: relative !important;
    inset: auto !important;
  }
  .x > .hl > .in {
    align-self: center;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .hs2-p {
    bottom: 28px;
  }
}
/* Bande vide sous le hero supprimée */
.x > .hl > div:last-child:empty {
  display: none;
}
/* Tablette et mobile : le diaporama passe sous le texte, au ratio des images */
@media (max-width: 1024px) {
  .x > .hl > .hs2 {
    position: relative;
    inset: auto;
    order: 1;
    z-index: 2;
    width: calc(100% - 32px);
    max-width: 760px;
    aspect-ratio: 762 / 505;
    margin: 0 auto 32px;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(10, 31, 60, 0.14);
  }
  .x > .hl > .hs2 .hs2-s img {
    object-position: center;
  }
  .x > .hl > div[aria-hidden="true"] {
    display: none;
  }
  .x > .hl > div:last-child {
    order: 2;
  }
  /* La navbar est déjà dans le flux : plus besoin de réserver sa hauteur */
  .x > .hl > .in {
    padding-top: 40px !important;
    padding-bottom: 32px !important;
  }
  .hs2-p {
    right: 16px;
    bottom: 14px;
  }
}
@media (max-width: 640px) {
  .x > .hl > .hs2 {
    border-radius: 14px;
    margin-bottom: 24px;
  }
  .hs2-p span {
    width: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hs2-s {
    animation: none;
    transform: none;
  }
  .hs2-s:not(:first-child),
  .hs2-p {
    display: none;
  }
}
.hl > .top,
.hl > .in {
  position: relative;
  z-index: 2;
}
/* Pack d'animations : plus vivant, plus attractif */
@media (prefers-reduced-motion: no-preference) {
  /* Photos : dévoilement + parallaxe douce */
  .photo {
    animation: wipe linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 35%;
  }
  @keyframes wipe {
    from {
      clip-path: inset(10% 8% 10% 8% round 28px);
    }
    to {
      clip-path: inset(0 0 0 0 round 22px);
    }
  }
  .photo .pimg {
    animation: para linear both;
    animation-timeline: view();
  }
  @keyframes para {
    from {
      scale: 1.18;
      translate: 0 -5%;
    }
    to {
      scale: 1.02;
      translate: 0 5%;
    }
  }
  .hero .photo .pimg {
    animation: kb 18s ease-in-out infinite alternate;
  }
  @keyframes kb {
    from {
      scale: 1.02;
    }
    to {
      scale: 1.14;
      translate: -2% -1%;
    }
  }
  /* Titres : soulignement animé, titre du hero en dégradé vivant */
  .eyebrow::before {
    animation: grow2 linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
    transform-origin: left;
  }
  @keyframes grow2 {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }
  .hl h1 {
    background: linear-gradient(
      100deg,
      currentColor 0%,
      currentColor 42%,
      #5fb2f0 50%,
      currentColor 58%,
      currentColor 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation:
      up 1s cubic-bezier(0.2, 0.7, 0.2, 1) both,
      txtShine 6s 1.2s ease-in-out infinite;
  }
  @keyframes txtShine {
    0% {
      background-position: 100% 0;
    }
    60%,
    100% {
      background-position: -50% 0;
    }
  }
  /* Cartes : élévation, halo bleu, reflet qui balaie */
  .card,
  .tile,
  .svc,
  .bnc,
  .sr,
  .ben,
  .itile {
    position: relative;
    overflow: hidden;
  }
  .card::after,
  .tile::after,
  .svc::after,
  .bnc::after,
  .sr::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(
      100deg,
      transparent,
      rgba(124, 196, 255, 0.22),
      transparent
    );
    transform: skewX(-18deg);
    transition: left 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
    pointer-events: none;
  }
  .card:hover::after,
  .tile:hover::after,
  .svc:hover::after,
  .bnc:hover::after,
  .sr:hover::after {
    left: 130%;
  }
  .card:hover,
  .tile:hover,
  .bnc:hover {
    transform: translateY(-10px) scale(1.015) !important;
    box-shadow:
      0 30px 70px rgba(31, 114, 184, 0.22),
      0 0 0 1px rgba(53, 145, 214, 0.35) !important;
  }
  .svc:hover,
  .ben:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 18px 40px rgba(31, 114, 184, 0.18) !important;
  }
  .sr:hover {
    transform: translateX(6px);
  }
  /* Icônes : flottement léger + rebond au survol */
  .ico,
  .ibx,
  .hico,
  .ibox,
  .sx-i,
  .sy-i,
  .bn-i {
    animation: bob2 4.5s ease-in-out infinite;
    transition: transform 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) !important;
  }
  .card:nth-child(2n) .ico,
  .svc:nth-child(2n) i,
  .bnc:nth-child(2n) .ibx {
    animation-delay: -1.5s;
  }
  .card:nth-child(3n) .ico,
  .svc:nth-child(3n) i,
  .bnc:nth-child(3n) .ibx {
    animation-delay: -3s;
  }
  @keyframes bob2 {
    0%,
    100% {
      translate: 0 0;
    }
    50% {
      translate: 0 -5px;
    }
  }
  .card:hover .ico,
  .svc:hover i,
  .bnc:hover .ibx,
  .tile:hover .ibox,
  .sc:hover .ibox,
  .card:hover .hico {
    transform: scale(1.15) rotate(-8deg) !important;
  }
  /* Boutons : halo pulsé + flèche qui avance */
  .cta {
    position: relative;
    transition:
      transform 0.3s,
      box-shadow 0.3s;
  }
  .cta::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(53, 145, 214, 0.55);
    animation: ctaRing 2.6s ease-out infinite;
    pointer-events: none;
  }
  @keyframes ctaRing {
    0% {
      opacity: 0.9;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1.18, 1.45);
    }
  }
  .cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 44px rgba(53, 145, 214, 0.55);
  }
  .osc:hover .osc-i {
    animation: spin1 0.6s cubic-bezier(0.3, 1.6, 0.5, 1);
  }
  @keyframes spin1 {
    from {
      transform: rotate(-90deg) scale(0.7);
    }
    to {
      transform: none;
    }
  }
  /* Navigation : soulignement qui glisse */
  .top .nl a {
    position: relative;
  }
  .top .nl a:not(.on)::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 2px;
    border-radius: 2px;
    background: #1f72b8;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .top .nl a:not(.on):hover::after {
    transform: scaleX(1);
  }
  /* Bandeau d'appel à l'action : dégradé vivant + orbes */
  .band {
    background-size: 220% 220% !important;
    animation: heroBg 10s ease-in-out infinite alternate;
  }
  .band::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -120px;
    top: -180px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(124, 196, 255, 0.35),
      transparent 65%
    );
    animation: float 7s ease-in-out infinite;
    pointer-events: none;
  }
  /* Puces du hero : apparition en cascade */
  .chip {
    animation: up 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}
@keyframes heroBg {
  to {
    background-position: 100% 50%;
  }
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}
/* Nos solutions (accueil) : cartes photo */
.sx2 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.sx2-c {
  position: relative;
  grid-column: span 2;
  height: 360px;
  border-radius: 28px;
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 22px 50px rgba(10, 31, 60, 0.14);
  isolation: isolate;
}
.sx2-c.sx-w {
  grid-column: span 3;
  height: 320px;
}
.sx2-c img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sx2-c::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 40, 0) 35%,
    rgba(6, 20, 40, 0.82) 100%
  );
  transition: background 0.5s;
}
.sx2-c:hover img {
  transform: scale(1.08);
}
.sx2-c:hover::after {
  background: linear-gradient(
    180deg,
    rgba(10, 31, 60, 0.15) 0%,
    rgba(15, 76, 134, 0.9) 100%
  );
}
.sx2-t {
  position: absolute;
  left: 20px;
  top: 20px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a1f3c;
  background: rgba(255, 255, 255, 0.92);
  padding: 7px 12px;
  border-radius: 999px;
}
.sx2-new {
  background: #1f72b8;
  color: #fff;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
}
.sx2-b {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sx2-b h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}
.sx2-b p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: #dcebf8;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s,
    opacity 0.5s;
}
.sx2-c:hover .sx2-b p,
.sx2-c:focus-visible .sx2-b p {
  max-height: 80px;
  opacity: 1;
}
.sx2-go {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    transform 0.4s,
    background 0.4s;
}
.sx2-c:hover .sx2-go {
  background: #fff;
  color: #1f72b8;
  transform: rotate(45deg);
}
@media (hover: none) {
  .sx2-b p {
    max-height: none;
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .sx2 {
    grid-template-columns: 1fr;
  }
  .sx2-c,
  .sx2-c.sx-w {
    grid-column: auto;
    height: 280px;
  }
  .sx2-b p {
    max-height: none;
    opacity: 1;
  }
}
/* Nos références : défilement de logos */
.rq {
  background: linear-gradient(180deg, #fff, #f5f9fd);
  overflow: hidden;
}
.rq-h {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.rq-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 440px;
  padding: 14px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #dcebf8;
  box-shadow: 0 12px 30px rgba(10, 31, 60, 0.06);
}
.rq-stat b {
  font-size: 40px;
  font-weight: 900;
  color: #1f72b8;
  line-height: 1;
}
.rq-stat span {
  font-size: 14px;
  line-height: 1.45;
  color: #3b4c63;
  font-weight: 600;
}
.rq-w {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 36px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.rq-row {
  overflow: hidden;
}
.rq-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 6px 0;
}
.rq-l .rq-track {
  animation: rqL 48s linear infinite;
}
.rq-r .rq-track {
  animation: rqR 52s linear infinite;
}
.rq-row:hover .rq-track {
  animation-play-state: paused;
}
@keyframes rqL {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 9px));
  }
}
@keyframes rqR {
  from {
    transform: translateX(calc(-50% - 9px));
  }
  to {
    transform: translateX(0);
  }
}
.rq-i {
  flex: 0 0 auto;
  width: 210px;
  height: 112px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e3eef8;
  box-shadow: 0 10px 26px rgba(10, 31, 60, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  box-sizing: border-box;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s,
    border-color 0.35s;
}
.rq-i img {
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
  mix-blend-mode: multiply;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.35s;
}
.rq-i:hover {
  transform: translateY(-5px);
  border-color: #9cc6ea;
  box-shadow: 0 18px 40px rgba(31, 114, 184, 0.16);
}
.rq-i:hover img {
  transform: scale(1.07);
}
@media (prefers-reduced-motion: reduce) {
  .rq-track {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .rq-i[aria-hidden] {
    display: none;
  }
}
@media (max-width: 640px) {
  .rq-i {
    width: 160px;
    height: 92px;
  }
  .rq-i img {
    max-height: 56px;
  }
}
/* Nos solutions : 5 gammes */
.sx5 {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 20px !important;
}
.sx5 .sx2-c {
  height: 300px !important;
}
.sx5 .sx5-a {
  grid-column: span 3 !important;
  height: 360px !important;
}
.sx5 .sx5-b {
  grid-column: span 2 !important;
}
.sx5 .sx5-a .sx2-b h3 {
  font-size: 30px;
}
.sx5 .sx5-a .sx2-b p {
  max-height: none;
  opacity: 1;
  font-size: 15.5px;
}
@media (max-width: 900px) {
  .sx5 {
    grid-template-columns: 1fr !important;
  }
  .sx5 .sx5-a,
  .sx5 .sx5-b {
    grid-column: auto !important;
    height: 280px !important;
  }
}
/* Chiffres clés dans À propos */
.ap-st {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 6px 0 4px;
}
.ap-st > div {
  padding: 16px 14px;
  border-radius: 18px;
  background: #f5f9fd;
  border: 1px solid #dcebf8;
}
.ap-st b {
  display: block;
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  color: #1f72b8;
  letter-spacing: -0.02em;
}
.ap-st span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #3b4c63;
}
@media (max-width: 640px) {
  .ap-st {
    grid-template-columns: 1fr 1fr;
  }
}
/* Nos solutions : carrousel animé de toutes les solutions */
.sl {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 -40px;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}
.sl-row {
  overflow: hidden;
}
.sl-tr {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 8px 0;
}
.sl-l .sl-tr {
  animation: slL 55s linear infinite;
}
.sl-r .sl-tr {
  animation: slR 55s linear infinite;
}
.sl-row:hover .sl-tr {
  animation-play-state: paused;
}
@keyframes slL {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 10px));
  }
}
@keyframes slR {
  from {
    transform: translateX(calc(-50% - 10px));
  }
  to {
    transform: translateX(0);
  }
}
.sl-c {
  position: relative;
  flex: 0 0 auto;
  width: 340px;
  height: 300px;
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: #fff !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: 0 18px 40px rgba(10, 31, 60, 0.14);
  transition:
    transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.45s;
}
.sl-c img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.sl-c::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 40, 0) 35%,
    rgba(6, 20, 40, 0.85)
  );
  transition: background 0.45s;
}
.sl-c:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(31, 114, 184, 0.3);
}
.sl-c:hover img {
  transform: scale(1.1);
}
.sl-c:hover::after {
  background: linear-gradient(
    180deg,
    rgba(15, 76, 134, 0.15),
    rgba(15, 76, 134, 0.92)
  );
}
.sl-t {
  position: absolute;
  left: 18px;
  top: 18px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0a1f3c;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 11px;
  border-radius: 999px;
}
.sl-go {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition:
    transform 0.4s,
    background 0.4s;
}
.sl-c:hover .sl-go {
  background: #fff;
  color: #1f72b8;
  transform: rotate(45deg);
}
.sl-b {
  padding: 20px 22px 22px;
}
.sl-b h3 {
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
}
.sl-b p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: #dcebf8;
}
.sl-v {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(135deg, #16406f, #3591d6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
}
.sl-vw {
  width: 62%;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 20, 40, 0.3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sl-vw i {
  height: 44px;
  border-radius: 9px;
  background: linear-gradient(130deg, #0f4c86, #3591d6);
}
.sl-vw span {
  height: 12px;
  border-radius: 6px;
  background: #e3eef8;
}
.sl-vw span.s {
  width: 60%;
}
.sl-vw b {
  height: 24px;
  border-radius: 7px;
  background: #1f72b8;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .sl-tr {
    animation: none !important;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
  .sl-c[aria-hidden] {
    display: none;
  }
}
@media (max-width: 640px) {
  .sl {
    margin: 0 -16px;
  }
  .sl-c {
    width: 270px;
    height: 250px;
  }
}
/* Harmonisation PayPos · cohérence entre toutes les pages (typographie, états, accessibilité) */
h1,
h2,
h3,
.h2 {
  text-wrap: balance;
}
p,
.lead {
  text-wrap: pretty;
}
::selection {
  background: #cfe2f3;
  color: #0a1f3c;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #3591d6;
  outline-offset: 3px;
}
.ghostw {
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
}
.ghostw:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
  transform: translateY(-3px);
}
.foot a {
  transition: color 0.2s;
}
.foot a:hover {
  color: #fff;
}
.eyebrow + .h2 {
  margin-top: 14px;
}
@media (max-width: 900px) {
  .sec {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
/* Harmonisation · Accueil aligné sur les autres pages */
.sec {
  padding: 100px 0;
}
.h2 {
  font-size: 46px;
}
@media (max-width: 900px) {
  .h2 {
    font-size: 34px;
  }
}
.photo {
  border-radius: 26px;
}
.ico {
  width: 52px;
  height: 52px;
}
.cta {
  justify-content: center;
}
.foot h5 {
  font-size: 13px;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(10, 31, 60, 0.14);
}
/* Références · animation : rotation de logos (4 emplacements, 6 logos chacun, chaque logo laisse place au suivant en fondu) */
.rq-rot {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  max-width: 1320px;
  margin: 36px auto 0;
  padding: 0 40px;
  box-sizing: border-box;
}
.rq-s {
  position: relative;
  height: 120px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e3eef8;
  box-shadow: 0 10px 26px rgba(10, 31, 60, 0.06);
  overflow: hidden;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.rq-s:hover {
  transform: translateY(-5px);
  border-color: #9cc6ea;
  box-shadow: 0 18px 40px rgba(31, 114, 184, 0.16);
}
.rq-s::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, #3591d6, #1f72b8);
  transform: scaleX(0);
  transform-origin: left;
  animation: rqBar 4s linear infinite;
  animation-delay: calc(var(--s) * 0.45s);
}
.rq-rot .rq-i {
  position: absolute !important;
  inset: 0;
  width: auto !important;
  height: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  opacity: 0;
  animation: rqSwap 24s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: calc(var(--k) * 4s + var(--s) * 0.45s);
}
.rq-rot .rq-i img {
  max-height: 70px;
}
.rq-s:hover .rq-i,
.rq-s:hover::after {
  animation-play-state: paused;
}
@keyframes rqSwap {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.92);
    filter: blur(4px);
  }
  2.5%,
  15% {
    opacity: 1;
    transform: none;
    filter: none;
  }
  17.5%,
  100% {
    opacity: 0;
    transform: translateY(-22px) scale(0.92);
    filter: blur(4px);
  }
}
@keyframes rqBar {
  0% {
    transform: scaleX(0);
  }
  90% {
    transform: scaleX(1);
    opacity: 1;
  }
  100% {
    transform: scaleX(1);
    opacity: 0;
  }
}
@media (max-width: 1100px) {
  .rq-rot {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .rq-rot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rq-s {
    height: 96px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rq-rot .rq-i {
    animation: none;
    opacity: 0;
  }
  .rq-rot .rq-i:first-child {
    opacity: 1;
  }
  .rq-s::after {
    display: none;
  }
}
/* Accueil · Nos solutions : 3 solutions phares (dont la visioconférence) en grille animée */
.sl3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sl3-c {
  width: auto !important;
  height: 440px !important;
  animation: sl3In 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--d);
}
.sl3-c img {
  animation: sl3Kb 14s ease-in-out infinite alternate;
}
.sl3-c .sl-b {
  padding: 26px 28px 28px;
}
.sl3-c .sl-b h3 {
  font-size: 24px;
}
.sl3-c .sl-b p {
  font-size: 15px;
}
@keyframes sl3In {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes sl3Kb {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}
.sl3-c:hover img {
  animation-play-state: paused;
}
@media (max-width: 1000px) {
  .sl3 {
    grid-template-columns: 1fr;
  }
  .sl3-c {
    height: 340px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sl3-c,
  .sl3-c img {
    animation: none;
  }
}
/* Animations PayPos v2 · révélations plus nettes (plus de blocs à moitié transparents), cascade, images, boutons */
.rv {
  animation: rv2 linear both !important;
  animation-timeline: view() !important;
  animation-range: entry 0% entry 70% !important;
}
@keyframes rv2 {
  from {
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    filter: blur(4px);
  }
  60% {
    opacity: 1;
    filter: none;
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
.band.rv,
.band {
  opacity: 1;
}
.band.rv {
  animation:
    heroBg 10s ease-in-out infinite alternate,
    rv2 linear both !important;
  animation-timeline: auto, view() !important;
  animation-range:
    normal,
    entry 0% entry 60% !important;
}
.g > .rv:nth-child(2),
.ps-g > .rv:nth-child(2),
.g3b > .rv:nth-child(2),
.st1-l > .rv:nth-child(2) {
  animation-range: entry 6% entry 76% !important;
}
.g > .rv:nth-child(3),
.ps-g > .rv:nth-child(3),
.g3b > .rv:nth-child(3),
.st1-l > .rv:nth-child(3) {
  animation-range: entry 12% entry 82% !important;
}
.g > .rv:nth-child(4),
.ps-g > .rv:nth-child(4),
.st1-l > .rv:nth-child(4) {
  animation-range: entry 18% entry 88% !important;
}
.g > .rv:nth-child(n + 5),
.ps-g > .rv:nth-child(n + 5),
.st1-l > .rv:nth-child(n + 5) {
  animation-range: entry 24% entry 94% !important;
}
.gd-ph .pimg {
  animation: img2 linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 45%;
}
@keyframes img2 {
  from {
    transform: scale(1.14);
  }
  to {
    transform: scale(1);
  }
}
.cta,
.ghostw,
.wa {
  transition:
    transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.25s,
    background 0.25s,
    border-color 0.25s;
}
.cta:active,
.ghostw:active,
.wa:active {
  transform: scale(0.97) !important;
}
.wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.35);
}
.card .ico,
.ps-i,
.pf-i,
.au-ic,
.mp-ic {
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .ico,
.ps:hover .ps-i {
  transform: translateY(-3px) rotate(-6deg) scale(1.06);
}
.eyebrow::before {
  transform-origin: left;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  .rv,
  .gd-ph .pimg {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/* Keep reveal elements fully visible and sharp on every page. */
.rv { animation: none !important; animation-timeline: auto !important; opacity: 1 !important; filter: none !important; transform: none !important; }
/* Références : pas d'espace vide sous les cartes de logos */
.sec.rq {
  padding-bottom: 0;
}
/* Espace réduit entre « À propos » et « Nos références » */
#apropos.sec {
  padding-bottom: 40px;
}
#references.sec {
  padding-top: 40px;
}
