/* Componentes: carrossel, vídeo (facade), diálogo, formulário de erro, Contact Form 7, 404, widgets. */
.peus-carousel { position: relative; }
.peus-carousel__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.peus-carousel__track::-webkit-scrollbar { display: none; }
.peus-carousel__track:focus-visible { outline-offset: 4px; }
.peus-carousel__slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.peus-carousel__btn { position: absolute; top: 40%; z-index: 3; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); background: var(--bg); color: var(--text); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); opacity: 0; transition: opacity .15s; }
.peus-carousel__btn--prev { left: -10px; } .peus-carousel__btn--next { right: -10px; }
.peus-carousel:hover .peus-carousel__btn, .peus-carousel:focus-within .peus-carousel__btn { opacity: 1; }
.peus-carousel__btn[disabled] { opacity: 0 !important; pointer-events: none; }
.peus-carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
.peus-carousel__dots:empty { display: none; }
.peus-carousel__dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--muted) 40%, transparent); }
.peus-carousel__dot[aria-current="true"] { background: var(--accent); }
.peus-carousel--single .peus-carousel__btn { top: 45%; }
@media (hover: none) { .peus-carousel__btn { opacity: 1; width: 32px; height: 32px; } }

/* Vídeo com carregamento sob demanda */
.peus-video { position: relative; background: #000; aspect-ratio: 16 / 9; overflow: hidden; }
.peus-video--vertical { aspect-ratio: 9 / 16; }
.peus-video--wide { margin-bottom: 20px; border-radius: var(--radius); }
.peus-video__btn { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; display: block; }
.peus-video__btn .peus-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.peus-video__play { position: absolute; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: rgba(0, 0, 0, .62); color: #fff; display: grid; place-items: center; backdrop-filter: blur(2px); transition: transform .15s, background .15s; }
.peus-video__btn:hover .peus-video__play { transform: scale(1.08); background: rgba(0, 0, 0, .8); }
.peus-video__dur { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .75); color: #fff; font: 600 11px/1.4 var(--font-body); }
.peus-video iframe, .peus-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.peus-video__msg { position: absolute; inset: auto 0 0; padding: 10px 12px; background: rgba(0, 0, 0, .8); color: #fff; font-size: 13px; }
.peus-video--live { border-radius: 0 0 6px 6px; }

/* Diálogo (Comunicar erro) */
.peus-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; background: var(--bg); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.peus-dialog::backdrop { background: rgba(0, 0, 0, .55); }
.peus-dialog__box { padding: 20px 22px 22px; }
.peus-dialog__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.peus-dialog__head h2 { font-size: 20px; }
.peus-report { display: grid; gap: 12px; }
.peus-report p { margin: 0; }
.peus-report__hint { font-size: 14px; color: var(--muted); }
.peus-report label { display: block; font: 600 13px/1.3 var(--font-body); margin-bottom: 4px; }
.peus-report input[type="text"], .peus-report input[type="email"], .peus-report textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); font: 400 15px/1.4 var(--font-body); }
.peus-report textarea { resize: vertical; min-height: 110px; }
.peus-report__actions { display: flex; gap: 10px; }
.peus-report__msg { font-size: 14px; min-height: 1.3em; }
.peus-report__msg.is-error { color: #d6322d; } .peus-report__msg.is-ok { color: #1a8f3c; }

/* Contact Form 7 (apenas estilo) */
.wpcf7 form.wpcf7-form { display: grid; gap: 14px; }
.wpcf7 label { display: block; font: 600 13px/1.3 var(--font-body); color: var(--text); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 input[type="number"], .wpcf7 input[type="date"], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: 4px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--bg); color: var(--text); font: 400 15px/1.4 var(--font-body); }
.wpcf7 textarea { min-height: 130px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--blue); outline: 0; box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 25%, transparent); }
.wpcf7 input[type="checkbox"], .wpcf7 input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); margin-right: 6px; vertical-align: -3px; }
.wpcf7 .wpcf7-list-item { margin: 0 14px 0 0; display: inline-block; }
.wpcf7 input[type="submit"], .wpcf7 .wpcf7-submit { padding: 13px 24px; border: 0; border-radius: var(--radius); background: var(--accent); color: #fff; font: 700 13px/1 var(--font-menu); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.wpcf7 input[type="submit"]:hover { filter: brightness(.9); }
.wpcf7 .wpcf7-not-valid-tip { color: #d6322d; font-size: 12.5px; margin-top: 4px; }
.wpcf7 .wpcf7-response-output { margin: 8px 0 0; padding: 10px 14px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #1a8f3c; color: #1a8f3c; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #d6322d; color: #d6322d; }
.wpcf7-spinner { margin: 0 12px; }

/* 404 / páginas */
.peus-404 { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.peus-404 .peus-searchform { margin: 18px auto 0; }
.peus-404__code { font: 300 90px/1 var(--font-heading); color: var(--accent); letter-spacing: .06em; }
.peus-404__title { font-size: 28px; margin-top: 4px; }
.peus-404__text { color: var(--muted); margin-top: 8px; }
.peus-404 .peus-block { text-align: left; margin-top: 48px; }
.peus-page { padding-top: 28px; padding-bottom: 40px; display: grid; justify-content: center; }
.peus-page .peus-article { max-width: var(--article-width); width: 100%; }
.peus-episodes { display: grid; gap: 8px; list-style: disc; padding-left: 20px; }
.widget { margin-bottom: 24px; }
.widget__title { font: 700 16px/1.3 var(--font-heading); margin-bottom: 10px; }
.widget ul { display: grid; gap: 8px; }
.wp-block-image img, .wp-caption img { height: auto; }
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
