/* ==========================================================================
   Guia da Esteira — Componentes de artigo (tema cinza claro)
   ========================================================================== */

main { display: block; }

/* ---------- Breadcrumb ---------- */
.rr-breadcrumb {
  max-width: var(--maxw); margin: 0 auto; padding: 18px 22px 0;
  font-size: 13px; color: var(--text-muted);
}
.rr-breadcrumb a { color: var(--text-muted); }
.rr-breadcrumb a:hover { color: var(--accent-dark); }
.rr-breadcrumb span { margin: 0 6px; opacity: .5; }

/* ---------- Hero ---------- */
.rr-hero { max-width: var(--maxw); margin: 0 auto; padding: 18px 22px 6px; }
.rr-cat-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.rr-cat { background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: .02em; }
.rr-date { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.rr-h1 {
  font-size: clamp(30px, 5vw, 50px); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; margin: 6px 0 16px; color: var(--text);
}
.rr-lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-soft); line-height: 1.6; max-width: 760px; }

.rr-byline {
  display: flex; align-items: center; gap: 12px; margin: 22px 0 4px;
  padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.rr-byline__av {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 15px;
}
.rr-byline__info { font-size: 13.5px; color: var(--text-muted); }
.rr-byline__info strong { color: var(--text); }

/* ---------- Share ---------- */
.rr-share { max-width: var(--maxw); margin: 0 auto; padding: 14px 22px; }
.rr-share__inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rr-share__lbl { font-size: 12px; font-family: var(--mono); color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.rr-sbtn {
  border: 1px solid var(--border); background: var(--surface); color: var(--text-soft);
  font-family: var(--font); font-size: 13px; font-weight: 600; padding: 7px 13px;
  border-radius: 999px; cursor: pointer; transition: .15s;
}
.rr-sbtn:hover { border-color: var(--accent); color: var(--accent-dark); background: var(--accent-soft); }

/* ---------- Layout ---------- */
/* grid idêntico ao Guia da Guitarra: 1fr + 304px, gap 52px */
.rr-layout {
  max-width: 1280px; margin: 0 auto; padding: 16px 24px 72px;
  display: grid; grid-template-columns: minmax(0, 1fr) 304px; gap: 52px;
  align-items: start;
}
.rr-art { min-width: 0; }
.rr-art h2 {
  font-size: 27px; font-weight: 800; line-height: 1.25; margin: 44px 0 16px;
  padding-left: 14px; border-left: 4px solid var(--accent); letter-spacing: -.01em;
}
.rr-art h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.rr-art p { margin: 0 0 18px; }
.rr-art ul, .rr-art ol { margin: 0 0 20px; padding-left: 22px; }
.rr-art li { margin-bottom: 8px; }
.rr-art a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }

.rr-intro {
  font-size: 18px; color: var(--text-soft); line-height: 1.7;
  background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  padding: 20px 24px; border-radius: var(--radius-sm); margin-bottom: 8px;
}

/* ---------- Sidebar ---------- */
/* ─── SIDEBAR STICKY FIX ─────────────────────────────────────── */
/* A sidebar NÃO rola por dentro. Quem garante isso é o sidebar.js:
   ele reduz o conteúdo até caber na altura livre e só então aplica
   o max-height inline. Por isso aqui não há overflow-y nem scrollbar. */
.rr-side { display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 92px; align-self: flex-start; }
/* tela baixa demais para caber mesmo após o corte: o JS solta o sticky
   e a sidebar rola junto com o artigo, sem esconder nada */
.rr-side--solta {
  position: static;
  max-height: none;
}

/* ── blocos da sidebar (CSS idêntico ao Guia da Guitarra) ────── */
.rr-sw { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 18px; flex-shrink: 0; }
.rr-sw__title { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); }
.rr-toc { display: flex; flex-direction: column; gap: 1px; list-style: none; margin: 0; padding: 0; }
.rr-toc a { font-size: 12.5px; color: var(--text-muted); padding: 5px 8px; border-radius: 4px; display: flex; gap: 8px; align-items: baseline; transition: all .15s; text-decoration: none; }
.rr-toc a:hover { background: var(--bg); color: var(--accent-dark); text-decoration: none; }
.rr-toc__n { font-size: 10px; font-weight: 700; color: var(--accent); flex-shrink: 0; }
.rr-scta { background: var(--dark); border-radius: 8px; padding: 18px; text-align: center; }
.rr-scta__title { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.rr-scta__text { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 14px; line-height: 1.5; }
.rr-scta__btn { display: block; background: var(--ml); color: #fff; padding: 9px; border-radius: 5px; font-size: 12px; font-weight: 600; letter-spacing: .06em; transition: opacity .15s; text-decoration: none; }
.rr-scta__btn:hover { opacity: .85; text-decoration: none; }

/* ---------- Tabela visão rápida ---------- */
.rr-tbl-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.rr-tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 560px; }
.rr-tbl thead th { background: var(--surface-2); text-align: left; padding: 14px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.rr-tbl td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.rr-tbl tbody tr:last-child td { border-bottom: 0; }
.rr-tbl tbody tr:hover { background: var(--surface-2); }
.rr-tbl .rr-rank { font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 16px; }

.rr-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.rr-badge--green { background: var(--accent); color: #fff; }
.rr-badge--blue { background: var(--blue); color: #fff; }
.rr-badge--yellow { background: var(--amber); color: #3a2500; }
.rr-badge--purple { background: var(--purple); color: #fff; }

/* ---------- Picks grid ---------- */
.rr-picks-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 26px 0; }
.rr-pick-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.rr-pick-card--blue { border-top-color: var(--blue); }
.rr-pick-card--purple { border-top-color: var(--purple); }
.rr-pick-card--yellow { border-top-color: var(--amber); }
.rr-pick-card__label { font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.rr-pick-card__name { font-weight: 800; font-size: 16px; margin: 6px 0; }
.rr-pick-card__rating { font-size: 13px; color: var(--amber); margin-bottom: 12px; }
.rr-pick-card .rr-ml-btn { flex: 0 0 auto; margin-top: auto; font-size: 13.1px; padding: 8px 14px; }

/* ---------- Card de produto ---------- */
.rr-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 30px 0; }
.rr-card__head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.rr-card__num { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; }
.rr-card__name { font-weight: 800; font-size: 19px; line-height: 1.2; }
.rr-card__sub { font-size: 12px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); margin-top: 3px; }
.rr-card__body { padding: 22px; }
/* Vitrine: foto do produto inteira, fundo claro, jeito de review */
.rr-card__img { position: relative; background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #eef1f4 100%); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 8px; aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; padding: 20px; }
.rr-card__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(16,24,32,.14)); }
/* <picture> não deve gerar caixa própria — senão quebra o width/height:100% do img acima em containers flex/grid */
picture { display: contents; }
/* "chão" sutil embaixo do produto, pra não parecer recorte flutuando */
.rr-card__img::after { content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); width: 62%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(16,24,32,.16), transparent); pointer-events: none; }
.rr-card__img--ph { color: var(--text-muted); font-size: 13px; font-family: var(--mono); }
/* legenda da foto — origem/creditação da imagem */
.rr-card__caption { font-size: 12px; color: var(--text-muted); font-style: italic; margin: 0 0 18px; text-align: center; }

/* ---------- Galeria de fotos do produto ---------- */
.rr-gal { position: relative; margin-bottom: 8px; }
.rr-gal__viewport { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, #eef1f4 100%);
  scrollbar-width: none; -ms-overflow-style: none; }
.rr-gal__viewport::-webkit-scrollbar { display: none; }
.rr-gal__slide { position: relative; flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3/2;
  display: flex; align-items: center; justify-content: center; padding: 20px; }
.rr-gal__slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(16,24,32,.14)); }
/* "chão" sutil embaixo do produto, pra não parecer recorte flutuando */
.rr-gal__slide::after { content: ""; position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 62%; height: 14px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(16,24,32,.16), transparent); pointer-events: none; }

.rr-gal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: rgba(255,255,255,.92); color: var(--text); font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(16,24,32,.14); transition: .15s; }
.rr-gal__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.rr-gal__nav:disabled { opacity: 0; pointer-events: none; }
.rr-gal__nav--prev { left: 10px; }
.rr-gal__nav--next { right: 10px; }

.rr-gal__dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.rr-gal__dot { width: 8px; height: 8px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--border); transition: .15s; }
.rr-gal__dot[aria-selected="true"] { background: var(--accent); width: 22px; border-radius: 4px; }

.rr-gal__count { position: absolute; right: 10px; bottom: 10px; z-index: 2;
  font-family: var(--mono); font-size: 11px; padding: 3px 8px; border-radius: 20px;
  background: rgba(16,24,32,.62); color: #fff; pointer-events: none; }

@media (max-width: 600px) {
  .rr-card__img { aspect-ratio: 4/3; padding: 14px; }
  .rr-gal__slide { aspect-ratio: 4/3; padding: 14px; }
  .rr-gal__nav { width: 32px; height: 32px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .rr-gal__viewport { scroll-behavior: auto; }
}

.rr-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.rr-stars { color: var(--amber); letter-spacing: 2px; }
.rr-rating__num { font-weight: 800; }
.rr-rating__cnt { font-size: 13px; color: var(--text-muted); }

/* 2 specs por linha — celula larga o bastante para o valor nao quebrar */
.rr-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.rr-spec { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 11px 14px; min-width: 0; }
.rr-spec__lbl { font-size: 10.5px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.rr-spec__val { font-weight: 700; font-size: 14px; margin-top: 3px; line-height: 1.3; overflow-wrap: break-word; }
@media (max-width: 560px) { .rr-specs { grid-template-columns: 1fr; } }

/* ---------- Pros e contras ---------- */
.rr-pc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 20px 0; }
.rr-pc-pros, .rr-pc-contras { border-radius: var(--radius-sm); padding: 16px 18px; }
.rr-pc-pros { background: var(--pros-bg); }
.rr-pc-contras { background: var(--contras-bg); }
.rr-pc-title { font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.rr-pc-pros .rr-pc-title { color: var(--pros-tx); }
.rr-pc-contras .rr-pc-title { color: var(--contras-tx); }
.rr-pc-list { list-style: none; margin: 0; padding: 0; }
.rr-pc-list li { display: flex; gap: 8px; font-size: 14px; margin-bottom: 8px; line-height: 1.5; }
.rr-pc-list li span { font-weight: 800; flex-shrink: 0; }
.rr-pc-pros span { color: var(--pros-tx); }
.rr-pc-contras span { color: var(--contras-tx); }

/* ---------- CTA ---------- */
.rr-cta-group { display: flex; gap: 12px; margin: 18px 0 4px; flex-wrap: wrap; }
.rr-cta-btn, .rr-ml-btn { display: inline-block; flex: 1 1 200px; text-align: center; font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 6px; text-decoration: none !important; transition: .15s; white-space: nowrap; }
.rr-cta-btn { background: var(--cta-accent); color: #3a2500 !important; box-shadow: 0 4px 14px rgba(217,84,42,.3); }
.rr-cta-btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.rr-ml-btn { background: var(--ml); color: #fff !important; box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.rr-ml-btn:hover { background: var(--ml-dark); transform: translateY(-1px); }

.rr-dark-cta { background: var(--dark); border-radius: var(--radius); padding: 22px 24px; margin: 30px 0; }
.rr-dark-cta__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #f0b988; }
.rr-dark-cta__text { color: #eee6d8; margin: 8px 0 16px; font-size: 15px; }

/* ---------- Caixas tip / warn ---------- */
.rr-box { display: flex; gap: 14px; border-radius: var(--radius-sm); padding: 18px 20px; margin: 24px 0; border: 1px solid var(--border); }
.rr-box--tip { background: var(--accent-soft); border-color: #e8c6a3; }
.rr-box--warn { background: #fff5e6; border-color: #ffdfa6; }
.rr-box--dark { background: var(--dark); border: 0; color: #e6ddc9; flex-direction: column; gap: 8px; }
.rr-box__icon { font-size: 22px; flex-shrink: 0; line-height: 1.4; }
.rr-box__body { font-size: 14.5px; line-height: 1.65; }
.rr-box--dark .rr-box__body { color: #cabd9f; }
.rr-box--dark .rr-box__body strong { color: #fff; }
.rr-box__title { font-weight: 800; font-size: 16px; color: #fff; }

/* ---------- Nota por categoria ---------- */
.rr-score-table { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 32px 0; box-shadow: var(--shadow); }
.rr-score-table__title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 18px; }
.rr-score-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rr-score-row__label { flex: 0 0 130px; font-size: 14px; color: var(--text); }
.rr-score-row__bar-wrap { flex: 1; background: var(--bg-soft); border-radius: 4px; height: 8px; overflow: hidden; }
.rr-score-row__bar { height: 100%; border-radius: 4px; transition: width .4s ease; }
.rr-score-row__num { flex: 0 0 36px; text-align: right; font-weight: 700; font-size: 14px; }
.rr-score-final { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); margin-top: 16px; padding-top: 16px; }
.rr-score-final__label { font-size: 15px; font-weight: 700; }
.rr-score-final__num { font-size: 28px; font-weight: 800; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after { content: "+"; color: var(--accent); font-weight: 800; font-size: 22px; line-height: 1; }
details[open] .faq-q::after { content: "–"; }
.faq-a { padding: 0 20px 18px; color: var(--text-soft); font-size: 15px; line-height: 1.7; }

/* ---------- Artigos relacionados ---------- */
.rr-related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 24px 0; }
.rr-rcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none !important; transition: .15s; display: flex; flex-direction: column; }
.rr-rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.rr-rcard__img { aspect-ratio: 16/9; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--mono); font-size: 12px; }
.rr-rcard__img img { width: 100%; height: 100%; object-fit: cover; }
.rr-rcard__body { padding: 16px 18px; }
.rr-rcard__cat { font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--accent-dark); }
.rr-rcard__title { font-weight: 800; font-size: 16px; margin: 6px 0; color: var(--text); line-height: 1.3; }
.rr-rcard__desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

/* ==========================================================================
   HOME / categoria
   ========================================================================== */
.home-hero { background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); border-bottom: 1px solid var(--border); }
.home-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 22px 52px; text-align: center; }
.home-hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 18px; }
.home-hero h1 .hl { color: var(--accent); }
.home-hero p { font-size: clamp(17px, 2.4vw, 21px); color: var(--text-soft); max-width: 660px; margin: 0 auto 28px; }
.home-hero__cta { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary { background: var(--accent); color: #fff !important; font-weight: 700; padding: 14px 26px; border-radius: 999px; text-decoration: none !important; box-shadow: 0 6px 20px rgba(217,84,42,.32); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--surface); border: 1px solid var(--border-strong); color: var(--text) !important; font-weight: 700; padding: 14px 26px; border-radius: 999px; text-decoration: none !important; }
.btn-ghost:hover { border-color: var(--accent); }

.section { max-width: var(--maxw); margin: 0 auto; padding: 56px 22px; }
.section__head { margin-bottom: 28px; }
.section__head h2 { font-size: clamp(24px, 3.4vw, 32px); font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.section__head p { color: var(--text-muted); margin: 0; font-size: 16px; }
.section--soft { background: var(--bg-soft); max-width: none; }
.section--soft > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none !important; color: inherit; display: flex; flex-direction: column; transition: .18s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__img { aspect-ratio: 16/9; background: var(--surface-2); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-family: var(--mono); font-size: 12px; position: relative; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__tag { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-weight: 800; font-size: 18px; line-height: 1.3; margin: 0 0 8px; }
.post-card__desc { font-size: 14px; color: var(--text-muted); line-height: 1.55; margin: 0 0 14px; flex: 1; }
.post-card__meta { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }

.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.feature__ico { font-size: 28px; margin-bottom: 10px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; }
.feature p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 960px) {
  .rr-layout { grid-template-columns: 1fr; }
  .rr-side { display: none; }
}
@media (max-width: 560px) {
  .rr-pc-grid { grid-template-columns: 1fr; }
  .rr-cta-group { flex-direction: column; }
  .rr-cta-btn, .rr-ml-btn { flex: 1 1 auto; }

  /* Tabela de visão rápida: no mobile ela só cabe com scroll horizontal,
     que quebra o scroll vertical da página. Em vez de rolar uma tabela,
     mostramos só a linha #1 (o top pick) como um cartão de destaque. */
  .rr-tbl-wrap {
    overflow: visible; min-width: 0; padding: 18px 16px 20px;
    border: 2px solid var(--accent); position: relative;
  }
  .rr-tbl-wrap::before {
    content: "🏆 Top pick"; display: inline-block; position: absolute;
    top: -12px; left: 14px; background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  }
  .rr-tbl, .rr-tbl tbody, .rr-tbl tr, .rr-tbl td { display: block; width: 100%; min-width: 0; }
  .rr-tbl thead { display: none; }
  .rr-tbl tbody tr:not(:first-child) { display: none; }
  .rr-tbl tbody tr:first-child td { padding: 4px 0; border-bottom: 0; }
  .rr-tbl tbody tr:first-child .rr-rank { display: none; }
  .rr-tbl tbody tr:first-child td:nth-child(2) { font-size: 17px; padding-top: 2px; }
  .rr-tbl tbody tr:first-child td:last-child { padding-top: 10px; }
  .rr-tbl tbody tr:first-child td:last-child a { display: block; }
  .rr-tbl tbody tr:first-child td:last-child .rr-badge { display: block; text-align: center; padding: 10px; font-size: 14px; }

  /* Grade de picks: mesma lógica — só o primeiro card (a recomendação
     principal da seção) fica em evidência, o resto soma ruído no mobile. */
  .rr-picks-grid { grid-template-columns: 1fr; }
  .rr-pick-card:not(:first-child) { display: none; }
  .rr-pick-card:first-child { border-top-width: 4px; box-shadow: var(--shadow-lg); }
}

/* rr-img-slot — imagens inline no corpo do artigo */
.rr-img-slot { margin: 28px 0; }
.rr-img-slot img { width: 100%; border-radius: var(--radius); display: block; aspect-ratio: 16/9; object-fit: cover; background: var(--surface-2); }
.rr-img-slot figcaption { font-size: 13px; color: var(--text-muted); text-align: center; padding: 8px 4px 0; font-style: italic; }

/* ==========================================================================
   HOME — layout editorial (hero split, preços, mais lidos, começar)
   ========================================================================== */

/* Hero: destaque grande + lista de populares */
.hm-top { display: grid; grid-template-columns: minmax(0,1.85fr) minmax(0,1fr); gap: 26px; align-items: start; }
.hm-feat { position: relative; border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none !important; min-height: 330px; background: var(--dark); }
.hm-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: blur(6px); transform: scale(1.08); }
.hm-feat__in { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 330px; padding: 26px; background: linear-gradient(180deg, rgba(28,23,18,.42) 0%, rgba(28,23,18,.93) 70%); }
.hm-feat__tags { display: flex; gap: 8px; margin-bottom: auto; padding-bottom: 18px; }
.hm-feat h2 { color: #fff; font-size: clamp(22px, 3.2vw, 32px); font-weight: 800; line-height: 1.16; margin: 0 0 10px; letter-spacing: -.02em; }
.hm-feat p { color: #d9d0c2; font-size: 14.5px; line-height: 1.6; margin: 0 0 14px; max-width: 52ch; }
.hm-feat__meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: #a89a83; }
.hm-feat__go { color: var(--accent); font-weight: 700; font-family: var(--font); }

.hm-pop__title { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 14px; }
.hm-pop__list { display: flex; flex-direction: column; }
.hm-pop__item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none !important; color: inherit; }
.hm-pop__item:last-child { border-bottom: 0; }
.hm-pop__item:hover .hm-pop__t { color: var(--accent-dark); }
.hm-pop__thumb { flex: 0 0 66px; height: 50px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.hm-pop__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hm-pop__t { font-size: 13.5px; font-weight: 700; line-height: 1.35; margin: 5px 0 4px; }
.hm-pop__m { font-family: var(--mono); font-size: 11px; color: var(--text-muted); }

/* Faixa "artigo da semana" */
.hm-week { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border-radius: var(--radius); overflow: hidden; background: var(--dark); margin-top: 30px; }
.hm-week__img { min-height: 240px; background: var(--surface-2); }
.hm-week__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-week__body { padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; }
.hm-week__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.hm-week__body h2 { color: #fff; font-size: clamp(19px, 2.6vw, 25px); font-weight: 800; line-height: 1.22; margin: 0 0 10px; }
.hm-week__body p { color: #c9baa0; font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.hm-week__cta { align-self: flex-start; background: var(--accent); color: #fff !important; font-weight: 700; font-size: 14px; padding: 11px 20px; border-radius: 8px; text-decoration: none !important; }
.hm-week__cta:hover { background: var(--accent-dark); }

/* Guias por preço */
.hm-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.hm-price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.hm-price__head { background: var(--dark); padding: 16px 20px; }
.hm-price__tier { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hm-price__range { color: #fff; font-size: 20px; font-weight: 800; margin-top: 4px; }
.hm-price__list { list-style: none; margin: 0; padding: 16px 20px; flex: 1; }
.hm-price__list li { display: flex; gap: 10px; align-items: baseline; font-size: 14px; margin-bottom: 9px; }
.hm-price__list b { font-family: var(--mono); font-size: 11px; color: var(--accent); flex-shrink: 0; }
.hm-price__cta { display: block; margin: 0 20px 20px; text-align: center; background: var(--accent); color: #fff !important; font-weight: 700; font-size: 14px; padding: 11px 16px; border-radius: 8px; text-decoration: none !important; }
.hm-price__cta:hover { background: var(--accent-dark); }

/* Mais lidos (bloco escuro numerado) */
.hm-read { background: var(--dark); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: minmax(0,260px) minmax(0,1fr); gap: 34px; align-items: start; }
.hm-read__side .label--dim { color: #7a6f5c; }
.hm-read__side h2 { color: #fff; font-size: 34px; font-weight: 800; line-height: 1.05; margin: 0 0 14px; letter-spacing: -.02em; }
.hm-read__side p { color: #b8a888; font-size: 13.5px; line-height: 1.6; margin: 0; }
.hm-read__rule { width: 46px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 14px; }
.hm-read__list { display: flex; flex-direction: column; }
.hm-read__item { display: flex; gap: 18px; align-items: flex-start; padding: 15px 0; border-bottom: 1px solid var(--dark-line); text-decoration: none !important; }
.hm-read__item:last-child { border-bottom: 0; }
.hm-read__n { font-family: var(--mono); font-size: 23px; font-weight: 700; color: var(--accent); flex-shrink: 0; line-height: 1.1; min-width: 34px; }
.hm-read__t { color: #fff; font-size: 15px; font-weight: 700; line-height: 1.35; margin: 6px 0 4px; }
.hm-read__item:hover .hm-read__t { color: var(--accent); }
.hm-read__m { font-family: var(--mono); font-size: 11px; color: #a4937a; }

/* Por onde começar */
.hm-start { background: var(--dark); border-radius: var(--radius); padding: 34px 32px; text-align: center; }
.hm-start__label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.hm-start h2 { color: #fff; font-size: clamp(21px, 3vw, 27px); font-weight: 800; margin: 10px 0 6px; }
.hm-start__sub { color: #b8a888; font-size: 14px; margin: 0 0 26px; }
.hm-start__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.hm-start__card { background: var(--surface); border-radius: var(--radius-sm); padding: 22px 18px; text-decoration: none !important; display: block; transition: .16s; }
.hm-start__card:hover { transform: translateY(-3px); }
.hm-start__ico { font-size: 24px; }
.hm-start__t { font-weight: 800; font-size: 15.5px; color: var(--text); margin: 10px 0 5px; }
.hm-start__d { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.hm-start__go { color: var(--accent-dark); font-weight: 700; font-size: 13.5px; }

@media (max-width: 900px) {
  .hm-top { grid-template-columns: 1fr; }
  .hm-week { grid-template-columns: 1fr; }
  .hm-week__img { min-height: 190px; }
  .hm-read { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; }
  .hm-read__side h2 { font-size: 28px; }
}
@media (max-width: 560px) {
  .hm-feat, .hm-feat__in { min-height: 260px; }
  .hm-feat__in { padding: 20px; }
  .hm-week__body { padding: 24px 22px; }
  .hm-start { padding: 26px 20px; }
}

/* Home: título principal da página (h1) */
.hm-intro { padding-top: 44px; padding-bottom: 0; }
.hm-intro h1 { font-size: clamp(26px, 4vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 10px; text-wrap: balance; }
.hm-intro p { color: var(--text-muted); font-size: 17px; margin: 0; max-width: 68ch; }
@media (max-width: 640px) { .hm-intro { padding-top: 28px; } .hm-intro p { font-size: 15.5px; } }

/* Card de produto contextual dentro de artigo de apoio */
.rr-inline { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 16px 18px; margin: 28px 0; box-shadow: var(--shadow); }
.rr-inline--blue { border-left-color: var(--blue); }
.rr-inline--purple { border-left-color: var(--purple); }
.rr-inline--yellow { border-left-color: var(--amber); }
.rr-inline__body { flex: 1 1 260px; min-width: 0; }
.rr-inline__label { font-size: 11px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.rr-inline__name { font-weight: 800; font-size: 17px; margin: 5px 0 6px; line-height: 1.25; }
.rr-inline__why { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin: 0; }
.rr-inline__act { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.rr-inline__act .rr-ml-btn { flex: 0 0 auto; }
.rr-inline__note { font-size: 11px; color: var(--text-muted); text-align: center; }
@media (max-width: 560px) { .rr-inline__act { width: 100%; } .rr-inline__act .rr-ml-btn { width: 100%; } }

/* Barra fixa de CTA no mobile (so em ranking).
   Os rankings tem 2.000 a 3.900 palavras: no celular, quem le a analise
   do 1o modelo e rola ate o 6o passa minutos sem nenhum botao a vista.
   A barra some sozinha quando um CTA de verdade esta na tela, para nao
   competir com ele nem repetir a mesma acao duas vezes. */
.rr-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; gap: 10px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: var(--dark); border-top: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 -6px 20px rgba(0,0,0,.28);
  /* sem transicao: a barra e elemento de conversao e nao pode depender do
     motor de animacao para ficar visivel (aba em segundo plano, bateria) */
  transform: translateY(110%);
}
.rr-sticky--on { transform: translateY(0); }
.rr-sticky__body { flex: 1 1 auto; min-width: 0; }
.rr-sticky__label { font-family: var(--mono); font-size: 9.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.5); }
.rr-sticky__name { color: #fff; font-size: 13px; font-weight: 700; line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rr-sticky__btn { flex: 0 0 auto; background: var(--ml); color: #1a1a00 !important;
  font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 6px;
  text-decoration: none !important; white-space: nowrap; }
.rr-sticky__close { flex: 0 0 auto; width: 30px; height: 30px; border: 0; padding: 0;
  background: transparent; color: rgba(255,255,255,.55); font-size: 19px; line-height: 1;
  cursor: pointer; border-radius: 6px; }
.rr-sticky__close:hover { color: #fff; }
.rr-sticky__close:focus-visible, .rr-sticky__btn:focus-visible { outline: 2px solid var(--ml); outline-offset: 2px; }
@media (max-width: 768px) { .rr-sticky { display: flex; } }
