@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@400;500;600;700&family=Barlow:wght@400;500;600;700&display=swap");

/* =========================================================
   WÖRTH SELECTION PORTAL V3
   ========================================================= */

:root{
    --ws-green:#0F3B2E;
    --ws-green-2:#0F493B;
    --ws-green-dark:#08271E;
    --ws-mint:#A7F3D0;
    --ws-mint-soft:#EAF4EF;
    --ws-mint-soft-2:#F3F8F5;
    --ws-cream:#F7F5EF;
    --ws-white:#FFFFFF;
    --ws-gold:#D6B37B;
    --ws-text:#163E34;
    --ws-muted:#667A73;
    --ws-line:#DCE7E1;
    --ws-shadow:0 12px 36px rgba(8,39,30,.055);
    --ws-serif:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
    --ws-sans:Barlow,"Helvetica Neue",Arial,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body.ws-v3{
    margin:0 !important;
    color:var(--ws-text);
    background:#F7F8F5 !important;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif !important;
    font-weight:400;
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
}

body.ws-v3 *,
body.ws-v3 *::before,
body.ws-v3 *::after{
    box-sizing:border-box;
}

body.ws-v3 .ws-v3-legacy-chrome{
    display:none !important;
}


/* =========================================================
   HEADER CORPORATIVO
   ========================================================= */

.ws-v3-header{
    width:100%;
    min-height:82px;
    background:#FFFFFF;
    border-bottom:1px solid #E8EEEB;
    position:relative;
    z-index:9000;
}

.ws-v3-header-inner{
    width:min(1240px,calc(100% - 44px));
    min-height:82px;
    margin:0 auto;
    display:flex;
    align-items:center;
    gap:30px;
}

.ws-v3-brand{
    display:flex;
    align-items:center;
    flex:0 0 auto;
    text-decoration:none !important;
}

.ws-v3-brand img{
    display:block;
    width:188px;
    max-height:58px;
    object-fit:contain;
}

.ws-v3-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:31px;
    flex:1 1 auto;
    min-width:0;
}

.ws-v3-nav a{
    color:#123E34 !important;
    text-decoration:none !important;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:400 !important;
    white-space:nowrap;
    position:relative;
}

.ws-v3-nav a::after{
    content:"";
    position:absolute;
    left:0;
    right:100%;
    bottom:-8px;
    height:1px;
    background:var(--ws-green);
    transition:right .22s ease;
}

.ws-v3-nav a:hover::after{
    right:0;
}

.ws-v3-header-actions{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:13px;
}

.ws-v3-switch{
    height:42px;
    display:flex;
    align-items:center;
    padding:3px;
    border:1px solid #D4DFDA;
    border-radius:999px;
    background:#FFFFFF;
}

.ws-v3-switch a{
    min-width:96px;
    height:34px;
    padding:0 17px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#143F35 !important;
    text-decoration:none !important;
    font-size:12px !important;
    font-weight:500 !important;
}

.ws-v3-switch a.is-active{
    color:#FFFFFF !important;
    background:var(--ws-green-2);
}

.ws-v3-icon{
    width:38px;
    height:38px;
    border:0;
    background:transparent;
    color:var(--ws-green);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    text-decoration:none !important;
    cursor:pointer;
    padding:0;
}

.ws-v3-icon:hover{
    background:#F0F6F3;
}

.ws-v3-icon svg{
    width:21px;
    height:21px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.ws-v3-menu-toggle{
    display:none;
}


/* =========================================================
   LOGIN / REGISTRO V3
   ========================================================= */

body.ws-v3-auth{
    background:#FFFFFF !important;
}

.ws-v3-auth-main{
    width:min(1180px,calc(100% - 44px));
    min-height:680px;
    margin:0 auto;
    display:grid;
    grid-template-columns:minmax(0,1.08fr) minmax(390px,.82fr);
}

.ws-v3-auth-login{
    padding:68px 84px 64px 68px;
    background:#FFFFFF;
}

.ws-v3-auth-register{
    padding:68px 54px 58px;
    background:var(--ws-mint-soft);
    display:flex;
    flex-direction:column;
}

.ws-v3-auth-title{
    margin:0 0 13px;
    font-family:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif !important;
    font-size:48px !important;
    line-height:1;
    font-weight:600 !important;
    letter-spacing:-.005em;
    color:var(--ws-green);
}

.ws-v3-auth-subtitle{
    max-width:530px;
    margin:0 0 34px;
    color:#657771;
    font-size:14px;
    line-height:1.65;
}

.ws-v3-auth-login form{
    width:100% !important;
    max-width:490px !important;
    margin:0 !important;
}

.ws-v3-auth-login form label{
    display:block;
    margin:0 0 8px !important;
    color:#123F35 !important;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif !important;
    font-size:12.5px !important;
    font-weight:500 !important;
}

.ws-v3-auth-login input[type="email"],
.ws-v3-auth-login input[type="text"],
.ws-v3-auth-login input[type="password"],
.ws-v3-auth-login input[type="tel"],
.ws-v3-auth-login select{
    width:100% !important;
    min-height:52px !important;
    padding:0 15px !important;
    margin:0 0 20px !important;
    border:1px solid #AFC2B9 !important;
    border-radius:0 !important;
    outline:0 !important;
    background:#FFFFFF !important;
    color:#153F35 !important;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif !important;
    font-size:13.5px !important;
    font-weight:400 !important;
    box-shadow:none !important;
}

.ws-v3-auth-login input:focus,
.ws-v3-auth-login select:focus{
    border-color:var(--ws-green-2) !important;
    box-shadow:0 0 0 2px rgba(15,73,59,.07) !important;
}

.ws-v3-auth-login button[type="submit"],
.ws-v3-auth-login input[type="submit"]{
    width:100% !important;
    min-height:52px !important;
    margin-top:16px !important;
    border:0 !important;
    border-radius:999px !important;
    background:var(--ws-green-2) !important;
    color:#FFFFFF !important;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif !important;
    font-size:13px !important;
    font-weight:500 !important;
    box-shadow:none !important;
    cursor:pointer;
}

.ws-v3-auth-login button[type="submit"]:hover,
.ws-v3-auth-login input[type="submit"]:hover{
    background:#0B3E32 !important;
}

.ws-v3-side-title{
    margin:0 0 30px;
    text-align:center;
    color:var(--ws-green);
    font-family:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
    font-size:43px;
    line-height:1;
    font-weight:600;
    letter-spacing:-.005em;
}

.ws-v3-brand-visual{
    width:100%;
    min-height:205px;
    position:relative;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--ws-green-2);
    margin-bottom:28px;
}

.ws-v3-brand-paper{
    width:62%;
    min-height:126px;
    padding:23px 28px;
    background:#FFFFFF;
    position:relative;
    z-index:2;
    box-shadow:0 10px 30px rgba(0,0,0,.04);
}

.ws-v3-brand-paper img{
    width:150px;
    height:auto;
    display:block;
    margin-bottom:17px;
}

.ws-v3-paper-line{
    width:90%;
    height:7px;
    background:#E4ECE8;
    border-radius:99px;
    margin-top:9px;
}

.ws-v3-paper-line:nth-child(3){
    width:67%;
}

.ws-v3-paper-line:nth-child(4){
    width:78%;
}

.ws-v3-brand-shape{
    width:140px;
    height:140px;
    position:absolute;
    right:-15px;
    bottom:-44px;
    border-radius:90px 90px 0 0;
    background:#D8BF89;
}

.ws-v3-benefits{
    padding:0;
    margin:0 0 38px;
    list-style:none;
}

.ws-v3-benefits li{
    display:flex;
    gap:12px;
    margin:0 0 13px;
    color:#17453A;
    font-size:13.5px;
    line-height:1.45;
}

.ws-v3-check{
    color:var(--ws-green-2);
    font-size:18px;
    line-height:1;
    font-weight:500;
}

.ws-v3-register-cta{
    width:100%;
    min-height:52px;
    margin-top:auto;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#FFFFFF !important;
    background:var(--ws-green-2);
    text-decoration:none !important;
    font-size:13px;
    font-weight:500;
}

.ws-v3-register-cta:hover{
    background:#0B3E32;
}


/* =========================================================
   PORTAL AUTENTICADO
   ========================================================= */

body.ws-v3-portal{
    background:#F5F6F2 !important;
}

body.ws-v3-portal > .container,
body.ws-v3-portal > .dashboard-container,
body.ws-v3-portal > .portal-container,
body.ws-v3-portal .dashboard-wrapper{
    max-width:1240px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

.ws-v3-detected-sidebar{
    background:#FFFFFF !important;
    border:1px solid #E0E8E4 !important;
    box-shadow:0 8px 26px rgba(8,39,30,.035) !important;
}

.ws-v3-detected-card{
    background:#FFFFFF !important;
    border:1px solid #E0E8E4 !important;
    box-shadow:0 8px 28px rgba(8,39,30,.035) !important;
}

body.ws-v3-portal h1,
body.ws-v3-portal h2,
body.ws-v3-portal h3{
    color:var(--ws-green);
}

body.ws-v3-portal button,
body.ws-v3-portal .btn,
body.ws-v3-portal a.button{
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif;
}

body.ws-v3-portal .ws-v3-detected-card button,
body.ws-v3-portal .ws-v3-detected-card .btn{
    border-radius:999px !important;
}


/* =========================================================
   ONBOARDING CANDIDATO
   ========================================================= */

.ws-v3-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:30000;
    background:rgba(7,25,20,.53);
    backdrop-filter:blur(2px);
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding:42px 20px;
    overflow:auto;
}

.ws-v3-onboarding{
    width:min(680px,100%);
    background:#FFFFFF;
    border-radius:3px;
    box-shadow:0 28px 80px rgba(0,0,0,.2);
    overflow:hidden;
    margin:auto;
}

.ws-v3-onboarding-head{
    min-height:74px;
    padding:0 30px;
    background:var(--ws-green-2);
    color:#FFFFFF;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.ws-v3-onboarding-head strong{
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif;
    font-size:14px;
    font-weight:500;
}

.ws-v3-modal-close{
    width:38px;
    height:38px;
    padding:0;
    border:0;
    background:transparent;
    color:#FFFFFF;
    font-size:28px;
    line-height:1;
    cursor:pointer;
}

.ws-v3-onboarding-body{
    padding:38px 38px 34px;
}

.ws-v3-onboarding-body h2{
    margin:0 0 12px;
    text-align:center;
    font-family:"Barlow Semi Condensed","Arial Narrow",Arial,sans-serif;
    font-size:35px;
    line-height:1;
    font-weight:600;
    color:var(--ws-green);
}

.ws-v3-onboarding-intro{
    max-width:530px;
    margin:0 auto 30px;
    text-align:center;
    color:#657872;
    font-size:13.5px;
    line-height:1.6;
}

.ws-v3-form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px 16px;
}

.ws-v3-field{
    display:flex;
    flex-direction:column;
    gap:7px;
}

.ws-v3-field.is-wide{
    grid-column:1/-1;
}

.ws-v3-field label{
    color:#163E34;
    font-size:12px;
    font-weight:500;
}

.ws-v3-field input,
.ws-v3-field select{
    width:100%;
    min-height:48px;
    padding:0 13px;
    border:1px solid #AFC1B8;
    border-radius:0;
    background:#FFFFFF;
    color:#294D43;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif;
    font-size:13px;
    outline:none;
}

.ws-v3-field input:focus,
.ws-v3-field select:focus{
    border-color:var(--ws-green-2);
    box-shadow:0 0 0 2px rgba(15,73,59,.06);
}

.ws-v3-salary-row{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:10px;
}

.ws-v3-onboarding-actions{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:30px;
}

.ws-v3-btn-secondary,
.ws-v3-btn-primary{
    min-height:48px;
    padding:0 27px;
    border-radius:999px;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif;
    font-size:12.5px;
    font-weight:500;
    cursor:pointer;
}

.ws-v3-btn-secondary{
    border:1px solid #CEDBD5;
    background:#FFFFFF;
    color:#36574E;
}

.ws-v3-btn-primary{
    border:1px solid var(--ws-green-2);
    background:var(--ws-green-2);
    color:#FFFFFF;
}

.ws-v3-toast{
    position:fixed;
    right:24px;
    bottom:24px;
    z-index:40000;
    max-width:360px;
    padding:15px 18px;
    border-radius:12px;
    background:var(--ws-green-dark);
    color:#FFFFFF;
    font-size:12.5px;
    line-height:1.45;
    box-shadow:0 15px 40px rgba(0,0,0,.18);
}


/* =========================================================
   FOOTER
   ========================================================= */

.ws-v3-footer{
    width:100%;
    margin-top:44px;
    background:#062F27;
    color:#DCE7E2;
}

.ws-v3-footer-inner{
    width:min(1240px,calc(100% - 44px));
    margin:0 auto;
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr;
    gap:50px;
    padding:52px 0 42px;
}

.ws-v3-footer-brand img{
    width:180px;
    max-height:60px;
    padding:8px 12px;
    object-fit:contain;
    background:#FFFFFF;
}

.ws-v3-footer-brand p{
    max-width:300px;
    margin:20px 0 0;
    color:#BFD0C9;
    font-size:12.5px;
    line-height:1.7;
}

.ws-v3-footer h4{
    margin:0 0 17px;
    color:#FFFFFF;
    font-family:Barlow,"Helvetica Neue",Arial,sans-serif;
    font-size:12.5px;
    font-weight:500;
}

.ws-v3-footer a{
    display:block;
    margin:0 0 11px;
    color:#C7D6D0 !important;
    text-decoration:none !important;
    font-size:12px;
    font-weight:400;
}

.ws-v3-footer a:hover{
    color:#FFFFFF !important;
}

.ws-v3-footer-bottom{
    border-top:1px solid rgba(255,255,255,.11);
}

.ws-v3-footer-bottom-inner{
    width:min(1240px,calc(100% - 44px));
    min-height:65px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    color:#9EB4AB;
    font-size:11px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1180px){

    .ws-v3-header-inner{
        gap:20px;
    }

    .ws-v3-nav{
        gap:18px;
    }

    .ws-v3-nav a{
        font-size:12px !important;
    }

    .ws-v3-switch{
        display:none;
    }

}

@media(max-width:980px){

    .ws-v3-header-inner{
        min-height:74px;
    }

    .ws-v3-header{
        min-height:74px;
    }

    .ws-v3-brand img{
        width:162px;
    }

    .ws-v3-nav{
        display:none;
        position:absolute;
        left:0;
        right:0;
        top:74px;
        padding:24px 22px;
        flex-direction:column;
        align-items:flex-start;
        background:#FFFFFF;
        border-top:1px solid #E4ECE8;
        border-bottom:1px solid #E4ECE8;
        box-shadow:0 18px 35px rgba(8,39,30,.08);
    }

    body.ws-v3-menu-open .ws-v3-nav{
        display:flex;
    }

    .ws-v3-menu-toggle{
        display:inline-flex;
    }

    .ws-v3-auth-main{
        width:100%;
        grid-template-columns:1fr 390px;
    }

    .ws-v3-auth-login{
        padding:58px 45px;
    }

    .ws-v3-auth-register{
        padding:58px 36px;
    }

    .ws-v3-footer-inner{
        grid-template-columns:1fr 1fr;
    }

    body.ws-v3-sidebar-open .ws-v3-detected-sidebar{
        display:block !important;
        position:fixed !important;
        top:74px !important;
        left:0 !important;
        bottom:0 !important;
        width:min(310px,88vw) !important;
        height:auto !important;
        z-index:20000 !important;
        overflow:auto !important;
        box-shadow:20px 0 45px rgba(0,0,0,.15) !important;
    }

}

@media(max-width:760px){

    .ws-v3-header-inner{
        width:calc(100% - 28px);
    }

    .ws-v3-brand img{
        width:145px;
    }

    .ws-v3-header-actions{
        gap:5px;
    }

    .ws-v3-auth-main{
        display:block;
        width:100%;
        min-height:0;
    }

    .ws-v3-auth-login{
        padding:45px 24px 50px;
    }

    .ws-v3-auth-register{
        padding:46px 24px;
    }

    .ws-v3-auth-title{
        font-size:40px !important;
    }

    .ws-v3-side-title{
        font-size:38px;
    }

    .ws-v3-form-grid{
        grid-template-columns:1fr;
    }

    .ws-v3-field.is-wide{
        grid-column:auto;
    }

    .ws-v3-onboarding-body{
        padding:30px 20px 26px;
    }

    .ws-v3-onboarding-actions{
        flex-direction:column-reverse;
    }

    .ws-v3-btn-secondary,
    .ws-v3-btn-primary{
        width:100%;
    }

    .ws-v3-footer-inner{
        width:calc(100% - 36px);
        grid-template-columns:1fr;
        gap:28px;
        padding-top:40px;
    }

    .ws-v3-footer-bottom-inner{
        width:calc(100% - 36px);
        padding:18px 0;
        flex-direction:column;
        align-items:flex-start;
    }

}
