/* ===== VARIÁVEIS CSS - TEMA ESCURO (PADRÃO) ===== */
:root {
    --primary-color: #818cf8;
    --primary-dark: #6366f1;
    --secondary-color: #a78bfa;
    --text-dark: #f9fafb;
    --text-light: #d1d5db;
    --bg-white: #111827;
    --bg-light: #1f2937;
    --bg-gray: #374151;
    --border-color: #4b5563;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.section {
    padding: 5rem 0;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

/* ===== LOGO ===== */
.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem;
    border-radius: 1rem;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo__container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.logo__icon {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 50%,
        transparent 70%);
    border-radius: 50%;
    animation: logo-pulse 2s ease-in-out infinite;
    z-index: 0;
}

.logo__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, 
        rgba(167, 139, 250, 0.2) 0%, 
        transparent 60%);
    border-radius: 50%;
    animation: logo-pulse 2s ease-in-out infinite 0.5s;
    z-index: 0;
}

.logo__symbol {
    width: 50px;
    height: 50px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    position: relative;
    z-index: 1;
    animation: logo-rotate 8s linear infinite;
}

.logo__symbol polygon,
.logo__symbol line {
    transition: all 0.4s ease;
}

.logo__glow {
    animation: logo-glow 3s ease-in-out infinite;
}

.logo:hover .logo__symbol {
    transform: scale(1.15) rotateY(15deg) rotateX(5deg);
    filter: drop-shadow(0 8px 25px rgba(99, 102, 241, 0.6)) 
            drop-shadow(0 0 30px rgba(139, 92, 246, 0.5));
    animation: logo-rotate-hover 0.6s ease;
}

.logo:hover .logo__icon::before,
.logo:hover .logo__icon::after {
    animation: logo-pulse-fast 1s ease-in-out infinite;
}

.logo:hover .logo__symbol polygon {
    opacity: 1;
    filter: brightness(1.3);
}

.logo__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.logo__text-main {
    font-size: 1.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: text-shimmer 3s ease-in-out infinite;
    letter-spacing: -0.5px;
    position: relative;
}

.logo__text-sub {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: -2px;
    transition: all 0.3s ease;
}

.logo:hover .logo__text-main {
    animation: text-shimmer 1.5s ease-in-out infinite;
    transform: scale(1.05);
}

.logo:hover .logo__text-sub {
    color: var(--primary-color);
    transform: translateX(2px);
}

@keyframes logo-rotate {
    0% {
        transform: perspective(200px) rotateY(0deg) rotateX(0deg);
    }
    25% {
        transform: perspective(200px) rotateY(5deg) rotateX(2deg);
    }
    50% {
        transform: perspective(200px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: perspective(200px) rotateY(-5deg) rotateX(-2deg);
    }
    100% {
        transform: perspective(200px) rotateY(0deg) rotateX(0deg);
    }
}

@keyframes logo-rotate-hover {
    0% {
        transform: scale(1) rotateY(0deg) rotateX(0deg);
    }
    50% {
        transform: scale(1.2) rotateY(20deg) rotateX(10deg);
    }
    100% {
        transform: scale(1.15) rotateY(15deg) rotateX(5deg);
    }
}

@keyframes logo-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.6;
    }
}

@keyframes logo-pulse-fast {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.8;
    }
}

@keyframes logo-glow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.1);
    }
}

@keyframes text-shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.nav__menu {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.nav__item {
    position: relative;
}

.nav__item:nth-child(1) .nav__link { animation-delay: 0.1s; }
.nav__item:nth-child(2) .nav__link { animation-delay: 0.2s; }
.nav__item:nth-child(3) .nav__link { animation-delay: 0.3s; }
.nav__item:nth-child(4) .nav__link { animation-delay: 0.4s; }

.nav__link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    display: block;
    overflow: visible;
    z-index: 1;
}

.nav__link-icon {
    display: none;
}

.nav__link-text {
    display: inline;
}

.nav__social-mobile {
    display: none;
}

.nav__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15), 
        rgba(139, 92, 246, 0.15),
        rgba(167, 139, 250, 0.15));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 1rem;
    transform: scale(0.8);
    z-index: -1;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color),
        #a78bfa,
        var(--secondary-color),
        var(--primary-color));
    background-size: 200% 100%;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.6),
                0 0 30px rgba(139, 92, 246, 0.4);
    animation: gradient-shift 3s ease infinite;
}

.nav__link:hover {
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 2px 10px rgba(99, 102, 241, 0.3);
}

.nav__link:hover::before {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav__link:hover::after {
    width: 80%;
    animation: gradient-shift 1s ease infinite, line-expand 0.5s ease;
}

/* Efeito de partículas no hover */
.nav__link:hover {
    position: relative;
}

.nav__link:hover::before {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2), 
        rgba(139, 92, 246, 0.2),
        rgba(167, 139, 250, 0.2));
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.3),
        0 0 40px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Link ativo */
.nav__link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.12), 
        rgba(139, 92, 246, 0.12));
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav__link.active::after {
    width: 80%;
    opacity: 1;
    animation: gradient-shift 2s ease infinite;
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes line-expand {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 80%;
        opacity: 1;
    }
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1), 
        rgba(139, 92, 246, 0.1));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav__toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.nav__toggle:hover::before {
    opacity: 1;
}

.nav__toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav__toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 5px rgba(99, 102, 241, 0.3);
}

.nav__toggle:hover span {
    background: white;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

.nav__toggle.active {
    background: linear-gradient(135deg, 
        var(--primary-color), 
        var(--secondary-color));
}

.nav__toggle.active span {
    background: white;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 10rem 0 6rem;
    margin-top: 75px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    min-height: calc(100vh - 75px);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content {
    animation: fadeInUp 0.8s ease;
    position: relative;
    text-align: left;
}

.hero__content::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.hero__content::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: float-glow 6s ease-in-out infinite;
    filter: blur(40px);
}

@keyframes float-glow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 0.8;
    }
}

.hero__title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
    animation: titleSlideIn 1s ease 0.3s backwards;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

.hero__title::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    opacity: 0.3;
    animation: slideIn 0.8s ease 0.5s backwards;
}

@keyframes slideIn {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        height: 100%;
        opacity: 0.3;
    }
}

.hero__title--highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), #ec4899, var(--secondary-color), var(--primary-color));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    position: relative;
    display: inline-block;
}

.hero__title--highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), transparent);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease 1s backwards;
    opacity: 0.5;
}

@keyframes underlineExpand {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 0.5;
    }
}

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

.hero__description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.4s backwards;
    max-width: 90%;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero__description::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
    animation: expandLine 1s ease 0.8s backwards;
}

.hero__image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.4s backwards;
}

.hero__image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: imageGlow 4s ease-in-out infinite;
    filter: blur(30px);
}

@keyframes imageGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero__image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2rem;
    box-shadow: 
        0 25px 70px rgba(99, 102, 241, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.hero__img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.hero__img:hover::after {
    opacity: 1;
}

.hero__img:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 35px 90px rgba(99, 102, 241, 0.4),
        0 15px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
}

.hero__img {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 25px 70px rgba(99, 102, 241, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero__img:hover {
    box-shadow: 
        0 35px 90px rgba(99, 102, 241, 0.5),
        0 15px 40px rgba(139, 92, 246, 0.3);
}


/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.4),
        0 2px 8px rgba(99, 102, 241, 0.2);
    position: relative;
    overflow: hidden;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    animation: buttonSlideIn 0.8s ease 0.6s backwards;
    z-index: 1;
}

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

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

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

.btn--primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.5),
        0 4px 15px rgba(139, 92, 246, 0.3),
        0 0 30px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    border-color: rgba(255, 255, 255, 0.3);
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 12px 35px rgba(99, 102, 241, 0.5),
            0 4px 15px rgba(139, 92, 246, 0.3),
            0 0 30px rgba(99, 102, 241, 0.4);
    }
    50% {
        box-shadow: 
            0 12px 35px rgba(99, 102, 241, 0.7),
            0 4px 15px rgba(139, 92, 246, 0.5),
            0 0 40px rgba(99, 102, 241, 0.6);
    }
}

.btn--secondary {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

.btn--secondary:hover {
    background-color: var(--bg-gray);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn--large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ===== SECTION TITLES ===== */
.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    display: block;
    width: 100%;
}

#sobre .section__title,
#projetos .section__title {
    background: linear-gradient(135deg, 
        #f9fafb 0%, 
        #818cf8 30%,
        #a78bfa 60%,
        #ec4899 90%,
        #f9fafb 100%);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 5s ease infinite;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    position: relative;
}

#projetos .section__title {
    animation: titleGradient 4s ease infinite, titlePulse 3s ease-in-out infinite;
}

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

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

.section__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%,
        #ec4899 100%);
    background-size: 200% 100%;
    border-radius: 2px;
    animation: expandLine 1s ease forwards, lineGradient 3s ease infinite;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
}

@keyframes lineGradient {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 0 40px rgba(236, 72, 153, 0.4);
    }
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

/* ===== SOBRE SECTION ===== */
.sobre {
    background: linear-gradient(135deg, 
        #1a1f3a 0%, 
        #2d1b4e 25%,
        #1f2937 50%, 
        #2d1b4e 75%,
        #1a1f3a 100%);
    background-size: 400% 400%;
    animation: sobreGradientShift 15s ease infinite;
    position: relative;
    overflow: hidden;
}

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

.sobre::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(139, 92, 246, 0.2) 30%,
        rgba(236, 72, 153, 0.15) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    filter: blur(40px);
}

.sobre::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(236, 72, 153, 0.2) 30%,
        rgba(99, 102, 241, 0.15) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    filter: blur(40px);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.sobre__content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.sobre__content::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
    filter: blur(30px);
    z-index: 0;
}

.sobre__content::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
    filter: blur(30px);
    z-index: 0;
}

.sobre__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: start;
}

.sobre__text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
}

.sobre__image {
    position: relative;
    animation: fadeInRight 0.8s ease 0.3s backwards;
    display: flex;
    align-items: center;
    height: 100%;
}

.sobre__code-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.4),
        0 8px 24px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(236, 72, 153, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 100%;
    height: fit-content;
    border: 3px solid transparent;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2), 
        rgba(139, 92, 246, 0.2),
        rgba(236, 72, 153, 0.1)) padding-box,
        linear-gradient(135deg, 
        #6366f1, 
        #8b5cf6,
        #ec4899,
        #8b5cf6,
        #6366f1) border-box;
    background-size: 200% 200%;
    animation: borderGradient 5s ease infinite;
}

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

.sobre__code-wrapper:hover {
    transform: translateY(-15px) scale(1.03) rotate(1deg);
    box-shadow: 
        0 40px 100px rgba(99, 102, 241, 0.5),
        0 20px 50px rgba(139, 92, 246, 0.4),
        0 0 60px rgba(236, 72, 153, 0.3);
    animation: borderGradient 2s ease infinite;
}

.sobre__code-img {
    width: 100%;
    height: auto;
    min-height: 500px;
    max-height: 600px;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: var(--transition);
}

.sobre__code-wrapper:hover .sobre__code-img {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.05);
}

.sobre__code-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(139, 92, 246, 0.25) 50%,
        rgba(236, 72, 153, 0.2) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    animation: overlayGradient 4s ease infinite;
}

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

.sobre__code-wrapper:hover .sobre__code-overlay {
    opacity: 0.8;
    animation: overlayGradient 2s ease infinite;
}

.sobre__code-wrapper {
    box-shadow: 
        0 20px 60px rgba(99, 102, 241, 0.3),
        0 8px 24px rgba(0, 0, 0, 0.5);
}

.sobre__code-wrapper:hover {
    box-shadow: 
        0 30px 80px rgba(99, 102, 241, 0.4),
        0 12px 32px rgba(139, 92, 246, 0.3);
}

.sobre__code-img {
    filter: brightness(0.8) contrast(1.2);
}

.sobre__code-wrapper:hover .sobre__code-img {
    filter: brightness(0.9) contrast(1.3);
}

.sobre__paragraph {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.9;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.5rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.3),
        0 4px 16px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.sobre__paragraph::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, 
        #6366f1 0%, 
        #8b5cf6 50%,
        #ec4899 100%);
    opacity: 1;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
        opacity: 1;
    }
    50% {
        box-shadow: 0 0 30px rgba(139, 92, 246, 0.8), 0 0 40px rgba(236, 72, 153, 0.4);
        opacity: 0.9;
    }
}

.sobre__paragraph::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.2) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: rotate 20s linear infinite;
}

.sobre__paragraph:hover::after {
    opacity: 1;
}

.sobre__paragraph:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 50px rgba(99, 102, 241, 0.4),
        0 10px 30px rgba(139, 92, 246, 0.3),
        0 0 40px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.25) 0%, 
        rgba(139, 92, 246, 0.2) 50%,
        rgba(236, 72, 153, 0.15) 100%);
}

.sobre__paragraph:hover::before {
    width: 6px;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.8);
}

.sobre__paragraph:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s backwards;
}

.sobre__paragraph:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

.sobre__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.5rem;
    border: 2px solid transparent;
    background-clip: padding-box;
    box-shadow: 
        0 8px 32px rgba(99, 102, 241, 0.3),
        0 4px 16px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease 0.5s backwards;
    position: relative;
    overflow: hidden;
}

.sobre__skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 50%,
        #ec4899 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.sobre__skills::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.15) 0%, 
        transparent 70%);
    opacity: 0.5;
    animation: rotate 15s linear infinite;
}

.skill__tag {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 12px rgba(99, 102, 241, 0.3),
        0 2px 6px rgba(139, 92, 246, 0.2);
    z-index: 1;
}

.skill__tag:nth-child(1) {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.skill__tag:nth-child(2) {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.skill__tag:nth-child(3) {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
}

.skill__tag:nth-child(4) {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.skill__tag:nth-child(5) {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.skill__tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%,
        #ec4899 100%);
    background-size: 200% 100%;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    animation: skillGradient 3s ease infinite;
}

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

.skill__tag::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: 0;
}

.skill__tag:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: rgba(99, 102, 241, 0.8);
    box-shadow: 
        0 8px 20px rgba(99, 102, 241, 0.5),
        0 4px 12px rgba(139, 92, 246, 0.4),
        0 0 20px rgba(236, 72, 153, 0.3);
    color: white;
}

.skill__tag:hover::before {
    left: 0;
    animation: skillGradient 1.5s ease infinite;
}
}

.skill__tag:hover::after {
    width: 300px;
    height: 300px;
}

.skill__tag:hover {
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3);
}

/* ===== PROJETOS SECTION ===== */
.projetos {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        #111827 0%, 
        #1a1f3a 25%,
        #2d1b4e 50%,
        #1a1f3a 75%,
        #111827 100%);
    background-size: 400% 400%;
    animation: projetosGradientShift 20s ease infinite;
    padding: 6rem 0;
}

.projetos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: projetosBackgroundPulse 8s ease-in-out infinite;
}

@keyframes projetosBackgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

.projetos .floating-orb-1 {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.25) 0%, 
        rgba(139, 92, 246, 0.2) 30%,
        rgba(236, 72, 153, 0.15) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.projetos .floating-orb-2 {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.25) 0%, 
        rgba(236, 72, 153, 0.2) 30%,
        rgba(99, 102, 241, 0.15) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.projetos .container {
    position: relative;
    z-index: 1;
}

.projetos .container::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, 
        rgba(236, 72, 153, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    filter: blur(25px);
    z-index: 0;
}

.projetos .container::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.3) 0%, 
        transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    filter: blur(25px);
    z-index: 0;
}

.projetos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

.projetos .section__subtitle {
    animation: fadeInUp 0.8s ease 0.3s backwards;
    position: relative;
}

.projetos .section__subtitle::after {
    content: '✨';
    display: inline-block;
    margin-left: 0.5rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.3) rotate(180deg);
        opacity: 0.7;
    }
}

.projeto__card {
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.95) 0%, 
        rgba(55, 65, 81, 0.9) 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.3),
        0 4px 15px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: fadeInUp 0.6s ease backwards, cardFloat 6s ease-in-out infinite;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
    transform-style: preserve-3d;
}

.projeto__card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        #6366f1 0%, 
        #8b5cf6 25%,
        #ec4899 50%,
        #8b5cf6 75%,
        #6366f1 100%);
    background-size: 300% 300%;
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderGlow 3s ease infinite;
}

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

.projeto__card:hover::before {
    opacity: 1;
    animation: borderGlow 1.5s ease infinite;
}

.projeto__card:nth-child(1) { 
    animation-delay: 0.1s, 0s;
}
.projeto__card:nth-child(2) { 
    animation-delay: 0.2s, 0.5s;
}
.projeto__card:nth-child(3) { 
    animation-delay: 0.3s, 1s;
}
.projeto__card:nth-child(4) { 
    animation-delay: 0.4s, 1.5s;
}
.projeto__card:nth-child(5) { 
    animation-delay: 0.5s, 2s;
}
.projeto__card:nth-child(6) { 
    animation-delay: 0.6s, 2.5s;
}

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

.projeto__card .card-glow {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 50%,
        rgba(236, 72, 153, 0.1) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: all 0.5s ease;
    border-radius: 1.5rem;
    pointer-events: none;
    z-index: 0;
    animation: cardGradient 4s ease infinite;
}

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

.projeto__card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.2) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 50%;
    animation: rotate 15s linear infinite;
    z-index: 0;
}

.projeto__card:hover {
    transform: translateY(-20px) scale(1.05) rotateY(5deg) rotateX(2deg);
    box-shadow: 
        0 30px 60px rgba(99, 102, 241, 0.6),
        0 15px 35px rgba(139, 92, 246, 0.5),
        0 0 60px rgba(236, 72, 153, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: cardFloat 3s ease-in-out infinite, cardPulse 2s ease-in-out infinite;
    border-color: rgba(99, 102, 241, 0.5);
}

.projeto__card:hover .card-glow {
    opacity: 1;
    animation: cardGradient 2s ease infinite;
}

@keyframes cardPulse {
    0%, 100% {
        box-shadow: 
            0 30px 60px rgba(99, 102, 241, 0.5),
            0 15px 35px rgba(139, 92, 246, 0.4),
            0 0 50px rgba(236, 72, 153, 0.3);
    }
    50% {
        box-shadow: 
            0 35px 70px rgba(99, 102, 241, 0.6),
            0 20px 45px rgba(139, 92, 246, 0.5),
            0 0 60px rgba(236, 72, 153, 0.4);
    }
}

.projeto__card:hover::before {
    opacity: 1;
    animation: cardGradient 2s ease infinite;
}

.projeto__card:hover::after {
    opacity: 0.6;
}

.projeto__image {
    position: relative;
    overflow: hidden;
    height: 250px;
    z-index: 1;
    cursor: pointer;
    border-radius: 1rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.05) 0%, 
        rgba(139, 92, 246, 0.03) 100%);
    transition: all 0.6s ease;
}

.projeto__image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(139, 92, 246, 0.1) 50%,
        rgba(236, 72, 153, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

.projeto__card:hover .projeto__image::before {
    opacity: 1;
}

.projeto__image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.8s ease;
    z-index: 3;
    pointer-events: none;
}

.projeto__card:hover .projeto__image::after {
    left: 100%;
}

.projeto__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: brightness(0.95) contrast(1.05) saturate(1.1);
    transform: scale(1);
    border-radius: 1rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    display: block;
}

.projeto__card:hover .projeto__image img {
    transform: scale(1.1) rotate(0.5deg);
    filter: brightness(1.1) contrast(1.15) saturate(1.2);
    box-shadow: 
        0 15px 40px rgba(99, 102, 241, 0.4),
        0 8px 20px rgba(139, 92, 246, 0.3),
        0 0 50px rgba(236, 72, 153, 0.2);
}

.projeto__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.95) 0%, 
        rgba(139, 92, 246, 0.9) 50%,
        rgba(236, 72, 153, 0.85) 100%);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    z-index: 3;
    animation: overlayGradientMove 4s ease infinite;
}

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

.projeto__card:hover .projeto__overlay,
.projeto__overlay:hover {
    opacity: 1;
    animation: overlayGradientMove 2s ease infinite;
    backdrop-filter: blur(5px);
    pointer-events: auto;
}

.projeto__link {
    color: white;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%, 
        rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.75rem;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    z-index: 10;
    cursor: pointer;
}

.projeto__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.5s ease;
}

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

.projeto__link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35) 0%, 
        rgba(255, 255, 255, 0.25) 100%);
    transform: scale(1.1) translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.projeto__overlay a {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
    display: inline-block;
}

.projeto__card:hover .projeto__overlay,
.projeto__card:hover .projeto__overlay a {
    pointer-events: auto !important;
}

.projeto__card {
    cursor: pointer;
}

.projeto__content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.9) 0%, 
        rgba(55, 65, 81, 0.8) 100%);
    transition: all 0.4s ease;
}

.projeto__card:hover .projeto__content {
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.95) 0%, 
        rgba(55, 65, 81, 0.9) 100%);
}

.projeto__title {
    font-size: 1.25rem;
    background: linear-gradient(135deg, 
        #f9fafb 0%, 
        #818cf8 50%,
        #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: titleGradientShift 3s ease infinite;
    margin-bottom: 0.75rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.projeto__title::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color));
    transition: width 0.4s ease;
}

.projeto__card:hover .projeto__title::before {
    width: 100%;
}

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

.projeto__card:hover .projeto__title {
    animation: titleGradientShift 1.5s ease infinite;
}
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.projeto__description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.projeto__card:hover .projeto__description {
    color: var(--text-dark);
}

/* ===== TEMPLATES SECTION ===== */
.templates {
    background-color: var(--bg-light);
}

.templates__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.template__card {
    background-color: white;
    padding: 2.5rem 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease backwards;
    position: relative;
    overflow: hidden;
}

.template__card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s;
}

.template__card:hover::before {
    top: 100%;
    left: 100%;
}

.template__card:nth-child(1) { animation-delay: 0.1s; }
.template__card:nth-child(2) { animation-delay: 0.2s; }
.template__card:nth-child(3) { animation-delay: 0.3s; }
.template__card:nth-child(4) { animation-delay: 0.4s; }

.template__card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.template__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.template__card:hover .template__icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.4));
}

.template__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.template__description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ===== CONTATO SECTION ===== */
.contato {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        #111827 0%, 
        #1a1f3a 25%,
        #2d1b4e 50%,
        #1a1f3a 75%,
        #111827 100%);
    background-size: 400% 400%;
    animation: contatoGradientShift 20s ease infinite;
    padding: 6rem 0;
}

.contato::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: contatoBackgroundPulse 8s ease-in-out infinite;
}

@keyframes contatoBackgroundPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

.contato .floating-orb-1 {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 30%,
        rgba(236, 72, 153, 0.1) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 12s ease-in-out infinite;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.contato .floating-orb-2 {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(236, 72, 153, 0.15) 30%,
        rgba(99, 102, 241, 0.1) 60%,
        transparent 80%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.contato .container {
    position: relative;
    z-index: 1;
}

.contato__content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contato .section__subtitle {
    animation: fadeInUp 0.8s ease 0.3s backwards;
    position: relative;
}

.contato .section__subtitle::after {
    content: '💬';
    display: inline-block;
    margin-left: 0.5rem;
    animation: emojiBounce 2s ease-in-out infinite;
}

@keyframes emojiBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

.contato__info {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contato__item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.95) 0%, 
        rgba(55, 65, 81, 0.9) 100%);
    border-radius: 1.5rem;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.25),
        0 4px 12px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease backwards, contatoItemFloat 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

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

.contato__item:nth-child(1) {
    animation-delay: 0.1s;
}

.contato__item:nth-child(2) {
    animation-delay: 0.2s;
}

.contato__item:nth-child(3) {
    animation-delay: 0.3s;
}

.contato__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%,
        #ec4899 100%);
    transform: scaleY(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 1.5rem 0 0 1.5rem;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    pointer-events: none;
    z-index: 0;
}

.contato__item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(99, 102, 241, 0.2) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: rotate 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

.contato__item:hover::before {
    transform: scaleY(1);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
}

.contato__item:hover::after {
    opacity: 0.6;
}

.contato__item:hover {
    transform: translateY(-12px) translateX(8px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(99, 102, 241, 0.5),
        0 15px 30px rgba(139, 92, 246, 0.4),
        0 0 60px rgba(236, 72, 153, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(31, 41, 55, 0.98) 0%, 
        rgba(55, 65, 81, 0.95) 100%);
    border-color: rgba(99, 102, 241, 0.5);
    animation: contatoItemFloat 3s ease-in-out infinite, contatoItemPulse 2s ease-in-out infinite;
}

@keyframes contatoItemPulse {
    0%, 100% {
        box-shadow: 
            0 25px 50px rgba(99, 102, 241, 0.5),
            0 15px 30px rgba(139, 92, 246, 0.4),
            0 0 60px rgba(236, 72, 153, 0.3);
    }
    50% {
        box-shadow: 
            0 30px 60px rgba(99, 102, 241, 0.6),
            0 20px 40px rgba(139, 92, 246, 0.5),
            0 0 80px rgba(236, 72, 153, 0.4);
    }
}

.contato__icon {
    font-size: 3rem;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.4));
    animation: iconFloat 3s ease-in-out infinite;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contato__item:nth-child(1) .contato__icon {
    animation-delay: 0s;
}

.contato__item:nth-child(2) .contato__icon {
    animation-delay: 0.5s;
}

.contato__item:nth-child(3) .contato__icon {
    animation-delay: 1s;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(5deg);
    }
}

.contato__item:hover .contato__icon {
    transform: scale(1.15) rotate(10deg) translateY(-5px);
    filter: drop-shadow(0 8px 20px rgba(99, 102, 241, 0.7));
    animation: iconBounce 0.6s ease;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.4) 0%, 
        rgba(139, 92, 246, 0.3) 100%);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.5),
        0 0 30px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes iconBounce {
    0%, 100% {
        transform: scale(1.15) rotate(10deg) translateY(-5px);
    }
    50% {
        transform: scale(1.25) rotate(15deg) translateY(-8px);
    }
}

.contato__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    background: linear-gradient(135deg, 
        #f9fafb 0%, 
        #818cf8 50%,
        #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: titleGradientShift 3s ease infinite;
    position: relative;
    z-index: 1;
}

.contato__item:hover .contato__title {
    animation: titleGradientShift 1.5s ease infinite;
}

.contato__link {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 10;
    display: inline-block;
    text-decoration: none;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    cursor: pointer;
    pointer-events: auto;
}

.contato__link-text-mobile {
    display: none;
}

.contato__link-text-desktop {
    display: inline;
}

.contato__item > div {
    position: relative;
    z-index: 5;
}

.contato__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--primary-color), 
        var(--secondary-color));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.contato__link:hover {
    color: var(--secondary-color);
    transform: translateX(8px) scale(1.05);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.contato__link:hover::after {
    width: 100%;
}

.contato__cta {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease 0.4s backwards;
    margin-top: 2rem;
}

.contato__cta .btn {
    position: relative;
    overflow: hidden;
}

.contato__cta .btn::before {
    content: '✨';
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s ease;
}

.contato__cta .btn:hover::before {
    left: 20px;
    opacity: 1;
}

.contato__cta .btn::after {
    content: '✨';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.4s ease;
}

.contato__cta .btn:hover::after {
    right: 20px;
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, 
        #030712 0%, 
        #0a0f1a 20%,
        #111827 40%,
        #1a1f3a 60%,
        #111827 80%,
        #0a0f1a 100%);
    background-size: 100% 400%;
    animation: footerGradientShift 20s ease infinite;
    color: white;
    padding: 4rem 0 3rem;
    position: relative;
    overflow: hidden;
    border-top: 2px solid transparent;
    background-image: 
        linear-gradient(180deg, 
            #030712 0%, 
            #0a0f1a 20%,
            #111827 40%,
            #1a1f3a 60%,
            #111827 80%,
            #0a0f1a 100%),
        linear-gradient(90deg, 
            transparent 0%,
            rgba(99, 102, 241, 0.1) 25%,
            rgba(139, 92, 246, 0.1) 50%,
            rgba(236, 72, 153, 0.1) 75%,
            transparent 100%);
}

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

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.8) 20%,
        rgba(139, 92, 246, 0.8) 40%,
        rgba(236, 72, 153, 0.8) 60%,
        rgba(139, 92, 246, 0.8) 80%,
        transparent 100%);
    background-size: 300% 100%;
    animation: footerLineMove 4s ease infinite;
    box-shadow: 
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3);
}

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

.footer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    animation: footerParticles 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes footerParticles {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 1;
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
        opacity: 0.8;
    }
    66% {
        transform: translate(-30px, 30px) rotate(240deg);
        opacity: 0.9;
    }
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    padding: 1rem 0;
}

.footer__content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(99, 102, 241, 0.6) 50%,
        transparent 100%);
    border-radius: 2px;
    animation: footerDividerPulse 3s ease infinite;
}

@keyframes footerDividerPulse {
    0%, 100% {
        width: 100px;
        opacity: 0.6;
    }
    50% {
        width: 150px;
        opacity: 1;
    }
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    transition: all 0.4s ease;
    position: relative;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.footer__text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.footer__text:hover::before {
    opacity: 1;
}

.footer__text:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 
        0 8px 20px rgba(99, 102, 241, 0.3),
        0 0 30px rgba(139, 92, 246, 0.2);
}

.footer__text p {
    margin: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer__social {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 15px rgba(99, 102, 241, 0.1);
}

.footer__social-link {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.2) 0%, 
        rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(99, 102, 241, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    pointer-events: auto;
    text-decoration: none;
    box-shadow: 
        0 4px 15px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer__social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.4) 0%, 
        rgba(139, 92, 246, 0.3) 50%,
        rgba(236, 72, 153, 0.25) 100%);
    border-radius: 50%;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
}

.footer__social-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: footerIconRotate 8s linear infinite;
}

@keyframes footerIconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.footer__social-link:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.footer__social-link:hover::after {
    opacity: 1;
}

.footer__social-link:hover {
    color: white;
    transform: translateY(-8px) scale(1.15) rotate(5deg);
    border-color: rgba(99, 102, 241, 0.7);
    box-shadow: 
        0 12px 30px rgba(99, 102, 241, 0.5),
        0 0 50px rgba(139, 92, 246, 0.4),
        0 0 70px rgba(236, 72, 153, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.footer__social-link svg {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer__social-link:hover svg {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.5));
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.4),
        0 4px 12px rgba(139, 92, 246, 0.3);
    z-index: 998;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-whatsapp 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.5),
        0 6px 18px rgba(139, 92, 246, 0.4);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(99, 102, 241, 0.4),
            0 4px 12px rgba(139, 92, 246, 0.3);
    }
    50% {
        box-shadow: 
            0 8px 30px rgba(99, 102, 241, 0.6),
            0 4px 15px rgba(139, 92, 246, 0.5);
    }
}

.whatsapp-float {
    box-shadow: 
        0 8px 25px rgba(99, 102, 241, 0.5),
        0 4px 12px rgba(139, 92, 246, 0.4);
}

.whatsapp-float:hover {
    box-shadow: 
        0 12px 35px rgba(99, 102, 241, 0.6),
        0 6px 18px rgba(139, 92, 246, 0.5);
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    animation: bounceIn 0.8s ease forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    50% {
        transform: translateY(-5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== RESPONSIVIDADE ===== */
@media screen and (max-width: 968px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__content::before {
        left: 50%;
        transform: translateX(-50%);
        top: 20%;
    }

    .hero__content::after {
        right: 50%;
        transform: translateX(50%);
        top: -30px;
    }

    .hero__title {
        font-size: 2.5rem;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__title::before {
        left: 50%;
        transform: translateX(-50%);
        width: 4px;
    }

    .hero__description {
        max-width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .hero__description::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hero__image-wrapper {
        height: 400px;
        margin: 0 auto;
    }

    .hero__image {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .projetos__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .templates__grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 968px) {
    .sobre__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        align-items: stretch;
    }

    .sobre__text {
        padding-top: 0;
    }

    .sobre__code-img {
        min-height: 400px;
        max-height: 500px;
    }
}

@media screen and (max-width: 768px) {
    .logo__icon {
        width: 40px;
        height: 40px;
    }

    .logo__symbol {
        width: 40px;
        height: 40px;
    }

    .logo__icon::before {
        width: 50px;
        height: 50px;
    }

    .logo__icon::after {
        width: 60px;
        height: 60px;
    }

    .logo__text-main {
        font-size: 1rem;
    }

    .logo__text-sub {
        font-size: 0.6rem;
    }

    .logo__container {
        gap: 0.5rem;
    }

    .nav__menu {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: linear-gradient(180deg, 
            #0f172a 0%, 
            #1e293b 50%,
            #0f172a 100%);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 2rem 1.5rem;
        gap: 1rem;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 
            inset 0 0 200px rgba(99, 102, 241, 0.05),
            0 -10px 50px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        overflow-y: auto;
    }

    .nav__menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, 
            transparent 0%,
            rgba(99, 102, 241, 0.6) 25%,
            rgba(139, 92, 246, 0.6) 50%,
            rgba(236, 72, 153, 0.6) 75%,
            transparent 100%);
        background-size: 200% 100%;
        animation: menuTopLine 3s ease infinite;
    }

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

    .nav__menu.active {
        left: 0;
    }

    .nav__menu.active .nav__item {
        animation: slideInFromLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        opacity: 0;
    }

    @keyframes slideInFromLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav__menu.active .nav__item:nth-child(1) { animation-delay: 0.1s; }
    .nav__menu.active .nav__item:nth-child(2) { animation-delay: 0.2s; }
    .nav__menu.active .nav__item:nth-child(3) { animation-delay: 0.3s; }
    .nav__menu.active .nav__item:nth-child(4) { animation-delay: 0.4s; }
    .nav__menu.active .nav__social-mobile { 
        animation: slideInFromLeft 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s forwards;
        opacity: 0;
    }

    .nav__link {
        display: flex;
        align-items: center;
        gap: 1.25rem;
        width: 100%;
        padding: 1.5rem 1.75rem;
        border-radius: 1.25rem;
        background: rgba(31, 41, 55, 0.6);
        border: 1px solid rgba(99, 102, 241, 0.15);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav__link::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, 
            rgba(99, 102, 241, 0.8) 0%, 
            rgba(139, 92, 246, 0.8) 50%,
            rgba(236, 72, 153, 0.8) 100%);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        border-radius: 0 4px 4px 0;
    }

    .nav__link:hover::after,
    .nav__link.active::after {
        transform: scaleY(1);
    }

    .nav__link-icon {
        display: flex;
        font-size: 1.75rem;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.15) 0%, 
            rgba(139, 92, 246, 0.1) 100%);
        border-radius: 1rem;
        border: 1.5px solid rgba(99, 102, 241, 0.25);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        flex-shrink: 0;
    }

    .nav__link-text {
        display: inline;
        font-size: 1.15rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        transition: color 0.3s ease;
    }

    .nav__link:hover {
        background: rgba(31, 41, 55, 0.8);
        border-color: rgba(99, 102, 241, 0.3);
        transform: translateX(8px);
        box-shadow: 
            0 10px 30px rgba(99, 102, 241, 0.2),
            0 0 40px rgba(139, 92, 246, 0.1);
    }

    .nav__link:hover .nav__link-icon {
        transform: scale(1.1) rotate(-5deg);
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.25) 0%, 
            rgba(139, 92, 246, 0.2) 100%);
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 
            0 6px 20px rgba(99, 102, 241, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .nav__link:hover .nav__link-text {
        color: rgba(255, 255, 255, 1);
    }

    .nav__social-mobile {
        display: block;
        margin-top: 3rem;
        padding-top: 2.5rem;
        border-top: 1px solid rgba(99, 102, 241, 0.2);
    }

    .nav__social-title {
        text-align: center;
        color: rgba(255, 255, 255, 0.5);
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 3px;
        margin-bottom: 1.75rem;
        position: relative;
    }

    .nav__social-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent 0%,
            rgba(99, 102, 241, 0.6) 50%,
            transparent 100%);
    }

    .nav__social-links {
        display: flex;
        justify-content: center;
        gap: 1.25rem;
        flex-wrap: wrap;
    }

    .nav__social-link {
        width: 55px;
        height: 55px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(31, 41, 55, 0.6);
        border: 2px solid rgba(99, 102, 241, 0.2);
        color: rgba(255, 255, 255, 0.8);
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
        pointer-events: auto;
        z-index: 10;
        text-decoration: none;
    }

    .nav__social-link::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, 
            rgba(99, 102, 241, 0.3) 0%, 
            rgba(139, 92, 246, 0.25) 100%);
        border-radius: 50%;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        z-index: -1;
    }

    .nav__social-link:hover::before {
        transform: translate(-50%, -50%) scale(1);
    }

    .nav__social-link:hover {
        transform: translateY(-8px) scale(1.1);
        border-color: rgba(99, 102, 241, 0.5);
        color: white;
        box-shadow: 
            0 10px 25px rgba(99, 102, 241, 0.4),
            0 0 40px rgba(139, 92, 246, 0.3);
        background: rgba(31, 41, 55, 0.8);
    }

    .nav__social-link svg {
        transition: transform 0.3s ease;
        width: 22px;
        height: 22px;
    }

    .nav__social-link:hover svg {
        transform: scale(1.2) rotate(10deg);
    }

    @keyframes slideInMenu {
        from {
            left: -100%;
            opacity: 0;
        }
        to {
            left: 0;
            opacity: 1;
        }
    }

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

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 5rem;
        right: 1.5rem;
    }

    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero {
        padding: 5rem 0 3rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .section__title {
        font-size: 2rem;
    }

    .section {
        padding: 3rem 0;
    }

    .projetos__grid {
        grid-template-columns: 1fr;
    }

    .templates__grid {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 3rem 0 2.5rem;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer__text {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
        max-width: 100%;
    }

    .footer__social {
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
    }

    .footer__social-link {
        width: 48px;
        height: 48px;
    }

    .footer__social-link svg {
        width: 20px;
        height: 20px;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero {
        padding: 4rem 0 2rem;
    }

    .hero__container {
        gap: 2rem;
    }

    .hero__title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero__title::before {
        display: none;
    }

    .hero__description {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    .hero__content::before,
    .hero__content::after {
        display: none;
    }

    .hero__image-wrapper {
        height: 280px;
        margin-top: 1.5rem;
    }

    .hero__image::before {
        display: none;
    }

    .hero__img {
        border-radius: 1.5rem;
        border-width: 2px;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    .projeto__image {
        height: 200px;
    }

    .contato__link-text-desktop {
        display: none;
    }

    .contato__link-text-mobile {
        display: inline;
    }
}

