/* K1 Capital Humano: base comum a todas as páginas (cores, tipografia, cabeçalho, rodapé, botões). */
:root {
  --azul: #17395c;
  --azul-escuro: #0d2136;
  --ouro: #f0ab1e;
  --ouro-escuro: #d69410;
  --texto: #2b333a;
  --texto-suave: #55606a;
  --cinza: #8a92a0;
  --claro: #eef1f4;
  --borda: #e2e6ea;
  --azul-claro: #c9d6e4;
  --rodape-texto: #c7c9cb;
  --gradiente: linear-gradient(160deg, var(--azul-escuro) 0%, var(--azul) 100%);
  --fonte: 'Inter', Arial, sans-serif;
  --fonte-titulo: 'Poppins', 'Inter', Arial, sans-serif;
  --casca: 1304px; /* 1240 de conteúdo + 32 de recuo de cada lado, como nas telas */
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; font-family: var(--fonte); color: var(--texto); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--azul); text-decoration: none; }
a:hover { color: var(--ouro-escuro); }
h1, h2, h3, h4 { font-family: var(--fonte-titulo); margin: 0; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
.site { max-width: 100%; overflow-x: clip; }
/* o conteúdo forma sua própria camada: nada dentro dele (fotos empilhadas, cartas, painéis) passa por cima do cabeçalho fixo */
#conteudo { position: relative; z-index: 0; isolation: isolate; }
.casca { max-width: var(--casca); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.ico { width: 16px; height: 16px; flex-shrink: 0; }
.pular { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--azul); color: #fff; padding: 12px 18px; }
.pular:focus { left: 12px; top: 12px; color: #fff; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 2px; }
.visualmente-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@keyframes sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Cabeçalho */
.topo { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--borda); }
.topo__barra { padding-top: 18px; padding-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topo__logo img { height: 84px; width: 236px; object-fit: contain; }
.topo__nav { display: flex; gap: 32px; align-items: center; }
.topo__nav a { font-size: 15px; color: var(--azul); }
.topo__nav a.ativo, .topo__movel a.ativo { color: var(--ouro-escuro); font-weight: 700; }
.topo__nav a:hover { color: var(--ouro-escuro); }
.btn-login { position: relative; overflow: hidden; display: inline-flex; width: 118px; height: 40px; border: 1.5px solid var(--azul); border-radius: 999px; flex-shrink: 0; background: #fff; transition: background .3s ease; }
.btn-login > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14px; font-weight: 700; letter-spacing: .5px; transition: transform .3s ease, opacity .3s ease; }
.btn-login__texto { color: var(--azul); }
.btn-login__seta { color: #fff; transform: translateX(-48px); opacity: 0; }
.btn-login__seta .ico { width: 14px; height: 14px; }
.btn-login:hover, .btn-login:focus-visible { background: var(--azul); }
.btn-login:hover .btn-login__texto, .btn-login:focus-visible .btn-login__texto { transform: translateX(48px); opacity: 0; }
.btn-login:hover .btn-login__seta, .btn-login:focus-visible .btn-login__seta { transform: none; opacity: 1; }
.topo__burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border: 1.5px solid var(--azul); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; color: var(--azul); }
.topo__burger .ico { width: 22px; height: 22px; }
.topo__burger .ico--fechar, .topo__burger[aria-expanded="true"] .ico--menu { display: none; }
.topo__burger[aria-expanded="true"] .ico--fechar { display: block; }
.topo__movel { border-top: 1px solid var(--borda); background: #fff; padding: 14px 20px 22px; display: flex; flex-direction: column; }
.topo__movel[hidden] { display: none; }
.topo__movel a { font-size: 16px; font-weight: 600; color: var(--azul); padding: 14px 4px; border-bottom: 1px solid #f1f3f5; }
.topo__movel a.topo__movel-login { margin-top: 16px; display: flex; justify-content: center; background: var(--azul); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .5px; padding: 15px 24px; border-radius: 999px; border: 0; }

/* Rodapé */
.rodape { background: var(--azul); color: var(--rodape-texto); padding: 72px 0 32px; }
.rodape__grade { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; }
.rodape__logo { width: 100%; max-width: 266px; height: auto; object-fit: contain; filter: brightness(0) invert(1); margin-bottom: 14px; }
.rodape__lema, .rodape__endereco { font-size: 14px; line-height: 1.6; color: var(--rodape-texto); max-width: 280px; }
.rodape__endereco { margin-bottom: 10px; }
.rodape__titulo { font-size: 15px; color: #fff; margin-bottom: 18px; }
.rodape__links { display: flex; flex-direction: column; gap: 10px; }
.rodape a { font-size: 14px; color: var(--rodape-texto); }
.rodape a:hover { color: var(--ouro); }
.rodape__email { overflow-wrap: anywhere; }
.rodape__redes { display: flex; gap: 12px; margin-top: 20px; }
.rodape__redes a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 10px; transition: border-color .25s ease, color .25s ease, background .25s ease; }
.rodape__redes a:hover { border-color: var(--ouro); color: var(--ouro); background: rgba(255, 255, 255, .06); }
.rodape__redes .ico { width: 19px; height: 19px; }
.rodape__aviso { margin: 40px auto 0; font-size: 13px; line-height: 1.6; color: #9aa0a6; }
.rodape__aviso + .rodape__copy { margin-top: 16px; }
.rodape__copy { margin-top: 56px; padding-top: 24px; border-top: 1px solid #4a4a4a; font-size: 13px; color: #9aa0a6; }

/* Blocos comuns */
.secao { padding: 88px 0; }
.secao--clara { background: var(--claro); }
.secao--escura { background: var(--gradiente); color: #dfe7ee; }
.sobretitulo { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; color: var(--ouro-escuro); text-transform: uppercase; margin-bottom: 10px; }
.secao--escura .sobretitulo, .heroi .sobretitulo { color: var(--ouro); }
.titulo { font-size: 32px; line-height: 1.25; color: var(--azul); margin-bottom: 18px; }
.secao--escura .titulo { color: #fff; }
.titulo em { font-style: italic; color: var(--ouro-escuro); }
.secao--escura .titulo em { color: var(--ouro); }
.texto { font-size: 17px; line-height: 1.7; color: var(--texto-suave); }
.secao--escura .texto { color: var(--azul-claro); }
.centro { text-align: center; }
.centro .titulo, .centro .texto { margin-left: auto; margin-right: auto; }

.heroi { background: var(--gradiente); color: #fff; }
.heroi__interno { padding-top: 96px; padding-bottom: 96px; animation: sobe .6s ease both; }
.heroi h1 { font-size: 52px; line-height: 1.15; letter-spacing: -1px; color: #fff; font-weight: 700; }
.heroi h1 em { font-style: normal; color: var(--ouro); }
.heroi__lead { font-size: 19px; line-height: 1.7; color: var(--azul-claro); margin: 24px 0 0; max-width: 680px; }

.btn { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; padding: 16px 30px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background .25s ease, border-color .25s ease, transform .2s ease, color .25s ease, box-shadow .25s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--ouro { background: var(--ouro); color: var(--azul-escuro); }
.btn--ouro:hover { color: var(--azul-escuro); }
.btn--azul { background: var(--azul); color: #fff; }
.btn--azul:hover { background: var(--azul-escuro); color: #fff; }
.btn--contorno { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; transform: none; }
.btn--claro { background: var(--claro); color: var(--azul); box-shadow: -5px -5px 10px rgba(255, 255, 255, .8), 5px 5px 10px rgba(0, 0, 0, .15); }
.btn--claro:hover { transform: none; color: var(--ouro-escuro); box-shadow: -1px -1px 5px rgba(255, 255, 255, .6), 1px 1px 5px rgba(0, 0, 0, .2), inset -2px -2px 5px #fff, inset 2px 2px 4px rgba(0, 0, 0, .2); }
.botoes { display: flex; gap: 14px; flex-wrap: wrap; }

/* Chamada final com foto */
.cta { position: relative; background: var(--azul); color: #fff; overflow: hidden; }
.cta__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 33, 54, .92) 0%, rgba(13, 33, 54, .55) 60%, rgba(13, 33, 54, .15) 100%); }
.cta__interno { position: relative; z-index: 1; padding-top: 110px; padding-bottom: 110px; }
.cta h2 { font-size: 34px; line-height: 1.3; max-width: 520px; color: #fff; margin-bottom: 32px; }

/* Imagem que o marketing ainda vai enviar */
/* Fotos vindas do painel preenchem a moldura; sem foto, um bloco da marca (lugares) ou as iniciais (pessoas) */
.home-sobre__foto > img, .qs-historia__foto > img, .qs-pessoa__foto > img, .depoimentos__foto > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parceiro img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sem-foto { width: 100%; height: 100%; min-height: 80px; display: flex; align-items: center; justify-content: center; background: var(--gradiente); color: var(--ouro); border-radius: inherit; }
.sem-foto span { font-family: var(--fonte-titulo); font-weight: 700; font-size: clamp(28px, 5vw, 56px); letter-spacing: 1px; }
.sem-foto--marca img { width: 46%; max-width: 240px; height: auto; filter: brightness(0) invert(1); opacity: .9; }

@media (max-width: 1024px) {
  .casca { padding-left: 20px; padding-right: 20px; }
  .topo__nav, .btn-login { display: none; }
  .topo__burger { display: flex; }
  .topo__logo img { height: 56px; width: 158px; }
  .rodape__grade { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .secao { padding: 56px 0; }
  .titulo { font-size: 25px; }
  .heroi__interno { padding-top: 56px; padding-bottom: 56px; }
  .heroi h1 { font-size: 32px; letter-spacing: -.5px; }
  .heroi__lead { font-size: 16px; }
  .cta__interno { padding-top: 64px; padding-bottom: 64px; }
  .cta h2 { font-size: 26px; }
}
