/* =========================================================
   VER TODOS OS ANÚNCIOS – WRAPPER E SECÇÕES POR PLANO
   ========================================================= */

.ll-all-ads-wrapper{
  max-width: 1180px;
  margin: 1rem auto 3rem;
  padding: 0 1rem 2rem;
}

.ll-all-ads-header{
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--ll-border);
}

.ll-all-ads-title{
  margin: 0;
  text-align: center;
  font-size: 1.95rem;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--ll-text);
}

.ll-all-ads-subtitle{
  margin: .45rem 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--ll-muted);
  line-height: 1.6;
}

/* =========================================================
   SECÇÕES POR PLANO
   ========================================================= */

.ll-plan-section{
  margin-top: 2rem;
  padding: 1.35rem 1.05rem 1.7rem;
  border-radius: 18px;
  border: 1px solid var(--ll-border);
  background: rgba(255,255,255,.70);
  box-shadow: 0 10px 26px rgba(15,23,42,.06);
}

.ll-plan-premium{
  border-color: rgba(201,138,42,.38);
  background: linear-gradient(180deg, rgba(201,138,42,.10) 0%, rgba(255,255,255,.72) 65%);
}

.ll-plan-pro{
  border-color:rgba(79,124,207,.28);
  background:linear-gradient(
    180deg,
    rgba(79,124,207,.07) 0%,
    rgba(255,255,255,.72) 65%
  );
}

.ll-plan-free{
  border-color: rgba(100,116,139,.18);
  background: linear-gradient(180deg, rgba(100,116,139,.05) 0%, rgba(255,255,255,.72) 65%);
}

.ll-plan-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.75rem;
  margin-bottom:1.15rem;
}

.ll-plan-title{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  font-size:1rem;
  font-weight:900;
  color: var(--ll-text);
  letter-spacing: -.01em;
}

.ll-plan-dot{
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.ll-plan-premium .ll-plan-dot{
  background: linear-gradient(135deg, #d4af37, #b8860b);
  box-shadow: 0 0 0 4px rgba(212,175,55,.12);
}

.ll-plan-pro .ll-plan-dot{
  background: linear-gradient(135deg, #4F7CCF, #3E6CC0);
  box-shadow: 0 0 0 4px rgba(79,124,207,.12);
}

.ll-plan-free .ll-plan-dot{
  background: #64748b;
  box-shadow: 0 0 0 4px rgba(100,116,139,.10);
}

.ll-plan-count{
  font-size:.82rem;
  color: var(--ll-muted);
  padding:.28rem .78rem;
  border-radius:999px;
  background: rgba(15,61,76,.08);
  border: 1px solid rgba(15,61,76,.10);
  white-space:nowrap;
}

/* =========================================================
   GRID DOS CARDS
   ========================================================= */

.ll-ads-grid{
  display:grid;
  gap:1rem;
  margin-top:1rem;
}

@media (min-width:1024px){
  .ll-ads-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width:640px) and (max-width:1023.98px){
  .ll-ads-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* =========================================================
   CARD BASE
   ========================================================= */

.ll-ad-card{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  min-height: 100%;

  padding: 1rem .95rem .95rem;
  border-radius: 16px;
  border: 1px solid var(--ll-border);
  background: var(--ll-card);

  box-shadow: 0 10px 26px rgba(15,23,42,.08);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.ll-ad-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(15,23,42,.12);
  border-color: rgba(15,61,76,.22);
}

/* =========================================================
   HIERARQUIA DOS PLANOS
   ========================================================= */

.ll-ad-card--premium{
  border-color: rgba(212,175,55,.40);
  background: linear-gradient(180deg, rgba(255,249,231,.96) 0%, rgba(255,255,255,1) 72%);
  box-shadow: 0 16px 36px rgba(184,134,11,.12), 0 10px 26px rgba(15,23,42,.08);
  transform: scale(1.01);
}

.ll-ad-card--premium::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:-4px;
  height:4px;
  border-radius:999px;
  background: linear-gradient(90deg, #d4af37, #b8860b);
}

.ll-ad-card--premium:hover{
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 20px 46px rgba(184,134,11,.16), 0 16px 36px rgba(15,23,42,.12);
  border-color: rgba(212,175,55,.48);
}

.ll-ad-card--pro{
  border-color: rgba(79,124,207,.30);
  background: linear-gradient(180deg, rgba(245,248,255,.98) 0%, rgba(255,255,255,1) 72%);
  box-shadow: 0 12px 28px rgba(62,108,192,.08), 0 10px 26px rgba(15,23,42,.08);
}

.ll-ad-card--pro:hover{
  border-color: rgba(79,124,207,.42);
  box-shadow: 0 18px 40px rgba(62,108,192,.14), 0 16px 36px rgba(15,23,42,.12);
}

.ll-ad-card--free{
  border-color: rgba(100,116,139,.18);
  background: #fff;
}

.ll-ad-card--free .ll-ad-footer{
  justify-content: center;
}

.ll-ad-card--free .ll-btn-details{
  margin: auto;
}







/* =====================================================
   CORES DOS BOTÕES CONFORME O PLANO
===================================================== */

/* Base */
.ll-ad-card .ll-btn-details,
.ll-ad-card .ll-btn-chat{
  transition:
    background-color .2s ease,
    border-color .2s ease,
    color .2s ease,
    box-shadow .2s ease,
    transform .2s ease;
}

/* =====================================================
   GRATUITO
===================================================== */

.ll-ad-card--free .ll-btn-details{
  background:#64748b;
  border-color:#64748b;
  color:#fff;
}

.ll-ad-card--free .ll-btn-details:hover{
  background:#526174;
  border-color:#526174;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(100,116,139,.22);
}

.ll-ad-card--free .ll-btn-chat{
  background:#fff;
  border-color:#94a3b8;
  color:#475569;
}

.ll-ad-card--free .ll-btn-chat:hover{
  background:#f1f5f9;
  border-color:#64748b;
  color:#334155;
}

/* =====================================================
   PRO — MESMO AZUL DO BADGE
===================================================== */

.ll-ad-card--pro .ll-btn-details{
    background:linear-gradient(135deg,#3B6FA8,#315F90);
    border-color:#315F90;
    color:#fff;
    box-shadow:0 5px 12px rgba(49,95,144,.16);
}

.ll-ad-card--pro .ll-btn-details:hover{
    background:linear-gradient(135deg,#315F90,#294F78);
    border-color:#294F78;
    color:#fff;
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(49,95,144,.24);
}

.ll-ad-card--pro .ll-btn-chat{
  background:#fff;
  border-color:#4F7CCF;
  color:#3E6CC0;
}

.ll-ad-card--pro .ll-btn-chat:hover{
  background:#eef3fc;
  border-color:#3E6CC0;
  color:#31589f;
}

/* =====================================================
   PREMIUM
===================================================== */

.ll-ad-card--premium .ll-btn-details{
  background:#4b5d3a;
  border-color:#4b5d3a;
  color:#fff;
}

.ll-ad-card--premium .ll-btn-details:hover{
  background:#3f5031;
  border-color:#3f5031;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(75,93,58,.26);
}

.ll-ad-card--premium .ll-btn-chat{
  background:#fff;
  border-color:#4b5d3a;
  color:#4b5d3a;
}

.ll-ad-card--premium .ll-btn-chat:hover{
  background:#f1f5ec;
  border-color:#3f5031;
  color:#344329;
}

/* =====================================================
   WHATSAPP
   Mantém verde em todos os planos
===================================================== */

.ll-ad-card .ll-btn-whatsapp{
  background:#22a866;
  border-color:#22a866;
  color:#fff;
}

.ll-ad-card .ll-btn-whatsapp:hover{
  background:#198754;
  border-color:#198754;
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 7px 16px rgba(34,168,102,.22);
}

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:640px){

  .ll-ad-footer{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }

  .ll-ad-footer .ll-btn-whatsapp,
  .ll-ad-footer .ll-btn-chat,
  .ll-ad-footer .ll-btn-details,
  .ll-ad-footer .ll-chat-inline-form{
    width:100%;
  }

  .ll-chat-inline-form .ll-btn-chat{
    width:100%;
  }
}


/* =========================================================
   BADGE DO PLANO
   ========================================================= */

.ll-badge-plan{
  position:absolute;
  top:8px;
  right:10px;
  z-index:3;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:3px 8px;
  min-height:20px;

  border-radius:999px;

  font-size:9px;
  font-weight:900;
  letter-spacing:.05em;
  line-height:1;
  text-transform:uppercase;

  border:1px solid rgba(15,23,42,.08);
}
.ll-ad-card--premium .ll-badge-plan{
  color:#fff;
  background: linear-gradient(135deg,#d4af37,#b8860b);
  border-color: rgba(184,134,11,.35);
  box-shadow: 0 8px 18px rgba(184,134,11,.20);
  position:absolute;
  overflow:hidden;
  isolation:isolate;
}

.ll-ad-card--premium .ll-badge-plan::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,.38) 50%,
    rgba(255,255,255,0) 65%,
    rgba(255,255,255,0) 100%
  );
  background-size:220% 100%;
  background-repeat:no-repeat;
  background-position:140% 0;
  animation: llAdsAllPremiumShine 3.5s ease-in-out infinite;
}

.ll-ad-card--pro .ll-badge-plan{
  color:#fff;
  background:linear-gradient(135deg,#3B6FA8,#315F90);
  border-color:#315F90;
  box-shadow:0 8px 18px rgba(59,111,168,.18);
}

.ll-ad-card--free .ll-badge-plan{
  color:#475569;
  background:#eef2f7;
  border-color: rgba(15,23,42,.08);
  box-shadow: 0 6px 14px rgba(15,23,42,.06);
}

/* =========================================================
   TÍTULO E META
   ========================================================= */

.ll-ad-title{
  margin: .2rem 0 .15rem;
  padding-right: 84px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ll-text);
}

.ll-ad-card--premium .ll-ad-title{
  font-size: 1.05rem;
}

.ll-ad-meta{
  display:flex;
  flex-direction:column;
  gap:.18rem;
  font-size:.82rem;
  color: var(--ll-muted);
}

.ll-ad-meta span{
  display:flex;
  align-items:center;
  gap:.38rem;
  line-height:1.4;
}

.ll-ad-meta i{
  width: 14px;
  color: rgba(15,61,76,.78);
}

/* =========================================================
   CHIPS DE MAIS VALIA
   ========================================================= */

.ll-ad-highlights{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:.35rem 0 .25rem;
  align-items: center;
}

.ll-ad-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  gap:4px;
white-space:nowrap;
  padding:3px 7px;
  height:20px; /* 🔥 chave para alinhar tudo */

  border-radius:999px;

  font-size:10px;
  font-weight:800;

  background:rgba(15,23,42,.05);
  border:1px solid rgba(15,23,42,.08);
  color:#475569;
}


 .ll-ad-chip i{
  font-size:10px;
  line-height:1;
  display:flex;
  align-items:center;
}
.ll-ad-chip--verified{
  background:#ecfdf5;
  color:#065f46;
  border:1px solid #bbf7d0;
}

/* =========================================================
   DESCRIÇÃO
   ========================================================= */

.ll-ad-description{
  margin:.42rem 0 .55rem;
  font-size:.87rem;
  line-height:1.55;
  color: rgba(15,23,42,.78);
}

/* =========================================================
   FOOTER E BOTÕES — CARDS /ADS/ALL
   ========================================================= */

.ll-ad-footer{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  width:100%;
}

.ll-ad-footer > a,
.ll-ad-footer > form{
  flex:1 1 0;
  min-width:0;
}

.ll-chat-inline-form{
  margin:0;
  padding:0;
  display:flex;
}

.ll-btn-whatsapp,
.ll-btn-chat,
.ll-btn-details{
  width:100%;
  min-height:34px;
  padding:0 5px;
  border-radius:999px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:3px;

  font-size:10.5px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;

  border:1px solid transparent;
  cursor:pointer;
}

.ll-btn-whatsapp i,
.ll-btn-chat i,
.ll-btn-details i{
  font-size:10px;
  flex-shrink:0;
}

.ll-btn-whatsapp{
  color:#fff;
  background:#22c55e;
}

.ll-btn-chat{
  color:#2f4333;
  background:#fff;
  border-color:#cbd5e1;
}

.ll-btn-details{
  color:#fff;
  background:#4c5b55;
}

.ll-btn-whatsapp:hover,
.ll-btn-details:hover{
  filter:brightness(.96);
  color:#fff;
}

.ll-btn-chat:hover{
  background:#2f4333;
  color:#fff;
  border-color:#2f4333;
}

@media (max-width:640px){
  .ll-ad-footer{
    gap:6px;
  }

  .ll-btn-whatsapp,
  .ll-btn-chat,
  .ll-btn-details{
    min-height:38px;
    font-size:11px;
    padding:0 6px;
  }
}




/* =========================================================
   PREMIUM SHINE
   ========================================================= */

@keyframes llAdsAllPremiumShine{
  0%{
    background-position:140% 0;
  }
  20%{
    background-position:140% 0;
  }
  55%{
    background-position:-60% 0;
  }
  100%{
    background-position:-60% 0;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width:640px){
  .ll-all-ads-wrapper{
    padding-inline:.5rem;
    margin-top:.35rem;
  }

  .ll-all-ads-title{
    font-size:1.6rem;
  }

  .ll-plan-section{
    padding-inline:.85rem;
  }

  .ll-ad-card--premium{
    transform:none;
  }

  .ll-ad-card--premium:hover{
    transform:translateY(-2px);
  }

  .ll-ad-title{
    padding-right: 76px;
  }

  .ll-ad-footer{
    flex-direction:column;
    align-items:stretch;
  }

  .ll-btn-whatsapp,
  .ll-btn-details{
    width:100%;
    justify-content:center;
  }
}


.ll-ad-media{
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  background: #eef2f7;
  margin-bottom: 12px;
}

.ll-ad-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ll-ad-media-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 700;
}

.ll-ad-media-placeholder i{
  font-size: 24px;
}

.ll-ad-logo{
  position: absolute;
  left: 12px;
  top: 12px;
  width: 70px;
  height: 56px;
  object-fit: contain;
  background: rgba(255,255,255,.96);
  border: 2px solid rgba(255,255,255,.98);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  z-index: 3;
}

.ll-ad-body{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 640px){
  .ll-ad-media{
    height: 170px;
  }

  .ll-ad-logo{
    width: 48px;
    height: 48px;
    padding: 5px;
    border-radius: 12px;
  }
}


@media (max-width: 768px){
  .ll-all-ads-wrapper{
    margin-top: 18px !important;
    padding-top: 0 !important;
    transform: none !important;
  }

  .ll-all-ads-header{
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .ll-all-ads-title{
    font-size: 1.45rem !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 480px){
  .ll-all-ads-wrapper{
    margin-top: 14px !important;
  }
}


 @media (max-width:768px){
  .ll-all-ads-title{
    text-align:center !important;
    font-size:1.99rem !important;
    line-height:1.15 !important;
  }

  .ll-all-ads-subtitle{
    text-align:center !important;
    font-size:.96rem !important;
    line-height:1.55 !important;
    max-width:92%;
    margin-left:auto;
    margin-right:auto;
  }
}


.ll-chat-inline-form {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.ll-btn-chat{
  border:1px solid #2f4333;
  background:#fff;
  color:#2f4333;
  border-radius:14px;
  padding:10px 14px;
  font-weight:800;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  line-height:1;
  transition:.2s ease;
}

.ll-btn-chat:hover{
  background:#2f4333;
  color:#fff;
}

.ll-btn-chat i{
  font-size:15px;
}






.ll-ad-card{
    overflow:hidden;
}

.ll-ad-title,
.ll-ad-meta span,
.ll-ad-description{
    overflow-wrap:anywhere;
    word-break:break-word;
}

.ll-ad-description{
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.ll-ad-footer a,
.ll-ad-footer button,
.ll-btn-details,
.ll-btn-whatsapp,
.ll-btn-chat{
    white-space:nowrap;
    overflow-wrap:normal !important;
    word-break:normal !important;
}















/* =====================================================
   AÇÕES DO CARD
===================================================== */

.ll-ad-footer{
    display:flex;
    flex-direction:column;
    gap:12px;
    width:100%;
}

.ll-ad-contact-row{
    display:flex;
    align-items:center;
    gap:12px;
    width:100%;
}

.ll-ad-chat-area{
    flex:1;
    min-width:0;
}

.ll-chat-inline-form{
    width:100%;
    margin:0;
}

.ll-ad-chat-area .ll-btn-chat,
.ll-ad-chat-area .ll-chat-inline-form .ll-btn-chat{
    width:100%;
    min-height:54px;
}

/* WhatsApp circular */
.ll-ad-footer .ll-btn-whatsapp{
    flex:0 0 54px;
    width:54px;
    height:54px;
    min-width:54px;
    padding:0;
    border:0;
    border-radius:50%;
    background:#25d366;
    color:#fff;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:
        0 7px 18px rgba(37, 211, 102, .24),
        0 2px 5px rgba(0, 0, 0, .10);
    transition:
        transform .18s ease,
        background-color .18s ease,
        box-shadow .18s ease;
}

.ll-ad-footer .ll-btn-whatsapp i{
    margin:0;
    font-size:27px;
    line-height:1;
}

.ll-ad-footer .ll-btn-whatsapp:hover{
    background:#1ebe5d;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:
        0 9px 22px rgba(37, 211, 102, .30),
        0 3px 6px rgba(0, 0, 0, .11);
}

.ll-ad-footer .ll-btn-whatsapp:active{
    transform:scale(.96);
}

.ll-ad-footer .ll-btn-whatsapp:focus-visible{
    outline:3px solid rgba(37, 211, 102, .30);
    outline-offset:3px;
}

/* Ver detalhes continua com largura total */
.ll-ad-footer .ll-btn-details{
    width:100%;
}

/* Mobile */
@media (max-width:575.98px){

    .ll-ad-contact-row{
        gap:10px;
    }

    .ll-ad-footer .ll-btn-whatsapp{
        flex-basis:50px;
        width:50px;
        height:50px;
        min-width:50px;
    }

    .ll-ad-footer .ll-btn-whatsapp i{
        font-size:25px;
    }

    .ll-ad-chat-area .ll-btn-chat,
    .ll-ad-chat-area .ll-chat-inline-form .ll-btn-chat{
        min-height:50px;
    }
}





