/* ==========================================================
   BASE (NÃO MEXIDO — só protegido)
   ========================================================== */

body {
  margin: 0;
  background: #F8F3EA;
  font-family: "Courier New", monospace;
  color: #000;
}

/* IMPORTANTE: evita interferência global na INFO */
.info-page {
  display: block;
}

/* ==========================================================
   SIDEBAR — COLUNA SIMPLES (HOME + INFO)
   ========================================================== */

.sidebar {
  position: fixed;
  left: 0;
  top: 0;

  width: 240px;
  height: 100vh;

  padding: 20px;
  box-sizing: border-box;

  display: flex;
  flex-direction: column;
}

/* nome */
.name {
  font-size: 15px;
  margin-bottom: 20px;
  
  filter: blur(0.4px);
  text-shadow: .4px .4px 0 rgba(0,0,0,.25);
}

/* subtítulo */
.sub {
  font-size: 11px;
  margin-bottom: 70px;

  display: inline-block;

  transform: rotate(3deg) skewX(0deg);
  letter-spacing: 0.1px;

  opacity: 0.95;
  filter: blur(0.2px);
}
/* menu empilhado */
.menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu a {
  color: black;
  text-decoration: none;
  font-size: 12px;
}

.menu a:hover {
  text-decoration: underline;
}

/* ==========================================================
   EMAIL GRUDADO NO FINAL
   ========================================================== */

.email {
  margin-top: auto;
}

.email a {
  color: black;
  text-decoration: none;
  font-size: 12px;
}

.email a:hover {
  text-decoration: underline;
}

.year-mark {
  font-size: 12px;
}
  
/* ==========================================================
   MAIN HOME (NÃO ALTERA VISUAL)
   ========================================================== */
.main {
  margin-left: 240px;
  width: calc(100% - 240px);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.wheel {
  width: 90px;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== DATABASE ===== */

.db {
  font-size: 13px;
  width: 100%;
  max-width: 900px;
}

/* HEADER */
.row.header {
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

/* ROW */
.row {
  display: grid;
  grid-template-columns: 50px 2.5fr 2fr 90px 90px;
  gap: 20px;

  align-items: center;
  padding: 14px 0;

  border-bottom: 1px solid rgba(0,0,0,0.15);
}

/* POSTER */
.poster {
  width: 50px;
  filter: grayscale(100%);
  opacity: 0.7;

}

/* HOVER */
.poster {
  filter: grayscale(95%) contrast(1.1);
  opacity: 1;
}

/* FUNÇÃO CLICÁVEL */
.func label {
  cursor: pointer;
  text-decoration: underline;
}

.func input {
  display: none;
}

/* FICHA */
.ficha {
  display: none;
  padding: 10px 0 20px 70px;
  font-size: 13px;
  line-height: 1.6;
}

/* ABRIR FICHA */
/* esconde ficha */
.ficha {
  display: none;
}

/* quando checkbox estiver ativo dentro da entry */
.entry:has(input:checked) .ficha {
  display: block;
}

/* LISTA */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  position: relative;
  padding-left: 18px;
}

li::before {
  content: "⊹";
  position: absolute;
  left: 0;
  opacity: 0.8;
}

/*sublinhado na função*/

.func label {
  cursor: pointer;
  text-decoration: underline;
}



/* ==========================================================
   INFO PAGE — SOMENTE ESCOPO INFO
   ========================================================== */

.info-page .info-main {
  margin-left: 240px;
  margin-right: 220px;
  padding: 40px 30px;
  box-sizing: border-box;

  font-size: 12px;
  line-height: 1.4;
}

.info-intro {
  max-width: 600px;
}

.info-intro p {
  margin: 0 0 16px;
}

.drt {
  opacity: 0.8;
}

/* separador */
.rule {
  overflow: hidden;
  white-space: nowrap;
  font-size: 12px;
  opacity: 0.35;
  margin: 18px 0;
  user-select: none;
}

/* ==========================================================
   GRID INFO
   ========================================================== */

.info-page .info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
}

.info-grid h2 {
  font-size: 13px;
  font-weight: normal;
  text-decoration: underline;
  margin: 0 0 10px;
}

.info-grid section {
  margin-bottom: 24px;
}

.info-grid .lines {
  display: flex;
  flex-direction: column;
}

.info-grid .lines div {
  margin-bottom: 2px;
}

.info-grid .lines div::before {
  content: none;
}

/* ==========================================================
   COLUNA DIREITA FIXA
   ========================================================== */

.info-page .info-right {
  position: fixed;
  right: 40px;
  top: 120px;

  width: 160px;

  display: flex;
  flex-direction: column;
  gap: 14px;

  font-size: 11px;
  line-height: 1.4;
}

/* parapiacaba.jpeg — mantém preto e branco, como já estava */
.info-page .info-right .info-photo-fixed {
  width: 140px;
}

.info-page .info-right .info-photo-fixed img {
  width: 100%;
  height: auto;
  display: block;

  filter: grayscale(100%);
  opacity: 0.95;
}

/* textos direita */
.info-page .info-right h2 {
  font-size: 11px;
  font-weight: normal;
  text-decoration: underline;
  margin: 10px 0 4px;
}

.info-page .info-right a {
  color: black;
  text-decoration: none;
}

.info-page .info-right a:hover {
  text-decoration: underline;
}

/* ==========================================================
   PRODUÇÕES
   ========================================================== */

.prod-item {
  margin-bottom: 18px;
}

.prod-item .title {
  font-weight: bold;
}

.prod-item .meta {
  opacity: 0.9;
}

/* moi.jpeg — retrato, filtro glam */
.prod-photo {
  margin-top: 14px;
  width: 100px;
  display: inline-block;
}

.prod-photo img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100px;

  opacity: 1;
  filter:
    contrast(1.08)
    saturate(1.15)
    brightness(1.05);
}

/* ==========================================================
   RESPONSIVO (SEM MEXER NO RESTO)
   ========================================================== */

@media (max-width: 900px) {

  .info-page .info-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .info-page .info-right {
    position: static;
    width: 100%;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {

  .sidebar {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 20px;
  }

  .menu {
    display: flex;
    gap: 16px;
  }

  .menu a {
    margin-bottom: 0;
  }

  .email {
    position: static;
    margin-left: auto;
  }

  .main,
  .info-page .info-main {
    margin-left: 0;
    width: 100%;
  }

  .info-page .info-main {
    padding: 30px 20px;
  }
}
