#formulario-proposta .proposta-botao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .65rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

#formulario-proposta .proposta-botao:focus-visible {
    outline: 2px solid var(--blue, #003da5);
    outline-offset: 3px;
}

#formulario-proposta .proposta-botao:disabled {
    cursor: default;
    opacity: .55;
}

#formulario-proposta .proposta-botao-adicionar {
    width: 100%;
    background: #e8f0ff;
    border-color: #a3bae4;
    color: var(--blue-dark, #002b7a);
}

#formulario-proposta .proposta-botao-adicionar:hover:not(:disabled) {
    background: #d6e5ff;
}

#formulario-proposta .proposta-botao-icone {
    font-size: 1.35rem;
    line-height: 1;
}

#formulario-proposta .proposta-grupos {
    display: grid;
    gap: .5rem;
    margin: .75rem 0;
    padding: 0;
    list-style: none;
}

#formulario-proposta .proposta-grupos:empty {
    margin: 0;
}

#formulario-proposta .proposta-grupos li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .5rem .5rem .5rem .75rem;
    border: 1px solid #d7e0f0;
    border-radius: 8px;
    background: #f7faff;
    color: #1a2438;
}

#formulario-proposta .proposta-grupos li span {
    min-width: 0;
    overflow-wrap: anywhere;
}

#formulario-proposta .proposta-botao-excluir {
    flex: 0 0 44px;
    padding: 0;
    background: #fff1f2;
    border-color: #eab6be;
    color: #9c1730;
    font-size: 1.5rem;
}

#formulario-proposta .proposta-botao-excluir:hover {
    background: #ffdee4;
}

#formulario-proposta .proposta-botao-limpar {
    width: 100%;
    margin-top: .5rem;
    background: #f4f6fa;
    border-color: #cdd6e5;
    color: #26344b;
}

#formulario-proposta .proposta-botao-limpar:hover {
    background: #e8edf5;
}
.hero > .cf-hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 64px);
}

.cf-hero-layout > .hero-content {
    min-width: 0;
    max-width: none;
}

#formulario-proposta.cf-proposta-form {
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: clamp(20px, 3vw, 36px);
    border: 1px solid #d7e3fa;
    border-top: 5px solid #4b85f3;
    border-radius: 18px;
    background: #fff;
    color: #17233d;
    box-shadow: 0 18px 45px #03102d48;
    text-align: left;
    scroll-margin-top: 96px;
}

#proposta-titulo {
    margin: 0 0 .65rem;
    color: var(--blue-dark, #002b7a);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    line-height: 1.08;
}

#formulario-proposta.cf-proposta-form .fsub {
    color: #475773;
}

#contato .cf-contact-channels-only {
    grid-template-columns: minmax(0, 1fr);
}

.hero + .cf-banners {
    padding-top: 16px;
}

@media (max-width: 820px) {
    .hero > .cf-hero-layout,
    #formulario-proposta.cf-proposta-form .form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero > .cf-hero-layout {
        gap: 28px;
    }
}


.cf-proposta-destaque {
    align-self: center;
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid #c5d9ff70;
    border-radius: 20px;
    background: #102f70;
    color: #fff;
}

.cf-proposta-destaque h2 {
    margin-bottom: .65rem;
    color: inherit;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    line-height: 1.1;
}

.cf-proposta-destaque p {
    margin-bottom: 1rem;
    color: #e2ecff;
}

.cf-proposta-dialogo {
    position: fixed;
    inset: 0;
    width: min(680px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100dvh - 24px);
    margin: auto;
    padding: 0;
    overflow: auto;
    overscroll-behavior: contain;
    border: 0;
    border-radius: 18px;
    background: #fff;
}

.cf-proposta-dialogo:not([open]),
#formulario-proposta [data-proposta-etapa][hidden] {
    display: none;
}

.cf-proposta-dialogo::backdrop {
    background: #071430b3;
}

body:has(.cf-proposta-dialogo[open]) {
    overflow: hidden;
}

#formulario-proposta.cf-proposta-form {
    box-shadow: none;
}

.cf-proposta-cabecalho {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

#formulario-proposta .cf-proposta-fechar {
    flex: 0 0 44px;
    padding: 0;
    background: #eef3fd;
    color: #153b80;
    font-size: 1.5rem;
}

.cf-proposta-etapas {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin: 14px 0 20px;
    padding: 0;
    list-style: none;
}

.cf-proposta-etapas li {
    padding: 8px 4px;
    border-bottom: 3px solid #d7e3fa;
    color: #475773;
    font-size: .8rem;
    font-weight: 700;
    text-align: center;
}

.cf-proposta-etapas li [aria-hidden="true"] {
    display: block;
    margin-bottom: 3px;
}

.cf-proposta-etapas [aria-current="step"] {
    border-bottom-color: #003da5;
    background: #eef4ff;
    color: #002b7a;
}

#formulario-proposta [data-proposta-etapa] h3 {
    margin-bottom: 16px;
}

#formulario-proposta [data-proposta-edicao-final][hidden],
#formulario-proposta .cf-preproposta[hidden],
#proposta-copia-impressao {
    display: none;
}

#formulario-proposta [data-proposta-imprimir]:not([data-proposta-imprimir="confirmada"]) {
    display: none !important;
}

.cf-proposta-condicoes {
    margin: 12px 0;
    padding: 12px 14px;
    border-left: 3px solid #003da5;
    border-radius: 6px;
    background: #eef4ff;
    color: #142544;
}

.cf-proposta-condicoes p {
    margin: 0;
}

.cf-proposta-condicoes p + p {
    margin-top: 6px;
}

.cf-preproposta {
    margin: 16px 0 8px;
    padding: clamp(14px, 3vw, 24px);
    border: 1px solid #cddcf4;
    border-radius: 12px;
    background: #f5f8ff;
    color: #142544;
    overflow-wrap: anywhere;
}

.cf-preproposta h4 {
    margin: 0 0 10px;
    color: #002b7a;
    font-size: 1.2rem;
}

.cf-preproposta dl {
    margin: 0;
}

.cf-preproposta dl > div {
    padding: 7px 0;
    border-bottom: 1px solid #dce6f7;
    break-inside: avoid;
}

.cf-preproposta dt {
    font-weight: 700;
}

.cf-preproposta dd {
    margin: 0;
    white-space: pre-wrap;
}

.cf-preproposta footer {
    margin-top: 10px;
    padding: 0;
    background: transparent;
    color: #475773;
    font-size: .85rem;
}

@media print {
    body:has(> #proposta-copia-impressao) {
        overflow: visible;
        background: #fff;
    }

    body:has(> #proposta-copia-impressao) > :not(#proposta-copia-impressao) {
        display: none !important;
    }

    #proposta-copia-impressao {
        display: block;
        margin: 0;
        background: #fff;
        color: #000;
    }
}
