/* ============================================================
   KIAZOLUA V2 - CATEGORIAS.CSS
   Layout final:
   - 2 cards horizontais por linha
   - Imagem inteira à esquerda
   - Conteúdo à direita
   - 1 card por linha no mobile
============================================================ */

@import url("style.css");


/* ============================================================
   1. HERO
============================================================ */

.categories-hero{
    padding:56px 0 52px;
    background:linear-gradient(180deg,#F8FAFC 0%,#FFFFFF 100%);
    border-bottom:1px solid var(--line);
}

.categories-hero-grid{
    display:grid;
    grid-template-columns:minmax(0,1fr) 360px;
    gap:55px;
    align-items:center;
}

.categories-hero h1{
    max-width:760px;
    margin:5px 0 12px;
    color:var(--navy);
    font-size:clamp(2.4rem,5vw,4.1rem);
    line-height:1;
    letter-spacing:-.05em;
}

.categories-hero-copy>p{
    max-width:650px;
    margin:0;
    color:var(--muted);
    font-size:.96rem;
    line-height:1.65;
}


/* ============================================================
   2. PESQUISA HERO
============================================================ */

.categories-search{
    max-width:720px;
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:8px;

    margin-top:24px;
    padding:7px;

    border:1px solid var(--line);
    border-radius:16px;

    background:#fff;

    box-shadow:var(--shadow-sm);
}

.categories-search>span{
    padding-left:8px;
    color:var(--muted);
    font-size:1.25rem;
}

.categories-search input{
    min-width:0;
    min-height:46px;

    border:0;
    outline:0;

    background:transparent;

    color:var(--ink);

    font-size:.89rem;
}

.categories-search input::placeholder{
    color:#98A2B3;
}

.categories-search .btn{
    min-height:46px;
}


/* ============================================================
   3. PESQUISAS POPULARES
============================================================ */

.categories-popular{
    display:flex;
    align-items:center;
    flex-wrap:wrap;

    gap:7px;

    margin-top:13px;

    color:var(--muted);

    font-size:.72rem;
}

.categories-popular strong{
    color:#526174;
}

.categories-popular a{
    padding:5px 9px;

    border:1px solid var(--line);
    border-radius:999px;

    background:#fff;

    color:var(--navy);

    font-weight:750;

    transition:.2s ease;
}

.categories-popular a:hover{
    border-color:#BBC9D4;
    background:#F8FAFC;
}


/* ============================================================
   4. PAINEL HERO
============================================================ */

.categories-hero-panel{
    padding:28px;

    border-radius:24px;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(255,157,26,.22),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy-light)
        );

    color:#fff;

    box-shadow:var(--shadow);
}

.panel-label{
    display:inline-flex;

    padding:6px 9px;

    border-radius:999px;

    background:rgba(255,255,255,.1);

    border:1px solid rgba(255,255,255,.1);

    color:#C7D7E3;

    font-size:.66rem;
    font-weight:900;
    letter-spacing:.08em;
}

.categories-hero-panel h2{
    margin:12px 0 18px;

    color:#fff;

    font-size:1.65rem;
    line-height:1.12;
}

.panel-list{
    display:grid;
    gap:10px;
}

.panel-list span{
    display:flex;
    align-items:center;

    gap:8px;

    color:#D3E0E9;

    font-size:.8rem;
}


/* ============================================================
   5. SECÇÃO PRINCIPAL
============================================================ */

.categories-main{
    padding:70px 0;
    background:#fff;
}


/* ============================================================
   6. GRID
   2 CARDS HORIZONTAIS POR LINHA
============================================================ */

.categories-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:22px;
}


/* ============================================================
   7. CARD HORIZONTAL
============================================================ */

.service-category-card{
    position:relative;

    display:grid;
    grid-template-columns:44% 56%;

    width:100%;

    min-height:285px;

    padding:0;

    overflow:hidden;

    border:1px solid var(--line);
    border-radius:22px;

    background:#fff;

    box-shadow:
        0 7px 24px
        rgba(11,43,77,.06);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.service-category-card:hover{
    transform:translateY(-4px);

    border-color:#C9D5DF;

    box-shadow:
        0 15px 35px
        rgba(11,43,77,.10);
}


/* ============================================================
   8. IMAGEM
   A IMAGEM APARECE INTEIRA
============================================================ */

.service-category-image{
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    width:100%;
    height:100%;

    min-height:285px;

    overflow:hidden;

    padding:10px;

    background:
        linear-gradient(
            145deg,
            #F5F8FA,
            #EEF3F6
        );
}

.service-category-image img{
    display:block;

    width:100%;
    height:100%;

    max-width:100%;
    max-height:100%;

    object-fit:contain;
    object-position:center;

    border-radius:16px;

    transition:transform .35s ease;
}

.service-category-card:hover
.service-category-image img{
    transform:scale(1.025);
}


/* detalhe entre imagem e conteúdo */

.service-category-image::after{
    content:"";

    position:absolute;

    top:18px;
    right:0;
    bottom:18px;

    width:1px;

    background:var(--line);

    pointer-events:none;
}


/* ============================================================
   9. CONTEÚDO
============================================================ */

.service-category-content{
    position:relative;

    display:flex;
    flex-direction:column;

    min-width:0;

    padding:24px 24px 22px;

    background:#fff;
}


/* detalhe visual laranja */

.service-category-content::before{
    content:"";

    position:absolute;

    width:130px;
    height:130px;

    top:-82px;
    right:-82px;

    border-radius:50%;

    background:
        rgba(255,157,26,.06);

    pointer-events:none;
}


/* ============================================================
   10. NÚMERO
============================================================ */

.category-number{
    position:relative;
    z-index:1;

    width:35px;
    height:35px;

    display:grid;
    place-items:center;

    margin-bottom:14px;

    border-radius:10px;

    background:#F1F5F8;

    color:var(--navy);

    font-size:.65rem;
    font-weight:900;
}


/* ============================================================
   11. TÍTULO
============================================================ */

.service-category-content h3{
    position:relative;
    z-index:1;

    margin:0 0 8px;

    color:var(--navy);

    font-size:1.18rem;
    line-height:1.18;

    letter-spacing:-.025em;
}


/* ============================================================
   12. DESCRIÇÃO
============================================================ */

.category-description{
    position:relative;
    z-index:1;

    margin:0;

    color:var(--muted);

    font-size:.74rem;
    line-height:1.55;
}


/* ============================================================
   13. TAGS
============================================================ */

.category-services{
    position:relative;
    z-index:1;

    display:flex;
    flex-wrap:wrap;

    gap:6px;

    margin:16px 0 18px;
}

.category-services a{
    display:inline-flex;
    align-items:center;

    min-height:27px;

    padding:5px 8px;

    border:1px solid #DEE6EC;
    border-radius:999px;

    background:#F8FAFC;

    color:#475467;

    font-size:.6rem;
    font-weight:750;
    line-height:1.2;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.category-services a:hover{
    border-color:
        rgba(0,168,89,.30);

    background:
        rgba(0,168,89,.07);

    color:var(--green);
}


/* ============================================================
   14. LINK PRINCIPAL
============================================================ */

.category-main-link{
    position:relative;
    z-index:1;

    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:10px;

    width:100%;

    margin-top:auto;

    padding-top:14px;

    border-top:1px solid var(--line);

    color:var(--green);

    font-size:.69rem;
    font-weight:850;
}

.category-main-link span{
    font-size:1rem;

    transition:
        transform .2s ease;
}

.service-category-card:hover
.category-main-link span{
    transform:translateX(4px);
}


/* ============================================================
   15. CARD DESCOBERTA
============================================================ */

.service-category-card.category-discover{
    display:flex;
    flex-direction:column;
    justify-content:center;

    min-height:285px;

    padding:30px;

    border-color:transparent;

    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(255,157,26,.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy-light)
        );

    color:#fff;
}

.category-discover::before{
    display:none;
}

.category-discover .section-label{
    color:#8DE1AF;
}

.category-discover h3{
    max-width:440px;

    margin:6px 0 9px;

    color:#fff;

    font-size:1.35rem;
    line-height:1.15;
}

.category-discover>p{
    max-width:520px;

    margin:0 0 18px;

    color:#C8D7E2;

    font-size:.74rem;
    line-height:1.55;
}


/* ============================================================
   16. PESQUISA DESCOBERTA
============================================================ */

.discover-search{
    width:100%;

    display:grid;
    grid-template-columns:minmax(0,1fr) auto;

    gap:7px;

    padding:6px;

    border-radius:13px;

    background:#fff;
}

.discover-search input{
    min-width:0;
    min-height:40px;

    padding:0 9px;

    border:0;
    outline:0;

    background:transparent;

    color:var(--ink);

    font-size:.74rem;
}

.discover-search .btn{
    min-height:40px;

    font-size:.7rem;
}


/* ============================================================
   17. GUIA
============================================================ */

.category-guide{
    padding:70px 0;

    background:#F8FAFC;
}

.category-guide-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));

    gap:16px;
}

.category-guide-grid article{
    padding:22px;

    border:1px solid var(--line);
    border-radius:18px;

    background:#fff;

    box-shadow:var(--shadow-sm);
}

.category-guide-grid article>span{
    width:38px;
    height:38px;

    display:grid;
    place-items:center;

    margin-bottom:16px;

    border-radius:11px;

    background:var(--orange-soft);

    color:#A85C00;

    font-size:.72rem;
    font-weight:900;
}

.category-guide-grid h3{
    margin:0 0 7px;

    color:var(--navy);

    font-size:.95rem;
}

.category-guide-grid p{
    margin:0;

    color:var(--muted);

    font-size:.78rem;
    line-height:1.55;
}


/* ============================================================
   18. CTA PROFISSIONAL
============================================================ */

.categories-professional-cta{
    padding:0 0 70px;

    background:#fff;
}

.categories-professional-box{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:35px;

    padding:38px;

    border-radius:25px;

    background:
        linear-gradient(
            145deg,
            var(--navy-dark),
            var(--navy-light)
        );

    color:#fff;
}

.categories-professional-box .section-label{
    color:#8DE1AF;
}

.categories-professional-box h2{
    max-width:650px;

    margin:3px 0 7px;

    color:#fff;

    font-size:2rem;

    letter-spacing:-.035em;
}

.categories-professional-box p{
    max-width:650px;

    margin:0;

    color:#C5D4E0;

    font-size:.84rem;
}


/* ============================================================
   19. DESKTOP MÉDIO
============================================================ */

@media(max-width:1150px){

    .categories-hero-grid{
        grid-template-columns:
            minmax(0,1fr)
            320px;

        gap:35px;
    }

    .service-category-card{
        grid-template-columns:42% 58%;

        min-height:280px;
    }

    .service-category-image{
        min-height:280px;
    }

    .service-category-content{
        padding:21px 20px;
    }

    .service-category-content h3{
        font-size:1.1rem;
    }

}


/* ============================================================
   20. TABLET
============================================================ */

@media(max-width:900px){

    .categories-hero-grid{
        grid-template-columns:1fr;

        gap:25px;
    }

    .categories-hero-panel{
        display:none;
    }


    /* um card por linha */

    .categories-grid{
        grid-template-columns:1fr;

        gap:18px;
    }


    /* continua horizontal */

    .service-category-card{
        grid-template-columns:38% 62%;

        min-height:260px;
    }

    .service-category-image{
        min-height:260px;
    }

    .service-category-content{
        padding:24px;
    }


    .category-guide-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* ============================================================
   21. MOBILE
============================================================ */

@media(max-width:700px){

    .categories-hero{
        padding:31px 0 34px;
    }

    .categories-hero h1{
        font-size:2.2rem;
    }

    .categories-hero-copy>p{
        font-size:.86rem;
    }


    /* ========================================================
       PESQUISA
    ======================================================== */

    .categories-search{
        grid-template-columns:auto 1fr;

        gap:4px;
    }

    .categories-search .btn{
        grid-column:1/-1;

        width:100%;

        min-height:49px;
    }

    .categories-search input{
        font-size:16px;
    }


    /* ========================================================
       POPULARES
    ======================================================== */

    .categories-popular{
        flex-wrap:nowrap;

        overflow-x:auto;

        padding-bottom:5px;

        scrollbar-width:none;
    }

    .categories-popular::-webkit-scrollbar{
        display:none;
    }

    .categories-popular strong,
    .categories-popular a{
        flex:0 0 auto;

        white-space:nowrap;
    }


    /* ========================================================
       SECÇÃO
    ======================================================== */

    .categories-main{
        padding:48px 0;
    }


    /*
       No telemóvel mantemos o card horizontal
       enquanto houver espaço.
    */

    .service-category-card{
        grid-template-columns:40% 60%;

        min-height:245px;

        border-radius:18px;
    }

    .service-category-image{
        min-height:245px;

        padding:8px;
    }

    .service-category-image img{
        border-radius:13px;
    }

    .service-category-content{
        padding:18px 16px;
    }

    .category-number{
        width:31px;
        height:31px;

        margin-bottom:10px;
    }

    .service-category-content h3{
        margin-bottom:6px;

        font-size:1rem;
    }

    .category-description{
        font-size:.67rem;
    }

    .category-services{
        gap:4px;

        margin:11px 0 13px;
    }

    .category-services a{
        min-height:24px;

        padding:4px 6px;

        font-size:.55rem;
    }

    .category-main-link{
        padding-top:10px;

        font-size:.62rem;
    }


    /* Descoberta */

    .service-category-card.category-discover{
        min-height:auto;

        padding:25px 20px;
    }

    .discover-search{
        grid-template-columns:1fr;
    }

    .discover-search .btn{
        width:100%;
    }


    /* Guia */

    .category-guide{
        padding:50px 0;
    }

    .category-guide-grid{
        grid-template-columns:1fr;

        gap:11px;
    }


    /* CTA */

    .categories-professional-cta{
        padding-bottom:48px;
    }

    .categories-professional-box{
        display:block;

        padding:27px 21px;

        border-radius:20px;
    }

    .categories-professional-box h2{
        font-size:1.65rem;
    }

    .categories-professional-box .btn{
        width:100%;

        margin-top:20px;
    }

}


/* ============================================================
   22. MOBILE PEQUENO
   Aqui empilhamos para não esmagar o texto
============================================================ */

@media(max-width:520px){

    .service-category-card{
        display:flex;
        flex-direction:column;

        min-height:0;
    }

    .service-category-image{
        width:100%;
        height:210px;
        min-height:210px;

        padding:10px;
    }

    .service-category-image::after{
        display:none;
    }

    .service-category-content{
        width:100%;

        padding:20px 18px 21px;
    }

    .service-category-content h3{
        font-size:1.15rem;
    }

    .category-description{
        font-size:.73rem;
    }

    .category-services{
        margin:15px 0 17px;
    }

    .category-services a{
        font-size:.61rem;
    }

    .category-main-link{
        font-size:.68rem;
    }

}


/* ============================================================
   23. TELEMÓVEL MUITO PEQUENO
============================================================ */

@media(max-width:380px){

    .categories-hero h1{
        font-size:1.95rem;
    }

    .service-category-image{
        height:190px;
        min-height:190px;
    }

    .service-category-content{
        padding:18px 16px 20px;
    }

}
/* ============================================================
   KIAZOLUA V3 - CATEGORIAS COMPACTAS
   12 categorias sem perder a identidade visual da marca.
   ============================================================ */

.categories-main{
    padding:54px 0 60px;
}

.compact-categories-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.service-category-card.compact-category-card{
    display:flex;
    flex-direction:column;
    min-height:250px;
    padding:17px;
    border-radius:16px;
    overflow:hidden;
    background:#fff;
    box-shadow:0 4px 16px rgba(11,43,77,.045);
}

.service-category-card.compact-category-card:hover{
    transform:translateY(-2px);
    box-shadow:0 9px 24px rgba(11,43,77,.075);
}

.compact-category-card::before{
    content:"";
    position:absolute;
    width:100px;
    height:100px;
    right:-58px;
    top:-58px;
    border-radius:50%;
    background:rgba(255,157,26,.07);
    pointer-events:none;
}

.compact-category-head{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-bottom:11px;
}

.compact-category-icon{
    width:39px;
    height:39px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:var(--orange-soft);
    color:var(--navy);
    font-size:1rem;
    font-weight:900;
}

.compact-category-card .category-number{
    width:auto;
    height:auto;
    margin:0;
    padding:4px 7px;
    border-radius:999px;
    background:#F3F6F8;
    color:#667085;
    font-size:.57rem;
}

.compact-category-card h3{
    position:relative;
    z-index:1;
    min-height:42px;
    margin:0 0 6px;
    color:var(--navy);
    font-size:.94rem;
    line-height:1.2;
    letter-spacing:-.02em;
}

.compact-category-card .category-description{
    display:-webkit-box;
    min-height:38px;
    margin:0;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    color:var(--muted);
    font-size:.66rem;
    line-height:1.45;
}

.compact-category-card .category-services{
    align-content:flex-start;
    gap:4px;
    margin:11px 0 12px;
}

.compact-category-card .category-services a{
    min-height:23px;
    padding:4px 7px;
    border-radius:7px;
    background:#F8FAFC;
    font-size:.54rem;
}

/* Para manter os cards baixos, mostramos 4 serviços e deixamos
   os restantes acessíveis pela pesquisa e página de profissionais. */
.compact-category-card .category-services a:nth-child(n+5){
    display:none;
}

.compact-category-card .category-main-link{
    margin-top:auto;
    padding-top:10px;
    font-size:.64rem;
}

.category-discover.compact-discover{
    grid-column:span 2;
    min-height:250px;
    padding:24px;
    border-radius:16px;
}

.compact-discover h3{
    font-size:1.25rem;
}

.compact-discover>p{
    max-width:470px;
}

@media(max-width:1150px){
    .compact-categories-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .category-discover.compact-discover{
        grid-column:span 3;
    }
}

@media(max-width:900px){
    .compact-categories-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:12px;
    }

    .category-discover.compact-discover{
        grid-column:span 2;
    }

    .service-category-card.compact-category-card{
        min-height:238px;
    }
}

@media(max-width:620px){
    .categories-main{
        padding:38px 0 44px;
    }

    .compact-categories-grid{
        grid-template-columns:1fr 1fr;
        gap:9px;
    }

    .service-category-card.compact-category-card{
        min-height:218px;
        padding:13px;
        border-radius:14px;
    }

    .compact-category-icon{
        width:34px;
        height:34px;
        font-size:.9rem;
    }

    .compact-category-card h3{
        min-height:37px;
        font-size:.82rem;
    }

    .compact-category-card .category-description{
        min-height:34px;
        font-size:.6rem;
    }

    .compact-category-card .category-services{
        margin:9px 0 10px;
    }

    /* No telemóvel só 3 serviços visíveis para reduzir rolagem. */
    .compact-category-card .category-services a:nth-child(n+4){
        display:none;
    }

    .compact-category-card .category-services a{
        min-height:21px;
        padding:3px 5px;
        font-size:.5rem;
    }

    .compact-category-card .category-main-link{
        padding-top:8px;
        font-size:.59rem;
    }

    .category-discover.compact-discover{
        grid-column:1/-1;
        min-height:auto;
        padding:20px;
    }
}

@media(max-width:390px){
    .compact-categories-grid{
        grid-template-columns:1fr;
    }

    .service-category-card.compact-category-card{
        min-height:205px;
    }

    .compact-category-card h3{
        min-height:0;
    }
}
/* ============================================================
   KIAZOLUA V3.2 - CATEGORIAS 6 + EXPANSÃO
   Desktop: 3 cards por linha
   Mobile: 2 cards por linha
   Tamanho próximo aos cards de profissionais
   ============================================================ */

.kz-categories-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.service-category-card.kz-category-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-height:310px;
    padding:20px;
    overflow:hidden;
    border:1px solid var(--line);
    border-radius:18px;
    background:#fff;
    box-shadow:var(--shadow-sm);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.service-category-card.kz-category-card:hover{
    transform:translateY(-3px);
    border-color:#CBD6DF;
    box-shadow:0 12px 28px rgba(11,43,77,.09);
}

.kz-category-card::before{
    content:"";
    position:absolute;
    width:110px;
    height:110px;
    right:-58px;
    top:-58px;
    border-radius:50%;
    background:rgba(255,157,26,.06);
    pointer-events:none;
}

.kz-category-top{
    position:relative;
    z-index:1;
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:13px;
}

.kz-category-icon{
    width:64px;
    height:64px;
    flex:0 0 64px;
    display:grid;
    place-items:center;
    border-radius:17px;
    background:linear-gradient(145deg,#FFF4E3,#FFE2B5);
    color:var(--navy);
    font-size:1.85rem;
    box-shadow:inset 0 0 0 1px rgba(255,157,26,.18);
}

.kz-category-card:nth-child(2) .kz-category-icon{
    background:linear-gradient(145deg,#EAF4FF,#DDEEFF);
}

.kz-category-card:nth-child(3) .kz-category-icon{
    background:linear-gradient(145deg,#ECFDF3,#DDF7E7);
}

.kz-category-card:nth-child(4) .kz-category-icon{
    background:linear-gradient(145deg,#F4EEFF,#E8DDFC);
}

.kz-category-card:nth-child(5) .kz-category-icon{
    background:linear-gradient(145deg,#FFF5DB,#FFE5A4);
}

.kz-category-card:nth-child(6) .kz-category-icon{
    background:linear-gradient(145deg,#FFF0F6,#FFD9E8);
}

.kz-category-card .category-number{
    width:auto;
    height:auto;
    display:inline-flex;
    margin:0 0 4px;
    padding:3px 6px;
    border-radius:999px;
    background:#F3F6F8;
    color:#7A8796;
    font-size:.62rem;
    font-weight:900;
}

.kz-category-card h3{
    margin:0;
    color:var(--navy);
    font-size:1.04rem;
    line-height:1.18;
    letter-spacing:-.02em;
}

.kz-category-card .category-description{
    min-height:43px;
    margin:0;
    color:var(--muted);
    font-size:.78rem;
    line-height:1.48;
}

.kz-category-card .category-services{
    display:grid;
    gap:6px;
    margin:15px 0 16px;
}

.kz-category-card .category-services a{
    display:flex;
    align-items:center;
    gap:7px;
    min-height:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#344054;
    font-size:.75rem;
    font-weight:650;
    line-height:1.35;
}

.kz-category-card .category-services a span{
    width:16px;
    height:16px;
    flex:0 0 16px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:var(--orange);
    color:#fff;
    font-size:.55rem;
    font-weight:900;
}

.kz-category-card .category-services a:hover{
    color:var(--green);
    background:transparent;
}

.kz-category-card .kz-more-service{
    color:var(--green);
    font-weight:800;
}

.kz-category-card .kz-more-service span{
    background:var(--green);
}

.kz-category-card .category-main-link{
    margin-top:auto;
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:10px 12px;
    border:0;
    border-radius:11px;
    background:#FFF6E9;
    color:#E47D00;
    font-size:.76rem;
    font-weight:850;
}

.kz-category-card:nth-child(2) .category-main-link{
    background:#EDF5FF;
    color:#1769C2;
}

.kz-category-card:nth-child(3) .category-main-link{
    background:#ECF8F0;
    color:#11803F;
}

.kz-category-card:nth-child(4) .category-main-link{
    background:#F4EEFC;
    color:#7745B8;
}

.kz-category-card:nth-child(5) .category-main-link{
    background:#FFF6E4;
    color:#D88200;
}

.kz-category-card:nth-child(6) .category-main-link{
    background:#FFF0F5;
    color:#D63B76;
}

.kz-category-card .category-main-link span{
    font-size:1rem;
}

.kz-more-categories{
    margin-top:17px;
}

.kz-more-categories > summary{
    min-height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:11px 18px;
    border:1.5px solid #9AC4F8;
    border-radius:12px;
    background:#fff;
    color:#125EB4;
    font-size:.84rem;
    font-weight:850;
    list-style:none;
    cursor:pointer;
    transition:.2s ease;
}

.kz-more-categories > summary::-webkit-details-marker{
    display:none;
}

.kz-more-categories > summary:hover{
    background:#F6FAFF;
    border-color:#6EA9EE;
}

.kz-more-chevron{
    font-size:1.15rem;
    transition:transform .2s ease;
}

.kz-more-categories[open] .kz-more-chevron{
    transform:rotate(180deg);
}

.kz-categories-secondary{
    margin-top:16px;
}

.kz-categories-secondary .kz-category-card{
    animation:kzCategoryReveal .22s ease both;
}

@keyframes kzCategoryReveal{
    from{
        opacity:0;
        transform:translateY(-6px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

@media(max-width:1000px){
    .kz-categories-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:700px){
    .kz-categories-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:9px;
    }

    .service-category-card.kz-category-card{
        min-height:245px;
        padding:13px;
        border-radius:14px;
    }

    .kz-category-top{
        gap:9px;
        margin-bottom:9px;
    }

    .kz-category-icon{
        width:43px;
        height:43px;
        flex-basis:43px;
        border-radius:12px;
        font-size:1.2rem;
    }

    .kz-category-card .category-number{
        display:none;
    }

    .kz-category-card h3{
        font-size:.82rem;
        line-height:1.16;
    }

    .kz-category-card .category-description{
        min-height:34px;
        font-size:.64rem;
        line-height:1.4;
    }

    .kz-category-card .category-services{
        gap:5px;
        margin:10px 0 11px;
    }

    .kz-category-card .category-services a{
        font-size:.61rem;
    }

    .kz-category-card .category-services a:nth-child(n+4):not(.kz-more-service){
        display:none;
    }

    .kz-category-card .category-services a span{
        width:13px;
        height:13px;
        flex-basis:13px;
        font-size:.45rem;
    }

    .kz-category-card .category-main-link{
        min-height:36px;
        padding:8px;
        font-size:.64rem;
    }

    .kz-more-categories > summary{
        min-height:43px;
        padding:9px 12px;
        font-size:.74rem;
    }
}

@media(max-width:360px){
    .kz-category-card h3{
        font-size:.76rem;
    }

    .kz-category-icon{
        width:39px;
        height:39px;
        flex-basis:39px;
    }
}

/* ============================================================
   KIAZOLUA D5.13 - CATEGORIAS / HARMONIZAÇÃO PÚBLICA
   Mantém 6 categorias visíveis + 12 expansíveis.
   ============================================================ */

/* Menu público igual a Profissionais / Empresas */
.desktop-nav{
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
}
.desktop-nav>a{
    display:inline-flex!important;
    align-items:center!important;
    min-height:44px!important;
    padding:0 11px!important;
    border-radius:10px!important;
    color:#0B2B4D!important;
    text-decoration:none!important;
    font-size:.76rem!important;
    font-weight:800!important;
    white-space:nowrap!important;
}
.desktop-nav>a:hover,
.desktop-nav>a.active{
    background:#F1F6F8!important;
    color:#00A859!important;
}
.nav-register-link,
.nav-login-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:44px!important;
    padding:0 17px!important;
    border-radius:11px!important;
    text-decoration:none!important;
    font-size:.76rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
}
.nav-register-link{
    background:#00A859!important;
    color:#fff!important;
}
.nav-login-button{
    background:#FF9F1C!important;
    color:#0B2B4D!important;
}
.mobile-register-button,
.mobile-login-button{
    width:100%!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:12px!important;
    text-decoration:none!important;
    font-weight:900!important;
}
.mobile-register-button{
    background:#00A859!important;
    color:#fff!important;
}
.mobile-login-button{
    margin-top:9px!important;
    background:#FF9F1C!important;
    color:#0B2B4D!important;
}

/* Hero alinhado à família visual já aprovada */
.categories-hero{
    padding:34px 0 36px!important;
    background:
        radial-gradient(circle at 8% 18%,rgba(0,168,89,.09),transparent 32%),
        radial-gradient(circle at 91% 14%,rgba(255,159,28,.12),transparent 30%),
        linear-gradient(105deg,#F2FAF7 0%,#F8FBFA 54%,#FFF7EA 100%)!important;
    border-bottom:1px solid #E1E7EB!important;
}
.categories-hero .container{
    max-width:1540px!important;
}
.categories-hero-grid{
    grid-template-columns:minmax(0,1.35fr) minmax(390px,.78fr)!important;
    gap:52px!important;
    align-items:center!important;
}
.categories-hero-copy h1{
    max-width:820px!important;
    margin-top:4px!important;
    font-size:clamp(2.55rem,4.1vw,4.45rem)!important;
    line-height:.99!important;
    letter-spacing:-.05em!important;
}
.categories-hero-copy>p{
    max-width:760px!important;
    margin-top:15px!important;
    font-size:.94rem!important;
    line-height:1.55!important;
}
.categories-search{
    margin-top:19px!important;
    border-radius:12px!important;
    box-shadow:0 12px 30px rgba(11,43,77,.07)!important;
}
.categories-hero-panel{
    padding:29px!important;
    border-radius:25px!important;
    background:#0D345D!important;
    box-shadow:0 20px 48px rgba(11,43,77,.15)!important;
}
.categories-hero-panel .panel-label{
    background:#FFF1DF!important;
    color:#B85F00!important;
}
.categories-hero-panel h2{
    color:#fff!important;
    font-size:1.55rem!important;
    line-height:1.18!important;
}
.categories-hero-panel .panel-list span{
    border-color:rgba(255,255,255,.12)!important;
    background:rgba(255,255,255,.07)!important;
}

/* Página mais enxuta sem alterar os cards */
.categories-main{
    padding-top:42px!important;
}
.categories-main>.container,
.category-guide>.container,
.categories-professional-cta>.container{
    max-width:1540px!important;
}
.section-heading-v2{
    margin-bottom:22px!important;
}
.kz-more-categories{
    margin-top:16px!important;
}
.kz-more-categories summary{
    min-height:48px!important;
    border-radius:12px!important;
}

/* Guia menos alto */
.category-guide{
    padding:48px 0!important;
}
.category-guide .section-heading-v2.centered{
    margin-bottom:24px!important;
}
.category-guide-grid article{
    padding:18px!important;
}

/* CTA final compacto */
.categories-professional-cta{
    padding:28px 0 48px!important;
}
.categories-professional-box{
    padding:24px 26px!important;
}

/* Footer: mesma família das páginas públicas */
.footer-v3>.container{
    max-width:1540px!important;
}

@media(max-width:1050px){
    .categories-hero-grid{
        grid-template-columns:1fr!important;
        gap:24px!important;
    }
    .categories-hero-panel{
        max-width:none!important;
    }
}

@media(max-width:700px){
    .categories-hero{
        padding:24px 0 26px!important;
    }
    .categories-hero-copy h1{
        font-size:2.25rem!important;
        line-height:1.02!important;
    }
    .categories-hero-copy>p{
        font-size:.84rem!important;
    }
    .categories-hero-panel{
        padding:21px!important;
        border-radius:19px!important;
    }
    .categories-main{
        padding-top:30px!important;
    }
}
