/* ===== VARIÁVEIS DE CORES ===== */
:root {
    --color-black: #000000;
    --color-dark-gray: #121212;
    --color-medium-gray: #2a2a2a;
    --color-light-gray: #444444;
    --color-lighter-gray: #aaaaaa;
    --color-white: #ffffff;
    --color-off-white: #f0f0f0;
    --color-accent: #888888;
    --color-primary: #3498db;
    --color-secondary: #2ecc71;
}

/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-white);
    background-color: var(--color-black);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.8rem;
    color: var(--color-white);
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    color: var(--color-white);
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-white), var(--color-lighter-gray));
    border-radius: 2px;
}

h3 {
    font-size: 1.6rem;
    color: var(--color-off-white);
}

p {
    margin-bottom: 1rem;
    color: var(--color-lighter-gray);
    font-size: 1.1rem;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
    position: relative;
    z-index: 10;
}

/* ===== BACKGROUND SIMPLIFICADO - SEM FILTRO ESCURO ===== */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.background-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('background.jpg'); /* Imagem da pasta raiz */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4; /* Ajustado para menos escuro */
    filter: brightness(0.8);
}

/* ===== MODAIS ===== */
.logo-modal,
.experience-modal,
.portfolio-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.logo-modal.active,
.experience-modal.active,
.portfolio-modal.active {
    display: flex;
    opacity: 1;
}

.logo-modal-content,
.experience-modal-content,
.portfolio-modal-content {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 25px;
    position: relative;
    transform: scale(0.8);
    opacity: 0;
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-modal-content {
    max-width: 700px;
}

.logo-modal-close,
.experience-modal-close,
.portfolio-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--color-white);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.logo-modal-close:hover,
.experience-modal-close:hover,
.portfolio-modal-close:hover {
    color: var(--color-accent);
}

.logo-modal-content img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 5px solid var(--color-white);
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.experience-modal-body,
.portfolio-modal-body {
    text-align: left;
}

.experience-modal-title,
.portfolio-modal-title {
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 10px;
}

.experience-modal-date,
.portfolio-modal-subtitle {
    color: var(--color-lighter-gray);
    font-size: 1rem;
    margin-bottom: 20px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.experience-modal-description,
.portfolio-modal-description {
    color: var(--color-lighter-gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.experience-modal-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

.experience-modal-details ul {
    list-style-type: none;
}

.experience-modal-details li {
    color: var(--color-lighter-gray);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.experience-modal-details li::before {
    content: '✓';
    color: var(--color-secondary);
    position: absolute;
    left: 0;
}

.portfolio-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.portfolio-modal-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(52, 152, 219, 0.2);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: rgba(52, 152, 219, 0.3);
}

@keyframes modalSlideIn {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== SCROLL INDICATOR ===== */
.section-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 25;
    padding: 10px 0;
}

.scroll-down {
    color: var(--color-white);
    font-size: 1.5rem;
    text-decoration: none;
    animation: bounce 2s infinite;
    opacity: 0.8;
    transition: all 0.4s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.scroll-down:hover {
    opacity: 1;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease, visibility 1s ease;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--color-light-gray);
    border-top-color: var(--color-white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loading-text {
    font-size: 1.2rem;
    color: var(--color-white);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== NAVEGAÇÃO ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 12px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    padding: 8px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--color-accent);
    background-image: url('Arthur.png');
    background-size: cover;
    background-position: center;
    border: 2px solid var(--color-white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo:hover .logo-img {
    transform: scale(1.1);
    border-color: var(--color-accent);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-white);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.3rem;
    cursor: pointer;
    z-index: 1001;
}

/* ===== HERO SECTION ===== */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    justify-content: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 1200px;
    position: relative;
    z-index: 20;
    text-align: left;
}

.hero-content h1 {
    margin-bottom: 15px;
    font-size: 2.8rem;
}

.subtitle {
    margin-bottom: 25px;
}

.subtitle h2 {
    font-size: 1.5rem;
    color: var(--color-lighter-gray);
    margin-bottom: 10px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.7;
    color: var(--color-lighter-gray);
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    min-width: 180px;
}

.btn-primary {
    background: var(--color-white);
    color: var(--color-black);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.btn i {
    margin-right: 8px;
}

.btn-more-info,
.portfolio-view-details {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.btn-more-info:hover,
.portfolio-view-details:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.floating-stats {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: left;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-lighter-gray);
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 320px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.1));
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* ===== EXPERIENCES SECTION ===== */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-white), var(--color-accent));
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
}

.timeline-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: 50%;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: 50%;
}

.timeline-dot {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--color-white);
    border: 3px solid var(--color-black);
    z-index: 2;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: translateX(-50%) scale(1.2);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 22px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-8px);
}

.timeline-date {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* ===== SKILLS SECTION ===== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-8px);
}

.skill-category h3 {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
}

.skill-category h3 i {
    margin-right: 10px;
    color: var(--color-white);
}

.skill-item {
    margin-bottom: 18px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.skill-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--color-white), var(--color-accent));
}

/* ===== PORTFÓLIO SECTION COM CARROSSEL MELHORADO ===== */
.portfolio-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.portfolio-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    cursor: grab;
}

.portfolio-carousel-wrapper:active {
    cursor: grabbing;
}

.portfolio-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
    padding: 10px 5px;
    touch-action: pan-y;
}

.portfolio-item {
    flex: 0 0 calc(100% - 10px);
    min-width: 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-8px);
}

.portfolio-img {
    height: 180px;
    background: linear-gradient(45deg, var(--color-medium-gray), var(--color-dark-gray));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.portfolio-img i {
    font-size: 3.5rem;
    color: var(--color-light-gray);
    opacity: 0.7;
}

.portfolio-content {
    padding: 18px;
}

.portfolio-content h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.portfolio-content p {
    font-size: 1rem;
    margin-bottom: 12px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.carousel-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    gap: 10px;
    margin: 0 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-white);
    transform: scale(1.2);
}

/* ===== CERTIFICAÇÕES SECTION ===== */
#certifications {
    padding: 60px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

.certification-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.certification-card.large {
    grid-column: span 2;
}

.certification-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.certification-card:hover::before {
    transform: translateX(100%);
}

.certification-icon {
    font-size: 2.2rem;
    color: var(--color-white);
    margin-bottom: 12px;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.certification-card:hover .certification-icon {
    transform: scale(1.1);
}

.certification-content {
    flex-grow: 1;
}

.certification-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.certification-short {
    color: var(--color-lighter-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.certification-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact-container {
    display: block;
}

.contact-info {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 45px;
    width: 100%;
    max-width: 100%;
}

.contact-main {
    width: 100%;
}

.contact-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-lighter-gray);
}

.contact-details {
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    margin-bottom: 35px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-icon {
    margin-right: 12px;
    width: 36px;
    text-align: center;
}

.contact-icon i {
    font-size: 1.4rem;
    color: var(--color-white);
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-white);
}

.contact-text p {
    color: var(--color-lighter-gray);
    margin-bottom: 0;
    font-size: 1rem;
}

.references {
    margin-top: 0;
    padding: 22px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.references h3 {
    margin-bottom: 18px;
    color: var(--color-white);
}

.reference-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reference-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.reference-name {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-white);
    margin-bottom: 5px;
}

.reference-role {
    color: var(--color-lighter-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.reference-contact {
    color: var(--color-lighter-gray);
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
footer {
    background: rgba(0, 0, 0, 0.97);
    padding: 45px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
    width: 100%;
    margin-top: 35px;
}

.social-links {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--color-white);
    color: var(--color-black);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.copyright {
    text-align: center;
    color: var(--color-lighter-gray);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.copyright p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.footer-subtitle {
    font-size: 0.95rem;
    color: var(--color-accent);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Dispositivos móveis (até 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    section {
        padding: 40px 0;
        scroll-margin-top: 60px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    
    h2::after {
        width: 60px;
        bottom: -8px;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Background fix para mobile */
    .background-container::before {
        opacity: 0.3;
    }
    
    /* Navigation Mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 12px 0;
        display: block;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Hero Section Mobile */
    #hero {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
        padding-bottom: 60px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .subtitle h2 {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 1.05rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 24px;
    }
    
    .floating-stats {
        gap: 20px;
        justify-content: center;
    }
    
    .stat {
        text-align: center;
        min-width: 45%;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 20px;
    }
    
    .about-image img {
        max-width: 220px;
        border-radius: 50%;
    }
    
    /* Experiences Section Mobile */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 60px;
        justify-content: flex-start;
        margin-bottom: 30px;
    }
    
    .timeline-dot {
        left: 20px;
    }
    
    /* Skills Section Mobile */
    .skills-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Portfolio Section Mobile */
    .portfolio-carousel {
        gap: 15px;
    }
    
    .portfolio-item {
        flex: 0 0 calc(100% - 10px);
    }
    
    .portfolio-img {
        height: 150px;
    }
    
    .portfolio-img i {
        font-size: 2.5rem;
    }
    
    .carousel-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Certifications Section Mobile */
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .certification-card.large {
        grid-column: span 1;
    }
    
    .certification-card {
        padding: 18px;
        min-height: 160px;
    }
    
    /* Contact Section Mobile */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .references {
        padding: 18px;
    }
    
    /* Footer Mobile */
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    /* Scroll Indicator Mobile */
    .section-scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-down {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* Modais Mobile */
    .logo-modal-content,
    .experience-modal-content,
    .portfolio-modal-content {
        width: 95%;
        padding: 20px;
        margin: 10px;
    }
}

/* Tablets (768px a 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .portfolio-item {
        flex: 0 0 calc(50% - 12.5px);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image img {
        max-width: 280px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0 0 0 70px;
        justify-content: flex-start;
    }
    
    .timeline-dot {
        left: 25px;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .certification-card.large-card,
    .certification-card.wide-card {
        grid-column: span 2;
    }
    
    .certification-card.tall-card {
        grid-row: span 2;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Desktop (992px e acima) */
@media (min-width: 992px) {
    .portfolio-item {
        flex: 0 0 calc(33.333% - 16.666px);
    }
    
    .certifications-mosaic {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Corrigir problema do modal no mobile */
@media (max-width: 767px) {
    .portfolio-modal-content {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.8);
        width: 95%;
        max-width: 95%;
        max-height: 85vh;
        margin: 0;
        border-radius: 10px;
        animation: modalSlideInMobile 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    }
    
    @keyframes modalSlideInMobile {
        to {
            transform: translate(-50%, -50%) scale(1);
            opacity: 1;
        }
    }
    
    /* Garantir que o modal seja fácil de fechar no mobile */
    .portfolio-modal-close {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 2002;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Melhorar a legibilidade do conteúdo no modal mobile */
    .portfolio-modal-body {
        padding: 15px;
        font-size: 16px;
    }
    
    .portfolio-modal-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .portfolio-modal-description {
        font-size: 1rem;
        line-height: 1.5;
    }
}
