@import url("fonts.css");

:root {
  --ink: #17224f;        /* azul-marinho do contorno do logo */
  --ink-2: #24326b;
  --cream: #fff8d8;      /* creme das letras GG */
  --sun: #ff8a1f;        /* laranja do sol */
  --rose: #ee3f86;       /* rosa das bolinhas */
  --steel: #2f3a45;      /* cinza do fone */
  --paper: #ffffff;
  --line: #e3e6f0;
  --text: #1c2233;
  --muted: #5a6275;
  --display: "Bungee", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cream); color: var(--ink); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 16px; }

/* ---------- topo ---------- */
.top { background: var(--ink); color: var(--cream); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font: 400 18px/1 var(--display); letter-spacing: .02em; }
.nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; font-weight: 500; font-size: 15px; }
.nav ul a { text-decoration: none; opacity: .85; }
.nav ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 88px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font: 400 clamp(36px, 5.4vw, 64px)/1.04 var(--display); margin: 0 0 24px; letter-spacing: -.01em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--sun); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid var(--cream); }
.btn-solid { background: var(--cream); color: var(--ink); }
.btn-ghost { color: var(--cream); }
.btn:hover { transform: translateY(-1px); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; padding-bottom: 64px; } }

/* ---------- assinatura: registro da partida (gg wp) ---------- */
.kicker { font: 700 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); margin: 0 0 22px; }
.kicker span { color: #c9c6b5; letter-spacing: .06em; text-transform: none; font-weight: 500; }
.hero .sub { font-size: 19px; max-width: 34em; color: #e9e6d4; margin: 0 0 32px; }
.log { margin: 0; justify-self: stretch; background: #0f1738; border: 2px solid #34437f; border-radius: 16px; padding: 22px 24px; font: 500 15px/1.5 var(--mono); color: #c9cbe0; box-shadow: 0 18px 0 -6px #0b1230; }
.log figcaption { font: 700 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8b94c4; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed #34437f; }
.log ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.log li { opacity: 0; transform: translateY(4px); animation: in .4s ease forwards; }
.log li:nth-child(1) { animation-delay: .2s; } .log li:nth-child(2) { animation-delay: .7s; } .log li:nth-child(3) { animation-delay: 1.2s; } .log li:nth-child(4) { animation-delay: 1.7s; } .log li:nth-child(5) { animation-delay: 2.4s; }
.log .t { color: #6f78a8; margin-right: 10px; }
.log li::after { content: " ✓"; color: #7fb3ff; }
.log .end { margin-top: 8px; padding-top: 14px; border-top: 1px dashed #34437f; }
.log .end::after { content: ""; }
.log .end b { font: 400 34px/1 var(--display); background: linear-gradient(120deg, var(--sun), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; vertical-align: middle; }
@keyframes in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .log li { animation: none; opacity: 1; transform: none; } }

/* ---------- seções ---------- */
section.block { padding: 96px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 8px; }
.eyebrow { font: 700 13px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
h2 { font: 700 clamp(30px, 4vw, 46px)/1.1 var(--body); letter-spacing: -.02em; margin: 0 0 20px; color: var(--ink); max-width: 18em; }
.lead { font-size: 19px; color: var(--muted); max-width: 40em; margin: 0 0 48px; }

/* como funciona: é uma sequência real, por isso numerada */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.flow li { padding: 28px 24px 8px 0; border-top: 3px solid var(--ink); counter-increment: s; position: relative; }
.flow li::before { content: counter(s); font: 400 34px/1 var(--display); color: var(--sun); display: block; margin-bottom: 14px; }
.flow h3 { font: 700 20px/1.25 var(--body); margin: 0 0 8px; color: var(--ink); }
.flow p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr 1fr; gap: 0 24px; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } }

.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #f6f7fb; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.card h3 { font: 700 21px/1.25 var(--body); margin: 0 0 10px; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.rules div { padding: 22px 0; border-top: 1px solid var(--line); }
.rules h3 { font: 700 19px/1.3 var(--body); margin: 0 0 6px; color: var(--ink); }
.rules p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } }

/* contato / vagas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { border-radius: 18px; padding: 36px; }
.panel h3 { font: 400 26px/1.15 var(--display); margin: 0 0 12px; }
.panel p { margin: 0 0 24px; }
.panel-ink { background: var(--ink); color: var(--cream); }
.panel-ink p { color: #e2dfcc; }
.panel-cream { background: var(--cream); color: var(--ink); border: 2px solid var(--ink); }
.panel .btn { border-color: currentColor; }
.panel-ink .btn { background: var(--cream); color: var(--ink); }
.panel-cream .btn { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .panel { padding: 28px; } }

/* rodapé */
footer { background: var(--steel); color: #d9dde3; font-size: 14px; padding: 40px 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; align-items: center; }
.foot a { color: #fff; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.legal { color: #b8bec8; }

/* páginas de texto (políticas) */
.doc { padding: 64px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font: 400 clamp(30px, 5vw, 44px)/1.1 var(--display); color: var(--ink); margin: 0 0 8px; }
.doc .updated { font: 500 13px var(--mono); color: var(--muted); margin: 0 0 40px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; }
.doc p, .doc li { color: #353c4e; }

.panel .note { font-size: 14px; color: var(--muted); margin: -8px 0 22px; }
.panel .note a { color: var(--ink); }
