/* =============================================================
   Modal de acesso (#modalCadastroLand, _LayoutHome + landpage.js)
   Um passo só, com cara de checkout: o que se compra, quanto
   custa e o que vem depois; botões grandes e iguais, Google
   primeiro (o mais rápido), e-mail como alternativa.
   Este arquivo entra depois do modern_layout.css.
   ============================================================= */
.ac-dialog {
    max-width: 440px;
}

.ac-content {
    position: relative;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(6, 20, 40, 0.35);
}

.ac-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff7b54, #ffb08f);
}

.ac-fechar {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
}

.ac-corpo {
    padding: 1.75rem 1.5rem 1.25rem;
    color: #2c3e50;
    text-align: center;
}

/* Passos da compra: Acesso → Pagamento → Pronto */
.ac-passos {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
}

.ac-passos li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: #eef2f7;
    color: #6c757d;
    font-size: 0.75rem;
    font-weight: 700;
}

.ac-passos li b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #cfd8e3;
    color: #ffffff;
    font-size: 0.65rem;
}

.ac-passos li.is-atual {
    background: #fff1ea;
    color: #c2410c;
}

.ac-passos li.is-atual b {
    background: #ff7b54;
}

.ac-marca {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e3a5f, #2c5282);
    color: #ffffff;
    font-size: 1.35rem;
}

.ac-titulo {
    margin: 0 0 0.35rem;
    color: #1e3a5f;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
}

.ac-sub {
    margin: 0 0 1rem;
    color: #6c757d;
    font-size: 0.95rem;
}

/* Resumo do pedido */
.ac-pedido {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid #ffd9c8;
    border-radius: 12px;
    background: #fff7f3;
    text-align: left;
}

.ac-pedido[hidden] {
    display: none;
}

.ac-pedido-icone {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 123, 84, 0.18);
    color: #c2410c;
}

.ac-pedido-info {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.ac-pedido-info b {
    color: #1e3a5f;
    font-size: 0.95rem;
}

.ac-pedido-info small {
    color: #6c757d;
    font-size: 0.8rem;
}

.ac-pedido-valor {
    flex-shrink: 0;
    color: #1e3a5f;
    font-size: 1.05rem;
    font-weight: 800;
}

/* Aviso: navegador de app (o Google não deixa entrar) */
.ac-app {
    margin: 0 0 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: #eef4fb;
    color: #1e3a5f;
    font-size: 0.85rem;
    text-align: left;
}

.ac-app[hidden] {
    display: none;
}

.ac-app p {
    margin: 0 0 0.35rem;
}

.ac-app i {
    margin-right: 0.3rem;
}

.ac-app-como {
    color: #6c757d;
}

.ac-app-acoes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
}

.ac-app-link {
    padding: 0;
    border: none;
    background: none;
    color: #c2410c;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.ac-app-link[hidden] {
    display: none;
}

/* Botões de acesso: mesma altura e largura, ícone à esquerda */
.ac-botoes {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ac-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    min-height: 50px;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.ac-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(30, 58, 95, 0.15);
}

.ac-btn:focus-visible {
    outline: 3px solid rgba(255, 123, 84, 0.45);
    outline-offset: 2px;
}

.ac-btn-google {
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #3c4043;
}

.ac-btn-facebook {
    border: 1px solid #1877f2;
    background: #1877f2;
    color: #ffffff;
}

.ac-btn-facebook i {
    font-size: 1.25rem;
}

.ac-btn-email {
    border: 1px solid #d5dee9;
    background: #f8f9fa;
    color: #1e3a5f;
}

.ac-ou {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9aa5b1;
    font-size: 0.8rem;
}

.ac-ou::before,
.ac-ou::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e3e8ee;
}

.ac-confianca {
    margin: 1rem 0 0.35rem;
    color: #6c757d;
    font-size: 0.8rem;
}

.ac-confianca i {
    margin-right: 0.3rem;
    color: #2e7d32;
}

.ac-conta {
    margin: 0 0 0.5rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

.ac-conta a {
    color: #c2410c;
    font-weight: 700;
}

.ac-termos {
    margin: 0;
    color: #9aa5b1;
    font-size: 0.72rem;
    line-height: 1.4;
}

.ac-termos a {
    color: #6c757d;
}

/* Aviso no topo dos modais de login e de cadastro por e-mail ("em seguida, pague com Pix...") */
.ac-aviso-modal {
    margin: 0 0 0.75rem;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 123, 84, 0.12);
    color: #7a2e0e;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Blocos que alternam entre compra e conta grátis (landpage.js: abrirModalAcesso) */
.ac-passos[hidden],
.ac-marca[hidden],
.ac-btn[hidden] {
    display: none;
}

@media (max-width: 575.98px) {
    .ac-corpo {
        padding: 1.5rem 1rem 1rem;
    }

    .ac-titulo {
        font-size: 1.25rem;
    }
}

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

    .ac-btn:hover {
        transform: none;
    }
}
