/**
 * Responsivo Site - Design System Swiss Noir Architectural
 * Opção 2: Alta Precisão, Bordas 4px, Laranja Internacional e Font Awesome 6
 * CSS 100% Puro, Responsivo e Otimizado para Performance (Core Web Vitals 95+)
 */

/* ==========================================================================
   RESET & VARIÁVEIS GLOBAIS (SWISS NOIR ARCHITECTURAL)
   ========================================================================== */
:root {
  --rs-bg-page: #0A0A0A;
  --rs-bg-surface: #121212;
  --rs-bg-surface-elevated: #181818;
  --rs-border: #242424;
  --rs-border-hover: #FF5500;
  --rs-accent: #FF5500;
  --rs-accent-hover: #FF6E26;
  --rs-accent-subtle: rgba(255, 85, 0, 0.1);
  --rs-accent-border: rgba(255, 85, 0, 0.3);
  --rs-text-primary: #FAFAFA;
  --rs-text-secondary: #A1A1AA;
  --rs-text-muted: #71717A;
  --rs-btn-text: #FFFFFF;
  --rs-radius: 4px;
  --rs-radius-sm: 3px;
  --rs-font-heading: 'Space Grotesk', sans-serif;
  --rs-font-body: 'Inter', 'Plus Jakarta Sans', sans-serif;
  --rs-shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body.rs-dark-obsidian {
  font-family: var(--rs-font-body);
  font-size: var(--rs-fs-body, 16px);
  background-color: var(--rs-bg-page);
  color: var(--rs-text-secondary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* ==========================================================================
   TIPOGRAFIA & HELPERS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--rs-font-heading);
  color: var(--rs-text-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.6px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rs-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Compatibilidade retroativa para textos destacados salvos com .rs-gradient-text */
.rs-gradient-text {
  color: var(--rs-accent);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--rs-accent);
  font-weight: 700;
}

.rs-w-100 {
  width: 100%;
}

/* ==========================================================================
   BOTÕES E COMPONENTES (BORDAS 4PX DE ALTA PRECISÃO)
   ========================================================================== */
.rs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: var(--rs-radius);
  padding: 12px 24px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.rs-btn-primary {
  background: var(--rs-accent);
  color: var(--rs-btn-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.rs-btn-primary:hover {
  background: var(--rs-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  color: var(--rs-btn-text);
}

.rs-btn-secondary {
  background: #141414;
  color: var(--rs-text-primary);
  border: 1px solid var(--rs-border);
}

.rs-btn-secondary:hover {
  border-color: var(--rs-accent);
  background: #1C1C1C;
  color: var(--rs-accent);
  transform: translateY(-1px);
}

.rs-btn-header {
  background: var(--rs-accent);
  color: var(--rs-btn-text);
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--rs-radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.rs-btn-header:hover {
  background: var(--rs-accent-hover);
  transform: translateY(-1px);
  color: var(--rs-btn-text);
}

.rs-btn-hero {
  padding: 14px 28px;
  font-size: 15.5px;
  border-radius: var(--rs-radius);
}

/* ==========================================================================
   CABEÇALHO & NAVEGAÇÃO
   ========================================================================== */
.rs-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rs-border);
  transition: all 0.25s ease;
}

.rs-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.rs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.rs-logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  border: 1px solid #282828;
  padding: 5px 9px;
  border-radius: var(--rs-radius);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.rs-letter-r { color: #FFFFFF; }
.rs-letter-s { color: var(--rs-accent); margin-left: 2px; }

.rs-brand-text {
  font-family: var(--rs-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--rs-text-primary);
  letter-spacing: -0.5px;
}

.rs-brand-text span {
  color: var(--rs-accent);
}

.rs-main-nav {
  display: flex;
  align-items: center;
}

.rs-nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.rs-nav-list a {
  color: var(--rs-text-secondary);
  font-size: var(--rs-fs-nav, 14px);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.rs-nav-list a:hover {
  color: var(--rs-accent);
}

.rs-header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-menu-toggle {
  display: none;
  background: #141414;
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 8px;
  transition: all 0.2s ease;
}

.rs-menu-toggle:hover {
  background: #1C1C1C;
  border-color: var(--rs-accent);
}

.rs-menu-toggle span {
  width: 18px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 1px;
  transition: all 0.25s ease;
  display: block;
}

/* Menu Mobile Drawer */
.rs-mobile-drawer {
  display: none;
  background: #101010;
  border-bottom: 1px solid var(--rs-border);
  padding: 20px 24px;
  width: 100%;
  box-sizing: border-box;
}

.rs-mobile-drawer.rs-open {
  display: block;
  animation: rsSlideDown 0.2s ease-out;
}

@keyframes rsSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.rs-mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rs-mobile-nav-list a,
.rs-mobile-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #1C1C1C;
}

.rs-mobile-nav-list a:hover,
.rs-mobile-link:hover {
  color: var(--rs-accent);
  padding-left: 6px;
}

.rs-mobile-cta-item {
  margin-top: 10px;
  padding-top: 8px;
}


/* ==========================================================================
   HERO SECTION: SEM CARA DE IA (ZERO GLOW DIFUSO / BORDAS 4PX)
   ========================================================================== */
.rs-hero-section {
  position: relative;
  padding: 85px 0 55px;
  text-align: center;
  border-bottom: 1px solid var(--rs-border);
  width: 100%;
}

/* Elimina o borrão artificial de neon gerado por prompts de IA */
.rs-ambient-glow {
  display: none;
}

.rs-hero-container {
  position: relative;
  z-index: 1;
}

/* Badge Retangular Técnico (Substitui o formato pílula 30px infantil) */
.rs-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--rs-radius);
  background: var(--rs-accent-subtle);
  color: var(--rs-accent);
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid var(--rs-accent-border);
  margin-bottom: 24px;
  max-width: 92%;
  white-space: normal;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.rs-hero-badge i {
  font-size: 12px;
}

.rs-hero-title {
  font-size: var(--rs-fs-hero, clamp(32px, 4.8vw, 54px));
  max-width: 940px;
  margin: 0 auto 20px;
  line-height: 1.15;
  color: var(--rs-text-primary);
  letter-spacing: -1.2px;
}

.rs-hero-subtitle {
  font-size: clamp(15.5px, 1.8vw, 18px);
  color: var(--rs-text-secondary);
  max-width: 700px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.6;
}

.rs-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MÉTRICAS & TRUST SECTION (FONT AWESOME VETORIAL)
   ========================================================================== */
.rs-trust-section {
  padding: 35px 0 55px;
  border-bottom: 1px solid var(--rs-border);
}

.rs-trust-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.rs-metric-pill {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
  box-shadow: var(--rs-shadow-card);
}

.rs-metric-pill:hover {
  border-color: var(--rs-accent);
  transform: translateY(-2px);
  background: var(--rs-bg-surface-elevated);
}

.rs-metric-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--rs-radius);
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.rs-metric-info strong {
  display: block;
  font-family: var(--rs-font-heading);
  font-size: var(--rs-fs-metric-title, 15px);
  color: var(--rs-text-primary);
  margin-bottom: 2px;
}

.rs-metric-info span {
  display: block;
  font-size: var(--rs-fs-metric-desc, 13px);
  color: var(--rs-text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   SEÇÕES GERAIS E CABEÇALHOS
   ========================================================================== */
.rs-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

.rs-section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--rs-accent);
  margin-bottom: 8px;
}

.rs-section-title {
  font-size: var(--rs-fs-h2, clamp(26px, 3.2vw, 38px));
  margin-bottom: 12px;
  color: var(--rs-text-primary);
  letter-spacing: -0.6px;
}

.rs-section-subtitle {
  font-size: 15.5px;
  color: var(--rs-text-secondary);
}

/* ==========================================================================
   SERVIÇOS / CARDS DE PLANOS (SWISS NOIR & BORDAS 4PX)
   ========================================================================== */
.rs-services-section {
  padding: 70px 0 90px;
  border-bottom: 1px solid var(--rs-border);
}

.rs-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}

.rs-service-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--rs-shadow-card);
}

.rs-service-card:hover {
  border-color: var(--rs-accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  background: var(--rs-bg-surface-elevated);
}

.rs-service-card.rs-featured {
  border: 1px solid var(--rs-accent);
  background: #141414;
}

.rs-card-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--rs-accent);
  color: var(--rs-btn-text);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: var(--rs-radius-sm);
}

.rs-card-badge i {
  margin-right: 3px;
  font-size: 10px;
}

.rs-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--rs-radius);
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
}

.rs-card-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--rs-text-primary);
}

.rs-card-desc {
  font-size: 14px;
  color: var(--rs-text-secondary);
  margin-bottom: 22px;
  line-height: 1.6;
}

.rs-card-features {
  list-style: none;
  margin-bottom: 28px;
}

.rs-card-features li {
  font-size: 13.5px;
  color: var(--rs-text-secondary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-card-features li::before {
  content: "✓";
  color: var(--rs-accent);
  font-weight: 800;
}

.rs-btn-card {
  width: 100%;
  background: #181818;
  color: var(--rs-text-primary);
  border: 1px solid #282828;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--rs-radius);
}

.rs-service-card.rs-featured .rs-btn-card {
  background: var(--rs-accent);
  color: var(--rs-btn-text);
  border-color: var(--rs-accent);
}

.rs-btn-card:hover {
  background: var(--rs-accent-hover);
  color: var(--rs-btn-text);
  border-color: var(--rs-accent-hover);
}

/* ==========================================================================
   ETAPAS DE PROCESSO (METODOLOGIA ÁGIL)
   ========================================================================== */
.rs-process-section {
  padding: 70px 0 90px;
  background: #0E0E0E;
  border-top: 1px solid #1A1A1A;
  border-bottom: 1px solid #1A1A1A;
}

.rs-process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.rs-process-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 26px 22px;
  position: relative;
  transition: all 0.2s ease;
}

.rs-process-card:hover {
  border-color: var(--rs-accent);
  transform: translateY(-2px);
  background: var(--rs-bg-surface-elevated);
}

.rs-step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--rs-font-heading);
  font-size: 24px;
  font-weight: 800;
  color: #333333;
  user-select: none;
}

.rs-step-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--rs-radius);
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 16px;
}

.rs-step-title {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--rs-text-primary);
}

.rs-step-desc {
  font-size: 13.5px;
  color: var(--rs-text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   DIFERENCIAIS / SERVIÇOS COMPLEMENTARES
   ========================================================================== */
.rs-diff-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--rs-border);
}

.rs-diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.rs-diff-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 26px;
  transition: all 0.2s ease;
}

.rs-diff-card:hover {
  background: var(--rs-bg-surface-elevated);
  border-color: var(--rs-accent);
  transform: translateY(-2px);
}

.rs-diff-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--rs-radius);
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.rs-diff-title {
  font-size: 17.5px;
  margin-bottom: 8px;
  color: var(--rs-text-primary);
}

.rs-diff-desc {
  font-size: 13.5px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.rs-faq-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--rs-border);
}

.rs-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rs-faq-item {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.rs-faq-item.rs-active {
  border-color: var(--rs-accent);
}

.rs-faq-question {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: var(--rs-text-primary);
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.rs-faq-chevron {
  font-size: 18px;
  color: var(--rs-accent);
  font-weight: 800;
  line-height: 1;
}

.rs-faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--rs-text-secondary);
  line-height: 1.65;
}

.rs-faq-answer strong {
  color: var(--rs-text-primary);
}

/* ==========================================================================
   BANNER FINAL CTA
   ========================================================================== */
.rs-cta-banner-section {
  padding: 60px 0 90px;
}

.rs-cta-box {
  background: #121212;
  border: 1px solid #282828;
  border-radius: var(--rs-radius);
  padding: 55px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Sem blur difuso de IA */
.rs-cta-glow {
  display: none;
}

.rs-cta-content {
  position: relative;
  z-index: 1;
  max-width: 740px;
  margin: 0 auto;
}

.rs-badge-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  border-radius: var(--rs-radius-sm);
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.rs-cta-title {
  font-size: clamp(26px, 3.8vw, 38px);
  margin-bottom: 14px;
  color: var(--rs-text-primary);
  letter-spacing: -0.6px;
}

.rs-cta-desc {
  font-size: 16px;
  color: var(--rs-text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.rs-btn-cta-lg {
  padding: 14px 32px;
  font-size: 15.5px;
  border-radius: var(--rs-radius);
}

.rs-cta-trust-tags {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--rs-text-muted);
  font-weight: 500;
}

.rs-cta-trust-tags span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rs-cta-trust-tags span i {
  color: var(--rs-accent);
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.rs-footer {
  background: #080808;
  border-top: 1px solid #1A1A1A;
  padding: 65px 0 30px;
}

.rs-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}

.rs-footer-bio {
  font-size: 13.5px;
  color: var(--rs-text-secondary);
  margin: 16px 0;
  max-width: 340px;
  line-height: 1.6;
}

.rs-footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rs-tech-pill {
  font-size: 11px;
  font-weight: 600;
  background: #111111;
  color: var(--rs-text-secondary);
  padding: 3px 8px;
  border-radius: var(--rs-radius-sm);
  border: 1px solid #222222;
}

.rs-footer-title {
  font-size: 15px;
  color: var(--rs-text-primary);
  margin-bottom: 16px;
}

.rs-footer-links, .rs-footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rs-footer-links a, .rs-footer-contact a, .rs-footer-contact span {
  font-size: 13.5px;
  color: var(--rs-text-secondary);
}

.rs-footer-links a:hover, .rs-footer-contact a:hover {
  color: var(--rs-accent);
}

.rs-footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-contact-icon {
  color: var(--rs-accent);
  font-size: 14px;
}

.rs-footer-bottom {
  border-top: 1px solid #161616;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--rs-text-muted);
}

/* ==========================================================================
   BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.rs-floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 13.5px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: all 0.25s ease;
}

.rs-floating-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
  color: #FFFFFF;
}

.rs-wa-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: rsPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes rsPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES) & BLINDAGEM CONTRA OVERFLOW LATERAL
   ========================================================================== */
section, header, footer, main {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow-x: clip;
}

@media (max-width: 992px) {
  .rs-main-nav { display: none; }
  .rs-menu-toggle { display: flex; }
  .rs-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rs-hero-section {
    padding: 60px 0 40px;
  }

  .rs-cards-grid, .rs-diff-grid, .rs-process-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .rs-container {
    padding: 0 16px;
  }

  .rs-header-inner {
    padding: 12px 16px;
    gap: 8px;
  }

  .rs-brand {
    gap: 8px;
    min-width: 0;
    flex-shrink: 1;
  }

  .rs-brand-text {
    font-size: 16px;
    white-space: nowrap;
  }

  .rs-logo-badge {
    padding: 3px 7px;
    font-size: 16px;
    border-radius: var(--rs-radius);
  }

  .rs-btn-header span {
    display: none;
  }

  .rs-btn-header {
    padding: 0;
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: var(--rs-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .rs-btn-header i {
    font-size: 16px;
    margin: 0;
  }

  .rs-header-cta-wrap {
    gap: 8px;
    flex-shrink: 0;
  }

  .rs-hero-title {
    font-size: clamp(26px, 6.8vw, 36px);
    line-height: 1.25;
    margin-bottom: 16px;
  }

  .rs-hero-subtitle {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .rs-hero-badge {
    font-size: 12px;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .rs-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .rs-btn-hero {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
  }

  .rs-section-title {
    font-size: 24px;
  }

  .rs-service-card {
    padding: 26px 20px;
  }

  .rs-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .rs-floating-whatsapp .rs-wa-label {
    display: none;
  }

  .rs-floating-whatsapp {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--rs-radius);
    bottom: 20px;
    right: 20px;
  }

  .rs-floating-whatsapp .rs-wa-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .rs-floating-whatsapp .rs-wa-icon i {
    font-size: 20px;
    margin: 0;
  }

  .rs-floating-whatsapp .rs-wa-pulse {
    border-radius: var(--rs-radius);
  }

  .rs-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .rs-brand-text {
    font-size: 14px;
  }
  .rs-logo-badge {
    font-size: 14px;
    padding: 2px 6px;
  }
}

/* ==========================================================================
   PÁGINA 404 (CONVERSÃO & RESGATE EM SWISS NOIR)
   ========================================================================== */
.rs-404-section {
  position: relative;
  padding: 110px 0 85px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--rs-border);
}

.rs-404-container {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rs-404-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rs-accent-subtle);
  border: 1px solid var(--rs-accent-border);
  color: var(--rs-accent);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--rs-radius);
  margin-bottom: 24px;
}

.rs-404-big-number {
  font-family: var(--rs-font-heading);
  font-size: clamp(80px, 14vw, 150px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  color: var(--rs-text-primary);
  margin-bottom: 16px;
  user-select: none;
}

.rs-404-title {
  font-size: clamp(24px, 4vw, 36px);
  color: var(--rs-text-primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.rs-404-desc {
  font-size: 16px;
  color: var(--rs-text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.rs-404-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

.rs-404-shortcuts {
  width: 100%;
  border-top: 1px solid var(--rs-border);
  padding-top: 36px;
}

.rs-404-shortcuts-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--rs-text-muted);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.rs-404-shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  text-align: left;
}

.rs-404-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rs-404-card:hover {
  background: var(--rs-bg-surface-elevated);
  border-color: var(--rs-accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rs-404-card-icon {
  font-size: 20px;
  color: var(--rs-accent);
  flex-shrink: 0;
}

.rs-404-card-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
}

.rs-404-card-info strong {
  font-size: 14px;
  color: var(--rs-text-primary);
}

.rs-404-card-info span {
  font-size: 12px;
  color: var(--rs-text-muted);
  line-height: 1.4;
}

.rs-404-card-arrow {
  color: var(--rs-accent);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.rs-404-card:hover .rs-404-card-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .rs-404-shortcuts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NAVEGAÇÃO LATERAL MICRO-RAIL DESKTOP (OPÇÃO C - SUTIL & NÃO-INVASIVA)
   ========================================================================== */
.rs-micro-rail {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.rs-micro-rail-inner {
  background: rgba(14, 14, 14, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.rs-rail-item {
  position: relative;
}

.rs-rail-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rs-radius-sm, 3px);
  color: var(--rs-text-muted);
  font-size: 14px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.rs-rail-link:hover {
  background: var(--rs-bg-surface-elevated);
  color: var(--rs-text-primary);
  border-color: #333333;
}

.rs-rail-item.active .rs-rail-link {
  background: var(--rs-accent-subtle);
  color: var(--rs-accent);
  border-color: var(--rs-accent-border);
  box-shadow: 0 0 10px rgba(255, 85, 0, 0.25);
}

/* Tooltip flutuante sutil ao passar o cursor */
.rs-rail-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: #141414;
  border: 1px solid #333333;
  color: #FAFAFA;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: var(--rs-radius);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.rs-rail-tooltip::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-right-color: #333333;
}

.rs-rail-item:hover .rs-rail-tooltip {
  opacity: 1;
  visibility: visible;
  left: calc(100% + 14px);
}

/* Ocultar em telas menores que 1024px para manter o mobile 100% limpo */
@media (max-width: 1023px) {
  .rs-micro-rail {
    display: none !important;
  }
}

/* ==========================================================================
   SEÇÃO EDITORIAL / DIAGNÓSTICOS TÉCNICOS & BLOG (SWISS NOIR ARCHITECTURAL)
   ========================================================================== */

/* Container de Leitura Otimizado (máx 840px para conforto visual de linha) */
.rs-article-container {
  max-width: 840px;
  margin: 0 auto;
}

.rs-archive-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* CABEÇALHO DO ARTIGO */
.rs-article-header-section {
  padding: 60px 0 36px;
  border-bottom: 1px solid var(--rs-border);
  margin-bottom: 40px;
  background: radial-gradient(circle at top center, rgba(255, 85, 0, 0.05) 0%, transparent 60%);
}

.rs-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--rs-text-muted);
  margin-bottom: 20px;
}

.rs-breadcrumbs a {
  color: var(--rs-text-secondary);
}

.rs-breadcrumbs a:hover {
  color: var(--rs-accent);
}

.rs-breadcrumb-sep {
  color: #383838;
}

.rs-breadcrumb-current {
  color: var(--rs-text-primary);
  font-weight: 500;
}

.rs-article-badge-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.rs-pill-accent {
  background: var(--rs-accent-subtle) !important;
  color: var(--rs-accent) !important;
  border-color: var(--rs-accent-border) !important;
  font-weight: 600;
}

.rs-article-title {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.15;
  color: var(--rs-text-primary);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.rs-article-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid #1A1A1A;
}

.rs-article-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rs-author-avatar-badge {
  width: 40px;
  height: 40px;
  background: #181818;
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--rs-accent);
  font-size: 14px;
  letter-spacing: -0.5px;
}

.rs-author-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--rs-text-primary);
}

.rs-author-role {
  display: block;
  font-size: 12px;
  color: var(--rs-text-muted);
}

.rs-article-date-meta {
  font-size: 13px;
  color: var(--rs-text-muted);
}

.rs-article-featured-image {
  margin-bottom: 36px;
  border-radius: var(--rs-radius);
  overflow: hidden;
  border: 1px solid var(--rs-border);
}

.rs-featured-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* BOX DE TRIAGEM / ALERTA DE SEGURANÇA TÉCNICA */
.rs-triage-card {
  display: flex;
  gap: 20px;
  background: #14110E;
  border: 1px solid rgba(255, 85, 0, 0.35);
  border-left: 4px solid var(--rs-accent);
  border-radius: var(--rs-radius);
  padding: 24px;
  margin-bottom: 40px;
}

.rs-triage-icon {
  font-size: 24px;
  color: var(--rs-accent);
  flex-shrink: 0;
  padding-top: 2px;
}

.rs-triage-body {
  flex: 1;
}

.rs-triage-header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.rs-triage-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rs-accent);
}

.rs-triage-severity {
  font-size: 11px;
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 600;
}

.rs-triage-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--rs-text-primary);
  margin-bottom: 8px;
}

.rs-triage-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--rs-text-secondary);
  margin-bottom: 14px;
}

.rs-triage-cta-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--rs-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rs-triage-cta-link a:hover {
  color: var(--rs-accent-hover);
}

/* CORPO DO ARTIGO / TIPOGRAFIA EDITORIAL */
.rs-rich-text {
  font-size: 17px;
  line-height: 1.85;
  color: #D4D4D8;
}

.rs-rich-text p {
  margin-bottom: 24px;
}

.rs-rich-text h2 {
  font-size: clamp(22px, 3vw, 28px);
  color: var(--rs-text-primary);
  margin: 48px 0 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid #202020;
  letter-spacing: -0.02em;
}

.rs-rich-text h3 {
  font-size: clamp(19px, 2.5vw, 22px);
  color: var(--rs-text-primary);
  margin: 36px 0 14px;
  letter-spacing: -0.01em;
}

.rs-rich-text strong {
  color: #FFFFFF;
  font-weight: 600;
}

.rs-rich-text a {
  color: var(--rs-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rs-rich-text a:hover {
  color: var(--rs-accent-hover);
}

.rs-rich-text ul, 
.rs-rich-text ol {
  padding-left: 24px;
  margin-bottom: 28px;
}

.rs-rich-text li {
  margin-bottom: 10px;
}

.rs-rich-text blockquote {
  background: var(--rs-bg-surface);
  border-left: 3px solid var(--rs-accent);
  padding: 20px 26px;
  margin: 32px 0;
  border-radius: 0 var(--rs-radius) var(--rs-radius) 0;
  color: #E4E4E7;
  font-style: italic;
}

.rs-rich-text code:not(pre code) {
  background: #181818;
  border: 1px solid #2B2B2B;
  color: #FF8533;
  padding: 2px 7px;
  font-size: 0.9em;
  border-radius: var(--rs-radius-sm);
  font-family: monospace;
}

.rs-rich-text pre {
  background: #101010;
  border: 1px solid var(--rs-border);
  padding: 20px;
  border-radius: var(--rs-radius);
  overflow-x: auto;
  margin: 28px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #F4F4F5;
}

/* BANNER DE CONVERSÃO EMERGENCIAL (CALL TO ACTION FINAL DO ARTIGO) */
.rs-article-cta-box {
  background: linear-gradient(180deg, #16120E 0%, #111111 100%);
  border: 1px solid rgba(255, 85, 0, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 85, 0, 0.08);
  border-radius: var(--rs-radius);
  padding: 44px 36px;
  margin: 56px 0 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rs-cta-box-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 85, 0, 0.12);
  border: 1px solid rgba(255, 85, 0, 0.3);
  color: var(--rs-accent);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}

.rs-live-dot {
  width: 8px;
  height: 8px;
  background-color: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 8px #22C55E;
}

.rs-cta-box-title {
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--rs-text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}

.rs-cta-box-desc {
  font-size: 16px;
  color: var(--rs-text-secondary);
  max-width: 660px;
  margin: 0 auto 28px;
  line-height: 1.65;
}

.rs-cta-box-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid #202020;
}

.rs-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--rs-text-primary);
  font-weight: 500;
}

.rs-perk-item i {
  color: var(--rs-accent);
}

.rs-cta-box-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.rs-btn-lg {
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--rs-radius);
}

.rs-cta-subtext {
  font-size: 12px;
  color: var(--rs-text-muted);
}

/* NAVEGAÇÃO ENTRE ARTIGOS */
.rs-article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--rs-border);
  border-bottom: 1px solid var(--rs-border);
  margin-bottom: 56px;
}

.rs-nav-link {
  display: block;
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  padding: 20px;
  border-radius: var(--rs-radius);
  transition: all 0.2s ease;
}

.rs-nav-link:hover {
  border-color: var(--rs-accent);
  background: var(--rs-bg-surface-elevated);
}

.rs-nav-link-next {
  text-align: right;
}

.rs-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rs-text-muted);
  margin-bottom: 6px;
}

.rs-nav-title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--rs-text-primary);
  line-height: 1.4;
}

/* OUTROS DIAGNÓSTICOS RECOMENDADOS */
.rs-related-section {
  margin-bottom: 80px;
}

.rs-related-heading {
  font-size: 20px;
  color: var(--rs-text-primary);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-related-heading i {
  color: var(--rs-accent);
}

.rs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.rs-related-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  padding: 22px;
  border-radius: var(--rs-radius);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.rs-related-card:hover {
  border-color: var(--rs-accent);
  transform: translateY(-2px);
}

.rs-related-badge {
  font-size: 11px;
  color: var(--rs-accent);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rs-related-title {
  font-size: 16px;
  line-height: 1.35;
  margin-bottom: 10px;
  font-weight: 600;
}

.rs-related-title a {
  color: var(--rs-text-primary);
}

.rs-related-title a:hover {
  color: var(--rs-accent);
}

.rs-related-excerpt {
  font-size: 13px;
  color: var(--rs-text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex: 1;
}

.rs-related-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--rs-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   LISTAGEM DO BLOG & ARQUIVO (archive.php / home.php)
   ========================================================================== */

.rs-archive-header {
  padding: 70px 0 44px;
  background: radial-gradient(circle at top center, rgba(255, 85, 0, 0.05) 0%, transparent 60%);
  border-bottom: 1px solid var(--rs-border);
  margin-bottom: 48px;
  text-align: center;
}

.rs-archive-title {
  font-size: clamp(30px, 4.5vw, 44px);
  color: var(--rs-text-primary);
  margin: 16px 0 12px;
  letter-spacing: -0.02em;
}

.rs-archive-desc {
  font-size: 16px;
  color: var(--rs-text-secondary);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

.rs-archive-body {
  padding-bottom: 80px;
}

.rs-blog-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto 50px;
}

.rs-blog-card {
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.rs-blog-card:hover {
  border-color: var(--rs-accent);
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}

.rs-card-thumb-link {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 200px;
  background: #181818;
}

.rs-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
}

.rs-blog-card:hover .rs-card-thumb {
  transform: scale(1.04);
}

.rs-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.rs-card-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 12px;
}

.rs-card-cat {
  color: var(--rs-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rs-card-reading {
  color: var(--rs-text-muted);
}

.rs-card-title {
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 12px;
  font-weight: 700;
}

.rs-card-title a {
  color: var(--rs-text-primary);
}

.rs-card-title a:hover {
  color: var(--rs-accent);
}

.rs-card-excerpt {
  font-size: 14px;
  color: var(--rs-text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.rs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #1C1C1C;
  font-size: 13px;
}

.rs-card-date {
  color: var(--rs-text-muted);
}

.rs-card-btn {
  color: var(--rs-accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rs-card-btn:hover {
  gap: 9px;
  color: var(--rs-accent-hover);
}

/* PAGINAÇÃO */
.rs-pagination-wrap {
  margin: 40px 0 60px;
  text-align: center;
}

.rs-pagination-wrap .nav-links {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.rs-pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--rs-bg-surface);
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  color: var(--rs-text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.rs-pagination-wrap .page-numbers:hover {
  border-color: var(--rs-accent);
  color: var(--rs-accent);
}

.rs-pagination-wrap .page-numbers.current {
  background: var(--rs-accent);
  border-color: var(--rs-accent);
  color: #FFFFFF;
}

/* ESTADO VAZIO */
.rs-empty-box {
  background: var(--rs-bg-surface);
  border: 1px dashed var(--rs-border);
  border-radius: var(--rs-radius);
  padding: 60px 24px;
  text-align: center;
  margin-bottom: 40px;
}

.rs-empty-box i {
  font-size: 36px;
  color: var(--rs-text-muted);
  margin-bottom: 16px;
}

.rs-empty-box h3 {
  font-size: 20px;
  color: var(--rs-text-primary);
  margin-bottom: 8px;
}

.rs-empty-box p {
  font-size: 14px;
  color: var(--rs-text-secondary);
  margin-bottom: 24px;
}

/* RODAPÉ DADOS LEGAIS & E-E-A-T (CNPJ & ENDEREÇO) */
.rs-footer-legal {
  padding: 16px 0;
  margin-top: 24px;
  border-top: 1px solid #1C1C1C;
  text-align: center;
  font-size: 13px;
  color: var(--rs-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.rs-legal-sep {
  color: #383838;
}

.rs-legal-item i {
  color: var(--rs-accent);
  margin-right: 4px;
}

/* RESPONSIVIDADE EDITORIAL */
@media (max-width: 768px) {
  .rs-article-header-section {
    padding: 40px 0 24px;
  }

  .rs-triage-card {
    flex-direction: column;
    gap: 14px;
    padding: 18px;
  }

  .rs-article-cta-box {
    padding: 32px 20px;
  }

  .rs-article-nav {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rs-nav-link-next {
    text-align: left;
  }

  .rs-cta-box-perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .rs-blog-grid {
    grid-template-columns: 1fr;
  }

  .rs-card-thumb-link {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}




/* ==========================================================================
   COMPONENTES DE CONVERSÃO EDITORIAL (DIAGNÓSTICOS TÉCNICOS & CHECKLIST IA)
   ========================================================================== */
.rs-quick-diagnostic-box {
  background: #141418;
  border-left: 4px solid var(--rs-accent);
  padding: 24px;
  border-radius: var(--rs-radius);
  margin: 32px 0;
}

.rs-quick-diagnostic-box h3 {
  color: var(--rs-accent) !important;
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: 18px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
}

.rs-emergency-cta {
  background: #121216;
  border: 1px solid var(--rs-border);
  border-left: 4px solid var(--rs-accent);
  border-radius: var(--rs-radius);
  padding: 24px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.rs-emergency-cta p {
  margin: 0 !important;
}

.rs-emergency-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: var(--rs-accent) !important;
  color: #000000 !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 12px 22px !important;
  border-radius: var(--rs-radius) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 12px rgba(255, 85, 0, 0.25) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.rs-emergency-btn:hover {
  background: var(--rs-accent-hover) !important;
  color: #000000 !important;
  text-decoration: none !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(255, 85, 0, 0.4) !important;
}

.rs-rich-text .rs-emergency-btn,
.rs-rich-text .rs-btn {
  text-decoration: none !important;
  border-bottom: none !important;
}

/* ==========================================================================
   GARANTIA DE VISIBILIDADE, COR E CONTRASTE DO BOTÃO CTA DO ARTIGO
   ========================================================================== */
.rs-cta-box-action .rs-btn,
.rs-cta-box-action .rs-btn-primary,
.rs-cta-box-action a.rs-btn {
  background: var(--rs-accent) !important;
  color: #000000 !important;
  fill: #000000 !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
}

.rs-cta-box-action .rs-btn span,
.rs-cta-box-action .rs-btn i {
  color: #000000 !important;
  fill: #000000 !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 16px !important;
}

.rs-cta-box-action .rs-btn i {
  font-size: 20px !important;
}

/* ==========================================================================
   BARRA DE PESQUISA DE ARTIGOS & BUSCA (SWISS NOIR ARCHITECTURAL)
   ========================================================================== */
.rs-search-form {
  max-width: 680px;
  margin: 32px auto 0;
  width: 100%;
}

.rs-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: #141418;
  border: 1px solid var(--rs-border);
  border-radius: var(--rs-radius);
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.rs-search-input-wrap:focus-within {
  border-color: var(--rs-accent);
  box-shadow: 0 0 0 2px rgba(255, 85, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.6);
  background: #18181D;
}

.rs-search-icon {
  position: absolute;
  left: 20px;
  color: var(--rs-accent);
  font-size: 16px;
  pointer-events: none;
}

.rs-search-field {
  width: 100%;
  padding: 16px 120px 16px 52px;
  background: transparent;
  border: none;
  color: #FAFAFA;
  font-family: var(--rs-font-body);
  font-size: 15px;
  outline: none;
}

.rs-search-field::placeholder {
  color: #71717A;
}

.rs-search-submit {
  position: absolute;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rs-accent);
  color: #000000;
  border: none;
  font-family: var(--rs-font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--rs-radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rs-search-submit:hover {
  background: var(--rs-accent-hover);
  transform: translateX(2px);
}

.rs-header-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--rs-radius);
  background: #141418;
  border: 1px solid var(--rs-border);
  color: #A1A1AA;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rs-header-search-btn:hover {
  border-color: var(--rs-accent);
  color: var(--rs-accent);
  background: #18181D;
}

@media (max-width: 640px) {
  .rs-search-field {
    padding: 14px 90px 14px 44px;
    font-size: 14px;
  }
  .rs-search-icon {
    left: 16px;
  }
  .rs-search-submit span {
    display: none;
  }
  .rs-search-submit {
    padding: 10px 14px;
  }
}
