@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- CONFIGS GERAIS E LAYOUT --- */
:root {
    --bg-color: #191716;
    --card-bg: #262321;
    --text-primary: #e6dace;
    --text-secondary: #9c948e;
    --accent-color: #e09f3e;
    --font-main: serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- HEADER & NAV --- */
header {
    margin: 0;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(18, 18, 18, 0.9); /* Transparência */
    backdrop-filter: blur(7px);
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: center;
}

nav ul{
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: var(--accent-color);
}

/* --- SEÇÕES --- */
section {
    padding: 100px 10%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h1, h2, h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin-top: 5px;
    border-radius: 2px;
}

p {
    color: var(--text-secondary);
    max-width: 700px;
    font-size: 1.1rem;
}

/* --- HOME --- */
.home {
    height: 100vh;
}

.home h1 {
    font-size: 3.5rem;
    /* Degradezinho bonitinho */
    background: linear-gradient(to right, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
}

.home p:first-child {
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 3rem;
}

.home-conteudo {
    flex: 1;
    max-width: 600px;
}

.home-img {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* FOTO */
.home-img img {
    width: 380px;
    height: 380px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    box-shadow: 0 0 25px rgba(224, 159, 62, 0.4);
    transition: 0.5s ease;
}

.home-img img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 35px rgba(224, 159, 62, 0.6);
}

.home h1 {
    font-size: 3.5rem;
    background: linear-gradient(to right, var(--text-primary), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0.5rem 0;
}

/* --- typewriter ---  */
.digitando-texto {
    color: var(--accent-color);
    font-weight: 600;
    position: relative;
}

.digitando-texto::after {
    content: "|";
    position: absolute;
    right: -5px;
    color: var(--text-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* --- PROJETOS (GRID) --- */
.projetos {
    display: block;
    padding-top: 100px;
}

.projetos > div { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.proj-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.proj-box:hover .proj-img {
    transform: scale(1.03);
}

.proj-box {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem; /* Caso não use grid */
}

.proj-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

.proj-box a {
    display: inline-block;
    margin-top: 1rem;
    text-decoration: none;
    color: var(--bg-color);
    background-color: var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    transition: filter 0.3s;
    text-align: center;
    max-height: 50px;
}

.proj-box a:hover { filter: brightness(1.2); }

/* --- CÚRRICULO (GRID) --- */
.secao-curriculo {
    padding-bottom: 50px;
}

.cv-container {
    margin-bottom: 2rem;
}

.btn-padrao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-padrao:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(224, 159, 62, 0.4);
    transform: translateY(-3px);
}

.titulo-cv {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}

.item-cv h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.item-cv .meta {
    font-size: 0.85rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
    font-style: italic;
}

.item-cv p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    user-select: none;
    background: rgba(224, 159, 62, 0.1);
    color: var(--text-primary);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid rgba(224, 159, 62, 0.3);
}

.tag:hover {
    transition: .7s;
    background: rgba(224, 159, 62, 0.308);
}

.destaque {
    color: var(--accent-color) !important;
}

.divisao-layout .divisao-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.grupo-cv { margin-bottom: 2.5rem; }

/* --- CONTATE-ME --- */
.lista-contato-pacote {
    display: flex;
    justify-content: center;
    width: 100%;
}

.lista-de-contatos {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.lista-de-contatos a {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 8px;
    border-left: 4px solid transparent;
    transition: 0.3s ease;
}

.lista-de-contatos .icone-box {
    font-size: 2rem;
    color: var(--accent-color);
    width: 50px;
    text-align: center;
    transition: color 0.5s ease, transform 0.5s ease; /* transição bonitinha do email */
}

.lista-de-contatos .caixa-texto h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--text-primary);
}

.lista-de-contatos .caixa-texto p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.5s ease; /* transição bonitinha do email */
}

.lista-de-contatos a:hover {
    background-color: #221f1d;
    border-left: 4px solid var(--accent-color);
    transform: translateX(10px);
}

/* --- evento JavaScript --- */
.btn-copia {
    cursor: pointer;
}

.copiado-sucesso .icone-box {
    color: #4cd137 !important;
    transform: scale(1.1);
    transition: all 0.3s ease;
    transition: color 0.5s ease, transform 0.5s ease; /* transição bonitinha do email */
}

.copiado-sucesso .caixa-texto p {
    color: #4cd137;
    font-weight: bold;
}

.cv-container-btn {
    margin-bottom: 2rem;
}

.btn-padrao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-padrao:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(224, 159, 62, 0.4);
    transform: translateY(-3px);
}

/* --- botão fixo na tela com ajuda de IA --- */
.btn-flutuando-cv {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-color);
    color: var(--bg-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
}

.btn-flutuando-cv:hover {
    transform: scale(1.1);
    color: var(--bg-color);
    box-shadow: 0 6px 20px rgba(224, 159, 62, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(224, 159, 62, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(224, 159, 62, 0); }
    100% { box-shadow: 0 0 0 0 rgba(224, 159, 62, 0); }
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 768px) {
    .home h1 { font-size: 2.5rem; }

    .home-container {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
        gap: 2rem;
        padding-top: 20px;
    }

    .home-content {
        width: 100%;
    }

    .home p {
        margin: 0 auto;
    }

    .home-img img {
        width: 240px;
        height: 240px;
    }

    nav ul { 
        flex-direction: column;
        text-align: center;
        background: var(--card-bg);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        display: none;
        padding: 2rem;
    }

    nav ul.active { display: flex; }
    
    section { padding: 80px 5%; }

    .projetos { width: 100%; }

    .projetos > div { grid-template-columns: 1fr; }

    .proj-box { padding: 1.5rem; }

    .divisao-layout .divisao-container { grid-template-columns: 1fr; gap: 2rem; }

    .btn-flutuando-cv {
        bottom: 20px;
        right: 20px;
        width: 33px;
        height: 33px;
        font-size: 1.2rem;
    }
}