/* Site para Corretores - Estilos Específicos */

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

.corretor-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="15" height="15" patternUnits="userSpaceOnUse"><path d="M 15 0 L 0 0 0 15" 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;
}

/* Corretor Mockup */
.corretor-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;
}

.corretor-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);
}

/* Corretor Profile */
.corretor-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar i {
    font-size: 2.5rem;
    color: var(--text-white);
}

.profile-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.profile-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.profile-info .badge {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Featured Properties */
.featured-properties h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.property-card {
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.property-image {
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    position: relative;
}

.property-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.property-info {
    padding: 0.75rem;
}

.property-info h6 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.property-info p {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    font-size: 0.8rem;
}

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

.vantagem-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;
}

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

.vantagem-card:hover {
    transform: translateY(-10px);
    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-bottom: 1.5rem;
}

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

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

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

.vantagem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

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

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

.funcionalidade-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

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

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

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

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

.funcionalidade-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

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

.funcionalidade-content li {
    padding: 0.25rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
}

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

/* 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;
}

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

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

.accordion-button {
    background: var(--bg-light);
    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);
}

/* 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;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .corretor-mockup {
        transform: none;
        margin-top: 2rem;
    }
    
    .corretor-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;
    }
    
    .funcionalidade-card {
        flex-direction: column;
        text-align: center;
    }
    
    .funcionalidade-icon {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 767.98px) {
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .vantagem-card,
    .funcionalidade-card,
    .plano-card {
        margin-bottom: 1rem;
    }
    
    .plano-preco .valor {
        font-size: 2.5rem;
    }
    
    .corretor-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-bottom: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .corretor-mockup {
        margin: 1rem 0;
    }
    
    .mockup-content {
        padding: 1rem;
    }
    
    .corretor-profile {
        padding: 1rem;
    }
    
    .profile-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-avatar i {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vantagem-card {
    animation: slideInUp 0.6s ease-out;
}

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

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

.plano-card.featured {
    animation: pulse 2s ease-in-out infinite;
}

/* Melhorias de acessibilidade */
.vantagem-card:focus-within,
.funcionalidade-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); }
} 