/* Page Formations — direction éditoriale + illustrations 3D */

.fmt-page {
  --fmt-bg: #070b12;
  --fmt-surface: #0d1420;
  --fmt-surface-2: #111b2a;
  --fmt-line: rgba(128, 180, 255, 0.16);
  --fmt-line-strong: rgba(77, 195, 255, 0.42);
  --fmt-accent: #2aa8ff;
  --fmt-accent-2: #62d8ff;
  --fmt-highlight: #4dc3ff;
  --fmt-text: #f3f7ff;
  --fmt-muted: #95a8c7;
  position: relative;
  overflow: hidden;
  padding-bottom: 72px;
  background:
    radial-gradient(circle at 8% 15%, rgba(29, 121, 204, 0.1), transparent 25%),
    radial-gradient(circle at 92% 48%, rgba(77, 195, 255, 0.07), transparent 22%);
}

.fmt-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(77, 195, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 195, 255, 0.12) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, #000, transparent 48%);
}

.fmt-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.fmt-page .btn:hover {
  transform: translateY(-2px);
}

.fmt-page .btn.primary,
.fmt-page .btn-cta-primary {
  color: #fff;
  border-color: rgba(98, 216, 255, 0.65);
  background: linear-gradient(135deg, #1896ee 0%, #1455b7 100%);
  box-shadow: 0 12px 28px rgba(18, 117, 219, 0.25), inset 0 1px rgba(255, 255, 255, 0.18);
}

.fmt-page .btn.primary:hover,
.fmt-page .btn-cta-primary:hover {
  color: #fff;
  border-color: #83e5ff;
  background: linear-gradient(135deg, #2aafff 0%, #1b68cf 100%);
  box-shadow: 0 16px 36px rgba(18, 117, 219, 0.34);
}

.fmt-page .btn-secondary {
  color: #dce9ff;
  border-color: rgba(123, 175, 244, 0.25);
  background: rgba(15, 25, 41, 0.82);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.fmt-page .btn-secondary:hover {
  color: #fff;
  border-color: rgba(98, 216, 255, 0.55);
  background: rgba(22, 39, 63, 0.96);
}

/* Hero */
.fmt-hero {
  position: relative;
  z-index: 1;
  padding: 122px 0 38px;
  border: 0;
}

.fmt-hero-panel {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 4.5vw, 62px);
  overflow: hidden;
  border: 1px solid rgba(94, 190, 255, 0.24);
  border-radius: 32px;
  background:
    radial-gradient(circle at 72% 45%, rgba(41, 150, 238, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(10, 16, 27, 0.98), rgba(7, 12, 20, 0.95));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5), inset 0 1px rgba(255, 255, 255, 0.04);
}

.fmt-hero-panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -210px;
  right: -130px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(75, 194, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(75, 194, 255, 0.025), 0 0 0 130px rgba(75, 194, 255, 0.018);
}

.fmt-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.fmt-hero-copy {
  position: relative;
  z-index: 2;
}

.fmt-hero-eyebrow,
.fmt-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--fmt-accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.fmt-hero-eyebrow > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fmt-highlight);
  box-shadow: 0 0 14px var(--fmt-highlight);
}

.fmt-hero-copy h1 {
  max-width: 650px;
  margin: 0 0 20px;
  color: var(--fmt-text);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.fmt-hero-copy h1 .accent {
  color: transparent;
  background: linear-gradient(95deg, #2aa8ff, #7adfff);
  background-clip: text;
  -webkit-background-clip: text;
}

.fmt-hero-lead {
  max-width: 620px;
  margin: 0 0 26px;
  color: #a9bad5;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.7;
}

.fmt-hero-lead strong { color: #fff; }

.fmt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.fmt-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(117, 174, 248, 0.14);
  border-radius: 15px;
  background: rgba(117, 174, 248, 0.14);
}

.fmt-hero-proof > div {
  min-width: 0;
  padding: 14px 13px;
  background: rgba(7, 13, 23, 0.85);
}

.fmt-hero-proof strong,
.fmt-hero-proof span { display: block; }

.fmt-hero-proof strong {
  margin-bottom: 2px;
  color: #fff;
  font-size: 19px;
}

.fmt-hero-proof span {
  color: #8095b6;
  font-size: 10px;
  line-height: 1.35;
}

.fmt-hero-art {
  position: relative;
  width: min(100%, 510px);
  margin-left: auto;
}

.fmt-hero-visual .fx-img {
  border: 0;
  border-radius: 25px;
  background: transparent;
  box-shadow: none;
}

.fmt-hero-visual .fx-img::before,
.fmt-hero-visual .fx-img::after,
.fmt-hero-visual .fx-particles,
.fmt-hero-visual .fx-corner { display: none; }

.fmt-hero-visual .fx-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 68% center;
  border: 0;
  border-radius: 24px;
  filter: saturate(1.04) contrast(1.03) drop-shadow(0 28px 34px rgba(0, 0, 0, 0.42));
}

.fmt-float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(121, 217, 255, 0.32);
  border-radius: 11px;
  color: #dcecff;
  background: rgba(8, 18, 31, 0.84);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 11px;
  font-weight: 750;
}

.fmt-float-card--top { top: 12%; right: -6%; }
.fmt-float-card--bottom { left: -8%; bottom: 12%; }
.fmt-float-card--bottom strong { color: var(--fmt-highlight); font-size: 17px; }
.fmt-float-card--bottom span { color: #8fa5c3; }
.fmt-float-card .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--fmt-highlight);
  box-shadow: 0 0 10px var(--fmt-highlight);
}

/* Promesse */
.fmt-promise {
  position: relative;
  z-index: 1;
  padding: 26px 0 42px;
  border: 0;
}

.fmt-promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.fmt-promise-grid > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 13px;
  padding: 18px;
  border: 1px solid var(--fmt-line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(17, 27, 43, 0.82), rgba(9, 15, 25, 0.78));
}

.fmt-promise-grid span {
  grid-row: 1 / 3;
  color: var(--fmt-accent-2);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.fmt-promise-grid strong { color: #eef5ff; font-size: 14px; }
.fmt-promise-grid small { color: #7f92af; font-size: 11px; line-height: 1.45; }

/* Navigation des contenus */
.fmt-tabs-wrap {
  position: sticky;
  z-index: 100;
  top: 68px;
  padding: 11px 0;
  border-top: 1px solid rgba(78, 153, 235, 0.12);
  border-bottom: 1px solid rgba(78, 153, 235, 0.16);
  background: rgba(7, 11, 18, 0.83);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.fmt-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.fmt-tab {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #8295b2;
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.fmt-tab:hover {
  color: #eaf4ff;
  background: rgba(50, 123, 200, 0.09);
}

.fmt-tab.is-active {
  color: #fff;
  border-color: rgba(76, 192, 255, 0.42);
  background: linear-gradient(135deg, rgba(31, 137, 224, 0.24), rgba(18, 40, 68, 0.82));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 8px 24px rgba(10, 89, 161, 0.16);
}

.fmt-tab small {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: #7186a7;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.fmt-tab.is-active small { color: #9fc7ea; }

/* Panneaux */
.fmt-panels {
  position: relative;
  z-index: 1;
  padding-top: 66px;
  padding-bottom: 28px;
}

.fmt-page .fmt-panel {
  display: none;
  padding: 0;
  border: 0;
  animation: fmtFade 0.35s ease;
}

.fmt-page .fmt-panel.is-active { display: block; }

@keyframes fmtFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.fmt-section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.fmt-section-head .fmt-section-kicker { margin-bottom: 10px; }

.fmt-section-head h2 {
  margin: 0 0 12px;
  color: var(--fmt-text);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.fmt-section-head p {
  max-width: 650px;
  margin: 0 auto;
  color: var(--fmt-muted);
  font-size: 16px;
  line-height: 1.65;
}

/* Cartes tarifs */
.fmt-pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.fmt-price-card {
  grid-column: span 4;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--fmt-line);
  border-radius: 22px;
  background: linear-gradient(165deg, rgba(17, 27, 43, 0.96), rgba(8, 14, 23, 0.98));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.035);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  flex-direction: column;
}

.fmt-price-card:nth-child(4),
.fmt-price-card:nth-child(5) { grid-column: span 6; }

.fmt-price-card:hover {
  transform: translateY(-6px);
  border-color: var(--fmt-line-strong);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34), 0 0 35px rgba(32, 143, 225, 0.08);
}

.fmt-price-card.is-featured {
  border-color: rgba(91, 222, 193, 0.46);
  box-shadow: 0 20px 55px rgba(34, 178, 159, 0.09), inset 0 1px rgba(255, 255, 255, 0.04);
}

.fmt-level-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: #07101e;
}

.fmt-level-visual::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(to bottom, transparent, rgba(8, 14, 23, 0.93));
  pointer-events: none;
}

.fmt-level-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.3s ease;
}

/* Visuels pédagogiques des panneaux */
.fmt-panel-story {
  position: relative;
  min-height: 270px;
  margin: -6px 0 28px;
  overflow: hidden;
  border: 1px solid rgba(74, 190, 255, 0.28);
  border-radius: 22px;
  background: #07101e;
  box-shadow: 0 20px 48px rgba(0,0,0,.32);
}
.fmt-panel-story img { display:block; width:100%; height:clamp(270px,30vw,390px); object-fit:cover; object-position:center; filter:saturate(1.03) contrast(1.04); }
.fmt-panel-story::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(5,11,20,.88),rgba(5,11,20,.18) 65%),linear-gradient(0deg,rgba(5,11,20,.62),transparent 55%); pointer-events:none; }
.fmt-panel-story figcaption { position:absolute; z-index:2; left:clamp(22px,4vw,48px); bottom:clamp(22px,4vw,42px); display:grid; gap:7px; max-width:520px; color:#fff; }
.fmt-panel-story figcaption span { color:#62d8ff; font-size:11px; font-weight:900; letter-spacing:.15em; text-transform:uppercase; }
.fmt-panel-story figcaption strong { font-size:clamp(20px,2.6vw,34px); line-height:1.15; text-shadow:0 4px 20px rgba(0,0,0,.9); }
.fmt-panel-story--workflow img { object-position:center 54%; }

.fmt-price-card:hover .fmt-level-visual img {
  transform: scale(1.035);
  filter: saturate(1.08) brightness(1.04);
}

.fmt-price-badge,
.fmt-popular {
  position: absolute;
  z-index: 2;
  top: 14px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.fmt-price-badge {
  left: 14px;
  color: #dff6ff;
  border: 1px solid rgba(109, 211, 255, 0.36);
  background: rgba(6, 18, 32, 0.74);
}

.fmt-popular {
  right: 14px;
  color: #072c27;
  background: var(--fmt-highlight);
  box-shadow: 0 8px 25px rgba(73, 225, 193, 0.24);
}

.fmt-price-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 23px;
}

.fmt-price-card h3 {
  margin: 0 0 3px;
  color: #fff;
  font-size: clamp(19px, 2vw, 25px);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.fmt-price-title-link { color: inherit; text-decoration: none; }
.fmt-price-title-link:hover { color: var(--fmt-accent-2); }

.fmt-price-tagline {
  min-height: 40px;
  margin: 0 0 17px;
  color: #8599b8;
  font-size: 13px;
}

.fmt-price-line {
  padding: 15px 0 14px;
  border-top: 1px solid rgba(118, 172, 238, 0.11);
  border-bottom: 1px solid rgba(118, 172, 238, 0.11);
}

.fmt-price-amount {
  margin: 0 0 3px;
  color: #fff;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.fmt-price-note { margin: 0; color: #657b9c; font-size: 10px; }

.fmt-price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.fmt-price-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(101, 165, 240, 0.13);
  border-radius: 7px;
  color: #9eb2d0;
  background: rgba(54, 115, 184, 0.07);
  font-size: 10px;
}

.fmt-price-meta .is-gain {
  color: #87ebd2;
  border-color: rgba(77, 195, 255, 0.24);
  background: rgba(42, 168, 255, 0.08);
}

.fmt-price-desc {
  min-height: 66px;
  margin: 0 0 14px;
  color: #9aabc5;
  font-size: 13px;
  line-height: 1.65;
}

.fmt-price-includes {
  margin: 0 0 20px;
  padding: 0;
  color: #a1b1ca;
  font-size: 12px;
  list-style: none;
}

.fmt-price-includes li {
  position: relative;
  padding: 5px 0 5px 21px;
}

.fmt-price-includes li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 6px;
  height: 3px;
  border-bottom: 2px solid var(--fmt-highlight);
  border-left: 2px solid var(--fmt-highlight);
  transform: rotate(-45deg);
}

.fmt-price-actions {
  display: flex;
  align-items: stretch;
  gap: 9px;
  margin-top: auto;
  flex-direction: column;
}

.fmt-price-actions .btn { width: 100%; }

.fmt-text-link {
  padding: 7px 4px 2px;
  color: #7fbde9;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.fmt-text-link:hover { color: #fff; }

/* Cas d'usage */
.fmt-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.fmt-filter-btn {
  padding: 9px 15px;
  border: 1px solid rgba(104, 160, 226, 0.17);
  border-radius: 999px;
  color: #879bb9;
  background: rgba(12, 20, 33, 0.75);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fmt-filter-btn.is-active,
.fmt-filter-btn:hover {
  color: #fff;
  border-color: rgba(76, 195, 255, 0.48);
  background: rgba(37, 132, 211, 0.16);
}

.fmt-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.fmt-case-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--fmt-line);
  border-radius: 17px;
  background: linear-gradient(150deg, rgba(16, 26, 42, 0.92), rgba(8, 14, 23, 0.9));
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}

.fmt-case-card::before {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(50, 166, 244, 0.08);
  filter: blur(2px);
}

.fmt-case-card.is-hidden { display: none; }

.fmt-case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(76, 195, 255, 0.4);
  background: linear-gradient(150deg, rgba(20, 35, 57, 0.96), rgba(9, 16, 27, 0.95));
}

.fmt-case-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.fmt-case-card .fx-form-icon,
.fmt-journey-step .fx-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(79, 193, 255, 0.23);
  border-radius: 12px;
  color: var(--fmt-accent-2);
  background: rgba(38, 137, 216, 0.11);
}

.fmt-case-card .fx-form-icon svg,
.fmt-journey-step .fx-form-icon svg { width: 20px; height: 20px; }

.fmt-case-level {
  padding: 4px 8px;
  border: 1px solid rgba(77, 195, 255, 0.19);
  border-radius: 7px;
  color: var(--fmt-accent-2);
  background: rgba(42, 168, 255, 0.08);
  font-size: 9px;
  font-weight: 850;
}

.fmt-case-card h3 { margin: 0 0 8px; color: #f5f8ff; font-size: 16px; }
.fmt-case-card p { min-height: 62px; margin: 0 0 15px; color: #8498b8; font-size: 12px; line-height: 1.65; }

.fmt-case-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(115, 168, 231, 0.1);
}

.fmt-case-gain { color: var(--fmt-highlight); font-size: 10px; font-weight: 800; }
.fmt-case-link { color: #71bdea; font-size: 11px; font-weight: 750; text-decoration: none; }
.fmt-case-link:hover { color: #fff; }

/* Parcours */
.fmt-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.fmt-journey::before {
  content: "";
  position: absolute;
  top: 42px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(75, 195, 255, 0.45), transparent);
}

.fmt-journey-step {
  position: relative;
  padding: 18px 15px 20px;
  border: 1px solid var(--fmt-line);
  border-radius: 17px;
  background: rgba(10, 17, 28, 0.94);
  text-align: left;
}

.fmt-journey-step .fx-form-icon { position: relative; z-index: 1; margin-bottom: 18px; background: #10253c; }
.fmt-journey-step .step-num { display: block; margin-bottom: 5px; color: var(--fmt-accent-2); font-size: 9px; font-weight: 850; letter-spacing: 0.12em; }
.fmt-journey-when { display: block; margin-bottom: 9px; color: #647997; font-size: 9px; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.fmt-journey-step h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.fmt-journey-step p { margin: 0; color: #8396b4; font-size: 11px; line-height: 1.55; }

/* ROI */
.fmt-roi-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  max-width: 940px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--fmt-line);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(16, 27, 44, 0.96), rgba(8, 14, 23, 0.97));
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.3);
}

.fmt-roi-story {
  position: relative;
  min-height: 430px;
  overflow: hidden;
}

.fmt-roi-story::after {
  content: "";
  position: absolute;
  inset: 35% 0 0;
  background: linear-gradient(to bottom, transparent, #0b1421 74%);
}

.fmt-roi-story img { width: 100%; height: 100%; object-fit: cover; }

.fmt-roi-story-copy {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.fmt-roi-story-copy .fmt-section-kicker { margin-bottom: 7px; }
.fmt-roi-story-copy h3 { margin: 0 0 10px; color: #fff; font-size: 25px; letter-spacing: -0.035em; line-height: 1.1; }
.fmt-roi-story-copy p { margin: 0; color: #90a3bf; font-size: 12px; line-height: 1.6; }

.fmt-roi-box {
  display: flex;
  justify-content: center;
  padding: 40px;
  border-left: 1px solid var(--fmt-line);
  flex-direction: column;
}

.fmt-roi-field { display: block; margin-bottom: 27px; }

.fmt-roi-field > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
  color: #b8c8df;
  font-size: 13px;
}

.fmt-roi-field output {
  min-width: 62px;
  padding: 5px 8px;
  border: 1px solid rgba(89, 204, 255, 0.24);
  border-radius: 7px;
  color: #fff;
  background: rgba(33, 136, 212, 0.12);
  font-weight: 800;
  text-align: center;
}

.fmt-roi-field input[type="range"] { width: 100%; accent-color: var(--fmt-accent); }

.fmt-roi-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 4px;
}

.fmt-roi-result {
  padding: 17px 12px;
  border: 1px solid rgba(89, 204, 255, 0.14);
  border-radius: 13px;
  background: rgba(41, 137, 210, 0.08);
  text-align: center;
}

.fmt-roi-result .label { display: block; margin-bottom: 5px; color: #7f94b2; font-size: 10px; }
.fmt-roi-result .value { color: var(--fmt-highlight); font-size: clamp(18px, 2vw, 24px); font-weight: 850; }
.fmt-roi-result .value.is-blue { color: var(--fmt-accent-2); }

/* FAQ */
.fmt-faq { display: grid; max-width: 820px; margin: 0 auto; gap: 9px; }

.fmt-faq-item {
  overflow: hidden;
  border: 1px solid var(--fmt-line);
  border-radius: 15px;
  background: rgba(11, 18, 30, 0.88);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.fmt-faq-item.is-open { border-color: rgba(76, 195, 255, 0.37); background: rgba(15, 27, 44, 0.96); }

.fmt-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 17px 19px;
  border: 0;
  color: #edf4ff;
  background: transparent;
  font-size: 14px;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.fmt-faq-a { display: none; padding: 0 19px 18px; color: #8da1bf; font-size: 13px; line-height: 1.65; }
.fmt-faq-a p { margin: 0; }
.fmt-faq-item.is-open .fmt-faq-a { display: block; }
.fmt-faq-icon { color: var(--fmt-accent-2); font-size: 20px; transition: transform 0.2s ease; }
.fmt-faq-item.is-open .fmt-faq-icon { transform: rotate(45deg); }

/* CTA */
.fmt-contact-cta {
  margin-top: 42px;
  padding: 32px 28px;
  border: 1px solid rgba(84, 188, 247, 0.25);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 0%, rgba(39, 141, 221, 0.16), transparent 55%),
    linear-gradient(135deg, rgba(15, 29, 49, 0.94), rgba(8, 14, 23, 0.96));
  text-align: center;
}

.fmt-contact-cta h2 { margin: 0 0 10px; color: #fff; font-size: clamp(23px, 3vw, 34px); letter-spacing: -0.035em; line-height: 1.12; }
.fmt-contact-cta p { max-width: 570px; margin: 0 auto 20px; color: #91a4c1; font-size: 14px; line-height: 1.6; }
.fmt-contact-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.fmt-page > section.wrap { position: relative; z-index: 1; padding-top: 24px !important; padding-bottom: 20px; border: 0; }

.fmt-contact-cta--final {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: 390px;
  padding: 0;
  overflow: hidden;
  text-align: left;
}

.fmt-final-copy { padding: clamp(28px, 5vw, 56px); }
.fmt-final-copy .fmt-section-kicker { margin-bottom: 10px; }
.fmt-contact-cta--final h2 { font-size: clamp(30px, 4vw, 48px); }
.fmt-contact-cta--final p { margin-right: 0; margin-left: 0; }
.fmt-contact-cta--final .fmt-contact-cta-actions { justify-content: flex-start; }
.fmt-contact-cta--final > img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; mask-image: linear-gradient(90deg, transparent 0%, #000 24%); }

@media (max-width: 1020px) {
  .fmt-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr); gap: 30px; }
  .fmt-hero-copy h1 { font-size: clamp(39px, 5.8vw, 58px); }
  .fmt-price-card { grid-column: span 6; }
  .fmt-price-card:nth-child(5) { grid-column: 4 / span 6; }
  .fmt-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .fmt-journey { grid-template-columns: repeat(3, 1fr); }
  .fmt-journey::before { display: none; }
}

@media (max-width: 800px) {
  .fmt-hero { padding-top: 98px; }
  .fmt-hero-grid { grid-template-columns: 1fr; }
  .fmt-hero-copy { text-align: center; }
  .fmt-hero-copy h1, .fmt-hero-lead { margin-right: auto; margin-left: auto; }
  .fmt-hero-eyebrow, .fmt-hero-cta { justify-content: center; }
  .fmt-hero-visual { grid-row: 1; width: min(78%, 450px); margin: 0 auto; }
  .fmt-hero-art { margin: 0 auto; }
  .fmt-promise-grid { grid-template-columns: 1fr; }
  .fmt-tabs-wrap { top: 57px; }
  .fmt-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .fmt-tabs::-webkit-scrollbar { display: none; }
  .fmt-tab { flex: 0 0 145px; }
  .fmt-roi-layout { grid-template-columns: 1fr; }
  .fmt-roi-story { min-height: 330px; }
  .fmt-roi-box { border-top: 1px solid var(--fmt-line); border-left: 0; }
  .fmt-contact-cta--final { grid-template-columns: 1fr; }
  .fmt-contact-cta--final > img { min-height: 280px; mask-image: linear-gradient(180deg, transparent 0%, #000 22%); grid-row: 1; }
  .fmt-final-copy { text-align: center; }
  .fmt-contact-cta--final p { margin-right: auto; margin-left: auto; }
  .fmt-contact-cta--final .fmt-contact-cta-actions { justify-content: center; }
}

@media (max-width: 620px) {
  .fmt-page { padding-bottom: 34px; }
  .fmt-hero { padding: 86px 0 22px; }
  .fmt-hero-panel { border-radius: 22px; }
  .fmt-hero-visual { width: min(96%, 420px); }
  .fmt-float-card--top { right: -2%; }
  .fmt-float-card--bottom { left: -2%; }
  .fmt-hero-proof { grid-template-columns: 1fr; }
  .fmt-hero-proof > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 8px; text-align: left; }
  .fmt-hero-proof strong { margin: 0; }
  .fmt-panels { padding-top: 44px; }
  .fmt-section-head { margin-bottom: 25px; }
  .fmt-pricing-grid { grid-template-columns: 1fr; }
  .fmt-price-card,
  .fmt-price-card:nth-child(4),
  .fmt-price-card:nth-child(5) { grid-column: auto; }
  .fmt-price-desc { min-height: 0; }
  .fmt-cases-grid { grid-template-columns: 1fr; }
  .fmt-case-card p { min-height: 0; }
  .fmt-journey { grid-template-columns: 1fr; }
  .fmt-journey-step { text-align: center; }
  .fmt-roi-box { padding: 25px 20px; }
  .fmt-roi-results { grid-template-columns: 1fr; }
  .fmt-contact-cta { padding: 26px 18px; }
  .fmt-contact-cta--final { padding: 0; }
  .fmt-contact-cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .fmt-page *, .fmt-page *::before, .fmt-page *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
