/* Correções para o Contact Form 7 */
.wpcf7-form {
    display: block !important;
    width: 100%;
}

.wpcf7-form p {
    margin-bottom: 20px;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    position: relative;
}

.wpcf7-form label span.optional,
.wpcf7-form label::after {
    content: none !important;
}

.wpcf7-form .wpcf7-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.wpcf7-form .wpcf7-submit {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    margin-top: 5px;
}

.wpcf7-form .wpcf7-response-output {
    margin: 20px 0;
    padding: 10px;
    border: 2px solid #00a0d2;
}

/* Garantir que todos os campos são visíveis */
.wpcf7-form input,
.wpcf7-form textarea {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Corrigir problema de visibilidade */
.wpcf7-form-control-wrap {
    display: block !important;
}

/* Forçar exibição de todos os elementos do formulário */
.wpcf7 * {
    display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    display: block !important;
    width: 100% !important;
    margin-bottom: 15px;
}

/* Apenas o botão submit deve ser inline-block */
.wpcf7 input[type="submit"] {
    display: inline-block !important;
}
