/* Link hub at "/" and "/en/": one column of image cards, no scripts. */
:root { --bg: #06080d; --panel: #0c1018; --text: #f2f5fa; --muted: #9aa6b8; --blue: #2f7cff; --border: #ffffff17; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; min-height: 100svh; background: var(--bg); color: var(--text); font: 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; overflow-x: clip; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hub-glow { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(60% 45% at 50% 0%, #2f7cff2e, transparent 70%), radial-gradient(40% 35% at 85% 90%, #7a4dff1f, transparent 70%); }
.hub-shell { position: relative; z-index: 1; width: min(100% - 32px, 600px); margin: 0 auto; padding: 56px 0 40px; }

.hub-head { position: relative; display: grid; justify-items: center; text-align: center; margin-bottom: 28px; }
.hub-lang { position: absolute; top: -28px; right: 0; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border: 1px solid var(--border); border-radius: 999px; background: #0c1018cc; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-decoration: none; transition: border-color .25s; }
.hub-lang:hover { border-color: #6ea3ff; }
.hub-flag { width: 22px; height: 15px; border-radius: 3px; background: center / cover no-repeat; }
.hub-flag-us { background-image: url("/assets/icons/flag-us.svg"); }
.hub-flag-br { background-image: url("/assets/icons/flag-br.svg"); }
.hub-avatar { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; border: 2px solid #ffffff22; box-shadow: 0 0 0 6px #2f7cff1a, 0 18px 40px #000a; }
.hub-head h1 { margin: 18px 0 4px; font-size: clamp(28px, 7vw, 36px); line-height: 1.05; letter-spacing: -.03em; }
.hub-role { margin: 0; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.hub-intro { margin: 12px 0 0; color: var(--muted); font-size: 15px; }

.hub-links { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hub-card { position: relative; display: block; overflow: hidden; aspect-ratio: 12 / 5; min-height: 176px; border: 1px solid var(--border); border-radius: 20px; background: var(--panel); text-decoration: none; isolation: isolate; transition: transform .35s cubic-bezier(.16, 1, .3, 1), border-color .35s, box-shadow .35s; animation: hubIn .7s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hub-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #06080d 0%, #06080df0 34%, #06080d80 58%, transparent 80%); }
.hub-card-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right center; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.hub-card:hover, .hub-card:focus-visible { transform: translateY(-3px); border-color: #2f7cff88; box-shadow: 0 18px 50px #000b, 0 0 0 1px #2f7cff33; }
.hub-card:hover .hub-card-image { transform: scale(1.04); }
.hub-card-plain::after { background: linear-gradient(120deg, #13254a, #06080d 70%); }
.hub-card-body { display: grid; align-content: center; gap: 6px; height: 100%; max-width: 60%; padding: 20px 22px; }
.hub-card-body strong { font-size: clamp(20px, 5vw, 26px); line-height: 1.1; letter-spacing: -.02em; }
.hub-card-text { color: #c8d1de; font-size: 14px; line-height: 1.4; }
.hub-card-cta { justify-self: start; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .02em; transition: background .25s; }
.hub-card:hover .hub-card-cta { background: #4b8fff; }
.hub-card-cta b { font-weight: 400; }

.hub-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin-top: 36px; color: #6f7a8c; font-size: 12px; }
.hub-foot nav { display: flex; gap: 14px; }
.hub-foot a { text-decoration: none; }
.hub-foot a:hover { color: var(--text); }

@keyframes hubIn { from { opacity: 0; transform: translateY(18px); } }

@media (max-width: 520px) {
  .hub-shell { padding-top: 64px; }
  .hub-card { aspect-ratio: auto; min-height: 168px; }
  .hub-card::after { background: linear-gradient(90deg, #06080d 0%, #06080df2 55%, #06080da6 80%, #06080d59 100%); }
  .hub-card-body { max-width: 72%; padding: 18px; }
  .hub-card-text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hub-card, .hub-card-image { animation: none; transition: none; }
  .hub-card:hover { transform: none; }
}
