/* ==========================================================================
   OliveiraCode · Link Hub · Base
   Fundo #030305 = cor exata do fundo da logo original (amostrada em pixel).
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('../fonts/geist-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist Mono';
  src: url('../fonts/geist-mono-latin.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #030305;
  --surface: #0b111c;
  --surface-2: #101a28;
  --blue: #098cf5;
  --blue-deep: #0757b8;
  --blue-mid: #0a6fd6;
  --blue-bright: #35b4ff;
  --text: #f4f7fb;
  --muted: #a6b3c6;
  --muted-2: #7d8ba0;
  --border: rgba(139, 192, 241, .16);
  --border-strong: rgba(139, 192, 241, .30);
  --hairline: rgba(139, 192, 241, .12);

  --radius-card: 18px;
  --radius-sm: 12px;
  --ease-premium: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', monospace;
  --font-serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;

  --gutter: 20px;
  --col: 560px;
  --wide: 1080px;
  /* Largura visível da logo: limitada por largura, altura de tela e teto. */
  --brand-w: clamp(200px, min(82vw, 42svh), 440px);
}

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

html {
  background: var(--bg);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@supports (overflow-x: clip) { html { overflow-x: clip; } }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }

img, svg, canvas { display: block; }
img { max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
em { font-style: normal; }
i { font-style: normal; }
button { font: inherit; color: inherit; }

::selection { background: rgba(9, 140, 245, .45); color: #fff; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

.nowrap { white-space: nowrap; }

.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: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 50%;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -160%);
  transition: transform .3s var(--ease-premium), opacity .2s;
}
.skip-link:focus-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   A. Atmosfera
   -------------------------------------------------------------------------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--bg);
  overflow: hidden;
}
.atmosphere__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 42% at 50% -4%, rgba(9, 140, 245, .17), rgba(9, 140, 245, .05) 45%, transparent 72%),
    radial-gradient(55% 30% at 50% 108%, rgba(9, 140, 245, .07), transparent 70%);
}
.atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(139, 192, 241, .05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 192, 241, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: calc(50% - 28px) 0;
  -webkit-mask-image: radial-gradient(75% 60% at 50% 18%, transparent 14%, #000 42%, transparent 82%);
  mask-image: radial-gradient(75% 60% at 50% 18%, transparent 14%, #000 42%, transparent 82%);
}
.atmosphere__particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: none;
}
.signal { display: none; }

/* HUD editorial: só desktop (ver responsive.css) */
.hud { display: none; }

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */
.page {
  min-height: 100svh;
  padding:
    max(14px, env(safe-area-inset-top))
    max(var(--gutter), env(safe-area-inset-right))
    max(18px, env(safe-area-inset-bottom))
    max(var(--gutter), env(safe-area-inset-left));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow i { color: var(--muted-2); }
.eyebrow__index {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 18px;
  padding: 0 6px;
  border: 1px solid rgba(53, 180, 255, .35);
  border-radius: 5px;
  color: var(--blue-bright);
  letter-spacing: .08em;
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   B. Hero de identidade
   -------------------------------------------------------------------------- */
.hero {
  max-width: var(--col);
  margin: 0 auto;
  text-align: center;
}

.topline {
  position: relative;
  height: 1px;
  margin: 4px auto 0;
  width: min(100%, 220px);
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  overflow: hidden;
}
.topline__beam {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, rgba(53, 180, 255, .9), transparent);
  transform: translateX(-110%);
}

/* Palco da logo. IMPORTANTE: nenhum ancestral da <img> pode criar stacking
   context (transform, filter, opacity < 1, z-index, isolation, clip-path),
   senão o mix-blend-mode perde o fundo da página. */
.stage {
  position: relative;
  width: var(--brand-w);
  margin: clamp(10px, 3svh, 30px) auto 0;
}
.stage__glow {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 135%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(9, 140, 245, .22), rgba(9, 140, 245, .08) 45%, transparent 100%);
  pointer-events: none;
}
/* viewBox -200 200 1654 550 do SVG mapeado sobre a caixa da logo
   (origem 120,270; 1014×685 no arquivo original). */
.stage__orbits {
  position: absolute;
  left: -31.558%;
  top: -10.219%;
  width: 163.116%;
  height: 80.292%;
  overflow: visible;
  pointer-events: none;
}
.orbit__sat { fill: #8fd3ff; }

/* Recorte por CSS da área útil da logo (x 120–1134, y 270–955 do original
   1254×1254). Os pixels do arquivo não são alterados. */
.brand {
  position: relative;
  width: 100%;
  aspect-ratio: 1014 / 685;
  overflow: hidden;
}
.brand__logo {
  position: absolute;
  left: -11.834%;
  top: -39.416%;
  width: 123.669%;
  max-width: none;
  height: auto;
  /* O fundo da logo (#030305) se funde ao ambiente; a marca, mais clara
     que a luz de fundo, permanece intacta. */
  mix-blend-mode: lighten;
  user-select: none;
  -webkit-user-drag: none;
}

.intro {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: clamp(12px, 2.6svh, 28px);
}
.headline {
  max-width: 13.5ch;
  font-size: clamp(2rem, 1.25rem + 3.3vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.headline em,
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--blue-bright);
}
.headline em { font-size: 1.08em; }
.lede {
  max-width: 36ch;
  font-size: clamp(15px, .9rem + .3vw, 17px);
  color: var(--muted);
  text-wrap: pretty;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(11, 17, 28, .55);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
}
.status i { color: var(--blue-bright); }
.status__dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-bright);
}
.status__dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--blue-bright);
  opacity: 0;
}

/* --------------------------------------------------------------------------
   C. Link cards
   -------------------------------------------------------------------------- */
.links {
  max-width: var(--col);
  margin: clamp(26px, 4.5svh, 44px) auto 0;
  scroll-margin-top: 24px;
}
.links__list {
  display: grid;
  gap: 10px;
}
/* Reserva espaço antes da renderização via JS (evita CLS). */
.js .links__list:not(.links__list--static) { min-height: 470px; }
.js .links__list.is-rendered { min-height: 0; }

.link-card {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(20, 31, 48, .62), rgba(9, 14, 22, .7));
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.links__list--static .link-card { grid-template-columns: 1fr; }

/* Spotlight que segue o cursor (desktop). --mx/--my vêm do motion.js. */
.link-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(53, 180, 255, .13), transparent 62%);
  opacity: 0;
  pointer-events: none;
}
/* Borda iluminada pontual (máscara em anel) */
.link-card::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(53, 180, 255, .75), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0;
  pointer-events: none;
}

.link-card__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(53, 180, 255, .2);
  background: linear-gradient(180deg, rgba(9, 140, 245, .14), rgba(9, 140, 245, .04));
  color: var(--blue-bright);
}
.link-card__icon svg { width: 22px; height: 22px; }

.link-card__body {
  position: relative;
  display: grid;
  gap: 3px;
  min-width: 0;
}
.link-card__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-card__meta b { font-weight: 500; color: var(--blue-bright); }
.link-card__title {
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.012em;
}
.link-card__desc {
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}

.link-card__arrow {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--muted);
}
.link-card__arrow svg { width: 16px; height: 16px; }

/* CTA principal: WhatsApp na cor da marca */
.link-card--primary {
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  min-height: 100px;
  padding: 18px 16px 18px 18px;
  border-color: rgba(120, 200, 255, .38);
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .10), transparent 50%),
    linear-gradient(118deg, var(--blue-deep) 0%, var(--blue-mid) 62%, #0b74de 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 18px 40px -22px rgba(9, 140, 245, .85),
    0 0 0 1px rgba(9, 140, 245, .12);
}
.link-card--primary::before {
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .16), transparent 62%);
}
.link-card--primary::after {
  background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .9), transparent 70%);
}
.link-card--primary .link-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.link-card--primary .link-card__icon svg { width: 24px; height: 24px; }
.link-card--primary .link-card__meta { color: rgba(255, 255, 255, .78); }
.link-card--primary .link-card__meta b { color: #fff; }
.link-card--primary .link-card__title { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.link-card--primary .link-card__desc { color: rgba(255, 255, 255, .9); }
.link-card--primary .link-card__arrow {
  width: 40px;
  height: 40px;
  border: 0;
  background: #fff;
  color: var(--blue-deep);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .45);
}
.link-card__sweep {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}
.link-card__sweep::before {
  content: '';
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .0) 20%, rgba(255, 255, 255, .28) 50%, rgba(255, 255, 255, 0) 80%, transparent 100%);
  transform: translateX(-130%) skewX(-12deg);
}

/* --------------------------------------------------------------------------
   Ticker de diferenciais
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  margin: clamp(52px, 8svh, 84px) calc(-1 * var(--gutter)) 0;
  padding: 14px 0;
  border-block: 1px solid var(--hairline);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted-2);
  white-space: nowrap;
}
.ticker__track i { color: var(--blue); }

/* --------------------------------------------------------------------------
   D. Serviços
   -------------------------------------------------------------------------- */
.services {
  max-width: var(--col);
  margin: clamp(56px, 9svh, 96px) auto 0;
}
.section-head { display: grid; gap: 16px; }
.section-title {
  font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.034em;
  text-wrap: balance;
}
.services__list {
  display: grid;
  margin-top: 30px;
  counter-reset: svc;
}
.service {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    'idx title'
    'idx desc'
    'idx tag';
  column-gap: 12px;
  row-gap: 6px;
  padding: 22px 0 24px;
}
.service::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(53, 180, 255, .55), var(--hairline) 40%, var(--hairline));
  transform-origin: left center;
}
.service:last-child::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--hairline);
}
.service__index {
  grid-area: idx;
  padding-top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--blue-bright);
}
.service__title {
  grid-area: title;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.service__desc {
  grid-area: desc;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 42ch;
}
.service__tag {
  grid-area: tag;
  justify-self: start;
  margin-top: 6px;
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   E. Encerramento
   -------------------------------------------------------------------------- */
.closing {
  max-width: var(--col);
  margin: clamp(60px, 10svh, 110px) auto 0;
}
.closing__frame {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 36px 22px 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(9, 140, 245, .16), transparent 70%),
    linear-gradient(180deg, rgba(16, 26, 40, .7), rgba(7, 11, 18, .8));
  text-align: center;
  overflow: hidden;
}
/* Marcas de enquadramento estilo HUD */
.closing__frame::before,
.closing__frame::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(53, 180, 255, .55);
  pointer-events: none;
}
.closing__frame::before { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.closing__frame::after { right: 12px; bottom: 12px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.closing__title { max-width: 18ch; }
.closing__text { max-width: 38ch; color: var(--muted); font-size: 15px; }

.cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  min-height: 58px;
  margin-top: 8px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(120, 200, 255, .38);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(255, 255, 255, .12), transparent 50%),
    linear-gradient(118deg, var(--blue-deep), var(--blue-mid) 70%, #0b74de);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -22px rgba(9, 140, 245, .9);
  color: #fff;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.cta__icon, .cta__arrow { flex: none; }

.closing__aux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  margin-top: 4px;
}
.aux-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  overflow-wrap: anywhere;
}
.aux-link[hidden] { display: none; }
.aux-link svg { flex: none; color: var(--blue-bright); }
.aux-link__icon-done { display: none; }
.aux-link.is-done .aux-link__icon-copy { display: none; }
.aux-link.is-done .aux-link__icon-done { display: block; }

.copy-fallback {
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: 380px;
  font-size: 13px;
  color: var(--muted);
}
.copy-fallback[hidden] { display: none; }
.copy-fallback input {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(3, 3, 5, .6);
  color: var(--text);
  font: 13px var(--font-mono);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  max-width: var(--wide);
  margin: clamp(48px, 8svh, 80px) auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
}
.footer__row {
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-2);
  text-align: center;
}
.footer__tagline i { color: var(--blue); }
.footer__credit a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
  margin: -14px 0;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
