/* Estilos específicos para a página de Planos e Preços */

/* Hero Section */
.pricing-hero {
    background: linear-gradient(135deg, #2868d8 0%, #5D47E2 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.pricing-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-dots.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.pricing-hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 20px 0 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-primary {
    background-color: #2868d8;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.btn-primary:hover {
    background-color: #2257b9;
    transform: translateY(-3px);
}

.btn-primary.added,
.btn-consult.added {
    background-color: var(--color-secondary, #5CB143);
    color: white;
    position: relative;
}

.btn-primary.added::after,
.btn-consult.added::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-tag {
    display: inline-block;
    background-color: rgba(40, 104, 216, 0.1);
    color: #2868d8;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.section-header.light h2,
.section-header.light .section-description {
    color: #fff;
}

.section-header.light .section-tag {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Background Utilities */
.bg-light {
    background-color: #f8f9fa;
}

.bg-primary {
    background-color: #2868d8;
    color: #fff;
}

.bg-gradient {
    background: linear-gradient(135deg, #2868d8 0%, #5D47E2 100%);
    color: #fff;
}

/* Payment Methods Section */
.payment-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.payment-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.payment-card-icon {
    font-size: 40px;
    color: #2868d8;
    margin-bottom: 20px;
    height: 80px;
    width: 80px;
    background-color: rgba(40, 104, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.payment-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.payment-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #555;
}

.security-badge i {
    color: #5CB143;
    font-size: 18px;
}

.payment-security p {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* CTA Section */
.cta-section.bg-primary {
    padding: 80px 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.btn-light {
    background-color: #fff;
    color: #2868d8;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Pricing FAQ Section */
.pricing-faq {
    padding: 80px 0;
}

.pricing-faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.pricing-faq .faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-faq .faq-question {
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
}

.pricing-faq .faq-question h3 {
    color: #fff;
}

.pricing-faq .faq-toggle {
    color: #fff;
}

.pricing-faq .faq-answer {
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

/* Plan Comparison Section */
.plan-comparison {
    padding: 80px 0;
    background-color: #fff;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.comparison-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 16px;
    position: sticky;
    top: 0;
}

.comparison-table .feature-column {
    text-align: left;
    width: 30%;
}

.comparison-table .feature-name {
    text-align: left;
    font-weight: 500;
    color: #555;
}

.comparison-table .highlight-column {
    background-color: rgba(40, 104, 216, 0.03);
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
}

.comparison-table thead .highlight-column {
    background-color: rgba(40, 104, 216, 0.1);
    color: #2868d8;
}

.comparison-table .fa-check {
    color: #5CB143;
    font-size: 18px;
}

.comparison-table .fa-times {
    color: #ccc;
    font-size: 18px;
}

.comparison-table .price-row {
    font-weight: 700;
    font-size: 18px;
    color: #333;
}

.comparison-table .price-row .highlight-column {
    color: #2868d8;
    font-size: 20px;
}

.comparison-table .action-row td {
    padding-top: 25px;
    padding-bottom: 25px;
    border-bottom: none;
}

.btn-sm {
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    background-color: #f0f0f0;
    color: #555;
}

.btn-sm:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.btn-sm.btn-primary {
    background-color: #2868d8;
    color: #fff;
}

.btn-sm.btn-primary:hover {
    background-color: #2257b9;
}

.comparison-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
}

.comparison-note i {
    color: #2868d8;
    margin-right: 5px;
}

/* Custom Plan Section */
.custom-plan {
    margin-top: 100px;
    margin-bottom: 10px;
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.custom-plan-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.custom-plan-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.custom-plan-content p {
    font-size: 16px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .pricing-hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 40px;
    }
    
    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 15px 10px;
    }
    
    .comparison-table .feature-column {
        width: 40%;
    }
}

@media (max-width: 768px) {
    .payment-cards {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 14px;
    }
    
    .comparison-table .fa-check,
    .comparison-table .fa-times {
        font-size: 16px;
    }
    
    .comparison-table .price-row {
        font-size: 16px;
    }
    
    .comparison-table .price-row .highlight-column {
        font-size: 18px;
    }
    
    .btn-sm {
        padding: 6px 12px;
        font-size: 12px;
    }
}
