/*--------------------------------------------------------------
  OPUX360 — Premium Features Section Overrides
  Ajouter après premium-overrides.css
--------------------------------------------------------------*/

/* ============================================================
   FEATURE CARDS SECTION — Luxe Editorial Layout
   ============================================================ */

/* Container spacing */
.cs_card.cs_style_1 {
  padding: var(0, 6rem) 0;
  position: relative;
}

.cs_card.cs_style_1:first-of-type {
  padding-top: 0;
}

/* Subtle separator between cards */
.cs_card.cs_style_1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--premium-accent, #c9a227) 50%,
    transparent 100%
  );
  opacity: 0.4;
}

.cs_card.cs_style_1:last-of-type::after {
  display: none;
}

/* ============================================================
   THUMBNAIL — Sophisticated Frame
   ============================================================ */
.cs_card_thumbnail {
  position: relative;
  border-radius: 0 !important;
  overflow: visible;
}

/* Elegant offset border frame */
.cs_card_thumbnail::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--premium-accent, #c9a227);
  opacity: 0.3;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

/* Subtle corner accents */
.cs_card_thumbnail::after {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--premium-accent, #c9a227);
  border-left: 2px solid var(--premium-accent, #c9a227);
  opacity: 0.6;
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_card_thumbnail:hover::before {
  top: -20px;
  left: -20px;
  opacity: 0.5;
}

.cs_card_thumbnail:hover::after {
  width: 60px;
  height: 60px;
  opacity: 1;
}

.cs_card_thumbnail img {
  border-radius: 0 !important;
  box-shadow: 
    0 30px 80px -20px rgba(13, 27, 42, 0.18),
    0 0 0 1px rgba(13, 27, 42, 0.04);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_card_thumbnail:hover img {
  transform: scale(1.02);
  box-shadow: 
    0 40px 100px -25px rgba(13, 27, 42, 0.22),
    0 0 0 1px rgba(13, 27, 42, 0.06);
}

/* Mirrored frame for alternating cards */
.order-lg-2 .cs_card_thumbnail::before {
  left: 16px;
  right: -16px;
}

.order-lg-2 .cs_card_thumbnail::after {
  left: auto;
  right: -16px;
  border-left: none;
  border-right: 2px solid var(--premium-accent, #c9a227);
}

/* ============================================================
   CONTENT AREA — Refined Typography
   ============================================================ */
.cs_card_content {
  padding-left: 1rem;
}

.cs_card_content .cs_section_title {
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--premium-primary, #0d1b2a);
  margin-bottom: 1.5rem;
}

.cs_card_content .cs_section_text {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--premium-gray-600, #5c5a54);
  max-width: 520px;
}

/* ============================================================
   FEATURE LIST — Premium Checklist Style
   ============================================================ */
.cs_list.cs_style_1 {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0;
  counter-reset: feature-counter;
}

.cs_list.cs_style_1 li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--premium-gray-100, #e8e6e1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  counter-increment: feature-counter;
}

.cs_list.cs_style_1 li:first-child {
  border-top: 1px solid var(--premium-gray-100, #e8e6e1);
}

/* Hover lift effect */
.cs_list.cs_style_1 li:hover {
  padding-left: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(201, 162, 39, 0.04) 0%,
    transparent 100%
  );
}

/* Premium numbered indicator (replaces SVG icons) */
.cs_list_icon {
    position: inherit !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: var(--premium-cream, #f5f4f0);
  border: 1px solid var(--premium-gray-100, #e8e6e1);
  position: relative;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Hide original SVG */
.cs_list_icon svg {
  display: none;
}

/* Show number instead */
.cs_list_icon::before {
  content: counter(feature-counter, decimal-leading-zero);
  font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--premium-gray-400, #9a9890);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_list.cs_style_1 li:hover .cs_list_icon {
  background: var(--premium-accent, #c9a227);
  border-color: var(--premium-accent, #c9a227);
}

.cs_list.cs_style_1 li:hover .cs_list_icon::before {
  color: var(--premium-primary, #0d1b2a);
}

/* Feature text */
.cs_list.cs_style_1 li > span:last-child {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--premium-primary, #0d1b2a);
  line-height: 1.5;
  padding-top: 0.65rem;
}

/* ============================================================
   ALTERNATIVE: Keep Icons but Style Them Better
   (Uncomment this section if you prefer icons over numbers)
   ============================================================ */
/*
.cs_list_icon::before {
  display: none;
}

.cs_list_icon svg {
  display: block;
  width: 20px;
  height: 20px;
  color: var(--premium-accent, #c9a227);
  transition: all 0.4s ease;
}

.cs_list.cs_style_1 li:hover .cs_list_icon svg {
  color: var(--premium-primary, #0d1b2a);
  transform: translateX(4px);
}
*/

/* ============================================================
   CTA BUTTON IN FEATURES
   ============================================================ */
.cs_card_content .cs_btn.cs_style_1 {
  margin-top: 1rem;
  background: transparent;
  color: var(--premium-primary, #0d1b2a);
  border: 1.5px solid var(--premium-primary, #0d1b2a);
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_card_content .cs_btn.cs_style_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--premium-primary, #0d1b2a);
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.cs_card_content .cs_btn.cs_style_1 span {
  position: relative;
  z-index: 1;
}

.cs_card_content .cs_btn.cs_style_1:hover {
  color: var(--premium-white, #fafaf8);
  border-color: var(--premium-primary, #0d1b2a);
}

.cs_card_content .cs_btn.cs_style_1:hover::before {
  left: 0;
}

/* Small arrow indicator */
.cs_card_content .cs_btn.cs_style_1 span::after {
  content: '→';
  display: inline-block;
  margin-left: 0.75rem;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_card_content .cs_btn.cs_style_1:hover span::after {
  transform: translateX(4px);
}

/* ============================================================
   DECORATIVE ELEMENTS
   ============================================================ */

/* Subtle section label */
.cs_card_content::before {
  content: '.';
  display: block;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--premium-accent, #c9a227);
  margin-bottom: 1.25rem;
  opacity: 0.8;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 991px) {
  .cs_card.cs_style_1 {
    padding: 4rem 0;
  }
  
  .cs_card_thumbnail::before,
  .cs_card_thumbnail::after {
    display: none;
  }
  
  .cs_card_content {
    padding-left: 0;
    padding-top: 2rem;
  }
  
  .cs_list.cs_style_1 li {
    padding: 1rem 0;
  }
  
  .cs_list_icon {
    min-width: 40px;
    height: 40px;
  }
}

@media (max-width: 575px) {
  .cs_card_content .cs_section_title {
    font-size: 1.75rem;
  }
  
  .cs_list.cs_style_1 li > span:last-child {
    font-size: 0.9375rem;
  }
  
  .cs_list.cs_style_1 li {
    gap: 1rem;
  }
}

/* ============================================================
   ANIMATION ON SCROLL (Enhancement)
   ============================================================ */
.cs_card_content .cs_section_heading {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeSlideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.1s;
}

.cs_list.cs_style_1 li {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cs_list.cs_style_1 li:nth-child(1) { animation-delay: 0.2s; }
.cs_list.cs_style_1 li:nth-child(2) { animation-delay: 0.3s; }
.cs_list.cs_style_1 li:nth-child(3) { animation-delay: 0.4s; }

.cs_card_content .cs_btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.5s;
}

@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}