/* Portal Editorial Tech — comentários, campos de formulário e Contact Form 7. */

/* ---------- Comentários ---------- */
.pet-comments{max-width:var(--pet-read);margin:48px auto 24px}
.pet-comments__title{font:600 22px/1.3 var(--font-heading);margin:0 0 18px}
.pet-comments__first{margin:0 0 20px}
.pet-comments__list{list-style:none;margin:0 0 28px;padding:0}
.pet-comments__list .children{list-style:none;margin:0;padding-left:28px;border-left:2px solid var(--border)}
.pet-comment{margin:0}
.pet-comment__body{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid var(--border)}
.pet-comment__avatar img{display:block;width:48px;height:48px;border-radius:50%}
.pet-comment__main{min-width:0;flex:1}
.pet-comment__author{margin:0 0 6px;font-weight:700;display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline}
.pet-comment__date{font-size:13px;font-weight:400;color:var(--muted)}
.pet-comment__text{font-size:16px;line-height:1.65}
.pet-comment__text p{margin:0 0 .8em}
.pet-comment__wait{font-size:13px;color:var(--muted);margin:0 0 6px}
.pet-comment__reply a{font-size:14px;font-weight:600;color:var(--link)}
.pet-comments__reply-title,.comment-reply-title{font:600 20px/1.3 var(--font-heading);margin:24px 0 14px}
.comment-form p{margin:0 0 14px}
.comment-form label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}
.comment-form .comment-form-cookies-consent{display:flex;gap:8px;align-items:flex-start}
.comment-form .comment-form-cookies-consent label{font-weight:400;margin:0}
.comments-area .logged-in-as,.comment-notes{font-size:14px;color:var(--muted)}

/* ---------- Campos ---------- */
.pet-comments input[type="text"],.pet-comments input[type="email"],.pet-comments input[type="url"],.pet-comments textarea,
.entry-content input[type="text"],.entry-content input[type="email"],.entry-content input[type="url"],.entry-content input[type="tel"],.entry-content input[type="number"],.entry-content input[type="date"],.entry-content select,.entry-content textarea,
.wpcf7 input[type="text"],.wpcf7 input[type="email"],.wpcf7 input[type="url"],.wpcf7 input[type="tel"],.wpcf7 input[type="number"],.wpcf7 input[type="date"],.wpcf7 select,.wpcf7 textarea{width:100%;max-width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:8px;background:var(--card-bg);color:var(--text);font:inherit;font-size:16px;line-height:1.4;text-align:left}
.pet-comments textarea,.entry-content textarea,.wpcf7 textarea{min-height:140px;resize:vertical}
.pet-comments input:focus,.pet-comments textarea:focus,.entry-content input:focus,.entry-content textarea:focus,.entry-content select:focus,.wpcf7 input:focus,.wpcf7 textarea:focus,.wpcf7 select:focus,.pet-searchform__input:focus{outline:2px solid var(--primary);outline-offset:0;border-color:var(--primary)}
.pet-comments ::placeholder,.wpcf7 ::placeholder,.pet-searchform__input::placeholder{color:var(--muted);opacity:1}
.entry-content input[type="submit"],.entry-content button[type="submit"],.wpcf7 input[type="submit"],.wpcf7 button[type="submit"],.comment-form input[type="submit"]{display:inline-flex;align-items:center;justify-content:center;padding:12px 24px;border:0;border-radius:8px;background:var(--btn-bg);color:var(--btn-text);font:600 16px/1.2 var(--font-body);cursor:pointer;width:auto}
.entry-content input[type="submit"]:hover,.wpcf7 input[type="submit"]:hover,.comment-form input[type="submit"]:hover{background:var(--btn-hover);color:var(--btn-text)}
.entry-content input[type="checkbox"],.entry-content input[type="radio"],.wpcf7 input[type="checkbox"],.wpcf7 input[type="radio"]{width:auto;accent-color:var(--primary)}

/* ---------- Contact Form 7 ---------- */
.wpcf7{margin:1.4em auto;max-width:var(--pet-read)}
.wpcf7 form p{margin:0 0 16px;text-align:left}
.wpcf7 label{display:block;font-size:14px;font-weight:600;color:var(--text);text-align:left}
.wpcf7 .wpcf7-form-control-wrap{display:block;margin-top:6px}
.wpcf7 .wpcf7-list-item{display:block;margin:6px 0 0}
.wpcf7 .wpcf7-list-item label{display:flex;gap:8px;align-items:center;font-weight:400}
.wpcf7 .wpcf7-not-valid{border-color:var(--negative)}
.wpcf7 .wpcf7-not-valid-tip{display:block;margin-top:4px;font-size:13px;color:var(--negative)}
.wpcf7 form .wpcf7-response-output{margin:18px 0 0;padding:12px 16px;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:15px}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{border-color:var(--negative);color:var(--text)}
.wpcf7 form.sent .wpcf7-response-output{border-color:var(--positive)}
.wpcf7-spinner{vertical-align:middle}
.wpcf7 .wpcf7-submit:disabled{opacity:.6;cursor:not-allowed}
