/* DÉBITO EM CONTA: IGUAL AO SITE ANTIGO (css/personalizados/debito-em-conta.css; LÁ O ARQUIVO COMEÇA COM "<!-- -->"
   E "<style>", E O NAVEGADOR DESCARTA SÓ O :root DO COMEÇO, QUE TINHA AS MESMAS CORES DO TEMA). */

/* SEÇÃO (NO ANTIGO, pt-60 DO TEMA) */
.dc-sec {
    padding-top: 60px;
    background: #fff;
}

/* APRESENTAÇÃO */
.dc-intro {
    margin-bottom: 32px;
}

.dc-intro__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    background: rgba(28, 109, 175, .06);
    border: 1px solid rgba(28, 109, 175, .14);
    border-radius: 999px;
    padding: 5px 13px;
    margin-bottom: 16px;
}

.dc-intro__titulo {
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
    font-weight: 300;
    color: #0b1b3a;
    line-height: 1.15;
    margin: 0 0 12px;
}

.dc-intro__titulo strong {
    font-weight: 800;
    color: var(--cor-site-1);
}

.dc-intro__sub {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin: 0;
}

.dc-intro__sub a {
    color: var(--cor-site-1);
    text-decoration: none;
}

.dc-intro__sub a:hover {
    text-decoration: underline;
}

/* REGULAMENTO */
.dc-regulamento {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-left: 4px solid var(--cor-site-1);
    border-radius: 16px;
    padding: 28px 32px;
    box-shadow: 0 4px 20px rgba(2, 8, 40, .05);
    margin-bottom: 24px;
}

.dc-regulamento__titulo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    margin-bottom: 18px;
}

.dc-regulamento__lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.dc-regulamento__lista li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.65;
    color: #555;
}

.dc-regulamento__lista li svg {
    color: var(--cor-site-1);
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 13px;
}

/* CARTÃO DO FORMULÁRIO */
.dc-formCard {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 18px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.dc-formCard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--cor-site-1);
}

/* BLOCOS */
.dc-secao {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.dc-secao--last {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.dc-secao__titulo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    margin-bottom: 20px;
}

/* GRADES */
.dc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.dc-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dc-grid--full {
    grid-column: 1 / -1;
}

/* CAMPOS */
.dc-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 7px;
    letter-spacing: .02em;
}

.dc-input {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    line-height: inherit;
    color: #0b1b3a;
    background: #f8f9fc;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 9px;
    outline: none;
    transition: border-color .18s, box-shadow .18s, background .18s;
    font-family: inherit;
    box-sizing: border-box;
}

.dc-input:focus {
    border-color: var(--cor-site-1);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(28, 109, 175, .1);
}

/* NOS CAMPOS DE TEXTO, NO ANTIGO A REGRA DO TEMA (input[type="text"]...) VENCE A CLASSE: FUNDO BRANCO, BORDA #DDD,
   ALTURA 47PX, TEXTO 16PX E CANTOS DE 4PX; AO CLICAR, A BORDA CONTINUA #DDD E SEM SOMBRA. */
input.dc-input {
    height: 47px;
    padding-left: 15px;
    padding-right: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: var(--cor-site-5);
    font-size: 16px;
}

input.dc-input:focus {
    border-color: #ddd;
    box-shadow: none;
}

input.dc-input::placeholder {
    color: #9f9f9f;
    font-size: 14px;
}

/* SELO DO BANCO */
.dc-banco-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(28, 109, 175, .04);
    border: 1px solid rgba(28, 109, 175, .12);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
}

.dc-banco-badge__icone {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: rgba(28, 109, 175, .1);
    border: 1px solid rgba(28, 109, 175, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--cor-site-1);
}

.dc-banco-badge strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0b1b3a;
    margin-bottom: 3px;
}

.dc-banco-badge span {
    font-size: 12px;
    color: #777;
}

/* DÉBITO PARA. NO ANTIGO O RÁDIO É display:none E O NAVEGADOR NÃO CONSEGUE AVISAR QUE FALTA ESCOLHER; AQUI ELE SÓ
   SOME DA TELA. O MARCADO SE PINTA PELO :checked. */
.dc-finalidade-group {
    display: flex;
    gap: 14px;
}

.dc-finalidade-radio {
    position: relative;
    cursor: pointer;
    flex: 1;
    max-width: 240px;
}

.dc-finalidade-radio input {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.dc-finalidade-radio__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 16px;
    border: 2px solid rgba(28, 109, 175, .15);
    border-radius: 12px;
    background: #f8f9fc;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    transition: border-color .18s, background .18s, color .18s;
    text-align: center;
}

.dc-finalidade-radio__box svg {
    font-size: 24px;
    color: rgba(28, 109, 175, .3);
    transition: color .18s;
}

.dc-finalidade-radio:hover .dc-finalidade-radio__box {
    border-color: rgba(28, 109, 175, .35);
    background: #fff;
}

.dc-finalidade-radio input:checked + .dc-finalidade-radio__box {
    border-color: var(--cor-site-1);
    background: rgba(28, 109, 175, .05);
    color: var(--cor-site-1);
}

.dc-finalidade-radio input:checked + .dc-finalidade-radio__box svg {
    color: var(--cor-site-1);
}

.dc-finalidade-radio input:focus-visible + .dc-finalidade-radio__box {
    outline: 2px solid var(--cor-site-1);
    outline-offset: 2px;
}

/* ACEITE DO REGULAMENTO */
.dc-aceite {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    padding: 18px 20px;
    background: rgba(28, 109, 175, .03);
    border: 1px solid rgba(28, 109, 175, .1);
    border-radius: 10px;
    transition: border-color .18s, background .18s;
}

.dc-aceite:hover {
    border-color: rgba(28, 109, 175, .25);
    background: rgba(28, 109, 175, .05);
}

.dc-aceite input[type="checkbox"] {
    accent-color: var(--cor-site-1);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    margin: 2px 0 0;
    cursor: pointer;
}

.dc-aceite span {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    font-weight: 500;
}

/* CAMPO-ARMADILHA CONTRA ROBÔ: FORA DA TELA */
.form-lead__armadilha {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* BOTÃO ENVIAR */
.dc-form__actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    margin-top: 32px;
}

.dc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 32px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    background: var(--cor-site-1);
    color: #fff;
    box-shadow: 0 5px 18px rgba(28, 109, 175, .3);
    transition: transform .18s, box-shadow .18s;
}

.dc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(28, 109, 175, .45);
}

.dc-btn:active {
    transform: scale(.98);
}

.dc-btn:disabled {
    opacity: .7;
    cursor: wait;
    transform: none;
}

/* SELOS */
.dc-formCard__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding-top: 20px;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.dc-formCard__trust span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dc-formCard__trust svg {
    color: var(--cor-site-1);
    font-size: 13px;
}

/* AVISO DO ENVIO SEM JAVASCRIPT (pages/partials/aviso-envio.php); COM JAVASCRIPT O RESULTADO SAI NA JANELINHA. */
.dc-formCard .aviso {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
}

.dc-formCard .aviso--ok { background: #e9f7ef; color: #1e7e46; }
.dc-formCard .aviso--erro { background: #fdecec; color: #b42318; }

@media (max-width: 860px) {
    .dc-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .dc-formCard { padding: 24px 18px; }
    .dc-regulamento { padding: 22px 18px; }
    .dc-grid { grid-template-columns: minmax(0, 1fr); }
    .dc-grid--3 { grid-template-columns: minmax(0, 1fr); }
    .dc-finalidade-group { flex-direction: column; }
    .dc-finalidade-radio { max-width: 100%; }
}
