/* ==========================================================================
   4. #TRABALHOS — CARDS HORIZONTAIS ASSIMÉTRICOS + .shot ESCURO (#0e1014)
   6. #LEO — BIO + SPEC SHEET TABULAR 2x2 + .portrait COM ESPIRAL ÁUREA
   ========================================================================== */

/* ---- #TRABALHOS ---- */
.au-works {
  display: grid;
  gap: clamp(20px, 2.6vw, 28px);
}

.au-work {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: center;
  background: var(--au-surface);
  border: 1px solid var(--au-line);
  border-radius: var(--r-lg);
  padding: clamp(18px, 2.4vw, 28px);
  transition: border-color 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .au-work:hover {
    border-color: var(--au-gold-line);
  }
}

/* Moldura .shot */
.shot {
  border-radius: var(--r-md);
  background: #090a0c;
  border: 1px solid var(--au-line-strong);
  overflow: hidden;
  box-shadow: 0 22px 44px -24px rgba(0, 0, 0, 0.75);
}

.shot__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 32px;
  padding: 0 12px;
  background: #0d1016;
  border-bottom: 1px solid var(--au-line);
}

.shot__dots {
  display: inline-flex;
  gap: 5px;
  flex: none;
}

.shot__dots i {
  width: 6px;
  height: 6px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.shot__url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--au-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shot__screen {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #090a0c;
  overflow: hidden;
}

.shot__ph {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 22% 1fr;
  gap: 10px;
  padding: 12px;
}

.shot__ph::before {
  content: "";
  border-radius: 2px;
  background: #141820;
}

.shot__ph span {
  display: grid;
  grid-template-rows: 14% 1fr 1fr;
  gap: 10px;
}

.shot__ph span::before,
.shot__ph span::after {
  content: "";
  border-radius: 2px;
  background: #141820;
}

.shot__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity 320ms ease, transform 420ms var(--au-ease);
}

.shot.is-ready .shot__img {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .au-work:hover .shot.is-ready .shot__img {
    transform: scale(1.015);
  }
}

/* Ficha técnica à direita */
.au-work__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.au-work__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.au-work__cat {
  color: var(--au-muted);
}

.au-work__status {
  padding: 3px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--au-gold-line);
  background: var(--au-gold-soft);
  color: var(--au-gold-light);
}

.au-work__info h3 {
  margin: 0;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--au-ink);
}

.au-work__info p {
  margin: 0;
  font-size: 15px;
  line-height: 1.58;
  color: var(--au-body);
}

.au-work__specs {
  margin: 4px 0 0;
  border-top: 1px solid var(--au-line);
  border-bottom: 1px solid var(--au-line);
  display: grid;
}

.au-work__specs > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 10px 0;
  font-size: 13.5px;
}

.au-work__specs > div + div {
  border-top: 1px solid var(--au-line);
}

.au-work__specs dt {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--au-muted);
  align-self: center;
}

.au-work__specs dd {
  margin: 0;
  color: var(--au-ink);
}

.au-work__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 4px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--au-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 168, 78, 0.35);
  padding-bottom: 3px;
  transition: color 160ms ease, border-color 160ms ease;
}

.au-work__link:hover,
.au-work__link:focus-visible {
  color: var(--au-gold-light);
  border-bottom-color: var(--au-gold-light);
}

@media (max-width: 959px) {
  .au-work {
    grid-template-columns: 1fr;
  }
}

/* ---- #LEO ---- */
.au-leo {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.au-leo__bio {
  display: grid;
  gap: 16px;
}

.au-leo__bio p:not(.au-index) {
  margin: 0;
  font-size: 16px;
  line-height: 1.62;
  color: var(--au-body);
  max-width: 56ch;
}

/* Spec Sheet Tabular 2x2 (ZERO pílulas) */
.spec-sheet {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 10px 0 0;
  background: var(--au-line-strong);
  border: 1px solid var(--au-line-strong);
  border-radius: var(--r-md);
  overflow: hidden;
  max-width: 520px;
}

.spec-sheet__cell {
  background: var(--au-surface);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
}

.spec-sheet__cell dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--au-gold);
}

.spec-sheet__cell dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  color: var(--au-ink);
}

/* Moldura .portrait 4/5 */
.au-leo__aside {
  display: flex;
  justify-content: flex-end;
}

.portrait {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #090a0c;
  border: 1px solid var(--au-line-strong);
  box-shadow: 0 24px 54px -24px rgba(0, 0, 0, 0.78);
}

.portrait__card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #0b0d12;
}

.portrait__diagram {
  width: 100%;
  height: 100%;
  display: block;
}

.portrait__coords {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--au-line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--au-muted);
}

.portrait__coords span:last-child {
  color: var(--au-gold);
}

.portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 320ms ease;
}

.portrait.is-ready > img {
  opacity: 1;
}

@media (max-width: 959px) {
  .au-leo {
    grid-template-columns: 1fr;
  }

  .au-leo__aside {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .spec-sheet {
    grid-template-columns: 1fr;
  }
}
