/**
 * MD Solutions Technology - Service Pages CSS
 * Seguindo o padrão da página inicial
 */

/* Reset e Base - Seguindo o padrão da página inicial */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a20c7;
    --secondary: #0f0d1d;
    --accent: #3c72fc;
    --gradient: linear-gradient(135deg, #0a20c7, #1e3c72);
    --text-dark: #2d3748;
    --text-light: #718096;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Container System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
.section-subtitle {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.title-highlight {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Service Hero Section */
.service-hero {
    position: relative;
    padding: 120px 0 80px;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(
            135deg, 
            rgba(0, 0, 0, 0.7), 
            rgba(10, 32, 199, 0.5),
            rgba(0, 0, 0, 0.6)
        );
    z-index: 1;
}

/* Removido ::before que estava interferindo com a imagem de fundo */

.service-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.service-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.service-hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.service-hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.service-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 1.125rem;
    border-radius: 12px;
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.service-main {
    padding: 80px 0;
}

.service-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

/* Service Details */
.service-details {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.service-details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.service-details h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.service-details p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.service-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-card {
    background: var(--gray-50);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.25rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Sidebar */
.service-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.sidebar-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.sidebar-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info .contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--gray-50);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.contact-info .contact-method:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info .contact-method i {
    font-size: 1.125rem;
    width: 20px;
    text-align: center;
}

.consultation-display {
    text-align: center;
    margin-bottom: 2rem;
}

.consultation-badge {
    display: inline-block;
    background: var(--gradient);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-md);
}

.consultation-text {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.consultation-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.consultation-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.consultation-benefits li:last-child {
    border-bottom: none;
}

.consultation-benefits i {
    color: var(--primary);
    font-size: 1rem;
}

.btn-consultation {
    width: 100%;
    padding: 16px;
    font-size: 1.125rem;
    font-weight: 700;
    text-align: center;
    border-radius: 12px;
    background: var(--gradient);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 32, 199, 0.3);
}

/* FAQ Section */
.service-faq {
    background: var(--gray-50);
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--gray-50);
}

.faq-question h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.faq-question i {
    color: var(--primary);
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.service-contact {
    background: var(--gradient);
    padding: 100px 0;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.service-contact::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 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,100 1000,0"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.25rem 2rem;
    border-radius: 16px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
    font-weight: 600;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-method i {
    font-size: 1.25rem;
}

.contact-method-primary {
    background: var(--white);
    color: var(--primary);
    font-weight: 700;
    border: 2px solid var(--white);
    position: relative;
    overflow: hidden;
}

.contact-method-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.contact-method-primary:hover::before {
    left: 100%;
}

.contact-method-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .service-hero {
        padding: 80px 0 60px;
        min-height: 400px;
    }
    
    .service-hero-title {
        font-size: 2.5rem;
    }
    
    .service-main {
        padding: 60px 0;
    }
    
    .service-details {
        padding: 2rem;
    }
    
    .service-features-grid {
        grid-template-columns: 1fr;
    }
    
    .service-contact {
        padding: 80px 0;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-method {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 1rem 1.5rem;
    }
    
    .contact-title {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .service-hero-title {
        font-size: 2rem;
    }
    
    .service-hero-description {
        font-size: 1.125rem;
    }
    
    .service-details {
        padding: 1.5rem;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1rem;
    }
    
    .contact-methods {
        gap: 0.75rem;
    }
    
    .contact-method {
        padding: 0.875rem 1.25rem;
        font-size: 0.9rem;
    }
} 