/* =========================
   ANUNCIOS CARDS CARROCEIS HOME
   ========================= */

.llh-card{
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.llh-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.llh-card--premium{
  border-color: rgba(202, 163, 58, 0.26);
  box-shadow: 0 14px 34px rgba(184, 134, 11, 0.12);
}

.llh-card--premium:hover{
  border-color: rgba(202, 163, 58, 0.44);
  box-shadow: 0 22px 46px rgba(184, 134, 11, 0.18);
}

.llh-card--pro{
  border-color: rgba(29, 78, 137, 0.20);
  box-shadow: 0 14px 34px rgba(29, 78, 137, 0.10);
}

.llh-card--pro:hover{
  border-color: rgba(29, 78, 137, 0.34);
  box-shadow: 0 22px 46px rgba(29, 78, 137, 0.16);
}

.llh-card--free{
  border-color: rgba(15, 23, 42, 0.08);
}

.llh-card-top{
  padding: 14px 16px 0;
}

.llh-card-brand{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.llh-card-logo{
  flex-shrink: 0;
}

.llh-card-logo img,
.llh-card-logo-ph{
  width: 54px;
  height: 54px;
  border-radius: 16px;
}

.llh-card-logo img{
  display: block;
  object-fit: contain;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  padding:5px;
}

.llh-card-logo-ph{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #1d4e89;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.llh-card-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  white-space: nowrap;
}

.llh-card--premium .llh-card-badge{
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #fff;
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.22);
}

/* =========================
   PRO — BADGE
   ========================= */

.llh-card--pro .llh-card-badge{
  background:linear-gradient(135deg,#3B6FA8,#315F90);
  color:#fff;
  box-shadow:0 8px 18px rgba(49,95,144,.22);
}

.llh-card--free .llh-card-badge{
  background: #eef2f7;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.08);
  
  box-shadow:0 6px 14px rgba(15,23,42,.06)
}

.llh-card-media{
  padding: 14px 16px 0;
}

.llh-card-img{
  display: block;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  background: #f8fafc;
}

.llh-card--premium .llh-card-img{
  height: 230px;
}

.llh-card--pro .llh-card-img{
  height: 205px;
}

.llh-card--free .llh-card-img{
  height: 180px;
}

.llh-card-body{
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}

.llh-card-title{
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 800;
  color: #14213d;
}

.llh-card--premium .llh-card-title{
  font-size: 19px;
}

.llh-card--free .llh-card-title{
  font-size: 17px;
}

.llh-card-verified{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #22c55e;
  font-size: 16px;
  flex-shrink: 0;
}

.llh-card-trust{
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: #6b7280;
  font-weight: 600;
}

.llh-card-meta{
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.llh-card-meta span{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #334155;
}

.llh-card-meta i{
  width: 16px;
  text-align: center;
  color: #1d4e89;
  flex-shrink: 0;
}


/* Ícones dos metadados — PRO */
.llh-card--pro .llh-card-meta i{
  color:#3B6FA8;
}

.llh-card-description{
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.llh-card-footer{
  padding: 0 16px 16px;
  margin-top: auto;
}

.llh-card-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.llh-card-btn:hover{
  transform: translateY(-1px);
}

.llh-card--premium .llh-card-btn{
  background: linear-gradient(90deg,var(--ll-brand),var(--ll-brand-2));
  color:#fff;
  box-shadow:0 10px 22px rgba(15,23,42,.18);
}

.llh-card--pro .llh-card-btn{
  background:linear-gradient(135deg,#3B6FA8,#315F90);
  color:#fff;
  box-shadow:0 10px 20px rgba(49,95,144,.22);
}

.llh-card--pro .llh-card-btn:hover{
  background:linear-gradient(135deg,#315F90,#294F78);
  box-shadow:0 14px 26px rgba(49,95,144,.28);
}

.llh-card--free .llh-card-btn{
  background:#64748b;
  color:#fff;
  border:1px solid #64748b;
  box-shadow:none;
}

.llh-card--free .llh-card-btn:hover{
  background:#526174;
  color:#fff;
  border-color:#526174;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(100,116,139,.22);
}

.llh-card--premium{
  transform:scale(1.02);
}

@media (max-width: 640px){
  .llh-card--premium .llh-card-img{
    height: 205px;
  }

  .llh-card--pro .llh-card-img{
    height: 190px;
  }

  .llh-card--free .llh-card-img{
    height: 170px;
  }

  .llh-card-title{
    font-size: 16px;
  }

  .llh-card--premium .llh-card-title{
    font-size: 17px;
  }

  .llh-card-badge{
    font-size: 11px;
    padding: 0 10px;
  }

  .llh-card-brand--free{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.llh-card--free .llh-card-top{
  padding: 14px 16px 8px;
}

.llh-card--free .llh-card-media{
  padding-top: 0;
}

/* ===== TOPO DOS CARDS ===== */

.llh-card-top{
  padding:14px 16px 0;
}

/* layout normal (PRO / PREMIUM) */

.llh-card-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* layout do gratuito */

.llh-card-brand--free{
  display:flex;
  justify-content:flex-end;
  align-items:center;
}

/* remove espaço do logo no gratuito */

.llh-card--free .llh-card-top{
  padding:12px 16px 0;
}

.llh-card--free .llh-card-media{
  padding-top:0;
}
}


/* TÍTULO DO CARROSSEL PREMIUM */

.premium-kicker{
  text-align:center;
  font-size:28px;
  font-weight:900;
  margin:30px auto 22px;
  max-width:760px;

  background:linear-gradient(90deg,var(--ll-brand),var(--ll-brand-2));
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}


/* =========================
   PREMIUM CARDS — FINAL
   ========================= */

.ll-premium-card{
  width:290px;
  flex:0 0 auto;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(15,23,42,.08);
  box-shadow:0 14px 28px rgba(15,23,42,.08);
  display:flex;
  flex-direction:column;
  transition:all .22s ease;
}

.ll-premium-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 38px rgba(15,23,42,.14);
}


/* =========================
   TOPO
   ========================= */

.ll-premium-top{
  padding:10px 12px;
  background:#fff;
  border-bottom:1px solid rgba(15,23,42,.06);
}

.ll-premium-brand{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}


/* =========================
   LOGO
   ========================= */

.ll-premium-logo{
  width:52px;
  height:52px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
}

.ll-premium-logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
  padding:5px;
}

.ll-premium-logo-ph{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef2f7;
  font-weight:800;
  font-size:15px;
  color:#1d4e89;
}


/* =========================
   BADGE PREMIUM
   ========================= */

.ll-premium-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 12px;
  border-radius:999px;

  background:linear-gradient(135deg,#d4af37,#b8860b);
  color:#fff !important;

  font-size:12px;
  font-weight:800;
  letter-spacing:.03em;

  border:1px solid rgba(184,134,11,.3);
  box-shadow:0 8px 18px rgba(184,134,11,.22);
}

.ll-premium-badge i{
  font-size:11px;
  color:#fff;
}


/* =========================
   THUMB
   ========================= */

.ll-premium-thumb{
  height:180px;
  overflow:hidden;
  background:#f8fafc;
}

.ll-premium-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}


/* =========================
   BODY
   ========================= */

.ll-premium-body{
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.ll-premium-title{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:16px;
  font-weight:800;
  margin:0;
  color:#14213d;
}

.ll-premium-verified{
  color:#22c55e;
  font-size:14px;
}

.ll-premium-trust{
  font-size:12px;
  color:#6b7280;
  margin:0;
  font-weight:600;
}


/* =========================
   META
   ========================= */

.ll-premium-meta{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.ll-premium-meta span{
  display:flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  color:#334155;
}

.ll-premium-meta i{
  width:16px;
  text-align:center;
  color:#1d4e89;
}


/* =========================
   DESCRIÇÃO
   ========================= */

.ll-premium-desc{
  font-size:13px;
  color:#475569;
  line-height:1.45;
  margin-top:2px;
  min-height:38px;
}


/* =========================
   BOTÃO
   ========================= */

.ll-premium-btn{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  padding:10px 14px;
  border-radius:10px;

  background:linear-gradient(90deg,var(--ll-brand),var(--ll-brand-2));
  color:#fff;
  text-decoration:none;

  font-size:13px;
  font-weight:800;

  box-shadow:0 10px 20px rgba(15,23,42,.12);
  transition:all .18s ease;
}

.ll-premium-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.05);
}

/* =========================
   BADGE PREMIUM — BRILHO
   ========================= */

.llh-card--premium .llh-card-badge{
  position:relative;
  overflow:hidden;
}

/* efeito brilho */

.llh-card--premium .llh-card-badge::after{
  content:"";
  position:absolute;
  top:0;
  left:-60%;
  width:50%;
  height:100%;

  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.45),
    transparent
  );

  transform:skewX(-20deg);
  animation:premiumShine 4s infinite;
}

@keyframes premiumShine{
  0%{
    left:-60%;
  }
  40%{
    left:120%;
  }
  100%{
    left:120%;
  }
}



/* =========================
   BADGE PREMIUM — BRILHO (CARROSSEIS)
   ========================= */

.ll-premium-badge{
  position:relative;
  overflow:hidden;
}

.ll-premium-badge::after{
  content:"";
  position:absolute;
  top:0;
  left:-70%;
  width:55%;
  height:100%;

  background:linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,.45),
    transparent
  );

  transform:skewX(-20deg);
  animation:premiumShineCarousel 4s infinite;
}

@keyframes premiumShineCarousel{
  0%{
    left:-70%;
  }

  40%{
    left:130%;
  }

  100%{
    left:130%;
  }
}


/* =========================
   PREMIUM RIBBON
   ========================= */


/* =========================
   PREMIUM MAIS DOMINANTE
   ========================= */

.ll-premium-card{
  width: 305px;
}

.ll-premium-thumb{
  height: 195px;
}

.ll-premium-card:hover{
  transform: translateY(-5px) scale(1.01);
}

/* tablet / mobile */
@media (max-width: 640px){
  .ll-premium-card{
    width: 270px;
  }

  .ll-premium-thumb{
    height: 175px;
  }
}


.ll-ad-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ll-ad-meta i {
    color: #64748b; /* cinza profissional */
    font-size: 14px;
}




.llh-card-brand--free{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.llh-card-upgrade{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(79,111,82,.24);
  color: #4f6f52;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(15,23,42,.05);
  transition: all .18s ease;
  white-space: nowrap;
}

.llh-card-upgrade:hover{
  background: #f4f8f2;
  border-color: #4f6f52;
  transform: translateY(-1px);
}

.llh-card-upgrade i{
  font-size: 11px;
}



/* ===== HOME — PREMIUM CAROUSEL MOBILE CLEAN ===== */
@media (max-width: 640px){

  .premium-kicker{
    font-size: 28px;
    line-height: 1.22;
    max-width: 340px;
    margin: 26px auto 22px;
    padding: 0 14px;
  }

  .ll-premium-card{
    width: calc(100vw - 48px) !important;
    min-width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    flex: 0 0 calc(100vw - 48px) !important;

    border-radius: 22px !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.10) !important;
    transform: none !important;
  }

  .ll-premium-card:hover{
    transform: none !important;
  }

  .ll-premium-thumb{
    height: 230px !important;
  }

  .ll-premium-top{
    padding: 12px 14px !important;
  }

  .ll-premium-body{
    padding: 14px !important;
  }

  .ll-premium-title{
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  .ll-premium-meta span{
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  .ll-premium-desc{
    font-size: 14px !important;
    min-height: auto !important;
  }

  .ll-premium-btn{
    min-height: 48px !important;
    border-radius: 16px !important;
    font-size: 15px !important;
  }

  .ll-premium-badge{
    padding: 8px 16px !important;
    font-size: 13px !important;
  }

  .ll-premium-logo{
    width: 58px !important;
    height: 58px !important;
    border-radius: 16px !important;
  }
}

/* remove sombras/fades laterais que cortam o carrossel */
@media (max-width: 640px){

  .ll-premium-carousel::before,
  .ll-premium-carousel::after,
  .premium-carousel::before,
  .premium-carousel::after,
  .premium-slider::before,
  .premium-slider::after{
    display: none !important;
  }
}






/* =====================================================
   CARDS — ESTRELAS DO PORTE DA EMPRESA
   Funciona com:
   <span class="ll-plan-stars"><?= $starsHtml ?></span>
===================================================== */

.ll-plan-stars{
  display:inline-flex;
  align-items:center;
  gap:2px;
  margin-left:5px;
  vertical-align:middle;
}

.ll-plan-stars .fa-star{
  font-size:8px;
  color:#d4af37;
  line-height:1;
  opacity:.95;
  text-shadow:
    0 1px 1px rgba(255,255,255,.35),
    0 1px 2px rgba(0,0,0,.18);
}

/* Mobile */

@media (max-width:768px){
  .ll-plan-stars{
    gap:1px;
    margin-left:4px;
  }

  .ll-plan-stars .fa-star{
    font-size:7px;
  }
}


