/* ── Nav ── */
.nav-link-item { color: var(--fg-55); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-decoration: none; text-transform: uppercase; transition: color .2s; }
.nav-link-item:hover, .nav-link-item.active { color: var(--ac-tx); }

/* ── Hero do Projeto ── */
.projeto-hero {
    position: relative;
    height: clamp(360px, 55vw, 640px);
    background: color-mix(in srgb,#0d0d0b var(--dk),var(--bg2));
    overflow: hidden;
}
.projeto-hero__cover {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}
.projeto-hero__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--bg2) 0%, color-mix(in srgb,#0d0d0b var(--dk),var(--bg2)) 100%);
}
.projeto-hero__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(var(--ink),.018) 0px,
        rgba(var(--ink),.018) 1px,
        transparent 1px,
        transparent 28px
    );
}
.projeto-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.45) 45%,
        rgba(0,0,0,0.15) 100%
    );
}
.projeto-hero__content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0 0 48px;
}
.projeto-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.projeto-hero__breadcrumb a {
    color: var(--fg-40);
    text-decoration: none;
    transition: color .2s;
}
.projeto-hero__breadcrumb a:hover { color: var(--ac-tx); }
.projeto-hero__breadcrumb span { color: var(--fg-20); }
.projeto-hero__breadcrumb .current { color: var(--fg-70); }
.projeto-hero__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.projeto-hero__category {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ac-tx);
}
.projeto-hero__sep {
    width: 3px; height: 3px;
    background: rgba(var(--ink),.25);
    border-radius: 50%;
}
.projeto-hero__year {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--fg-40);
}
.projeto-hero__title {
    font-size: clamp(28px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--fg);
    margin: 0;
}

/* ── Info do Projeto ── */
.projeto-info {
    background: var(--bg);
    border-bottom: 1px solid rgba(var(--ink),.06);
    padding: 40px 0;
}
.projeto-info__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 32px;
    align-items: start;
}
@media (max-width: 767px) {
    .projeto-info__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
.projeto-info__item label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-25);
    margin-bottom: 6px;
}
.projeto-info__item p {
    font-size: 14px;
    font-weight: 600;
    color: var(--fg-80);
    margin: 0;
}
.projeto-info__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tag-pill {
    background: rgba(var(--ink),.06);
    border: 1px solid rgba(var(--ink),.1);
    border-radius: 100px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--fg-55);
    padding: 4px 12px;
}

/* ── Corpo do Projeto ── */
.projeto-body {
    background: var(--bg);
    padding: 64px 0 80px;
}
.projeto-description {
    font-size: 16px;
    line-height: 1.75;
    color: var(--fg-65);
    max-width: 680px;
    margin-bottom: 12px;
}
.projeto-description strong { color: var(--fg-90); }
.projeto-list {
    max-width: 680px;
    margin: 0 0 16px 0;
    padding-left: 20px;
    color: var(--fg-65);
    font-size: 15px;
    line-height: 1.75;
}
.projeto-list li { margin-bottom: 4px; }
/* ── Blocos de seção intercalada ── */
.sec-block { margin-bottom: 52px; }
.sec-block:last-child { margin-bottom: 0; }
.sec-block .projeto-video-wrap,
.sec-block .projeto-video-placeholder { margin-bottom: 0; }
.sec-block .projeto-gallery { margin-bottom: 0; }
.projeto-section-heading {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fg);
    margin: 56px 0 20px;
    padding-top: 48px;
    border-top: 1px solid rgba(var(--ink),.08);
}
.projeto-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ac-tx);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.projeto-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(var(--ink),.07);
}

/* ── Vídeo Embed ── */
.projeto-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 4px;
    background: color-mix(in srgb,#0d0d0b var(--dk),var(--bg2));
    margin-bottom: 64px;
}
.projeto-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
/* Placeholder de vídeo (sem URL ainda) */
.projeto-video-placeholder {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: 4px;
    background: color-mix(in srgb,#0d0d0b var(--dk),var(--bg2));
    border: 1px dashed rgba(var(--ink),.1);
    overflow: hidden;
}
.projeto-video-placeholder__inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.projeto-video-placeholder__icon {
    font-size: 36px;
    color: var(--fg-12);
}
.projeto-video-placeholder__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--fg-20);
}

/* ── Galeria ── */
.projeto-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
    margin-bottom: 64px;
}
.projeto-gallery.single { grid-template-columns: 1fr; }
.projeto-gallery.triple { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 575px) {
    .projeto-gallery,
    .projeto-gallery.triple { grid-template-columns: 1fr; }
}
.gallery-item {
    position: relative;
    overflow: hidden;
    background: color-mix(in srgb,#111 var(--dk),var(--bg2));
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4/3;
    transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item.placeholder-item {
    aspect-ratio: 4/3;
    background: color-mix(in srgb,#111 var(--dk),var(--bg2));
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-item.placeholder-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        rgba(var(--ink),.015) 0px,
        rgba(var(--ink),.015) 1px,
        transparent 1px,
        transparent 24px
    );
}
.gallery-placeholder-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fg-12);
    text-align: center;
    z-index: 1;
}

/* ── Lightbox ── */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,calc(.93*var(--sa)));
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.on { display: flex; }
.lightbox__img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 2px;
}
.lightbox__close {
    position: absolute;
    top: 20px; right: 24px;
    background: none;
    border: none;
    color: var(--fg-60);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color .2s;
}
.lightbox__close:hover { color: var(--fg); }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--ink),.08);
    border: 1px solid rgba(var(--ink),.1);
    border-radius: 50%;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
    color: var(--fg-70);
}
.lightbox__nav:hover { background: rgba(var(--ink),.15); color: var(--fg); }
.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }
@media (max-width: 575px) {
    .lightbox__nav { display: none; }
}

/* ── Navegação entre projetos ── */
.projeto-nav {
    background: var(--bg);
    border-top: 1px solid rgba(var(--ink),.06);
    padding: 0;
}
.projeto-nav__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.projeto-nav__item {
    display: block;
    text-decoration: none;
    padding: 40px 32px;
    transition: background .2s;
    border-right: 1px solid rgba(var(--ink),.05);
}
.projeto-nav__item:last-child { border-right: none; }
.projeto-nav__item:hover { background: rgba(var(--ink),.03); }
.projeto-nav__item.next { text-align: right; }
.projeto-nav__dir {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--fg-25);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.projeto-nav__item.next .projeto-nav__dir { justify-content: flex-end; }
.projeto-nav__title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fg-75);
    transition: color .2s;
}
.projeto-nav__item:hover .projeto-nav__title { color: var(--fg); }
.projeto-nav__year {
    font-size: 11px;
    color: var(--fg-30);
    margin-top: 4px;
}
@media (max-width: 575px) {
    .projeto-nav__grid { grid-template-columns: 1fr; }
    .projeto-nav__item { border-right: none; border-bottom: 1px solid rgba(var(--ink),.05); }
}

/* ── 404 do projeto ── */
.projeto-404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 24px;
}
.projeto-404 h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 12px;
}
.projeto-404 p {
    font-size: 14px;
    color: var(--fg-40);
    margin-bottom: 32px;
}
