/* ============================================================
   KIAZOLUA V2 - PROFISSIONAIS.CSS
   Estilos exclusivos da página profissionais.html
   O design global vem de style.css.
   ============================================================ */

@import url("style.css");


/* ============================================================
   1. HERO COMPACTO
   ============================================================ */

.professionals-hero{
    padding:45px 0 35px;
    background:linear-gradient(180deg,#F8FAFC 0%,#FFF 100%);
    border-bottom:1px solid var(--line);
}

.professionals-hero .container{max-width:1180px}

.professionals-hero h1{
    max-width:720px;
    margin:5px 0 8px;
    color:var(--navy);
    font-size:clamp(2rem,4vw,3.15rem);
    line-height:1.05;
    letter-spacing:-.045em;
}

.professionals-hero p{
    max-width:650px;
    margin:0;
    color:var(--muted);
    font-size:.98rem;
}


/* ============================================================
   2. CATEGORIAS RÁPIDAS
   ============================================================ */

.quick-categories{
    padding:18px 0;
    background:#fff;
    border-bottom:1px solid var(--line);
}

.quick-categories-track{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:10px;
}

.quick-categories-track a{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    padding:11px 13px;
    border:1px solid var(--line);
    border-radius:13px;
    background:#fff;
    color:var(--navy);
    font-size:.78rem;
    font-weight:800;
    transition:.2s ease;
}

.quick-categories-track a:hover{
    transform:translateY(-2px);
    border-color:#CCD8E2;
    box-shadow:var(--shadow-sm);
}

.quick-categories-track picture{
    flex:0 0 35px;
    width:35px;
    height:35px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#F4F7F9;
}

.quick-categories-track img{
    width:25px;
    height:25px;
    object-fit:contain;
}


/* ============================================================
   3. CONTEÚDO
   ============================================================ */

.professionals-content{
    padding:35px 0 65px;
    background:#fff;
}


/* ============================================================
   4. FILTROS
   ============================================================ */

.filters-card{
    display:grid;
    grid-template-columns:1.6fr 1fr 1fr 1fr auto;
    gap:10px;
    align-items:end;
    padding:17px;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--shadow-sm);
}

.filter-search,
.filter-group{
    min-width:0;
}

.filters-card label{
    display:block;
    margin:0 0 6px;
    color:#475467;
    font-size:.73rem;
    font-weight:800;
}

.filters-card .input,
.filters-card .select{
    height:47px;
    margin:0;
    font-size:.87rem;
}

.filter-input-wrap{
    position:relative;
}

.filter-input-wrap > span{
    position:absolute;
    left:13px;
    top:50%;
    z-index:2;
    transform:translateY(-50%);
    color:#98A2B3;
    font-size:1.15rem;
    pointer-events:none;
}

.filter-input-wrap .input{
    padding-left:39px;
}

.filter-button{
    height:47px;
    white-space:nowrap;
}


/* ============================================================
   5. CABEÇALHO DOS RESULTADOS
   ============================================================ */

.results-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin:36px 0 17px;
}

.results-head .section-label{
    margin-bottom:2px;
}

.results-head h2{
    margin:0;
    color:var(--navy);
    font-size:1.65rem;
    letter-spacing:-.025em;
}

.result-count{
    padding:6px 10px;
    border-radius:999px;
    background:#F3F6F8;
    color:var(--muted);
    font-size:.78rem;
    font-weight:750;
}


/* ============================================================
   6. GRID DOS PROFISSIONAIS
   ============================================================ */

.grid-3{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
}


/* ============================================================
   7. CARD GERADO PELO profissionais.js
   ============================================================ */

.pro-card{
    position:relative;
    min-width:0;
    height:470px;
    min-height:470px;
    max-height:470px;
    display:flex;
    flex-direction:column;
    padding:17px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:0 5px 18px rgba(11,43,77,.05);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.pro-card:hover{
    transform:translateY(-4px);
    border-color:#D2DCE5;
    box-shadow:var(--shadow);
}

.pro-top{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

.pro-avatar{
    width:58px;
    height:58px;
    flex:0 0 58px;
    display:grid;
    place-items:center;
    overflow:hidden;
    border-radius:15px;
    background:linear-gradient(135deg,var(--navy),var(--navy-light));
    color:#fff;
    font-size:1rem;
    font-weight:900;
}

.pro-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.pro-top > div:last-child{
    min-width:0;
}

.pro-top h3{
    margin:1px 0 3px;
    overflow:hidden;
    color:var(--navy);
    font-size:.97rem;
    line-height:1.3;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

.pro-role{
    min-height:20px;
    overflow:hidden;
    color:var(--muted);
    font-size:.8rem;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.rating{
    margin-top:4px;
    color:#B56700;
    font-size:.78rem;
    font-weight:800;
}

.badge{
    vertical-align:middle;
    display:inline-flex;
    align-items:center;
    margin-left:3px;
    padding:3px 6px;
    border-radius:999px;
    background:var(--green-soft);
    color:#067647;
    font-size:.61rem;
    font-weight:850;
}

.pro-desc{
    height:66px;
    min-height:66px;
    max-height:66px;
    margin:11px 0;
    overflow:hidden;
    color:var(--muted);
    font-size:.83rem;
    line-height:1.55;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
}

.pro-meta{
    margin-top:auto;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:12px;
    padding-top:13px;
    border-top:1px solid var(--line);
    color:var(--muted);
    font-size:.76rem;
}

.pro-meta span:first-child{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.pro-price{
    flex-shrink:0;
    color:var(--navy);
    font-weight:850;
    text-align:right;
}

/* Botão "Ver perfil" criado pelo JS */
.pro-card > .btn{
    width:100%;
    margin-top:14px!important;
    min-height:44px;
}



/* Estado de completude dentro do cartão */
.pro-profile-status{
    margin-top:7px;
    overflow:hidden;
    font-size:.78rem;
    font-weight:700;
    line-height:1.3;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.pro-profile-complete{
    color:#16803d;
}

.pro-profile-incomplete{
    color:#B54708;
}

.pro-profile-missing{
    height:36px;
    max-height:36px;
    margin-top:3px;
    overflow:hidden;
    color:#667085;
    font-size:.70rem;
    line-height:1.3;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}


/* ============================================================
   PAGINAÇÃO DOS PROFISSIONAIS
   ============================================================ */

.professionals-pagination{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:30px auto 6px;
}

.professionals-page-numbers{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
}

.professionals-page-button,
.professionals-page-nav{
    min-width:42px;
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 12px;
    border:1px solid var(--line);
    border-radius:11px;
    background:#fff;
    color:var(--navy);
    font:inherit;
    font-size:.75rem;
    font-weight:850;
    cursor:pointer;
    transition:.18s ease;
}

.professionals-page-button:hover,
.professionals-page-nav:hover:not(:disabled){
    border-color:#BFCBD5;
    transform:translateY(-1px);
}

.professionals-page-button.active{
    border-color:var(--navy);
    background:var(--navy);
    color:#fff;
}

.professionals-page-nav:disabled{
    opacity:.4;
    cursor:not-allowed;
}


/* ============================================================
   8. AJUDA ABAIXO DOS RESULTADOS
   ============================================================ */

.professionals-help{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
    margin-top:35px;
    padding:22px 25px;
    border:1px solid var(--line);
    border-radius:17px;
    background:#F8FAFC;
}

.professionals-help strong{
    display:block;
    color:var(--navy);
}

.professionals-help p{
    margin:3px 0 0;
    color:var(--muted);
    font-size:.84rem;
}


/* ============================================================
   9. CONFIANÇA
   ============================================================ */

.professionals-trust{
    padding:38px 0;
    background:var(--navy);
}

.professionals-trust-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.professionals-trust article{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:16px;
    border-radius:14px;
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
}

.trust-mini-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:var(--orange);
    color:var(--navy);
    font-weight:900;
}

.professionals-trust strong{
    display:block;
    color:#fff;
    font-size:.88rem;
}

.professionals-trust p{
    margin:3px 0 0;
    color:#B9CAD7;
    font-size:.76rem;
    line-height:1.5;
}


/* ============================================================
   10. TABLET
   ============================================================ */

@media(max-width:1050px){

    .quick-categories-track{
        grid-template-columns:repeat(3,1fr);
    }

    .filters-card{
        grid-template-columns:1fr 1fr;
    }

    .filter-search{
        grid-column:1/-1;
    }

    .filter-button{
        width:100%;
    }

    .grid-3{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}


/* ============================================================
   11. MOBILE
   Principal experiência Kiazolua
   ============================================================ */

@media(max-width:700px){

    /* Hero */
    .professionals-hero{
        padding:28px 0 24px;
    }

    .professionals-hero h1{
        max-width:95%;
        margin-top:3px;
        font-size:2rem;
        line-height:1.05;
    }

    .professionals-hero p{
        font-size:.87rem;
    }


    /* Categorias rápidas: 2 cards completos por linha */
    .quick-categories{
        padding:13px 0 16px;
        overflow:visible;
    }

    .quick-categories .container{
        width:min(94%,1180px);
        padding-left:0;
        padding-right:0;
    }

    .quick-categories-track{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px;
        overflow:visible;
        padding:0;
        scroll-snap-type:none;
    }

    .quick-categories-track a{
        width:100%;
        min-width:0;
        min-height:76px;
        display:flex;
        align-items:center;
        gap:9px;
        padding:12px 11px;
        scroll-snap-align:none;
        overflow:hidden;
    }

    .quick-categories-track picture{
        flex:0 0 40px;
        width:40px;
        height:40px;
    }

    .quick-categories-track img{
        width:29px;
        height:29px;
    }

    .quick-categories-track a span{
        min-width:0;
        display:block;
        overflow:hidden;
        text-overflow:ellipsis;
        white-space:normal;
        font-size:.74rem;
        line-height:1.25;
    }


    /* Conteúdo */
    .professionals-content{
        padding:25px 0 48px;
    }


    /* Filtros */
    .filters-card{
        grid-template-columns:1fr;
        gap:11px;
        padding:15px;
        border-radius:16px;
    }

    .filter-search{
        grid-column:auto;
    }

    .filters-card .input,
    .filters-card .select,
    .filter-button{
        width:100%;
        height:49px;
    }

    .filter-button{
        margin-top:3px;
    }


    /* Resultados */
    .results-head{
        align-items:center;
        margin:28px 0 14px;
    }

    .results-head h2{
        font-size:1.4rem;
    }


    /* Cards */
    .grid-3{
        grid-template-columns:1fr;
        gap:13px;
    }

    .pro-card{
        height:500px;
        min-height:500px;
        max-height:500px;
        padding:17px;
    }

    .pro-desc{
        height:76px;
        min-height:76px;
        max-height:76px;
        -webkit-line-clamp:4;
    }

    .professionals-pagination{
        flex-wrap:wrap;
        gap:8px;
        margin-top:24px;
    }

    .professionals-page-nav{
        min-height:40px;
    }

    .professionals-page-button{
        min-width:40px;
        min-height:40px;
        padding:7px 10px;
    }


    /* Ajuda */
    .professionals-help{
        display:block;
        padding:18px;
    }

    .professionals-help .btn{
        width:100%;
        margin-top:15px;
    }


    /* Confiança */
    .professionals-trust{
        padding:28px 0;
    }

    .professionals-trust-grid{
        grid-template-columns:1fr;
        gap:9px;
    }
}


/* ============================================================
   12. TELEMÓVEIS PEQUENOS
   ============================================================ */

@media(max-width:400px){

    .professionals-hero h1{
        font-size:1.8rem;
    }

    .quick-categories-track{
        gap:8px;
    }

    .quick-categories-track a{
        min-width:0;
        min-height:72px;
        padding:10px 9px;
    }

    .quick-categories-track picture{
        flex-basis:36px;
        width:36px;
        height:36px;
    }

    .quick-categories-track img{
        width:26px;
        height:26px;
    }

    .quick-categories-track a span{
        font-size:.69rem;
    }

    .pro-meta{
        display:grid;
        gap:5px;
    }

    .pro-price{
        text-align:left;
    }

    .results-head{
        display:block;
    }

    .result-count{
        display:inline-flex;
        margin-top:7px;
    }
}

/* ============================================================
   4 CARDS POR LINHA - RESPONSIVO
   ============================================================ */

@media(max-width:1250px){

    .grid-3{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:950px){

    .grid-3{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){

    .grid-3{
        grid-template-columns:1fr;
    }

    .pro-card{
        height:470px;
        min-height:470px;
        max-height:470px;
    }
}

/* ============================================================
   KIAZOLUA D5.3E - LAYOUT APROVADO FINAL
   ============================================================ */

.professionals-hero,
.quick-categories,
.professionals-help,
.professionals-trust{
    display:none!important;
}

.professionals-directory-page{
    background:#fff;
}

.professionals-directory{
    padding:14px 0 54px;
    background:#fff;
}

.professionals-directory .container{
    max-width:1540px;
}


/* PAINEL SUPERIOR */
.directory-control-panel{
    padding:14px 16px 15px;
    border:1px solid #E1E7EB;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 28px rgba(11,43,77,.045);
}

.directory-control-top{
    display:grid;
    grid-template-columns:minmax(260px,1fr) auto 220px 96px;
    align-items:center;
    gap:18px;
    margin-bottom:14px;
}

.directory-title h1{
    margin:0;
    color:#0B2B4D;
    font-size:1.55rem;
    line-height:1.1;
    letter-spacing:-.025em;
}

.directory-title p{
    margin:5px 0 0;
    color:#667085;
    font-size:.76rem;
}

.directory-top-count{
    color:#667085;
    font-size:.78rem;
    font-weight:700;
    white-space:nowrap;
}
.directory-top-count::first-letter{
    color:#00A859;
}

.directory-sort{
    min-width:0;
    padding:8px 11px;
    border:1px solid #E1E7EB;
    border-radius:10px;
}
.directory-sort label{
    display:block;
    margin-bottom:2px;
    color:#667085;
    font-size:.56rem;
}
.directory-sort select{
    width:100%;
    border:0;
    outline:0;
    background:transparent;
    color:#0B2B4D;
    font-size:.72rem;
    font-weight:800;
}

.directory-view-toggle{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;
    padding:5px;
    border:1px solid #E1E7EB;
    border-radius:10px;
}
.directory-view-toggle button{
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:7px;
    background:#fff;
    color:#0B2B4D;
    font-size:1.05rem;
    font-weight:900;
    cursor:pointer;
}
.directory-view-toggle button.active{
    background:#00A859;
    color:#fff;
}


/* FILTROS */
.directory-filters{
    display:grid;
    grid-template-columns:1.55fr .95fr .95fr .82fr 150px 125px;
    gap:10px;
    align-items:center;
}

.directory-search{
    position:relative;
}
.directory-search span{
    position:absolute;
    left:13px;
    top:50%;
    transform:translateY(-50%);
    color:#667085;
    font-size:1rem;
}
.directory-filters input,
.directory-filters select{
    width:100%;
    height:45px;
    padding:0 12px;
    border:1px solid #DDE5EA;
    border-radius:9px;
    outline:0;
    background:#fff;
    color:#0B2B4D;
    font-size:.72rem;
}
.directory-search input{
    padding-left:38px;
}
.directory-filters input:focus,
.directory-filters select:focus{
    border-color:#8AB3D0;
    box-shadow:0 0 0 3px rgba(11,43,77,.05);
}
.directory-search-button{
    height:45px;
    border:0;
    border-radius:9px;
    background:#082F57;
    color:#fff;
    font-size:.74rem;
    font-weight:900;
    cursor:pointer;
}
.directory-clear-button{
    height:45px;
    border:0;
    background:transparent;
    color:#125EB8;
    font-size:.7rem;
    font-weight:850;
    cursor:pointer;
}


/* RESULTADOS */
.results-head{
    margin:24px 0 15px!important;
}
.results-head .section-label{
    color:#008D4B;
    font-size:.66rem;
    font-weight:950;
    letter-spacing:.08em;
}
.results-head h2{
    margin-top:4px!important;
    font-size:1.55rem!important;
}
.result-count{
    padding:7px 12px!important;
    font-size:.72rem!important;
}


/* GRID */
.professionals-approved-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
    align-items:stretch;
}


/* CARD */
.kz-square-card{
    width:100%!important;
    min-width:0!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;
    padding:12px!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    border:1px solid #E0E6EA!important;
    border-radius:15px!important;
    background:#fff!important;
    box-shadow:0 5px 18px rgba(11,43,77,.045)!important;
}

.kz-card-status-row{
    min-height:24px;
    display:flex;
    justify-content:space-between;
    gap:7px;
}
.kz-status,
.kz-profile-badge{
    max-width:48%;
    padding:5px 8px;
    font-size:.57rem;
}

.kz-card-identity{
    min-height:116px!important;
    padding-top:2px!important;
}

.kz-square-card .pro-avatar{
    width:68px!important;
    height:68px!important;
    min-width:68px!important;
    flex:0 0 68px!important;
    margin-bottom:6px!important;
    border-radius:17px!important;
}

.kz-card-identity h3{
    font-size:.87rem!important;
}
.kz-card-identity .pro-role{
    font-size:.67rem!important;
}
.kz-card-identity .rating{
    font-size:.68rem!important;
}

.kz-card-divider{
    margin:6px 0 7px!important;
}

.kz-stats{
    min-height:38px!important;
}
.kz-stats>div{
    grid-template-columns:34px minmax(0,1fr)!important;
    column-gap:7px!important;
}
.kz-stat-icon{
    width:34px!important;
    height:34px!important;
    font-size:.92rem!important;
    border-radius:9px!important;
}
.kz-stats strong{
    font-size:.74rem!important;
}
.kz-stats small{
    font-size:.54rem!important;
}

.kz-tags{
    height:26px!important;
    margin-top:4px!important;
}
.kz-tags span{
    padding:4px 7px!important;
    font-size:.54rem!important;
}

.kz-card-bottom{
    min-height:32px!important;
    padding-top:6px!important;
}
.kz-location{
    font-size:.61rem!important;
}
.kz-price{
    max-width:145px!important;
    font-size:.61rem!important;
}

.kz-profile-button{
    width:100%!important;
    height:34px!important;
    min-height:34px!important;
    flex:0 0 34px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin-top:7px!important;
    padding:0 10px!important;
    border-radius:7px!important;
    background:#082F57!important;
    color:#fff!important;
    font-size:.69rem!important;
    font-weight:900!important;
    text-decoration:none!important;
    visibility:visible!important;
    opacity:1!important;
}


/* PAGINAÇÃO */
.professionals-pagination{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    margin:16px 0 0;
}
.professionals-pagination[hidden]{
    display:none!important;
}
.professionals-pagination button{
    min-width:36px;
    height:36px;
    padding:0 10px;
    border:1px solid #DDE5EA;
    border-radius:7px;
    background:#fff;
    color:#0B2B4D;
    font-size:.68rem;
    font-weight:850;
    cursor:pointer;
}
.professionals-pagination button.active{
    border-color:#00A859;
    background:#00A859;
    color:#fff;
}
.professionals-pagination button:disabled{
    opacity:.45;
    cursor:not-allowed;
}


/* MODO LISTA */
.professionals-approved-grid.list-view{
    grid-template-columns:1fr!important;
}
.professionals-approved-grid.list-view .kz-square-card{
    aspect-ratio:auto!important;
    height:auto!important;
    min-height:190px!important;
}


/* RESPONSIVO */
@media(max-width:1200px){
    .directory-control-top{
        grid-template-columns:1fr auto 210px;
    }
    .directory-view-toggle{
        display:none;
    }
    .directory-filters{
        grid-template-columns:1.4fr 1fr 1fr 1fr 130px;
    }
    .directory-clear-button{
        grid-column:1/-1;
        justify-self:end;
        height:28px;
    }
    .professionals-approved-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:900px){
    .directory-control-top{
        grid-template-columns:1fr 190px;
    }
    .directory-top-count{
        grid-column:1/-1;
        grid-row:2;
    }
    .directory-filters{
        grid-template-columns:1fr 1fr;
    }
    .directory-search{
        grid-column:1/-1;
    }
    .directory-search-button{
        width:100%;
    }
    .directory-clear-button{
        grid-column:auto;
        justify-self:stretch;
        height:45px;
    }
    .professionals-approved-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:560px){
    .professionals-directory{
        padding-top:8px;
    }
    .directory-control-panel{
        padding:12px;
    }
    .directory-control-top{
        grid-template-columns:1fr;
        gap:10px;
    }
    .directory-sort{
        width:100%;
    }
    .directory-filters{
        grid-template-columns:1fr;
    }
    .directory-search{
        grid-column:auto;
    }
    .directory-clear-button{
        height:38px;
    }
    .results-head{
        display:flex!important;
        align-items:center!important;
    }
    .professionals-approved-grid{
        grid-template-columns:1fr;
    }
    .kz-square-card{
        max-width:390px;
        margin-inline:auto;
    }
}

/* ============================================================
   KIAZOLUA D5.3F - CORREÇÃO DOS CARDS OCULTOS
   Cole este bloco NO FINAL de /css/profissionais.css

   Corrige:
   - cards comprimidos/ocultos;
   - altura quadrada no desktop;
   - conteúdo interno visível;
   - botão "Ver perfil" visível;
   - 4 cards por linha.
   ============================================================ */

.professionals-approved-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px!important;
    align-items:stretch!important;
    overflow:visible!important;
}

.professionals-approved-grid .kz-square-card,
.professionals-approved-grid .pro-card{
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;

    /* IMPORTANTE: anula o height:0 da D5.3E */
    height:auto!important;
    min-height:0!important;
    max-height:none!important;

    aspect-ratio:1 / 1!important;

    padding:16px!important;
    overflow:hidden!important;

    border:1px solid #E0E6EA!important;
    border-radius:18px!important;
    background:#FFFFFF!important;
    box-shadow:0 8px 24px rgba(11,43,77,.05)!important;

    visibility:visible!important;
    opacity:1!important;
}

.professionals-approved-grid .kz-card-status-row{
    flex:0 0 auto!important;
    min-height:27px!important;
}

.professionals-approved-grid .kz-card-identity{
    flex:0 0 auto!important;
    min-height:125px!important;
    height:auto!important;
    overflow:visible!important;
}

.professionals-approved-grid .pro-avatar{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    min-height:72px!important;
    flex:0 0 72px!important;
}

.professionals-approved-grid .kz-card-divider{
    flex:0 0 auto!important;
}

.professionals-approved-grid .kz-stats{
    flex:0 0 auto!important;
    min-height:42px!important;
    height:auto!important;
    overflow:visible!important;
}

.professionals-approved-grid .kz-tags{
    flex:0 0 auto!important;
    min-height:28px!important;
    height:28px!important;
    overflow:hidden!important;
}

.professionals-approved-grid .kz-card-bottom{
    flex:0 0 auto!important;
    min-height:34px!important;
    height:auto!important;
    overflow:visible!important;
}

/* Empurra o botão para o fundo do quadrado */
.professionals-approved-grid .kz-profile-button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    width:100%!important;
    height:38px!important;
    min-height:38px!important;
    max-height:38px!important;
    flex:0 0 38px!important;

    margin-top:auto!important;

    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
}

/* Nenhum filho direto do card pode ficar invisível */
.professionals-approved-grid .kz-square-card > *{
    visibility:visible!important;
    opacity:1!important;
}

/* TABLET */
@media(max-width:1200px){
    .professionals-approved-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

/* TABLET PEQUENO */
@media(max-width:900px){
    .professionals-approved-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

/* TELEMÓVEL */
@media(max-width:560px){
    .professionals-approved-grid{
        grid-template-columns:1fr!important;
    }

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        width:100%!important;
        max-width:390px!important;
        margin-inline:auto!important;
        aspect-ratio:auto!important;
        min-height:390px!important;
    }
}

/* ============================================================
   KIAZOLUA D5.3G - VISUAL APROVADO FINAL
   RESTAURA TOPO + CARDS EXATAMENTE NO PADRÃO APROVADO
   ============================================================ */

/* ------------------------------------------------------------
   1. ÁREA SUPERIOR / FILTROS
   ------------------------------------------------------------ */

.professionals-directory{
    padding-top:0!important;
}

.professionals-directory .container{
    max-width:1540px!important;
}

.directory-control-panel{
    padding:18px 18px 16px!important;
    border:1px solid #E2E8EC!important;
    border-radius:18px!important;
    background:#FFFFFF!important;
    box-shadow:0 8px 26px rgba(11,43,77,.045)!important;
}

.directory-control-top{
    display:grid!important;
    grid-template-columns:minmax(320px,1fr) auto 220px 94px!important;
    gap:20px!important;
    align-items:center!important;
    margin-bottom:15px!important;
}

.directory-title h1{
    margin:0!important;
    color:#0B2B4D!important;
    font-size:1.65rem!important;
    line-height:1.06!important;
    font-weight:950!important;
    letter-spacing:-.03em!important;
}

.directory-title p{
    margin:5px 0 0!important;
    color:#667085!important;
    font-size:.79rem!important;
    line-height:1.3!important;
}

.directory-top-count{
    color:#667085!important;
    font-size:.79rem!important;
    font-weight:700!important;
    white-space:nowrap!important;
}

.directory-top-count::first-letter{
    color:#00A859!important;
}

.directory-sort{
    min-height:58px!important;
    padding:9px 12px!important;
    border:1px solid #DDE5EA!important;
    border-radius:11px!important;
    background:#fff!important;
}

.directory-sort label{
    display:block!important;
    margin-bottom:3px!important;
    color:#667085!important;
    font-size:.56rem!important;
    font-weight:500!important;
}

.directory-sort select{
    width:100%!important;
    height:26px!important;
    padding:0!important;
    border:0!important;
    outline:0!important;
    background:transparent!important;
    color:#0B2B4D!important;
    font-size:.74rem!important;
    font-weight:850!important;
}

.directory-view-toggle{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:4px!important;
    padding:5px!important;
    border:1px solid #DDE5EA!important;
    border-radius:11px!important;
    background:#fff!important;
}

.directory-view-toggle button{
    width:38px!important;
    height:38px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:0!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#0B2B4D!important;
    font-size:1.08rem!important;
    font-weight:900!important;
}

.directory-view-toggle button.active{
    background:#00A859!important;
    color:#fff!important;
}

.directory-filters{
    display:grid!important;
    grid-template-columns:1.55fr 1fr 1fr .9fr 150px 130px!important;
    gap:11px!important;
    align-items:center!important;
}

.directory-search{
    position:relative!important;
}

.directory-search span{
    position:absolute!important;
    left:14px!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    color:#667085!important;
    font-size:1.05rem!important;
    z-index:2!important;
}

.directory-filters input,
.directory-filters select{
    width:100%!important;
    height:47px!important;
    padding:0 13px!important;
    border:1px solid #DDE5EA!important;
    border-radius:9px!important;
    outline:0!important;
    background:#fff!important;
    color:#344054!important;
    font-size:.72rem!important;
}

.directory-search input{
    padding-left:40px!important;
}

.directory-search-button{
    height:47px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    border:0!important;
    border-radius:9px!important;
    background:#082F57!important;
    color:#fff!important;
    font-size:.74rem!important;
    font-weight:900!important;
}

.directory-clear-button{
    height:47px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    border:0!important;
    background:transparent!important;
    color:#1260BD!important;
    font-size:.7rem!important;
    font-weight:900!important;
}


/* ------------------------------------------------------------
   2. CABEÇALHO DOS RESULTADOS
   ------------------------------------------------------------ */

.results-head{
    display:flex!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:18px!important;
    margin:24px 0 15px!important;
}

.results-head .section-label{
    display:block!important;
    margin-bottom:5px!important;
    color:#008E4B!important;
    font-size:.66rem!important;
    font-weight:950!important;
    letter-spacing:.08em!important;
}

.results-head h2{
    margin:0!important;
    color:#0B2B4D!important;
    font-size:1.6rem!important;
    line-height:1.05!important;
    font-weight:950!important;
}

.result-count{
    display:inline-flex!important;
    align-items:center!important;
    min-height:34px!important;
    padding:7px 13px!important;
    border-radius:999px!important;
    background:#F2F5F7!important;
    color:#667085!important;
    font-size:.72rem!important;
    font-weight:800!important;
}


/* ------------------------------------------------------------
   3. GRID DE 4 CARDS
   ------------------------------------------------------------ */

.professionals-approved-grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:16px!important;
    align-items:stretch!important;
    overflow:visible!important;
}


/* ------------------------------------------------------------
   4. CARD BASE
   ------------------------------------------------------------ */

.professionals-approved-grid .kz-square-card,
.professionals-approved-grid .pro-card{
    position:relative!important;
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:1 / 1!important;

    display:flex!important;
    flex-direction:column!important;

    padding:13px!important;
    overflow:hidden!important;

    border:1px solid #E0E6EA!important;
    border-radius:15px!important;
    background:#FFFFFF!important;
    box-shadow:0 5px 18px rgba(11,43,77,.05)!important;

    visibility:visible!important;
    opacity:1!important;
}


/* ------------------------------------------------------------
   5. BADGES DO TOPO
   ------------------------------------------------------------ */

.kz-card-status-row{
    flex:0 0 auto!important;
    min-height:28px!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:8px!important;
}

.kz-status,
.kz-profile-badge{
    max-width:49%!important;
    min-height:25px!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    padding:5px 9px!important;
    border-radius:999px!important;
    font-size:.58rem!important;
    line-height:1!important;
    font-weight:900!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
}

.kz-status i{
    width:7px!important;
    height:7px!important;
    flex:0 0 7px!important;
    display:block!important;
    border-radius:50%!important;
}

.kz-status-online{
    color:#087B44!important;
    background:#EAF8EE!important;
}

.kz-status-online i{
    background:#00A859!important;
}

.kz-status-offline{
    color:#667085!important;
    background:#F2F4F7!important;
}

.kz-status-offline i{
    background:#7C8797!important;
}

.kz-profile-badge{
    background:#fff!important;
    border:1px solid transparent!important;
}

.kz-verified{
    color:#0759C7!important;
    border-color:#74A9FF!important;
}

.kz-complete{
    color:#087B44!important;
    border-color:#9FD8B3!important;
}

.kz-incomplete{
    color:#F07800!important;
    border-color:#FF9F43!important;
}


/* ------------------------------------------------------------
   6. FOTO + NOME + PROFISSÃO + AVALIAÇÃO
   ------------------------------------------------------------ */

.kz-card-identity{
    flex:0 0 auto!important;
    min-height:120px!important;
    height:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    padding:2px 5px 0!important;
    text-align:center!important;
    overflow:visible!important;
}

.kz-square-card .pro-avatar{
    width:72px!important;
    height:72px!important;
    min-width:72px!important;
    min-height:72px!important;
    flex:0 0 72px!important;

    display:grid!important;
    place-items:center!important;

    margin:0 auto 7px!important;
    padding:0!important;

    overflow:hidden!important;
    border-radius:18px!important;
    background:#154D7B!important;

    color:#fff!important;
    font-size:1.38rem!important;
    font-weight:950!important;
}

.kz-square-card .pro-avatar img{
    width:100%!important;
    height:100%!important;
    display:block!important;
    object-fit:cover!important;
    object-position:center!important;
}

.kz-square-card .pro-avatar-initials{
    width:100%!important;
    height:100%!important;
    align-items:center!important;
    justify-content:center!important;
}

.kz-card-identity h3{
    width:100%!important;
    margin:0!important;
    overflow:hidden!important;
    color:#071F3B!important;
    font-size:.88rem!important;
    line-height:1.15!important;
    font-weight:950!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.kz-card-identity .pro-role{
    width:100%!important;
    margin-top:4px!important;
    overflow:hidden!important;
    color:#667085!important;
    font-size:.67rem!important;
    line-height:1.15!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.kz-card-identity .rating{
    margin-top:5px!important;
    color:#C87400!important;
    font-size:.68rem!important;
    line-height:1!important;
    font-weight:900!important;
}

.kz-card-identity .rating span{
    margin-left:4px!important;
    color:#667085!important;
    font-weight:500!important;
}

.kz-card-divider{
    width:100%!important;
    height:1px!important;
    flex:0 0 1px!important;
    margin:6px 0 8px!important;
    background:#E9EDF0!important;
}


/* ------------------------------------------------------------
   7. ESTATÍSTICAS / ÍCONES
   ------------------------------------------------------------ */

.kz-stats{
    flex:0 0 auto!important;
    min-height:42px!important;
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:7px!important;
    overflow:visible!important;
}

.kz-stats>div{
    min-width:0!important;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr)!important;
    grid-template-rows:auto auto!important;
    column-gap:7px!important;
    align-items:center!important;
}

.kz-stat-icon{
    grid-row:1 / 3!important;
    width:34px!important;
    height:34px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:9px!important;
    font-size:.9rem!important;
    font-weight:950!important;
}

.kz-stat-green{
    background:#EAF8EE!important;
    color:#008F4B!important;
}

.kz-stat-blue{
    background:#EEF4FF!important;
    color:#175CD3!important;
}

.kz-stat-purple{
    background:#F4F0FF!important;
    color:#6938EF!important;
}

.kz-stats strong{
    display:block!important;
    overflow:hidden!important;
    color:#0B2B4D!important;
    font-size:.74rem!important;
    line-height:1.05!important;
    font-weight:900!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.kz-stats small{
    display:block!important;
    overflow:hidden!important;
    color:#7A8798!important;
    font-size:.54rem!important;
    line-height:1.05!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}


/* ------------------------------------------------------------
   8. ESPECIALIDADES
   ------------------------------------------------------------ */

.kz-tags{
    flex:0 0 28px!important;
    height:28px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    margin-top:5px!important;
    overflow:hidden!important;
}

.kz-tags span{
    max-width:31%!important;
    display:block!important;
    padding:5px 8px!important;
    overflow:hidden!important;
    border-radius:7px!important;
    background:#F0F3F6!important;
    color:#25364A!important;
    font-size:.55rem!important;
    line-height:1!important;
    font-weight:800!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}


/* ------------------------------------------------------------
   9. LOCAL + PREÇO
   ------------------------------------------------------------ */

.kz-card-bottom{
    flex:0 0 auto!important;
    min-height:34px!important;

    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:8px!important;

    margin-top:auto!important;
    padding-top:7px!important;
    overflow:visible!important;

    border-top:1px solid #EDF0F2!important;
}

.kz-location{
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    color:#667085!important;
    font-size:.62rem!important;
}

.kz-location span:first-child{
    font-size:.7rem!important;
}

.kz-location span:last-child{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

.kz-price{
    max-width:145px!important;
    overflow:hidden!important;
    color:#008A49!important;
    font-size:.62rem!important;
    line-height:1.1!important;
    font-weight:900!important;
    text-align:right!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}


/* ------------------------------------------------------------
   10. BOTÃO VER PERFIL
   ------------------------------------------------------------ */

.kz-profile-button{
    width:100%!important;
    height:36px!important;
    min-height:36px!important;
    max-height:36px!important;
    flex:0 0 36px!important;

    display:flex!important;
    align-items:center!important;
    justify-content:center!important;

    margin-top:8px!important;
    padding:0 10px!important;

    border:0!important;
    border-radius:7px!important;
    background:#082F57!important;
    color:#FFFFFF!important;

    font-size:.7rem!important;
    line-height:1!important;
    font-weight:950!important;
    text-decoration:none!important;

    visibility:visible!important;
    opacity:1!important;
    overflow:visible!important;
}

.kz-profile-button:hover{
    background:#0B3B6B!important;
}


/* ------------------------------------------------------------
   11. GARANTIA CONTRA CSS ANTIGO
   ------------------------------------------------------------ */

.kz-square-card .pro-desc,
.kz-square-card .pro-profile-status,
.kz-square-card .pro-profile-missing,
.kz-square-card .pro-trust-grid,
.kz-square-card .pro-specialties,
.kz-square-card .pro-meta{
    display:none!important;
}

.professionals-approved-grid .kz-square-card > *{
    visibility:visible!important;
    opacity:1!important;
}


/* ------------------------------------------------------------
   12. PAGINAÇÃO
   ------------------------------------------------------------ */

.professionals-pagination{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    margin:17px 0 0!important;
}

.professionals-pagination[hidden]{
    display:none!important;
}

.professionals-pagination button{
    min-width:36px!important;
    height:36px!important;
    padding:0 10px!important;
    border:1px solid #DDE5EA!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#0B2B4D!important;
    font-size:.68rem!important;
    font-weight:900!important;
}

.professionals-pagination button.active{
    border-color:#00A859!important;
    background:#00A859!important;
    color:#fff!important;
}


/* ------------------------------------------------------------
   13. RESPONSIVO
   ------------------------------------------------------------ */

@media(max-width:1200px){

    .directory-control-top{
        grid-template-columns:1fr auto 210px!important;
    }

    .directory-view-toggle{
        display:none!important;
    }

    .directory-filters{
        grid-template-columns:1.4fr 1fr 1fr 1fr 130px!important;
    }

    .directory-clear-button{
        grid-column:1/-1!important;
        justify-self:end!important;
        height:30px!important;
    }

    .professionals-approved-grid{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}

@media(max-width:900px){

    .directory-control-top{
        grid-template-columns:1fr 190px!important;
    }

    .directory-top-count{
        grid-column:1/-1!important;
        grid-row:2!important;
    }

    .directory-filters{
        grid-template-columns:1fr 1fr!important;
    }

    .directory-search{
        grid-column:1/-1!important;
    }

    .directory-clear-button{
        grid-column:auto!important;
        justify-self:stretch!important;
        height:47px!important;
    }

    .professionals-approved-grid{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}

@media(max-width:560px){

    .directory-control-panel{
        padding:13px!important;
    }

    .directory-control-top{
        grid-template-columns:1fr!important;
        gap:10px!important;
    }

    .directory-sort{
        width:100%!important;
    }

    .directory-filters{
        grid-template-columns:1fr!important;
    }

    .directory-search{
        grid-column:auto!important;
    }

    .directory-clear-button{
        height:40px!important;
    }

    .results-head{
        align-items:center!important;
    }

    .professionals-approved-grid{
        grid-template-columns:1fr!important;
    }

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        max-width:390px!important;
        margin-inline:auto!important;
        aspect-ratio:auto!important;
        min-height:390px!important;
    }
}

/* ============================================================
   KIAZOLUA D5.3H - ALTURA DESKTOP FINAL
   Corrige cards cortados no desktop mantendo:
   - 4 por linha;
   - todos do mesmo tamanho;
   - conteúdo completo;
   - botão Ver perfil visível.
   ============================================================ */

/* DESKTOP GRANDE */
@media(min-width:1201px){

    .professionals-approved-grid{
        grid-template-columns:repeat(4,minmax(0,1fr))!important;
        align-items:stretch!important;
    }

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        aspect-ratio:auto!important;

        height:455px!important;
        min-height:455px!important;
        max-height:455px!important;

        overflow:hidden!important;
    }

    .professionals-approved-grid .kz-card-identity{
        min-height:126px!important;
    }

    .professionals-approved-grid .kz-card-bottom{
        margin-top:auto!important;
    }

    .professionals-approved-grid .kz-profile-button{
        margin-top:8px!important;
        flex:0 0 38px!important;
        height:38px!important;
        min-height:38px!important;
        max-height:38px!important;
    }
}


/* TABLET / PORTÁTIL */
@media(min-width:901px) and (max-width:1200px){

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        aspect-ratio:auto!important;

        height:455px!important;
        min-height:455px!important;
        max-height:455px!important;

        overflow:hidden!important;
    }

    .professionals-approved-grid .kz-card-bottom{
        margin-top:auto!important;
    }

    .professionals-approved-grid .kz-profile-button{
        margin-top:8px!important;
        flex:0 0 38px!important;
        height:38px!important;
        min-height:38px!important;
        max-height:38px!important;
    }
}


/* TABLET PEQUENO */
@media(min-width:561px) and (max-width:900px){

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        aspect-ratio:auto!important;

        height:450px!important;
        min-height:450px!important;
        max-height:450px!important;

        overflow:hidden!important;
    }

    .professionals-approved-grid .kz-card-bottom{
        margin-top:auto!important;
    }

    .professionals-approved-grid .kz-profile-button{
        margin-top:8px!important;
    }
}


/* MOBILE
   Mantém crescimento natural, pois já estava correto.
*/
@media(max-width:560px){

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        aspect-ratio:auto!important;

        height:auto!important;
        min-height:510px!important;
        max-height:none!important;

        overflow:visible!important;
    }
}

/* ============================================================
   KIAZOLUA D5.3I - CARDS DESKTOP MAIS COMPACTOS
   Remove o espaço branco excessivo sem alterar o conteúdo.
   ============================================================ */

@media(min-width:1201px){

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        height:390px!important;
        min-height:390px!important;
        max-height:390px!important;
        padding:12px!important;
    }

    .professionals-approved-grid .kz-card-identity{
        min-height:118px!important;
    }

    .professionals-approved-grid .kz-card-divider{
        margin:4px 0 7px!important;
    }

    .professionals-approved-grid .kz-stats{
        min-height:40px!important;
    }

    .professionals-approved-grid .kz-tags{
        margin-top:4px!important;
    }

    /* Em vez de empurrar localização para o fundo,
       mantém a sequência compacta do conteúdo. */
    .professionals-approved-grid .kz-card-bottom{
        margin-top:10px!important;
    }

    .professionals-approved-grid .kz-profile-button{
        margin-top:7px!important;
        height:36px!important;
        min-height:36px!important;
        max-height:36px!important;
        flex-basis:36px!important;
    }
}

@media(min-width:901px) and (max-width:1200px){

    .professionals-approved-grid .kz-square-card,
    .professionals-approved-grid .pro-card{
        height:405px!important;
        min-height:405px!important;
        max-height:405px!important;
    }

    .professionals-approved-grid .kz-card-bottom{
        margin-top:10px!important;
    }
}

/* ============================================================
   KIAZOLUA D5.10 - CONFIANÇA VISUAL NOS RESULTADOS
   Não altera grelha, tamanho ou estrutura dos cards.
   ============================================================ */

/* Verificação ganha maior autoridade visual, sem aumentar dimensões */
.kz-profile-badge.kz-verified{
    background:#F4F8FF!important;
    box-shadow:inset 0 0 0 1px rgba(23,92,211,.04)!important;
}

/* Avaliações reais ficam um pouco mais fortes; "Novo" permanece discreto */
.kz-card-identity .rating.has-reviews{
    color:#B85F00!important;
}

.kz-card-identity .rating.has-reviews span{
    color:#526174!important;
    font-weight:650!important;
}

.kz-card-identity .rating.no-reviews{
    color:#C87400!important;
}

.kz-card-identity .rating.no-reviews span{
    color:#98A2B3!important;
}

/* Provas existentes ganham presença; zeros ficam visualmente secundários */
.kz-trust-stat{
    transition:opacity .15s ease, transform .15s ease;
}

.kz-trust-stat.has-proof strong{
    color:#071F3B!important;
    font-weight:950!important;
}

.kz-trust-stat.has-proof small{
    color:#667085!important;
}

.kz-trust-stat.no-proof{
    opacity:.62;
}

.kz-trust-stat.no-proof .kz-stat-icon{
    filter:saturate(.45);
}

.kz-trust-stat.no-proof strong{
    color:#7A8798!important;
}

/* Hover apenas como pista de que os indicadores têm significado */
@media(hover:hover){
    .kz-trust-stat.has-proof:hover{
        transform:translateY(-1px);
    }

    .kz-profile-badge.kz-verified:hover{
        border-color:#4F8EF7!important;
    }
}

/* O botão continua exatamente no mesmo lugar, mas o texto ganha contraste */
.kz-profile-button{
    letter-spacing:.005em!important;
}

/* Mobile: nada cresce nem muda de posição */
@media(max-width:560px){
    .kz-trust-stat:hover{
        transform:none!important;
    }
}

/* ============================================================
   KIAZOLUA - HERO PROFISSIONAIS V2
   Alteração isolada: não modifica filtros, resultados ou cards.
   ============================================================ */

.professionals-hero-v2{
    position:relative;
    overflow:hidden;
    padding:30px 0;
    border-bottom:1px solid #DDE5EA;
    background:
        radial-gradient(circle at 10% 90%,rgba(0,168,89,.08),transparent 25%),
        radial-gradient(circle at 91% 14%,rgba(255,159,28,.10),transparent 28%),
        linear-gradient(105deg,#F0FAF7 0%,#F8FBFA 52%,#FFF7EA 100%);
}

.professionals-hero-v2::before,
.professionals-hero-v2::after{
    content:"";
    position:absolute;
    border:1px solid rgba(11,43,77,.045);
    border-radius:50%;
    pointer-events:none;
}

.professionals-hero-v2::before{
    width:290px;
    height:290px;
    left:-95px;
    bottom:-205px;
}

.professionals-hero-v2::after{
    width:390px;
    height:390px;
    right:70px;
    top:-315px;
}

.professionals-hero-v2 .container{
    max-width:1540px!important;
}

.professionals-hero-v2-inner{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:minmax(0,1.42fr) minmax(390px,.82fr);
    align-items:center;
    gap:52px;
}

.professionals-hero-v2-copy{
    min-width:0;
}

.professionals-hero-v2-eyebrow{
    display:block;
    margin-bottom:13px;
    color:#008D4B;
    font-size:.72rem;
    line-height:1;
    font-weight:950;
    letter-spacing:.09em;
}

.professionals-hero-v2 h1{
    max-width:820px;
    margin:0;
    color:#0B2B4D;
    font-size:clamp(2.55rem,4.15vw,4.55rem);
    line-height:.98;
    font-weight:950;
    letter-spacing:-.055em;
}

.professionals-hero-v2 h1 span{
    display:block;
    color:#00A859;
}

.professionals-hero-v2-copy > p{
    max-width:830px;
    margin:18px 0 0;
    color:#5F7085;
    font-size:1rem;
    line-height:1.6;
}

.professionals-hero-v2-trust{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:20px;
    margin-top:20px;
    color:#40546B;
    font-size:.72rem;
    font-weight:850;
}

.professionals-hero-v2-card{
    min-width:0;
    padding:30px 31px;
    border-radius:27px;
    background:#0D345D;
    color:#fff;
    box-shadow:0 22px 50px rgba(11,43,77,.13);
}

.professionals-hero-v2-pill{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:0 12px;
    border-radius:999px;
    background:#FFF1DF;
    color:#B85F00;
    font-size:.63rem;
    font-weight:950;
    letter-spacing:.04em;
}

.professionals-hero-v2-card h2{
    max-width:480px;
    margin:19px 0 20px;
    color:#fff;
    font-size:1.55rem;
    line-height:1.15;
    font-weight:950;
    letter-spacing:-.025em;
}

.professionals-hero-v2-steps{
    display:grid;
    gap:9px;
}

.professionals-hero-v2-steps > div{
    min-height:45px;
    display:flex;
    align-items:center;
    gap:14px;
    padding:0 14px;
    border:1px solid rgba(255,255,255,.13);
    border-radius:10px;
    background:rgba(255,255,255,.07);
}

.professionals-hero-v2-steps strong{
    color:#FF9F1C;
    font-size:.69rem;
    font-weight:950;
}

.professionals-hero-v2-steps span{
    color:#fff;
    font-size:.78rem;
    font-weight:850;
}

/* O painel aprovado permanece intacto, apenas recebe espaço após o hero. */
.professionals-hero-v2 + .professionals-directory{
    padding-top:28px!important;
}

@media(max-width:1050px){
    .professionals-hero-v2-inner{
        grid-template-columns:1fr .78fr;
        gap:28px;
    }

    .professionals-hero-v2 h1{
        font-size:clamp(2.3rem,5vw,3.7rem);
    }

    .professionals-hero-v2-card{
        padding:24px;
    }
}

@media(max-width:760px){
    .professionals-hero-v2{
        padding:25px 0;
    }

    .professionals-hero-v2-inner{
        grid-template-columns:1fr;
        gap:22px;
    }

    .professionals-hero-v2 h1{
        max-width:560px;
        font-size:2.35rem;
        line-height:1.02;
    }

    .professionals-hero-v2-copy > p{
        margin-top:13px;
        font-size:.88rem;
    }

    .professionals-hero-v2-trust{
        gap:9px 15px;
        margin-top:15px;
        font-size:.65rem;
    }

    .professionals-hero-v2-card{
        padding:21px;
        border-radius:20px;
    }

    .professionals-hero-v2-card h2{
        margin:15px 0 16px;
        font-size:1.25rem;
    }

    .professionals-hero-v2 + .professionals-directory{
        padding-top:18px!important;
    }
}

@media(max-width:480px){
    .professionals-hero-v2 h1{
        font-size:2rem;
    }

    .professionals-hero-v2-trust{
        display:grid;
        gap:7px;
    }
}

/* D5.74 — selo compacto; apenas o indicador já verificado. */
.kz-profile-badge.kz-verified.kz-verified-seal{
    color:#0759C7!important;
    background:linear-gradient(135deg,#F1F7FF,#E8F2FF)!important;
    border-color:#8EB9F4!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;
}
.kz-verified-seal .kz-verified-seal-icon{
    display:block!important;
    width:13px!important;
    height:13px!important;
    flex:0 0 13px!important;
}
.kz-verified-seal>span{min-width:0;overflow:hidden;text-overflow:ellipsis}

/* D5.78: modo lista com dois profissionais por linha. */
#professionalList.professionals-approved-grid.list-view{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
#professionalList.professionals-approved-grid.list-view > .kz-square-card,
#professionalList.professionals-approved-grid.list-view > .pro-card{
    min-width:0;
}
@media(max-width:767px){
    #professionalList.professionals-approved-grid.list-view{
        grid-template-columns:minmax(0,1fr)!important;
    }
}
