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

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased; /* nitidez no mac */
  background: #fff;
  color: #1a1a1a; 
  overflow-x: hidden;
}

/* --- main --- */
.home {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 650px;
  padding: 4vw;
}

/* --- font base --- */
.list, .links, .title, .about {
  font-size: clamp(18px, 1.2vw, 24px);
  font-weight: 500;
}

/* --- animação  --- */
.list a, .links a, .title a, footer a, .info-link {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  color: inherit;
}

.list a:hover, .links a:hover, .title a:hover, footer a:hover, .info-link:hover {
  color: #e6a5cf !important;
  transform: scale(1.05);
}

/* --- list --- */
.list {
  position: absolute;
  top: 4vw;
  left: 4vw;
  display: flex;
  flex-direction: column;
  gap: 1vh;
  z-index: 20;
}

.list a {
  color: #1a1a1a;
  letter-spacing: 0.02em;
  font-weight: 600; 
}

.list a::after {
  content: "+";
  margin-left: 10px;
  color: #e6a5cf !important;
  font-weight: 800;
}

.list a.active::after {
  content: "-";
}

/* --- acordeão --- */
.project-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.project-content {
  width: 100%;
  padding: 30px 0; 
  animation: fadeIn 0.5s ease-in-out;
}

.project-inner {
  display: flex;
  flex-direction: row;
  gap: 4vw;
  align-items: flex-start;
}

.project-content img {
  width: 100%;
  max-width: 500px; 
  height: auto;
  display: block;
}

/* museum label */
.project-info {
  flex-shrink: 0;
  width: 280px; 
  text-align: left;
}

.info-title {
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
  font-weight: 800; 
  color: #000;
}

.info-year {
  display: block;
  font-size: 14px;
  color: #666; 
  margin-bottom: 15px;
  font-weight: 500;
}

.info-desc {
  font-size: 16px; 
  line-height: 1.6;
  color: #1a1a1a; 
  font-weight: 500;
  margin-bottom: 20px;
}

/* link url */
.info-link {
  font-size: 14px;
  font-weight: 600;
  color: #999; 
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- links --- */
.links {
  position: absolute;
  top: 4vw;
  right: 4vw;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.5vh;
  z-index: 20;
}

.links a {
  font-weight: 600;
}

/* --- title --- */
.title {
  position: absolute;
  bottom: 6vw;
  left: 4vw;
  z-index: 20;
}

.title a {
  color: #666;
  font-weight: 400;
}

/* --- about --- */
.about {
  position: absolute;
  bottom: 4vw;
  right: 4vw;
  max-width: 35vw;
  line-height: 1.6;
  text-align: right;
  z-index: 20;
  font-weight: 500;
}

/* --- footer --- */
footer {
  position: absolute;
  bottom: 3.5vw;
  left: 4vw;
  font-size: clamp(12px, 0.8vw, 16px);
  color: #999;
}

/* --- mobile --- */
@media (max-width: 1024px) {
  .home {
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 10vw 6vw;
  }

  .list, .links, .about, .title, footer {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 40px;
  }

  .project-inner {
    flex-direction: column;
    gap: 20px;
  }

  .project-info {
    max-width: 100%;
    border-top: 1px solid #eee;
    padding-top: 20px;
  }

  .links a {
    font-size: 20px !important;
    font-weight: 800;
    color: #e6a5cf !important;
  }

  .list a { font-size: 30px !important; font-weight: 900; color: #e6a5cf !important; }
  .title a { font-size: 26px !important; font-weight: 800; color: #e6a5cf !important; }
  
  footer a { color: #e6a5cf !important; font-weight: bold; }
}