/*
 * ss-rv-product.css  (v=5 — componentes home-nova sitewide)
 *
 * Estilos ricos para páginas internas (produto / hub / geo / institucional /
 * blog-hub / legal). Espelha o dialeto visual do home-nova ("rv-*") e reforça
 * CONTRASTE textual em todas as seções: texto claro em fundos escuros (teal),
 * texto escuro forte em fundos claros/paper.
 *
 * Tokens (referência):
 *   --rv-radius      22px  (cards / feat / hub / page-card / tables)
 *   --rv-ink-nav-deep #001726
 *   --rv-teal-ink    #002730
 *   --rv-teal-soft   #0e3a42
 *   --rv-gold        #ffd002
 *   --rv-lime        #c6e26a
 *   --rv-paper       #f2f5f7
 *   --rv-text-strong #07111f (heading)
 *   --rv-text-body   #152238 (parágrafo em fundo claro)
 *   --rv-text-muted  #3a4558 (secundário, ainda >4.5:1)
 *   --rv-text-lead   rgba(248,250,252,.92)
 *
 * Ordem: hero → seções → cards ricos → cards catálogo → steps → protect →
 * partners → prose → faq → honor → tables.
 */

.rv-inner-page {
  --rv-radius: 22px;
  --rv-shadow: 0 18px 40px rgba(7, 17, 31, 0.14);
  --rv-text-strong: #07111f;
  --rv-text-body: #152238;
  --rv-text-muted: #3a4558;
}

/* =========================================================================
   HERO (product / hub / geo / institutional)
   ========================================================================= */
.rv-inner-page .rv-page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(2.6rem, 5vw, 3.8rem) 0 clamp(2.4rem, 4vw, 3.4rem);
  color: #fff !important;
  overflow: hidden;
}

.rv-inner-page .rv-page-hero--product {
  background:
    radial-gradient(ellipse 60% 55% at 88% 10%, rgba(255, 208, 2, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 55% 55% at 8% 90%, rgba(198, 226, 106, 0.18) 0%, transparent 50%),
    linear-gradient(160deg, #001726 0%, #002730 55%, #0e3a42 100%) !important;
}

.rv-inner-page .rv-page-hero--hub {
  background:
    radial-gradient(ellipse 62% 55% at 92% 8%, rgba(255, 208, 2, 0.32) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 6% 92%, rgba(198, 226, 106, 0.22) 0%, transparent 50%),
    linear-gradient(160deg, #001726 0%, #002730 55%, #01323d 100%) !important;
}

.rv-inner-page .rv-page-hero--institutional {
  background:
    radial-gradient(ellipse 55% 55% at 82% 15%, rgba(255, 208, 2, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 55% 60% at 8% 30%, rgba(198, 226, 106, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, #0e3a42 0%, #102635 55%, #001726 100%) !important;
}

.rv-inner-page .rv-page-hero--geo {
  background:
    radial-gradient(ellipse 55% 55% at 85% 12%, rgba(255, 208, 2, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 10% 85%, rgba(198, 226, 106, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, #001726 0%, #072030 55%, #123a48 100%) !important;
}

/* Atmosphere: raios sutis (padrão diagonal) + presença animada */
.rv-inner-page .rv-page-hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-conic-gradient(from 0deg at 72% 30%, rgba(255, 208, 2, 0.045) 0deg 10deg, transparent 10deg 20deg);
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 30%, transparent 75%);
  animation: rv-hero-atmosphere 18s linear infinite;
}

/* Glow: círculo dourado difuso */
.rv-inner-page .rv-page-hero__glow {
  position: absolute;
  width: 42vmax;
  height: 42vmax;
  right: -10%;
  top: -14%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 208, 2, 0.22) 0%, transparent 68%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: rv-hero-glow 7s ease-in-out infinite alternate;
}

@keyframes rv-hero-atmosphere {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(360deg) scale(1.04); }
}

@keyframes rv-hero-glow {
  from { opacity: 0.75; transform: translate(0, 0) scale(1); }
  to { opacity: 1; transform: translate(-3%, 4%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .rv-inner-page .rv-page-hero__atmosphere,
  .rv-inner-page .rv-page-hero__glow {
    animation: none;
  }
}

.rv-inner-page .rv-page-hero__stage {
  position: relative;
  z-index: 2;
  max-width: 74rem;
}

.rv-inner-page .rv-page-hero__stage--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1.75rem 2.25rem;
  align-items: center;
}

.rv-inner-page .rv-page-hero__copy {
  min-width: 0;
}

.rv-inner-page .rv-page-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 208, 2, 0.14);
  border: 1px solid rgba(255, 208, 2, 0.35);
  color: #ffd002;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.rv-inner-page .rv-page-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.rv-inner-page .rv-page-hero h1 span {
  color: #ffd002;
}

.rv-inner-page .rv-page-hero__lead {
  margin: 1rem 0 0;
  max-width: 54ch;
  color: rgba(248, 250, 252, 0.94) !important;
  font-size: clamp(1.02rem, 1.5vw, 1.12rem);
  line-height: 1.55;
}

.rv-inner-page .rv-page-hero__crumbs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  color: rgba(248, 250, 252, 0.82);
}

.rv-inner-page .rv-page-hero__crumbs a {
  color: rgba(255, 208, 2, 0.95);
  text-decoration: none;
  font-weight: 700;
}

.rv-inner-page .rv-page-hero__crumbs a:hover { text-decoration: underline; }

.rv-inner-page .rv-page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

/* Art: prefere <picture> com ill-*.webp mas cobre <img> antigo com rv-ill */
.rv-inner-page .rv-page-hero__art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.rv-inner-page .rv-page-hero__art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 208, 2, 0.22), rgba(198, 226, 106, 0.14) 55%, transparent 75%);
  filter: blur(24px);
  z-index: 0;
  pointer-events: none;
}

.rv-inner-page .rv-page-hero__art > * { position: relative; z-index: 1; }

.rv-inner-page .rv-page-hero__art picture,
.rv-inner-page .rv-page-hero__art img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.35));
}

.rv-inner-page .rv-page-hero__art .rv-ill { max-width: 340px; }
.rv-inner-page .rv-page-hero__art .rv-ill--lg { max-width: 380px; }

/* Curve: transição suave para a próxima seção clara */
.rv-inner-page .rv-page-hero__curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 42px;
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 1;
  pointer-events: none;
}

.rv-inner-page .rv-page-hero--product + section,
.rv-inner-page .rv-page-hero--hub + section,
.rv-inner-page .rv-page-hero--institutional + section,
.rv-inner-page .rv-page-hero--geo + section {
  position: relative;
  z-index: 3;
}

/* =========================================================================
   SEÇÕES
   ========================================================================= */
.rv-inner-page main .rv-page-section {
  padding: clamp(2.6rem, 4.5vw, 3.6rem) 0;
  background: #fff;
}

.rv-inner-page main .rv-page-section--soft {
  background: #f2f5f7;
}

.rv-inner-page main .rv-page-section--paper {
  background: #f7fafb;
}

.rv-inner-page main .rv-page-section--ink {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 208, 2, 0.18), transparent 42%),
    linear-gradient(160deg, #0e3a42 0%, #102635 55%, #0b1c2b 100%);
  color: #f8fafc;
}

.rv-inner-page main .rv-page-section--ink .rv-page-head h2,
.rv-inner-page main .rv-page-section--ink h2,
.rv-inner-page main .rv-page-section--ink h3 { color: #fff; }

.rv-inner-page main .rv-page-section--ink .rv-page-head p,
.rv-inner-page main .rv-page-section--ink p { color: rgba(248, 250, 252, 0.9); }

.rv-inner-page main .rv-page-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 1.75rem;
}

.rv-inner-page main .rv-page-head--left { text-align: left; margin-left: 0; }

.rv-inner-page main .rv-page-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #002730;
  font-weight: 900;
}

.rv-inner-page main .rv-page-head p {
  margin: 0.65rem auto 0;
  max-width: 52ch;
  color: #3a4558;
  line-height: 1.55;
  font-size: 1rem;
}

.rv-inner-page main .rv-page-grid2,
.rv-inner-page main .rv-page-grid3,
.rv-inner-page main .rv-page-grid4 {
  display: grid;
  gap: 1rem;
}

.rv-inner-page main .rv-page-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rv-inner-page main .rv-page-grid3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rv-inner-page main .rv-page-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* =========================================================================
   RV-PAGE-CARD (info card no fundo branco/paper) — contraste alto
   ========================================================================= */
.rv-inner-page main .rv-page-card {
  display: block;
  padding: 1.3rem 1.25rem 1.2rem;
  border-radius: var(--rv-radius, 22px);
  background: #ffffff;
  border: 1px solid rgba(0, 39, 48, 0.1);
  box-shadow: 0 12px 28px rgba(0, 23, 38, 0.05);
  color: #152238;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.rv-inner-page main .rv-page-section--soft .rv-page-card { background: #fff; }

.rv-inner-page main .rv-page-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.06rem;
  color: #002730;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.25;
  font-weight: 800;
}

.rv-inner-page main .rv-page-card h3 .iconify {
  color: #0e3a42;
  font-size: 1.35rem;
  flex: 0 0 auto;
}

.rv-inner-page main .rv-page-card p {
  margin: 0;
  color: #3a4558;
  font-size: 0.96rem;
  line-height: 1.55;
}

.rv-inner-page main a.rv-page-card:hover,
.rv-inner-page main .rv-page-card--link:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 39, 48, 0.24);
  box-shadow: 0 20px 40px rgba(0, 23, 38, 0.1);
}

.rv-inner-page main .rv-page-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
  font-weight: 800;
  color: #0e3a42;
  font-size: 0.92rem;
}

.rv-inner-page main .rv-page-card__cta .iconify {
  color: #0e3a42;
  font-size: 1.05rem;
}

/* =========================================================================
   RV-FEAT (ilustrated feature card) — usado em coberturas
   ========================================================================= */
.rv-inner-page main .rv-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.rv-inner-page main .rv-feat {
  position: relative;
  padding: 1.6rem 1.35rem 1.4rem;
  border-radius: var(--rv-radius, 22px);
  background: #fff;
  border: 1px solid rgba(0, 39, 48, 0.09);
  box-shadow: 0 14px 32px rgba(0, 23, 38, 0.06);
  color: #152238;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.rv-inner-page main .rv-feat:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 39, 48, 0.22);
  box-shadow: 0 22px 44px rgba(0, 23, 38, 0.11);
}

.rv-inner-page main .rv-feat__art {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin: -0.3rem 0 0.9rem -0.3rem;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 208, 2, 0.18) 0%, rgba(198, 226, 106, 0.16) 60%, rgba(14, 58, 66, 0.08) 100%);
}

.rv-inner-page main .rv-feat__art img,
.rv-inner-page main .rv-feat__art picture {
  display: block;
  width: 92%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 23, 38, 0.18));
}

.rv-inner-page main .rv-feat__art .iconify {
  font-size: 3.2rem;
  color: #0e3a42;
}

.rv-inner-page main .rv-feat h3 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
  color: #07111f;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.rv-inner-page main .rv-feat p {
  margin: 0;
  color: #3a4558;
  font-size: 0.98rem;
  line-height: 1.55;
}

.rv-inner-page main .rv-feat__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-weight: 800;
  color: #0e3a42;
  font-size: 0.92rem;
  text-decoration: none;
}

.rv-inner-page main .rv-feat__cta:hover { color: #002730; }

/* =========================================================================
   RV-HUB-CARD (catálogo do /seguros/) — ilustrado
   ========================================================================= */
.rv-inner-page main .rv-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 1.05rem;
  margin-top: 1.2rem;
}

.rv-inner-page main .rv-hub-card {
  position: relative;
  display: block;
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: var(--rv-radius, 22px);
  background: #ffffff;
  border: 1px solid rgba(0, 39, 48, 0.1);
  box-shadow: 0 12px 30px rgba(0, 23, 38, 0.06);
  color: #152238;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.rv-inner-page main .rv-hub-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 39, 48, 0.24);
  box-shadow: 0 22px 44px rgba(0, 23, 38, 0.11);
}

.rv-inner-page main .rv-hub-card__ill {
  width: 84px;
  height: 84px;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 208, 2, 0.2), rgba(198, 226, 106, 0.16) 55%, rgba(14, 58, 66, 0.08));
}

.rv-inner-page main .rv-hub-card__ill .iconify {
  font-size: 2.2rem;
  color: #0e3a42;
}

.rv-inner-page main .rv-hub-card__ill img,
.rv-inner-page main .rv-hub-card__ill picture {
  display: block;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 23, 38, 0.18));
}

.rv-inner-page main .rv-hub-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.08rem;
  color: #07111f;
  letter-spacing: -0.01em;
  font-weight: 850;
  line-height: 1.25;
}

.rv-inner-page main .rv-hub-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3a4558;
}

.rv-inner-page main .rv-hub-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.9rem;
  font-weight: 800;
  font-size: 0.88rem;
  color: #0e3a42;
}

.rv-inner-page main .rv-hub-card__chip {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 208, 2, 0.16);
  color: #806000;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* =========================================================================
   RV-PARTNERS (inner)
   ========================================================================= */
.rv-inner-page main .rv-partners {
  padding: 2.6rem 0;
  background: #ffffff;
  border-block: 1px solid rgba(0, 39, 48, 0.08);
}

.rv-inner-page main .rv-partners h2 {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  color: #002730;
  margin: 0 0 0.4rem;
}

.rv-inner-page main .rv-partners > .hn-shell > p {
  text-align: center;
  color: #3a4558;
  margin: 0 auto 1.15rem;
  max-width: 46ch;
}

/* =========================================================================
   RV-PROSE (páginas legais / institucionais / blog)
   ========================================================================= */
.rv-inner-page main .rv-page-prose {
  max-width: 48rem;
  margin: 0 auto;
  color: #152238;
  line-height: 1.7;
  font-size: 1.02rem;
}

.rv-inner-page main .rv-page-prose h2,
.rv-inner-page main .rv-page-prose h3 {
  color: #002730;
  margin: 1.6rem 0 0.6rem;
  font-weight: 850;
}

.rv-inner-page main .rv-page-prose h2 { font-size: 1.35rem; }
.rv-inner-page main .rv-page-prose h3 { font-size: 1.1rem; }

.rv-inner-page main .rv-page-prose p {
  margin: 0.55rem 0 1rem;
  color: #152238;
}

.rv-inner-page main .rv-page-prose ul,
.rv-inner-page main .rv-page-prose ol {
  padding-left: 1.25rem;
  margin: 0.35rem 0 1rem;
}

.rv-inner-page main .rv-page-prose li {
  margin: 0.35rem 0;
  color: #152238;
}

.rv-inner-page main .rv-page-prose a {
  color: #0e3a42;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 700;
}

.rv-inner-page main .rv-page-prose a:hover { color: #002730; }

/* =========================================================================
   FAQ (rv-page-faq) — texto legível
   ========================================================================= */
.rv-inner-page main .rv-page-faq {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.7rem;
}

.rv-inner-page main .rv-page-faq details {
  border-radius: 14px;
  border: 1px solid rgba(0, 39, 48, 0.14);
  background: #fff;
  padding: 0.95rem 1.1rem;
  transition: box-shadow 0.16s ease, border-color 0.16s ease;
}

.rv-inner-page main .rv-page-faq details[open] {
  border-color: rgba(0, 39, 48, 0.28);
  box-shadow: 0 12px 26px rgba(0, 23, 38, 0.08);
}

.rv-inner-page main .rv-page-faq summary {
  cursor: pointer;
  font-weight: 850;
  color: #002730;
  list-style: none;
  font-size: 1rem;
  line-height: 1.35;
}

.rv-inner-page main .rv-page-faq summary::-webkit-details-marker { display: none; }
.rv-inner-page main .rv-page-faq summary::marker { display: none; }

.rv-inner-page main .rv-page-faq details p {
  margin: 0.65rem 0 0;
  color: #152238;
  line-height: 1.6;
}

/* =========================================================================
   RV-HONOR (CTA final rico com Sentinela)
   ========================================================================= */
.rv-inner-page main .rv-honor {
  padding: clamp(2.6rem, 4.5vw, 3.6rem) 0;
  background: #ffffff;
}

.rv-inner-page main .rv-honor__panel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.7fr);
  gap: 1.5rem 2rem;
  align-items: center;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 30px;
  background:
    radial-gradient(ellipse 60% 55% at 92% 15%, rgba(255, 208, 2, 0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 6% 90%, rgba(198, 226, 106, 0.16) 0%, transparent 55%),
    linear-gradient(160deg, #002730 0%, #0e3a42 55%, #01323d 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(0, 23, 38, 0.28);
  overflow: hidden;
  position: relative;
}

.rv-inner-page main .rv-honor__copy { position: relative; z-index: 2; }

.rv-inner-page main .rv-honor__copy h2 {
  color: #fff;
  margin: 0.1rem 0 0.7rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.rv-inner-page main .rv-honor__copy p:not(.rv-honor__kicker) {
  color: rgba(248, 250, 252, 0.92);
  margin: 0 0 1rem;
  line-height: 1.6;
  font-size: 1.02rem;
}

.rv-inner-page main .rv-honor__kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.55rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 208, 2, 0.4);
  background: rgba(255, 208, 2, 0.14);
  color: #ffd002;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  line-height: 1;
}

.rv-inner-page main .rv-honor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.rv-inner-page main .rv-honor__art {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rv-inner-page main .rv-honor__art picture,
.rv-inner-page main .rv-honor__art img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.35));
}

/* Botão fantasma sobre honor (dark bg) */
.rv-inner-page main .rv-honor .rv-btn--ghost,
.rv-inner-page main .rv-honor .rv-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-weight: 800;
}

.rv-inner-page main .rv-honor .rv-btn--ghost:hover,
.rv-inner-page main .rv-honor .rv-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

/* =========================================================================
   STEPS institucional simples (fallback quando rv-steps não é usado)
   ========================================================================= */
.rv-inner-page main .rv-page-steps {
  counter-reset: rvstep;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 0;
  list-style: none;
}

.rv-inner-page main .rv-page-steps > li {
  position: relative;
  padding: 1.3rem 1.25rem 1.15rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(0, 39, 48, 0.1);
  box-shadow: 0 12px 28px rgba(0, 23, 38, 0.05);
  counter-increment: rvstep;
  color: #152238;
}

.rv-inner-page main .rv-page-steps > li::before {
  content: counter(rvstep);
  position: absolute;
  top: -16px;
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #ffd002;
  color: #002730;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(255, 208, 2, 0.4);
}

.rv-inner-page main .rv-page-steps > li strong {
  display: block;
  color: #002730;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 850;
}

.rv-inner-page main .rv-page-steps > li p {
  margin: 0;
  color: #3a4558;
  line-height: 1.5;
}

/* =========================================================================
   Utilities
   ========================================================================= */
.rv-inner-page main .rv-page-list {
  margin: 0.7rem 0 0;
  padding-left: 1.15rem;
  color: #152238;
  line-height: 1.6;
}

.rv-inner-page main .rv-page-list li { margin: 0.4rem 0; }

.rv-inner-page main .rv-page-aside {
  padding: 1.4rem 1.3rem;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(0, 39, 48, 0.1);
  box-shadow: 0 14px 30px rgba(0, 23, 38, 0.07);
}

.rv-inner-page main .rv-page-aside h3 { margin: 0 0 0.75rem; color: #002730; font-weight: 850; }

.rv-inner-page main .rv-page-aside ul {
  margin: 0;
  padding-left: 1.15rem;
  color: #152238;
  line-height: 1.55;
  display: grid;
  gap: 0.55rem;
}

.rv-inner-page main .rv-page-split {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.rv-calc-panel {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 22px;
  border: 1px solid rgba(0, 39, 48, 0.1);
  background: #fff;
  box-shadow: 0 14px 32px rgba(0, 23, 38, 0.07);
  color: #152238;
}

/* =========================================================================
   RV-STEPS (home-nova) — herdado; garante contraste em páginas internas
   ========================================================================= */
.rv-inner-page main .rv-steps {
  padding: clamp(2.6rem, 4.5vw, 3.6rem) 0;
  background: #f2f5f7;
}

.rv-inner-page main .rv-steps__title {
  text-align: center;
  color: #002730;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  margin: 0 auto 1.5rem;
  max-width: 46rem;
  line-height: 1.2;
}

.rv-inner-page main .rv-step__body h3 { color: #002730; }
.rv-inner-page main .rv-step__body p { color: #3a4558; }

/* Steps: se data-rv-reveal / IntersectionObserver falhar, não ficar invisível.
   Com reveal, .is-in anima; sem JS, permanece legível. */
.rv-inner-page main .rv-step {
  opacity: 1;
  transform: none;
  border-radius: var(--rv-radius, 22px);
}

.rv-inner-page main .rv-step[data-rv-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(24px);
}

.rv-inner-page main .rv-step[data-rv-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .rv-inner-page main .rv-step[data-rv-reveal]:not(.is-in) {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================================
   RV-TABLE — tabelas no dialeto home-nova (+ alias legal)
   ========================================================================= */
.rv-inner-page main .rv-table-wrap,
.rv-inner-page main .legal-table-wrap {
  overflow: auto;
  margin: 1.1rem 0 1.35rem;
  border: 1px solid rgba(0, 39, 48, 0.12);
  border-radius: var(--rv-radius, 22px);
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 23, 38, 0.05);
}

.rv-inner-page main .rv-table,
.rv-inner-page main .legal-table,
.rv-inner-page main table.rv-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  color: #152238;
}

.rv-inner-page main .rv-table th,
.rv-inner-page main .rv-table td,
.rv-inner-page main .legal-table th,
.rv-inner-page main .legal-table td,
.rv-inner-page main table.rv-table th,
.rv-inner-page main table.rv-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 39, 48, 0.1);
  vertical-align: top;
  line-height: 1.45;
}

.rv-inner-page main .rv-table th,
.rv-inner-page main .legal-table th,
.rv-inner-page main table.rv-table th {
  background: linear-gradient(180deg, #e8f0f2 0%, #f2f5f7 100%);
  color: #002730;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.rv-inner-page main .rv-table td,
.rv-inner-page main .legal-table td,
.rv-inner-page main table.rv-table td {
  color: #3a4558;
}

.rv-inner-page main .rv-table tr:last-child td,
.rv-inner-page main .legal-table tr:last-child td {
  border-bottom: 0;
}

.rv-inner-page main .rv-table tr:hover td,
.rv-inner-page main .legal-table tr:hover td {
  background: rgba(198, 226, 106, 0.12);
}

/* =========================================================================
   RV-PROTECT (pills) em páginas internas — reforça contraste
   ========================================================================= */
.rv-inner-page main .rv-protect {
  padding: clamp(2.6rem, 4.5vw, 3.6rem) 0;
}

.rv-inner-page main .rv-protect__head h2 { color: #fff; }
.rv-inner-page main .rv-protect__head p { color: rgba(248, 250, 252, 0.9); }

/* Slug em <span> dentro do h1 fica dourado */
.rv-inner-page main .rv-page-hero h1 em,
.rv-inner-page main .rv-page-hero h1 strong { color: #ffd002; font-style: normal; }

/* Link genérico em <main> em fundo claro: teal com underline */
.rv-inner-page main .rv-page-section a:not(.rv-btn):not(.rv-page-card):not(.rv-hub-card):not(.rv-feat):not(.rv-page-card__cta):not(.rv-feat__cta):not(.rv-pill):not(.rv-post):not(.btn-whatsapp):not(.rv-hub-card__more) {
  color: #0e3a42;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 700;
}

.rv-inner-page main .rv-page-section a:not(.rv-btn):not(.rv-page-card):not(.rv-hub-card):not(.rv-feat):not(.btn-whatsapp):hover {
  color: #002730;
}

/* Footer sub-CTAs nas rv-page-card__cta com arrow */
.rv-inner-page main .rv-page-card--link .rv-page-card__cta { margin-top: 0.9rem; }

/* Ghost inverso escuro para uso em rv-honor (fundo escuro) */
.rv-btn--ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  font-weight: 800;
  text-decoration: none;
}

.rv-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

/* =========================================================================
   Blog/legal prose intra-artigo (quando estrutura antiga persiste)
   ========================================================================= */
.rv-inner-page main article,
.rv-inner-page main .blog-prose,
.rv-inner-page main .legal-prose {
  color: #152238;
  line-height: 1.7;
}

.rv-inner-page main article p,
.rv-inner-page main .blog-prose p,
.rv-inner-page main .legal-prose p { color: #152238; }

.rv-inner-page main article h2,
.rv-inner-page main article h3,
.rv-inner-page main .blog-prose h2,
.rv-inner-page main .blog-prose h3,
.rv-inner-page main .legal-prose h2,
.rv-inner-page main .legal-prose h3 { color: #002730; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .rv-inner-page .rv-page-hero__stage--split {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .rv-inner-page .rv-page-hero__art {
    order: 2;
    margin-top: 0.5rem;
  }

  .rv-inner-page .rv-page-hero__art picture,
  .rv-inner-page .rv-page-hero__art img { max-width: 260px; }

  .rv-inner-page main .rv-page-grid3,
  .rv-inner-page main .rv-page-grid2,
  .rv-inner-page main .rv-page-grid4,
  .rv-inner-page main .rv-feat-grid,
  .rv-inner-page main .rv-page-steps,
  .rv-inner-page main .rv-page-split {
    grid-template-columns: 1fr;
  }

  .rv-inner-page main .rv-honor__panel {
    grid-template-columns: 1fr;
    padding: 1.7rem 1.4rem;
  }

  .rv-inner-page main .rv-honor__art { order: -1; }
  .rv-inner-page main .rv-honor__art picture,
  .rv-inner-page main .rv-honor__art img { max-width: 160px; }
}

@media (max-width: 600px) {
  .rv-inner-page .rv-page-hero { padding: 2.6rem 0 2.2rem; }
  .rv-inner-page main .rv-hub-grid { grid-template-columns: 1fr; }
  .rv-inner-page .rv-page-hero__curve { height: 28px; }
}

.rv-inner-page main .rv-card-mini-ill{display:inline-block;width:28px;height:28px;vertical-align:-6px;margin-right:6px}

/* =========================================================================
   PROGRAMA DE INDICAÇÕES — painel Thrive + callouts (dialeto rv-*)
   ========================================================================= */
.rv-inner-page main .rv-page-callout {
  margin: 1.35rem 0 0;
  padding: 1rem 1.15rem;
  border-radius: var(--rv-radius, 22px);
  border: 1px solid rgba(255, 208, 2, 0.45);
  background: rgba(255, 249, 216, 0.55);
  color: #152238;
  font-size: 0.96rem;
  line-height: 1.55;
}

.rv-inner-page main .rv-page-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.15rem 0 0;
}

.rv-inner-page main .rv-page-links a {
  font-weight: 800;
  color: #0e3a42 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rv-inner-page main .rv-thrive-panel {
  padding: 1.6rem 1.4rem 1.45rem;
  border: 1px solid rgba(0, 39, 48, 0.12);
  box-shadow: 0 16px 36px rgba(0, 23, 38, 0.07);
}

.rv-inner-page main .rv-thrive-panel__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 1.5rem;
  align-items: center;
}

.rv-inner-page main .rv-thrive-panel__art {
  display: grid;
  place-items: center;
}

.rv-inner-page main .rv-thrive-panel__art img {
  width: min(220px, 100%);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 23, 38, 0.14));
}

.rv-inner-page main .rv-thrive-share {
  margin-top: 1.1rem;
  padding: 1rem;
  border-radius: 16px;
  background: #f2f5f7;
  border: 1px solid rgba(0, 39, 48, 0.1);
}

.rv-inner-page main .rv-thrive-share label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: #002730;
}

.rv-inner-page main .rv-thrive-share__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.rv-inner-page main .rv-thrive-share__row input {
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 39, 48, 0.16);
  background: #fff;
  color: #152238;
  font-size: 0.9rem;
}

.rv-inner-page main .rv-thrive-share__hint {
  margin: 0.7rem 0 0;
  color: #3a4558 !important;
  font-size: 0.88rem;
  line-height: 1.45;
}

.rv-inner-page main .rv-thrive-share__hint a {
  color: #92400e !important;
  font-weight: 800;
}

@media (max-width: 900px) {
  .rv-inner-page main .rv-thrive-panel__grid {
    grid-template-columns: 1fr;
  }
  .rv-inner-page main .rv-thrive-panel__art { order: -1; }
}

/* Dark theme — conteúdo claro permanece legível */
[data-theme="dark"] .rv-inner-page main .rv-page-section,
[data-theme="dark"] .rv-inner-page main .rv-page-section--soft {
  background: #0b1730 !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-head h2,
[data-theme="dark"] .rv-inner-page main .rv-page-card h3,
[data-theme="dark"] .rv-inner-page main .rv-feat h3,
[data-theme="dark"] .rv-inner-page main .rv-thrive-panel h2 {
  color: #f8fafc !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-head p,
[data-theme="dark"] .rv-inner-page main .rv-page-card p,
[data-theme="dark"] .rv-inner-page main .rv-feat p,
[data-theme="dark"] .rv-inner-page main .rv-thrive-panel p,
[data-theme="dark"] .rv-inner-page main .rv-thrive-share__hint {
  color: #a8b5cc !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-card,
[data-theme="dark"] .rv-inner-page main .rv-feat,
[data-theme="dark"] .rv-inner-page main .rv-thrive-panel,
[data-theme="dark"] .rv-inner-page main .rv-page-faq details {
  background: #101d38 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #e2e8f0;
}

[data-theme="dark"] .rv-inner-page main .rv-thrive-share {
  background: #06122b !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
}

[data-theme="dark"] .rv-inner-page main .rv-thrive-share__row input {
  background: #0b1730 !important;
  color: #f8fafc !important;
  border-color: rgba(148, 163, 184, 0.28) !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-callout {
  background: rgba(255, 208, 2, 0.12) !important;
  color: #f8fafc !important;
  border-color: rgba(255, 208, 2, 0.35) !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-links a {
  color: #ffd002 !important;
}

[data-theme="dark"] .rv-inner-page main .rv-page-faq summary {
  color: #f8fafc !important;
}

[data-theme="dark"] .rv-inner-page .rv-page-hero__curve {
  background: #0b1730;
}

