/* ============================================================
   VARIÁVEIS DE TEMA
   ============================================================ */
:root {
    --bg: #0a0a0f;
    --bg2: #0f0f1a;
    --bg3: #13131f;
    --surface: #16161f;
    --surface2: #1c1c2e;
    --border: rgba(160, 60, 255, 0.18);
    --purple: #a03cff;
    --purple-soft: #7b2fd4;
    --pink: #ff3cac;
    --pink-soft: #d43c8a;
    --gray: #8888aa;
    --text: #e8e8f0;
    --text-dim: #999bbf;
    --glow-purple: 0 0 20px rgba(160, 60, 255, 0.4);
    --glow-pink: 0 0 20px rgba(255, 60, 172, 0.4);
    --line: rgba(160, 60, 255, 0.25);
}
 
[data-theme="light"] {
    --bg: #f5f3ff;
    --bg2: #ede9ff;
    --bg3: #f0ecff;
    --surface: #ffffffcc;
    --surface2: #e8e2ff;
    --border: rgba(130, 60, 220, 0.2);
    --purple: #7c3aed;
    --purple-soft: #9d5cf5;
    --pink: #e0559a;
    --pink-soft: #c94d8b;
    --gray: #7a6fa0;
    --text: #1a1030;
    --text-dim: #5a4d7a;
    --glow-purple: 0 0 20px rgba(130, 60, 220, 0.15);
    --glow-pink: 0 0 20px rgba(220, 80, 155, 0.15);
    --line: rgba(130, 60, 220, 0.18);
}
 
/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
 
html {
    scroll-behavior: smooth;
}
 
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.4s, color 0.4s;
}
 
/* Grade de fundo */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}
 
/* Scanlines */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(0, 0, 0, 0.04) 3px,
        rgba(0, 0, 0, 0.04) 4px
    );
    pointer-events: none;
    z-index: 1;
}
 
/* ============================================================
   BOTÃO DE TEMA
   ============================================================ */
.theme-toggle {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 8px 18px;
    cursor: pointer;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    color: var(--purple);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}
 
.theme-toggle:hover {
    box-shadow: var(--glow-purple);
    border-color: var(--purple);
}
 
.theme-toggle .icon {
    font-size: 14px;
    transition: transform 0.4s;
}
 
.theme-toggle:hover .icon {
    transform: rotate(30deg);
}
 
/* ============================================================
   LAYOUT GERAL
   ============================================================ */
.page {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}
 
/* ============================================================
   HEADER
   ============================================================ */
.header-container {
    text-align: center;
    padding: 70px 20px 50px;
    position: relative;
}
 
.header-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--purple), var(--pink), transparent);
}
 
.profile-picture {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--purple);
    box-shadow: 0 0 0 4px rgba(160, 60, 255, 0.15), var(--glow-purple);
    margin-bottom: 20px;
    animation: pulse-border 3s ease-in-out infinite;
}
 
.profile-picture-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple-soft), var(--pink-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin: 0 auto 20px;
    border: 2px solid var(--purple);
    box-shadow: 0 0 0 4px rgba(160, 60, 255, 0.15), var(--glow-purple);
    animation: pulse-border 3s ease-in-out infinite;
}
 
@keyframes pulse-border {
    0%, 100% {
        box-shadow: 0 0 0 4px rgba(160, 60, 255, 0.15), 0 0 20px rgba(160, 60, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(160, 60, 255, 0.07), 0 0 35px rgba(160, 60, 255, 0.6);
    }
}
 
h1#nome {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(22px, 5vw, 38px);
    font-weight: 900;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}
 
.subtitle {
    font-family: 'Share Tech Mono', monospace;
    font-size: 14px;
    color: var(--pink);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}
 
/* ============================================================
   DECORAÇÃO NAV DOTS
   ============================================================ */
.nav-line {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 32px 0;
}
 
.nav-line span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--border);
    display: inline-block;
}
 
.nav-line span:nth-child(3) {
    background: var(--purple);
    width: 24px;
    border-radius: 3px;
}
 
/* ============================================================
   SEÇÕES
   ============================================================ */
section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 36px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(4px);
    transition: border-color 0.3s, box-shadow 0.3s, background 0.4s;
}
 
/* Barra lateral roxa */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--purple), var(--pink));
    border-radius: 3px 0 0 3px;
}
 
section:hover {
    border-color: rgba(160, 60, 255, 0.35);
    box-shadow: var(--glow-purple);
}
 
/* Canto decorativo */
section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid var(--purple);
    border-right: 1px solid var(--purple);
    border-radius: 0 12px 0 0;
    opacity: 0.5;
}
 
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 12px;
}
 
.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
}
 
.section-title .num {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--pink);
    opacity: 0.7;
}
 
/* ============================================================
   INFORMAÇÕES PESSOAIS
   ============================================================ */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
 
.info-item {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 14px 18px;
    transition: border-color 0.2s;
}
 
.info-item:hover {
    border-color: var(--purple);
}
 
.info-label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 4px;
}
 
.info-value {
    font-size: 15px;
    color: var(--text);
    font-weight: 600;
}
 
/* ============================================================
   TIMELINE (Formação / Experiência)
   ============================================================ */
.timeline-item {
    position: relative;
    padding-left: 24px;
    margin-bottom: 20px;
}
 
.timeline-item:last-child {
    margin-bottom: 0;
}
 
.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--purple);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--purple);
}
 
.timeline-item::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 16px;
    width: 1px;
    height: calc(100% + 4px);
    background: var(--border);
}
 
.timeline-item:last-child::after {
    display: none;
}
 
.tl-title {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 2px;
}
 
.tl-sub {
    font-size: 14px;
    color: var(--text-dim);
}
 
.tl-tag {
    display: inline-block;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid var(--pink);
    color: var(--pink);
    margin-top: 6px;
    letter-spacing: 1px;
}
 
/* ============================================================
   HABILIDADES
   ============================================================ */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
 
.skill-chip {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}
 
.skill-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(160, 60, 255, 0.08), rgba(255, 60, 172, 0.05));
    opacity: 0;
    transition: opacity 0.25s;
}
 
.skill-chip:hover {
    border-color: var(--purple);
    color: var(--text);
    box-shadow: var(--glow-purple);
}
 
.skill-chip:hover::before {
    opacity: 1;
}
 
/* ============================================================
   BADGES / CURSOS
   ============================================================ */
.badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
 
.badge-card {
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s;
}
 
.badge-card:hover {
    border-color: var(--pink);
    box-shadow: var(--glow-pink);
    transform: translateY(-2px);
}
 
.badge-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
}
 
.badge-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--purple-soft), var(--pink-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}
 
.badge-info .badge-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--text);
}
 
.badge-info .badge-issuer {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--pink);
    letter-spacing: 1px;
    margin-top: 3px;
}
 
/* ============================================================
   CONTATO — LINKS
   ============================================================ */
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
 
.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s;
}
 
.contact-link:hover {
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}
 
.contact-link .icon {
    font-size: 18px;
}
 
/* ============================================================
   CONTATO — FORMULÁRIO
   ============================================================ */
.contact-form-title {
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--pink);
    text-transform: uppercase;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.contact-form-title::before {
    content: '//';
    opacity: 0.5;
}
 
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
 
.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
 
.form-field.full {
    grid-column: 1 / -1;
}
 
.form-field label {
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--gray);
    text-transform: uppercase;
}
 
.form-field input,
.form-field textarea {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    transition: all 0.25s;
    resize: none;
    outline: none;
}
 
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(160, 60, 255, 0.12);
}
 
.form-field textarea {
    height: 110px;
}
 
.send-btn {
    margin-top: 16px;
    padding: 14px 36px;
    background: linear-gradient(90deg, var(--purple), var(--pink));
    border: none;
    border-radius: 6px;
    color: white;
    font-family: 'Orbitron', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}
 
.send-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.2s;
}
 
.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(160, 60, 255, 0.4);
}
 
.send-btn:hover::after {
    opacity: 1;
}
 
.send-btn:active {
    transform: translateY(0);
}
 
.form-status {
    margin-top: 14px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    min-height: 20px;
    display: none;
}
 
.form-status.success {
    color: #50fa7b;
    display: block;
}
 
.form-status.error {
    color: var(--pink);
    display: block;
}
 
/* ============================================================
   FOOTER
   ============================================================ */
footer {
    text-align: center;
    padding: 30px 20px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 2px;
    opacity: 0.6;
}
 
/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
section,
.header-container {
    animation: fadeUp 0.6s ease both;
}
 
section:nth-child(1) { animation-delay: 0.05s; }
section:nth-child(2) { animation-delay: 0.10s; }
section:nth-child(3) { animation-delay: 0.15s; }
section:nth-child(4) { animation-delay: 0.20s; }
section:nth-child(5) { animation-delay: 0.25s; }
section:nth-child(6) { animation-delay: 0.30s; }
 
/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 600px) {
    .info-grid      { grid-template-columns: 1fr; }
    .badges-grid    { grid-template-columns: 1fr; }
    .form-grid      { grid-template-columns: 1fr; }
    .form-field.full { grid-column: 1; }
    section         { padding: 24px 20px; }
}

.cert-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 12px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--purple);
    border: 1px solid var(--purple);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s;
}

.cert-btn:hover {
    background: var(--purple);
    color: white;
    box-shadow: var(--glow-purple);
}