/* ==========================================================================
   RBS Consultoria Inteligente — style.css
   Design system: azul-petróleo dominante, branco e cinzas azulados.
   Seções: ritmo azul/claro. Componentes com prefixo .rbs-
   ========================================================================== */

:root {
  /* cores (tokens do design system) */
  --azul-950: #0c2834;
  --azul-900: #0d2f3e;
  --azul-800: #123747;
  --azul-700: #163f50;
  --azul-600: #1d566b;
  --azul-500: #2c6d82;
  --azul-200: #afc3ca;
  --azul-100: #e3edf1;
  --azul-50:  #f1f6f8;
  --branco:   #ffffff;
  --cinza-600: #50666f;
  --cinza-400: #7d919a;
  --cinza-200: #d5e0e5;
  --erro:    #b3261e;
  --sucesso: #1e7a4f;

  /* tipografia */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* espaço */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px; --space-30: 120px;

  /* forma */
  --radius-input: 12px; --radius-card: 20px; --radius-lg: 24px; --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(13, 47, 62, .08);
  --shadow-card-hover: 0 12px 32px rgba(13, 47, 62, .12);
  --shadow-modal: 0 24px 64px rgba(12, 40, 52, .24);

  /* layout */
  --container: 1200px;
  --gutter: 24px;
  --section-y: 120px;
  --header-h: 72px;
  --header-top: 16px;

  /* overlays */
  --overlay-hero: linear-gradient(90deg, rgba(13, 47, 62, .92) 0%, rgba(13, 47, 62, .75) 45%, rgba(13, 47, 62, .30) 100%);
  --overlay-card: linear-gradient(180deg, rgba(13, 47, 62, .10) 30%, rgba(13, 47, 62, .90) 100%);
  --overlay-split: linear-gradient(90deg, rgba(13, 47, 62, .72) 0%, rgba(13, 47, 62, .42) 45%, rgba(13, 47, 62, .12) 100%), linear-gradient(180deg, rgba(13, 47, 62, 0) 55%, rgba(13, 47, 62, .45) 100%);

  color-scheme: light;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.625;
  color: var(--azul-800);
  background: var(--azul-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html { scrollbar-color: var(--azul-500) var(--azul-50); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--azul-50); }
::-webkit-scrollbar-thumb { background: var(--azul-500); border: 3px solid var(--azul-50); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--azul-600); }
::selection { background: var(--azul-200); color: var(--azul-900); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
section[id], [id].anchor { scroll-margin-top: calc(var(--header-h) + var(--header-top) + 24px); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--azul-500);
  outline-offset: 2px;
}
.rbs-dark :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
.site-header :where(a, button):focus-visible { outline-color: var(--azul-200); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--branco); color: var(--azul-900); padding: 12px 20px;
  border-radius: var(--radius-pill); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--sm { width: 18px; height: 18px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--azul-50); }
.rbs-dark { background: var(--azul-900); color: var(--branco); }
.section__head { margin-bottom: var(--space-12); }
.section__foot { margin-top: var(--space-12); display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; }
.section__foot--center { justify-content: center; }
.head-row { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: flex-end; justify-content: space-between; margin-bottom: var(--space-12); }
.head-row .rbs-sh { margin: 0; }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-4); }

/* ---------- tipografia ---------- */
.rbs-eyebrow { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-500); }
.rbs-dark .rbs-eyebrow { color: var(--azul-200); }
.rbs-h1 { font-size: 56px; line-height: 64px; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
.rbs-h2 { font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -.015em; color: var(--azul-800); text-wrap: balance; }
.rbs-h3 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--azul-800); }
.rbs-card-title { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--azul-800); }
.rbs-dark .rbs-h2, .rbs-dark .rbs-h3, .rbs-dark .rbs-card-title { color: var(--branco); }
.rbs-accent { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.06em; letter-spacing: 0; color: var(--azul-500); }
.rbs-dark .rbs-accent, .hero .rbs-accent { color: var(--azul-200); }
.rbs-lead { font-size: 18px; line-height: 30px; color: var(--cinza-600); max-width: 62ch; }
.rbs-dark .rbs-lead { color: var(--azul-200); }
.rbs-text { font-size: 16px; line-height: 26px; color: var(--cinza-600); }
.rbs-small { font-size: 14px; line-height: 22px; color: var(--cinza-600); }
.rbs-caption { font-size: 13px; line-height: 20px; color: var(--cinza-600); }
.rbs-link { display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 600; font-size: 15px; color: var(--azul-500); text-decoration: none; }
.rbs-link:hover { color: var(--azul-600); text-decoration: underline; text-underline-offset: 4px; }
.rbs-dark .rbs-link { color: var(--azul-200); }
.rbs-dark .rbs-link:hover { color: var(--branco); }

.rbs-sh { display: flex; flex-direction: column; gap: var(--space-3); max-width: 720px; }
.rbs-sh--center { margin-inline: auto; text-align: center; align-items: center; }

/* ---------- botões ---------- */
.rbs-btn {
  display: inline-flex; align-items: center; gap: var(--space-3);
  min-height: 52px; padding: 0 8px 0 24px; border: 0; border-radius: var(--radius-pill);
  font: 600 15px/20px var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease; white-space: nowrap;
}
.rbs-btn__icon { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .2s ease; }
.rbs-btn__icon .ico { width: 18px; height: 18px; stroke-width: 2; }
.rbs-btn:hover .rbs-btn__icon { transform: translateX(2px); }
.rbs-btn--primary { background: var(--azul-600); color: var(--branco); }
.rbs-btn--primary .rbs-btn__icon { background: rgba(255, 255, 255, .16); }
.rbs-btn--primary:hover { background: var(--azul-700); }
.rbs-btn--light { background: var(--branco); color: var(--azul-900); }
.rbs-btn--light .rbs-btn__icon { background: var(--azul-900); color: var(--branco); }
.rbs-btn--light:hover { background: var(--azul-100); }
.rbs-btn--secondary { background: var(--azul-700); color: var(--branco); }
.rbs-btn--secondary .rbs-btn__icon { background: rgba(255, 255, 255, .12); }
.rbs-btn--secondary:hover { background: var(--azul-600); }
.rbs-btn--outline { background: transparent; color: var(--azul-600); box-shadow: inset 0 0 0 1.5px var(--azul-600); }
.rbs-btn--outline .rbs-btn__icon { background: var(--azul-100); }
.rbs-btn--outline:hover { background: var(--azul-100); }
.rbs-btn--sm { min-height: 44px; padding-left: 20px; font-size: 14px; }
.rbs-btn--sm .rbs-btn__icon { width: 32px; height: 32px; }
.rbs-btn--block { width: 100%; justify-content: space-between; }
.rbs-btn[disabled], .rbs-btn[aria-disabled="true"] { opacity: .55; cursor: progress; }

/* ---------- badges ---------- */
.rbs-badge { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; }
.rbs-badge--soft { background: var(--azul-100); color: var(--azul-600); }
.rbs-badge--glass { background: rgba(255, 255, 255, .1); color: var(--branco); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24); letter-spacing: .1em; font-size: 12px; text-transform: uppercase; }
.rbs-badge--outline { color: var(--azul-200); box-shadow: inset 0 0 0 1px var(--azul-200); }
.badges { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ---------- header ---------- */
.site-header {
  position: fixed; z-index: 100; left: 0; right: 0;
  top: calc(var(--header-top) + env(safe-area-inset-top, 0px));
  padding-inline: calc(var(--gutter) + 16px);
  pointer-events: none;
  transform: translateY(12px);
  transition: transform .25s ease;
}
.site-header.is-scrolled { transform: none; }
.site-header__bar {
  pointer-events: auto;
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: var(--space-6);
  height: var(--header-h); padding: 0 12px 0 20px;
  border-radius: var(--radius-lg); background: var(--azul-900); color: var(--branco);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-scrolled .site-header__bar { box-shadow: 0 12px 32px rgba(12, 40, 52, .28); }
.site-header__logo { display: flex; align-items: center; flex: none; }
.site-header__logo img { height: 48px; width: auto; }
.site-nav { margin-inline: auto; }
.site-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a {
  display: inline-block; padding: 6px 0; font-size: 14px; line-height: 20px; font-weight: 500;
  color: rgba(255, 255, 255, .82); text-decoration: none; border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.site-nav__list a:hover { color: var(--branco); }
.site-nav__list a.is-active, .site-nav__list a[aria-current="page"] { color: var(--branco); border-bottom-color: var(--azul-200); }
.site-header__menu {
  display: none; width: 48px; height: 48px; margin-left: auto; border-radius: 50%; border: 0;
  background: var(--azul-700); color: var(--branco); place-items: center; cursor: pointer;
}
.site-header__menu .ico-close { display: none; }
.site-header.is-open .site-header__menu .ico-open { display: none; }
.site-header.is-open .site-header__menu .ico-close { display: block; }

.drawer {
  pointer-events: auto;
  max-width: var(--container); margin: 8px auto 0; padding: var(--space-6);
  border-radius: var(--radius-lg); background: var(--azul-900); color: var(--branco);
  box-shadow: 0 16px 40px rgba(12, 40, 52, .3);
}
.drawer ul { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: grid; }
.drawer a:not(.rbs-btn) { display: block; padding: 14px 4px; font-size: 17px; font-weight: 600; color: var(--branco); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .1); }

/* ---------- mídia com fallback ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--azul-100); color: var(--cinza-600); }
.media > picture { display: contents; }
.media > img, .media > picture > img, .media > video { width: 100%; height: 100%; object-fit: cover; }
.media > video { display: block; }
.media--dark { background: var(--azul-700); color: var(--azul-200); }
.media.is-missing::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0; display: grid; place-items: center; padding: var(--space-6);
  font-size: 13px; line-height: 20px; text-align: center;
}

/* ---------- hero ---------- */
.hero-wrap { padding: calc(var(--header-top) + env(safe-area-inset-top, 0px)) var(--space-4) 0; }
.hero {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--azul-700); color: var(--branco);
  padding: calc(var(--header-h) + 96px) 0 152px;
}
.hero__media { position: absolute; inset: 0; border-radius: 0; background: var(--azul-700); }
.hero__media.is-missing::after { place-items: end; padding: 32px 40px 96px; color: var(--azul-200); }
.hero__overlay { position: absolute; inset: 0; background: var(--overlay-hero); }
.hero__content { position: relative; max-width: 660px; display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-start; }
.hero__sub { font-size: 18px; line-height: 30px; color: rgba(255, 255, 255, .88); max-width: 58ch; }
.hero__note { font-size: 14px; line-height: 22px; color: var(--azul-200); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- faixa de indicadores ---------- */
.stats-float { position: relative; z-index: 2; margin-top: -88px; }
.rbs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--branco); border-radius: var(--radius-card); box-shadow: var(--shadow-card); padding: var(--space-8) 0; }
.rbs-stat { padding: 0 var(--space-8); border-left: 1px solid var(--cinza-200); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rbs-stat:first-child { border-left: 0; }
.rbs-stat__num { font-size: 40px; line-height: 44px; font-weight: 700; letter-spacing: -.02em; color: var(--azul-800); font-variant-numeric: tabular-nums; }
.rbs-stat__label { font-size: 14px; line-height: 22px; color: var(--cinza-600); }

/* ---------- cards ---------- */
.rbs-card { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
.rbs-iconbox { width: 48px; height: 48px; border-radius: 50%; background: var(--azul-100); color: var(--azul-600); display: grid; place-items: center; }
.rbs-iconbox img { width: 24px; height: 24px; object-fit: contain; }

/* ---------- problema: virada ---------- */
.turn { display: flex; flex-wrap: wrap; gap: var(--space-6); align-items: center; justify-content: space-between; margin-top: var(--space-12); padding-top: var(--space-8); border-top: 1px solid var(--cinza-200); }
.turn p { font-size: 18px; line-height: 30px; color: var(--azul-800); max-width: 680px; }

/* ---------- para quem é (acordeão) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.split__media { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); aspect-ratio: 4 / 5; max-width: 100%; }
.split__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--overlay-split); }
.rbs-acc__item { border-bottom: 1px solid var(--cinza-200); }
.rbs-acc__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) 0; cursor: pointer; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--azul-800); }
.rbs-acc__item summary::-webkit-details-marker { display: none; }
.rbs-acc__chev { color: var(--azul-600); transition: transform .2s ease; display: grid; }
.rbs-acc__item[open] .rbs-acc__chev { transform: rotate(180deg); }
.rbs-acc__body { padding: 0 0 var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.rbs-acc__kicker { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--azul-500); }
.rbs-checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.rbs-checks li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 16px; line-height: 24px; color: var(--azul-800); }
.rbs-checks .ico { color: var(--azul-600); stroke-width: 2; width: 20px; height: 20px; margin-top: 2px; }
.rbs-dark .rbs-checks li { color: var(--branco); }
.rbs-dark .rbs-checks .ico { color: var(--azul-200); }

/* ---------- método ---------- */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-16); align-items: start; }
.method__intro { position: sticky; top: calc(var(--header-h) + var(--header-top) + 40px); }
.method__intro .rbs-sh { gap: var(--space-4); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.rbs-step { background: var(--azul-700); border-radius: var(--radius-card); padding: var(--space-6) 28px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px var(--space-4); align-items: baseline; }
.rbs-step__num { grid-row: span 2; font-family: var(--font-serif); font-style: italic; font-size: 32px; line-height: 36px; color: var(--azul-200); }
.rbs-step__title { font-size: 18px; line-height: 26px; font-weight: 600; color: var(--branco); }
.rbs-step__text { font-size: 15px; line-height: 24px; color: var(--azul-200); }

/* ---------- carrossel ---------- */
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: var(--space-6); overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none;
  padding: 4px 4px 12px; margin: -4px -4px 0;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; flex: 0 0 calc((100% - var(--space-6) * 2) / 3); min-width: 0; display: flex; }
.carousel--wide .carousel__slide { flex-basis: calc((100% - var(--space-6)) / 2.15); }
.carousel--four .carousel__slide { flex-basis: calc((100% - var(--space-6) * 3) / 4); }
.carousel__ctrl { display: flex; align-items: center; gap: var(--space-4); }
.carousel.is-static .carousel__ctrl { display: none; }
.rbs-arrow { width: 48px; height: 48px; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1.5px var(--azul-600); background: transparent; color: var(--azul-600); display: grid; place-items: center; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.rbs-arrow:hover { background: var(--azul-600); color: var(--branco); }
.rbs-dark .rbs-arrow { box-shadow: inset 0 0 0 1.5px var(--azul-200); color: var(--branco); }
.rbs-dark .rbs-arrow:hover { background: var(--branco); color: var(--azul-900); }
.rbs-dots { display: flex; gap: var(--space-2); align-items: center; }
.rbs-dot { width: 10px; height: 10px; border-radius: var(--radius-pill); border: 0; padding: 0; background: var(--cinza-400); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.rbs-dot[aria-current="true"] { width: 28px; background: var(--azul-600); }
.rbs-dark .rbs-dot { background: rgba(255, 255, 255, .4); }
.rbs-dark .rbs-dot[aria-current="true"] { background: var(--branco); }

/* ---------- administradoras ---------- */
.rbs-admin { width: 100%; background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; transition: border-color .25s ease, box-shadow .25s ease; }
.rbs-admin.is-active { border-color: var(--azul-600); box-shadow: 0 0 0 1px var(--azul-600), var(--shadow-card); }
.rbs-admin__logo { height: 64px; width: 100%; border-radius: var(--radius-input); background: var(--azul-50); display: grid; place-items: center; padding: 8px 16px; font-size: 13px; color: var(--cinza-600); text-align: center; }
.rbs-admin__logo img { max-height: 48px; width: auto; }
.rbs-admin__name { font-size: 22px; line-height: 30px; font-weight: 600; color: var(--azul-800); }
.rbs-admin .rbs-btn { margin-top: auto; }

/* ---------- treinamentos ---------- */
.rbs-imgcard { position: relative; overflow: hidden; width: 100%; border: 1px solid var(--branco); border-radius: var(--radius-card); min-height: 400px; background: var(--azul-700); color: var(--branco); display: flex; align-items: flex-end; }
.rbs-imgcard .media { position: absolute; inset: 0; border-radius: 0; }
.rbs-imgcard .media.is-missing::after { place-items: start end; padding: var(--space-4); font-size: 12px; }
.rbs-imgcard__overlay { position: absolute; inset: 0; background: var(--overlay-card); }
.rbs-imgcard__body { position: relative; padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }
.rbs-imgcard__title { font-size: 20px; line-height: 28px; font-weight: 600; }
.rbs-imgcard__text { font-size: 14px; line-height: 22px; color: var(--azul-100); }

/* ---------- depoimentos ---------- */
.rbs-quote { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: 28px; display: flex; flex-direction: column; gap: var(--space-4); }
.rbs-quote__top { display: flex; justify-content: space-between; align-items: flex-start; }
.rbs-quote__mark { font-family: var(--font-serif); font-size: 64px; line-height: 40px; height: 32px; color: var(--azul-200); }
.rbs-quote__text { font-size: 16px; line-height: 26px; color: var(--azul-800); flex: 1; }
.rbs-person { display: flex; gap: var(--space-3); align-items: center; }
.rbs-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--azul-100); color: var(--azul-600); display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; overflow: hidden; }
.rbs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rbs-person__name { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--azul-800); }
.rbs-person__meta { font-size: 13px; line-height: 20px; color: var(--cinza-600); }

/* ---------- fundador ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: var(--space-16); align-items: center; padding: var(--space-16); border-radius: var(--radius-lg); }
.founder__media { aspect-ratio: 4 / 5; max-width: 100%; }
.founder__body { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.founder__role { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--azul-200); }
.founder__body .rbs-text { color: rgba(255, 255, 255, .86); max-width: 62ch; }
.founder__body .rbs-btn { margin-top: var(--space-2); }

/* ---------- certificação PCA-10 ---------- */
.cert { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: var(--space-16); align-items: center; background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-lg); padding: var(--space-12) var(--space-16); }
.cert__seal { display: block; border-radius: 50%; max-width: 280px; width: 100%; margin-inline: auto; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 16px 40px rgba(13, 47, 62, .18); }
.cert__seal img { width: 100%; height: auto; border-radius: 50%; }
.cert__seal:hover { transform: translateY(-3px) rotate(-2deg); box-shadow: 0 20px 48px rgba(13, 47, 62, .24); }
.cert__body { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.cert__body .rbs-text { max-width: 64ch; }
.cert__body .rbs-btn { margin-top: var(--space-2); }
.cert__note { display: flex; gap: var(--space-3); align-items: flex-start; margin-top: var(--space-2); padding-top: var(--space-4); border-top: 1px solid var(--cinza-200); font-size: 13px; line-height: 20px; color: var(--cinza-600); width: 100%; }
.cert__note .ico { width: 20px; height: 20px; color: var(--azul-500); margin-top: 0; }

/* ---------- time ---------- */
.rbs-team { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: 28px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); text-decoration: none; min-width: 0; }
.rbs-team .rbs-avatar { width: 88px; height: 88px; margin-bottom: var(--space-2); }
.rbs-team .rbs-avatar .ico { width: 40px; height: 40px; }
.rbs-team__name { font-size: 17px; line-height: 24px; font-weight: 600; color: var(--azul-800); }
.rbs-team__role { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--azul-500); }
.rbs-team__desc { font-size: 14px; line-height: 22px; color: var(--cinza-600); }

/* ---------- centro de inteligência ---------- */
.topic { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.faq-layout__aside { display: flex; flex-direction: column; gap: var(--space-8); position: sticky; top: calc(var(--header-h) + var(--header-top) + 40px); }
.rbs-faq { border-top: 1px solid var(--cinza-200); }
.rbs-faq__item { border-bottom: 1px solid var(--cinza-200); }
.rbs-faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); padding: 20px 0; cursor: pointer; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--azul-800); }
.rbs-faq__item summary::-webkit-details-marker { display: none; }
.rbs-faq__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--azul-100); color: var(--azul-600); display: grid; place-items: center; flex: none; }
.rbs-faq__icon .ico { width: 18px; height: 18px; stroke-width: 2; }
.rbs-faq__minus { display: none; }
.rbs-faq__item[open] .rbs-faq__plus { display: none; }
.rbs-faq__item[open] .rbs-faq__minus { display: block; }
.rbs-faq__answer { padding: 0 56px var(--space-6) 0; font-size: 16px; line-height: 26px; color: var(--cinza-600); }
.rbs-faq__answer a { color: var(--azul-500); font-weight: 600; }
.rbs-contact { border-radius: var(--radius-card); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }

/* ---------- CTA final ---------- */
.cta { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); padding: 56px; border-radius: var(--radius-lg); align-items: center; }
.cta__body { display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-start; }
.cta__media { min-height: 400px; height: 100%; }

/* ---------- rodapé ---------- */
.footer-wrap { padding-inline: var(--space-4); }
.site-footer { background: var(--azul-950); color: var(--azul-200); padding: var(--space-16) 0 var(--space-8); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) max-content minmax(0, .8fr); gap: var(--space-8); }
.site-footer__logo { height: 72px; width: auto; margin-bottom: var(--space-4); }
.site-footer h2 { margin: 0 0 var(--space-4); font-size: 12px; line-height: 16px; letter-spacing: .14em; text-transform: uppercase; color: var(--branco); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: var(--azul-200); text-decoration: none; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.site-footer a[data-email] { white-space: nowrap; overflow-wrap: normal; }
.site-footer a:hover { color: var(--branco); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__icon-link { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__icon-link img { width: 18px; height: 18px; flex: none; filter: brightness(0) invert(1); opacity: .72; transition: opacity .2s ease; }
.site-footer__icon-link:hover img { opacity: 1; }
.site-footer__consumer { margin-top: var(--space-12); padding: var(--space-4) var(--space-6); border-radius: var(--radius-card); background: rgba(255, 255, 255, .06); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); font-size: 15px; color: var(--branco); }
.site-footer__consumer a { color: var(--branco); font-weight: 600; font-size: 15px; }
.site-footer__legal { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; gap: var(--space-3); font-size: 13px; line-height: 20px; }
.site-footer__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3) var(--space-6); }
.site-footer__legal-row a { font-size: 13px; }
.site-footer__credits { margin: var(--space-2) 0 0; text-align: center; }
.site-footer__credits a { font-size: 13px; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed; z-index: 90; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; box-shadow: 0 10px 28px rgba(12, 40, 52, .28);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.whatsapp-float img { width: 30px; height: 30px; filter: brightness(0) invert(1); }
.whatsapp-float:hover { transform: translateY(-3px); background: #20bd5a; box-shadow: 0 14px 34px rgba(12, 40, 52, .34); }
.whatsapp-float:focus-visible { outline: 3px solid var(--branco); outline-offset: 3px; }

/* ---------- credenciamento ---------- */
.page-top { padding-top: calc(var(--header-h) + var(--header-top) + 72px); }
.cred-head { max-width: 760px; }
.cred-head .rbs-h1 { font-size: 48px; line-height: 56px; color: var(--azul-800); }
.rbs-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--radius-lg); background: var(--branco); box-shadow: inset 0 0 0 1px var(--cinza-200); margin-bottom: var(--space-8); max-width: 100%; }
.rbs-tab { display: grid; place-items: center; min-height: 64px; padding: 8px 24px; border: 0; border-radius: var(--radius-pill); background: transparent; font: 600 15px/20px var(--font-sans); color: var(--azul-800); cursor: pointer; white-space: nowrap; transition: background-color .2s ease, box-shadow .2s ease; }
.rbs-tab img { display: block; height: 40px; width: auto; }
.rbs-tab:hover { background: var(--azul-100); }
.rbs-tab[aria-selected="true"] { background: var(--azul-50); box-shadow: inset 0 0 0 2px var(--azul-600); }
.cred { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: var(--space-8); align-items: start; }
.rbs-docs { background: var(--branco); border: 1px solid var(--cinza-200); border-radius: var(--radius-card); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-6); }
.rbs-docs__title { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--azul-800); margin-bottom: var(--space-4); }
.rbs-docs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.rbs-docs li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--azul-800); }
.rbs-docs li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; border-radius: 50%; background: var(--azul-600); }
.rbs-docs__note { font-size: 14px; line-height: 22px; font-style: italic; color: var(--cinza-600); padding-top: var(--space-4); border-top: 1px solid var(--cinza-200); }
.rbs-docs__alert { padding: var(--space-4) var(--space-6); border-left: 3px solid var(--azul-600); border-radius: 0 var(--radius-input) var(--radius-input) 0; background: var(--azul-50); font-size: 14px; line-height: 22px; color: var(--azul-800); }
.rbs-docs__alert strong { display: block; margin-bottom: var(--space-1); }
.rbs-docs__alert p { margin: 0; }
.rbs-docs__brand { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 1px solid var(--cinza-200); }
.rbs-docs__brand img { display: block; height: 56px; width: auto; max-width: 100%; }
.rbs-next { container-type: inline-size; position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); border-radius: var(--radius-lg); padding: var(--space-8); display: flex; flex-direction: column; gap: var(--space-4); }
.rbs-next__mail { font-size: min(15px, 4cqi); line-height: 22px; font-weight: 600; color: var(--branco); white-space: nowrap; user-select: all; }
.form-section { max-width: 840px; }

/* ---------- contato ---------- */
.contact-map { margin-top: var(--space-8); aspect-ratio: 16 / 6; }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.rbs-card .rbs-link { margin-top: auto; max-width: 100%; overflow-wrap: anywhere; }

/* ---------- páginas legais ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--space-16); align-items: start; }
.legal__toc { position: sticky; top: calc(var(--header-h) + var(--header-top) + 24px); display: flex; flex-direction: column; gap: var(--space-4); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 1px solid var(--cinza-200); }
.legal__toc a { display: block; margin-left: -1px; padding: 6px 0 6px 16px; border-left: 2px solid transparent; font-size: 14px; line-height: 20px; color: var(--cinza-600); text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.legal__toc a:hover { color: var(--azul-800); border-left-color: var(--azul-200); }
.legal__body { max-width: 72ch; display: flex; flex-direction: column; gap: var(--space-12); }
.legal__body > section { display: flex; flex-direction: column; gap: var(--space-4); }
.legal__body h2 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--azul-800); }
.legal__body h3 { font-size: 17px; line-height: 26px; font-weight: 600; color: var(--azul-800); }
.legal__body p, .legal__body li { font-size: 16px; line-height: 28px; color: var(--cinza-600); }
.legal__body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: var(--space-2); }
.legal__body li::marker { color: var(--azul-500); }
.legal__body strong { font-weight: 600; color: var(--azul-800); }
.legal__body a:not(.rbs-btn) { color: var(--azul-500); font-weight: 600; overflow-wrap: anywhere; }
.legal__body code { padding: 1px 6px; border-radius: 6px; background: var(--azul-50); font-size: 14px; color: var(--azul-800); }
.legal__meta { font-size: 14px; line-height: 22px; color: var(--cinza-600); }

/* ---------- 404 ---------- */
.error-page { min-height: 72vh; display: grid; align-items: center; }
.error-page__code { font-family: var(--font-serif); font-style: italic; font-size: 120px; line-height: 1; color: var(--azul-200); }
.error-page .btn-row { justify-content: center; margin-top: var(--space-4); }

/* ---------- formulário ---------- */
.rbs-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--space-4); }
.rbs-form .is-full { grid-column: 1 / -1; }
.rbs-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; border: 0; margin: 0; padding: 0; }
.rbs-label, .rbs-field legend { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--azul-800); padding: 0; }
.rbs-field legend { margin-bottom: var(--space-2); }
.rbs-label small, .rbs-field legend small { font-weight: 400; color: var(--cinza-600); font-size: 13px; }
.rbs-input, .rbs-select, .rbs-textarea {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--radius-input);
  border: 1.5px solid var(--cinza-400); background: var(--branco);
  font: 400 16px/24px var(--font-sans); color: var(--azul-800); transition: border-color .2s ease;
}
.rbs-textarea { min-height: 112px; padding: 14px 16px; resize: vertical; }
.rbs-input::placeholder, .rbs-textarea::placeholder { color: var(--cinza-600); opacity: 1; }
.rbs-input:hover, .rbs-select:hover, .rbs-textarea:hover { border-color: var(--azul-600); }
.rbs-input:focus-visible, .rbs-select:focus-visible, .rbs-textarea:focus-visible { border-color: var(--azul-500); }
.rbs-selectwrap { position: relative; }
.rbs-select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; }
.rbs-selectwrap .ico { position: absolute; right: 16px; top: 16px; width: 20px; height: 20px; color: var(--azul-600); pointer-events: none; }
.rbs-help { font-size: 13px; line-height: 20px; color: var(--cinza-600); }
.rbs-form__group { grid-column: 1 / -1; display: grid; grid-template-columns: inherit; gap: inherit; padding: var(--space-6); border-radius: var(--radius-card); border: 1px solid var(--cinza-200); background: var(--branco); }
.rbs-form__group-title { margin: 0; font-size: 15px; line-height: 22px; font-weight: 700; color: var(--azul-800); }
.rbs-form__group-title span { display: block; font-size: 13px; line-height: 20px; font-weight: 400; color: var(--cinza-600); }
.rbs-form__group-title:not(:first-child) { padding-top: var(--space-6); border-top: 1px solid var(--cinza-200); }
.rbs-form__set { grid-column: 1 / -1; display: grid; grid-template-columns: inherit; gap: inherit; }
.rbs-form__group .rbs-field:has(+ .rbs-field[data-layout][hidden]) { grid-column: 1 / -1; }
.rbs-socios { display: flex; flex-direction: column; gap: var(--space-4); }
.rbs-socios:empty { display: none; }
.rbs-socio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--space-4); padding: var(--space-4); border-radius: var(--radius-input); background: var(--azul-50); }
.rbs-socio__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); font-size: 15px; line-height: 22px; font-weight: 700; color: var(--azul-800); }
.rbs-socio__remove { min-height: 32px; padding: 0 var(--space-2); border: 0; background: none; font: 600 13px/20px var(--font-sans); color: var(--azul-600); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.rbs-form__add { justify-self: start; min-height: 44px; padding: 0 20px; border: 1px dashed var(--azul-500); border-radius: var(--radius-pill); background: transparent; font: 600 14px/20px var(--font-sans); color: var(--azul-600); cursor: pointer; }
.rbs-form__add:hover { background: var(--azul-50); }
.rbs-error { font-size: 13px; line-height: 20px; color: var(--erro); font-weight: 600; }
.rbs-field.is-error .rbs-input, .rbs-field.is-error .rbs-select { border-color: var(--erro); }
.rbs-choices { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); }
.rbs-choice { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; font-size: 15px; line-height: 22px; color: var(--azul-800); cursor: pointer; }
.rbs-choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--azul-600); cursor: pointer; }
.rbs-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--azul-800); cursor: pointer; }
.rbs-consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--azul-600); flex: none; }
.rbs-consent a { color: var(--azul-500); font-weight: 600; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-actions { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.rbs-success { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; padding: var(--space-6); border-radius: var(--radius-card); background: var(--azul-50); box-shadow: inset 0 0 0 1.5px var(--sucesso); }
.rbs-success__head { display: flex; gap: var(--space-3); align-items: flex-start; color: var(--sucesso); font-size: 16px; line-height: 24px; font-weight: 700; }
.rbs-success p { color: var(--azul-800); }

/* ---------- popup ---------- */
.rbs-dialog {
  width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-modal); background: var(--branco); color: var(--azul-800);
  overflow: hidden;
}
.rbs-dialog::backdrop { background: rgba(12, 40, 52, .6); }
.rbs-dialog__inner { position: relative; padding: 40px; overflow-y: auto; max-height: calc(100dvh - 32px); display: flex; flex-direction: column; gap: var(--space-6); }
.rbs-dialog__close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--azul-100); color: var(--azul-800); display: grid; place-items: center; cursor: pointer; }
.rbs-dialog__close:hover { background: var(--cinza-200); }
.rbs-dialog .rbs-form, .rbs-dialog .rbs-socio { grid-template-columns: minmax(0, 1fr); }
.rbs-dialog__head { display: flex; flex-direction: column; gap: var(--space-2); padding-right: 48px; }
html.has-dialog { overflow: hidden; }

/* ---------- movimento ---------- */
@media (hover: hover) {
  .rbs-card, .rbs-team, .rbs-quote { transition: box-shadow .2s ease, transform .2s ease; }
  a.rbs-team:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .carousel__track { scroll-behavior: auto; }
}

/* ---------- animações de entrada ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  [data-reveal].is-in { opacity: 1; transform: none; }

  .hero__media { animation: rbs-settle 1.8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__content > *, .stats-float, .page-top .rbs-sh > *, .page-top > .container > :not(.rbs-sh) {
    animation: rbs-rise .8s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero__content > :nth-child(2), .page-top .rbs-sh > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3), .page-top .rbs-sh > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(4), .page-top .rbs-sh > :nth-child(4) { animation-delay: .24s; }
  .hero__content > :nth-child(5), .page-top .rbs-sh > :nth-child(5) { animation-delay: .32s; }
  .stats-float, .page-top > .container > :not(.rbs-sh) { animation-delay: .4s; }
  .page-top > .container > :not(.rbs-sh) ~ :not(.rbs-sh) { animation-delay: .5s; }
}
@keyframes rbs-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes rbs-settle { from { opacity: .4; transform: scale(1.06); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1180px) {
  .site-nav__list { gap: 18px; }
  .site-nav__list a { font-size: 13px; }
  .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .founder { grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: var(--space-12); padding: var(--space-12); }
}

@media (max-width: 1023px) {
  :root { --section-y: 96px; }
  .site-nav, .site-header__bar > .rbs-btn { display: none; }
  .site-header__menu { display: grid; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .method, .faq-layout, .cred { grid-template-columns: minmax(0, 1fr); gap: var(--space-12); }
  .split__media { position: relative; top: auto; aspect-ratio: 4 / 5; order: -1; }
  .split__media > video { object-position: center top; }
  .method__intro, .faq-layout__aside, .rbs-next { position: static; }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal__toc { display: none; }
  .founder { grid-template-columns: minmax(0, 1fr); }
  .cert { grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding: var(--space-12); }
  .cert__seal { max-width: 220px; }
  .founder__media { aspect-ratio: 4 / 3; }
  .cta { grid-template-columns: minmax(0, 1fr); padding: var(--space-12); }
  .cta__media { min-height: 260px; order: -1; }
  .carousel--four .carousel__slide { flex-basis: calc((100% - var(--space-6)) / 2.2); }
  .carousel--wide .carousel__slide, .carousel__slide { flex-basis: calc((100% - var(--space-6)) / 1.6); }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer a[data-email] { font-size: 13px; }
}

@media (max-width: 767px) {
  .rbs-form__group { padding: var(--space-4); }
  :root { --section-y: 72px; --gutter: 16px; --header-h: 64px; --header-top: 12px; }
  #sobre { padding-bottom: 24px; }
  #parceiros { padding-top: 16px; }
  .rbs-h1 { font-size: 36px; line-height: 44px; }
  .rbs-h2 { font-size: 28px; line-height: 36px; }
  .rbs-h3 { font-size: 20px; line-height: 28px; }
  .rbs-lead, .hero__sub { font-size: 17px; line-height: 28px; }
  .site-header { padding-inline: 12px; }
  .site-header__bar { padding: 0 8px 0 16px; }
  .site-header__logo img { height: 40px; }
  .hero-wrap { padding-inline: 8px; }
  .hero { padding: calc(var(--header-h) + 56px) 0 128px; }
  .hero__overlay { background: rgba(13, 47, 62, .86); }
  .rbs-btn { white-space: normal; text-align: left; padding-block: 8px; }
  .btn-row { width: 100%; }
  .btn-row .rbs-btn { width: 100%; justify-content: space-between; }
  .stats-float { margin-top: -72px; }
  .rbs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-6); padding: var(--space-6) 0; }
  .rbs-stat { padding: 0 var(--space-4); }
  .rbs-stat:nth-child(3) { border-left: 0; }
  .rbs-stat__num { font-size: 32px; line-height: 36px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbs-card { padding: var(--space-6); }
  .turn .rbs-btn, .section__foot .rbs-btn { width: 100%; justify-content: space-between; }
  .head-row { margin-bottom: var(--space-8); }
  .carousel__slide, .carousel--wide .carousel__slide, .carousel--four .carousel__slide { flex-basis: 86%; }
  .carousel__track { gap: var(--space-4); }
  .rbs-imgcard { min-height: 360px; }
  .founder { padding: var(--space-6); gap: var(--space-8); }
  .cert { padding: var(--space-8) var(--space-6); }
  .cert__seal { max-width: 180px; }
  .cta { padding: var(--space-6); }
  .rbs-faq__answer { padding-right: 0; }
  .rbs-faq__item summary { font-size: 17px; }
  .footer-wrap { padding-inline: 0; }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .site-footer a[data-email] { font-size: clamp(12px, 3.6vw, 14px); }
  .rbs-form, .rbs-socio { grid-template-columns: minmax(0, 1fr); }
  .rbs-dialog { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .rbs-dialog__inner { max-height: 100dvh; padding: 32px 20px calc(24px + env(safe-area-inset-bottom, 0px)); }
  .cred-head .rbs-h1 { font-size: 34px; line-height: 42px; }
  .rbs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .rbs-tab { min-height: 56px; padding: 8px 10px; }
  .rbs-tab img { height: auto; max-height: 30px; max-width: 100%; }
  .rbs-docs__brand img { height: 44px; }
  .rbs-docs, .rbs-next { padding: var(--space-6); }
  .page-top { padding-top: calc(var(--header-h) + var(--header-top) + 40px); }
  .contact-map { aspect-ratio: 4 / 3; }
  .error-page__code { font-size: 88px; }
  .whatsapp-float { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 54px; height: 54px; }
  .whatsapp-float img { width: 27px; height: 27px; }
}
