/* WP Notícias – página Anuncie (mobile first) */
.wpn-ads-hero .wpn-hero__in--single { padding-bottom: 96px; }
.wpn-ads-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.wpn-ads-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; padding: 14px 22px; font: inherit; font-weight: 800; font-size: 15px; text-decoration: none !important; cursor: pointer; border: 0; transition: transform .15s, filter .15s, background .15s; min-height: 48px; }
.wpn-ads-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.wpn-ads-btn--wa { background: #22c55e; color: #fff !important; box-shadow: 0 12px 26px rgba(34,197,94,.35); }
.wpn-ads-btn--ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 1.5px solid rgba(255,255,255,.35); }
.wpn-ads-btn--block { width: 100%; margin-top: 18px; }
.wpn-ads-btn[disabled] { opacity: .7; pointer-events: none; }

.wpn-ads { position: relative; margin-top: -60px; padding-bottom: 80px; font-family: var(--wpn-font-news); }
.wpn-ads-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; background: #fff; border: 1px solid #eef0f4; border-radius: 18px; padding: 16px; box-shadow: 0 20px 50px rgba(15,23,42,.10); }
.wpn-ads-stats div { padding: 10px 12px; border-radius: 12px; background: #f7f9fc; }
.wpn-ads-stats strong { display: block; font-size: 26px; font-weight: 800; color: #111827; letter-spacing: -.6px; }
.wpn-ads-stats span { font-size: 12.5px; color: var(--wpn-muted); }
/* Três números (notícias, editorias e formatos): uma linha só, também no celular. */
.wpn-ads-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wpn-ads-stats--3 div { min-width: 0; }
/* Sem o cartão de números: o topo não precisa da folga para ele. */
.wpn-ads-hero--nostats.wpn-hero--contact .wpn-hero__in--single { padding-bottom: 42px; }
.wpn-ads.wpn-ads--nostats { margin-top: 0; }

.wpn-ads-sec { margin-top: 56px; }
.wpn-ads-sec__head { text-align: center; max-width: 680px; margin: 0 auto 26px; }
.wpn-ads-sec__head--left { text-align: left; margin: 0 0 20px; }
.wpn-ads-sec__head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; color: #111827; letter-spacing: -.6px; margin: 8px 0 6px; line-height: 1.15; }
.wpn-ads-sec__head p { margin: 0; color: var(--wpn-muted); font-size: 15px; line-height: 1.6; }

.wpn-ads-formats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.wpn-ads-fmt { display: flex; flex-direction: column; background: #fff; border: 1px solid #eef0f4; border-radius: 18px; overflow: hidden; box-shadow: 0 1px 3px rgba(16,24,40,.05); transition: transform .2s, box-shadow .2s, border-color .2s; }
.wpn-ads-fmt:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(16,24,40,.10); border-color: #c7d7fb; }
.wpn-ads-fmt__wire { background: linear-gradient(135deg, #eef3fe, #f8fafc); padding: 18px 26px; display: flex; justify-content: center; }
.wpn-wire { width: 100%; max-width: 190px; height: auto; filter: drop-shadow(0 8px 16px rgba(15,23,42,.10)); }
.wpn-wire__hl rect { animation: wpnWire 2.4s ease-in-out infinite; }
@keyframes wpnWire { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.wpn-ads-fmt__body { padding: 16px 18px 6px; flex: 1; }
.wpn-ads-fmt__tag { display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--wpn-link); background: #eef3fe; border-radius: 999px; padding: 3px 9px; }
.wpn-ads-fmt h3 { font-size: 17px; font-weight: 800; color: #111827; margin: 10px 0 4px; }
.wpn-ads-fmt p { font-size: 13px; color: var(--wpn-muted); line-height: 1.5; margin: 0 0 10px; }
.wpn-ads-fmt__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wpn-ads-fmt__specs li { font-size: 12px; color: #4b5563; background: #f3f5f9; border-radius: 8px; padding: 4px 8px; }
.wpn-ads-fmt__specs b { color: #111827; }
.wpn-ads-fmt__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px 16px; border-top: 1px solid #f1f3f6; margin-top: 12px; }
.wpn-ads-fmt__price strong { display: block; font-size: 20px; font-weight: 800; color: #166534; letter-spacing: -.3px; }
.wpn-ads-fmt__price span { font-size: 12px; color: var(--wpn-muted); }
.wpn-ads-fmt__price small { display: block; font-size: 11.5px; color: #6b7280; margin-top: 2px; }
.wpn-ads-fmt__price.is-quote strong { color: #111827; font-size: 16px; }
.wpn-ads-fmt__pick { border: 1.5px solid #c7d7fb; background: #fff; color: var(--wpn-link); font: inherit; font-weight: 800; font-size: 13px; border-radius: 10px; padding: 10px 14px; cursor: pointer; min-height: 44px; white-space: nowrap; transition: background .15s; }
.wpn-ads-fmt__pick:hover { background: #eef3fe; }

.wpn-ads-note { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 18px 20px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; }
.wpn-ads-note__ico { width: 44px; height: 44px; border-radius: 12px; background: #fde68a; color: #92400e; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wpn-ads-note strong { font-size: 15px; color: #78350f; }
.wpn-ads-note p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #92400e; }

.wpn-ads-imoveis__card { display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; border-radius: 22px; color: #fff; background: radial-gradient(circle at 90% 10%, rgba(34,197,94,.35), transparent 45%), linear-gradient(135deg, var(--wpn-hero), #14336d); }
.wpn-ads-imoveis__card .wpn-eyebrow { color: #bef264; }
.wpn-ads-imoveis__card h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin: 8px 0; letter-spacing: -.5px; }
.wpn-ads-imoveis__card p { margin: 0 0 12px; color: rgba(255,255,255,.8); line-height: 1.6; font-size: 14.5px; }
.wpn-ads-imoveis__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.wpn-ads-imoveis__card li { display: flex; gap: 8px; align-items: center; }
.wpn-ads-imoveis__card li svg, .wpn-ads-side__card--dark li svg { color: #bef264; flex-shrink: 0; }

.wpn-ads-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; counter-reset: none; }
.wpn-ads-steps li { position: relative; background: #fff; border: 1px solid #eef0f4; border-radius: 16px; padding: 18px 18px 18px 70px; }
.wpn-ads-steps li span { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border-radius: 12px; background: var(--wpn-link); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.wpn-ads-steps strong { font-size: 15px; color: #111827; }
.wpn-ads-steps p { margin: 4px 0 0; font-size: 13.5px; color: var(--wpn-muted); line-height: 1.55; }

.wpn-ads-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.wpn-ads-form-card { background: #fff; border: 1px solid #eef0f4; border-radius: 20px; padding: 24px 20px; box-shadow: 0 20px 50px rgba(15,23,42,.08); }
.wpn-ads-form .wpn-field__label { font-size: 13px; font-weight: 700; color: #1f2937; }
.wpn-ads-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.wpn-ads-chips label { cursor: pointer; }
.wpn-ads-chips input { position: absolute; opacity: 0; pointer-events: none; }
.wpn-ads-chips span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 12px; border-radius: 999px; border: 1.5px solid #e3e7ee; background: #fafbfc; font-size: 13px; font-weight: 600; color: #374151; transition: all .15s; min-height: 40px; }
.wpn-ads-chips em { font-style: normal; font-size: 11px; color: #9ca3af; }
.wpn-ads-chips input:checked + span { border-color: var(--wpn-link); background: #eef3fe; color: var(--wpn-link); }
.wpn-ads-chips input:checked + span em { color: #60a5fa; }
.wpn-ads-chips input:focus-visible + span { outline: 3px solid rgba(37,99,235,.35); }
.wpn-ads-done { text-align: center; padding: 30px 10px; }
.wpn-ads-done h3 { font-size: 22px; font-weight: 800; color: #111827; margin: 0 0 6px; }
.wpn-ads-done p { color: var(--wpn-muted); margin: 0 0 18px; }
.wpn-ads-side { display: flex; flex-direction: column; gap: 14px; }
.wpn-ads-side__card { background: #fff; border: 1px solid #eef0f4; border-radius: 18px; padding: 18px; }
.wpn-ads-side__card > strong { display: block; font-size: 15px; color: #111827; margin-bottom: 8px; }
.wpn-ads-side__card--dark { background: linear-gradient(135deg, var(--wpn-hero), #122652); color: #fff; border: 0; }
.wpn-ads-side__card--dark > strong { color: #fff; }
.wpn-ads-side__card--dark ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 13.5px; color: rgba(255,255,255,.85); }
.wpn-ads-side__card--dark li { display: flex; gap: 8px; align-items: center; }
.wpn-ads-faq { margin-left: auto; margin-right: auto; }

.wpn-ads-float { position: fixed; right: 16px; bottom: calc(var(--wpn-fixed-h) + 80px); z-index: 96; display: inline-flex; align-items: center; gap: 10px; background: #22c55e; color: #fff !important; text-decoration: none; border-radius: 999px; padding: 12px; box-shadow: 0 14px 30px rgba(34,197,94,.45); font-weight: 800; font-size: 14px; animation: wpnUp .5s ease both; }
.wpn-ads-float span { display: none; }
.wpn-page-anuncie .wpn-wagroup { display: none !important; }

@media (min-width: 641px) {
	.wpn-ads-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 18px; }
	.wpn-ads-stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.wpn-ads-formats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpn-ads-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wpn-ads-float { padding: 12px 18px 12px 14px; }
	.wpn-ads-float span { display: inline; }
}
@media (min-width: 993px) {
	.wpn-ads-formats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wpn-ads-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.wpn-ads-steps li { padding: 70px 20px 22px; }
	.wpn-ads-steps li span { top: 20px; left: 20px; }
	.wpn-ads-contact { grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; }
	.wpn-ads-form-card { padding: 30px 32px; }
	.wpn-ads-side { position: sticky; top: 70px; }
	.wpn-ads-imoveis__card { flex-direction: row; align-items: center; justify-content: space-between; padding: 40px 44px; }
	.wpn-ads-imoveis__card > div { max-width: 640px; }
}
@media (max-width: 400px) {
	.wpn-ads-fmt__foot { flex-direction: column; align-items: stretch; }
	.wpn-ads-hero__cta .wpn-ads-btn { width: 100%; }
}

/* ==========================================================================
   Celular – revisão de 26/09/2026 (tudo abaixo vale só em telas pequenas)
   ========================================================================== */

/* Checkboxes dos formatos (chips) herdavam width:100%, padding, borda, margem e min-height de ".wpn-field input".
   Como são position:absolute, os 100% viravam a largura do bloco .wpn-ads (320px no celular): 7 inputs invisíveis
   em 41→361px geravam rolagem horizontal. Mesma correção já usada em .wpn-seg (mobile.css). Sem efeito visual. */
.wpn-ads-chips label { position: relative; }
.wpn-ads-form .wpn-ads-chips input { width: 1px; height: 1px; min-height: 0; margin: 0; padding: 0; border: 0; left: 0; top: 0; }

/* Celulares pequenos: números da audiência cabem no cartão e o formulário ganha largura útil. */
@media (max-width: 400px) {
	.wpn-ads-stats { padding: 12px; gap: 8px; }
	.wpn-ads-stats div { padding: 10px; min-width: 0; }
	.wpn-ads-stats strong { font-size: 22px; letter-spacing: -.4px; }
	.wpn-ads-stats--3 strong { font-size: 20px; }
	.wpn-ads-stats--3 span { font-size: 11.5px; }
	.wpn-ads-form-card { padding: 22px 16px; }
}
