/*
 * FIXEO Enterprise Teaser — fixeo-enterprise-teaser-v1.css
 * Version: fxet-v1a — 2026-07-18
 * Namespace: fxet-* exclusively
 *
 * Homepage-only block: #enterprise-teaser
 * Inserted between #services and #service-artisans-section.
 * Self-contained: no dependency on fixeo-entreprises-v1.css.
 * Reuses Enterprise design identity (indigo palette, dark surface).
 * Zero impact on artisan cards, hero, or any other homepage section.
 */

/* ── Design tokens (local — no dependency on enterprise page tokens) ── */
.fxet-section {
  --fxet-indigo:        rgb(72, 100, 255);
  --fxet-indigo-20:     rgba(72, 100, 255, 0.20);
  --fxet-indigo-10:     rgba(72, 100, 255, 0.10);
  --fxet-indigo-06:     rgba(72, 100, 255, 0.06);
  --fxet-pink:          #FF4D8D;
  --fxet-green:         #10B981;
  --fxet-amber:         #F59E0B;
  --fxet-bg:            #0D0D1A;
  --fxet-surface:       rgba(255,255,255,0.04);
  --fxet-border:        rgba(255,255,255,0.08);
  --fxet-text-1:        #FFFFFF;
  --fxet-text-2:        rgba(255,255,255,0.72);
  --fxet-text-3:        rgba(255,255,255,0.45);
  --fxet-radius-sm:     8px;
  --fxet-radius-md:     14px;
  --fxet-radius-lg:     20px;
  --fxet-radius-xl:     28px;
}

/* ── Section shell ──────────────────────────────────────────────────────── */
.fxet-section {
  background: var(--fxet-bg);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  contain: layout style;
}

/* Subtle grid background (matches enterprise LP hero) */
.fxet-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(72,100,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72,100,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* ── Container ──────────────────────────────────────────────────────────── */
.fxet-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* ── Left: text content ─────────────────────────────────────────────────── */
.fxet-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fxet-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fxet-indigo);
  display: flex;
  align-items: center;
  gap: 8px;
}

.fxet-title {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--fxet-text-1);
  margin: 0;
  /* Gradient text on first line */
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.80) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fxet-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fxet-text-2);
  margin: 0;
  max-width: 480px;
}

/* ── Industry tags ──────────────────────────────────────────────────────── */
.fxet-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fxet-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--fxet-indigo-10);
  border: 1px solid var(--fxet-indigo-20);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--fxet-text-2);
  white-space: nowrap;
}

/* ── CTA ────────────────────────────────────────────────────────────────── */
.fxet-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--fxet-indigo);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--fxet-radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  align-self: flex-start;
  box-shadow: 0 4px 20px rgba(72,100,255,0.35);
}

.fxet-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.fxet-cta:active {
  transform: translateY(0);
  opacity: 1;
}

.fxet-cta-arrow {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.fxet-cta:hover .fxet-cta-arrow {
  transform: translateX(3px);
}

/* ── Right: dashboard illustration ─────────────────────────────────────── */
.fxet-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fxet-dash {
  width: 100%;
  max-width: 460px;
  background: var(--fxet-surface);
  border: 1px solid var(--fxet-border);
  border-radius: var(--fxet-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.50), 0 0 0 1px rgba(72,100,255,0.12);
}

/* Top bar */
.fxet-dash-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--fxet-border);
  background: rgba(255,255,255,0.03);
}

.fxet-dash-brand {
  font-size: 13px;
  font-weight: 600;
  color: var(--fxet-text-1);
  letter-spacing: 0.02em;
}

.fxet-dash-badge {
  font-size: 11px;
  font-weight: 600;
  color: var(--fxet-green);
  letter-spacing: 0.04em;
}

/* ── Orchestration flow illustration ────────────────────────────────────── */

.fxet-orch-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px 20px 4px;
  gap: 0;
}

/* Step card */
.fxet-orch-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid var(--fxet-border);
  background: rgba(255,255,255,0.03);
}

.fxet-orch-step--request  { border-color: rgba(72,100,255,0.20); }
.fxet-orch-step--assigned { border-color: rgba(245,158,11,0.22); }
.fxet-orch-step--done     { border-color: rgba(16,185,129,0.22); background: rgba(16,185,129,0.04); }

.fxet-orch-icon {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

/* Done step: show as a circle check */
.fxet-orch-step--done .fxet-orch-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16,185,129,0.18);
  color: var(--fxet-green);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fxet-orch-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.fxet-orch-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fxet-text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fxet-orch-detail {
  font-size: 11px;
  color: var(--fxet-text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Status tag */
.fxet-orch-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  text-transform: uppercase;
}

.fxet-orch-tag--new    { background: rgba(72,100,255,0.15); color: var(--fxet-indigo); }
.fxet-orch-tag--active { background: rgba(245,158,11,0.15); color: var(--fxet-amber); }
.fxet-orch-tag--done   { background: rgba(16,185,129,0.15); color: var(--fxet-green); }

/* Connector arrow */
.fxet-orch-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: 2px 0;
  position: relative;
}

.fxet-orch-arrow-line {
  display: block;
  width: 1px;
  height: 12px;
  background: linear-gradient(to bottom, rgba(72,100,255,0.30), rgba(72,100,255,0.50));
  margin: 0 auto;
}

.fxet-orch-arrow-tip {
  font-size: 11px;
  color: rgba(72,100,255,0.55);
  line-height: 1;
  margin-top: -1px;
}

/* FIXEO Intelligence Engine (center node) */
.fxet-orch-engine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 0 10px;
}

.fxet-orch-engine-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(72,100,255,0.22) 0%, rgba(72,100,255,0.08) 60%, transparent 100%);
  border: 1px solid rgba(72,100,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Subtle outer pulse ring — CSS only, no animation */
.fxet-orch-engine-ring::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(72,100,255,0.14);
}

.fxet-orch-engine-ring::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(72,100,255,0.07);
}

.fxet-orch-engine-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.fxet-orch-engine-icon {
  font-size: 20px;
  line-height: 1;
}

.fxet-orch-engine-name {
  font-size: 8px;
  font-weight: 800;
  color: var(--fxet-indigo);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.fxet-orch-engine-meta {
  display: flex;
  gap: 6px;
  align-items: center;
}

.fxet-orch-chip {
  font-size: 10px;
  font-weight: 600;
  color: rgba(72,100,255,0.75);
  background: rgba(72,100,255,0.10);
  border: 1px solid rgba(72,100,255,0.18);
  padding: 2px 7px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

/* Illustration label */
.fxet-dash-label {
  font-size: 10px;
  color: var(--fxet-text-3);
  text-align: center;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--fxet-border);
  margin: 0;
}

/* ── Tablet (769px – 1024px): narrower gap ─────────────────────────────── */
@media (max-width: 1024px) {
  .fxet-container {
    gap: 40px;
  }

  .fxet-title {
    font-size: clamp(22px, 3vw, 34px);
  }
}

/* ── Mobile (<= 768px): stack vertically ──────────────────────────────── */
@media (max-width: 768px) {
  .fxet-section {
    padding: 56px 0 64px;
  }

  .fxet-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .fxet-content {
    gap: 20px;
  }

  .fxet-title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .fxet-subtitle {
    font-size: 15px;
    max-width: none;
  }

  .fxet-tags {
    gap: 6px;
  }

  .fxet-tag {
    font-size: 12px;
    padding: 5px 10px;
  }

  .fxet-cta {
    align-self: stretch;
    justify-content: center;
    padding: 16px 24px;
    font-size: 16px;
  }

  .fxet-visual {
    order: -1; /* illustration above text on mobile */
  }

  .fxet-dash {
    max-width: 100%;
  }

  .fxet-orch-flow {
    padding: 16px 16px 4px;
  }

  .fxet-orch-engine-ring {
    width: 52px;
    height: 52px;
  }

  .fxet-orch-engine-icon {
    font-size: 18px;
  }
}

/* ── Small mobile (<= 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
  .fxet-section {
    padding: 48px 0 56px;
  }

  .fxet-container {
    padding: 0 16px;
    gap: 28px;
  }

  .fxet-orch-flow {
    padding: 14px 12px 4px;
  }

  .fxet-orch-step {
    padding: 9px 10px;
    gap: 8px;
  }

  .fxet-orch-label {
    font-size: 11px;
  }

  .fxet-orch-detail {
    font-size: 10px;
  }

  .fxet-orch-chip {
    font-size: 9px;
    padding: 2px 5px;
  }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fxet-cta,
  .fxet-cta:hover,
  .fxet-cta-arrow,
  .fxet-cta:hover .fxet-cta-arrow {
    transition: none;
    transform: none;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * FIXEO Enterprise — Chapter Transition  (fxet-transition-v1a)
 * Namespace: fxet-transition-* exclusively
 * Inserted immediately before #enterprise-teaser.
 * Zero animation. Pure CSS. No JS.
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ── Wrapper ──────────────────────────────────────────────────────────────── */
.fxet-transition {
  background: #0D0E14;          /* same dark surface as teaser */
  text-align: center;
  padding: 0;
  contain: layout style;        /* no CLS */
}

/* ── Separators ─────────────────────────────────────────────────────────── */
.fxet-transition-sep {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(72, 100, 255, 0.25) 30%,
    rgba(72, 100, 255, 0.45) 50%,
    rgba(72, 100, 255, 0.25) 70%,
    transparent 100%
  );
  margin: 0 auto;
  max-width: 960px;
}

.fxet-transition-sep--top  { margin-bottom: 0; }
.fxet-transition-sep--bottom { margin-top: 0; }

/* ── Inner content ──────────────────────────────────────────────────────── */
.fxet-transition-inner {
  padding: 52px 24px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* ── Badge ──────────────────────────────────────────────────────────────── */
.fxet-transition-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(72, 100, 255, 0.35);
  background: rgba(72, 100, 255, 0.10);
  color: rgba(72, 100, 255, 0.90);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1;
}

/* ── Title ──────────────────────────────────────────────────────────────── */
.fxet-transition-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 540px;
}

/* ── Subtitle ───────────────────────────────────────────────────────────── */
.fxet-transition-sub {
  margin: 0;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.55;
  max-width: 480px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .fxet-transition-inner {
    padding: 44px 20px 36px;
    gap: 12px;
  }

  .fxet-transition-title {
    font-size: 1.35rem;
  }

  .fxet-transition-sub {
    font-size: 0.875rem;
  }
}

@media (max-width: 480px) {
  .fxet-transition-inner {
    padding: 36px 16px 28px;
    gap: 10px;
  }
}
