/* -------------------------------------------------------------------------
   Service Page Sections — Story B Dark Mode Overrides
   ------------------------------------------------------------------------- */

.service-problem__card,
.service-inclus__card,
.service-related__service-card {
  background: var(--sb-surface-solid);
}

.service-problem {
  position: relative;
}

.service-problem__header h2 {
  color: var(--sb-text-on-dark-hi);
}

.service-problem__header h2 em {
  background: var(--sb-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: normal;
}

.service-problem__card {
  background: var(--sb-surface-solid);
  border: 1px solid var(--sb-border-dark);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
}

.service-problem__card:hover {
  background: var(--sb-surface-elevated);
  border-color: var(--sb-border-dark-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}


.service-problem__card-title {
  color: var(--sb-text-on-dark-hi);
}

.service-problem__card-desc {
  color: var(--sb-text-on-dark-60);
}

.service-problem__zones {
  color: var(--sb-text-on-dark-50);
}

.service-problem__zones strong {
  color: var(--sb-mint);
}

/* Grille 3 colonnes sur desktop */
@media (min-width: 1024px) {
  .service-problem__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* -------------------------------------------------------------------------
   Service Inclus — cartes glass + icônes mint
   ------------------------------------------------------------------------- */

.service-inclus {
  background: transparent; /* Laisse passer les halos du body */
}

.service-inclus__card {
  background: var(--sb-surface-solid);
  border: 1px solid var(--sb-border-dark);
  transition: transform var(--dur-med) var(--ease-out),
              box-shadow var(--dur-med) var(--ease-out),
              border-color var(--dur-med) var(--ease-out),
              background var(--dur-med) var(--ease-out);
}

.service-inclus__card:hover {
  background: var(--sb-surface-elevated);
  border-color: rgba(0, 255, 170, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 255, 170, 0.1);
}

.service-inclus__card-icon {
  background: rgba(0, 255, 170, 0.14);
  color: var(--sb-mint);
}

.service-inclus__card-icon svg {
  color: var(--sb-mint);
}

.service-inclus__card-title {
  color: var(--sb-text-on-dark-hi);
}

.service-inclus__card-desc {
  color: var(--sb-text-on-dark-72);
}








/* -------------------------------------------------------------------------
   Service Process — timeline sombre + badges glass
   ------------------------------------------------------------------------- */

.service-process {
  background: transparent; /* Laisse passer les halos du body */
}








.service-process__total {
  background: var(--sb-surface-elevated);
  border: 1px solid var(--sb-border-dark-2);
}

.service-process__total-label {
  color: var(--sb-text-on-dark-60);
}

.service-process__total-value {
  background: var(--sb-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animation au scroll — étapes apparaissent progressivement */
.service-process__step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.service-process__step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Délai d'animation échelonné pour chaque étape */
.service-process__step:nth-child(1) { transition-delay: 0s; }
.service-process__step:nth-child(2) { transition-delay: 0.15s; }
.service-process__step:nth-child(3) { transition-delay: 0.3s; }
.service-process__step:nth-child(4) { transition-delay: 0.45s; }
.service-process__step:nth-child(5) { transition-delay: 0.6s; }
.service-process__step:nth-child(6) { transition-delay: 0.75s; }

/* Animation du numéro quand l'étape devient visible */
.service-process__step.is-visible .service-process__step-number {
  animation: stepPulse 0.5s ease-out;
}

@keyframes stepPulse {
  0% { transform: scale(0.8); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Ligne de connexion qui se remplit progressivement */


.service-process__step.is-visible .service-process__step-line::after {
  height: 100%;
}

/* -------------------------------------------------------------------------
   Service Related — maillage interne sombre
   ------------------------------------------------------------------------- */










/* Articles connexes — surcharges post-card */
.service-related .post-card {
  background: var(--sb-surface-solid);
  border: 1px solid var(--sb-border-dark);
}

.service-related .post-card:hover {
  border-color: var(--sb-border-dark-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-related .post-card__thumbnail--placeholder {
  background: var(--sb-surface-solid);
}

.service-related .post-card__placeholder-icon svg {
  color: var(--sb-text-on-dark-40);
}

.service-related .post-card__category {
  color: var(--sb-mint);
}

.service-related .post-card__title {
  color: var(--sb-text-on-dark-hi);
}

.service-related .post-card:hover .post-card__title {
  color: var(--sb-mint);
}

.service-related .post-card__excerpt {
  color: var(--sb-text-on-dark-60);
}

.service-related .post-card__link {
  color: var(--sb-mint);
}

/* Lien cas clients */








/* -------------------------------------------------------------------------
   Hero Service — Layout 2 colonnes
   ------------------------------------------------------------------------- */

.hero--service {
  min-height: auto;
  padding: var(--sp-9) 0 var(--sp-8);
}

.hero--service .hero__col--visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Layout 2 colonnes */
.hero--service .hero__grid {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(var(--sp-8), 8vw, 120px);
  text-align: left;
  max-width: none;
}

.hero--service .hero__col--content {
  flex: 1 1 50%;
  width: 50%;
}

.hero--service .hero__col--visual {
  flex: 1 1 50%;
  width: 50%;
}

/* Alignement à gauche */
.hero--service .hero__inner {
  text-align: left;
}

.hero--service .hero__eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.hero--service .hero__intro {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.hero--service .hero__ctas {
  justify-content: flex-start;
}

/* Zones géographiques */
.hero__zones {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  color: var(--sb-text-on-dark-60);
  font-size: var(--text-small);
}

.hero__zones-icon {
  color: var(--sb-mint);
  flex-shrink: 0;
}

/* Visuel service */
.hero-service__visual {
  position: relative;
  overflow: visible;
}


/* Placeholder (sans image configurée) */
.hero-service__visual--placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--sb-surface) 0%, var(--sb-surface-solid) 100%);
  border: 1px solid var(--sb-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-service__icon {
  color: var(--sb-mint);
  opacity: 0.6;
}

/* Badges animés autour du visuel */


/* Positionnement + délai d'animation décalé */

/* Page consultant-seo : badge stars plus haut */









@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* SVG inline dans les badges */

/* Tailles des badges */








/* Responsive tablet */
@media (max-width: 1023px) {
  .hero--service .hero__grid {
    flex-direction: column;
    text-align: center;
  }

  .hero--service .hero__col--content,
  .hero--service .hero__col--visual {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .hero--service .hero__col--visual {
    order: -1;
    margin-bottom: var(--sp-6);
  }

  .hero--service .hero__inner {
    text-align: center;
  }

  .hero--service .hero__eyebrow,
  .hero--service .hero__intro {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--service .hero__ctas {
    justify-content: center;
  }

  .hero__zones {
    justify-content: center;
  }

  .hero-service__visual {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero--service .hero__logos-inner {
    justify-content: center;
  }

  /* Badges plus petits sur tablette */
  
  
  
  
  }

/* Responsive mobile - badges */
@media (max-width: 767px) {
  .hero-service__visual {
    position: relative;
    width: 300px;
    height: 300px;
  }

  
  
  
  
  
  
  
  
  
  
  }

/* Logos alignés à gauche sur hero service */
.hero--service .hero__logos {
  margin-top: var(--sp-6);
}

.hero--service .hero__logos-inner {
  justify-content: flex-start;
}

/* Responsive mobile - layout hero service */
@media (max-width: 768px) {
  .hero--service {
    padding: 80px 0 var(--sp-6);
  }

  .hero--service .hero__grid {
    flex-direction: column;
  }

  .hero--service .hero__col--content,
  .hero--service .hero__col--visual {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100%;
  }

  .hero--service .hero__col--visual {
    display: flex;
    order: 2;
    margin-top: var(--sp-6);
    justify-content: center;
  }

  .hero--service .hero__col--content {
    order: 1;
  }

  .hero--service .hero-visual__portrait,
  .hero--service .hero-service__visual {
    width: 260px;
    height: 260px;
  }

  .hero--service .hero__inner {
    text-align: center;
  }

  .hero--service .hero__ctas {
    justify-content: center;
  }

  .hero--service .hero__logos-inner {
    justify-content: center;
  }
}

/* Hauteur commune du hero des pages services (ordinateur) : le texte est centré à la même position,
   que le visuel soit une grande image (654 px à 1440) ou une carte plus petite (tarifs, refonte). */
@media (min-width: 1024px) {
  .hero--service .hero__grid { min-height: clamp(560px, 45vw, 654px); align-items: center; }
}

/* Hero v2 des pages service : règles communes dans v2.css (.hero--v2) */

/* ==========================================================================
   DESIGN SYSTEM V2 — SECTIONS DES PAGES SERVICE (2026-10-22)
   Alternance : problème (clair), inclus (noir), réalisations (noir 2), processus (clair),
   tarifs (noir), FAQ (clair, sections/faq.css). Thèmes .sb-light / .sb-dark posés dans les gabarits.
   ========================================================================== */

/* 01 · Problème, fond clair : cartes blanches, numéro en mono */
.sb-light .service-problem__card {
  background: var(--sb-white);
  border: 1px solid var(--sb-ink-20);
  box-shadow: none;
}
.sb-light .service-problem__card:hover { border-color: var(--sb-ink-40); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.sb-light .service-problem__card-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sb-ink-60);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.sb-light .service-problem__card-title { color: var(--sb-ink) !important; }
.sb-light .service-problem__card-desc { color: var(--sb-ink-80) !important; }
.sb-light .service-problem__zones { color: var(--sb-ink-60); }

/* 02 · Inclus, fond noir : cartes #121318, icônes mint */
.sb-dark .service-inclus__card {
  background: var(--sb-surface);
  border: 1px solid var(--sb-border-dark-2);
  box-shadow: none;
}
.sb-dark .service-inclus__card:hover { border-color: var(--sb-border-dark-3); box-shadow: none; }

/* ==========================================================================
   PROCESSUS (pages service), design system v2, 2026-10-22
   Maquette de l'utilisatrice : en-tête 2 colonnes, frise horizontale (pastilles mint reliées
   par un filet, cartes blanches, dernière étape en noir), bandeau noir durée + boutons.
   Sous 1 100 px : frise verticale (pastilles à gauche, cartes à droite).
   ========================================================================== */
.service-process__header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--sp-6) var(--sp-8);
  align-items: end;
  max-width: none;
  margin: 0 0 var(--sp-7);
  text-align: left;
}
.service-process__header .mono-label { margin-bottom: var(--sp-4); }
.service-process__header h2 { margin: 0; }
.service-process__intro { margin: 0; max-width: 46ch; justify-self: end; }

.service-process__steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 4), minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-process__step { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.service-process__marker { display: flex; align-items: center; gap: 12px; }
.service-process__number {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  color: var(--sb-bg-dark);
  background: var(--sb-mint);
}
.service-process__line { flex: 1; height: 0; border-top: 1.5px solid var(--sb-ink); }
.service-process__step--last .service-process__number { color: var(--sb-mint); background: var(--sb-bg-dark); }
.service-process__step--last .service-process__line { display: none; }
.is-ongoing .service-process__step--last .service-process__line { display: block; border-top-style: dashed; border-top-color: var(--sb-ink-60); }
.service-process__loop { flex: none; font-size: 18px; line-height: 1; color: var(--sb-ink); }

.service-process__card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 28px;
  background: var(--sb-white);
  border: 1px solid var(--sb-ink-20);
  border-radius: 18px;
}
.service-process__duration {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--sb-mint);
  background: var(--sb-bg-dark);
}
body .sb-light .service-process__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sb-ink) !important;
}
body .sb-light .service-process__desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sb-ink-80) !important; }
.service-process__step--last .service-process__card { background: var(--sb-bg-dark); border-color: var(--sb-bg-dark); }
.service-process__step--last .service-process__duration { color: var(--sb-bg-dark); background: var(--sb-mint); }
body .sb-light .service-process__step--last .service-process__title { color: var(--sb-text-on-dark-hi) !important; }
body .sb-light .service-process__step--last .service-process__desc { color: var(--sb-text-on-dark-72) !important; }

.service-process__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  margin-top: var(--sp-5);
  padding: 20px 28px;
  border-radius: 18px;
  background: var(--sb-bg-dark);
}
.service-process__total { display: flex; align-items: center; gap: 20px; margin: 0; padding: 0; max-width: none; background: none; border: 0; }
.service-process__total-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sb-text-on-dark-60);
}
.service-process__total-value {
  white-space: nowrap;
  -webkit-text-fill-color: currentColor;
  background: none;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--sb-mint);
}
.service-process__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-left: auto; }
/* Le bandeau est noir : bouton secondaire à contour clair (le thème clair de la section le passait en noir) */
.sb-light .service-process__bar .btn.btn-secondary {
  color: var(--sb-text-on-dark-hi);
  border-color: var(--sb-border-dark-3);
  background: transparent;
}
.sb-light .service-process__bar .btn.btn-secondary:hover { border-color: var(--sb-text-on-dark-hi); }

/* 5 ou 6 étapes : 3 colonnes sur 2 lignes (la frise reste lisible) ; pas de filet après la 3e étape */
@media (min-width: 1100px) {
  .service-process__steps.is-many { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .service-process__steps.is-many .service-process__step:nth-child(3) .service-process__line { visibility: hidden; }
}

/* Sous 1 100 px : frise verticale */
@media (max-width: 1099px) {
  .service-process__header { grid-template-columns: 1fr; }
  .service-process__intro { justify-self: start; }
  .service-process__steps { grid-template-columns: 1fr; gap: 0; }
  .service-process__step { flex-direction: row; gap: 16px; }
  .service-process__marker { flex-direction: column; gap: 0; width: 48px; flex: none; }
  .service-process__line { flex: 1; width: 0; height: auto; min-height: 16px; border-top: 0; border-left: 1.5px solid var(--sb-ink); }
  .is-ongoing .service-process__step--last .service-process__line { border-left-style: dashed; border-left-color: var(--sb-ink-60); min-height: 24px; flex: none; }
  .service-process__loop { margin-top: 4px; }
  .service-process__card { margin-bottom: 16px; padding: 22px; }
  .service-process__bar { flex-direction: column; align-items: flex-start; }
  .service-process__total { flex-direction: column; align-items: flex-start; gap: 8px; }
  .service-process__ctas { margin-left: 0; width: 100%; }
}
@media (max-width: 767px) {
  .service-process__ctas .btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   TARIFS (pages service), design system v2, 2026-10-22 (version allégée)
   En-tête 2 colonnes ; carte « La base » bordée de mint à gauche ; liste compacte
   des facteurs + lien vers le simulateur de rentabilité (/tarifs/#rentabilite) à droite.
   ========================================================================== */
.service-pricing__header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--sp-6) var(--sp-8);
  align-items: end;
  max-width: none;
  margin: 0 0 var(--sp-7);
  text-align: left;
}
.service-pricing__header .mono-label { margin-bottom: var(--sp-4); }
.service-pricing__header h2 { margin: 0; }
.service-pricing__intro { margin: 0; max-width: 46ch; justify-self: end; }

.service-pricing__kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sb-text-on-dark-60);
}

.service-pricing__layout {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(0, 1.5fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

/* --- La base ------------------------------------------------------------- */
.service-pricing__base {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--sb-surface);
  border: 1.5px solid var(--sb-mint);
  border-radius: 20px;
}
.service-pricing__base-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.service-pricing__from { font-family: var(--font-mono); font-size: 13px; color: var(--sb-text-on-dark-72); }
.service-pricing__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 6px 0 12px; }
.service-pricing__amount {
  font-size: clamp(48px, 4.6vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--sb-mint);
  white-space: nowrap;
}
.service-pricing__unit { font-size: 18px; font-weight: 700; color: var(--sb-text-on-dark-72); }
.service-pricing__to { margin: 0 0 12px; font-size: 14px; color: var(--sb-text-on-dark-60); }
.service-pricing__installment { margin: 0; font-size: 14px; color: var(--sb-text-on-dark-72); }
.service-pricing__installment strong { color: var(--sb-text-on-dark-hi); }
.service-pricing__included { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--sb-border-dark-2); }
.service-pricing__included ul { margin: 12px 0 0; padding: 0; list-style: none; }
.service-pricing__included li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--sb-text-on-dark);
}
.service-pricing__included li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; color: var(--sb-mint); }
.service-pricing__cta { margin-top: 28px; width: 100%; justify-content: center; }
.service-pricing__mentions {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--sb-text-on-dark-60);
}

/* --- Ce qui fait évoluer le tarif : liste compacte -------------------------- */
/* (les règles « Factors pricing » du thème parent sont remises à zéro ici) */
.service-pricing .service-pricing__factors { min-width: 0; max-width: none; margin: 0; }
.service-pricing .service-pricing__factors-title { margin: 0 0 4px; font-size: 11px; font-weight: 500; text-align: left; }
.service-pricing__factors-list { margin: 0; padding: 0; list-style: none; }
.service-pricing .service-pricing__factor {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--sb-border-dark-2);
  background: none;
}
.service-pricing__factor-num { font-family: var(--font-mono); font-size: 13px; color: var(--sb-mint); }
body .service-pricing__factor-title {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sb-text-on-dark-hi);
}
.service-pricing__factor-desc { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--sb-text-on-dark-60); }
.service-pricing .sb-chip:not(.sb-chip--mint) {
  background: transparent;
  color: var(--sb-text-on-dark);
  border-color: var(--sb-border-dark-3);
  white-space: nowrap;
}

/* Lien vers le simulateur de rentabilité */
.service-pricing__roi-link {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid var(--sb-border-dark-2);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.service-pricing__roi-link .service-pricing__kicker { color: var(--sb-mint); }
.service-pricing__roi-text { font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--sb-text-on-dark-hi); }
.service-pricing__roi-link:hover { border-color: var(--sb-mint); }

@media (max-width: 899px) {
  .service-pricing__header,
  .service-pricing__layout { grid-template-columns: 1fr; }
  .service-pricing__intro { justify-self: start; }
  .service-pricing__base { padding: 22px; }
  .service-pricing .service-pricing__factor { grid-template-columns: 30px minmax(0, 1fr); }
  .service-pricing .service-pricing__factor .sb-chip { grid-column: 2; justify-self: start; margin-top: 6px; }
}

/* ==========================================================================
   SIMULATEUR DE RENTABILITÉ (page /tarifs/, sections/roi-simulateur.php), 2026-10-22
   Carte en 2 parties : curseurs à gauche, résultat à droite (chiffre mint, une ligne de détail).
   ========================================================================== */
/* Séparation d'avec le simulateur de prix : filet centré à 70 % (.sb-sep, v2.css) */
.roi-section__header { max-width: none; margin: 0 0 var(--sp-6); text-align: center; }
.roi-section__header .mono-label { justify-content: center; }
.roi-section__header .mono-label { margin-bottom: var(--sp-4); }
.roi-section__header h2 { margin: 0; }

.roi {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  border: 1px solid var(--sb-border-dark-2);
  border-radius: 20px;
  overflow: hidden;
  background: var(--sb-surface);
}
.roi__form { padding: 32px; }
.roi__chip { font-size: 11px; background: transparent; color: var(--sb-text-on-dark); border-color: var(--sb-border-dark-3); }
.roi__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 24px; }
.roi__field { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: start; }
.roi__label { font-size: 15px; font-weight: 700; color: var(--sb-text-on-dark-hi); }
.roi__value { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--sb-mint); white-space: nowrap; }
.roi__help { grid-column: 1 / -1; font-size: 13px; line-height: 1.4; color: var(--sb-text-on-dark-60); }
.roi__range {
  grid-column: 1 / -1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  margin: 6px 0;
  border-radius: 3px;
  background: linear-gradient(to right, var(--sb-mint) var(--p, 0%), var(--sb-border-dark-3) var(--p, 0%));
  cursor: pointer;
}
.roi__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sb-mint);
  border: 3px solid var(--sb-surface);
  box-shadow: 0 0 0 1px var(--sb-mint);
}
.roi__range::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--sb-mint); border: 3px solid var(--sb-surface); }
.roi__range:focus-visible { outline: 2px solid var(--sb-mint); outline-offset: 4px; }

.roi__result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  background: var(--sb-surface-raised);
  border-left: 1px solid var(--sb-border-dark-2);
}
.roi__result-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sb-text-on-dark-60); }
.roi__headline { margin: 0; font-size: clamp(44px, 4.4vw, 64px); font-weight: 800; line-height: 1; letter-spacing: -0.03em; white-space: nowrap; color: var(--sb-mint); }
.roi__line { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sb-text-on-dark-72); }
.roi__line b { color: var(--sb-text-on-dark-hi); font-weight: 700; }
.roi__note { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--sb-border-dark-2); font-size: 12px; line-height: 1.5; color: var(--sb-text-on-dark-60); }

@media (max-width: 899px) {
  .roi { grid-template-columns: 1fr; }
  .roi__fields { grid-template-columns: 1fr; }
  .roi__form, .roi__result { padding: 22px; }
  .roi__result { border-left: 0; border-top: 1px solid var(--sb-border-dark-2); }
}
