/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

:root {
  /* Paleta extraída do ReclameAQUI (tokens reais do site) ---------------- */
  --primary:        #02793e;   /* --pickles (verde principal) */
  --primary-dark:   #004032;
  --primary-light:  #e6f3ec;
  --accent:         #8FB414;   /* --mug-light (verde claro RA) */
  --accent-soft:    #F1F9E6;   /* fundo do pill "Ótimo" (verde muito claro) */

  --info:           #1f69c1;   /* --bowl (azul info RA) */
  --info-dark:      #155a9e;
  --danger:         #D11F26;   /* vermelho exato do botão Reclamar RA */
  --danger-dark:    #A2140D;   /* hover do botão Reclamar RA */
  --success:        #02793e;
  --warning:        #ffe97f;   /* amarelo do card "é confiável?" */
  --warning-border: #f5d93d;

  --text:           #0A213D;   /* navy escuro (texto do pill Ótimo) */
  --text-soft:      #4B5963;   /* --steel (corpo soft RA) */
  --text-mute:      #A9B0B5;   /* --metal (texto mudo RA) */

  --bg:             #f1f4f3;
  --bg-white:       #ffffff;
  --bg-soft:        #f9f9f9;
  --border:         #E1E3E5;   /* --iron (borda padrão RA) */
  --border-soft:    #eeeeee;

  /* Fontes — Open Sans (corpo) + Inter (badges/destaques) — iguais ao RA */
  --font-body:      'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent:    'Inter', ui-sans-serif, system-ui, sans-serif;

  --shadow-sm:      0 1px 2px rgba(20, 28, 44, 0.04);
  --shadow-md:      0 2px 8px rgba(20, 28, 44, 0.06);

  --radius-sm:      4px;
  --radius:         8px;
  --radius-lg:      12px;

  --container:      1240px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  /* Safety: nunca permitir scroll horizontal */
  max-width: 100%;
  overflow-x: hidden;
}
/* Garante que nenhum filho de flex/grid empurre o container além do viewport */
.three-col > *, .header__inner > *, .hero-card__main > * { min-width: 0; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
.dot { color: var(--text-mute); margin: 0 4px; }
.muted { color: var(--text-mute); font-weight: 600; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  transition: all .18s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn--sm { padding: 8px 16px; font-size: 12px; }
.btn--lg { padding: 12px 28px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--danger {
  background: var(--danger);
  color: #fff;
  border-radius: 6px;
  padding: 8px 24px;
  min-width: 150px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
}
.btn--danger:hover { background: var(--danger-dark); }
.btn--info { background: var(--info); color: #fff; }
.btn--info:hover { background: var(--info-dark); }
.btn--ghost { background: #fff; color: var(--primary); border: 1.5px solid var(--primary); }
.btn--ghost:hover { background: var(--primary-light); }
.btn--ghost-dark { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--ghost-dark:hover { background: rgba(255,255,255,.08); }

/* ========== HEADER ========== */
.header {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  height: 70px;
}
.logo__placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  letter-spacing: .5px;
}
.logo__img { max-height: 40px; width: auto; display: block; }
.hero-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.related-card__logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.editorial-card__image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.editorial-card__image { overflow: hidden; }

/* ========================================================================
   ÍCONES & ANÚNCIOS TROCÁVEIS — sistema "icon-swap" / "ad-slot__img"
   ------------------------------------------------------------------------
   Permite trocar qualquer ícone SVG (vezinho/confere, perf, etc.) ou
   qualquer anúncio por uma imagem própria (.png, .jpg, .svg, .webp).
   Funciona assim:
     1) Cada local trocável tem um <img> sobreposto ao SVG original.
     2) Se a imagem existir → ela cobre o SVG e aparece para o usuário.
     3) Se a imagem NÃO existir (404) → o atributo onerror esconde o <img>
        e o SVG padrão volta a aparecer (fallback automático).
   Procure por "[TROCAR IMAGEM]" no index.html para ver cada local trocável.
   ======================================================================== */
.icon-swap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-swap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
}
.icon-swap > svg {
  /* fallback SVG fica escondido por padrão; só aparece se o onerror do <img> revelar */
  display: none;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Anúncio com imagem cobrindo todo o slot */
.ad-slot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--bg-white);
  z-index: 2;
}
.ad-slot__link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 2;
}
.search {
  display: flex;
  width: 100%;
  max-width: 600px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(2, 121, 62, 0.12);
}
.search__input {
  flex: 1;
  padding: 12px 22px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: var(--text);
}
.search__input::placeholder { color: var(--text-mute); }
.search__btn {
  padding: 0 22px;
  background: transparent;
  color: var(--primary);
  display: flex;
  align-items: center;
}
.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__link {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.header__link:hover { color: var(--primary); }

/* ========== SUBNAV ========== */
.subnav {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-soft);
}
.subnav__inner {
  display: flex;
  gap: 32px;
  height: 48px;
  align-items: center;
  justify-content: center;
}
.subnav__link {
  color: var(--text-soft);
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;          /* impede quebra do texto em mobile */
  flex-shrink: 0;               /* impede que o flex comprima o link */
}
.subnav__link:hover { color: var(--primary); border-bottom-color: var(--primary); }
.caret { font-size: 10px; color: var(--text-mute); }

/* ========== HERO ========== */
.hero {
  background: var(--bg);
  padding: 28px 0 0;
}
.hero-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.hero-card__main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  padding: 28px 32px;
  align-items: center;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light) 0%, #fff 100%);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  flex-shrink: 0;
}
.hero-name {
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.hero-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-soft);
  font-size: 13px;
  margin-bottom: 14px;
}
.hero-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-seal { display: inline-block; }
.hero-actions {
  display: flex;
  gap: 12px;
  align-self: center;
}

/* Seal pill — estilo "Ótimo" do ReclameAQUI
   Pill verde-claro com texto navy escuro + ícone (ervilho verde sorridente).
   Fonte: Inter semibold 14px · radius 24px · padding 6px 12px · gap 6px */
.seal-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-soft);
  color: var(--text);
  padding: 6px 12px;
  border-radius: 24px;
  font-family: var(--font-accent);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.25;
  width: max-content;
}
.seal-pill__check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
/* Variante grande (selo de Reputação no card amarelo) */
.seal-pill--lg {
  padding: 10px 16px;
  font-size: 14px;
  gap: 10px;
}
.seal-pill--lg .seal-pill__check { width: 30px; height: 30px; }
.seal-pill--lg .seal-pill__caption {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text);
}
.seal-pill--lg .seal-pill__caption strong { font-size: 16px; font-weight: 700; letter-spacing: .3px; }

/* Hero tabs (Home / Sobre / Reclamações) */
.hero-tabs {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border-soft);
  background: #fff;
}
.hero-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-weight: 600;
  font-size: 13px;
  color: var(--text-soft);
  border-bottom: 3px solid transparent;
  transition: all .15s;
}
.hero-tab:hover { color: var(--primary); }
.hero-tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: rgba(2, 121, 62, .03);
}

/* ========== AD SLOTS ========== */
.ad-wrap {
  background: var(--bg);
  padding: 20px 0;
}
.ad-wrap--bottom { padding: 28px 0; }
.ad-slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 0 auto;
  overflow: hidden;
}
.ad-slot__label {
  position: absolute;
  bottom: 4px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text-mute);
  font-weight: 600;
  z-index: 3;
  background: rgba(255,255,255,.85);
  padding: 2px 5px;
  border-radius: 3px;
}
.ad-slot__label svg { opacity: .6; }
.ad-slot__content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 60px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  text-align: center;
  background: repeating-linear-gradient(45deg, #fafbfc, #fafbfc 10px, #f4f6f8 10px, #f4f6f8 20px);
  border-radius: var(--radius-sm);
}
.ad-slot--leaderboard { width: 100%; max-width: 970px; height: 90px; }
.ad-slot--billboard { width: 100%; max-width: 970px; height: 250px; }
.ad-slot--rectangle { width: 100%; max-width: 300px; height: 250px; }
.ad-slot--halfpage { width: 100%; max-width: 300px; height: 600px; }

/* ========== MAIN 3-COL ========== */
.main { padding: 0 0 40px; background: var(--bg); }
.three-col {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 20px;
  align-items: start;
  padding-top: 4px;
}

/* Card section base — usado em quase todo bloco */
.card-section {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  padding: 20px;
  margin-bottom: 16px;
}
.card-section__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.35;
}
.card-section__sub {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.card-section--collapsible .collapsible__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
/* "Melhor empresa" — cores exatas do ReclameAQUI */
.card-section--rank {
  background: #E2F3EA;   /* fundo verde-claro (#E2F3EA do RA) */
  border-color: #cfe6d6;
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--info);
  font-weight: 700;
  font-size: 13px;
  margin-top: 6px;
}
.link-more:hover { color: var(--info-dark); }
.link-more--center { display: flex; justify-content: center; }

/* ========== CONFIDENCE BOX (Reputação) — verde-claro idêntico ao RA ========== */
.confidence-box {
  background: var(--accent-soft);            /* #F1F9E6 — verde-claro do RA */
  border: 1px solid #DCEAC7;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.confidence-box__text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.55;
}

/* ========== DESEMPENHO TABS ========== */
.perf-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 14px;
  overflow-x: auto;
}
.perf-tab {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-mute);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.perf-tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.perf-tab:hover { color: var(--text); }

.perf-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.perf-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}
.perf-item strong { color: var(--text); font-weight: 700; }
/* Ícone flat (sem círculo) — idêntico ao desempenho do ReclameAQUI */
.perf-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.perf-icon > svg { width: 22px; height: 22px; }
.perf-note {
  font-size: 11px;
  color: var(--text-mute);
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-top: 8px;
}

/* ========== EVOLUTION MINI ========== */
.evolution-mini {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 6px 0;
}
.evolution-mini__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.evolution-mini p { font-size: 12.5px; color: var(--text-soft); }
.collapsible__caret { color: var(--text-mute); font-size: 14px; }

/* ========== CAROUSEL (Quem visitou) — slide deslizável c/ scroll-snap ========== */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
}
.carousel__track {
  display: flex;
  gap: 10px;
  flex: 1;
  /* Scroll horizontal com snap nos cards */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Esconde a scrollbar visual em todos os browsers */
  scrollbar-width: none;        /* Firefox */
}
.carousel__track::-webkit-scrollbar { display: none; }   /* WebKit */
.carousel__nav {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.carousel__nav:hover { background: var(--primary-light); color: var(--primary); }
.carousel__nav:disabled { opacity: .35; cursor: default; }
.related-card {
  background: var(--bg-white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* Cada card é um snap target — para 2 cards visíveis por padrão */
  flex: 0 0 calc(50% - 5px);
  scroll-snap-align: start;
  position: relative;
  gap: 6px;
  transition: border-color .15s, transform .15s;
}
.related-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.related-card--ad .related-card__ad-tag {
  position: absolute;
  top: 4px;
  left: 6px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-mute);
  font-weight: 700;
  background: rgba(255,255,255,.7);
  padding: 1px 4px;
  border-radius: 3px;
}
.related-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--text-mute);
}
.related-card__name {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
}
.related-card__score {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.related-card__score::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 4px;
}
/* "Sem reputação definida" — bolinha cinza + "--/10" igual ao RA */
.related-card__score--none { color: var(--text-mute); }
.related-card__score--none::before { background: var(--border); }
.related-card__score small { font-size: 10px; color: var(--text-mute); font-weight: 600; }
.related-card__cta {
  font-size: 11px;
  color: var(--info);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.related-card__cta::before { content: '✓'; color: var(--info); }
.related-card__link {
  font-size: 11px;
  color: var(--info);
  font-weight: 600;
}
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}
.carousel__dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  margin: 0;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .15s, transform .15s;
}
.carousel__dots .dot:hover { background: var(--text-soft); }
.carousel__dots .dot--active { background: var(--primary); transform: scale(1.2); }

/* ========== TALKS / COMPLAINTS ========== */
.talks-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.talks-tabs__group {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding: 8px 0;
  margin-right: 8px;
}
.talks-tab {
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.talks-tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}

.complaint {
  padding: 16px 0;
  border-top: 1px solid var(--border-soft);
}
.complaint:first-of-type { border-top: 0; padding-top: 4px; }
.complaint__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}
.complaint__body {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.complaint__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.complaint__date { font-size: 12px; color: var(--text-mute); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
}
.status--pending  { background: var(--danger); color: #fff; }
.status--answered { background: var(--info); color: #fff; }
.status--resolved { background: var(--primary); color: #fff; }

.complaint__reactions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-mute);
}
.reactions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.reaction-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  transition: transform .15s, background .15s;
}
.reaction-icon:hover { transform: scale(1.1); }
.reaction-icon svg { width: 14px; height: 14px; }
.reaction-icon--like        { color: #1f69c1; background: #e8f0fc; border-color: #c7d8f0; }
.reaction-icon--like:hover  { background: var(--info); color: #fff; }
.reaction-icon--neutral     { color: #c08400; background: #fff7d6; border-color: #f5e174; }
.reaction-icon--neutral:hover { background: #f5b400; color: #fff; }
.reaction-icon--angry       { color: #c0392b; background: #fde0dc; border-color: #f5b8b1; }
.reaction-icon--angry:hover { background: var(--danger); color: #fff; }
.reaction-icon--sad         { color: #4b5963; background: #eef0f3; border-color: var(--border); }
.reaction-icon--sad:hover   { background: var(--text-soft); color: #fff; }
.reactions__label, .reactions__count { font-size: 12px; color: var(--text-mute); margin-left: 4px; }

.content__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
}
/* Estado vazio das reclamações (idêntico ao RA) */
.complaints-empty {
  text-align: center;
  color: var(--info);
  font-weight: 600;
  padding: 40px 16px;
  font-size: 14px;
}

/* ========== CTA RECLAMAR (red horizontal) ========== */
.cta-reclamar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--danger);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 16px;
  transition: background .15s;
}
.cta-reclamar:hover { background: var(--danger-dark); }
.cta-reclamar > span { flex: 1; }
.cta-reclamar strong { font-weight: 700; }

/* ========== PROBLEMAS ACCORDION — estilo idêntico ao ReclameAQUI ========== */
.problem-accordion {
  border-bottom: 1px solid var(--border-soft);
  padding: 4px 0;
}
.problem-accordion:last-of-type { border-bottom: 0; }
.problem-accordion__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  cursor: pointer;
}
.problem-accordion__head h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.problem-accordion__head .caret {
  font-size: 16px;
  color: var(--text-soft);
}
.problem-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0 14px;
  font-size: 14px;
  color: var(--text);
  transition: color .15s;
}
.problem-row:hover { color: var(--info); }
.problem-row__pct {
  font-size: 22px;
  font-weight: 700;
  color: var(--info);
  flex-shrink: 0;
  min-width: 64px;
}
.problem-row__label {
  font-weight: 400;
  color: var(--text);
}
.footnote {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
}

/* ========== INFO BLOCKS (right column) ========== */
.info-block__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin: 8px 0;
}
.info-block__text {
  font-size: 12.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 12px;
}
.info-data {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 4px;
}
.info-data a { color: var(--info); font-weight: 700; }
.info-data--muted { color: var(--text-mute); font-style: italic; }
.info-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-soft);
  background: var(--bg-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-top: 10px;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 12px;
  color: var(--text);
}
.contact-pill:hover { border-color: var(--primary); }
.contact-pill svg { color: var(--info); flex-shrink: 0; }
.contact-pill__label { display: block; font-size: 11px; color: var(--text-mute); }
.contact-pill__value { font-size: 13px; color: var(--info); font-weight: 700; }

.rank-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0 12px;
}
/* Quadradinho verde com o "1º" — bg #85DBB1, texto #002E17 32px Open Sans */
.rank-box__pos {
  font-size: 32px;
  font-weight: 600;
  color: #002E17;
  line-height: 1;
  background: #85DBB1;
  padding: 6px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-body);
  flex-shrink: 0;
}
.rank-box__pos sup { font-size: 16px; vertical-align: super; font-weight: 600; }
.rank-box__label {
  font-size: 16px;
  color: var(--marble, #000);
  font-weight: 600;
  font-family: var(--font-accent);
}
.rank-box__sub {
  font-size: 14px;
  color: #303633;
  font-family: var(--font-accent);
}

/* ========== EDITORIAL ========== */
.editorial {
  background: var(--bg-white);
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
}
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.editorial-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.editorial-card__image {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #eef0f3 0%, #d8dce3 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
  font-weight: 600;
  font-size: 12px;
}
.editorial-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.editorial-card__cta {
  font-size: 12.5px;
  color: var(--info);
  font-weight: 700;
}
.editorial-card:hover .editorial-card__title { color: var(--info); }
.editorial-cta { text-align: center; margin-top: 24px; }

/* ========== FOOTER — fundo BRANCO idêntico ao Reclame AQUI ========== */
.footer {
  background: #ffffff;
  color: #0f172b;
  padding: 40px 0 0;
  border-top: 1px solid #dddddd;
  font-family: 'Inter Tight', 'Inter', sans-serif;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 32px;
}
.footer__col h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0f172b;
  margin-bottom: 16px;
  font-family: 'Open Sans', sans-serif;
}
/* CTA verde-escuro sólido (Área do consumidor / Área da empresa) */
.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  background: #004032;
  color: #ffffff;
  border: 1px solid #004032;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  transition: all .15s;
}
.footer__cta:hover { background: #003528; border-color: #003528; color: #fff; }
/* CTA outline verde-escuro (Reclamar de uma empresa — coluna Central de ajuda) */
.footer__cta--outline {
  background: transparent;
  color: #004032;
}
.footer__cta--outline:hover { background: #004032; color: #fff; }
.footer__col em { font-style: normal; text-transform: uppercase; font-weight: 700; }
.footer__note-link { color: #1F69C1; text-decoration: underline; }
.footer__col ul li { margin-bottom: 8px; }
.footer__col a {
  color: #62748E;
  font-size: 14px;
  transition: color .15s;
}
.footer__col a:hover:not(.footer__cta) { color: #0f172b; text-decoration: underline; }
.footer__note { font-size: 13px; color: #62748E; line-height: 1.5; margin-top: 16px; }
.footer__stores { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #000;
  color: #fff !important;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,.2);
  width: 160px;
  text-decoration: none;
  transition: background .15s;
}
.store-badge:hover { background: #1a1a1a; }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.store-badge__text small {
  font-size: 9.5px;
  font-weight: 400;
  letter-spacing: .3px;
  opacity: .85;
}
.store-badge__text strong {
  font-size: 13px;
  font-weight: 700;
}

/* Aviso 18 anos — cinza azulado claro (#F8FAFC) */
.footer__warning {
  background: #F8FAFC;
  padding: 14px 0;
  font-size: 13px;
  color: #62748E;
  text-align: center;
}

/* Faixa social — branca com bordas finas */
.footer__social {
  padding: 20px 0;
  border-top: 1px solid #eaeaea;
}
.footer__social .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__logo { display: inline-flex; align-items: center; }
.footer__logo img {
  max-height: 32px;
  width: auto;
  display: block;
  /* sem filtro — agora o fundo é branco */
}
.footer__icons { display: flex; gap: 10px; }
.footer__icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F4F3;
  color: #004032 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.footer__icons a:hover { background: var(--primary); }
.footer__icons a:hover svg { fill: #fff; }
.footer__icons svg { fill: #004032; display: block; transition: fill .15s; }

/* Linha inferior (termos / política / copyright) */
.footer__bottom {
  border-top: 1px solid #eaeaea;
  padding: 16px 0;
  font-size: 13px;
  color: #62748E;
  text-align: center;
}
.footer__bottom a { color: #62748E; }
.footer__bottom a:hover { color: #0f172b; text-decoration: underline; }
.footer__bottom .dot { color: #c0c8d1; }

/* ========== RESPONSIVE ========== */

/* Tablet large: 1100px e abaixo — vira coluna única, ads centralizados */
@media (max-width: 1100px) {
  .three-col {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .col-left, .col-center, .col-right {
    display: flex;
    flex-direction: column;
  }
  .editorial-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-card__main { grid-template-columns: auto 1fr; }
  .hero-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: 8px;
  }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet: 900px */
@media (max-width: 900px) {
  .container { padding: 0 16px; }
  .subnav__inner {
    gap: 18px;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .subnav__inner::-webkit-scrollbar { display: none; }

  /* Hero responsivo */
  .hero-card__main { padding: 22px 20px; gap: 18px; }
  .hero-logo { width: 96px; height: 96px; }
  .hero-name { font-size: 21px; }

  /* Ads — billboard reduz no tablet */
  .ad-slot--billboard { max-width: 728px; height: 220px; }
}

/* Mobile: 640px */
@media (max-width: 640px) {
  .container { padding: 0 12px; }

  /* Header: oculta busca, mantém logo + criar conta */
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    height: 60px;
  }
  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 100%;
  }
  .header { padding-bottom: 10px; }
  .header__inner {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 60px auto;
    align-items: center;
    height: auto;
  }
  .header__cta { gap: 8px; }
  .header__link { display: none; }

  /* Subnav: rolagem horizontal */
  .subnav__inner { height: 44px; padding: 0 12px; }
  .subnav__link { font-size: 12px; padding: 4px 0; }

  /* Hero stack vertical */
  .hero { padding-top: 14px; }
  .hero-card__main {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px 16px;
    gap: 14px;
  }
  .hero-logo { width: 84px; height: 84px; margin: 0 auto; }
  .hero-name { font-size: 19px; }
  .hero-meta {
    justify-content: center;
    gap: 12px;
    font-size: 12px;
  }
  .hero-actions {
    grid-column: 1;
    justify-content: stretch;
    gap: 8px;
    margin-top: 4px;
    flex-wrap: wrap;
  }
  /* Reseta min-width/height fixos para caber em telas estreitas */
  .hero-actions .btn {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 12px 14px;
    font-size: 13px;
  }
  .btn--danger, .btn--lg { min-width: 0; }
  .hero-tabs { overflow-x: auto; }
  .hero-tab { padding: 12px 16px; font-size: 12px; flex-shrink: 0; }

  /* Tabs e seções de card */
  .card-section { padding: 16px; }
  .card-section__title { font-size: 13.5px; }
  .talks-tabs { gap: 12px; padding-bottom: 0; }
  .talks-tab { font-size: 12px; }

  /* Complaints */
  .complaint__title { font-size: 15px; }
  .complaint__body { font-size: 12.5px; }
  .complaint__meta { flex-wrap: wrap; gap: 8px; }
  .complaint__reactions { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* CTA reclamar */
  .cta-reclamar { padding: 12px 14px; font-size: 13px; }
  .cta-reclamar > span { font-size: 13px; }

  /* Carousel mobile — 2 cards visíveis (snap continua via base CSS) */
  .related-card { padding: 10px; }
  .related-card__logo { width: 40px; height: 40px; }
  .related-card__name { font-size: 11px; }

  /* Editorial 1 coluna */
  .editorial-grid { grid-template-columns: 1fr; gap: 16px; }
  .editorial { padding: 24px 0; }

  /* Footer 1 coluna + ajustes mobile */
  .footer { padding-top: 28px; }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 24px;
  }
  .footer__col h4 { font-size: 16px; margin-bottom: 12px; }
  .footer__col ul li { margin-bottom: 6px; }
  .footer__col a { font-size: 13.5px; }
  .footer__cta { font-size: 13px; height: 36px; margin-bottom: 12px; }
  .footer__note { font-size: 12.5px; margin-top: 12px; }

  /* Store badges — 2 colunas lado a lado no mobile */
  .footer__stores {
    flex-direction: row;
    gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
  }
  .store-badge {
    width: auto;
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    padding: 6px 10px;
    gap: 8px;
  }
  .store-badge svg { width: 18px; height: 18px; }
  .store-badge__text small { font-size: 8.5px; }
  .store-badge__text strong { font-size: 11.5px; }

  /* Faixa social — empilhada e centralizada */
  .footer__social { padding: 16px 0; }
  .footer__social .container { flex-direction: column; gap: 14px; }
  .footer__logo img { max-height: 26px; }
  .footer__icons { gap: 8px; }
  .footer__icons a { width: 32px; height: 32px; }
  .footer__icons svg { width: 14px; height: 14px; }

  /* Linha inferior */
  .footer__bottom { padding: 14px 0; }
  .footer__bottom p { font-size: 11px; line-height: 1.7; }
  .footer__bottom .dot { margin: 0 2px; }

  /* Quebra textos longos (CNPJ, links de site, etc.) */
  .info-data,
  .info-block__text,
  .contact-pill__value {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .contact-pill { padding: 10px; gap: 10px; }

  /* Seal pill com palavra grande (ÓTIMO) — permite quebra se preciso */
  .seal-pill { max-width: 100%; }
  .seal-pill--lg { flex-wrap: wrap; }

  /* Header CTAs reduzem em telas estreitas */
  .header__cta .btn--sm { padding: 6px 10px; font-size: 11.5px; }
  .logo__img { max-height: 28px; }

  /* Cards do carrossel — 2 visíveis em mobile (overflow snap fica no base) */
  .carousel__track { gap: 8px; }

  /* ============== AD SLOTS RESPONSIVOS ============== */
  /* Leaderboard 728x90 → mobile leaderboard 320x50 / 320x100 */
  .ad-slot--leaderboard {
    max-width: 320px;
    height: 100px;
  }
  /* Billboard 970x250 → retângulo 300x250 no mobile */
  .ad-slot--billboard {
    max-width: 300px;
    height: 250px;
  }
  /* Rectangle 300x250 — já é mobile-friendly */
  .ad-slot--rectangle {
    max-width: 100%;
    height: 250px;
  }
  /* Halfpage some no mobile (não cabe vertical) */
  .ad-slot--halfpage { display: none; }
  .ad-wrap { padding: 12px 0; }
  .ad-wrap--bottom { padding: 20px 0; }
}

/* Mobile small: 380px */
@media (max-width: 380px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .ad-slot--leaderboard { height: 50px; }

  /* Header ainda mais compacto */
  .header__cta .btn--sm { padding: 6px 8px; font-size: 11px; }
  .logo__img { max-height: 24px; }
  .header__inner { gap: 6px; }

  /* Hero meta empilhada em coluna */
  .hero-meta { flex-direction: column; gap: 4px; }
  .hero-name { font-size: 17px; }

  /* Cards do carrossel — em telas muito pequenas (≤380px), mostra
     ~1,5 cards (85% de largura) para que o usuário veja o próximo
     espiando pela borda — convite visual ao swipe horizontal. */
  .related-card { flex: 0 0 85%; }

  /* CTA reclamar mais enxuto */
  .cta-reclamar { padding: 10px 12px; font-size: 12px; gap: 8px; }
  .cta-reclamar > span { font-size: 12px; }

  /* Seal pill um pouco menor pra caber */
  .seal-pill { font-size: 12px; padding: 5px 10px; }
  .seal-pill--lg { font-size: 13px; padding: 8px 12px; }

  /* Ad slot rectangle se ajusta */
  .ad-slot--rectangle { height: 220px; }
  .ad-slot--billboard { height: 200px; }
}

/* ════════════════════════════════════════════════════════════════════════
   AJUSTES — selo verificado, footer verde, mobile header, complaints
   ════════════════════════════════════════════════════════════════════════ */

/* Selo verificado azul (Twitter-style) ao lado de Loja Hexa */
.hero-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.verified-badge {
  display: inline-flex;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
  top: 1px;
}
.verified-badge svg { width: 100%; height: 100%; display: block; }

/* Ícone Reclamações na hero-tab — alinhamento vertical fino com os outros */
.hero-tab svg { flex-shrink: 0; }

/* ============== TALKS TABS — pane switcher ============== */
.talks-tabs { flex-wrap: wrap; }
.talks-tab { cursor: pointer; }
.complaints-list[hidden],
.complaints-empty[hidden] { display: none !important; }

/* ============== COMPLAINT CARDS ============== */
.complaints-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}
.complaint {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.complaint:hover {
  border-color: var(--primary);
  box-shadow: 0 2px 8px rgba(2,121,62,.08);
}
.complaint__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}
.complaint__title {
  font-family: var(--font-accent, 'Inter Tight', sans-serif);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
  margin: 0;
}
.complaint__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--text-soft);
  white-space: nowrap;
  background: #FFF8E1;
  padding: 4px 10px;
  border-radius: 999px;
  flex-shrink: 0;
}
.complaint__rating strong { color: #B47C00; font-size: 15px; font-weight: 700; }
.complaint__body {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 10px;
}
.complaint__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-mute);
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.complaint__status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.complaint__status--resolved { background: #E6F4EA; color: #02793e; }
.complaint__author { font-weight: 600; color: var(--text-soft); }
.complaint__reactions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px dashed var(--border-soft);
}
.reaction-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: #F1F4F3;
  color: var(--text-soft);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
}
.reaction-pill--positive { background: #E6F4EA; color: #02793e; font-weight: 600; }

/* ============== FOOTER VERDE ============== */
.footer {
  background: var(--primary, #02793e);
  color: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.footer__col h4 { color: #ffffff; }
.footer__col a:not(.footer__cta):not(.footer__cta--outline):not(.store-badge):not(.footer__note-link) {
  color: rgba(255,255,255,0.92);
}
.footer__col a:not(.footer__cta):not(.footer__cta--outline):not(.store-badge):not(.footer__note-link):hover {
  color: #ffffff;
  text-decoration: underline;
}
a.footer__cta {
  background: #ffffff !important;
  color: var(--primary, #02793e) !important;
  border-color: #ffffff !important;
}
a.footer__cta:hover {
  background: #F1F4F3 !important;
  color: var(--primary, #02793e) !important;
  border-color: #F1F4F3 !important;
}
a.footer__cta--outline {
  background: transparent !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}
a.footer__cta--outline:hover {
  background: #ffffff !important;
  color: var(--primary, #02793e) !important;
}
.footer__note { color: rgba(255,255,255,0.85); }
.footer__note-link { color: #FFE8A8; }
.footer__note-link:hover { color: #ffffff; text-decoration: underline; }

.footer__warning {
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.88);
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* footer__social PERMANECE BRANCO (preserva legibilidade do logo RA) */
.footer__social {
  background: #ffffff;
  border-top: 1px solid #eaeaea;
}

.footer__bottom {
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
}
.footer__bottom a { color: rgba(255,255,255,0.92); }
.footer__bottom a:hover { color: #ffffff; text-decoration: underline; }
.footer__bottom .dot { color: rgba(255,255,255,0.4); }

/* Store badges no rodapé verde — mantém preto com contraste alto */
.footer .store-badge {
  background: #000000;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.3);
}

/* ============== MOBILE FIX — Entrar / Criar conta alinhado à direita ============== */
@media (max-width: 640px) {
  .header__inner {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: 60px auto !important;
    align-items: center;
    column-gap: 10px;
    row-gap: 8px;
    height: auto;
  }
  .header__inner > .logo { justify-self: start; }
  .header__cta {
    justify-self: end;
    gap: 6px;
  }
  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
  }
  .header__cta .btn--sm {
    padding: 7px 12px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Hero name + selo wrap legível em mobile */
  .hero-name {
    justify-content: center;
    font-size: 19px;
  }
  .verified-badge { width: 18px; height: 18px; }

  /* Complaints mobile — header empilha */
  .complaint__head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .complaint__rating { align-self: flex-start; }
  .complaint__title { font-size: 14.5px; }
  .complaint__body { font-size: 13px; }
}

