@charset "UTF-8";

/* --- Fontes e Ícones --- */
@font-face {
    font-family: fontello;
    src: url(../../font/fontello.eot?32003456);
    src: url(../../font/fontello.eot?32003456#iefix) format("embedded-opentype"),
        url(../../font/fontello.woff?32003456) format("woff"),
        url(../../font/fontello.ttf?32003456) format("truetype"),
        url(../../font/fontello.svg?32003456#fontello) format("svg");
    font-weight: 400;
    font-style: normal;
}

[class*=" icon-"]:before,
[class^=icon-]:before {
    font-family: fontello;
    font-style: normal;
    font-weight: 400;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    width: 1em;
    margin-right: .2em;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1em;
    margin-left: .2em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-wechat:before {
    content: '\e800';
}

.icon-qq:before {
    content: '\e801';
}

.icon-bookmark:before {
    content: '\e802';
}

.icon-heart:before {
    content: '\e803';
}

.icon-mail-alt:before {
    content: '\e804';
}

.icon-link:before {
    content: '\e805';
}

.icon-phone-1:before {
    content: '\e806';
}

/* --- Variáveis de Tema --- */
[data-theme="dark"]:root,
:root {
    color-scheme: dark;
    --bg: #09101f;
    --surface: #101827;
    --surface-strong: #151f34;
    --surface-soft: #15203c;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --accent: #1700B7;
    --accent-strong: #B89F00;
    --border: rgba(148, 163, 184, .2);
    --shadow: 0 24px 80px rgba(0, 0, 0, .3);
    --radius: 24px;
    --max-width: 1200px;
}

[data-theme="light"] {
    color-scheme: light;
    --bg: #f7f9fc;
    --surface: #ffffff;
    --surface-strong: #f1f5f9;
    --surface-soft: #e2e8f0;
    --text: #0f172a;
    --muted: #475569;
    --accent: #2563eb;
    --accent-strong: #1d4ed8;
    --border: rgba(148, 163, 184, .35);
    --shadow: 0 20px 60px rgba(15, 23, 42, .12);
}

/* --- Reset e Estilos Globais --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, .16), transparent 30%),
        linear-gradient(180deg, #09101f 0%, #0c172d 40%, #111827 100%);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    background: none;
}

/* --- Layout e Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(9, 16, 31, .9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
}

.nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    list-style: none;
}

.nav-list a {
    font-size: .95rem;
    color: var(--muted);
    transition: color .2s ease;
}

.nav-list a:hover {
    color: var(--text);
}

.theme-toggle {
    padding: .9rem 1.2rem;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    transition: background .25s ease, transform .2s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

/* --- Seções e Componentes --- */
main {
    max-width: var(--max-width);
    padding: 32px 28px;
    margin: 0 auto;
}

.section {
    padding: 72px 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 32px;
}

.section-label {
    display: inline-flex;
    padding: .4rem .85rem;
    background: #E5F0FE;
    color: var(--accent);
    font-size: .82rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.section h2 {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    margin-top: 18px;
    line-height: 1.08;
    color: var(--text);
}

.contact-card {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    box-shadow: var(--shadow);
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* --- Hero --- */
.hero {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0 64px;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    font-size: .92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero-copy h1 {
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 1.02;
    margin-bottom: 24px;
}

.hero-description {
    max-width: 680px;
    font-size: 1.06rem;
    color: var(--muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.4rem;
    border-radius: var(--radius);
    margin: 0 1rem 0 0;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.button.primary {
    background: linear-gradient(135deg, #38bdf8, #60a5fa);
    color: #0f172a;
    box-shadow: 0 20px 40px rgba(56, 189, 248, .2);
}

.button.secondary {
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, .12);
}

.button:hover {
    transform: translateY(-2px);
}

.project-stack-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 16px 0 32px;
    margin-left: 1rem;
}

/* --- Grid e Cards --- */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    font-size: .95rem;
    color: var(--text);
}

.hero-highlights span {
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
}

.hero-panel {
    display: grid;
    gap: 20px;
}

.hero-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 22px;
    box-shadow: var(--shadow);
}

.hero-card img {
    width: 110px;
    height: 110px;
    border-radius: 24px;
    object-fit: cover;
    flex-shrink: 0;
}

.hero-card div p {
    color: var(--muted);
    margin-bottom: 10px;
}

.hero-card div strong {
    display: block;
    font-size: 1.02rem;
    color: var(--text);
    line-height: 1.4;
}

/* ... resto dos componentes ... */
/* (A estrutura segue o mesmo padrão de organização) */

/* --- Media Queries --- */
@media(max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-grid,
    .skills-grid,
    .projects-grid,
    .growth-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        order: -1;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-list {
        gap: 12px;
    }
}

@media(max-width: 720px) {
    .header-inner {
        padding: 18px 20px;
    }

    .site-header {
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .hero {
        padding: 60px 0 48px;
    }

    .hero-copy h1 {
        font-size: 2.4rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .project-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .project-links {
        flex-wrap: wrap;
    }

    .hero-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-card img {
        width: 100%;
        height: auto;
    }

    .contact-links div {
        padding: 18px;
    }
}