/* Paleta Bebaby
   - Fundo claro
   - Texto em preto
   - Rosa e lilás como destaque
*/

:root {
  --bb-bg: #fdfbff;           /* fundo clarinho puxando pro lilás */
  --bb-bg-soft: #f9f5ff;      /* bloco suave */
  --bb-text: #111111;         /* quase preto */
  --bb-rosa: #ec4899;         /* rosa destaque */
  --bb-rosa-soft: #fce7f3;    /* rosa clarinho */
  --bb-lilas: #a855f7;        /* lilás forte */
  --bb-lilas-soft: #ede9fe;   /* lilás clarinho */
  --bb-border: #e5e7eb;
  --bb-max-width: 1080px;
  --bb-radius-lg: 18px;
  --bb-radius-xl: 26px;
}

/* Reset simples */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bb-bg);
  color: var(--bb-text);
  line-height: 1.6;
}

a {
  color: var(--bb-lilas);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Layout base */

.bb-container {
  max-width: var(--bb-max-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */

.bb-header {
  border-bottom: 1px solid var(--bb-border);
  background: #ffffffcc;
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.bb-logo-main {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bb-lilas);
}

.bb-logo-sub {
  display: block;
  font-size: 0.8rem;
  color: #6b7280;
}

.bb-logo {
  display: flex;
  flex-direction: column;
}

/* Navegação */

.bb-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.95rem;
}

.bb-nav a {
  color: #111827;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 999px;
}

.bb-nav a:hover {
  background: var(--bb-lilas-soft);
  text-decoration: none;
}

.bb-nav-active {
  background: var(--bb-rosa-soft);
  color: var(--bb-rosa) !important;
}

/* Dropdown simples para categorias (versão inicial desktop) */

.bb-nav-categories {
  position: relative;
  font-size: 0.9rem;
}

.bb-nav-categories > span {
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--bb-bg-soft);
}

.bb-nav-categories ul {
  position: absolute;
  right: 0;
  top: 120%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  padding: 10px;
  list-style: none;
  display: none;
  min-width: 220px;
}

.bb-nav-categories:hover ul {
  display: block;
}

.bb-nav-categories li a {
  display: block;
  padding: 6px 10px;
  border-radius: 999px;
  color: #111827;
}

.bb-nav-categories li a:hover {
  background: var(--bb-lilas-soft);
}

/* Hero */

.bb-hero {
  padding: 48px 0 40px;
  background: radial-gradient(circle at top left, #fdf2ff, #f9f5ff 48%, #ffffff 100%);
}

/* Home: conteúdo do hero um pouco mais alto */
.bb-hero--home {
  padding: 36px 0 36px;
}

.bb-hero-small {
  padding: 32px 0 24px;
  background: radial-gradient(circle at top left, #fdf2ff, #f9f5ff 40%, #ffffff 100%);
}

.bb-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: center;
}

.bb-hero h1 {
  font-size: 2.1rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.bb-home-hero-highlight {
  color: #ff6f7d;
  font-weight: inherit;
}

/* Quebras de linha no título / parágrafo da home — só mobile (≤767px) */
.bb-home-h1-br,
.bb-home-hero-p-br {
  display: none;
}

@media (max-width: 767px) {
  .bb-home-h1-br,
  .bb-home-hero-p-br {
    display: inline;
  }
}

.bb-hero p {
  font-size: 1rem;
  color: #4b5563;
}

.bb-hero-text {
  max-width: 640px;
}

.bb-hero-side {
  display: flex;
  justify-content: flex-end;
}

.bb-hero-card {
  background: #ffffff;
  border-radius: var(--bb-radius-xl);
  padding: 20px 20px 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--bb-lilas-soft);
}

.bb-hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.bb-hero-card ul {
  list-style: none;
  font-size: 0.92rem;
}

.bb-hero-card li {
  padding-left: 18px;
  position: relative;
  margin-bottom: 6px;
  color: #4b5563;
}

.bb-hero-card li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 0.6rem;
  color: var(--bb-rosa);
}

/* Botões */

.bb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
}

.bb-button-primary {
  background: linear-gradient(135deg, var(--bb-rosa), var(--bb-lilas));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(236, 72, 153, 0.35);
}

.bb-button-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.4);
  text-decoration: none;
}

.bb-hero-cta {
  margin-top: 20px;
}

.bb-home-cta-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: min(500px, 100%);
}

.bb-home-final-cta .bb-home-cta-stack {
  margin-inline: auto;
}

/* Fundo mais escuro que #ff6f7d para WCAG ≥4.5:1 com texto branco */
.bb-home-cta-button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  background: #c81e42;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(200, 30, 66, 0.4);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.bb-home-cta-button:hover {
  background: #a51738;
  box-shadow: 0 12px 32px rgba(165, 23, 56, 0.45);
  filter: none;
  transform: translateY(-1px);
}

.bb-home-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 1.1;
}

.bb-home-cta-arrow {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
}

.bb-home-cta-sub {
  font-size: 0.56em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 1;
}

.bb-home-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bb-home-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  text-decoration: none !important;
}

.bb-home-cta-book {
  flex-shrink: 0;
}

.bb-home-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.bb-home-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.bb-home-trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bb-hero-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #6b7280;
}

.bb-home-highlights {
  padding-top: 12px;
  background: #f5f4f0;
}

.bb-home-highlights-inner {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.bb-home-find-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin: 0 0 1.35rem;
}

.bb-home-find-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}

.bb-home-find-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  box-sizing: border-box;
  margin: 0;
}

.bb-home-find-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.bb-home-find-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #ffffff;
  margin: 0;
  box-shadow: 0 8px 22px rgba(236, 72, 153, 0.18);
  flex-shrink: 0;
}

.bb-home-find-icon svg {
  display: block;
  width: 28px;
  height: 28px;
}

.bb-home-find-h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  line-height: 1.28;
}

.bb-home-find-text {
  font-size: 0.9rem;
  line-height: 1.52;
  color: #4b5563;
  margin: 0;
}

/* Home — “O que você encontra aqui”: ícone à esquerda, texto à direita; mobile mais compacto */
@media (max-width: 767px) {
  .bb-home-highlights {
    padding-top: 10px;
  }

  .bb-home-find-title {
    font-size: 1.08rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    letter-spacing: 0.01em;
  }

  .bb-home-find-list {
    gap: 10px;
  }

  .bb-home-find-item {
    gap: 12px;
    background: linear-gradient(180deg, #fdfcfa 0%, #f8f5f0 100%);
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 14px;
    padding: 12px 14px 14px;
    box-shadow: 0 6px 22px rgba(17, 24, 39, 0.05);
  }

  .bb-home-find-body {
    gap: 0.2rem;
  }

  .bb-home-find-h3 {
    font-size: 0.92rem;
  }

  .bb-home-find-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: #5b6470;
  }

  .bb-home-find-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.1);
  }

  .bb-home-find-icon svg {
    width: 22px;
    height: 22px;
  }
}

/* Tablet: grelha 2 colunas; cada cartão mantém ícone | texto */
@media (min-width: 768px) {
  .bb-home-find-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .bb-home-find-item {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    background: #faf8f5;
    border: 1px solid rgba(17, 24, 39, 0.06);
    border-radius: 18px;
    padding: 18px 18px 20px;
    gap: 16px;
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.04);
  }
}

/* Desktop: 4 colunas */
@media (min-width: 1024px) {
  .bb-home-find-list {
    gap: 22px;
  }

  .bb-home-find-item {
    flex: 0 0 calc(25% - 16.5px);
    padding: 16px 14px 18px;
    gap: 12px;
  }

  .bb-home-find-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .bb-home-find-icon svg {
    width: 24px;
    height: 24px;
  }

  .bb-home-find-h3 {
    font-size: 0.95rem;
  }

  .bb-home-find-text {
    font-size: 0.82rem;
    line-height: 1.45;
  }
}

/* Home — depoimentos (entre “O que você encontra aqui” e Destaques do Blog) */
.bb-home-testimonials {
  padding: 32px 0 36px;
  background: #f5f4f0;
}

.bb-home-testimonials-title {
  font-size: clamp(1.15rem, 3.5vw, 1.45rem);
  font-weight: 800;
  color: #111827;
  text-align: center;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  line-height: 1.25;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.bb-home-testimonials-lead {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
  text-align: center;
  margin: 0 auto 22px;
  max-width: 640px;
}

.bb-home-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.bb-home-testimonial-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bb-home-testimonial-stars {
  color: #e6a800;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.bb-home-testimonial-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 14px;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 111, 125, 0.35);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.15);
  background: linear-gradient(145deg, #fce7f3 0%, #fbcfe8 100%);
}

.bb-home-testimonial-avatar-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.bb-home-testimonial-name {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.3;
}

.bb-home-testimonial-quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #374151;
  margin: 0 0 14px;
  text-align: left;
}

.bb-home-testimonial-meta {
  font-size: 0.75rem;
  color: #6b7280;
  margin: 0;
  margin-top: auto;
}

.bb-home-testimonial-meta-sep {
  margin: 0 0.35rem;
}

@media (min-width: 768px) {
  .bb-home-testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .bb-home-testimonial-card {
    padding: 22px 20px 20px;
    align-items: stretch;
  }

  .bb-home-testimonial-stars,
  .bb-home-testimonial-avatar-wrap {
    align-self: center;
  }

  .bb-home-testimonial-name {
    text-align: center;
    align-self: center;
  }

  .bb-home-testimonial-meta {
    text-align: center;
  }
}

@media (min-width: 1024px) {
  .bb-home-testimonials {
    padding: 40px 0 44px;
  }

  .bb-home-testimonials-grid {
    gap: 22px;
  }
}

/* Depoimentos — mobile: respiro e leitura mais confortável */
@media (max-width: 767px) {
  .bb-home-testimonials {
    padding: 28px 0 36px;
  }

  .bb-home-testimonials-title {
    margin-bottom: 14px;
    padding: 0 4px;
    line-height: 1.32;
  }

  .bb-home-testimonials-lead {
    font-size: 0.89rem;
    line-height: 1.62;
    margin-bottom: 26px;
    padding: 0 2px;
    color: #4b5563;
  }

  .bb-home-testimonials-grid {
    gap: 22px;
  }

  .bb-home-testimonial-card {
    padding: 22px 20px 20px;
    border-radius: 20px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
  }

  .bb-home-testimonial-stars {
    font-size: 1.05rem;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
  }

  .bb-home-testimonial-avatar-wrap {
    width: 78px;
    height: 78px;
    margin-bottom: 16px;
  }

  .bb-home-testimonial-name {
    font-size: 1.02rem;
    line-height: 1.38;
    margin-bottom: 14px;
    padding: 0 2px;
  }

  .bb-home-testimonial-quote {
    font-size: 0.93rem;
    line-height: 1.68;
    color: #434851;
    margin-bottom: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(17, 24, 39, 0.06);
    text-align: left;
    letter-spacing: 0.01em;
  }

  .bb-home-testimonial-meta {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(17, 24, 39, 0.05);
    font-size: 0.78rem;
    line-height: 1.5;
    color: #6b7280;
    width: 100%;
    text-align: center;
  }
}

.bb-home-banner-alt {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Home — tablet/mobile: mesmo DNA do desktop (banner + vinheta + CTAs claros sobre foto) */
@media (max-width: 1023px) {
  .bb-hero--home {
    position: relative;
    isolation: isolate;
    margin-top: -52px;
    padding: 72px 0 44px;
    /* Substitui o gradiente claro de .bb-hero — mesmo tratamento visual do desktop */
    background:
      radial-gradient(55% 100% at 50% 0%, rgba(0, 0, 0, 0.48) 0%, rgba(0, 0, 0, 0.22) 42%, rgba(0, 0, 0, 0) 72%),
      linear-gradient(180deg, rgba(10, 10, 12, 0.85) 0%, rgba(10, 10, 12, 0.65) 42%, rgba(10, 10, 12, 0.4) 72%, rgba(10, 10, 12, 0.58) 100%),
      url('/sugar-baby-elegante-meu-patrocinio-univero-sugar.webp') center / cover no-repeat #121214;
  }

  .bb-hero--home .bb-hero-text h1 {
    color: #ffffff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    font-size: clamp(1.32rem, 5.2vw, 1.95rem);
    line-height: 1.22;
  }

  .bb-hero--home .bb-hero-text p {
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.38);
  }

  .bb-hero--home .bb-home-hero-highlight {
    color: #ff6f7d;
  }

  .bb-home-recent-header.bb-section-header {
    gap: 12px;
  }
}

/* Home — somente mobile: banner sem vinheta escura (texto usa sombra própria) */
@media (max-width: 767px) {
  /* Fundo preto por baixo do header (gradiente transparente não revela lilás do body) */
  body.bb-page-home {
    background: #000000;
  }

  .bb-hero--home {
    /* Menos altura em baixo = recorte visual “de baixo para cima”; posição um pouco mais baixa */
    padding: 58px 0 26px;
    /* Caixa do hero preta; zoom leve (99%) */
    background-color: #000000;
    background-image: url('/estilo-de-vida-sugar-premium-mobile-bebaby.webp?v=seo20260406');
    background-position: center 65%;
    background-size: 99% auto;
    background-repeat: no-repeat;
  }

  .bb-hero--home .bb-hero-text {
    padding-top: 1.75rem;
  }

  .bb-hero--home .bb-hero-text p {
    font-size: 0.85rem;
    line-height: 1.3;
    /* Contraste extra no banner mobile (áreas claras da foto + fonte menor) */
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  }

  /* Segurança / Conteúdo diário / Leitura rápida — sempre uma linha no mobile */
  .bb-hero--home .bb-home-trust-row {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 5px 6px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .bb-hero--home .bb-home-trust-item {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    font-size: clamp(0.6rem, 2.5vw, 0.74rem);
    gap: 3px;
  }

  .bb-hero--home .bb-home-trust-icon svg {
    width: 15px;
    height: 15px;
  }
}

@media (max-width: 640px) {
  /* Título + “Ver todos” na mesma linha (título à esquerda, link à direita) */
  .bb-home-recent-header.bb-section-header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .bb-home-recent-header .bb-link-more.bb-home-recent-more {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .bb-section.bb-home-recent-posts .bb-section-header h2 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    font-size: clamp(0.95rem, 3.8vw, 1.25rem);
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .bb-hero--home {
    padding: 52px 0 22px;
    background-position: center 65%;
  }

  .bb-post-card--home-overlay,
  .bb-post-card-home-link {
    min-height: min(72vw, 300px);
  }

  .bb-post-card-home-title {
    font-size: 0.98rem;
    -webkit-line-clamp: 4;
  }

  .bb-faq-details summary {
    padding: 14px 40px 14px 14px;
    font-size: 0.92rem;
  }
}

/* Seções */

.bb-section {
  padding: 36px 0;
}

.bb-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.bb-section-header h2 {
  font-size: 1.3rem;
}

.bb-link-more {
  font-size: 0.9rem;
}

/* Cards de posts */

/* Blog / categoria — mesmo idioma visual da home (Destaques do Blog) */
body.bb-page-blog {
  background: #000000;
}

.bb-blog-page-hero {
  padding: 44px 0 36px;
  background: linear-gradient(180deg, #0a0a0a 0%, #111111 55%, #000000 100%);
  color: #f9fafb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-blog-page-hero .bb-home-hero-highlight {
  color: #ff6f7d;
}

.bb-blog-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff6f7d;
  margin-bottom: 12px;
}

.bb-blog-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #ffffff;
}

.bb-blog-hero-lead {
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 52ch;
}

.bb-blog-hero-lead strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.bb-blog-hero-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}

.bb-blog-hero-cta a {
  color: #ff6f7d;
  font-weight: 600;
  text-decoration: none !important;
}

.bb-blog-hero-cta a:hover {
  text-decoration: underline !important;
}

.bb-blog-hero-cta-sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.bb-breadcrumb--on-dark {
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.bb-breadcrumb--on-dark a {
  color: #ff6f7d;
  text-decoration: none !important;
}

.bb-breadcrumb--on-dark a:hover {
  text-decoration: underline !important;
}

.bb-blog-posts-section {
  padding-top: 28px;
  padding-bottom: 52px;
}

.bb-blog-empty {
  color: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 40px 16px 8px;
  font-size: 1.02rem;
  line-height: 1.55;
}

.bb-blog-empty-link {
  color: #ff6f7d !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bb-blog-empty-link:hover {
  text-decoration: underline !important;
}

.bb-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.bb-post-card {
  background: #ffffff;
  border-radius: var(--bb-radius-lg);
  padding: 16px 16px 14px;
  border: 1px solid var(--bb-border);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

.bb-post-card h2,
.bb-post-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.bb-post-excerpt {
  font-size: 0.92rem;
  color: #4b5563;
  margin-bottom: 8px;
}

.bb-post-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 6px;
}

.bb-post-readmore {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--bb-rosa);
}

/* Home — últimos posts (cards com imagem + overlay) */
.bb-section.bb-home-recent-posts {
  background: #000000;
  color: #f9fafb;
}

.bb-home-recent-header h2 {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.bb-home-recent-header.bb-section-header {
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.bb-home-recent-header .bb-link-more.bb-home-recent-more {
  flex-shrink: 0;
  margin-left: auto;
}

/* Link no cabeçalho — cor da marca (#FF6F7D) */
.bb-section.bb-home-recent-posts .bb-link-more.bb-home-recent-more,
.bb-section.bb-home-recent-posts .bb-home-recent-more {
  color: #ff6f7d !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bb-section.bb-home-recent-posts .bb-link-more.bb-home-recent-more:hover,
.bb-section.bb-home-recent-posts .bb-home-recent-more:hover {
  color: #ff6f7d !important;
  text-decoration: underline !important;
}

.bb-posts-grid--home-recent {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media (max-width: 900px) {
  .bb-posts-grid--home-recent {
    grid-template-columns: 1fr;
  }
}

.bb-post-card--home-overlay {
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
  border-radius: 20px;
  overflow: hidden;
  min-height: 340px;
}

.bb-post-card-home-link {
  display: block;
  position: relative;
  min-height: 340px;
  color: #ffffff;
  text-decoration: none !important;
}

.bb-post-card-home-link:hover {
  color: #ffffff;
}

.bb-post-card-home-link:hover .bb-post-card-home-img {
  transform: scale(1.05);
}

.bb-post-card-home-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.bb-post-card-home-media--placeholder {
  background: linear-gradient(145deg, #1e1b4b 0%, #312e81 45%, #0f172a 100%);
}

.bb-post-card-home-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}

.bb-post-card-home-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.25) 35%,
    rgba(0, 0, 0, 0.72) 68%,
    rgba(0, 0, 0, 0.92) 100%
  );
  pointer-events: none;
}

.bb-post-card-home-cat {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(120, 85, 55, 0.92) 0%, rgba(45, 38, 34, 0.96) 100%);
  border: 1px solid rgba(255, 210, 170, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb-post-card-home-title {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 52px;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bb-post-card-home-footer {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.bb-post-card-home-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

.bb-post-card-home-clock {
  flex-shrink: 0;
  opacity: 0.9;
}

.bb-post-card-home-dot {
  opacity: 0.65;
  padding: 0 1px;
}

/* Breadcrumb */

.bb-breadcrumb {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 6px;
}

/* Página de post — hero com imagem de capa + faixa de metadados (estilo home) */

body.bb-page-post {
  background: #ffffff;
}

/* Banner: imagem em destaque (por defeito sobe por baixo do header portal; em .bb-page-post isso é anulado) */
.bb-post-hero-banner {
  position: relative;
  margin-top: -80px;
  padding-top: calc(56px + 80px);
  min-height: min(52vh, 520px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  z-index: 0;
}

@media (min-width: 1024px) {
  .bb-post-hero-banner {
    margin-top: -88px;
    padding-top: calc(56px + 88px);
    min-height: min(46vh, 560px);
  }
}

/* Posts: cabeçalho opaco (caixa preta) + hero começa abaixo — banner não fica por trás do menu */
body.bb-page-post .bb-header--portal {
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (min-width: 1024px) {
  body.bb-page-post .bb-header--portal {
    background: #000000;
  }
}

body.bb-page-post .bb-post-hero-banner {
  margin-top: 0;
  padding-top: 20px;
  min-height: min(48vh, 520px);
}

@media (min-width: 1024px) {
  body.bb-page-post .bb-post-hero-banner {
    margin-top: 0;
    padding-top: 24px;
    min-height: min(46vh, 560px);
  }
}

.bb-post-hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bb-post-hero-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bb-post-hero-banner__media--fallback {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1e 52%, #0c0c0e 100%);
}

.bb-post-hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.2) 42%,
    rgba(0, 0, 0, 0.55) 72%,
    rgba(0, 0, 0, 0.82) 100%
  );
  pointer-events: none;
}

.bb-post-hero-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--bb-max-width);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 8px 20px 16px;
}

/* H1 sobre o banner — branco com sombra forte para leitura */
.bb-post-hero-title--banner {
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 auto;
  max-width: min(1040px, 100%);
  color: #ffffff;
  text-shadow:
    0 2px 18px rgba(0, 0, 0, 0.55),
    0 4px 36px rgba(0, 0, 0, 0.5),
    0 0 2px rgba(0, 0, 0, 0.9);
}

@media (min-width: 768px) {
  .bb-post-hero-title--banner {
    font-size: 2.8rem;
    line-height: 1.15;
  }
}

/* Faixa abaixo do banner: breadcrumb, categoria, data e leitura */
.bb-post-hero-sub {
  padding: 0;
  background: #f5f4f0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.bb-post-hero-sub .bb-container {
  padding-top: 26px;
  padding-bottom: 22px;
}

/* Mesma família de cor do botão Cadastre-se (#c81e42 / hover #a51738) */
.bb-breadcrumb--post-sub {
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 12px;
  color: #78716c;
}

.bb-breadcrumb--post-sub a {
  color: #c81e42;
  text-decoration: none !important;
  font-weight: 600;
}

.bb-breadcrumb--post-sub a:hover {
  text-decoration: underline !important;
  color: #a51738;
}

.bb-breadcrumb--post-sub a:visited {
  color: #c81e42;
}

.bb-post-hero-cat--sub {
  margin: 0 0 14px;
}

.bb-post-hero-cat--sub a {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #ffffff !important;
  background: linear-gradient(135deg, #c81e42 0%, #a855f7 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(200, 30, 66, 0.22);
}

.bb-post-hero-cat--sub a:hover {
  filter: brightness(1.06);
  text-decoration: none !important;
}

.bb-post-hero-meta--sub {
  margin: 0;
  font-size: 0.88rem;
  color: #6b7280;
}

.bb-post-hero-meta--sub .bb-post-card-home-clock {
  flex-shrink: 0;
  opacity: 0.85;
}

.bb-post-hero-meta-cat {
  color: #374151;
  font-weight: 600;
}

.bb-post-hero-meta-inner {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.bb-post-hero-meta-dot {
  opacity: 0.55;
  padding: 0 2px;
}

@media (max-width: 767px) {
  .bb-post-hero-sub .bb-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.bb-post-body-section {
  background: #ffffff;
  padding: 16px 0 56px;
}

.bb-post-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  background: #ffffff;
  border-radius: var(--bb-radius-xl);
  border: 1px solid var(--bb-border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.bb-post-wrapper--portal {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

/* Artigo público: sem caixa branca arredondada — texto direto no fundo branco; coluna larga = largura do container */
.bb-page-post .bb-post-wrapper,
.bb-page-post .bb-post-wrapper.bb-post-wrapper--portal {
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 24px 16px 48px;
  max-width: 100%;
}

.bb-post-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.bb-post-category {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bb-rosa);
  margin-bottom: 8px;
}

.bb-post-info {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 18px;
}

/* Base compartilhada (termos/quem/contato usam também bb-post-content) */
.bb-post-content {
  color: #374151;
}

/* Corpo do artigo — tipografia de leitura longa */
.bb-page-post .bb-post-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
}

@media (min-width: 768px) {
  .bb-page-post .bb-post-content {
    font-size: 1.125rem;
    line-height: 1.7;
  }
}

.bb-page-post .bb-post-content p {
  margin-bottom: 1.125rem;
}

@media (min-width: 768px) {
  .bb-page-post .bb-post-content p {
    margin-bottom: 1.35rem;
  }
}

/* Hierarquia: tópicos principais H2, subtópicos H3 (H1 do artigo só no hero) */
.bb-page-post .bb-post-content h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 1.75rem 0 0.65rem;
}

.bb-page-post .bb-post-content h2:first-child {
  margin-top: 0;
}

.bb-page-post .bb-post-content h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1.35;
  margin: 1.35rem 0 0.5rem;
}

/* Banner no topo do artigo */
.bb-post-banner-wrap {
  margin: 0 0 22px;
  border-radius: var(--bb-radius-lg);
  overflow: hidden;
  line-height: 0;
}

.bb-post-banner-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--bb-radius-lg);
  /* width/height no HTML (800×533) + ratio reserva espaço e reduz CLS */
  aspect-ratio: 800 / 533;
}

/* Lead / resumo abaixo da capa (não repetir o H1; vem do excerpt) */
.bb-page-post .bb-post-lead {
  font-size: 1rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
  color: #4b5563;
  margin: 0 0 1.35rem;
  padding: 0 2px;
}

@media (min-width: 768px) {
  .bb-page-post .bb-post-lead {
    font-size: 1.125rem;
    line-height: 1.7;
  }
}

/* Leia também — carrossel horizontal (mesma categoria), após comentários */
.bb-post-read-also {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--bb-border);
}

.bb-post-read-also-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 8px;
}

.bb-post-read-also-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0;
}

/* Mesmas cores do botão Cadastre-se (.bb-header-portal-cadastro): #c81e42 / hover #a51738 */
.bb-post-read-also-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #ffffff !important;
  text-decoration: none !important;
  white-space: nowrap;
  background: #c81e42;
  border: none;
  box-shadow: 0 6px 16px rgba(200, 30, 66, 0.38);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.bb-post-read-also-more:hover,
.bb-post-read-also-more:focus {
  background: #a51738;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(165, 23, 56, 0.42);
  transform: translateY(-1px);
}

.bb-post-read-also-more:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

.bb-post-read-also-more:visited {
  color: #ffffff !important;
}

.bb-post-read-also-more-arrow {
  margin-left: 4px;
}

.bb-post-read-also-hint {
  margin: 0 0 16px;
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
}

@media (min-width: 1100px) {
  .bb-post-read-also-hint {
    display: none;
  }
}

.bb-post-read-also-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 16px;
  margin: 0 -2px;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.bb-post-read-also-track:focus-visible {
  outline: 2px solid rgba(236, 72, 153, 0.45);
  outline-offset: 4px;
  border-radius: 12px;
}

.bb-post-read-also-card {
  flex: 0 0 min(300px, 82vw);
  max-width: min(300px, 82vw);
  scroll-snap-align: start;
  min-height: 0;
}

.bb-post-read-also-card .bb-post-card-home-link {
  min-height: 240px;
}

/* Autor — card dentro do artigo */
.bb-post-author-card {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--bb-border);
}

.bb-post-author-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--bb-radius-lg);
  background: linear-gradient(135deg, #fafafa 0%, #fdfcff 100%);
  border: 1px solid #f3f4f6;
  max-width: 100%;
}

.bb-post-author-text {
  flex: 1;
  min-width: 0;
}

.bb-post-author-avatar-link {
  flex-shrink: 0;
  text-decoration: none !important;
}

.bb-post-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
}

.bb-post-author-kicker {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0 0 4px;
  font-weight: 600;
}

.bb-post-author-name {
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 4px;
  line-height: 1.3;
}

.bb-post-author-name a {
  color: #111827 !important;
  text-decoration: none !important;
}

.bb-post-author-name a:hover {
  text-decoration: underline !important;
}

.bb-post-author-role {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0 0 6px;
}

.bb-post-author-bio {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0 0 10px;
  line-height: 1.5;
  max-width: 520px;
}

.bb-post-author-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

.bb-post-author-socials a {
  color: #7c3aed !important;
  font-weight: 600;
  text-decoration: none !important;
}

.bb-post-author-socials a:hover {
  text-decoration: underline !important;
}

/* CTA final do artigo — mesmo vocabulário visual da home (cards “O que você encontra aqui” + botão hero) */
.bb-post-cta-card {
  margin-top: 32px;
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fdfcfa 0%, #f8f5f0 100%);
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 6px 22px rgba(17, 24, 39, 0.06);
}

.bb-post-cta-card-title {
  font-size: 1.12rem;
  margin: 0 0 12px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.02em;
  line-height: 1.28;
}

.bb-post-cta-card-text {
  margin: 0 0 18px;
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.58;
  max-width: 52ch;
}

.bb-post-cta-stack.bb-home-cta-stack {
  width: 100%;
  max-width: min(500px, 100%);
  margin: 0 auto;
}

.bb-post-conversion-cta {
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.bb-post-conversion-cta-title {
  margin: 0 0 12px;
  font-size: 1.04rem;
  font-weight: 800;
  color: #111827;
}

.bb-post-conversion-cta .bb-home-cta-stack {
  margin-inline: auto;
}

.bb-post-conversion-cta--inline .bb-home-cta-button,
.bb-post-conversion-cta--inline .bb-home-cta-button span {
  color: #ffffff !important;
}

@media (min-width: 768px) {
  .bb-post-cta-card {
    padding: 22px 24px 26px;
  }
}

@media (max-width: 767px) {
  .bb-post-cta-card {
    padding: 20px;
  }

}

/* Comentários — bloco editorial (card + lista + formulário) */

.bb-comments {
  margin-top: 40px;
  padding: 28px 22px 26px;
  border-radius: var(--bb-radius-xl);
  border: 1px solid rgba(17, 24, 39, 0.08);
  background: linear-gradient(165deg, #fafafa 0%, #ffffff 55%, #f9fafb 100%);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.bb-comments-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.06);
}

.bb-comments-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: #111827;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.bb-comments-subtitle {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #6b7280;
}

.bb-comments-empty {
  margin: 0;
  padding: 20px 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: #6b7280;
  text-align: center;
  background: rgba(249, 250, 251, 0.9);
  border-radius: var(--bb-radius-lg);
  border: 1px dashed rgba(17, 24, 39, 0.1);
}

.bb-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0 0 28px;
}

.bb-comment {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid rgba(229, 231, 235, 0.95);
}

.bb-comment:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.bb-comment-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(145deg, #ff6f7d 0%, #ec4899 45%, #a855f7 100%);
  box-shadow: 0 6px 18px rgba(236, 72, 153, 0.28);
}

.bb-comment-main {
  min-width: 0;
  flex: 1;
}

.bb-comment-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 8px;
}

.bb-comment-author {
  font-weight: 700;
  font-size: 0.95rem;
  color: #111827;
}

.bb-comment-meta {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9ca3af;
}

.bb-comment-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #374151;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Cartão do formulário */
.bb-comments-form-card {
  margin-top: 8px;
  padding: 22px 20px 24px;
  border-radius: var(--bb-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.05);
}

.bb-comments-form-title {
  margin: 0 0 8px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
}

.bb-comments-form-lead {
  margin: 0 0 20px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #6b7280;
}

.bb-comment-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bb-comment-form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 520px) {
  .bb-comment-form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.bb-comment-form-field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.bb-comment-form-optional {
  font-weight: 500;
  color: #9ca3af;
}

.bb-comment-form input,
.bb-comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 0.94rem;
  font-family: inherit;
  color: #111827;
  background: #fafafa;
  transition:
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.bb-comment-form input::placeholder,
.bb-comment-form textarea::placeholder {
  color: #9ca3af;
}

.bb-comment-form input:hover,
.bb-comment-form textarea:hover {
  border-color: #d1d5db;
  background: #fff;
}

.bb-comment-form input:focus,
.bb-comment-form textarea:focus {
  outline: none;
  border-color: rgba(255, 111, 125, 0.65);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 111, 125, 0.18);
}

.bb-comment-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

.bb-comment-form-actions {
  margin-top: 4px;
}

.bb-comment-form-submit {
  width: 100%;
  max-width: 280px;
  padding: 12px 22px;
}

@media (max-width: 519px) {
  .bb-comment-form-submit {
    max-width: none;
  }
}

.bb-comment-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */

.bb-footer {
  border-top: 1px solid var(--bb-border);
  padding: 20px 0;
  margin-top: 20px;
  background: #ffffff;
}

.bb-footer-inner {
  font-size: 0.85rem;
  color: #6b7280;
}

.bb-footer-note {
  margin-top: 4px;
}

/* Rodapé portal (alinhado ao hero — escuro + coral + logo à direita) */
.bb-footer--portal {
  margin-top: 0;
  padding: 28px 0 32px;
  background: linear-gradient(175deg, #141416 0%, #1a1a1e 55%, #0c0c0e 100%);
  border-top: 1px solid rgba(251, 146, 60, 0.22);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.12);
}

.bb-footer--portal .bb-footer-inner {
  color: rgba(255, 255, 255, 0.72);
}

.bb-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px 28px;
}

.bb-footer-main {
  flex: 1 1 240px;
  min-width: 0;
  min-height: 0;
}

.bb-footer-copy {
  margin: 0 0 8px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.88);
}

.bb-footer--portal .bb-footer-note {
  margin-top: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  max-width: 42rem;
}

.bb-footer--portal .bb-footer-links {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.bb-footer--portal .bb-footer-links a {
  color: #ff6f7d;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.bb-footer--portal .bb-footer-links a:hover {
  color: #ff9aa6;
  text-decoration: none;
}

.bb-footer-links-sep {
  color: rgba(255, 255, 255, 0.28);
  user-select: none;
}

.bb-footer-age {
  margin: 12px 0 0;
  padding-top: 0;
  border-top: none;
  font-size: 0.72rem;
  line-height: 1.35;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
  width: 100%;
}

.bb-footer-logo {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  text-decoration: none;
  width: clamp(100px, 26vw, 128px);
  height: 52px;
  margin-left: auto;
  -webkit-tap-highlight-color: transparent;
}

.bb-footer-logo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bb-footer-logo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  border: none;
  outline: none;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.35));
}

/* Global `a:hover { text-decoration: underline }` + WebKit — sem sublinhado/tracejado sob o logo */
.bb-footer-logo:link,
.bb-footer-logo:visited,
.bb-footer-logo:hover,
.bb-footer-logo:active,
.bb-footer-logo:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.bb-footer-logo:focus-visible {
  outline: 2px solid rgba(255, 111, 125, 0.85);
  outline-offset: 4px;
  border-radius: 12px;
  text-decoration: none !important;
}

/* Rodapé portal — mobile/tablet estreito: evita flex-grow no .bb-footer-main (causava “buraco” enorme antes do +18) */
@media (max-width: 767px) {
  .bb-footer--portal {
    padding: 14px 0 calc(10px + env(safe-area-inset-bottom, 0px));
  }

  .bb-footer-inner {
    text-align: center;
  }

  .bb-footer-grid {
    flex-direction: column;
    align-items: center;
    gap: 8px 0;
    margin-bottom: 0;
  }

  .bb-footer--portal .bb-footer-main {
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .bb-footer-copy {
    margin-bottom: 5px;
    font-size: 0.82rem;
  }

  .bb-footer--portal .bb-footer-links {
    line-height: 1.55;
    justify-content: center;
    flex-wrap: wrap;
  }

  .bb-footer--portal .bb-footer-note {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 0.76rem;
    line-height: 1.4;
    max-width: none;
  }

  .bb-footer-logo {
    order: -1;
    width: 100%;
    max-width: 120px;
    height: 40px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    align-self: center;
    justify-content: center;
  }

  .bb-footer-logo__img {
    object-position: center center;
  }

  .bb-footer-age {
    margin-top: 6px;
    padding-top: 0;
    font-size: 0.68rem;
  }
}

/* Responsivo */

@media (max-width: 768px) {
  .bb-header:not(.bb-header--portal) .bb-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    padding: 10px 0 8px;
  }

  .bb-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }


  .bb-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bb-hero-card {
    margin-top: 12px;
  }

  .bb-section {
    padding: 26px 0;
  }

  .bb-post-wrapper {
    padding: 18px 14px 28px;
    border-radius: 18px;
  }

  .bb-page-post .bb-post-wrapper {
    padding: 16px 0 40px;
    border-radius: 0;
  }

  .bb-home-cta-stack {
    width: min(100%, 420px);
  }

  .bb-home-cta-button {
    padding: 10px 18px;
    font-size: 0.92rem;
  }

  .bb-home-cta-secondary {
    padding: 10px 18px;
    font-size: 0.92rem;
  }

  .bb-home-cta-main {
    gap: 8px;
  }

  .bb-home-cta-arrow {
    font-size: 1.3rem;
  }

  .bb-home-trust-row {
    gap: 10px 14px;
  }

  .bb-home-trust-item {
    font-size: 0.78rem;
  }
}

/* Mobile ≤767px — blog, post, comentários e autor: mais largura útil e blocos menos “estreitos” */
@media (max-width: 767px) {
  body.bb-page-blog .bb-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bb-blog-posts-section {
    padding-top: 22px;
    padding-bottom: 44px;
  }

  .bb-posts-grid {
    gap: 14px;
  }

  .bb-page-post .bb-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bb-post-hero-sub .bb-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .bb-post-hero-banner__content {
    padding: 6px 14px 14px;
  }

  .bb-comments {
    margin-top: 36px;
    padding: 26px 14px 24px;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  }

  .bb-comments-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .bb-comments-form-card {
    padding: 22px 14px 24px;
    border-radius: 16px;
  }

  .bb-comment-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.98rem;
  }

  .bb-post-read-also-card {
    flex-basis: min(280px, 88vw);
    max-width: min(280px, 88vw);
  }

  .bb-post-author-inner {
    flex-wrap: wrap;
    padding: 14px 14px;
    gap: 12px;
  }

  .bb-post-author-avatar {
    width: 48px;
    height: 48px;
  }

  .bb-post-author-bio {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.58;
  }

  .bb-post-author-socials {
    flex-basis: 100%;
    margin-top: 2px;
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
  }

  .bb-post-author-socials a {
    padding: 6px 0;
  }
}

@media (min-width: 1024px) {
  .bb-hero--home {
    margin-top: -52px;
    padding: 84px 0 44px;
    background-image:
      radial-gradient(55% 120% at 66% 50%, rgba(0, 0, 0, 0.24) 0%, rgba(0, 0, 0, 0.12) 36%, rgba(0, 0, 0, 0) 72%),
      linear-gradient(90deg, rgba(10, 10, 12, 0.8) 0%, rgba(10, 10, 12, 0.62) 38%, rgba(10, 10, 12, 0.34) 56%, rgba(10, 10, 12, 0.14) 74%, rgba(10, 10, 12, 0.08) 100%),
      url('/sugar-baby-elegante-meu-patrocinio-univero-sugar.webp');
    background-size: cover;
    background-position: 62% 24%;
  }

  .bb-hero--home .bb-hero-text h1 {
    max-width: 760px;
    color: #ffffff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  }

  .bb-hero--home .bb-hero-text p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
  }

  .bb-hero--home .bb-hero-note {
    color: rgba(255, 255, 255, 0.8);
  }

  .bb-home-highlights {
    padding-top: 24px;
  }
}

/* Quebra palavras e links muito longos dentro do conteúdo do post */
.bb-post-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.bb-post-content a {
  word-break: break-all;
}

/* Garante que qualquer palavra/link gigante quebre dentro do post */
.bb-post-content,
.bb-post-content a {
  overflow-wrap: anywhere;  /* quebra em qualquer ponto possível */
  word-break: break-word;   /* fallback pra navegadores mais antigos */
}

/* Segurança extra: impede qualquer overflow horizontal dentro do card do post */
.bb-post-wrapper {
  overflow-x: hidden;
}

.bb-post-wrapper,
.bb-post-wrapper * {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Banner de cookies Bebaby */
.bb-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;

  max-width: 960px;
  width: calc(100% - 32px);

  background: #111827;
  color: #f9fafb;
  border-radius: var(--bb-radius-xl);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);

  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bb-cookie-banner-text {
  font-size: 0.85rem;
  line-height: 1.5;
}

.bb-cookie-banner-text strong {
  font-size: 0.9rem;
}

.bb-cookie-banner-text a.bb-cookie-link {
  color: var(--bb-rosa);
  text-decoration: underline;
}

.bb-cookie-banner-buttons {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Aproveita os botões padrão do site */
.bb-cookie-banner .bb-button {
  cursor: pointer;
  border: none;
}

.bb-cookie-banner .bb-button-secondary {
  background: transparent;
  border: 1px solid #4b5563;
  color: #e5e7eb;
}

/* Responsivo: empilhar no mobile */
@media (max-width: 640px) {
  .bb-cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .bb-cookie-banner-buttons {
    margin-left: 0;
    justify-content: flex-start;
  }
}

/* Formulários Bebaby */
.bb-form {
  max-width: 520px;
}

.bb-form-group {
  margin-bottom: 14px;
}

.bb-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
}

.bb-form-group input[type="text"],
.bb-form-group input[type="email"],
.bb-form-group input[type="tel"],
.bb-form-group textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  box-sizing: border-box;
}

.bb-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.bb-form-group input:focus,
.bb-form-group textarea:focus {
  border-color: #f472b6;
  background: #ffffff;
  box-shadow: 0 0 0 1px #f472b6, 0 10px 25px rgba(148, 163, 184, 0.25);
}

.bb-form-group input::placeholder,
.bb-form-group textarea::placeholder {
  color: #9ca3af;
  font-size: 0.85rem;
}

.bb-footer-links {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 4px 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.bb-footer-links a {
  color: #6b21a8;
  text-decoration: none;
}

.bb-footer-links a:hover {
  text-decoration: underline;
}

.bb-post-card-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 10px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Apenas para leitores de tela (acessibilidade) */
.bb-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bb-post-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Acessibilidade: links claros no corpo do artigo e comentários (não envolve CTAs/botões) */
.bb-post-content a,
.bb-comment-text a {
  color: #1d4ed8;
  text-decoration: underline;
}

.bb-post-content a:hover,
.bb-post-content a:focus,
.bb-comment-text a:hover,
.bb-comment-text a:focus {
  color: #1e40af;
}

/* FAQ — acordeão (details/summary), legível para SEO */
.bb-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 820px;
}

.bb-faq-details {
  border: 1px solid var(--bb-border);
  border-radius: var(--bb-radius-lg);
  background: #fff;
  overflow: hidden;
}

.bb-faq-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 44px 14px 16px;
  list-style: none;
  position: relative;
  line-height: 1.45;
}

.bb-faq-details summary::-webkit-details-marker {
  display: none;
}

.bb-faq-details summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bb-lilas);
}

.bb-faq-details[open] summary::after {
  content: "−";
}

.bb-faq-answer {
  padding: 0 16px 16px;
  font-size: 0.9rem;
  color: #374151;
  border-top: 1px solid var(--bb-border-soft, #f3f4f6);
}

.bb-faq-answer p + p {
  margin-top: 0.75rem;
}

.bb-faq-sub {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 6px;
  margin-bottom: 16px;
  max-width: 820px;
}

/* Home — FAQ: fundo branco e tipografia escura (alinha com secção após destaques em fundo preto) */
.bb-section.bb-home-faq {
  background: #ffffff;
  color: #111827;
  padding-top: 40px;
  padding-bottom: 44px;
}

.bb-section.bb-home-faq > .bb-container > h2 {
  color: #000000;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.bb-section.bb-home-faq .bb-faq-sub {
  color: #111827;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-top: 8px;
  margin-bottom: 20px;
}

.bb-section.bb-home-faq .bb-faq-details {
  border-color: #e5e7eb;
  background: #ffffff;
}

.bb-section.bb-home-faq .bb-faq-details summary {
  color: #000000;
}

.bb-section.bb-home-faq .bb-faq-details summary::after {
  color: #ff6f7d;
}

.bb-section.bb-home-faq .bb-faq-answer {
  color: #374151;
  border-top-color: #e5e7eb;
}

.bb-section.bb-home-faq .bb-faq-answer strong {
  color: #111827;
}

.bb-section.bb-home-faq .bb-faq-answer a {
  color: var(--bb-lilas);
  font-weight: 600;
}

.bb-section.bb-home-faq .bb-faq-answer a:hover {
  color: #7c3aed;
}

/* --------------------------------------------------------------------------
   Cabeçalho portal (tema escuro — mobile first)
   -------------------------------------------------------------------------- */

/* Estrutura base */
.bb-header--portal {
  position: sticky;
  top: 0;
  z-index: 100;
  /* Mobile: preto no topo → transparente embaixo (banner aparece atrás) */
  background: linear-gradient(
    180deg,
    #000000 0%,
    rgba(0, 0, 0, 0.88) 22%,
    rgba(0, 0, 0, 0.45) 52%,
    rgba(0, 0, 0, 0.08) 82%,
    rgba(0, 0, 0, 0) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.bb-header--portal .bb-header-inner {
  min-height: 64px;
  padding: 8px 0;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* Logo (imagem enviada) */
.bb-logo-portal {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: 0 !important;
  text-underline-offset: 0 !important;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
  width: clamp(106px, 30vw, 132px);
  height: 56px;
  margin-left: -6px;
  border: none !important;
  box-shadow: none !important;
}

.bb-logo-portal picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.bb-logo-portal__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transform: translateY(1px);
  border: none;
  outline: none;
}

/* Global `a:hover { text-decoration: underline }` + WebKit — sem sublinhado/tracejado sob o logo */
.bb-logo-portal:link,
.bb-logo-portal:visited,
.bb-logo-portal:hover,
.bb-logo-portal:active,
.bb-logo-portal:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.bb-logo-portal:focus-visible {
  outline: 2px solid rgba(255, 111, 125, 0.85);
  outline-offset: 4px;
  border-radius: 12px;
  text-decoration: none !important;
}

/* Bloco direito (menu + ícones) */
.bb-header-portal-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
  gap: 8px;
}

/* Desktop nav (oculto no mobile) */
.bb-nav-portal--desktop {
  display: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.bb-nav-portal__link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}

.bb-nav-portal__link:hover {
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none !important;
}

.bb-nav-portal__link.is-active {
  background: rgba(232, 160, 144, 0.2);
  color: #fde4df !important;
}

.bb-nav-portal__dropdown {
  position: relative;
}

.bb-nav-portal__dropdown-label {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  cursor: default;
  transition: background 0.15s ease;
}

.bb-nav-portal__dropdown:hover .bb-nav-portal__dropdown-label,
.bb-nav-portal__dropdown:focus-within .bb-nav-portal__dropdown-label {
  background: rgba(255, 255, 255, 0.08);
}

.bb-nav-portal__dropdown-list {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 240px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 10px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.bb-nav-portal__dropdown:hover .bb-nav-portal__dropdown-list,
.bb-nav-portal__dropdown:focus-within .bb-nav-portal__dropdown-list {
  display: block;
}

.bb-nav-portal__dropdown-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 0.88rem;
  text-decoration: none !important;
}

.bb-nav-portal__dropdown-list a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.bb-nav-portal__dropdown-list a.is-active {
  background: rgba(232, 160, 144, 0.2);
  color: #fde4df !important;
}

.bb-header-portal-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.bb-header-portal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  background: transparent;
  color: #ffffff;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

a.bb-header-portal-icon {
  text-decoration: none !important;
}

.bb-header-portal-icon:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Mobile: ícone lupa oculto; desktop (≥1024px) visível */
.bb-header-portal-icon--search {
  display: none;
}

@media (min-width: 1024px) {
  .bb-header-portal-icon--search {
    display: inline-flex;
  }
}

/* Mobile: botão Cadastre-se — mesma cor do “Criar meu perfil agora”; formato mais baixo e quadrado */
.bb-header-portal-cadastro {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 12px;
  min-height: 0;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  color: #ffffff !important;
  text-decoration: none !important;
  background: #c81e42;
  border: none;
  box-shadow: 0 6px 16px rgba(200, 30, 66, 0.38);
  transition:
    background 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.bb-header-portal-cadastro:hover,
.bb-header-portal-cadastro:focus {
  background: #a51738;
  color: #ffffff !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(165, 23, 56, 0.42);
  transform: translateY(-1px);
}

.bb-header-portal-cadastro:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.95);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .bb-header-portal-cadastro {
    display: inline-flex;
  }
}

.bb-header-portal-icon--menu .bb-icon-close {
  display: none;
}

.bb-header-portal-icon--menu.is-open .bb-icon-hamburger {
  display: none;
}

.bb-header-portal-icon--menu.is-open .bb-icon-close {
  display: block;
}

.bb-header-portal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.55);
}

.bb-nav-portal-mobile {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 95;
  background: #141414;
  border-bottom: 1px solid rgba(251, 146, 60, 0.12);
  box-shadow: 0 24px 40px rgba(0, 0, 0, 0.5);
  max-height: min(78vh, 560px);
  overflow-y: auto;
}

.bb-nav-portal-mobile-inner {
  display: flex;
  flex-direction: column;
  padding: 12px 16px 20px;
  gap: 0;
}

.bb-nav-portal-mobile-inner a {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bb-nav-portal-mobile-inner a:last-child {
  border-bottom: none;
}

.bb-nav-portal-mobile-inner a:hover {
  background: rgba(255, 255, 255, 0.06);
}

body.bb-menu-open {
  overflow: hidden;
}

@media (min-width: 1024px) {
  .bb-header--portal {
    /* Desktop: gradiente original (não totalmente transparente na base) */
    background: linear-gradient(
      180deg,
      rgba(6, 6, 8, 0.97) 0%,
      rgba(14, 14, 16, 0.82) 38%,
      rgba(28, 28, 32, 0.48) 72%,
      rgba(72, 72, 78, 0.22) 100%
    );
    border-bottom: 1px solid rgba(251, 146, 60, 0.12);
  }

  .bb-header--portal .bb-header-inner {
    min-height: 68px;
    padding: 10px 0;
  }

  .bb-logo-portal {
    width: 148px;
    height: 62px;
    margin-left: -8px;
  }

  .bb-logo-portal__img {
    width: 100%;
    height: 100%;
    transform: translateY(1px);
  }

  .bb-nav-portal--desktop {
    display: flex;
  }

  .bb-header-portal-icon--menu {
    display: none;
  }

  .bb-header-portal-backdrop {
    display: none !important;
  }

  .bb-nav-portal-mobile {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Páginas institucionais (Quem Somos, Política, Termos, Contato — hero escuro + card)
   -------------------------------------------------------------------------- */

.bb-page-quem-somos,
.bb-page-politica,
.bb-page-termos,
.bb-page-contato {
  background: #f5f4f0;
}

.bb-quem-hero {
  position: relative;
  z-index: 0;
  margin-top: -52px;
  padding: 96px 0 40px;
  background: linear-gradient(165deg, #141416 0%, #1a1a1e 45%, #0c0c0e 100%);
  border-bottom: 1px solid rgba(251, 146, 60, 0.14);
}

.bb-quem-hero-inner {
  max-width: 820px;
}

.bb-quem-hero-kicker {
  margin: 0 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ff6f7d;
}

.bb-quem-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 4.2vw, 2.05rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.bb-quem-hero-lead {
  margin: 0;
  max-width: 640px;
  font-size: 1.02rem;
  line-height: 1.58;
  color: rgba(255, 255, 255, 0.9);
}

.bb-quem-hero-accent {
  color: #ff6f7d;
  font-weight: 600;
}

.bb-quem-content {
  padding: 32px 0 48px;
}

.bb-quem-card {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px 34px;
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid rgba(17, 24, 39, 0.06);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.bb-page-quem-somos .bb-quem-content-body h2,
.bb-page-politica .bb-quem-content-body h2,
.bb-page-termos .bb-quem-content-body h2,
.bb-page-contato .bb-quem-content-body h2 {
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.4rem;
  font-size: 1.28rem;
  font-weight: 800;
  color: #111827;
  border-bottom: 2px solid rgba(255, 111, 125, 0.35);
}

.bb-page-quem-somos .bb-quem-content-body h2:first-child,
.bb-page-politica .bb-quem-content-body h2:first-child,
.bb-page-termos .bb-quem-content-body h2:first-child,
.bb-page-contato .bb-quem-content-body h2:first-child {
  margin-top: 0;
}

.bb-page-contato .bb-contato-alert + h2 {
  margin-top: 0;
}

.bb-page-quem-somos .bb-quem-content-body h3,
.bb-page-politica .bb-quem-content-body h3,
.bb-page-termos .bb-quem-content-body h3,
.bb-page-contato .bb-quem-content-body h3 {
  margin: 1.65rem 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #1f2937;
}

.bb-page-quem-somos .bb-quem-content-body h4,
.bb-page-politica .bb-quem-content-body h4,
.bb-page-termos .bb-quem-content-body h4,
.bb-page-contato .bb-quem-content-body h4 {
  margin: 1.4rem 0 0.45rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #c2415c;
}

.bb-page-quem-somos .bb-quem-content-body p,
.bb-page-quem-somos .bb-quem-content-body li,
.bb-page-politica .bb-quem-content-body p,
.bb-page-politica .bb-quem-content-body li,
.bb-page-termos .bb-quem-content-body p,
.bb-page-termos .bb-quem-content-body li,
.bb-page-contato .bb-quem-content-body p,
.bb-page-contato .bb-quem-content-body li {
  color: #374151;
  font-size: 0.98rem;
}

.bb-page-quem-somos .bb-quem-content-body ul,
.bb-page-politica .bb-quem-content-body ul,
.bb-page-termos .bb-quem-content-body ul,
.bb-page-contato .bb-quem-content-body ul {
  margin: 0.5rem 0 0.75rem;
  padding-left: 1.25rem;
}

.bb-page-quem-somos .bb-quem-content-body li + li,
.bb-page-politica .bb-quem-content-body li + li,
.bb-page-termos .bb-quem-content-body li + li,
.bb-page-contato .bb-quem-content-body li + li {
  margin-top: 0.35rem;
}

.bb-page-quem-somos .bb-quem-content-body a,
.bb-page-politica .bb-quem-content-body a,
.bb-page-termos .bb-quem-content-body a,
.bb-page-contato .bb-quem-content-body a {
  color: #ff6f7d;
  font-weight: 600;
}

.bb-page-quem-somos .bb-quem-content-body a:hover,
.bb-page-politica .bb-quem-content-body a:hover,
.bb-page-termos .bb-quem-content-body a:hover,
.bb-page-contato .bb-quem-content-body a:hover {
  color: #e85d6e;
}

@media (min-width: 768px) {
  .bb-quem-card {
    padding: 36px 44px 42px;
  }

  .bb-quem-hero {
    padding: 108px 0 48px;
  }
}

/* Contato — alerta e formulário no tema portal */
.bb-contato-alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.bb-contato-alert--success {
  background: #ecfdf3;
  border: 1px solid #16a34a;
  color: #166534;
}

.bb-form--contato {
  position: relative;
  margin-top: 1rem;
}

.bb-form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bb-page-contato .bb-form-group input:focus,
.bb-page-contato .bb-form-group textarea:focus {
  border-color: #ff6f7d;
  background: #ffffff;
  box-shadow: 0 0 0 1px #ff6f7d, 0 10px 25px rgba(255, 111, 125, 0.18);
}

.bb-button--contato {
  margin-top: 4px;
  background: linear-gradient(135deg, #ff6f7d 0%, #e85d6e 100%);
  box-shadow: 0 14px 30px rgba(255, 111, 125, 0.35);
}

.bb-button--contato:hover {
  filter: brightness(1.06);
  box-shadow: 0 16px 36px rgba(232, 93, 110, 0.42);
}

/* Admin — moderação de comentários (legível; destaque para pendentes) */
.bb-admin-comments-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bb-admin-comment-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 20px 16px;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.bb-admin-comment-card--pending {
  border-color: #fcd34d;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 48%);
  box-shadow: 0 4px 20px rgba(180, 83, 9, 0.12);
  border-left: 4px solid #f59e0b;
  padding-left: 17px;
}

.bb-admin-comment-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.bb-admin-comment-card--pending .bb-admin-comment-card__top {
  border-bottom-color: #fde68a;
}

.bb-admin-comment-card__name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

.bb-admin-comment-card__contact {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5563;
  word-break: break-word;
}

.bb-admin-comment-card__contact a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

.bb-admin-comment-card__contact a:hover {
  text-decoration: underline;
}

.bb-admin-comment-card__contact-sep {
  margin: 0 6px;
  color: #9ca3af;
}

.bb-admin-comment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  text-align: right;
}

.bb-admin-comment-card__badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.bb-admin-comment-card__badge--ok {
  background: #dcfce7;
  color: #14532d;
  border: 1px solid #86efac;
}

.bb-admin-comment-card__badge--pending {
  background: #fef3c7;
  color: #78350f;
  border: 1px solid #fcd34d;
}

.bb-admin-comment-card__time {
  font-size: 0.85rem;
  color: #6b7280;
  font-variant-numeric: tabular-nums;
}

.bb-admin-comment-card__text {
  margin: 0 0 16px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #111827;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.bb-admin-comment-card--pending .bb-admin-comment-card__text {
  color: #0f172a;
}

.bb-admin-comment-card__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px 20px;
  padding-top: 4px;
}

.bb-admin-comment-card__post {
  flex: 1 1 220px;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #374151;
}

.bb-admin-comment-card__post-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.bb-admin-comment-card__post-title {
  display: block;
  font-weight: 600;
  color: #111827;
  margin-bottom: 6px;
}

.bb-admin-comment-card__post-link {
  font-weight: 600;
  font-size: 0.86rem;
  color: #c81e42;
  text-decoration: none;
}

.bb-admin-comment-card__post-link:hover {
  text-decoration: underline;
}

.bb-admin-comment-card__post-muted {
  color: #9ca3af;
}

.bb-admin-comment-card__ip {
  flex: 0 0 auto;
  font-size: 0.8rem;
  color: #6b7280;
}

.bb-admin-comment-card__ip code {
  font-size: 0.85em;
  background: #f3f4f6;
  padding: 2px 6px;
  border-radius: 6px;
  color: #374151;
}

.bb-admin-comment-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.bb-admin-comment-card__form {
  display: inline;
  margin: 0;
}

.bb-admin-comment-card__btn {
  padding: 8px 14px !important;
  font-size: 0.86rem !important;
}

.bb-admin-comment-card__btn-del {
  border: none;
  background: transparent;
  color: #b91c1c;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 8px 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bb-admin-comment-card__btn-del:hover {
  color: #991b1b;
}

@media (max-width: 640px) {
  .bb-admin-comment-card__meta {
    text-align: left;
    width: 100%;
  }

  .bb-admin-comment-card__actions {
    margin-left: 0;
    width: 100%;
  }
}

