/* ==========================================================================
   BBH HOME + MEGA MENU — Integration Layer v0.1
   Preserva a Seção 1 e governa somente composição, breakpoints e skeleton.
   ========================================================================== */

:root {
  --bbh-home-section-max: 1280px;
  --bbh-home-gutter: clamp(20px, 4vw, 56px);
  --bbh-home-border: rgb(255 255 255 / 10%);
  --bbh-home-surface: #0d0f1a;
  --bbh-home-surface-alt: #090b14;
}

/* Header e Mega Menu são componentes independentes; o Mega Menu abre abaixo do Header. */
.bbh-desktop-header { display: none; }

/* Mobile drawer — overlay real, sem reflow da HOME.
   Painel translúcido para preservar a leitura da mídia abaixo. */
.bbh-mega-menu-mobile {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  opacity: 0;
  visibility: hidden;
  transform: none;
  background: rgb(0 0 0 / 34%);
  -webkit-backdrop-filter: blur(2px) brightness(.82);
  backdrop-filter: blur(2px) brightness(.82);
  overscroll-behavior: contain;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.bbh-mega-menu-mobile.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.bbh-mega-menu-mobile__canvas {
  position: relative;
  width: min(88vw, 360px);
  min-height: 100dvh;
  margin: 0;
  border-right: 1px solid rgb(24 216 255 / 14%);
  background: linear-gradient(180deg, rgb(18 20 35 / 90%), rgb(10 12 24 / 86%));
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
  box-shadow: 20px 0 44px rgb(0 0 0 / 42%);
  transform: translateX(-100%);
  transition: transform 280ms var(--bbh-mm-ease);
}

.bbh-mega-menu-mobile.is-open .bbh-mega-menu-mobile__canvas { transform: translateX(0); }

.bbh-mega-menu-mobile__header {
  min-height: 80px;
  padding: 12px 16px;
  background: rgb(23 26 43 / 72%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.bbh-mega-menu-mobile__brand {
  display: inline-grid;
  width: 190px;
  color: #f4f7ff;
  text-decoration: none;
}

.bbh-mega-menu-mobile__brand-image { width: 173px; height: 32px; object-fit: contain; }
.bbh-mega-menu-mobile__brand-tagline {
  color: #18d8ff;
  font-size: 7px;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.bbh-mega-menu-mobile__level { padding: 0; }
.bbh-mega-menu-mobile__list { display: grid; }
.bbh-mega-menu-mobile__item { padding: 18px 20px; }
.bbh-mega-menu-mobile__back { margin: 16px 20px 4px; }
.bbh-mega-menu-mobile__project { padding: 12px 14px 24px; }
.bbh-mega-menu-mobile__footer { background: rgb(16 18 32 / 76%); }


.bbh-mega-menu-mobile__project-media {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
}
.bbh-mega-menu-mobile__project-media img,
.bbh-mega-menu-mobile__project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.bbh-mm-no-scroll .bbh-mobile-main {
  width: 100%;
  margin-inline: 0;
  transform: none;
}

.bbh-mega-menu-mobile__project-placeholder {
  position: absolute; inset: 0; display: none; place-items: center;
  color: #8e93aa; font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
}
.bbh-mega-menu-mobile__project-media.is-placeholder img { display: none; }
.bbh-mega-menu-mobile__project-media.is-placeholder .bbh-mega-menu-mobile__project-placeholder { display: grid; }

/* Preview sem mídia: nunca reutiliza indevidamente o vídeo do BBH STUDIOS. */
.bbh-mega-menu__media-placeholder {
  position: absolute; inset: 0; z-index: 2; display: none; place-items: center;
  align-content: center; gap: 10px; padding: 32px; text-align: center;
  background: radial-gradient(circle at 50% 35%, rgb(124 77 255 / 18%), transparent 42%), #0d0f1a;
}
.bbh-mega-menu__media-placeholder.is-visible { display: grid; }
.bbh-mega-menu__media-placeholder-status { color: #18d8ff; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.bbh-mega-menu__media-placeholder-name { color: #f4f7ff; font-size: clamp(18px, 2vw, 28px); }

/* Seções 02–09: skeleton operacional alinhado às pranchas. */
.bbh-home-section {
  position: relative;
  border-top: 1px solid var(--bbh-home-border);
  background: var(--bbh-night-950);
  color: var(--bbh-white);
}
.bbh-home-section:nth-of-type(even) { background: var(--bbh-home-surface-alt); }
.bbh-home-section__inner {
  width: min(calc(100% - (var(--bbh-home-gutter) * 2)), var(--bbh-home-section-max));
  margin-inline: auto;
  padding-block: clamp(56px, 7vw, 104px);
}
.bbh-home-section__eyebrow { margin: 0 0 14px; color: #7c4dff; font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.bbh-home-section__title {
  margin: 0;
  max-width: 920px;
  color: #f4f7ff;
  font-size: var(--bbh-section-title-size);
  font-weight: 700;
  line-height: var(--bbh-section-title-line);
  letter-spacing: 0;
  text-align: center;
}
.bbh-home-section__title span {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  margin-left: var(--bbh-section-title-gap);
  padding: 1px 7px;
  background: var(--bbh-section-highlight-bg);
  color: var(--bbh-section-highlight-text);
  font-size: var(--bbh-section-accent-size);
  line-height: var(--bbh-section-accent-line);
}
.bbh-home-section__lead {
  max-width: 760px;
  margin: 9px 0 0;
  color: var(--bbh-section-highlight-bg);
  font-size: var(--bbh-section-subtitle-size);
  font-weight: 600;
  line-height: var(--bbh-section-subtitle-line);
  text-align: center;
}
.bbh-home-section--center, .bbh-home-section--center .bbh-home-section__inner { text-align: center; }
.bbh-home-section--center .bbh-home-section__title, .bbh-home-section--center .bbh-home-section__lead { margin-inline: auto; }
.bbh-home-section__inner--split, .bbh-founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr); align-items: center; gap: clamp(32px, 6vw, 96px); }

.bbh-platform-strip { display: grid; grid-template-columns: repeat(7, minmax(90px, 1fr)); gap: 8px; margin-top: 34px; }
.bbh-platform-strip span, .bbh-expertise-grid article { border: 1px solid var(--bbh-home-border); background: #0d0f1a; }
.bbh-platform-strip span { display: grid; place-items: center; min-height: 54px; color: #c8cbe0; font-size: 12px; font-weight: 700; }
.bbh-expertise-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 34px; }
.bbh-expertise-grid article { padding: 24px; }
.bbh-expertise-grid h3 { margin: 0; color: #18d8ff; font-size: 16px; }
.bbh-expertise-grid p { margin: 8px 0 0; color: #8e93aa; font-size: 13px; }
.bbh-home-media-placeholder { display: grid; place-items: center; min-height: 260px; margin-top: 34px; border: 1px solid #25283a; background: radial-gradient(circle at 50% 0%, rgb(24 216 255 / 8%), transparent 45%), #0b0d17; color: #5f647b; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.bbh-home-media-placeholder--wide { aspect-ratio: 16/7; }
.bbh-spectrum-rule { height: 4px; margin-top: 28px; background: linear-gradient(90deg,#f00,#f90,#ff0,#0f0,#00c3ff,#3a8dde,#8e24aa); }
.bbh-home-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: var(--bbh-cta-height);
  min-height: var(--bbh-cta-height);
  margin-top: 28px;
  padding: 0 var(--bbh-cta-padding-inline);
  overflow: hidden;
  border: 1px solid var(--bbh-cta-border);
  border-radius: var(--bbh-cta-radius);
  background: var(--bbh-cta-bg);
  color: var(--bbh-cta-text);
  font-size: var(--bbh-cta-font-size);
  font-weight: 700;
  letter-spacing: var(--bbh-cta-letter-spacing);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 12px rgb(24 216 255 / 8%), 0 0 12px rgb(24 216 255 / 8%);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.bbh-home-button:hover, .bbh-home-button:focus-visible { color: var(--bbh-cta-text); background: var(--bbh-cta-bg-hover); border-color: var(--bbh-section-highlight-bg); }
.bbh-home-button--outline { background: transparent; border-color: var(--bbh-cta-border); }
.bbh-founder-portrait { display: grid; place-items: center; justify-self: center; width: min(320px, 70vw); aspect-ratio: 1; border: 1px solid #25283a; border-radius: 50%; background: radial-gradient(circle, #171a2b, #090b14); color: #5f647b; }
.bbh-faq-list { display: grid; gap: 8px; margin-top: 34px; }
.bbh-faq-list details { border: 1px solid var(--bbh-home-border); background: #0d0f1a; }
.bbh-faq-list summary { padding: 18px 20px; color: #f4f7ff; cursor: pointer; }
.bbh-faq-list p { margin: 0; padding: 0 20px 20px; color: #8e93aa; }
.bbh-final-social { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.bbh-final-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #25283a; border-radius: 50%; color: #8e93aa; font-size: 9px; text-decoration: none; }

@media (min-width: 1024px) {
  .bbh-desktop-header { display: block; }
  .bbh-mobile-header { display: none; }
  .bbh-mobile-main { width: 100%; }
  .bbh-breadcrumb { display: none; }

  /*
   * SESSÃO 1 — desktop governado pelo frame Figma 116:5.
   * O motor sinestésico existente (vídeo → espectro → Mônada → atmosfera →
   * partículas → reset) permanece intocado em /assets/js/app.js.
   * Atmosfera continua 100vw; inteligência visual fica centrada em 1280px.
   */
  .bbh-spectrum { width: 100%; max-width: none; }
  .bbh-hero-mobile {
    width: 100%;
    max-width: none;
    min-height: 555.38px;
    height: 555.38px;
  }
  .bbh-hero-mobile__content {
    width: min(calc(100% - 80px), var(--bbh-home-section-max));
    margin-inline: auto;
    padding: 4px 0 30px;
  }
  .bbh-hero__title {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 813px);
    min-height: 35px;
  }
  .bbh-hero__title-highlight--deep-tech {
    margin-left: var(--bbh-section-title-gap);
  }
  .bbh-hero__title-intro {
    min-height: 31px;
    font-size: 28px;
    line-height: 31px;
    font-weight: 700;
    white-space: nowrap;
  }
  .bbh-hero__title-highlight {
    min-height: 33px;
    margin-top: 0;
    font-size: 28px;
    line-height: 31px;
    padding-block: 1px;
    white-space: nowrap;
  }
  .bbh-hero__title-highlight--deep-tech {
    margin-left: var(--bbh-section-title-gap);
    padding-inline: 7px 3px;
  }
  .bbh-hero__title-highlight--power {
    margin-top: 0;
    padding-inline: 0 7px;
  }
  .bbh-hero__subtitle {
    width: auto;
    max-width: none;
    margin-top: 9px;
    font-size: 20px;
    line-height: 22px;
    white-space: nowrap;
  }
  .bbh-hero__subtitle br { display: none; }
  .bbh-hero__video { margin-top: 30px; }
  .bbh-video-shell {
    width: min(100%, 750px);
    max-width: none;
    height: 425.38px;
    aspect-ratio: auto;
  }
  .bbh-mobile-footer { width: 100%; max-width: none; padding-inline: var(--bbh-home-gutter); text-align: center; }
}

@media (max-width: 1023px) {
  .bbh-mega-menu-mobile__footer { padding-bottom: 28px; }
  .bbh-home-section__inner--split, .bbh-founder-grid { grid-template-columns: 1fr; }
  .bbh-platform-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbh-expertise-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .bbh-home-section__inner { width: calc(100% - 40px); padding-block: 48px; }
  .bbh-home-section__title { font-size: 28px; }
  .bbh-home-section__lead { font-size: 14px; }
  .bbh-home-media-placeholder { min-height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .bbh-mega-menu-mobile, .bbh-mega-menu-mobile__canvas { transition: none; }
}

/* ==========================================================================
   BBH HOME — BIG TECHs / 1 MASTER · 7 STATES
   Figma refs: 116:26 / 191:24 / 193:25
   Governança: atmosfera 100vw · inteligência 1280px · estrutura invariável.
   ========================================================================== */
.bbh-bigtechs {
  --bbh-panel: rgb(13 15 26 / 45%);
  --bbh-panel-deep: rgb(10 17 32 / 65%);
  --bbh-brand-glow: rgb(24 216 255 / 18%);
  position: relative;
  min-height: 1106px;
  overflow: hidden;
  background: #05060d;
  isolation: isolate;
}

.bbh-bigtechs__bg,
.bbh-bigtechs__scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bbh-bigtechs__bg {
  z-index: -3;
  object-fit: cover;
  object-position: center center;
  opacity: 0.45;
  filter: saturate(0.5) brightness(0.6);
}

.bbh-bigtechs__scrim {
  z-index: -2;
  background:
    linear-gradient(to bottom, rgb(5 6 13 / 18%), rgb(5 6 13 / 10%) 38%, rgb(5 6 13 / 28%)),
    radial-gradient(circle at 50% 48%, rgb(0 0 0 / 0%) 35%, rgb(0 0 0 / 34%) 100%);
  pointer-events: none;
}

.bbh-bigtechs__inner {
  position: relative;
  z-index: 1;
  padding-block: 80px 76px;
}

.bbh-bigtechs__heading {
  text-align: center;
}

.bbh-bigtechs__heading .bbh-home-section__title { max-width: none; }
.bbh-bigtechs__heading .bbh-home-section__lead { max-width: none; margin-inline: auto; }

.bbh-bigtechs__panel {
  position: relative;
  width: 1280px;
  max-width: 100%;
  min-height: 862px;
  margin: 22px auto 0;
  border: 0;
  border-radius: 1px;
  background: transparent;
  box-shadow:
    0 22px 54px rgb(0 0 0 / 46%),
    0 1px 0 rgb(255 255 255 / 2.5%);
  overflow: hidden;
  isolation: isolate;
}

/* Camada óptica: vidro BBH controlado, sem transformar o painel em chapa opaca. */
.bbh-bigtechs__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, var(--bbh-panel) 0%, var(--bbh-panel-deep) 100%);
  -webkit-backdrop-filter: blur(3px) saturate(200%) brightness(1.7);
  backdrop-filter: blur(3px) saturate(200%) brightness(1.7);
  border: 1px solid rgb(24 216 255 / 15%);
  border-radius: 1px;
}

/* Reflexo físico localizado: especular sutil, sem white wash global. */
.bbh-bigtechs__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 1px;
  background: linear-gradient(115deg, rgb(255 255 255 / 3%) 0%, rgb(255 255 255 / 1%) 15%, transparent 55%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 4%),
    inset 0 -1px 0 rgb(24 216 255 / 2%);
  pointer-events: none;
}

.bbh-bigtechs__panel > * {
  position: relative;
  z-index: 10;
}

.bbh-bigtechs__accent {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(24 216 255 / 65%) 50%, transparent);
}

.bbh-bigtechs__brand {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 104px;
  padding-top: 18px;
}

.bbh-bigtechs__brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.bbh-bigtechs__brand span {
  color: #f4f7ff;
  font-size: 15px;
  font-weight: 900;
  line-height: 20px;
}

.bbh-bigtechs__copy {
  width: min(1038px, calc(100% - 80px));
  min-height: 100px;
  margin-inline: auto;
  padding-top: 18px;
  border-top: 1px solid rgb(255 255 255 / 8%);
  text-align: center;
}

.bbh-bigtechs__copy h3 {
  margin: 0;
  color: #f4f7ff;
  font-size: 22px;
  line-height: 27px;
}

.bbh-bigtechs__copy p {
  max-width: 740px;
  margin: 8px auto 0;
  color: rgb(188 192 209 / 82%);
  font-size: 14px;
  line-height: 1.55;
}

.bbh-bigtechs__stage {
  display: grid;
  grid-template-columns: 230px minmax(0, 608px) 230px;
  justify-content: center;
  align-items: center;
  column-gap: 48px;
  min-height: 370px;
  margin-top: 18px;
}

.bbh-bigtechs__services {
  display: grid;
  gap: 42px;
}

.bbh-bigtechs__services--left { transform: translateY(-22px); }
.bbh-bigtechs__services--right { transform: translateY(22px); }

.bbh-bigtechs__service {
  display: flex;
  align-items: center;
  min-height: 54px;
  gap: 12px;
  border: 1px solid rgb(37 40 58 / 55%);
  border-radius: 2px;
  background: rgb(5 6 13 / 16%);
  color: rgb(244 247 255 / 92%);
  font-size: 13px;
  font-weight: 700;
}

.bbh-bigtechs__services--left .bbh-bigtechs__service {
  justify-content: flex-end;
  text-align: right;
  padding: 10px 0 10px 12px;
}

.bbh-bigtechs__services--right .bbh-bigtechs__service {
  justify-content: flex-start;
  padding: 10px 12px 10px 0;
}

.bbh-bigtechs__service-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 2px;
  background: rgb(5 6 13 / 64%);
}

.bbh-bigtechs__service-icon img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.bbh-bigtechs__service-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1px solid rgb(24 216 255 / 58%);
  transform: rotate(45deg);
}

.bbh-bigtechs__service-icon:has(img)::before { display: none; }

.bbh-bigtechs__video-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 607.8 / 341.88;
  overflow: hidden;
  border: 2px solid rgb(143 221 234 / 96%);
  border-radius: 2px;
  background: #05060d;
  box-shadow: 0 8px 18px rgb(0 0 0 / 36%), 0 0 8px rgb(24 216 255 / 16%);
}

.bbh-bigtechs__central {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bbh-bigtechs__volume {
  position: absolute;
  left: 12px;
  bottom: 50px;
  padding: 4px 7px;
  border: 1px solid rgb(24 216 255 / 22%);
  border-radius: 1px;
  background: rgb(5 6 13 / 72%);
  color: rgb(244 247 255 / 72%);
  font-size: 9px;
  letter-spacing: .08em;
  pointer-events: none;
}

.bbh-bigtechs__cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: var(--bbh-cta-height);
  margin: 0 auto;
  padding: 0 var(--bbh-cta-padding-inline);
  overflow: hidden;
  border: 1px solid var(--bbh-cta-border);
  border-radius: var(--bbh-cta-radius);
  background: var(--bbh-cta-bg);
  color: var(--bbh-cta-text);
  font-size: var(--bbh-cta-font-size);
  font-weight: 700;
  letter-spacing: var(--bbh-cta-letter-spacing);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 12px rgb(24 216 255 / 8%), 0 0 12px rgb(24 216 255 / 8%);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.bbh-bigtechs__cta:hover,
.bbh-bigtechs__cta:focus-visible {
  color: var(--bbh-cta-text);
  background: var(--bbh-cta-bg-hover);
  border-color: var(--bbh-section-highlight-bg);
}

.bbh-bigtechs__cta::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -58px;
  width: 34px;
  height: 78px;
  transform: translateX(0) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
  opacity: 0;
  pointer-events: none;
  animation: bbh-cta-specular-sweep var(--bbh-cta-shine-cycle) ease-in-out infinite;
}

.bbh-bigtechs__microtip {
  width: min(800px, calc(100% - 48px));
  margin: 10px auto 0;
  padding: 7px 12px;
  border: 1px solid rgb(24 216 255 / 18%);
  border-radius: 2px;
  background: rgb(5 6 13 / 34%);
  color: rgb(188 192 209 / 84%);
  font-size: 12px;
  text-align: center;
}

.bbh-bigtechs__dock {
  display: grid;
  grid-template-columns: repeat(7, 130px);
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.bbh-bigtechs__control {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: 130px;
  height: 120px;
  border: 1px solid rgb(37 40 58 / 82%);
  border-radius: 2px;
  background: rgb(13 15 26 / 22%);
  color: #fff;
  opacity: .78;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.bbh-bigtechs__control[aria-selected="true"] {
  border: 1.5px solid rgb(24 216 255 / 95%);
  background: rgb(13 15 26 / 34%);
  opacity: 1;
  box-shadow: 0 0 5px rgb(24 216 255 / 12%);
}

.bbh-bigtechs__control img {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.bbh-bigtechs__control span {
  font-size: 15px;
  font-weight: 900;
  line-height: 18px;
}

/* Apenas o vidro muda cromaticamente por marca. Estrutura, play e CTA BBH não mudam. */
.bbh-bigtechs[data-brand="anthropic"] { --bbh-panel: rgb(26 18 10 / 45%); --bbh-panel-deep: rgb(22 14 6 / 65%); }
.bbh-bigtechs[data-brand="aws"]       { --bbh-panel: rgb(30 22 10 / 45%); --bbh-panel-deep: rgb(18 13 7 / 65%); }
.bbh-bigtechs[data-brand="google"]    { --bbh-panel: rgb(10 20 28 / 45%); --bbh-panel-deep: rgb(6 16 26 / 65%); }
.bbh-bigtechs[data-brand="meta"]      { --bbh-panel: rgb(8 18 34 / 45%); --bbh-panel-deep: rgb(5 13 28 / 65%); }
.bbh-bigtechs[data-brand="microsoft"] { --bbh-panel: rgb(10 20 28 / 45%); --bbh-panel-deep: rgb(6 16 26 / 65%); }
.bbh-bigtechs[data-brand="openai"]    { --bbh-panel: rgb(10 26 18 / 45%); --bbh-panel-deep: rgb(6 22 14 / 65%); }
.bbh-bigtechs[data-brand="xai"]       { --bbh-panel: rgb(18 18 22 / 48%); --bbh-panel-deep: rgb(8 8 12 / 68%); }

@media (max-width: 1320px) {
  .bbh-bigtechs__stage {
    grid-template-columns: 190px minmax(0, 560px) 190px;
    column-gap: 28px;
  }
  .bbh-bigtechs__dock { grid-template-columns: repeat(7, minmax(100px, 1fr)); gap: 10px; padding-inline: 20px; }
  .bbh-bigtechs__control { width: 100%; }
}

@media (max-width: 1023px) {
  .bbh-bigtechs { min-height: auto; }
  .bbh-bigtechs__inner { padding-block: 54px; }
  .bbh-bigtechs__panel { padding-bottom: 28px; }
  .bbh-bigtechs__stage {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 22px;
  }
  .bbh-bigtechs__services { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; transform: none; order: 2; }
  .bbh-bigtechs__services--right { display: none; }
  .bbh-bigtechs__video-shell { order: 1; max-width: 608px; margin-inline: auto; }
  .bbh-bigtechs__service { min-height: 68px; justify-content: center; padding: 8px; text-align: center; flex-direction: column; gap: 6px; font-size: 10px; }
  .bbh-bigtechs__service-icon, .bbh-bigtechs__service-icon img { width: 26px; height: 26px; flex-basis: 26px; }
  .bbh-bigtechs__dock { grid-template-columns: repeat(4, minmax(90px, 1fr)); }
}

@media (max-width: 640px) {
  .bbh-bigtechs__heading .bbh-home-section__title { font-size: 23px; line-height: 1.2; }
  .bbh-bigtechs__heading .bbh-home-section__title span { margin: 5px 0 0; }
  .bbh-bigtechs__heading .bbh-home-section__lead { font-size: 14px; }
  .bbh-bigtechs__copy { width: calc(100% - 36px); }
  .bbh-bigtechs__copy h3 { font-size: 18px; }
  .bbh-bigtechs__services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbh-bigtechs__dock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bbh-bigtechs__control { height: 100px; }
  .bbh-bigtechs__control img { width: 44px; height: 44px; }
}

/* ==========================================================================
   BBH HOME — SESSIONS 05–10 / Figma 116:135 → 116:475
   Governança: atmosfera 100vw, inteligência contida em 1280px.
   ========================================================================== */

.bbh-section-heading--center { text-align: center; }
.bbh-section-title {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--bbh-section-title-gap);
  color: #fff;
  font-family: var(--bbh-font-sans);
  font-size: var(--bbh-section-title-size);
  font-weight: 700;
  line-height: var(--bbh-section-title-line);
  text-align: center;
}
.bbh-section-title__plain { padding-inline: 0; }
.bbh-section-title__accent,
.bbh-section-title__accent--large {
  display: inline-flex;
  align-items: center;
  min-height: 33px;
  margin-left: 0;
  padding: 1px 7px;
  background: var(--bbh-section-highlight-bg);
  color: var(--bbh-section-highlight-text);
  font-size: var(--bbh-section-accent-size);
  line-height: var(--bbh-section-accent-line);
}
.bbh-section-subtitle {
  margin: 9px auto 0;
  color: var(--bbh-section-highlight-bg);
  font-family: var(--bbh-font-sans);
  font-size: var(--bbh-section-subtitle-size);
  font-weight: 600;
  line-height: var(--bbh-section-subtitle-line);
  text-align: center;
}

/* 05_EXPERTISE */
.bbh-home-section--expertise {
  min-height: 777.89px;
  background: linear-gradient(180deg, #0a0a0f 0%, #0d1117 100%);
}
.bbh-expertise { padding-top: 80px; padding-bottom: 84px; }
.bbh-expertise-table-wrap {
  width: min(100%, 1140px);
  margin: 30px auto 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.bbh-expertise-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #ccc;
  font-size: 13px;
}
.bbh-expertise-table th,
.bbh-expertise-table td { border-bottom: 1px solid #222; padding: 13px 15px; }
.bbh-expertise-table thead th {
  height: 71px;
  border-bottom: 2px solid #a855f7;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.bbh-expertise-table thead th:first-child { width: 24.3%; text-align: left; }
.bbh-expertise-table thead th:not(:first-child) { width: 25.23%; }
.bbh-expertise-table tbody th { text-align: left; font-weight: 400; color: #ccc; }
.bbh-expertise-table td { text-align: center; }
.bbh-expertise-table small { display: block; margin-top: 5px; color: #666; font-size: 11px; font-weight: 400; }
.bbh-expertise-table .is-microsoft { color: #00a4ef; }
.bbh-expertise-table .is-google { color: #4285f4; }
.bbh-expertise-table .is-aws { color: #f90; }
.bbh-check { color: #4ade80; }
.bbh-cross { color: #f87171; }
.bbh-expertise-table__score th,
.bbh-expertise-table__score td { border-bottom: 0; font-weight: 700; color: #f4f7ff; }
.bbh-expertise-note { margin: 16px auto 0; width: min(100%, 1140px); color: #666; font-size: 12px; text-align: center; }

/* 06_FORMULA */
.bbh-home-section--formula {
  min-height: 1094.78px;
  background:
    radial-gradient(circle at 30% 50%, rgb(168 85 247 / 5%), transparent 50%),
    linear-gradient(180deg, #000, #0a0a15 50%, #000);
}
.bbh-formula { padding-top: 80px; padding-bottom: 80px; text-align: center; }
.bbh-formula__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  height: var(--bbh-cta-height);
  min-width: 0;
  min-height: var(--bbh-cta-height);
  margin-top: 30px;
  padding: 0 var(--bbh-cta-padding-inline);
  overflow: hidden;
  border: 1px solid var(--bbh-cta-border);
  border-radius: var(--bbh-cta-radius);
  background: var(--bbh-cta-bg);
  color: var(--bbh-cta-text);
  font-size: var(--bbh-cta-font-size);
  font-weight: 700;
  letter-spacing: var(--bbh-cta-letter-spacing);
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: inset 0 0 12px rgb(24 216 255 / 8%), 0 0 12px rgb(24 216 255 / 8%);
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.bbh-formula__trigger:hover,
.bbh-formula__trigger:focus-visible {
  color: var(--bbh-cta-text);
  background: var(--bbh-cta-bg-hover);
  border-color: var(--bbh-section-highlight-bg);
}
.bbh-formula__play {
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}
.bbh-formula__equation {
  width: min(100%, 1140px);
  min-height: 380px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  gap: 40px;
  opacity: .3;
}
.bbh-formula__monad {
  position: relative;
  width: 300px; height: 300px;
  display: grid; place-items: center;
  border: 1px solid rgb(0 208 255 / 25%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(0 208 255 / 16%) 0 2%, transparent 3% 100%);
}
.bbh-formula__b { color: #00d0ff; font-size: 132px; font-weight: 900; line-height: 1; text-shadow: 0 0 15px rgb(0 208 255 / 30%); }
.bbh-formula__pulse { position: absolute; inset: 48px; border: 1px solid rgb(168 85 247 / 25%); border-radius: 50%; }
.bbh-formula__equals { color: #333; font-size: 60px; font-weight: 900; }
.bbh-formula__grid { width: 301px; display: grid; gap: 15px; }
.bbh-formula__row { display: grid; grid-template-columns: repeat(3, 55px) 1fr; align-items: center; gap: 32px; }
.bbh-formula__row i { width: 55px; height: 55px; border: 2px solid #333; border-radius: 50%; box-shadow: 0 0 10px rgb(255 255 255 / 10%); }
.bbh-formula__row b { color: #333; font-size: 28px; }
.bbh-formula__hawking { width: 55px; height: 55px; margin: 0 auto; display: grid; place-items: center; border: 2px solid #333; border-radius: 50%; color: #333; font-weight: 900; }
.bbh-formula__spectrum { width: min(100%, 600px); height: 6px; margin: 50px auto 0; background: linear-gradient(90deg,#f00,#f90,#ff0,#0f0,#00c3ff,#3a8dde,#8e24aa); }
.bbh-formula__result { margin-top: 50px; text-align: center; }
.bbh-formula__result h3 { margin: 0; color: #fff; font-size: 28px; line-height: 31px; }
.bbh-formula__result h3 strong { display: inline-flex; padding: 1px 7px; background: var(--bbh-section-highlight-bg); color: var(--bbh-section-highlight-text); font-size: 28px; }
.bbh-formula__result p { margin: 9px 0 0; color: var(--bbh-section-highlight-bg); font-size: 20px; font-weight: 600; }
.bbh-formula__quote { width: min(100%, 650px); margin: 50px auto 0; padding: 28px 38px; border-left: 1px solid rgb(168 85 247 / 55%); color: #777; }
.bbh-formula__quote p { margin: 0; font-size: 15px; line-height: 1.55; }
.bbh-formula__quote cite { display: block; margin-top: 14px; color: #555; font-size: 12px; font-style: normal; }

/* 07_CASES */
.bbh-home-section--cases {
  min-height: 428.95px;
  background: radial-gradient(circle at 50% 50%, rgb(168 85 247 / 10%), transparent 70%), linear-gradient(180deg,#000,#0a0a15 50%,#000);
}
.bbh-cases { padding-top: 80px; padding-bottom: 80px; }
.bbh-cases__content { width: min(100%, 1170px); margin: 50px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.bbh-cases__copy { width: 78%; justify-self: center; }
.bbh-cases__copy h3 { margin: 0; color: #fff; font-size: 24px; line-height: 26px; }
.bbh-cases__copy p { margin: 18px 0 0; color: #aaa; font-size: 16px; line-height: 27px; }
.bbh-cases__carousel { width: 78%; justify-self: center; }
.bbh-cases__media { min-height: 92px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgb(168 85 247 / 50%); background: #000; color: #444; font-size: 10px; letter-spacing: .12em; }
.bbh-cases__dots { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.bbh-cases__dots i { width: 14px; height: 14px; border: 2px solid #666; border-radius: 50%; background: #333; }
.bbh-cases__dots i.is-active { border-color: #fff; background: #a855f7; }

/* 08_BIO */
.bbh-home-section--bio { min-height: 1058px; background: #05060d; }
.bbh-bio { padding-top: 80px; padding-bottom: 82px; display: grid; grid-template-columns: 360px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 56px; align-items: start; }
.bbh-bio__portrait { grid-column: 1; grid-row: 1; width: 321px; height: 321px; justify-self: center; overflow: hidden; border: 1px solid #25283a; border-radius: 50%; background: #05060d; }
.bbh-bio__portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.bbh-bio__label { grid-column: 1; grid-row: 2; width: 360px; margin-top: 20px; display: grid; justify-items: center; color: #f4f7ff; }
.bbh-bio__label strong { font-size: 18px; }
.bbh-bio__label span { margin-top: 8px; padding: 6px 15px; background: #121423; color: #18d8ff; font-size: 12px; }
.bbh-bio__label a { margin-top: 6px; color: #8e93aa; font-size: 11px; }
.bbh-bio__copy { grid-column: 2; grid-row: 1 / span 2; max-width: 760px; padding-top: 0; }
.bbh-bio__copy h2 { margin: 0; color: #f4f7ff; font-size: 28px; line-height: 31px; }
.bbh-bio__copy h3 { margin: 22px 0 0; color: #18d8ff; font-size: 20px; line-height: 29px; }
.bbh-bio__copy p { margin: 18px 0 0; color: #aeb3c8; font-size: 16px; line-height: 1.7; }
.bbh-bio__copy .bbh-bio__intro { color: #f4f7ff; font-weight: 700; }
.bbh-bio__vertical { color: #18d8ff; font-weight: 700; }
.bbh-home-button--platinum { border-color: var(--bbh-cta-border); background: var(--bbh-cta-bg); }

.bbh-home-button::after,
.bbh-formula__trigger::after {
  content: "";
  position: absolute;
  top: -22px;
  left: -58px;
  width: 34px;
  height: 78px;
  transform: translateX(0) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 42%), transparent);
  opacity: 0;
  pointer-events: none;
  animation: bbh-cta-specular-sweep var(--bbh-cta-shine-cycle) ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .bbh-home-button::after,
  .bbh-formula__trigger::after,
  .bbh-bigtechs__cta::after { animation: none; }
}

/* 09_FAQ */
.bbh-home-section--faq { min-height: 1028px; background: #05060d; }
.bbh-faq { padding-top: 88px; padding-bottom: 80px; }
.bbh-faq__title {
  width: min(100%, 1280px);
  margin: 0 auto;
  color: #f4f7ff;
  font-size: var(--bbh-section-title-size);
  font-weight: 700;
  line-height: var(--bbh-section-title-line);
  text-align: center;
}
.bbh-faq__accent {
  width: min(100%, 1280px);
  margin: 9px auto 0;
  color: var(--bbh-section-highlight-bg);
  font-size: var(--bbh-section-subtitle-size);
  font-weight: 600;
  line-height: var(--bbh-section-subtitle-line);
  text-align: center;
}
.bbh-faq__divider { width: min(100%, 1280px); height: 1px; margin: 26px auto 15px; background: #25283a; }
.bbh-faq__list { width: min(100%, 1280px); margin: 0 auto; }
.bbh-faq__row { min-height: 64px; display: grid; grid-template-columns: minmax(0,1fr) 30px; align-items: center; border-bottom: 1px solid #25283a; color: #f4f7ff; font-size: 17px; font-weight: 700; line-height: 21px; }
.bbh-faq__plus { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #3b3e4a; border-radius: 1px; color: #18d8ff; font-size: 19px; }
.bbh-faq__central { display: inline-flex; margin-top: 40px; color: #18d8ff; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-decoration: none; }

/* 10_CONTACT_CTA */
.bbh-home-section--contact { min-height: 217px; background: #05060d; }
.bbh-contact { min-height: 217px; padding-top: 41px; padding-bottom: 30px; display: grid; justify-items: center; align-content: start; }
.bbh-contact__cta { margin-top: 0; }
.bbh-contact__channels { display: flex; justify-content: center; flex-wrap: wrap; gap: 28px; margin-top: 40px; }
.bbh-contact__channels span { min-width: 44px; min-height: 44px; display: grid; place-items: center; padding: 0 10px; border: 1px solid #25283a; border-radius: 22px; color: #8e93aa; font-size: 10px; }

@media (max-width: 1023px) {
  .bbh-section-title { font-size: 25px; line-height: 1.1; }
  .bbh-section-title__accent, .bbh-section-title__accent--large { font-size: 26px; line-height: 1.12; }
  .bbh-section-subtitle { max-width: 760px; font-size: 16px; line-height: 1.45; }
  .bbh-formula__equation { grid-template-columns: 1fr; gap: 22px; }
  .bbh-formula__equals { transform: rotate(90deg); }
  .bbh-bio { grid-template-columns: 1fr; }
  .bbh-bio__portrait, .bbh-bio__label, .bbh-bio__copy { grid-column: 1; grid-row: auto; }
  .bbh-bio__copy { margin-top: 44px; }
  .bbh-cases__content { grid-template-columns: 1fr; }
  .bbh-cases__copy, .bbh-cases__carousel { width: min(100%, 680px); }
}

@media (max-width: 640px) {
  .bbh-expertise { padding-top: 56px; }
  .bbh-section-title { display: grid; justify-items: center; }
  .bbh-formula__trigger { width: fit-content; max-width: 100%; }
  .bbh-formula__monad { width: 220px; height: 220px; }
  .bbh-formula__grid { transform: scale(.85); }
  .bbh-faq__accent { font-size: 16px; line-height: 1.45; }
  .bbh-faq__row { font-size: 15px; padding-block: 8px; }
}


/* ==========================================================================
   BBH MOBILE P0 — governed implementation fixes
   ========================================================================== */
@media (max-width: 1023px) {
  .bbh-mobile-header {
    position: sticky;
    top: 0;
    z-index: 120;
    width: 100%;
    transition: box-shadow 180ms ease, background 180ms ease;
  }

  .bbh-mobile-header[data-header-state="minimized"] {
    box-shadow: 0 12px 28px rgb(0 0 0 / 42%);
  }

  .bbh-mobile-header[data-header-state="minimized"] .bbh-mobile-header__canvas {
    min-height: 56px;
    background: rgb(5 6 13 / 94%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    border-bottom: 1px solid rgb(24 216 255 / 16%);
  }
}

.bbh-faq__item { border-bottom: 1px solid #25283a; }
.bbh-faq__row {
  width: 100%;
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 30px;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #f4f7ff;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
  text-align: left;
  cursor: pointer;
}
.bbh-faq__row:hover .bbh-faq__plus,
.bbh-faq__row:focus-visible .bbh-faq__plus,
.bbh-faq__row[aria-expanded="true"] .bbh-faq__plus { border-color: rgb(24 216 255 / 78%); color: #18d8ff; }
.bbh-faq__row:focus-visible { outline: 1px solid rgb(24 216 255 / 60%); outline-offset: 3px; }
.bbh-faq__answer { padding: 0 46px 18px 0; color: rgb(244 247 255 / 72%); font-size: 14px; line-height: 1.6; }
.bbh-faq__answer[hidden] { display: none; }
.bbh-faq__answer p { margin: 0; }

@media (max-width: 640px) {
  .bbh-home-section--faq { min-height: auto; }
  .bbh-faq { padding-top: 56px; padding-bottom: 56px; }
  .bbh-faq__row { min-height: 58px; font-size: 15px; line-height: 20px; }
  .bbh-faq__answer { padding: 0 42px 16px 0; font-size: 13px; line-height: 1.55; }
  .bbh-faq__central { margin-top: 30px; }
}
