/* ============================================================
   TEC8 REVIEWS — componentes visuais
   Paleta: escuro #191919/#232323, claro #e7e7e7/#f3f3f3, Inter
   Cor de destaque (CTA): laranja #ff6a00 (alto contraste p/ conversão)
   ============================================================ */

:root {
  --tec8-cta: #ff6a00;
  --tec8-cta-hover: #ff7d22;
  --tec8-ok: #1db954;
  --tec8-ruim: #e23b3b;
  --tec8-medio: #f5a623;
}

/* Caixa base de todos os componentes */
.tec8-box {
  margin: 30px 0;
  padding: 26px;
  background-color: #202020;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  color: #fff;
}
html.theme-white .tec8-box {
  background-color: #fff;
  border-color: rgba(0,0,0,.08);
  color: #222;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

/* -------- Botão CTA (usado em vários componentes) -------- */
.tec8-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px;
  background-color: var(--tec8-cta);
  color: #fff !important;
  font-weight: 700; font-size: 16px;
  border-radius: 14px;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}
.tec8-btn:hover { background-color: var(--tec8-cta-hover); transform: translateY(-2px); color:#fff !important; }
.tec8-btn--lg { padding: 18px 40px; font-size: 18px; }
.tec8-btn--outline {
  background: transparent; border: 2px solid var(--tec8-cta);
  color: var(--tec8-cta) !important;
}
.tec8-btn--outline:hover { background: var(--tec8-cta); color:#fff !important; }
.tec8-btn-arrow { transition: transform .2s ease; }
.tec8-btn:hover .tec8-btn-arrow { transform: translateX(4px); }
.tec8-cta-wrap { text-align: center; margin: 26px 0; }

/* -------- Selo -------- */
.tec8-selo {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .5px;
}
.tec8-selo--ok    { background: rgba(29,185,84,.15);  color: var(--tec8-ok); }
.tec8-selo--medio { background: rgba(245,166,35,.15); color: var(--tec8-medio); }
.tec8-selo--ruim  { background: rgba(226,59,59,.15);  color: var(--tec8-ruim); }

/* ============ 1) FICHA DE AVALIAÇÃO ============ */
.tec8-aval-top { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; }
.tec8-aval-nota { text-align: center; }
.tec8-nota-num { font-size: 56px; font-weight: 800; line-height: 1; color: var(--tec8-cta); }
.tec8-nota-max { font-size: 20px; opacity: .6; }
.tec8-estrelas {
  position: relative; display: inline-block; margin: 10px auto 12px;
  font-size: 20px; line-height: 1; width: 120px; height: 20px;
  background: linear-gradient(90deg,#555 0 100%);
  -webkit-mask: repeating-linear-gradient(90deg,#000 0 18px,transparent 18px 24px);
          mask: repeating-linear-gradient(90deg,#000 0 18px,transparent 18px 24px);
}
.tec8-estrelas-fill { position: absolute; top:0; left:0; height:100%; background: #ffb400; }
html.theme-white .tec8-estrelas { background: linear-gradient(90deg,#ccc 0 100%); }
.tec8-aval-nota .tec8-selo { display: block; margin-top: 4px; }

.tec8-aval-criterios { display: flex; flex-direction: column; gap: 12px; }
.tec8-criterio { display: grid; grid-template-columns: 110px 1fr 32px; gap: 12px; align-items: center; font-size: 14px; }
.tec8-criterio-nome { opacity: .8; }
.tec8-criterio-bar { height: 8px; background: rgba(128,128,128,.2); border-radius: 10px; overflow: hidden; }
.tec8-criterio-bar span { display: block; height: 100%; background: var(--tec8-cta); border-radius: 10px; }
.tec8-criterio-val { font-weight: 700; text-align: right; }
.tec8-avaliacao .tec8-btn { display: flex; justify-content: center; margin-top: 24px; }

/* ============ 3) RECLAME AQUI ============ */
.tec8-ra-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.tec8-ra-title { font-weight: 700; font-size: 18px; }
.tec8-ra-title i { color: var(--tec8-cta); margin-right: 6px; }
.tec8-ra-status { padding: 5px 14px; background: rgba(29,185,84,.15); color: var(--tec8-ok); border-radius: 30px; font-size: 13px; font-weight: 700; }
.tec8-ra-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.tec8-ra-nota { text-align: center; padding-right: 28px; border-right: 1px solid rgba(128,128,128,.2); }
.tec8-ra-nota-num { display: block; font-size: 44px; font-weight: 800; color: var(--tec8-cta); line-height: 1; }
.tec8-ra-nota-lbl { font-size: 13px; opacity: .6; }
.tec8-ra-indicadores { display: flex; flex-direction: column; gap: 14px; }
.tec8-ra-item-top { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 5px; }
.tec8-ra-bar { display: block; height: 8px; background: rgba(128,128,128,.2); border-radius: 10px; overflow: hidden; }
.tec8-ra-bar span { display: block; height: 100%; background: var(--tec8-ok); border-radius: 10px; }
.tec8-ra-link { display: inline-block; margin-top: 18px; color: var(--tec8-cta) !important; font-weight: 600; font-size: 14px; text-decoration: none; }

/* ============ 4) PRÓS E CONTRAS ============ */
.tec8-pc-titulo { margin-bottom: 20px; font-size: 22px; font-weight: 700; }
.tec8-pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tec8-pc-col h4 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 17px; font-weight: 700; }
.tec8-pc-pros h4 { color: var(--tec8-ok); }
.tec8-pc-contras h4 { color: var(--tec8-ruim); }
.tec8-pc-col ul { list-style: none; margin: 0; padding: 0; }
.tec8-pc-col li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; line-height: 1.4; border-bottom: 1px solid rgba(128,128,128,.12); }
.tec8-pc-col li:last-child { border-bottom: none; }
.tec8-pc-pros li::before { content: '✓'; position: absolute; left: 0; top: 8px; color: var(--tec8-ok); font-weight: 800; }
.tec8-pc-contras li::before { content: '✕'; position: absolute; left: 0; top: 8px; color: var(--tec8-ruim); font-weight: 800; }

/* ============ 5) CUPOM ============ */
.tec8-cupom { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; border: 2px dashed var(--tec8-cta); }
.tec8-cupom-desconto { display: block; font-size: 30px; font-weight: 800; color: var(--tec8-cta); }
.tec8-cupom-desc { font-size: 15px; opacity: .8; }
.tec8-cupom-codigo { display: flex; align-items: center; gap: 0; border: 2px solid var(--tec8-cta); border-radius: 12px; overflow: hidden; }
.tec8-cupom-label { padding: 12px 16px; background: rgba(255,106,0,.12); font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--tec8-cta); }
.tec8-cupom-code { padding: 12px 20px; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.tec8-cupom-copy { padding: 12px 20px; background: var(--tec8-cta); color: #fff; border: none; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .2s ease; }
.tec8-cupom-copy:hover { background: var(--tec8-cta-hover); }
.tec8-cupom-copy.copiado { background: var(--tec8-ok); }

/* ============ 6) VEREDITO ============ */
.tec8-veredito { background: linear-gradient(180deg, rgba(255,106,0,.06), transparent); border-color: rgba(255,106,0,.25); }
html.theme-white .tec8-veredito { background: linear-gradient(180deg, rgba(255,106,0,.05), #fff); }
.tec8-veredito-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tec8-veredito-title { font-size: 22px; font-weight: 800; }
.tec8-veredito-nota { font-size: 38px; font-weight: 800; color: var(--tec8-cta); line-height: 1; }
.tec8-veredito-nota small { font-size: 18px; opacity: .6; }
.tec8-veredito-texto { margin: 16px 0 22px; line-height: 1.6; font-size: 16px; }
.tec8-veredito-texto p { margin-bottom: 12px; }
.tec8-veredito .tec8-btn { display: flex; justify-content: center; }

/* ============ RESPONSIVO ============ */
@media (max-width: 680px) {
  .tec8-box { padding: 20px; }
  .tec8-aval-top { grid-template-columns: 1fr; gap: 22px; }
  .tec8-ra-grid { grid-template-columns: 1fr; gap: 20px; }
  .tec8-ra-nota { padding-right: 0; padding-bottom: 20px; border-right: none; border-bottom: 1px solid rgba(128,128,128,.2); }
  .tec8-pc-grid { grid-template-columns: 1fr; }
  .tec8-cupom-code { font-size: 17px; }
}
