/* =========================================================
   HOMEPAGE REDESIGN — BANCO SOL
   Design system + secções (prefixo .bsr-)
   Fonte: página única (pageCss) — carregada só na homepage.
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS & RESET DA PÁGINA
   --------------------------------------------------------- */
/* Tokens em :root — garantia de resolução mesmo sem o wrapper .bsr-page */
:root {
  --bsr-yellow: #ffd200;
  --bsr-yellow-strong: #e6bd00;
  --bsr-yellow-soft: #fff7d6;
  --bsr-ink: #101828;
  --bsr-navy: #0d1b2a;
  --bsr-surface: #ffffff;
  --bsr-bg: #f5f6f8;
  --bsr-line: #e7e9ee;
  --bsr-text: #2b3445;
  --bsr-muted: #5f6577;
  --bsr-radius: 18px;
  --bsr-radius-sm: 12px;
  --bsr-shadow-sm: 0 6px 16px rgba(16, 24, 40, 0.06);
  --bsr-shadow-md: 0 14px 34px rgba(16, 24, 40, 0.11);
  --bsr-gutter: clamp(20px, 4vw, 40px);
  --bsr-container: 1200px;
}

.bsr-page {
  --bsr-yellow: #ffd200;
  --bsr-yellow-strong: #e6bd00;
  --bsr-yellow-soft: #fff7d6;
  --bsr-ink: #101828;
  --bsr-navy: #0d1b2a;
  --bsr-surface: #ffffff;
  --bsr-bg: #f5f6f8;
  --bsr-line: #e7e9ee;
  --bsr-text: #2b3445;
  --bsr-muted: #5f6577;
  --bsr-radius: 18px;
  --bsr-radius-sm: 12px;
  --bsr-shadow-sm: 0 6px 16px rgba(16, 24, 40, 0.06);
  --bsr-shadow-md: 0 14px 34px rgba(16, 24, 40, 0.11);
  --bsr-gutter: clamp(20px, 4vw, 40px);
  --bsr-container: 1200px;

  color: var(--bsr-text);
  font-family: var(--font-base);
}

.bsr-page *,
.bsr-page *::before,
.bsr-page *::after {
  box-sizing: border-box;
}

.bsr-container {
  width: 100%;
  max-width: var(--bsr-container);
  margin-inline: auto;
  padding-inline: var(--bsr-gutter);
}

/* ---------------------------------------------------------
   2. CABEÇALHO DE SECÇÃO (título, kicker, lead)
   --------------------------------------------------------- */
.bsr-head {
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  text-align: center;
}

.bsr-head--left {
  margin-inline: 0;
  text-align: left;
}

.bsr-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bsr-ink);
  background: var(--bsr-yellow);
  padding: 6px 14px;
  border-radius: 999px;
}

.bsr-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--bsr-ink);
}

.bsr-head h2,
.bsr-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}

.bsr-lead {
  font-size: clamp(0.98rem, 1.4vw, 1.06rem);
  line-height: 1.65;
  color: var(--bsr-muted);
  margin: 0;
}

/* ---------------------------------------------------------
   3. BOTÕES & LINKS
   --------------------------------------------------------- */
.bsr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease,
    transform 0.22s ease, box-shadow 0.22s ease;
}

.bsr-btn:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-btn .bi {
  transition: transform 0.22s ease;
}

.bsr-btn:hover .bi-arrow-right-short {
  transform: translateX(3px);
}

.bsr-btn--primary {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
}

.bsr-btn--primary:hover {
  background: var(--bsr-yellow-strong);
  color: var(--bsr-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 210, 0, 0.36);
}

.bsr-btn--dark {
  background: var(--bsr-ink);
  color: #fff;
}

.bsr-btn--dark:hover {
  background: #000;
  color: #fff;
  transform: translateY(-2px);
}

.bsr-btn--ghost {
  background: transparent;
  color: var(--bsr-ink);
  border-color: var(--bsr-ink);
}

.bsr-btn--ghost:hover {
  background: var(--bsr-ink);
  color: var(--bsr-yellow);
  transform: translateY(-2px);
}

/* variante sobre fundo escuro */
.bsr-btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.bsr-btn--ghost-light:hover {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
  border-color: var(--bsr-yellow);
  transform: translateY(-2px);
}

.bsr-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--bsr-ink);
  text-decoration: none;
  position: relative;
}

.bsr-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 2px;
  width: 100%;
  background: var(--bsr-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.bsr-link:hover::after {
  transform: scaleX(1);
}

.bsr-link .bi {
  transition: transform 0.22s ease;
}

.bsr-link:hover .bi-arrow-right {
  transform: translateX(4px);
}

/* ---------------------------------------------------------
   4. HERO — slider unificado (desktop + mobile)
   --------------------------------------------------------- */
.bsr-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(480px, 62vh, 660px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bsr-navy);
}

.bsr-hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.bsr-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  /* Os banners sao panoramicos (2.74:1). Numa caixa alta e estreita (mobile) o
     cover centrado so mantem ~24% da largura e perde o sujeito; ancorar a
     direita mantem o conteudo visivel, coerente com o overlay escuro a esquerda.
     O override por slide vem de --bsr-hero-focus. */
  background-position: var(--bsr-hero-focus, right center);
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s ease, transform 6s linear;
}

.bsr-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.bsr-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--bsr-hero-focus, right center);
  display: none;
}

.bsr-hero__slide.is-playing .bsr-hero__video {
  display: block;
}

/* Overlay escuro à esquerda para garantir contraste do texto */
.bsr-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    100deg,
    rgba(9, 17, 28, 0.94) 0%,
    rgba(9, 17, 28, 0.82) 38%,
    rgba(9, 17, 28, 0.45) 68%,
    rgba(9, 17, 28, 0.2) 100%
  );
}

.bsr-hero__inner {
  padding-block: clamp(56px, 8vw, 88px);
}

.bsr-hero__panel {
  max-width: 640px;
  color: #fff;
}

.bsr-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bsr-yellow);
}

.bsr-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 16px 0 0;
}

.bsr-hero h1 strong {
  color: var(--bsr-yellow);
}

.bsr-hero__text {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  margin: 16px 0 0;
  max-width: 520px;
}

.bsr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Trust: pequenos indicadores sobre o hero */
.bsr-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 34px);
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  max-width: 560px;
}

.bsr-hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bsr-hero__trust-item b {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--bsr-yellow);
  line-height: 1;
}

.bsr-hero__trust-item span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.02em;
}

/* Navegação do slider (afastada do overlap das quick-actions) */
.bsr-hero__arrows {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(38px, 4vw, 56px);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.bsr-hero__arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease;
}

.bsr-hero__arrow:hover {
  background: var(--bsr-yellow);
  border-color: var(--bsr-yellow);
  color: var(--bsr-ink);
}

.bsr-hero__arrow:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

/* Os dots são absolutos sobre a imagem; a faixa de números (.bsr-hero__trust)
   corre no fluxo. Sem a folga abaixo, as duas coisas disputam a mesma altura
   e os pontos assentam em cima de "Balcões em Angola". A folga é a altura dos
   pontos mais o afastamento do fundo. */
.bsr-hero__inner {
  padding-bottom: clamp(88px, 8vw, 124px);
}

.bsr-hero__dots {
  position: absolute;
  left: clamp(20px, 4vw, 48px);
  bottom: clamp(58px, 6vw, 82px);
  display: flex;
  gap: 9px;
  z-index: 3;
}

.bsr-hero__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.bsr-hero__dot.is-active {
  width: 30px;
  background: var(--bsr-yellow);
}

.bsr-hero__dot:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

/* Entrada suave do conteúdo (só no slide activo) */
.bsr-hero__slide.is-active .bsr-hero__panel > * {
  opacity: 0;
  transform: translateY(16px);
  animation: bsr-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.bsr-hero__slide.is-active .bsr-hero__panel > *:nth-child(1) {
  animation-delay: 0.05s;
}
.bsr-hero__slide.is-active .bsr-hero__panel > *:nth-child(2) {
  animation-delay: 0.16s;
}
.bsr-hero__slide.is-active .bsr-hero__panel > *:nth-child(3) {
  animation-delay: 0.27s;
}
.bsr-hero__slide.is-active .bsr-hero__panel > *:nth-child(4) {
  animation-delay: 0.38s;
}
.bsr-hero__slide.is-active .bsr-hero__panel > *:nth-child(5) {
  animation-delay: 0.49s;
}

@keyframes bsr-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------
   5. QUICK ACTIONS — atalhos logo abaixo do hero
   --------------------------------------------------------- */
.bsr-quick {
  position: relative;
  z-index: 2;
  margin-top: -46px;
}

.bsr-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--bsr-surface);
  border: 1px solid var(--bsr-line);
  border-radius: 24px;
  padding: clamp(16px, 2vw, 22px);
  box-shadow: var(--bsr-shadow-md);
}

.bsr-quick__card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border-radius: var(--bsr-radius-sm);
  background: var(--bsr-bg);
  color: var(--bsr-text);
  text-decoration: none;
  min-height: 74px;
  transition: background-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.bsr-quick__card:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: var(--bsr-shadow-md);
  text-decoration: none;
}

.bsr-quick__card:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 2px;
}

.bsr-quick__icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bsr-yellow-soft);
  color: var(--bsr-ink);
  font-size: 1.25rem;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.bsr-quick__card:hover .bsr-quick__icon {
  background: var(--bsr-yellow);
  transform: scale(1.07);
}

.bsr-quick__title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--bsr-ink);
  line-height: 1.3;
}

.bsr-quick__hint {
  font-size: 12.5px;
  color: var(--bsr-muted);
  margin-top: 2px;
  line-height: 1.35;
}

/* ---------------------------------------------------------
   6. PRODUTOS & SERVIÇOS
   --------------------------------------------------------- */
.bsr-products {
  background: var(--bsr-bg);
  padding: clamp(64px, 8vw, 96px) 0 clamp(40px, 5vw, 60px);
}

.bsr-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bsr-prod-card {
  display: flex;
  flex-direction: column;
  background: var(--bsr-surface);
  border: 1px solid var(--bsr-line);
  border-radius: var(--bsr-radius);
  padding: 24px;
  text-decoration: none;
  color: var(--bsr-text);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.bsr-prod-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bsr-shadow-md);
  border-color: var(--bsr-yellow);
  text-decoration: none;
}

.bsr-prod-card:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-prod-card__cat {
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bsr-ink);
  background: var(--bsr-yellow);
  padding: 5px 11px;
  border-radius: 999px;
}

.bsr-prod-card__title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 16px 0 8px;
  line-height: 1.25;
}

.bsr-prod-card__text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--bsr-muted);
  margin: 0 0 18px;
  flex: 1;
}

.bsr-prod-card__foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bsr-ink);
}

.bsr-prod-card__foot .bi {
  transition: transform 0.22s ease;
}

.bsr-prod-card:hover .bsr-prod-card__foot .bi {
  transform: translateX(5px);
}

/* ---------------------------------------------------------
   7. "O QUE PRETENDE FAZER?" — secção por intenção
   --------------------------------------------------------- */
.bsr-intent {
  background: #0d1b2a;
  background: var(--bsr-navy);
  padding: clamp(64px, 8vw, 96px) 0;
  position: relative;
  overflow: hidden;
}

/* toque decorativo subtil */
.bsr-intent::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.14) 0%, transparent 70%);
  pointer-events: none;
}

.bsr-intent .bsr-head h2,
.bsr-intent .bsr-title {
  color: #cbd5e1;
}

.bsr-intent .bsr-lead {
  color: var(--bsr-muted);
}

.bsr-intent .bsr-kicker {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
}

.bsr-intent__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.bsr-intent__card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--bsr-radius);
  padding: 22px;
  text-decoration: none;
  color: #fff;
  min-height: 158px;
  transition: background-color 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.bsr-intent__card:hover {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
  border-color: var(--bsr-yellow);
  transform: translateY(-6px);
  text-decoration: none;
}

.bsr-intent__card:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-intent__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 210, 0, 0.16);
  color: var(--bsr-yellow);
  font-size: 1.35rem;
  transition: background-color 0.24s ease, color 0.24s ease;
}

.bsr-intent__card:hover .bsr-intent__icon {
  background: rgba(16, 24, 40, 0.12);
  color: var(--bsr-ink);
}

.bsr-intent__title {
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.bsr-intent__hint {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.5;
  transition: color 0.24s ease;
}

.bsr-intent__card:hover .bsr-intent__hint {
  color: rgba(16, 24, 40, 0.75);
}

/* ---------------------------------------------------------
   8. BANCO SOL EM NÚMEROS (counters)
   --------------------------------------------------------- */
.bsr-stats {
  background: var(--bsr-surface);
  padding: clamp(64px, 8vw, 96px) 0;
}

.bsr-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bsr-stat {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--bsr-radius);
  background: var(--bsr-bg);
  border: 1px solid var(--bsr-line);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.bsr-stat:hover {
  transform: translateY(-5px);
  box-shadow: var(--bsr-shadow-md);
  background: #fff;
}

.bsr-stat--featured {
  background: var(--bsr-yellow);
  border-color: var(--bsr-yellow);
}

.bsr-stat__icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 24, 40, 0.07);
  color: var(--bsr-ink);
  font-size: 1.2rem;
}

.bsr-stat--featured .bsr-stat__icon {
  background: rgba(16, 24, 40, 0.14);
}

.bsr-stat__value {
  display: inline-block;
  font-size: clamp(2.1rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--bsr-ink);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.bsr-stat__suffix {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--bsr-ink);
}

.bsr-stat__label {
  display: block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bsr-muted);
}

.bsr-stat--featured .bsr-stat__label {
  color: rgba(16, 24, 40, 0.75);
}

/* ---------------------------------------------------------
   9. CANAIS DIGITAIS — INTERNET BANKING / APP
   --------------------------------------------------------- */
.bsr-channels {
  background: var(--bsr-navy);
  padding: clamp(64px, 8vw, 100px) 0;
  overflow: hidden;
}

.bsr-channels__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.bsr-channels .bsr-kicker {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
}

.bsr-channels .bsr-title {
  color: #fff;
}

.bsr-channels .bsr-lead {
  color: rgba(255, 255, 255, 0.75);
}

.bsr-channels__list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: grid;
  gap: 14px;
}

.bsr-channels__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
  line-height: 1.5;
}

.bsr-channels__list .bi {
  color: var(--bsr-yellow);
  font-size: 1.15rem;
  margin-top: 1px;
  flex: none;
}

.bsr-channels__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.bsr-store {
  display: inline-flex;
  align-items: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  padding: 9px 16px;
  min-height: 48px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.bsr-store:hover {
  border-color: var(--bsr-yellow);
  transform: translateY(-2px);
  text-decoration: none;
}

.bsr-store:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-store img {
  height: 26px;
  width: auto;
  display: block;
}

/* visual: telemóvel */
.bsr-channels__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.bsr-channels__phone {
  position: relative;
  z-index: 1;
  width: min(320px, 82%);
  height: auto;
  border-radius: 34px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border: 6px solid rgba(255, 255, 255, 0.12);
}

.bsr-channels__glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.35) 0%, transparent 70%);
  filter: blur(6px);
}

/* cartão flutuante "segurança" */
.bsr-channels__chip {
  position: absolute;
  bottom: 8%;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--bsr-shadow-md);
  animation: bsr-float 4.5s ease-in-out infinite;
}

.bsr-channels__chip .bi {
  color: #16a34a;
  font-size: 1.3rem;
}

.bsr-channels__chip b {
  display: block;
  font-size: 13.5px;
  color: var(--bsr-ink);
}

.bsr-channels__chip span {
  font-size: 12px;
  color: var(--bsr-muted);
}

@keyframes bsr-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ---------------------------------------------------------
   10. INSTITUCIONAL — "Conheça o Banco Sol"
   --------------------------------------------------------- */
.bsr-about {
  background: var(--bsr-surface);
  padding: clamp(64px, 8vw, 96px) 0;
}

.bsr-about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.bsr-about__text .bsr-title {
  margin-top: 16px;
}

.bsr-about__points {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.bsr-about__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--bsr-text);
  line-height: 1.55;
}

.bsr-about__points .bi {
  color: var(--bsr-yellow-strong);
  font-size: 1.2rem;
  margin-top: 2px;
  flex: none;
}

.bsr-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.bsr-about__media {
  position: relative;
  border-radius: var(--bsr-radius);
  overflow: hidden;
  box-shadow: var(--bsr-shadow-md);
  background: var(--bsr-navy);
  aspect-ratio: 16 / 10;
}

.bsr-about__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  display: none;
}

.bsr-about__media.is-playing video {
  display: block;
}

.bsr-about__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
}

.bsr-about__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 1;
}

/* ---------------------------------------------------------
   11. BANNER PREÇÁRIO + CARREIRAS / SUSTENTABILIDADE
   --------------------------------------------------------- */
.bsr-promo {
  background: var(--bsr-bg);
  padding: clamp(48px, 6vw, 72px) 0;
}

.bsr-promo__card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(24px, 4vw, 48px);
  background: var(--bsr-yellow);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 44px);
  overflow: hidden;
}

.bsr-promo__card h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 0 0 10px;
  line-height: 1.15;
}

.bsr-promo__card p {
  color: rgba(16, 24, 40, 0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 22px;
  max-width: 520px;
}

.bsr-promo__media {
  position: relative;
}

.bsr-promo__media img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--bsr-shadow-md);
  display: block;
}

/* faixa editorial: carreiras / sustentabilidade / ranking */
.bsr-editorial {
  background: var(--bsr-bg);
  padding-bottom: clamp(48px, 6vw, 72px);
}

.bsr-editorial__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bsr-edit-card {
  display: flex;
  flex-direction: column;
  background: var(--bsr-surface);
  border: 1px solid var(--bsr-line);
  border-radius: var(--bsr-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--bsr-text);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.bsr-edit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bsr-shadow-md);
  border-color: var(--bsr-yellow);
  text-decoration: none;
}

.bsr-edit-card:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-edit-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bsr-edit-card__tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bsr-muted);
}

.bsr-edit-card__title {
  font-size: 1.14rem;
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 0;
  line-height: 1.3;
}

.bsr-edit-card__text {
  font-size: 14.5px;
  color: var(--bsr-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.bsr-edit-card__foot {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-size: 14px;
  color: var(--bsr-ink);
}

.bsr-edit-card__foot .bi {
  transition: transform 0.22s ease;
}

.bsr-edit-card:hover .bsr-edit-card__foot .bi {
  transform: translateX(5px);
}

/* ---------------------------------------------------------
   12. NOTÍCIAS — área editorial com hierarquia
   --------------------------------------------------------- */
.bsr-news {
  background: var(--bsr-surface);
  padding: clamp(64px, 8vw, 96px) 0;
}

.bsr-news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bsr-news__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bsr-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--bsr-surface);
  color: var(--bsr-text);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.bsr-news__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bsr-shadow-sm);
  border-color: var(--bsr-yellow);
}

.bsr-news__card:focus-within {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-news__card-media {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--bsr-navy) center / cover no-repeat;
  text-decoration: none;
}

.bsr-news__card-body {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px) 4px;
  flex: 1;
}

.bsr-news__chip {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
  padding: 4px 10px;
  border-radius: 999px;
}

.bsr-news__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--bsr-muted);
  font-weight: 600;
}

.bsr-news__card-title {
  font-size: clamp(15.5px, 1.6vw, 17.5px);
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 0;
  line-height: 1.3;
}

.bsr-news__card-title a {
  color: inherit;
  text-decoration: none;
}

.bsr-news__card-title a:hover {
  color: var(--bsr-ink);
  text-decoration: underline;
  text-decoration-color: var(--bsr-yellow);
  text-underline-offset: 3px;
}

.bsr-news__excerpt {
  font-size: 14px;
  color: var(--bsr-muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bsr-news__card-foot {
  padding: 14px clamp(16px, 2.4vw, 22px) clamp(16px, 2.4vw, 22px);
}

.bsr-news__more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--bsr-navy);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.bsr-news__more:hover {
  color: var(--bsr-ink);
  border-bottom-color: var(--bsr-yellow);
  text-decoration: none;
}

.bsr-news__more .bi {
  font-size: 16px;
  transition: transform 0.2s ease;
}

.bsr-news__card:hover .bsr-news__more .bi {
  transform: translateX(3px);
}

.bsr-news__empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--bsr-line);
  border-radius: var(--bsr-radius);
  padding: clamp(26px, 4vw, 40px);
  text-align: center;
  color: var(--bsr-muted);
  background: var(--bsr-bg);
}

/* ---------------------------------------------------------
   13. LOCALIZADOR — BALCÕES & ATM
   --------------------------------------------------------- */
.bsr-locator {
  background: var(--bsr-bg);
  padding: clamp(64px, 8vw, 96px) 0;
}

.bsr-locator .bsr-head h2,
.bsr-locator .bsr-title {
  color: var(--bsr-ink);
}

.bsr-locator .bsr-lead {
  color: var(--bsr-muted);
}

.bsr-locator .bsr-kicker {
  background: var(--bsr-yellow);
  color: var(--bsr-ink);
}

.bsr-locator__panel {
  background: #fff;
  border-radius: 24px;
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--bsr-shadow-md);
}

.bsr-locator__tabs {
  display: inline-flex;
  background: var(--bsr-bg);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
  margin-bottom: 20px;
}

.bsr-locator__tab {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--bsr-muted);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bsr-locator__tab.is-active {
  background: var(--bsr-ink);
  color: var(--bsr-yellow);
}

.bsr-locator__tab:focus-visible {
  outline: 3px solid var(--bsr-yellow);
  outline-offset: 3px;
}

.bsr-locator__form {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 12px;
}

.bsr-locator__form input,
.bsr-locator__form select {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--bsr-line);
  border-radius: 12px;
  background: var(--bsr-bg);
  font-size: 15px;
  color: var(--bsr-text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bsr-locator__form input:focus,
.bsr-locator__form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--bsr-yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 0, 0.35);
}

.bsr-locator__results {
  margin-top: 18px;
}

.bsr-locator__hint {
  color: var(--bsr-muted);
  font-size: 14.5px;
  padding: 16px 4px;
}

.bsr-locator__item {
  padding: 15px 4px;
  border-bottom: 1px solid var(--bsr-line);
}

.bsr-locator__item:last-child {
  border-bottom: none;
}

.bsr-locator__item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bsr-locator__item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bsr-yellow-soft);
  color: var(--bsr-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.bsr-locator__item h4 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--bsr-ink);
}

.bsr-locator__item p {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--bsr-muted);
  line-height: 1.55;
}

.bsr-locator__status {
  display: inline-block;
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #067647;
}

.bsr-locator__status[data-estado="Sem numerário"],
.bsr-locator__status[data-estado="Em manutenção"] {
  background: #fef2f2;
  color: #b42318;
}

.bsr-locator__status[data-estado="Pouco numerário"] {
  background: #fffaeb;
  color: #b54708;
}

.bsr-locator__all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--bsr-ink);
  text-decoration: none;
}

.bsr-locator__all:hover {
  color: var(--bsr-yellow-strong);
  text-decoration: none;
}

/* ---------------------------------------------------------
   14. CTA FINAL
   --------------------------------------------------------- */
.bsr-final {
  background: var(--bsr-yellow);
  padding: clamp(46px, 6vw, 68px) 0;
}

.bsr-final__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.bsr-final h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--bsr-ink);
  margin: 0 0 8px;
  line-height: 1.15;
  max-width: 640px;
}

.bsr-final p {
  color: rgba(16, 24, 40, 0.78);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  max-width: 560px;
}

.bsr-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------------------------------------------------------
   15. ANIMAÇÕES DE SCROLL (reveal — só com JS activo)
   --------------------------------------------------------- */
.bsr-reveal {
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

html.bsr-js .bsr-reveal {
  opacity: 0;
  transform: translateY(26px);
}

html.bsr-js .bsr-reveal.is-inview,
.bsr-reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   16. RESPONSIVIDADE
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .bsr-quick__grid,
  .bsr-intent__grid,
  .bsr-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bsr-products__grid,
  .bsr-editorial__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1080px) {
  .bsr-news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .bsr-channels__layout,
  .bsr-about__layout,
  .bsr-promo__card,
  .bsr-news__grid {
    grid-template-columns: 1fr;
  }

  .bsr-locator__form {
    grid-template-columns: 1fr;
  }

  .bsr-promo__card {
    text-align: center;
  }

  .bsr-promo__card p {
    margin-inline: auto;
  }

  .bsr-final__inner {
    justify-content: center;
    text-align: center;
  }

  .bsr-final h2,
  .bsr-final p {
    margin-inline: auto;
  }

  .bsr-about__media {
    order: -1;
  }

  /* Os pontos ficam centrados no fundo do hero, abaixo da faixa de números.
     Continuam absolutos: o .bsr-hero é flex, e tirar-lhes o posicionamento
     punha-os ao lado do conteúdo em vez de debaixo dele. É a folga do
     .bsr-hero__inner que lhes abre o espaço.
     O `bottom` tem de limpar os 46px com que o cartão de acessos rápidos
     (.bsr-quick, margin-top negativa) sobe por cima do fim do hero — senão
     os pontos deixam de se ver por baixo do cartão branco. */
  .bsr-hero__inner {
    padding-bottom: 102px;
  }

  .bsr-hero__dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 64px;
  }

  .bsr-hero__arrows {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
    right: 8px;
    flex-direction: column;
  }

  .bsr-hero {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .bsr-quick__grid,
  .bsr-intent__grid,
  .bsr-stats__grid,
  .bsr-products__grid,
  .bsr-editorial__grid {
    grid-template-columns: 1fr;
  }

  .bsr-quick {
    margin-top: -28px;
  }

  .bsr-quick__grid {
    gap: 10px;
    border-radius: 18px;
  }

  /* Os dois botoes do hero ficam lado a lado e compactos. O width:100%
     anterior empilhava-os em duas linhas; o flex:1 1 0 seguinte esticava-os
     para partirem a largura toda. Agora dimensionam-se pelo rotulo. */
  .bsr-hero__actions {
    gap: 8px;
    flex-wrap: nowrap;
    margin-top: 20px;
  }

  .bsr-hero__actions .bsr-btn {
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 38px;
    padding: 7px 10px;
    gap: 4px;
    font-size: 12px;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
  }

  .bsr-news__card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .bsr-channels__chip {
    left: 4px;
    bottom: 4px;
    padding: 10px 13px;
  }

  .bsr-hero__trust {
    gap: 18px;
  }
}

/* ---------------------------------------------------------
   17. PREFERS-REDUCED-MOTION
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .bsr-page *,
  .bsr-page *::before,
  .bsr-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  html.bsr-js .bsr-reveal {
    opacity: 1;
    transform: none;
  }

  .bsr-hero__panel > *,
  .bsr-hero__slide.is-active .bsr-hero__panel > * {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bsr-hero__slide {
    transform: none;
  }

  .bsr-channels__chip {
    animation: none;
  }
}

/* ---------------------------------------------------------
     HERO EM TOUCH: sem setas, navegacao pelos dots
     --------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  .bsr-hero__arrows {
    display: none;
  }

  /* Os dots passam a ser a unica navegacao, por isso o alvo de toque
     cresce para 24px minimo sem alterar o tamanho visual do ponto. */
  .bsr-hero__dot {
    position: relative;
  }

  .bsr-hero__dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 560px) {
  .bsr-hero__arrows {
    display: none;
  }
}
