/* =========================================================
   RSH Consultoria & Soluções — sistema visual
   Base de layout editorial inspirada em blackboutique.us
   ========================================================= */

:root {
  --rsh-roxo: #482258;
  --rsh-roxo-escuro: #2b1930;
  --rsh-dourado: #c09965;
  --rsh-offwhite: #fbf9f6;
  --rsh-bege: #f3eee8;
  --rsh-preto: #000000;
  --rsh-branco: #ffffff;
  --rsh-linha: rgba(72, 34, 88, 0.14);
  --rsh-serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --rsh-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --rsh-max: 1240px;
  --rsh-gutter: 32px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--rsh-offwhite);
  color: var(--rsh-preto);
  font-family: var(--rsh-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.rsh-nav-open { overflow: hidden; }

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

a { color: var(--rsh-roxo); text-decoration: none; transition: color 0.25s ease, opacity 0.25s ease; }
a:hover { color: var(--rsh-dourado); }

h1, h2, h3, h4 {
  font-family: var(--rsh-serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }

.rsh-skip {
  position: absolute;
  left: -9999px;
  background: var(--rsh-roxo);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.rsh-skip:focus { left: 16px; top: 16px; }

.rsh-container {
  width: 100%;
  max-width: var(--rsh-max);
  margin: 0 auto;
  padding: 0 var(--rsh-gutter);
}

.rsh-section { padding: 120px 0; position: relative; }
.rsh-section--tight { padding: 88px 0; }
.rsh-section--offwhite { background: var(--rsh-offwhite); }
.rsh-section--bege { background: var(--rsh-bege); }
.rsh-section--roxo { background: var(--rsh-roxo-escuro); color: var(--rsh-offwhite); }
.rsh-section--preto { background: var(--rsh-preto); color: var(--rsh-offwhite); }
.rsh-section--roxo h2,
.rsh-section--roxo h3,
.rsh-section--preto h2,
.rsh-section--preto h3 { color: var(--rsh-offwhite); }

/* ---------- Eyebrow / títulos ---------- */
.rsh-eyebrow {
  font-family: var(--rsh-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rsh-roxo);
  margin: 0 0 20px;
}
.rsh-section--roxo .rsh-eyebrow,
.rsh-section--preto .rsh-eyebrow { color: var(--rsh-dourado); }

.rsh-display {
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1.05;
}
.rsh-title { font-size: clamp(32px, 3.6vw, 46px); }
.rsh-subtitle { font-size: clamp(22px, 2.2vw, 28px); }

.rsh-lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.75;
  color: rgba(0, 0, 0, 0.78);
  max-width: 62ch;
}
.rsh-section--roxo .rsh-lead,
.rsh-section--preto .rsh-lead { color: rgba(255, 255, 255, 0.82); }

.rsh-center { text-align: center; }
.rsh-center .rsh-lead { margin-left: auto; margin-right: auto; }

.rsh-accent { color: var(--rsh-roxo); }
.rsh-section--roxo .rsh-accent { color: var(--rsh-dourado); }

.rsh-rule {
  width: 64px;
  height: 2px;
  background: var(--rsh-dourado);
  border: 0;
  margin: 28px 0;
}
.rsh-center .rsh-rule { margin-left: auto; margin-right: auto; }

/* ---------- Botões ---------- */
.rsh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--rsh-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 30px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.rsh-btn--primary { background: var(--rsh-roxo); color: #fff; }
.rsh-btn--primary:hover { background: var(--rsh-roxo-escuro); color: #fff; }
.rsh-btn--outline { border-color: var(--rsh-roxo); color: var(--rsh-roxo); background: transparent; }
.rsh-btn--outline:hover { background: var(--rsh-roxo); color: #fff; }
.rsh-btn--light { background: var(--rsh-offwhite); color: var(--rsh-roxo); }
.rsh-btn--light:hover { background: var(--rsh-dourado); color: var(--rsh-roxo-escuro); }
.rsh-btn--ghost { border-color: rgba(251, 249, 246, 0.6); color: var(--rsh-offwhite); }
.rsh-btn--ghost:hover { background: rgba(251, 249, 246, 0.12); color: #fff; }
.rsh-btn--gold { background: var(--rsh-dourado); color: var(--rsh-roxo-escuro); }
.rsh-btn--gold:hover { background: #ad8853; color: var(--rsh-roxo-escuro); }

.rsh-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.rsh-center .rsh-actions { justify-content: center; }

/* ---------- Cabeçalho ---------- */
.rsh-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 246, 0.95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--rsh-linha);
}
.rsh-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}
.rsh-logo { display: inline-flex; align-items: baseline; gap: 10px; color: var(--rsh-preto); }
.rsh-logo__mark {
  font-family: var(--rsh-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rsh-logo__mark span { color: var(--rsh-dourado); }
.rsh-logo__text {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.6);
}
.custom-logo { max-height: 56px; width: auto; }

.rsh-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.rsh-menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rsh-preto);
}
.rsh-menu a:hover,
.rsh-menu .current-menu-item > a { color: var(--rsh-roxo); }

.rsh-header__actions { display: flex; align-items: center; gap: 16px; }

.rsh-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--rsh-linha);
  border-radius: 2px;
}
.rsh-burger span { display: block; width: 18px; height: 1.5px; background: var(--rsh-preto); }

.rsh-mobile-nav {
  display: none;
  padding: 24px var(--rsh-gutter) 36px;
  border-top: 1px solid var(--rsh-linha);
  background: var(--rsh-offwhite);
}
.rsh-mobile-nav .rsh-menu { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 24px; }

/* ---------- Hero ---------- */
.rsh-hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
  background: var(--rsh-offwhite);
}
.rsh-hero__grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 64px;
  align-items: center;
}
.rsh-hero__media { position: relative; }
.rsh-hero__media::before {
  content: "";
  position: absolute;
  inset: 28px -28px -28px 28px;
  background: var(--rsh-bege);
  z-index: 0;
}
.rsh-hero__media img,
.rsh-hero__placeholder { position: relative; z-index: 1; width: 100%; }
.rsh-hero__placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--rsh-bege), #e6ddd2);
  display: flex;
  align-items: flex-end;
  padding: 28px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}
.rsh-hero__stat {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--rsh-linha);
  font-size: 15px;
  color: rgba(0, 0, 0, 0.7);
  max-width: 46ch;
}
.rsh-watermark {
  position: absolute;
  right: -4%;
  bottom: -6%;
  font-family: var(--rsh-serif);
  font-size: clamp(180px, 26vw, 380px);
  line-height: 0.8;
  color: rgba(72, 34, 88, 0.05);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- Grades ---------- */
.rsh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.rsh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.rsh-split { display: grid; grid-template-columns: 45fr 55fr; gap: 64px; align-items: center; }
.rsh-split--reverse { grid-template-columns: 55fr 45fr; }

/* Blocos numerados */
.rsh-numbered { border-top: 1px solid var(--rsh-linha); padding-top: 26px; }
.rsh-numbered__num {
  font-family: var(--rsh-serif);
  font-size: 34px;
  color: var(--rsh-dourado);
  display: block;
  margin-bottom: 12px;
}
.rsh-numbered h3 { font-size: 22px; color: var(--rsh-roxo); }
.rsh-section--roxo .rsh-numbered { border-top-color: rgba(251, 249, 246, 0.18); }
.rsh-section--roxo .rsh-numbered h3 { color: var(--rsh-offwhite); }
.rsh-section--roxo .rsh-numbered p { color: rgba(255, 255, 255, 0.78); }

/* Citação / virada conceitual */
.rsh-quote {
  background: var(--rsh-roxo-escuro);
  color: var(--rsh-offwhite);
  padding: 56px;
  margin-top: 72px;
  text-align: center;
}
.rsh-quote p {
  font-family: var(--rsh-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  margin: 0 auto;
  max-width: 30ch;
}
.rsh-quote--light {
  background: transparent;
  color: inherit;
  border-top: 1px solid var(--rsh-linha);
  border-bottom: 1px solid var(--rsh-linha);
  padding: 40px 0;
}

/* Caminhos (2x2) */
.rsh-path {
  padding: 48px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.rsh-path h3 { font-size: 26px; margin-bottom: 16px; }
.rsh-path ul { list-style: none; margin: 0 0 24px; padding: 0; }
.rsh-path li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 15px;
}
.rsh-path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--rsh-dourado);
}
.rsh-path__solution {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rsh-dourado);
  margin-bottom: 22px;
}
.rsh-path .rsh-btn { align-self: flex-start; margin-top: auto; }

.rsh-path--roxo { background: var(--rsh-roxo); color: var(--rsh-offwhite); }
.rsh-path--roxo h3 { color: var(--rsh-offwhite); }
.rsh-path--outline { background: var(--rsh-offwhite); border: 1px solid var(--rsh-roxo); }
.rsh-path--preto { background: var(--rsh-preto); color: var(--rsh-offwhite); }
.rsh-path--preto h3 { color: var(--rsh-offwhite); }
.rsh-path--bege { background: var(--rsh-bege); }

/* Portfólio editorial */
.rsh-portfolio__item { padding: 72px 0; border-top: 1px solid var(--rsh-linha); }
.rsh-portfolio__item:first-of-type { border-top: 0; }
.rsh-portfolio__media {
  aspect-ratio: 5 / 4;
  background: var(--rsh-bege);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.45);
}
.rsh-portfolio__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.rsh-portfolio__tags li {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--rsh-linha);
  padding: 7px 12px;
  color: rgba(0, 0, 0, 0.65);
}
.rsh-signature {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rsh-dourado);
  margin-bottom: 14px;
}

/* Sobre */
.rsh-credentials { list-style: none; margin: 24px 0 0; padding: 0; columns: 2; column-gap: 32px; }
.rsh-credentials li { font-size: 15px; margin-bottom: 8px; padding-left: 18px; position: relative; break-inside: avoid; }
.rsh-credentials li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 1px; background: var(--rsh-dourado); }

.rsh-indicators { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rsh-indicators div { border-top: 1px solid var(--rsh-linha); padding-top: 18px; }
.rsh-indicators strong { display: block; font-family: var(--rsh-serif); font-size: 30px; color: var(--rsh-roxo); }
.rsh-indicators span { font-size: 13px; color: rgba(0, 0, 0, 0.6); }

/* Depoimentos */
.rsh-video {
  background: var(--rsh-preto);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--rsh-preto);
}
.rsh-video video { width: 100%; height: 100%; object-fit: cover; }
.rsh-person { margin-top: 24px; }
.rsh-person strong { display: block; font-family: var(--rsh-serif); font-size: 22px; }
.rsh-person span { font-size: 14px; color: rgba(0, 0, 0, 0.6); }

.rsh-records { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 64px; }
.rsh-record__media {
  aspect-ratio: 4 / 3;
  background: #e6ddd2;
  margin-bottom: 12px;
}
.rsh-record span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(0, 0, 0, 0.6); }

/* Empresas */
.rsh-areas { list-style: none; margin: 32px 0 0; padding: 0; }
.rsh-areas li { border-top: 1px solid var(--rsh-linha); padding: 18px 0; }
.rsh-areas strong { display: block; font-family: var(--rsh-serif); font-size: 20px; color: var(--rsh-roxo); margin-bottom: 4px; }
.rsh-areas p { margin: 0; font-size: 15px; color: rgba(0, 0, 0, 0.72); }

.rsh-formats { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.rsh-formats li {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--rsh-linha);
}

/* CTA final */
.rsh-cta-final { position: relative; overflow: hidden; text-align: center; }
.rsh-cta-final .rsh-container { position: relative; z-index: 1; }

/* ---------- Rodapé ---------- */
.rsh-footer { background: var(--rsh-preto); color: var(--rsh-offwhite); padding: 88px 0 32px; }
.rsh-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.rsh-footer h4 {
  font-family: var(--rsh-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rsh-dourado);
  margin-bottom: 20px;
}
.rsh-footer__brand { font-family: var(--rsh-serif); font-size: 26px; display: block; margin-bottom: 18px; }
.rsh-footer p { color: rgba(251, 249, 246, 0.72); font-size: 15px; }
.rsh-footer a { color: rgba(251, 249, 246, 0.86); }
.rsh-footer a:hover { color: var(--rsh-dourado); }
.rsh-footer__list { list-style: none; margin: 0; padding: 0; }
.rsh-footer__list li { margin-bottom: 10px; font-size: 15px; }
.rsh-footer__note { font-size: 13px; color: rgba(251, 249, 246, 0.5); }
.rsh-footer__social { display: flex; gap: 16px; margin-top: 12px; font-size: 13px; }
.rsh-footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(251, 249, 246, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.rsh-footer__bottom p { margin: 0; }
.rsh-footer__bottom .rsh-footer__list { display: flex; gap: 20px; }
.rsh-footer__bottom .rsh-footer__list li { margin: 0; font-size: 13px; }

/* ---------- Conteúdo padrão (blog/páginas) ---------- */
.rsh-page { padding: 80px 0 110px; }
.rsh-page__header { margin-bottom: 48px; }
.rsh-entry { max-width: 760px; }
.rsh-entry img { margin: 32px 0; }
.rsh-entry blockquote {
  border-left: 2px solid var(--rsh-dourado);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-family: var(--rsh-serif);
  font-size: 22px;
}
.rsh-archive__item { border-top: 1px solid var(--rsh-linha); padding: 36px 0; }
.rsh-archive__item h2 { font-size: 28px; }
.rsh-meta { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0, 0, 0, 0.55); }
.rsh-pagination { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.rsh-pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--rsh-linha); }
.rsh-pagination .current { background: var(--rsh-roxo); color: #fff; border-color: var(--rsh-roxo); }
.widget { margin-bottom: 40px; }
.widget-title { font-size: 20px; }

/* ---------- Animações ---------- */
.rsh-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s ease; }
.rsh-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .rsh-menu { display: none; }
  .rsh-burger { display: flex; }
  .rsh-header__actions .rsh-btn { display: none; }
  .rsh-mobile-nav { display: block; }
  .rsh-mobile-nav[hidden] { display: none; }
  .rsh-hero__grid,
  .rsh-split,
  .rsh-split--reverse { grid-template-columns: 1fr; gap: 40px; }
  .rsh-grid-3 { grid-template-columns: 1fr 1fr; }
  .rsh-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --rsh-gutter: 20px; }
  body { font-size: 16px; }
  .rsh-section { padding: 72px 0; }
  .rsh-hero { padding: 64px 0 72px; }
  .rsh-display { font-size: clamp(34px, 9vw, 44px); }
  .rsh-grid-3,
  .rsh-grid-2,
  .rsh-records,
  .rsh-indicators,
  .rsh-footer__grid { grid-template-columns: 1fr; }
  .rsh-credentials { columns: 1; }
  .rsh-path { padding: 32px 24px; }
  .rsh-quote { padding: 36px 24px; }
  .rsh-actions .rsh-btn { width: 100%; }
}
