.pagina-projeto .header {
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
}

.projeto-hero {
    padding-top: 4rem;
    padding-bottom: 3rem;
    background-color: var(--card);
    border-bottom: 1px solid var(--border);
}
.projeto-hero .container {
    max-width: 900px;
    width: 90%;
}
.projeto-hero .breadcrumb {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
    font-family: var(--font-sans);
}
.projeto-hero .breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}
.projeto-hero .breadcrumb a:hover {
    text-decoration: underline;
}
.projeto-hero h1 {
    font-size: 3rem;
    font-family: var(--font-display);
    color: var(--foreground);
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.projeto-hero .projeto-subtitulo {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-family: var(--font-sans);
}

.projeto-imagem-destaque {
    width: 100%;
    height: auto;
    max-width: 900px;
    margin: 3rem auto 0 auto;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    z-index: 10;
    border: 1px solid var(--border);
}

.projeto-conteudo {
    padding-top: 4rem;
    padding-bottom: 5rem;
}
.projeto-conteudo .container {
    max-width: 900px;
    width: 90%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.projeto-descricao {
     min-width: 0;
}
.projeto-descricao h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}
.projeto-descricao h2:first-child {
    margin-top: 0;
}
.projeto-descricao p, .projeto-descricao li {
    font-family: var(--font-sans);
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
}
.projeto-descricao p {
    margin-bottom: 1rem;
}
.lista-detalhada {
    margin-bottom: 1rem;
    padding-left: 1.5em;
    margin-left: 0;
}
.lista-detalhada li {
    margin-bottom: 0.75rem;
}
.lista-detalhada li strong {
    color: var(--foreground);
}

.galeria-grid {
    display: block;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.galeria-grid figure {
    margin: 0 0 2rem 0;
    text-align: center;
}
.galeria-grid img {
    width: 100%;
    /* max-width: 600px; REMOVIDO */
    height: auto;
    border-radius: 5px;
    border: 1px solid var(--border);
    display: inline-block;
}
.galeria-grid figcaption {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--muted);
    text-align: center;
    margin-top: 0.75rem;
}

.projeto-sidebar {
    display: none;
}

.code-block {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-top: 1rem;
    overflow: hidden;
}
.code-header {
    display: flex;
    align-items: center;
    background-color: #1E1E1E;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
}
.code-header svg {
    width: 16px;
    height: 16px;
    color: var(--muted);
    margin-right: 0.5rem;
}
.code-header span {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    color: var(--muted);
}
pre[class*="language-"] {
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 0 var(--radius) var(--radius) !important;
    font-size: 0.9rem !important;
    background-color: #1E1E1E !important;
}

@media (max-width: 900px) {
    .projeto-conteudo .container {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .projeto-hero h1 { font-size: 2.2rem; }
    .projeto-descricao h2 { font-size: 1.8rem; }
    .projeto-descricao p, .projeto-descricao li { font-size: 1rem; }
    .lista-detalhada {
        padding-left: 1em;
    }
}

@media (max-width: 500px) {
    pre[class*="language-"] {
        font-size: 0.8rem !important;
    }
     .projeto-hero h1 { font-size: 1.8rem; }
     .projeto-descricao h2 { font-size: 1.6rem; }
     .projeto-descricao p, .projeto-descricao li { font-size: 0.95rem; }
}