/* BioLock Auto v0.3 — apenas a página inicial. Não afeta Login/Wizard. */

html:has(.hero-v03),body:has(.hero-v03) {
    height: 100%;
    margin: 0;
}

body:has(.hero-v03) {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0,1fr) auto;
    overflow: hidden;
}

body:has(.hero-v03) main {
    min-height: 0;
    min-width: 0;
    display: flex;
    overflow: hidden;
}

body:has(.hero-v03) .topbar {
    z-index: 5;
    position: relative;
    background: #031426f2;
    border-bottom: 1px solid #008dff66;
    box-shadow: 0 2px 20px #007bff20;
    padding-top: 9px;
    padding-bottom: 9px;
}

body:has(.hero-v03) footer {
    z-index: 2;
    background: #031426;
    padding: 7px 12px;
    font-size: 10px;
    line-height: 1.2;
    border-top: 1px solid #168dff2b;
}

.hero-v03 {
    flex: 1;
    min-width: 0;
    min-height: 0!important;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(15px,3.5vh,32px) 16px clamp(9px,2vh,18px);
    background: #020d1d;
}

.hero-v03:before {
    content: none!important;
}

.hero-v03-art {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-image: url('/images/hero-biolock-v03.png');
    background-position: center center;
    background-size: cover;
    pointer-events: none;
}

.hero-v03-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg,rgba(0,9,22,.12),rgba(0,9,22,.72) 33%,rgba(0,9,22,.72) 65%,rgba(0,9,22,.08)),linear-gradient(0deg,rgba(0,10,24,.38),transparent 24%,transparent 82%,rgba(0,10,24,.2));
    pointer-events: none;
}

.hero-v03-body {
    width: min(660px,100%);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    flex: 1;
    min-height: 0;
    text-shadow: 0 2px 20px #000e27;
}

.hero-v03-kicker {
    font-size: clamp(9px,1vw,12px)!important;
    line-height: 1.4!important;
    font-weight: 800;
    letter-spacing: .2em;
    color: #7fd2ff!important;
    margin: 0 0 clamp(12px,2vh,22px)!important;
}

.hero-v03 h1 {
    font-size: clamp(34px,4.15vw,66px)!important;
    line-height: 1.09!important;
    letter-spacing: -.045em;
    color: #fff;
    margin: 0 0 clamp(13px,2.2vh,23px)!important;
    font-weight: 800;
}

.hero-v03 h1 span {
    display: block;
    color: #40a7ff;
}

.hero-v03-lead {
    font-size: clamp(13px,1.25vw,18px)!important;
    line-height: 1.5!important;
    color: #d9edff!important;
    max-width: 510px!important;
    margin: 0 0 clamp(17px,3vh,28px)!important;
}

.hero-v03-actions {
    display: flex;
    justify-content: center;
    gap: 13px;
    flex-wrap: wrap;
}

.hero-v03-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 22px;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s,box-shadow .2s;
    color: white;
}

.hero-v03-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.hero-v03-btn:focus-visible {
    outline: 3px solid #a5eaff;
    outline-offset: 3px;
}

.hero-v03-primary {
    background: linear-gradient(110deg,#0566f0,#079eff);
    border: 1px solid #7cd8ff;
    box-shadow: 0 0 21px #009bff70;
}

.hero-v03-secondary {
    background: #031b35db;
    border: 1px solid #3db5ff;
    box-shadow: 0 0 12px #009bff28;
}

.hero-v03-features {
    width: min(700px,100%);
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 0;
    position: relative;
    z-index: 1;
    border-top: 1px solid #1d9aff75;
    padding-top: clamp(8px,1.5vh,15px);
    background: linear-gradient(90deg,transparent,#00142d55,transparent);
}

.hero-v03-features>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    padding: 2px 8px;
    color: #f0f8ff;
    min-width: 0;
}

.hero-v03-features>div+div {
    border-left: 1px solid #138eff50;
}

.hero-v03-features span {
    font-size: clamp(19px,2vw,27px);
    line-height: 1.1;
    color: #57caff;
}

.hero-v03-features strong {
    font-size: clamp(10px,.95vw,13px);
    line-height: 1.3;
}

@media(max-width:700px) {
    body:has(.hero-v03) .topbar {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    body:has(.hero-v03) .brand img {
        width: 29px;
        height: 29px;
    }

    body:has(.hero-v03) footer {
        padding: 6px 8px;
    }

    .hero-v03 {
        padding: 15px 12px 12px;
    }

    .hero-v03-art {
        background-size: auto 100%;
        background-position: 22% center;
        opacity: .84;
    }

    .hero-v03-shade {
        background: linear-gradient(180deg,#0010207a,#001020c9 30%,#001020c9 65%,#001020ad);
    }

    .hero-v03-body {
        justify-content: center;
    }

    .hero-v03-kicker {
        font-size: 10px!important;
        letter-spacing: .13em;
        margin-bottom: 14px!important;
    }

    .hero-v03 h1 {
        font-size: clamp(30px,8.2vw,42px)!important;
        margin-bottom: 13px!important;
    }

    .hero-v03-lead {
        font-size: 13px!important;
        max-width: 340px!important;
        margin-bottom: 17px!important;
    }

    .hero-v03-actions {
        width: min(310px,100%);
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .hero-v03-btn {
        min-height: 43px;
        font-size: 13px;
        padding: 9px 12px;
    }

    .hero-v03-features {
        grid-template-columns: repeat(4,minmax(0,1fr));
        padding-top: 9px;
    }

    .hero-v03-features>div {
        padding: 2px 3px;
        gap: 4px;
    }

    .hero-v03-features span {
        font-size: 20px;
    }

    .hero-v03-features strong {
        font-size: 9px;
        line-height: 1.25;
    }

}

@media(max-height:680px) {
    .hero-v03 {
        padding-top: 9px;
        padding-bottom: 7px;
    }

    .hero-v03-kicker {
        margin-bottom: 8px!important;
    }

    .hero-v03 h1 {
        font-size: clamp(27px,4vw,48px)!important;
        margin-bottom: 9px!important;
    }

    .hero-v03-lead {
        margin-bottom: 11px!important;
    }

    .hero-v03-features {
        padding-top: 5px;
    }

    .hero-v03-features span {
        font-size: 18px;
    }

    .hero-v03-btn {
        min-height: 38px;
    }

}

@media(max-width:700px) and (max-height:650px) {
    .hero-v03-kicker {
        font-size: 9px!important;
    }

    .hero-v03 h1 {
        font-size: clamp(25px,7vw,33px)!important;
    }

    .hero-v03-lead {
        font-size: 12px!important;
    }

    .hero-v03-features span {
        display: none;
    }

    .hero-v03-btn {
        min-height: 36px;
    }

}

@media(prefers-reduced-motion:reduce) {
    .hero-v03-btn {
        transition: none;
    }

    .hero-v03-btn:hover {
        transform: none;
    }

}
