/* =====================================================
   PÁGINA INICIAL — BANCO DE PROMPTS
===================================================== */

body[data-page="index"] {
    width: 100%;
    min-width: 0;

    overflow-x: hidden;
}

/* =====================================================
   CONTEÚDO PRINCIPAL
===================================================== */

.index-principal {
    width: 100%;
    min-width: 0;

    box-sizing: border-box;

    padding:
        10px clamp(24px, 4vw, 72px) clamp(40px, 6vw, 80px);

    display: grid;

    grid-template-columns:
        minmax(0, 820px) minmax(420px, 580px);

    justify-content: center;

    align-items: start;

    column-gap: 70px;
}

/* =====================================================
   COLUNA ESQUERDA — DESTAQUES
===================================================== */

.index-apresentacao {
    width: 100%;
    max-width: 820px;
    min-width: 0;

    margin: 0;

    justify-self: end;
    align-self: start;

    display: flex;
    flex-direction: column;

    min-height: 0;
}

.index-apresentacao__titulo {
    margin: 0;

    font-size: clamp(28px, 3vw, 44px);
    font-weight: 700;
    line-height: 1.2;

    color: #f6f6f6;
}

.index-apresentacao__destaque {
    color: #22d4fd;
}

.index-apresentacao__descricao {
    max-width: 680px;

    margin: 0;

    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.75;

    color: #e2e2e2;
}

/* =====================================================
   CABEÇALHO DA APRESENTAÇÃO
===================================================== */

.index-apresentacao__cabecalho {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.index-apresentacao__subtitulo {
    max-width: 720px;

    margin: 0;

    color: #d8dde0;

    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.6;
}

/* =====================================================
   SUBCABEÇALHO DA PÁGINA
===================================================== */

.index-subcabecalho {
    width: 100%;

    box-sizing: border-box;

    padding:
        50px clamp(24px, 4vw, 72px) 20px;

    display: flex;
    flex-direction: column;

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

    gap: 20px;

    text-align: center;
}

/* =====================================================
   BLOCO DE ACESSO
===================================================== */
/* =====================================================
   COLUNA DIREITA — PRÉ-CADASTRO
===================================================== */

.index-acesso {
    width: 100%;
    max-width: 580px;
    min-width: 0;

    margin: 0;

    justify-self: start;
    align-self: start;

    box-sizing: border-box;

    padding: clamp(26px, 3vw, 40px);

    border: 1px solid rgba(34, 212, 253, 0.58);
    border-radius: 18px;

    background: rgba(3, 3, 8, 0.88);

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(34, 212, 253, 0.07);

    backdrop-filter: blur(8px);

    min-height: 500px;
    height: auto;

}

#login-cadastro {
    width: 100%;
}

/* =====================================================
   FORMULÁRIO DE PRÉ-CADASTRO
===================================================== */

.index-acesso form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 10px;
}

.index-acesso form label {
    color: #f1f1f1;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.index-acesso form input {
    width: 100%;
    min-width: 0;
    min-height: 46px;

    margin: 0 0 8px;
    padding: 11px 14px;

    box-sizing: border-box;

    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.055);
    color: #f6f6f6;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease;
}

.index-acesso form input:hover {
    border-color: rgba(34, 212, 253, 0.48);
}

.index-acesso form input:focus-visible {
    outline: none;

    border-color: #22d4fd;
    background: rgba(255, 255, 255, 0.075);

    box-shadow: 0 0 0 3px rgba(34, 212, 253, 0.2);
}

.index-acesso form button {
    width: 100%;
    min-height: 46px;

    margin: 8px 0 0;
    padding: 11px 18px;

    border: 1px solid #22d4fd;
    border-radius: 10px;

    background: #22d4fd;
    color: #050505;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: 0 5px 14px rgba(34, 212, 253, 0.16);

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.index-acesso form button:hover {
    border-color: #78e7ff;
    background: #78e7ff;

    box-shadow: 0 7px 18px rgba(34, 212, 253, 0.24);
}

.index-acesso form button:active {
    transform: translateY(1px);
}

.index-acesso form button:focus-visible {
    outline: 3px solid rgba(34, 212, 253, 0.38);
    outline-offset: 3px;
}

.index-acesso>div>p:last-child {
    margin: 22px 0 0;

    color: #bfc3c7;

    font-size: 12.5px;
    line-height: 1.65;
}

.index-acesso>div>p:last-child a {
    color: #9beeff;

    font-weight: 600;
    text-decoration: none;
}

.index-acesso>div>p:last-child a:hover {
    color: #ffffff;

    text-decoration: underline;
}

.index-acesso>div>p:last-child a:focus-visible {
    outline: 2px solid rgba(34, 212, 253, 0.5);
    outline-offset: 3px;
}

.index-acesso__titulo {
    margin: 0 0 10px;

    font-size: clamp(24px, 2.4vw, 29px);
    font-weight: 700;
    line-height: 1.3;

    color: #f6f6f6;
}

.index-acesso__descricao {
    margin: 0 0 24px;

    font-size: 15px;
    line-height: 1.65;

    color: #d8d8d8;
}

/* =====================================================
   PERFIL — PRÉ-CADASTRO
===================================================== */

.pre-cadastro__perfil {
    width: 100%;

    margin: 4px 0 6px;
    padding: 0;

    border: 0;
}


.pre-cadastro__perfil legend {
    margin-bottom: 10px;

    color: #f1f1f1;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}


.pre-cadastro__opcoes {
    width: 100%;

    display: flex;
    flex-wrap: wrap;

    gap: 10px 16px;
}


.pre-cadastro__opcao {
    display: flex;
    align-items: center;

    gap: 7px;

    color: #d8d8d8;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;
}


.pre-cadastro__opcao input[type="radio"] {
    width: 16px;
    height: 16px;
    min-height: 0;

    margin: 0;
    padding: 0;

    accent-color: #22d4fd;

    cursor: pointer;
}


.pre-cadastro__outro {
    width: 100%;
}


.pre-cadastro__outro[hidden] {
    display: none;
}

/* =====================================================
   ABAS
===================================================== */

.login-cadastro__abas {
    width: 100%;

    margin-bottom: 28px;
    padding: 4px;

    display: grid;

    /*
     * O botão oficial do Google é renderizado
     * atualmente com 220px de largura.
     *
     * A primeira coluna reserva exatamente esse espaço.
     * A segunda ocupa o restante disponível.
     */
    grid-template-columns: 220px minmax(0, 1fr);

    gap: 4px;

    box-sizing: border-box;

    border: 1px solid rgba(34, 212, 253, 0.3);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.045);

    overflow: hidden;
}


/* =====================================================
   ÁREA DO LOGIN GOOGLE
===================================================== */

.login-cadastro__acao-google {
    width: 100%;
    min-width: 0;
    min-height: 44px;

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

    box-sizing: border-box;

    border-radius: 8px;

    overflow: hidden;
}


/* =====================================================
   CONTAINER DO BOTÃO OFICIAL GOOGLE
===================================================== */

.google-botao-oficial {
    width: 100%;
    min-width: 0;

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

    box-sizing: border-box;

    overflow: hidden;
}


/* =====================================================
   ABA
===================================================== */

.login-cadastro__aba {
    width: 100%;
    min-width: 0;
    min-height: 44px;

    margin: 0;
    padding: 10px 16px;

    box-sizing: border-box;

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;
    color: #cfd3d8;

    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}


.login-cadastro__aba:hover {
    color: #ffffff;

    background: rgba(34, 212, 253, 0.08);
}


.login-cadastro__aba.ativa {
    border-color: #22d4fd;

    background: #22d4fd;
    color: #050505;

    box-shadow:
        0 5px 14px rgba(34, 212, 253, 0.16);
}


.login-cadastro__aba:focus-visible {
    outline: 3px solid rgba(34, 212, 253, 0.38);
    outline-offset: 3px;
}


/* =====================================================
   PAINÉIS
===================================================== */

.login-cadastro__painel {
    width: 100%;

    padding-top: 2px;
}

.login-cadastro__painel[hidden] {
    display: none;
}

.login-cadastro__painel.oculto {
    display: none;
}

.login-cadastro__subtitulo {
    margin: 0 0 8px;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;

    color: #f4f4f4;
}

.login-cadastro__texto {
    margin: 0 0 22px;

    font-size: 14px;
    line-height: 1.65;

    color: #cfd2d6;
}

/* =====================================================
   BOTÃO OFICIAL GOOGLE
===================================================== */

.google-botao-oficial {
    width: 100%;
    min-height: 44px;

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

.google-botao-oficial>div {
    max-width: 100%;
}

.google-botao-oficial.bloqueado {
    opacity: 0.45;

    pointer-events: none;
    user-select: none;
}

/* =====================================================
   ACEITES LEGAIS
===================================================== */

.aceites-legais {
    width: 100%;

    margin: 0;
    padding: 18px;

    display: flex;
    flex-direction: column;

    gap: 16px;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;

    background: rgba(255, 255, 255, 0.035);
}

.aceites-legais__titulo {
    padding: 0 8px;

    color: #f1f1f1;

    font-size: 14px;
    font-weight: 700;
}

.aceites-legais__item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;

    gap: 11px;

    color: #d9d9d9;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;

    cursor: pointer;
}

.aceites-legais__item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;

    margin: 2px 0 0;
    padding: 0;

    accent-color: #22d4fd;

    cursor: pointer;
}

.aceites-legais__item input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(34, 212, 253, 0.38);
    outline-offset: 3px;
}

.aceites-legais__item a {
    color: #22d4fd;

    font-weight: 700;
    text-decoration: none;
}

.aceites-legais__item a:hover {
    text-decoration: underline;
}

.aceites-legais__item a:focus-visible {
    outline: 2px solid rgba(34, 212, 253, 0.5);
    outline-offset: 3px;
}

/* =====================================================
   AVISO DOS ACEITES
===================================================== */

.login-cadastro__aviso {
    margin: 14px 0 18px;

    font-size: 13px;
    line-height: 1.55;

    color: #c7c7c7;
}

.login-cadastro__aviso.aceites-confirmados {
    color: #8ce99a;
}

.login-cadastro__aviso.aceites-pendentes {
    color: #f1c96b;
}

/* =====================================================
   RODAPÉ
===================================================== */

.index-rodape {
    width: 100%;

    padding:
        20px clamp(24px, 4vw, 72px);

    color: #bdbdbd;

    font-size: 13px;
    line-height: 1.5;

    text-align: center;
}


/* =====================================================
   DESTAQUES DA PLATAFORMA — ÁREA DA IMAGEM
===================================================== */

.index-destaques {
    position: relative;

    width: 100%;
    max-width: 820px;
    min-width: 0;

    /*
     * Medida obtida diretamente no navegador:
     * pré-cadastro ≈ 552.06px
     */
    height: 552px;

    margin: 0;
    padding: 0;

    display: block;

    overflow: hidden;

    box-sizing: border-box;

    border:
        1px solid rgba(34, 212, 253, 0.58);

    border-radius: 18px;

    background: #02040a;

    box-shadow:
        0 22px 54px rgba(0, 0, 0, 0.46),
        0 0 28px rgba(34, 212, 253, 0.07);
}


/* =====================================================
   TÍTULO DINÂMICO — SOBRE A IMAGEM
===================================================== */

.index-destaques__slide-titulo {
    position: absolute;

    top: 5px;
    right: 0;
    bottom: auto;
    left: 0;

    z-index: 10;

    width: calc(100% - 20px);
    max-width: 780px;

    margin: 0 auto;

    font-family: inherit;

    font-size:
        clamp(28px, 3vw, 44px);

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: normal;

    text-align: center;

    text-transform: none;

    color: #22d4fd;

    pointer-events: none;

    user-select: none;

    will-change:
        opacity,
        transform;
}


/* =====================================================
   TÍTULO DINÂMICO — SOBRE A IMAGEM
===================================================== */

.index-destaques__slide-titulo {
    position: absolute;

    top: 5px;
    right: 0;
    bottom: auto;
    left: 0;

    z-index: 5;

    width: calc(100% - 20px);
    max-width: 780px;

    margin: 0 auto;


    /* =================================================
       MESMO PADRÃO DO DESTAQUE "negócios com IA"
    ================================================= */

    font-family: inherit;

    font-size:
        clamp(28px, 3vw, 44px);

    font-weight: 700;

    line-height: 1.2;

    letter-spacing: normal;

    text-align: center;

    text-transform: none;

    color: #22d4fd;


    /* =================================================
       COMPORTAMENTO
    ================================================= */

    pointer-events: none;

    user-select: none;

    will-change:
        opacity,
        transform;
}


/* =====================================================
   ÁREA VISUAL DOS SLIDES
===================================================== */

.index-destaques__slides {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: grid;

    overflow: hidden;

    z-index: 1;

    background: #02040a;
}

/* =====================================================
   SLIDE
===================================================== */

.index-destaques__slide {
    position: relative;

    width: 100%;
    height: 100%;

    min-width: 0;

    grid-area: 1 / 1;

    overflow: hidden;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

.index-destaques__slide--ativo {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =====================================================
   IMAGEM
===================================================== */

.index-destaques__imagem {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #02040a;
}

.index-destaques__imagem img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.01);

    will-change:
        opacity,
        transform,
        filter;
}

/* =====================================================
   INDICADORES
===================================================== */
/* =====================================================
   INDICADORES — ABAIXO DO SLIDER
===================================================== */

.index-destaques__indicadores {
    position: static;

    width: 100%;

    margin: 10px 0 0;
    padding: 0;

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

    gap: 20px;

    transform: none;
    z-index: auto;
}


.index-destaques__indicador {
    width: 7px;
    height: 7px;

    min-width: 7px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.26);

    cursor: pointer;

    transition:
        background-color 0.18s ease,
        transform 0.18s ease;
}


.index-destaques__indicador:hover {
    background: rgba(34, 212, 253, 0.65);
}


.index-destaques__indicador--ativo {
    background: #22d4fd;

    transform: scale(1.25);
}


.index-destaques__indicador:focus-visible {
    outline: 2px solid #22d4fd;
    outline-offset: 3px;
}


/* =====================================================
   CONTROLES — ABAIXO DOS INDICADORES
===================================================== */

.index-destaques__controles {
    position: static;

    width: 100%;

    margin: 4px 0 0;
    padding: 0;

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

    gap: 28px;

    transform: none;
    z-index: auto;

    border-radius: 0;

    background: transparent;

    backdrop-filter: none;
}


.index-destaques__controle {
    min-width: 0;

    margin: 0;
    padding: 2px 4px;

    border: 0;

    background: transparent;

    color: #c7cdd0;

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}


.index-destaques__controle:hover {
    color: #22d4fd;

    transform: translateY(-1px);
}


.index-destaques__controle:focus-visible {
    outline: 2px solid #22d4fd;
    outline-offset: 3px;
}

/* =====================================================
   DESCRIÇÃO DINÂMICA — SOBRE A IMAGEM
===================================================== */

.index-destaques__slide-descricao {
    position: absolute;

    top: 62px;
    right: 20px;
    left: 20px;

    z-index: 6;

    width: auto;

    margin: 0;

    color: #f0f3f5;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;

    text-align: center;

    pointer-events: none;

    user-select: none;
}

/* =====================================================
   CURSOR DO TERMINAL — TÍTULO
===================================================== */

.index-destaques__slide-titulo--cursor::after {
    content: "";

    display: inline-block;

    width: 7px;
    height: 0.9em;

    margin-left: 6px;

    vertical-align: -0.05em;

    background: #22d4fd;

    border-radius: 1px;

    animation:
        index-destaques-cursor-piscar 0.85s steps(1, end) infinite;
}


/* =====================================================
   PISCAR DO CURSOR
===================================================== */

@keyframes index-destaques-cursor-piscar {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }

}

/* =====================================================
   ACESSIBILIDADE
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .index-destaques__indicador,
    .index-destaques__controle {
        transition: none;
    }

    .index-destaques__slide-titulo--cursor::after {
        animation: none;
    }


}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 620px) {

    .index-destaques {
        height: 273px;
    }

    .index-destaques__imagem img {
        object-fit: cover;
        transform: scale(0.90);
    }

    .index-destaques__conteudo {
        min-height: 94px;

        padding: 12px 13px;
    }

    .index-destaques__slides {
        aspect-ratio: 16 / 10;
    }

    .index-destaques__slide-titulo {
        font-size: 17px;
    }

    .index-destaques__slide-descricao {
        font-size: 13px;
    }

}

/* =====================================================
   RESPONSIVIDADE
===================================================== */

@media (max-width: 780px) {

    .index-principal {
        grid-template-columns: 1fr;

        align-items: start;
    }

    .index-apresentacao {
        max-width: 100%;
    }

    .index-acesso {
        max-width: 680px;

        justify-self: stretch;
    }
}

@media (max-width: 620px) {

    .index-principal {
        padding:
            36px 20px;

        gap: 36px;
    }

    .index-acesso {
        padding: 26px 20px;
    }

    .index-apresentacao__titulo {
        font-size: 32px;
    }

    .index-apresentacao__descricao {
        font-size: 16px;
    }

    .login-cadastro__abas {
        margin-bottom: 24px;
    }

    .aceites-legais {
        padding: 16px 14px;
    }
}

@media (max-width: 420px) {

    .index-principal {
        padding-right: 16px;
        padding-left: 16px;
    }

    .index-acesso {
        padding-right: 16px;
        padding-left: 16px;

        border-radius: 14px;
    }

    .index-acesso__titulo {
        font-size: 23px;
    }

    .login-cadastro__aba {
        padding-right: 10px;
        padding-left: 10px;

        font-size: 13px;
    }

    .aceites-legais__item {
        font-size: 12.5px;
    }
}