/* Surfaces client OHB — cohérence premium avec la landing (sans la charger en entier) */

body.ohb-portal {
  min-height: 100vh;
  overflow-x: clip;
}

body.ohb-portal .pricing-wrap {
  position: relative;
  z-index: 1;
}

body.ohb-portal .pricing-topbar {
  padding-bottom: 6px;
  border-bottom: 1px solid color-mix(in srgb, var(--b) 12%, transparent);
  margin-bottom: 16px;
}

/* Marque SVG (remplace emoji) — couleur héritée du texte du header */
.brand-mini .ring.ohb-brand-mark-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--b);
  line-height: 0;
}

.brand-mini .ring.ohb-brand-mark-svg svg {
  display: block;
}

/* Page tarifs : même rythme que le portail */
body.ohb-pricing-portal .pricing-wrap {
  position: relative;
  z-index: 1;
}

body.ohb-pricing-portal .hero-pricing {
  padding-top: 8px;
}

body.ohb-pricing-portal .hero-pricing h1 {
  margin-bottom: 10px;
}

body.ohb-pricing-portal .hero-pricing .sub {
  margin-bottom: 12px;
}

.ohb-portal-hub-lead {
  font-size: 13px;
  color: var(--text2);
  margin: 0 0 12px;
  line-height: 1.6;
  max-width: 40rem;
}

.ohb-hub-section-title--tight {
  margin-top: 4px !important;
}

.ohb-trust-note {
  margin-top: 14px;
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text-support);
}

.ohb-billing-mode-line {
  font-size: 10px;
  color: var(--b);
  margin: 0 0 6px;
}

.ohb-billing-meta-line {
  font-size: 12px;
  color: var(--text-support);
  margin: 0 0 12px;
  line-height: 1.55;
}

/*
 * Raccourcis .tb-links : défilement si besoin.
 * La barre .ohb-site-header--portal réinitialise overflow (voir ohb-site-header.css) pour éviter scroll / masques en conflit avec [data-ohb-auth-nav].
 */
body.ohb-portal .tb-links {
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

body.ohb-portal .ohb-cn-link {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}

body.ohb-portal .ohb-cn-chip {
  flex-shrink: 0;
}

.ohb-portal-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--b);
  margin: 0 0 8px;
  text-transform: uppercase;
}

.ohb-portal-lead {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text2);
  margin: 0 0 18px;
  max-width: 42rem;
}

.ohb-portal-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: var(--r-lg);
  border: 1px solid color-mix(in srgb, var(--g) 12%, transparent);
  background: linear-gradient(135deg, rgba(2, 12, 26, 0.85), rgba(3, 20, 40, 0.65));
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-support);
  line-height: 1.55;
}

.ohb-portal-trust-strip span {
  color: var(--text2);
}

.ohb-hub-card-v2 {
  border-radius: var(--ohb-suite-radius-lg, 16px);
  padding: 18px 18px 16px;
  border: 1px solid color-mix(in srgb, var(--b) 14%, transparent);
  background: linear-gradient(165deg, rgba(2, 12, 26, 0.92), rgba(3, 18, 38, 0.75));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ohb-hub-card-v2:hover {
  border-color: color-mix(in srgb, var(--b) 38%, transparent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 36px color-mix(in srgb, var(--b) 8%, transparent);
  transform: translateY(-2px);
}

.ohb-hub-card-v2 .ohb-hub-card-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.ohb-hub-card-v2 .ohb-hub-ic {
  width: 36px;
  height: 36px;
  border-radius: var(--ohb-suite-radius, 12px);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--b);
  background: color-mix(in srgb, var(--b) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--b) 28%, transparent);
  flex-shrink: 0;
}

.ohb-hub-card-v2 .ohb-hub-ic svg {
  width: 18px;
  height: 18px;
  display: block;
  opacity: 0.92;
}

.ohb-hub-card-v2 h2 {
  font-family: var(--f-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--b);
  margin: 0;
  line-height: 1.35;
}

.ohb-hub-card-v2 p {
  margin: 0;
  font-size: 12px;
  color: var(--text2);
  line-height: 1.55;
}

.ohb-hub-card-v2 .go {
  margin-top: 12px;
  font-size: 11px;
  font-family: var(--f-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--g);
}

.ohb-billing-intro {
  font-size: 12px;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 14px;
  max-width: 40rem;
}
