/* RESET BÁSICO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

/* ================= ANIMAÇÕES ================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes flutuar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}   

/* ================= NAVBAR ================= */
.navegacao {
    position: fixed;
    top: 0;
    width: 100%;
    background: #020617;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.menu {
    list-style: none;
    display: flex;
    justify-content: center; 
    gap: 40px;
    margin: 0; 
    padding: 0; 
}

.menu-link {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: bold;
    transition: 0.3s;
}

.menu-link:hover {
    color: #38bdf8;
}

/* ================= CABEÇALHO ================= */
.cabecalho {
    min-height: 100vh;
    padding-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #020617, #0f172a);
    text-align: center;
}

.foto-perfil {
    width: 200px; 
    height: 200px;
    object-fit: cover;
    object-position: center top; 
    border-radius: 50%;
    border: 4px solid #38bdf8;
    box-shadow: 
        0 0 0 6px rgba(56, 189, 248, 0.15),
        0 0 30px rgba(56, 189, 248, 0.4);
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: flutuar 3s ease-in-out infinite;
}

.cabecalho h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitulo {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* ================= SOBRE ================= */
.sobre {
    padding: 80px 20px;
    background: #020617;
}

.sobre-titulo {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.sobre-caixa {
    max-width: 900px;
    margin: auto;
    background: #020617;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(56,189,248,0.1);
}

.sobre-paragrafo {
    font-size: 1.1rem;
    color: #cbd5f5;  
    text-align: center;
}

/* ================= TRABALHOS ================= */
.trabalho {
    padding: 80px 20px;
    background: #0f172a;
}

.trabalho-titulo {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

.trabalho-caixa {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.trabalho-item {
    background: #020617;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.trabalho-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(56,189,248,0.3);
}

.trabalho-nome {
    text-align: center;
    margin-bottom: 15px;
    color: #38bdf8;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* MÍDIAS DOS TRABALHOS */
.media-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trabalho-imagem,
.trabalho-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;    
    object-position: center;
    pointer-events: none;
}

.trabalho-descricao {
    margin-top: 10px;
    font-size: 0.95rem;
    color: #cbd5f5;
    text-align: center;
}

/* ================= PÁGINAS INTERNAS (DETALHES) ================= */
.container-detalhes {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.lista-trabalhos {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 50px;
}

.projeto-item-detalhado {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 30px;
    align-items: center;
    background: #020617;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #1e293b;
}

.projeto-item-detalhado .media-wrapper {
    max-width: 800px; 
    width: 100%;
    margin: 0 auto; 
}

.projeto-item-detalhado video,
.projeto-item-detalhado img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.texto-explicativo h3 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.texto-explicativo p {
    color: #cbd5f5;
    line-height: 1.5;
}

/* ================= CONTATO ================= */
.contato {
    padding: 80px 20px;   
    background: #020617;
}
.contato-subtitulo {
    text-align: center;
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 40px;
}
.contato-titulo {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

.formulario-contato {
    max-width: 600px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.botao-enviar {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: #38bdf8;
    color: #0f172a;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.botao-enviar:hover {
    background: #0ea5e9;
    color: #ffffff;
}
 
.grupo-form input,
.text-form {
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    outline: none;
    background: #0f172a;
    color: #e5e7eb;
    border: 1px solid #1e293b;
    transition: all 0.3s ease;
}

.grupo-form input:focus,
.text-form:focus {
    border-color: #38bdf8;
    background: #111d35;
}

.grupo-form input::placeholder,
.text-form::placeholder {
    color: #94a3b8;
}

.text-form {
    min-height: 120px;
    resize: vertical;
}

/* ================= RODAPÉ REVISADO (PADRÃO 100px) ================= */
.rodape-profissional {
    background: #020617;
    padding: 60px 20px;
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 30px; 
    flex-wrap: wrap; 
    border-top: 1px solid #1e293b;
}

/* CLASSE COMUM PARA OS DOIS CARDS NOVO */
.card-footer-novo {
    width: 100px; 
    height: 100px; 
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.card-footer-novo:hover {
    border-color: #38bdf8;
    background: #1e293b;
    transform: translateY(-5px);
}

.card-footer-novo svg {
    width: 35px; /* Tamanho do ícone ajustado para caber nos 100px */
    fill: #38bdf8; 
    margin-bottom: 5px;
}

.card-footer-novo h4 {
    color: #e5e7eb;
    margin-bottom: 0;
    font-size: 0.75rem; /* Fonte menor para caber nos 100px */
}

/* ================= RESPONSIVIDADE (MEDIA QUERIES) ================= */

/* Para Notebooks / Telas Maiores */
@media (min-width: 768px) {
    .media-wrapper {
        max-height: 500px; 
        width: 100%;
    }
       
    .projeto-item-detalhado .media-wrapper {
        max-width: 100%; 
        margin: 0;
    }
}

/* Para Tablets / Celulares Grandes */
@media (max-width: 768px) {
    .menu {
        gap: 15px; 
        flex-wrap: wrap; 
        padding: 0 10px; 
    }
    .menu-link {
        font-size: 0.9rem; 
    }
    .projeto-item-detalhado {
        grid-template-columns: 1fr;
    }
    .rodape-profissional {
        flex-direction: row; /* Mantém lado a lado no celular */
        gap: 20px;
    }
}

/* Para Celulares Pequenos */
@media (max-width: 600px) {
    .menu {
        gap: 15px;
        justify-content: center;
    }
}