/* Reset e Configurações Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variáveis CSS - Design System Vendramini Informática */
:root {
    /* Cores Principais */
    --background: hsl(220, 13%, 9%);
    --foreground: hsl(180, 100%, 90%);
    --card: hsl(220, 13%, 12%);
    --card-foreground: hsl(180, 100%, 90%);
    --primary: hsl(180, 100%, 50%);
    --primary-foreground: hsl(220, 13%, 9%);
    --secondary: hsl(220, 13%, 15%);
    --secondary-foreground: hsl(180, 100%, 90%);
    --muted: hsl(220, 13%, 15%);
    --muted-foreground: hsl(180, 20%, 65%);
    --accent: hsl(120, 100%, 50%);
    --accent-foreground: hsl(220, 13%, 9%);
    --destructive: hsl(0, 84.2%, 60.2%);
    --destructive-foreground: hsl(210, 40%, 98%);
    --border: hsl(220, 13%, 20%);
    --input: hsl(220, 13%, 15%);
    --ring: hsl(180, 100%, 50%);

    /* Cores Customizadas Vendramini */
    --primary-cyan: hsl(180, 100%, 50%);
    --primary-green: hsl(120, 100%, 50%);
    --dark-bg: hsl(220, 13%, 9%);
    --darker-bg: hsl(220, 13%, 6%);
    --card-bg: hsl(220, 13%, 12%);
    --text-primary: hsl(180, 100%, 90%);
    --text-secondary: hsl(180, 20%, 65%);

    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, var(--primary-cyan), var(--primary-green));
    --gradient-hero: linear-gradient(135deg, hsl(var(--primary-cyan) / 0.1), hsl(var(--primary-green) / 0.1));
    --gradient-card: linear-gradient(135deg, var(--card-bg), var(--darker-bg));
    --gradient-background: linear-gradient(135deg, hsl(var(--primary-cyan) / 0.15), hsl(var(--primary-green) / 0.15));

    /* Sombras */
    --shadow-cyan: 0 0 30px hsl(var(--primary-cyan) / 0.3);
    --shadow-green: 0 0 30px hsl(var(--primary-green) / 0.3);
    --shadow-elegant: 0 10px 40px -10px hsl(var(--primary-cyan) / 0.2);

    /* Animações */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Bordas */
    --radius: 0.75rem;
}

/* Estilos Globais */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--background);
    background-image: var(--gradient-background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Utilitários */
.hidden {
    display: none !important;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: white;
}

/* Botões */
.btn-primary,
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: hsl(var(--background) / 0.95);
    backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo-text h2 {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin: 0;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.nav-desktop button {
    background: none;
    border: none;
    color: var(--foreground);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.nav-desktop button:hover {
    color: var(--primary);
}

/* Botão Disjuntor de Alternância de Idioma (PT / EN) */
.lang-toggle-breaker {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    padding: 0.25rem 0.65rem !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(0, 255, 136, 0.35) !important;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease !important;
    margin-left: 0.5rem;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.lang-toggle-breaker:hover {
    border-color: rgba(0, 255, 136, 0.7) !important;
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(-1px);
}

.breaker-label {
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s ease;
    letter-spacing: 0.02em;
}

.breaker-track {
    width: 34px;
    height: 18px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.breaker-lever {
    width: 14px;
    height: 14px;
    background: linear-gradient(135deg, #00ff88, #10b981);
    border-radius: 50%;
    position: absolute;
    top: 1px;
    left: 1px;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Estado PT Ativo */
.lang-toggle-breaker.is-pt .breaker-lever {
    transform: translateX(0);
}

.lang-toggle-breaker.is-pt .breaker-pt {
    color: #00ff88 !important;
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.lang-toggle-breaker.is-pt .breaker-en {
    color: #64748b !important;
    opacity: 0.6;
}

/* Estado EN Ativo */
.lang-toggle-breaker.is-en .breaker-lever {
    transform: translateX(16px);
}

.lang-toggle-breaker.is-en .breaker-en {
    color: #00ff88 !important;
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}

.lang-toggle-breaker.is-en .breaker-pt {
    color: #64748b !important;
    opacity: 0.6;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: var(--foreground);
}

.nav-mobile {
    display: block;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.nav-mobile button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: var(--foreground);
    padding: 0.5rem 0;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.nav-mobile button:hover {
    color: var(--primary);
}

.nav-mobile .btn-outline {
    margin-top: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 7rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--muted-foreground);
    margin-bottom: 3rem;
    line-height: 1.5;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(10px);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    font-size: 0.875rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: var(--background);
}

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

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.service-card.highlight-card {
    border-color: rgba(16, 185, 129, 0.45);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.06) 100%);
}

.service-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px) scale(1.02);
}

.service-card.highlight-card:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.25);
}

.service-icon {
    margin-bottom: 1rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.service-card p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* VendraX Section */
.vendrax {
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.vendrax-background {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.vendrax-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.vendrax-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.vendrax-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.vendrax-header h2 {
    font-size: clamp(2.5rem, 6vw, 6rem);
    font-weight: bold;
    margin: 0;
}

.vendrax-header p {
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.vendrax-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.vendrax-badges .badge {
    background: hsl(var(--primary) / 0.2);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.vendrax-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: hsl(var(--card) / 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    box-shadow: var(--shadow-elegant);
    transform: translateY(-4px) scale(1.02);
}

.feature-icon {
    margin: 0 auto 1rem;
    color: var(--primary);
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--foreground);
}

.feature-card p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5;
}

.vendrax-cta {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-card {
    background: hsl(var(--card) / 0.5);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 64rem;
    margin: 0 auto;
    border: 1px solid var(--border);
}

.cta-card h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.cta-card p {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

/* Projects Section - Horizontal Continuous Marquee */
.projects {
    padding: 5rem 0;
    background: #0a0b0e;
    overflow: hidden;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.projects-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.projects-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.2rem 0;
    margin-bottom: 2rem;
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
}

.projects-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: marqueeContinuous 28s linear infinite;
    will-change: transform;
}

.projects-marquee:hover .projects-track {
    animation-play-state: paused;
}

@keyframes marqueeContinuous {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

/* ---- PROJECT CARD - New visual style ---- */
.projects-track .project-card {
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
    background: hsl(220, 13%, 10%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: default;
}

.projects-track .project-card:hover {
    box-shadow: 0 12px 36px -8px rgba(0, 242, 254, 0.18), 0 0 18px rgba(0, 242, 254, 0.08);
    transform: translateY(-6px);
    border-color: rgba(0, 242, 254, 0.3);
}

.project-thumb {
    width: 100%;
    height: 175px;
    overflow: hidden;
    position: relative;
    background: var(--muted);
    flex-shrink: 0;
}

.project-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.project-card:hover .project-thumb img {
    transform: scale(1.05);
}

/* Footer info area */
.project-footer {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
    background: hsl(220, 13%, 10%);
    border-top: 1px solid rgba(255,255,255,0.06);
}

.project-footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.project-footer-top h3 {
    font-size: 0.97rem;
    font-weight: 650;
    color: var(--foreground);
    margin: 0;
    letter-spacing: -0.01em;
    transition: color 0.25s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card:hover .project-footer-top h3 {
    color: var(--primary);
}

.project-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.badge-js {
    background: rgba(240, 219, 79, 0.12);
    color: #f0db4f;
    border: 1px solid rgba(240, 219, 79, 0.25);
}

.badge-html {
    background: rgba(227, 76, 38, 0.12);
    color: #e34c26;
    border: 1px solid rgba(227, 76, 38, 0.25);
}

.project-footer p {
    font-size: 0.78rem;
    color: var(--muted-foreground);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-links {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 7px;
    font-size: 0.73rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--muted-foreground);
    background: rgba(255,255,255,0.04);
    transition: all 0.22s ease;
}

.project-link:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--foreground);
}

.project-link-live {
    border-color: rgba(0, 242, 254, 0.25);
    color: var(--primary);
    background: rgba(0, 242, 254, 0.06);
}

.project-link-live:hover {
    background: rgba(0, 242, 254, 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.projects-footer {
    text-align: center;
}

/* Portfolio Section - Reference Design Matching */
.portfolio {
    padding: 5rem 0;
    background: #0a0b0e;
    position: relative;
    overflow: hidden;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.portfolio-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

.portfolio-see-all-header {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
}

.portfolio-see-all-header:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.portfolio-marquee {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0.5rem 0 1rem 0;
    margin-bottom: 2rem;
    mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.portfolio-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: portfolioMarqueeContinuous 30s linear infinite;
    will-change: transform;
}

.portfolio-marquee:hover .portfolio-track {
    animation-play-state: paused;
}

@keyframes portfolioMarqueeContinuous {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}

.portfolio-track .portfolio-card,
.projects-track .portfolio-card {
    width: 310px;
    min-width: 310px;
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .portfolio-track .portfolio-card,
    .projects-track .portfolio-card {
        width: 270px;
        min-width: 270px;
    }
}

/* Card Visual Style matching Reference Image */
.portfolio-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111319;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px -10px rgba(0, 242, 254, 0.2);
    border-color: rgba(0, 242, 254, 0.35);
}

.portfolio-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #000;
}

.portfolio-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
    transform: scale(1.04);
}

.portfolio-card-content {
    padding: 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    transition: color 0.25s ease;
}

.portfolio-card:hover .portfolio-card-content h3 {
    color: var(--primary);
}

.portfolio-tags {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.portfolio-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted-foreground);
    letter-spacing: 0.01em;
}

.portfolio-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: auto;
}

.view-example-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-foreground);
    transition: color 0.25s ease;
}

.view-example-arrow {
    color: var(--muted-foreground);
    transition: color 0.25s ease, transform 0.25s ease;
}

.portfolio-card:hover .view-example-text,
.portfolio-card:hover .view-example-arrow {
    color: var(--primary);
}

.portfolio-card:hover .view-example-arrow {
    transform: translate(2px, -2px);
}

.status-dot {
    width: 0.45rem;
    height: 0.45rem;
    background: #4ade80;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

.portfolio-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* Portfolio See All Button & Detailed Page Styling */
.portfolio-see-all-wrap {
    text-align: center;
    margin-bottom: 2.5rem;
}

.portfolio-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.portfolio-see-all-btn:hover {
    background: var(--primary);
    color: #0d1117;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-2px);
}

.cta-card-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
}

/* Detailed Portfolio Page (portfolio.html) */
.page-portfolio-detailed {
    background: var(--background);
    color: var(--foreground);
}

.portfolio-hero {
    padding: 8rem 0 3rem 0;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
}

.portfolio-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.2rem;
    color: #ffffff;
}

.portfolio-hero-desc {
    max-width: 720px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Two Main Tabs (Abas Principais) */
.portfolio-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin: 2rem 0 2.5rem 0;
}

.portfolio-main-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.35rem;
    border-radius: 999px;
    gap: 0.35rem;
    backdrop-filter: blur(8px);
}

.main-tab-btn {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
    border-radius: 999px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--muted-foreground);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.main-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.04);
}

.main-tab-btn.active {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 242, 254, 0.3);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tab-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.tab-dot.green {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.tab-dot.cyan {
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
}

.filter-pill:hover,
.filter-pill.active {
    background: var(--primary);
    color: #0d1117;
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.35);
}

/* Portfolio Detailed Cards Grid */
.portfolio-grid-section {
    padding: 3rem 0 5rem 0;
}

.portfolio-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-detail-card {
    background: hsl(220, 13%, 10%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.portfolio-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px -10px rgba(0, 242, 254, 0.2);
    border-color: rgba(0, 242, 254, 0.3);
}

.card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.portfolio-detail-card:hover .card-media img {
    transform: scale(1.06);
}

.card-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-detail-card:hover .card-media-overlay {
    opacity: 1;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #4ade80;
}

.status-dot.blue {
    background: var(--primary);
}

.status-badge.showcase {
    color: var(--primary);
}

.category-badge {
    font-size: 0.72rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    border: 1px solid rgba(0, 242, 254, 0.2);
    font-weight: 600;
}

.card-body h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #fff;
}

.card-description {
    font-size: 0.92rem;
    color: var(--muted-foreground);
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex-grow: 1;
}

.card-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.tech-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--foreground);
    font-weight: 500;
}

.card-features-list {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.card-features-list h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.card-features-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-features-list li {
    font-size: 0.84rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.card-features-list li:last-child {
    margin-bottom: 0;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.card-actions .btn-primary,
.card-actions .btn-outline {
    flex: 1;
    text-align: center;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.65rem 0.8rem;
    text-decoration: none;
}

/* Portfolio CTA Box Section */
.portfolio-cta-section {
    padding: 4rem 0 6rem 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.06) 0%, transparent 70%);
}

.portfolio-cta-box {
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 24px;
    padding: 3.5rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.portfolio-cta-box h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.portfolio-cta-box p {
    font-size: 1.05rem;
    color: var(--muted-foreground);
    max-width: 680px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.portfolio-cta-box .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.portfolio-cta-box .cta-actions a {
    text-decoration: none;
}

/* Modal Styling */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.project-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content-container {
    position: relative;
    z-index: 2;
    background: hsl(220, 15%, 11%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 254, 0.15);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.project-modal.open .modal-content-container {
    transform: scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: var(--primary);
    color: #000;
}

.modal-project-header {
    margin-bottom: 1.2rem;
}

.modal-project-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0.4rem 0;
    color: #fff;
}

.modal-project-header .status-text {
    font-size: 0.85rem;
    color: #4ade80;
    font-weight: 600;
}

.modal-project-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-project-img img {
    width: 100%;
    display: block;
}

.modal-project-summary {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem;
    border-radius: 12px;
    text-align: center;
}

.stat-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-lbl {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.2rem;
}

.modal-project-details h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: #fff;
}

.modal-project-details ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
}

.modal-project-details li {
    font-size: 0.92rem;
    color: var(--muted-foreground);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.modal-project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-project-actions a {
    flex: 1;
    min-width: 200px;
    text-align: center;
    justify-content: center;
    text-decoration: none;
}

/* Contact Section Redesign */
.contact {
    padding: 5.5rem 0;
    background: var(--background);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
}

@media (min-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr 1.2fr;
        gap: 3rem;
        align-items: start;
    }
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-card-v2 {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.contact-card-v2.primary-highlight {
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(99, 102, 241, 0.05) 100%);
}

.contact-card-v2:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.contact-card-v2.primary-highlight:hover {
    border-color: #10b981;
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.25);
}

.contact-icon-v2 {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.whatsapp-icon {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

.email-icon {
    background: rgba(99, 102, 241, 0.15);
    border-color: rgba(99, 102, 241, 0.3);
    color: #6366f1;
}

.instagram-icon {
    background: rgba(236, 72, 153, 0.15);
    border-color: rgba(236, 72, 153, 0.3);
    color: #ec4899;
}

.contact-card-v2:hover .contact-icon-v2 {
    transform: scale(1.1) rotate(-4deg);
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted-foreground);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-details h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.2rem;
}

.contact-details p {
    font-size: 0.925rem;
    color: var(--muted-foreground);
    word-break: break-all;
}

.contact-action-arrow {
    color: var(--muted-foreground);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-card-v2:hover .contact-action-arrow {
    transform: translateX(4px);
    color: var(--primary);
}

.contact-location-box {
    background: var(--card-bg, rgba(255, 255, 255, 0.02));
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.loc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted-foreground);
}

.loc-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Formulário de Contato */
.contact-form-column {
    width: 100%;
}

.contact-form-card {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.25rem;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.25rem;
}

.contact-form-card p {
    font-size: 0.9rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) - 2px);
    color: var(--foreground);
    font-size: 0.925rem;
    font-family: inherit;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background: rgba(0, 0, 0, 0.3);
}

.form-group select option {
    background: var(--background, #0f172a);
    color: var(--foreground);
}

.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    margin-top: 0.5rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.form-response {
    padding: 1rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.form-response.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #10b981;
}

.form-response.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* FAQ Section */
.faq {
    padding: 5.5rem 0;
    background: var(--background);
    position: relative;
}

.faq-accordion {
    max-width: 52rem;
    margin: 2.5rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem 1.75rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    user-select: none;
}

.faq-item:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(16, 185, 129, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
    line-height: 1.4;
}

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active {
    border-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.04) 100%);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, margin-top 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
    margin-top: 1rem;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--muted-foreground);
    line-height: 1.65;
    margin: 0;
}

/* Footer */
.footer {
    background: var(--card);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
}

.footer-company {
    grid-column: 1 / -1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
    font-size: 1.25rem;
    font-weight: bold;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.footer-logo-text p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin: 0;
}

.footer-company p {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    max-width: 28rem;
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary);
    border-radius: 0.5rem;
    color: var(--foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.footer-links h4,
.footer-contact h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links button {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
    text-align: left;
    padding: 0;
}

.footer-links button:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Responsividade */
@media (max-width: 767px) {
    .header-content {
        padding: 0.75rem 0;
    }

    .logo {
        gap: 0.5rem;
    }

    .logo-image {
        width: 2.25rem;
        height: 2.25rem;
    }

    .logo-text h2 {
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .logo-text p {
        display: none;
    }

    .nav-mobile {
        max-height: calc(100vh - 75px);
        overflow-y: auto;
    }

    .hero {
        min-height: 100vh;
        padding-top: 6.5rem;
        padding-bottom: 3rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 8.5vw, 3.25rem);
        line-height: 1.15;
        margin-bottom: 1.25rem;
    }

    .hero p {
        font-size: clamp(1rem, 4vw, 1.25rem);
        margin-bottom: 2rem;
    }

    .hero-badges {
        margin-bottom: 2rem;
        gap: 0.5rem;
    }

    .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: clamp(1.85rem, 6.5vw, 2.75rem);
    }
}

@media (max-width: 380px) {
    .logo-text h2 {
        font-size: 0.95rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }

    .nav-desktop {
        display: flex;
    }

    .nav-mobile {
        display: none;
    }

    .services-grid,
    .vendrax-features {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }

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

    .footer-company {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {

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

    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-company {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .footer-bottom-links {
        margin-top: 0;
    }
}

/* Animações adicionais */
.hero-buttons .btn-primary:hover svg {
    transform: translateX(4px);
}

.service-card:hover,
.feature-card:hover,
.project-card:hover,
.portfolio-card:hover,
.contact-card:hover {
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* Seleção de texto */
::selection {
    background: hsl(var(--primary) / 0.3);
    color: var(--foreground);
}

/* Focus styles para acessibilidade */
button:focus,
a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-card,
.project-card,
.portfolio-card,
.contact-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Efeito Matrix */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
}

.matrix-letra,
.matrix-letra-simple {
    position: fixed;
    text-align: center;
    font-family: monospace;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    text-shadow: 0 0 5px #0F0;
    animation: matrixFade 2s ease-in-out infinite;
}

@keyframes matrixFade {

    0%,
    100% {
        opacity: 0.15;
    }

    50% {
        opacity: 0.25;
    }
}

/* Controles do Matrix (opcional) */
.matrix-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
}

.matrix-controls button {
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--foreground);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.matrix-controls button:hover {
    background: var(--primary);
    color: var(--primary-foreground);
}

.matrix-controls button.active {
    background: var(--primary);
    color: var(--primary-foreground);
}

/* Efeito de Cursor Neon Cyberpunk - Verde Tema */
@media (hover: hover) and (pointer: fine) {
    .custom-cursor-dot {
        width: 8px;
        height: 8px;
        background-color: #10b981;
        border-radius: 50%;
        position: fixed;
        top: 0;
        left: 0;
        pointer-events: none;
        z-index: 99999;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 10px #10b981, 0 0 20px rgba(16, 185, 129, 0.7);
        transition: width 0.25s cubic-bezier(0.25, 1, 0.5, 1),
                    height 0.25s cubic-bezier(0.25, 1, 0.5, 1),
                    background-color 0.25s ease,
                    box-shadow 0.25s ease;
        opacity: 0;
    }

    body.cursor-active .custom-cursor-dot {
        opacity: 1;
    }

    /* Hover em elementos interativos */
    body.cursor-hover .custom-cursor-dot {
        width: 14px;
        height: 14px;
        background-color: #34d399;
        box-shadow: 0 0 14px #34d399, 0 0 28px rgba(52, 211, 153, 0.9);
    }

    /* Partículas do clique */
    .cursor-spark {
        position: fixed;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: var(--primary, #6366f1);
        pointer-events: none;
        z-index: 99997;
        box-shadow: 0 0 8px var(--primary, #6366f1);
        animation: sparkFade 0.6s ease-out forwards;
    }

    @keyframes sparkFade {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(1);
        }
        100% {
            opacity: 0;
            transform: translate(var(--tx), var(--ty)) scale(0);
        }
    }

    /* Formas Geométricas Aleatórias no Rastro do Cursor (Verde Tema) */
    .cursor-geom-shape {
        position: fixed;
        pointer-events: none;
        z-index: 99990;
        transform: translate(-50%, -50%);
        border: 2px solid #10b981;
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.8), inset 0 0 6px rgba(16, 185, 129, 0.3);
        animation: geomFade 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        background: rgba(16, 185, 129, 0.12);
    }

    .cursor-geom-shape.geom-square {
        border-radius: 3px;
    }

    .cursor-geom-shape.geom-diamond {
        border-radius: 2px;
    }

    .cursor-geom-shape.geom-circle {
        border-radius: 50%;
    }

    .cursor-geom-shape.geom-triangle {
        border: none;
        box-shadow: none;
        background: transparent;
        width: 0 !important;
        height: 0 !important;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 15px solid #10b981;
        filter: drop-shadow(0 0 8px #10b981);
    }

    .cursor-geom-shape.geom-hexagon {
        clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
        background: rgba(16, 185, 129, 0.45);
        border: none;
    }

    .cursor-geom-shape.geom-cross {
        border: none;
        background: transparent;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cursor-geom-shape.geom-cross::before,
    .cursor-geom-shape.geom-cross::after {
        content: '';
        position: absolute;
        background: #10b981;
        box-shadow: 0 0 8px #10b981;
    }

    .cursor-geom-shape.geom-cross::before {
        width: 100%;
        height: 2px;
    }

    .cursor-geom-shape.geom-cross::after {
        width: 2px;
        height: 100%;
    }

    @keyframes geomFade {
        0% {
            opacity: 1;
            transform: translate(-50%, -50%) scale(0.5) rotate(0deg);
        }
        50% {
            opacity: 0.85;
        }
        100% {
            opacity: 0;
            transform: translate(var(--gtx, -50%), var(--gty, -50%)) scale(1.5) rotate(var(--grot, 90deg));
        }
    }
}