/* ========================================
   RESET E CONFIGURAÇÕES GLOBAIS
======================================== */

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

:root {
    /* Typography Scale (Major Third 1.250) */
    --font-xs: 12px;
    --font-sm: 14px;
    --font-base: 16px;
    --font-md: 18px;
    --font-lg: 20px;
    --font-xl: 24px;
    --font-2xl: 32px;
    --font-3xl: 40px;
    --font-4xl: 56px;
    --font-5xl: 72px;

    /* Line Heights */
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Spacing System (8pt grid) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 40px;
    --space-6: 48px;
    --space-8: 64px;
    --space-10: 80px;
    --space-12: 96px;
    --space-16: 128px;
    --space-20: 160px;

    /* Colors - WCAG AAA Compliant */
    --color-primary: #25FFA3;
    --color-primary-hover: #1ee68f;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d4;
    --text-tertiary: #a3a3a3;
    --text-muted: #737373;

    /* Section Spacing */
    --section-padding: 120px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', "Inter Placeholder", sans-serif;
    background-color: #000000;
    color: var(--text-primary);
    line-height: var(--leading-normal);
    overflow-x: hidden;
    font-size: var(--font-base);
}

/* Container responsivo */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

@media (min-width: 1280px) {
    .container {
        padding: 0 var(--space-8);
    }
}

/* Cor de destaque (verde) */
.highlight {
    color: var(--color-primary);
}


/* ========================================
   CABEÇALHO FIXO
======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 12px 0;
    transition: all 0.3s ease;
}

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

/* Logo */
.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: transform 0.3s ease;
    letter-spacing: -0.5px;
}

.logo h1:hover {
    transform: scale(1.02);
}

/* Language Selector Desktop (dentro do nav) */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 24px;
}

/* Language Selector Mobile (no header) */
.language-selector-mobile {
    display: none;
}

.lang-link {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.lang-link:hover {
    color: #25FFA3;
    background: rgba(37, 255, 163, 0.1);
}

.lang-link.active {
    color: #25FFA3;
    background: rgba(37, 255, 163, 0.15);
}

.lang-separator {
    color: rgba(255, 255, 255, 0.2);
    font-size: 14px;
    font-weight: 300;
}

/* Botão Hamburger e Overlay (escondidos no desktop) */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* Menu de Navegação */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-sm);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-cta-btn {
    display: none;
}

/* Esconde ícones e setas no desktop */
.nav-link svg {
    display: none;
}

.nav-link span {
    display: inline;
}

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

/* Efeito de sublinhado ao passar o mouse */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #25FFA3;
    transition: width 0.3s ease;
}

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

/* Botão CTA do Menu */
.btn-nav {
    padding: 10px 25px;
    background-color: #25FFA3;
    color: #000000;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-nav:hover {
    background-color: #1ee68f;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 255, 163, 0.4);
}


/* ========================================
   SEÇÃO HERO (PRINCIPAL)
======================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    background: radial-gradient(ellipse at top left, rgba(37, 255, 163, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom right, rgba(37, 255, 163, 0.1) 0%, transparent 50%),
                #000000;
    overflow: visible;
}

.hero .container {
    width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 255, 163, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 255, 163, 0.08) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 255, 163, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Texto do Hero */
.hero-text {
    text-align: left;
    max-width: 600px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-2);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: var(--font-sm);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-3);
    opacity: 0;
    transform: translateY(30px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-tag svg {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.8);
}

.hero-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    letter-spacing: -1px;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-subtitle {
    font-size: var(--font-lg);
    color: #999999;
    margin-bottom: var(--space-3);
    line-height: var(--leading-relaxed);
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-subtitle .mobile-break {
    display: none;
}

.hero-subtext {
    font-size: var(--font-base);
    color: var(--text-tertiary);
    margin-bottom: var(--space-4);
    line-height: var(--leading-normal);
    font-style: italic;
}

/* Botões do Hero */
.hero-cta {
    display: flex;
    gap: 15px;
    margin-top: var(--space-6);
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-cta .btn-primary {
    padding: 16px 40px;
    font-size: var(--font-lg);
    font-weight: 600;
    background: linear-gradient(135deg, #25FFA3 0%, #1ee68f 100%);
    color: #000000;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 255, 163, 0.3);
}

.hero-cta .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 ease;
}

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

.hero-cta .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 255, 163, 0.5);
}

.hero-cta .btn-primary:active {
    transform: translateY(-1px);
}

/* Tech Section (standalone) */
.tech-section {
    padding: var(--space-8) 0;
    background: #000000;
    overflow: hidden;
}

/* Tech Carousel */
.hero-tech {
    padding-top: 40px;
    margin-top: 40px;
    overflow: hidden;
}

.tech-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.tech-track {
    display: flex;
    gap: 60px;
    width: fit-content;
}

.tech-track .group {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    animation: spin 60s linear infinite;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.tech-item:hover {
    opacity: 1;
}

.tech-item svg {
    color: #888888;
    transition: color 0.3s ease;
}

.tech-item:hover svg {
    color: #25FFA3;
}

.tech-item span {
    font-size: 20px;
    font-weight: 700;
    color: #888888;
    white-space: nowrap;
}

@keyframes spin {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.tech-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, transparent 100%);
}

/* Imagem do Hero */
.hero-image {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    align-self: flex-end;
    margin-bottom: -100px;
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    animation: heroFadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    display: block;
    object-fit: contain;
    object-position: bottom;
    margin-bottom: 0;
}

.image-placeholder {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37, 255, 163, 0.2);
}

/* ========== HERO CAROUSEL ========== */
/* Desktop: Scroll vertical automático */
.hero-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
    position: relative;
}

.carousel-wrapper {
    max-width: 400px;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    position: relative;
}

.carousel-track {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    animation: scrollVertical 60s linear infinite;
}

.carousel-item {
    min-height: 280px;
    max-height: 280px;
    min-width: 400px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.carousel-item:hover {
    transform: scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

/* Pausar animação ao hover */
.carousel-wrapper:hover .carousel-track {
    animation-play-state: paused;
}

/* Animação vertical para desktop */
@keyframes scrollVertical {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Animação horizontal para mobile */
@keyframes scrollHorizontal {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2));
    }
}

/* ========== SITE SKELETON INSIDE CAROUSEL ========== */
.site-skeleton {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    background: transparent;
}

/* Header do skeleton */
.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
}

.skeleton-logo {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.8px;
    text-shadow: none;
}

.skeleton-menu {
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: center;
    justify-content: center;
    padding: 4px 5px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.skeleton-menu span {
    width: 16px;
    height: 2px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 1px;
}

.skeleton-menu span:nth-child(1),
.skeleton-menu span:nth-child(2) {
    display: block;
}

.skeleton-menu span:nth-child(3),
.skeleton-menu span:nth-child(4) {
    display: none;
}

/* Divider */
.skeleton-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 100%);
    box-shadow: none;
}

/* Hero section do skeleton */
.skeleton-hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    padding: 12px 10px;
    position: relative;
}

/* Título principal (hero title) - linha grossa */
.skeleton-title {
    width: 70%;
    height: 10px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    box-shadow: none;
    margin-top: 4px;
}

/* Subtítulo - linha fina */
.skeleton-subtitle {
    width: 55%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 1px;
}

/* Segunda linha do subtítulo - linha fina */
.skeleton-subtitle::after {
    content: '';
    position: absolute;
    top: 38px;
    left: 50%;
    transform: translateX(-50%);
    width: 48%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
}

/* Botão CTA */
.skeleton-button {
    width: 55px;
    height: 14px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    margin-top: 2px;
    margin-bottom: 6px;
    box-shadow: none;
    position: relative;
    z-index: 2;
}

/* Divisor no corpo */
.skeleton-divider-body {
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.12) 50%,
        transparent 100%);
    margin: 8px auto 6px;
    position: relative;
    z-index: 2;
}

/* Linha de texto simples */
.skeleton-line {
    width: 80%;
    height: 7px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 2px;
    margin: 6px auto;
}


/* Animações */
@keyframes fadeInOut {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

@keyframes shimmer {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}


/* ========================================
   BOTÕES
======================================== */

.btn {
    display: inline-block;
    padding: 16px 35px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #25FFA3;
    color: #000000;
    box-shadow: 0 4px 15px rgba(37, 255, 163, 0.3);
}

.btn-primary:hover {
    background-color: #1ee68f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 255, 163, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #333333;
}

.btn-secondary:hover {
    background-color: #111111;
    border-color: #25FFA3;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 45px;
    font-size: 17px;
}


/* ========================================
   SEÇÃO SOBRE MIM
======================================== */

.about {
    padding: 120px 0;
    padding-bottom: 0;
    background-color: #000000;
    position: relative;
    overflow: visible;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(to bottom, transparent 0%, #000000 100%);
    pointer-events: none;
    z-index: 1;
}

.about::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255, 255, 255, 0.03) 49%, rgba(255, 255, 255, 0.03) 51%, transparent 52%),
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 40%);
    background-size: 100px 100px, 100px 100px, 800px 800px, 800px 800px;
    background-position: 0 0, 50px 50px, 0 0, 0 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

.about-badge {
    position: absolute;
    bottom: 140px;
    right: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #cccccc;
    text-decoration: none;
    z-index: 2;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: badgePulse 3s ease-in-out infinite;
}

.about-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: badgeShine 3s ease-in-out infinite;
    transform: skewX(-20deg);
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 0 0 15px 3px rgba(255, 255, 255, 0.15);
    }
}

@keyframes badgeShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 150%;
    }
}

.about-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0.2);
}

.about-badge svg {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.about-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #ffffff;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.about-content {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
    transform: translateY(-150px);
}

.about-image {
    position: relative;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #000000 0%, transparent 100%);
    pointer-events: none;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 11;
    opacity: 0;
    transform: translateX(-100%);
}

.about-glass-card.animate {
    animation: slideInFromLeft 1s ease-out 0.3s forwards;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.about-text {
    font-size: var(--font-md);
    line-height: var(--leading-relaxed);
    color: var(--text-tertiary);
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    orphans: 3;
    widows: 3;
}

@media (max-width: 768px) {
    .about-text {
        text-align: left;
        max-width: 100%;
        padding-right: 10px;
    }
}

/* Skills */
.about-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 5;
    transform: translateY(-150px);
}

.skill-category {
    background: linear-gradient(145deg, #111111 0%, #0a0a0a 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(37, 255, 163, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 255, 163, 0.08);
}

.skill-category-title {
    font-size: var(--font-md);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #25FFA3;
    margin-bottom: 20px;
    text-align: left;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.skill-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 255, 163, 0.05);
    border: 1px solid rgba(37, 255, 163, 0.2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #cccccc;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(37, 255, 163, 0.08);
    border-color: rgba(37, 255, 163, 0.4);
    color: var(--color-primary);
    transform: translateY(-1px);
}


/* ========================================
   SEÇÃO DE DIFERENCIAIS
======================================== */

.differentials {
    padding: 120px 0;
    background: linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
    position: relative;
}

.differentials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(37, 255, 163, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(37, 255, 163, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.differential-card {
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.6) 0%, rgba(17, 17, 17, 0.4) 100%);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.differential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25FFA3 0%, #4dffba 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.differential-card:hover::before {
    transform: scaleX(1);
}

.differential-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 255, 163, 0.15);
    box-shadow: 0 12px 32px rgba(37, 255, 163, 0.08);
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8) 0%, rgba(17, 17, 17, 0.6) 100%);
}

.differential-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 255, 163, 0.08) 0%, rgba(37, 255, 163, 0.04) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #25FFA3;
    transition: all 0.3s ease;
}

.differential-card:hover .differential-icon {
    background: linear-gradient(135deg, rgba(37, 255, 163, 0.12) 0%, rgba(37, 255, 163, 0.06) 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 255, 163, 0.1);
}

.differential-title {
    font-size: var(--font-lg);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: var(--leading-tight);
}

.differential-description {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
}


/* ========================================
   SEÇÃO DE SERVIÇOS
======================================== */

.services {
    padding: 120px 0;
    background-color: #000000;
}

/* Títulos das Seções */
.section-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-2);
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: var(--leading-tight);
}

.section-subtitle {
    font-size: var(--font-md);
    color: var(--text-tertiary);
    text-align: center;
    margin-bottom: var(--space-10);
    line-height: var(--leading-relaxed);
}

/* Grid de Serviços */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Card de Serviço */
.service-card {
    background: linear-gradient(145deg, #0a0a0a 0%, #111111 100%);
    padding: 40px 35px;
    border-radius: 20px;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25FFA3 0%, #4dffba 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 255, 163, 0.4);
    box-shadow: 0 12px 32px rgba(37, 255, 163, 0.1);
}

.service-card.featured {
    border-color: rgba(37, 255, 163, 0.5);
    box-shadow: 0 8px 24px rgba(37, 255, 163, 0.12);
}

.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background-color: #25FFA3;
    color: #000000;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.service-icon {
    margin-bottom: 25px;
}

.service-icon-dash {
    width: 40px;
    height: 4px;
    background-color: #25FFA3;
    margin-bottom: 25px;
    border-radius: 2px;
}

.service-title {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: 15px;
    color: #ffffff;
}

.service-description {
    font-size: 15px;
    color: #999999;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    padding: var(--space-1) 0;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.service-features li svg {
    flex-shrink: 0;
    vertical-align: middle;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-price {
    font-size: 14px;
    color: #888888;
    font-weight: 500;
}

.service-price span {
    font-size: 28px;
    font-weight: 700;
    color: #25FFA3;
    margin-left: 5px;
}

/* Wide E-commerce Card */
.service-card-wide {
    background: linear-gradient(145deg, #0a0a0a 0%, #111111 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #1a1a1a;
    margin-top: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card-wide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #25FFA3 0%, #4dffba 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card-wide:hover::before {
    transform: scaleX(1);
}

.service-card-wide:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 255, 163, 0.4);
    box-shadow: 0 12px 32px rgba(37, 255, 163, 0.1);
}

.service-wide-content {
    display: flex;
    flex-direction: column;
}

.service-features-wide {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0 30px;
    margin-bottom: 30px;
}

.service-features-wide li {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    padding: var(--space-1) 0;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.service-features-wide li:hover {
    color: var(--text-secondary);
}

.service-features-wide li svg {
    flex-shrink: 0;
    vertical-align: middle;
}

/* Responsive adjustments for wide card */
@media (max-width: 768px) {
    .service-card-wide {
        padding: 30px 20px;
    }

    .service-features-wide {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   SEÇÃO DE BENEFÍCIOS
======================================== */

.benefits {
    padding: 120px 0;
    background-color: #0a0a0a;
}

/* Grid de Benefícios - Timeline Vertical */
.benefits-grid {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.benefits-grid::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #333333;
    z-index: 0;
}

.benefits-grid::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    width: 2px;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.5) 100%);
    z-index: 1;
    height: var(--timeline-progress, 0%);
    transition: height 0.1s ease-out;
}

/* Card de Benefício - Timeline Item */
.benefit-card {
    display: flex;
    gap: 30px;
    padding: 0 0 50px 0;
    position: relative;
    border: none;
    background: transparent;
    z-index: 2;
}

.benefit-card:hover {
    transform: none;
}

.benefit-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #1a1a1a;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.benefit-number svg {
    width: 18px;
    height: 18px;
}

.benefit-step {
    display: none;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
    line-height: var(--leading-tight);
}

.benefit-title::before {
    content: attr(data-number);
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #666666;
    margin-bottom: 8px;
}

.benefit-description {
    font-size: var(--font-md);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
    max-width: 700px;
}


/* ========================================
   SEÇÃO DE SHOWCASE DE WEBSITES
======================================== */

.showcase {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(37, 255, 163, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(37, 255, 163, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

/* Grid com Masonry Layout Moderno */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-10);
}

/* Card do Showcase */
.showcase-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(145deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(37, 255, 163, 0.2);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(37, 255, 163, 0.1),
        0 0 60px rgba(37, 255, 163, 0.08);
}

/* Wrapper da Imagem */
.showcase-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #000000;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.2) brightness(0.9);
}

.showcase-item:hover .showcase-image {
    transform: scale(1.1);
    filter: grayscale(0) brightness(1);
}

/* Overlay com Gradiente Sofisticado */
.showcase-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-4);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.85) 40%,
        rgba(0, 0, 0, 0.6) 70%,
        transparent 100%
    );
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-item:hover .showcase-overlay {
    transform: translateY(0);
    opacity: 1;
}

/* Badge de Categoria */
.showcase-category {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 255, 163, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 255, 163, 0.3);
    border-radius: 50px;
    font-size: var(--font-xs);
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-2);
}

/* Título do Projeto */
.showcase-title {
    font-size: var(--font-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    line-height: var(--leading-tight);
}

/* Descrição */
.showcase-description {
    font-size: var(--font-sm);
    color: var(--text-tertiary);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-3);
}

/* Tech Stack Tags */
.showcase-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
}

.showcase-tech span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.showcase-item:hover .showcase-tech span {
    background: rgba(37, 255, 163, 0.08);
    border-color: rgba(37, 255, 163, 0.2);
    color: var(--color-primary);
}


/* ========================================
   SEÇÃO DE PORTFÓLIO (LEGADO)
======================================== */

.portfolio {
    padding: 120px 0;
    background-color: #000000;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background-color: #0a0a0a;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #1a1a1a;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 255, 163, 0.4);
    box-shadow: 0 10px 28px rgba(37, 255, 163, 0.1);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
}

.portfolio-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.portfolio-category {
    padding: 6px 12px;
    background-color: #25FFA3;
    color: #000000;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
}

.portfolio-content {
    padding: 25px;
}

.portfolio-title {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: 10px;
    color: #ffffff;
}

.portfolio-description {
    font-size: 14px;
    color: #999999;
    line-height: 1.6;
}


/* ========================================
   SEÇÃO DE DEPOIMENTOS
======================================== */

.testimonials {
    padding: 120px 0;
    background-color: #0a0a0a;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.testimonials .section-title {
    margin-bottom: 15px;
}

.testimonials .section-subtitle {
    margin-bottom: 60px;
}

/* Wrapper do Carrossel */
.testimonials-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Container do Carrossel */
.testimonials-grid {
    display: flex;
    gap: 30px;
    width: fit-content;
}

.testimonials-grid .group {
    display: flex;
    gap: 30px;
    animation: spin 25s linear infinite;
}

.testimonials-grid:hover .group {
    animation-play-state: paused;
}

/* Card de Depoimento */
.testimonial-card {
    width: 380px;
    min-width: 380px;
    background: #111111;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #1a1a1a;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    flex-shrink: 0;
}

.testimonial-card:hover {
    border-color: rgba(37, 255, 163, 0.3);
    box-shadow: 0 8px 24px rgba(37, 255, 163, 0.1);
    transform: translateY(-3px);
}

/* Estrelas de Avaliação */
.testimonial-stars {
    display: none;
}

/* Texto do Depoimento */
.testimonial-text {
    font-size: 17px;
    color: #ffffff;
    line-height: 1.7;
    margin-bottom: 30px;
    font-style: normal;
    font-weight: 400;
}

/* Informações do Autor */
.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-top: 25px;
    border-top: 1px solid #222222;
}

.author-avatar {
    display: none;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.author-name {
    font-size: var(--font-md);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #ffffff;
    margin-bottom: 0;
}

.author-role {
    font-size: 14px;
    color: #666666;
}


/* ========================================
   SEÇÃO FAQ
======================================== */

.faq {
    padding: 120px 0;
    background: #000000;
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #222222;
    border-radius: 12px;
    overflow: hidden;
    background: #0a0a0a;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(37, 255, 163, 0.3);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: var(--font-md);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #ffffff;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--text-secondary);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #25FFA3;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: #cccccc;
    margin: 0;
}


/* ========================================
   SEÇÃO CTA FINAL
======================================== */

.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: var(--font-4xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: -1px;
}

.cta-text {
    font-size: 18px;
    color: #aaaaaa;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Botão CTA Wrapper */
.cta-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

.cta-button-wrapper .btn-primary {
    padding: 16px 40px;
    font-size: var(--font-lg);
    font-weight: 600;
    background: linear-gradient(135deg, #25FFA3 0%, #1ee68f 100%);
    color: #000000;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 255, 163, 0.3);
}

.cta-button-wrapper .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 ease;
}

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

.cta-button-wrapper .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 255, 163, 0.5);
}

.cta-button-wrapper .btn-primary:active {
    transform: translateY(-1px);
}

/* Formulário de Contato */
.cta-form {
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 16px 20px;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #25FFA3;
    box-shadow: 0 0 0 3px rgba(37, 255, 163, 0.1);
}

/* Custom Select Styles */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 8px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-select-trigger span {
    color: #a3a3a3;
}

.custom-select-trigger.has-value span {
    color: #ffffff;
}

.custom-select-trigger svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 8px;
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-select-trigger:hover {
    border-color: #333333;
}

.custom-select.open .custom-select-trigger,
.custom-select-trigger:focus {
    outline: none;
    border-color: #25FFA3;
    box-shadow: 0 0 0 3px rgba(37, 255, 163, 0.1);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #111111;
    border: 1px solid #25FFA3;
    border-radius: 8px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.custom-select.open .custom-select-options {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
}

.custom-option {
    padding: 14px 20px;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background-color: rgba(37, 255, 163, 0.1);
    color: #25FFA3;
    padding-left: 24px;
}

.custom-option.selected {
    background-color: rgba(37, 255, 163, 0.15);
    color: #25FFA3;
    font-weight: 500;
}

/* Scrollbar para as opções */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 0 8px 8px 0;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 3px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #25FFA3;
}

/* Responsive adjustments for custom select */
@media (max-width: 768px) {
    .custom-select-options {
        max-height: 250px;
    }

    .custom-option {
        padding: 16px 20px;
        font-size: 16px;
    }
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    margin-top: 10px;
    width: 100%;
    padding: 16px 40px;
    font-size: var(--font-lg);
    font-weight: 600;
    background: linear-gradient(135deg, #25FFA3 0%, #1ee68f 100%);
    color: #000000;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 255, 163, 0.3);
    cursor: pointer;
}

.contact-form button::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 ease;
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 255, 163, 0.5);
}

.contact-form button:active {
    transform: translateY(-1px);
}

/* Garantias do CTA */
.cta-guarantees {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #aaaaaa;
}

.guarantee-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(37, 255, 163, 0.1);
    border: 1px solid #25FFA3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25FFA3;
    font-size: 12px;
    font-weight: 700;
}


/* ========================================
   RODAPÉ
======================================== */

.footer {
    background-color: #0a0a0a;
    padding: 60px 0 30px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

/* Informações da Empresa */
.footer-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.footer-logo h3 {
    font-size: var(--font-xl);
    font-weight: 700;
    line-height: var(--leading-tight);
    margin-bottom: 10px;
}

.footer-logo p {
    color: #888888;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact p {
    color: #aaaaaa;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-contact strong {
    color: #ffffff;
}

/* Links do Rodapé */
.footer-links h4,
.footer-social-section h4 {
    font-size: var(--font-base);
    font-weight: 700;
    line-height: var(--leading-tight);
    color: #ffffff;
    margin-bottom: 20px;
}

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

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #25FFA3;
}

/* Redes Sociais */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #111111;
    border: 1px solid #222222;
    border-radius: 8px;
    color: #aaaaaa;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #25FFA3;
    border-color: #25FFA3;
    color: #000000;
    transform: translateY(-3px);
}

/* Parte Inferior do Rodapé */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
}

.footer-bottom p {
    color: #888888;
    font-size: 14px;
}


/* ========================================
   ANIMAÇÕES
======================================== */

/* Hero Section Animations */
@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Section Animations - Professional UI/UX */
@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardFadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: sectionFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-card {
    opacity: 0;
}

.animate-card.animated {
    animation: cardFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-left {
    opacity: 0;
}

.animate-slide-left.animated {
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-right {
    opacity: 0;
}

.animate-slide-right.animated {
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale {
    opacity: 0;
}

.animate-scale.animated {
    animation: scaleIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered animation delays */
.animate-card:nth-child(1) { animation-delay: 0.1s; }
.animate-card:nth-child(2) { animation-delay: 0.2s; }
.animate-card:nth-child(3) { animation-delay: 0.3s; }
.animate-card:nth-child(4) { animation-delay: 0.4s; }
.animate-card:nth-child(5) { animation-delay: 0.5s; }
.animate-card:nth-child(6) { animation-delay: 0.6s; }

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

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

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


/* ========================================
   RESPONSIVIDADE (TABLET)
======================================== */

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 40px;
    }

    .services-grid,
    .benefits-grid,
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}


/* ========================================
   RESPONSIVIDADE (MOBILE)
======================================== */

@media (max-width: 768px) {
    /* Cabeçalho */
    .header-content {
        justify-content: space-between;
    }

    /* Header permanece normal quando menu abre */
    .header {
        z-index: 1002;
    }

    /* Mobile: esconde seletor do nav e mostra seletor do header */
    .language-selector {
        display: none;
    }

    .language-selector-mobile {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        margin-right: 12px;
    }

    .language-selector-mobile .lang-link {
        padding: 4px 8px;
        font-size: 13px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 4px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 8px 10px;
        z-index: 1003;
        position: relative;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
        background: rgba(255, 255, 255, 0.7);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active {
        background: transparent;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: #ffffff;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: #ffffff;
    }

    .mobile-menu-overlay {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        background: rgba(0, 0, 0, 0.2);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .nav {
        position: fixed;
        top: 76px;
        right: 16px;
        width: calc(100% - 32px);
        max-width: 400px;
        height: auto;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
        backdrop-filter: blur(60px) saturate(180%);
        -webkit-backdrop-filter: blur(60px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 20px;
        padding: var(--space-2) 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-30px) scale(0.9) rotateX(15deg);
        transform-origin: top center;
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        will-change: transform, opacity;
        z-index: 1000;
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.05),
            0 30px 80px rgba(0, 0, 0, 0.9),
            0 10px 40px rgba(255, 255, 255, 0.1);
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1) rotateX(0deg);
    }

    /* Animação de entrada stagger para os itens do menu */
    .nav.active .nav-list li {
        animation: menuItemSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
    }

    .nav.active .nav-list li:nth-child(1) { animation-delay: 0.05s; }
    .nav.active .nav-list li:nth-child(2) { animation-delay: 0.1s; }
    .nav.active .nav-list li:nth-child(3) { animation-delay: 0.15s; }
    .nav.active .nav-list li:nth-child(4) { animation-delay: 0.2s; }
    .nav.active .nav-list li:nth-child(5) { animation-delay: 0.25s; }
    .nav.active .nav-list li:nth-child(6) { animation-delay: 0.3s; }

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

    .nav-list {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
        width: 100%;
        padding: 8px;
    }

    .nav-list li {
        border-bottom: none;
        padding: 0;
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 16px;
        padding: 14px 16px;
        width: 100%;
        display: flex !important;
        align-items: center;
        gap: 12px;
        text-align: left;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        color: rgba(255, 255, 255, 0.9);
        border-radius: 12px;
        overflow: hidden;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(37, 255, 163, 0.15) 0%, rgba(37, 255, 163, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        border-radius: 12px;
    }

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

    .nav-link:hover {
        color: #25FFA3;
        transform: translateX(4px);
        box-shadow: 0 4px 20px rgba(37, 255, 163, 0.15);
    }

    .nav-link:active {
        transform: translateX(4px) scale(0.98);
    }

    /* Mostra ícones no mobile */
    .nav-link svg {
        display: block !important;
    }

    .nav-link svg:first-child {
        flex-shrink: 0;
        opacity: 0.6;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
    }

    .nav-link span {
        flex: 1;
        display: inline !important;
        position: relative;
        z-index: 1;
    }

    .nav-link svg:last-child {
        flex-shrink: 0;
        opacity: 0.3;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
    }

    /* Remove efeito de sublinhado do desktop */
    .nav-link::after {
        display: none;
    }

    .nav-link:hover svg:first-child {
        opacity: 1;
        color: var(--color-primary);
        transform: scale(1.1) rotate(-5deg);
    }

    .nav-link:hover svg:last-child {
        opacity: 1;
        transform: translateX(8px);
        color: var(--color-primary);
    }

    .nav-cta-btn {
        display: flex !important;
        margin-top: 8px;
        margin-left: 0;
        margin-right: 0;
        padding: 14px 20px !important;
        font-size: 16px !important;
        font-weight: 600;
        background: linear-gradient(135deg, #25FFA3 0%, #1ee68f 100%);
        color: #000000 !important;
        border-radius: 12px;
        text-align: center !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        position: relative;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow:
            0 0 0 1px rgba(37, 255, 163, 0.2),
            0 10px 30px rgba(37, 255, 163, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        width: auto !important;
        border: none;
    }

    .nav-cta-btn:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow:
            0 0 0 1px rgba(37, 255, 163, 0.3),
            0 15px 40px rgba(37, 255, 163, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .nav-cta-btn:active {
        transform: translateY(0) scale(0.98);
    }

    .nav-cta-btn::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 ease;
    }

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

    .nav-cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 40px rgba(37, 255, 163, 0.5);
    }

    .nav-cta-btn:active {
        transform: translateY(-1px);
    }

    .btn-nav {
        width: 100%;
        text-align: center;
    }

    /* Hero */
    .hero {
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 60px;
        display: flex;
        align-items: center;
    }

    .hero .container {
        padding: 0 var(--space-3);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: var(--space-6);
        align-items: center;
    }

    .hero-text {
        max-width: 100%;
        width: 100%;
        padding: 0 var(--space-1);
        text-align: center;
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Mobile: Scroll horizontal com animação rápida */
    .hero-carousel {
        height: auto;
        width: 100vw;
        margin-left: calc(-1 * var(--space-3));
        padding: 0;
        order: 2;
        margin-top: 0;
    }

    .carousel-wrapper {
        max-width: none;
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 0;
    }

    .carousel-track {
        display: flex;
        flex-direction: row;
        gap: var(--space-3);
        height: auto;
        padding: var(--space-2) var(--space-3);
        animation: scrollHorizontal 20s linear infinite;
        width: fit-content;
    }

    .carousel-item {
        min-width: 280px;
        max-width: 280px;
        min-height: 400px;
        flex-shrink: 0;
        font-size: var(--font-sm);
    }

    /* Pausar animação no mobile ao tocar */
    .carousel-wrapper:active .carousel-track {
        animation-play-state: paused;
    }

    .hero-tag {
        font-size: 11px;
        padding: 8px 16px;
        gap: 6px;
        white-space: nowrap;
        margin-bottom: 16px;
    }

    .hero-tag svg {
        width: 13px;
        height: 13px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 16px;
        max-width: 100%;
        text-wrap: balance;
        font-weight: 700;
        word-spacing: -2px;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 24px;
        max-width: 100%;
        color: #999999;
        word-spacing: -1px;
    }

    .hero-subtitle .mobile-break {
        display: none;
    }

    .hero-tech {
        padding-top: 25px;
        margin-top: 25px;
    }

    .hero-subtext {
        font-size: 13px;
        margin-bottom: 25px;
        line-height: 1.5;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 0;
        margin-top: 0;
        justify-content: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 15px;
    }

    /* Tech Carousel */
    .tech-carousel {
        overflow: hidden;
    }

    .tech-carousel::before {
        display: none;
    }

    .tech-track {
        gap: 40px;
    }

    .tech-item {
        flex-direction: column;
        gap: 8px;
        min-width: auto;
        align-items: center;
    }

    .tech-item svg {
        width: 35px;
        height: 35px;
    }

    .tech-item span {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Seções */
    .section-title {
        font-size: var(--font-2xl);
        line-height: var(--leading-tight);
    }

    .section-subtitle {
        font-size: var(--font-base);
        line-height: var(--leading-normal);
    }

    /* About Section */
    .about {
        padding: 20px 0 0 0;
        margin-top: -80px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        transform: translateY(0);
        position: relative;
        z-index: 10;
    }

    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .about-glass-card {
        transform: translateX(0) !important;
        opacity: 1 !important;
        animation: none !important;
    }

    .about-title {
        font-size: var(--font-2xl);
        line-height: var(--leading-tight);
    }

    .about-skills {
        transform: translateY(0);
        gap: 30px;
    }

    /* Diferenciais */
    .differentials {
        padding: 80px 0;
    }

    .differentials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .differential-card {
        padding: 30px 25px;
    }

    .differential-icon {
        width: 56px;
        height: 56px;
    }

    .differential-title {
        font-size: 18px;
    }

    .differential-description {
        font-size: 14px;
    }

    /* Serviços */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Benefícios */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Showcase */
    .showcase {
        padding: var(--space-10) 0;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .showcase-item {
        border-radius: 16px;
    }

    .showcase-item:hover {
        transform: translateY(-4px) scale(1.01);
    }

    .showcase-overlay {
        padding: var(--space-3);
    }

    .showcase-title {
        font-size: var(--font-lg);
    }

    /* Portfólio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Depoimentos */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-title {
        font-size: 32px;
    }

    .cta-text {
        font-size: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cta-guarantees {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    /* Rodapé */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-info {
        align-items: center;
    }

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

@media (max-width: 480px) {
    /* Ajustes para telas muito pequenas */
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .btn {
        padding: 14px 25px;
        font-size: 15px;
    }

    .btn-large {
        padding: 16px 30px;
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}
