/* ============================================
   TELA DE LOGIN - DESIGN MODERNO 2025
   ============================================ */

.login-body *,
.login-body *::before,
.login-body *::after { box-sizing: border-box; }

/* ---------- BODY / LAYOUT BASE ---------- */
.login-body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    padding: 40px 24px;
    background: #050e22;
    position: relative;
    overflow-x: hidden;
    font-family: var(--font-base, 'Inter', sans-serif);
}

/* Wrapper centraliza container + footer */
.login-page {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
}

/* ---------- FUNDO ANIMADO ---------- */
.bg-animated {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, #0a2a5e 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, #1a4b8c 0%, transparent 50%),
        linear-gradient(135deg, #050e22 0%, #0a1e3f 100%);
}

.bg-animated .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: blobFloat 22s infinite ease-in-out;
    will-change: transform;
}

.blob-1 { width: 500px; height: 500px; background: #1a4b8c; top: -150px; left: -100px; }
.blob-2 { width: 420px; height: 420px; background: #4da6ff; bottom: -120px; right: -80px; animation-delay: -7s; }
.blob-3 { width: 340px; height: 340px; background: #2563eb; top: 40%; left: 45%; animation-delay: -14s; }

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(60px, -40px) scale(1.08); }
    66%      { transform: translate(-40px, 50px) scale(0.95); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 75%);
}

/* ============================================
   CONTAINER DE LOGIN (GLASS)
   ============================================ */
.login-container {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    width: 100%;
    min-height: 640px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    animation: containerIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes containerIn {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   LADO ESQUERDO — BRANDING
   ============================================ */
.login-branding {
    position: relative;
    padding: 56px 52px;
    display: flex;
    align-items: center;
    color: #fff;
    background:
        radial-gradient(circle at 0% 0%, rgba(77, 166, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.22) 0%, transparent 50%),
        linear-gradient(135deg, #0a2a5e 0%, #113a72 55%, #1a4b8c 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.login-branding::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.07) 1px, transparent 0);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

.branding-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Logo */
.logo-box,
.logo-mobile {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-mark {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 10px 25px rgba(77, 166, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
}

.logo-mark span {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #fff;
}

.logo-mark i {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: #0a2a5e;
    color: #4da6ff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #0a2a5e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #fff;
}

.logo-text small {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #4da6ff;
}

/* Hero */
.branding-hero h2 {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, #ffffff 0%, #b8d9ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slogan {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 380px;
}

/* Features */
.feature-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-list li:hover {
    background: rgba(77, 166, 255, 0.1);
    border-color: rgba(77, 166, 255, 0.3);
    transform: translateX(6px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(77, 166, 255, 0.25), rgba(26, 75, 140, 0.4));
    border: 1px solid rgba(77, 166, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4da6ff;
    font-size: 15px;
    flex-shrink: 0;
}

.feature-list li strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}

.feature-list li small {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Rodapé do branding */
.branding-footer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.7);
}

.avatars { display: flex; flex-shrink: 0; }

.avatars span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    border: 2px solid #0a2a5e;
    margin-left: -10px;
}

.avatars span:first-child { margin-left: 0; }
.avatars span:last-child  { background: linear-gradient(135deg, #22d3ee, #0891b2); }

/* ============================================
   LADO DIREITO — FORMULÁRIO
   ============================================ */
.login-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 52px;
    background:
        radial-gradient(circle at 100% 0%, rgba(77, 166, 255, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.login-form-container {
    width: 100%;
    max-width: 400px;
    animation: formIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards;
}

@keyframes formIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.logo-mobile {
    display: none;
    margin-bottom: 28px;
    justify-content: center;
}

.logo-mobile .logo-text strong { color: var(--azul-escuro); }
.logo-mobile .logo-text small  { color: var(--azul-medio); }

.login-header { margin-bottom: 32px; }

.badge-welcome {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(26, 75, 140, 0.08);
    color: var(--azul-medio);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 14px;
}

.badge-welcome i { font-size: 10px; }

.login-header h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--cinza-900);
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.login-header p {
    font-size: 14px;
    color: var(--cinza-500);
    line-height: 1.5;
}

/* Inputs com floating label */
.form-group.floating {
    position: relative;
    margin-bottom: 18px;
}

.form-group.floating .form-control {
    width: 100%;
    height: 58px;
    padding: 22px 48px 8px 46px;
    border-radius: 14px;
    border: 2px solid var(--cinza-200);
    background: #fff;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--cinza-900);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.form-group.floating .form-control:hover { border-color: var(--cinza-300); }

.form-group.floating .form-control:focus {
    border-color: var(--azul-medio);
    box-shadow: 0 0 0 4px rgba(26, 75, 140, 0.1);
}

.form-group.floating label {
    position: absolute;
    left: 46px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--cinza-500);
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 4px;
    margin: 0;
}

.form-group.floating .form-control:focus + label,
.form-group.floating .form-control:not(:placeholder-shown) + label {
    top: 14px;
    transform: translateY(0);
    font-size: 11px;
    font-weight: 700;
    color: var(--azul-medio);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: #fff;
}

.input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--cinza-500);
    pointer-events: none;
    transition: color 0.25s;
}

.form-group.floating .form-control:focus ~ .input-icon { color: var(--azul-medio); }

.toggle-senha {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--cinza-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.25s;
}

.toggle-senha:hover { background: var(--azul-bg); color: var(--azul-medio); }

/* Opções */
.login-opcoes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0 26px;
    font-size: 13px;
    gap: 12px;
    flex-wrap: wrap;
}

.checkbox-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--cinza-700);
    font-weight: 500;
    user-select: none;
    position: relative;
}

.checkbox-custom input { position: absolute; opacity: 0; pointer-events: none; }

.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid var(--cinza-300);
    background: #fff;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s;
}

.checkbox-custom input:checked + .checkmark {
    background: var(--azul-medio);
    border-color: var(--azul-medio);
}

.checkbox-custom input:checked + .checkmark::after { transform: rotate(45deg) scale(1); }

.label-text { font-size: 13px; }

.link-esqueceu {
    color: var(--azul-medio);
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s;
    text-decoration: none;
}

.link-esqueceu:hover { color: var(--azul-escuro); text-decoration: underline; }

/* Botão de login */
.btn-login {
    position: relative;
    width: 100%;
    height: 56px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #1a4b8c 0%, #0a2a5e 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 10px 25px -8px rgba(26, 75, 140, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 35px -8px rgba(26, 75, 140, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-login:active { transform: translateY(0); }

.btn-login .btn-text,
.btn-login .btn-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity 0.3s, transform 0.3s;
}

.btn-login .btn-loading { opacity: 0; transform: translateY(8px); }
.btn-login.carregando .btn-text { opacity: 0; transform: translateY(-8px); }
.btn-login.carregando .btn-loading { opacity: 1; transform: translateY(0); }
.btn-login.carregando { pointer-events: none; opacity: 0.9; }

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s;
}

.btn-login:hover .btn-shine { left: 100%; }

/* Divisor */
.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 26px 0 20px;
    color: var(--cinza-500);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cinza-200), transparent);
}

/* WhatsApp */
.login-contato { text-align: center; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    background: #fff;
    border: 2px solid #e6f7ee;
    color: #075e54;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px -4px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp i {
    font-size: 18px;
    color: #25d366;
    transition: transform 0.3s;
}

.btn-whatsapp:hover {
    background: #f0fdf4;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(37, 211, 102, 0.4);
    color: #075e54;
}

.btn-whatsapp:hover i { transform: scale(1.15) rotate(-8deg); }

.contato-hint {
    margin-top: 14px;
    font-size: 12px;
    color: var(--cinza-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contato-hint i { color: var(--azul-medio); font-size: 12px; }

/* ============================================
   FOOTER PROFISSIONAL
   ============================================ */
.site-footer {
    position: relative;
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    background:
        radial-gradient(circle at 0% 0%, rgba(77, 166, 255, 0.14) 0%, transparent 45%),
        radial-gradient(circle at 100% 100%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
        linear-gradient(180deg, rgba(10, 42, 94, 0.55) 0%, rgba(5, 14, 34, 0.75) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow:
        0 40px 80px -30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
    animation: containerIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.25s backwards;
}

/* Linha de glow no topo */
.footer-glow {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(77, 166, 255, 0.6),
        rgba(255, 255, 255, 0.9),
        rgba(77, 166, 255, 0.6),
        transparent
    );
    filter: blur(0.5px);
}

.footer-inner {
    position: relative;
    padding: 48px 48px 28px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ---------- TOPO: BRAND + NEWSLETTER ---------- */
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo-box { margin-bottom: 18px; }

.footer-desc {
    font-size: 13.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    max-width: 420px;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.social-link i { position: relative; z-index: 1; }

.social-link:hover {
    transform: translateY(-4px);
    color: #fff;
    border-color: rgba(77, 166, 255, 0.5);
    box-shadow: 0 12px 24px -8px rgba(77, 166, 255, 0.5);
}

.social-link:hover::before { opacity: 1; }

.social-wpp:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 12px 24px -8px rgba(37, 211, 102, 0.5);
}

.social-wpp:hover::before {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Newsletter */
.footer-newsletter {
    padding: 26px 26px 24px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, rgba(77, 166, 255, 0.1) 0%, rgba(26, 75, 140, 0.05) 100%);
    border: 1px solid rgba(77, 166, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.footer-newsletter::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(77, 166, 255, 0.25), transparent 70%);
    pointer-events: none;
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(77, 166, 255, 0.15);
    border: 1px solid rgba(77, 166, 255, 0.3);
    color: #a5d5ff;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.newsletter-badge i { font-size: 10px; }

.footer-newsletter h4 {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.3px;
    margin-bottom: 6px;
}

.footer-newsletter > p {
    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 4px;
    transition: all 0.3s;
}

.newsletter-form:focus-within {
    border-color: rgba(77, 166, 255, 0.5);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 4px rgba(77, 166, 255, 0.1);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    min-width: 0;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form button {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: linear-gradient(135deg, #4da6ff, #1a4b8c);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 6px 14px -4px rgba(77, 166, 255, 0.5);
}

.newsletter-form button:hover {
    transform: translateX(2px);
    box-shadow: 0 8px 18px -4px rgba(77, 166, 255, 0.7);
}

.newsletter-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 12px;
}

.newsletter-hint i { color: #4da6ff; }

/* ---------- MEIO: COLUNAS DE LINKS ---------- */
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #4da6ff, transparent);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: all 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.footer-col ul li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: #4da6ff;
    transition: width 0.3s;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-col ul li a:hover::before { width: 12px; }

/* Coluna de contato */
.footer-contato-lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
}

.footer-contato-lista li i {
    color: #4da6ff;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.footer-contato-lista li a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    transition: color 0.25s;
}

.footer-contato-lista li a:hover { color: #fff; }

/* ---------- BARRA INFERIOR ---------- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-copy strong { color: #fff; font-weight: 700; }

.footer-legal {
    display: flex;
    list-style: none;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
}

.footer-legal a:hover { color: #4da6ff; }

.footer-made {
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-made i {
    color: #ef4444;
    font-size: 11px;
    animation: heartBeat 1.6s infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.2); }
}

/* ============================================
   RESPONSIVO
   ============================================ */
@media (max-width: 1080px) {
    .login-branding { padding: 44px 40px; }
    .login-form-side { padding: 44px 40px; }
    .branding-hero h2 { font-size: 26px; }
    .footer-inner { padding: 44px 36px 24px; }
    .footer-top { gap: 32px; }
}

@media (max-width: 900px) {
    .login-body { padding: 20px 16px; }
    .login-page { gap: 24px; }

    .login-container {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 24px;
    }

    .login-branding { display: none; }
    .logo-mobile { display: flex; }
    .login-form-side { padding: 40px 32px; border-radius: 24px; }
    .login-header h1 { font-size: 24px; }

    /* Footer */
    .site-footer { border-radius: 24px; }

    .footer-inner { padding: 36px 28px 22px; gap: 32px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 28px;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-legal { justify-content: center; }
}

@media (max-width: 600px) {
    .login-body { padding: 14px 10px; }
    .login-page { gap: 18px; }

    .login-form-side { padding: 30px 22px; }
    .login-header h1 { font-size: 21px; }
    .login-header p { font-size: 13px; }

    .form-group.floating .form-control { height: 54px; font-size: 14px; }
    .btn-login { height: 52px; font-size: 14px; }
    .btn-whatsapp { padding: 12px 16px; font-size: 13px; }

    /* Footer mobile */
    .site-footer { border-radius: 20px; }
    .footer-inner { padding: 28px 20px 18px; gap: 26px; }

    .footer-newsletter { padding: 22px 20px 20px; }
    .footer-newsletter h4 { font-size: 15px; }
    .footer-desc { font-size: 13px; }

    .footer-socials { gap: 8px; }
    .social-link { width: 38px; height: 38px; font-size: 14px; }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-col h5 { margin-bottom: 14px; }

    .footer-bottom {
        padding-top: 20px;
        font-size: 12px;
    }

    .footer-legal { gap: 14px; }
}

@media (max-width: 360px) {
    .login-form-side { padding: 24px 16px; }
    .footer-inner { padding: 24px 16px 16px; }
    .newsletter-form input { padding: 8px 10px; font-size: 12.5px; }
    .newsletter-form button { width: 36px; height: 36px; }
}

/* ============================================
   ACESSIBILIDADE / MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .bg-animated .blob,
    .login-container,
    .login-form-container,
    .site-footer,
    .footer-made i {
        animation: none !important;
    }

    .btn-login,
    .btn-whatsapp,
    .feature-list li,
    .social-link,
    .footer-col ul li a {
        transition: none !important;
    }
}

.form-group.floating .form-control:-webkit-autofill,
.form-group.floating .form-control:-webkit-autofill:hover,
.form-group.floating .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--cinza-900);
    -webkit-box-shadow: 0 0 0 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-login:focus-visible,
.toggle-senha:focus-visible,
.btn-whatsapp:focus-visible,
.link-esqueceu:focus-visible,
.social-link:focus-visible,
.newsletter-form button:focus-visible {
    outline: 3px solid rgba(77, 166, 255, 0.5);
    outline-offset: 2px;
}
/* ============================================================
   CORREÇÃO MOBILE — CAMPOS MAIS LARGOS E LEGÍVEIS
   ============================================================
   Ajustes específicos para telas verticais (celular).
   Mantém o design atual, apenas melhora a usabilidade.
   ============================================================ */

/* ---------- CELULAR (até 640px) ---------- */
@media (max-width: 640px) {

    /* Page/body: mais respiro e sem corte do teclado */
    .login-body {
        padding: 12px 12px 24px;
        min-height: 100dvh;
        align-items: flex-start;
    }

    .login-page {
        gap: 16px;
        width: 100%;
    }

    /* Card principal: ocupa a tela toda com padding interno */
    .login-container {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 20px;
        margin-top: 0;
    }

    .login-form-side {
        padding: 28px 20px 32px;
        border-radius: 20px;
        width: 100%;
    }

    .login-form-container {
        width: 100%;
        max-width: 100%;
    }

    /* ---------- HEADER DO FORM ---------- */
    .login-header {
        margin-bottom: 24px;
    }

    .login-header h1 {
        font-size: 22px;
        line-height: 1.25;
    }

    .login-header p {
        font-size: 13.5px;
    }

    .badge-welcome {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* ---------- CAMPOS: FULL WIDTH E LEGÍVEIS ---------- */
    .form-group.floating {
        margin-bottom: 16px;
        width: 100%;
    }

    .form-group.floating .form-control {
        height: 60px;
        padding: 24px 48px 10px 48px;
        font-size: 16px; /* 16px evita zoom automático no iOS */
        border-radius: 14px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .form-group.floating label {
        left: 48px;
        font-size: 14.5px;
    }

    .form-group.floating .form-control:focus + label,
    .form-group.floating .form-control:not(:placeholder-shown) + label {
        top: 12px;
        font-size: 11px;
    }

    /* Ícone à esquerda: levemente menor em mobile */
    .input-icon {
        left: 16px;
        font-size: 16px;
    }

    /* Botão de mostrar senha */
    .toggle-senha {
        right: 8px;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    /* ---------- OPÇÕES (LEMBRAR / ESQUECI) ---------- */
    .login-opcoes {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin: 14px 0 22px;
        flex-wrap: wrap;
    }

    .checkbox-custom {
        font-size: 13px;
    }

    .label-text {
        font-size: 13px;
    }

    .link-esqueceu {
        font-size: 13px;
        white-space: nowrap;
    }

    /* ---------- BOTÃO ENTRAR: MAIOR E FULL WIDTH ---------- */
    .btn-login {
        height: 58px;
        font-size: 15.5px;
        border-radius: 14px;
        width: 100%;
    }

    /* ---------- DIVISOR ---------- */
    .login-divider {
        margin: 20px 0 16px;
        font-size: 11px;
    }

    /* ---------- BOTÃO WHATSAPP ---------- */
    .btn-whatsapp {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 14px;
        width: 100%;
    }

    .btn-whatsapp i {
        font-size: 18px;
    }

    .contato-hint {
        font-size: 11.5px;
        margin-top: 10px;
    }

    /* ---------- LOGO MOBILE ---------- */
    .logo-mobile {
        margin-bottom: 22px;
        justify-content: center;
    }

    .logo-mobile .logo-mark {
        width: 52px;
        height: 52px;
    }

    .logo-mobile .logo-mark span {
        font-size: 19px;
    }

    .logo-mobile .logo-text strong {
        font-size: 15px;
    }

    .logo-mobile .logo-text small {
        font-size: 10px;
        letter-spacing: 1.6px;
    }

    /* ---------- FOOTER: MAIS COMPACTO ---------- */
    .site-footer {
        border-radius: 20px;
    }

    .footer-inner {
        padding: 28px 20px 20px;
        gap: 26px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 24px;
    }

    .footer-desc {
        font-size: 13px;
        max-width: 100%;
    }

    .footer-socials {
        gap: 8px;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .footer-newsletter {
        padding: 22px 18px 20px;
    }

    .newsletter-form {
        padding: 4px;
        width: 100%;
    }

    .newsletter-form input {
        padding: 10px 12px;
        font-size: 14px; /* 16px evita zoom no iOS também */
        min-width: 0;
    }

    .newsletter-form button {
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-col h5 {
        font-size: 11.5px;
        margin-bottom: 14px;
    }

    .footer-col ul li a {
        font-size: 13.5px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding-top: 20px;
        font-size: 12px;
    }

    .footer-legal {
        justify-content: center;
        gap: 16px;
    }

    .footer-made {
        justify-content: center;
    }
}

/* ---------- CELULAR PEQUENO (até 400px) ---------- */
@media (max-width: 400px) {

    .login-body {
        padding: 10px 8px 20px;
    }

    .login-form-side {
        padding: 22px 16px 26px;
    }

    .login-header h1 {
        font-size: 20px;
    }

    .login-header p {
        font-size: 13px;
    }

    .form-group.floating .form-control {
        height: 56px;
        padding: 22px 44px 8px 44px;
        font-size: 16px;
    }

    .form-group.floating label {
        left: 44px;
        font-size: 14px;
    }

    .input-icon {
        left: 14px;
        font-size: 15px;
    }

    .toggle-senha {
        right: 6px;
        width: 40px;
        height: 40px;
    }

    .btn-login {
        height: 54px;
        font-size: 15px;
    }

    .btn-whatsapp {
        padding: 12px 16px;
        font-size: 13.5px;
    }

    .footer-inner {
        padding: 22px 16px 18px;
    }

    .newsletter-form input {
        padding: 9px 10px;
    }

    .newsletter-form button {
        width: 38px;
        height: 38px;
    }

    .footer-legal {
        gap: 12px;
        flex-wrap: wrap;
    }

    .footer-legal a {
        font-size: 11.5px;
    }
}

/* ---------- ORIENTAÇÃO PAISAGEM EM CELULAR ---------- */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 900px) {

    .login-body {
        align-items: flex-start;
        padding: 12px;
    }

    .login-form-side {
        padding: 20px 24px 24px;
    }

    .login-header {
        margin-bottom: 14px;
    }

    .login-header h1 {
        font-size: 18px;
    }

    .login-header p {
        font-size: 12.5px;
        margin-bottom: 0;
    }

    .logo-mobile {
        margin-bottom: 12px;
    }

    .form-group.floating {
        margin-bottom: 12px;
    }

    .form-group.floating .form-control {
        height: 52px;
        padding: 20px 44px 6px 44px;
    }

    .login-opcoes {
        margin: 10px 0 16px;
    }

    .btn-login {
        height: 50px;
    }

    /* Esconde o footer gigante em landscape para dar espaço */
    .site-footer {
        display: none;
    }
}

/* ---------- iOS: EVITAR ZOOM AUTOMÁTICO EM INPUTS ---------- */
@supports (-webkit-touch-callout: none) {
    .form-group.floating .form-control,
    .newsletter-form input {
        font-size: 16px;
    }
}