/* =====================================================
   DESTAQUES — BANCO SOL (REFINADA PREMIUM + ANIMAÇÕES)
===================================================== */

.sol-destaques {
  padding: 50px 20px;
  background: #f8f8f8;
}

/* ================= HEADER ================= */

.sol-destaques-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
}

.sol-destaques-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin: 0;
  letter-spacing: -0.3px;
  position: relative;
}

/* detalhe amarelo subtil */

.sol-destaques-header h2::after {
  content: "";
  display: block;
  width: 38px;
  height: 3px;
  background: #f4b400;
  margin-top: 6px;
  border-radius: 2px;
}

/* linha elegante */

.sol-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    #e0e0e0 0%,
    #e0e0e0 70%,
    rgba(0,0,0,0.05) 100%
  );
}

/* ================= GRID ================= */

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

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

.sol-card {
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;

  transition: all 0.3s ease;

  /* animação de entrada */
  opacity: 0;
  transform: translateY(25px);
  animation: solFadeUp 0.8s ease forwards;
}

/* delays para aparecer em sequência */

.sol-card:nth-child(1){ animation-delay:0.1s; }
.sol-card:nth-child(2){ animation-delay:0.2s; }
.sol-card:nth-child(3){ animation-delay:0.3s; }
.sol-card:nth-child(4){ animation-delay:0.4s; }
.sol-card:nth-child(5){ animation-delay:0.5s; }
.sol-card:nth-child(6){ animation-delay:0.6s; }
.sol-card:nth-child(7){ animation-delay:0.7s; }
.sol-card:nth-child(8){ animation-delay:0.8s; }

/* animação */

@keyframes solFadeUp{
  to{
    opacity:1;
    transform: translateY(0);
  }
}

/* ================= HOVER PREMIUM ================= */

.sol-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: #f4b400;
}

/* ================= EFEITO BRILHO ================= */

.sol-card::before{
  content:"";
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  transition:0.6s;
}

.sol-card:hover::before{
  left:100%;
}

/* ================= ÍCONE ================= */

.sol-icon {
  font-size: 22px;
  margin-bottom: 8px;
  color: #f4b400;
  transition: transform 0.3s ease;
}


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

.sol-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #111;
}

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

.sol-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

/* ================= DESTAQUE SERVIÇOS ================= */

.sol-card:nth-child(6),
.sol-card:nth-child(7),
.sol-card:nth-child(8) {
  background: #fffdf5;
  border: 1px solid #f4b400;
}

.sol-card:nth-child(6):hover,
.sol-card:nth-child(7):hover,
.sol-card:nth-child(8):hover {
  box-shadow: 0 16px 32px rgba(244, 180, 0, 0.18);
}

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

@media (max-width: 1024px) {
  .sol-destaques-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .sol-destaques-header h2 {
    font-size: 22px;
  }

  .sol-destaques-grid {
    grid-template-columns: 1fr;
  }

}