/* ==================== RESET GLOBAL ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

#primary {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004399;
    --light-blue: #e6f0ff;
    --lighter-blue: #f0f7ff;
    --white: #ffffff;
    --gray-light: #f9f9f9;
    --gray-lighter: #f5f5f5;
    --gray-medium: #999999;
    --gray-dark: #333333;
    --success-green: #28a745;
    --border-radius: 8px;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: var(--white);
    color: var(--gray-dark);
    line-height: 1.6;
}

body {
    margin: 0;
    padding: 0;
}

/* ==================== HEADER ==================== */
.mfprof-header {
    background: linear-gradient(135deg, #0066cc 0%, #004399 100%);
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    margin: 0;
}

.mfprof-header-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mfprof-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

.mfprof-logo-circle {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 20px;
    flex-shrink: 0;
}

.mfprof-logo span {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
}

.mfprof-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.mfprof-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.mfprof-nav a:hover {
    opacity: 0.8;
}

.mfprof-btn-cadastro {
    background: var(--white);
    color: var(--primary-blue);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.mfprof-btn-cadastro:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ==================== HERO SECTION ==================== */
.mfprof-hero {
    background: linear-gradient(135deg, #0066cc 0%, #004399 100%);
    color: var(--white);
    padding: 80px 5% 150px;
    text-align: center;
    position: relative;
    overflow: visible;
    width: 100%;
    margin: 0;
}

.mfprof-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mfprof-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="white"/></svg>') repeat-x;
    background-size: 600px 200px;
    z-index: 2;
}

.mfprof-hero-content {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.mfprof-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 30px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.mfprof-hero h1 {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
}

.mfprof-hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--white);
    line-height: 1.5;
    opacity: 0.95;
}

/* ==================== FILTROS ==================== */
.mfprof-filters-container {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0 30px;
    display: grid;
    grid-template-columns: 1.3fr 1.3fr 130px;
    gap: 16px;
    align-items: flex-end;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 5;
}

.mfprof-filter-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.mfprof-filter-group label {
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 8px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.mfprof-filter-group input {
    padding: 14px 16px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--white);
    font-family: inherit;
}

.mfprof-filter-group input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* ==================== AUTOCOMPLETE DROPDOWN ==================== */
.mfprof-autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mfprof-autocomplete-list.active {
    display: block;
}

.mfprof-autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 14px;
    color: var(--gray-dark);
}

.mfprof-autocomplete-item:hover {
    background: var(--light-blue);
}

.mfprof-btn-search {
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    height: 56px;
    transition: all 0.3s ease;
}

.mfprof-btn-search:hover {
    background: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* ==================== TAGS POPULARES ==================== */
.mfprof-popular-searches {
    text-align: center;
    padding: 0;
    margin: 0 0 30px 0;
}

.mfprof-popular-label {
    color: var(--white);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
    font-size: 13px;
    margin-right: 15px;
}

.mfprof-search-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.mfprof-search-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mfprof-search-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ==================== ESTATÍSTICAS ==================== */
.mfprof-stats {
    background: linear-gradient(135deg, #0066cc 0%, #004399 100%);
    color: var(--white);
    padding: 50px 5%;
    text-align: center;
    position: relative;
    z-index: 4;
    margin-top: 0;
    width: 100%;
}

.mfprof-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.mfprof-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mfprof-stat-number {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
}

.mfprof-stat-label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 600;
}

/* ==================== HOW IT WORKS ==================== */
.mfprof-how-it-works {
    background: var(--white);
    padding: 80px 5%;
    text-align: center;
    width: 100%;
    margin: 0;
}

.mfprof-how-it-works-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mfprof-how-it-works h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--gray-dark);
}

.mfprof-how-it-works-subtitle {
    font-size: 16px;
    color: var(--gray-medium);
    margin-bottom: 60px;
}

.mfprof-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.mfprof-step {
    position: relative;
}

.mfprof-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e6f0ff 0%, #d0e0ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 auto 20px;
}

.mfprof-step:nth-child(3) .mfprof-step-number {
    background: linear-gradient(135deg, #d0f0e0 0%, #b0e8d0 100%);
    color: var(--success-green);
}

.mfprof-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.mfprof-step p {
    font-size: 14px;
    color: var(--gray-medium);
    line-height: 1.6;
}

.mfprof-step::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -40px;
    width: 40px;
    height: 2px;
    background: #ddd;
}

.mfprof-step:last-child::after {
    display: none;
}

/* ==================== CTA SECTION ==================== */
.mfprof-cta-section {
    background: linear-gradient(135deg, #0066cc 0%, #004399 100%);
    color: var(--white);
    padding: 80px 5%;
    text-align: center;
    width: 100%;
    margin: 0;
}

.mfprof-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.mfprof-cta-icon {
    font-size: 72px;
    margin-bottom: 30px;
}

.mfprof-cta-section h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mfprof-cta-section p {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.mfprof-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.mfprof-cta-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--white);
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mfprof-cta-btn-primary {
    background: var(--white);
    color: var(--primary-blue);
}

.mfprof-cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.mfprof-cta-btn-secondary {
    background: transparent;
    color: var(--white);
}

.mfprof-cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mfprof-cta-info {
    font-size: 13px;
    opacity: 0.85;
}

/* ==================== GRID DE PROFISSIONAIS ==================== */
.mfprof-professionals-container {
    max-width: 100%;
    margin: 0;
    padding: 80px 5%;
    background: var(--white);
    width: 100%;
}

.mfprof-professionals-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ==================== CARD DO PROFISSIONAL ==================== */
.mfprof-professional-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.mfprof-professional-card:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
    transform: translateY(-6px);
}

.mfprof-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--lighter-blue) 100%);
    display: block;
}

.mfprof-card-content {
    padding: 20px;
    background: var(--white);
}

.mfprof-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 6px;
}

.mfprof-card-specialty {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mfprof-card-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-medium);
    font-size: 12px;
    margin-bottom: 12px;
    font-weight: 600;
}

.mfprof-card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.mfprof-stars {
    color: #ffc107;
    font-size: 13px;
    letter-spacing: 2px;
}

.mfprof-rating-text {
    font-size: 11px;
    color: var(--gray-medium);
    font-weight: 600;
}

.mfprof-card-description {
    font-size: 12px;
    color: var(--gray-medium);
    line-height: 1.6;
    margin-bottom: 16px;
    min-height: 30px;
}

.mfprof-card-btn {
    background: var(--success-green);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    width: 100%;
    transition: all 0.3s ease;
}

.mfprof-card-btn:hover {
    background: #20c997;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

/* ==================== FEATURES ==================== */
.mfprof-features {
    background: var(--gray-lighter);
    padding: 80px 5%;
    width: 100%;
    margin: 0;
}

.mfprof-features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.mfprof-feature {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.mfprof-feature:hover {
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.12);
    transform: translateY(-6px);
}

.mfprof-feature-icon {
    font-size: 52px;
    margin-bottom: 20px;
    display: block;
}

.mfprof-feature h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.mfprof-feature p {
    color: var(--gray-medium);
    font-size: 13px;
    line-height: 1.7;
}

/* ==================== FOOTER ==================== */
.mfprof-footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 60px 5%;
    text-align: center;
    width: 100%;
    border-top: 1px solid #333;
    margin: 0;
}

.mfprof-footer-logo {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 700;
}

.mfprof-footer-logo span {
    color: var(--primary-blue);
}

.mfprof-footer-text {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
    line-height: 1.6;
}

.mfprof-footer-copyright {
    font-size: 12px;
    color: #666;
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 20px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .mfprof-professionals-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfprof-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfprof-filters-container {
        grid-template-columns: 1fr;
    }

    .mfprof-stats-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .mfprof-steps-grid {
        grid-template-columns: 1fr;
    }

    .mfprof-step::after {
        display: none;
    }

    .mfprof-cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .mfprof-hero {
        padding: 50px 5% 100px;
    }

    .mfprof-hero h1 {
        font-size: 32px;
    }

    .mfprof-cta-section h2 {
        font-size: 28px;
    }

    .mfprof-filters-container {
        grid-template-columns: 1fr;
        margin: 30px 0 20px;
    }

    .mfprof-btn-search {
        width: 100%;
    }

    .mfprof-professionals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mfprof-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mfprof-feature {
        padding: 30px 20px;
    }

    .mfprof-nav {
        gap: 20px;
    }

    .mfprof-stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .mfprof-how-it-works h2 {
        font-size: 28px;
    }

    .mfprof-steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .mfprof-hero h1 {
        font-size: 24px;
    }

    .mfprof-stat-number {
        font-size: 36px;
    }

    .mfprof-feature-icon {
        font-size: 40px;
    }

    .mfprof-cta-section h2 {
        font-size: 24px;
    }

    .mfprof-cta-section p {
        font-size: 14px;
    }
}

/* ==================== UTILIDADES ==================== */
.mfprof-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-medium);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* FORÇAR FULL WIDTH TOTAL NO ASTRA */
body.page .ast-container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.page .site-content {
    padding: 0 !important;
    margin: 0 !important;
}

body.page .entry-content {
    margin: 0 !important;
}

.mfprof-fullwidth-fix {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.mfprof-resultados {
    padding: 60px 20px;
    background: #f8fafc;
}

.mfprof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.mfprof-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.mfprof-btn-ver {
    display: inline-block;
    margin-top: 15px;
    background: #2563eb;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
}