/* ============================================================
   MAJOR FACTORS — Research Page (NAD+ Research)
   ============================================================ */

/* ── Hero ── */
.rs-hero {
  padding: 160px 24px 100px;
  background: linear-gradient(180deg, var(--c-periwinkle) 0%, #ffffff 100%);
  text-align: center;
}
.rs-hero-inner {
  max-width: 680px;
  margin: 0 auto;
}
.rs-hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 7vw, 80px);
  color: var(--c-slate);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.rs-hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--c-slate);
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   WHAT IS NAD+ — Igual ao print
   ============================================================ */
.rs-what{
  background-color: #fff;
  padding: 40px;
}

.rs-what-container {
  background: linear-gradient(180deg, #BAD0FF 0%, #F7F9FF 100%) !important;
  padding: 30px 25px !important;
  color: #4e526a;
  max-width: 1100px;
  margin: 0 auto;
}

.rs-what .container {
  max-width: 1060px;
}

/* Label superior */
.rs-what .mf-label-row {
  color: #4e526a;
  margin-bottom: 28px !important;
  gap: 12px;
}

.rs-what .mf-dash {
  width: 28px;
  height: 5px;
  background: #4e526a;
}

.rs-what .mf-label-text {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4e526a;
}

/* Título */
.rs-what-heading {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 35px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em;
  color: #4e526a;
  max-width: 600px !important;
  margin: 0 auto 34px !important;
  text-align: center;
}

/* Caixa dos números */
.rs-stats-grid {
  display: grid !important;
  grid-template-columns: 1fr 1px 1fr;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto !important;
  background: rgba(255, 255, 255, 0.38);
  border: 5px solid rgba(255, 255, 255, 0.28);
}

.rs-stat-block {
  max-width: none !important;
  padding: 26px 34px 22px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: left !important;
}

.rs-stat-divider {
  width: 1px !important;
  min-height: auto !important;
  height: auto !important;
  background: rgba(186, 208, 255, 0.75) !important;
}

.rs-stat-num {
  font-family: var(--font-sans) !important;
  font-style: normal !important;
  font-weight: 300 !important;
  font-size: 88px !important;
  line-height: 0.9 !important;
  letter-spacing: -0.07em;
  color: #4e526a;
  margin: 0 !important;
  flex-shrink: 0;
}

.rs-stat-desc {
  font-size: 17px !important;
  line-height: 1.15 !important;
  color: #4e526a !important;
  opacity: 1 !important;
  max-width: 210px;
  margin: 0 !important;
}

/* Caixa inferior: correlates */
.rs-correlates-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: 0 auto 34px !important;
  background: rgba(255, 255, 255, 0.33);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 1px solid rgba(186, 208, 255, 0.75) !important;
  border-bottom: none !important;
}

.rs-correlate-item {
  padding: 28px 34px !important;
  display: grid !important;
  grid-template-columns: 160px 1fr;
  align-items: start;
  gap: 24px !important;
}

.rs-correlate-item + .rs-correlate-item {
  border-left: 1px solid rgba(186, 208, 255, 0.75) !important;
}

.rs-correlate-label {
  font-size: 16px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.18 !important;
  color: #4e526a !important;
  opacity: 1 !important;
}

.rs-correlate-value {
  font-size: 17px !important;
  line-height: 1.25 !important;
  color: #4e526a !important;
}

/* Textos de baixo */
.rs-body-text {
  max-width: 900px;
  margin: 0 auto !important;
}

.rs-body-text p {
  font-size: 11px !important;
  line-height: 1.25 !important;
  color: #4e526a !important;
  opacity: 1 !important;
  max-width: 410px;
}

.rs-body-text .col-md-6:first-child p {
  margin-right: auto;
}

.rs-body-text .col-md-6:last-child p {
  margin-left: auto;
}

.rs-source {
  font-size: 9px !important;
  color: #4e526a !important;
  opacity: 0.55 !important;
  text-align: center;
  margin-top: 38px !important;
  margin-bottom: 0 !important;
}

/* Responsivo */
@media (max-width: 768px) {
  .rs-what {
    padding: 56px 20px 38px !important;
  }

  .rs-what-heading {
    font-size: 28px !important;
    max-width: 100% !important;
  }

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

  .rs-stat-divider {
    width: 100% !important;
    height: 1px !important;
    min-height: 1px !important;
  }

  .rs-stat-block {
    padding: 24px 20px !important;
    justify-content: flex-start;
  }

  .rs-stat-num {
    font-size: 68px !important;
  }

  .rs-stat-desc {
    font-size: 15px !important;
  }

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

  .rs-correlate-item {
    grid-template-columns: 1fr;
    gap: 10px !important;
    padding: 24px 20px !important;
  }

  .rs-correlate-item + .rs-correlate-item {
    border-left: none !important;
    border-top: 1px solid rgba(186, 208, 255, 0.75) !important;
  }

  .rs-body-text p {
    max-width: 100%;
    margin-bottom: 18px;
  }
}

/* ── How NAD+ Decline Drives Aging ── */
.rs-decline {
  background: #fff;
  padding: 100px 0;
  color: var(--c-slate);
}
.rs-decline-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}
.rs-decline-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
  opacity: 0.75;
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

/* Mechanism cards */
.rs-mechanism-card {
  background: var(--Gradient-Light, linear-gradient(180deg, #BAD0FE 0%, #FFF 100%));
  backdrop-filter: blur(9.050000190734863px);
  border-radius: 0px;
  padding: 36px 16px 40px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.rs-mechanism-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(78, 82, 106, 0.12);
}

.img-icon{
  width: auto;
  height: 56px;
  display: block;
  margin: 15px auto;
}
.rs-mech-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4E526A;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}
.rs-mech-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
  opacity: 0.75;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* ── CTA Banner ── */
.rs-cta-banner {
  position: relative;
  overflow: hidden;
  background-color: #fff;
  background-image: url('../img/cta-product.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  min-height: 760px;
  padding: 48px 24px 56px;
  display: flex;
  justify-content: center;
  align-items: stretch;
}
.rs-cta-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1140px;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}
.rs-cta-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.2;
  color: #4E526A;
  margin: 0;
  letter-spacing: -0.01em;
  text-align: center;
  max-width: 900px;
}
.rs-cta-banner .mf-btn-outline {
  align-self: center;
}
.mf-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-left: 28px;
  background-color: #4E526A;;
  transition: background 0.25s, border-color 0.25s;
  margin-top: 0;
}
.mf-btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}
.mf-btn-outline .mf-btn-icon {
  margin-left: 16px;
  border-left: 1px solid rgba(255,255,255,0.4);
}

/* ── Published Research ── */
/* ── Published Research ── */
.rs-research {
  background: linear-gradient(180deg, #FFF 0%, #B7CCFB 99.86%);
  /* 120px de padding no topo garante que o seu menu fixo NUNCA cubra o título! */
  padding: 0px 0 60px 0; 
  color: var(--c-slate);
  overflow: hidden; 
  /* AS 3 LINHAS DE OURO PARA TELA CHEIA: */
  min-height: 100vh; 
  display: flex;
  align-items: center; 
}

.rs-card-title{
  font-size: 21px;
}

.rs-research > .container {
  width: 100%;
}

.rs-research-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 20px;
}
.rs-research-sub {
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-slate);
  opacity: 0.75;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

/* Filter tabs */
.rs-filter-tabs {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid rgba(78, 82, 106, 0.2);
  margin-bottom: 56px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rs-filter-tabs::-webkit-scrollbar { display: none; }

.rs-filter-btn {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-slate);
  opacity: 0.45;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s, border-color 0.2s;
  margin-bottom: -1px;
}
.rs-filter-btn:hover {
  opacity: 0.7;
}
.rs-filter-btn.active {
  opacity: 1;
  border-bottom-color: var(--c-slate);
}

/* ============================================================
   PUBLISHED RESEARCH (HORIZONTAL SLIDER CSS)
   ============================================================ */
.rs-research {
  background: linear-gradient(180deg, #FFF 0%, #B7CCFB 99.86%);
  padding: 100px 0 80px;
  color: var(--c-slate);
  overflow: hidden; /* IMPORTANTE: Esconde os cards que vazam pra direita/esquerda */
}

/* Transforma o antigo Grid em uma "pista" horizontal */
.rs-cards-grid {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px !important; /* Espaçamento idêntico ao da foto */
  width: max-content !important;
  padding-bottom: 20px; /* Espaço para a sombra no hover não cortar */
  margin-left: 0;
}

.rs-card {
  width: 420px !important; /* Força a largura fixa para deslizar certinho */
  flex-shrink: 0 !important;
  display: flex !important; /* Anula o display:none do antigo JS */
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(78, 82, 106, 0.1);
  padding: 36px 32px;
  flex-direction: column;
  gap: 12px;
  transition: background 0.3s, transform 0.3s var(--ease-out);
  white-space: normal; /* Garante que o texto quebre as linhas */
}

.rs-card:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
}

/* Deixa menor no celular pra caber bem na tela */
@media (max-width: 768px) {
  .rs-card {
    width: 320px !important; 
    padding: 24px 20px;
  }
}

/* ── Medical Disclaimer ── */
.rs-disclaimer {
  /*background: linear-gradient(180deg, #FFF 0%, #BAD0FF 100%);*/
  background-color: #BAD0FF;
  padding: 60px 0;
}
.rs-disclaimer-inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}
.rs-disclaimer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-slate);
  opacity: 0.5;
  margin-bottom: 16px;
}
.rs-disclaimer-text {
  font-size: 13px;
  line-height: 1.8;
  color: var(--c-slate);
  opacity: 0.65;
  margin: 0;
}

/* ── Animations ── */
.rs-stat-num {
  transition: opacity 0.4s;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .rs-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rs-stat-block {
    padding: 0 24px;
  }
  .rs-stat-num {
    font-size: clamp(52px, 10vw, 80px);
  }
}

@media (max-width: 768px) {

  .mf-btn-outline {
    margin-top: 0;
  }

  .rs-cta-banner {
    background-color: #fff;
    background-image: url('../img/cta-product.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    min-height: 560px;
    padding: 32px 24px 40px;
  }

  .rs-cta-content {
    min-height: 560px;
  }

  .rs-cta-bg {
    background-image: none;
    height: auto;
  }

  .rs-hero {
    padding: 120px 20px 72px;
  }
  .rs-what,
  .rs-decline,
  .rs-research {
    padding: 72px 0;
  }
  .rs-stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .rs-stat-divider {
    width: 60px;
    height: 1px;
    min-height: unset;
    align-self: center;
    margin: 8px 0;
  }
  .rs-stat-block {
    max-width: 100%;
    padding: 20px 0;
  }
  .rs-correlates-grid {
    flex-direction: column;
  }
  .rs-correlate-item + .rs-correlate-item {
    border-left: none;
    border-top: 1px solid rgba(78, 82, 106, 0.15);
  }
  .rs-cards-grid {
    grid-template-columns: 1fr;
  }
  .rs-cta-banner {
    min-height: 360px;
  }
  .rs-filter-tabs {
    padding-bottom: 2px;
  }
  .rs-mechanism-card {
    padding: 24px 20px;
            margin: 0 30px;
  }
}

@media (max-width: 480px) {
  .rs-filter-btn {
    padding: 12px 14px;
    font-size: 11px;
  }
  .rs-card {
    padding: 28px 24px;
  }
}
