/* ===========================================================================
   Tema LAVANDA — claro, criativo e gentil. Lavanda e lilas suave: fundo
   lilas-claro (#faf7fe), superficies brancas, bordas lilas (#ebe3f7), roxo
   #7c3aed como primario com lavanda #a78bfa e rosa suave #d8b4fe. Cantos
   arredondados (16px), sombras lilas difusas, titulos em Poppins e corpo Inter.
   Reveste as MESMAS paginas do site (mesmo vocabulario de classes do tema
   aurora). LaTec — CAV/UDESC.
   =========================================================================== */
:root {
  --bg: #faf7fe;
  --bg-2: #f4eefc;
  --surface: #ffffff;
  --surface-2: #f3edfb;
  --border: #ebe3f7;
  --border-strong: #ddd0f1;
  --text: #2e2440;
  --muted: #7a6e90;
  --primary: #7c3aed;
  --primary-d: #6d28d9;
  --accent: #d8b4fe;
  --accent-d: #a78bfa;
  --cyan: #6d28d9;
  --violet: #7c3aed;
  --lavanda: #a78bfa;
  --rosa: #d8b4fe;
  --grad: linear-gradient(120deg, #7c3aed, #a78bfa);
  --grad-soft: #f1eafe;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 16px 40px -22px rgba(124, 58, 237, .42);
  --shadow-sm: 0 8px 22px -16px rgba(124, 58, 237, .40);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Poppins', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.64;
}

/* Fundo aurora: brilhos lilas/rosa difusos, bem suaves, criativos ---------- */
.aurora-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46rem 32rem at 12% -6%, rgba(167, 139, 250, .30), transparent 60%),
    radial-gradient(40rem 30rem at 100% 0%, rgba(216, 180, 254, .30), transparent 58%),
    radial-gradient(50rem 40rem at 88% 108%, rgba(124, 58, 237, .14), transparent 62%),
    linear-gradient(180deg, #faf7fe, #f4eefc);
}

a { color: var(--primary); text-decoration: none; transition: color .16s; }
a:hover { color: var(--primary-d); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.01em;
  color: #281c3d;
}

.container-l { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
  font-weight: 700;
}
.muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font);
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

/* ---------- Navbar (chrome proprio do tema) ---------- */
.lav-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px -24px rgba(124, 58, 237, .55);
}
.lav-nav .container-l { display: flex; align-items: center; gap: 18px; height: 70px; }
.lav-brand { display: flex; align-items: center; gap: 10px; }
.lav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.lav-links a {
  color: #463a5c;
  font-size: .92rem;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  transition: .16s;
}
.lav-links a:hover { color: var(--primary); text-decoration: none; background: var(--surface-2); }
.lav-links a.active { color: var(--primary-d); font-weight: 700; background: var(--grad-soft); }
.lav-cta {
  margin-left: 10px;
  background: var(--grad);
  color: #fff !important;
  border: none;
  padding: 8px 18px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  box-shadow: 0 12px 26px -12px rgba(124, 58, 237, .65);
}
.lav-cta:hover { filter: brightness(1.06); color: #fff !important; text-decoration: none; }
.lav-toggle {
  display: none;
  margin-left: auto;
  background: #fff;
  border: 1px solid var(--border-strong);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.3rem;
  color: var(--primary);
}

/* ---------- Botoes ---------- */
.btn-a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .16s;
}
.btn-primary-a {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 14px 30px -14px rgba(124, 58, 237, .6);
}
.btn-primary-a:hover { filter: brightness(1.06); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-ghost-a { background: #fff; border-color: var(--border-strong); color: var(--text); }
.btn-ghost-a:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; background: var(--grad-soft); }

/* ---------- Secoes / hero ---------- */
.sec { padding: 74px 0; }
.sec-head { max-width: 720px; margin-bottom: 38px; }
.sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.3rem); margin: 10px 0 8px; }
.sec-head p { color: var(--muted); font-size: 1.04rem; margin: 0; }
.hero { padding: 76px 0 58px; position: relative; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.55rem); margin: 14px 0; font-weight: 700; }
.hero .lead { font-size: clamp(1.04rem, 1.7vw, 1.24rem); color: #4a3f63; max-width: 640px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 34px; }
.foco-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: .86rem;
  box-shadow: var(--shadow-sm);
}
.chip i { color: var(--primary); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stat { padding: 32px 18px; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--font-head);
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}
.stat .lbl { color: var(--muted); font-size: .87rem; margin-top: 8px; }

/* ---------- Cards ---------- */
.card-a {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: .2s;
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.card-a:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Pessoas ---------- */
.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--surface-2);
  flex: none;
}
.avatar-iniciais {
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: var(--grad);
}
.avatar-lg { width: 104px; height: 104px; border-radius: 50%; font-size: 2rem; }
.pessoa-card { display: flex; flex-direction: column; gap: 13px; }
.pessoa-card .nome { font-family: var(--font-head); font-weight: 600; font-size: 1.14rem; }
.pessoa-card .cargo { color: var(--primary); font-size: .84rem; font-weight: 600; }
.pessoa-meta { color: var(--muted); font-size: .9rem; }
.pessoa-meta i { color: var(--accent-d); }
.pessoa-links {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.pessoa-links a { color: var(--muted); font-size: 1.1rem; }
.pessoa-links a:hover { color: var(--primary); }

/* ---------- Pesquisas / selos ---------- */
.selo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: #4a3f63;
}
.selo-tese { background: #f1eafe; color: #6d28d9; border-color: #ddd0f1; }
.selo-dissertacao { background: #f6effe; color: #8b5cf6; border-color: #e6dafb; }
.status-andamento { background: #f7effe; color: #9333ea; border-color: #ebdcfb; }
.status-qualificada { background: #fbf3e6; color: #b45309; border-color: #f1e0c2; }
.status-defendida { background: #e9f7ef; color: #15803d; border-color: #c9ead7; }
.pesquisa-card .titulo {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.16rem;
  margin: 12px 0 8px;
  line-height: 1.34;
}
.pesquisa-card .resumo { color: #564a6e; font-size: .95rem; }
.palavras { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.palavra { font-size: .74rem; color: var(--muted); background: var(--surface-2); padding: 4px 11px; border-radius: 999px; }
.filtros { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.filtros a {
  padding: 7px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: .86rem;
  box-shadow: var(--shadow-sm);
}
.filtros a:hover { text-decoration: none; border-color: var(--primary); color: var(--primary); }
.filtros a.on { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }

/* ---------- Eventos / defesas ---------- */
.evento-card { overflow: hidden; padding: 0; }
.evento-foto { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-bottom: 1px solid var(--border); }
.evento-foto.ph {
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  font-size: 2.8rem;
  color: var(--primary);
}
.evento-body { padding: 24px; }
.banca-list { list-style: none; padding: 0; margin: 10px 0 0; }
.banca-list li { color: #564a6e; font-size: .9rem; padding: 3px 0 3px 20px; position: relative; }
.banca-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-d);
  font-size: .8rem;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--lavanda), var(--rosa));
}
.tl-item { position: relative; margin-bottom: 26px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px rgba(167, 139, 250, .22);
}
.tl-date { font-size: .8rem; color: var(--primary); font-weight: 700; }
.tl-card { margin-top: 8px; }
.tl-kind { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); margin-bottom: 6px; }
.tl-kind i { color: var(--accent-d); }
.tl-title { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.tl-foto { width: 100%; max-height: 280px; object-fit: cover; border-radius: var(--radius-sm); margin-top: 12px; border: 1px solid var(--border); }

/* ---------- 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 var(--border); }
.projeto-img.ph {
  background: var(--grad-soft);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--primary);
}
.projeto-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.projeto-body .titulo { font-family: var(--font-head); font-weight: 600; font-size: 1.14rem; }
.techs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tech { font-size: .72rem; color: var(--primary-d); background: var(--grad-soft); border: 1px solid #e2d4fa; padding: 3px 10px; border-radius: 999px; }
.projeto-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }

/* ---------- Sobre / institucional ---------- */
.prosa p { color: #3f3457; font-size: 1.08rem; margin-bottom: 18px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item i { color: var(--primary); font-size: 1.35rem; margin-top: 2px; }
.info-item .k { font-size: .77rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.info-item .v { font-weight: 600; }

/* ---------- Util ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty i { font-size: 2.6rem; color: var(--border-strong); display: block; margin-bottom: 12px; }
.reveal { opacity: 0; transform: translateY(16px); transition: .55s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .info-grid { grid-template-columns: 1fr; }
  .lav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px;
    gap: 4px;
    border-bottom: 1px solid var(--border-strong);
    box-shadow: 0 18px 34px -18px rgba(124, 58, 237, .45);
  }
  .lav-links.open { display: flex; }
  .lav-links a.active { background: var(--grad-soft); }
  .lav-cta { margin-left: 0; margin-top: 4px; text-align: center; justify-content: center; }
  .lav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .tema-dock .lbl { display: none; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .grid-2, .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .sec { padding: 54px 0; }
}
