:root {
  --ccm-bg: #07111f;
  --ccm-surface: rgba(10, 19, 35, 0.78);
  --ccm-border: rgba(255, 255, 255, 0.08);
  --ccm-text: #f5f7ff;
  --ccm-muted: rgba(226, 232, 255, 0.74);
  --ccm-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --ccm-radius-xl: 28px;
  --ccm-radius-lg: 20px;
  --ccm-blur: blur(14px);
}

.ccm-section {
  position: relative;
  padding: 110px 0;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(0, 224, 255, 0.08),
      transparent 28%
    ),
    radial-gradient(circle at 80% 10%, rgba(146, 84, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #050c16 0%, #07111f 100%);
  color: var(--ccm-text);
}

.ccm-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.ccm-bg-orb-1 {
  width: 240px;
  height: 240px;
  top: 90px;
  left: -80px;
  background: rgba(0, 224, 255, 0.18);
}

.ccm-bg-orb-2 {
  width: 260px;
  height: 260px;
  bottom: 40px;
  right: -100px;
  background: rgba(168, 85, 247, 0.18);
}

.ccm-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(0, 224, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 224, 255, 0.07);
  color: #9be9ff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ccm-title {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ccm-intro {
  max-width: 860px;
  margin: 0 auto;
  color: var(--ccm-muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.ccm-carousel {
  position: relative;
}

.ccm-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--ccm-border);
  border-radius: var(--ccm-radius-xl);
  background: linear-gradient(
    180deg,
    rgba(17, 26, 46, 0.86) 0%,
    rgba(8, 16, 30, 0.92) 100%
  );
  backdrop-filter: var(--ccm-blur);
  box-shadow: var(--ccm-shadow);
}

.ccm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 40%
    ),
    radial-gradient(
      circle at top left,
      var(--ccm-accent-glow, rgba(0, 224, 255, 0.12)),
      transparent 34%
    );
  pointer-events: none;
}

.ccm-theme-cyan {
  --ccm-accent: #00e0ff;
  --ccm-accent-soft: rgba(0, 224, 255, 0.12);
  --ccm-accent-glow: rgba(0, 224, 255, 0.18);
}

.ccm-theme-bronze {
  --ccm-accent: #ff9d47;
  --ccm-accent-soft: rgba(255, 157, 71, 0.12);
  --ccm-accent-glow: rgba(255, 157, 71, 0.18);
}

.ccm-theme-violet {
  --ccm-accent: #a970ff;
  --ccm-accent-soft: rgba(169, 112, 255, 0.12);
  --ccm-accent-glow: rgba(169, 112, 255, 0.2);
}

.ccm-theme-green {
  --ccm-accent: #29f0b4;
  --ccm-accent-soft: rgba(41, 240, 180, 0.12);
  --ccm-accent-glow: rgba(41, 240, 180, 0.2);
}

.ccm-theme-gold {
  --ccm-accent: #ffd76a;
  --ccm-accent-soft: rgba(255, 215, 106, 0.12);
  --ccm-accent-glow: rgba(255, 215, 106, 0.18);
}

.ccm-visual-wrap {
  position: relative;
  height: 100%;
}

.ccm-visual {
  width: 100%;
  min-height: 320px;
  max-height: 560px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  background: #0c1629;
}

.ccm-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(7, 14, 25, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.ccm-content {
  position: relative;
  z-index: 2;
}

.ccm-step {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ccm-accent);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.ccm-slide-title {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.ccm-slide-text {
  margin-bottom: 22px;
  color: var(--ccm-muted);
  font-size: 1rem;
  line-height: 1.85;
}

.ccm-highlight {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--ccm-accent);
  border-radius: 16px;
  background: var(--ccm-accent-soft);
  color: #eef6ff;
  line-height: 1.7;
}

.ccm-mini-stats .ccm-stat-box {
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.ccm-stat-value {
  display: block;
  margin-bottom: 4px;
  color: var(--ccm-accent);
  font-size: 1.5rem;
  font-weight: 800;
}

.ccm-stat-label {
  display: block;
  color: var(--ccm-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.ccm-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.ccm-control-btn {
  position: static;
  width: 52px;
  height: 52px;
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.25s ease, background 0.25s ease,
    border-color 0.25s ease;
}

.ccm-control-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
}

.ccm-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}

.ccm-indicators-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ccm-indicators-wrap button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ccm-indicators-wrap button.active {
  transform: scale(1.15);
  background: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

.ccm-categories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.ccm-category-card {
  padding: 14px 14px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.ccm-category-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.ccm-category-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.ccm-category-range {
  color: var(--ccm-muted);
  font-size: 0.85rem;
}

.ccm-category-price {
  color: var(--ccm-accent);
  font-size: 1rem;
  font-weight: 700;
}

.ccm-category-views {
  color: var(--ccm-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .ccm-section {
    padding: 80px 0;
  }

  .ccm-card {
    padding: 18px;
    border-radius: 24px;
  }

  .ccm-slide-title {
    font-size: 1.9rem;
  }

  .ccm-slide-text {
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .ccm-visual {
    min-height: 260px;
    max-height: 380px;
  }
}

@media (max-width: 767.98px) {
  .ccm-categories-grid {
    grid-template-columns: 1fr;
  }

  .ccm-controls-wrap {
    gap: 12px;
  }

  .ccm-control-btn {
    width: 46px;
    height: 46px;
  }

  .ccm-title {
    font-size: 2rem;
  }

  .ccm-intro {
    font-size: 0.98rem;
  }
  /* DOTS PREMIUM (remplace les tirets moches) */

  .ccm-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    transition: all 0.3s ease;
    position: relative;
  }

  .ccm-dot:hover {
    transform: scale(1.2);
  }

  .ccm-dot.active {
    background: #00ffb3;
    box-shadow: 0 0 8px rgba(0, 255, 179, 0.6), 0 0 18px rgba(0, 255, 179, 0.4);
    transform: scale(1.4);
  }

  /* petit glow subtil comme ton hero */
  .ccm-dot.active::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(
      circle,
      rgba(0, 255, 179, 0.25),
      transparent 70%
    );
    z-index: -1;
  }

  /* centrage parfait */
  .ccm-indicators-wrap {
    min-height: 30px;
  }

  .ccm-highlight-word {
    font-weight: 600;
    position: relative;
  }

  /* couleurs cohérentes avec tes slides */

  .ccm-cyan {
    color: #00e0ff;
    text-shadow: 0 0 8px rgba(0, 224, 255, 0.4);
  }

  .ccm-green {
    color: #29f0b4;
    text-shadow: 0 0 8px rgba(41, 240, 180, 0.4);
  }

  .ccm-gold {
    color: #ffd76a;
    text-shadow: 0 0 8px rgba(255, 215, 106, 0.4);
  }

  .ccm-violet {
    color: #a970ff;
    text-shadow: 0 0 8px rgba(169, 112, 255, 0.4);
  }

  /* BASE */
  .ccm-highlight-word {
    font-weight: 700;
    display: inline-block;
  }

  /* BOOST VISUEL */
  .ccm-big {
    font-size: 1.3em;
  }

  /* COULEURS + GLOW BEAUCOUP PLUS FORT */

  .ccm-cyan {
    color: #00e0ff;
    text-shadow: 0 0 6px rgba(0, 224, 255, 0.6), 0 0 12px rgba(0, 224, 255, 0.4),
      0 0 20px rgba(0, 224, 255, 0.2);
  }

  .ccm-green {
    color: #29f0b4;
    text-shadow: 0 0 6px rgba(41, 240, 180, 0.6),
      0 0 12px rgba(41, 240, 180, 0.4), 0 0 20px rgba(41, 240, 180, 0.2);
  }

  .ccm-gold {
    color: #ffd76a;
    text-shadow: 0 0 6px rgba(255, 215, 106, 0.6),
      0 0 12px rgba(255, 215, 106, 0.4), 0 0 20px rgba(255, 215, 106, 0.2);
  }

  .ccm-violet {
    color: #a970ff;
    text-shadow: 0 0 6px rgba(169, 112, 255, 0.6),
      0 0 12px rgba(169, 112, 255, 0.4), 0 0 20px rgba(169, 112, 255, 0.2);
  }
}
