/* Connecta — página de links. Mesma paleta do site: #f0efec sobre #060607. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root, html[data-theme="dark"] {
  color-scheme: dark;
  --void: #060607;
  --panel: #101013;
  --ink: #f0efec;
  --ink-85: rgba(240, 239, 236, 0.85);
  --ink-70: rgba(240, 239, 236, 0.7);
  --ink-55: rgba(240, 239, 236, 0.55);
  --ink-38: rgba(240, 239, 236, 0.38);
  --ink-14: rgba(240, 239, 236, 0.14);
  --ink-09: rgba(240, 239, 236, 0.09);
  --edge: rgba(240, 239, 236, 0.12);
  --edge-strong: rgba(240, 239, 236, 0.2);
  --blue: #0867df;
  --blue-ink: #ffffff;
  --ink-rgb: 240, 239, 236;
  --void-rgb: 6, 6, 7;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --col: 560px;
}

html[data-theme="light"] {
  color-scheme: light;
  --void: #f0efec;
  --panel: #ffffff;
  --ink: #060607;
  --ink-85: rgba(6, 6, 7, 0.85);
  --ink-70: rgba(6, 6, 7, 0.7);
  --ink-55: rgba(6, 6, 7, 0.58);
  --ink-38: rgba(6, 6, 7, 0.38);
  --ink-14: rgba(6, 6, 7, 0.12);
  --ink-09: rgba(6, 6, 7, 0.06);
  --edge: rgba(6, 6, 7, 0.1);
  --edge-strong: rgba(6, 6, 7, 0.16);
  --ink-rgb: 6, 6, 7;
  --void-rgb: 240, 239, 236;
  --shadow: 0 18px 40px rgba(6, 6, 7, 0.08);
}

html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(8, 103, 223, 0.16), transparent 60%),
    var(--void);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
em { font-style: normal; color: rgba(255, 255, 255, 0.78); }
.mono { font-family: var(--mono); }
.on-light { display: none; }
html[data-theme="light"] .on-dark { display: none; }
html[data-theme="light"] .on-light { display: block; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 20;
  padding: 10px 16px; border-radius: 999px;
  background: var(--blue); color: var(--blue-ink); font-weight: 600;
  transform: translateY(-160%);
}
.skip:focus-visible { transform: none; }

.top, .page { width: min(var(--col), calc(100% - 32px)); margin: 0 auto; }
.top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; padding-top: 8px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 620; letter-spacing: -0.03em; }
.brand-mark { width: 28px; height: 28px; }
.theme {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--edge-strong);
  display: grid; place-items: center;
}
.theme svg { width: 18px; height: 18px; }
html[data-theme="dark"] .icon-moon, html[data-theme="light"] .icon-sun { display: none; }

.profile { padding: 8px 0 22px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--panel);
  border: 1px solid var(--edge-strong);
  box-shadow: var(--shadow);
}
.avatar img { width: 34px; height: 34px; }
.profile-id { margin-top: 14px; }
.profile h1 { font-size: 1.65rem; letter-spacing: -0.04em; line-height: 1.05; font-weight: 620; }
.handle { margin-top: 4px; color: var(--ink-55); font-size: 0.75rem; letter-spacing: 0.01em; }
.bio { margin-top: 12px; color: var(--ink-70); max-width: 38ch; }

.stage { margin: 0 0 14px; }
.stage-frame {
  position: relative; overflow: hidden; border-radius: 28px;
  background: #07080c; color: #f0efec;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stage-tall { aspect-ratio: 4 / 5; }
.stage-wide { aspect-ratio: 16 / 11; }
.stage-still, .stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.stage-still { object-fit: contain; padding: 18% 22% 28%; opacity: 0.9; }
.stage-still-bolha { padding: 16% 18% 26%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.stage-canvas { opacity: 0; }
.js .stage.is-live .stage-canvas { opacity: 1; }
.js .stage.is-live .stage-still { opacity: 0; }
.stage-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, transparent 28%, transparent 46%, rgba(0,0,0,.72) 100%);
}
.stage-copy { position: absolute; left: 18px; right: 64px; bottom: 62px; z-index: 2; }
.sim-tag {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 8px; padding: 4px 9px; border-radius: 999px;
  background: rgba(0,0,0,.38); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.sim-tag i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 0 rgba(255,59,48,.7); }
.js .stage.is-live:not(.is-paused) .sim-tag i { animation: rec 1.6s ease-out infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 7px rgba(255,59,48,0); } }
.stage-copy h2 { font-size: clamp(1.45rem, 5.4vw, 2rem); line-height: 1.05; letter-spacing: -0.04em; font-weight: 620; max-width: 16ch; }
.stage-sub { margin-top: 8px; color: rgba(240,239,236,.72); font-size: 0.86rem; max-width: 32ch; }
.stage-link {
  display: inline-flex; margin-top: 10px; font-weight: 600; font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,.45);
}
.stage-bar {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3;
  display: flex; align-items: center; gap: 10px; min-height: 44px;
}
.stage-play {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
}
.stage-play svg { width: 16px; height: 16px; fill: currentColor; }
.stage.is-paused .ic-pause, .stage:not(.is-paused) .ic-play { display: none; }
.stage-time { font-size: 0.72rem; color: rgba(255,255,255,.8); min-width: 4.2ch; }
.stage-track { flex: 1; height: 3px; border-radius: 99px; background: rgba(255,255,255,.22); overflow: hidden; }
.stage-track i { display: block; height: 100%; width: 0; background: #fff; border-radius: inherit; }
@media (prefers-reduced-motion: reduce) {
  .stage-canvas, .stage-play, .stage-time, .stage-track { display: none; }
  .stage-still { opacity: 1 !important; }
  .sim-tag i { animation: none; }
}

.host {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  width: 100%;
  margin: 22px 0 18px; padding: 28px 22px 26px;
  border-radius: 28px; color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255,255,255,.18), transparent 46%),
    linear-gradient(155deg, #0c5fe0 0%, #0747ad 52%, #042e78 100%);
  box-shadow: 0 22px 50px rgba(4, 40, 110, 0.35);
}
.host-kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.host-badge { width: min(320px, 100%); height: auto; }
.host strong { font-size: clamp(1.55rem, 4.6vw, 2.15rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 640; max-width: 16ch; }
.host-p { color: rgba(255,255,255,.86); max-width: 42ch; font-size: 0.98rem; }
.host-cta, .miss-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  background: #fff; color: #06398f; font-weight: 680; letter-spacing: -0.02em;
}
.host:hover .host-cta { background: #f0efec; }

.links { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.link {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  min-height: 72px; padding: 12px 14px 12px 12px;
  border-radius: 22px; background: var(--panel); border: 1px solid var(--edge);
  transition: transform 220ms var(--ease), border-color 220ms ease;
}
.link:hover { transform: translateY(-2px); border-color: var(--edge-strong); }
.link-ic {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center; background: var(--ink-09);
}
.link-ic svg { width: 22px; height: 22px; }
.link-tx { min-width: 0; }
.link-tx b { display: block; font-size: 1.02rem; letter-spacing: -0.03em; font-weight: 620; }
.link-tx small { display: block; margin-top: 2px; color: var(--ink-55); font-size: 0.82rem; overflow-wrap: anywhere; }
.link-go { color: var(--ink-38); font-size: 1.1rem; }

.want {
  display: flex; flex-direction: column; gap: 8px;
  margin: 18px 0 8px; padding: 22px 20px;
  border-radius: 28px; border: 1px solid var(--edge-strong); background: var(--panel);
}
.want-kicker { color: var(--ink-55); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }
.want strong { font-size: clamp(1.45rem, 5vw, 1.85rem); letter-spacing: -0.04em; line-height: 1.08; max-width: 16ch; }
.want-go { color: var(--blue); font-weight: 650; }
html[data-theme="light"] .want-go { color: #0653b5; }

.footer { margin-top: 36px; border-top: 1px solid var(--edge); }
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.footer-ask { border-bottom: 1px solid var(--edge); }
.footer-ask-inner { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0; align-items: center; }
.footer-ask p { margin-top: 6px; color: var(--ink-70); max-width: 52ch; }
.footer-ask a { text-decoration: underline; text-underline-offset: 3px; }
.ask-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-row a {
  min-height: 40px; padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--edge-strong); font-size: 0.86rem;
}
.footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 48px 0 28px; }
.footer-label { display: block; margin-bottom: 14px; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-55); }
.footer-col p, .footer-col a { color: var(--ink-70); font-size: 0.9rem; line-height: 1.7; }
.footer-col a { display: block; width: fit-content; margin-bottom: 8px; }
.footer-col a:hover { color: var(--blue); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--edge-strong);
  display: grid; place-items: center;
}
.footer-social svg { width: 18px; height: 18px; }
.back-top { margin-top: 16px; color: var(--ink-55); font-size: 0.72rem; letter-spacing: 0.08em; min-height: 44px; }
.footer-marks-wrap { display: flex; justify-content: center; padding: 8px 16px 22px; }
.footer-marks { display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.footer-connecta-mark { width: min(220px, 46vw); height: auto; }
.footer-hostinger-mark { width: min(120px, 28vw); height: auto; }
.footer-marks-divider { width: 1px; height: 34px; background: var(--ink-38); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 18px 0 28px; border-top: 1px solid var(--edge);
  color: var(--ink-55); font-size: 0.78rem;
}
.miss { min-height: 100vh; display: grid; place-content: center; gap: 12px; padding: 24px; text-align: center; }
.miss h1 { font-size: 1.6rem; letter-spacing: -0.04em; }
.miss-cta { justify-self: center; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-ask-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .top, .page { width: min(var(--col), calc(100% - 28px)); }
  .stage-copy { left: 14px; right: 14px; bottom: 56px; }
  .host { padding: 22px 18px; margin-left: auto; margin-right: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; }
  .footer-marks { gap: 12px; }
  .footer-connecta-mark { width: 168px; }
  .footer-hostinger-mark { width: 96px; }
  .container { width: min(1100px, calc(100% - 28px)); }
}
