:root {
    --clr-bg: #0a0a1a;
    --clr-bg-end: #1a0a2e;
    --clr-surface: #ffffff;
    --clr-surface-dim: #e8e8f0;
    --clr-muted: #6b7280;
    --clr-christian: #30CFD0;
    --clr-primary: #30CFD0;
    --clr-primary-hover: #25b5b6;
    --clr-secondary: #764BA2;
    --clr-accent: #667EEA;
    --clr-grad-from: #30CFD0;
    --clr-grad-to: #330867;
    --max-width: 1200px;
    --font-main: 'Meera Inimai', sans-serif;
    --font-display: 'Playfair Display', serif;
}

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

/* Visually hidden - accessible screen-reader only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: fixed;
    top: -100%;
    left: 1rem;
    background: var(--clr-christian);
    color: #0a0a1a;
    padding: 0.75rem 1.5rem;
    border-radius: 0 0 8px 8px;
    z-index: 100000;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: top 0.3s;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid #ffffff;
    outline-offset: 2px;
}

/* Focus visible - keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
[tabindex]:focus {
    outline: 2px solid var(--clr-christian);
    outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
select:focus:not(:focus-visible) {
    outline: none;
}

.social-link:focus-visible,
.project-link-btn:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.form-submit:focus-visible {
    outline: 2px solid var(--clr-christian);
    outline-offset: 3px;
    border-radius: 4px;
}

nav a:focus-visible {
    outline: 2px solid var(--clr-christian);
    outline-offset: 4px;
    border-radius: 4px;
}

.menu-toggle:focus-visible {
    outline: 2px solid var(--clr-christian);
    outline-offset: 3px;
    border-radius: 8px;
}

/* Custom Cosmos Cursor */
#cosmos-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 64px; height: 64px;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease-out;
}

#cosmos-cursor .planet-body {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: 32px 32px;
}

#cosmos-cursor .planet-ring-1,
#cosmos-cursor .planet-ring-2 {
    transition: opacity 0.3s ease, stroke-width 0.3s ease, stroke 0.3s ease;
    transform-origin: 32px 32px;
    transform: rotate(-20deg);
}

#cosmos-cursor .orbit-moon {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: 32px 32px;
}

/* Estado base: respiração suave */
#cosmos-cursor .planet-body {
    animation: planetPulse 3s ease-in-out infinite;
}

#cosmos-cursor .planet-ring-1 {
    animation: ringShimmer 4s ease-in-out infinite;
}

#cosmos-cursor .planet-ring-2 {
    animation: ringShimmer 4s ease-in-out infinite 0.5s;
}

#cosmos-cursor .orbit-moon-1 {
    animation: orbitPath1 3s linear infinite;
}

#cosmos-cursor .orbit-moon-2 {
    animation: orbitPath2 5s linear infinite;
}

#cosmos-cursor .orbit-moon-3 {
    animation: orbitPath3 4s linear infinite;
}

/* Hover em links: sistema expande, luas aceleram */
#cosmos-cursor.hover-link {
    transform: translate(-50%, -50%) scale(1.6);
}
#cosmos-cursor.hover-link .planet-body {
    animation: planetPulse 0.8s ease-in-out infinite;
    opacity: 1;
}
#cosmos-cursor.hover-link .planet-ring-1 {
    stroke-width: 2;
    opacity: 1;
    animation: ringShimmer 0.8s ease-in-out infinite;
}
#cosmos-cursor.hover-link .planet-ring-2 {
    stroke-width: 1.5;
    opacity: 1;
    animation: ringShimmer 0.8s ease-in-out infinite 0.2s;
}
#cosmos-cursor.hover-link .orbit-moon-1 {
    animation: orbitPath1 0.6s linear infinite;
}
#cosmos-cursor.hover-link .orbit-moon-2 {
    animation: orbitPath2 1s linear infinite;
}
#cosmos-cursor.hover-link .orbit-moon-3 {
    animation: orbitPath3 0.8s linear infinite;
}

/* Hover em botões: supernova */
#cosmos-cursor.hover-button {
    transform: translate(-50%, -50%) scale(2.2);
}
#cosmos-cursor.hover-button .planet-body {
    animation: supernova 0.8s ease-in-out infinite;
    opacity: 1;
}
#cosmos-cursor.hover-button .planet-ring-1 {
    stroke: #30CFD0;
    stroke-width: 2.5;
    opacity: 1;
    animation: ringExpand 1.5s ease-in-out infinite;
}
#cosmos-cursor.hover-button .planet-ring-2 {
    stroke: #667EEA;
    stroke-width: 2;
    opacity: 1;
    animation: ringExpand 1.5s ease-in-out infinite 0.3s;
}
#cosmos-cursor.hover-button .orbit-moon-1 {
    animation-duration: 0.5s;
}
#cosmos-cursor.hover-button .orbit-moon-2 {
    animation-duration: 0.7s;
}
#cosmos-cursor.hover-button .orbit-moon-3 {
    animation-duration: 0.6s;
}

/* Hover em textos/campos de input: cursor compacto */
#cosmos-cursor.hover-text {
    transform: translate(-50%, -50%) scale(1.1);
}
#cosmos-cursor.hover-text .planet-body {
    animation: planetPulse 1s ease-in-out infinite;
    opacity: 1;
}
#cosmos-cursor.hover-text .planet-ring-1 {
    stroke-width: 1;
    opacity: 0.5;
    animation: ringShimmer 1.2s ease-in-out infinite;
}
#cosmos-cursor.hover-text .planet-ring-2 {
    stroke-width: 0.8;
    opacity: 0.4;
    animation: ringShimmer 1.2s ease-in-out infinite 0.3s;
}
#cosmos-cursor.hover-text .orbit-moon-1 {
    animation-duration: 1.5s;
}
#cosmos-cursor.hover-text .orbit-moon-2 {
    animation-duration: 2s;
}
#cosmos-cursor.hover-text .orbit-moon-3 {
    animation-duration: 1.8s;
}

/* Click: onda de choque */
#cosmos-cursor.click-shock .planet-body {
    animation: shockwave 0.4s ease-out forwards;
}

@keyframes planetPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes ringShimmer {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes ringExpand {
    0%, 100% { transform: rotate(-20deg) scale(1); }
    50% { transform: rotate(-20deg) scale(1.15); }
}

@keyframes supernova {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

@keyframes shockwave {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes orbitPath1 {
    from { transform: rotate(0deg) translateX(23px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(23px) rotate(-360deg); }
}

@keyframes orbitPath2 {
    from { transform: rotate(0deg) translateX(30px) rotate(0deg); }
    to { transform: rotate(-360deg) translateX(30px) rotate(360deg); }
}

@keyframes orbitPath3 {
    from { transform: rotate(0deg) translateX(17px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(17px) rotate(-360deg); }
}

/* Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    background: radial-gradient(circle, rgba(48,207,208,0.8) 0%, rgba(102,126,234,0.4) 100%);
    box-shadow: 0 0 6px rgba(48,207,208,0.6);
    transition: opacity 1.5s ease;
}

/* 10. Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(10,10,26,0.95);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(48,207,208,0.3);
    border-radius: 16px;
    padding: 14px 28px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 999999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 40px rgba(48,207,208,0.15);
    pointer-events: none;
}

.toast-notification.toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast-notification.toast-success {
    border-color: rgba(48,207,208,0.5);
    box-shadow: 0 10px 40px rgba(48,207,208,0.25);
}

.toast-notification.toast-error {
    border-color: rgba(255,107,129,0.5);
    box-shadow: 0 10px 40px rgba(255,107,129,0.15);
}

.toast-notification .toast-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.toast-notification.toast-success .toast-icon {
    color: #30CFD0;
}

.toast-notification.toast-error .toast-icon {
    color: #ff6b81;
}

.toast-notification .toast-message {
    color: var(--clr-surface);
    font-size: 0.95rem;
    font-weight: 500;
}

/* 11. Honeypot */
.honeypot-field {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    left: -9999px;
    top: -9999px;
}

/* Starfield (from Uiverse.io / amir_6539) */
.star-container {
    position: fixed; top: 0; left: 0;
    width: 100vw; height: 100vh;
    pointer-events: none; z-index: 0;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
    overflow: hidden;
}
#stars, #stars2, #stars3 {
    position: absolute; top: 0; left: 0;
    width: 1px; height: 1px; background: transparent;
}

#stars2 { width: 2px; height: 2px; }
#stars3 { width: 3px; height: 3px; }

@keyframes animStar {
    from { transform: translateY(0); }
    to { transform: translateY(var(--star-move, -3000px)); }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes twinkle-fast {
    0%, 100% { opacity: 0.15; }
    30% { opacity: 0.8; }
    60% { opacity: 0.4; }
}

@keyframes twinkle-slow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}



body {
    background: linear-gradient(135deg, var(--clr-bg) 0%, var(--clr-bg-end) 50%, #0d0d2b 100%);
    color: var(--clr-surface);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
    cursor: none;
}

a, button, .btn-primary, .btn-secondary, .project-link-btn, .social-link, .skill-tag, .menu-toggle {
    cursor: none;
}

input, textarea, .form-group, .form-group label {
    cursor: none;
}

.project-image-box, .about-image-box {
    cursor: none;
}

.form-submit, .scroll-hint {
    cursor: none;
}

a.logo, .nav-links a {
    cursor: none;
}

.skill-category:hover {
    cursor: none;
}

input[type="range"], [data-resize] {
    cursor: none;
}

abbr[title], [data-help] {
    cursor: none;
}

[disabled], .disabled {
    cursor: none;
}

p, span, a, li, label, input, textarea, button, .skill-tag, .project-tag, .stat-label {
    font-family: var(--font-main);
}

h1, h2, h3, h4, .logo, .section-title h2, .stat-number, .project-text-box h3 {
    font-family: var(--font-display);
}

.grad-text {
    background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-grad-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.name-christian {
    font-family: var(--font-display);
    font-weight: 700;
    background: linear-gradient(
        120deg,
        var(--clr-christian) 0%,
        #ffffff 35%,
        var(--clr-christian) 45%,
        var(--clr-accent) 55%,
        var(--clr-christian) 100%
    );
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 24s ease-in-out infinite;
    position: relative;
    display: inline-block;
    padding-right: 4px;
}

@keyframes shimmer {
    0% { background-position: 300% center; }
    100% { background-position: -300% center; }
}

/* NAV */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100; padding: 1rem 2rem;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(10, 10, 26, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(48, 207, 208, 0.1);
}

a.logo {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-accent), var(--clr-grad-to));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(48,207,208,0.5)) drop-shadow(0 0 14px rgba(102,126,234,0.35));
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

a.logo::after {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.75rem;
    background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 4px rgba(48,207,208,0.8)) drop-shadow(0 0 10px rgba(102,126,234,0.6));
    animation: logoTwinkle 1.8s ease-in-out infinite;
    flex-shrink: 0;
}

a.logo:hover {
    filter: drop-shadow(0 0 10px rgba(48,207,208,0.7)) drop-shadow(0 0 24px rgba(102,126,234,0.5));
    transform: scale(1.06);
}

@keyframes logoTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.25); }
}

nav .nav-links { display: flex; gap: 2rem; list-style: none; }
nav .nav-links a { color: var(--clr-surface); text-decoration: none; font-size: 0.95rem; font-weight: 500; opacity: 0.75; transition: all 0.3s; position: relative; letter-spacing: 0.08em; text-transform: uppercase; }
nav .nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-accent)); border-radius: 2px; transition: width 0.3s ease; box-shadow: 0 0 8px rgba(48,207,208,0.5); }
nav .nav-links a:hover { opacity: 1; color: var(--clr-christian); filter: drop-shadow(0 0 6px rgba(48,207,208,0.4)); }
nav .nav-links a:hover::after { width: 100%; }
.menu-toggle { display: none; background: none; border: none; color: var(--clr-surface); font-size: 1.5rem; cursor: none; }

/* HERO */
#hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; padding: 2rem; padding-top: 5rem;
}
.hero-bg-elements { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.floating-shape { position: absolute; border-radius: 50%; filter: blur(100px); }
.shape-1 { width: 500px; height: 500px; background: linear-gradient(135deg, rgba(48,207,208,0.15), rgba(51,8,103,0.15)); top: 5%; right: 5%; animation: float1 20s ease-in-out infinite; }
.shape-2 { width: 400px; height: 400px; background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.12)); bottom: 10%; left: 5%; animation: float2 25s ease-in-out infinite; }
.shape-3 { width: 300px; height: 300px; background: linear-gradient(135deg, rgba(48,207,208,0.1), rgba(118,75,162,0.1)); top: 40%; left: 40%; animation: float3 18s ease-in-out infinite; }
@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-60px,40px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(40px,-60px)} }
@keyframes float3 { 0%,100%{transform:translate(-50%,-50%)} 50%{transform:translate(-30%,-70%)} }
.hero-grid-bg { position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.02) 1px, transparent 0); background-size: 40px 40px; }

#hero .content { position: relative; z-index: 2; text-align: center; max-width: 900px; }
#hero h1 { font-size: clamp(3.5rem, 9vw, 7rem); font-weight: 700; line-height: 1.05; margin-bottom: 1.5rem; color: #ffffff; text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
#hero h1 .greeting { display: block; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; color: var(--clr-surface-dim); margin-bottom: 0.5rem; text-shadow: 0 1px 20px rgba(0,0,0,0.4); font-family: var(--font-main); }
#hero p { font-size: clamp(1.1rem, 2vw, 1.45rem); color: var(--clr-surface-dim); font-weight: 400; line-height: 1.8; margin-bottom: 2.5rem; text-shadow: 0 1px 20px rgba(0,0,0,0.4); }
.hero-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.btn-primary { padding: 14px 36px; border-radius: 50px; border: 2px solid rgba(48,207,208,0.4); background: rgba(10,10,26,0.6); color: white; font-size: 1rem; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 0.05em; position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(48,207,208,0.1); }
.btn-primary:hover { background: rgba(48,207,208,0.12); border-color: rgba(48,207,208,0.7); transform: translateY(-2px); box-shadow: 0 0 30px rgba(48,207,208,0.25), 0 0 60px rgba(102,126,234,0.15); color: var(--clr-christian); }
.btn-primary::after { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.6rem; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); opacity: 0; color: var(--clr-christian); transition: opacity 0.3s; filter: drop-shadow(0 0 4px rgba(48,207,208,0.8)); }
.btn-primary:hover::after { opacity: 1; animation: btnStarTwinkle 1.5s ease-in-out infinite; }
@keyframes btnStarTwinkle { 0%, 100% { opacity: 0.5; transform: translateY(-50%) scale(1); } 50% { opacity: 1; transform: translateY(-50%) scale(1.4); } }
.btn-secondary { padding: 14px 36px; border-radius: 50px; border: 1.5px solid rgba(48,207,208,0.35); background: rgba(10,10,26,0.4); color: var(--clr-surface); font-size: 1rem; font-weight: 600; transition: all 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; letter-spacing: 0.08em; text-transform: uppercase; position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(48,207,208,0.1); }
.btn-secondary::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(48,207,208,0.15), transparent); transition: left 0.5s; }
.btn-secondary:hover { background: rgba(48,207,208,0.12); border-color: var(--clr-primary); transform: translateY(-2px); box-shadow: 0 10px 40px rgba(48,207,208,0.25), 0 0 20px rgba(102,126,234,0.2); color: var(--clr-christian); }
.btn-secondary:hover::before { left: 100%; }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; opacity: 0.5; animation: bounce 2s ease-in-out infinite; z-index: 2; }
.scroll-hint span { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--clr-surface-dim); }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* SECTIONS */
section#about, section#skills, section#work, section#contact { background: transparent; padding: 6rem 2rem; width: 100%; display: flex; flex-direction: column; align-items: center; }
.section-title { margin-bottom: 4rem; width: 100%; max-width: var(--max-width); }
.section-title h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1.2; background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-grad-to)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; position: relative; }
.section-title h2::after { content: ''; display: block; width: 60px; height: 4px; background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-grad-to)); border-radius: 2px; margin-top: 0.75rem; }

/* ABOUT */
.about-container { max-width: var(--max-width); width: 100%; display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: center; }
.about-image-wrapper { position: relative; justify-self: center; }
.about-image-box { width: 300px; height: 380px; border-radius: 20px; overflow: hidden; position: relative; z-index: 1; box-shadow: 0 20px 60px rgba(48,207,208,0.15); }
.about-image-box img { width: 100%; height: 100%; object-fit: cover; }
.about-image-bg { position: absolute; width: 100%; height: 100%; top: 20px; left: 20px; border-radius: 20px; background: linear-gradient(135deg, var(--clr-grad-from), var(--clr-grad-to)); z-index: 0; opacity: 0.6; }
.about-text h3 { font-size: 2.0rem; font-weight: 600; margin-bottom: 1rem; background: linear-gradient(135deg, #667EEA, #764BA2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.about-text p { font-size: 1.25rem; line-height: 1.5; color: var(--clr-surface-dim); margin-bottom: 1rem; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(48,207,208,0.15); }
.stat-item { text-align: center; }
.stat-number { font-size: 2.2rem; font-weight: 700; display: block; color: var(--clr-christian); }
.stat-label { font-size: 0.9rem; color: var(--clr-surface-dim); opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }

/* SKILLS */
.skills-container { max-width: var(--max-width); width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.skill-category { background: rgba(255,255,255,0.03); border: 1px solid rgba(48,207,208,0.1); border-radius: 16px; padding: 2.5rem; transition: all 0.3s; }
.skill-category:hover { background: rgba(255,255,255,0.06); border-color: rgba(48,207,208,0.3); transform: translateY(-5px); box-shadow: 0 10px 40px rgba(48,207,208,0.1); }
.skill-category .icon {
    width: 50px; height: 50px; border-radius: 12px;
    background: linear-gradient(135deg, rgba(48,207,208,0.15), rgba(51,8,103,0.15));
    display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.skill-category .icon i { font-size: 1.4rem; color: var(--clr-christian); }
.skill-category h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; color: var(--clr-christian); }
.skills-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.skill-tag {
    padding: 6px 14px; border-radius: 50px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(48,207,208,0.1);
    font-size: 0.9rem; color: var(--clr-surface-dim);
    transition: all 0.2s;
}
.skill-tag:hover {
    background: linear-gradient(135deg, rgba(48,207,208,0.15), rgba(51,8,103,0.15));
    border-color: rgba(48,207,208,0.3);
    color: var(--clr-christian);
}

/* PROJECTS */
.work-container { max-width: var(--max-width); width: 100%; display: flex; flex-direction: column; gap: 3rem; }

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.project-image-link {
    display: block;
    text-decoration: none;
    border-radius: 20px;
}

.project-image-link:focus-visible {
    outline: 2px solid var(--clr-christian);
    outline-offset: 3px;
}

.project-image-box {
    border-radius: 20px; overflow: hidden;
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(48,207,208,0.2);
    min-height: 300px; display: flex; align-items: center; justify-content: center;
    transition: all 0.5s ease;
}
.project-image-box:hover { border-color: rgba(48,207,208,0.5); box-shadow: 0 8px 30px rgba(48,207,208,0.15); }
.project-image-box::before {
    content: '';
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(48,207,208,0.3) 0%, rgba(102,126,234,0.15) 30%, rgba(51,8,103,0.05) 55%, transparent 75%);
    transition: opacity 0.5s ease;
    pointer-events: none;
}
.project-image-box:hover::before { opacity: 0; }
.project-image-box img {
    width: 100%; height: 100%; object-fit: cover;
    transition: filter 0.5s ease, opacity 0.5s ease;
    filter: saturate(0.85) brightness(0.95);
}
.project-image-box:hover img { filter: saturate(1.1) brightness(1.05); }

.project-text-wrapper { display: flex; flex-direction: column; gap: 0.75rem; width: 100%; align-items: stretch; }

.project-label {
    font-size: 0.95rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--clr-christian);
    opacity: 0.7;
}

.project-title-outside {
    font-size: 2.2rem; font-weight: 700;
    color: var(--clr-christian);
    line-height: 1.2;
}

.project-text-box {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(48,207,208,0.15);
    border-radius: 16px;
    padding: 1.8rem 2rem;
    transition: all 0.3s;
    width: 100%;
}
.project-text-box:hover { border-color: rgba(48,207,208,0.35); box-shadow: 0 8px 30px rgba(48,207,208,0.1); }
.project-text-box p { font-size: 1.15rem; line-height: 1.75; color: var(--clr-surface-dim); }

.project-links-box {
    display: flex; gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(48,207,208,0.2);
    border-radius: 14px;
    width: 100%;
}
.project-link-btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1.5px solid rgba(48,207,208,0.25);
    background: rgba(48,207,208,0.06);
    color: var(--clr-surface-dim);
    text-decoration: none;
    font-size: 1.05rem; font-weight: 500;
    transition: all 0.25s;
}
.project-link-btn:hover {
    background: linear-gradient(135deg, rgba(48,207,208,0.2), rgba(51,8,103,0.2));
    border-color: var(--clr-christian);
    color: var(--clr-christian);
}

/* CONTACT */
.contact-container { max-width: var(--max-width); width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info h3 { font-size: 2rem; font-weight: 600; margin-bottom: 1rem; color: var(--clr-christian); }
.contact-info p { font-size: 1.1rem; line-height: 1.75; color: var(--clr-surface-dim); margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item .icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(48,207,208,0.15), rgba(51,8,103,0.15)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-item .icon i { color: var(--clr-christian); font-size: 1.5rem; }
.contact-item span { color: var(--clr-surface-dim); font-size: 1.2rem; }
.social-links { display: flex; gap: 1.25rem; margin-top: 2.5rem; }
.social-link { width: 64px; height: 64px; border-radius: 16px; background: rgba(255,255,255,0.03); border: 1px solid rgba(48,207,208,0.2); display: flex; align-items: center; justify-content: center; color: var(--clr-surface); text-decoration: none; transition: all 0.3s; font-size: 1.5rem; }
.social-link:hover { background: linear-gradient(135deg, rgba(48,207,208,0.2), rgba(51,8,103,0.2)); border-color: var(--clr-primary); transform: translateY(-3px); }
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-size: 1.15rem; font-weight: 500; color: var(--clr-surface-dim); }
.form-group input, .form-group textarea { padding: 14px 18px; border-radius: 12px; border: 1.5px solid rgba(48,207,208,0.15); background: rgba(255,255,255,0.03); color: #ffffff; font-family: var(--font-main); font-size: 1rem; transition: all 0.3s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--clr-primary); background: rgba(255,255,255,0.05); box-shadow: 0 0 20px rgba(48,207,208,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { padding: 14px 36px; border-radius: 50px; border: 2px solid rgba(48,207,208,0.4); background: rgba(10,10,26,0.6); color: white; font-size: 1rem; font-weight: 600; transition: all 0.3s; align-self: flex-start; letter-spacing: 0.05em; position: relative; overflow: hidden; box-shadow: 0 0 15px rgba(48,207,208,0.1); display: inline-flex; align-items: center; gap: 0.5rem; }
.form-submit:hover { background: rgba(48,207,208,0.12); border-color: rgba(48,207,208,0.7); transform: translateY(-2px); box-shadow: 0 0 30px rgba(48,207,208,0.25), 0 0 60px rgba(102,126,234,0.15); color: var(--clr-christian); }
.form-submit::after { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.6rem; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); opacity: 0; color: var(--clr-christian); transition: opacity 0.3s; filter: drop-shadow(0 0 4px rgba(48,207,208,0.8)); }
.form-submit:hover::after { opacity: 1; animation: btnStarTwinkle 1.5s ease-in-out infinite; }
.field-error {
    font-size: 0.75rem;
    font-weight: 500;
    color: #ff6b81;
    display: none;
    align-items: center;
    gap: 0.35rem;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    padding: 4px 12px 4px 10px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255,71,87,0.12), rgba(255,165,0,0.08));
    border: 1px solid rgba(255,71,87,0.25);
    align-self: flex-start;
    margin-top: 2px;
}
.field-error i {
    font-size: 0.55rem;
    opacity: 0.7;
}
.field-error.email-invalid {
    background: linear-gradient(135deg, rgba(255,71,87,0.12), rgba(255,165,0,0.08));
    border: 1px solid rgba(255,71,87,0.25);
    color: #ff6b81;
}
.field-error.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.form-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    align-self: flex-start;
    margin-top: 0.75rem;
}
.submit-status {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    opacity: 0;
    transform: translateY(0) scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding: 6px 16px 6px 12px;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(48,207,208,0.15), rgba(102,126,234,0.15));
    border: 1px solid rgba(48,207,208,0.35);
    color: #30CFD0;
    box-shadow: 0 0 16px rgba(48,207,208,0.1);
    pointer-events: none;
    white-space: nowrap;
}
.submit-status.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.submit-status i.fa-star {
    font-size: 0.6rem;
    opacity: 0.6;
    animation: starPulse 1.5s ease-in-out infinite;
}
@keyframes starPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

footer { padding: 3rem 2rem; text-align: center; border-top: 1px solid rgba(48,207,208,0.1); }
footer p { color: var(--clr-surface-dim); opacity: 0.5; font-size: 0.95rem; }
footer .fa-heart { color: var(--clr-christian); }

@media (max-width: 900px) {
    .about-container { grid-template-columns: 1fr; text-align: center; }
    .about-image-wrapper { margin: 0 auto; }
    .project-card {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .project-text-wrapper {
        display: contents;
    }
    .project-label { order: 1; }
    .project-title-outside { order: 2; }
    .project-image-box {
        order: 3;
        min-height: auto;
        display: block;
    }
    .project-image-box img {
        width: 100%;
        height: auto;
        display: block;
    }
    .project-text-box { order: 4; max-width: 100%; }
    .project-links-box { order: 5; max-width: 100%; }
    .contact-container { grid-template-columns: 1fr; }
    nav .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(10,10,26,0.95); backdrop-filter: blur(12px); padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid rgba(48,207,208,0.1); }
    nav .nav-links.open { display: flex; }
    .menu-toggle { display: block; }
}

@media (max-width: 600px) {
    #hero h1 { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .about-image-box { width: 250px; height: 320px; }
    .section-title { margin-bottom: 2.5rem; }
}

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.modale-page { min-height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; padding: 2rem; }
.modale-section { text-align: center; max-width: 600px; }
.modale-section h1 { font-size: 3rem; margin-bottom: 1rem; background: linear-gradient(135deg, var(--clr-primary), var(--clr-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.modale-section p { color: var(--clr-surface-dim); font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.7; }
@media (max-width: 600px) { .modale-section h1 { font-size: 2.2rem; } }

/* PROJECT PAGE (modale.html) */
.project-page { padding-top: 5rem; }

.project-hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 4rem;
    position: relative;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.project-hero-label {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--clr-christian);
    margin-bottom: 1.25rem;
    opacity: 0.8;
}

.project-hero h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--clr-christian) 0%, #ffffff 40%, var(--clr-accent) 70%, var(--clr-secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: projectTitleShimmer 8s ease-in-out infinite;
}

@keyframes projectTitleShimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.project-hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    color: var(--clr-surface-dim);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
}

.meta-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--clr-christian);
    opacity: 0.6;
}

.meta-value {
    font-size: 1rem;
    color: var(--clr-surface);
    font-weight: 500;
}

.project-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.project-section {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.project-section .section-title {
    margin-bottom: 2.5rem;
    text-align: center;
}

.project-hero-image {
    padding-top: 0;
}

.project-image-block {
    max-width: var(--max-width);
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(48,207,208,0.15);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    transition: all 0.4s ease;
}

.project-image-block:hover {
    border-color: rgba(48,207,208,0.35);
    box-shadow: 0 25px 70px rgba(48,207,208,0.12);
}

.project-image-block img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease, filter 0.4s ease;
}

.project-image-block:hover img {
    transform: scale(1.015);
}

.project-text-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-text-content .project-text-box {
    text-align: left;
}

.project-text-content .project-text-box p {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--clr-surface-dim);
    margin-bottom: 1.25rem;
}

.project-text-content .project-text-box p:last-child {
    margin-bottom: 0;
}

.project-text-english h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--clr-accent);
}

.project-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.project-full-image {
    padding-top: 0;
}

.project-prototype-grid {
    max-width: var(--max-width);
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-prototype-grid .project-image-block {
    border-radius: 20px;
}

.project-navigation {
    padding-bottom: 6rem;
}

.project-nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* TESTE O PRODUTO - iframe do protótipo funcional */
.project-test-section {
    padding-top: 2rem;
}

.project-test-intro {
    max-width: 700px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.project-test-intro p {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--clr-surface-dim);
}

.project-phone-frame {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 9 / 19.5;
    background: #0a0a0a;
    border-radius: 42px;
    padding: 14px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 2px rgba(48,207,208,0.15), inset 0 0 0 2px rgba(255,255,255,0.06);
    overflow: hidden;
}

.project-phone-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
    z-index: 2;
}

.phone-notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0a0a;
    border-radius: 0 0 18px 18px;
    z-index: 3;
}

.project-phone-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 32px;
    background: #0a0a0a;
    overflow: hidden;
}

.project-test-links {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 900px) {
    .project-meta {
        gap: 1.5rem;
    }
    .project-prototype-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .project-hero {
        min-height: auto;
        padding: 5rem 1.5rem 3rem;
    }
    .project-hero h1 {
        font-size: 3rem;
    }
    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }
    .project-section {
        padding: 3rem 1.5rem;
    }
    .project-text-content .project-text-box {
        padding: 1.5rem;
    }
    .project-text-content .project-text-box p {
        font-size: 1.05rem;
    }
    .project-cta,
    .project-nav-links {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Ajuste da imagem Protótipo Modale */
.project-image-fit {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}
.project-image-fit img {
    max-height: 70vh;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}
