:root {
  --rosa: #e6a5cf;
  --cinza: #555;
  --preto: #1a1a1a;
  --col-w: 25vw; 
  --gap: 5vw; 
}

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

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background: var(--rosa);
  color: var(--preto); 
  transition: background 0.3s ease, color 0.3s ease;
}

.list, .links, .title, .about {
  font-size: clamp(14px, 0.6vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.title a {
  color: var(--preto) !important;
}

.list a, .links a, .title a, footer a, .info-link, .cv-about a, .services-cta .cta-email a {
  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, .cv-about a:hover, .services-cta .cta-email a:hover {
  transform: scale(1.05);
}

.list {
  position: fixed;
  top: 4vw;
  left: 4vw;
  width: var(--col-w);
  display: flex;
  flex-direction: column;
  gap: 1vh;
  z-index: 20;
}

.list-label {
  font-size: clamp(12px, 0.6vw, 24px);
  color: var(--cinza);
  margin-bottom: 0.5vh;
}

.list a { 
  font-weight: 500; 
}

.list a::after { 
  content: "+"; 
  margin-left: 10px;  
  color: var(--preto);
}

/* + vira − */
.list a.active::after {
  content: "–";
}

.title { 
  position: fixed;
  bottom: 4vw; 
  left: 4vw;
  width: var(--col-w);
  z-index: 20;
}

.title h1 {
  font-size: clamp(32px, 0.6vw, 32px);
  line-height: 1;
}

.project-item .project-content {
  display: none !important;
}

.project-viewer {
  margin-left: calc(var(--col-w) + var(--gap) + 4vw);
  margin-right: calc(var(--col-w) + var(--gap) + 4vw);
  width: 28vw;
  margin-inline: auto;
  padding: 4vw 0;
  min-height: 100vh;
}

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

  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}

.project-content {
  width: 100%;
  padding-bottom: 3vw;
  margin-bottom: 3vw;
  animation: fadeIn 0.4s ease-out;
}

.project-content:last-child { 
  margin-bottom: 0;
  padding-bottom: 0;
}

/* título > ano > imagem > texto */
.project-viewer .project-content {
  display: flex !important;
  flex-direction: column;
  margin-bottom: 1vw;
  gap: 1vw;
}

.project-content img, .project-content video {
  width: 100%;
  height: auto;
  display: block;
  order: 3;
  margin-bottom: 1vw;
}

.info-title { 
  font-size: clamp(14px, 0.6vw, 32px);
  order: 1;
}

.info-title.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.info-year { 
  font-size: clamp(12px, 0.6vw, 24px);
  color: var(--cinza);
  order: 2;
}

.project-content img, .project-content video {
  width: 100%;
  height: auto;
  display: block;
  order: 3;
}

.info-desc { 
  font-size: clamp(14px, 0.6vw, 32px);
  line-height: 1.5;
  order: 4;
}

.info-link { 
  font-size: clamp(12px, 0.6vw, 32px);
  color: var(--cinza); 
  word-break: break-all;
  order: 5;
}

.links { 
  position: fixed;
  top: 4vw; 
  right: 4vw;
  width: var(--col-w);
  text-align: right; 
  display: flex; 
  flex-direction: column; 
  gap: 5px;
  z-index: 20;
}

.about { 
  position: fixed;
  bottom: 4vw; 
  right: 4vw;
  width: var(--col-w);
  text-align: right; 
  line-height: 1.5;
  z-index: 20;
}

footer { 
  position: fixed; 
  bottom: 2vw; 
  left: 4vw; 
  width: var(--col-w);
  font-size: 10px; 
  color: var(--cinza); 
  z-index: 20;
}

@media (max-width: 1024px) {

  .home {
    padding: 10vw 8vw;
    gap: 0; 
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* ordem */
  .links   { order: 1; }
  .list    { order: 2; }
  .title   { order: 3; margin-top: auto; } /* empurra title+about+footer pro fim */
  .about   { order: 4; }
  footer   { order: 5; }

  .project-viewer {
    display: none;
  }

  .links { 
    position: relative !important;
    top: auto;
    right: auto;
    width: 100%;
    text-align: left; 
    flex-direction: row; 
    flex-wrap: wrap; 
    justify-content: flex-start; 
    gap: 12px;
    margin-bottom: 24px; 
  }

  .links a span { 
    display: none; 
  }

  .links a { 
    font-size: 14px !important; 
    font-weight: 700; 
    color: var(--cinza) !important; 
  }

  .list { 
    position: relative !important;
    top: auto; 
    left: auto;
    width: 100%;
    text-align: left;
    margin-bottom: 24px;
  }

.list a::after {
  color: var(--preto) !important;
}

  .project-item .project-content {
    display: none;
  }

  .project-item .project-content.is-open {
  display: flex !important;
  flex-direction: column;
  gap: 12px;
  padding-top: 12px;
  padding-bottom: 12px;
}

  .title { 
    position: relative !important;
    bottom: auto; 
    left: auto;
    width: 100%;
    text-align: right; 
    margin-bottom: 20px;
  }

  .title a { 
    font-size: 32px !important; 
    color: var(--preto) !important;
    font-weight: 200; 
  }

  .about { 
    position: relative !important;
    bottom: auto; 
    right: auto;
    width: 100%;
    text-align: right; 
    max-width: 100%; 
    margin-bottom: 20px;
    font-size: 14px;
  }

 .info-title, .info-year, .info-desc, .project-content a {
  color: var(--cinza) !important;
}

  .info-link { 
    font-size: 14px !important; 
    color: var(--preto) !important;
    display: block; 
    margin-top: 10px; 
    color: var(--cinza);
  }

  footer { 
    position: relative !important;
    bottom: auto;
    left: auto;
    width: 100%;
    text-align: right; 
    padding-top: 12px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
  --rosa: #1a1a1a;
  --cinza: #555;
  --preto: #e6a5cf;
  }
  
  img, video {
    filter: brightness(.8) contrast(1.1);
    transition: filter 0.4s ease;
  }
  img:hover, video:hover { filter: brightness(1); }
}