/* === CONFIGURAÇÕES GLOBAIS E VARIÁVEIS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
}

html {
    scroll-behavior: smooth;
}

:root {
    --primaria: #4f46e5;
    --secundaria: #7c3aed;
    --escuro: #0f172a;
    --maisescuro: #0a0f1c;
    --claro: #e2e8f0;
    --cinza: #94a3b8;
    --vidro: rgba(255, 255, 255, 0.05);
    --sombra-vidro: rgba(255, 255, 255, 0.1);
}

body {
    background-color: var(--escuro);
    color: var(--claro);
}

.secao-padrao {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.secao-titulo {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--claro);
}

.secao-titulo::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primaria), var(--secundaria));
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* === NAVEGAÇÃO === */
.navegacao {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vidro);
    padding: 1rem 0;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu-link {
    color: var(--claro);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: color 0.3s, background-color 0.3s;
}

.menu-link:hover {
    color: #fff;
    background-color: var(--primaria);
}

/* === SEÇÃO INICIAL (HERO) === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 2rem;
}

.foto-perfil {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primaria);
    box-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
    margin-bottom: 1.5rem;
}

.hero-texto h1 {
    font-size: 3rem;
    color: var(--claro);
    margin-bottom: 0.5rem;
}

.hero-headline {
    font-size: 1.25rem;
    color: var(--cinza);
    max-width: 600px;
    margin-bottom: 2rem;
}

.hero-sociais {
    display: flex;
    gap: 1.5rem;
}

.hero-sociais a {
    color: var(--cinza);
    font-size: 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.hero-sociais a:hover {
    color: var(--primaria);
    transform: scale(1.2);
}

/* === SERVIÇOS === */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.servico-card {
    background: var(--maisescuro);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--vidro);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.servico-card i {
    font-size: 2.5rem;
    color: var(--primaria);
    margin-bottom: 1rem;
}

.servico-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--claro);
}

.servico-card p {
    font-size: 1rem;
    color: var(--cinza);
    line-height: 1.6;
}

/* === PROJETOS === */
.projetos-grid {
    display: grid;
    gap: 2rem;
}

.projeto-card {
    background: var(--vidro);
    border: 1px solid var(--sombra-vidro);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(5px);
}

.projeto-texto h3 {
    color: var(--primaria);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.projeto-detalhes p {
    color: var(--cinza);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.projeto-detalhes p strong {
    color: var(--claro);
    font-weight: 600;
}

/* === DEPOIMENTOS === */
.depoimento-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--maisescuro);
    padding: 2.5rem;
    border-left: 5px solid var(--primaria);
    border-radius: 0 8px 8px 0;
}

.depoimento-card blockquote p {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--claro);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.depoimento-card cite {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cinza);
}


/* === TECNOLOGIAS (STACK) === */
.stack-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.stack-item span {
    background-color: var(--vidro);
    color: var(--cinza);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--sombra-vidro);
    font-weight: 500;
    transition: all 0.3s;
}

.stack-item span:hover {
    background-color: var(--primaria);
    color: #fff;
    cursor: default;
}

/* === RODAPÉ E CTA === */
.rodape {
    background-color: var(--maisescuro);
    color: var(--claro);
    text-align: center;
    padding: 5rem 2rem 0;
    border-top: 1px solid var(--sombra-vidro);
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.1rem;
    color: var(--cinza);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-botoes {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.botao-cta {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.botao-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.botao-cta.whatsapp {
    background-color: #25d366;
    color: #fff;
}

.botao-cta.email {
    background-color: var(--primaria);
    color: var(--claro);
}

.assinatura {
    padding: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--vidro);
}

.assinatura p {
    color: var(--cinza);
    font-size: 0.9rem;
}


/* === RESPONSIVIDADE PARA CELULARES === */
@media (max-width: 768px) {
    .secao-padrao {
        padding: 4rem 1.5rem;
    }

    .secao-titulo {
        font-size: 2rem;
    }

    /* Hero */
    .hero {
        padding-top: 6rem;
    }
    
    .foto-perfil {
        width: 150px;
        height: 150px;
    }

    .hero-texto h1 {
        font-size: 2.2rem;
    }

    .hero-headline {
        font-size: 1.1rem;
    }

    /* Menu */
    .menu {
        gap: 0.5rem;
    }

    .menu-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    /* Depoimento */
    .depoimento-card blockquote p {
        font-size: 1.1rem;
    }

    /* CTA */
    .cta-container h2 {
        font-size: 2rem;
    }
}