/* Reset e Tipografia */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; /* Fonte elegante e arredondada */
}

body {
    background-color: #050505; /* Fundo preto quase absoluto */
    color: #ffffff;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
}

/* Header Minimalista (Referência à Página 1 do seu PDF) */
.header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 40px;
}

.header .subtitle {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 2.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Menu Inicial - Botões */
.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.menu-btn {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    background-color: #121212; /* Fundo levemente mais claro que o body */
    color: #fff;
    border: 1px solid #222;
    border-radius: 50px; /* Formato de pílula, similar às tags do seu PDF */
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Utilitários JS */
.escondido {
    display: none !important;
}

/* Área Interna (Portfólio) */
.nav-top {
    margin-bottom: 40px;
}

.btn-voltar {
    background: transparent;
    color: #888;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 500;
}

.btn-voltar:hover {
    color: #fff;
}

.secao-trabalhos h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
}

/* Galeria de Projetos */
.galeria {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.card-item {
    background-color: #111;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid #222;
}

.case-card img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.case-card:hover img {
    opacity: 1;
}

/* Tag de serviço inspirada no seu botão "Design" do PDF */
.tag {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    color: #000000;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Placeholders para fotos e vídeos */
.video-placeholder, .photo-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    background: #0a0a0a;
}
/* Responsividade para Vídeos do Vimeo (Proporção 16:9) */
.iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* Mantém a proporção exata de vídeo */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #0a0a0a;
    border: 1px solid #222;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsividade para Projetos do Behance */
.iframe-container-behance {
    width: 100%;
    height: 350px; /* Altura ideal para exibir a capa do projeto */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #222;
    background: #0a0a0a;
    transition: transform 0.3s ease;
}

.iframe-container-behance:hover {
    transform: translateY(-5px); /* Efeito sutil ao passar o mouse */
}

.iframe-container-behance iframe {
    width: 100%;
    height: 100%;
}