/* ===== PÁGINA SISTEMA ===== */

/* Intro: texto + imagem */
.sistema-intro {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf5 100%);
    position: relative;
    overflow: hidden;
}

.sistema-intro::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102,126,234,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 50px;
    transition: gap 0.2s ease;
}

.back-link:hover {
    gap: 12px;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text .sistema-tag {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.intro-text h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.25;
    color: #333;
    margin-bottom: 20px;
}

.intro-text p {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 18px;
}

.intro-text .btn {
    margin-top: 10px;
}

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18));
    display: block;
}

/* Seção de vídeo */
.video-section {
    background: white;
    padding: 80px 0;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16 / 9;
    background: #111;
    position: relative;
}

.video-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: white;
    position: absolute;
    inset: 0;
}

.play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.play-circle i {
    font-size: 2rem;
    color: white;
    margin-left: 4px;
}

.video-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.video-placeholder span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Integração site */
.integracao-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.integracao-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.integracao-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(102,126,234,0.12) 0%, rgba(118,75,162,0.12) 100%);
    color: #667eea;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.integracao-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    line-height: 1.3;
    margin-bottom: 18px;
}

.integracao-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.75;
    margin-bottom: 16px;
}

.btn-site-exemplo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
    transition: all 0.3s ease;
}

.btn-site-exemplo:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(102, 126, 234, 0.45);
    color: white;
}

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

.integracao-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    border-radius: 20px;
    padding: 36px 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.09);
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.flow-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-icon i {
    font-size: 1.5rem;
    color: white;
}

.flow-step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    white-space: nowrap;
}

.flow-arrow {
    color: #667eea;
    font-size: 1.2rem;
    opacity: 0.6;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .integracao-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .integracao-flow {
        flex-direction: column;
        gap: 12px;
        padding: 28px 20px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }
}

/* Planos na página sistema */
.sistema-planos {
    background: #f8f9fa;
}

/* CTA final */
.sistema-final-cta {
    background: #f8f9fa;
    padding: 80px 0;
}

.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35);
}

.cta-box h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-buttons .btn-primary:hover {
    background: white;
    color: #764ba2;
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.6);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .sistema-intro {
        padding: 100px 0 60px;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-text h1 {
        font-size: 2rem;
    }

    .cta-box {
        padding: 40px 24px;
    }

    .cta-box h2 {
        font-size: 1.7rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .intro-text h1 {
        font-size: 1.8rem;
    }
}
