/* RESET GERAL */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }

body {
    background-color: #0d0d0d;
    color: #e0e0e0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* CONTAINER PRINCIPAL */
.app-container {
    display: flex;
    width: 90%;
    max-width: 1100px;
    height: 85vh;
    background: #1a1a1a;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid #333;
}

/* --- LADO ESQUERDO: SIDEBAR --- */
.sidebar {
    width: 300px;
    background: #222;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #333;
    flex-shrink: 0;
}

/* FOTO DE PERFIL */
.photo-placeholder {
    width: 160px;
    height: 160px;
    background: #333;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 3px solid #00ff88; /* Verde Neon */
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
}

.photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-header h1 { font-size: 1.5rem; color: #fff; margin-bottom: 5px; text-align: center; }
.role { font-size: 0.9rem; color: #888; display: block; text-align: center; margin-bottom: 20px; }
.tagline { font-size: 0.85rem; color: #aaa; text-align: center; line-height: 1.4; margin-bottom: 30px; }

/* ÍCONES SOCIAIS (SVG BRANCOS) */
.social-links { display: flex; gap: 15px; margin-bottom: auto; }

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    border: 1px solid transparent;
}

.social-btn img {
    width: 22px; 
    height: 22px;
    object-fit: contain;
    transition: 0.3s ease;
    /* Inverte a cor para Branco (ideal para ícones pretos SVG) */
    filter: invert(1) brightness(2); 
}

.social-btn:hover {
    background: #00ff88;
    transform: translateY(-3px);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.social-btn:hover img {
    /* Volta para preto no hover para dar contraste com o fundo verde */
    filter: invert(0) brightness(0); 
}

/* BOTÃO CTA SIDEBAR */
.cta-sidebar {
    width: 100%;
    text-align: center;
    background: #00ff88;
    color: #000;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: 0.3s;
}
.cta-sidebar:hover { background: #fff; }

/* --- LADO DIREITO: CONTEÚDO --- */
.content-area {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

/* NAVEGAÇÃO TOPO */
.top-nav {
    display: flex;
    height: 60px;
    border-bottom: 1px solid #333;
    background: #1f1f1f;
}
.nav-btn {
    flex: 1;
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 500;
}
.nav-btn:hover { color: #fff; background: #252525; }
.nav-btn.active { color: #00ff88; border-bottom: 3px solid #00ff88; background: #252525; }

/* ÁREA DE ROLAGEM */
.scrollable-content {
    padding: 40px;
    overflow-y: auto;
    height: 100%;
}

.tab-pane { display: none; animation: fadeIn 0.4s ease; }
.tab-pane.active { display: block; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- TIPOGRAFIA GERAL E CORES --- */
.neon-text { color: #00ff88; }
.title-lg { font-size: 2rem; margin-bottom: 20px; color: #fff; line-height: 1.1; }

/* --- ESTILO: ABA SOBRE (MANIFESTO) --- */
.manifesto-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #fff;
    letter-spacing: -1px;
}

.manifesto-body p {
    font-size: 1.05rem;
    color: #c0c0c0;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 650px;
}

.manifesto-body strong {
    color: #fff;
    font-weight: 600;
    border-bottom: 2px solid #00ff88;
}

/* VALORES LISTA */
.values-list {
    margin-top: 40px;
    margin-bottom: 40px;
    border-top: 1px solid #333;
    padding-top: 30px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.check-icon {
    color: #00ff88;
    font-size: 1.5rem;
    font-weight: bold;
    background: rgba(0, 255, 136, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.value-text h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
}

.value-text p { font-size: 0.95rem; color: #999; line-height: 1.5; }

/* SIGNATURE BOX */
.signature-box { margin-top: 20px; display: flex; align-items: center; gap: 15px; }
.signature-box p { font-size: 1rem; color: #fff; font-style: italic; }

.btn-text-only {
    background: none;
    border: none;
    color: #00ff88;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
}
.btn-text-only:hover { border-bottom: 1px solid #00ff88; margin-left: 5px; }


/* --- ESTILO: ABA PROJETOS --- */

.section-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.2;
}

.section-subtitle {
    color: #888;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 0.95rem;
    display: block;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: #222;
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover { border-color: #00ff88; transform: translateY(-5px); }

.card-image {
    height: 180px;
    background: #333;
    overflow: hidden;
    width: 100%;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project-card:hover .card-image img { transform: scale(1.05); }

.card-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.card-header h3 { color: #fff; font-size: 1.2rem; margin: 0; }

.tech-tag {
    background: rgba(0,255,136,0.1);
    color: #00ff88;
    padding: 4px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    border: 1px solid rgba(0,255,136,0.2);
}

.card-desc { font-size: 0.9rem; color: #aaa; line-height: 1.5; margin-bottom: 20px; flex-grow: 1; }
.card-desc strong { color: #ddd; }

.btn-project {
    display: block; width: 100%; text-align: center;
    background: #333; color: #fff; padding: 10px; border-radius: 6px;
    text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s;
}
.btn-project:hover { background: #fff; color: #000; }

/* CARD BLOQUEADO */
.project-card.locked {
    border-style: dashed;
    background: rgba(255,255,255,0.02);
    min-height: 300px;
}
.card-content.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
}
.icon-lock { font-size: 2rem; margin-bottom: 10px; opacity: 0.5; }

/* --- ESTILO: ABA CONTATO --- */
.contact-wrapper {
    display: flex; flex-direction: column; 
    height: 100%;
    max-width: 100%; /* Largura total para caber o mapa */
    padding-bottom: 20px;
}

.contact-text { font-size: 1.1rem; color: #bbb; line-height: 1.6; margin-bottom: 20px; }

/* Botão WhatsApp */
.whatsapp-giant-btn {
    background: #25D366; color: #fff;
    font-size: 1.2rem; font-weight: bold; text-decoration: none;
    padding: 15px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: 0.3s; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.2);
    margin-bottom: 30px; 
}
.whatsapp-giant-btn:hover { background: #1ebc57; transform: scale(1.02); }
.whatsapp-giant-btn img { width: 25px; height: 25px; filter: brightness(0) invert(1); }


/* ÁREA DE PAGAMENTO (NOVO) */
.payment-area {
    margin-bottom: 25px;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.payment-label {
    font-size: 0.9rem; color: #888; margin-bottom: 15px; 
    text-transform: uppercase; letter-spacing: 1px;
}

/* Container dos métodos */
.payment-methods-grid {
    display: flex;
    justify-content: center;
    gap: 40px; /* Espaço entre o Pix e o Cartão */
}

/* Cada bloco individual (Ícone + Texto) */
.payment-item {
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 8px;
}

/* Ícones de Pagamento */
.payment-item img {
    height: 35px; /* Tamanho do ícone */
    width: auto;
    /* Se os ícones forem pretos e você quiser brancos, descomente a linha abaixo: */
    filter: invert(1); 
    transition: 0.3s;
}

.payment-item:hover img {
    transform: scale(1.1);
    filter: invert(1) drop-shadow(0 0 5px #00ff88); /* Efeito neon */
}

/* Texto embaixo do ícone */
.payment-item span {
    font-size: 0.8rem;
    color: #bbb;
    font-weight: 500;
}


/* MAPA DARK MODE */
.map-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) contrast(90%);
}


/* RESPONSIVO (CELULAR) */
@media (max-width: 768px) {
    /* 1. Destrava a tela para rolar normalmente */
    body { 
        height: auto; 
        overflow: visible; 
        display: block; /* Tira a centralização forçada */
    }

    /* 2. O container principal deixa de ser um "cartão" e vira a tela toda */
    .app-container { 
        flex-direction: column; 
        height: auto; 
        min-height: 100vh; 
        width: 100%; 
        border-radius: 0; 
        border: none;
    }

    /* 3. A Sidebar vira o cabeçalho no topo */
    .sidebar { 
        width: 100%; 
        height: auto; 
        padding: 20px; 
        flex-direction: row; 
        justify-content: space-between; 
        border-right: none; 
        border-bottom: 1px solid #333; 
    }
    
    .profile-header { display: flex; align-items: center; gap: 15px; text-align: left; }
    .photo-placeholder { width: 50px; height: 50px; margin: 0; }
    .profile-header h1 { font-size: 1.2rem; margin: 0; }
    .role, .tagline, .cta-sidebar, .social-links { display: none; }
    
    /* 4. Libera a área de conteúdo para esticar o quanto precisar */
    .content-area { height: auto; }
    
    .scrollable-content { 
        height: auto; 
        overflow: visible; 
        padding: 25px 20px; /* Reduz as margens para aproveitar melhor a tela do celular */
    }
    
    .manifesto-title { font-size: 1.8rem; }
    .signature-box { flex-direction: column; align-items: flex-start; }
}

}
