/*
 * Bernardo Brandão & Bahia — hero editorial.
 * Todas as regras estão limitadas a .bbb-site. Sem fontes ou scripts externos.
 */
.bbb-site {
  --bbb-paper-rgb: 247 245 240;
  --bbb-paper: rgb(var(--bbb-paper-rgb));
  --bbb-ink: #171a1d;
  --bbb-muted: #505963;
  --bbb-red: #df2429;
  --bbb-red-dark: #bd1920;
  --bbb-line: #d9d3ca;
  --bbb-content-width: 1440px;
  --bbb-gutter: clamp(20px, 4.5vw, 52px);
  --bbb-serif: Georgia, "Times New Roman", serif;
  --bbb-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --bbb-portrait-scale: 1;
  --bbb-portrait-x: -1.5%;
  margin: 0;
  min-width: 0;
  overflow-x: clip;
  background: var(--bbb-paper);
  color: var(--bbb-ink);
  font-family: var(--bbb-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.bbb-site,
.bbb-site *,
.bbb-site *::before,
.bbb-site *::after {
  box-sizing: border-box;
}

.bbb-site a {
  color: inherit;
  text-decoration: none;
}

.bbb-site a:focus-visible {
  outline: 2px solid var(--bbb-red);
  outline-offset: 6px;
}

.bbb-site .bbb-container {
  width: min(calc(100% - 2 * var(--bbb-gutter)), var(--bbb-content-width));
  margin-inline: auto;
}

.bbb-site .bbb-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  transform: translateY(-180%);
  background: var(--bbb-ink);
  color: #fff;
  border-radius: 3px;
}

.bbb-site .bbb-skip-link:focus {
  transform: translateY(0);
}

/* Cabeçalho: marca provisória e navegação que se adapta sem JavaScript. */
.bbb-site .bbb-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--bbb-line);
}

.bbb-site .bbb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding-block: 14px;
}

.bbb-site .bbb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 1 auto;
  min-width: 0;
}

.bbb-site .bbb-monogram {
  display: inline-block;
  flex: 0 0 24px;
  font-family: var(--bbb-sans);
  font-size: 39px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.12em;
  transform: scaleX(0.86);
  transform-origin: left center;
}

.bbb-site .bbb-brand-copy {
  display: block;
  text-align: center;
}

.bbb-site .bbb-brand-name {
  display: block;
  font-family: var(--bbb-serif);
  font-size: clamp(17px, 1.4vw, 21px);
  font-variant: small-caps;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.bbb-site .bbb-brand-subtitle {
  display: block;
  margin-top: 3px;
  font-family: var(--bbb-serif);
  font-size: 9px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.035em;
}

.bbb-site .bbb-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bbb-site .bbb-nav-list a {
  display: inline-block;
  padding-block: 7px;
  font-size: 14px;
  line-height: 1.3;
  transition: color 160ms ease;
}

.bbb-site .bbb-nav-list a:hover {
  color: var(--bbb-red-dark);
}

/* Hero: texto à esquerda; composição independente em camadas à direita. */
.bbb-site .bbb-main {
  display: block;
}

.bbb-site .bbb-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.bbb-site .bbb-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  min-height: clamp(650px, 46vw, 768px);
}

.bbb-site .bbb-hero-copy {
  position: relative;
  z-index: 6;
  min-width: 0;
  padding-block: 58px 48px;
}

.bbb-site .bbb-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 27px;
  color: var(--bbb-muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.bbb-site .bbb-eyebrow > span {
  display: block;
  flex: 0 0 38px;
  height: 2px;
  background: var(--bbb-red);
}

.bbb-site .bbb-title {
  margin: 0;
  font-family: var(--bbb-serif);
  font-size: clamp(52px, 5.3vw, 89px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.063em;
}

.bbb-site .bbb-title-line {
  display: block;
}

.bbb-site .bbb-title em {
  margin-top: 1px;
  color: var(--bbb-red);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.057em;
}

.bbb-site .bbb-description {
  max-width: 640px;
  margin: 29px 0 0;
  color: var(--bbb-muted);
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.bbb-site .bbb-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin-top: 34px;
}

.bbb-site .bbb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 62px;
  padding: 17px 26px;
  border: 1px solid var(--bbb-red);
  border-radius: 2px;
  background: var(--bbb-red);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bbb-site .bbb-button:hover {
  transform: translateY(-2px);
  border-color: var(--bbb-red-dark);
  background: var(--bbb-red-dark);
}

.bbb-site .bbb-button:focus-visible {
  outline-color: var(--bbb-ink);
}

.bbb-site .bbb-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-block: 10px 7px;
  border-bottom: 1px solid var(--bbb-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
  transition: color 160ms ease, border-color 160ms ease;
}

.bbb-site .bbb-secondary-link:hover {
  border-color: var(--bbb-red-dark);
  color: var(--bbb-red-dark);
}

.bbb-site .bbb-arrow {
  display: block;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bbb-site .bbb-trust {
  display: flex;
  align-items: center;
  gap: 29px;
  margin: 38px 0 0;
  padding: 23px 0 0;
  border-top: 1px solid var(--bbb-line);
  list-style: none;
  color: var(--bbb-muted);
}

.bbb-site .bbb-trust-item {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
}

.bbb-site .bbb-trust-item + .bbb-trust-item {
  padding-left: 29px;
  border-left: 1px solid var(--bbb-line);
}

.bbb-site .bbb-trust-item strong {
  color: var(--bbb-ink);
  font-weight: 600;
}

.bbb-site .bbb-trust-item .bbb-trust-number {
  color: var(--bbb-red);
  font-size: 22px;
  line-height: 1.1;
}

/*
 * Efeito da foto, de trás para frente:
 * 1. plano vermelho curvo; 2. placa carvão; 3. contorno; 4. PNG; 5. fade inferior.
 * Não há filtro de cor, distorção ou animação no rosto.
 */
.bbb-site .bbb-portrait {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(calc(100% + 32px), 680px);
  justify-self: end;
  min-width: 0;
  aspect-ratio: 0.91;
  margin: 0 -16px;
  isolation: isolate;
}

.bbb-site .bbb-portrait-red {
  position: absolute;
  z-index: 0;
  top: 0%;
  right: -5%;
  width: 68%;
  height: 88%;
  border: 1px solid rgb(255 255 255 / 0.32);
  border-radius: 46% 55% 27% 56% / 30% 48% 56% 62%;
  transform: rotate(-15deg);
  background: linear-gradient(136deg, #f34843 0%, var(--bbb-red) 44%, #a81b21 100%);
  box-shadow: inset 2px 2px 2px rgb(255 255 255 / 0.17), 0 24px 40px rgb(119 31 27 / 0.12);
}

.bbb-site .bbb-portrait-red::after {
  position: absolute;
  content: "";
  right: 8%;
  bottom: 5%;
  width: 18%;
  height: 49%;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgb(85 4 10 / 0.13));
  transform: rotate(17deg);
  filter: blur(8px);
}

.bbb-site .bbb-portrait-slab {
  position: absolute;
  z-index: 1;
  top: 11%;
  left: 16%;
  width: 73%;
  height: 84%;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 14% 14% 7% 8% / 12% 12% 7% 8%;
  transform: rotate(-1.5deg);
  background: radial-gradient(ellipse at 23% 15%, #3c3e40 0, #292c2e 48%, #1a1d1f 100%);
  box-shadow: inset 1px 1px 1px rgb(255 255 255 / 0.12), -10px 26px 40px rgb(15 18 20 / 0.13);
}

.bbb-site .bbb-portrait-contour {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: var(--bbb-red);
  stroke-width: 2;
  stroke-linecap: round;
  pointer-events: none;
}

.bbb-site .bbb-portrait-image {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(var(--bbb-portrait-x)) scale(var(--bbb-portrait-scale));
  transform-origin: center bottom;
  filter: drop-shadow(10px 12px 14px rgb(10 13 16 / 0.12));
}

.bbb-site .bbb-portrait-fade {
  position: absolute;
  z-index: 5;
  right: -12%;
  bottom: -2px;
  left: -12%;
  height: 14%;
  background: linear-gradient(180deg, rgb(var(--bbb-paper-rgb) / 0) 0%, rgb(var(--bbb-paper-rgb) / 0.6) 43%, var(--bbb-paper) 90%);
  pointer-events: none;
  display: none; /* Victor, 26/10: sem esfumado embaixo da foto */
}

/* Movimento opcional: altere data-bbb-motion="on" para "off" no elemento raiz. */
.bbb-site[data-bbb-motion="on"] .bbb-portrait-red {
  animation: bbb-red-float 11s ease-in-out infinite alternate;
}

@keyframes bbb-red-float {
  from { transform: rotate(-15deg) translateY(0); }
  to { transform: rotate(-13deg) translateY(-7px); }
}

/* Faixa de áreas de atuação, preservando as três áreas da referência. */
.bbb-site .bbb-practices {
  position: relative;
  z-index: 7;
  border-top: 1px solid var(--bbb-line);
  background: linear-gradient(180deg, rgb(230 224 213 / 0.14), rgb(230 224 213 / 0.04));
}

.bbb-site .bbb-practice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-block: 26px;
  padding-inline: 0;
  list-style: none;
}

.bbb-site .bbb-practice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 48px);
  min-width: 0;
  min-height: 42px;
  padding-inline: 20px;
}

.bbb-site .bbb-practice:first-child {
  justify-content: flex-start;
  padding-left: 0;
}

.bbb-site .bbb-practice + .bbb-practice {
  border-left: 1px solid var(--bbb-line);
}

.bbb-site .bbb-practice-index {
  display: block;
  flex: 0 0 auto;
  color: var(--bbb-red);
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.04em;
}

.bbb-site .bbb-practice-index::after {
  display: block;
  content: "";
  width: 26px;
  height: 1px;
  margin-top: 10px;
  background: var(--bbb-red);
  opacity: 0.65;
}

.bbb-site .bbb-practice-name {
  font-family: var(--bbb-serif);
  font-size: clamp(21px, 2.1vw, 29px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

/* Tablet horizontal. */
@media (max-width: 1120px) {
  .bbb-site .bbb-header-inner { gap: 20px; }
  .bbb-site .bbb-nav-list { gap: 8px 18px; }
  .bbb-site .bbb-nav-list a { font-size: 13px; }
  .bbb-site .bbb-hero-grid { min-height: 640px; }
  .bbb-site .bbb-hero-copy { padding-block: 46px 38px; }
  .bbb-site .bbb-eyebrow { gap: 10px; font-size: 9px; letter-spacing: 0.14em; }
  .bbb-site .bbb-eyebrow > span { flex-basis: 27px; }
  .bbb-site .bbb-title { font-size: clamp(48px, 5.75vw, 66px); }
  .bbb-site .bbb-description { margin-top: 23px; font-size: 19px; }
  .bbb-site .bbb-actions { gap: 16px 20px; margin-top: 27px; }
  .bbb-site .bbb-button { min-height: 56px; padding: 16px 20px; font-size: 14px; gap: 12px; }
  .bbb-site .bbb-secondary-link { font-size: 14px; }
  .bbb-site .bbb-trust { gap: 18px; margin-top: 29px; padding-top: 20px; }
  .bbb-site .bbb-trust-item { font-size: 13px; }
  .bbb-site .bbb-trust-item + .bbb-trust-item { padding-left: 18px; }
  .bbb-site .bbb-portrait { width: calc(100% + 20px); margin-inline: -10px; aspect-ratio: 0.76; }
  .bbb-site .bbb-portrait-red { top: 17%; height: 77%; }
  .bbb-site .bbb-portrait-slab { top: 25%; height: 70%; }
}

/* Tablet vertical: leitura primeiro; retrato completo logo abaixo. */
@media (max-width: 860px) {
  .bbb-site .bbb-header-inner { flex-wrap: wrap; justify-content: center; padding-block: 17px 11px; }
  .bbb-site .bbb-nav { width: 100%; }
  .bbb-site .bbb-nav-list { justify-content: center; gap: 8px 24px; }
  .bbb-site .bbb-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 0; }
  .bbb-site .bbb-hero-copy { width: 100%; max-width: 690px; margin-inline: auto; padding-block: 50px 18px; }
  .bbb-site .bbb-eyebrow { margin-bottom: 24px; font-size: 10px; letter-spacing: 0.17em; }
  .bbb-site .bbb-title { font-size: clamp(44px, 8.8vw, 76px); }
  .bbb-site .bbb-description { max-width: 630px; font-size: 21px; }
  .bbb-site .bbb-button { min-height: 60px; padding: 18px 26px; font-size: 16px; }
  .bbb-site .bbb-secondary-link { font-size: 16px; }
  .bbb-site .bbb-trust-item { font-size: 15px; }
  .bbb-site .bbb-portrait { width: min(100%, 620px); margin: 10px auto 0; aspect-ratio: 0.96; }
  .bbb-site .bbb-portrait-red { top: 0%; height: 88%; }
  .bbb-site .bbb-portrait-slab { top: 11%; height: 84%; }
  .bbb-site .bbb-practice { gap: 18px; padding-inline: 16px; }
  .bbb-site .bbb-practice-name { font-size: 22px; }
}

/* Celular: sem cortes no rosto, rolagem lateral ou dependência de menu JS. */
@media (max-width: 560px) {
  .bbb-site { --bbb-gutter: 22px; }
  .bbb-site .bbb-header-inner { justify-content: flex-start; gap: 14px; padding-block: 17px 9px; }
  .bbb-site .bbb-brand { gap: 10px; }
  .bbb-site .bbb-monogram { flex-basis: 22px; font-size: 35px; }
  .bbb-site .bbb-brand-name { font-size: 17px; }
  .bbb-site .bbb-brand-subtitle { font-size: 8px; }
  .bbb-site .bbb-nav-list { justify-content: space-between; gap: 6px 12px; }
  .bbb-site .bbb-nav-list a { font-size: 12px; }
  .bbb-site .bbb-hero-copy { padding-block: 36px 10px; }
  .bbb-site .bbb-eyebrow { gap: 10px; margin-bottom: 23px; font-size: 8px; letter-spacing: 0.12em; }
  .bbb-site .bbb-eyebrow > span { flex-basis: 22px; }
  .bbb-site .bbb-title { font-size: clamp(35px, 9.2vw, 51px); line-height: 1.1; letter-spacing: -0.06em; }
  .bbb-site .bbb-title em { letter-spacing: -0.05em; }
  .bbb-site .bbb-description { margin-top: 21px; font-size: 17px; line-height: 1.55; }
  .bbb-site .bbb-actions { align-items: flex-start; flex-direction: column; gap: 13px; margin-top: 25px; }
  .bbb-site .bbb-button { width: 100%; min-height: 57px; font-size: 15px; }
  .bbb-site .bbb-secondary-link { min-height: 44px; font-size: 15px; }
  .bbb-site .bbb-trust { align-items: stretch; gap: 16px; margin-top: 27px; padding-top: 19px; }
  .bbb-site .bbb-trust-item { align-items: center; gap: 7px; flex: 1 1 0; font-size: 12px; }
  .bbb-site .bbb-trust-item + .bbb-trust-item { padding-left: 16px; }
  .bbb-site .bbb-trust-item .bbb-trust-number { font-size: 21px; }
  .bbb-site .bbb-portrait { width: calc(100% + 12px); margin: 20px -6px 0; aspect-ratio: 0.88; }
  .bbb-site .bbb-portrait-red { right: -1%; width: 66%; }
  .bbb-site .bbb-portrait-fade { height: 14%; }
  .bbb-site .bbb-practice-list { grid-template-columns: minmax(0, 1fr); padding-block: 0; }
  .bbb-site .bbb-practice,
  .bbb-site .bbb-practice:first-child { justify-content: flex-start; gap: 24px; min-height: 76px; padding: 18px 0; }
  .bbb-site .bbb-practice + .bbb-practice { border-left: 0; border-top: 1px solid var(--bbb-line); }
  .bbb-site .bbb-practice-index { font-size: 13px; }
  .bbb-site .bbb-practice-index::after { width: 24px; margin-top: 8px; }
  .bbb-site .bbb-practice-name { font-size: 25px; }
}

@media (max-width: 360px) {
  .bbb-site { --bbb-gutter: 18px; }
  .bbb-site .bbb-brand-name { font-size: 15px; }
  .bbb-site .bbb-nav-list { justify-content: flex-start; column-gap: 16px; }
  .bbb-site .bbb-title { font-size: 34px; }
  .bbb-site .bbb-eyebrow { font-size: 7px; letter-spacing: 0.09em; }
}

@media (prefers-reduced-motion: reduce) {
  .bbb-site *,
  .bbb-site *::before,
  .bbb-site *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Versão isolada: use este contêiner quando quiser apenas o efeito da foto. */
.bbb-site.bbb-photo-only {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  padding: 32px clamp(20px, 5vw, 70px) 0;
}

.bbb-site.bbb-photo-only .bbb-portrait {
  width: 100%;
  margin: 0;
  aspect-ratio: 0.91;
}

.bbb-site.bbb-photo-only .bbb-portrait-red {
  top: 0;
  right: -5%;
  height: 88%;
}

.bbb-site.bbb-photo-only .bbb-portrait-slab {
  top: 11%;
  height: 84%;
}

/* Primeira dobra: cabeçalho, hero e faixa de áreas cabem juntos na tela do desktop. */
@media (min-width: 861px) {
  .bbb-site { --bbb-topo: 77px; --bbb-faixa: 111px; }
  .bbb-site .bbb-hero-grid {
    min-height: 0;
    height: calc(100svh - var(--bbb-topo) - var(--bbb-faixa));
    min-height: 520px;
  }
  .bbb-site .bbb-hero-copy { padding-block: 0; }
  .bbb-site .bbb-eyebrow { margin-bottom: clamp(14px, 2.6svh, 27px); }
  .bbb-site .bbb-title { font-size: clamp(44px, min(5.3vw, 9.6svh), 89px); }
  .bbb-site .bbb-description { margin-top: clamp(14px, 2.8svh, 29px); }
  .bbb-site .bbb-actions { margin-top: clamp(18px, 3.3svh, 34px); }
  .bbb-site .bbb-trust { margin-top: clamp(18px, 3.6svh, 38px); padding-top: clamp(14px, 2.2svh, 23px); }
  .bbb-site .bbb-portrait {
    width: auto;
    height: calc(100% - clamp(16px, 3svh, 32px));
    max-width: calc(100% + 32px);
    aspect-ratio: 0.91;
  }
}

/* Contorno do plano vermelho: filete que acompanha a borda direita e some nas pontas. */
.bbb-site .bbb-portrait-red::before {
  position: absolute;
  content: "";
  inset: -16px;
  border: 2px solid transparent;
  border-right-color: var(--bbb-red);
  border-bottom-color: var(--bbb-red);
  border-radius: inherit;
  opacity: 0.85;
  pointer-events: none;
}

/*
 * Fundo da escrita, de trás para frente:
 * 1. luz quente no alto à esquerda e um calor vermelho bem fraco embaixo;
 * 2. grão de papel; 3. "B" do monograma em contorno, gigante e apagado;
 * 4. arco fino que ecoa o contorno da foto.
 */
.bbb-site .bbb-hero::before {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 8% 18%, rgb(255 255 255 / 0.85), transparent 70%),
    radial-gradient(ellipse 40% 45% at 30% 100%, rgb(223 36 41 / 0.07), transparent 70%),
    radial-gradient(ellipse 35% 50% at 52% 40%, rgb(230 224 213 / 0.55), transparent 75%);
  pointer-events: none;
}

.bbb-site .bbb-hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.bbb-site .bbb-hero-copy::before {
  position: absolute;
  z-index: -1;
  content: "B";
  top: 50%;
  left: -0.42em;
  transform: translateY(-50%);
  font-family: var(--bbb-sans);
  font-size: clamp(480px, 78svh, 820px);
  font-weight: 200;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.2px rgb(23 26 29 / 0.09);
  pointer-events: none;
  user-select: none;
}

.bbb-site .bbb-hero-copy::after {
  position: absolute;
  z-index: -1;
  content: "";
  top: -18%;
  left: 38%;
  width: 70%;
  height: 135%;
  border: 1px solid transparent;
  border-top-color: rgb(223 36 41 / 0.22);
  border-right-color: rgb(223 36 41 / 0.12);
  border-radius: 50%;
  transform: rotate(18deg);
  pointer-events: none;
}

@media (max-width: 860px) {
  .bbb-site .bbb-hero-copy::before { font-size: 320px; top: 40%; }
  .bbb-site .bbb-hero-copy::after { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .bbb-site[data-bbb-motion="on"] .bbb-hero::before { animation: bbb-luz 14s ease-in-out infinite alternate; }
}

@keyframes bbb-luz {
  from { opacity: 1; }
  to { opacity: 0.8; }
}

/* Atrás do retrato: luz branca e anéis finos que se dissolvem para fora. */
.bbb-site .bbb-portrait::before,
.bbb-site .bbb-portrait::after {
  position: absolute;
  z-index: -1;
  content: "";
  inset: -22% -30% -4% -34%;
  pointer-events: none;
}

.bbb-site .bbb-portrait::before {
  background: radial-gradient(circle at 52% 40%, rgb(255 255 255 / 0.95) 0, rgb(255 255 255 / 0.4) 32%, transparent 62%);
}

.bbb-site .bbb-portrait::after {
  background: repeating-radial-gradient(circle at 52% 40%, transparent 0 54px, rgb(223 36 41 / 0.16) 55px, transparent 56px);
  -webkit-mask-image: radial-gradient(circle at 52% 40%, #000 30%, transparent 72%);
  mask-image: radial-gradient(circle at 52% 40%, #000 30%, transparent 72%);
}

/* ═══ Encaixe no site do escritório ═══
   O componente veio pronto para ser solto numa página qualquer. Aqui ele herda
   o papel, o vermelho da marca, a Roboto e a mesma coluna do cabeçalho. */
.bbb-site {
  --bbb-paper-rgb: 245 243 239;
  --bbb-red: var(--brand);
  --bbb-red-dark: var(--brand-deep);
  --bbb-ink: var(--ink);
  --bbb-sans: var(--sans);
  --bbb-topo: var(--topo-h, 65px);
  background: var(--paper);
}
.bbb-site .bbb-hero,
.bbb-site .bbb-practices { padding: 0; }
.bbb-site .bbb-container,
.bbb-site .bbb-container.bbb-practice-list {
  width: auto;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gut);
}
.bbb-site .bbb-button { border-radius: 2px; }

/* Faixa de números no pé do hero: valor em serifa, legenda pequena embaixo. */
.bbb-site .bbb-practice-list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 22px; }
.bbb-site .bbb-practice { justify-content: flex-start; gap: 18px; padding-inline: 28px; }
.bbb-site .bbb-practice-name b { font-weight: 400; white-space: nowrap; }
.bbb-site .bbb-practice-name .estrela { color: var(--bbb-red); font-size: .7em; vertical-align: .15em; }
.bbb-site .bbb-practice-name small {
  display: block; margin-top: 4px;
  font-family: var(--bbb-sans); font-size: 13px; line-height: 1.4; letter-spacing: 0;
  color: var(--bbb-muted);
}
.bbb-site .bbb-practice-name small a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--bbb-line); }
.bbb-site .bbb-practice-name small a:hover { color: var(--bbb-red-dark); }

@media (max-width: 1000px) {
  .bbb-site .bbb-practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bbb-site .bbb-practice:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .bbb-site .bbb-practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 18px; }
  .bbb-site .bbb-practice,
  .bbb-site .bbb-practice:first-child { gap: 12px; min-height: 0; padding: 12px 0; }
  .bbb-site .bbb-practice + .bbb-practice { border-top: 0; }
  .bbb-site .bbb-practice:nth-child(even) { border-left: 1px solid var(--bbb-line); padding-left: 14px; }
  .bbb-site .bbb-practice-index { display: none; }
  .bbb-site .bbb-practice-name { font-size: 24px; }
}
.bbb-site { --bbb-faixa: 102px; }
.bbb-site .bbb-hero-copy::before { font-family: -apple-system, "Helvetica Neue", Arial, sans-serif; }

/* ═══ Hero do celular, no padrão da casa (Victor, 26/10/2026) ═══
   Abaixo de 1024px a cena do Dr. vem primeiro, de ponta a ponta, e some
   no papel embaixo; o texto sobe ~28px por cima dela, centralizado. O que é
   enfeite do desktop (o "B" gigante, o arco atrás do texto, o traço do
   rótulo) sai. Botão na largura toda com o ícone do WhatsApp à esquerda,
   separado por um fio. */
.bbb-site .bbb-button-ico { display: none; }
@media (max-width: 1023px) {
  .bbb-site .bbb-hero-grid {
    display: flex; flex-direction: column; height: auto; min-height: 0; gap: 0;
  }
  .bbb-site .bbb-portrait {
    order: -1; width: auto; height: auto; max-width: none;
    margin: 0 calc(-1 * var(--gut)); aspect-ratio: 1 / 1.02;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .bbb-site .bbb-portrait-red { top: 6%; right: 2%; width: 60%; height: 80%; }
  .bbb-site .bbb-portrait-slab { top: 16%; left: 17%; width: 66%; height: 84%; }
  .bbb-site .bbb-portrait-image { --bbb-portrait-x: 0%; }
  .bbb-site .bbb-portrait-contour { display: none; }
  .bbb-site .bbb-portrait::before, .bbb-site .bbb-portrait::after { inset: -10% -10% 0 -10%; }

  .bbb-site .bbb-hero-copy { margin-top: -28px; padding: 0 0 36px; text-align: center; }
  .bbb-site .bbb-hero-copy::before, .bbb-site .bbb-hero-copy::after { display: none; }
  .bbb-site .bbb-eyebrow { justify-content: center; margin-bottom: 16px; font-size: 10px; letter-spacing: .14em; }
  .bbb-site .bbb-eyebrow > span { display: none; }
  .bbb-site .bbb-title { font-size: clamp(32px, 8.8vw, 40px); line-height: 1.08; letter-spacing: -0.05em; }
  .bbb-site .bbb-description { margin: 16px auto 0; max-width: 34ch; font-size: 16px; line-height: 1.6; }
  .bbb-site .bbb-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 26px; }
  .bbb-site .bbb-button {
    position: relative; width: 100%; min-height: 54px; padding: 0 20px 0 64px; border-radius: 12px; font-size: 15px;
  }
  .bbb-site .bbb-button-ico {
    display: grid; place-items: center; position: absolute; left: 0; top: 0; bottom: 0; width: 52px;
    border-right: 1px solid rgb(255 255 255 / .28);
  }
  .bbb-site .bbb-button-ico svg { width: 20px; height: 20px; fill: currentColor; }
  .bbb-site .bbb-secondary-link { align-self: center; font-size: 14px; }

  /* números no pé do hero: 2 x 2, centralizados */
  .bbb-site .bbb-practice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 8px; }
  .bbb-site .bbb-practice,
  .bbb-site .bbb-practice:first-child,
  .bbb-site .bbb-practice:nth-child(3) { justify-content: center; text-align: center; padding: 16px 8px; border-left: 0; }
  .bbb-site .bbb-practice:nth-child(even) { border-left: 1px solid var(--bbb-line); }
  .bbb-site .bbb-practice:nth-child(n+3) { border-top: 1px solid var(--bbb-line); }
  .bbb-site .bbb-practice-index { display: none; }
  .bbb-site .bbb-practice-name { font-size: 26px; }
}
@media (max-width: 1023px) {
  .bbb-site .bbb-portrait { width: calc(100% + 2 * var(--gut)); flex: 0 0 auto; align-self: auto; justify-self: auto; }
}
