/* r-module.css — styles premium harmonisés */

/* --- METRIQUES — version dynamique et responsive --- */
.stats-strip {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  background: #141414; /* harmonisé */
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #222;
}

.metric-num {
  font-size: 26px;
  font-weight: 700;
  color:#E04306 /* #c0601a; */;
  margin-bottom: 6px;
}

.metric-label {
  font-size: 13px;
  color: #fff;
  line-height: 1.4;
}

/* --- TITRES SECTIONS --- */
.section-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #111;
}

.section-title em {
  font-style: normal;
  color: #E04306 /* #c0601a; */;
}

/* --- SOUS-TITRES SECTIONS --- */
.section-sub {
  color: var(--muted);
  margin-bottom: 18px;
  max-width: 100%;
}

/* --- CHAT MOCKUP --- */
.chat-mockup {
  background:#1a1a1a;
  border:0.5px solid #2a2a2a;
  border-radius:14px;
  overflow:hidden;
}
.chat-header {
  background:#1e1e1e;
  padding:12px 16px;
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:0.5px solid #2a2a2a;
}
.chat-avatar {
  width:28px;height:28px;
  background:#E04306 /* #c0601a; */;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:700;color:#fff;
}
.chat-name { font-size:11px;font-weight:600;color:#ddd; }
.chat-status { font-size:9px;color:#558855; }
.chat-body { padding:16px;display:flex;flex-direction:column;gap:10px; }
.msg { max-width:85%;font-size:11px;line-height:1.5; }
.msg-bot {
  align-self:flex-start;
  background:#252525;
  border-radius:4px 12px 12px 12px;
  padding:10px 12px;
  color:#ccc;
}
.msg-user {
  align-self:flex-end;
  background:#E04306 /* #c0601a; */;
  border-radius:12px 4px 12px 12px;
  padding:10px 12px;
  color:#fff;
}
.chat-input {
  margin:4px 16px 16px;
  background:#222;
  border:0.5px solid #333;
  border-radius:8px;
  padding:10px 12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.chat-input-txt { font-size:10px;color:#555; }
.chat-input-btn {
  width:22px;height:22px;
  background:#E04306 /* #c0601a; */;
  border-radius:5px;
}

/* Hero layout specific to R-Chatbot page */
.hero.hero-chatbot > div .small {
  margin-top: 12px;
}

.hero.hero-chatbot aside {
  align-items: center;
}

/* --- STEPS --- */
.steps { display:flex;flex-direction:column; }
.step {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:20px;
  padding:24px 0;
  border-bottom:0.5px solid #ebebeb;
}
.step-num {
  width:36px;height:36px;
  border-radius:50%;
  border:0.5px solid #e0e0e0;
  display:flex;align-items:center;justify-content:center;
  font-size:20px;font-weight:700;color:#E04306 /* #c0601a; */;
}
/* Wrapper compact pour la section Mise en place */
.steps-wrapper {
  max-width: 50%;
  margin: 0 auto;
}
.step-title { font-size:14px;font-weight:600;color:#111;margin-bottom:6px; }
.step-text { font-size:12px;color:#777;line-height:1.65; }


/* CTA final — correction chevauchement */
.cta-section {
  background: var(--dark);
  padding: 44px 28px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px; /* espace propre entre les éléments */
}

.cta-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0;
}

.cta-sub {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 0; /* évite les collisions */
}



/* --- Texte des étapes plus lisible --- */
.step-text {
  font-size: 14px;
  color: #777;
  line-height: 1.65;
}

/* Flèche alignée sous le numéro, centrée et plus grande */
.step {
  position: relative;
}

.step:not(:last-child)::after {
  content: "↓";
  position: absolute;
  left: 20px; /* centre de la colonne du numéro (48px / 2) */
  bottom: 12px; /* plus d'espace pour centrer visuellement */
  transform: translateX(-50%);
  font-size: 60px; /* flèche plus grande */
  color: #E04306 /* #c0601a; */;
  opacity: 0.9;
  line-height: 1;
}
