/* Dubai Millionaire · Blog. Leve, mobile primeiro, sem dependências. */
:root { --bg: #fbf7ef; --ink: #23163a; --muted: #6b5f80; --line: #ece3d3; --brand: #2a0e52; --brand2: #4b1d8a; --gold: #e8b04a; --gold2: #f6d06a; --card: #fff; --r: 16px;
  --ff: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Sans", "Noto Sans JP", sans-serif; --fh: Fredoka, var(--ff); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.7 var(--ff); }
img { max-width: 100%; height: auto; }
a { color: var(--brand2); }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
h1, h2, b.title { font-family: var(--fh); font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
:lang(ja) h1, :lang(ja) h2 { font-family: var(--ff); font-weight: 800; letter-spacing: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 999px; font: 700 15px var(--ff); text-decoration: none; white-space: nowrap; }
.btn--play { background: linear-gradient(180deg, #ffd875, #e8a321); color: #3a1d05; box-shadow: 0 2px 0 #b9790f, 0 6px 14px rgba(185,121,15,.25); }
.btn--play:hover { filter: brightness(1.05); }
.btn--lg { padding: 14px 26px; font-size: 17px; }

/* topo */
.top { position: sticky; top: 0; z-index: 30; background: rgba(42,14,82,.96); backdrop-filter: saturate(1.4) blur(8px); color: #fff; }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 62px; gap: 10px; }
.brand { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 600 18px var(--fh); }
.brand img { width: auto; height: 42px; }
.brand span { padding-left: 10px; border-left: 1px solid rgba(255,255,255,.25); color: var(--gold2); }
.top__nav { display: flex; align-items: center; gap: 10px; }
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); font: 700 13px var(--ff); }
.langs summary::-webkit-details-marker { display: none; }
.langs__menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 150px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.2); }
.langs__menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px; }
.langs__menu a:hover, .langs__menu a[aria-current] { background: #f4ecff; }

/* layout do artigo */
.layout { display: grid; gap: 32px; padding: 20px 0 10px; }
@media (min-width: 1024px) { .layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.post { min-width: 0; max-width: 760px; }
.crumbs { display: flex; gap: 6px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--brand2); }
.post h1 { font-size: clamp(28px, 5vw, 42px); margin: 8px 0 10px; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #f2e7ff; color: var(--brand2); font: 700 12px var(--ff); letter-spacing: .02em; text-transform: uppercase; }
.cover { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: #e9e0f5; }
.cover__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover__fb { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 40%, var(--c1), var(--c2)); }
.cover__fb::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(45deg, rgba(255,255,255,.06) 0 2px, transparent 2px 22px); }
.cover__fb img { position: relative; width: 34%; max-width: 260px; filter: drop-shadow(0 14px 18px rgba(0,0,0,.35)); }
.lead { font-size: 19px; color: #3a2d52; margin: 18px 0; }
.toc { margin: 18px 0 8px; padding: 14px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.toc b { font: 600 16px var(--fh); } .toc ol { margin: 6px 0 0; padding-left: 20px; } .toc a { text-decoration: none; } .toc a:hover { text-decoration: underline; }
.post section { scroll-margin-top: 80px; }
.post h2 { font-size: clamp(22px, 3.4vw, 28px); margin: 30px 0 8px; }
.post ul { padding-left: 22px; } .post li { margin: 4px 0; }
.faq details { margin: 8px 0; padding: 12px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; } .faq p { margin: 8px 0 0; }
.endcta { margin: 30px 0 18px; padding: 22px; border-radius: var(--r); text-align: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand2)); }
.endcta b { font: 600 24px var(--fh); color: var(--gold2); } .endcta p { margin: 6px 0 14px; opacity: .92; }

/* compartilhar */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0 6px; border-top: 1px solid var(--line); }
.share__t { font-weight: 700; margin-right: 4px; }
.share__b { display: inline-grid; place-items: center; grid-auto-flow: column; gap: 6px; min-width: 42px; height: 42px; padding: 0 10px; border: 0; border-radius: 12px; color: #fff; cursor: pointer; text-decoration: none; font: 700 14px var(--ff); }
.share__b svg { fill: currentColor; }
.share__b--whatsapp { background: #25d366; } .share__b--x { background: #111; } .share__b--facebook { background: #1877f2; } .share__b--telegram { background: #2aa3df; }
.share__b--linkedin { background: #0a66c2; } .share__b--line { background: #06c755; } .share__b--copy { background: #5c4a7a; } .share__b--native { background: var(--brand2); }

/* lateral e banners */
.side { display: none; } @media (min-width: 1024px) { .side { display: block; } }
.side__sticky { position: sticky; top: 82px; display: grid; gap: 16px; }
.bn { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; overflow: hidden; padding: 18px; border-radius: var(--r); color: #fff; text-decoration: none;
  background: radial-gradient(120% 80% at 70% 15%, #6a35b8, #2a0e52 70%); box-shadow: 0 10px 24px rgba(42,14,82,.18); }
.bn--art::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(20,6,40,.82)); }
.bn > * { position: relative; }
.bn__deco { position: absolute; width: 46%; max-width: 150px; top: 14px; right: 10px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.bn__t { font: 600 22px/1.15 var(--fh); color: var(--gold2); } :lang(ja) .bn__t { font-family: var(--ff); font-weight: 800; }
.bn__s { font-size: 14px; line-height: 1.4; opacity: .92; }
.bn__cta { align-self: flex-start; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: linear-gradient(180deg, #ffd875, #e8a321); color: #3a1d05; font: 800 14px var(--ff); }
.bn:hover .bn__cta { filter: brightness(1.06); }
.bn--side { aspect-ratio: 1 / 2; } .bn--side .bn__deco { width: 64%; max-width: 200px; top: 40px; right: 50%; transform: translateX(50%); }
.bn--box { aspect-ratio: 6 / 5; }
.bn--mid { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; min-height: 104px; padding: 14px 16px; padding-right: 110px; }
.bn--mid .bn__t { font-size: 19px; width: 100%; } .bn--mid .bn__cta { margin-top: 2px; } .bn--mid .bn__deco { width: 86px; top: 50%; right: 12px; transform: translateY(-50%); }
.mid { margin: 22px 0; } @media (min-width: 1024px) { .post .mid { display: none; } }
.mid--wide { margin: 8px 0 28px; }
.pop { position: fixed; z-index: 40; right: 16px; bottom: 16px; width: min(340px, calc(100% - 32px)); animation: popin .35s ease-out; }
.pop .bn { flex-direction: row; flex-wrap: wrap; align-items: center; min-height: 112px; padding: 14px 16px; padding-right: 100px; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.pop .bn__t { font-size: 18px; width: 100%; } .pop .bn__deco { width: 80px; top: 50%; right: 12px; transform: translateY(-50%); } .pop .bn__s { width: 100%; }
.pop__x { position: absolute; top: -10px; right: -6px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
@media (max-width: 600px) { .pop { left: 12px; right: 12px; bottom: 12px; width: auto; } }
@keyframes popin { from { transform: translateY(24px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pop { animation: none; } html { scroll-behavior: auto; } }

/* listas e cartões */
.hero { padding: 34px 0 18px; color: #fff; background: radial-gradient(120% 120% at 80% 0%, #6a35b8, var(--brand) 65%); }
.hero h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 6px; color: var(--gold2); } .hero p { margin: 0; max-width: 720px; opacity: .92; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; } .chips a { padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; text-decoration: none; font: 700 14px var(--ff); }
.cat { padding-top: 22px; scroll-margin-top: 70px; } .cat h2 { font-size: 26px; margin: 0 0 12px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(42,14,82,.12); }
.card .cover { border-radius: 0; } .card .cover__fb img { width: 30%; }
.card__b { display: grid; gap: 6px; padding: 14px 16px 16px; } .card__b b { font: 600 19px/1.25 var(--fh); } :lang(ja) .card__b b { font-family: var(--ff); font-weight: 800; }
.card__b > span:last-child { color: var(--muted); font-size: 14.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rel { padding: 10px 0 40px; } .rel h2 { font-size: 26px; }

/* rodapé */
.foot { margin-top: 30px; padding: 30px 0 90px; color: #e9dcff; background: var(--brand); font-size: 14px; }
.foot a { color: #fff; }
.foot__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.14); }
.foot__cta img { border-radius: 14px; } .foot__cta div { flex: 1; min-width: 220px; display: grid; } .foot__cta b { font: 600 20px var(--fh); color: var(--gold2); }
.foot__links, .foot__langs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; } .foot__langs a { opacity: .85; text-decoration: none; }
.foot__disc { margin: 18px 0 6px; font-size: 12.5px; line-height: 1.6; opacity: .78; max-width: 900px; } .foot__copy { margin: 0; opacity: .6; font-size: 12.5px; }

/* escolha de idioma */
.hub { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; padding: 40px 0; }
.hub h1 { margin: 0; font-size: 40px; } .hub p { color: var(--muted); max-width: 640px; }
.hub__langs { display: grid; gap: 10px; width: min(420px, 100%); } .hub__langs a { display: grid; padding: 14px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.hub__langs b { font: 600 20px var(--fh); } .hub__langs span { color: var(--muted); font-size: 14px; }
/* títulos equilibrados (sem palavra/caractere sozinho na última linha) */
h1, h2, .bn__t, .card__b b { text-wrap: balance; }
.bn--box { aspect-ratio: 1 / 1; } .bn--box .bn__deco { width: 38%; top: 12px; }
