/* =============================================
   NOTRE PROCESSUS SECTION
   ============================================= */

:root {
  --purple: #6B21D6;
  --blue: #1A6FE8;
  --bg: #09090b;
  --text: #ffffff;
}


/* â”€â”€ PROCESSUS SECTION â”€â”€ */
#notre-processus {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}

.processus-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

/* Header */
.processus-header {
  text-align: center;
  margin-bottom: 56px;
}

/* Stage — fan lives here */
.processus-stage {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

/* Bubbles container â€” stacking context */
.bubbles-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Hide detail panel â€” not used in this layout */
.detail-panel {
  display: none !important;
}

/* â”€â”€ CARDS â”€â”€ */
.proc-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 300px;
  height: 360px;
  margin-left: -150px;
  margin-top: -180px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  padding: 32px 28px;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.5s ease,
              border-color 0.3s ease,
              background 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  user-select: none;
  will-change: transform;
}

/* Active center card */
.proc-card.is-center {
  background: linear-gradient(135deg, rgba(107, 33, 214, 0.22) 0%, rgba(26, 111, 232, 0.22) 100%);
  border-color: rgba(107, 33, 214, 0.55);
  box-shadow: 0 24px 64px rgba(107, 33, 214, 0.28), 0 0 0 1px rgba(107, 33, 214, 0.15);
  cursor: default;
}

.proc-card:not(.is-center):hover {
  border-color: rgba(107, 33, 214, 0.3);
}

/* Card inner elements */
.proc-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: rgba(107, 33, 214, 0.18);
  color: #a78bfa;
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 20px;
  align-self: flex-start;
  transition: background 0.3s ease, color 0.3s ease;
}
.proc-card.is-center .proc-card-badge {
  background: rgba(107, 33, 214, 0.35);
  color: #c4b5fd;
}

.proc-card-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(107, 33, 214, 0.6);
  background: rgba(107, 33, 214, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.proc-card.is-center .proc-card-number {
  background: rgba(107, 33, 214, 0.4);
  border-color: #6B21D6;
  box-shadow: 0 0 16px rgba(107, 33, 214, 0.5);
}

.proc-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
}

.proc-card-desc {
  font-size: 0.83rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.0);
  transition: color 0.4s ease 0.1s;
}
.proc-card.is-center .proc-card-desc {
  color: rgba(255, 255, 255, 0.62);
}

/* Ghost watermark number */
.proc-card-ghost {
  position: absolute;
  bottom: 16px;
  right: 20px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(107, 33, 214, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: color 0.3s ease;
}
.proc-card.is-center .proc-card-ghost {
  color: rgba(255, 255, 255, 0.05);
}

/* â”€â”€ NAV ARROWS â”€â”€ */
.proc-nav {
  position: absolute;
  bottom: -56px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.proc-nav button {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(107, 33, 214, 0.35);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.proc-nav button:hover:not(:disabled) {
  background: rgba(107, 33, 214, 0.22);
  border-color: rgba(107, 33, 214, 0.65);
  transform: scale(1.08);
}

.proc-nav button:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}
