/* ReetHost — Base: reset, tipografia, container, utilitários */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--rh-header-h) + var(--rh-5));
}

body {
  margin: 0;
  background: var(--rh-bg-900);
  color: var(--rh-text);
  font-family: var(--rh-font-body);
  font-size: var(--rh-fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--rh-font-display);
  margin: 0 0 var(--rh-3);
  line-height: 1.12;
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: var(--rh-fs-h1); line-height: 1.08; }
h2 { font-size: var(--rh-fs-h2); }
h3 { font-size: var(--rh-fs-h3); letter-spacing: -.01em; }

p { margin: 0 0 var(--rh-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--rh-primary-300);
  text-decoration: none;
  transition: color var(--rh-fast) var(--rh-ease);
}
a:hover { color: var(--rh-text); }

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

ul, ol { margin: 0 0 var(--rh-4); padding-left: 1.25em; }

hr {
  border: 0;
  border-top: 1px solid var(--rh-line);
  margin: var(--rh-6) 0;
}

/* ---- Foco visível universal ---- */
:focus-visible {
  outline: 3px solid var(--rh-primary-300);
  outline-offset: 2px;
  border-radius: var(--rh-r-sm);
}

/* ---- Container e grid ---- */
.rh-container {
  width: 100%;
  max-width: var(--rh-container);
  margin-inline: auto;
  padding-inline: var(--rh-gutter);
}

.rh-section { padding-block: clamp(48px, 6vw, 96px); }
.rh-section--tight { padding-block: clamp(32px, 4vw, 56px); }
.rh-section--alt { background: var(--rh-bg-800); }
.rh-section + .rh-section { padding-top: 0; }
.rh-section--alt + .rh-section,
.rh-section + .rh-section--alt { padding-top: clamp(48px, 6vw, 96px); }

.rh-grid { display: grid; gap: var(--rh-5); }
.rh-grid > * { min-width: 0; }
.rh-grid--4 { grid-template-columns: repeat(4, 1fr); }
.rh-grid--3 { grid-template-columns: repeat(3, 1fr); }
.rh-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1199px) { .rh-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .rh-grid--4, .rh-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px)  { .rh-grid--4, .rh-grid--3, .rh-grid--2 { grid-template-columns: 1fr; } }

/* ---- Cabeçalho de seção ---- */
.rh-eyebrow {
  display: inline-block;
  font-size: var(--rh-fs-xs);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rh-primary-300);
  margin-bottom: var(--rh-2);
}

.rh-section-head { max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); text-align: center; }
.rh-section-head p { color: var(--rh-text-muted); margin: 0; }

.rh-lead { font-size: clamp(1rem, .95rem + .35vw, 1.15rem); color: var(--rh-text-muted); }

/* ---- Gradiente de marca (uso restrito: H1 do hero + CTA primário do hero) ---- */
.rh-grad {
  background: var(--rh-grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Botões ---- */
.rh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--rh-2);
  padding: var(--rh-3) var(--rh-5);
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--rh-r-md);
  font-family: var(--rh-font-body);
  font-size: var(--rh-fs-body);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background var(--rh-base) var(--rh-ease),
              border-color var(--rh-base) var(--rh-ease),
              color var(--rh-base) var(--rh-ease),
              transform var(--rh-fast) var(--rh-ease);
}
.rh-btn:active { transform: translateY(1px); }

.rh-btn--primary { background: var(--rh-primary); color: var(--rh-on-primary); }
.rh-btn--primary:hover { background: var(--rh-primary-600); color: var(--rh-on-primary); }

.rh-btn--brand { background: var(--rh-grad-brand); color: var(--rh-on-primary); }
.rh-btn--brand:hover { filter: brightness(1.12); color: var(--rh-on-primary); }

.rh-btn--ghost {
  background: transparent;
  color: var(--rh-text);
  border-color: var(--rh-line-strong);
}
.rh-btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: var(--rh-primary-300); color: var(--rh-text); }

.rh-btn--block { width: 100%; }
.rh-btn--sm { min-height: 36px; padding: var(--rh-2) var(--rh-4); font-size: var(--rh-fs-sm); }

.rh-btn-group { display: flex; flex-wrap: wrap; gap: var(--rh-3); }

/* ---- Ícones do sprite ----
   O estilo dos ícones vive em atributos de apresentação dentro do próprio
   sprite: seletores de classe não atravessam o shadow DOM criado por <use>.
   As cores vêm de variáveis CSS, que herdam normalmente. */
.rh-icon { width: 48px; height: 48px; display: block; }

/* ---- Acessibilidade ---- */
.rh-sr {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.rh-skip {
  position: absolute;
  left: var(--rh-4);
  top: -100px;
  z-index: 200;
  background: var(--rh-primary);
  color: var(--rh-on-primary);
  padding: var(--rh-3) var(--rh-4);
  border-radius: var(--rh-r-md);
  transition: top var(--rh-base) var(--rh-ease);
}
.rh-skip:focus { top: var(--rh-4); color: var(--rh-on-primary); }

/* ---- Revelação ao rolar ---- */
/* Sem JS o conteúdo aparece normalmente; a classe .rh-js só é
   adicionada quando o script roda, então nada fica preso invisível. */
.rh-js .rh-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--rh-slow) var(--rh-ease), transform var(--rh-slow) var(--rh-ease);
}
.rh-js .rh-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rh-js .rh-reveal { opacity: 1; transform: none; }
}

/* ---- Utilitários de composição (evitam style="" inline) ---- */
.rh-center { text-align: center; }
.rh-narrow { max-width: 720px; }
.rh-narrow-sm { max-width: 640px; }
.rh-mt-5 { margin-top: var(--rh-5); }
.rh-mt-6 { margin-top: var(--rh-6); }
.rh-note { font-size: var(--rh-fs-sm); }
.rh-plans--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .rh-plans--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 639px) { .rh-plans--3 { grid-template-columns: 1fr; } }
.rh-mt-7 { margin-top: var(--rh-7); }
.rh-mb-6 { margin-bottom: var(--rh-6); }
.rh-sprite { display: none; }
