/* ==========================================================================
   RS Eletrônica — Landing B2B
   Paleta: laboratório eletrônico (grafite/azul-marinho + acento azul-elétrico)
   ========================================================================== */

:root {
  --rs-bg: #0b0f16;
  --rs-bg-alt: #10151f;
  --rs-bg-card: #151d2c;
  --rs-border: #2a3b5c;
  --rs-text: #f4f7fc;
  --rs-text-muted: #b7c4dc;
  --rs-text-dim: #8a9ac0;
  --rs-accent: #4db2ff;
  --rs-accent-2: #5be3c9;
  --rs-accent-soft: rgba(77, 178, 255, 0.14);
  --rs-whatsapp: #22c55e;
  --rs-radius: 4px;
  --rs-max: 1180px;
  --rs-font: 'Segoe UI', 'Inter', system-ui, -apple-system, Arial, sans-serif;
  --rs-mono: 'Consolas', 'SFMono-Regular', Menlo, monospace;
}

@media (prefers-reduced-motion: reduce) {
  .rs-landing * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.rs-landing, .rs-landing * , .rs-landing *::before, .rs-landing *::after {
  box-sizing: border-box;
}

.rs-landing {
  background: var(--rs-bg);
  color: var(--rs-text);
  font-family: var(--rs-font);
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

.rs-landing img { max-width: 100%; display: block; }

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

.rs-eyebrow {
  font-family: var(--rs-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12.5px;
  color: var(--rs-accent-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rs-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--rs-accent-2);
  display: inline-block;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.01em; margin: 0 0 16px; color: #fff; }
h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.12; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; }
h3 { font-size: 20px; }
p { margin: 0 0 16px; }
.rs-lead { font-size: 19px; color: var(--rs-text-muted); max-width: 640px; }

section { padding: 96px 0; border-bottom: 1px solid var(--rs-border); }
section:last-of-type { border-bottom: none; }

/* ---------- Header ---------- */
.rs-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11, 15, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rs-border);
}
.rs-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--rs-max); margin: 0 auto;
}
.rs-logo { display: flex; flex-direction: column; line-height: 1.1; text-decoration: none; color: #fff; }
.rs-logo strong { font-size: 19px; letter-spacing: 0.01em; }
.rs-logo span { font-family: var(--rs-mono); font-size: 11px; color: var(--rs-text-dim); letter-spacing: 0.08em; text-transform: uppercase; }
.rs-header-cta { display: flex; align-items: center; gap: 14px; }
.rs-header-phone { color: var(--rs-text-muted); font-size: 14px; display: none; }
.rs-header-nav { display: none; color: var(--rs-text-muted); font-size: 14px; text-decoration: none; border: 1px solid var(--rs-border); padding: 8px 14px; border-radius: var(--rs-radius); }
.rs-header-nav:hover { color: var(--rs-accent); border-color: var(--rs-accent); }
.rs-header-nav.is-active { color: var(--rs-accent); border-color: var(--rs-accent); font-weight: 600; cursor: default; }

/* ---------- Buttons ---------- */
.rs-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--rs-font); font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: var(--rs-radius); text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: all .15s ease;
  letter-spacing: 0.01em;
}
.rs-btn-primary { background: var(--rs-accent); color: #05131f; }
.rs-btn-primary:hover { background: #5bb4ff; }
.rs-btn-outline { background: transparent; color: var(--rs-text); border-color: var(--rs-border); }
.rs-btn-outline:hover { border-color: var(--rs-accent); color: var(--rs-accent); }
.rs-btn-whatsapp { background: var(--rs-whatsapp); color: #06210f; }
.rs-btn-whatsapp:hover { background: #34d669; }
.rs-btn-block { width: 100%; }
.rs-btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- Hero ---------- */
.rs-hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--rs-border);
}
.rs-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(11,15,22,0.55) 0%, rgba(11,15,22,0.92) 75%, var(--rs-bg) 100%), var(--rs-bg);
}
.rs-hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; z-index: -1; }
.rs-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.rs-hero-badges { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 32px 0 40px; }
.rs-hero-badge { font-size: 14px; color: var(--rs-text-muted); display: flex; align-items: center; gap: 8px; }
.rs-hero-badge b { color: #fff; font-family: var(--rs-mono); }
.rs-hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Situations list ---------- */
.rs-situations { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--rs-border); border: 1px solid var(--rs-border); margin-top: 48px; }
.rs-situation { background: var(--rs-bg); padding: 26px 28px; font-size: 15.5px; color: var(--rs-text-muted); display: flex; gap: 14px; }
.rs-situation .rs-num { font-family: var(--rs-mono); color: var(--rs-accent); font-size: 13px; flex-shrink: 0; }
.rs-callout {
  margin-top: 40px; padding: 24px 28px; border-left: 3px solid var(--rs-accent);
  background: var(--rs-accent-soft); font-size: 18px; color: #fff; font-weight: 600;
}

/* ---------- Process (timeline) ---------- */
.rs-process { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.rs-process-linha { display: none; }
.rs-step {
  position: relative; border: 1px solid var(--rs-border); padding: 28px; border-radius: var(--rs-radius);
  background: var(--rs-bg-card); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.rs-step:hover { transform: translateY(-4px); border-color: var(--rs-accent); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
.rs-step-num { font-family: var(--rs-mono); color: var(--rs-accent); font-size: 26px; font-weight: 700; margin-bottom: 14px; display: block; }
.rs-step h3 { margin-bottom: 8px; }
.rs-step p { color: var(--rs-text-muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Reveal ao rolar ----------
   Visível por padrão (funciona sem JS/antes do JS carregar). Só fica oculto
   quando o próprio JS adiciona .rs-reveal-init (feature-detected), e nesse
   caso o mesmo JS garante que .rs-inview será adicionado ao entrar na tela. */
.rs-reveal.rs-reveal-init { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.rs-reveal.rs-reveal-init.rs-inview { opacity: 1; transform: translateY(0); }

/* ---------- Split (image + text) ---------- */
.rs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.rs-split.rs-split-rev .rs-split-media { order: 2; }
.rs-split-body ul { list-style: none; padding: 0; margin: 24px 0; }
.rs-split-body li { padding: 12px 0; border-bottom: 1px solid var(--rs-border); color: var(--rs-text-muted); font-size: 15.5px; display: flex; gap: 12px; }
.rs-split-body li::before { content: "—"; color: var(--rs-accent); flex-shrink: 0; }

/* ---------- Janela para o laboratório (moldura de imagem) ---------- */
.rs-frame {
  position: relative; border: 1px solid var(--rs-border); border-radius: var(--rs-radius);
  overflow: hidden; background: var(--rs-bg-card); isolation: isolate;
}
.rs-frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: linear-gradient(rgba(58,160,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(58,160,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.rs-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(77,178,255,0.18), inset 0 40px 60px -40px rgba(0,0,0,0.6);
}
.rs-frame img {
  position: relative; z-index: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  transition: transform .7s cubic-bezier(.2,.7,.3,1); display: block;
}
.rs-frame:hover img { transform: scale(1.05); }
.rs-frame-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 10px 14px;
  font-family: var(--rs-mono); font-size: 11.5px; color: var(--rs-text-dim); letter-spacing: 0.04em;
  background: linear-gradient(0deg, rgba(6,10,16,0.85), transparent);
}

/* ---------- Product sections (MacBook / Notebook / Nobreak) ---------- */
.rs-product { }
.rs-product-tag { font-family: var(--rs-mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rs-accent-2); }
.rs-product-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; margin-top: 28px; align-items: start; }
.rs-chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.rs-chip { border: 1px solid var(--rs-border); color: var(--rs-text-muted); font-size: 13.5px; padding: 8px 14px; border-radius: 999px; }
.rs-product-note { font-size: 13.5px; color: var(--rs-text-dim); border-top: 1px dashed var(--rs-border); padding-top: 16px; margin-top: 8px; }

/* ---------- Diferencial ---------- */
.rs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.rs-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.rs-card { border: 1px solid var(--rs-border); background: var(--rs-bg-card); padding: 30px; border-radius: var(--rs-radius); }
.rs-card h3 { margin-bottom: 10px; }
.rs-card p { color: var(--rs-text-muted); font-size: 14.5px; margin-bottom: 0; }
.rs-card-icon { width: 40px; height: 40px; border: 1px solid var(--rs-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--rs-accent); font-family: var(--rs-mono); margin-bottom: 18px; }

/* ---------- Para quem é ---------- */
.rs-audience { display: flex; flex-wrap: wrap; gap: 16px; margin: 40px 0; }
.rs-audience-item {
  flex: 1 1 220px; border: 1px solid var(--rs-border); padding: 22px 24px; border-radius: var(--rs-radius);
  color: var(--rs-text); font-weight: 600; display: flex; align-items: center; gap: 12px; background: var(--rs-bg-card);
}
.rs-audience-item .rs-check { color: var(--rs-accent-2); font-family: var(--rs-mono); }

/* ---------- Posicionamento ---------- */
.rs-position { background: var(--rs-bg-alt); text-align: center; }
.rs-position .rs-wrap { max-width: 820px; }
.rs-position h2 { margin-bottom: 24px; }
.rs-position p { font-size: 19px; color: var(--rs-text-muted); }
.rs-position strong { color: #fff; }

/* ---------- Fluxo B2B ---------- */
.rs-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin: 40px 0; }
.rs-flow-step {
  border: 1px solid var(--rs-border); background: var(--rs-bg-card); color: var(--rs-text);
  font-family: var(--rs-mono); font-size: 13px; letter-spacing: 0.05em; padding: 14px 18px; border-radius: var(--rs-radius);
}
.rs-flow-step.rs-flow-brand { border-color: var(--rs-accent); color: var(--rs-accent); }
.rs-flow-arrow { color: var(--rs-accent-2); font-size: 18px; }

/* ---------- Experiência ---------- */
.rs-experiencia { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.rs-experiencia-body .rs-eyebrow { margin-bottom: 8px; }

/* ---------- Página 404 ---------- */
.rs-404-hero { padding: 140px 0; text-align: center; min-height: 70vh; display: flex; align-items: center; }
.rs-404-hero .rs-wrap { max-width: 640px; margin: 0 auto; }
.rs-404-hero .rs-lead { margin: 0 auto 36px; }
.rs-404-search { display: flex; gap: 10px; margin-bottom: 32px; }
.rs-404-search input { flex: 1; background: var(--rs-bg-card); border: 1px solid var(--rs-border); color: var(--rs-text); padding: 13px 16px; border-radius: var(--rs-radius); font-size: 14.5px; }
.rs-404-search input:focus { border-color: var(--rs-accent); }
.rs-404-search input:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }
.rs-404-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 8px; }
.rs-404-links a { color: var(--rs-text-muted); font-size: 14px; text-decoration: none; border-bottom: 1px dashed var(--rs-border); }
.rs-404-links a:hover { color: var(--rs-accent); border-color: var(--rs-accent); }

/* ---------- Ações genéricas (botões em linha) ---------- */
.rs-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }

/* ---------- Localização + Google (bloco único, duas colunas) ---------- */
.rs-loc-google-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; align-items: stretch; }
.rs-loc-col {
  border: 1px solid var(--rs-border); background: var(--rs-bg-card); border-radius: var(--rs-radius);
  padding: 32px; display: flex; flex-direction: column;
}
.rs-loc-col h3 { font-size: 16px; margin-bottom: 20px; }
.rs-loc-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.rs-loc-list li { display: flex; gap: 14px; align-items: flex-start; }
.rs-loc-icon { font-size: 18px; line-height: 1.4; flex-shrink: 0; }
.rs-loc-list strong { display: block; color: #fff; font-size: 13.5px; margin-bottom: 2px; }
.rs-loc-list div { color: var(--rs-text-muted); font-size: 14.5px; line-height: 1.5; }
.rs-loc-col > .rs-btn { align-self: flex-start; }

/* ---------- Google Business Profile (card integrado à coluna) ---------- */
.rs-google-card { display: flex; flex-direction: column; flex: 1; }
.rs-google-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rs-google-g {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #4285F4;
  font-family: var(--rs-mono); font-weight: 700; font-size: 20px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.rs-google-card-head strong { display: block; color: #fff; font-size: 16px; }
.rs-google-stars { color: #fbbc04; font-size: 15px; letter-spacing: 2px; }
.rs-google-card p { margin: 0 0 6px; color: var(--rs-text-muted); }
.rs-google-card .rs-btn { margin-top: auto; align-self: flex-start; }

/* ---------- Casos reais de reparo ---------- */
.rs-caso-card p { font-size: 14px; color: var(--rs-text-muted); }
.rs-caso-card p strong { color: var(--rs-text); }
.rs-caso-fotos { display: flex; gap: 12px; margin: 14px 0; }
.rs-caso-fotos figure { flex: 1; margin: 0; }
.rs-caso-fotos img { width: 100%; height: auto; border-radius: var(--rs-radius); border: 1px solid var(--rs-border); }
.rs-caso-fotos figcaption { font-size: 11.5px; color: var(--rs-text-dim); text-align: center; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Prova social (depoimentos) ---------- */
.rs-depoimento-texto { font-size: 15.5px; color: var(--rs-text); font-style: italic; }
.rs-depoimento-autor { font-size: 13.5px; color: var(--rs-text-muted); margin-bottom: 10px; }
.rs-depoimento-data { color: var(--rs-text-dim); }
.rs-depoimento-card a { color: var(--rs-accent); font-size: 13.5px; text-decoration: none; }
.rs-depoimento-card a:hover { text-decoration: underline; }

/* ---------- CTA final ---------- */
.rs-cta-final {
  background: linear-gradient(180deg, var(--rs-bg-alt), var(--rs-bg));
  text-align: center;
}
.rs-cta-final .rs-wrap { max-width: 700px; }
.rs-cta-final .rs-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.rs-cta-final .rs-location { margin-top: 28px; color: var(--rs-text-dim); font-size: 14px; }

/* ---------- Formulário ---------- */
.rs-form-section { background: var(--rs-bg-alt); }
.rs-form { max-width: 720px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rs-form .rs-full { grid-column: 1 / -1; }
.rs-field { display: flex; flex-direction: column; gap: 8px; }
.rs-field label { font-size: 13px; color: var(--rs-text-muted); font-weight: 600; }
.rs-field small { color: var(--rs-text-dim); font-size: 12px; }
.rs-field input,
.rs-field select,
.rs-field textarea {
  background: var(--rs-bg-card); border: 1px solid var(--rs-border); color: var(--rs-text);
  padding: 13px 14px; border-radius: var(--rs-radius); font-family: var(--rs-font); font-size: 14.5px;
}
.rs-field input:focus, .rs-field select:focus, .rs-field textarea:focus { border-color: var(--rs-accent); }
.rs-field input:focus-visible, .rs-field select:focus-visible, .rs-field textarea:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }
.rs-field textarea { resize: vertical; min-height: 100px; }
.rs-form-note { font-size: 12.5px; color: var(--rs-text-dim); margin-top: 4px; }

/* ---------- Footer ---------- */
.rs-footer { background: var(--rs-bg-alt); border-top: 1px solid var(--rs-border); padding: 56px 0 28px; }
.rs-footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 24px; padding-bottom: 28px; border-bottom: 1px solid var(--rs-border);
}
.rs-footer-brand { display: flex; flex-direction: column; gap: 4px; }
.rs-footer-brand strong { color: #fff; font-size: 18px; letter-spacing: 0.02em; }
.rs-footer-brand span { color: var(--rs-text-muted); font-size: 13.5px; }
.rs-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.rs-footer-links a { color: var(--rs-text-muted); font-size: 14px; text-decoration: none; }
.rs-footer-links a:hover { color: var(--rs-accent); }
.rs-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  padding-top: 22px; color: var(--rs-text-dim); font-size: 13px;
}
.rs-footer-social { display: flex; gap: 10px; }
.rs-footer-social a {
  display: flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border: 1px solid var(--rs-border); border-radius: 50%; color: var(--rs-text-muted);
  transition: color .15s ease, border-color .15s ease;
}
.rs-footer-social a:hover { color: var(--rs-accent); border-color: var(--rs-accent); }

/* ---------- WhatsApp flutuante ---------- */
.rs-float-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  width: 58px; height: 58px; border-radius: 50%; background: var(--rs-whatsapp);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  text-decoration: none;
}
.rs-float-whatsapp svg { width: 28px; height: 28px; }

/*
 * Fase 7B — no celular (≤768px) o botão fixo sobrepunha controles que caem nesse
 * canto na posição inicial de rolagem (ex.: o campo "Tipo de cliente" em
 * /orcamento/, o botão secundário do hero da Home e das páginas de serviço).
 * Correção: menor, com área segura (notch/gesto), e só aparece depois que a
 * página rola além da altura típica do cabeçalho/hero — momento em que não há
 * mais nenhum controle nesse canto e o WhatsApp deixa de ser redundante com o
 * CTA que já existe no hero. Nunca é removido: reaparece ao rolar de volta
 * para baixo do limiar e continua sempre visível em telas maiores.
 */
@media (max-width: 768px) {
  .rs-float-whatsapp {
    width: 50px; height: 50px;
    right: max(14px, env(safe-area-inset-right, 0px) + 14px);
    bottom: max(14px, env(safe-area-inset-bottom, 0px) + 14px);
    transition: opacity .18s ease, transform .18s ease;
  }
  .rs-float-whatsapp svg { width: 24px; height: 24px; }
  .rs-js .rs-float-whatsapp:not(.rs-wa-visible) {
    opacity: 0; transform: translateY(10px) scale(.85); pointer-events: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rs-float-whatsapp { transition: none; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */

.rs-breadcrumb { font-size: 13px; color: var(--rs-text-dim); margin-bottom: 20px; }
.rs-breadcrumb a { color: var(--rs-text-dim); text-decoration: none; }
.rs-breadcrumb a:hover { color: var(--rs-accent); }
.rs-breadcrumb span[aria-current] { color: var(--rs-text-muted); }

.rs-blog-hero { padding: 100px 0 60px; border-bottom: 1px solid var(--rs-border); }
.rs-blog-hero h1 { max-width: 780px; }
.rs-blog-hero .rs-lead { max-width: 640px; }

.rs-blog-search { display: flex; gap: 10px; max-width: 480px; margin: 32px 0 0; }
.rs-blog-search input { flex: 1; background: var(--rs-bg-card); border: 1px solid var(--rs-border); color: var(--rs-text); padding: 13px 16px; border-radius: var(--rs-radius); font-size: 14.5px; }
.rs-blog-search input:focus { border-color: var(--rs-accent); }
.rs-blog-search input:focus-visible { outline: 2px solid var(--rs-accent); outline-offset: 2px; }

.rs-cat-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; }
.rs-cat-filter {
  border: 1px solid var(--rs-border); color: var(--rs-text-muted); font-size: 13.5px;
  padding: 9px 16px; border-radius: 999px; text-decoration: none; transition: all .15s ease;
}
.rs-cat-filter:hover { border-color: var(--rs-accent); color: var(--rs-accent); }
.rs-cat-filter.is-active { background: var(--rs-accent); color: #05131f; border-color: var(--rs-accent); font-weight: 600; }

.rs-featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; margin-top: 40px; }
.rs-featured-post .rs-frame img { aspect-ratio: 16/10; }
.rs-featured-post h2 { font-size: clamp(24px, 3vw, 32px); }

.rs-post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; }

.rs-post-card {
  display: flex; flex-direction: column; border: 1px solid var(--rs-border); border-radius: var(--rs-radius);
  background: var(--rs-bg-card); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.rs-post-card:hover { transform: translateY(-4px); border-color: var(--rs-accent); box-shadow: 0 14px 32px rgba(0,0,0,0.35); }
.rs-post-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.rs-post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.rs-post-card:hover .rs-post-card-img img { transform: scale(1.05); }
.rs-post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.rs-post-card-cat { font-family: var(--rs-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rs-accent-2); }
.rs-post-card h3 { font-size: 18px; margin: 0; line-height: 1.35; }
.rs-post-card-excerpt { color: var(--rs-text-muted); font-size: 14px; margin: 0; flex: 1; }
.rs-post-card-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--rs-text-dim); margin-top: 4px; }
.rs-post-card-cta { font-size: 13.5px; color: var(--rs-accent); font-weight: 600; margin-top: 4px; }

.rs-empty-state { text-align: center; padding: 60px 0; color: var(--rs-text-muted); }

/* ---------- Artigo individual ---------- */
.rs-article-header { padding: 100px 0 0; }
.rs-article-header h1 { max-width: 820px; }
.rs-article-meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--rs-text-dim); font-size: 13.5px; margin: 20px 0 32px; }
.rs-article-meta strong { color: var(--rs-text-muted); }
.rs-article-cover { margin: 0 0 48px; }
.rs-article-cover .rs-frame img { aspect-ratio: 16/9; }

.rs-article-body { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; }
.rs-article-toc { align-self: start; position: sticky; top: 96px; border: 1px solid var(--rs-border); border-radius: var(--rs-radius); padding: 20px; background: var(--rs-bg-card); }
.rs-article-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--rs-text-dim); margin-bottom: 12px; }
.rs-article-toc ol { margin: 0; padding-left: 18px; }
.rs-article-toc li { margin-bottom: 8px; }
.rs-article-toc a { color: var(--rs-text-muted); text-decoration: none; font-size: 13.5px; line-height: 1.4; }
.rs-article-toc a:hover { color: var(--rs-accent); }

.rs-prose { color: var(--rs-text-muted); font-size: 17px; line-height: 1.75; }
.rs-prose p { margin: 0 0 22px; }
.rs-prose h2 { color: #fff; font-size: 26px; margin: 48px 0 18px; scroll-margin-top: 96px; }
.rs-prose h3 { color: #fff; font-size: 20px; margin: 32px 0 14px; }
.rs-prose ul, .rs-prose ol { margin: 0 0 22px; padding-left: 22px; }
.rs-prose li { margin-bottom: 10px; }
.rs-prose strong { color: var(--rs-text); }
.rs-prose img { border: 1px solid var(--rs-border); border-radius: var(--rs-radius); margin: 8px 0 28px; }
.rs-prose a { color: var(--rs-accent); }
.rs-prose blockquote { border-left: 3px solid var(--rs-accent); padding: 4px 0 4px 20px; margin: 0 0 22px; color: var(--rs-text); font-style: italic; }

.rs-share { display: flex; align-items: center; gap: 14px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--rs-border); }
.rs-share span { font-size: 13px; color: var(--rs-text-dim); }
.rs-share a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--rs-border); border-radius: 50%; color: var(--rs-text-muted); text-decoration: none; font-size: 13px; }
.rs-share a:hover { border-color: var(--rs-accent); color: var(--rs-accent); }

.rs-author-box {
  display: flex; gap: 18px; align-items: flex-start; margin: 48px 0; padding: 24px;
  border: 1px solid var(--rs-border); border-radius: var(--rs-radius); background: var(--rs-bg-card);
}
.rs-author-box img { width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; }
.rs-author-box h3 { margin: 0 0 6px; font-size: 15px; }
.rs-author-box p { margin: 0; color: var(--rs-text-muted); font-size: 14px; }

.rs-related { margin-top: 8px; }
.rs-related h2 { font-size: 22px; margin-bottom: 24px; }

/* ---------- Responsivo ---------- */
@media (min-width: 640px) {
  .rs-header-phone { display: block; }
}
@media (min-width: 900px) {
  .rs-header-nav { display: inline-block; }
}

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .rs-situations { grid-template-columns: 1fr; }
  .rs-process { grid-template-columns: 1fr; }
  .rs-split, .rs-product-grid, .rs-experiencia { grid-template-columns: 1fr; gap: 32px; }
  .rs-split.rs-split-rev .rs-split-media { order: 0; }
  .rs-grid-3, .rs-grid-2 { grid-template-columns: 1fr; }
  .rs-loc-google-grid { grid-template-columns: 1fr; gap: 20px; }
  .rs-form { grid-template-columns: 1fr; }
  .rs-hero { padding: 90px 0 64px; }
  .rs-flow { flex-direction: column; }
  .rs-flow-arrow { transform: rotate(90deg); }
  .rs-404-hero { padding: 90px 0; }
  .rs-footer-top { flex-direction: column; align-items: flex-start; }
  .rs-footer-bottom { flex-direction: column; gap: 6px; }
  .rs-featured-post { grid-template-columns: 1fr; gap: 24px; }
  .rs-post-grid { grid-template-columns: 1fr; }
  .rs-article-body { grid-template-columns: 1fr; }
  .rs-article-toc { position: static; }
  .rs-article-header { padding-top: 72px; }
}

@media (min-width: 640px) and (max-width: 1024px) {
  .rs-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .rs-wrap { padding: 0 18px; }
  .rs-hero-actions .rs-btn, .rs-cta-final .rs-btn, .rs-actions .rs-btn { width: 100%; }
  .rs-google-card { padding: 24px; max-width: 100%; }
  .rs-author-box { flex-direction: column; }
}
