/* === CSS DO BANNER LIGAÇÕES === */

/* === PÁGINA DE LIGAÇÕES - RESET === */
.ligacoes-page {
    position: relative;
    overflow-x: hidden;
}

.main-content {
    position: relative;
    z-index: 1;
}

/* === BANNER LIGAÇÕES === */
.ligacoes-banner-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.banner-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Conteúdo Principal */
.banner-content {
    max-width: 600px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-family: 'Inter', sans-serif;
}

.banner-title .highlight-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 100%;
}

.banner-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Estatísticas */
.banner-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 0.25rem;
    font-family: 'Orbitron', monospace;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

/* === SISTEMA DE LIGAÇÕES INTELIGENTE === */
.visual-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
}

.call-system {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Central IA */
.ai-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    z-index: 10;
    animation: aiPulse 3s ease-in-out infinite;
}

.ai-icon {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.ai-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.1rem;
}

.ai-status {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    animation: statusBlink 2s ease-in-out infinite;
}

/* Dispositivos */
.devices {
    position: absolute;
    width: 100%;
    height: 100%;
}

.device {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    animation: deviceFloat 4s ease-in-out infinite;
}

.phone-device {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-color: #10b981;
    animation-delay: 0s;
}

.call-device {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-color: #3b82f6;
    animation-delay: 1.3s;
}

.crm-device {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-color: #8b5cf6;
    animation-delay: 2.6s;
}

.device-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.device-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
}

/* Linhas de Conexão */
.connection-line {
    position: absolute;
    background: linear-gradient(45deg, transparent, #3b82f6, transparent);
    z-index: 1;
    animation: dataFlow 2s ease-in-out infinite;
}

.phone-line {
    width: 2px;
    height: 80px;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, #10b981, transparent);
}

.call-line {
    width: 80px;
    height: 2px;
    left: -80px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

.crm-line {
    width: 2px;
    height: 80px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(0deg, transparent, #8b5cf6, transparent);
}

/* Partículas de Dados */
.data-flow {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particleMove 3s ease-in-out infinite;
}

.data-1 {
    top: 20%;
    left: 50%;
    animation-delay: 0s;
    background: #10b981;
}

.data-2 {
    top: 50%;
    right: 20%;
    animation-delay: 0.5s;
    background: #3b82f6;
}

.data-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 1s;
    background: #8b5cf6;
}

.data-4 {
    top: 50%;
    left: 20%;
    animation-delay: 1.5s;
    background: #f59e0b;
}

.data-5 {
    top: 30%;
    right: 30%;
    animation-delay: 2s;
    background: #ef4444;
}

.data-6 {
    bottom: 30%;
    left: 30%;
    animation-delay: 2.5s;
    background: #06b6d4;
}

/* Status Display */
.status-display {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    transition: all 0.3s ease;
}

.status-dot.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: dotPulse 2s ease-in-out infinite;
}

/* Animação sequencial dos status */
.status-item:nth-child(1) .status-dot {
    animation: statusSequence 6s ease-in-out infinite;
    animation-delay: 0s;
}

.status-item:nth-child(2) .status-dot {
    animation: statusSequence 6s ease-in-out infinite;
    animation-delay: 2s;
}

.status-item:nth-child(3) .status-dot {
    animation: statusSequence 6s ease-in-out infinite;
    animation-delay: 4s;
}

.status-text {
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
}

/* Ondas de Conexão */
.connection-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.wave-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    animation: waveExpand 4s ease-out infinite;
}

.wave-1 {
    animation-delay: 0s;
}

.wave-2 {
    animation-delay: 1.3s;
}

.wave-3 {
    animation-delay: 2.6s;
}

/* Animações */
@keyframes aiPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
    }
}

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

@keyframes deviceFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px);
    }
    50% { 
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes dataFlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes particleMove {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: scale(1.3) rotate(90deg) translate(15px, -15px);
        opacity: 1;
    }
    50% {
        transform: scale(0.7) rotate(180deg) translate(-15px, 15px);
        opacity: 0.6;
    }
    75% {
        transform: scale(1.2) rotate(270deg) translate(10px, 10px);
        opacity: 0.9;
    }
}

@keyframes statusSequence {
    0%, 25% {
        background: #10b981;
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
        transform: scale(1.3);
    }
    30%, 100% {
        background: #d1d5db;
        box-shadow: none;
        transform: scale(1);
    }
}

@keyframes dotPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    }
    50% { 
        transform: scale(1.4);
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.9);
    }
}

@keyframes waveExpand {
    0% {
        width: 120px;
        height: 120px;
        opacity: 0.8;
    }
    100% {
        width: 450px;
        height: 450px;
        opacity: 0;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .banner-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .banner-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .visual-container {
        height: 400px;
    }
    
    .call-system {
        width: 300px;
        height: 300px;
    }
    
    .ai-center {
        width: 80px;
        height: 80px;
    }
    
    .ai-icon {
        font-size: 2rem;
    }
    
    .ai-label {
        font-size: 0.6rem;
    }
    
    .device {
        padding: 0.75rem;
    }
    
    .device-icon {
        font-size: 1.5rem;
    }
    
    .device-label {
        font-size: 0.7rem;
    }
}
