/* ── Utilitaires page ──────────────────────────────────────── */
[x-cloak] { display: none !important; }
.text-balance { text-wrap: balance; }

/* ── Scan animation (dashboard hero) ──────────────────────── */
@keyframes scan {
  0%   { top: 0%;   opacity: 0; }
  50%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
.scan-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, #66ffbc, transparent);
  position: absolute;
  width: 100%;
  z-index: 20;
  animation: scan 3s infinite linear;
}

/* ── Conteneurs de section ─────────────────────────────────── */
.section-container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-container-lg {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ── En-têtes de section ───────────────────────────────────── */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--slate-400);
  margin-bottom: 0.75rem;
}
.section-label-green {
  color: var(--green-dark);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--slate-900);
  text-wrap: balance;
}
.section-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--slate-500);
  line-height: 1.65;
  max-width: 42rem;
  margin: 0 auto;
}

/* ── Card glassmorphisme (style Flare) ─────────────────────── */
.feature-card {
  background: rgba(248, 250, 252, 0.5);
  border: 1px solid white;
  border-radius: var(--r-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}
.feature-card-dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-2xl);
  padding: 2rem;
}

/* ── Section métriques ─────────────────────────────────────── */
.metrics-section {
  padding: 5rem 1.5rem;
  background: white;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.metrics-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 768px) {
  .metrics-grid { grid-template-columns: repeat(4, 1fr); }
}
.metric-card {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}
.metric-card:last-child { border-right: none; }
@media (min-width: 768px) {
  .metric-card:nth-child(2) { border-right: 1px solid var(--slate-100); }
  .metric-card:nth-child(4) { border-right: none; }
  .metric-card { border-bottom: none; }
}
.metric-value {
  display: block;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.metric-unit {
  font-size: 0.55em;
  font-weight: 900;
  vertical-align: super;
  letter-spacing: -0.02em;
}
.metric-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 4px;
}
.metric-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}

/* ── Section pipeline ──────────────────────────────────────── */
.pipeline-section {
  background: var(--slate-950);
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.pipeline-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102,255,188,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.pipeline-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.pipeline-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
}
.pipeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: calc(1.5rem + 2.5rem);
  width: 1px;
  height: calc(100% - 2.5rem);
  background: linear-gradient(to bottom, rgba(102,255,188,0.25), rgba(102,255,188,0.05));
}
.pipeline-step-badge {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--slate-950);
  background: linear-gradient(135deg, var(--green-bright) 0%, var(--green-dark) 100%);
  box-shadow: var(--shadow-glow-green);
  position: relative;
  z-index: 1;
}
.pipeline-step-content { flex: 1; padding-top: 0.35rem; }
.pipeline-step-title {
  font-size: 15px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.pipeline-step-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-400);
  line-height: 1.55;
}
.pipeline-step-tag {
  display: inline-block;
  margin-top: 6px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 2px 8px;
  border-radius: var(--r-full);
  border: 1px solid rgba(102,255,188,0.2);
  color: var(--green-bright);
}

/* ── Section tarifs ────────────────────────────────────────── */
.pricing-section {
  padding: 6rem 1.5rem;
  background: var(--slate-50);
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}
.pricing-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-2xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.pricing-card:hover {
  box-shadow: var(--shadow-elevated);
  border-color: rgba(139,92,246,0.25);
  transform: translateY(-2px);
}
.pricing-card.featured {
  border-color: var(--purple-mid);
  box-shadow: 0 0 0 1px var(--purple-mid), var(--shadow-elevated);
  background: linear-gradient(to bottom, rgba(139,92,246,0.03), white);
}
.pricing-plan-name {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate-400);
}
.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--slate-900);
  line-height: 1;
}
.pricing-price-sub {
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-500);
  margin-top: 4px;
}
.pricing-desc {
  font-size: 13px;
  font-weight: 500;
  color: var(--slate-500);
  line-height: 1.55;
  padding-top: 0.25rem;
  border-top: 1px solid var(--slate-100);
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--slate-600);
}
.pricing-feature-check {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: var(--r-full);
  background: linear-gradient(135deg, var(--green-bright), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Intégrations bar ──────────────────────────────────────── */
.integrations-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}
.integration-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  background: white;
  white-space: nowrap;
}
.integration-chip-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: var(--green-bright);
  flex-shrink: 0;
}

/* ── Carte de citation ─────────────────────────────────────── */
.quote-card {
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.55));
  border: 1px solid white;
  border-radius: var(--r-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  color: var(--slate-700);
}

/* ── Bouton dans section sombre ────────────────────────────── */
.btn-dark-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--r-lg);
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.btn-dark-outline:hover {
  border-color: rgba(255,255,255,0.35);
  color: white;
  background: rgba(255,255,255,0.05);
}

/* ── Fenêtre de code ───────────────────────────────────────── */
.code-window {
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-2xl);
  overflow: hidden;
}

/* ── Badge statut ──────────────────────────────────────────── */
.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.badge-green {
  background: rgba(102,255,188,0.1);
  color: var(--green-bright);
  border: 1px solid rgba(102,255,188,0.2);
}
.badge-purple {
  background: rgba(139,92,246,0.12);
  color: var(--purple-light);
  border: 1px solid rgba(139,92,246,0.2);
}
/ *   O R E   P a g e   &   P i p e l i n e   S p e c i f i c   S t y l e s   * /  
  
 . p i p e l i n e - s e c t i o n   {  
         p o s i t i o n :   r e l a t i v e ;  
         o v e r f l o w :   h i d d e n ;  
 }  
  
 . p i p e l i n e - b g - b l u r   {  
         p o s i t i o n :   a b s o l u t e ;  
         i n s e t :   0 ;  
         w i d t h :   1 0 0 % ;  
         h e i g h t :   1 0 0 % ;  
         o b j e c t - f i t :   c o v e r ;  
         p o i n t e r - e v e n t s :   n o n e ;  
         z - i n d e x :   0 ;  
         o p a c i t y :   0 . 5 ;  
 }  
  
 . o r e - h e r o - t i t l e   {  
         f o n t - f a m i l y :   v a r ( - - f o n t - s a n s )   ! i m p o r t a n t ;  
         l e t t e r - s p a c i n g :   - 0 . 0 4 e m ;  
 }  
  
 . o r e - f e a t u r e - i c o n   {  
         t r a n s i t i o n :   t r a n s f o r m   0 . 3 s   e a s e ;  
 }  
  
 . o r e - f e a t u r e - c a r d : h o v e r   . o r e - f e a t u r e - i c o n   {  
         t r a n s f o r m :   s c a l e ( 1 . 1 )   r o t a t e ( 5 d e g ) ;  
 }  
  
 / *   C u s t o m   c a r d   g l a s s m o r p h i s m   f o r   O R E   * /  
 . o r e - c t a - b o x   {  
         b a c k g r o u n d :   l i n e a r - g r a d i e n t ( 1 3 5 d e g ,   v a r ( - - p u r p l e - m i d )   0 % ,   v a r ( - - p u r p l e - d e e p )   1 0 0 % ) ;  
         b o x - s h a d o w :   0   2 5 p x   5 0 p x   - 1 2 p x   r g b a ( 1 3 9 ,   9 2 ,   2 4 6 ,   0 . 3 ) ;  
 }  
  
 / *   P i p e l i n e   S t e p   o v e r r i d e s   i f   n e e d e d   * /  
 . p i p e l i n e - s t e p - t i t l e   {  
         f o n t - f a m i l y :   v a r ( - - f o n t - s a n s )   ! i m p o r t a n t ;  
         f o n t - w e i g h t :   9 0 0 ;  
 }  
  
 . p i p e l i n e - s t e p - d e s c   {  
         f o n t - f a m i l y :   v a r ( - - f o n t - s a n s )   ! i m p o r t a n t ;  
         f o n t - w e i g h t :   5 0 0 ;  
 }  
 