
/* GHOSTBASE V23.6 — EQUIPES */

.page-equipes .teams-page-hero-v236{
    min-height:350px;
    display:flex;
    align-items:center;
    background:
        radial-gradient(circle at 78% 28%,rgba(255,106,0,.10),transparent 28%),
        linear-gradient(115deg,#11191e,#080c0f 64%);
}

.page-equipes .teams-page-hero-v236 .container{
    width:min(calc(100% - 48px),1360px);
}

.page-equipes .teams-page-hero-v236 h1{
    max-width:900px;
    margin:8px 0 12px;
    font-size:clamp(48px,6vw,82px);
    line-height:.95;
    letter-spacing:-.055em;
}

.page-equipes .teams-page-hero-v236 p{
    max-width:700px;
    color:#95a7b0;
    font-size:16px;
}

.page-equipes .teams-directory-v236{
    padding:70px 0 88px;
}

.page-equipes .teams-directory-v236>.container{
    width:min(calc(100% - 48px),1360px);
}

.page-equipes .teams-toolbar-v236{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(360px,.65fr);
    gap:30px;
    align-items:end;
    margin-bottom:28px;
}

.page-equipes .teams-toolbar-v236 h2{
    margin:6px 0 0;
    font-size:clamp(27px,3vw,42px);
}

.page-equipes .teams-filter-v236{
    margin:0;
}

.page-equipes .teams-filter-v236 input{
    min-height:52px;
}

.page-equipes .teams-grid-v236{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px;
}

.page-equipes .team-card-v236{
    min-height:340px;
    display:grid;
    grid-template-columns:160px minmax(0,1fr);
    overflow:hidden;
    border:1px solid #293740;
    border-radius:18px;
    background:
        linear-gradient(145deg,#11181c,#0d1317);
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.page-equipes .team-card-v236:hover{
    transform:translateY(-5px);
    border-color:rgba(255,106,0,.46);
    box-shadow:0 22px 50px rgba(0,0,0,.28);
}

.page-equipes .team-card-media-v236{
    position:relative;
    display:block;
    min-height:100%;
    overflow:hidden;
    background:#080d10;
}

.page-equipes .team-card-media-v236::after{
    content:"";
    position:absolute;
    inset:0;
    background:
        linear-gradient(90deg,transparent 58%,rgba(13,19,23,.72));
    pointer-events:none;
}

.page-equipes .team-card-media-v236 img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.page-equipes .team-card-v236:hover .team-card-media-v236 img{
    transform:scale(1.035);
}

.page-equipes .team-card-placeholder-v236{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#ff6a00;
    font-size:54px;
    font-weight:950;
}

.page-equipes .team-card-body-v236{
    min-width:0;
    padding:28px 24px;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.page-equipes .team-card-location-v236{
    margin-bottom:10px;
    color:#ff7614;
    font-size:10px;
    font-weight:950;
    letter-spacing:.08em;
}

.page-equipes .team-card-body-v236 h3{
    margin:0 0 14px;
    color:#fff;
    font-size:22px;
    line-height:1.15;
}

.page-equipes .team-card-body-v236 p{
    margin:0 0 19px;
    color:#93a3ac;
    font-size:13px;
    line-height:1.65;
}

.page-equipes .team-card-link-v236{
    margin-top:auto;
    color:#ff7614;
    font-size:12px;
    font-weight:900;
}

/* PERFIL DA EQUIPE */
.page-equipes .team-profile-hero-v236{
    position:relative;
    min-height:390px;
    display:flex;
    align-items:center;
    overflow:hidden;
    border-bottom:1px solid #26343c;
    background:
        radial-gradient(circle at 76% 45%,rgba(255,106,0,.13),transparent 26%),
        linear-gradient(115deg,#10181c,#080c0f 62%);
}

.page-equipes .team-profile-head-v236{
    position:relative;
    width:min(calc(100% - 48px),1240px);
    display:grid;
    grid-template-columns:230px minmax(0,1fr);
    gap:38px;
    align-items:center;
}

.page-equipes .team-profile-logo-v236{
    width:230px;
    height:230px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.12);
    border-radius:28px;
    background:#0a1014;
    box-shadow:
        0 24px 55px rgba(0,0,0,.38),
        0 0 38px rgba(255,106,0,.06);
}

.page-equipes .team-profile-logo-v236 img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.page-equipes .team-profile-logo-v236 span{
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:#ff6a00;
    font-size:80px;
    font-weight:950;
}

.page-equipes .team-profile-copy-v236{
    position:relative;
    z-index:2;
}

.page-equipes .team-profile-copy-v236 h1{
    max-width:850px;
    margin:8px 0 14px;
    font-size:clamp(45px,6vw,78px);
    line-height:.92;
    letter-spacing:-.055em;
}

.page-equipes .team-profile-meta-v236{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
}

.page-equipes .team-profile-meta-v236 span{
    padding:7px 10px;
    border:1px solid #2a3942;
    border-radius:999px;
    color:#a9b7bf;
    background:#0d1418;
    font-size:11px;
}

.page-equipes .team-profile-actions-v236{
    display:flex;
    gap:9px;
    flex-wrap:wrap;
    margin-top:22px;
}

.page-equipes .team-profile-mark-v236{
    position:absolute;
    right:0;
    bottom:-42px;
    color:#ff6a00;
    font-size:clamp(90px,13vw,190px);
    font-weight:950;
    line-height:.75;
    letter-spacing:-.07em;
    opacity:.045;
    pointer-events:none;
}

@media(max-width:1100px){
    .page-equipes .teams-grid-v236{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:760px){
    .page-equipes .teams-page-hero-v236{
        min-height:290px;
    }

    .page-equipes .teams-page-hero-v236 .container,
    .page-equipes .teams-directory-v236>.container,
    .page-equipes .team-profile-head-v236{
        width:calc(100% - 28px);
    }

    .page-equipes .teams-toolbar-v236{
        grid-template-columns:1fr;
    }

    .page-equipes .teams-grid-v236{
        grid-template-columns:1fr;
    }

    .page-equipes .team-card-v236{
        grid-template-columns:135px minmax(0,1fr);
        min-height:270px;
    }

    .page-equipes .team-card-body-v236{
        padding:20px 17px;
    }

    .page-equipes .team-profile-hero-v236{
        min-height:0;
        padding:58px 0;
    }

    .page-equipes .team-profile-head-v236{
        grid-template-columns:1fr;
        text-align:center;
    }

    .page-equipes .team-profile-logo-v236{
        width:170px;
        height:170px;
        margin:auto;
    }

    .page-equipes .team-profile-meta-v236,
    .page-equipes .team-profile-actions-v236{
        justify-content:center;
    }
}


/* =========================================================
   V25.03 — PERFIL DE EQUIPE PREMIUM
   ========================================================= */

.page-equipes .team-profile-content-v253{
    padding:72px 0 88px;
    background:
        radial-gradient(circle at 82% 15%,rgba(255,106,0,.035),transparent 30%),
        #070c0f;
}

.page-equipes .team-profile-layout-v253{
    width:min(calc(100% - 48px),1240px);
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:52px;
    align-items:start;
}

.page-equipes .team-profile-about-v253{
    min-width:0;
    padding:30px 32px;
    border:1px solid #1f3037;
    border-radius:18px;
    background:
        linear-gradient(145deg,rgba(13,23,28,.68),rgba(8,14,17,.82));
}

.page-equipes .team-profile-about-v253 h1,
.page-equipes .team-profile-about-v253 h2,
.page-equipes .team-profile-about-v253 h3{
    color:#f4f6f7;
}

.page-equipes .team-profile-about-v253 h2{
    margin-top:0;
    font-size:clamp(27px,3vw,38px);
    letter-spacing:-.03em;
}

.page-equipes .team-profile-about-v253 p{
    color:#a0afb6;
    font-size:15px;
    line-height:1.85;
}

.page-equipes .team-profile-info-v253{
    position:sticky;
    top:96px;
    overflow:hidden;
    padding:0;
    border:1px solid #2a4049;
    border-radius:18px;
    background:
        radial-gradient(circle at 100% 0%,rgba(255,106,0,.07),transparent 34%),
        #0c171b;
    box-shadow:0 24px 60px rgba(0,0,0,.25);
}

.page-equipes .team-info-head-v253{
    padding:22px 22px 18px;
    border-bottom:1px solid #20343c;
}

.page-equipes .team-info-head-v253 .kicker{
    display:block;
    margin-bottom:8px;
}

.page-equipes .team-info-head-v253 h3{
    margin:0;
    color:#f4f7f8;
    font-size:20px;
    line-height:1.2;
}

.page-equipes .team-info-head-v253 small{
    display:block;
    margin-top:6px;
    color:#657b84;
    font-size:9px;
}

.page-equipes .team-info-data-v253{
    padding:8px 22px 16px;
}

.page-equipes .team-info-data-v253 p{
    margin:0;
    padding:14px 0;
    border-bottom:1px solid #1b2d34;
    color:#9babb2;
    font-size:12px;
    line-height:1.5;
}

.page-equipes .team-info-data-v253 p:last-child{
    border-bottom:0;
}

.page-equipes .team-info-data-v253 p strong{
    display:block;
    margin-bottom:5px;
    color:#f1f4f5;
    font-size:9px;
    font-weight:950;
    letter-spacing:.04em;
    text-transform:uppercase;
}

.page-equipes .team-info-actions-v253{
    display:grid;
    gap:8px;
    padding:16px 22px 22px;
    border-top:1px solid #20343c;
    background:#091317;
}

.page-equipes .team-info-actions-v253 .btn{
    width:100%;
    min-height:46px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0;
    padding:0 15px;
    border-radius:10px;
    text-decoration:none;
    font-size:11px;
    font-weight:900;
}

.page-equipes .team-info-primary-v253{
    border-color:#ff6a00 !important;
    background:linear-gradient(135deg,#ff6a00,#ff7c1d) !important;
    color:#090c0e !important;
    box-shadow:0 8px 20px rgba(255,106,0,.10);
}

.page-equipes .team-info-primary-v253:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 28px rgba(255,106,0,.18);
}

.page-equipes .team-info-primary-v253 b{
    font-size:15px;
}

.page-equipes .team-info-secondary-v253{
    border-color:#324953 !important;
    background:#0d181d !important;
    color:#e4eaec !important;
}

.page-equipes .team-info-secondary-v253:hover{
    border-color:#536b75 !important;
    background:#111f25 !important;
}

.page-equipes .team-info-secondary-v253 span{
    color:#83979f;
}

.page-equipes .team-info-secondary-v253 b{
    font-weight:900;
}

/* evita sensação de duplicação visual no hero */
.page-equipes .team-profile-actions-v236 .btn{
    min-height:44px;
    padding-inline:16px;
    border-radius:10px;
}

@media(max-width:980px){
    .page-equipes .team-profile-layout-v253{
        grid-template-columns:minmax(0,1fr) 290px;
        gap:26px;
    }
}

@media(max-width:760px){
    .page-equipes .team-profile-content-v253{
        padding:40px 0 58px;
    }

    .page-equipes .team-profile-layout-v253{
        width:calc(100% - 28px);
        grid-template-columns:1fr;
        gap:18px;
    }

    .page-equipes .team-profile-about-v253{
        padding:22px 18px;
        border-radius:14px;
    }

    .page-equipes .team-profile-about-v253 p{
        font-size:14px;
        line-height:1.75;
    }

    .page-equipes .team-profile-info-v253{
        position:static;
        border-radius:14px;
    }

    .page-equipes .team-info-head-v253,
    .page-equipes .team-info-data-v253,
    .page-equipes .team-info-actions-v253{
        padding-left:18px;
        padding-right:18px;
    }
}


/* =========================================================
   V25.03.1 — SEPARAÇÃO DAS AÇÕES DA FICHA DA EQUIPE
   ========================================================= */

.page-equipes .team-info-actions-v253{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:14px !important;
    padding:18px 22px 22px !important;
}

.page-equipes .team-info-actions-v253 .btn{
    width:100% !important;
    min-height:46px !important;
    margin:0 !important;
    flex:0 0 auto !important;
}

.page-equipes .team-info-primary-v253{
    margin-bottom:0 !important;
}

.page-equipes .team-info-secondary-v253{
    margin-top:0 !important;
}

/* pequena separação visual entre ação externa e navegação */
.page-equipes .team-info-secondary-v253{
    position:relative;
}

.page-equipes .team-info-secondary-v253:before{
    content:"";
    position:absolute;
    top:-8px;
    left:0;
    right:0;
    height:1px;
    background:#1d3037;
    pointer-events:none;
}

@media(max-width:760px){
    .page-equipes .team-info-actions-v253{
        gap:12px !important;
        padding-left:18px !important;
        padding-right:18px !important;
    }
}


/* =========================================================
   V25.04 — BUSCA DE EQUIPES
   ========================================================= */
.page-equipes .teams-search-v2504{
    display:flex;
    flex-direction:column;
    align-items:flex-end;
    gap:6px;
    min-width:360px;
}

.page-equipes .teams-search-box-v2504{
    position:relative;
    width:100%;
}

.page-equipes .teams-search-box-v2504 input{
    width:100%;
    min-height:48px;
    padding:0 46px 0 42px;
    border:1px solid #334a53;
    border-radius:11px;
    outline:none;
    background:#0d181d;
    color:#f2f5f6;
    font:inherit;
    font-size:12px;
    transition:.18s ease;
}

.page-equipes .teams-search-box-v2504 input:focus{
    border-color:#ff6b00;
    box-shadow:0 0 0 3px rgba(255,107,0,.08);
}

.page-equipes .teams-search-box-v2504 input::placeholder{
    color:#71868f;
}

.page-equipes .teams-search-icon-v2504{
    position:absolute;
    left:14px;
    top:50%;
    z-index:2;
    transform:translateY(-50%);
    color:#ff6b00;
    font-size:20px;
    line-height:1;
    pointer-events:none;
}

.page-equipes [data-team-search-clear]{
    position:absolute;
    right:10px;
    top:50%;
    display:grid;
    place-items:center;
    width:28px;
    height:28px;
    transform:translateY(-50%) scale(.8);
    border:1px solid #334a53;
    border-radius:8px;
    background:#111f25;
    color:#91a2a9;
    font-size:16px;
    cursor:pointer;
    opacity:0;
    pointer-events:none;
    transition:.16s;
}

.page-equipes [data-team-search-clear].is-visible{
    opacity:1;
    pointer-events:auto;
    transform:translateY(-50%) scale(1);
}

.page-equipes [data-team-search-clear]:hover{
    border-color:#ff6b00;
    color:#ff6b00;
}

.page-equipes [data-team-search-count]{
    color:#647982;
    font-size:8px;
    font-weight:800;
}

.page-equipes .team-card-v236[hidden]{
    display:none !important;
}

.page-equipes .teams-no-results-v2504{
    margin-top:18px;
    padding:32px 20px;
    border:1px dashed #30464f;
    border-radius:14px;
    background:#0b1519;
    text-align:center;
}

.page-equipes .teams-no-results-v2504[hidden]{
    display:none !important;
}

.page-equipes .teams-no-results-v2504>span{
    color:#ff6b00;
    font-size:8px;
    font-weight:950;
    letter-spacing:.12em;
}

.page-equipes .teams-no-results-v2504 h3{
    margin:7px 0 5px;
    color:#eef3f5;
    font-size:20px;
}

.page-equipes .teams-no-results-v2504 p{
    margin:0 0 14px;
    color:#758a93;
    font-size:10px;
}

.page-equipes .teams-no-results-v2504 button{
    min-height:38px;
    padding:0 13px;
    border:1px solid #ff6b00;
    border-radius:8px;
    background:#ff6b00;
    color:#080b0c;
    font-size:8px;
    font-weight:950;
    cursor:pointer;
}

@media(max-width:760px){
    .page-equipes .teams-search-v2504{
        width:100%;
        min-width:0;
        align-items:stretch;
    }

    .page-equipes .teams-search-box-v2504{
        width:100%;
    }
}


/* =========================================================
   V25.05 — REFINO VISUAL DA BUSCA DE EQUIPES
   ========================================================= */

.page-equipes .teams-search-v2504{
    position:relative;
    min-width:380px;
    align-items:stretch !important;
    gap:0 !important;
}

.page-equipes .teams-search-box-v2504{
    position:relative;
    width:100%;
}

.page-equipes .teams-search-box-v2504 input{
    min-height:50px !important;
    padding-right:50px !important;
    border-radius:12px !important;
    background:
        linear-gradient(145deg,#0d181d,#0a1418) !important;
    border-color:#344b54 !important;
}

.page-equipes .teams-search-box-v2504 input:focus{
    border-color:#ff6b00 !important;
    box-shadow:0 0 0 3px rgba(255,107,0,.07) !important;
}

/* O X fica dentro do campo */
.page-equipes [data-team-search-clear]{
    right:11px !important;
    top:50% !important;
    width:28px !important;
    height:28px !important;
    margin:0 !important;
    transform:translateY(-50%) scale(.88) !important;
    border-radius:8px !important;
    background:#111f25 !important;
    border:1px solid #334b54 !important;
    color:#91a3aa !important;
    z-index:3;
}

.page-equipes [data-team-search-clear].is-visible{
    transform:translateY(-50%) scale(1) !important;
}

.page-equipes [data-team-search-clear]:hover{
    border-color:#ff6b00 !important;
    color:#ff6b00 !important;
}

/* Contador discreto e alinhado */
.page-equipes [data-team-search-count]{
    display:block !important;
    margin-top:7px !important;
    padding-left:2px;
    color:#627781 !important;
    font-size:8px !important;
    line-height:1.2;
    font-weight:800 !important;
    text-align:left !important;
    letter-spacing:.02em;
}

/* Ícone de busca centralizado dentro do input */
.page-equipes .teams-search-icon-v2504{
    left:15px !important;
    top:50% !important;
    transform:translateY(-50%) !important;
    font-size:17px !important;
    color:#ff6b00 !important;
}

/* melhor equilíbrio entre título e busca */
.page-equipes .teams-toolbar-v236{
    align-items:flex-end !important;
    gap:34px !important;
}

.page-equipes .teams-toolbar-v236 > div:first-child{
    flex:1;
}

@media(max-width:760px){
    .page-equipes .teams-search-v2504{
        min-width:0;
        width:100%;
    }

    .page-equipes .teams-toolbar-v236{
        align-items:stretch !important;
        gap:16px !important;
    }

    .page-equipes [data-team-search-count]{
        text-align:left !important;
    }
}
