:root{
  --bg:#0b1220; --card:#ffffff; --ink:#101828; --muted:#667085;
  --line:#e4e7ec; --brand:#0f766e; --brand-ink:#ffffff; --accent:#f59e0b;
  --brand-soft:#0f766e1f;
  --radius:22px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0; background:var(--bg); color:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

/* fundo simulando o site do anunciante */
.site{position:fixed; inset:0; padding:24px 18px; overflow:hidden; background:var(--bg)}
.site__bar{display:flex; align-items:center; justify-content:space-between; opacity:.55}
.site__logo{font-weight:700; letter-spacing:.2px}
.site__nav{display:flex; gap:14px; font-size:12px}
.site__hero{margin-top:64px; max-width:520px}
.site__kicker{font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--brand)}
.site__h1{font-size:clamp(26px,7vw,40px); line-height:1.1; margin:10px 0 12px}
.site__p{color:#b6c2d9; font-size:14px; line-height:1.6; margin:0}
.site__blur{filter:blur(18px) saturate(.8); transform:scale(1.04)}

/* overlay */
.overlay{
  position:fixed; inset:0; z-index:50; display:grid; place-items:center;
  padding:18px; background:rgba(6,10,18,.62);
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  cursor:pointer; animation:fade .22s ease-out;
}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{from{opacity:0; transform:translateY(14px) scale(.98)}to{opacity:1; transform:none}}

.card{
  position:relative; width:100%; max-width:380px; background:var(--card);
  color:var(--ink); border-radius:var(--radius); padding:26px 22px 20px;
  box-shadow:0 30px 80px rgba(0,0,0,.45); animation:pop .26s cubic-bezier(.2,.9,.3,1);
  text-align:center; cursor:pointer; user-select:none;
}
.card__icon{
  width:54px;height:54px;margin:0 auto 14px;border-radius:16px;
  display:grid;place-items:center;background:var(--brand-soft);color:var(--brand);
}
.card__icon svg{width:28px;height:28px}
.card h2{font-size:clamp(18px,5.2vw,21px); line-height:1.25; margin:0 0 8px; letter-spacing:-.01em}
.card p{font-size:13.5px; line-height:1.55; color:var(--muted); margin:0 0 18px}
.card .strong{color:var(--ink); font-weight:650}

.btn{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; min-height:48px; border:0; border-radius:13px;
  background:var(--brand); color:var(--brand-ink);
  font-size:15px; font-weight:650; font-family:inherit;
  cursor:pointer; padding:0 16px; transition:transform .12s ease, filter .12s ease;
}
.btn:active{transform:scale(.985)}
.btn--ghost{background:#f2f4f7; color:#344054}
.btn + .btn{margin-top:9px}

.opts{display:grid; gap:9px; margin-top:4px}
.opt{
  display:flex; align-items:center; gap:10px; text-align:left;
  min-height:48px; padding:0 14px; border:1px solid var(--line);
  border-radius:12px; background:#fff; font-size:14.5px; font-weight:550;
  color:var(--ink); cursor:pointer; width:100%; font-family:inherit;
}
.opt:hover{border-color:#cbd5e1; background:#fafcff}
.opt small{color:var(--muted); font-weight:450; margin-left:auto; font-size:12px}

.flags{display:grid; grid-template-columns:repeat(3,1fr); gap:9px; margin-top:4px}
.flag{
  border:1px solid var(--line); border-radius:12px; background:#fff;
  padding:10px 6px; cursor:pointer; font-family:inherit;
  display:grid; gap:4px; justify-items:center; font-size:12px; color:#344054;
}
.flag span{font-size:24px; line-height:1}
.flag:hover{border-color:#cbd5e1; background:#fafcff}

.coupon{
  margin-top:4px; border:1.5px dashed #d0d5dd; border-radius:14px;
  padding:14px; background:#fffbeb;
}
.coupon__off{font-size:28px; font-weight:800; letter-spacing:-.02em; color:#b45309; line-height:1}
.coupon__code{
  display:inline-block; margin-top:8px; padding:6px 12px; border-radius:8px;
  background:#fff; border:1px solid #fde68a; font-family:ui-monospace,Menlo,monospace;
  font-size:13px; letter-spacing:.08em;
}
.coupon__timer{margin-top:10px; font-size:12px; color:#92400e; font-variant-numeric:tabular-nums}

.captcha{
  display:flex; align-items:center; gap:12px; text-align:left;
  border:1px solid var(--line); border-radius:12px; padding:12px 14px; background:#fcfcfd;
}
.captcha__box{width:22px;height:22px;border-radius:6px;border:1.5px solid #98a2b3; display:grid;place-items:center; background:#fff}
.captcha__box svg{width:16px;height:16px;color:var(--brand); opacity:0; transform:scale(.6); transition:.25s}
.captcha.on .captcha__box svg{opacity:1; transform:none}
.captcha.on .captcha__box{border-color:var(--brand)}
.captcha__label{font-size:13px; color:#475467; line-height:1.35}
.captcha__brand{margin-left:auto; font-size:10px; color:#98a2b3; text-align:right; line-height:1.2}

.foot{margin-top:14px; font-size:11px; color:#98a2b3; line-height:1.5}
.foot a{color:#667085; text-decoration:underline; text-underline-offset:2px}

/* barra de preview (só do protótipo) */
.switcher{
  position:fixed; z-index:60; left:0; right:0; bottom:0;
  display:flex; gap:6px; padding:10px 10px calc(10px + env(safe-area-inset-bottom));
  overflow-x:auto; background:rgba(8,13,24,.92); border-top:1px solid #1f2937;
  -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px);
  scrollbar-width:none;
}
.switcher::-webkit-scrollbar{display:none}
.switcher button{
  flex:0 0 auto; padding:8px 11px; border-radius:999px; border:1px solid #263244;
  background:#111a2b; color:#c7d2e5; font-size:11.5px; cursor:pointer; font-family:inherit;
  white-space:nowrap;
}
.switcher button[aria-pressed="true"]{background:var(--brand); border-color:var(--brand); color:var(--brand-ink)}
.switcher .divider{flex:0 0 auto; width:1px; background:#263244; margin:2px 4px}

.toast{
  position:fixed; z-index:70; left:50%; bottom:78px; transform:translate(-50%,10px);
  max-width:92vw; padding:12px 14px; border-radius:12px;
  background:#052e2b; border:1px solid var(--brand); color:#d1fae5;
  font-size:12px; line-height:1.5; box-shadow:0 18px 40px rgba(0,0,0,.4);
  opacity:0; pointer-events:none; transition:.22s ease; word-break:break-all;
}
.toast.show{opacity:1; transform:translate(-50%,0)}
.toast b{color:#fff}

@media (max-width:360px){ .card{padding:22px 16px 16px} }
