#terms {
    background: #fff;
}

#terms .terms-header {
    background: #fff;
    padding: 3.75rem 0 2.5rem;
}

#terms .terms-header .container {
    display: flex;
    justify-content: center;
}

#terms .terms-header h2 {
    margin: 0;
    color: #30323d;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
}

#terms .terms-header h2 span {
    font-weight: 700;
}

#terms .content.container {
    max-width: 1180px;
    padding: 0 1rem 3.5rem;
}

#terms .content-and-image {
    padding: 0 0 1.75rem;
}

#terms .content-and-image .container {
    max-width: 100%;
    padding: 0;
}

#terms .content-and-image p {
    margin: 0;
    color: #30323d;
    font-size: 1.05rem;
    line-height: 1.6;
}

#terms .term {
    margin: 0 0 2rem;
    padding: 1.5rem;
    background: #dadada;
    color: #30323d;
    line-height: 1.6;
}

#terms .switch {
    width: 100%;
    margin: 0 0 2.25rem;
    padding: 1rem;
    border: 1px solid #e2e2e2;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#terms .switch-wrapper {
    flex: 0 0 auto;
}

#terms .switch .switch-button {
    border-color: #30323d;
}

#terms .switch-text {
    color: #30323d;
    font-size: 1rem;
    line-height: 1.5;
}

#terms #confirmationActions.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0;
}

#terms #confirmationActions .buttonprimary {
    min-width: 220px;
    margin-top: 0;
    border: 0;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.02em;
}

#terms #btCancelarTerms {
    background: #B41414;
    color: #fff;
}

#terms #btProsseguir {
    margin-left: auto;
}

@media (max-width: 768px) {
    #terms .terms-header {
        padding: 3rem 0 2rem;
    }

    #terms .content.container {
        padding-bottom: 3rem;
    }

    #terms #confirmationActions.container {
        flex-direction: column;
    }

    #terms #confirmationActions .buttonprimary,
    #terms #btProsseguir {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
}
