/* =========================
   VARIÁVEIS E RESET GERAL
   ========================= */
:root {
    --primary-color: #00BFFF; /* Deep Sky Blue - vibrante e tecnológico */
    --background-color: #0D1117; /* GitHub Dark Mode */
    --surface-color: #161B22;
    --text-color: #C9D1D9;
    --text-secondary-color: #8B949E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* =========================
   HEADER E NAVEGAÇÃO
   ========================= */
header {
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--surface-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}


/* =========================
   SELETOR DE IDIOMA
   ========================= */
.language-selector-container a {
    border: 1px solid var(--text-secondary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
}

.language-selector-container a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--background-color) !important;
}



/* =========================
   MAIN E SECTIONS
   ========================= */
main {
    padding-top: 70px;
}

section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   ANIMAÇÃO DE ENTRADA
   ========================= */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   HERO / INÍCIO
   ========================= */
#inicio {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-content h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--text-secondary-color);
    margin-bottom: 1rem;
    max-width: 700px;
}
.hero-content .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
}

/* =========================
   BOTÕES DE AÇÃO (CTA)
   ========================= */
.cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.cta-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    background: #222;
    color: #fff;
}

.cta-button i {
    font-size: 1.2em;
}

/* WhatsApp */
.cta-button.whatsapp {
    background: #25D366;
    color: #fff;
}
.cta-button.whatsapp:hover {
    background: #128C7E;
}

/* LinkedIn */
.cta-button.linkedin {
    background: #0077B5;
    color: #fff;
}
.cta-button.linkedin:hover {
    background: #005983;
}

/* GitHub (caso volte a usar) */
.cta-button.github {
    background: #333;
    color: #fff;
}
.cta-button.github:hover {
    background: #24292e;
}

/* =========================
   TÍTULOS E TEXTOS
   ========================= */
h2 {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary-color);
}
.about-content p {
    margin-bottom: 1rem;
}

/* Estilo para o botão "Leia Mais" do blog */
.blog-read-more {
    margin-top: 16px;
    display: inline-block;
}

/* Ajuste para grids de 2 colunas em telas maiores */
@media (min-width: 769px) {
    #expertise .expertise-grid, #depoimentos .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================
   GRIDS DE EXPERTISE E PORTFÓLIO
   ========================= */
.expertise-grid, .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(22, 27, 34, 0.5);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--surface-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-secondary-color);
}

/* =========================
   PORTFOLIO IMAGENS
   ========================= */
.portfolio-pic {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   TESTEMUNHOS / DEPOIMENTOS
   ========================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(22, 27, 34, 0.5);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 10px;
    border: 1px solid var(--surface-color);
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.testimonial-card p::before {
    content: '“';
    position: absolute;
    top: -15px;
    left: 5px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card h4 {
    font-weight: 600;
    color: var(--text-secondary-color);
    text-align: right;
    font-style: normal;
}

/* =========================
   SKILLS (HABILIDADES)
   ========================= */
/* Adicione este código ao final do seu CSS */

.skills-main-container {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: 10px;
}

.skills-category {
    margin-bottom: 2rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.skills-category h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--background-color);
}

.skills-subcategory {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.skill-badge {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}
/* Centraliza os textos e os badges da section skills */
#skills {
    text-align: center;
}

.skills-main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os grupos de skills */
    gap: 32px;
}

.skills-category {
    align-items: center; /* Centraliza o conteúdo de cada categoria */
    text-align: center;
}

.badges-container {
    justify-content: center; /* Centraliza os badges coloridos */
}

/* --- Cores dos Badges --- */
/* Soft Skills */
.c-leadership, .c-lideranca { background-color: #0077B5; }
.c-communication, .c-comunicacao { background-color: #00A86B; }
.c-strategic, .c-estrategico { background-color: #5A4FCF; }
.c-problem, .c-problemas { background-color: #D22B2B; }
.c-emotional, .c-emocional { background-color: #FFC300; color: #111;}
.c-stakeholder, .c-stakeholders { background-color: #4682B4; }

/* Tech */
.c-solidity { background-color: #363636; }
.c-rust { background-color: #000000; }
.c-ethereum { background-color: #3C3C3D; }
.c-stellar { background-color: #000000; }
.c-react { background-color: #20232A; }
.c-javascript { background-color: #F7DF1E; color: #000; }
.c-html { background-color: #E34F26; }
.c-css { background-color: #1572B6; }
.c-python { background-color: #3776AB; }
.c-nodejs { background-color: #339933; }
.c-postgresql { background-color: #4169E1; }
.c-graphql { background-color: #E10098; }
.c-docker { background-color: #2496ED; }
/* Management */
.c-agile { background-color: #FF9900; }
.c-scrum { background-color: #0077B5; }
.c-governance { background-color: #008080; }
.c-github { background-color: #181717; }
.c-jira { background-color: #0052CC; }
.c-trello { background-color: #0079BF; }
.c-runrunit { background-color: #F46524; }

/* =========================
   FOOTER E BOTÕES DE CONTATO
   ========================= */
.footer-contact {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #222;
    font-size: 1.3em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    border: 1px solid #e0e0e0;
}
.footer-icon:hover {
    background: #e0e0e0;
}
/* Cores específicas para cada ícone */
.footer-icon .fa-envelope { color: #d44638; }
.footer-icon .fa-whatsapp { color: #25D366; }
.footer-icon .fa-linkedin-in { color: #0077B5; }
/* Efeito de destaque ao passar o mouse */
.footer-icon:hover .fa-envelope { color: #a8322d; }
.footer-icon:hover .fa-whatsapp { color: #128C7E; }
.footer-icon:hover .fa-linkedin-in { color: #005983; }

/* =========================
   MENU HAMBÚRGUER (MOBILE)
   ========================= */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger i {
    font-size: 1.8rem;
    color: var(--primary-color);
}


/* =========================
   RESPONSIVIDADE
   ========================= */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px; /* Altura do header */
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        margin-left: 0;
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }
}

    h2 {
        font-size: 2.2rem;
    }
    .article-header h1 {
        font-size: 2.2rem;
    }
    .article-body h2 {
        font-size: 1.8rem;
    }


@media (max-width: 900px) {
    .skills-main-container {
        gap: 24px;
    }
    .skills-category {
        min-width: 180px;
        max-width: 100%;
        padding: 18px 10px;
    }
}

@media (max-width: 768px) {
 
    .hero-content h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    #skills {
        padding: 0 8px;
    }
    .skills-main-container {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }
}



/* =========================
   PÁGINA DE ARTIGO
   ========================= */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.article-header h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-secondary-color);
    margin-bottom: 2.5rem;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 2.5rem;
    object-fit: cover;
}

.article-body p, .article-body li {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 2rem;
    text-align: left;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--surface-color);
    padding-bottom: 0.5rem;
}

.article-body h3 {
    font-size: 1.5rem;
    text-align: left;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-body a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-body a:hover {
    text-decoration: none;
}

.article-body ul, .article-body ol {
    padding-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-secondary-color);
}

.article-divider {
    border: none;
    height: 1px;
    background-color: var(--surface-color);
    margin-top: 3rem;
}

