@font-face { font-family: "Big Shoulders"; src: url(fonts/bsd-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url(fonts/bsd-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(fonts/jbm-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --noite: #08111F;      /* céu da cidade à noite */
  --noite-2: #0E1B2E;    /* superfícies */
  --linha: #1D3049;      /* bordas */
  --texto: #E6EEF6;
  --fraco: #93A7BC;
  --verde: #3BE07A;      /* o verde do pedro.dev */
  --ciano: #36B8FF;      /* o azul dos colchetes do avatar */
  --raio: 14px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noite);
  color: var(--texto);
  font: 400 17px/1.6 Figtree, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Big Shoulders", Impact, sans-serif; font-weight: 800; line-height: .95; margin: 0; letter-spacing: .005em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 6px; }

.pular { position: absolute; left: -9999px; }
.pular:focus { left: 16px; top: 12px; z-index: 10; background: var(--verde); color: var(--noite); padding: 8px 14px; border-radius: 8px; }

/* ---------- topo ---------- */
.topo {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  max-width: var(--max); margin: 0 auto; padding: 14px 24px;
  background: rgba(8, 17, 31, .82); backdrop-filter: blur(10px);
}
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 19px; }
.marca img { border-radius: 9px; }
.marca b { color: var(--verde); font-weight: 700; }
.topo nav { display: flex; gap: 22px; margin-left: auto; }
.topo nav a { text-decoration: none; color: var(--fraco); font-weight: 500; font-size: 15px; }
.topo nav a:hover { color: var(--texto); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 10px; border: 2px solid var(--verde);
  background: var(--verde); color: #04140A; font: 700 16px Figtree, sans-serif;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: #5BEA92; border-color: #5BEA92; }
.btn-linha { background: transparent; color: var(--texto); border-color: var(--linha); }
.btn-linha:hover { background: var(--noite-2); border-color: var(--fraco); }
.btn-pequeno { padding: 9px 16px; font-size: 14px; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: 72px 24px 64px;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero h1 { font-size: clamp(54px, 7.4vw, 104px); text-transform: uppercase; }
.hero h1 .quebra { display: block; color: var(--verde); }
.lead { margin-top: 24px; max-width: 34em; font-size: 19px; color: #C9D6E3; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.bases { margin-top: 22px; color: var(--fraco); font-size: 15px; }
.bases strong { color: var(--texto); font-weight: 500; }

/* console F8: o elemento marcante da página */
.console {
  margin: 0; border-radius: var(--raio); overflow: hidden;
  background: #050B15; border: 1px solid var(--linha);
  box-shadow: 0 30px 80px rgba(54, 184, 255, .12), 0 0 0 1px rgba(59, 224, 122, .06);
  font: 400 13.5px/1.75 "JetBrains Mono", ui-monospace, monospace;
}
.console-barra { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--linha); background: #0A1424; }
.console-barra span { width: 11px; height: 11px; border-radius: 50%; background: #23354F; }
.console-barra em { margin-left: 8px; color: var(--fraco); font-style: normal; font-size: 12px; }
.console-linhas { list-style: none; margin: 0; padding: 16px 18px 20px; min-height: 260px; }
.console-linhas li { white-space: pre-wrap; color: #C6D3E1; }
.console-linhas .t { color: #4C6480; font-style: normal; }
.console-linhas .v { color: var(--verde); font-weight: 400; }
.console-linhas .c { color: var(--ciano); font-weight: 400; }
.console-linhas u { text-decoration: none; color: #F3D47C; }
.console-linhas li.digitando::after { content: "▌"; color: var(--verde); animation: pisca 1s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }

/* ---------- prova ---------- */
.prova { max-width: var(--max); margin: 0 auto; padding: 8px 24px 64px; }
.prova-titulo { font-family: Figtree, sans-serif; font-weight: 500; font-size: 15px; color: var(--fraco); }
.cidades { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 34px; margin: 14px 0 0; padding: 0; }
.cidades li { font-family: "Big Shoulders", Impact, sans-serif; font-weight: 600; font-size: clamp(28px, 3.6vw, 44px); color: #C9D6E3; line-height: 1.15; }
.prova-nota { margin-top: 14px; color: var(--fraco); font-size: 15px; }

/* ---------- blocos ---------- */
.bloco { max-width: var(--max); margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--linha); }
.bloco > h2 { font-size: clamp(44px, 5.4vw, 68px); text-transform: uppercase; margin-bottom: 40px; }

.caso h3 { font-size: 34px; text-transform: uppercase; }
.cliente { color: var(--ciano); font-weight: 500; font-size: 15px; margin-top: 8px; }
.caso p + p { margin-top: 12px; }
.caso-texto > p:not(.cliente):not(.dica) { color: #C9D6E3; margin-top: 14px; max-width: 32em; }
.pontos { margin: 18px 0 0; padding-left: 18px; color: #C9D6E3; }
.pontos li { margin: 4px 0; }
.pontos li::marker { color: var(--verde); }

.caso-grande, .caso-giro { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.caso-giro { grid-template-columns: 1fr 1fr; }

.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--raio); overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play { position: absolute; left: 76%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--verde); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #04140A; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video:hover .play { background: #5BEA92; }

.giro { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 1; border-radius: var(--raio); overflow: hidden; border: 1px solid var(--linha); cursor: grab; touch-action: pan-y; user-select: none; }
.giro.arrastando { cursor: grabbing; }
.giro img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.giro-pontos { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.giro-pontos i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.35); }
.giro-pontos i.on { background: var(--verde); }
.dica { margin-top: 18px; color: var(--verde); font-weight: 500; }

.dupla { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.caso-pequeno img { border-radius: var(--raio); border: 1px solid var(--linha); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 22px; }
.caso-pequeno h3 { font-size: 28px; }
.caso-pequeno > p:last-child { color: #C9D6E3; margin-top: 12px; }

/* ---------- serviços ---------- */
.servicos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; margin: 0; }
.servicos dt { font-family: "Big Shoulders", Impact, sans-serif; font-weight: 800; font-size: 26px; text-transform: uppercase; line-height: 1; }
.servicos dt::before { content: ""; display: block; width: 28px; height: 3px; background: var(--verde); margin-bottom: 14px; }
.servicos dd { margin: 10px 0 0; color: #C9D6E3; }

/* ---------- como funciona (sequência real) ---------- */
.passos { list-style: none; counter-reset: passo; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 0; padding: 0; }
.passos li { counter-increment: passo; border-top: 2px solid var(--linha); padding-top: 18px; }
.passos li::before { content: counter(passo); font-family: "Big Shoulders", Impact, sans-serif; font-weight: 800; font-size: 54px; line-height: 1; color: var(--verde); }
.passos h3 { font-size: 26px; text-transform: uppercase; margin: 10px 0 8px; }
.passos p { color: #C9D6E3; font-size: 16px; }

/* ---------- dúvidas ---------- */
.duvidas { max-width: 760px; }
.duvidas details { border-bottom: 1px solid var(--linha); }
.duvidas summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 28px; color: var(--verde); font-weight: 400; }
.duvidas details[open] summary::after { content: "−"; }
.duvidas details p { padding: 0 0 22px; color: #C9D6E3; max-width: 38em; }

/* ---------- contato ---------- */
.contato { max-width: var(--max); margin: 0 auto; padding: 88px 24px; border-top: 1px solid var(--linha); }
.contato h2 { font-size: clamp(48px, 6.4vw, 84px); text-transform: uppercase; max-width: 12em; }
.contato > p { margin-top: 16px; color: #C9D6E3; font-size: 19px; }
.aviso { margin-top: 14px; min-height: 1.6em; color: var(--verde); font-weight: 500; }

.rodape { max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px; border-top: 1px solid var(--linha); color: #5E7590; font-size: 14px; }
.rodape p + p { margin-top: 6px; }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .topo nav { display: none; }
  .topo .btn-pequeno { margin-left: auto; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; gap: 40px; }
  .caso-grande, .caso-giro, .dupla { grid-template-columns: 1fr; gap: 28px; }
  .caso-giro .caso-texto { order: 1; }
  .giro { order: 2; }
  .servicos { grid-template-columns: 1fr 1fr; }
  .passos { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topo, .hero, .prova, .bloco, .contato, .rodape { padding-left: 16px; padding-right: 16px; }
  .servicos, .passos { grid-template-columns: 1fr; }
  .console { font-size: 12px; }
  .acoes .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .console-linhas li.digitando::after { animation: none; }
}
