/* 
========================================
   VARIABLES & THEME SETUP
========================================
*/
:root {
    /* Cores Dark Mode (Default) */
    --bg-body: #0a0a0a;
    --bg-surface: #121212;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    
    --primary-color: #00ff9d;
    --primary-hover: #00cc7e;
    --secondary-color: #00cc7e;
    
    --text-main: #e0e0e0;
    --text-muted: #a0a0a0;
    --text-light: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #00ff9d 0%, #00cc7e 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 255, 157, 0.15) 0%, rgba(10, 10, 10, 0) 70%);
    
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(0, 255, 157, 0.4);
    
    /* Spacing & Layout */
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 12px;
    
    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Light Mode Variables (Optional support) */
[data-theme="light"] {
    --bg-body: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f3f5;
    
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff; /* Mantém branco para botões */
    
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);
    
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/*
========================================
   RESET & BASE STYLES
========================================
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* Firefox support */
    scrollbar-width: thin;
    scrollbar-color: var(--bg-card) var(--bg-body);
}

/* Custom Scrollbar (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-body);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 10px;
    border: 2px solid var(--bg-body);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-light);
    line-height: 1.2;
}

[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4 {
    color: #111;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-surface);
}

/* 
========================================
   TYPOGRAPHY & UTILITIES
========================================
*/
.highlight {
    color: var(--primary-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #0a0a0a; /* Texto escuro para contraste no verde */
    box-shadow: 0 4px 15px rgba(0, 255, 157, 0.4);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 157, 0.6);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .btn-secondary {
    color: #333;
    border: 1px solid #ccc;
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-light);
}

[data-theme="light"] .btn-outline {
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* 
========================================
   HEADER & NAVBAR
========================================
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text-light);
}

[data-theme="light"] .logo {
    color: #333;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-link.button-link {
    background: var(--bg-card);
    padding: 8px 20px;
    border-radius: 20px;
    color: var(--text-light);
    border: 1px solid var(--border-color);
}

[data-theme="light"] .nav-link.button-link {
    color: #333;
    background: #fff;
}

.nav-link.button-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}

.nav-link.button-link::after {
    display: none;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

.theme-toggle:hover {
    transform: rotate(15deg);
    color: var(--primary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
}

[data-theme="light"] .mobile-menu-icon {
    color: #333;
}

/* 
========================================
   HERO SECTION
========================================
*/
.hero {
    position: relative;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
    animation: float 10s infinite alternate;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: 0;
    right: -50px;
    animation: float 8s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge-hero {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(123, 44, 191, 0.15);
    border: 1px solid rgba(123, 44, 191, 0.3);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--text-light);
}

[data-theme="light"] .stat-item h3 {
    color: #333;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Hero Image & Floating Cards */
.img-wrapper {
    position: relative;
    width: 350px;
    height: 450px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 30px;
    box-shadow: var(--shadow-glow);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.floating-card {
    position: absolute;
    background: rgba(30, 30, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
    animation: float-card 6s ease-in-out infinite;
}

[data-theme="light"] .floating-card {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    border: 1px solid rgba(0,0,0,0.1);
}

.card-1 {
    top: 40px;
    right: -30px;
    animation-delay: 0s;
}

.card-1 i { color: #61dafb; font-size: 1.5rem; }

.card-2 {
    bottom: 40px;
    left: -40px;
    animation-delay: 2s;
}

.card-2 i { color: #f0db4f; font-size: 1.5rem; }

@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* 
========================================
   SOBRE MIM
========================================
*/
.sobre-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.sobre-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.diferenciais-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    text-align: left;
}

.diferenciais-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.diferenciais-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 
========================================
   SKILLS
========================================
*/
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: var(--glass-border);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-sm);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.skill-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.skill-header h3 {
    font-size: 1.4rem;
    color: var(--text-light);
}

[data-theme="light"] .skill-header h3 { color: #333; }

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

[data-theme="light"] .progress-bar { background: rgba(0,0,0,0.1); }

.progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* 
========================================
   PROJETOS
========================================
*/
.filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.projeto-destaque {
    margin-bottom: 50px;
}

.destaque-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--glass-border);
    box-shadow: var(--shadow-md);
}

.destaque-img {
    height: 100%;
    overflow: hidden;
    min-height: 400px;
}

.destaque-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destaque-card:hover .destaque-img img {
    transform: scale(1.05);
}

.destaque-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.destaque-tag {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.destaque-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

[data-theme="light"] .destaque-content h3 { color: #333; }

.tech-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tech-badge {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.destaque-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Grid normal */
.projetos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 30px;
    min-height: 800px; /* Garante espaço para 2 linhas mesmo se houver menos itens */
}

@media (max-width: 992px) {
    .projetos-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {
    .projetos-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: #0a0a0a;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    color: var(--text-muted);
    font-weight: 500;
}

#current-page-num {
    color: var(--primary-color);
    font-weight: 700;
}

.project-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: var(--glass-border);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

[data-theme="light"] .project-content h3 { color: #333; }

.project-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.project-links {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
}

.link-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

[data-theme="light"] .link-btn { color: #333; }

.link-btn:hover {
    color: var(--primary-color);
}

/* 
========================================
   SERVIÇOS
========================================
*/
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 35px;
    border-radius: 15px;
    border: var(--glass-border);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(123, 44, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

[data-theme="light"] .service-card h3 { color: #333; }

.service-card p {
    color: var(--text-muted);
}

/* 
========================================
   TIMELINE / EXPERIÊNCIA
========================================
*/
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: -10px;
    z-index: 1;
    border: 4px solid var(--bg-body);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-date {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.timeline-content {
    background: var(--bg-card);
    padding: 20px 25px;
    border-radius: 10px;
    border: var(--glass-border);
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--text-light);
    font-size: 1.1rem;
}

[data-theme="light"] .timeline-content h3 { color: #333; }

/* 
========================================
   DEPOIMENTOS
========================================
*/
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: var(--glass-border);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

[data-theme="light"] .author h4 { color: #333; }

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 
========================================
   CONTATO & FOOTER
========================================
*/
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: var(--glass-border);
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2) 0%, rgba(10, 10, 10, 0) 100%);
    display: flex;
    flex-direction: column;
}

.contact-info h3 {
    margin-bottom: 15px;
    color: var(--text-light);
}

[data-theme="light"] .contact-info h3 { color: #333; }

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item .icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.social-links {
    margin-top: auto;
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.contact-form-wrapper {
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: inherit;
    transition: border-color 0.3s ease;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #f8f9fa;
    color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--bg-surface);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    width: 100%;
    text-align: center;
}

/* 
========================================
   ANIMATIONS & UTILS
========================================
*/
/* WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mockups CSS */
.project-mockup {
    height: 220px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
}

.project-card:hover .project-mockup {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-surface) 100%);
}

/* Browser Window Mockup */
.mockup-window {
    width: 100%;
    height: 100%;
    background: var(--bg-body);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.project-card:hover .mockup-window {
    transform: scale(1.02) translateY(-5px);
}

.mockup-header {
    height: 28px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 8px;
}

.window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}
.window-dot:nth-child(2) { background: #ffbd2e; }
.window-dot:nth-child(3) { background: #27c93f; }

.mockup-body {
    flex: 1;
    padding: 15px;
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
}


/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Fade Up Animation */
/*
   NOTA: Alterado para opacity: 1 por padrão para evitar tela preta em caso de falha de script/cache.
   A animação de scroll será sutil ou desativada para priorizar a exibição do conteúdo.
*/
.fade-up {
    opacity: 1; /* Era 0 */
    transform: none; /* Era translateY(30px) */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Tags Cloud */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tech-tag:hover {
    border-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tech-tag i {
    color: var(--primary-color);
}

/* Acessibilidade: Se o usuário preferir menos movimento, removemos animações */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
    
    .blob, .blob-1, .blob-2, .floating-card {
        animation: none !important;
    }
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Typewriter Cursor */
.cursor {
    display: inline-block;
    width: 4px;
    height: 1em; /* Altura baseada no tamanho da fonte */
    background-color: var(--primary-color);
    animation: blink 0.75s step-end infinite;
    margin-left: 5px;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    border: var(--glass-border);
    width: 80%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--text-light);
}

/* 
========================================
   MEDIA QUERIES (RESPONSIVE)
========================================
*/
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }

    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) {
        text-align: left;
    }
    
    .timeline-dot {
        left: 21px;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .destaque-card {
        grid-template-columns: 1fr;
    }
    
    .destaque-img {
        min-height: 250px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        padding: 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-list.active {
        display: flex;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .img-wrapper {
        width: 300px;
        height: 300px;
    }
    
    .card-1 { right: -10px; padding: 10px 15px; font-size: 0.8rem; }
    .card-2 { left: -10px; padding: 10px 15px; font-size: 0.8rem; }
    
    .section-padding {
        padding: 60px 0;
    }

    /* Ajuste Minimalista Botões Hero Mobile */
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        max-width: 280px; /* Largura controlada para elegância */
        margin: 0 auto 40px;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}
