/* Sistema para Imobiliária - Estilos Específicos */

/* Hero Section */
.sistema-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.sistema-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Dashboard Mockup */
.dashboard-mockup {
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.3s ease;
}

.dashboard-mockup:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
}

.mockup-header {
    background: var(--text-dark);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

.mockup-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.mockup-dots span:nth-child(1) { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28ca42; }

.mockup-content {
    padding: 2rem;
    background: var(--text-white);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.dashboard-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: var(--primary-color);
    color: var(--text-white);
}

.dashboard-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.dashboard-card:hover i {
    color: var(--text-white);
}

.dashboard-card span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Funcionalidades Section */
.funcionalidades-section {
    background: var(--bg-light);
}

.funcionalidade-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.funcionalidade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.funcionalidade-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.funcionalidade-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.funcionalidade-icon i {
    font-size: 2rem;
    color: var(--text-white);
}

.funcionalidade-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.funcionalidade-card li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.funcionalidade-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Vantagens Section */
.vantagem-card {
    background: var(--text-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
}

.vantagem-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.vantagem-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.vantagem-icon i {
    font-size: 1.5rem;
    color: var(--text-white);
}

.vantagem-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.vantagem-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Planos Section */
.planos-section {
    background: var(--bg-light);
}

.plano-card {
    background: var(--text-white);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.plano-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plano-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plano-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.plano-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plano-header {
    text-align: center;
    margin-bottom: 2rem;
}

.plano-header h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.plano-preco {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plano-preco .moeda {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plano-preco .valor {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1;
}

.plano-preco .periodo {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.plano-features {
    margin-bottom: 2rem;
}

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

.plano-features li {
    padding: 0.75rem 0;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.plano-features i {
    color: var(--primary-color);
    font-weight: bold;
}

.plano-cta {
    text-align: center;
}

.plano-cta .btn {
    width: 100%;
    padding: 1rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    color: var(--text-white);
}

.cta-section h2 {
    color: var(--text-white);
    margin-bottom: 1rem;
}

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

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: var(--text-white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: var(--text-white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--text-white);
    padding: 1.5rem;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .dashboard-mockup {
        transform: none;
        margin-top: 2rem;
    }
    
    .dashboard-mockup:hover {
        transform: scale(1.02);
    }
    
    .plano-card.featured {
        transform: none;
    }
    
    .plano-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767.98px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .funcionalidade-card,
    .vantagem-card,
    .plano-card {
        margin-bottom: 1rem;
    }
    
    .plano-preco .valor {
        font-size: 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .dashboard-mockup {
        margin: 1rem 0;
    }
    
    .mockup-content {
        padding: 1rem;
    }
    
    .dashboard-card {
        padding: 1rem;
    }
    
    .dashboard-card i {
        font-size: 1.5rem;
    }
    
    .dashboard-card span {
        font-size: 0.8rem;
    }
}

/* Animações */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.dashboard-mockup {
    animation: float 6s ease-in-out infinite;
}

.funcionalidade-card:hover .funcionalidade-icon {
    animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Melhorias de acessibilidade */
.funcionalidade-card:focus-within,
.vantagem-card:focus-within,
.plano-card:focus-within {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Estados de loading */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 