/* ResultHub theme — layout, typography, brand (#9ef01a), dark mode */

:root {
  --rh-font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --rh-font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --rh-accent: #9ef01a;
  --rh-accent-hover: #b4ff3d;
  --rh-accent-dark: #72b20c;
  --rh-accent-dim: rgba(158, 240, 26, 0.14);
  --rh-accent-glow: rgba(158, 240, 26, 0.4);
  --rh-surface: #16161c;
  --rh-text: #e8e8e8;
  --rh-text-muted: #c2c2cc;
  --rh-section-y: clamp(4.5rem, 8vw, 7.5rem);
  --rh-section-y-sm: clamp(3rem, 6vw, 5rem);

  /*
   * RH TYPE SCALE — px (style.css usa html { font-size: 10px })
   * Preferir px para tipografia até style.css ser substituído.
   */
  --rh-text-caption: 14px;
  --rh-text-sm: 15px;
  --rh-text-base: 17px;
  --rh-text-md: 18px;
  --rh-text-lg: 20px;
  --rh-text-xl: 22px;
  --rh-text-2xl: clamp(24px, 2.5vw, 30px);
  --rh-text-3xl: clamp(28px, 3vw, 36px);
  --rh-text-display: clamp(32px, 4.5vw, 52px);
  --rh-text-display-hero: clamp(34px, 5vw, 56px);

  --rh-text-xs: var(--rh-text-caption);

  --rh-leading-tight: 1.25;
  --rh-leading-snug: 1.45;
  --rh-leading-body: 1.65;
  --rh-leading-relaxed: 1.75;

  --rh-measure: 672px;
  --rh-measure-narrow: 576px;

  /* Botões — px */
  --rh-btn-font-sm: 15px;
  --rh-btn-font-md: 17px;
  --rh-btn-font-lg: 18px;
  --rh-btn-height-sm: 42px;
  --rh-btn-height-md: 48px;
  --rh-btn-height-lg: 56px;
  --rh-btn-pad-x-sm: 1rem;
  --rh-btn-pad-x-md: 1.5rem;
  --rh-btn-pad-x-lg: 2rem;

  /* Brand tokens — ResultHub (#9ef01a) */
  --color-primary: #9ef01a;
  --color-primary-alt: #9ef01a;
  --color-primary-light: #b4ff3d;
  --color-primary-lightest: #d4ff8a;
  --color-secondary: #9ef01a;
  --color-tertiary: #72b20c;
  --color-tertiary-alt: #72b20c;
  --color-pink: #9ef01a;
  --color-pink-darker: #72b20c;
  --color-light-green: #9ef01a;
  --color-secondary-darker: #5a9109;
  --color-primary-rgba: rgba(158, 240, 26, 0.85);
  --color-primary-rgba-2: rgba(158, 240, 26, 0.15);
  --shadow-primary: 0 8px 24px rgba(158, 240, 26, 0.35);

  /* Body tokens — RH type scale */
  --font-size-b1: 17px;
  --font-size-b2: 16px;
  --font-size-b3: 15px;
  --font-size-b4: 14px;
  --color-body: #c2c2cc;
}

/* Typography root — corrige html { font-size: 10px } do style.css */
html {
  font-size: 16px !important;
}

body {
  font-family: var(--rh-font-body) !important;
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text) !important;
}

h1, h2, h3, h4, h5, h6,
.title,
.display-two,
.rh-bento__title {
  font-family: var(--rh-font-display) !important;
}

/* ---- Accent text: solid green (#9ef01a). NO background-clip:text — causes green blocks ---- */
.theme-gradient,
span.theme-gradient,
.title .theme-gradient,
.subtitle .theme-gradient,
.subtitle .theme-gradient span,
.display-two .theme-gradient,
.display-two .header-caption .theme-gradient,
.header-caption .theme-gradient,
.cd-words-wrapper b.theme-gradient,
h1 .theme-gradient,
h2 .theme-gradient,
h1.theme-gradient,
h2.title .theme-gradient,
h1.title .theme-gradient,
p.theme-gradient,
.counter-style-1 .count-number {
  color: var(--rh-accent) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  text-transform: inherit;
}

.rh-section-label,
.rh-section-label.theme-gradient,
.section-title .rh-section-label {
  text-transform: uppercase;
}

/* Hero rotating headline — readable green words, no background box */
.rh-hero-premium .cd-words-wrapper b.theme-gradient {
  color: var(--rh-accent) !important;
  -webkit-text-fill-color: var(--rh-accent) !important;
  background: none !important;
  opacity: 1;
}

.rh-hero-premium .cd-words-wrapper b.theme-gradient.is-hidden {
  opacity: 0;
}

.rh-hero-premium .title.display-two {
  color: #fff;
}

.rh-hero-premium .title.display-two .theme-gradient {
  font-weight: inherit;
}

.bg-primary-gradient,
.bg-theme-gradient {
  background: var(--rh-accent) !important;
  background-image: none !important;
}

.rainbow-gradient-circle {
  display: none !important;
}

.theme-shape::before,
.theme-shape::after {
  background-image: linear-gradient(45deg, rgba(158, 240, 26, 0.2), rgba(114, 178, 12, 0.12)) !important;
}

.cd-headline.clip .cd-words-wrapper::after {
  background-color: var(--rh-accent) !important;
}

/* ---- Base rhythm ---- */
.rh-section {
  padding-top: var(--rh-section-y);
  padding-bottom: var(--rh-section-y);
}

.rh-section-sm {
  padding-top: var(--rh-section-y-sm);
  padding-bottom: var(--rh-section-y-sm);
}

.page-wrapper section + section.rh-tight-top {
  padding-top: 0;
}

/* Ensure section gaps are not collapsed */
.rainbow-section-gap {
  padding-top: var(--rh-section-y) !important;
  padding-bottom: var(--rh-section-y) !important;
}

.rainbow-section-gapBottom {
  padding-bottom: var(--rh-section-y) !important;
}

.rainbow-section-gapTop {
  padding-top: var(--rh-section-y) !important;
}

@media (max-width: 767px) {
  .rainbow-section-gap,
  .rh-section {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
  }
}

/* ---- Typography hierarchy ---- */
.section-title.text-center {
  text-align: center;
}

.section-title .title,
.section-title h2.title {
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-title.text-center .title {
  margin-bottom: 0.75rem;
}

.section-title .description,
.section-title .description.b1,
.section-title.text-center .rh-lead {
  max-width: var(--rh-measure-narrow);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: var(--rh-text-md);
  line-height: var(--rh-leading-body);
  color: var(--rh-text-muted);
}

.rh-section-label {
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: var(--rh-text-caption);
  font-weight: 600;
  line-height: var(--rh-leading-snug);
  margin-bottom: 0.75rem;
  color: var(--rh-accent);
}

.section-title.text-center .rh-section-label {
  margin-left: auto;
  margin-right: auto;
}

.rh-lead {
  font-size: var(--rh-text-md);
  line-height: var(--rh-leading-body);
  color: var(--rh-text-muted);
  max-width: var(--rh-measure-narrow);
}

.rh-card-premium .title,
.rh-card-premium h2,
.rh-card-premium h3 {
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.rh-card-premium p,
.rh-card-premium .description {
  color: var(--rh-text-muted);
  line-height: var(--rh-leading-body);
  margin-bottom: 0;
  font-size: var(--rh-text-base);
}

/* ---- Hero (slider-area layout) ---- */
.rh-hero-premium {
  position: relative;
  overflow: hidden;
}

.rh-hero-premium:not(.height-850):not(.height-650) {
  padding-top: clamp(6rem, 12vw, 9rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.rh-hero-premium .container {
  position: relative;
  z-index: 2;
  width: 100%;
  flex-shrink: 0;
}

.rh-hero-premium .container .row,
.rh-hero-premium .container [class*="col-"] {
  width: 100%;
  max-width: 100%;
}

.rh-hero-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, var(--rh-accent-dim), transparent 65%),
    radial-gradient(ellipse 35% 25% at 85% 70%, rgba(158, 240, 26, 0.06), transparent);
  pointer-events: none;
  z-index: 0;
}

.rh-hero-premium .inner {
  position: relative;
  z-index: 1;
  padding-top: 1rem;
  padding-bottom: 1rem;
  width: 100%;
  max-width: 100%;
}

/* Inline-block title — can shrink parent in flex contexts */
.rh-hero-premium.slider-style-1 .inner .title {
  display: block;
  width: 100%;
}

.rh-hero-premium .title.display-two {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.rh-hero-premium .header-caption {
  display: block;
  margin-top: 0.35rem;
  width: 100%;
}

.rh-hero-premium .header-caption .cd-headline,
.rh-hero-premium .header-caption .cd-words-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
}

.rh-hero-premium .description {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0.25rem;
  margin-bottom: 2rem;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

/* Simple heroes (sobre, blog, serviços…) — no animated subline */
.rh-hero-premium .inner .description:only-of-type,
.rh-hero-premium .inner > .description {
  max-width: 44rem;
}

/* Override slider-style-1 percentage padding */
.slider-style-1.rh-hero-premium .inner .description {
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
}

@media (max-width: 767px) {
  .rh-hero-premium .description {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  .rh-hero-premium .title.display-two {
    margin-bottom: 1.25rem;
  }
}

.rh-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--rh-accent-glow);
  background: var(--rh-accent-dim);
  font-size: var(--rh-text-caption);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rh-accent);
  margin-bottom: 1.75rem;
}

.rh-hero-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rh-accent);
  flex-shrink: 0;
}

/* ---- Buttons (legibility + brand) ---- */
a.btn-default:not(.btn-border),
button.btn-default:not(.btn-border),
div.btn-default:not(.btn-border) {
  background: var(--rh-accent) !important;
  background-image: none !important;
  color: #0a0a0c !important;
  border-color: var(--rh-accent) !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  height: auto !important;
  min-height: 3rem;
  line-height: 1.3 !important;
  padding: 0.85rem 1.75rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

a.btn-default:not(.btn-border):hover,
button.btn-default:not(.btn-border):hover,
div.btn-default:not(.btn-border):hover {
  background: var(--rh-accent-hover) !important;
  background-image: none !important;
  border-color: var(--rh-accent-hover) !important;
  color: #0a0a0c !important;
  box-shadow: 0 8px 24px var(--rh-accent-glow) !important;
  filter: none !important;
  -webkit-filter: none !important;
  transform: translateY(-1px);
}

a.btn-default.btn-small:not(.btn-border),
button.btn-default.btn-small:not(.btn-border) {
  min-height: 2.625rem;
  padding: 0.65rem 1.25rem !important;
  font-size: var(--rh-btn-font-sm) !important;
  line-height: 1.3 !important;
}

a.btn-default.btn-medium:not(.btn-border),
button.btn-default.btn-medium:not(.btn-border) {
  min-height: 3.25rem;
  padding: 0.9rem 2rem !important;
  line-height: 1.3 !important;
}

a.btn-default.btn-large:not(.btn-border),
button.btn-default.btn-large:not(.btn-border) {
  min-height: 3.5rem;
  padding: 1rem 2.25rem !important;
  line-height: 1.3 !important;
}

.btn-default.btn-rh-primary,
a.btn-default.btn-rh-primary,
button.btn-default.btn-rh-primary {
  font-weight: 700 !important;
  font-size: var(--rh-btn-font-md) !important;
  letter-spacing: 0.02em;
}

.btn-default.btn-rh-primary.btn-small {
  min-height: 2.625rem;
  padding: 0.65rem 1.25rem !important;
  font-size: var(--rh-btn-font-sm) !important;
}

a.btn-default.btn-border:hover,
button.btn-default.btn-border:hover,
div.btn-default.btn-border:hover {
  background: var(--rh-accent-dim) !important;
  background-image: none !important;
  border-color: var(--rh-accent) !important;
  color: var(--rh-accent) !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

.slider-area .inner a.btn-default.btn-border,
.slider-area .inner .btn-default.btn-border {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  background-image: none !important;
  min-height: 3rem;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 0.85rem 1.75rem !important;
  font-weight: 600 !important;
}

.slider-area .inner a.btn-default.btn-border:hover {
  border-color: var(--rh-accent) !important;
  color: var(--rh-accent) !important;
  background: var(--rh-accent-dim) !important;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 0 !important;
}

.button-group a,
.button-group button {
  margin: 0 !important;
}

@media (max-width: 575px) {
  .button-group {
    flex-direction: column;
    width: 100%;
  }
  .button-group a,
  .button-group .btn-default {
    width: 100%;
    max-width: 20rem;
  }
}

.btn-read-more {
  color: var(--rh-accent) !important;
  font-weight: 600;
  font-size: var(--rh-text-sm);
}

.btn-read-more span {
  color: inherit !important;
}

.page-wrapper .btn-default.btn-border {
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  background: transparent !important;
  background-image: none !important;
}

/* ---- Cards ---- */
.rh-card-premium {
  background: var(--rh-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.rh-card-premium:hover {
  border-color: var(--rh-accent-glow);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(-4px);
}

.rh-card-premium .icon {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--rh-accent-dim);
  color: var(--rh-accent);
  font-size: 22px;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.rh-card-premium .btn-read-more {
  margin-top: auto;
  padding-top: 1.25rem;
}

.rh-card-premium ul:not(.list-style--1) {
  color: var(--rh-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
  padding-left: 1.15rem;
}

/* Checkmark lists — one marker only (icon, no default bullet) */
ul.list-style--1 {
  list-style: none !important;
  padding: 0 !important;
  margin: 0;
}

ul.list-style--1 li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--rh-text-muted);
  line-height: 1.65;
  padding-left: 0;
}

ul.list-style--1 li:last-child {
  margin-bottom: 0;
}

ul.list-style--1 li i,
ul.list-style--1 li svg {
  flex-shrink: 0;
  color: var(--rh-accent);
  margin-top: 0.2em;
  width: 1.125rem;
  height: 1.125rem;
}

.rh-card-premium ul.list-style--1 {
  padding-left: 0 !important;
  margin-top: 0;
}

.rh-card-premium .title a {
  color: #fff;
  text-decoration: none;
}

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

/* Centered cards — icon inline with title */
.rh-card-premium.text-center {
  align-items: center;
  text-align: center;
}

.rh-card-premium.text-center .rh-card-head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  max-width: 100%;
}

.rh-card-premium.text-center .rh-card-head .icon {
  margin-bottom: 0;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 18px;
  flex-shrink: 0;
}

.rh-card-premium.text-center .rh-card-head .title {
  margin-bottom: 0;
  text-align: left;
  line-height: 1.3;
}

.rh-card-premium.text-center .description {
  max-width: 18rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 575px) {
  .rh-card-premium.text-center .rh-card-head {
    flex-direction: column;
    gap: 0.5rem;
  }

  .rh-card-premium.text-center .rh-card-head .title {
    text-align: center;
  }
}

/* ---- Stats ---- */
.rh-stats-strip {
  padding-top: var(--rh-section-y-sm);
  padding-bottom: var(--rh-section-y-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(15, 15, 17, 0.6);
}

.rh-stats-strip .row {
  row-gap: 1.5rem;
  align-items: stretch;
}

.rh-stats-strip .count-box {
  padding: 1.25rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

/* Circle counters (home) — counter-style-2 */
.rh-stats-strip .count-box.counter-style-2 {
  margin-top: 0 !important;
}

.rh-stats-strip .count-box.counter-style-2 .count-number {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.05em;
  box-sizing: border-box !important;
  width: 7.5rem !important;
  height: 7.5rem !important;
  min-width: 7.5rem !important;
  max-width: 7.5rem !important;
  margin: 0 auto 1rem !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  background-image: none !important;
  line-height: 1 !important;
  font-size: clamp(28px, 3vw, 34px) !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-align: center !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
}

.rh-stats-strip .count-box.counter-style-2 .count-number .counter,
.rh-stats-strip .count-box.counter-style-2 .count-number .symbol {
  display: inline !important;
  line-height: 1 !important;
  vertical-align: baseline !important;
  float: none !important;
  position: static !important;
}

.rh-stats-strip .count-box.counter-style-2 .count-number .counter {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.rh-stats-strip .count-box.counter-style-2 .count-number .symbol {
  color: var(--rh-accent) !important;
  -webkit-text-fill-color: var(--rh-accent) !important;
}

.rh-stats-strip .count-box.counter-style-2 .description,
.rh-stats-strip .count-box.counter-style-2.text-center .description {
  padding: 0 0.25rem !important;
  margin: 0 auto !important;
  max-width: 11.5rem;
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-snug) !important;
  text-align: center !important;
  color: var(--rh-text-muted) !important;
}

/* Inline stats (sobre sidebar) — no circles */
.rh-stats-strip.rh-stats-inline .count-box > .count-number,
.rh-stats-strip .count-box:not(.counter-style-2) > .count-number {
  display: block;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--rh-accent);
  margin-bottom: 0.5rem;
  -webkit-text-fill-color: var(--rh-accent);
}

.rh-stats-strip.rh-stats-inline .count-box > .count-number .symbol,
.rh-stats-strip .count-box:not(.counter-style-2) > .count-number .symbol {
  color: var(--rh-accent);
  -webkit-text-fill-color: var(--rh-accent);
}

.rh-stats-strip.rh-stats-inline .description,
.rh-stats-strip .count-box:not(.counter-style-2) .description {
  font-size: var(--rh-text-sm);
  line-height: var(--rh-leading-snug);
  color: var(--rh-text-muted);
  margin: 0;
  text-align: center;
}

/* ---- Diff band ---- */
.rh-diff-band {
  background: var(--rh-surface);
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 1.5rem;
}

.rh-diff-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.rh-diff-item:last-child {
  margin-bottom: 0;
}

.rh-diff-item strong {
  display: block;
  color: #fff;
  margin-bottom: 0.35rem;
}

.rh-diff-item p {
  color: var(--rh-text-muted);
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
}

.rh-diff-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: var(--rh-accent);
  color: #0a0a0c;
  font-weight: 800;
  font-size: var(--rh-text-caption);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Steps ---- */
.rh-step-card {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2rem) 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--rh-surface);
  height: 100%;
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .rh-step-card {
    margin-bottom: 0;
  }
}

.rh-step-num {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--rh-accent);
  opacity: 0.35;
  margin-bottom: 0.75rem;
}

.rh-step-card .title {
  margin-bottom: 0.5rem;
}

.rh-step-card .description {
  color: var(--rh-text-muted);
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
}

/* ---- Project / blog cards ---- */
.rh-project-card.rainbow-card .inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.rh-project-card .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
}

.rh-project-card .title {
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.rh-project-card .title a {
  color: #fff;
}

.rh-project-card .description {
  color: var(--rh-text-muted);
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
}

.rh-project-card .thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* ---- CTA ---- */
.rh-cta-glow {
  padding-top: var(--rh-section-y-sm);
  padding-bottom: var(--rh-section-y-sm);
}

.rh-cta-glow .inner {
  padding: clamp(2rem, 5vw, 3.5rem) 1.5rem;
}

.rh-cta-glow .title {
  margin-bottom: 1rem;
}

.rh-cta-glow .subtitle {
  color: var(--rh-text-muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

/* ---- Accordion readability ---- */
.rainbow-accordion-style .accordion-button {
  font-weight: 600;
  line-height: 1.45;
  padding: 1.1rem 1.25rem;
}

.rainbow-accordion-style .accordion-body {
  color: var(--rh-text-muted);
  line-height: 1.65;
  padding: 1rem 1.25rem 1.25rem;
}

/* ---- Header tweaks ---- */
@media (min-width: 992px) and (max-width: 1199px) {
  .mainmenu > li > a {
    padding-left: 10px;
    padding-right: 10px;
    font-size: var(--rh-text-sm);
  }
}

.header-btn .btn-rh-primary.btn-small {
  white-space: nowrap;
}

/* ---- Footer spacing ---- */
.rainbow-footer .footer-top {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.rainbow-footer .clltoaction-style-default.style-7 .logo a {
  display: inline-block;
  line-height: 1;
}

.rainbow-footer .clltoaction-style-default.style-7 .logo a img {
  max-height: 2.375rem;
  width: auto;
  height: auto;
  max-width: 11rem;
}

.rainbow-footer .clltoaction-style-default.style-7 .content .subtitle {
  margin-top: 0.75rem;
  font-size: var(--rh-text-base);
  line-height: 1.55;
  max-width: 28rem;
}

@media (max-width: 767px) {
  .rainbow-footer .clltoaction-style-default.style-7 .logo a img {
    max-height: 2.125rem;
    max-width: 10rem;
  }
}

/* ---- Grid row gaps ---- */
.service-wrapper.row,
.row.row--15 {
  row-gap: 1.5rem;
}

.row.row--30 {
  row-gap: 2rem;
}

/* ---- Blog article pages ---- */
.rainbow-blog-details-area .content p {
  line-height: 1.75;
  margin-bottom: 1.25rem;
  color: var(--rh-text-muted);
}

.rainbow-blog-details-area .content h4 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

/* ---- Contact map responsive ---- */
.google-map-style-1 iframe {
  width: 100%;
  min-height: 280px;
  border-radius: 0.75rem;
}

@media (min-width: 992px) {
  .google-map-style-1 iframe {
    min-height: 420px;
  }
}

/* ---- Global text flow (prevent vertical word stacking) ---- */
.page-wrapper p,
.page-wrapper .description,
.page-wrapper .rh-lead,
.page-wrapper .subtitle {
  white-space: normal !important;
  word-break: normal;
  overflow-wrap: break-word;
}

.page-wrapper .section-title .description.b1 {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .rh-card-premium:hover,
  .rh-step-card:hover {
    transform: none;
  }
}

/* ---- Hero layout: full-width, vertically centered (no flex collapse) ---- */
.slider-area.height-850.rh-hero-premium {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.slider-area.height-850.rh-hero-premium > .container {
  display: block !important;
  width: 100% !important;
  flex: none !important;
  flex-shrink: 0 !important;
  height: auto !important;
  min-width: 0;
}

@media (max-width: 991px) {
  .slider-area.height-850.rh-hero-premium {
    justify-content: flex-start !important;
    padding-top: 5rem;
    padding-bottom: 3rem;
  }
}

/* ---- Secondary / outline buttons (legibility) ---- */
.btn-default.btn-border,
a.btn-default.btn-border {
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
  background-image: none !important;
  min-height: 3rem;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 0.85rem 1.75rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.btn-default.btn-border:hover,
a.btn-default.btn-border:hover {
  border-color: var(--rh-accent) !important;
  color: var(--rh-accent) !important;
  background: var(--rh-accent-dim) !important;
}

.read-more-btn .btn-default:not(.btn-rh-primary),
.rainbow-company-mission-area .btn-default:not(.btn-rh-primary):not(.btn-border) {
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
  background-image: none !important;
  min-height: 3rem;
  height: auto !important;
  padding: 0.85rem 1.5rem !important;
  font-weight: 600 !important;
}

.read-more-btn .btn-default:not(.btn-rh-primary):hover,
.rainbow-company-mission-area .btn-default:not(.btn-rh-primary):not(.btn-border):hover {
  border-color: var(--rh-accent) !important;
  color: var(--rh-accent) !important;
  background: var(--rh-accent-dim) !important;
}

/* ---- Contact cards ---- */
.rainbow-address.rh-card-premium {
  text-align: left;
}

.rainbow-address.rh-card-premium .icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--rh-accent-dim);
  color: var(--rh-accent);
  font-size: 20px;
  margin-bottom: 1rem;
}

.rainbow-address.rh-card-premium .title {
  margin-bottom: 0.5rem;
  color: #fff;
}

.rainbow-address.rh-card-premium p,
.rainbow-address.rh-card-premium a:not(.btn-default) {
  color: var(--rh-text-muted);
  word-break: break-word;
}

.rainbow-address.rh-card-premium a:not(.btn-default):hover {
  color: var(--rh-accent);
}

/* ---- Stats mobile gaps ---- */
.rh-stats-strip .row > [class*="col-"] {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .rh-stats-strip .row > [class*="col-"]:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}

/* ---- Section title spacing ---- */
.section-title.mb--40,
.section-title.mb--50 {
  margin-bottom: clamp(2rem, 4vw, 3rem) !important;
}

/* ---- Blog grid ---- */
.blog-area .row.row--15 > [class*="col-"],
.rainbow-blog-area .row.row--15 > [class*="col-"] {
  margin-top: 0 !important;
}

.rainbow-blog-area .row.mt_dec--30 {
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .rainbow-blog-area .row.row--15 {
    row-gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .blog-area .row.row--15 > [class*="col-"]:not(:last-child),
  .rainbow-blog-area .row.row--15 > [class*="col-"]:not(:last-child) {
    margin-bottom: 1.5rem;
  }
}

/* ---- Separator breathing room ---- */
.rbt-separator-mid {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* ---- Tablet service grid ---- */
@media (min-width: 768px) and (max-width: 991px) {
  .rainbow-service-area .col-lg-4.col-md-6,
  .rainbow-service-area .col-lg-4.col-12 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/* ---- Compact hero (inner pages: serviços, blog…) ---- */
.slider-area.rh-hero-compact {
  height: auto !important;
  min-height: 0 !important;
  padding-top: clamp(6.5rem, 12vw, 8.5rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.slider-area.rh-hero-compact.rh-hero-premium .container {
  display: block !important;
}

.slider-area.rh-hero-compact .description {
  margin-bottom: 1.75rem !important;
}

.rh-services-main {
  padding-top: clamp(2rem, 4vw, 3rem) !important;
}

.rh-service-card ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.rh-service-card ul li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--rh-text-muted);
  font-size: var(--rh-text-sm);
  line-height: 1.55;
}

.rh-service-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--rh-accent);
}

.rh-service-card ul li:last-child {
  margin-bottom: 0;
}

.rh-contact-page {
  padding-top: clamp(3rem, 6vw, 5rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.rh-contact-cards {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem) !important;
}

.rh-contact-page .rainbow-address.rh-card-premium {
  margin-top: 0;
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.5rem);
  background: var(--rh-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  box-shadow: none;
  transform: none;
  min-height: 100%;
}

.rh-contact-page .rainbow-address.rh-card-premium:hover {
  transform: none;
  border-color: var(--rh-accent-glow);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.rh-contact-page .rainbow-address .icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--rh-accent-dim);
  color: var(--rh-accent);
  font-size: 20px;
  line-height: 1;
  margin-bottom: 1rem;
}

.rh-contact-page .rainbow-address .inner .title {
  margin-bottom: 0.5rem;
}

.rh-contact-page .rainbow-address .inner p {
  margin-bottom: 0;
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
}

.rh-contact-page .rainbow-address .btn-default {
  margin-top: 0.25rem;
}

.rh-contact-form-wrap .title {
  color: #fff;
  margin-bottom: 0.35rem;
}

.rh-contact-form-hint {
  color: var(--rh-text-muted);
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
  margin-bottom: 1.25rem;
}

.rh-form-label {
  display: block;
  font-size: var(--rh-text-sm);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(232, 232, 232, 0.9);
  margin-bottom: 0.4rem;
}

.rh-contact-form-wrap .contact-form-1 .form-group {
  margin-bottom: 0;
}

.rh-contact-form-wrap .contact-form-1 input,
.rh-contact-form-wrap .contact-form-1 textarea,
.contact-form-1 .form-group input,
.contact-form-1 .form-group textarea {
  width: 100%;
  height: 2.75rem !important;
  min-height: 2.75rem !important;
  padding: 0.5rem 0.875rem !important;
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-snug);
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 0.5rem !important;
  background: rgba(0, 0, 0, 0.28) !important;
  color: #fff !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rh-contact-form-wrap .contact-form-1 textarea,
.contact-form-1 .form-group textarea {
  height: auto !important;
  min-height: 6.5rem !important;
  max-height: 10rem;
  padding: 0.65rem 0.875rem !important;
  resize: vertical;
}

.rh-contact-form-wrap .contact-form-1 input:focus,
.rh-contact-form-wrap .contact-form-1 textarea:focus,
.contact-form-1 .form-group input:focus,
.contact-form-1 .form-group textarea:focus {
  border-color: var(--rh-accent) !important;
  outline: none;
  box-shadow: 0 0 0 3px var(--rh-accent-dim);
}

.rh-contact-form-wrap .contact-form-1 input::placeholder,
.rh-contact-form-wrap .contact-form-1 textarea::placeholder {
  color: rgba(194, 194, 204, 0.75);
}

.rh-form-consent {
  display: flex;
  gap: 0.625rem;
  align-items: flex-start;
  font-size: var(--rh-text-sm);
  line-height: var(--rh-leading-body);
  color: var(--rh-text-muted);
  cursor: pointer;
}

.rh-form-consent input {
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--rh-accent);
}

.rh-form-consent a {
  color: var(--rh-accent);
  text-decoration: underline;
}

.page-wrapper .error-msg,
.page-wrapper .success-msg {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-snug);
}

.page-wrapper .error-msg {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.page-wrapper .success-msg {
  background: var(--rh-accent-dim);
  border: 1px solid rgba(158, 240, 26, 0.35);
  color: var(--rh-accent);
}

.rh-contact-form-wrap .contact-form-1 .btn-default {
  margin-top: 0.25rem;
}

.rh-contact-steps .title {
  color: #fff;
}

.rh-contact-steps .rh-diff-item {
  margin-bottom: 1.25rem;
}

.rh-contact-steps .rh-diff-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .rh-contact-form-wrap {
    margin-bottom: 0.5rem;
  }
}

/* ============================================================
   POLISH — usability, a11y, interaction (site-wide)
   ============================================================ */

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Skip link (shadcn-style focus ring) */
.rh-skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--rh-accent);
  color: #0a0a0c;
  font-size: var(--rh-text-caption);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rh-skip-link:focus {
  transform: translateY(0);
  outline: none;
  box-shadow: 0 0 0 3px var(--rh-accent-dim), 0 0 0 5px var(--rh-accent);
}

/* Global focus-visible ring */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px #0f0f11, 0 0 0 4px var(--rh-accent);
}

.btn-default:focus-visible,
.btn-read-more:focus-visible {
  box-shadow: 0 0 0 2px #0f0f11, 0 0 0 4px var(--rh-accent) !important;
}

a.btn-default:active:not(.btn-border),
button.btn-default:active:not(.btn-border) {
  transform: translateY(0);
  background: var(--rh-accent-dark) !important;
  border-color: var(--rh-accent-dark) !important;
}

/* Typography polish */
h1,
h2,
h3,
.display-two,
.section-title .title {
  text-wrap: balance;
}

.page-wrapper p,
.rh-lead,
.rainbow-blog-details-area .content p {
  text-wrap: pretty;
}

/* Touch targets */
.hamberger-button,
.popup-mobile-menu .close-button,
.rainbow-back-top {
  min-width: 2.75rem;
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.popup-mobile-menu .mainmenu > li > a {
  display: block;
  padding: 0.875rem 0;
  min-height: 2.75rem;
  line-height: 1.4;
  font-size: var(--rh-text-base);
}

/* Active nav link */
.mainmenu > li > a.active {
  color: var(--rh-accent) !important;
}

.mainmenu li.has-menu-child-item.menu-item-open > a {
  color: var(--rh-accent);
}

/* Inner pages: tighter flow after compact hero */
.slider-area.rh-hero-compact + section,
.slider-area.rh-hero-compact + .main-content,
.slider-area.rh-hero-compact + div > section {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
}

.rainbow-blog-area.rh-after-compact-hero {
  padding-top: clamp(2rem, 4vw, 3rem) !important;
}

/* Inline stats (sobre page) — handled in Stats section above */

/* Card links — larger hit area */
.rh-card-premium .title a,
.rh-project-card .title a {
  text-decoration: none;
}

.rh-card-premium .title a:focus-visible,
.rh-project-card .title a:focus-visible,
.btn-read-more:focus-visible {
  border-radius: 0.25rem;
}

/* Blog meta links */
.rainbow-meta-list a {
  color: var(--rh-text-muted);
  text-decoration: none;
}

.rainbow-meta-list a:hover,
.rainbow-meta-list a:focus-visible {
  color: var(--rh-accent);
}

/* Footer links */
.footer-link a,
.ft-menu a {
  display: inline-block;
  padding: 0.25rem 0;
  min-height: 2.75rem;
  line-height: 1.5;
}

/* Back to top visibility */
.rainbow-back-top {
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reduce card hover motion on touch */
@media (hover: none) {
  .rh-card-premium:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.08);
  }
}

/* Section label — voice without repeating uppercase scaffold everywhere */
.rh-section-label.theme-gradient {
  color: var(--rh-accent) !important;
  background: none !important;
}

/* Legal / prose pages */
.rainbow-pricing-table-area .content p,
.rainbow-pricing-table-area .content li {
  color: var(--rh-text-muted);
  line-height: 1.75;
  max-width: 65ch;
}

/* Form error state hook */
.rh-field-error input,
.rh-field-error textarea {
  border-color: #f87171 !important;
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.2) !important;
}

.rh-field-error .rh-form-label {
  color: #fca5a5;
}

/* ============================================================
   RH DESIGN SYSTEM — typography + buttons
   ============================================================ */

/* ---- Headlines ---- */
.page-wrapper .display-two,
.page-wrapper h1.title.display-two {
  font-size: var(--rh-text-display-hero) !important;
  letter-spacing: -0.03em;
  line-height: 1.12 !important;
  font-weight: 700;
}

.page-wrapper .rh-hero-compact .display-two {
  font-size: var(--rh-text-display) !important;
}

.page-wrapper .section-title h2.title,
.page-wrapper .section-title .title.w-600,
.page-wrapper h2.title.w-600 {
  font-size: var(--rh-text-3xl) !important;
  font-weight: 700;
  line-height: 1.2 !important;
  color: #fff;
}

.page-wrapper h2.title.h3,
.page-wrapper h2.title.h3 {
  font-size: var(--rh-text-2xl) !important;
  line-height: 1.25 !important;
}

.page-wrapper h3.title.h4,
.page-wrapper .rh-card-premium h3.title.h4,
.page-wrapper .rh-card-premium h4.title {
  font-size: var(--rh-text-lg) !important;
  font-weight: 600;
  line-height: 1.35 !important;
}

.page-wrapper h5.title,
.page-wrapper h5 {
  font-size: var(--rh-text-base) !important;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.page-wrapper .rainbow-about-area h2.title,
.page-wrapper h2.title:not(.display-two):not(.h3) {
  font-size: var(--rh-text-3xl) !important;
  line-height: 1.2 !important;
}

/* Rotating headline — inherit hero scale */
.page-wrapper .rh-hero-premium .cd-headline {
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
}

.page-wrapper .rh-hero-premium .header-caption {
  font-size: inherit;
}

.page-wrapper .rh-hero-premium .cd-words-wrapper b {
  font-size: inherit !important;
  font-weight: inherit !important;
}

/* Hero body copy — proportional to title */
.page-wrapper .rh-hero-premium.height-850 .description {
  font-size: clamp(18px, 2.4vw, 23px) !important;
  line-height: 1.7 !important;
  max-width: 672px;
  color: rgba(232, 232, 232, 0.92) !important;
  margin-bottom: 2.25rem !important;
}

.page-wrapper .rh-hero-compact .description,
.page-wrapper .rh-hero-premium:not(.height-850) .inner > .description {
  font-size: clamp(17px, 2vw, 20px) !important;
  line-height: var(--rh-leading-body) !important;
  margin-bottom: 1.75rem !important;
}

@media (max-width: 767px) {
  .page-wrapper .rh-hero-premium.height-850 .description {
    font-size: 18px !important;
    line-height: var(--rh-leading-body) !important;
  }

  .page-wrapper .rh-hero-compact .description,
  .page-wrapper .rh-hero-premium:not(.height-850) .inner > .description {
    font-size: 17px !important;
  }
}

.page-wrapper .rh-lead {
  font-size: var(--rh-text-md) !important;
  line-height: var(--rh-leading-body) !important;
}

.page-wrapper .rh-card-premium p,
.page-wrapper .rh-card-premium .description {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text-muted) !important;
}

/* ---- Badges ---- */
.page-wrapper .rainbow-badge-card {
  font-size: var(--rh-text-xs) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  padding: 0.3rem 0.75rem !important;
  background: var(--rh-accent-dim) !important;
  border: 1px solid rgba(158, 240, 26, 0.35) !important;
  color: var(--rh-accent) !important;
}

.page-wrapper .rainbow-badge-card::before {
  display: none !important;
}

/* ---- Buttons: unified 3-tier scale ---- */
.page-wrapper a.btn-default,
.page-wrapper button.btn-default,
.page-wrapper div.btn-default {
  font-size: var(--rh-btn-font-md) !important;
  font-weight: 600 !important;
  min-height: var(--rh-btn-height-md) !important;
  height: auto !important;
  line-height: 1.3 !important;
  padding: 0.75rem var(--rh-btn-pad-x-md) !important;
  letter-spacing: 0.01em !important;
}

.page-wrapper a.btn-default.btn-small,
.page-wrapper button.btn-default.btn-small,
.page-wrapper div.btn-default.btn-small,
.header-default a.btn-default.btn-small,
.header-default button.btn-default.btn-small {
  font-size: var(--rh-btn-font-sm) !important;
  min-height: var(--rh-btn-height-sm) !important;
  padding: 0.625rem var(--rh-btn-pad-x-sm) !important;
}

.page-wrapper a.btn-default.btn-medium,
.page-wrapper button.btn-default.btn-medium,
.page-wrapper div.btn-default.btn-medium {
  font-size: var(--rh-btn-font-lg) !important;
  min-height: var(--rh-btn-height-lg) !important;
  padding: 0.8125rem var(--rh-btn-pad-x-lg) !important;
}

.page-wrapper a.btn-default.btn-large,
.page-wrapper button.btn-default.btn-large {
  font-size: var(--rh-btn-font-lg) !important;
  min-height: var(--rh-btn-height-lg) !important;
  padding: 0.8125rem var(--rh-btn-pad-x-lg) !important;
}

.page-wrapper .btn-default.btn-rh-primary,
.page-wrapper a.btn-default.btn-rh-primary,
.page-wrapper button.btn-default.btn-rh-primary {
  font-size: var(--rh-btn-font-md) !important;
  font-weight: 700 !important;
}

.page-wrapper .btn-default.btn-rh-primary.btn-small {
  font-size: var(--rh-btn-font-sm) !important;
}

.page-wrapper .btn-default.btn-rh-primary.btn-medium {
  font-size: var(--rh-btn-font-lg) !important;
  min-height: var(--rh-btn-height-lg) !important;
  padding: 0.9375rem var(--rh-btn-pad-x-lg) !important;
}

/* Header CTA buttons on mobile */
@media (max-width: 767px) {
  .header-default a.btn-default,
  .header-default a.btn-default.btn-small,
  .header-default button.btn-default,
  .header-default button.btn-default.btn-small {
    font-size: var(--rh-btn-font-sm) !important;
    min-height: var(--rh-btn-height-sm) !important;
    height: auto !important;
    line-height: 1.3 !important;
    padding: 0.625rem 0.875rem !important;
  }
}

/* Text links styled as buttons — same size as md */
.page-wrapper .btn-read-more {
  font-size: var(--rh-text-base) !important;
  font-weight: 600 !important;
  padding: 0.25rem 0;
  min-height: auto;
}

/* Ghost section buttons → same md border style */
.page-wrapper .read-more-btn .btn-default,
.page-wrapper .rainbow-company-mission-area .btn-default:not(.btn-rh-primary):not(.btn-border) {
  font-size: var(--rh-btn-font-md) !important;
  min-height: var(--rh-btn-height-md) !important;
  padding: 0.75rem var(--rh-btn-pad-x-md) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

.page-wrapper .rh-contact-form-wrap .contact-form-1 .btn-default,
.page-wrapper .rh-contact-form-wrap .contact-form-1 button.btn-default {
  font-size: var(--rh-btn-font-md) !important;
  min-height: var(--rh-btn-height-md) !important;
  padding: 0.75rem 1.5rem !important;
}

.page-wrapper .rainbow-address .btn-default.btn-small {
  font-size: var(--rh-btn-font-sm) !important;
  min-height: var(--rh-btn-height-sm) !important;
}

/* Footer / CTA band buttons */
.page-wrapper .rainbow-footer .btn-default,
.page-wrapper .rainbow-callto-action .btn-default {
  font-size: var(--rh-btn-font-md) !important;
  min-height: var(--rh-btn-height-md) !important;
}

/* Icon alignment in buttons */
.page-wrapper .btn-default.btn-icon .icon,
.page-wrapper .btn-default.btn-icon i[class*="feather"] {
  position: static !important;
  top: auto !important;
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.page-wrapper .btn-default.btn-icon {
  gap: 0.5rem;
}

/* CTA sections — title vs subtitle proportion */
.page-wrapper .rh-cta-glow .title,
.page-wrapper .rainbow-callto-action .title {
  font-size: var(--rh-text-2xl) !important;
  line-height: 1.25 !important;
}

.page-wrapper .rh-cta-glow .subtitle,
.page-wrapper .rainbow-callto-action .subtitle {
  font-size: var(--rh-text-md) !important;
}

/* Blog card titles */
.page-wrapper .rh-project-card h4.title {
  font-size: var(--rh-text-lg) !important;
  line-height: 1.4 !important;
}

.page-wrapper .rh-project-card h3.title.h5 {
  font-size: var(--rh-text-lg) !important;
}

/* Accordion */
.page-wrapper .rainbow-accordion-style .accordion-button {
  font-size: var(--rh-text-base) !important;
}

.page-wrapper .rainbow-accordion-style .accordion-body {
  font-size: var(--rh-text-base) !important;
}

/* ---- Hero CTAs — larger, legível (home + páginas de serviço) ---- */
.page-wrapper .rh-hero-premium .button-group {
  gap: 1rem 1.25rem;
  margin-top: 0.25rem;
}

.page-wrapper .rh-hero-premium .button-group .btn-default,
.page-wrapper .rh-hero-premium .button-group a.btn-default,
.page-wrapper .rh-hero-premium .button-group button.btn-default {
  font-size: var(--rh-btn-font-md) !important;
  font-weight: 700 !important;
  min-height: var(--rh-btn-height-lg) !important;
  height: auto !important;
  line-height: 1.25 !important;
  padding: 15px 32px !important;
  letter-spacing: 0.015em !important;
}

.page-wrapper .rh-hero-premium .button-group .btn-default.btn-border {
  font-weight: 600 !important;
  font-size: var(--rh-btn-font-md) !important;
  border-width: 2px !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.page-wrapper .rh-hero-premium .button-group .btn-default.btn-rh-primary {
  font-size: var(--rh-btn-font-md) !important;
  font-weight: 700 !important;
  color: #0a0a0c !important;
}

.page-wrapper .rh-hero-premium .button-group .btn-default.btn-icon .icon,
.page-wrapper .rh-hero-premium .button-group .btn-default.btn-icon i {
  width: 20px;
  height: 20px;
}

.page-wrapper .rh-hero-premium.height-850 .description {
  margin-bottom: 2.5rem !important;
}

@media (max-width: 575px) {
  .page-wrapper .rh-hero-premium .button-group .btn-default {
    font-size: var(--rh-btn-font-md) !important;
    min-height: 3.25rem !important;
    padding: 0.875rem 1.5rem !important;
    width: 100%;
    max-width: 22rem;
  }
}

/* ============================================================
   AUDIT PASS — cards, footer, blog
   ============================================================ */

/* Card titles — consistent h3/h4 scale */
.page-wrapper .rh-card-premium h4.title,
.page-wrapper .rh-card-premium .rh-card-head .title {
  font-size: var(--rh-text-lg) !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #fff;
}

.page-wrapper .rh-card-premium.text-center > h4.title {
  font-size: var(--rh-text-xl) !important;
  margin-bottom: 0.5rem;
}

/* Pricing / plan cards — equal height + CTA pinned bottom */
.page-wrapper .rh-pricing-row > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.page-wrapper .rh-pricing-row .rh-card-premium.text-center {
  flex: 1;
  width: 100%;
  align-items: stretch;
  text-align: center;
}

.page-wrapper .rh-card-premium.text-center .list-style--1 {
  flex: 1 1 auto;
  width: 100%;
  max-width: 16.5rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.5rem;
}

.page-wrapper .rh-card-premium.text-center > a.btn-default,
.page-wrapper .rh-card-premium.text-center > .btn-default {
  margin-top: auto;
  align-self: center;
  width: auto;
  max-width: 100%;
}

.page-wrapper .rh-card-premium.text-center p.theme-gradient {
  font-size: var(--rh-text-base) !important;
  margin-bottom: 0.75rem !important;
}

/* Contact cards — beat .rainbow-address padding/margin */
.page-wrapper .rainbow-address.rh-card-premium {
  margin-top: 0 !important;
  padding: clamp(1.35rem, 2.5vw, 1.75rem) clamp(1.25rem, 2.5vw, 1.5rem) !important;
  background: var(--rh-surface) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 1rem !important;
  box-shadow: none !important;
}

.page-wrapper .rainbow-address.rh-card-premium .icon {
  width: 3rem !important;
  height: 3rem !important;
  font-size: 20px !important;
  line-height: 1 !important;
  border-radius: 0.75rem !important;
  margin-bottom: 1rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--rh-accent-dim);
  color: var(--rh-accent);
}

.page-wrapper .rainbow-address.rh-card-premium .inner h4.title {
  font-size: var(--rh-text-lg) !important;
  margin-bottom: 0.5rem;
}

.page-wrapper .rainbow-address.rh-card-premium .inner p,
.page-wrapper .rainbow-address.rh-card-premium .inner p a {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
}

/* Blog cards — meta + title proportion */
.page-wrapper .rh-project-card .rainbow-meta-list,
.page-wrapper .rainbow-blog-area .rainbow-meta-list {
  font-size: var(--rh-text-sm) !important;
  line-height: 1.5 !important;
  gap: 0.15rem;
  margin-bottom: 0.625rem !important;
}

.page-wrapper .rh-project-card .rainbow-meta-list li,
.page-wrapper .rainbow-blog-area .rainbow-meta-list li {
  font-size: var(--rh-text-sm) !important;
  line-height: var(--rh-leading-snug) !important;
  color: var(--rh-text-muted) !important;
}

.page-wrapper .rh-project-card .rainbow-meta-list li.separator {
  margin: 0 0.4rem !important;
  opacity: 0.5;
}

.page-wrapper .rh-project-card .content .title a {
  font-size: var(--rh-text-lg) !important;
  font-weight: 600;
  line-height: 1.4;
}

/* Inline CTA bands (style-5) */
.page-wrapper .rh-cta-glow .clltoaction-style-default.style-5 .content-wrapper {
  padding: clamp(2rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.5rem) !important;
}

.page-wrapper .rh-cta-glow .clltoaction-style-default.style-5 .content .title,
.page-wrapper .clltoaction-style-default.style-5 .content .title {
  font-size: var(--rh-text-2xl) !important;
  line-height: 1.25 !important;
  margin-bottom: 1rem !important;
}

.page-wrapper .rh-cta-glow .clltoaction-style-default.style-5 .content .subtitle,
.page-wrapper .clltoaction-style-default.style-5 .content .subtitle {
  font-size: var(--rh-text-md) !important;
  line-height: 1.65 !important;
  color: var(--rh-text-muted) !important;
  letter-spacing: normal !important;
}

/* Footer CTA band (style-7) */
.page-wrapper .rainbow-footer .clltoaction-style-default.style-7 .content-wrapper {
  padding: clamp(2rem, 4vw, 2.75rem) 0 !important;
  align-items: center !important;
}

.page-wrapper .rainbow-footer .clltoaction-style-default.style-7 .content .subtitle {
  font-size: var(--rh-text-md) !important;
  line-height: 1.55 !important;
  color: var(--rh-text-muted) !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
  max-width: 28rem;
  padding: 0 !important;
}

.page-wrapper .rainbow-footer .clltoaction-style-default.style-7 .call-to-btn {
  margin-top: 0 !important;
}

.page-wrapper .rainbow-footer-widget h4.title {
  font-size: var(--rh-text-base) !important;
  font-weight: 600 !important;
  margin-bottom: 1rem;
  line-height: 1.35;
}

/* Stats circles — flex centering */
.page-wrapper .rh-stats-strip .count-box.counter-style-2 .count-number {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Legal / prose pages */
.page-wrapper .rainbow-pricing-table-area h4 {
  font-size: var(--rh-text-lg) !important;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.page-wrapper .rainbow-pricing-table-area .content p,
.page-wrapper .rainbow-pricing-table-area .content li {
  font-size: var(--rh-text-base) !important;
}

.page-wrapper .rainbow-blog-details-area .content h4 {
  font-size: var(--rh-text-xl) !important;
}

/* Section inline CTAs — same md button, not ghost tiny */
.page-wrapper .read-more-btn .btn-default.btn-border,
.page-wrapper a.btn-default.btn-border.mt--25,
.page-wrapper a.btn-default.btn-border.mt--30 {
  font-size: var(--rh-btn-font-md) !important;
  min-height: var(--rh-btn-height-md) !important;
  padding: 0.75rem var(--rh-btn-pad-x-md) !important;
}

/* ============================================================
   RH TYPE — aplicação única (px)
   ============================================================
   | Token              | px   | Uso                              |
   |--------------------|------|----------------------------------|
   | --rh-text-caption  | 14   | badges, labels, meta             |
   | --rh-text-sm       | 15   | footer, legendas                 |
   | --rh-text-base     | 17   | corpo, cards, FAQ, forms         |
   | --rh-text-md       | 18   | lead, subtítulo de seção         |
   | --rh-text-lg       | 20   | títulos de card                  |
   | --rh-text-xl       | 22   | destaques, blog                  |
   | --rh-text-2xl+     | clamp| títulos de seção e hero          |
   ============================================================ */

/* Base — corpo 17px em todo .page-wrapper */
.page-wrapper {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text) !important;
}

.page-wrapper p,
.page-wrapper .description,
.page-wrapper p.b1,
.page-wrapper .description.b1,
.page-wrapper .b1,
.page-wrapper li {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text-muted) !important;
}

.page-wrapper .section-title .description,
.page-wrapper .section-title .description.b1,
.page-wrapper .rh-lead {
  font-size: var(--rh-text-md) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text-muted) !important;
}

.page-wrapper .rh-section-label {
  font-size: var(--rh-text-caption) !important;
}

.page-wrapper .rh-card-premium p,
.page-wrapper .rh-card-premium .description {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
  color: var(--rh-text-muted) !important;
}

.page-wrapper h3.title.h4,
.page-wrapper .rh-card-premium h3.title.h4,
.page-wrapper .rh-card-premium h4.title,
.page-wrapper .rh-card-premium .rh-card-head .title {
  font-size: var(--rh-text-lg) !important;
  line-height: 1.35 !important;
}

.page-wrapper .rh-card-premium.text-center > h4.title {
  font-size: var(--rh-text-xl) !important;
}

.page-wrapper .section-title h2.title,
.page-wrapper .section-title .title.w-600 {
  font-size: var(--rh-text-3xl) !important;
  line-height: 1.2 !important;
}

.page-wrapper .display-two,
.page-wrapper h1.title.display-two {
  font-size: var(--rh-text-display-hero) !important;
  line-height: 1.12 !important;
}

.page-wrapper .rh-hero-compact .display-two {
  font-size: var(--rh-text-display) !important;
}

/* Nav */
.page-wrapper .mainmenu > li > a {
  font-size: var(--rh-text-base) !important;
  color: var(--rh-text-muted) !important;
  text-transform: none !important;
}

.page-wrapper .mainmenu > li > a:hover,
.page-wrapper .mainmenu > li > a:focus-visible {
  color: var(--rh-accent) !important;
}

.page-wrapper .mainmenu .submenu a,
.page-wrapper .popup-mobile-menu .mainmenu > li > a {
  font-size: var(--rh-text-base) !important;
  text-transform: none !important;
}

/* Footer typography */
.page-wrapper .footer-link a,
.page-wrapper .ft-menu a,
.page-wrapper .rainbow-footer-widget .footer-link a,
.page-wrapper .rainbow-footer .footer-link li a {
  font-size: var(--rh-text-sm) !important;
  line-height: var(--rh-leading-body) !important;
  text-transform: none !important;
}

.page-wrapper a[href^="mailto:"] {
  text-transform: lowercase !important;
}

.page-wrapper .rainbow-footer-widget h4.title {
  font-size: var(--rh-text-base) !important;
}

/* Forms */
.page-wrapper .contact-form-1 input,
.page-wrapper .contact-form-1 textarea,
.page-wrapper .contact-form-1 select {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-snug) !important;
}

.page-wrapper .rh-form-label,
.page-wrapper .contact-form-1 label {
  font-size: var(--rh-text-sm) !important;
}

.page-wrapper .rainbow-accordion-style .accordion-button,
.page-wrapper .rainbow-accordion-style .accordion-body {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-body) !important;
}

.page-wrapper .rh-project-card .rainbow-meta-list li,
.page-wrapper .rainbow-blog-area .rainbow-meta-list li {
  font-size: var(--rh-text-sm) !important;
}

.page-wrapper .rh-project-card .content .title a,
.page-wrapper .rh-project-card h4.title {
  font-size: var(--rh-text-lg) !important;
}

.page-wrapper .rainbow-blog-details-area .content h4 {
  font-size: var(--rh-text-xl) !important;
}

.page-wrapper .rainbow-blog-details-area .content p,
.page-wrapper .rainbow-blog-details-area .content li {
  font-size: var(--rh-text-base) !important;
  line-height: var(--rh-leading-relaxed) !important;
  max-width: var(--rh-measure);
}

.page-wrapper .rh-stats-strip .count-box.counter-style-2 .description {
  font-size: var(--rh-text-base) !important;
}

.page-wrapper .list-style--1 li,
.page-wrapper .list-style--2 li {
  font-size: var(--rh-text-base) !important;
}

.page-wrapper a.btn-default,
.page-wrapper button.btn-default {
  font-size: var(--rh-btn-font-md) !important;
}

.page-wrapper a.btn-default.btn-small,
.page-wrapper button.btn-default.btn-small {
  font-size: var(--rh-btn-font-sm) !important;
}

.page-wrapper .btn-read-more {
  font-size: var(--rh-text-base) !important;
}

/* WhatsApp icon in header CTA */
.page-wrapper .header-btn .btn-small i.feather-message-circle {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  vertical-align: -0.15em;
}

.page-wrapper .btn-default.btn-rh-primary i.feather-message-circle {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

/* ---- Hero split + proof + mockups ---- */
.rh-hero-split {
  padding-top: clamp(5.5rem, 10vw, 8rem) !important;
  padding-bottom: clamp(3rem, 6vw, 5rem) !important;
}

.rh-hero-split .inner.text-lg-start .description {
  margin-left: 0;
  margin-right: 0;
  max-width: 36rem;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rh-hero-split .button-group {
  margin-bottom: 1.75rem;
}

.rh-hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  padding-top: 0.25rem;
}

.rh-hero-proof__label {
  font-size: var(--rh-text-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rh-text-muted);
}

.rh-hero-proof__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-hero-proof__list a {
  font-size: var(--rh-text-sm);
  font-weight: 600;
  color: var(--rh-text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.rh-hero-proof__list a:hover {
  color: var(--rh-accent);
  border-bottom-color: var(--rh-accent);
}

.rh-hero-showcase {
  position: relative;
  min-height: 22rem;
  padding: 1rem 0 2rem;
}

.rh-mockup {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--rh-surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.rh-mockup--desktop {
  position: relative;
  z-index: 2;
}

.rh-mockup--mobile {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  max-width: 11rem;
  z-index: 3;
  border-radius: 20px;
}

.rh-mockup--inline {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.rh-mockup__chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.rh-mockup__chrome--mobile {
  justify-content: center;
  padding: 0.5rem;
}

.rh-mockup__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.rh-mockup__dot:first-child { background: #ff5f57; }
.rh-mockup__dot:nth-child(2) { background: #febc2e; }
.rh-mockup__dot:nth-child(3) { background: #28c840; }

.rh-mockup__url {
  margin-left: 0.5rem;
  font-size: 12px;
  color: var(--rh-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rh-mockup__notch {
  width: 2.5rem;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.rh-mockup__screen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.rh-mockup--mobile .rh-mockup__screen img {
  aspect-ratio: 9 / 16;
}

@media (max-width: 991px) {
  .rh-hero-showcase {
    max-width: 28rem;
    margin: 0 auto;
  }
}

/* ---- Bento grid ---- */
.rh-bento {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(12, 1fr);
}

.rh-bento__item {
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(22, 22, 28, 0.85);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  min-height: 100%;
}

a.rh-bento__item:hover {
  border-color: rgba(158, 240, 26, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  color: inherit;
}

.rh-bento__item--featured {
  grid-column: span 8;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.25rem;
}

.rh-bento__item--case {
  grid-column: span 4;
  padding: 0;
  overflow: hidden;
}

.rh-bento__item--case .rh-bento__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.rh-bento__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--rh-accent-dim);
  color: var(--rh-accent);
  font-size: 1.35rem;
}

.rh-bento__body {
  flex: 1;
  min-width: 0;
}

.rh-bento__title {
  font-size: var(--rh-text-xl);
  font-weight: 600;
  line-height: var(--rh-leading-tight);
  margin-bottom: 0.5rem;
  color: #fff;
}

.rh-bento__text {
  font-size: var(--rh-text-base);
  line-height: var(--rh-leading-body);
  color: var(--rh-text-muted);
  margin-bottom: 1rem;
}

.rh-bento__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--rh-text-sm);
  font-weight: 600;
  color: var(--rh-accent);
}

.rh-bento__link i {
  width: 1rem;
  height: 1rem;
}

.rh-bento__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rh-accent);
  margin-bottom: 0.5rem;
}

.rh-bento__case-img {
  overflow: hidden;
  line-height: 0;
}

.rh-bento__case-img img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 16 / 9;
}

.rh-bento__case-img--tall img {
  aspect-ratio: 16 / 10;
  min-height: 14rem;
}

.rh-bento--projects .rh-bento__item {
  padding: 0;
  overflow: hidden;
}

.rh-bento__item--project-lg {
  grid-column: span 7;
}

.rh-bento__item--project-sm {
  grid-column: span 5;
}

.rh-bento__project-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.rh-bento__project-link:hover {
  color: inherit;
}

.rh-bento--projects .rh-bento__body {
  padding: 1.5rem;
}

@media (max-width: 991px) {
  .rh-bento__item,
  .rh-bento__item--featured,
  .rh-bento__item--case,
  .rh-bento__item--project-lg,
  .rh-bento__item--project-sm {
    grid-column: span 12;
  }

  .rh-bento__item--featured {
    flex-direction: column;
  }
}

/* ---- Process flow ---- */
.rh-steps-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.rh-step-card--flow {
  height: 100%;
}

@media (max-width: 991px) {
  .rh-steps-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .rh-steps-flow {
    grid-template-columns: 1fr;
  }
}

/* CTA — menos decoração template */
.rh-cta-glow .content-wrapper.theme-shape::before,
.rh-cta-glow .content-wrapper.theme-shape::after {
  opacity: 0.35;
}
