/* =========================================
   HERO MOBILE — BANCO SOL LIMPO E ESTÁVEL
========================================= */

.hero-mobile-slider{
  display:none !important;
}

@media(max-width:768px){

  .hero-desktop,
  .hero-slider{
    display:none !important;
  }

  .hero-mobile-slider{
    display:block !important;
    position:relative;
    width:100%;
    height:560px;
    overflow:hidden;
    background:#fff1b8;
  }

  .hm-slide{
    position:absolute;
    inset:0;
    opacity:0;
    visibility:hidden;
    transition:.5s ease;
    background-size:cover;
    background-position:center top;
    background-repeat:no-repeat;
  }

  .hm-slide.active{
    opacity:1;
    visibility:visible;
  }

  .hm-slide::after{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;
    background:linear-gradient(
      180deg,
      rgba(255,255,255,.05) 0%,
      rgba(255,210,0,.18) 42%,
      rgba(0,0,0,.68) 100%
    );
  }

  .hm-text{
    position:absolute;
    left:55px;
    right:35px;
    bottom:285px;
    z-index:3;
    color:#fff;
  }

  .hm-text h1{
    font-size:34px;
    line-height:1.08;
    font-weight:900;
    margin:0 0 14px;
    color:#fff;
  }

  .hm-text h1::after{
    content:"";
    display:block;
    width:52px;
    height:4px;
    background:#FFD200;
    border-radius:999px;
    margin-top:10px;
  }

  .hm-text p{
    font-size:17px;
    line-height:1.45;
    margin:0;
    color:#fff;
    max-width:350px;
  }

  .hm-text a{
    position:absolute;
    left:0;
    top:140px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    background:#FFD200;
    color:#111;
    padding:15px 30px;
    border-radius:999px;
    font-size:16px;
    font-weight:900;
    text-decoration:none;
  }

  .hm-arrow{
    position:absolute;
    top:55%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.6);
    background:rgba(0,0,0,.42);
    color:#fff;
    font-size:30px;
    z-index:5;
    cursor:pointer;
  }

  .hm-prev{ left:15px; }
  .hm-next{ right:15px; }

  .hm-dots{
    position:absolute;
    left:0;
    right:0;
    bottom:40px;
    z-index:5;
    display:flex;
    justify-content:center;
    gap:8px;
  }

  .hm-dots button{
    width:9px;
    height:9px;
    border-radius:999px;
    border:0;
    background:rgba(255,255,255,.7);
    padding:0;
  }

  .hm-dots button.active{
    width:28px;
    background:#FFD200;
  }
}

@media(max-width:768px){

  .hero-mobile-slider{
    height:535px !important;
  }

  .hm-text{
    left:45px !important;
    right:30px !important;
    bottom:255px !important;
  }

  .hm-text h1{
    font-size:31px !important;
  }

  .hm-text p{
    font-size:16px !important;
  }

  .hm-text a{
    top:128px !important;
    min-width:210px !important;
    padding:14px 28px !important;
  }

  .hm-arrow{
    top:55% !important;
  }

  .hm-dots{
    bottom:35px !important;
  }
}