/* ===================================
   OVERSEAS TRADING - SOBRE NÓS CSS
   Arquivo: assets/css/sobre.css - PARTE 1
=================================== */

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0a0a0a;
    --secondary-dark: #1a1a1a;
    --accent-blue: #00d4ff;
    --accent-cyan: #00ffff;
    --accent-green: #39ff14;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #00ffff 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
    --border-color: rgba(0, 212, 255, 0.1);
    --card-hover: rgba(0, 212, 255, 0.05);
    --font-family: 'Inter', sans-serif;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 212, 255, 0.2);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body * {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

/* Typography */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    width: 100%;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.03) 0%, transparent 70%);
    width: 100%;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.stat-item {
    text-align: center;
    min-width: 0;
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.8rem;
    width: 220px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: gentleFloat 8s ease-in-out infinite;
    transform: translateY(var(--scroll-offset, 0px));
    max-width: calc(100% - 40px);
}

.floating-card:hover {
    transform: translateY(calc(var(--scroll-offset, 0px) - 8px)) scale(1.03);
    border-color: var(--accent-cyan);
    box-shadow: 0 20px 50px rgba(0, 212, 255, 0.25);
}

.floating-card.card-1 {
    top: 50px;
    left: 50%;
    transform: translateX(-50%) translateY(var(--scroll-offset, 0px));
    animation-delay: 0s;
    z-index: 3;
}

.floating-card.card-1:hover {
    transform: translateX(-50%) translateY(calc(var(--scroll-offset, 0px) - 8px)) scale(1.03);
}

.floating-card.card-2 {
    bottom: 80px;
    left: 30px;
    animation-delay: 2.5s;
    z-index: 2;
}

.floating-card.card-3 {
    bottom: 80px;
    right: 30px;
    animation-delay: 5s;
    z-index: 1;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.card-content {
    text-align: center;
    width: 100%;
}

.card-content h3 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.card-content p {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    line-height: 1.5;
    font-weight: 400;
}

@keyframes gentleFloat {
    0%, 100% { 
        animation-transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        animation-transform: translateY(-8px) rotate(0.3deg); 
    }
    66% { 
        animation-transform: translateY(-4px) rotate(-0.3deg); 
    }
}

/* MVV Section */
.mvv-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    width: 100%;
    overflow: hidden;
}

.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

.mvv-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
}

.mvv-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.mvv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
}

.mvv-icon svg {
    width: 40px;
    height: 40px;
}

.mvv-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mvv-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.mvv-card ul {
    list-style: none;
    text-align: left;
    width: 100%;
}

.mvv-card li {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.mvv-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: bold;
}

/* ===================================
   SEÇÃO TIMELINE "NOSSA JORNADA" - CENTRALIZADA E OTIMIZADA
   Design responsivo com layout centralizado para todas as telas
=================================== */

/* Timeline Section - Base */
.timeline-section {
    padding: 8rem 0;
    width: 100%;
    overflow: hidden;
    background: var(--primary-dark);
    position: relative;
}

.timeline-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4%;
    width: 100%;
}

/* Section Header Centralizado */
.timeline-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
    width: 100%;
}

.timeline-section .section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.timeline-section .section-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Timeline Container - Centralizado */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Linha Central - Desktop */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Timeline Item - Centralizado */
.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    justify-content: center;
}

/* Alternar lados - Esquerda/Direita */
.timeline-item:nth-child(odd) {
    flex-direction: row;
    justify-content: flex-end;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

/* Ano - Posição original mantida */
.timeline-year {
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(1rem, 2vw, 1.1rem);
    z-index: 2;
    position: relative;
    white-space: nowrap;
    display: inline-block;
    
    /* Efeitos visuais */
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

/* Hover simples */
.timeline-year:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

/* Conteúdo - Cards laterais */
.timeline-content {
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.08) 0%, 
        rgba(0, 255, 255, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    
    /* Posicionamento */
    margin: 0 2.5rem;
    flex: 1;
    max-width: 400px;
    width: 100%;
    
    /* Centralização do conteúdo */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    /* Efeitos */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Hover no content */
.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Efeito shimmer no content */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.timeline-content:hover::before {
    left: 100%;
}

/* Títulos e texto do content - centralizados */
.timeline-content h3 {
    font-size: clamp(1.4rem, 2.8vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: var(--accent-cyan);
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    position: relative;
    z-index: 2;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Remover conectores e pontos que causam sobreposição */
.timeline-item::after {
    display: none;
}

/* Remover pontos na linha central */
.timeline-year::after {
    display: none;
}

/* ===================================
   MOBILE RESPONSIVO - LAYOUT VERTICAL CENTRALIZADO
=================================== */

@media (max-width: 768px) {
    /* Timeline Section */
    .timeline-section {
        padding: 4rem 0;
    }
    
    .timeline-section .container {
        padding: 0 3%;
    }
    
    .timeline-section .section-header {
        margin-bottom: 3rem;
    }
    
    /* Timeline Container Mobile */
    .timeline {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    
    /* Linha lateral simples no mobile */
    .timeline::before {
        display: none;
    }
    
    /* Timeline Item Mobile - layout simples */
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        margin-bottom: 3rem;
        padding: 0;
        position: relative;
    }
    
    /* Remover alternância de lados no mobile */
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    /* Ano mobile - mantém posição original */
    .timeline-year {
        position: relative;
        z-index: 2;
        
        /* Tamanho mobile */
        padding: 0.8rem 1.5rem;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        
        /* Estilo mobile mantido */
        background: var(--gradient-primary);
        color: var(--primary-dark);
        border-radius: 25px;
        font-weight: 700;
        white-space: nowrap;
        display: inline-block;
        margin-bottom: 1rem;
        
        /* Efeitos mobile */
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
    }
    
    /* Content mobile - espaçamento correto e centralizado */
    .timeline-content {
        margin: 0;
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        
        /* Centralização mobile */
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
        /* Visual mobile */
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.1) 0%, 
            rgba(0, 255, 255, 0.06) 100%);
        border: 1px solid rgba(0, 212, 255, 0.2);
        border-radius: 18px;
        backdrop-filter: blur(20px);
        
        /* Sombra mobile */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    
    /* Títulos mobile - centralizados */
    .timeline-content h3 {
        font-size: clamp(1.2rem, 3.5vw, 1.5rem);
        margin-bottom: 1rem;
        line-height: 1.3;
        text-align: center;
        width: 100%;
    }
    
    .timeline-content p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.6;
        text-align: center;
        width: 100%;
    }
    
    /* Remover conectores no mobile */
    .timeline-item::after {
        display: none;
    }
    
    /* Ponto de conexão mobile */
    .timeline-year::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 8px;
        height: 8px;
        background: var(--accent-cyan);
        border-radius: 50%;
        transform: translate(-50%, -50%);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
        z-index: 1;
    }
    
    /* Remover ::after do ano no mobile */
    .timeline-year::after {
        display: none;
    }
}

/* Mobile muito pequeno */
@media (max-width: 480px) {
    .timeline-section {
        padding: 3rem 0;
    }
    
    .timeline-section .container {
        padding: 0 2%;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 70px;
        margin-bottom: 2.5rem;
    }
    
    .timeline-year {
        left: -18px;
        padding: 0.7rem 1.2rem;
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
    }
    
    .timeline-content {
        padding: 1.5rem;
        border-radius: 15px;
        margin-top: 0.3rem;
    }
    
    .timeline-content h3 {
        font-size: clamp(1.1rem, 4vw, 1.3rem);
        margin-bottom: 0.8rem;
        text-align: center;
        width: 100%;
    }
    
    .timeline-content p {
        font-size: clamp(0.85rem, 2.8vw, 0.95rem);
        line-height: 1.5;
        text-align: center;
        width: 100%;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .timeline-section {
        padding: 2rem 0;
    }
    
    .timeline-section .section-header {
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        margin-bottom: 2rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}

/* ===================================
   ANIMAÇÕES E EFEITOS INTERATIVOS
=================================== */

/* Animação de entrada dos itens */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    animation: timelineSlideIn 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }
.timeline-item:nth-child(5) { animation-delay: 1.0s; }
.timeline-item:nth-child(6) { animation-delay: 1.2s; }

@keyframes timelineSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de pulso na linha central */
.timeline::before {
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

/* Hover interativo no item completo */
.timeline-item:hover .timeline-year {
    transform: scale(1.1);
    box-shadow: 
        0 15px 40px rgba(0, 212, 255, 0.6),
        0 0 0 4px var(--primary-dark);
}

.timeline-item:hover .timeline-content {
    transform: translateY(-8px);
    border-color: var(--accent-cyan);
}

/* ===================================
   ACESSIBILIDADE E PERFORMANCE
=================================== */

/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
    .timeline-item {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .timeline::before {
        animation: none;
    }
    
    .timeline-content:hover,
    .timeline-year:hover {
        transform: none;
    }
    
    .timeline-content::before {
        display: none;
    }
}

/* Focus states para acessibilidade */
.timeline-year:focus,
.timeline-content:focus {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 2px;
}

/* Touch targets para mobile */
@media (max-width: 768px) {
    .timeline-year,
    .timeline-content {
        min-height: 44px;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.2);
    }
}

/* Performance optimizations */
.timeline-content,
.timeline-year {
    will-change: transform;
    transform: translateZ(0);
}

/* Print styles */
@media print {
    .timeline-section {
        page-break-inside: avoid;
    }
    
    .timeline-item {
        page-break-inside: avoid;
        margin-bottom: 2rem;
    }
    
    .timeline::before,
    .timeline-content::before {
        display: none;
    }
}

/* Team Section */
.team-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    width: 100%;
    overflow: hidden;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    width: 100%;
}

.team-member {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 100%;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.member-photo {
    margin-bottom: 2rem;
}

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 auto;
}

.member-info h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.member-role {
    color: var(--accent-cyan);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.member-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.member-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.member-expertise span {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent-cyan);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    white-space: nowrap;
}

/* Achievements Section */
.achievements-section {
    padding: 8rem 0;
    width: 100%;
    overflow: hidden;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    width: 100%;
}

.achievement-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.achievement-card:hover::before {
    left: 100%;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-cyan);
}

.achievement-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    display: block;
}

.achievement-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.3rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.achievement-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.achievement-year {
    background: var(--gradient-primary);
    color: var(--primary-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    display: inline-block;
}

/* Technology Section */
.technology-section {
    padding: 8rem 0;
    background: var(--secondary-dark);
    width: 100%;
    overflow: hidden;
}

.tech-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.tech-badge {
    display: inline-block;
    background: rgba(57, 255, 20, 0.2);
    color: var(--accent-green);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
    border: 1px solid rgba(57, 255, 20, 0.3);
}

.tech-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tech-text p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    width: 100%;
}

.feature-icon {
    font-size: clamp(1.8rem, 3vw, 2rem);
    flex-shrink: 0;
}

.feature-content {
    width: 100%;
}

.feature-content h4 {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* Tech Dashboard */
.tech-dashboard {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-card);
    width: 100%;
    max-width: 100%;
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.header-controls {
    display: flex;
    gap: 0.5rem;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.red { background: #ff5f57; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #28ca42; }

.dashboard-title {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.chart-container {
    display: flex;
    align-items: end;
    gap: 1rem;
    height: 150px;
    margin-bottom: 2rem;
    padding: 1rem;
    width: 100%;
}

.chart-bar {
    flex: 1;
    background: var(--gradient-primary);
    border-radius: 4px 4px 0 0;
    animation: growUp 2s ease-out;
    min-width: 0;
}

@keyframes growUp {
    from { height: 0; }
    to { height: var(--final-height); }
}

.dashboard-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.metric-item {
    text-align: center;
    width: 100%;
}

.metric-value {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: var(--text-secondary);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.05) 0%, transparent 70%);
    width: 100%;
    overflow: hidden;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: var(--gradient-card);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    transform: translateY(-3px);
}

.btn-icon {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   TIMELINE MOBILE - CORREÇÃO COMPLETA
   Layout vertical simples e funcional
=================================== */

/* Timeline Mobile - Solução Simplificada */
@media (max-width: 768px) {
    .timeline {
        position: relative;
        padding: 0;
        max-width: 100%;
    }
    
    /* Remover linha central no mobile */
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 3rem;
        padding: 0;
        position: relative;
        width: 100%;
    }
    
    /* Ano como header do card */
    .timeline-year {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: fit-content;
        margin: 0 0 1rem 0;
        padding: 0.8rem 1.5rem;
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        background: var(--gradient-primary);
        color: var(--primary-dark);
        border-radius: 25px;
        font-weight: 700;
        align-self: flex-start;
        box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    }
    
    /* Card de conteúdo */
    .timeline-content {
        margin: 0;
        padding: 2rem;
        width: 100%;
        max-width: 100%;
        background: var(--gradient-card);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        backdrop-filter: blur(20px);
        position: relative;
        
        /* Efeito de conexão visual com o ano */
        border-top-left-radius: 5px;
    }
    
    /* Remover pseudo-elementos que podem causar problemas */
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }
    
    /* Hover effect para mobile */
    .timeline-item:active .timeline-content {
        transform: scale(0.98);
        transition: transform 0.2s ease;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        margin-bottom: 2.5rem;
    }
    
    .timeline-year {
        padding: 0.7rem 1.2rem;
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
        margin-bottom: 0.8rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
        border-radius: 15px;
        border-top-left-radius: 5px;
    }
    
    .timeline-content h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .timeline-content p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        line-height: 1.6;
    }
}

/* Alternativa com linha lateral simples */
@media (max-width: 768px) {
    .timeline-alternative {
        position: relative;
        padding-left: 1rem;
    }
    
    .timeline-alternative::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--gradient-primary);
        border-radius: 2px;
    }
    
    .timeline-alternative .timeline-item {
        position: relative;
        padding-left: 2rem;
    }
    
    .timeline-alternative .timeline-item::before {
        content: '';
        position: absolute;
        left: -6px;
        top: 1rem;
        width: 12px;
        height: 12px;
        background: var(--accent-cyan);
        border-radius: 50%;
        border: 3px solid var(--primary-dark);
        box-shadow: 0 0 0 2px var(--accent-cyan);
    }
}

/* Layout Stack - Mais clean */
@media (max-width: 768px) {
    .timeline-stack .timeline-item {
        background: var(--secondary-dark);
        border-radius: 20px;
        padding: 0;
        margin-bottom: 1.5rem;
        overflow: hidden;
        border: 1px solid var(--border-color);
    }
    
    .timeline-stack .timeline-year {
        background: var(--gradient-primary);
        color: var(--primary-dark);
        margin: 0;
        padding: 1rem 2rem;
        border-radius: 0;
        font-weight: 700;
        font-size: clamp(1rem, 2.5vw, 1.1rem);
    }
    
    .timeline-stack .timeline-content {
        background: transparent;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 2rem;
    }
}

/* Versão com cards flutuantes */
@media (max-width: 768px) {
    .timeline-cards .timeline-item {
        margin-bottom: 2rem;
        padding: 0;
    }
    
    .timeline-cards .timeline-year {
        position: relative;
        z-index: 2;
        margin-bottom: -10px;
        margin-left: 1rem;
        width: fit-content;
        box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    }
    
    .timeline-cards .timeline-content {
        padding-top: 2.5rem;
        position: relative;
        z-index: 1;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
}

/* Para aplicar a versão alternativa, adicione a classe correspondente: */
/* .timeline.timeline-alternative ou .timeline.timeline-stack ou .timeline.timeline-cards */

/* Melhorias gerais para todas as versões */
@media (max-width: 768px) {
    .timeline-section {
        padding: 4rem 0;
        overflow: hidden;
    }
    
    .timeline-section .container {
        padding: 0 4%;
        max-width: 100%;
    }
    
    /* Garantir que o conteúdo não ultrapasse */
    .timeline-content h3,
    .timeline-content p {
        word-break: break-word;
        hyphens: auto;
    }
    
    /* Loading state para timeline items */
    .timeline-item {
        opacity: 0;
        transform: translateY(30px);
        animation: timelineItemFadeIn 0.6s ease forwards;
    }
    
    .timeline-item:nth-child(1) { animation-delay: 0.1s; }
    .timeline-item:nth-child(2) { animation-delay: 0.2s; }
    .timeline-item:nth-child(3) { animation-delay: 0.3s; }
    .timeline-item:nth-child(4) { animation-delay: 0.4s; }
    .timeline-item:nth-child(5) { animation-delay: 0.5s; }
}

@keyframes timelineItemFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Versão final recomendada - clean e funcional */
@media (max-width: 768px) {
    /* Override para garantir que seja aplicado */
    .timeline {
        position: relative !important;
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .timeline::before {
        display: none !important;
    }
    
    .timeline-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        margin-bottom: 3rem !important;
        padding: 0 !important;
        position: relative !important;
        width: 100% !important;
    }
    
    .timeline-year {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        transform: none !important;
        width: fit-content !important;
        margin: 0 0 1rem 0 !important;
        padding: 0.8rem 1.5rem !important;
        align-self: flex-start !important;
    }
    
    .timeline-content {
        margin: 0 !important;
        padding: 2rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ===================================
   CORREÇÕES FINAIS MOBILE - IMPLEMENTAÇÃO
   Cole este código no final do arquivo sobre.css
=================================== */

/* ESPAÇAMENTO ENTRE TEXTO E STATS */
@media (max-width: 768px) {
    .hero-text {
        width: 100% !important;
        margin-bottom: 6rem !important;
    }
    
    .hero-description {
        font-size: clamp(1rem, 3vw, 1.2rem) !important;
        color: var(--text-secondary) !important;
        line-height: 1.7 !important;
        margin-bottom: 0 !important;
        max-width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-weight: 400 !important;
        padding-bottom: 2rem !important;
    }
}

/* OCULTAR FLOATING CARDS NO MOBILE */
@media (max-width: 1024px) {
    .hero-visual {
        display: none !important;
    }
    
    .floating-card {
        display: none !important;
    }
    
    .floating-card.card-1,
    .floating-card.card-2,
    .floating-card.card-3 {
        display: none !important;
    }
}

/* ESPAÇAMENTO MAIOR EM TELAS PEQUENAS */
@media (max-width: 480px) {
    .hero-text {
        margin-bottom: 7rem !important;
    }
    
    .hero-description {
        padding-bottom: 2.5rem !important;
        margin-bottom: 1rem !important;
    }
}

/* HERO CONTENT LAYOUT */
@media (max-width: 768px) {
    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 2rem 0 !important;
        min-height: auto !important;
        grid-template-columns: 1fr !important;
    }
}

/* STATS COM SEPARADOR VISUAL */
@media (max-width: 768px) {
    .hero-stats {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto !important;
        padding-top: 1rem !important;
    }
    
    .hero-stats::before {
        content: '' !important;
        display: block !important;
        width: 60px !important;
        height: 2px !important;
        background: var(--gradient-primary) !important;
        margin: 0 auto 2rem auto !important;
        border-radius: 1px !important;
        opacity: 0.6 !important;
    }
}

/* ANIMAÇÃO DOS STATS */
@media (max-width: 768px) {
    .stat-item {
        background: rgba(26, 26, 26, 0.8) !important;
        backdrop-filter: blur(20px) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 20px !important;
        padding: 2rem 1.5rem !important;
        text-align: center !important;
        opacity: 0;
        transform: translateY(30px);
        animation: statSlideInMobile 0.8s ease forwards;
    }
    
    .stat-item:nth-child(1) {
        animation-delay: 0.3s;
    }
    
    .stat-item:nth-child(2) {
        animation-delay: 0.5s;
    }
    
    .stat-item:nth-child(3) {
        animation-delay: 0.7s;
    }
    
    @keyframes statSlideInMobile {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* ===================================
   SEÇÃO TECNOLOGIA MOBILE - CORREÇÃO COMPLETA
   Reorganiza layout para funcionar no mobile
=================================== */

/* TECNOLOGIA SECTION - MOBILE COMPLETE FIX */
@media (max-width: 768px) {
    .technology-section {
        padding: 4rem 0 !important;
        background: var(--secondary-dark) !important;
        width: 100% !important;
        overflow: hidden !important;
    }
    
    .tech-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 3rem !important;
        align-items: stretch !important;
        width: 100% !important;
        grid-template-columns: 1fr !important;
    }
    
    /* Texto da tecnologia */
    .tech-text {
        width: 100% !important;
        text-align: center !important;
        order: 1 !important;
    }
    
    .tech-badge {
        display: inline-block !important;
        background: rgba(57, 255, 20, 0.2) !important;
        color: var(--accent-green) !important;
        padding: 0.6rem 1.5rem !important;
        border-radius: 50px !important;
        font-size: clamp(0.8rem, 2vw, 0.9rem) !important;
        font-weight: 600 !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 2rem !important;
        border: 1px solid rgba(57, 255, 20, 0.3) !important;
    }
    
    .tech-text h2 {
        font-size: clamp(2rem, 6vw, 2.5rem) !important;
        font-weight: 700 !important;
        margin-bottom: 1.5rem !important;
        background: var(--gradient-primary) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }
    
    .tech-text p {
        color: var(--text-secondary) !important;
        font-size: clamp(0.95rem, 2.5vw, 1.1rem) !important;
        line-height: 1.7 !important;
        margin-bottom: 3rem !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    /* Features reorganizadas */
    .tech-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        width: 100% !important;
        margin-bottom: 3rem !important;
    }
    
    .feature-item {
        display: flex !important;
        gap: 1.2rem !important;
        align-items: flex-start !important;
        width: 100% !important;
        background: rgba(26, 26, 26, 0.5) !important;
        padding: 1.5rem !important;
        border-radius: 15px !important;
        border: 1px solid var(--border-color) !important;
        backdrop-filter: blur(10px) !important;
    }
    
    .feature-icon {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        flex-shrink: 0 !important;
        width: 50px !important;
        text-align: center !important;
    }
    
    .feature-content {
        width: 100% !important;
        flex: 1 !important;
    }
    
    .feature-content h4 {
        font-size: clamp(1.1rem, 2.5vw, 1.3rem) !important;
        font-weight: 600 !important;
        margin-bottom: 0.5rem !important;
        color: var(--text-primary) !important;
    }
    
    .feature-content p {
        color: var(--text-secondary) !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        font-size: clamp(0.9rem, 2vw, 1rem) !important;
        text-align: left !important;
    }
    
    /* Dashboard visual - mobile version */
    .tech-visual {
        order: 2 !important;
        width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .tech-dashboard {
        background: var(--gradient-card) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 20px !important;
        padding: 1.5rem !important;
        backdrop-filter: blur(20px) !important;
        box-shadow: var(--shadow-card) !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }
    
    .dashboard-header {
        display: flex !important;
        align-items: center !important;
        gap: 1rem !important;
        padding-bottom: 1rem !important;
        border-bottom: 1px solid var(--border-color) !important;
        margin-bottom: 1.5rem !important;
    }
    
    .header-controls {
        display: flex !important;
        gap: 0.5rem !important;
    }
    
    .control {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
    }
    
    .control.red { background: #ff5f57 !important; }
    .control.yellow { background: #ffbd2e !important; }
    .control.green { background: #28ca42 !important; }
    
    .dashboard-title {
        color: var(--text-secondary) !important;
        font-weight: 500 !important;
        font-size: clamp(0.8rem, 2vw, 0.9rem) !important;
    }
    
    /* Chart container mobile */
    .chart-container {
        display: flex !important;
        align-items: end !important;
        gap: 0.8rem !important;
        height: 120px !important;
        margin-bottom: 1.5rem !important;
        padding: 1rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    .chart-bar {
        flex: 1 !important;
        background: var(--gradient-primary) !important;
        border-radius: 4px 4px 0 0 !important;
        animation: growUp 2s ease-out !important;
        min-width: 8px !important;
        max-width: 20px !important;
    }
    
    /* Dashboard metrics mobile */
    .dashboard-metrics {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
    }
    
    .metric-item {
        text-align: center !important;
        width: 100% !important;
        background: rgba(0, 0, 0, 0.2) !important;
        padding: 1rem !important;
        border-radius: 10px !important;
        border: 1px solid rgba(0, 212, 255, 0.1) !important;
    }
    
    .metric-value {
        display: block !important;
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        font-weight: 700 !important;
        background: var(--gradient-primary) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        margin-bottom: 0.5rem !important;
        line-height: 1 !important;
    }
    
    .metric-label {
        color: var(--text-secondary) !important;
        font-size: clamp(0.75rem, 2vw, 0.85rem) !important;
        line-height: 1.3 !important;
    }
}

/* Mobile extra small adjustments */
@media (max-width: 480px) {
    .technology-section {
        padding: 3rem 0 !important;
    }
    
    .tech-content {
        gap: 2.5rem !important;
    }
    
    .tech-text h2 {
        font-size: clamp(1.8rem, 7vw, 2.2rem) !important;
        margin-bottom: 1.2rem !important;
    }
    
    .tech-text p {
        margin-bottom: 2.5rem !important;
    }
    
    .tech-features {
        gap: 1.5rem !important;
    }
    
    .feature-item {
        padding: 1.2rem !important;
        gap: 1rem !important;
    }
    
    .feature-icon {
        width: 40px !important;
        font-size: clamp(1.3rem, 4vw, 1.6rem) !important;
    }
    
    .tech-dashboard {
        padding: 1.2rem !important;
    }
    
    .chart-container {
        height: 100px !important;
        gap: 0.6rem !important;
    }
    
    .dashboard-metrics {
        gap: 1rem !important;
    }
    
    .metric-item {
        padding: 0.8rem !important;
    }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .technology-section {
        padding: 2rem 0 !important;
    }
    
    .tech-content {
        gap: 2rem !important;
    }
    
    .tech-text {
        margin-bottom: 1rem !important;
    }
    
    .tech-features {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem !important;
    }
    
    .feature-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 1rem !important;
    }
    
    .feature-icon {
        width: auto !important;
        margin-bottom: 0.5rem !important;
    }
}

/* Force override para garantir aplicação */
@media (max-width: 768px) {
    .tech-visual {
        display: block !important;
        order: 2 !important;
        width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .tech-text {
        order: 1 !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Garantir que o layout não quebre */
    .technology-section .container {
        padding: 0 4% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    
    .tech-content > * {
        max-width: 100% !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
    }
}

/* ===================================
   MELHORIA DOS CARDS DE FEATURES
   Design mais moderno e visual atrativo
=================================== */

/* FEATURES CARDS - REDESIGN COMPLETO MOBILE */
@media (max-width: 768px) {
    .tech-features {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        margin-bottom: 3rem !important;
    }
    
    .feature-item {
        display: flex !important;
        gap: 1.5rem !important;
        align-items: flex-start !important;
        width: 100% !important;
        
        /* Novo design mais atrativo */
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.08) 0%, 
            rgba(0, 255, 255, 0.05) 100%) !important;
        border: 1px solid rgba(0, 212, 255, 0.2) !important;
        border-radius: 20px !important;
        padding: 2rem 1.5rem !important;
        
        /* Efeitos visuais */
        backdrop-filter: blur(20px) !important;
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        
        /* Transições suaves */
        transition: all 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
    }
    
    /* Efeito hover/touch */
    .feature-item:hover,
    .feature-item:active {
        transform: translateY(-5px) !important;
        border-color: rgba(0, 212, 255, 0.4) !important;
        box-shadow: 
            0 15px 40px rgba(0, 212, 255, 0.15),
            0 8px 32px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Efeito shimmer no background */
    .feature-item::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 212, 255, 0.1), 
            transparent) !important;
        transition: left 0.6s ease !important;
        z-index: 1 !important;
    }
    
    .feature-item:hover::before {
        left: 100% !important;
    }
    
    /* Ícone redesenhado */
    .feature-icon {
        font-size: 2.2rem !important;
        flex-shrink: 0 !important;
        width: 60px !important;
        height: 60px !important;
        
        /* Container do ícone */
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.2) 0%, 
            rgba(0, 255, 255, 0.1) 100%) !important;
        border: 2px solid rgba(0, 212, 255, 0.3) !important;
        border-radius: 15px !important;
        
        /* Centralizar ícone */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        /* Efeitos */
        box-shadow: 
            0 4px 15px rgba(0, 212, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
        transition: all 0.3s ease !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .feature-item:hover .feature-icon {
        transform: scale(1.1) rotateY(10deg) !important;
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.3) 0%, 
            rgba(0, 255, 255, 0.2) 100%) !important;
        border-color: rgba(0, 212, 255, 0.5) !important;
        box-shadow: 
            0 8px 25px rgba(0, 212, 255, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Conteúdo do texto */
    .feature-content {
        width: 100% !important;
        flex: 1 !important;
        position: relative !important;
        z-index: 2 !important;
    }
    
    .feature-content h4 {
        font-size: clamp(1.2rem, 3vw, 1.4rem) !important;
        font-weight: 700 !important;
        margin-bottom: 0.8rem !important;
        
        /* Gradiente no título */
        background: linear-gradient(135deg, 
            var(--accent-cyan) 0%, 
            var(--accent-blue) 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
        
        line-height: 1.3 !important;
    }
    
    .feature-content p {
        color: rgba(255, 255, 255, 0.8) !important;
        line-height: 1.6 !important;
        margin: 0 !important;
        font-size: clamp(0.9rem, 2.2vw, 1rem) !important;
        text-align: left !important;
        font-weight: 400 !important;
    }
    
    /* Animação de entrada sequencial */
    .feature-item:nth-child(1) {
        animation: featureSlideIn 0.8s ease 0.2s both;
    }
    
    .feature-item:nth-child(2) {
        animation: featureSlideIn 0.8s ease 0.4s both;
    }
    
    .feature-item:nth-child(3) {
        animation: featureSlideIn 0.8s ease 0.6s both;
    }
    
    @keyframes featureSlideIn {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.95);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }
}

/* Mobile pequeno - ajustes */
@media (max-width: 480px) {
    .feature-item {
        padding: 1.8rem 1.2rem !important;
        gap: 1.2rem !important;
        border-radius: 18px !important;
    }
    
    .feature-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.8rem !important;
        border-radius: 12px !important;
    }
    
    .feature-content h4 {
        font-size: clamp(1.1rem, 3.5vw, 1.3rem) !important;
        margin-bottom: 0.6rem !important;
    }
    
    .feature-content p {
        font-size: clamp(0.85rem, 2.5vw, 0.95rem) !important;
        line-height: 1.5 !important;
    }
}

/* Variação alternativa - cards mais coloridos */
@media (max-width: 768px) {
    /* Card 1 - Portal do Cliente */
    .feature-item:nth-child(1) {
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.1) 0%, 
            rgba(0, 150, 255, 0.05) 100%) !important;
    }
    
    .feature-item:nth-child(1) .feature-icon {
        background: linear-gradient(135deg, 
            rgba(0, 212, 255, 0.25) 0%, 
            rgba(0, 150, 255, 0.15) 100%) !important;
        border-color: rgba(0, 212, 255, 0.4) !important;
    }
    
    /* Card 2 - Integração ERP */
    .feature-item:nth-child(2) {
        background: linear-gradient(135deg, 
            rgba(0, 255, 255, 0.08) 0%, 
            rgba(0, 200, 255, 0.05) 100%) !important;
    }
    
    .feature-item:nth-child(2) .feature-icon {
        background: linear-gradient(135deg, 
            rgba(0, 255, 255, 0.2) 0%, 
            rgba(0, 200, 255, 0.12) 100%) !important;
        border-color: rgba(0, 255, 255, 0.35) !important;
    }
    
    /* Card 3 - Analytics */
    .feature-item:nth-child(3) {
        background: linear-gradient(135deg, 
            rgba(57, 255, 20, 0.06) 0%, 
            rgba(0, 255, 150, 0.04) 100%) !important;
    }
    
    .feature-item:nth-child(3) .feature-icon {
        background: linear-gradient(135deg, 
            rgba(57, 255, 20, 0.15) 0%, 
            rgba(0, 255, 150, 0.1) 100%) !important;
        border-color: rgba(57, 255, 20, 0.3) !important;
    }
    
    .feature-item:nth-child(3) .feature-content h4 {
        background: linear-gradient(135deg, 
            var(--accent-green) 0%, 
            var(--accent-cyan) 100%) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        background-clip: text !important;
    }
}

/* Accessibility improvements */
@media (max-width: 768px) {
    .feature-item {
        cursor: pointer !important;
        -webkit-tap-highlight-color: rgba(0, 212, 255, 0.2) !important;
    }
    
    .feature-item:focus {
        outline: 2px solid var(--accent-cyan) !important;
        outline-offset: 2px !important;
    }
    
    /* Reduced motion support */
    @media (prefers-reduced-motion: reduce) {
        .feature-item {
            animation: none !important;
        }
        
        .feature-item::before {
            display: none !important;
        }
        
        .feature-item:hover .feature-icon {
            transform: none !important;
        }
    }
}

/* Dark mode enhancements */
@media (max-width: 768px) {
    .feature-item {
        backdrop-filter: blur(20px) saturate(180%) !important;
    }
    
    .feature-content p {
        color: rgba(255, 255, 255, 0.85) !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
    }
}

/* ===================================
   CORREÇÃO POSIÇÃO BOTÃO SCROLL TO TOP
   Move para o lado esquerdo no mobile
=================================== */

/* Botão Scroll to Top - Reposicionamento */
@media (max-width: 768px) {
    /* Se o botão tem classe específica do sistema Overseas */
    .overseas-scroll-top,
    .scroll-to-top,
    .back-to-top,
    [class*="scroll-top"],
    [class*="back-top"] {
        position: fixed !important;
        bottom: 120px !important; /* Acima do WhatsApp */
        left: 20px !important; /* Lado esquerdo */
        right: auto !important; /* Remove posição direita */
        
        /* Estilo do botão */
        width: 50px !important;
        height: 50px !important;
        background: var(--accent-cyan) !important;
        border: none !important;
        border-radius: 50% !important;
        
        /* Ícone centralizado */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        /* Efeitos visuais */
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
        color: var(--primary-dark) !important;
        font-size: 1.2rem !important;
        
        /* Transições */
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        cursor: pointer !important;
    }
    
    /* Hover/Touch effect */
    .overseas-scroll-top:hover,
    .scroll-to-top:hover,
    .back-to-top:hover,
    [class*="scroll-top"]:hover,
    [class*="back-top"]:hover {
        transform: translateY(-3px) scale(1.05) !important;
        box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4) !important;
        background: var(--accent-blue) !important;
    }
    
    /* WhatsApp button - garantir que fique no lugar certo */
    .whatsapp-float,
    .whatsapp-button,
    [class*="whatsapp"] {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        
        width: 60px !important;
        height: 60px !important;
        background: #25D366 !important;
        border-radius: 50% !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
        z-index: 1000 !important;
        transition: all 0.3s ease !important;
    }
    
    .whatsapp-float:hover,
    .whatsapp-button:hover,
    [class*="whatsapp"]:hover {
        transform: translateY(-3px) scale(1.05) !important;
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4) !important;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 375px) {
    .overseas-scroll-top,
    .scroll-to-top,
    .back-to-top,
    [class*="scroll-top"],
    [class*="back-top"] {
        bottom: 110px !important;
        left: 15px !important;
        width: 45px !important;
        height: 45px !important;
        font-size: 1.1rem !important;
    }
    
    .whatsapp-float,
    .whatsapp-button,
    [class*="whatsapp"] {
        bottom: 15px !important;
        right: 15px !important;
        width: 55px !important;
        height: 55px !important;
    }
}

/* Seletores mais específicos se necessário */
@media (max-width: 768px) {
    /* Botão com seta para cima */
    button[aria-label*="top"],
    button[title*="top"],
    .btn-scroll,
    .scroll-btn,
    #scrollTop,
    #backToTop {
        position: fixed !important;
        bottom: 120px !important;
        left: 20px !important;
        right: auto !important;
        
        width: 50px !important;
        height: 50px !important;
        background: var(--accent-cyan) !important;
        border: none !important;
        border-radius: 50% !important;
        
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        color: var(--primary-dark) !important;
        font-size: 1.2rem !important;
        z-index: 999 !important;
        
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
        transition: all 0.3s ease !important;
    }
}

/* Force override para garantir aplicação */
@media (max-width: 768px) {
    /* Qualquer elemento que tenha ícone de seta para cima */
    *[class*="arrow-up"],
    *[class*="chevron-up"],
    *[class*="up-arrow"],
    .fa-arrow-up,
    .fa-chevron-up {
        /* Se for um botão fixo */
        position: fixed !important;
        bottom: 120px !important;
        left: 20px !important;
        right: auto !important;
    }
    
    /* Garantir espaçamento dos botões fixos */
    .fixed-buttons-container {
        position: fixed !important;
        bottom: 0 !important;
        width: 100% !important;
        pointer-events: none !important;
        z-index: 999 !important;
    }
    
    .fixed-buttons-container > * {
        pointer-events: auto !important;
    }
}

/* Alternativa: Container para organizar botões fixos */
@media (max-width: 768px) {
    /* Criar stack de botões do lado esquerdo */
    .left-fixed-buttons {
        position: fixed !important;
        left: 20px !important;
        bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        z-index: 999 !important;
    }
    
    /* Botões do lado direito */
    .right-fixed-buttons {
        position: fixed !important;
        right: 20px !important;
        bottom: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        z-index: 1000 !important;
    }
    
    /* Mover scroll button para esquerda */
    .left-fixed-buttons .scroll-button {
        width: 50px !important;
        height: 50px !important;
        background: var(--accent-cyan) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--primary-dark) !important;
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
    }
    
    /* WhatsApp permanece à direita */
    .right-fixed-buttons .whatsapp-button {
        width: 60px !important;
        height: 60px !important;
        background: #25D366 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3) !important;
    }
}

/* ===================================
   ALINHAR APENAS BOTÃO SCROLL COM WHATSAPP
   Sem alterar header ou WhatsApp existente
=================================== */

/* APENAS O BOTÃO DE SCROLL - SEM TOCAR NO RESTO */
@media (max-width: 768px) {
    /* Seletores específicos para o botão de scroll apenas */
    .overseas-scroll-top,
    .scroll-to-top,
    .back-to-top,
    [class*="scroll-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    [class*="back-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[aria-label*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[title*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    .btn-scroll:not([class*="whatsapp"]):not(header *):not(nav *),
    .scroll-btn:not([class*="whatsapp"]):not(header *):not(nav *),
    #scrollTop:not([class*="whatsapp"]),
    #backToTop:not([class*="whatsapp"]) {
        
        /* POSICIONAMENTO - mesma linha que o WhatsApp */
        position: fixed !important;
        bottom: 20px !important; /* Mesmo bottom do WhatsApp */
        left: 20px !important;   /* Lado esquerdo */
        right: auto !important;
        
        /* TAMANHO - igual ao WhatsApp (60x60px) */
        width: 60px !important;
        height: 60px !important;
        
        /* VISUAL - igual ao WhatsApp */
        background: var(--accent-cyan) !important;
        border: none !important;
        border-radius: 50% !important;
        
        /* CENTRALIZAR ÍCONE */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        /* ÍCONE */
        color: var(--primary-dark) !important;
        font-size: 1.4rem !important;
        font-weight: bold !important;
        
        /* EFEITOS */
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
        transition: all 0.3s ease !important;
        z-index: 999 !important;
        cursor: pointer !important;
        
        /* GARANTIR VISIBILIDADE */
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    
    /* HOVER APENAS DO BOTÃO SCROLL */
    .overseas-scroll-top:hover,
    .scroll-to-top:hover,
    .back-to-top:hover,
    [class*="scroll-top"]:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    [class*="back-top"]:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    button[aria-label*="top"]:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    button[title*="top"]:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    .btn-scroll:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    .scroll-btn:not([class*="whatsapp"]):not(header *):not(nav *):hover,
    #scrollTop:not([class*="whatsapp"]):hover,
    #backToTop:not([class*="whatsapp"]):hover {
        transform: translateY(-3px) scale(1.05) !important;
        box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4) !important;
        background: var(--accent-blue) !important;
    }
}

/* TELAS PEQUENAS - apenas scroll button */
@media (max-width: 375px) {
    .overseas-scroll-top,
    .scroll-to-top,
    .back-to-top,
    [class*="scroll-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    [class*="back-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[aria-label*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[title*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    .btn-scroll:not([class*="whatsapp"]):not(header *):not(nav *),
    .scroll-btn:not([class*="whatsapp"]):not(header *):not(nav *),
    #scrollTop:not([class*="whatsapp"]),
    #backToTop:not([class*="whatsapp"]) {
        bottom: 15px !important;
        left: 15px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 1.3rem !important;
    }
}

/* LANDSCAPE - apenas scroll button */
@media (max-width: 768px) and (orientation: landscape) {
    .overseas-scroll-top,
    .scroll-to-top,
    .back-to-top,
    [class*="scroll-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    [class*="back-top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[aria-label*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    button[title*="top"]:not([class*="whatsapp"]):not(header *):not(nav *),
    .btn-scroll:not([class*="whatsapp"]):not(header *):not(nav *),
    .scroll-btn:not([class*="whatsapp"]):not(header *):not(nav *),
    #scrollTop:not([class*="whatsapp"]),
    #backToTop:not([class*="whatsapp"]) {
        bottom: 10px !important;
        left: 10px !important;
        width: 50px !important;
        height: 50px !important;
        font-size: 1.2rem !important;
    }
}

/* GARANTIR ÍCONE DA SETA - apenas scroll button */
@media (max-width: 768px) {
    .overseas-scroll-top::before,
    .scroll-to-top::before,
    .back-to-top::before,
    [class*="scroll-top"]:not([class*="whatsapp"])::before,
    [class*="back-top"]:not([class*="whatsapp"])::before {
        content: "↑" !important;
        font-size: inherit !important;
        line-height: 1 !important;
    }
    
    /* Se usar Font Awesome - apenas scroll button */
    .overseas-scroll-top i,
    .scroll-to-top i,
    .back-to-top i,
    [class*="scroll-top"]:not([class*="whatsapp"]) i,
    [class*="back-top"]:not([class*="whatsapp"]) i {
        font-size: inherit !important;
        line-height: 1 !important;
        width: auto !important;
        height: auto !important;
    }
}

/* PROTEGER ELEMENTOS QUE NÃO DEVEM SER ALTERADOS */
@media (max-width: 768px) {
    /* NÃO alterar nada no header */
    header *,
    nav *,
    .header *,
    .navbar *,
    .navigation * {
        /* Preservar estilos originais */
    }
    
    /* NÃO alterar WhatsApp */
    [class*="whatsapp"],
    [href*="whatsapp"],
    [href*="wa.me"],
    .whatsapp-float,
    .whatsapp-button {
        /* Preservar estilos originais do WhatsApp */
    }
}

/* SELETOR SUPER ESPECÍFICO apenas para scroll */
@media (max-width: 768px) {
    /* Apenas elementos que claramente são botões de scroll */
    button[onclick*="scroll"],
    button[onclick*="top"],
    a[href="#top"],
    a[href="#header"],
    .scroll-up,
    .go-top,
    .top-button,
    .scroll-top-button {
        position: fixed !important;
        bottom: 20px !important;
        left: 20px !important;
        width: 60px !important;
        height: 60px !important;
        background: var(--accent-cyan) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--primary-dark) !important;
        font-size: 1.4rem !important;
        z-index: 999 !important;
        box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3) !important;
    }
}

/* ===================================
   CORREÇÃO TIMELINE MOBILE - REMOVER APENAS O TRAÇO
   Solução mínima e cirúrgica
=================================== */

/* Remover apenas elementos que criam o traço sobre o texto dos anos */
@media (max-width: 768px) {
    /* Remover linha central que atravessa os anos */
    .timeline::before {
        display: none;
    }
    
    /* Remover pontos/linhas conectoras dos anos */
    .timeline-year::before,
    .timeline-year::after {
        display: none;
    }
    
    /* Remover conectores dos items da timeline */
    .timeline-item::before,
    .timeline-item::after {
        display: none;
    }
    
    /* Remover apenas conectores do conteúdo, manter shimmer */
    .timeline-content::after {
        display: none;
    }
    
    /* Garantir que o conteúdo mantém o efeito shimmer */
    .timeline-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
        transition: left 0.6s ease;
        z-index: 1;
    }
    
    .timeline-content:hover::before {
        left: 100%;
    }
}