* {
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.required {
    color: red;
}

/* TELA INICIAL */
#telaInicial {
    min-height: 100vh;
    background: linear-gradient(160deg,
            color-mix(in srgb, #66CC33 30%, white) 0%,
            color-mix(in srgb, #66CC33 10%, white) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 1rem;
}

h3 {
    position: relative;
    font-weight: 600;
    font-size: 25px;
    color: #66CC33;
    margin-bottom: 15px;
}

h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background: #66CC33;
}

/* ── CABEÇALHO ── */
.logo {
    position: fixed;
    bottom: 30px;
    right: 30px;
}

.logo img {
    width: 150px;
    height: auto;
}

/* ── CARDS COMPARTILHADOS ── */
.tela-form,
.tela-card {
    background: #FFF9E9;
    border-radius: 20px;
    padding: 2rem 2rem;
    max-width: 900px;
    width: 100%;
    border: 1.5px solid color-mix(in srgb, #66CC33 25%, #FFFFFF);
}

/* ── RÓTULO DE SEÇÃO ── */
.section-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: #5A6B58;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1.5px solid #CFDF8D;
}

/* ── FORMULÁRIO ── */
.form-row {
    display: flex;
    gap: 16px;
}

.form-row .form-group {
    flex: 1;
    min-width: 0;
}

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

.form-group label {
    color: #4F545A;
    font-weight: 600;
    font-size: 12px;
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.input-wrapper {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border: 2px solid #8A94A6;
    border-radius: 10px;
    overflow: hidden;
    align-items: stretch;
}

.input-icon {
    background: #FFFFFF;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #8A94A6;
    min-width: 55px;
    position: relative;
    border-right: none;
}

.input-icon::after {
    content: '';
    position: absolute;
    right: 0;
    height: 80%;
    width: 3%;
    background-color: #8A94A6;
}

.input-wrapper input {
    flex: 1;
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: #000000;
    font-size: 15px;
}

.input-wrapper input:focus {
    outline: none;
}

/* ── CARDS DE TIPO ── */
.tipo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.tipo-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    background: #FFFFFF;
    border: 1.5px solid #CFDF8D;
    border-radius: 14px;
    padding: 1.25rem 1rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
    position: relative;
}

.tipo-card:hover {
    border-color: #66CC33;
    background: #F6FFED;
    transform: translateY(-2px);
}

.tipo-card.selecionado {
    border: 2px solid #66CC33;
    background: #F6FFED;
}

.tipo-card .tipo-ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #66CC33;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.tipo-label {
    font-size: 14px;
    font-weight: 600;
    color: #4F545A;
    margin-bottom: 4px;
    line-height: 1.3;
}

.tipo-desc {
    font-size: 11.5px;
    color: #5a7a40;
    line-height: 1.5;
}

.tipo-check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #66CC33;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.tipo-card.selecionado .tipo-check {
    display: flex;
}

/* ── RODAPÉ DO CARD ── */
.footer-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* ── BOTÃO CONTINUAR ── */
.btn-tipo-continuar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #CFDF8D;
    color: #2d6309;
    border: none;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: background 0.15s, opacity 0.15s, transform 0.15s;
}

.btn-tipo-continuar.ativo {
    background: #66CC33;
    color: #fff;
    opacity: 1;
    pointer-events: all;
}

.btn-tipo-continuar.ativo:hover {
    background: #52a828;
    transform: translateX(3px);
}

input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #FFF inset !important;
    box-shadow: 0 0 0 1000px #FFF inset !important;
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 9999s ease-in-out 0s;
}