/* Anfitrião Jari — Anúncios */
.aja { position: relative; width: 100%; margin: 0 auto; line-height: 0; }
.aja__track { display: grid; }
.aja__slide { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; border-radius: var(--aja-radius, 12px); overflow: hidden; }
.aja__slide.is-active { opacity: 1; visibility: visible; }
.aja--todos .aja__track { gap: 16px; }
.aja--todos .aja__slide { grid-area: auto; opacity: 1; visibility: visible; }
.aja__slide picture, .aja__slide img { display: block; width: 100%; height: auto; max-width: 100%; border: 0; border-radius: 0; box-shadow: none; }
a.aja__slide { cursor: pointer; }
a.aja__slide:focus-visible { outline: 3px solid #ff7a00; outline-offset: 3px; }
.aja__slide[hidden] { display: none; }
.aja__label { position: absolute; top: 8px; right: 10px; z-index: 2; line-height: 1; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; background: rgba(0, 0, 0, .45); color: #fff; }
.aja__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; line-height: 0; }
.aja__dot { width: 8px; height: 8px; padding: 0 !important; border: 0 !important; border-radius: 99px !important; background: #cfd4da !important; cursor: pointer; transition: width .25s, background .25s; min-height: 0 !important; box-shadow: none !important; }
.aja__dot.is-active { width: 22px; background: #ff7a00 !important; }
@media (prefers-reduced-motion: reduce) { .aja__slide { transition: none; } }

/* ================= Página de venda [aj_anunciar] ================= */
.aja-venda { --av-navy: #110e3f; --av-blue: #0d33d6; --av-orange: #d9650b; --av-accent: #ff7a00; background: var(--av-navy); color: #fff; border-radius: 20px; padding: 40px 28px; line-height: 1.4; font-family: inherit; }
.aja-venda__title { color: #fff; text-align: center; font-size: clamp(24px, 3.4vw, 40px); font-weight: 800; margin: 0 0 8px; line-height: 1.15; }
.aja-venda__sub { text-align: center; color: rgba(255,255,255,.8); margin: 0 auto 30px; max-width: 640px; }
.aja-planos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: center; max-width: 1040px; margin: 0 auto; }
.aja-plano { position: relative; display: flex; flex-direction: column; border-radius: 20px; padding: 26px 26px 24px; min-height: 300px; color: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.28); transition: transform .2s; }
.aja-plano:hover { transform: translateY(-4px); }
.aja-plano--azul { background: var(--av-blue); }
.aja-plano--laranja { background: var(--av-orange); }
.aja-plano--gradiente { background: linear-gradient(180deg, #5b7cf7 0%, #8c79c9 45%, #f58a3a 100%); }
.aja-plano.is-destaque { min-height: 340px; padding-top: 30px; }
.aja-plano.is-destaque h3 { font-size: 36px; }
.aja-plano h3 { color: #fff; text-align: center; font-size: 28px; font-weight: 800; margin: 0 0 14px; }
.aja-plano ul { margin: 0 0 14px; padding-left: 20px; font-size: 18px; }
.aja-plano li { margin: 0 0 6px; }
.aja-plano__vagas { margin: 0 0 10px; font-size: 13px; font-weight: 700; background: rgba(0,0,0,.18); align-self: flex-start; padding: 3px 10px; border-radius: 99px; }
.aja-plano__preco { margin: auto 0 14px; align-self: center; position: relative; background: #fff; color: #111; padding: 8px 30px 8px 16px; font-weight: 800; font-size: 24px; clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.aja-plano__preco small { font-size: 13px; font-weight: 600; margin-left: 2px; color: #555; }
.aja-plano__btn { display: block; text-align: center; background: #fff; color: #110e3f !important; font-weight: 800; text-decoration: none !important; padding: 12px 16px; border-radius: 10px; transition: background .2s, color .2s; }
.aja-plano__btn:hover { background: var(--av-navy); color: #fff !important; }
.aja-plano__btn.is-off { background: rgba(255,255,255,.35); color: #fff !important; cursor: not-allowed; }
.aja-plano.is-esgotado { opacity: .7; }

.aja-venda *, .aja-venda *::before, .aja-venda *::after { box-sizing: border-box; }
.aja-form { max-width: 760px; margin: 36px auto 0; background: #fff; color: #1f2328; border-radius: 16px; padding: 28px; }
.aja-form[hidden] { display: none; }
.aja-form h3 { margin: 0 0 16px; color: #110e3f; font-size: 22px; }
.aja-form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.aja-form legend { font-weight: 700; margin-bottom: 8px; }
.aja-opts { display: grid; gap: 8px; }
.aja-opt { display: flex; gap: 10px; align-items: center; border: 2px solid #e3e6ea; border-radius: 10px; padding: 12px 14px; cursor: pointer; }
.aja-opt:has(input:checked) { border-color: var(--av-accent); background: #fff4e8; }
.aja-opt input { accent-color: var(--av-accent); width: 18px; height: 18px; margin: 0; flex: none; }
.aja-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.aja-field { margin: 0 0 14px; }
.aja-field label { display: block; font-weight: 600; margin-bottom: 6px; }
.aja-field input[type=text], .aja-field input[type=email], .aja-field input[type=url], .aja-field input:not([type]) { width: 100%; height: 46px; border: 1px solid #d5d9de; border-radius: 8px; padding: 0 12px; font: inherit; }
.aja-field input[type=file] { width: 100%; padding: 10px; border: 1px dashed #c3c8cf; border-radius: 8px; background: #f6f7f9; }
.aja-field input:focus { outline: none; border-color: var(--av-accent); box-shadow: 0 0 0 3px rgba(255,122,0,.25); }
.aja-field.has-error input, .aja-check.has-error { border-color: #c62828; }
.aja-help { font-size: 13px; color: #5f6670; margin: 4px 0 0; }
.aja-msg { color: #c62828; font-size: 13px; font-weight: 600; margin: 4px 0 0; }
.aja-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 6px 0 4px; }
.aja-check input { margin-top: 3px; accent-color: var(--av-accent); }
.aja-submit { display: block; width: 100%; margin-top: 16px; border: 0; border-radius: 10px; padding: 16px; background: var(--av-accent, #ff7a00); color: #fff; font-weight: 800; font-size: 17px; cursor: pointer; }
.aja-submit:hover { background: #e06b00; }
.aja-submit--sm { width: auto; margin: 0; padding: 10px 16px; font-size: 14px; }
.aja-muted { font-size: 13px; color: #5f6670; text-align: center; margin: 10px 0 0; }
.aja-alert { background: #fdecea; color: #8a1c1c; border-radius: 8px; padding: 10px 14px; margin: 0 0 14px; }
.aja-venda > .aja-alert { margin-top: 24px; text-align: center; }

/* Meus anúncios */
.aja-meus { display: grid; gap: 14px; }
.aja-meu { display: grid; grid-template-columns: minmax(0, 260px) 1fr auto; gap: 16px; align-items: center; border: 1px solid #e3e6ea; border-radius: 12px; padding: 12px; background: #fff; }
.aja-meu img { width: 100%; height: auto; border-radius: 8px; display: block; }
.aja-meu__info { display: grid; gap: 4px; font-size: 14px; color: #5f6670; }
.aja-meu__info strong { color: #1f2328; font-size: 16px; }
.aja-st { display: inline-block; justify-self: start; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.aja-st--on { background: #dcfce7; color: #166534; }
.aja-st--wait { background: #fef3c7; color: #92400e; }
.aja-st--off { background: #f1f1f1; color: #646970; }

@media (max-width: 900px) {
	.aja-planos { grid-template-columns: 1fr; max-width: 440px; }
	.aja-plano, .aja-plano.is-destaque { min-height: 0; }
}
@media (max-width: 600px) {
	.aja-venda { padding: 28px 16px; border-radius: 14px; }
	.aja-form { padding: 20px 16px; }
	.aja-grid { grid-template-columns: 1fr; gap: 0; }
	.aja-meu { grid-template-columns: 1fr; }
}
