/* ANE / CIE 2026 - visual das paginas publicas (login, produto, validacao) */
:root {
    --ane-blue: #2a3797;
    --ane-blue-2: #444faa;
    --ane-pale: #e5edfa;
    --ane-purple: #8136b2;
    --ane-magenta: #cc4a96;
    --ane-ink: #1b2150;
}

.brand-kicker {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ane-blue);
    background: #fff;
    border-radius: 999px;
    padding: .35rem .85rem;
    box-shadow: 0 1px 6px rgba(42, 55, 151, .16);
}

/* ------------------------------------------------------------------ login */
.auth-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    min-height: 100vh;
}

.auth-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 56px 56px 0;
    background: linear-gradient(160deg, #fff 0%, var(--ane-pale) 100%);
}

/* anel decorativo, mesma linguagem grafica da carteira (fora da area da foto) */
.auth-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 430px;
    height: 430px;
    right: -150px;
    top: 150px;
    border: 54px solid rgba(68, 79, 170, .34);
    border-radius: 50%;
    pointer-events: none;
}

.auth-hero__text {
    max-width: 520px;
}

.auth-hero__text h2 {
    margin: 18px 0 0;
    font-size: clamp(1.9rem, 2.8vw, 2.7rem);
    line-height: 1.12;
    font-weight: 800;
    color: var(--ane-blue);
}

.auth-hero__img {
    align-self: flex-end;
    margin-top: auto;
    margin-right: -8px;
    width: auto;
    max-width: 100%;
    height: calc(100vh - 230px);
    max-height: 720px;
    min-height: 360px;
    object-fit: contain;
    object-position: bottom right;
}

.auth-panel {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: #f8f9fa;
}

.auth-split #container_login {
    width: 100%;
    max-width: 440px;
    margin: 0;
}

.auth-split #box-login {
    min-height: 0;
    padding: 36px 34px 32px;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 18px 50px rgba(42, 55, 151, .14), 0 2px 6px rgba(0, 0, 0, .05);
}

.auth-split #box-login img {
    width: 112px;
    height: auto;
}

.auth-title {
    margin: 6px 0 22px;
    text-align: center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--ane-ink);
}

.auth-split #box-login .btn-primary {
    border-radius: 10px;
    padding: .65rem 1rem;
    font-weight: 600;
}

.auth-panel::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -150px;
    bottom: -150px;
    border: 56px solid rgba(129, 54, 178, .16);
    border-radius: 50%;
    pointer-events: none;
}

.auth-split #container_login {
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-hero {
        display: none;
    }

    .auth-panel {
        min-height: 100vh;
        padding: 20px 14px;
    }

    .auth-split #box-login {
        padding: 28px 22px;
    }
}

/* ------------------------------------------------------- escolha do produto */
.buy {
    max-width: 1060px;
    margin: 0 auto;
    padding: 36px 16px 64px;
}

.buy__panel {
    background: #fff;
    border-radius: 22px;
    padding: 36px 32px 40px;
    box-shadow: 0 18px 50px rgba(42, 55, 151, .12), 0 2px 6px rgba(0, 0, 0, .05);
}

.buy__head {
    text-align: center;
}

.buy__head img {
    width: 104px;
    height: auto;
}

.buy__head h1,
.buy__step {
    margin: 10px 0 0;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--ane-ink);
}

.buy__head p {
    margin: 6px 0 0;
    color: #5b6085;
}

.buy__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.product {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid #dde3f6;
    border-radius: 18px;
    background: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}

.product:hover,
.product:focus-visible {
    border-color: var(--ane-blue-2);
    box-shadow: 0 12px 32px rgba(42, 55, 151, .16);
    transform: translateY(-2px);
}

.product.active {
    border-color: var(--ane-blue);
    box-shadow: 0 0 0 4px rgba(42, 55, 151, .14), 0 14px 36px rgba(42, 55, 151, .18);
    background: #fff;
}

.product.active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ane-blue);
    box-shadow: 0 4px 12px rgba(42, 55, 151, .4);
}

.product__media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 340px;
    padding: 20px;
    background:
        radial-gradient(circle at 18% 112%, rgba(129, 54, 178, .28) 0 22%, transparent 22.5%),
        radial-gradient(circle at 92% -6%, rgba(68, 79, 170, .22) 0 20%, transparent 20.5%),
        linear-gradient(160deg, #f6f9ff, var(--ane-pale));
}

.product__media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(27, 33, 80, .28));
}

.product__media--card img {
    width: 88%;
    height: auto;
    border-radius: 12px;
    transform: rotate(-3deg);
}

.product__body {
    padding: 20px 22px 24px;
    text-align: center;
}

.product__body h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ane-ink);
}

.product__body h3 i {
    margin-left: 8px;
    font-size: 1.1rem;
    color: var(--ane-blue-2);
}

.product__body p {
    margin: 8px 0 0;
    color: #5b6085;
    font-size: .98rem;
}

.buy__methods {
    margin-top: 40px;
    scroll-margin-bottom: 24px;
}

.buy__methods .buy__step {
    text-align: center;
    font-size: 1.4rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 22px 16px;
    border: 2px solid #dde3f6;
    border-radius: 16px;
    background: #fff;
    color: var(--ane-blue) !important;
    font-size: 1.45rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: border-color .2s, box-shadow .2s, background .2s, transform .2s;
}

.method i {
    font-size: 1.7rem;
}

.method:hover {
    border-color: var(--ane-blue);
    background: var(--ane-blue);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(42, 55, 151, .28);
    transform: translateY(-2px);
}

@media (max-width: 700px) {
    .buy {
        padding: 18px 12px 40px;
    }

    .buy__panel {
        padding: 26px 16px 28px;
        border-radius: 18px;
    }

    .buy__grid,
    .method-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product__media {
        height: 220px;
        padding: 16px;
    }

    .buy__head h1 {
        font-size: 1.45rem;
    }
}

/* ---------------------------------------------------------------- validacao */
.val-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    margin-top: 22px;
    padding: 34px 40px;
    border-radius: 22px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 140%, rgba(129, 54, 178, .26) 0 13%, transparent 13.4%),
        radial-gradient(circle at 100% -10%, rgba(68, 79, 170, .26) 0 20%, transparent 20.4%),
        linear-gradient(160deg, #fff, var(--ane-pale));
    box-shadow: 0 14px 40px rgba(42, 55, 151, .12);
}

.val-logo img {
    width: 120px;
    height: auto;
}

.val-hero h2 {
    margin: 14px 0 8px;
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ane-blue);
}

.val-hero p {
    margin: 0;
    color: #4d5379;
    font-size: 1.02rem;
}

.val-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 440px;
    justify-self: center;
    border-radius: 14px;
    transform: rotate(-3deg);
    filter: drop-shadow(0 16px 26px rgba(27, 33, 80, .3));
}

@media (max-width: 760px) {
    .val-hero {
        grid-template-columns: 1fr;
        padding: 26px 20px;
        text-align: center;
    }

    .val-hero img {
        max-width: 330px;
    }
}
