/* =========================================
   STYLE: Proftest Elementor Tabs Widget
   Versão Refinada
========================================= */

.proftest-solutions {
    padding: 80px 20px;
    background: #f7fafc;
    font-family: inherit;
    /* Herda a fonte do tema */
}

.solutions-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-badge {
    display: inline-block;
    background: #edf2f7;
    color: #667eea;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   TABS
========================================= */
.solutions-tabs {
    max-width: 1400px;
    margin: 0 auto;
}

.tab-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 16px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    /* Smooth rounded corners like the image */
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #718096;
    outline: none;
    min-height: 100px;
}

.tab-btn:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.tab-btn.active {
    /* Gradient Purple like the image */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.tab-icon {
    font-size: 28px;
    margin-bottom: 4px;
}

.tab-label {
    font-size: 14px;
    text-align: center;
    line-height: 1.3;
}

/* =========================================
   TAB CONTENT
========================================= */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

/* =========================================
   CARDS
========================================= */
.solution-card {
    background: white;
    padding: 32px 28px;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    /* Default border */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.12);
}

/* Featured Card Style - Blue Border */
.solution-card.featured {
    border-color: #667eea;
    background: linear-gradient(to bottom right, #ffffff, #f8faff);
}

/* Featured Banner */
.solution-card.featured::before {
    content: "Destaque";
    position: absolute;
    top: 24px;
    right: -32px;
    background: #667eea;
    color: white;
    padding: 6px 40px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    min-height: 50px;
}

.card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e6eaff 100%);
    color: #667eea;
    /* Fallback icon color if text */
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ai-badge {
    background: #667eea;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin-top: 4px;
    /* Align visual top */
}

/* Featured uses gradient for badge? Image shows solid purple/blue */
.solution-card.featured .ai-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.solution-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.solution-card p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0 0 24px 0;
    flex-grow: 1;
    /* Pushes content down */
    opacity: 0.9;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    border-top: 1px solid #edf2f7;
    padding-top: 20px;
}

.feature-list li {
    font-size: 13px;
    color: #718096;
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.5;
}

.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667eea;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.card-btn:hover {
    gap: 10px;
    color: #5a67d8;
}

/* =========================================
   FOOTER CTA
========================================= */
.solutions-cta {
    text-align: center;
    margin-top: 60px;
    padding: 60px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    color: white;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.25);
}

.solutions-cta h3 {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 12px 0;
    color: white;
}

.solutions-cta p {
    font-size: 17px;
    margin: 0 0 32px 0;
    opacity: 0.9;
    color: white;
}

.btn-primary {
    display: inline-block;
    padding: 16px 36px;
    background: white;
    color: #667eea;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #5a67d8;
}

/* Responsive */
@media (max-width: 1024px) {
    .tab-buttons {
        gap: 12px;
    }

    .section-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .tab-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 32px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .tab-buttons {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   STYLE: Proftest Social Proof Widget
========================================= */

.proftest-social-proof {
    padding: 60px 20px;
    background: transparent;
    /* Or transparent/inherit depending on section bg */
    font-family: inherit;
}

.social-proof-header {
    text-align: center;
    margin-bottom: 50px;
}

.social-proof-header.text-left {
    text-align: left;
}

.social-proof-header.text-right {
    text-align: right;
}

.sp-title {
    font-size: 13px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.sp-logos-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* Default center */
    gap: 32px;
}

/* Adjust logo alignment based on header text alignment class if needed, or keep centered logos? 
   Usually user wants logos row to match. Let's make it flexible. */
.social-proof-header.text-left .sp-logos-container {
    justify-content: flex-start;
}

.social-proof-header.text-right .sp-logos-container {
    justify-content: flex-end;
}

.sp-logo-item {
    transition: all 0.3s ease;
}

.sp-logo-img {
    max-height: 40px;
    /* Adjust size */
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    display: block;
}

.sp-logo-item:hover .sp-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom */
}

/* Extra Badge (+500 empresas) */
.sp-extra-badge {
    background: #f7fafc;
    color: #4a5568;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
}

.sp-separator {
    height: 1px;
    background: #edf2f7;
    margin: 40px 0;
    width: 100%;
}

/* Stats Cards */
.sp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.sp-stat-card {
    background: #f8fafc;
    /* Very light blue/gray as in image */
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.sp-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    background: white;
    /* Optionally lighter on hover or keep same */
}

.sp-stat-icon-wrapper {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    font-size: 24px;
    color: #667eea;
    /* Theme primary color */
}

/* Icon colors specific? The image shows multi-colored icons (chart, building, clock, star).
   Elementor icons usually have one color unless SVG. We'll default to theme color. */

.sp-stat-content {
    flex-grow: 1;
}

.sp-stat-number {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: #5a67d8;
    /* Brighter purple/blue */
    line-height: 1.2;
    margin-bottom: 4px;
}

.sp-stat-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px 0;
}

.sp-stat-desc {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .sp-logos-container {
        gap: 24px;
    }

    .sp-stats-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .sp-stat-card {
        padding: 24px;
    }
}

/* =========================================
   STYLE: Proftest Feature & Steps Widget
========================================= */

.proftest-features-steps {
    padding: 60px 20px;
    background: #f7fafc;
    /* Or white, transparent */
    font-family: inherit;
}

/* 1. Top Features Strip */
.top-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.top-feature-card {
    background: white;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.top-feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.tf-icon-wrapper {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    /* different colored backgrounds per card? 
       For now, subtle generic gray or theme. The image has yellow, gray, green etc. 
       We'll stick to a neutral base with theme accent or just transparent. */
    background: #f7fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #4a5568;
}

/* Individual colors for specific effects if needed, but generic is safer */

.tf-content {
    flex-grow: 1;
}

.tf-title {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.tf-desc {
    font-size: 13px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Separator or Spacer */
.hiw-separator {
    height: 0;
    margin-bottom: 0;
}

/* 2. How It Works Section */
.how-it-works-section {
    text-align: center;
    margin-bottom: 80px;
}

.hiw-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.hiw-badge {
    display: inline-block;
    background: #ebf4ff;
    color: #5a67d8;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.hiw-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.hiw-subtitle {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
}

.hiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hiw-step-card {
    background: white;
    border-radius: 20px;
    padding: 40px 24px 32px;
    /* Top padding space for badge overlap */
    position: relative;
    border: 1px solid #edf2f7;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hiw-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* Deep shadow */
    border-color: white;
    z-index: 2;
}

/* Number Badge */
.step-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.4);
    z-index: 3;
}

.step-icon {
    font-size: 40px;
    color: #4a5568;
    /* Or specific colors if implied. Image shows icons with color blobs? 
       We'll stick to a clean icon or theme color. */
    margin: 10px 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 12px;
}

.step-desc {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
    margin-bottom: 24px;
}

.step-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
    border-top: 1px solid #edf2f7;
    padding-top: 16px;
    font-size: 13px;
    color: #4a5568;
}

.step-features-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

/* 3. Bottom Benefits Footer */
.bottom-benefits-container {
    background: white;
    border: 1px solid #3182ce;
    /* Blue border as shown in image bottom card */
    border-radius: 20px;
    padding: 30px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.bottom-benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.bottom-benefit-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 250px;
}

.bb-icon {
    width: 48px;
    height: 48px;
    background: #f7fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ed8936;
    /* Orange/Yellow accent from image example */
}

/* Alternating colors for footer icons if possible, CSS nth-child */
.bottom-benefit-item:nth-child(2) .bb-icon {
    color: #e53e3e;
    /* Red */
}

.bottom-benefit-item:nth-child(3) .bb-icon {
    color: #ecc94b;
    /* Yellow */
}

.bb-content h5 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px;
}

.bb-content p {
    font-size: 13px;
    color: #718096;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {

    .top-features-grid,
    .hiw-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .top-features-grid,
    .hiw-steps-grid {
        grid-template-columns: 1fr;
    }

    .bottom-benefits-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .hiw-step-card {
        margin-top: 20px;
        /* Space for the badge popping out top */
    }
}

/* =========================================
   STYLE: Proftest Contact Widget
========================================= */

.proftest-contact-section {
    padding: 60px 20px;
    background: white;
    /* Layout base is usually white */
    font-family: inherit;
}

.proftest-contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    /* Space between columns */
    align-items: flex-start;
}

/* Column 1: Info */
.contact-info-col {
    flex: 1;
    min-width: 300px;
    padding-top: 20px;
}

.contact-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 24px 0;
    line-height: 1.2;
}

.contact-desc {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Benefits list (Green checks) */
.contact-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.benefit-icon {
    min-width: 32px;
    height: 32px;
    background: #48bb78;
    /* Green */
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: 4px;
    /* Align with title */
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 4px 0;
}

.benefit-text p {
    font-size: 14px;
    color: #718096;
    margin: 0;
    line-height: 1.4;
}

/* Direct Contacts */
.contact-direct {
    border-top: 1px solid #edf2f7;
    padding-top: 30px;
}

.direct-subtitle {
    font-size: 14px;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.direct-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 16px;
}

.direct-item i {
    color: #4a5568;
    width: 20px;
    text-align: center;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: white;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    color: white;
}

.whatsapp-btn i {
    font-size: 20px;
}


/* Column 2: Form (CF7 Container) */
.contact-form-col {
    flex: 1;
    min-width: 300px;
}

.form-wrapper {
    background: #f7fafc;
    /* Light gray background like image */
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* CF7 Styles Override to match Design */
.form-wrapper label {
    font-weight: 700;
    font-size: 13px;
    color: #4a5568;
    margin-bottom: 6px;
    display: block;
}

.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper input[type="tel"],
.form-wrapper select,
.form-wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 15px;
    color: #2d3748;
    background: white;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    outline: none;
}

.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Submit Button */
.form-wrapper input[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.form-wrapper input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

/* Lock Footer */
.form-footer-lock {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.form-footer-lock i {
    color: #ecc94b;
    /* Yellow lock */
}

/* Responsive */
@media (max-width: 768px) {
    .proftest-contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info-col,
    .contact-form-col {
        width: 100%;
    }

    .form-wrapper {
        padding: 24px;
    }
}