
/* overlay escuro */
.info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;

    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
}

/* ativo */
.info-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* card */
.info-card-modal {
    background: white;
    border-radius: 20px;
    padding: 25px;
    width: 320px;
    text-align: center;

    box-shadow: 0 25px 60px rgba(0,0,0,0.2);

    transform: translateY(20px) scale(0.95);
    transition: 0.3s;
}

/* anima entrada */
.info-overlay.active .info-card-modal {
    transform: translateY(0) scale(1);
}

.info-card-modal img {
    width: 140px;
    margin-bottom: 10px;
}

.info-text {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #334155;
}

/* botão */
.info-card-modal button {
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    background: #28ADB2;
    color: white;
    font-weight: 600;
    cursor: pointer;
}



/* Estado inicial */
.visual-side {
    transform: scale(1);
    transform-origin: left center;
    transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1),
                filter 1.6s cubic-bezier(0.22, 1, 0.36, 1);
                
    z-index: 2;
}

.main-wrapper.active .visual-side {
    position: fixed;
    inset: 0;
    transform: scale(1.08);
    filter: brightness(1.05);
}

.login-side {
    transition: all 1.9s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1;
    
     
}


.main-wrapper.active .visual-side {
    flex: 1;
    width: 100%;
    position: fixed;
    inset: 0;
    animation: expandBg 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes expandBg {
    from {
        border-radius: 0 0 0 50px;
    }
    to {
        border-radius: 0;
    }
}

.main-wrapper.active .login-container {
    opacity: 0;
    transform: translateY(60px) scale(0.98);
    transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.3s;
}



/* Corrige o fundo do autocomplete */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    box-shadow: 0 0 0 1000px white inset !important;
    
    -webkit-text-fill-color: #333 !important;
    caret-color: #333;

    transition: background-color 5000s ease-in-out 0s;
    outline: none !important;
}

    :root {
    --four-blue: #2089B5;
    --zap-cyan: #28ADB2;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

.main-wrapper {
    display: flex;
    height: 100%;
    overflow: hidden;
}

/* --- LADO VISUAL (DIREITO NA IMAGEM, MAS VOCÊ PEDIU ONDAS COM LOGO) --- */
.visual-side {
    flex: 1.2;
    background: linear-gradient(135deg, var(--four-blue) 0%, var(--zap-cyan) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;       
    overflow-x: hidden;
    overflow-y: hidden; 
}

.glass-card {
    padding: 1rem;
    text-align: center;
    z-index: 5;
}

.logo-main {
    width: 360px;
    margin-bottom: 1.5rem;
    border-radius: 50px;
}

.tagline {
    color: white;
    font-weight: 300;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Ícone de Chat Flutuante */
.chat-floating-icon {
    position: absolute;
    top: 20%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
}

.bubble {
    width: 80px;
    height: 60px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    position: relative;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-left: 15px solid white;
    border-bottom: 15px solid transparent;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--zap-cyan);
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }

/* --- LADO DO LOGIN --- */
.login-side {
    flex: 0.8;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    overflow: hidden;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 420px;
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--zap-cyan);
}

header p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.input-wrapper {
    margin-bottom: 1.5rem;
}

.input-wrapper label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.input-wrapper input {
    width: 100%;
    padding: 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--zap-cyan);    
    outline: none;
}

.link-forgot {
    display: block;
    text-align: right;
    font-size: 0.8rem;
    color: var(--four-blue);
    margin-top: 8px;
    text-decoration: none;
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: var(--zap-cyan);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
}

.btn-primary:hover {
    background: #0d4a8a;
    transform: translateY(-1px);
}

.separator {
    text-align: center;
    margin: 2rem 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    position: relative;
}

.separator::before, .separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #e2e8f0;
}
.separator::before { left: 0; }
.separator::after { right: 0; }

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-social {
    padding: 0.75rem;
    border: 1.5px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.footer-link {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-link a {
    color: var(--zap-cyan);
    text-decoration: none;
    font-weight: 700;
}

/* Animações */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes blink {
    0% { opacity: .2; }
    20% { opacity: 1; }
    100% { opacity: .2; }
}

/* Ondas Animadas */
.waves-container {
    position: absolute;
    bottom: 0;
    width: 100%;
    bottom: -10px;
}

.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

@media (max-width: 1024px) {
    .visual-side { display: none; }
}




/* HEADER COM AVATAR */
.login-header {
    text-align: center;    
}

.avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: var(--four-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.avatar i {
    color: white;
    width: 28px;
    height: 28px;
}

/* INPUT COM ÍCONE */
.input-icon {
    display: flex;
    align-items: center;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 0 12px;
    transition: 0.3s;
    background: white;
}

.input-icon i {
    width: 18px;
    height: 18px;
    color: #888;
}

.input-icon input {
    flex: 1;
    border: none;
    outline: none;
    padding: 14px 10px;
    background: transparent;
    font-size: 0.95rem;
}

/* FOCUS BONITO */
.input-icon:focus-within {
    border-color: #2fb6b2;
    box-shadow: 0 0 0 4px rgba(47,182,178,0.15);
}

/* BOTÃO COM ÍCONE */
.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

/* HOVER MAIS PREMIUM */
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(31,102,178,0.3);
}



.login-illustration svg {
    width: 80%;
    height: auto;
}
input:focus {
    outline: none !important;
}


