/*--------------------------------------------------------------
  OPUX360 — Premium Luxe Minimal Overrides
  Ajouter après style.css : <link rel="stylesheet" href="assets/css/premium-overrides.css">
--------------------------------------------------------------*/

/* ============================================================
   1. REFINED COLOR PALETTE & CSS VARIABLES
   ============================================================ */
:root {
  /* Primary — Deep sophisticated navy */
  --premium-primary: #0d1b2a;
  --premium-primary-light: #133659;
  
  /* Accent — Warm gold for luxury touch */
  --premium-accent: #60c4e3;
  --premium-accent-light: #76d8f7;
  --premium-accent-subtle: rgba(112, 91, 21, 0.08);
  
  /* Neutrals — Warm undertones */
  --premium-white: #fafaf8;
  --premium-cream: #f5f4f0;
  --premium-gray-100: #e8e6e1;
  --premium-gray-200: #d4d2cd;
  --premium-gray-400: #9a9890;
  --premium-gray-600: #5c5a54;
  --premium-gray-800: #2d2b28;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  
  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-elegant: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   2. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ============================================================
   3. BASE REFINEMENTS
   ============================================================ */
body,
html {
  font-family: var(--font-body);
  background-color: var(--premium-white);
  color: var(--premium-gray-600);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Refined headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--premium-primary);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
  color: var(--premium-gray-600);
  line-height: 1.75;
}

/* Elegant selection */
::selection {
  background-color: var(--premium-accent);
  color: var(--premium-primary);
}

/* ============================================================
   4. PRELOADER — Refined
   ============================================================ */
.cs_preloader {
  background-color: var(--premium-primary);
}

.cs_preloader_in::after {
  border-top-color: var(--premium-accent);
  border-bottom-color: var(--premium-accent);
}

.cs_preloader_in::before {
  border-color: rgba(201, 162, 39, 0.15);
}

.cs_preloader_in span {
  background-color: var(--premium-accent);
}

/* ============================================================
   5. HEADER — Minimal & Refined
   ============================================================ */
.cs_site_header {
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-smooth);
}

.cs_site_header.cs_sticky_header.cs_sticky_active {
  background: rgba(250, 250, 248, 0.95);
  box-shadow: 0 1px 40px rgba(0, 0, 0, 0.04);
}

.cs_main_header {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.cs_nav_list > li > a {
  color: var(--premium-gray-600);
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

/* .cs_nav_list > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--premium-accent);
  transition: var(--transition-smooth);
} */

.cs_nav_list > li > a:hover {
  color: var(--premium-primary);
}

.cs_nav_list > li > a:hover::after {
  width: 100%;
}

/* ============================================================
   6. HERO SECTION — Luxe Minimal
   ============================================================ */

#home {
 min-height: 100vh;
}
.cs_hero.cs_style_1 {
  background: linear-gradient(
    165deg,
    var(--premium-white) 0%,
    var(--premium-cream) 50%,
    rgba(201, 162, 39, 0.03) 100%
  );
  /* padding: var(--space-xl) 0; */
  position: relative;
  overflow: hidden;
}

/* Subtle decorative element */
.cs_hero.cs_style_1::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(
    circle,
    rgba(201, 162, 39, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.cs_hero_bg {
  display: none;
}

.cs_hero_title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem) !important;
  font-weight: 500;
  color: var(--premium-primary);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
}

.cs_hero_subtitle {
  font-size: 1.125rem;
  color: var(--premium-gray-600);
  max-width: 540px;
  line-height: 1.7;
  font-weight: 400;
}

/* Hero image refinement */
.cs_hero_thumbnail img {
  border-radius: 1rem;
  box-shadow: 
    0 25px 80px -20px rgba(13, 27, 42, 0.15),
    0 10px 30px -10px rgba(13, 27, 42, 0.1);
  transition: var(--transition-elegant);
}

.cs_hero_thumbnail:hover img {
  transform: translateY(-8px);
  box-shadow: 
    0 35px 100px -25px rgba(13, 27, 42, 0.2),
    0 15px 40px -15px rgba(13, 27, 42, 0.12);
}

.cs_hero_shape_vector {
  opacity: 0.4;
}

/* ============================================================
   7. BUTTONS — Premium Styling
   ============================================================ */
.cs_btn.cs_style_1 {
  background: var(--premium-primary);
  color: var(--premium-white);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1.1rem 2.25rem;
  border-radius: 0;
  border: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.cs_btn.cs_style_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--premium-accent);
  transition: var(--transition-elegant);
  z-index: 0;
}

.cs_btn.cs_style_1 span {
  position: relative;
  color: #fff;
  z-index: 1;
}

.cs_btn.cs_style_1:hover {
  color: var(--premium-primary);
  /* transform: translateY(-2px); */
  box-shadow: 0 10px 40px -10px rgba(13, 27, 42, 0.3);
}

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

/* Secondary button / Play button */
.cs_player_btn {
  color: var(--premium-gray-600);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.cs_player_btn:hover {
  color: var(--premium-primary);
}

.cs_play_btn_icon {
  width: 56px;
  height: 56px;
  border: 1.5px solid var(--premium-gray-200);
  background: transparent;
  transition: var(--transition-smooth);
}

.cs_player_btn:hover .cs_play_btn_icon {
  border-color: var(--premium-accent);
  background: var(--premium-accent-subtle);
}

/* ============================================================
   8. COUNTER SECTION — Sophisticated Dark
   ============================================================ */
.cs_heading_bg {
  background: var(--premium-primary) !important;
  position: relative;
}

.cs_heading_bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(201, 162, 39, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(201, 162, 39, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cs_contet_title {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.cs_funfact_number {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.cs_funfact.cs_style_1 h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.cs_counter_shape_1,
.cs_counter_shape_2 {
  display: none;
}

/* ============================================================
   9. SECTION HEADINGS — Refined
   ============================================================ */
.cs_section_heading.cs_style_1 {
  margin-bottom: var(--space-lg);
}

.cs_section_title {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--premium-primary);
  position: relative;
}

.cs_section_text {
  font-size: 1.125rem;
  color: var(--premium-gray-600);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   10. ICON BOXES / FEATURES — Minimal Cards
   ============================================================ */
.cs_iconbox.cs_style_1 {
  background: var(--premium-white);
  padding: var(--space-md);
  border: 1px solid var(--premium-gray-100);
  border-radius: 0;
  transition: var(--transition-smooth);
  position: relative;
}

.cs_iconbox.cs_style_1::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--premium-primary-light);
  transition: var(--transition-elegant);
}

.cs_iconbox.cs_style_1:hover {
  border-color: var(--premium-gray-200);
  box-shadow: 0 20px 60px -20px rgba(13, 27, 42, 0.1);
  transform: translateY(-4px);
}

.cs_iconbox.cs_style_1:hover::before {
  width: 100%;
}

.cs_iconbox_icon {
  width: 64px;
  height: 64px;
  background: var(--premium-cream) !important;
  border-radius: 0 !important;
  transition: var(--transition-smooth);
}

.cs_iconbox.cs_style_1:hover .cs_iconbox_icon {
  background: var(--premium-primary-light) !important;
}

.cs_iconbox_icon img {
  filter: brightness(0) saturate(100%);
  opacity: 0.7;
  transition: var(--transition-smooth);
}

.cs_iconbox.cs_style_1:hover .cs_iconbox_icon img {
  opacity: 1;
}

.cs_iconbox_title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--premium-primary);
  margin-top: var(--space-sm);
}

/* ============================================================
   11. PRICING SECTION — Premium Cards
   ============================================================ */
.cs_pricing_card.cs_style_1 {
  background: var(--premium-white);
  border: 1px solid var(--premium-gray-100);
  border-radius: 0;
  padding: var(--space-md);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cs_pricing_card.cs_style_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition-smooth);
}

.cs_pricing_card.cs_style_1:hover {
  border-color: var(--premium-gray-200);
  box-shadow: 0 30px 80px -30px rgba(13, 27, 42, 0.12);
}

.cs_pricing_card.cs_style_1:hover::before {
  background: var(--premium-accent);
}

/* Featured pricing card */
.cs_pricing_card.cs_style_1.cs_popular,
.cs_pricing_card.cs_style_1.cs_active {
  background: var(--premium-primary);
  border-color: var(--premium-primary);
}

.cs_pricing_card.cs_style_1.cs_popular *,
.cs_pricing_card.cs_style_1.cs_active * {
  color: var(--premium-white);
}

.cs_pricing_card.cs_style_1.cs_popular .cs_pricing_icon,
.cs_pricing_card.cs_style_1.cs_active .cs_pricing_icon {
  background: rgba(201, 162, 39, 0.15);
}

.cs_pricing_card.cs_style_1.cs_popular::before,
.cs_pricing_card.cs_style_1.cs_active::before {
  background: var(--premium-accent);
}

.cs_pricing_title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--premium-gray-600);
}

.cs_pricing_price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--premium-primary);
  letter-spacing: -0.03em;
}

.cs_pricing_card.cs_style_1.cs_popular .cs_pricing_price,
.cs_pricing_card.cs_style_1.cs_active .cs_pricing_price {
  color: var(--premium-accent);
}

.cs_pricing_feature_list {
  list-style: none;
  padding: 0;
}

.cs_pricing_feature_list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--premium-gray-100);
  font-size: 0.95rem;
}

.cs_pricing_feature_list li:last-child {
  border-bottom: none;
  padding-left: 0 !important;
  font-weight: 500;
}

.cs_pricing_card.cs_style_1.cs_popular .cs_pricing_feature_list li,
.cs_pricing_card.cs_style_1.cs_active .cs_pricing_feature_list li {
  border-color: rgba(255, 255, 255, 0.1);
}

/* ============================================================
   12. TESTIMONIALS — Elegant
   ============================================================ */
.cs_testimonial.cs_style_1 {
  background: var(--premium-cream);
  padding: var(--space-md);
  border: none;
  border-radius: 0;
  position: relative;
}

.cs_testimonial.cs_style_1::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--premium-accent);
  opacity: 0.2;
  line-height: 1;
}

.cs_testimonial_text {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--premium-primary);
  line-height: 1.6;
}

/* ============================================================
   13. FAQ / ACCORDION — Clean
   ============================================================ */
.cs_accordian {
  background: var(--premium-white);
  border: 1px solid var(--premium-gray-100);
  border-radius: 0 !important;
  margin-bottom: var(--space-sm);
  transition: var(--transition-smooth);
}

.cs_accordian:hover {
  border-color: var(--premium-gray-200);
}

.cs_accordian.active {
  border-color: var(--premium-accent);
  border-left-width: 3px;
}

.cs_accordian_head {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--premium-primary);
  padding: 1.25rem 1.5rem;
}

.cs_accordian_body {
  padding: 0 1.5rem 1.25rem;
  color: var(--premium-gray-600);
  line-height: 1.7;
}

.cs_accordian_toggle {
  width: 24px;
  height: 24px;
}

.cs_accordian_toggle::before,
.cs_accordian_toggle::after {
  background: var(--premium-gray-400);
}

.cs_accordian.active .cs_accordian_toggle::before,
.cs_accordian.active .cs_accordian_toggle::after {
  background: var(--premium-accent);
}

/* ============================================================
   14. CTA SECTION — Luxe Dark
   ============================================================ */
.cs_cta.cs_style_1 {
  background: var(--premium-primary);
  border-radius: 0 !important;
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.cs_cta.cs_style_1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(
    ellipse,
    rgba(201, 162, 39, 0.1) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cs_cta_text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--premium-white);
  letter-spacing: -0.02em;
}

.cs_cta_text p {
  color: rgba(255, 255, 255, 0.7);
}

/* Newsletter form in CTA */
.cs_newsletter_form {
  max-width: 480px;
}

.cs_newsletter_input {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0 !important;
  color: var(--premium-white);
  padding: 1rem 1.5rem;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.cs_newsletter_input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cs_newsletter_input:focus {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: var(--premium-accent);
  outline: none;
}

.cs_newsletter_form .cs_btn {
  background: var(--premium-accent);
  color: var(--premium-primary);
  border-radius: 0 !important;
}

.cs_newsletter_form .cs_btn:hover {
  background: var(--premium-accent-light);
}

.cs_ellipse_1,
.cs_ellipse_2,
.cs_vector_1 {
  display: none;
}

/* ============================================================
   15. FOOTER — Refined Minimal
   ============================================================ */
.cs_footer.cs_style_1 {
  background: var(--premium-cream);
  border-top: 1px solid var(--premium-gray-100);
}

.cs_footer_widget_title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--premium-primary);
  margin-bottom: var(--space-sm);
}

.cs_footer_medu li {
  list-style: none;
}

.cs_footer_medu a {
  color: var(--premium-gray-600);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  position: relative;
}

.cs_footer_medu a:hover {
  color: var(--premium-primary);
}

.cs_footer_bottom {
  background: transparent !important;
  border-top: 1px solid var(--premium-gray-100);
  border-radius: 0 !important;
  padding: var(--space-sm) 0;
}

.cs_footer_text {
  font-size: 0.875rem;
  color: var(--premium-gray-400);
}

.cs_social_links a {
  color: var(--premium-gray-600);
  transition: var(--transition-fast);
}

.cs_social_links a:hover {
  color: var(--premium-accent);
}

/* ============================================================
   16. SCROLL TO TOP — Minimal
   ============================================================ */
.cs_scrollup {
  background: var(--premium-primary) !important;
  border-radius: 0 !important;
  width: 48px;
  height: 48px;
  transition: var(--transition-smooth);
}

.cs_scrollup:hover {
  background: var(--premium-accent) !important;
  transform: translateY(-4px);
}

/* ============================================================
   17. UTILITY REFINEMENTS
   ============================================================ */

/* Remove default purple accents */
.cs_accent_bg {
  background-color: var(--premium-primary) !important;
}

.cs_purple_bg {
  background-color: var(--premium-accent) !important;
}

.cs_purple_color {
  color: var(--premium-accent) !important;
}

/* Border radius override — sharp edges for luxury feel */
.cs_radius_20,
.cs_radius_40,
.cs_radius_50,
.cs_radius_100 {
  border-radius: 0 !important;
}

/* Smooth fade-in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wow {
  animation: fadeInUp 0.8s var(--transition-elegant) both;
}

/* ============================================================
   18. RESPONSIVE REFINEMENTS
   ============================================================ */
@media (max-width: 991px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 5rem;
  }
  
  .cs_hero.cs_style_1 {
    padding: var(--space-lg) 0;
  }
  
  .cs_cta.cs_style_1 {
    padding: var(--space-md);
  }
}

@media (max-width: 767px) {
  body, html {
    font-size: 16px;
  }
  
  .cs_iconbox.cs_style_1,
  .cs_pricing_card.cs_style_1 {
    padding: var(--space-sm);
  }
}

/* ============================================================
   19. SUBTLE GRAIN TEXTURE OVERLAY (Optional)
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.018;
  pointer-events: none;
  z-index: 9999;
}