/* ==========================================================================
   03. BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gr-ink);
  background: var(--gr-surface);
  font-family: var(--gr-font-body);
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

main {
  overflow: clip;
}

::selection {
  color: var(--gr-blue-950);
  background: var(--gr-yellow-500);
}

/* ==========================================================================
   04. UTILITÁRIOS E TIPOGRAFIA
   ========================================================================== */
.gr-container {
  width: var(--gr-container);
  margin-inline: auto;
}

.gr-container--wide {
  width: var(--gr-container-wide);
  margin-inline: auto;
}

.gr-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.gr-section--white {
  background: var(--gr-white);
}

.gr-section--soft {
  background:
    radial-gradient(circle at 5% 0%, rgba(24, 189, 229, 0.08), transparent 23rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.gr-section-label,
.gr-tag,
.gr-meta,
.gr-badge,
.gr-kicker {
  font-family: var(--gr-font-light);
}

.gr-section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 0.9rem;
  color: var(--gr-blue-700);
  font-size: var(--gr-type-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gr-section-label::before {
  content: "";
  width: 2rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--gr-yellow-500);
}

.gr-section-label--light {
  color: rgba(255,255,255,0.82);
}

.gr-title,
.gr-hero__title,
.gr-page-hero__title,
.gr-closing__title {
  margin: 0;
  font-family: var(--gr-font-display);
  font-size: var(--gr-type-display-xl);
  line-height: 0.92;
  letter-spacing: -0.035em;
  
}

.gr-title--sm {
  font-size: var(--gr-type-display-lg);
}

.gr-title--xs {
  font-size: var(--gr-type-display-md);
}

.gr-title--light {
  color: var(--gr-white);
}

.gr-callout {
  font-family: var(--gr-font-callout);
  
}

.gr-lead,
.gr-copy,
p {
  color: var(--gr-muted);
  font-family: var(--gr-font-light);
}

.gr-lead {
  max-width: 42rem;
  font-size: var(--gr-type-body-lg);
}

.gr-copy-narrow {
  max-width: 34rem;
}

/*
 * Badges, tags e chips são componentes compartilhados pela Home e pelas
 * páginas internas. A definição visual única permanece em components.css.
 */

.gr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.gr-section-head__copy {
  max-width: 46rem;
}



/* ==========================================================================
   ACESSIBILIDADE E FLUXO
   ========================================================================== */
:focus-visible {
  outline: 3px solid rgba(24, 189, 229, 0.5);
  outline-offset: 3px;
}

[hidden] {
  display: none;
}

.gr-skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 3000;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--gr-white);
  background: var(--gr-blue-950);
  transform: translateY(-150%);
  transition: transform var(--gr-transition);
}

.gr-skip-link:focus {
  transform: translateY(0);
}

.gr-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
