/* =========================
   PREMIUM (premium page) — CONSISTENTE COM LOCALINK
   - Mantém estrutura
   - Corrige cores/contraste
   - Contorno premium bonito
   - WhatsApp verde padrão
   ========================= */

/* Fallbacks (se o theme não definir) */
:root{


  --wpp: #22c55e;               /* verde whatsapp consistente */
  --wpp-dark: #15803d;
}

.premium-wrap{
  max-width: var(--max-w, 1120px);
  margin:0 auto;
  padding: 16px 18px 26px;
}

/* Header */
.premium-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin: 6px 0 14px;
}
.premium-head h1{
  margin:0;
  font-size: 24px;
  font-weight: 900;
  letter-spacing:-.01em;
  color: var(--ll-text);
}
.premium-head p{
  margin:6px 0 0;
  color: var(--ll-muted);
  font-weight: 600;
}
.premium-count{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(15,61,76,.06);
  border: 1px solid rgba(15,61,76,.12);
  color: var(--ll-primary);
  font-weight: 800;
  font-size: 13px;
}
.premium-count i{ opacity:.85; }

/* HERO */
.premium-hero{
  display:grid;
  grid-template-columns: 1.3fr 1fr;
  gap:18px;
  background: var(--ll-card);
  border-radius:18px;
  overflow:hidden;

  /* contorno premium elegante */
  border: 1px solid rgba(15,61,76,.14);
  box-shadow: 0 14px 36px rgba(15,23,42,.10);

  margin: 12px 0 22px;
}
.premium-hero-media{
  position:relative;
  min-height: 290px;
  background: linear-gradient(180deg, rgba(15,61,76,.08), rgba(15,61,76,.02));
}
.premium-hero-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.premium-hero-ph{
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  color: rgba(15,23,42,.60);
  font-weight: 700;
}
.premium-hero-logo{
  position:absolute;
  left:14px;
  top:14px;
  width:120px;
  height:70px;
  border-radius:14px;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;

  border: 1px solid rgba(148,163,184,.45);
  box-shadow: 0 14px 26px rgba(15,23,42,.16);
}
.premium-hero-logo img{ width:100%; height:100%; object-fit:contain; padding:6px; }

.premium-hero-body{
  padding: 18px 18px 16px;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.premium-top-badge{
  position: relative;
  overflow: hidden;
  isolation: isolate;

  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;

  min-height: 32px;
  padding: 0 12px;
  border-radius:999px;

  font-size: 11px;
  font-weight: 900;
  letter-spacing:.08em;
  text-transform: uppercase;

  color: #fff;
  background: linear-gradient(135deg, #d4af37, #b8860b);
  border: 1px solid rgba(184,134,11,.30);
  box-shadow: 0 10px 22px rgba(184,134,11,.22);
}

.premium-top-badge > *{
  position: relative;
  z-index: 2;
}

.premium-hero-title{
  margin:0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.15;
  color: var(--ll-text);
}
.premium-hero-meta{
  color: rgba(15,23,42,.72);
  font-weight: 700;
  font-size: 13px;
}
.premium-hero-meta i{ margin-right:8px; color: var(--ll-primary); }

.premium-hero-desc{
  margin:0;
  color: rgba(15,23,42,.72);
  font-weight: 600;
  line-height: 1.35;
  font-size: 13px;
}

.premium-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}

/* Buttons (fixa contraste + tamanhos consistentes) */
.pbtn{
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 9px 12px;
  font-weight: 900;
  font-size: 13px;
  line-height: 1;
  min-height: 36px;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  cursor:pointer;
  text-decoration:none;
  white-space:nowrap;
  user-select:none;
}
.pbtn i{ opacity:.95; }

.pbtn-primary{
  background: var(--ll-primary);
  color: #fff;
  border-color: rgba(15,61,76,.20);
  box-shadow: 0 10px 20px rgba(15,61,76,.16);
}
.pbtn-primary:hover{ background: var(--ll-primary-dark); }

.pbtn-accent{
  background: linear-gradient(135deg, var(--ll-accent), var(--ll-accent-dark));
  color: #111827;
  border-color: rgba(201,154,42,.25);
  box-shadow: 0 10px 20px rgba(201,154,42,.16);
}
.pbtn-accent:hover{ filter: brightness(1.03); }

.pbtn-ghost{
  background: rgba(15,61,76,.06);
  color: var(--ll-primary);
  border-color: rgba(15,61,76,.16);
}
.pbtn-ghost:hover{ background: rgba(15,61,76,.10); }

/* WhatsApp (verde igual ao resto do site) */
.pbtn-whatsapp{
  background: linear-gradient(135deg, var(--wpp), var(--wpp-dark));
  color:#fff;
  border-color: rgba(34,197,94,.25);
  box-shadow: 0 12px 22px rgba(34,197,94,.18);
}
.pbtn-whatsapp:hover{ filter: brightness(1.03); }

.pbtn-wpp-mini{
  width: 38px;
  height: 36px;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--wpp), var(--wpp-dark));
  color:#fff;
}

/* Trust pills */
.premium-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:4px;
}
.trust-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;

  padding:7px 10px;
  border-radius:999px;

  background: rgba(148,163,184,.12);
  border: 1px solid rgba(148,163,184,.22);

  font-weight: 800;
  font-size: 12px;
  color: rgba(15,23,42,.76);
}
.trust-pill i{ color: var(--ll-primary); opacity:.95; }

/* Sections */
.premium-section{ margin: 22px 0 8px; }
.premium-sec-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.premium-sec-title h2{
  margin:0;
  font-size: 15px;
  font-weight: 900;
  color: var(--ll-text);
}
.premium-sec-title small{
  color: rgba(98,114,140,.95);
  font-weight: 700;
}

/* Grid cards */
.premium-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

/* Card premium com contorno bonito (sem “estragar” layout) */
.ll-card{
  position: relative;
  background: var(--ll-card);
  border-radius: 16px;
  overflow: hidden;
  display:flex;
  flex-direction:column;
  min-height: 250px;

  border: 1px solid rgba(15,61,76,.14);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.ll-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
  border-color: rgba(15,61,76,.24);
}
.ll-card--compact{ min-height: 310px; }

.ll-card-media{
  position:relative;
  height: 140px;
  background: rgba(15,61,76,.06);
}
.ll-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ll-media-ph{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 800;
  color: rgba(15,23,42,.65);
}

.ll-badge-premium{
  position:absolute;
  right:10px;
  top:10px;
  overflow: hidden;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;

  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #fff;

  font-weight: 900;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;

  border: 1px solid rgba(184,134,11,.30);
  box-shadow: 0 10px 18px rgba(184,134,11,.22);
}

.ll-badge-premium > *{
  position: relative;
  z-index: 2;
}
.ll-logo{
  position:absolute;
  left:12px;
  top:12px;
  width:84px;
  height:56px;
  border-radius: 12px;
  background:#fff;
  overflow:hidden;

  border: 1px solid rgba(148,163,184,.45);
  box-shadow: 0 12px 22px rgba(15,23,42,.14);
}
.ll-logo img{ width:100%; height:100%; object-fit:contain; padding:5px; }

.ll-card-body{
  padding: 12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
}

.ll-title{
  margin:0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing:-.01em;
  color: var(--ll-text);
}
.ll-meta{
  font-weight: 700;
  color: rgba(15,23,42,.70);
  font-size: 12.5px;
}
.ll-meta i{ margin-right:8px; color: var(--ll-primary); }

.ll-desc{
  margin:0;
  font-weight: 600;
  color: rgba(15,23,42,.72);
  line-height: 1.35;
  font-size: 13px;
  flex:1;
}

.ll-actions{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top: 6px;
}
.ll-actions .pbtn{
  padding: 10px 12px;
  border-radius: 12px;
  min-height: 38px;
}
.ll-actions .pbtn-primary{ flex:1; }
.ll-actions .pbtn-ghost{ flex:1; }

/* Empty */
.premium-empty{
  background:#fff;
  border: 1px solid rgba(15,61,76,.14);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
  border-radius:18px;
  padding:16px;
  margin:16px 0 6px;
}
.premium-empty h3{ margin:0 0 6px; font-weight:900; }
.premium-empty p{ margin:0 0 12px; color: var(--ll-muted); font-weight:700; }

/* Responsive */
@media (max-width: 980px){
  .premium-hero{ grid-template-columns: 1fr; }
  .premium-hero-media{ min-height: 240px; }
  .premium-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .premium-head{ flex-direction:column; align-items:flex-start; }
  .premium-grid{ grid-template-columns: 1fr; }
  .ll-actions{ flex-wrap:wrap; }
  .ll-actions .pbtn-primary,
  .ll-actions .pbtn-ghost{ flex:1 1 100%; }
}


/* =========================
   MODAL ORÇAMENTO (premium page)
   ========================= */
.ll-modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.55);
  z-index:9999;
  padding:18px;
}
.ll-modal .modal-dialog{
  width:100%;
  max-width:520px;
  background:#fff;
  border-radius:18px;
  border:1px solid rgba(148,163,184,.35);
  box-shadow:0 18px 45px rgba(15,23,42,.25);
  padding:18px 18px 16px;
  position:relative;
}
.ll-modal .modal-close{
  position:absolute;
  right:12px;
  top:10px;
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.35);
  background:#fff;
  cursor:pointer;
  font-size:20px;
  color:#374151;
}
.ll-modal .modal-close:hover{background:rgba(15,61,76,.10);}

.ll-modal h3.center{
  margin:2px 0 12px;
  font-size:16px;
  font-weight:600;
  color:var(--ll-text);
}

#form-orcamento input,
#form-orcamento textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(148,163,184,.40);
  background:#f8fafc;
  color:var(--ll-text);
  font-size:14px;
  outline:none;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
#form-orcamento textarea{min-height:120px; resize:vertical;}

#form-orcamento input:focus,
#form-orcamento textarea:focus{
  background:#fff;
  border-color:rgba(15,61,76,.45);
  box-shadow:0 0 0 3px rgba(15,61,76,.12);
}

#orc-feedback{
  border-radius:12px;
  padding:10px 12px;
  font-weight:800;
  font-size:13px;
}


/* =========================================
   BRILHO PREMIUM — PAGE + CARDS
========================================= */

.premium-top-badge::after,
.ll-badge-premium::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,.42) 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: premiumBadgeShine 3.4s ease-in-out infinite;
}

@keyframes premiumBadgeShine{
  0%{
    background-position: 140% 0;
  }
  20%{
    background-position: 140% 0;
  }
  55%{
    background-position: -60% 0;
  }
  100%{
    background-position: -60% 0;
  }
}








/* =========================================
   PREMIUM MOBILE — BRUTO
========================================= */
@media (max-width: 768px){

  .premium-wrap{
    padding: 0 12px 18px !important;
    margin: 0 auto !important;
  }

  .premium-head{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
  }

  .premium-head-left,
  .premium-head-right{
    width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .premium-head h1{
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .premium-head p{
    display: block !important;
    width: 100% !important;
    max-width: 95% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  .premium-count{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    font-size: 12px !important;
    padding: 6px 10px !important;
  }

  .premium-hero{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin: 6px 0 14px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .premium-hero-media{
    min-height: 200px !important;
    height: 200px !important;
  }

  .premium-hero-logo{
    width: 86px !important;
    height: 52px !important;
    left: 10px !important;
    top: 10px !important;
  }

  .premium-hero-body{
    padding: 12px !important;
    gap: 8px !important;
  }

  .premium-hero-title{
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .premium-hero-meta{
    font-size: 12px !important;
  }

  .premium-hero-desc{
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .premium-hero-actions{
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .premium-hero-actions .pbtn{
    width: 100% !important;
    min-height: 42px !important;
    height: 42px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .premium-hero-actions .pbtn-whatsapp{
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .premium-trust{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .trust-pill{
    font-size: 10.5px !important;
    padding: 6px 8px !important;
  }

  .premium-sec-title{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 3px !important;
    margin-bottom: 8px !important;
  }

  .premium-sec-title h2{
    margin: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
  }

  .premium-sec-title small{
    margin: 0 !important;
    text-align: center !important;
    font-size: 11.5px !important;
  }

  .premium-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ll-card,
  .ll-card--compact{
    min-height: auto !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .ll-card-media{
    height: 126px !important;
  }

  .ll-logo{
    width: 68px !important;
    height: 46px !important;
    left: 10px !important;
    top: 10px !important;
  }

  .ll-badge-premium{
    right: 10px !important;
    top: 10px !important;
    min-height: 26px !important;
    padding: 0 9px !important;
    font-size: 10px !important;
  }

  .ll-card-body{
    padding: 12px !important;
    gap: 7px !important;
  }

  .ll-title{
    font-size: 13.5px !important;
    line-height: 1.2 !important;
  }

  .ll-meta{
    font-size: 11.5px !important;
  }

  .ll-desc{
    font-size: 12.5px !important;
    line-height: 1.38 !important;
  }

  .ll-chips{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
  }

  .ll-chip{
    font-size: 10.5px !important;
    line-height: 1.15 !important;
  }

  .ll-actions{
    display: grid !important;
    grid-template-columns: 1fr 1fr auto !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: stretch !important;
    margin-top: 8px !important;
  }

  .ll-actions .pbtn{
    width: 100% !important;
    min-height: 40px !important;
    height: 40px !important;
    padding: 0 10px !important;
    font-size: 12px !important;
    border-radius: 12px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .pbtn-wpp-mini{
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    flex: 0 0 40px !important;
  }
}

@media (max-width: 480px){

  .premium-wrap{
    padding: 0 10px 16px !important;
  }

  .premium-head h1{
    font-size: 22px !important;
    margin-top:13px;
  }

  .premium-head p{
    font-size: 12px !important;
    max-width: 98% !important;
  }

  .premium-count{
    font-size: 11px !important;
  }

  .premium-hero-media{
    min-height: 188px !important;
    height: 188px !important;
  }

  .premium-hero-actions .pbtn{
    min-height: 40px !important;
    height: 40px !important;
    font-size: 11.5px !important;
  }

  .ll-card-media{
    height: 120px !important;
  }

  .ll-actions .pbtn{
    min-height: 38px !important;
    height: 38px !important;
    font-size: 11.5px !important;
  }

  .pbtn-wpp-mini{
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    min-height: 38px !important;
    flex: 0 0 38px !important;
  }
}





/* =========================================
   PREMIUM — CORRIGIR ALTURA NO PC
========================================= */
@media (min-width: 1024px){

  /* NÃO deixar o grid esticar */
  .premium-hero{
    align-items: start !important;
  }

  /* IMAGEM não deve ser gigante */
  .premium-hero-media{
    height: auto !important;
    max-height: 320px !important;
  }

  /* IMAGEM respeita o limite */
  .premium-hero-media img{
    height: 100% !important;
    object-fit: cover !important;
  }

  /* CORPO não força altura */
  .premium-hero-body{
    justify-content: flex-start !important;
    height: auto !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

}


@media (max-width: 768px){

  .premium-head{
    gap: 10px !important; /* mais respiro entre blocos */
  }

  .premium-head h1{
    font-size: 26px !important;
    line-height: 1.25 !important; /* 🔥 isto resolve o aperto */
    margin-bottom: 4px !important;
  }

  .premium-head p{
    font-size: 14px !important;
    line-height: 1.5 !important; /* 🔥 mais ar */
    margin-top: 2px !important;
  }

  .premium-count{
    margin-top: 6px !important;
  }
}






/* PREMIUM — metadata em linhas separadas */
.premium-wrap .ll-card-meta{
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  margin: 10px 0 8px !important;
}

.premium-wrap .ll-meta{
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #64748b !important;
  line-height: 1.3 !important;
}

.premium-wrap .ll-meta i{
  width: 16px !important;
  min-width: 16px !important;
  text-align: center !important;
  color: #2f4333 !important;
}



