:root {
            --bg-color: #555555;
            --bg-footer: #EBECE8;
            --text-main: #FFFFFF;
            --text-muted: #CCCCCC;
            --card-bg: #EAEAEA;
            --card-text: #222222;
            --accent-color: #C19A6B;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--bg-color);
            color: var(--text-main);
            line-height: 1.6;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        a { color: inherit; text-decoration: none; }

        /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 2rem 4%;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo-container a { font-weight: 700; font-size: 1.2rem; letter-spacing: 1px; }

        nav { display: flex; gap: 2rem; align-items: center; font-size: 0.95rem; }
        nav a:hover { opacity: 0.7; }

        /* Dropdown Menu */
        .dropdown { position: relative; }
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: #444;
            min-width: 200px;
            box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
            z-index: 1;
            top: 100%;
            left: 0;
            border-radius: 4px;
            overflow: hidden;
        }
        .dropdown-content a {
            color: white;
            padding: 12px 16px;
            display: block;
            font-size: 0.85rem;
            border-bottom: 1px solid rgba(255,255,255,0.05);
        }
        .dropdown-content a:hover { background-color: #333; }
        .dropdown:hover .dropdown-content { display: block; }

        /* Main Container */
        main { flex: 1; max-width: 1200px; width: 92%; margin: 0 auto; padding: 3rem 0; }
        .view-section { display: none; }
        .view-section.active { display: block; }


        /* Hero / Destaque Home */
        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
            margin-bottom: 4rem;
        }

        /* Atualização do CSS do Logo no Header */
        .logo-container img {
            height: 40px;
            width: auto;
            display: block;
        }

        /* Atualização do CSS da marca no Hero */
        .hero-brand {
            text-align: center;
            padding: 2.5rem 1.5rem;
            border: 0px solid rgba(255,255,255,0.2);
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-brand img {
            max-width: 240px;
            width: 100%;
            height: auto;
        }

        .hero-featured-card {
            background-color: var(--card-bg);
            color: var(--card-text);
            border-radius: 12px;
            min-height: 350px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
        }
        .hero-featured-card:hover { transform: translateY(-3px); }

        .hero-overlay {
            background: linear-gradient(to top, rgba(0,0,0,0.85) 20%, rgba(0,0,0,0) 90%);
            width: 100%;
            padding: 2.5rem;
            color: #fff;
        }


        .brand-logo-img {
          height: 75px;
          width: auto;
        }

        .brand-title {
          font-size: 1.8rem;
          font-weight: 300;
          letter-spacing: 2px;
          line-height: 1.1;
          text-transform: uppercase;
          border-left: 1px solid rgba(255, 255, 255, 0.3);
          padding-left: 20px;
        }

        .brand-title span {
          display: block;
          font-weight: 600;
        }

        /* Seções e Títulos */
        .section-title {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            margin-top: 3rem;
            font-weight: 600;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            padding-bottom: 0.5rem;
        }

        /* Grids de Posts Dinâmicos */
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .post-card {
            background-color: var(--card-bg);
            color: var(--card-text);
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        .post-card:hover { transform: translateY(-4px); }

        .post-card-img {
            width: 100%;
            height: 200px;
            background-color: #ccc;
            background-size: cover;
            background-position: center;
        }

        .post-card-body { padding: 1.5rem; }
        .post-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
        .post-card p { font-size: 0.9rem; color: #555; }

        /* Detalhe do Post / Projeto (Single View) */
        .single-post-container {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 3rem;
            background: rgba(0,0,0,0.1);
            padding: 3rem;
            border-radius: 12px;
        }

        .single-image-box {
            background-color: #ccc;
            aspect-ratio: 4/5;
            border-radius: 8px;
            width: 100%;
            background-size: cover;
            background-position: center;
        }

        .single-content h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
        .single-content .meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px; }

        .back-btn {
            background: none;
            border: 1px solid #fff;
            color: #fff;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            cursor: pointer;
            margin-bottom: 2rem;
            font-size: 0.9rem;
        }
        .back-btn:hover { background: #fff; color: #333; }

        /* Rodapé Institucional */
        footer {
            background-color: var(--bg-footer);
            color: #333;
            padding: 4rem 4% 2rem 4%;
            font-size: 0.85rem;
            margin-top: auto;
        }
        .footer-cols {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 2rem;
            margin-bottom: 3rem;
            border-bottom: 1px solid #ccc;
            padding-bottom: 2rem;
        }
        .footer-col h4 { font-size: 0.9rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 0.5rem; }
        .footer-col ul li a { color: #555; }
        .footer-col ul li a:hover { color: #000; }
        .footer-bottom { display: flex; justify-content: space-between; align-items: center; color: #666; font-size: 0.75rem; }

        @media (max-width: 768px) {
            .hero-grid, .single-post-container, .footer-cols { grid-template-columns: 1fr; }
            nav { display: none; }
        }


        /* Layout da Janela de Detalhes do Post / Projeto */
.single-hero-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    align-items: start;
}

.single-featured-image {
    width: 100%;
    height: 380px;
    background-color: #d8d8d8;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
}

.single-header-info {
    display: flex;
    flex-direction: column;
}

.single-header-info h1 {
    font-size: 2.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.single-category-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.single-date-badge {
    font-size: 0.8rem;
    color: #999999;
    margin-bottom: 1.5rem;
    display: block;
}

.single-initial-text {
    font-size: 0.88rem;
    color: #dddddd;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Botões de Compartilhamento Redondos Dourados */
.share-buttons-container {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.share-btn {
    width: 32px;
    height: 32px;
    background-color: var(--accent-color, #C19A6B);
    color: #2b2b2b;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.8;
}

/* Conteúdo Completo do Texto */
.single-body-content {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 3rem;
}

.single-body-content p {
    margin-bottom: 1.2rem;
}

/* Galeria Inferior de Imagens */
.single-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 4rem;
}

.single-gallery-item {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    background-color: #d8d8d8;
}

@media (max-width: 850px) {
    .single-hero-layout {
        grid-template-columns: 1fr;
    }
    .single-featured-image {
        height: 280px;
    }
    .single-gallery-grid {
        grid-template-columns: 1fr;
    }
}

