:root {
  /* Identidade comparacel: verde (destaque/"cel") + azul-marinho ("compara").
     A lupa/etiqueta da logo é verde; o texto principal é navy. */
  --ct-accent: #1fa64d;        /* verde da marca — botões, links, notas */
  --ct-accent-dark: #178a3e;   /* verde no hover */
  --ct-navy: #16335f;          /* azul-marinho profundo — títulos, cabeçalhos */
  --ct-blue: #1f74d6;          /* azul da lupa — destaque secundário */
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.005em;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.navbar-brand {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.02em;
}

a { text-decoration: none; }

.navbar-brand { font-weight: 700; letter-spacing: -0.02em; }
/* Logo já recortada (logo-trim.png): conteúdo preenche a imagem, então uma
   altura modesta basta. */
.navbar-logo { height: 64px; width: auto; }
@media (max-width: 575.98px) { .navbar-logo { height: 50px; } }
/* Lupa dentro do campo de busca da navbar */
.nav-search-icon {
  position: absolute; left: .75rem; top: 50%; transform: translateY(-50%);
  color: #98a2b3; pointer-events: none; z-index: 3;
}
.nav-search-input { padding-left: 2.1rem; }

.text-accent { color: var(--ct-accent) !important; }
.btn-accent { background: var(--ct-accent); color: #fff; }
.btn-accent:hover { background: var(--ct-accent-dark); color: #fff; }

/* Cartão de produto */
.product-card { transition: transform .15s ease, border-color .15s ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--ct-accent); }
.product-card .product-thumb {
  height: 180px; object-fit: contain; background: #fff; padding: 1rem;
}
/* Nome do produto: no máx. 2 linhas, altura uniforme entre os cards. */
.product-card-title { font-size: .9rem; line-height: 1.3; min-height: 2.34em; }

/* Autocomplete com miniatura (form de comparação) */
.ac-item {
  display: flex; align-items: center; gap: .6rem; padding: .45rem .75rem;
  white-space: normal;
}
.ac-thumb {
  width: 40px; height: 40px; flex: none; object-fit: contain;
  background: #fff; border: 1px solid #eef2f7; border-radius: .45rem;
}
.ac-thumb--empty { background: #f1f3f9; }
.ac-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.ac-brand { font-size: .7rem; text-transform: uppercase; letter-spacing: .04em; color: #98a2b3; }
.ac-name {
  font-size: .85rem; color: var(--ct-navy); font-weight: 500;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}

/* Footer (claro) */
.site-footer { background: #fff; border-top: 1px solid #e7ecf2; color: #5a6b80; }
.footer-logo-img { height: 46px; width: auto; margin-bottom: .85rem; }
.footer-about { font-size: .9rem; line-height: 1.6; max-width: 32ch; margin: 0; color: #6c7a8c; }
.footer-title {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ct-navy); font-weight: 700; margin-bottom: .9rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: #5a6b80; font-size: .9rem; }
.footer-links a:hover { color: var(--ct-accent); }
.footer-disclosure { font-size: .82rem; line-height: 1.55; margin: 0; color: #6c7a8c; }
.footer-disclosure strong { color: var(--ct-navy); }
.footer-bottom {
  border-top: 1px solid #eef2f7; padding: 1.25rem 0;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem;
  justify-content: space-between; font-size: .8rem; color: #98a2b3;
}

/* Lista de marcas — índice alfabético */
.az-bar {
  display: flex; flex-wrap: wrap; gap: .35rem .65rem;
  align-items: center; justify-content: center;
  background: var(--ct-navy); border-radius: .75rem;
  padding: .75rem 1rem; margin-bottom: 2rem;
}
.az-bar a, .az-bar span { font-weight: 700; font-size: .95rem; line-height: 1; }
.az-bar a { color: #fff; }
.az-bar a:hover { color: var(--ct-accent); }
.az-disabled { color: rgba(255,255,255,.28); }

.brand-group {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.25rem 0; border-bottom: 1px solid #e9eef4;
  scroll-margin-top: 90px;  /* não some atrás do navbar fixo ao pular */
}
.brand-group-letter {
  flex: none; width: 2.5rem; font-size: 2rem; font-weight: 800;
  color: var(--ct-accent); line-height: 1;
}
.brand-group-list {
  list-style: none; margin: 0; padding: 0; flex: 1;
  columns: 4; column-gap: 1.5rem;
}
.brand-group-list li { padding: .25rem 0; break-inside: avoid; }
.brand-group-list a { color: var(--ct-navy); }
.brand-group-list a:hover { color: var(--ct-accent); text-decoration: underline; }
@media (max-width: 991.98px) { .brand-group-list { columns: 2; } }
@media (max-width: 575.98px) { .brand-group-list { columns: 1; } }

/* Badge de nota */
.score-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem; border-radius: .6rem;
  font-weight: 700; color: #fff; background: var(--ct-accent);
}
.score-badge.sm { width: 2rem; height: 2rem; font-size: .85rem; }

/* Categoria: opções escondidas em facets longos (mostradas no "ver mais") */
.cat-facet[data-collapse="1"] .cat-facet-opt--more { display: none; }
.cat-facet.expanded .cat-facet-opt--more { display: block; }
.cat-facet-toggle { color: var(--ct-accent); font-weight: 600; }

/* Categoria: barra de ações dentro do offcanvas (mobile) */
.cat-filter-actions {
  position: sticky; bottom: 0; left: 0; right: 0;
  display: flex; gap: .5rem;
  background: #fff; border-top: 1px solid #e3e9f0;
  padding: .85rem 1rem; margin: 1rem -1rem -1rem;
}
.cat-filter-trigger { font-weight: 600; }
.cat-filter-trigger .badge.bg-accent { background: var(--ct-accent) !important; }

/* Cabeçalho da comparação — hero refinado, sem sombra */
.compare-hero-card {
  position: relative;
  background:
    radial-gradient(50% 60% at 50% 30%, rgba(22, 51, 95, .05), transparent 70%),
    #fff;
  border: 1px solid #e3e9f0 !important; border-radius: 1.1rem;
  padding: 1.25rem 1rem; transition: border-color .15s ease;
}
.compare-hero-card.winner-card { border-color: #198754 !important; }
.compare-hero-card.winner-card::before {
  content: "🏆 Melhor"; position: absolute; top: .65rem; right: .65rem;
  background: #198754; color: #fff;
  border-radius: 99px; padding: .15rem .55rem;
  font-size: .65rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.compare-hero-thumb { height: 170px; width: 100%; object-fit: contain; background: transparent; }
.compare-hero-card .h6 {
  font-size: .95rem; min-height: 2.4em; margin-top: .35rem; color: var(--ct-navy);
}
.compare-hero-score {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  margin: .7rem 0 .5rem;
}
.compare-hero-score-num {
  font-size: 1.8rem; font-weight: 800; color: var(--ct-navy); line-height: 1;
  letter-spacing: -.02em;
}
.compare-hero-score-num small { font-size: .8rem; color: #98a2b3; font-weight: 600; }
.compare-hero-score-bar {
  width: 100%; height: 5px; background: #eef2f7; border-radius: 99px; overflow: hidden;
}
.compare-hero-score-bar span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent-dark));
}
.vs-lg { width: 3.2rem; height: 3.2rem; font-size: 1rem; }

/* Veredito consolidado (cabeçalho + placar + aspectos) */
.cmp-verdict {
  border: 1px solid #e3e9f0 !important; border-radius: 1rem;
  background: linear-gradient(135deg, #f7faff, #fff);
  margin-bottom: 2rem;
}
.cmp-scoreboard {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #e7edf3;
}
.cmp-scoreboard-side {
  display: flex; flex-direction: column; align-items: center; min-width: 0;
}
.cmp-scoreboard-side strong {
  font-size: 1.8rem; font-weight: 800; color: var(--ct-navy); line-height: 1;
}
.cmp-scoreboard-side span {
  font-size: .7rem; text-transform: uppercase; letter-spacing: .05em;
  color: #98a2b3; font-weight: 600; margin-top: .25rem;
}
.cmp-scoreboard-side b {
  font-size: .85rem; color: #4a5568; margin-top: .15rem;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cmp-scoreboard-tie {
  font-size: .9rem; color: #98a2b3; font-weight: 600; text-align: center;
}

/* Tabela de comparação refinada */
.compare-table { border: 1px solid #e3e9f0; border-radius: .9rem; overflow: hidden; }
.compare-table th, .compare-table td { vertical-align: middle; border-color: #eef2f7 !important; }
.compare-head th {
  position: sticky; top: 56px; background: #fff; z-index: 2;
  border-bottom: 1px solid #e3e9f0 !important; padding: 1rem .75rem;
}
.compare-head-thumb { height: 70px; width: auto; object-fit: contain; }
.compare-head a { display: block; margin-top: .35rem; font-weight: 600; color: var(--ct-navy); }
.compare-head a:hover { color: var(--ct-accent); }
.compare-table tbody tr[data-row="spec"] td { padding: .85rem .75rem; }
.compare-table tbody tr[data-row="spec"]:nth-child(even of [data-row="spec"]) td { background: #fbfcfe; }
.compare-table .group-row td {
  background: #eef2f7; font-weight: 700; text-transform: uppercase;
  font-size: .72rem; letter-spacing: .05em; color: var(--ct-navy);
  padding: .55rem 1rem;
}
.compare-table .row-highlight td {
  padding: 1rem .75rem; font-size: 1rem; background: #fff !important;
  border-bottom: 1px solid #e3e9f0 !important;
}
.compare-table .row-highlight td:first-child { font-weight: 700; color: var(--ct-navy); }
.compare-cell.winner {
  background: #e7f6ec !important; font-weight: 700; color: var(--ct-navy);
  position: relative;
}
.compare-cell.winner::after {
  content: "✓"; color: #198754; margin-left: .35rem; font-weight: 800;
}

/* Toggle "Só diferenças" */
.cmp-table-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; }
.cmp-diff-toggle {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: 99px;
  background: #f4f7fb; border: 1px solid #e3e9f0; color: #4a5568;
  font-size: .82rem; font-weight: 600; cursor: pointer;
  transition: all .15s ease;
}
.cmp-diff-toggle:hover { border-color: var(--ct-accent); color: var(--ct-accent); }
.cmp-diff-toggle.active {
  background: #eafaf0; border-color: #198754; color: #157347;
}
.cmp-diff-toggle i { font-size: .9rem; }

/* CTAs finais */
.cmp-buyrow {
  margin-top: 2.5rem; padding: 1.5rem; border: 1px solid #e3e9f0; border-radius: 1rem;
  background: linear-gradient(135deg, #f7faff, #fff);
}
.cmp-buyrow-title {
  text-align: center; font-size: 1rem; font-weight: 700; color: var(--ct-navy);
  margin-bottom: 1rem;
}
.cmp-buyrow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
@media (max-width: 575.98px) { .cmp-buyrow-grid { grid-template-columns: 1fr; } }
.cmp-buyrow-item {
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1rem; background: #fff; border: 1px solid #e3e9f0; border-radius: .8rem;
}
.cmp-buyrow-item-name {
  font-size: .8rem; font-weight: 600; color: #6c757d;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cmp-buyrow-item-price {
  font-size: 1.4rem; font-weight: 800; color: var(--ct-navy); line-height: 1; letter-spacing: -.01em;
}
.cmp-buyrow-item .btn { margin-top: .6rem; }

.spec-table td:first-child { color: #6c757d; width: 45%; }

.pro-item::before { content: "＋"; color: #198754; font-weight: 700; margin-right: .4rem; }
.con-item::before { content: "－"; color: #dc3545; font-weight: 700; margin-right: .4rem; }

.hero {
  background: linear-gradient(120deg, var(--ct-navy) 0%, var(--ct-blue) 52%, var(--ct-accent) 100%);
  color: #fff;
}

/* ============================================================
   Home
   ============================================================ */
.hero-stats {
  margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .6rem;
  align-items: center; justify-content: center;
  font-size: .9rem; color: rgba(255,255,255,.85);
}
.hero-stats strong { color: #fff; }
.hero-stats-dot { opacity: .5; }

/* Cabeçalho de seção */
.home-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; margin-bottom: 1rem;
}
.home-section-title {
  font-size: 1.3rem; font-weight: 700; color: var(--ct-navy); margin: 0;
}
.home-section-sub { color: #6c757d; font-size: .9rem; margin: .15rem 0 0; }
.home-section-more {
  white-space: nowrap; font-weight: 600; color: var(--ct-accent); font-size: .9rem;
}
.home-section-more:hover { color: var(--ct-accent-dark); }


.btn-outline-accent { color: var(--ct-accent); border-color: var(--ct-accent); }
.btn-outline-accent:hover { background: var(--ct-accent); color: #fff; }

/* Paginação na paleta da marca (verde ativo, navy nos links) */
.pagination {
  --bs-pagination-color: var(--ct-navy);
  --bs-pagination-hover-color: var(--ct-accent-dark);
  --bs-pagination-hover-bg: #eafaf0;
  --bs-pagination-hover-border-color: #cdeed9;
  --bs-pagination-focus-color: var(--ct-accent-dark);
  --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(31,166,77,.25);
  --bs-pagination-active-bg: var(--ct-accent);
  --bs-pagination-active-border-color: var(--ct-accent);
  gap: .3rem;
}
.pagination .page-link { border-radius: .55rem; }

/* ============================================================
   Página de produto (detail.html)
   ============================================================ */

/* Galeria / imagem — fundo com gradiente radial pra dar foco ("spotlight") */
.pd-gallery {
  background:
    radial-gradient(60% 70% at 50% 35%, rgba(22, 51, 95, .06), transparent 70%),
    #fff;
  border: 1px solid #e9eef4; border-radius: 1.25rem;
  padding: 2rem; display: flex; align-items: center; justify-content: center;
}
.pd-gallery-img { max-height: 420px; width: 100%; object-fit: contain; }
.pd-gallery-empty {
  height: 320px; width: 100%; display: flex; align-items: center;
  justify-content: center; color: #adb5bd; font-size: .9rem;
}
@media (min-width: 992px) { .pd-gallery { position: sticky; top: 80px; } }

/* Cabeçalho */
.pd-brand {
  display: inline-block;
  text-transform: uppercase; letter-spacing: .08em; font-size: .7rem;
  font-weight: 700; color: var(--ct-accent);
  background: #eafaf0; border: 1px solid #cdeed9; border-radius: 99px;
  padding: .25rem .65rem;
}
.pd-title {
  font-size: clamp(1.6rem, 1rem + 2vw, 2.2rem); font-weight: 800;
  color: var(--ct-navy); line-height: 1.15; margin: .65rem 0 0;
  letter-spacing: -.015em;
}
.pd-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem;
  margin-top: .6rem; color: #6c757d; font-size: .85rem;
}
.pd-meta-dot { color: #cfd6e0; }
.pd-desc { color: #4a5568; line-height: 1.65; margin-top: 1rem; }

/* Bloco de nota destacado (substitui o anel) */
.pd-scorebox {
  margin-top: 1.25rem; padding: 1rem 1.15rem;
  background: linear-gradient(135deg, #f7faff, #fff);
  border: 1px solid #e3e9f0; border-radius: .9rem;
  display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.1rem; align-items: center;
}
.pd-scorebox-num {
  font-size: 2.6rem; font-weight: 800; color: var(--ct-navy);
  line-height: 1; letter-spacing: -.02em;
}
.pd-scorebox-max { font-size: 1rem; font-weight: 600; color: #98a2b3; margin-left: .15rem; }
.pd-scorebox-side { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.pd-scorebox-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  color: #98a2b3; font-weight: 600;
}
.pd-scorebox-bar {
  height: 8px; background: #eef2f7; border-radius: 99px; overflow: hidden;
}
.pd-scorebox-bar span {
  display: block; height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--ct-accent), var(--ct-accent-dark));
}

/* Chips de specs — grid de ficha rápida com ícone */
.pd-chips {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem;
}
@media (min-width: 768px) { .pd-chips { grid-template-columns: repeat(4, 1fr); } }
.pd-chip {
  display: flex; align-items: center; gap: .65rem;
  background: #fff; border: 1px solid #e4ebf3; border-radius: .75rem;
  padding: .65rem .8rem; min-width: 0;
}
.pd-chip-icon {
  flex: none; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; border-radius: .55rem;
  background: #eef3fa; color: var(--ct-navy); font-size: 1.1rem;
}
.pd-chip-content { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.pd-chip-label {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; color: #98a2b3; font-weight: 600;
}
.pd-chip-value {
  font-size: .9rem; font-weight: 700; color: var(--ct-navy);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Painel de compra */
.pd-buy {
  margin-top: 1.6rem; border: 1px solid #e3e9f0; border-radius: 1rem;
  padding: 1.35rem; background: #fff;
}
.pd-buy-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #eafaf0; color: #157347; border: 1px solid #cdeed9;
  border-radius: 99px; padding: .2rem .7rem;
  font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  margin-bottom: .8rem;
}
.pd-buy-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.pd-buy-caption { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: #98a2b3; font-weight: 600; }
.pd-price { font-size: 2.4rem; font-weight: 800; color: var(--ct-navy); line-height: 1.05; letter-spacing: -.02em; }
.pd-buy-store { font-size: .85rem; color: #6c757d; margin-top: .25rem; }
.pd-buy-cta { white-space: nowrap; padding-left: 1.5rem; padding-right: 1.5rem; }
.pd-buy-trust {
  display: flex; flex-wrap: wrap; gap: .85rem 1.25rem;
  margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #eef2f7;
  font-size: .78rem; color: #6c757d;
}
.pd-buy-trust i { color: var(--ct-accent); margin-right: .35rem; }

.pd-offers { margin-top: 1.1rem; }
.pd-offers-title {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .05em;
  color: #98a2b3; font-weight: 600; margin-bottom: .55rem;
}
.pd-offer-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .55rem;
}
.pd-offer-card {
  display: flex; flex-direction: column; gap: .15rem;
  background: #f8fafc; border: 1px solid #e7edf3; border-radius: .7rem;
  padding: .7rem .85rem;
}
.pd-offer-card-store { font-size: .78rem; color: #6c757d; }
.pd-offer-card-price { font-size: 1.05rem; font-weight: 700; color: var(--ct-navy); }
.pd-offer-card-cta { margin-top: .35rem; }
.pd-buy-disclaimer { font-size: .72rem; color: #98a2b3; margin-top: 1rem; }

/* Seções */
.pd-section { margin-top: 3rem; scroll-margin-top: 110px; }
.pd-section-title {
  display: flex; align-items: center; gap: .55rem;
  font-size: 1.3rem; font-weight: 700; color: var(--ct-navy);
  margin-bottom: 1.25rem; padding-bottom: .65rem;
  border-bottom: 1px solid #e7edf3; position: relative;
  letter-spacing: -.01em;
}
.pd-section-title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 3.5rem; height: 3px; background: var(--ct-accent); border-radius: 2px;
}
.pd-section-title i { color: var(--ct-accent); }

/* Pills de navegação sticky (âncoras das seções) */
.pd-navpills {
  position: sticky; top: 56px; z-index: 1020;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e7edf3;
  margin: 1.5rem -1rem 1.5rem;
  padding: .55rem 1rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  white-space: nowrap;
}
.pd-navpills::-webkit-scrollbar { display: none; }
.pd-navpills a {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .85rem; margin-right: .3rem;
  border-radius: 99px; border: 1px solid #e3e9f0;
  font-size: .82rem; font-weight: 600; color: #4a5568;
  background: #fff; transition: all .15s ease;
}
.pd-navpills a:hover { border-color: var(--ct-accent); color: var(--ct-accent); }

/* Avaliação por critério */
.pd-rating { background: #fff; border: 1px solid #e9eef4; border-radius: .7rem; padding: .8rem 1rem; }
.pd-rating-name { font-size: .85rem; color: #4a5568; }
.pd-rating-val { font-weight: 700; color: var(--ct-navy); }
.pd-rating-bar { height: 6px; background: #eef2f7; border-radius: 99px; margin-top: .5rem; overflow: hidden; }
.pd-rating-bar span { display: block; height: 100%; background: var(--ct-accent); border-radius: 99px; }

/* Prós / contras */
.pd-pc { border-radius: .9rem; padding: 1.25rem 1.35rem; height: 100%; border: 1px solid transparent; }
.pd-pc--pro { background: #f1fbf5; border-color: #cdeed9; }
.pd-pc--con { background: #fef4f2; border-color: #f6d6cf; }
.pd-pc-title {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid rgba(0,0,0,.06);
}
.pd-pc--pro .pd-pc-title { color: #157347; }
.pd-pc--con .pd-pc-title { color: #c0392b; }
.pc-list { list-style: none; margin: 0; padding: 0; }
.pc-list li {
  display: flex; align-items: flex-start; gap: .55rem;
  padding: .45rem 0; font-size: .9rem; line-height: 1.45; color: #3f4b5b;
}
.pc-list li + li { border-top: 1px solid rgba(0,0,0,.05); }
.pc-list i { flex: none; margin-top: .15rem; font-size: 1rem; }
.pd-pc--pro .pc-list i { color: #1f9d4d; }
.pd-pc--con .pc-list i { color: #e15b43; }

/* Análise gerada por IA */
.pd-analysis { color: #3f4b5b; line-height: 1.7; }
.pd-analysis p { margin-bottom: .8rem; }
.pd-analysis p:last-child { margin-bottom: 0; }

/* Veredito comparativo (placar visual) */
.cmp-verdict-head { display: flex; align-items: center; gap: .8rem; }
.cmp-verdict-trophy { font-size: 1.8rem; line-height: 1; }
.cmp-verdict-who { font-weight: 700; color: var(--ct-navy); font-size: 1.05rem; }
.cmp-verdict-summary { color: #6c757d; font-size: .9rem; margin-top: .1rem; }
.cmp-aspects {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; margin-top: 1.25rem;
}
@media (max-width: 575.98px) { .cmp-aspects { grid-template-columns: 1fr; } }
.cmp-aspect {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  background: #fff; border: 1px solid #e7edf3; border-radius: .7rem; padding: .65rem .85rem;
  border-left: 3px solid #cfd6e0;
}
.cmp-aspect.cmp-aspect--a { border-left-color: var(--ct-accent); }
.cmp-aspect.cmp-aspect--b { border-left-color: var(--ct-blue); }
.cmp-aspect-label { font-weight: 600; color: var(--ct-navy); font-size: .85rem; }
.cmp-aspect-win {
  margin-left: auto; display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 600; color: #157347;
  background: #eafaf0; border-radius: 99px; padding: .15rem .6rem; max-width: 60%;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cmp-aspect-tie { color: #98a2b3; background: #f1f3f9; }
.cmp-aspect .dot { width: .5rem; height: .5rem; border-radius: 50%; flex: none; }
.cmp-aspect .dot-a { background: var(--ct-accent); }
.cmp-aspect .dot-b { background: var(--ct-blue); }
.cmp-aspect-note { width: 100%; font-size: .75rem; color: #98a2b3; }

/* Histórico de preços */
.pd-pricecard-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .5rem;
}
.pd-pricestats { display: flex; gap: .5rem; flex-wrap: wrap; }
.pd-stat {
  background: #f1f5fa; border: 1px solid #e4ebf3; border-radius: .6rem;
  padding: .4rem .7rem; line-height: 1.25; text-align: right;
}
.pd-stat span {
  display: block; font-size: .65rem; text-transform: uppercase;
  letter-spacing: .05em; color: #98a2b3;
}
.pd-stat b { font-size: .9rem; color: var(--ct-navy); }
.pd-chartwrap { position: relative; height: 240px; }
.pd-chart-note { font-size: .8rem; color: #6c757d; margin-top: .85rem; }
.pd-var { font-weight: 700; }
.pd-var--down { color: #157347; }
.pd-var--up { color: #b42318; }

/* Ficha técnica */
.pd-specgroup { overflow: hidden; border-radius: .9rem; }
.pd-spec-head {
  background: #f4f7fb; color: var(--ct-navy);
  font-weight: 700; font-size: .85rem;
  letter-spacing: .01em; padding: .8rem 1.25rem;
  border-bottom: 1px solid #e3e9f0;
}
.pd-specs {
  columns: 2; column-gap: 2.75rem; margin: 0; padding: .25rem 1.25rem;
}
@media (max-width: 575.98px) { .pd-specs { columns: 1; } }
.pd-spec-item {
  break-inside: avoid; display: flex; align-items: baseline;
  justify-content: space-between; gap: 1rem;
  padding: .55rem .25rem; border-bottom: 1px solid #f1f4f9;
}
.pd-spec-item:hover { background: #fbfcfe; }
.pd-spec-item dt { color: #6c757d; font-weight: 400; margin: 0; }
.pd-spec-item dd { color: var(--ct-navy); font-weight: 600; margin: 0; text-align: right; }
.pd-spec-yes { color: #157347; font-weight: 600; }
.pd-spec-yes::before { content: "✓ "; }
.pd-spec-no { color: #98a2b3; }
.pd-spec-no::before { content: "✕ "; }

/* Recolher ficha longa */
.pd-specs-body.is-collapsible.collapsed { max-height: 320px; overflow: hidden; position: relative; }
.pd-specs-body.is-collapsible.collapsed::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 70px;
  background: linear-gradient(transparent, #fff); pointer-events: none;
}
.pd-specs-toggle {
  display: block; width: 100%; border: 0; border-top: 1px solid #eef2f7;
  background: #fff; color: var(--ct-accent); font-weight: 600; font-size: .9rem;
  padding: .7rem; cursor: pointer;
}
.pd-specs-toggle:hover { background: #f6fbfe; }

/* Barra de compra fixa (mobile) */
.pd-stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #fff; border-top: 1px solid #e3e9f0;
  padding: .6rem 1rem;
}
.pd-stickybar-caption { font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; color: #98a2b3; }
.pd-stickybar-price { font-size: 1.15rem; font-weight: 800; color: var(--ct-navy); }
@media (max-width: 991.98px) { body { padding-bottom: 4.75rem; } }

/* Cards da página de comparações */
.compare-card { transition: transform .15s ease, border-color .15s ease; }
.compare-card:hover { transform: translateY(-3px); border-color: var(--ct-accent); }
.compare-thumb {
  height: 96px; width: 100%; object-fit: contain; background: #fff;
}
.compare-thumb--empty {
  display: flex; align-items: center; justify-content: center;
  color: #adb5bd; font-size: .75rem; background: #f8f9fa; border-radius: .5rem;
}
.vs-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--ct-navy); color: #fff; font-weight: 700; font-size: .8rem;
}
.clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em;
}

/* Overlay de loading exibido durante navegação para páginas que podem chamar IA
   (produto e comparação). Some sozinho quando a página nova renderiza ou pelo
   evento pageshow no botão Voltar. */
.ct-loading-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .7);
  backdrop-filter: blur(2px);
}
.ct-loading-overlay.show { display: flex; }
.ct-loading-box {
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  padding: 1.5rem 2rem;
  background: #fff;
  border: 1px solid #e3e9f0;
  border-radius: 1rem;
  max-width: 22rem; text-align: center;
}
.ct-loading-spinner {
  width: 3.5rem; height: 3.5rem;
  border: 4px solid rgba(22, 51, 95, .15);
  border-top-color: var(--ct-accent);
  border-radius: 50%;
  animation: ct-spin .8s linear infinite;
}
.ct-loading-text { line-height: 1.35; }
.ct-loading-title {
  font-weight: 600; color: var(--ct-navy); font-size: 1rem;
}
.ct-loading-sub {
  font-size: .85rem; color: #6c757d; margin-top: .15rem;
}
@keyframes ct-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ct-loading-spinner { animation-duration: 2s; }
}

/* Sem sombras decorativas: zera shadows do Bootstrap (cards, dropdowns).
   Focus rings (form-control, btn, pagination) mantidos via :focus específico. */
.shadow, .shadow-sm, .shadow-lg {
  box-shadow: none !important;
}
.card, .dropdown-menu {
  box-shadow: none !important;
}
/* Cards passam a usar borda sutil em vez de sombra. Substitui o border-0
   que os templates aplicam — borda fininha pra dar separação visual. */
.card.border-0 { border: 1px solid #e3e9f0 !important; }
.dropdown-menu { border: 1px solid #dee2e6; }
