/* CSS Document */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400..700&display=swap');

@font-face {
    font-family: 'GT Walsheim Tom Medium';
    src: url('https://qtgbr.b-cdn.net/_fonts/gt/qBBPUgWmzI9eeGPfhfEkF1M8Q8.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Medium';
    src: url('../_fonts/gt-walsheim-medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Bold';
    src: url('../_fonts/gt-walsheim-bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Regular';
    src: url('https://qtgbr.b-cdn.net/_fonts/gt/mw33WKBOaXb1pzgQcfonv4i9zI.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Black';
    src: url('https://qtgbr.b-cdn.net/_fonts/gt/PcJ0yzAWulkYYny8J2s5H8Dg.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Bold Oblique';
    src: url('https://qtgbr.b-cdn.net/_fonts/gt/NNOZYI61tlbnev2X9hJIM64dg.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'GT Walsheim Medium Oblique';
    src: url('https://qtgbr.b-cdn.net/_fonts/gt/UBprkVmS9hoSiTVpfcFuJLBRb8.woff2')format('woff2');
    font-display: swap;
} 

@font-face {
    font-family: 'Claris Sans';
    src: url('../_fonts/clarissans.ttf') format('truetype');
    font-display: swap;
}

/* Layout da página */
:root {
  --raia-layout-width: 1400px;
  --raia-copy-width: 1152px;
  --raia-text: #f5f5f6; 
  --raia-muted: #d4dced;
  --raia-night: #141414;
  --raia-icon: #00CEAA;
}

body {
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  height: 100vh;
  height: 100dvh;
  isolation: isolate;
  background: var(--raia-night);
  color: var(--raia-text);
  font-family: Inter, Arial, sans-serif; 
  -webkit-font-smoothing: antialiased;
}

.raia-hero {
  position: relative;
  overflow: auto;
  padding-block: 24px;
}
.raia-hero:focus-visible { outline: 2px solid #a9bcff; outline-offset: -2px; }
#inicio { scroll-margin-top: 24px; }

.hero-scene, .hero-scene::before, .hero-scene::after, .liquid-canvas, .particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-scene { position: fixed; z-index: -1; overflow: hidden; background: var(--raia-night); }
.hero-scene::before {
  content: "";
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23grain)'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
  opacity: .32;
}
.hero-scene::after {
  content: "";
  background: radial-gradient(110% 145% at 51% 0%, #14141499, transparent 100%);
}
.liquid-canvas { width: 100%; height: 100%; visibility: hidden; }
.particle-canvas { z-index: 2; width: 100%; height: 100%; }
.hero-scene.is-rendered .liquid-canvas { visibility: visible; }
.hero-scene.is-rendered .liquid-fallback { display: none; }
.liquid-fallback {
  position: absolute;
  inset: -6%;
  background: radial-gradient(70% 80% at 50% 110%,
    #abddff 0%, rgba(0, 141, 255, .8) 35%, rgba(0, 111, 255, .4) 65%, var(--raia-night) 100%);
  animation: liquid-drift 20s ease-in-out infinite alternate;
}
@keyframes liquid-drift {
  from { transform: translate(-4%, 2%) rotate(-3deg); }
  to { transform: translate(4%, -3%) rotate(3deg); }
}

.hero-bar {
  max-width: var(--raia-layout-width);
  min-height: 54px;
}
.raia-brand {
  gap: 9px;
  color: #fff;
  font-family: 'Claris Sans', Inter, Arial, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1;
}
.raia-brand img {
  flex: none;
  width: 28px;
  height: 28px;
}

.raia-footer {
  max-height: 50vh;
  max-height: 50dvh;
  overflow: auto;
}
.raia-footer-inner {
  max-width: var(--raia-layout-width);
  border-top: 1px solid rgb(255 255 255 / 20%);
  padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px));
}
.raia-footer-brand {
  font-size: 1.3125rem;
  text-decoration: none;
  opacity: .6;
}
.raia-footer-brand img { width: 23px; height: 23px; }
.raia-footer-brand:hover, .raia-footer-brand:focus-visible { color: #fff; opacity: 1; }
.raia-footer-brand:focus-visible { outline: 2px solid #a9bcff; outline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .raia-footer-brand { transition: opacity .5s ease; }
}
.raia-footer-copyright {
  margin: 8px 0 0;
  color: #e2e7ef;
  font-size: .6875rem;
  text-shadow: 0 1px 3px #000c;
}

.hero-copy {
  max-width: var(--raia-copy-width);
  padding-top: clamp(88px, 15.25vh, 132px);
}
.hero-status { gap: 8px; color: var(--raia-text); font-size: .875rem; font-weight: 600; }
.hero-stars { flex: none; width: 85px; height: 15px; color: var(--raia-icon); }
.hero-status-text { padding-inline-start: 9px; border-inline-start: 1px solid #ffffff60; text-align: start; }
.hero-status-count { display: inline-block; min-width: 4ch; font-variant-numeric: tabular-nums; }
.hero-title {
  margin: 20px 0 0;
  color: #fff;
  font-family: "GT Walsheim Bold", "GT Walsheim Medium", sans-serif;
  font-size: 78px;
  font-weight: 700;
  font-style: normal;
  font-optical-sizing: auto;
  font-feature-settings: normal;
  letter-spacing: -.04em;
  line-height: 1.2em;
  text-wrap: balance;
}
.hero-title > span { display: block; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  @media (forced-colors: none) {
    .hero-title-accent {
      background-image: linear-gradient(60deg, #00ffd0 0%, #02f 100%);
      background-size: 400% 400%;
      background-position: 50% 50%;
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
    @media (prefers-reduced-motion: no-preference) {
      .hero-title-accent { animation: raia-title-gradient 3s ease-in-out infinite alternate; }
    }
  }
}
@keyframes raia-title-gradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}
.hero-description {
  max-width: 450px;
  margin: 22px auto 0;
  color: var(--raia-muted);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.55;
  text-wrap: balance;
}
.hero-actions { gap: 16px; margin-top: 44px; }

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 20px;
  margin: 76px auto 0;
  padding: 0;
  list-style: none;
  text-align: start;
}
.hero-highlight {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-inline: 12px;
}
.hero-highlight + .hero-highlight { border-inline-start: 1px solid #ffffff2e; }
.hero-highlight svg { flex: none; width: 24px; height: 24px; color: var(--raia-icon); }
.hero-highlight strong { display: block; font-size: 1rem; font-weight: 600; }
.hero-highlight small {
  display: block;
  margin-top: 2px;
  color: var(--raia-muted);
  font-family: var(--bs-font-monospace, monospace);
  font-size: .8125rem;
}

.raia-button {
  --bs-btn-font-family: Inter, Arial, sans-serif;
  --bs-btn-font-size: .875rem;
  --bs-btn-font-weight: 500;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .66rem;
  --bs-btn-border-radius: .76rem;
  gap: 8px;
  min-height: 44px;
}
.raia-button-primary {
  --bs-btn-color: #121416;
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: #111;
  --bs-btn-hover-bg: #eff2ff;
  --bs-btn-hover-border-color: #eff2ff;
  --bs-btn-active-color: #111;
  --bs-btn-active-bg: #dce4ff;
  --bs-btn-active-border-color: #dce4ff;
}
.raia-button-secondary {
  --bs-btn-color: #f5f5f6;
  --bs-btn-bg: #ffffff20;
  --bs-btn-border-color: #ffffff09;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #ffffff35;
  --bs-btn-hover-border-color: #ffffff24;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #ffffff44;
  --bs-btn-active-border-color: #ffffff24;
}
.raia-button:focus-visible { outline: 2px solid #a9bcff; outline-offset: 4px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .raia-button {
    transition: transform .2s ease, box-shadow .2s ease, color .2s ease,
      background-color .2s ease, border-color .2s ease;
  }
  .raia-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 22px #008dff40;
  }
  .raia-button:active {
    transform: translateY(0);
    box-shadow: none;
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .raia-hero { padding-block: 20px; }
  .hero-copy { padding-top: clamp(28px, 6vh, 62px); }
  .hero-actions { margin-top: 28px; }
  .hero-highlights { margin-top: 40px; }
}
@media (max-width: 767.98px) {
  .hero-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 410px; margin-top: 54px; }
  .hero-highlight { justify-content: flex-start; }
  .hero-highlight:nth-child(odd) { border-inline-start: 0; }
}
@media (max-width: 575.98px) {
  .raia-hero { padding-block: 16px 60px; }
  .hero-bar .raia-brand img { width: 24px; height: 24px; }
  .hero-copy { padding-top: clamp(83px, 15svh, 114px); }
  .hero-status { gap: 4px; font-size: clamp(.625rem, 2.9vw, .75rem); }
  .hero-stars { width: clamp(40px, 12vw, 58px); height: auto; }
  .hero-status-text { padding-inline-start: 4px; }
  .hero-title { font-size: clamp(2.25rem, 9.7vw, 3.1rem); }
  .hero-description { max-width: 320px; }
  .hero-actions { gap: 8px; margin-top: 32px; }
}
@media (max-width: 359.98px) {
  .hero-status { margin-inline: -8px; }
}
@media (prefers-reduced-motion: reduce) {
  .liquid-fallback { animation: none; }
}
