/* ==========================================================================
   ÍNDICE:
   1. Configuração e Variáveis
   2. Reset e Estilos Base
   3. Utilidades
   4. Componentes
   5. Layout e Seções
   6. Página de Trajetória
   7. Animações
   8. Responsividade
   9. Acessibilidade
   ========================================================================== */

/* ==========================================================================
   1. CONFIGURAÇÃO E VARIÁVEIS
   ========================================================================== */

:root {
    /* Cores - Tema Escuro */
    --bg-primary: #0a1022;
    --bg-secondary: #121a2e;
    --bg-tertiary: #1e2942;
    --text-primary: #ffffff;
    --text-secondary: #e0e7ff;
    --accent-primary: #00c6ff;
    --accent-secondary: #4d8cff;
    --accent-tertiary: #9d5cfc;
    --success: #00e676;
    --warning: #ffb300;
    --danger: #ff3d71;

    /* Elementos glass morphism */
    --card-bg: rgba(30, 41, 59, 0.8);
    --card-blur: 10px;
    --card-border: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(10, 16, 34, 0.8);
    --footer-bg: rgba(10, 16, 34, 0.9);
    --input-bg: rgba(30, 41, 59, 0.7);
    --input-text: #f8fafc;
    --input-placeholder: #94a3b8;
    --input-border-focus: #00c6ff;

    /* Gradientes */
    --gradient-primary: linear-gradient(120deg, #00c6ff, #4d8cff);
    --gradient-hover: linear-gradient(120deg, #4d8cff, #00c6ff);
    --gradient-accent: linear-gradient(120deg, #9d5cfc, #ff56b1);
    --gradient-dark: linear-gradient(120deg, #121a2e, #1e2942);

    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 35px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 15px rgba(0, 198, 255, 0.5);

    /* Transições */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Tipografia */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    /* Bordas */
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 1rem;
    --border-radius-xl: 1.5rem;
    --border-radius-full: 9999px;
}

/* Tema Claro */
body.light-theme {
    --bg-primary: #ffffff;
    --bg-secondary: #edf2fc;
    --bg-tertiary: #d9e1f1;
    --text-primary: #0a1022;
    --text-secondary: #1e2942;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --footer-bg: rgba(255, 255, 255, 0.9);
    --input-bg: rgba(237, 242, 252, 0.7);
    --input-text: #0a1022;
    --input-placeholder: #4a5568;
    --shadow-sm: 0 2px 10px rgba(10, 16, 34, 0.05);
    --shadow-md: 0 4px 15px rgba(10, 16, 34, 0.1);
    --shadow-lg: 0 8px 25px rgba(10, 16, 34, 0.15);
    --shadow-xl: 0 12px 35px rgba(10, 16, 34, 0.2);
}

/* ==========================================================================
   2. RESET E ESTILOS BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6" fill="%2300c6ff" opacity="0.7"/></svg>')
            8 8,
        auto;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 76px;
}

/* Cursor personalizado para elementos interativos */
a,
button,
.btn,
.nav-link,
.social-link,
.filter-btn,
.project-links a,
.project-card,
.tech-icon,
.skill-item {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%2300c6ff" opacity="0.8"/></svg>')
            12 12,
        pointer !important;
}

/* ==========================================================================
   3. UTILIDADES
   ========================================================================== */

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-line {
    height: 4px;
    width: 70px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: var(--border-radius-full);
}

.highlight {
    color: var(--accent-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.4s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Efeito glass morphism */
.glass-effect {
    background-color: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-md);
}

/* Animações para elementos scroll */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.fade-in.active {
    opacity: 1;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Delays para animações */
.delay-100 {
    transition-delay: 0.1s;
}
.delay-200 {
    transition-delay: 0.2s;
}
.delay-300 {
    transition-delay: 0.3s;
}
.delay-400 {
    transition-delay: 0.4s;
}
.delay-500 {
    transition-delay: 0.5s;
}

/* ==========================================================================
   4. COMPONENTES
   ========================================================================== */

/* ----- Botões ----- */
.btn {
    border-radius: var(--border-radius-md);
    padding: 0.75rem 1.5rem;
    transition: var(--transition-normal);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary) !important;
    border: none !important;
    color: white !important;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    background: var(--gradient-hover) !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    position: relative;
    z-index: 1;
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-outline:hover {
    color: white !important;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline:hover::after {
    opacity: 1;
}

.custom-btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: white !important;
    box-shadow: var(--shadow-glow);
}

.custom-btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.custom-btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary) !important;
}

.custom-btn-outline:hover {
    background: rgba(0, 198, 255, 0.1);
    transform: translateY(-3px);
}

.custom-btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary) !important;
    transition: var(--transition-normal);
}

.custom-btn:hover {
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent-primary) !important;
    transform: translateY(-2px);
}

.journey-btn {
    margin-left: 1rem;
    position: relative;
    overflow: hidden;
    padding: 0.85rem 3rem 0.85rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--accent-primary) !important;
    color: var(--accent-primary) !important;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.2);
    background: rgba(0, 198, 255, 0.05);
    z-index: 1;
    animation: gentle-pulse 3s infinite;
}

.journey-btn span {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    color: var(--input-text);
}

.journey-btn i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    color: var(--accent-primary);
    font-size: 1.2rem;
    z-index: 2;
    opacity: 0.8;
}

.journey-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.journey-btn::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 40px;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(20deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.journey-btn:hover {
    color: white !important;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 198, 255, 0.4),
        0 0 15px rgba(0, 198, 255, 0.4);
    border-color: transparent !important;
    animation: none;
}

.journey-btn:hover span {
    transform: translateX(-5px);
}

.journey-btn:hover i {
    transform: translate(5px, -50%);
    opacity: 1;
    color: white;
}

.journey-btn:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.journey-btn:hover::after {
    right: 120%;
    opacity: 0.6;
}

/* ----- Formulários ----- */
.form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--card-border);
    color: var(--input-text);
    border-radius: var(--border-radius-md);
    padding: 0.75rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.form-control:focus {
    border-color: var(--input-border-focus);
    box-shadow: 0 0 0 0.25rem rgba(0, 198, 255, 0.25);
    background-color: var(--input-bg);
    color: var(--input-text);
}

.form-control::placeholder {
    color: var(--input-placeholder);
}

.form-label {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.btn-enviar {
    background: linear-gradient(120deg, #00c6ff, #4d8cff) !important;
    color: white !important;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none !important;
    box-shadow: var(--shadow-glow);
}

.btn-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4), var(--shadow-glow);
}

.form-success {
    background-color: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    padding: 1rem;
    border-radius: var(--border-radius-md);
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease forwards;
}

.input-icon i {
    position: relative;
    top: 55px;
    left: 10px;
    transform: translateY(-60%); /* De -50% para -60% para alinhar melhor com o texto */
    color: var(--accent-primary, #00c6ff);
    font-size: 1.1rem; /* Levemente maior para melhor proporção */
    pointer-events: none;
    opacity: 0.8;
    z-index: 2;
    line-height: 1;
}
.input-icon input,
.input-icon textarea {
    padding-left: 2.2rem !important;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
}

/* ----- Cards ----- */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.card-title {
    color: var(--accent-primary);
}

.card-text {
    color: var(--text-secondary);
}

/* ----- Navegação ----- */
.btn-theme {
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-theme i {
    position: relative;
    z-index: 2;
}

.btn-theme::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.btn-theme:hover {
    transform: rotate(30deg);
    color: var(--bg-primary);
}

.btn-theme:hover::before {
    transform: scale(1);
}

.navbar-toggler {
    border: none;
    color: var(--text-primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 198, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.light-theme .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 198, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ----- Tech Tags ----- */
.tech-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 198, 255, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: 0.5rem;
    margin-bottom: 0.8rem;
    border: 1px solid rgba(0, 198, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: rgba(0, 198, 255, 0.2);
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-glow);
    border-color: rgba(0, 198, 255, 0.4);
}

/* ----- Back to Top Button ----- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

/* ----- Social Icons ----- */
.social-links {
    display: flex;
    gap: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2s;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border-radius: 50%;
    color: var(--accent-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.2);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3), var(--shadow-glow);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover i {
    color: white;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 1.2rem;
    transition: var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover i {
    color: white;
}

/* ==========================================================================
   5. LAYOUT E SEÇÕES
   ========================================================================== */

/* ----- Header / Navbar ----- */
.custom-navbar {
    background-color: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition-normal);
    z-index: 1000;
}

.navbar-brand.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.navbar-brand.logo span {
    color: var(--accent-primary);
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-normal);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: var(--border-radius-full);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-primary) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ----- Hero Section ----- */
.hero {
    padding: 9rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-primary);
}

/* Elementos parallax para o fundo */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at top right,
        rgba(0, 198, 255, 0.15),
        transparent 70%
    );
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at bottom left,
        rgba(77, 140, 255, 0.1),
        transparent 70%
    );
    z-index: 0;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.parallax-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(
        45deg,
        var(--accent-primary),
        var(--accent-secondary)
    );
    opacity: 0.05;
    filter: blur(60px);
}

.parallax-circle:nth-child(1) {
    top: 15%;
    right: 10%;
    width: 300px;
    height: 300px;
}

.parallax-circle:nth-child(2) {
    bottom: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: linear-gradient(
        45deg,
        var(--accent-secondary),
        var(--accent-tertiary)
    );
}

.parallax-circle:nth-child(3) {
    top: 40%;
    left: 25%;
    width: 180px;
    height: 180px;
    background: linear-gradient(
        45deg,
        var(--accent-tertiary),
        var(--accent-primary)
    );
}

.parallax-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 3rem;
}

.hero-text {
    flex: 1;
    padding-right: 2rem;
}

.hero-text h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-text h2 {
    font-size: 2.25rem;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    font-weight: 700;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 550px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.hero-buttons .btn {
    padding: 0.85rem 2rem;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: linear-gradient(135deg, #00c6ff, #4d8cff) !important;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow-glow);
}

.hero-buttons .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4d8cff, #00c6ff);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.hero-buttons .btn-primary:hover::before {
    opacity: 1;
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3), var(--shadow-glow);
}

.hero-buttons .btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.hero-buttons .btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.hero-buttons .btn-outline:hover::before {
    width: 110%;
}

.hero-buttons .btn-outline:hover {
    color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.2);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-container {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.profile-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(0, 198, 255, 0.2),
        rgba(77, 140, 255, 0.2)
    );
    animation: pulse 6s ease-in-out infinite;
}

.profile-ring {
    position: absolute;
    width: 110%;
    height: 110%;
    border-radius: 50%;
    border: 2px dashed var(--accent-primary);
    opacity: 0.5;
    animation: spin 30s linear infinite;
}

.profile-image {
    width: 85%;
    max-width: 340px;
    height: auto;
    border-radius: 50%;
    border: 4px solid var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.3), var(--shadow-glow);
    object-fit: cover;
    z-index: 1;
    transition: all 0.5s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.4), var(--shadow-glow);
    border-color: #4d8cff;
}

.tech-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.tech-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
}

.tech-icon:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.tech-icon:nth-child(2) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation: float 6s ease-in-out infinite 1.5s,
        glow 3s ease-in-out infinite 0.5s;
}

.tech-icon:nth-child(3) {
    top: 20%;
    right: 0;
    animation: float 6s ease-in-out infinite 3s, glow 3s ease-in-out infinite 1s;
}

.tech-icon:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: float 6s ease-in-out infinite 4.5s,
        glow 3s ease-in-out infinite 1.5s;
}

.tech-icon i {
    font-size: 1.8rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px) scale(1.15);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3), var(--shadow-glow);
    background: var(--gradient-primary);
}

.tech-icon:hover i {
    color: white;
}

.tech-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
}

.tech-icon:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -45px;
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent-primary);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.5s, bounce 2s infinite 3s;
    z-index: 2;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

/* ----- About Section ----- */
.about {
    background-color: var(--bg-secondary);
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: radial-gradient(
        circle at right,
        rgba(0, 198, 255, 0.05),
        transparent 70%
    );
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--card-border);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.about-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60px;
    height: 60px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.about-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.about-text {
    text-align: center;
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
}

.about-text p:first-of-type {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.about-text p:first-of-type::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 1.5rem auto;
    border-radius: 2px;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 3.5rem;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 220px;
    border: 1px solid var(--card-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.15), var(--shadow-glow);
    border-color: rgba(0, 198, 255, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card h3 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #00c6ff, #4d8cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.about-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3.5rem;
}

.about-cta .btn {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-cta .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4d8cff, #00c6ff);
    z-index: -1;
    transition: opacity 0.5s ease;
    opacity: 0;
}

.about-cta .btn:hover::before {
    opacity: 1;
}

.about-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.4), var(--shadow-glow);
}

/* ----- Projects Section ----- */
.projects {
    position: relative;
    padding: 7rem 0;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    opacity: 0.7;
}

.language-filter {
    margin-bottom: 2rem;
}

.filter-btn {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    margin: 0 0.3rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    opacity: 1;
}

/* Melhorias no layout do carrossel */
.carousel {
    padding: 1rem 0 3rem;
}

.carousel-item {
    padding: 1.5rem 0;
}

.project-grid {
    margin: 0;
    padding: 1rem;
    row-gap: 1.5rem;
}

.project-grid .col-md-6 {
    padding: 0.75rem; /* Espaçamento uniforme em todos os lados */
}

/* Cards de projeto*/
.project-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--card-border);
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    height: 100%;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
}

.project-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.project-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-title i {
    margin-right: 10px;
    color: var(--accent-primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.project-links {
    display: flex;
    align-items: center;
}

.project-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-left: 0.75rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.project-links a:hover {
    color: var(--accent-primary);
    transform: scale(1.2);
}

.project-body {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    display: -webkit-box;
    line-clamp: 0;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.project-footer {
    padding: 1.25rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(var(--bg-tertiary-rgb, 30, 41, 66), 0.1);
    position: relative;
    z-index: 1;
}

.project-language {
    display: flex;
    align-items: center;
}

.language-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.language-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.project-meta {
    display: flex;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-left: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 5px;
    font-size: 0.85rem;
}

/* Estados de carregamento e erro */
.loading-container {
    text-align: center;
    padding: 5rem 0;
    color: var(--text-secondary);
}

.error-container {
    text-align: center;
    padding: 5rem 0;
    color: var(--danger);
}

/* Cores para as linguagens */
.language-dot.javascript {
    background-color: #f7df1e;
    box-shadow: 0 0 5px rgba(247, 223, 30, 0.5);
}
.language-dot.python {
    background-color: #3776ab;
    box-shadow: 0 0 5px rgba(55, 118, 171, 0.5);
}
.language-dot.html {
    background-color: #e34c26;
    box-shadow: 0 0 5px rgba(227, 76, 38, 0.5);
}
.language-dot.css {
    background-color: #563d7c;
    box-shadow: 0 0 5px rgba(86, 61, 124, 0.5);
}
.language-dot.typescript {
    background-color: #007acc;
    box-shadow: 0 0 5px rgba(0, 122, 204, 0.5);
}
.language-dot.java {
    background-color: #b07219;
    box-shadow: 0 0 5px rgba(176, 114, 25, 0.5);
}
.language-dot.php {
    background-color: #4f5d95;
    box-shadow: 0 0 5px rgba(79, 93, 149, 0.5);
}
.language-dot.c {
    background-color: #555555;
    box-shadow: 0 0 5px rgba(85, 85, 85, 0.5);
}
.language-dot.cpp {
    background-color: #f34b7d;
    box-shadow: 0 0 5px rgba(243, 75, 125, 0.5);
}
.language-dot.csharp {
    background-color: #178600;
    box-shadow: 0 0 5px rgba(23, 134, 0, 0.5);
}
.language-dot.go {
    background-color: #00add8;
    box-shadow: 0 0 5px rgba(0, 173, 216, 0.5);
}
.language-dot.ruby {
    background-color: #701516;
    box-shadow: 0 0 5px rgba(112, 21, 22, 0.5);
}
.language-dot.swift {
    background-color: #ffac45;
    box-shadow: 0 0 5px rgba(255, 172, 69, 0.5);
}
.language-dot.kotlin {
    background-color: #f18e33;
    box-shadow: 0 0 5px rgba(241, 142, 51, 0.5);
}
.language-dot.rust {
    background-color: #dea584;
    box-shadow: 0 0 5px rgba(222, 165, 132, 0.5);
}
.language-dot.dart {
    background-color: #00b4ab;
    box-shadow: 0 0 5px rgba(0, 180, 171, 0.5);
}
.language-dot.shell {
    background-color: #89e051;
    box-shadow: 0 0 5px rgba(137, 224, 81, 0.5);
}
.language-dot.powershell {
    background-color: #012456;
    box-shadow: 0 0 5px rgba(1, 36, 86, 0.5);
}
.language-dot.unknown {
    background-color: #9e9e9e;
    box-shadow: 0 0 5px rgba(158, 158, 158, 0.5);
}

/* Botão do GitHub */
.github-button-container {
    display: flex;
    justify-content: center;
    padding: 1rem 0 2rem;
}

.github-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--card-bg);
    border: 2px solid var(--accent-primary);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.github-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(0, 198, 255, 0.15),
        rgba(77, 140, 255, 0.15)
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.github-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 198, 255, 0.2), var(--shadow-glow);
    border-color: var(--accent-primary);
}

.github-button:hover::before {
    opacity: 1;
}

.github-button-content {
    display: flex;
    align-items: center;
    padding: 1.2rem 1.5rem;
    flex: 1;
    position: relative;
    z-index: 1;
}

.github-icon-container {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.github-icon-container i {
    font-size: 1.8rem;
    color: white;
    z-index: 1;
}

.github-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-primary);
    z-index: 0;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

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

.github-text .main-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.github-text .sub-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.github-arrow {
    background: var(--gradient-primary);
    height: 100%;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.github-arrow i {
    color: white;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.github-button:hover .github-arrow {
    width: 60px;
}

.github-button:hover .github-arrow i {
    transform: translateX(5px);
}

/* Estilização dos controles do carrossel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-control-prev {
    left: -40px;
    top: 36%;
}

.carousel-control-next {
    right: -40px;
    top: 36%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--gradient-primary);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
    box-shadow: 0 5px 20px rgba(0, 198, 255, 0.4), var(--shadow-glow);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
    background-size: 60%;
    filter: none;
    transition: transform 0.3s ease;
}

/* Ícones personalizados com FontAwesome para as setas */
.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8.59,16.59L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.59z'/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M15.41,16.59L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.59z'/%3E%3C/svg%3E");
}

.carousel-control-next:hover .carousel-control-next-icon {
    transform: translateX(2px);
}

.carousel-control-prev:hover .carousel-control-prev-icon {
    transform: translateX(-2px);
}

/* Efeito de glow nas bordas dos controles */
.carousel-control-prev::before,
.carousel-control-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    z-index: -1;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0);
    transition: box-shadow 0.3s ease;
}

.carousel-control-prev:hover::before,
.carousel-control-next:hover::before {
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.7);
}

/* Indicadores do carrossel */
.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--bg-tertiary);
    border: none;
    margin: 0 5px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    width: 30px;
    height: 10px;
    border-radius: 5px;
    background: var(--gradient-primary);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.5);
}

/* ----- Skills Section ----- */
.skills {
    background-color: var(--bg-secondary);
    position: relative;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.skill-category {
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: rgba(0, 198, 255, 0.3);
}

.category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-full);
}

.skill-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    text-align: center;
    transition: var(--transition-normal);
    position: relative;
}

.skill-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    transition: var(--transition-normal);
}

.skill-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    transition: var(--transition-normal);
}

.skill-item:hover i {
    transform: translateY(-5px);
    color: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(0, 198, 255, 0.5));
}

.skill-item:hover span {
    color: var(--text-primary);
}

/* Tooltip para skills */
.skill-item::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
}

.skill-item:hover::after {
    opacity: 1;
    top: -50px;
}

/* ----- Contact Section ----- */
.contact {
    position: relative;
}

.contact-content {
    margin-top: 3rem;
}

.contact-card {
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
    border: 1px solid var(--card-border);
    overflow: hidden;
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    background-color: var(--card-bg);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
}

.contact-icon {
    background: var(--gradient-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-details h5 {
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
    font-size: 0.9rem;
    word-break: break-word;
}

.contact-details a:hover {
    color: var(--accent-primary);
}

.contact-form-card {
    height: 100%;
    border: 1px solid var(--card-border);
    transition: var(--transition-normal);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    background-color: var(--card-bg);
}

.contact-form-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--accent-primary);
}

.contact-form-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
}

.contact-form-card .card-body {
    padding: 2rem;
}

.contact-card .card-body {
    background-color: var(--card-bg);
}

.contact-details a {
    font-size: 0.95rem;
    color: var(--text-primary);
    opacity: 0.9;
}

.contact-details a:hover {
    opacity: 1;
    color: var(--accent-primary);
}

/* ----- Footer ----- */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-secondary);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.footer-logo span {
    color: var(--accent-primary);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: var(--border-radius-full);
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.footer-bottom {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   6. PÁGINA DE TRAJETÓRIA
   ========================================================================== */

/* ----- Header da Trajetória ----- */
.journey-header {
    padding: 8rem 0 6rem;
    background-image: radial-gradient(
            circle at top right,
            rgba(0, 198, 255, 0.15),
            transparent 70%
        ),
        radial-gradient(
            circle at bottom left,
            rgba(77, 140, 255, 0.1),
            transparent 70%
        );
    position: relative;
    overflow: hidden;
}

.journey-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 198, 255, 0.3);
    pointer-events: none;
    z-index: 0;
}

.journey-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(
            rgba(255, 255, 255, 0.02) 1px,
            transparent 1px
        ),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.journey-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(
        to right,
        var(--text-primary),
        var(--accent-primary)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.journey-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.journey-nav {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.journey-nav-item {
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    background: var(--card-bg);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border-radius: 30px;
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.journey-nav-item:hover,
.journey-nav-item.active {
    color: white;
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

/* ----- Timeline ----- */
.timeline {
    position: relative;
    padding: 6rem 0 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    z-index: 0 !important; /* Força a linha a ficar atrás de outros elementos */
}

.timeline-item {
    position: relative;
    margin-bottom: 8rem;
    padding-top: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 6rem;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    padding-left: 3rem;
    text-align: left;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
    padding-right: 3rem;
    text-align: right;
}

.timeline-date {
    position: absolute;
    top: 0;
    width: 140px;
    padding: 0.6rem 1.2rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    text-align: center;
    box-shadow: var(--shadow-glow);
    z-index: 5 !important;
    position: relative;
    transform: translateY(-50%);
    left: 50% !important;
    transform: translateX(-70px) !important;
}

/* Ajustes para datas específicas */
.timeline-item:nth-child(2) .timeline-date {
    width: 180px !important;
    transform: translateX(-90px) !important;
}

.timeline-item:nth-child(4) .timeline-date {
    width: 140px !important;
    transform: translateX(-70px) !important;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    z-index: 2;
    transition: all 0.3s ease;
    border: 4px solid var(--bg-primary);
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 0 20px var(--accent-primary);
}

.timeline-item:hover .timeline-dot::before {
    opacity: 0.5;
    width: 55px;
    height: 55px;
}

.timeline-content {
    width: 45%;
    padding: 2.5rem;
    margin-top: 2rem;
    background: var(--card-bg);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
    border: 1px solid var(--card-border);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    overflow: hidden;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.timeline-content:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.timeline-content:hover::after {
    opacity: 1;
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.timeline-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient-primary);
}

.timeline-item:nth-child(even) .timeline-content h3::after {
    left: auto;
    right: 0;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.timeline-content .highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

.timeline-icon {
    position: absolute;
    top: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-icon {
    right: 20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: 20px;
}

.timeline-list {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.timeline-list li {
    margin-bottom: 0.75rem;
    position: relative;
}

.timeline-list li::before {
    content: '';
    position: absolute;
    top: 0.6rem;
    left: -1.5rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.read-more-content {
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
}

.read-more-content.active {
    height: auto;
    margin-top: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ----- Current Position ----- */
#current-position::before {
    display: none;
}

.current-role {
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--card-border);
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.8),
        rgba(15, 23, 42, 0.9)
    );
    backdrop-filter: blur(var(--card-blur));
    -webkit-backdrop-filter: blur(var(--card-blur));
}

.current-role-header {
    background: linear-gradient(
        135deg,
        rgba(0, 198, 255, 0.1),
        rgba(77, 140, 255, 0.1)
    );
    padding: 2rem;
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.current-role-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin: 0;
}

.company-logo {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
}

.company-logo span {
    color: var(--accent-primary);
}

.current-role-content {
    padding: 2rem;
}

.role-description {
    margin-bottom: 2rem;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.skill-pill {
    flex: 1;
    min-width: 140px;
    padding: 1rem;
    background: rgba(0, 198, 255, 0.05);
    border: 1px solid rgba(0, 198, 255, 0.2);
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-pill:hover {
    transform: translateY(-5px);
    background: rgba(0, 198, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

.skill-pill i {
    font-size: 2rem;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.skill-pill span {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-title {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}

.gallery-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

/* Ajustes para o tema claro na seção Current Position */
.light-theme #current-position .current-role {
    background: linear-gradient(
        135deg,
        rgba(240, 245, 255, 0.9),
        rgba(230, 240, 250, 0.95)
    );
    border: 1px solid rgba(200, 210, 230, 0.5);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.light-theme #current-position .current-role-header {
    background: linear-gradient(
        135deg,
        rgba(240, 248, 255, 0.8),
        rgba(230, 240, 250, 0.8)
    );
    border-bottom: 1px solid rgba(200, 210, 230, 0.5);
}

.light-theme #current-position .current-role-title {
    color: #2563eb;
}

.light-theme #current-position .company-logo {
    background: rgba(240, 245, 255, 0.5);
    border: 1px solid rgba(200, 210, 230, 0.5);
    color: #334155;
}

.light-theme #current-position .company-logo span {
    color: #2563eb;
}

.light-theme #current-position p,
.light-theme #current-position .timeline-list,
.light-theme #current-position .gallery-title {
    color: #334155;
}

.light-theme #current-position .highlight {
    color: #2563eb;
}

.light-theme #current-position .skill-pill {
    background: rgba(240, 248, 255, 0.8);
    border: 1px solid rgba(200, 210, 230, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.light-theme #current-position .skill-pill:hover {
    background: rgba(230, 240, 250, 0.9);
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.1);
}

.light-theme #current-position .skill-pill i {
    color: #2563eb;
}

.light-theme #current-position .skill-pill span {
    color: #334155;
}

.light-theme #current-position .timeline-list li::before {
    background: #2563eb;
}

.light-theme #current-position .gallery-title::before {
    background: linear-gradient(to bottom, #2563eb, #3b82f6);
}

/* ----- Quote e Divider ----- */
.divider {
    height: 2px;
    background: var(--gradient-primary);
    margin: 4rem 0;
    opacity: 0.3;
    position: relative;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-primary);
    top: 50%;
    transform: translateY(-50%);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.quote {
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-primary);
    text-align: center;
    padding: 2rem;
    position: relative;
    line-height: 1.8;
}

.quote::before,
.quote::after {
    content: '"';
    font-size: 4rem;
    color: var(--accent-primary);
    opacity: 0.2;
    position: absolute;
}

.quote::before {
    top: -10px;
    left: 0;
}

.quote::after {
    bottom: -30px;
    right: 0;
}

/* ----- Seção CTA ----- */
.journey-cta {
    text-align: center;
    padding: 4rem 0 6rem;
}

.journey-cta .btn {
    padding: 0.85rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.journey-cta .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 198, 255, 0.3), var(--shadow-glow);
}

/* ==========================================================================
   7. ANIMAÇÕES
   ========================================================================== */

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.5;
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

@keyframes glow {
    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 198, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 198, 255, 0.8);
    }
}

@keyframes gentle-pulse {
    0% {
        box-shadow: 0 0 5px rgba(0, 198, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 5px rgba(0, 198, 255, 0.3);
    }
}

/* ==========================================================================
   8. RESPONSIVIDADE
   ========================================================================== */

/* ----- Dispositivos grandes (desktop) ----- */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-text h2 {
        font-size: 1.75rem;
    }
}

/* ----- Dispositivos médios (tablets) ----- */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-text p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .profile-image {
        max-width: 280px;
    }

    .tech-icons {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    /* Timeline responsiva */
    .timeline::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-item {
        padding-top: 3rem;
    }

    .timeline-content {
        margin-top: 1.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        padding-left: 2rem;
        text-align: left;
        padding-right: 1.5rem;
        margin-right: auto;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 30px !important;
        right: auto;
        transform: translateX(-50%) !important;
    }

    .timeline-item:nth-child(even) .timeline-content h3::after {
        left: 0;
        right: auto;
    }

    .timeline-item:nth-child(even) .timeline-icon {
        left: auto;
        right: 20px;
    }

    .gallery-items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Ajustes no carrossel */
    .carousel-control-prev {
        left: 5px;
    }

    .carousel-control-next {
        right: 5px;
    }
}

/* ----- Tablets pequenos ----- */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 6rem 0 4rem;
        min-height: auto;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-card {
        margin-bottom: 1rem;
    }

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

    .filter-btn {
        margin-bottom: 0.5rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .footer-logo,
    .footer-nav,
    .footer-social {
        margin-bottom: 1.5rem;
        text-align: center;
        justify-content: center;
    }

    /* Ajustes na trajetória */
    .journey-title {
        font-size: 3rem;
    }

    .journey-subtitle {
        font-size: 1.3rem;
    }

    .timeline-content {
        padding: 1.8rem;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-date {
        width: 120px;
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .journey-nav {
        flex-wrap: wrap;
    }

    .journey-nav-item {
        margin-bottom: 0.5rem;
    }

    /* Ajuste para carrossel em telas médias */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* ----- Dispositivos pequenos (smartphones) ----- */
@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .profile-image {
        max-width: 220px;
    }

    .tech-icons {
        width: 280px;
        height: 280px;
    }

    .tech-icon {
        width: 40px;
        height: 40px;
    }

    .tech-icon i {
        font-size: 1.5rem;
    }

    .skill-group {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Ajustes na trajetória para mobile */
    .journey-title {
        font-size: 2.5rem;
    }

    .journey-subtitle {
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 1.5rem;
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-dot {
        left: 20px;
    }

    .timeline-item {
        padding-top: 2.5rem;
        margin-bottom: 5rem;
    }

    .timeline-item:nth-child(odd) .timeline-date,
    .timeline-item:nth-child(even) .timeline-date {
        left: 20px !important;
        width: 100px;
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-items {
        grid-template-columns: 1fr;
    }

    .journey-cta .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Ajustes nos botões */
    .about-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .journey-btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   9. ACESSIBILIDADE
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Alto Contraste */
@media (prefers-contrast: high) {
    :root {
        --accent-primary: #00ffff;
        --accent-secondary: #00ff00;
    }
}

