/* =========================================================
   BANNER PREÇÁRIO — HERO CORPORATIVO EUROPEU
   ========================================================= */

.banner-precario-sol {
  padding: 40px 0;
  background: linear-gradient(135deg, #0f1c2e, #16263f);
}

.banner-sol-content {
  max-width: 1280px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;

  position: relative;
  overflow: hidden;

  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.35);
}

/* ================= BLOCO AMARELO ================= */

.banner-sol-text {
  background: #FFD200;
  padding: 90px 80px;
  color: #000;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-top-right-radius: 120px;  /* curva elegante */
  border-bottom-right-radius: 120px;

  position: relative;
  z-index: 2;
}

.banner-sol-text h2 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 20px;
  
  white-space: nowrap; /* força ficar numa linha */
}

.banner-sol-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 35px;
}

/* Botão premium */

.btn-precario {
  display: inline-block;
  align-self: center; /* centraliza dentro do bloco */

  border: 2px solid #000;
  color: #000;

  padding: 10px 22px; /* mais curto */
  font-weight: 600;

  border-radius: 999px;
  text-decoration: none;

  transition: all .3s ease;
}

.btn-precario:hover {
  background: #000;
  color: #FFD200;
}


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

.banner-sol-image {
  position: relative;
  overflow: hidden;
}

/* Corte diagonal moderno */

.banner-sol-image::before {
  content: "";
  position: absolute;
  left: -80px;
  top: 0;
  width: 160px;
  height: 100%;
  background: #FFD200;
  transform: skewX(-20deg);
  z-index: 2;
}

.banner-sol-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.banner-sol-content:hover .banner-sol-image img {
  transform: scale(1.05);
}

/* Overlay subtil */

.banner-sol-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.5)
  );
}

/* Tag */

.banner-sol-tag {
  position: absolute;
  bottom: 35px;
  right: 35px;

  background: rgba(0,0,0,0.8);
  color: #FFD200;

  padding: 12px 22px;
  border-radius: 999px;

  font-size: .9rem;
  font-weight: 600;
}

.btn-precario {
  display: inline-block;

  border: 2px solid #fff;
  color: #000;

  padding: 14px 32px; /* maior */
  font-size: 1.05rem; /* ligeiramente maior */
  font-weight: 600;

  border-radius: 999px;
  text-decoration: none;
  background: transparent;

  transition: all .3s ease;
}

.btn-precario:hover {
  background: #000;
  color: #FFD200;
}

/* ================= MOBILE ================= */

@media (max-width: 992px) {

  .banner-sol-content {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
  }

  .banner-sol-text {
    border-radius: 0;
    padding: 60px 30px;
  }

  .banner-sol-text h2 {
    font-size: 2rem;
   white-space: normal;
  }

  .banner-sol-image {
    aspect-ratio: 4 / 3;
  }

  .banner-sol-image::before {
    display: none; /* remove corte diagonal no mobile */
  }

}
