/* ==========================================================================
   ÚLTIMA CHANCE 2026 · Ka Solution — Landing Page V1.0
   Identidade visual aprovada: azul-noite + vermelho elétrico, Plus Jakarta Sans + Inter,
   Régua dos 12, Anel de 12 segmentos, presentes 3D premium (camada natalina).
   Verde WhatsApp: exceção funcional, apenas nos elementos de contato pelo WhatsApp.
   ========================================================================== */


:root {
  --noite: #0B1120;
  --noite-2: #121A2D;
  --noite-3: #182238;
  --linha: rgba(168, 180, 200, 0.18);
  --red: #FF304F;
  --red-2: #C91D3D;
  --coral: #FF7043;
  --cinza: #A8B4C8;
  --cinza-2: #C9D2E0;
  --texto: #E6EBF3;
  --champ: #D9C29A;
  --wa: #25D366;
  --wa-hover: #1FBF5B;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --max: 1200px;
  --r: 18px;
  --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 56px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noite); color: var(--texto); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.02em; line-height: 1.08; color: #fff; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--noite); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 0; cursor: pointer;
  font-family: var(--body); font-weight: 800; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { flex: none; }
.btn--red { background: var(--red-2); color: #fff; clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding: 0 34px; }
.btn--red:hover { background: var(--red); box-shadow: 0 10px 30px rgba(255, 48, 79, .35); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 999px; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--wa { background: var(--wa); color: var(--noite); border-radius: 999px; }
.btn--wa:hover { background: var(--wa-hover); box-shadow: 0 10px 28px rgba(37, 211, 102, .35); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.ico-wa { width: 20px; height: 20px; }

/* ---------- cabeçalho ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(11, 17, 32, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--linha); }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.hdr__ka img { height: 30px; width: auto; }
.hdr__nav { display: flex; gap: 4px; margin-left: auto; }
.hdr__nav a { padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--cinza-2); text-decoration: none; transition: color .2s, background .2s; }
.hdr__nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.hdr__nav a.is-sap { color: #fff; }
.hdr__wa { margin-left: 8px; }
.hdr__strip { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 56px 0 64px; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 72% 55%, rgba(201, 29, 61, .28), transparent 70%), linear-gradient(90deg, rgba(11, 17, 32, .92) 0%, rgba(11, 17, 32, .55) 48%, rgba(11, 17, 32, .15) 100%), linear-gradient(0deg, var(--noite) 0%, transparent 22%); }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; }
.hero__logo { width: min(440px, 100%); height: auto; margin-bottom: 30px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); font-weight: 800; }
.hero__sub { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); color: var(--cinza-2); max-width: 560px; }
.hero__urg { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; padding: 10px 18px; background: rgba(255, 48, 79, .12); border: 1px solid rgba(255, 48, 79, .55); border-radius: 999px; font-family: var(--display); font-weight: 800; font-size: 17px; color: #fff; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255, 48, 79, .7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(255, 48, 79, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 48, 79, 0); } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__art { position: relative; justify-self: center; width: min(560px, 100%); }
.hero__art::before { content: ""; position: absolute; inset: 12% 10% 8%; background: radial-gradient(circle, rgba(255, 112, 67, .45), transparent 65%); filter: blur(30px); z-index: -1; animation: glow 5s ease-in-out infinite; }
.hero__gift { width: 100%; height: auto; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes glow { 50% { opacity: .65; transform: scale(1.05); } }

/* ---------- contador ---------- */
.cd { position: relative; padding: 46px 0; background: linear-gradient(180deg, var(--noite) 0%, #0E1528 100%); border-block: 1px solid var(--linha); overflow: hidden; }
.cd__ring { position: absolute; right: -120px; top: 50%; width: 420px; transform: translateY(-50%); opacity: .35; pointer-events: none; }
.cd__in { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.cd__eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.cd h2 { margin-top: 8px; font-size: clamp(24px, 2.8vw, 34px); }
.cd__regua { margin-top: 16px; width: min(420px, 100%); height: auto; }
.cd__clock { display: flex; gap: 10px; }
.cd__u { width: 96px; padding: 14px 6px 12px; text-align: center; background: var(--noite-3); border: 1px solid var(--linha); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.cd__n { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 40px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.cd__u:last-child .cd__n { color: var(--red); }
.cd__l { display: block; margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cinza); }
.cd__note { grid-column: 1 / -1; font-size: 13px; color: var(--cinza); }

/* ---------- categorias + busca ---------- */
.cats { padding: 44px 0 18px; }
.sec-eyebrow { font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.sec-title { margin-top: 10px; font-size: clamp(28px, 3.4vw, 44px); }
.sec-sub { margin-top: 12px; color: var(--cinza-2); font-size: 17px; max-width: 720px; }
.cats__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.cat { position: relative; cursor: pointer; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 8px 14px; background: var(--noite-2); border: 1px solid var(--linha); border-radius: 16px; text-decoration: none; text-align: center; font-family: var(--display); font-weight: 700; font-size: 14px; line-height: 1.2; color: #fff; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.cat:hover { transform: translateY(-4px); border-color: rgba(255, 48, 79, .6); background: var(--noite-3); }
.cat__logo { width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 9px; }
.cat__logo img { width: 100%; height: 100%; object-fit: contain; }
.cat--sap { border-color: rgba(255, 48, 79, .55); background: linear-gradient(160deg, #2A1020, var(--noite-2) 70%); }
.cat__tag { font-family: var(--body); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.busca { margin-top: 22px; display: flex; align-items: center; gap: 12px; padding: 0 18px; min-height: 56px; background: var(--noite-2); border: 1px solid var(--linha); border-radius: 999px; }
.busca:focus-within { border-color: var(--coral); }
.busca svg { flex: none; color: var(--cinza); }
.busca input { flex: 1; min-width: 0; height: 54px; background: transparent; border: 0; color: #fff; font: 500 16px var(--body); }
.busca input::placeholder { color: #8E9AB0; }
.busca input:focus { outline: none; }
.busca__res { margin-top: 10px; font-size: 14px; color: var(--cinza); min-height: 22px; }

/* ---------- blocos de oferta ---------- */
.bloco { padding: 26px 0; }
.bloco[hidden], .sub[hidden], .oferta[hidden] { display: none !important; }
.bloco__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 16px; }
.bloco__logo { flex: none; height: 56px; width: auto; background: #fff; border-radius: 14px; padding: 10px 16px; }
.sub { margin-top: 24px; }
.sub:first-of-type { margin-top: 0; }
.sub__title { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; }
.sub__title::before { content: ""; width: 26px; height: 8px; background: var(--red); transform: skewX(-18deg); }
.lista { display: flex; flex-direction: column; gap: 14px; }

/* ---------- linha comercial compacta (V1.1) ---------- */
.lista { gap: 10px; }
.oferta { display: grid; grid-template-columns: minmax(0, 1fr) 96px 236px 186px; gap: 18px; align-items: center; padding: 14px 18px; background: linear-gradient(180deg, #141C31, #0F1628); border: 1px solid var(--linha); border-radius: 16px; transition: border-color .25s, box-shadow .25s; }
.oferta:hover { border-color: rgba(255, 112, 67, .45); box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.of__id { display: flex; align-items: center; gap: 16px; min-width: 0; }
.oferta__badge { flex: none; width: 64px; height: 64px; border-radius: 14px; background: #fff; display: grid; place-items: center; padding: 7px; }
.oferta__badge img { width: 100%; height: 100%; object-fit: contain; }
.of__txt { min-width: 0; }
.oferta__cod { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: #8E9AB0; }
.oferta__nome { margin-top: 2px; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.oferta__tags { margin-top: 7px; display: flex; flex-wrap: wrap; gap: 5px; }
.tag { display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; line-height: 1.2; }
.tag--cal { background: rgba(168, 180, 200, .12); color: #DCE3EE; border: 1px solid rgba(168, 180, 200, .3); }
.tag--turma { background: rgba(255, 112, 67, .12); color: #FFB59C; border: 1px solid rgba(255, 112, 67, .5); }
.tag--jan { background: rgba(217, 194, 154, .12); color: #E9DBBE; border: 1px solid rgba(217, 194, 154, .5); }
.tag--prazo { background: #fff; color: var(--noite); }
.tag--ben { background: rgba(255, 48, 79, .14); color: #FFC2CC; border: 1px solid rgba(255, 48, 79, .5); }
.of__off { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 76px; border-radius: 14px; background: rgba(255, 48, 79, .1); border: 1px solid rgba(255, 48, 79, .45); }
.of__off b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 27px; line-height: 1; color: var(--red); letter-spacing: -0.02em; white-space: nowrap; }
.of__off span { margin-top: 3px; font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .16em; color: #fff; }
.of__off--xl { height: 104px; padding: 0 12px; }
.of__off--xl b { font-size: 38px; }
.of__preco { line-height: 1.25; }
.of__de { font-size: 12.5px; color: #8E9AB0; }
.of__de s { text-decoration-thickness: 1.5px; }
.of__12x { margin-top: 2px; font-size: 12.5px; color: var(--cinza-2); }
.of__12x strong { display: block; font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1.1; color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.of__tot { margin-top: 2px; font-size: 12px; color: #8E9AB0; }
.of__av { margin-top: 3px; font-size: 13px; color: var(--cinza-2); }
.of__av strong { color: #fff; font-weight: 800; }
.oferta__acoes { display: flex; flex-direction: column; gap: 7px; }
.oferta__acoes .btn { width: 100%; }
.btn--xs { min-height: 40px; padding: 0 12px; font-size: 12px; letter-spacing: .03em; gap: 7px; }
.btn--xs .ico-wa { width: 17px; height: 17px; }

/* destaque (SAPFUN, Formação Power BI) — mesma lógica de preço, mais presença */
.destaque { position: relative; overflow: hidden; padding: 22px 24px; border-radius: 20px; background: linear-gradient(135deg, #1A2340 0%, #121A2D 55%, #2A1020 100%); border: 1px solid rgba(255, 48, 79, .5); display: grid; grid-template-columns: 104px minmax(0, 1fr) 132px 236px 186px; gap: 20px; align-items: center; }
.destaque::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255, 48, 79, .22), transparent 70%); pointer-events: none; }
.destaque > * { position: relative; z-index: 1; }
.destaque .oferta__badge { width: 104px; height: 104px; padding: 14px; border-radius: 20px; }
.destaque__kicker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.destaque__nome { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; line-height: 1.1; }
.destaque__mods { margin-top: 6px; font-size: 13.5px; color: var(--cinza-2); }
.destaque .of__12x strong { font-size: 30px; }

/* aberturas especiais */
.abertura { position: relative; overflow: hidden; margin-bottom: 14px; padding: 26px 32px; border-radius: 24px; background: linear-gradient(120deg, #1A2340 0%, #121A2D 50%, #2A1020 100%); border: 1px solid rgba(255, 48, 79, .4); display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center; }
.abertura h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; }
.abertura p { margin-top: 10px; font-size: 17px; color: var(--cinza-2); max-width: 640px; }
.abertura__chips { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.abertura img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .5)); }
.abertura--itil h3 em { font-style: normal; color: var(--red); }
.alerta { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; padding: 14px 20px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .25); font-weight: 600; color: #fff; }
.alerta .pulse { flex: none; }

/* ---------- banner 13º ---------- */
.b13 { position: relative; overflow: hidden; isolation: isolate; margin: 24px 0 0; padding: 64px 0; }
.b13__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.b13::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 17, 32, .95) 0%, rgba(11, 17, 32, .7) 55%, rgba(11, 17, 32, .2) 100%); }
.b13__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; }
.b13__n { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(64px, 9vw, 120px); line-height: .9; color: var(--red); text-shadow: 0 0 40px rgba(255, 48, 79, .5); }
.b13 h2 { margin-top: 10px; font-size: clamp(30px, 4vw, 52px); }
.b13 p { margin-top: 18px; font-size: 19px; color: var(--cinza-2); max-width: 580px; }
.b13 .hero__ctas { margin-top: 28px; }
.b13__art img { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }

/* ---------- autoridade ---------- */
.auto { padding: 80px 0; background: radial-gradient(70% 60% at 50% 0%, rgba(201, 29, 61, .16), transparent 70%); }
.auto__stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stat { padding: 28px; border-radius: var(--r); background: var(--noite-2); border: 1px solid var(--linha); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 4.4vw, 58px); line-height: 1; color: var(--red); }
.stat span { display: block; margin-top: 8px; font-size: 17px; color: var(--cinza-2); }
.auto__logos { margin-top: 20px; padding: 26px 30px; border-radius: var(--r); background: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; gap: 26px; }
.auto__logos img { height: 52px; width: auto; }
.auto__logos img.alto { height: 72px; }

/* ---------- FAQ ---------- */
.faq { padding: 20px 0 64px; }
.faq__list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--noite-2); border: 1px solid var(--linha); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat, rgba(255, 48, 79, .15); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; color: var(--cinza-2); font-size: 16px; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- encerramento ---------- */
.final { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; text-align: center; }
.final__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 45%, rgba(11, 17, 32, .35), rgba(11, 17, 32, .9)); }
.final__gift { width: min(360px, 70%); margin: 0 auto 14px; animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55)); }
.final h2 { font-size: clamp(34px, 4.6vw, 60px); }
.final p { margin: 18px auto 0; max-width: 640px; font-size: 19px; color: var(--cinza-2); }
.final .hero__urg { margin-top: 22px; }
.final__cta { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px; }
.final__qr { display: flex; align-items: center; gap: 20px; padding: 14px 24px 14px 14px; text-align: left; background: rgba(11, 17, 32, .72); border: 1px solid rgba(168, 180, 200, .28); border-radius: 20px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.final__qr-code { flex: none; padding: 8px; background: #fff; border-radius: 12px; }
.final__qr-code img { width: 136px; height: 136px; image-rendering: pixelated; }
.final__qr-txt { display: flex; flex-direction: column; gap: 4px; max-width: 300px; }
.final__qr-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--wa); }
.final__qr-eyebrow svg { width: 17px; height: 17px; color: var(--wa); }
.final__qr-txt strong { margin-top: 4px; font-family: var(--display); font-size: 19px; font-weight: 800; line-height: 1.2; color: #fff; }
.final__qr-txt > span:not(.final__qr-eyebrow) { font-size: 14px; color: var(--cinza-2); line-height: 1.4; }
.final__qr-num { margin-top: 6px; font-family: var(--display); font-size: 22px; font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .01em; }
.final__qr-num:hover { color: var(--wa); }

/* ---------- rodapé ---------- */
.rod { padding: 40px 0 120px; border-top: 1px solid var(--linha); background: #080D19; font-size: 14px; color: var(--cinza); }
.rod__in { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: start; }
.rod__in img { height: 34px; width: auto; }
.rod p + p { margin-top: 8px; }
.rod a { color: #fff; }
.rod__regua { margin-top: 24px; width: 100%; height: auto; opacity: .9; }

/* ---------- WhatsApp fixo ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--wa); color: var(--noite); font-weight: 800; font-size: 15px; text-decoration: none; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); transition: transform .2s var(--ease), background .2s; }
.wa-float:hover { transform: translateY(-3px); background: var(--wa-hover); }
.wa-float.is-oculto { opacity: 0; pointer-events: none; transform: translateY(20px); }
.wa-float { transition: opacity .3s, transform .3s var(--ease), background .2s; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- campanha encerrada ---------- */
.fim-aviso { display: none; }
body.encerrada .fim-aviso { display: block; padding: 70px 0; text-align: center; }
body.encerrada .fim-aviso h2 { font-size: clamp(28px, 3.6vw, 44px); }
body.encerrada .fim-aviso p { margin: 14px auto 0; max-width: 640px; color: var(--cinza-2); font-size: 18px; }
body.encerrada .so-ativa { display: none !important; }

/* ---------- animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsivo ---------- */
@media (max-width: 1180px) {
  .hdr__nav a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 980px) {
  :root { --hdr: 60px; }
  .hdr__nav { display: none; }
  .hdr__in { justify-content: space-between; }
  .hdr__ka img { height: 26px; }
  .hdr__strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 20px 10px; }
  .hdr__strip::-webkit-scrollbar { display: none; }
  .hdr__strip a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linha); font-size: 13px; font-weight: 600; color: var(--cinza-2); text-decoration: none; }
  .hdr__strip a.is-sap { border-color: rgba(255, 48, 79, .6); color: #fff; }
  .hero { padding: 26px 0 40px; }
  .hero__in { grid-template-columns: 1fr; gap: 6px; }
  .hero__art { order: -1; width: min(300px, 74%); }
  .hero__logo { width: min(300px, 80%); margin-bottom: 18px; }
  .cd__in { grid-template-columns: 1fr; }
  .cd__ring { display: none; }
  .b13__in, .abertura { grid-template-columns: 1fr; }
  .b13__art { max-width: 380px; }
  .abertura img { max-width: 220px; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .btn { min-height: 50px; padding: 0 20px; font-size: 14px; }
  .btn--red { padding: 0 28px; }
  .hero h1 { font-size: 36px; }
  .hero__sub { font-size: 16px; margin-top: 14px; }
  .hero__urg { font-size: 15px; margin-top: 18px; }
  .hero__ctas { margin-top: 20px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .cd { padding: 30px 0; }
  .cd__clock { gap: 6px; }
  .cd__u { flex: 1; width: auto; padding: 12px 2px 10px; }
  .cd__n { font-size: 32px; }
  .cats { padding-top: 44px; }
  .bloco { padding: 30px 0; }
  .bloco__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bloco__logo { height: 48px; padding: 8px 12px; }
  .abertura { padding: 26px 20px; }
  .abertura p { font-size: 16px; }
  .b13 { padding: 56px 0; }
  .b13 p { font-size: 17px; }
  .final { padding: 64px 0; }
  .final__cta { flex-direction: column; gap: 18px; }
  .final__qr { width: 100%; max-width: 360px; gap: 14px; padding: 12px; }
  .final__qr-code { padding: 6px; }
  .final__qr-code img { width: 104px; height: 104px; }
  .final__qr-txt strong { font-size: 16px; }
  .final__qr-txt > span:not(.final__qr-eyebrow) { font-size: 12.5px; }
  .final__qr-num { font-size: 18px; }
  .final__qr-eyebrow { font-size: 10px; letter-spacing: .04em; }
  .auto__logos img { height: 38px; }
  .auto__logos img.alto { height: 54px; }
  .rod__in { grid-template-columns: 1fr; }
}

/* ==========================================================================
   V1.1 — filtros, barra compacta, diferenciais, autoridade, FAQ
   ========================================================================== */
.hdr__ofertas { margin-left: auto; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 700; color: #fff; text-decoration: none; border: 1px solid var(--linha); transition: border-color .2s, background .2s; }
.hdr__ofertas:hover { border-color: rgba(255, 48, 79, .7); background: rgba(255, 48, 79, .08); }
.hdr__wa { margin-left: 10px; }

/* filtros (cards com logos) */
.cat.is-ativo { border-color: var(--red); background: linear-gradient(160deg, rgba(201, 29, 61, .38), var(--noite-2) 75%); box-shadow: 0 0 0 1px var(--red) inset, 0 10px 28px rgba(201, 29, 61, .25); transform: translateY(-2px); }
.cat__logo--todas { background: var(--red-2); color: #fff; padding: 14px; }
.cat__logo--todas svg { width: 100%; height: 100%; }
.cat__txt { display: block; }
.cat__n { position: absolute; top: 8px; right: 8px; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--cinza-2); font-family: var(--body); font-size: 11.5px; font-weight: 800; line-height: 22px; }
.cat.is-ativo .cat__n { background: var(--red); color: #fff; }
.ferr { margin-top: 16px; display: flex; gap: 10px; align-items: center; }
.ferr .busca { flex: 1; margin-top: 0; }
.busca { margin-top: 0; }
.limpar { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255, 48, 79, .6); background: rgba(255, 48, 79, .08); color: #fff; font: 700 14px var(--body); cursor: pointer; }
.limpar:hover { background: rgba(255, 48, 79, .18); }
.limpar[hidden] { display: none; }
.busca__res { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--cinza-2); }
.vazio { padding: 30px 0 10px; text-align: center; }
.vazio h3 { font-size: 24px; }
.vazio p { margin: 8px auto 0; max-width: 560px; color: var(--cinza-2); }
.vazio__acoes { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.vazio[hidden] { display: none; }

/* barra compacta fixa (aparece só durante a lista) */
.fbar { position: fixed; left: 0; right: 0; top: var(--hdr); z-index: 45; background: rgba(11, 17, 32, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--linha); transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .28s var(--ease), opacity .2s; }
.fbar.is-visivel { transform: none; opacity: 1; pointer-events: auto; }
.fbar__in { display: flex; gap: 6px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; }
.fbar__in::-webkit-scrollbar { display: none; }
.fcat { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid var(--linha); background: var(--noite-2); color: var(--cinza-2); font: 600 13px var(--body); cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.fcat:hover { color: #fff; border-color: rgba(255, 48, 79, .5); }
.fcat__logo { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 4px; }
.fcat__logo img { width: 100%; height: 100%; object-fit: contain; }
.fcat__logo--todas { background: var(--red-2); color: #fff; padding: 7px; }
.fcat__logo--todas svg { width: 100%; height: 100%; }
.fcat__n { font-size: 11px; font-weight: 800; color: #8E9AB0; }
.fcat.is-ativo { background: var(--red-2); border-color: var(--red); color: #fff; }
.fcat.is-ativo .fcat__n { color: #FFD9DF; }
.fcat[hidden], .cat[hidden] { display: none; }

/* diferenciais */
.bens { padding: 22px 0; background: #0E1528; border-bottom: 1px solid var(--linha); }
.bens__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ben { display: flex; align-items: center; gap: 14px; }
.ben__ico { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 48, 79, .12); border: 1px solid rgba(255, 48, 79, .4); color: var(--red); }
.ben__ico svg { display: block; width: 26px; height: 26px; }
.ben b { display: block; font-family: var(--display); font-weight: 800; font-size: 16px; color: #fff; line-height: 1.2; }
.ben div > span { display: block; margin-top: 2px; font-size: 13.5px; color: var(--cinza); line-height: 1.35; }

/* autoridade (premium) */
.auto { position: relative; overflow: hidden; padding: 72px 0 56px; background: radial-gradient(60% 70% at 85% 10%, rgba(201, 29, 61, .2), transparent 70%), linear-gradient(180deg, #0B1120, #0E1528); border-top: 1px solid var(--linha); }
.auto__anel { position: absolute; right: -140px; top: -120px; width: 520px; opacity: .22; pointer-events: none; }
.auto__top { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.auto__top .sec-title { font-size: clamp(28px, 3.2vw, 42px); }
.auto__top .sec-sub { margin-top: 0; }
.auto__stats { margin-top: 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--linha); }
.stat { padding: 26px 24px; background: none; border: 0; border-radius: 0; }
.stat + .stat { border-left: 1px solid var(--linha); }
.stat b { font-size: clamp(40px, 4.1vw, 58px); letter-spacing: -0.04em; color: #fff; white-space: nowrap; }
.stat b i { font-style: normal; color: var(--red); }
.stat span { font-size: 16px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--cinza); }
.premios { margin-top: 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.premio { display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, rgba(217, 194, 154, .12), rgba(18, 26, 45, .9) 60%); border: 1px solid rgba(217, 194, 154, .45); }
.premio__logo { flex: none; height: 56px; min-width: 56px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; }
.premio__logo img { max-height: 36px; width: auto; }
.premio__logo--claro { width: 56px; background: #fff; padding: 8px; }
.premio__logo--claro img { max-height: 40px; }
.premio small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--champ); }
.premio b { display: block; margin-top: 2px; font-family: var(--display); font-weight: 800; font-size: 18px; color: #fff; line-height: 1.25; }
.parcs { margin-top: 30px; }
.parcs__tit { font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cinza); text-align: center; }
.parcs__grid { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.parc { height: 76px; display: flex; align-items: center; justify-content: center; padding: 0 16px; border-radius: 14px; background: rgba(18, 26, 45, .7); border: 1px solid var(--linha); }
.parc img { max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
.parc--claro span { display: flex; align-items: center; justify-content: center; height: 42px; padding: 0 12px; border-radius: 9px; background: #F4F6FA; }
.parc--claro img { max-height: 20px; }
.parc--sap img { max-height: 42px; }
.premio__logo { width: 150px; }
.premio__logo img { max-height: 40px; max-width: 140px; }

/* FAQ — transição suave */
.faq details[open] > div { animation: faqIn .22s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* WhatsApp flutuante (V1.1): compacto, nunca uma barra que cubra o conteúdo */
.wa-float.is-oculto { opacity: 0; pointer-events: none; transform: translateY(20px); }

@media (max-width: 1180px) {
  .oferta { grid-template-columns: minmax(0, 1fr) 86px 214px 176px; gap: 14px; }
  .destaque { grid-template-columns: 88px minmax(0, 1fr) 110px 214px; }
  .destaque .oferta__badge { width: 88px; height: 88px; }
  .destaque .oferta__acoes { grid-column: 2 / -1; flex-direction: row; }
  .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bens__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .oferta { grid-template-columns: minmax(0, 1fr) 86px 214px; }
  .oferta .oferta__acoes { grid-column: 1 / -1; flex-direction: row; }
  .oferta .oferta__acoes .btn { flex: 1; }
  .auto__top { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 720px) {
  .hdr__ofertas { display: none; }
  .hdr__wa { margin-left: auto; }
  .cats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .cat { padding: 10px 4px 9px; gap: 6px; font-size: 11px; line-height: 1.15; border-radius: 12px; }
  .cat__logo { width: 42px; height: 42px; padding: 6px; border-radius: 10px; }
  .cat__tag { display: none; }
  .cat__n { top: 4px; right: 4px; min-width: 18px; height: 17px; padding: 0 5px; font-size: 10px; line-height: 17px; }
  .ferr { flex-wrap: wrap; }
  .ferr .busca { flex: 1 1 100%; }
  .busca, .limpar { min-height: 50px; }
  .busca input { height: 48px; font-size: 15px; }
  .limpar { width: 100%; justify-content: center; }
  .bens { padding: 16px 0; }
  .bens__in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .ben { align-items: flex-start; gap: 10px; }
  .ben__ico { width: 38px; height: 38px; border-radius: 11px; }
  .ben__ico svg { width: 21px; height: 21px; }
  .ben b { font-size: 13.5px; }
  .ben span { font-size: 12px; }
  /* card mobile: nome → desconto + parcela → à vista → botões */
  .oferta { grid-template-columns: 74px minmax(0, 1fr); grid-template-areas: "id id" "off preco" "acoes acoes"; gap: 12px; padding: 14px; }
  .of__id { grid-area: id; gap: 12px; align-items: flex-start; }
  .oferta__badge { width: 48px; height: 48px; padding: 5px; border-radius: 11px; }
  .oferta__nome { font-size: 15.5px; }
  .oferta__tags { margin-top: 5px; }
  .tag { font-size: 11px; min-height: 20px; padding: 2px 8px; border-radius: 8px; }
  .of__off { grid-area: off; height: 66px; }
  .of__off b { font-size: 21px; }
  .of__preco { grid-area: preco; }
  .of__12x strong { font-size: 22px; }
  .oferta .oferta__acoes { grid-area: acoes; flex-direction: column; gap: 6px; }
  .btn--xs { min-height: 44px; font-size: 12.5px; }
  .destaque { grid-template-columns: 74px minmax(0, 1fr); grid-template-areas: "badge txt" "off preco" "acoes acoes"; gap: 12px; padding: 16px; }
  .destaque .oferta__badge { grid-area: badge; width: 64px; height: 64px; padding: 9px; border-radius: 14px; }
  .destaque__txt { grid-area: txt; }
  .destaque__nome { font-size: 20px; }
  .destaque__mods { font-size: 12.5px; }
  .destaque .of__off { grid-area: off; height: 74px; }
  .destaque .of__off b { font-size: 24px; }
  .destaque .of__preco { grid-area: preco; }
  .destaque .of__12x strong { font-size: 24px; }
  .destaque .oferta__acoes { grid-area: acoes; flex-direction: column; }
  .abertura { padding: 20px 18px; }
  .abertura img { max-width: 150px; }
  .b13__art { max-width: 220px; margin: 0 auto; }
  .auto { padding: 52px 0 40px; }
  .auto__stats { grid-template-columns: 1fr; }
  .stat { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 4px; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--linha); }
  .stat b { font-size: 36px; }
  .stat span { margin-top: 0; font-size: 11.5px; letter-spacing: .1em; text-align: right; }
  .premios { grid-template-columns: 1fr; }
  .premio { padding: 14px 16px; }
  .premio b { font-size: 16px; }
  .premio__logo { width: 96px; }
  .premio__logo img { max-width: 92px; max-height: 32px; }
  .parcs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .parc { height: 60px; padding: 0 10px; }
  .parc img { max-height: 26px; }
  .parc--claro span { height: 34px; padding: 0 8px; }
  .parc--claro img { max-height: 17px; }
  .fcat { height: 36px; font-size: 12.5px; }
  .fcat__logo { width: 27px; height: 27px; }
  .wa-float { right: 14px; bottom: 14px; width: 56px; height: 56px; padding: 0; justify-content: center; }
  .wa-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rod { padding-bottom: 90px; }
}


/* V1.4 — barra fixa de categorias no celular/tablet: setas + degradê nas extremidades */
.fbar__wrap { position: relative; }
.fbar__seta { display: none; }
@media (max-width: 980px) {
  .fbar__in { scroll-behavior: smooth; scroll-padding-inline: 44px; overscroll-behavior-x: contain; }
  .fbar__wrap::before, .fbar__wrap::after { content: ""; position: absolute; top: 0; bottom: 0; width: 56px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .2s; }
  .fbar__wrap::before { left: -1px; background: linear-gradient(90deg, rgba(11, 17, 32, .98) 35%, rgba(11, 17, 32, 0)); }
  .fbar__wrap::after { right: -1px; background: linear-gradient(270deg, rgba(11, 17, 32, .98) 35%, rgba(11, 17, 32, 0)); }
  .fbar__wrap.tem-esq::before, .fbar__wrap.tem-dir::after { opacity: 1; }
  .fbar__seta { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 48, 79, .55); background: var(--noite-3); color: #fff; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); }
  .fbar__seta:active { background: var(--red-2); }
  .fbar__seta--esq { left: 0; }
  .fbar__seta--dir { right: 0; }
  .fbar__seta[hidden] { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fbar__in { scroll-behavior: auto; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
