/**
 * Procédé Section Styles
 * @package Karden_Avenir
 * @version 1.0.0
 */

/*  PROCÉDÉ - COMPACT  */
.procede-container {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 40px);
}

.procede-header {
  max-width: 680px;
  text-align: left;
}

.procede-header h2 {
  font-size: clamp(20px, 4vw, 36px);
  margin-bottom: clamp(8px, 1.5vw, 14px);
}

.procede-header p {
  font-size: clamp(12px, 1.8vw, 14px);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 0;
}

.procede-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.5vw, 16px);
  flex-wrap: nowrap;
}

.flow-line {
  width: clamp(25px, 3vw, 40px);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(41, 199, 218, 0.5), transparent);
  flex-shrink: 0;
  position: relative;
}

.flow-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid var(--cyan);
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}

.flow-step {
  background: linear-gradient(145deg, #0d1f42, #0a1835);
  border: 1px solid rgba(41, 199, 218, 0.1);
  border-radius: var(--radius-md);
  padding: clamp(12px, 1.8vw, 18px) clamp(10px, 1.5vw, 16px);
  width: clamp(130px, 15vw, 170px);
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-base);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.flow-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.flow-step:hover::before {
  transform: scaleX(1);
}

.flow-step.highlight {
  background: linear-gradient(145deg, #122952, #0d1f42);
  border-color: rgba(41, 199, 218, 0.2);
  box-shadow: 0 16px 36px rgba(41, 199, 218, 0.2);
}

.flow-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(41, 199, 218, 0.18);
  border-color: rgba(41, 199, 218, 0.25);
}

.flow-icon {
  width: clamp(36px, 4.5vw, 48px);
  height: clamp(36px, 4.5vw, 48px);
  margin: 0 auto clamp(8px, 1.2vw, 12px);
  background: rgba(41, 199, 218, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: clamp(14px, 2vw, 18px);
  transition: all var(--transition-base);
  position: relative;
}

.flow-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid rgba(41, 199, 218, 0.2);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.flow-step:hover .flow-icon {
  transform: scale(1.08);
  background: rgba(41, 199, 218, 0.18);
}

.flow-step:hover .flow-icon::after {
  opacity: 1;
}

.flow-text h4 {
  font-size: clamp(10px, 1.4vw, 12px);
  margin-bottom: 3px;
  color: #fff;
  font-weight: 600;
}

.flow-text p {
  font-size: clamp(9px, 1.2vw, 10.5px);
  opacity: 0.7;
  margin-bottom: 0;
  line-height: 1.4;
  color: #fff;
}

.flow {
  font-size: clamp(9px, 1.2vw, 10.5px);
  opacity: 0.7;
  margin-bottom: 0;
  line-height: 1.4;
   color: #fff;
}


.flow-outputs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 1.2vw, 14px);
  width: 100%;
  margin-top: clamp(8px, 1.5vw, 16px);
}

.output-card {
  background: linear-gradient(145deg, #0d1f42, #0a1835);
  border: 1px solid rgba(41, 199, 218, 0.08);
  border-radius: var(--radius-md);
  padding: clamp(12px, 1.8vw, 16px) clamp(10px, 1.4vw, 14px);
  text-align: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.output-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.output-card:hover::before {
  transform: scaleX(1);
}

.output-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(41, 199, 218, 0.22);
  border-color: rgba(41, 199, 218, 0.18);
}

.output-card i {
  font-size: clamp(16px, 2.2vw, 22px);
  color: var(--cyan);
  margin-bottom: clamp(6px, 1vw, 10px);
  transition: transform var(--transition-bounce);
  display: block;
}

.output-card:hover i {
  transform: scale(1.12);
}

.output-card h5 {
  font-size: clamp(9px, 1.3vw, 11.5px);
  margin-bottom: 2px;
  font-weight: 600;
  color: #fff;
}

.output-card p {
  font-size: clamp(8px, 1.1vw, 10px);
  opacity: 0.65;
  margin-bottom: 0;
  line-height: 1.3;
}