﻿/* Busca (/busca) — layout do Figma (pipeline figma-to-bootstrap, outputs/busca).
   GERADO do merged/styles.css (+ assets/css/mg-btn.css escopado): tokens que eram :root e o body{}
   do mockup ficam no wrapper .busca-page, para não vazar no header/rodapé do site.
   Corrigir no mockup (sections/) e regerar; só o bloco "LEANWEB" no fim é exclusivo daqui.
   (O busca.css é da página anterior, /busca/legado.) */

/* ============================================================ */
/* SLIDE-UP DOS BOTÕES (mg-btn) — contrato do mgButtons.js,     */
/* escopado na página (initMgButtons em busca.anim.js)          */
/* ============================================================ */
.busca-page { --mg-btn-swap-duration: 0.9s; }   /* mesma velocidade da Academia/AgendaTreinamento */

/* Anti-FOUC: esconde o conteúdo cru enquanto o JS não faz o upgrade. */
.busca-page .mg-btn-auto:not(.mg-btn) { color: transparent !important; }
.busca-page .mg-btn-auto:not(.mg-btn) > svg,
.busca-page .mg-btn-auto:not(.mg-btn) > img,
.busca-page .mg-btn-auto:not(.mg-btn) > span { opacity: 0 !important; visibility: hidden !important; }

.busca-page .mg-btn { position: relative; }
.busca-page .mg-btn__inner { display: inline-flex; align-items: center; gap: 10px; }
.busca-page .mg-btn__swap { position: relative; display: inline-grid; overflow: hidden; }
.busca-page .mg-btn__swap-text {
  grid-area: 1 / 1;
  transition: transform var(--mg-btn-swap-duration, .42s) cubic-bezier(.2, .7, .2, 1);
}
.busca-page .mg-btn__swap-text.is-absolute { position: absolute; inset: 0; transform: translate3d(0, 130%, 0); }
.busca-page .mg-btn:hover .mg-btn__swap-text.is-absolute,
.busca-page .mg-btn:focus-visible .mg-btn__swap-text.is-absolute { transform: translate3d(0, 0, 0); }
.busca-page .mg-btn:hover .mg-btn__swap-text.is-relative,
.busca-page .mg-btn:focus-visible .mg-btn__swap-text.is-relative { transform: translate3d(0, -130%, 0); }
.busca-page .mg-btn__icon { grid-area: 1 / 1; display: grid; place-items: center; transition: transform var(--mg-btn-swap-duration, .42s) cubic-bezier(.2, .7, .2, 1); }
.busca-page .mg-btn__icon.is-absolute { position: absolute; inset: 0; transform: translate3d(0, 130%, 0); }
.busca-page .mg-btn:hover .mg-btn__icon.is-absolute,
.busca-page .mg-btn:focus-visible .mg-btn__icon.is-absolute { transform: translate3d(0, 0, 0); }
.busca-page .mg-btn:hover .mg-btn__icon.is-relative,
.busca-page .mg-btn:focus-visible .mg-btn__icon.is-relative { transform: translate3d(0, -130%, 0); }
.busca-page .mg-btn__icon-wrap { flex: none; width: var(--mg-icon-size, 16px); height: var(--mg-icon-size, 16px); }  /* flex:none: não encolhe quando o texto quebra */
.busca-page .mg-btn__icon svg { width: 100%; height: 100%; display: block; }

/* Sem animação de swap em reduced-motion: trava no estado de repouso. */
@media (prefers-reduced-motion: reduce) {
  .busca-page .mg-btn__swap-text,
  .busca-page .mg-btn__icon { transition: none; }
  .busca-page .mg-btn:hover .mg-btn__swap-text.is-absolute,
  .busca-page .mg-btn:focus-visible .mg-btn__swap-text.is-absolute,
  .busca-page .mg-btn:hover .mg-btn__icon.is-absolute,
  .busca-page .mg-btn:focus-visible .mg-btn__icon.is-absolute { transform: translate3d(0, 130%, 0); }
  .busca-page .mg-btn:hover .mg-btn__swap-text.is-relative,
  .busca-page .mg-btn:focus-visible .mg-btn__swap-text.is-relative,
  .busca-page .mg-btn:hover .mg-btn__icon.is-relative,
  .busca-page .mg-btn:focus-visible .mg-btn__icon.is-relative { transform: translate3d(0, 0, 0); }
}


/* ============================================================ */
/* BUSCA — PÁGINA COMPLETA                                     */
/* Merge de sections/*, na ordem do merge.json:                */
/* HERO · RESULTADOS · AMPLIE SUA PESQUISA · FORMATOS · CTA    */
/*                                                             */
/* Gerado a partir de sections/*.css — a fonte da verdade      */
/* continua sendo cada seção; ao editá-las, refazer o merge.   */
/* ============================================================ */

.busca-page {
  /* --- 1/5 · HERO — sec-hero 2973:3048  (hero.css) --- */

  --font-primary: 'Roboto', sans-serif;
  --color-page-bg: #ffffff;

  /* Faixa navy */
  --bsh-navy:          #29235c;
  --bsh-accent:        #ff8000;
  --bsh-accent-dark:   #e67300;                    /* hover: acabamento, igual ao vocabulário */
  --bsh-gradiente:     linear-gradient(116.96deg, #29235c 0%, #394195 100%);
  --bsh-foto-opacidade: 0.22;                      /* fill IMAGE do 2973:3048, sem blend */
  /* Véu: no Figma é um fill SVG radial (centro 0,242; raios 1920 × 484) sob um
     linear teal. Em % da faixa os raios acompanham a largura. */
  --bsh-veu:
    linear-gradient(115.3deg, rgba(0, 0, 0, 0) 8.2759%, rgba(22, 145, 148, 0.182) 83.468%),
    radial-gradient(ellipse 100% 100% at 0 50%, rgba(41, 35, 92, 0.43) 0%, rgba(41, 35, 92, 0.54) 45.734%, rgba(41, 35, 92, 0.51) 100%);
  --bsh-texto:         rgba(255, 255, 255, 0.8);   /* 2973:3052 */
  --bsh-altura:        484px;
  --bsh-card-sobre-hero: 76px;                     /* 599 − 523 */
  --bsh-card-sob-hero:   75px;                     /* 674 − 599 */

  /* Card */
  --bsh-card-borda:    #ece6f5;
  --bsh-card-sombra:   0 30px 30px rgba(41, 35, 92, 0.18);
  --bsh-rotulo:        #8c87ae;
  --bsh-campo-bg:      #f6f4fb;
  --bsh-placeholder:   #757575;
  /* --- 2/5 · RESULTADOS — sec-resultados 2973:3107  (resultados.css) --- */


  --bsr-navy:          #29235c;
  --bsr-accent:        #ff8000;
  --bsr-accent-dark:   #e67300;            /* hover: acabamento */
  --bsr-texto:         #5b5678;            /* resumos e textos de apoio */
  --bsr-apagado:       #8c87ae;            /* "Ordenar por", meta */
  --bsr-borda:         #ece6f5;
  --bsr-hl-bg:         rgba(255, 128, 0, 0.16);
  --bsr-hl-cor:        #b85a00;

  /* Grade: 836 + 85 + 400 = 1321, centrada (x 299 → 1620 em 1920) */
  --bsr-largura:       1321px;
  --bsr-lateral:       400px;
  --bsr-vao:           85px;
  --bsr-topo:          193px;              /* 75 do card do hero + 118 */

  --bsr-card-sombra:   0 4px 20px rgba(41, 35, 92, 0.05);
  --bsr-filtro-bg:     linear-gradient(150.02deg, #29235c 0%, #394195 100%);
  --bsr-filtro-sombra: 0 16px 40px rgba(41, 35, 92, 0.22);
  --bsr-aviso-bg:      rgba(128, 128, 128, 0.05);
  --bsr-aviso-sombra:  0 6px 24px rgba(41, 35, 92, 0.05);
  /* --- 3/5 · AMPLIE SUA PESQUISA — sec-amplie 2973:3224  (amplie.css) --- */


  --bsa-bg: rgba(83, 74, 183, 0.04);
  --bsa-navy: #29235c;
  --bsa-navy-chip: #2d1b69;
  --bsa-accent: #ff8000;
  --bsa-muted: #666666;
  --bsa-chip-bg: rgba(68, 68, 68, 0.04);
  --bsa-chip-borda: #e0ddf0;
  --bsa-ico-bg: #f0edf9;
  /* --- 4/5 · FORMATOS — sec-formatos 2976:2  (formatos.css) --- */


  --bsf-navy: #29235c;
  --bsf-accent: #ff8000;
  --bsf-muted: #666666;
  --bsf-spotify: #1db954;
  --bsf-youtube: #ff0000;
  --bsf-disco: rgba(203, 108, 230, 0.07);
  --bsf-arco: rgba(22, 145, 148, 0.07);
  /* --- 5/5 · CTA — sec-cta 2973:3330  (cta.css) --- */


  --bsc-bg: #f8f8fc;
  --bsc-accent: #ff8002;
  --bsc-btn: #ff8001;
  --bsc-card-bg: rgba(255, 128, 1, 0.05);
  --bsc-titulo: #1a2b48;
  --bsc-texto: #475569;
}


/* ============================================================ */
/* GLOBAL                                                      */
/* ============================================================ */
.busca-page {
  font-family: var(--font-primary);
  margin: 0;
  padding: 0;
  background-color: var(--color-page-bg);
}


/* ============================================================ */
/* 1/5 — HERO — sec-hero 2973:3048                             */
/* origem: sections/hero.css                                   */
/* ============================================================ */
/* ============================================================ */
/* SECTION: HERO                                                */
/* ============================================================ */
/* z-index 2: o card desce 75px sobre a seção seguinte e tem de pintar por
   cima dela (a seção resultados não cria contexto de empilhamento). */
.bs-hero {
  position: relative;
  z-index: 2;
}

/* Faixa: 99.2 = pt 96 + 3.2 do Heading (caixa de linha do título no Figma);
   137.44 = 484 − 346.56 (fim do subtítulo) — reserva os 76px do card + 61 de
   respiro quando o texto quebrar em mais linhas. */
.bs-hero__banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: var(--bsh-altura);
  padding: 99.2px 24px 137.44px;
  background-color: var(--bsh-navy);
  background-image: var(--bsh-gradiente);
  text-align: center;
}

/* Foto 1983 × 793 em `cover` (o fill do Figma não tem crop): em 1920 a altura
   sai 768 e o centro vertical cai no centro da faixa. */
.bs-hero__foto {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: var(--bsh-foto-opacidade);
  pointer-events: none;
}

.bs-hero__foto img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.bs-hero__veu {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bsh-veu);
  pointer-events: none;
}

.bs-hero__container {
  max-width: 1120px;                     /* 1520 − 2 × 200 do Figma */
  margin: 0 auto;
}

/* 2973:3051: ExtraBold 64. O dump diz leading 80.4%, mas o estilo do arquivo
   (H1 ExtraBold, 0.942) é o que o print mostra: linhas a 60px (baselines 151
   → 211). A quebra depois de "lean" é do Figma (dois parágrafos) → <br>. */
.bs-hero__titulo {
  margin: 0;
  font-size: 4rem;                       /* 64px */
  font-weight: 800;
  line-height: 60.3px;                   /* 0.942 */
  color: #ffffff;
}

.bs-hero__titulo-destaque {
  color: var(--bsh-accent);
}

/* 2973:3052: Regular 20, caixa de 704 (quebra em 3 linhas como o Figma).
   Linhas a 28px no print = estilo P (1.396), não os 119% do dump. */
.bs-hero__texto {
  max-width: 704px;
  margin: 43px auto 0;
  font-size: 1.25rem;                    /* 20px */
  line-height: 27.92px;
  color: var(--bsh-texto);
}


/* ------------------------------------------------------------ */
/* Card de busca (2973:3053)                                    */
/* ------------------------------------------------------------ */
.bs-hero__busca {
  position: relative;
  max-width: 968px;                      /* 920 + 2 × 24 */
  margin: calc(-1 * var(--bsh-card-sobre-hero)) auto calc(-1 * var(--bsh-card-sob-hero));
  padding: 0 24px;
}

/* 151 = 1 + 36 + 15 (rótulo) + 12 + 50 (campo) + 36 + 1 */
.bs-hero__card {
  box-sizing: border-box;
  margin: 0;
  padding: 36px 40px;
  background-color: #ffffff;
  border: 1px solid var(--bsh-card-borda);
  border-radius: 14px;
  box-shadow: var(--bsh-card-sombra);
}

/* 2973:3055: Medium 13, tracking 0.5, caixa de 15 */
.bs-hero__rotulo {
  display: block;
  margin: 0 0 12px;
  font-size: 0.8125rem;                  /* 13px */
  font-weight: 500;
  line-height: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--bsh-rotulo);
}

.bs-hero__campo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bs-hero__entrada {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

/* Lupa 20 a 18px da borda (2973:3058) */
.bs-hero__lupa {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* 2973:3057: 49 de altura, r10; texto em 18 + 20 + 12 + 2 = 52 */
.bs-hero__input {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 49px;
  margin: 0;
  padding: 0 20px 0 52px;
  background-color: var(--bsh-campo-bg);
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;                       /* 16px */
  line-height: normal;
  color: var(--bsh-navy);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.bs-hero__input::placeholder {
  color: var(--bsh-placeholder);
  opacity: 1;
}

.bs-hero__input::-webkit-search-decoration,
.bs-hero__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* Foco: não está no Figma — acabamento da conversão */
.bs-hero__input:focus-visible {
  box-shadow: inset 0 0 0 2px var(--bsh-navy);
}

/* 2973:3064: 108 × 50, r8, px 28. O Figma usa Inter Bold 15 no rótulo; aqui
   Roboto Bold (fonte da página e do botão irmão no vocabulário). */
.bs-hero__botao {
  flex: 0 0 auto;
  min-width: 108px;
  height: 50px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background-color: var(--bsh-accent);
  font-family: inherit;
  font-size: 0.9375rem;                  /* 15px */
  font-weight: 700;
  line-height: normal;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

/* Hover/foco: não estão no Figma — acabamento da conversão */
.bs-hero__botao:hover,
.bs-hero__botao:focus-visible {
  background-color: var(--bsh-accent-dark);
}

.bs-hero__botao:focus-visible {
  outline: 2px solid var(--bsh-navy);
  outline-offset: 2px;
}


/* ============================================================ */
/* RESPONSIVO                                                   */
/* ============================================================ */
@media (max-width: 991.98px) {
  .bs-hero__banner {
    padding-top: 80px;
    padding-bottom: 124px;               /* 76 do card + 48 */
  }

  .bs-hero__titulo {
    font-size: 3rem;                     /* 48px */
    line-height: 52px;
  }

  .bs-hero__texto {
    margin-top: 32px;
    font-size: 1.125rem;                 /* 18px */
    line-height: 26px;
  }

  /* Empilhado, a seção resultados deixa de reservar os 75px do card
     (padding-top dela cai junto, ver resultados.css). */
  .bs-hero__busca {
    margin-bottom: 0;
  }
}

@media (max-width: 767.98px) {
  .bs-hero__banner {
    min-height: 0;
    padding: 64px 20px 116px;
  }

  .bs-hero__titulo {
    font-size: 2.375rem;                 /* 38px */
    line-height: 44px;
  }

  .bs-hero__texto {
    margin-top: 24px;
    font-size: 1.0625rem;                /* 17px */
    line-height: 25px;
  }

  .bs-hero__busca {
    padding: 0 20px;
  }

  .bs-hero__card {
    padding: 28px 28px;
  }
}

@media (max-width: 575.98px) {
  .bs-hero__banner {
    padding: 48px 16px 108px;
  }

  .bs-hero__titulo {
    font-size: 1.875rem;                 /* 30px */
    line-height: 36px;
  }

  .bs-hero__texto {
    margin-top: 20px;
    font-size: 1rem;                     /* 16px */
    line-height: 24px;
  }

  .bs-hero__busca {
    padding: 0 16px;
  }

  .bs-hero__card {
    padding: 22px 20px 24px;
  }

  .bs-hero__campo {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .bs-hero__botao {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-hero__botao {
    transition: none;
  }
}


/* ============================================================ */
/* 2/5 — RESULTADOS — sec-resultados 2973:3107                 */
/* origem: sections/resultados.css                             */
/* ============================================================ */
/* ============================================================ */
/* SECTION: RESULTADOS                                          */
/* ============================================================ */
/* Sem z-index de propósito: o card do hero (z-index 2) pinta por cima dos
   75px de cima. 39.56 = 983 − 943.44 (fim do "Carregar mais"). */
.bs-res {
  padding: var(--bsr-topo) 24px 39.56px;
  background-color: var(--color-page-bg);
  color: var(--bsr-navy);
}

/* `hidden` vence o display dos blocos (estados, cards filtrados) */
.bs-res [hidden] {
  display: none !important;
}

/* Grade em áreas: no desktop a coluna principal ocupa as duas linhas e a
   lateral empilha filtro + boxes; abaixo de 992 o filtro sobe para antes
   dos resultados (ver RESPONSIVO). */
.bs-res__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--bsr-lateral);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "main tente"
    "main filtro"
    "main extras";
  column-gap: var(--bsr-vao);
  max-width: var(--bsr-largura);
  margin: 0 auto;
}

.bs-res__main   { grid-area: main; min-width: 0; }
.bs-res__filtro { grid-area: filtro; }
.bs-res__extras { grid-area: extras; }
.bs-res__box--tente { grid-area: tente; }


/* ------------------------------------------------------------ */
/* Cabeçalho (contador + título)                                */
/* ------------------------------------------------------------ */
/* 193 → 210 contador; 220 + pt 2 → título de 45 até 267 */
.bs-res__contador {
  margin: 0;
  font-size: 0.90625rem;                 /* 14.5px */
  font-weight: 700;
  line-height: 17px;
  color: var(--bsr-navy);
}

.bs-res__titulo {
  margin: 12px 0 0;
  font-size: 2.375rem;                   /* 38px */
  font-weight: 800;
  line-height: 45px;
  color: var(--bsr-navy);
  overflow-wrap: anywhere;               /* termo longo sem espaço não estoura a coluna */
}


/* ------------------------------------------------------------ */
/* Ordenar por (2973:3112): 267 → 292.44; 16 + pb 24 + borda 1   */
/* ------------------------------------------------------------ */
.bs-res__ordenar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 25.44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bsr-borda);
  font-size: 0.84375rem;                 /* 13.5px */
  line-height: 16px;
  color: var(--bsr-apagado);
}

.bs-res__ordem {
  padding: 0;
  min-height: 24px; /* alvo de toque mínimo (WCAG 2.5.8); o texto continua alinhado à linha */
  border: 0;
  background: none;
  font: inherit;
  color: var(--bsr-apagado);
  cursor: pointer;
}

.bs-res__ordem[aria-pressed="true"] {
  font-weight: 700;
  color: var(--bsr-navy);
}

/* Hover/foco: não estão no Figma — acabamento */
.bs-res__ordem:not([aria-pressed="true"]):hover {
  color: var(--bsr-navy);
}

.bs-res__ordem:focus-visible,
.bs-res__chip:focus-visible,
.bs-res__mais-btn:focus-visible {
  outline: 2px solid var(--bsr-accent);
  outline-offset: 2px;
}


/* ------------------------------------------------------------ */
/* Lista de resultados                                          */
/* ------------------------------------------------------------ */
/* 333.44 → 357.44 (24); entre cards 10 */
.bs-res__lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

/* 2973:3125 / 3157. min-height 245: o card do blog (texto curto) tem a altura
   do Figma com o link na base; o do artigo cresce pelo conteúdo (253.87). */
.bs-res__card {
  display: flex;
  min-height: 245px;
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid var(--bsr-borda);
  border-radius: 14px;
  box-shadow: var(--bsr-card-sombra);
}

.bs-res__card-foto {
  position: relative;
  flex: 0 0 220px;
}

.bs-res__card-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Foto do blog: o Figma desloca a foto 51.21% da largura do painel
   (left −51.21%, w 302.11%) = 112.7 dos 444.6px que sobram → 25.3% */
.bs-res__card-img--foco-25 {
  object-position: 25.3% 50%;
}

/* pt/pb 26, px 28, blocos a 8 */
.bs-res__card-corpo {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 26px 28px;
}

/* Tag: 29 de altura (7 + 15 + 7) */
.bs-res__tag {
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78125rem;                 /* 12.5px */
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.bs-res__tag--artigo {
  background-color: rgba(22, 145, 148, 0.12);
  color: #0e6c6e;
}

.bs-res__tag--blog {
  background-color: rgba(255, 128, 0, 0.12);
  color: var(--bsr-hl-cor);
}

/* Fora do Figma (só artigo e blog lá): conceito do vocabulário e novidade */
.bs-res__tag--vocabulario {
  background-color: rgba(41, 35, 92, 0.08);
  color: var(--bsr-navy);
}

.bs-res__tag--novidade {
  background-color: rgba(74, 47, 160, 0.1);
  color: #4a2fa0;
}

/* Bold 19; pt 4 e linhas a 23 (o Figma: 4 → 27 → 50) */
.bs-res__card-titulo {
  margin: 0;
  padding-top: 4px;
  font-size: 1.1875rem;                  /* 19px */
  font-weight: 700;
  line-height: 23px;
  color: var(--bsr-navy);
}

.bs-res__card-resumo {
  margin: 0;
  font-size: 0.90625rem;                 /* 14.5px */
  line-height: 23.2px;
  color: var(--bsr-texto);
}

/* Destaque do termo: Bold laranja-escuro sobre véu laranja .16, r3, px2 */
.bs-res__hl {
  padding: 0 2px;
  border-radius: 3px;
  background-color: var(--bsr-hl-bg);
  font-weight: 700;
  color: var(--bsr-hl-cor);
}

/* Meta: pt 6.49, itens a 8 com "·" entre eles */
.bs-res__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 6.49px 0 0;
  list-style: none;
  font-size: 0.78125rem;                 /* 12.5px */
  line-height: 15px;
  color: var(--bsr-apagado);
}

.bs-res__meta li + li::before {
  content: "·";
  margin-right: 8px;
}

/* Link na base do card (margin-top auto); pt 4, seta 13 a 6 */
.bs-res__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 4px;
  font-size: 0.90625rem;                 /* 14.5px */
  font-weight: 700;
  line-height: 17px;
  color: var(--bsr-accent);
  text-decoration: none;
}

.bs-res__card-link:hover,
.bs-res__card-link:focus-visible {
  color: var(--bsr-accent-dark);
  text-decoration: none;
}

.bs-res__filtro-vazio {
  margin: 24px 0 0;
  font-size: 0.9375rem;                  /* 15px */
  line-height: 24px;
  color: var(--bsr-texto);
}

/* "Carregar mais": 224 × 37 centrado na coluna, 40 abaixo do último card */
.bs-res__mais {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.bs-res__mais-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 224px;
  height: 37px;
  padding: 0 19px;
  border: 1px solid rgba(41, 35, 92, 0.36);
  border-radius: 9px;
  background-color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;                   /* 14px */
  font-weight: 800;
  line-height: 20px;
  color: var(--bsr-navy);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.bs-res__mais-btn:hover {
  border-color: var(--bsr-navy);
}


/* ------------------------------------------------------------ */
/* Aviso (estados vazio e inicial): 267 → 300 (33)              */
/* ------------------------------------------------------------ */
/* py 72, px 48, blocos a 10. Vazio: 319 de altura; inicial: 295. */
.bs-res__aviso {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 33px;
  padding: 72px 48px;
  background-color: var(--bsr-aviso-bg);
  border: 1px solid var(--bsr-borda);
  border-radius: 16px;
  box-shadow: var(--bsr-aviso-sombra);
  text-align: center;
}

.bs-res__aviso--inicial {
  padding-bottom: 74px;                  /* 295 − 221 (fim do texto no Figma) */
}

.bs-res__aviso-icone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 128, 0, 0.1);
}

.bs-res__aviso-titulo {
  margin: 0;
  padding-top: 14px;
  font-size: 1.4375rem;                  /* 23px */
  font-weight: 700;
  line-height: 27px;
  color: var(--bsr-navy);
  overflow-wrap: anywhere;
}

.bs-res__aviso-texto {
  max-width: 584px;
  margin: 0;
  font-size: 0.9375rem;                  /* 15px */
  line-height: 24px;
  color: var(--bsr-texto);
}


/* ------------------------------------------------------------ */
/* Lateral: filtro navy (2973:3186)                             */
/* ------------------------------------------------------------ */
/* 246 = 31 + 15 + 17 + 80 + 17 + 44.2 + 41 */
.bs-res__filtro {
  display: flex;
  flex-direction: column;
  gap: 17px;
  align-self: start;
  padding: 31px 24px 41px;
  border-radius: 16px;
  background-image: var(--bsr-filtro-bg);
  background-color: var(--bsr-navy);
  box-shadow: var(--bsr-filtro-sombra);
  color: #ffffff;
}

.bs-res__filtro-rotulo {
  margin: 0;
  font-size: 0.78125rem;                 /* 12.5px */
  font-weight: 700;
  line-height: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.46);
}

/* Chips 36 de altura, linhas a 44 (vão 8), vão horizontal ~7 */
.bs-res__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 7px;
}

.bs-res__chip {
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  font-family: inherit;
  font-size: 0.84375rem;                 /* 13.5px */
  font-weight: 500;
  line-height: 16px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bs-res__chip[aria-pressed="true"] {
  border-color: var(--bsr-accent);
  background-color: var(--bsr-accent);
  font-weight: 700;
}

/* Hover: não está no Figma — acabamento */
.bs-res__chip:not([aria-pressed="true"]):hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
}

/* 13 / 22.1; caixa de 352 quebra em "fluxo de" | "valor" como no Figma */
.bs-res__populares {
  margin: 0;
  font-size: 0.8125rem;                  /* 13px */
  line-height: 22.1px;
  color: rgba(255, 255, 255, 0.78);
}

.bs-res__populares strong {
  font-weight: 700;
  color: #ffffff;
}

.bs-res__populares a {
  color: inherit;
  text-decoration: none;
}

.bs-res__populares a:hover,
.bs-res__populares a:focus-visible {
  color: #ffffff;
  text-decoration: none;
}


/* ------------------------------------------------------------ */
/* Lateral: boxes (2973:3201 / 3212)                            */
/* ------------------------------------------------------------ */
.bs-res__extras {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* 184.29 = 1 + 24 + 134.29 + 24 + 1 */
.bs-res__box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid var(--bsr-accent);
  border-radius: 14px;
}

.bs-res__box-icone {
  display: flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  height: 42px;
  border-radius: 10px;
  background-color: var(--bsr-accent);
}

.bs-res__box-corpo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5.1px;
  min-width: 0;
}

.bs-res__box-titulo {
  margin: 0;
  font-size: 1.03125rem;                 /* 16.5px */
  font-weight: 700;
  line-height: 19px;
  color: var(--bsr-navy);
}

.bs-res__box-texto {
  margin: 0;
  padding-bottom: 19.085px;
  font-size: 0.84375rem;                 /* 13.5px */
  line-height: 21.6px;
  color: var(--bsr-texto);
}

.bs-res__box-link {
  padding-bottom: 5px;
  font-size: 0.84375rem;                 /* 13.5px */
  font-weight: 700;
  line-height: 16px;
  color: var(--bsr-accent);
  text-decoration: none;
}

.bs-res__box-link:hover,
.bs-res__box-link:focus-visible {
  color: var(--bsr-accent-dark);
  text-decoration: none;
}


/* ------------------------------------------------------------ */
/* Fora do Figma — pedidos do briefing (decisão do autor,       */
/* 2026-10-28): "Continue explorando este tema" e "Tente uma    */
/* nova pesquisa". Mesmos tokens e medidas dos blocos vizinhos. */
/* ------------------------------------------------------------ */
/* Lateral, só no zero: box sem ícone acima do filtro */
.bs-res__box--tente {
  margin-bottom: 20px;
}
.bs-res__box--tente .bs-res__box-texto {
  padding-bottom: 0;
}
.bs-res__box-subtitulo {
  margin: 10px 0 0;
  font-size: 0.84375rem;                 /* 13.5px */
  font-weight: 700;
  line-height: 16px;
  color: var(--bsr-navy);
}
/* Blocos de relacionados na coluna principal */
.bs-rel {
  margin-top: 48px;
}
.bs-rel__titulo {
  margin: 0;
  font-size: 1.4375rem;                  /* 23px, = título do aviso */
  font-weight: 700;
  line-height: 27px;
  color: var(--bsr-navy);
}
.bs-rel__sub {
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 24px;
  color: var(--bsr-texto);
}
.bs-rel__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); /* 3 colunas; quebra sozinho na coluna estreita */
  gap: 16px;
  margin-top: 20px;
}
.bs-rel__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  padding: 22px 22px 24px;
  background-color: #ffffff;
  border: 1px solid var(--bsr-borda);
  border-radius: 14px;
  box-shadow: var(--bsr-card-sombra);
}
.bs-rel__card-titulo {
  margin: 0;
  padding-top: 4px;
  font-size: 1.0625rem;                  /* 17px */
  font-weight: 700;
  line-height: 22px;
  color: var(--bsr-navy);
  overflow-wrap: anywhere;
}
.bs-rel__card-resumo {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 0.875rem;                   /* 14px */
  line-height: 21px;
  color: var(--bsr-texto);
}
/* Autocompletar do hero: mesmo desenho do da Central do Conhecimento (.ccl-autocomplete) */
.busca-page .bs-auto {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.06);
  text-align: left;
}
.busca-page .bs-auto[hidden] {
  display: none;
}
.bs-auto__lista {
  max-height: 420px;
  margin: 0;
  padding: 8px;
  overflow-y: auto;
  list-style: none;
}
.bs-auto__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}
.bs-auto__item:hover,
.bs-auto__item.is-ativo {
  background-color: #f7f5ff;
  text-decoration: none;
}
.bs-auto__tipo {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bs-auto__nome {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.bs-auto__nome strong {
  font-weight: 700;
  color: var(--bsr-navy);
}
.bs-auto__vazio {
  padding: 18px 16px;
  font-size: 0.9rem;
  text-align: center;
  color: #8b8b9e;
}

/* ============================================================ */
/* RESPONSIVO                                                   */
/* ============================================================ */
@media (max-width: 1399.98px) {
  .bs-res__container {
    --bsr-vao: 56px;
    --bsr-lateral: 360px;
  }
}

@media (max-width: 1247.98px) {
  .bs-res__container {
    --bsr-vao: 40px;
    --bsr-lateral: 320px;
  }
  .bs-rel__card {
    padding: 18px 18px 20px;
  }

  .bs-res__card-foto {
    flex-basis: 180px;
  }
}

/* Uma coluna: filtro antes dos resultados (é o controle deles), boxes depois.
   O card do hero deixa de invadir esta seção (hero.css) → topo menor. */
@media (max-width: 991.98px) {
  .bs-res {
    --bsr-topo: 48px;
    padding-bottom: 56px;
  }

  .bs-res__container {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas:
      "tente"
      "filtro"
      "main"
      "extras";
  }

  .bs-res__filtro {
    margin-bottom: 40px;
  }

  .bs-res__extras {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 48px;
  }
}

@media (max-width: 767.98px) {
  .bs-res {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bs-res__titulo {
    font-size: 1.875rem;                 /* 30px */
    line-height: 36px;
  }

  /* Card empilhado: foto em cima */
  .bs-res__card {
    flex-direction: column;
    min-height: 0;
  }

  .bs-res__card-foto {
    flex: 0 0 auto;
    aspect-ratio: 16 / 9;
  }

  .bs-res__card-titulo {
    font-size: 1.125rem;                 /* 18px */
    line-height: 23px;
  }

  .bs-res__card-link {
    margin-top: 0;
  }

  .bs-res__aviso {
    padding: 48px 24px;
  }

  .bs-res__aviso-titulo {
    font-size: 1.25rem;                  /* 20px */
    line-height: 26px;
  }

  .bs-res__extras {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 575.98px) {
  .bs-res {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bs-res__titulo {
    font-size: 1.625rem;                 /* 26px */
    line-height: 32px;
  }

  .bs-res__filtro {
    padding: 24px 20px 28px;
  }

  .bs-res__card-corpo {
    padding: 20px;
  }

  .bs-res__box {
    padding: 20px;
  }

  .bs-res__mais-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bs-res__chip,
  .bs-res__mais-btn {
    transition: none;
  }
}


/* ============================================================ */
/* 3/5 — AMPLIE SUA PESQUISA — sec-amplie 2973:3224            */
/* origem: sections/amplie.css                                 */
/* ============================================================ */
/* ============================================================ */
/* SECTION: AMPLIE                                              */
/* ============================================================ */
.bs-amp {
  background-color: var(--bsa-bg);
  padding: 59px 24px 58px;
}
.bs-amp__container { max-width: 1152px; margin: 0 auto; text-align: center; }

.bs-amp__titulo {
  font-size: 2.375rem; font-weight: 800; line-height: normal;
  color: var(--bsa-navy); margin: 0;
}
.bs-amp__sub {
  font-size: 1.25rem; line-height: 1.1913; color: var(--bsa-muted);
  max-width: 808px; margin: 17px auto 0;
}
.bs-amp__traco {
  width: 44px; height: 3px; background: var(--bsa-accent); margin: 39px auto 0;
}

/* Linhas como a Central do Conhecimento (.ccl-topics): 5 colunas · 4 centralizadas na
   largura de 1/5 · 4 colunas iguais. Chip 224 = (1152 - 4 x 8) / 5. */
.bs-amp__linhas { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
.bs-amp__linha { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bs-amp__linha > li { display: flex; min-width: 0; }
.bs-amp__linha--5 { grid-template-columns: repeat(5, 1fr); }
.bs-amp__linha--4 { display: flex; flex-wrap: wrap; justify-content: center; }
.bs-amp__linha--4 > li { flex: 0 0 calc((100% - 32px) / 5); }
.bs-amp__linha--misto { grid-template-columns: repeat(4, 1fr); }

.bs-amp__chip {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 66px;
  padding: 15px 8px 15px 17px; box-sizing: border-box; /* direita 8 como no Figma: "Transformação Digital" cabe em 1 linha */
  background: var(--bsa-chip-bg); border: 1px solid var(--bsa-chip-borda); border-radius: 10px;
  color: var(--bsa-navy-chip); font-size: .875rem; font-weight: 800; line-height: 1.4;
  text-align: left; text-decoration: none;
  transition: background-color .6s ease, border-color .6s ease, color .6s ease;
}
.bs-amp__chip:hover, .bs-amp__chip:focus-visible {
  border-color: var(--bsa-navy-chip); transform: translateY(-1px);
}
.bs-amp__chip:focus-visible { outline: 2px solid var(--bsa-navy); outline-offset: 2px; }
.bs-amp__ico {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 8px;
  background: var(--bsa-ico-bg); display: flex; align-items: center; justify-content: center;
  transition: background-color .6s ease;
}
.bs-amp__ico img { width: 20px; height: 20px; display: block; transition: filter .6s ease; }

/* Aceso: laranja / navy (amplie.js sorteia e segue o cursor; sem JS fica o do Figma) */
.bs-amp__chip--laranja { background: var(--bsa-accent); border-color: var(--bsa-accent); color: #fff; }
.bs-amp__chip--laranja .bs-amp__ico { background: rgba(255, 255, 255, .4); }
.bs-amp__chip--navy { background: var(--bsa-navy-chip); border-color: var(--bsa-navy-chip); color: #fff; }
.bs-amp__chip--navy .bs-amp__ico { background: rgba(255, 255, 255, .12); }
.bs-amp__chip--laranja .bs-amp__ico img,
.bs-amp__chip--navy .bs-amp__ico img { filter: brightness(0) invert(1); }

/* Rótulo que sobe no hover/foco do chip inteiro (mg-btn do LeanWeb, sem seta) */
.bs-amp .mg-btn__inner { display: inline-flex; }
.bs-amp .mg-btn__swap { position: relative; display: inline-grid; overflow: hidden; }
.bs-amp .mg-btn__swap-text { grid-area: 1 / 1; transition: transform .42s cubic-bezier(.2, .7, .2, 1); }
.bs-amp .mg-btn__swap-text.is-absolute { position: absolute; inset: 0; transform: translate3d(0, 130%, 0); }
.bs-amp__chip:hover .mg-btn__swap-text.is-absolute,
.bs-amp__chip:focus-visible .mg-btn__swap-text.is-absolute { transform: translate3d(0, 0, 0); }
.bs-amp__chip:hover .mg-btn__swap-text.is-relative,
.bs-amp__chip:focus-visible .mg-btn__swap-text.is-relative { transform: translate3d(0, -130%, 0); }

/* ============================================================ */
/* RESPONSIVO                                                   */
/* ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .bs-amp__chip, .bs-amp__ico, .bs-amp__ico img, .bs-amp .mg-btn__swap-text { transition: none; }
  .bs-amp__chip:hover, .bs-amp__chip:focus-visible { transform: none; }
}
/* Abaixo de 992 as 3 linhas viram UMA lista contínua (ul = display: contents):
   linhas separadas deixavam buracos (5 → 3+2, 4 → 3+1). Sem flex-grow: a sobra
   da última linha fica à direita e todos os cards mantêm a mesma largura. */
@media (max-width: 991.98px) {
  .bs-amp__linhas { flex-direction: row; flex-wrap: wrap; }
  .bs-amp__linha { display: contents; }
  .bs-amp__linha > li,
  .bs-amp__linha--4 > li { flex: 0 0 calc((100% - 16px) / 3); }
}
@media (max-width: 767.98px) {
  .bs-amp { padding: 44px 16px 44px; }
  .bs-amp__titulo { font-size: 1.875rem; }
  .bs-amp__sub { font-size: 1.0625rem; }
  .bs-amp__traco { margin-top: 28px; }
  .bs-amp__linhas { margin-top: 28px; }
  .bs-amp__linha > li,
  .bs-amp__linha--4 > li { flex-basis: calc((100% - 8px) / 2); }
}
@media (max-width: 575.98px) {
  .bs-amp__linha > li,
  .bs-amp__linha--4 > li { flex-basis: 100%; }
}


/* ============================================================ */
/* 4/5 — FORMATOS — sec-formatos 2976:2                        */
/* origem: sections/formatos.css                               */
/* ============================================================ */
/* ============================================================ */
/* SECTION: FORMATOS                                            */
/* ============================================================ */
.bs-fmt {
  position: relative; overflow: hidden; /* corta o arco no limite da seção (vazava p/ o CTA) */
  min-height: 537px; display: flex; align-items: center;
  padding: 80px 24px;
  background: #fff;
}
.bs-fmt__arco {
  position: absolute; left: -102px; bottom: -177px; width: 342px; height: 371px;
  border-radius: 50%; background: var(--bsf-arco); pointer-events: none;
}
.bs-fmt__container {
  position: relative; width: 100%; max-width: 1094px; margin: 0 auto;
  display: grid; grid-template-columns: 533px 510px; justify-content: space-between; align-items: center;
}
.bs-fmt__disco {
  position: absolute; right: 44px; top: -105px; width: 459px; height: 444px; border-radius: 50%; background: var(--bsf-disco); pointer-events: none;
}
.bs-fmt__texto, .bs-fmt__grid { position: relative; }
.bs-fmt__texto { align-self: start; padding-top: 6.8px; }

.bs-fmt__titulo {
  font-size: 2.375rem; font-weight: 800; line-height: normal; color: var(--bsf-navy); margin: 0;
}
.bs-fmt__traco { width: 48px; height: 3px; background: var(--bsf-accent); margin-top: 16.7px; }
.bs-fmt__desc {
  font-size: 1.25rem; line-height: 1.4; color: var(--bsf-muted); max-width: 467px; margin: 38px 0 0;
}

.bs-fmt__grid { display: grid; grid-template-columns: repeat(2, 245px); column-gap: 20px; row-gap: 14px; }
.bs-fmt__card {
  min-height: 121px; box-sizing: border-box; padding: 17px 16px 16px;
  background: #fff; border-bottom: 3px solid var(--bsf-accent); border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .07);
  display: flex; flex-direction: column; align-items: center;
}
.bs-fmt__cab { display: flex; align-items: flex-start; gap: 16px; min-height: 45px; margin-bottom: 20px; }
.bs-fmt__ico {
  flex: 0 0 44px; height: 45px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.bs-fmt__ico img { width: 22px; height: 22px; display: block; }
.bs-fmt__ico--spotify { background: var(--bsf-spotify); }
.bs-fmt__ico--youtube { background: var(--bsf-youtube); }
.bs-fmt__ico--livros { background: var(--bsf-accent); }
.bs-fmt__ico--central { background: var(--bsf-navy); }
.bs-fmt__card-titulo {
  font-size: 1rem; font-weight: 800; line-height: 20px; color: var(--bsf-navy);
  margin: 3px 0 0; max-width: 140px; text-wrap: balance; /* 2 linhas como no Figma; a largura fixa por card (108 px) quebrava "Podcast…" em 4 */
}
/* quebra definida no HTML (<br>): as 2 linhas não quebram de novo — com fonte um pouco
   mais larga, "Vídeos, webinars" passava do teto de 140 e virava 3 linhas */
.bs-fmt__card-titulo--fixo { max-width: none; white-space: nowrap; }
.bs-fmt__link {
  margin-top: auto; /* link no pé do card: alinha a linha mesmo com título de 1 ou 2 linhas */
  font-size: .875rem; font-weight: 800; line-height: 20px;
  color: var(--bsf-accent); text-decoration: none; text-align: center; transition: color .2s;
}
.bs-fmt__link:hover { color: #e67300; }

/* ============================================================ */
/* RESPONSIVO                                                   */
/* ============================================================ */
@media (max-width: 1247.98px) {
  .bs-fmt__container { grid-template-columns: 1fr 510px; gap: 40px; }
  .bs-fmt__disco { right: 0; }
}
@media (max-width: 991.98px) {
  .bs-fmt { padding: 56px 24px; }
  .bs-fmt__container { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bs-fmt__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bs-fmt__card-titulo { max-width: none; }   /* card largo: o teto de 140 (desktop) quebrava em 3 linhas */
  /* card largo: conteúdo alinhado à esquerda — centralizado, cada card ficava num
     lugar diferente (ícone/link seguiam o tamanho do título) */
  .bs-fmt__card { align-items: stretch; padding: 20px 24px 16px; }
  .bs-fmt__cab { align-items: center; }
  .bs-fmt__card-titulo { margin-top: 0; }
  .bs-fmt__link { text-align: left; }
  .bs-fmt__disco { right: 50%; transform: translateX(50%); top: auto; bottom: -20px; width: 420px; height: 400px; }
}
@media (max-width: 767.98px) {
  .bs-fmt__titulo { font-size: 1.875rem; }
  .bs-fmt__desc { font-size: 1.0625rem; }
}
@media (max-width: 575.98px) {
  .bs-fmt { padding: 44px 16px; }
  .bs-fmt__grid { grid-template-columns: minmax(0, 1fr); }
  .bs-fmt__disco { width: 320px; height: 340px; }
}


/* ============================================================ */
/* 5/5 — CTA — sec-cta 2973:3330                               */
/* origem: sections/cta.css                                    */
/* ============================================================ */
/* ============================================================ */
/* SECTION: CTA                                                 */
/* ============================================================ */
.bs-cta { background: var(--bsc-bg); padding: 176px 24px 154px; }
.bs-cta__card {
  max-width: 1123px; margin: 0 auto; box-sizing: border-box; min-height: 196px;
  padding: 27px 48px 29px;
  background: var(--bsc-card-bg); border-top: 5px solid var(--bsc-accent); border-radius: 16px;
  box-shadow: 0 8px 9.5px rgba(0, 0, 0, .13);
  display: grid; grid-template-columns: 568px 352px; align-items: center; justify-content: start;
}
.bs-cta__titulo {
  font-size: 1.5rem; font-weight: 800; line-height: normal; color: var(--bsc-titulo); margin: 0;
}
.bs-cta__desc {
  font-size: 1rem; line-height: 20px; color: var(--bsc-texto); max-width: 509px; margin: 12px 0 0;
}
.bs-cta__btn {
  display: flex; align-items: center; justify-content: center; height: 48px;
  background: var(--bsc-btn); color: #fff; border-radius: 8px;
  font-size: 1rem; font-weight: 700; line-height: 24px; text-decoration: none;
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
}
.bs-cta__btn:hover { color: #fff; filter: drop-shadow(0 6px 4px rgba(0, 0, 0, .25)) brightness(1.05); }

/* ============================================================ */
/* RESPONSIVO                                                   */
/* ============================================================ */
@media (max-width: 1247.98px) {
  .bs-cta { padding: 96px 24px; }
  .bs-cta__card { grid-template-columns: minmax(0, 1fr) 352px; column-gap: 40px; }
}
@media (max-width: 991.98px) {
  .bs-cta { padding: 64px 24px; }
  /* uma coluna: centralizada (alinhada à esquerda sobrava meio card vazio à direita) */
  .bs-cta__card { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 24px; padding: 32px 32px 36px; text-align: center; }
  .bs-cta__desc { max-width: 560px; margin-inline: auto; }
  .bs-cta__btn { width: 100%; max-width: 352px; }
}
@media (max-width: 575.98px) {
  .bs-cta { padding: 44px 16px; }
  .bs-cta__card { padding: 24px 20px 28px; }
  .bs-cta__titulo { font-size: 1.25rem; }
  .bs-cta__btn { max-width: none; }
}


/* ============================================================ */
/* LEANWEB                                                      */
/* ============================================================ */
/* 1ª dobra sem piscar (ver js/busca/busca.anim.js) */
.busca-page--preload .bs-hero [data-reveal] {
  opacity: 0;
}

/* Quantidade por tipo nos chips (facetas da busca real; o mockup não tem) */
.bs-res__chip-n {
  margin-left: 2px;
  font-weight: 500;
  opacity: 0.72;
}

/* Tipo sem nenhum conteúdo para o termo: chip desabilitado */
.bs-res__chip:disabled {
  opacity: 0.45;
  cursor: default;
}

/* FAQ mantido da página anterior: links sem sublinhado (o faq-module.css sublinha) */
.busca-page .faq-module__item .accordion-body a,
.busca-page .faq-module__item .accordion-body a:hover,
.busca-page .faq-module__item .accordion-body a:focus {
  text-decoration: none;
}
