/* ======================= */
/* =======Section livrables============ */
/* ======================= */
/* === Global Section === */
.slm-livrables-section {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
  padding-top: 6rem;
  padding-bottom: 6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    to bottom right,
    #111827,
    hsl(220, 25%, 8%),
    #1f2937
  );
}

.slm-livrables-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

/* === Header === */
.slm-livrables-header {
  text-align: center;
  margin-bottom: 50px;
}
.slm-livrables-title {
  color: hsl(var(--foreground));
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
}
.slm-livrables-highlight {
  color: #00e5c0;
}
.slm-livrables-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
}

/* === Steps (top buttons) === */
.slm-livrables-deliverables-box {
  position: relative;
  overflow: hidden;
  margin-bottom: 6rem;
  padding: 2rem;
  background-image: linear-gradient(
    to bottom right,
    rgba(17, 24, 39, 1),
    hsl(220, 25%, 8%),
    transparent
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px);
  color: hsl(0, 0%, 98%);
  border-radius: 0px;
  box-shadow: 0 10px 30px -5px rgba(17, 24, 39, 0.3);
}
.slm-livrables-ovelay-top {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to right,
    hsla(174, 62%, 47%, 0.05),
    transparent,
    hsla(174, 62%, 47%, 0.05)
  );
  animation: slmPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}
@keyframes slmPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.94;
  }
}
.slm-livrables-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  margin-bottom: 40px;
}
.slm-livrables-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
  padding: 1.5rem;
}
.slm-livrables-step:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.slm-livrables-step.active {
  overflow: hidden;
  color: #fff;
  font-weight: 600;
  border: none;
  position: relative;
  border: solid 1px #2ec2b3;
  transform: scale(1.05);
  cursor: pointer;
}
.slm-livrables-step.active::before {
  content: "";
  background: #2ec2b3;
  --tw-gradient-to: hsl(var(--brand-teal)) var(--tw-gradient-to-position);
  --tw-gradient-from: hsl(var(--primary)) var(--tw-gradient-from-position);
  --tw-gradient-to: hsl(var(--primary) / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  width: 100%;
  height: 0.25rem;
  position: absolute;
  top: 0;
  left: 0;
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

  text-align: left;
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));

  --tw-backdrop-blur: blur(24px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur);
  backdrop-filter: var(--tw-backdrop-blur);

  --tw-gradient-to: hsl(var(--brand-teal) / var(--tw-gradient-to-position));
  --tw-gradient-stops: var(--tw-gradient-from),
    hsl(var(--brand-teal) / 0.15) var(--tw-gradient-via-position),
    var(--tw-gradient-to);

  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
  cursor: pointer;
}
.slm-livrables-step.active::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    to bottom right,
    hsl(var(--primary) / 0.1),
    hsl(var(--brand-teal) / 0.05)
  );
  opacity: 0.5;
  transition-property: opacity;
  transition-duration: 0.5s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: left;
  transform: scale(1.05);
  cursor: pointer;
  backdrop-filter: blur(24px);
  z-index: -1;
}
.slm-livrables-step-number {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-weight: bold;
}
.slm-livrables-step.active .slm-livrables-step-number {
  background: #2ec2b3;
}
/* === Carousel === */
.slm-livrables-carousel {
  position: relative;
  background-color: transparent;
}
.slm-livrables-carousel-content {
  display: flex;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
}

.slm-livrables-slide-card {
  background: none;
  padding: 0;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
}
.slm-livrables-slide-header {
  position: relative;
  z-index: 20;
  padding: 1.5rem 2rem;
  background-color: hsl(var(--brand-navy));
  border-bottom: 1px solid hsl(var(--brand-navy) / 0.3);
  color: rgb(255 255 255 / 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1);
  backdrop-filter: blur(12px);
  border-radius: 15px 15px 0 0;
}
.slm-livrables-slide-title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.4rem;
}
.slm-livrables-slide-title * {
  color: #fff;
}
.slm-livrables-slide-icon {
  width: 35px;
  height: 35px;
  background: #ffffff4d !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slm-livrables-slide-body {
  padding: 20px;
  background-color: hsl(var(--background));
  border-radius: 0 0 15px 15px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.slm-livrables-image {
  width: 100%;
  border-radius: 12px;
}
.slm-livrables-autoplay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  z-index: 21;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.slm-livrables-slide-card:hover {
  border-radius: 0;
}
.slm-livrables-slide-card:hover .slm-livrables-slide-header {
  background: #fff;
  transform: scale(1.05);
  box-shadow: none;
}
.slm-livrables-slide-card:hover .slm-livrables-slide-header * {
  color: hsl(var(--border));
}
.slm-livrables-slide-card:hover .slm-livrables-slide-body {
  background: #fafafa;
  transform: scale(1.02);
}
.slm-livrables-slide-card:hover .slm-livrables-slide-icon {
  background: #a3a3a34a;
}
.slm-livrables-slide-card:hover .slm-livrables-autoplay {
  background: #fff;
  transform: scale(1.05);
  color: hsl(var(--border));
  border: 1px solid rgba(0, 0, 0, 0.1);
}
/* === Carousel navigation === */
.slm-livrables-carousel-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-direction: row;
}
.slm-livrables-dots {
  display: flex;
  gap: 10px;
  position: relative !important;
  opacity: 1;
  width: fit-content !important;
}
.slm-livrables-nav-buttons {
  position: relative;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.slm-livrables-nav-buttons button {
  display: flex;
  position: unset;
  align-items: center;
  justify-content: center;
}
.slm-livrables-nav-buttons button::after {
  content: none;
}
.slm-livrables-prev,
.slm-livrables-next {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}
.slm-livrables-next {
  margin-left: 15px;
}
.slm-livrables-prev:hover,
.slm-livrables-next:hover {
  background-image: linear-gradient(to right, hsl(174 62% 47%), #2ec2b3);
}
.slm-livrables-dots {
  display: flex;
  gap: 10px;
  position: relative !important;
}
.slm-livrables-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff4d;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
}
.slm-livrables-dot.active {
  background-image: linear-gradient(to right, hsl(174 62% 47%), #2ec2b3);
  transform: scale(1.2);
}

/* === Quality Section === */
.slm-livrables-quality-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem;
  background-image: linear-gradient(
    to bottom right,
    rgba(17, 24, 39, 0.95),
    /* from-gray-900/95 */ hsl(220, 25%, 8%),
    /* via-brand-navy */ hsl(174, 80%, 15%) /* to-brand-teal-deeper */
  );
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.slm-livrables-quality-box::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  /* Background Gradient (converted from HSL vars) */
  background-image: linear-gradient(
    to right,
    hsla(220, 25%, 8%, 0.95),
    /* dark navy with transparency */ hsl(220, 25%, 8%),
    /* solid dark navy */ hsl(174, 80%, 15%) /* deep teal */
  );

  /* Blur Effects */
  filter: blur(40px);

  /* Backdrop Blur */
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);

  /* Structure */
  display: block;
  box-sizing: border-box;
  z-index: -1;
}

.slm-livrables-quality-title {
  color: hsl(var(--foreground));
  font-size: 48px;
  line-height: 1.25;
  font-weight: 700;
}
.slm-livrables-quality-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}
.slm-livrables-quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.slm-livrables-quality-item {
  text-align: center;
  padding: 2.5rem; /* equivalent to p-10 */
  background-color: rgba(255, 255, 255, 0.1); /* bg-white/10 */
  border: 1px solid rgba(255, 255, 255, 0.2); /* border border-white/20 */
  border-radius: 1.5rem; /* rounded-3xl */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1); /* shadow-xl */
  backdrop-filter: blur(12px); /* backdrop-blur-md */
  animation: fade-in 0.6s ease-out; /* animate-fade-in */
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); /* transition-all duration-500 */
}

/* Hover effects */
.slm-livrables-quality-item:hover {
  background-color: rgba(255, 255, 255, 0.15); /* hover:bg-white/15 */
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); /* hover:shadow-2xl */
  transform: scale(1.05); /* hover:scale-105 */
}
/* Fade-in animation */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slm-livrables-quality-header{
  text-align: center;
}
.slm-livrables-quality-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}
.slm-livrables-quality-value {
  font-size: 48px;
  font-weight: bold;
  color: #00e5c0;
}
.slm-livrables-quality-label {
  margin: 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}
.slm-livrables-quality-trend {
  display: inline-block;
  background: rgba(0, 229, 192, 0.2);
  border: 1px solid rgba(0, 229, 192, 0.4);
  color: #00e5c0;
  font-size: 0.9rem;
  padding: 4px 10px;
  border-radius: 20px;
}

/* === CTA Buttons === */

.slm-livrables-quality-cta {
  background: linear-gradient(
    135deg,
    hsl(220deg 25% 8% / 63%),
    hsl(220, 30%, 12%)
  );
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  padding: 1rem 2rem;
  color: #fff;
  text-align: center;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
  margin-top: 25px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.slm-livrables-btn-primary {
  display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;           /* py-4 px-8 */
    font-weight: 700;             /* font-bold */
    color: #ffffff;               /* text-white */
    background: linear-gradient(to right, #2fa3a0, #a0e1dc); /* approximate gradient from from-primary/via/ to-primary */
    border-radius: 9999px;        /* rounded-full */
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); /* shadow-lg */
    cursor: pointer;
    text-align: center;
    transition: all 0.3s cubic-bezier(.4,0,.2,1); /* transition-all */
    animation-duration: 0.5s;     /* duration-500 */
    font-size: 18px;
    gap: 12px;
}
.slm-livrables-btn-primary:hover {
  transform: scale(1.05);
}
.slm-livrables-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 30px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.slm-livrables-btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}
.slm-livrables-or {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}
@media (max-width: 1024px) {
  .slm-livrables-quality-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .slm-livrables-quality-grid{
    grid-template-columns: repeat(1, 1fr);
  }
  .slm-livrables-step {
    width: 100% !important;
  }
  .slm-livrables-steps {
    grid-template-columns: repeat(1, 1fr);
  }
  .slm-livrables-quality-cta{
    flex-direction: column;
    border-radius: 11px;
    padding: 10px;
  }
}
