/* =========================================================
   TCC Jhenyffer — site gerado a partir da apresentação do Canva
   Slide base: 1280 x 720 (16:9), escalado para caber na tela
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Roboto+Condensed:ital,wght@0,400;0,700;0,800;1,700;1,800&display=swap');

:root {
  --navy: #1f2650;
  --navy-deep: #141a3a;
  --ink: #1b1f3b;
  --paper: #efefef;
  --white: #ffffff;
  --dot: #2f4fb3;
  --unip-yellow: #f2e700;
  --unip-red: #e2242b;
  --stage: #e6e8ee;
  --ui: #1f2650;
  --ui-soft: rgba(31, 38, 80, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  background: var(--stage);
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--ink);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Palco + escala do slide ---------- */
.stage {
  position: fixed;
  inset: 0 0 64px 0;
  display: grid;
  place-items: center;
}

.slide-holder {
  width: calc(1280px * var(--scale, 1));
  height: calc(720px * var(--scale, 1));
  position: relative;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 1280px;
  height: 720px;
  transform: scale(var(--scale, 1));
  transform-origin: top left;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(20, 26, 58, .18);
  animation: entra .45s ease both;
}

@keyframes entra {
  from { opacity: 0; transform: scale(var(--scale, 1)) translateY(10px); }
  to   { opacity: 1; transform: scale(var(--scale, 1)) translateY(0); }
}

.slide.branco { background: var(--white); }

/* ---------- Pontilhado dos cantos ---------- */
.dots { position: absolute; pointer-events: none; width: 291px; height: 288px; }
.dots.tr { top: -35px; right: -28px; transform: rotate(180deg); }
.dots.bl { left: -29px; top: 465px; }

/* ---------- Logo UNIP (imagem exportada do Canva) ---------- */
.logo-unip {
  position: absolute;
  top: 29px; left: 21px;
  width: 219px;
  user-select: none;
}
.logo-unip img { display: block; width: 100%; height: auto; }
.logo-unip.suave { opacity: .55; }

/* ---------- Títulos ---------- */
.titulo {
  position: absolute;
  top: 70px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.titulo h1 {
  font-family: 'Roboto Condensed', 'Arial Narrow', 'DejaVu Sans Condensed', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 38.4px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  letter-spacing: -.2px;
}
.titulo .icone { width: 62px; height: 62px; color: var(--ink); object-fit: contain; }

.numero {
  position: absolute;
  right: 31px; bottom: 31px;
  font-size: 14.3px;
  color: var(--ink);
}

/* ---------- Listas com seta ---------- */
.setas { list-style: none; }
.setas li {
  position: relative;
  padding-left: 52px;
  font-size: 22.2px;
  line-height: 31px;
  text-align: justify;
  margin-bottom: 30px;
  color: #22284d;
}
.setas li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 44.5px; height: 12.5px;
  background: url(../img/seta.png) no-repeat center / 100% 100%;
}
.setas.claras li { color: #fff; }
.setas.claras li::before { background-image: url(../img/seta-branca.png); }

/* ---------- Listas numeradas ---------- */
.numerada {
  list-style: none;
  counter-reset: n;
}
.numerada li {
  counter-increment: n;
  position: relative;
  font-size: 24px;
  line-height: 1.3;
  text-align: justify;
  color: #22284d;
}
.numerada li::before {
  content: counter(n) '.';
  position: absolute;
  right: 100%;
  padding-right: 3px;
}

/* ---------- Caixas azul-marinho ---------- */
.caixa {
  background: var(--navy);
  color: #fff;
  border-radius: 60px;
}

/* =========================================================
   Barra de navegação (fora do slide)
   ========================================================= */
.nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: #fff;
  border-top: 1px solid rgba(31, 38, 80, .1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  z-index: 20;
}
.nav .marca {
  font-family: 'Roboto Condensed', 'Arial Narrow', 'DejaVu Sans Condensed', sans-serif;
  font-weight: 800;
  font-style: italic;
  font-size: 18px;
  color: var(--ui);
  text-decoration: none;
  letter-spacing: .5px;
  white-space: nowrap;
}
.nav .centro { display: flex; align-items: center; gap: 10px; }
.nav button, .nav a.btn {
  appearance: none;
  border: 1px solid rgba(31, 38, 80, .18);
  background: #fff;
  color: var(--ui);
  height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font: 600 14px 'Montserrat', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.nav button:hover, .nav a.btn:hover { background: var(--ui-soft); }
.nav button:active, .nav a.btn:active { transform: scale(.96); }
.nav .btn.desativado { opacity: .35; pointer-events: none; }
.nav .contador { font-weight: 600; font-size: 14px; color: var(--ui); min-width: 64px; text-align: center; }
.nav .dir { display: flex; gap: 8px; }

/* Painel de páginas */
.painel {
  position: fixed;
  inset: 0 0 64px 0;
  background: rgba(20, 26, 58, .55);
  backdrop-filter: blur(4px);
  display: none;
  z-index: 15;
  overflow-y: auto;
  padding: 32px 16px;
}
.painel.aberto { display: block; }
.painel .grade {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.painel a {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  text-decoration: none;
  color: var(--ui);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 2px solid transparent;
  transition: border-color .15s, transform .15s;
}
.painel a:hover { border-color: var(--navy); transform: translateY(-2px); }
.painel a.atual { border-color: var(--navy); }
.painel a span { font-size: 12px; font-weight: 600; opacity: .6; }
.painel a strong {
  font-family: 'Roboto Condensed', 'Arial Narrow', 'DejaVu Sans Condensed', sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 17px;
  line-height: 1.15;
}

@media (max-width: 560px) {
  .nav .marca { display: none; }
  .nav .txt { display: none; }
  .nav { padding: 0 10px; }
}

@media print {
  .nav, .painel { display: none !important; }
  body { overflow: visible; background: #fff; }
  .stage { position: static; }
}
