/* ==================== PÁGINAS LEGAIS ==================== */
body.page-legal {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 0;
}


/* Centralizar botão corretamente */
.btn-center {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Ajuste visual do botão */
.btn-center .btn-ios {
    width: 100%;
    max-width: 320px; /* evita ficar largo demais */
    text-align: center;
}


/* Texto introdutório */
.legal-text {
    font-size: 14px;
    color: #444;
    margin-bottom: 22px;
    text-align: center;
}

/* Cards legais */
.legal-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.legal-card {
    display: block;
    padding: 16px;
    border-radius: 14px;
    background: #f7f7f7;
    border: 1px solid #ddd;
    color: #111;
    text-decoration: none;
    transition: .25s ease;
}

.legal-card h4 {
    margin: 0 0 6px;
    font-size: 15px;
}

.legal-card p {
    margin: 0;
    font-size: 13px;
    color: #555;
}

/* Hover */
.legal-card:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Remove sublinhado dos cards legais */
.legal-card,
.legal-card *,
.legal-card:visited,
.legal-card *:visited {
    text-decoration: none !important;
}


/* Links padrão (remove roxo e sublinhado) */
a,
a:visited {
    color: #0D2E4E;
    text-decoration: none;
    font-weight: 500;
}

/* Hover suave */
a:hover {
    text-decoration: underline;
    color: #003a7a;
}


body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10121a;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;

}

/* Orbs MUITO discretos (bem mais fracos) */
.bg-orbs .orb {
    filter: blur(50px);
    opacity: 0.25; /* antes era 0.9 */
}

/* ==================== CARD ==================== */
.card-vision {
    width: 95%;
    max-width: 420px;
    padding: 32px;
    border-radius: 22px;

    /* Agora SÓLIDO, sem glass */
    background: #ffffff;
    border: 1px solid #ececec;

    /* sombra suave estilo Notion */
    box-shadow: 0 12px 30px rgba(0,0,0,0.20);

    animation: fadeIn .35s ease-out;
}

/* Removido o reflexo do card */
.card-vision::before {
    display: none;
}

/* ==================== LOGO ==================== */
.logo-container img {
    width: 80px;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.15));
}

.subtitle {
    font-size: 13px;
    margin-top: 4px;
    color: #555;
}

/* ==================== TABS ==================== */
.vision-tabs {
    background: #f1f1f1;
    border-radius: 14px;
    padding: 4px;
    border: 1px solid #ddd;
}

.vision-tabs .nav-link {
    border-radius: 12px !important;
    color: #444;
    font-weight: 600;
}

.vision-tabs .nav-link.active {
    background: white;
    color: #111;
    border: 1px solid #ccc;
    box-shadow: none;
}

/* ==================== INPUTS ==================== */
.vision-input {
    height: 48px;
    border-radius: 12px !important;

    /* sem blur, fundo sólido */
    background: #f7f7f7;
    border: 1px solid #ccc;
    color: #111;
}

.vision-input:focus {
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,122,255,0.20);
}

/* Floating labels */
.form-floating > label {
    color: #555;
}

/* Corrige espaçamento vertical entre inputs form-floating */
.form-floating {
    margin-bottom: 14px !important;
}

/* Reduz altura e padding (fica perfeito e clean) */
.form-floating > .form-control {
    height: 52px !important;
    padding-top: 18px !important;
    padding-bottom: 6px !important;
}

/* ==================== OLHO DA SENHA ==================== */

/* Wrapper para inputs com olho */
.pass-wrapper {
    position: relative;
}

/* Ícone do olho */
.pass-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
    opacity: 0.65;
    transition: .15s;
}

.pass-toggle:hover {
    opacity: 1;
    color: #000;
}



/* ==================== BOTÃO ==================== */
.btn-ios {
    border-radius: 14px;
    padding: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #0066ff, #004de4);
    border: none;
    color: white;
    box-shadow: 0 6px 20px rgba(0, 90, 255, 0.35);
    transition: 0.25s ease;
}

.btn-ios:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 90, 255, 0.45);
}

.btn-ios:active {
    transform: translateY(0) scale(.98);
}

/* ==================== ALERTAS ==================== */
/* SUCESSO */
.alert-success {
    border-radius: 12px;
    background: #e9f9ee !important;
    color: #1c7c3a !important;
    border: 1px solid #b6eac5;
}

/* ERRO */
.alert-danger {
    border-radius: 12px;
    background: #ffe9e9 !important;
    color: #b30000 !important;
    border: 1px solid #ffbdbd;
}


/* ==================== ANIMAÇÃO ==================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== ORBS DO FUNDO (SUAVES E CLEAN) ==================== */

.bg-orbs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

/* orbs mais opacas, bem suaves */
.orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.22; /* antes era 0.9 / depois 0.25 — agora perfeito */
    mix-blend-mode: normal; /* remove o exagero de brilho */
    transition: opacity .3s ease;
}

/* Orb azul suave */
.orb-1 {
    background: radial-gradient(circle, #3a68ff 0%, rgba(58,104,255,0.04) 70%);
    top: -100px;
    left: -80px;
    animation: orbMove1 20s ease-in-out infinite alternate;
}

/* Orb rosa bem subtil */
.orb-2 {
    background: radial-gradient(circle, #ff5ab9 0%, rgba(255,90,185,0.04) 70%);
    bottom: -140px;
    right: -60px;
    animation: orbMove2 26s ease-in-out infinite alternate;
}

/* Orb verde água */
.orb-3 {
    background: radial-gradient(circle, #34f0c0 0%, rgba(52,240,192,0.04) 70%);
    top: 35%;
    left: 55%;
    animation: orbMove3 32s ease-in-out infinite alternate;
}

/* Movimentos MUITO suaves para não distrair */
@keyframes orbMove1 {
    from { transform: translate(0, 0); }
    to   { transform: translate(40px, 40px); }
}

@keyframes orbMove2 {
    from { transform: translate(0, 0); }
    to   { transform: translate(-50px, -30px); }
}

@keyframes orbMove3 {
    from { transform: translate(-30px, 40px); }
    to   { transform: translate(20px, -20px); }
}

/* =============== Indicador de força da senha =============== */

.senha-forca {
    font-size: 13px;
    margin-bottom: 4px;
    color: #444;
}

.senha-barra {
    width: 100%;
    height: 6px;
    background: #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.senha-barra span {
    display: block;
    height: 100%;
    width: 0%;
    transition: .3s;
    border-radius: 6px;
}

/* =============== Senhas iguais / diferentes =============== */

.senha-match {
    font-size: 13px;
    margin-top: -6px;
    margin-bottom: 10px;
    font-weight: 500;
}

.senha-match.ok {
    color: #1c8d3f;
}

.senha-match.err {
    color: #c53030;
}

/* bordas */
input.valid-ok {
    border-color: #1c8d3f !important;
    box-shadow: 0 0 0 2px rgba(28,141,63,0.25) !important;
}

input.valid-err {
    border-color: #c53030 !important;
    box-shadow: 0 0 0 2px rgba(197,48,48,0.2) !important;
}

.recaptcha-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.logo {
          font-family: 'CriticastLogo', sans-serif;
          font-size: 32px;
          letter-spacing: 1.8px;
        }

@font-face {
    font-family: 'CriticastLogo';
    src: url('../fonts/Dacherry.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* divisor OU */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  color: #888;
  font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #ddd;
}

/* botão google centralizado */
.google-login {
  display: flex;
  justify-content: center;
}

/* divider simples (linha) */
.line-divider {
  width: 100%;
  height: 1px;
  background: #e0e0e0;
  margin: 18px 0;
}