/* ===========================================================================
   Tema LaTec 2026 — páginas internas.
   O arquivo de referência (LaTec_Arquivo_Unico.html) define só a página inicial.
   Aqui as demais páginas reutilizam o mesmo vocabulário: paleta, cabeçalho, título
   de seção com barra lima, botões .btn, cartões com borda ciano e degradê azul,
   selos e linha do tempo com o ponto luminoso. Carregado depois de latec.css.
   =========================================================================== */
:root {
  --bg: #031c30;
  --surface: linear-gradient(145deg, #0a4c64, #052f48 63%, #043149);
  --surface-2: #08748d55;
  --border: #078baa;
  --border-strong: #20c6cf;
  --text: #ffffff;
  --muted: #b8d6e0;
  --primary: #44f6d5;
  --accent: #a4ed31;
  --grad: linear-gradient(180deg, #56fbd2 0%, #07df94 50%, #12d879 100%);
  --grad-soft: linear-gradient(145deg, #0a536c, #032c42 70%);
  --radius: .75rem;
  --font: Arial, Helvetica, sans-serif;
  --font-head: Arial, Helvetica, sans-serif;
}

/* Conteúdo das páginas internas: rolagem normal, com a escala de tipografia do template */
main { font-size: 1rem; }
.container-l { max-width: 78rem; margin: 0 auto; padding: 0 3rem; }
.sec { padding: 2.2rem 0; }
.muted { color: var(--muted); }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.03rem; line-height: 1.1; }
main a:not(.btn):not(.btn-a):not(.card-a):hover { color: var(--primary); }

/* Cabeçalho de página: mesma composição do hero, em altura menor */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #00b4da; background: linear-gradient(90deg, #032438, #052b43 38%, #075376 80%); padding: 2.4rem 0 2.2rem 3.2rem; }
.page-hero .container-l { max-width: 46rem; margin: 0; padding: 0 0 0 3.1rem; position: relative; }
.page-hero-art { position: absolute; z-index: -2; inset: 0 0 0 55%; background: url('img/css_2_bba0efba.webp') center/cover no-repeat; opacity: .75; }
.page-hero-art:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #052b43 0%, transparent 35%); }
.page-hero:before { content: ""; position: absolute; z-index: -1; inset: 0 auto 0 0; width: 5.875rem; background: url('img/css_3_dee350fd.webp') center/100% 100% no-repeat; mask-image: linear-gradient(90deg, #000 65%, transparent); }
.page-hero h1 { font-size: 2.5rem; line-height: .98; letter-spacing: -.065rem; margin: .5rem 0 .55rem; text-shadow: 0 .1rem .35rem #0005; }
.page-hero .hl { color: var(--accent); }
.page-hero .lead { font-size: 1.15rem; line-height: 1.25; color: #eaf7f8; max-width: 38rem; }
.eyebrow { text-transform: none; letter-spacing: 0; color: #fff; font-family: var(--font); font-weight: 400; }

/* Títulos de seção internos usam a barra lima do template */
.sec-head { margin-bottom: 1.4rem; }
.sec-head h2 { font-size: 1.6rem; margin: .5rem 0 .35rem; }
.sec-head p { color: var(--muted); font-size: 1rem; }
.sec h2 { font-size: 1.45rem; }

/* Botões: .btn-a mapeia para .btn do template */
.btn-a { display: inline-flex; align-items: center; justify-content: center; gap: .52rem; white-space: nowrap; border-radius: 2.4rem; padding: .56rem 1.25rem; min-height: 2.3rem; font-size: .9rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: transform .24s, box-shadow .24s, filter .24s; color: #fff; }
.btn-a:hover { transform: translateY(-.13rem); filter: brightness(1.12); box-shadow: 0 .4rem 1.2rem #18fac94d; color: #fff; }
.btn-primary-a { color: #001817; background: linear-gradient(180deg, #56fbd2 0%, #07df94 50%, #12d879 100%); border-color: #58ffdf; box-shadow: inset 0 .13rem .3rem #c4ffe580, 0 0 .9rem #00d9a84d; }
.btn-primary-a:hover { color: #001817; }
.btn-ghost-a { border: 1.5px solid #e8faff; background: #042b41b3; }

/* Cartões: mesmo tratamento dos .project-card e .area-tile */
.card-a { background: linear-gradient(145deg, #0a4c64, #052f48 63%, #043149); border: 1px solid #078baa; border-radius: .75rem; padding: 1.4rem; box-shadow: var(--shadow); height: 100%; color: #fff; display: block; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-a:hover { border-color: #57f9e5; box-shadow: 0 0 1.2rem #00cfd14d, inset 0 0 1rem #39f7c527; transform: translateY(-.15rem); }
.grid { display: grid; gap: 1.1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reveal { opacity: 1; transform: none; }

/* Pessoas */
.avatar { width: 4rem; height: 4rem; border-radius: .9rem; object-fit: cover; border: 1px solid #41eec6; flex: none; }
.avatar-iniciais { display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; color: #bcfff3; background: linear-gradient(150deg, #2ac9a7, #08665c 75%); box-shadow: inset 0 0 .55rem #5dfbe7a0; }
.avatar-lg { width: 7rem; height: 7rem; border-radius: 1.2rem; font-size: 2rem; }
.pessoa-card { display: flex; flex-direction: column; gap: .9rem; }
.pessoa-card .nome { font-weight: 800; font-size: 1.1rem; }
.pessoa-card .cargo, .cargo { color: var(--primary); font-size: .85rem; font-weight: 700; }
.pessoa-meta { color: var(--muted); font-size: .88rem; }
.pessoa-links { display: flex; gap: .8rem; margin-top: auto; padding-top: .5rem; }
.pessoa-links a { color: var(--muted); font-size: 1.15rem; }
.pessoa-links a:hover { color: var(--primary); }
.info-item { display: flex; gap: .9rem; align-items: flex-start; }
.info-item i { color: #43ffdb; font-size: 1.35rem; margin-top: .1rem; }
.info-item .k { font-size: .78rem; color: var(--muted); }
.info-item .v { font-weight: 700; }
.prosa p { color: #d3eaf2; font-size: 1.05rem; line-height: 1.55; margin-bottom: 1.1rem; }
.prosa h2 { margin: 1.6rem 0 .6rem; }
.prosa ul { color: #d3eaf2; line-height: 1.55; }

/* Selos, filtros e palavras-chave */
.selo { display: inline-flex; align-items: center; gap: .4rem; padding: .22rem .75rem; border-radius: 1rem; font-size: .72rem; font-weight: 700; border: 1px solid #078baa; background: #08748d; color: #fff; }
.selo-tese, .selo-dissertacao, .selo-pos, .selo-artigo { background: #054c57e8; color: #43ffdb; border-color: #20c6b45c; }
.status-andamento { background: #08748d; color: #fff; border-color: #18a6c6; }
.status-qualificada { background: #5b4a08; color: #ffe27a; border-color: #b8942a; }
.status-defendida, .status-ativo { background: #0a6b4f; color: #b9ffe6; border-color: #41eec6; }
.status-finalizado { background: #3a4a55; color: #dbe7ee; border-color: #6a8191; }
.filtros { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.2rem; }
.filtros a { padding: .4rem 1rem; border-radius: 2rem; background: #042b41b3; border: 1px solid #078baa; color: #eaf7f8; font-size: .85rem; font-weight: 700; }
.filtros a:hover { color: #fff; border-color: #57f9e5; }
.filtros a.on { background: linear-gradient(#03415b, #007a72 70%, #10c777); border-color: #20c6b45c; color: #fff; box-shadow: inset 0 0 0 1px #20c6b45c, 0 .2rem .8rem #00e6ce25; }
.pesquisa-card .titulo { font-weight: 800; font-size: 1.1rem; margin: .8rem 0 .5rem; line-height: 1.2; }
.pesquisa-card .resumo { color: var(--muted); font-size: .92rem; line-height: 1.45; }
.palavras { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.palavra { font-size: .72rem; color: #d3eaf2; background: #08748d88; padding: .2rem .65rem; border-radius: 1rem; }

/* Defesas e eventos */
.evento-card { overflow: hidden; padding: 0; }
.evento-foto { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid #078baa; display: block; }
.evento-foto.ph { background: linear-gradient(150deg, #0a536c, #032c42); display: grid; place-items: center; font-size: 3rem; color: #43ffdb; }
.evento-body { padding: 1.3rem; }
.banca-list { list-style: none; padding: 0; margin: .7rem 0 0; }
.banca-list li { color: var(--muted); font-size: .88rem; padding: .15rem 0 .15rem 1.3rem; position: relative; }
.banca-list li::before { content: "\F26A"; font-family: "bootstrap-icons"; position: absolute; left: 0; color: var(--primary); font-size: .8rem; }

/* Projetos */
.projeto-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.projeto-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-bottom: 1px solid #078baa; display: block; }
.projeto-img.ph { background: linear-gradient(150deg, #0a536c, #032c42); display: grid; place-items: center; font-size: 2.6rem; color: #43ffdb; }
.projeto-body { padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.projeto-body .titulo { font-weight: 800; font-size: 1.1rem; line-height: 1.1; }
.projeto-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: .7rem; }
.techs { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .4rem; }
.tech { font-size: .72rem; color: #43ffdb; background: #054c57e8; border: 1px solid #20c6b45c; padding: .15rem .6rem; border-radius: .5rem; }

/* Linha do tempo (página): trilho ciano com ponto luminoso, como a da página inicial */
.tl-list { position: relative; padding-left: 2.4rem; }
.tl-list::before { content: ""; position: absolute; left: .65rem; top: .4rem; bottom: .4rem; width: 2px; background: linear-gradient(#a1fff9, #00e8eb, #12a1bc); box-shadow: 0 0 .55rem #00f1ff; }
.tl-item { position: relative; margin-bottom: 1.6rem; }
.tl-item::before { content: ""; position: absolute; left: -2.05rem; top: .25rem; width: .7rem; height: .7rem; border-radius: 50%; background: #fff; box-shadow: 0 0 .6rem #09ffc7; }
.tl-date { display: inline-block; font-weight: 700; font-size: .72rem; background: #08748d; border-radius: 1rem; padding: .22rem .8rem; }
.tl-card { margin-top: .5rem; }
.tl-kind { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); margin-bottom: .3rem; }
.tl-title { font-weight: 800; font-size: 1.05rem; }
.tl-foto { width: 100%; max-height: 18rem; object-fit: cover; border-radius: .6rem; margin-top: .8rem; border: 1px solid #078baa; }

/* Vazio, formulários e mini-site de projeto (herdam as variáveis acima) */
.empty { text-align: center; padding: 3.5rem 1rem; color: var(--muted); }
.empty i { font-size: 2.6rem; color: #20c6cf; display: block; margin-bottom: .7rem; }
.proj-form input, .proj-form select, .proj-form textarea { background: #042b41b3; border-color: #078baa; color: #fff; }
.proj-form input:focus, .proj-form select:focus, .proj-form textarea:focus { border-color: #57f9e5; box-shadow: 0 0 0 3px #44f6d52e; }
.proj-tab.is-on { color: var(--primary); border-bottom-color: var(--primary); }
.proj-aviso { background: #042b41b3; border-color: #078baa; color: #fff; }
.pf-check { background: #042b41b3; border-color: #078baa; }
.pe-card { background: linear-gradient(145deg, #0a4c64, #052f48 63%, #043149); border-color: #078baa; }
.pe-foto.ph { background: linear-gradient(150deg, #2ac9a7, #08665c 75%); }
.cookie-banner { background: #032c42; border: 1px solid #078baa; color: #fff; }
.cookie-banner .cb-aceitar { background: linear-gradient(180deg, #56fbd2 0%, #07df94 50%, #12d879 100%); color: #001817; border: 0; }
.cookie-banner .cb-ess { background: transparent; color: #fff; border: 1.5px solid #e8faff; }

/* Rodapé */
.rodape { background: linear-gradient(100deg, #032335, #032746 55%, #021b2b); border-top: 1px solid #00a9d1; padding: 1.1rem 3.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; text-align: left; font-size: .8rem; color: var(--muted); }
.rodape-marca, .rodape-meta { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.rodape-lab b { color: #fff; font-size: 1.05rem; }
.rodape a { color: #fff; text-decoration: underline; }
.rodape a:hover { color: var(--primary); }

@media (max-width: 1050px) {
  .container-l { padding: 0 1.2rem; }
  .page-hero { padding: 1.8rem 0 1.8rem; }
  .page-hero .container-l { padding: 0 1.5rem; max-width: 36rem; }
  .page-hero-art { inset: 0 0 0 30%; }
  .page-hero h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rodape { padding: 1rem 1.2rem; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-hero .container-l { padding: 0 1rem; }
}
