/* =====================================================
   RANKING BNA — BANCO SOL
   ===================================================== */

:root {
  --sol-yellow: #FFD200;
  --text-main: #111111;
  --text-muted: #6b7280;
  --bg-light: #f5f7fa;
}

/* =========================
   ANIMAÇÕES
   ========================= */

@keyframes fadeUp {
  from {
    opacity:0;
    transform: translateY(30px);
  }
  to {
    opacity:1;
    transform: translateY(0);
  }
}

@keyframes fadeRight {
  from {
    opacity:0;
    transform: translateX(-40px);
  }
  to {
    opacity:1;
    transform: translateX(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity:0;
    transform: translateX(40px);
  }
  to {
    opacity:1;
    transform: translateX(0);
  }
}

/* =========================
   SECÇÃO
   ========================= */

.ranking-bna-section {
  padding: 70px 0;
  background: var(--bg-light);
  animation: fadeUp .9s ease;
}

/* =========================
   LAYOUT
   ========================= */

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* =========================
   CARD ESQUERDA
   ========================= */

.ranking-card {
  background: #ffffff;
  padding: 36px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,.05);

  animation: fadeRight 1s ease;
}

/* Eyebrow */

.ranking-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--sol-yellow);
  margin-bottom: 14px;
}

/* =========================
   TÍTULO
   ========================= */

.ranking-card h2 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
  color: var(--text-main);

  animation: fadeUp 1.2s ease;
}

/* =========================
   TEXTO
   ========================= */

.ranking-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 26px;
  max-width: 520px;

  animation: fadeUp 1.3s ease;
}

/* =========================
   BOTÃO
   ========================= */

.btn-ranking {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sol-yellow);
  color: #000;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
  font-size: 0.9rem;

  animation: fadeUp 1.4s ease;
}

.btn-ranking span {
  transition: transform .25s ease;
}

.btn-ranking:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
}

.btn-ranking:hover span {
  transform: translateX(4px);
}

/* =========================
   IMAGEM DIREITA
   ========================= */

.ranking-image img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.12);

  animation: fadeLeft 1s ease;
}

/* =========================
   RESPONSIVO
   ========================= */

@media (max-width: 992px) {

  .ranking-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .ranking-card {
    padding: 30px;
  }

  .ranking-image img {
    max-height: 360px;
  }
}

@media (max-width: 600px) {

  .ranking-bna-section {
    padding: 55px 0;
  }

  .ranking-card {
    padding: 24px;
  }

  .ranking-card h2 {
    font-size: 1.3rem;
  }
}



/* =====================================
   LINHA SEPARADORA RANKING BNA
===================================== */

.ranking-bna-section{
  position:relative;
  padding-bottom:85px;
}

.ranking-bna-section::after{
  content:"";

  position:absolute;

  left:50%;
  bottom:25px;

  transform:translateX(-50%);

  width:min(1280px, calc(100% - 40px));
  height:3px;

  border-radius:999px;

  background:
  linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,210,0,.30) 15%,
    #FFD200 50%,
    rgba(255,210,0,.30) 85%,
    transparent 100%
  );

  pointer-events:none;
}