﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(rgba(62, 182, 251, 0.15), rgba(62, 182, 251, 0.1)), url("/img/background/background-blue.webp");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    display: flex;
    width: 900px;
    max-width: 95%;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
}

    .container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, #3eb6fb 0%, #2a9de9 100%);
    }

.form-container {
    flex: 1;
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.info-container {
    flex: 1;
    background: linear-gradient(135deg, #3eb6fb 0%, #2a9de9 100%);
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    text-align: center;
    margin-bottom: 35px;
}

    .logo h2 {
        color: #3eb6fb;
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .logo p {
        color: #777;
        font-size: 15px;
    }

    .logo img {
        width: 60%; /* 🔹 proporcional ao card (ajustável entre 50–70%) */
        max-width: 220px; /* 🔹 evita crescer demais em telas grandes */
        height: auto; /* 🔹 mantém proporção */
        display: block; /* 🔹 remove espaçamento extra */
        margin: 0 auto 10px; /* 🔹 centraliza e dá leve espaçamento inferior */
    }

.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

    .steps::before {
        content: '';
        position: absolute;
        top: 15px;
        left: 0;
        right: 0;
        height: 2px;
        background-color: #e1e5eb;
        z-index: 1;
    }

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.step-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #e1e5eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step.active .step-circle {
    background-color: #3eb6fb;
    color: white;
}

.step-label {
    font-size: 12px;
    color: #777;
    font-weight: 500;
}

.step.active .step-label {
    color: #3eb6fb;
}

.form-step {
    display: none;
    animation: slideIn 0.5s forwards;
}

    .form-step.active {
        display: block;
    }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInReverse {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

@keyframes slideOutReverse {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.form-group {
    margin-bottom: 20px;
}

    .form-group.atendimento-box {
        background: #f6fbff;
        border: 1px solid #9eddfd;
        border-radius: 8px;
        box-shadow: 0 8px 18px rgba(62, 182, 251, 0.12);
        padding: 14px 16px;
    }

        .form-group.atendimento-box label {
            align-items: center;
            display: flex;
            gap: 10px;
            margin-bottom: 6px;
        }

        .form-group.atendimento-box input {
            flex: 0 0 auto;
        }

        .form-group.atendimento-box small {
            color: #667085;
            display: block;
            font-size: 12px;
            line-height: 1.35;
            padding-left: 26px;
        }

    .form-group label {
        display: block;
        margin-bottom: 8px;
        color: #555;
        font-weight: 500;
        font-size: 14px;
    }

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #aaa;
    }

.form-control {
    width: 100%;
    padding: 14px 14px 14px 45px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.3s;
}

    .form-control:focus {
        outline: none;
        border-color: #3eb6fb;
        box-shadow: 0 0 0 3px rgba(62, 182, 251, 0.2);
    }

.form-row {
    display: flex;
    gap: 15px;
}

    .form-row .form-group {
        flex: 1;
    }

.btn-container {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: block; /* faz o botão se comportar como bloco */
    margin: 0 auto; /* centraliza horizontalmente */


}

.btn-prev {
    background-color: #f5f5f5;
    color: #555;
}

    .btn-prev:hover {
        background-color: #e9e9e9;
    }

.btn-next, .btn-submit {
    background-color: #3eb6fb;
    color: white;
    box-shadow: 0 4px 12px rgba(62, 182, 251, 0.3);
}

    .btn-next:hover, .btn-submit:hover {
        background-color: #2a9de9;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(62, 182, 251, 0.4);
    }

.social-login {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    background-color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .social-btn.google {
        color: #DB4437;
    }

    .social-btn.facebook {
        color: #4267B2;
    }

    .social-btn.microsoft {
        color: #737373;
    }

    .social-btn i {
        margin-right: 10px;
        font-size: 18px;
    }

.divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

    .divider::before,
    .divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background-color: #e1e5eb;
    }

    .divider span {
        padding: 0 15px;
        color: #777;
        font-size: 14px;
    }

.info-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.info-subtitle {
    font-size: 18px;
    margin-bottom: 25px;
    opacity: 0.9;
}

.

.free-trial {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
}

    .free-trial h3 {
        font-size: 22px;
        margin-bottom: 5px;
    }

.floating-element {
    position: absolute;
    background-color: rgba(62, 182, 251, 0.1);
    border-radius: 50%;
    z-index: -1;
}

.visually-hidden {
    display: none !important;
}

.element-1 {
    width: 120px;
    height: 120px;
    top: -40px;
    right: -40px;
}

.element-2 {
    width: 80px;
    height: 80px;
    bottom: 60px;
    left: -30px;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .info-container {
        order: -1;
        padding: 30px 25px;
    }

    .form-container {
        padding: 30px 25px;
    }

    .plans {
        flex-direction: column;
    }
}

/* ===== Wave Loader ===== */
.wave-loader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 18px;
    gap: 2px;
}

    .wave-loader span {
        width: 4px;
        height: 10px;
        background: #3eb6fb; /* 🔹 cor personalizada Ugenda */
        border-radius: 2px;
        animation: wave 1s infinite ease-in-out;
    }

        .wave-loader span:nth-child(1) {
            animation-delay: 0s;
        }

        .wave-loader span:nth-child(2) {
            animation-delay: 0.1s;
        }

        .wave-loader span:nth-child(3) {
            animation-delay: 0.2s;
        }

        .wave-loader span:nth-child(4) {
            animation-delay: 0.3s;
        }

        .wave-loader span:nth-child(5) {
            animation-delay: 0.4s;
        }

@keyframes wave {
    0%, 40%, 100% {
        transform: scaleY(0.4);
    }

    20% {
        transform: scaleY(1);
    }
}

.checkbox-inline {
    display: inline-flex; /* mantém label e input lado a lado */
    align-items: center; /* centraliza verticalmente */
    gap: 8px; /* espaçamento entre checkbox e texto */
    font-size: 15px;
    color: #555;
    cursor: pointer;
    user-select: none;
    line-height: 1.2; /* ajusta altura da linha */
}

    /* Remove aparência padrão */
    .checkbox-inline input[type="checkbox"] {
        appearance: none;
        -webkit-appearance: none;
        background-color: #fff;
        border: 2px solid #ccc;
        border-radius: 6px;
        width: 20px;
        height: 20px;
        display: inline-block;
        position: relative;
        cursor: pointer;
        transition: all 0.25s ease;
        vertical-align: middle; /* garante alinhamento no centro */
        margin: 0; /* remove margem padrão do Chrome */
    }

        /* Foco */
        .checkbox-inline input[type="checkbox"]:focus {
            outline: none;
            border-color: #3eb6fb;
            box-shadow: 0 0 0 3px rgba(62, 182, 251, 0.25);
        }

        /* Marcado */
        .checkbox-inline input[type="checkbox"]:checked {
            background-color: #3eb6fb;
            border-color: #3eb6fb;
        }

            /* Ícone de check (✓) */
            .checkbox-inline input[type="checkbox"]:checked::after {
                content: '\2713';
                position: absolute;
                color: #fff;
                font-size: 14px;
                left: 4px;
                top: 0px;
                font-weight: bold;
            }

        /* Hover */
        .checkbox-inline input[type="checkbox"]:hover {
            border-color: #3eb6fb;
        }

/* Campos com transição suave */
#empresa-fields,
#cpf-field {
    transition: opacity 0.9s ease, max-height 0.4s ease;
    overflow: hidden;
}

/* Escondido */
.hidden {
    opacity: 0;
    max-height: 0;
    pointer-events: none;
}

/* Visível */
.visible {
    opacity: 1;
    max-height: 500px; /* valor alto o suficiente para o conteúdo */
}

.form-control.error {
    border-color: #cf2637;
    box-shadow: 0 0 0 3px rgba(207,38,55,0.15);
}

.msg-erro-cnpj {
    transition: opacity 0.2s ease;
}

.form-control.error {
    border-color: #cf2637;
    box-shadow: 0 0 0 3px rgba(207, 38, 55, 0.15);
}

.msg-erro-cpf {
    transition: opacity 0.2s ease;
}

.remember {
    display: flex;
    align-items: center; /* Alinha verticalmente */
    gap: 8px; /* Espaçamento entre check e texto */
}

    .remember input[type="checkbox"] {
        accent-color: #3eb6fb; /* cor do check */
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .remember label {
        margin: 0; /* remove espaçamento extra */
        color: #555;
        font-size: 14px;
        cursor: pointer;
        line-height: 1.4;
    }


.password-strength {
    height: 6px;
    width: 100%;
    background: #e1e5eb;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

    .password-strength .bar {
        height: 100%;
        width: 0%;
        background: #cf2637;
        transition: width 0.3s ease, background-color 0.3s ease;
        border-radius: 4px;
    }

.password-rules {
    list-style: none;
    margin-top: 10px;
    font-size: 13px;
    color: #cf2637; /* Vermelho por padrão */
    padding-left: 0;
}

    .password-rules li {
        margin-bottom: 4px;
        transition: color 0.3s, font-weight 0.3s;
    }

        .password-rules li.valid {
            color: #2ecc71; /* Verde */
            font-weight: 600;
        }
.password-match-msg {
    font-size: 13px;
    margin-top: 4px;
    transition: color 0.3s ease;
}

#plan-carousel {
    text-align: center;
    position: relative;
}

.plan-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    min-height: 390px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    padding: 22px 20px 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    width: 300px;
    height: 360px;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    position: absolute;
    transform: translateX(100%) scale(0.9);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

.plan-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
        z-index: 2;
    }

    .plan-card.exit-left {
        transform: translateX(-100%) scale(0.9);
        opacity: 0;
        z-index: 1;
    }

    .plan-card.exit-right {
        transform: translateX(100%) scale(0.9);
        opacity: 0;
        z-index: 1;
    }

.plan-card h3,
#plan-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
}

.plan-price-box {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #fff;
    min-height: 42px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    text-align: center;
}

    .plan-price-box small {
        font-size: 16px;
        opacity: 0.85;
    }

.features {
    list-style: none;
    margin-bottom: 0;
    font-size: 14px;
    flex: 1;
    min-height: 0;
    padding: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: flex-start;
    overflow-y: auto;
    padding-right: 6px;
}

    .features li {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        width: 100%;
        min-height: auto;
        line-height: 1.35;
    }

    .features i {
        margin-right: 8px;
        font-size: 15px;
        color: #fff;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .features span {
        display: block;
        flex: 1;
    }

    .features .plan-loading-item {
        display: flex;
        width: 100%;
        height: 100%;
        min-height: 180px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .plan-card-loading {
        min-height: 140px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .plan-card-loading .spinner {
        width: 38px;
        height: 38px;
        border: 4px solid rgba(255, 255, 255, 0.22);
        border-top: 4px solid #fff;
        border-radius: 50%;
        animation: plan-spin 0.8s linear infinite;
    }

    .features::-webkit-scrollbar {
        width: 6px;
    }

    .features::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 999px;
    }

.plan-card-note {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff7b1;
    letter-spacing: 0.02em;
}


/* Controles */
.plan-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    position: relative;
    min-height: 38px;
}

.plan-btn {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .plan-btn:hover {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(1.1);
    }

.plan-dots {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

    .plan-dots .dot {
        width: 10px;
        height: 10px;
        background-color: rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
    }

        .plan-dots .dot.active {
            background-color: white;
            transform: scale(1.3);
        }

.trial-info {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 18px 16px;
    border-radius: 14px;
    text-align: center;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

    .trial-info h4 {
        font-size: 19px;
        margin-bottom: 8px;
        font-weight: 600;
        color: #fff;
        line-height: 1.35;
    }

    .trial-info p {
        font-size: 14px;
        opacity: 0.96;
        color: #fff;
        line-height: 1.6;
    }

.info-title span,
.trial-info h4 span,
.info-subtitle strong {
    color: #fff7b1;
    font-weight: 800;
}

@keyframes plan-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-group.select-group {
    position: relative;
    margin-bottom: 20px;
}

.select-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 14px;
}

.select-group .select-icon {
    position: absolute;
    left: 15px;
    top: 45px;
    color: #aaa;
    pointer-events: none;
    font-size: 16px;
}

.select-custom {
    width: 100%;
    padding: 14px 40px 14px 45px; /* espaço p/ ícone e seta */
    border: 1px solid #e1e5eb;
    border-radius: 10px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23999' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M31.3 192h257.3c28.4 0 42.8 34.5 22.6 54.6l-128.6 128.6c-12.5 12.5-32.8 12.5-45.3 0L8.7 246.6C-11.5 226.5 2.9 192 31.3 192z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    transition: all 0.3s;
}

    .select-custom:focus {
        border-color: #3eb6fb;
        box-shadow: 0 0 0 3px rgba(62, 182, 251, 0.2);
        outline: none;
    }

    .select-custom option[disabled] {
        color: #aaa;
    }

/* Wrapper do campo cidade */
.city-wrapper {
    position: relative;
    width: 100%;
}

/* Ícone de cidade (à esquerda) */
.city-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9aa1a7;
    font-size: 1rem;
}

/* Input principal */
.city-wrapper input {
    width: 100%;
    padding-left: 38px; /* espaço pro ícone */
    padding-right: 40px; /* espaço pro spinner */
    border: 1px solid #e1e5eb;
    border-radius: 12px;
    font-size: 0.95rem;
}

/* Spinner de loading (à direita dentro do input) */
#city-loading {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #3eb6fb;
    font-size: 1rem;
    display: none;
    opacity: 0.9;
    pointer-events: none;
    z-index: 5;
}





