/* KEUD, direção "tecnologia": o site como algo que é lido. Mesma parede, mesma tinta. */
@font-face { font-family: "Archivo"; src: url("fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; }
@font-face { font-family: "JetBrains Mono"; src: local("JetBrains Mono"), local("JetBrainsMono-Regular"), url("fonts/JetBrainsMono.woff2") format("woff2"); }

:root {
  --cal: #f1eee7;
  --papel: #f8f6f1;
  --tinta: #171614;
  --suave: #4e4a42;
  --grafite: #8a8478;
  --apagado: #b9b3a8;
  --linha: rgba(23, 22, 20, 0.16);
  --saida: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { background: var(--cal); color: var(--tinta); }
body { margin: 0 auto; width: 1440px; font-family: "Archivo", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
::selection { background: var(--tinta); color: var(--cal); }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
.mono { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0; }

/* ---------- navegação ---------- */
.nav { position: relative; z-index: 6; display: flex; align-items: center; justify-content: space-between; height: 103px; padding: 40px 64px 0; font-size: 15px; font-weight: 500; }
.nav.sobre { position: absolute; inset: 0 0 auto 0; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 700; font-stretch: 125%; letter-spacing: 0.02em; }
.brand i { width: 22px; height: 22px; border: 1.5px solid var(--tinta); border-radius: 50%; }
.links { display: flex; gap: 36px; }
.links .atual { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* ---------- tipo ---------- */
.titulo { font-size: 96px; line-height: 0.98; font-weight: 500; letter-spacing: -0.035em; }
.h2 { font-size: 56px; line-height: 1.04; font-weight: 500; letter-spacing: -0.032em; text-wrap: balance; }
.h3 { font-size: 30px; line-height: 1.12; font-weight: 500; letter-spacing: -0.022em; }
.texto { font-size: 18px; line-height: 1.6; color: var(--suave); }
.pequeno { font-size: 13px; line-height: 1.5; color: var(--grafite); }
.apagado { color: var(--apagado); }

/* ---------- botões ---------- */
.cta { display: inline-flex; align-items: center; gap: 14px; padding: 18px 26px; background: var(--tinta); color: var(--cal); font-weight: 600; font-size: 16px; line-height: 1.5; border-radius: 999px; white-space: nowrap; }
.cta svg, .link-seta svg { width: 14px; height: 14px; }
.link-seta { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: 16px; border-bottom: 1px solid var(--tinta); padding-bottom: 6px; white-space: nowrap; }

/* ---------- seções ---------- */
.secao { position: relative; width: 1440px; padding: 140px 64px; }
.secao + .secao { border-top: 1px solid var(--linha); }
.cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 88px; }
.cabeca .h2 { width: 760px; }
.cabeca .texto { width: 420px; }

/* ---------- a marca (KEUD com faixa de leitura) ---------- */
.km { position: relative; }
.km > div { position: absolute; top: 0; left: 0; }
.km svg { display: block; overflow: visible; }
.km-faixa { overflow: hidden; background: var(--cal); }
.km-faixa > div { position: absolute; top: 0; }
.km-borda { height: calc(100% + 72px); top: -36px !important; width: 0; border-left: 1px solid var(--tinta); pointer-events: none; }
.km-borda span { position: absolute; top: -18px; left: 6px; color: var(--suave); white-space: nowrap; }

/* ---------- busca, pergunta e resposta ---------- */
.busca { display: flex; align-items: center; gap: 16px; font-size: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--linha); }
.busca svg { width: 22px; height: 22px; flex: none; color: var(--suave); }
.cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--tinta); vertical-align: -0.18em; margin-left: 1px; animation: pisca 1s steps(1) infinite; }
@keyframes pisca { 50% { opacity: 0; } }
.cita { display: inline-block; font-size: 0.42em; font-weight: 600; vertical-align: 1.05em; margin-left: 6px; width: 1.9em; height: 1.9em; line-height: 1.75em; text-align: center; border: 1.5px solid var(--tinta); border-radius: 50%; letter-spacing: 0; }
.rotulo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.rotulo i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; }
.rotulo.cheio i { background: currentColor; }
.fonte-url { font-size: 15px; color: var(--suave); display: flex; gap: 12px; align-items: baseline; }
.fonte-url b { color: var(--tinta); font-weight: 600; border-bottom: 1px solid var(--tinta); padding-bottom: 3px; }

/* ---------- esqueleto duplo: o que a pessoa vê / o que o Google lê ---------- */
.duplo { position: relative; background: var(--papel); box-shadow: 0 30px 60px -30px rgba(23, 22, 20, 0.35), 0 2px 6px rgba(23, 22, 20, 0.06); }
.duplo .lado-b { position: absolute; top: 0; bottom: 0; right: 0; overflow: hidden; background: var(--papel); }
.duplo .lado-b > div { position: absolute; top: 0; right: 0; }
.duplo .corte { position: absolute; top: -18px; bottom: -18px; width: 0; border-left: 1px solid var(--tinta); }
.duplo .corte i { position: absolute; left: -13px; top: calc(50% - 13px); width: 26px; height: 26px; border-radius: 50%; background: var(--tinta); transition: transform .25s var(--saida); }
.duplo:hover .corte i, .duplo.arrastando .corte i { transform: scale(1.22); }
.duplo { user-select: none; }
.duplo .corte i svg { position: absolute; left: 5px; top: 5px; width: 16px; height: 16px; }
.duplo .tag { position: absolute; padding: 1px 5px; border: 1px solid var(--tinta); background: var(--papel); color: var(--tinta); line-height: 1.4; font-size: 10px; }
.skel-nome { position: absolute; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--tinta); white-space: nowrap; }

/* ---------- chamada: fechamento das páginas ---------- */
.chamada { padding: 160px 64px 150px; }
.chamada .titulo { width: 1100px; font-size: 104px; text-wrap: balance; }
.chamada-pe { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--tinta); }
.chamada-pe .texto { width: 460px; }
.chamada-pe .acoes { display: flex; align-items: center; gap: 32px; }
.chips { display: flex; gap: 10px; margin-top: 28px; }
.chip { padding: 10px 18px; border: 1px solid var(--linha); border-radius: 999px; font-size: 15px; font-weight: 500; cursor: pointer; }
.chip.on { background: var(--tinta); color: var(--cal); border-color: var(--tinta); }

/* ---------- rodapé ---------- */
.rodape { position: relative; padding: 72px 64px 64px; border-top: 1px solid var(--linha); }
.rodape .cols { display: grid; grid-template-columns: 1fr 240px 240px; gap: 32px; font-size: 15px; }
.rodape .cols ul { display: flex; flex-direction: column; gap: 10px; font-weight: 500; }
.rodape .keud { margin-top: 96px; }
.rodape .keud svg { display: block; }

/* ---------- páginas internas ---------- */
.abertura { padding: 150px 64px 120px; }
.abertura .titulo { font-size: 120px; }
.abertura .lede { width: 620px; margin-top: 40px; font-size: 24px; line-height: 1.35; font-weight: 500; letter-spacing: -0.015em; color: var(--suave); }
.campo { display: flex; flex-direction: column; gap: 12px; }
.campo label { font-size: 14px; font-weight: 600; }
.campo .entrada { min-height: 64px; border-bottom: 1.5px solid var(--tinta); font-size: 28px; font-weight: 500; letter-spacing: -0.015em; display: flex; align-items: flex-end; padding-bottom: 12px; outline: none; }
.campo .entrada.dica { color: var(--apagado); }
