/* Página inicial da MTpay — identidade 26/11/2026
   Grafite quente, Schibsted Grotesk e o dourado da marca só no que é ação
   ou dinheiro entrando. A peça que é só nossa: o comprovante de PIX. */
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --gold: #F2B33D;
  --ink: #0E0D0B;
  --ink-2: #13120F;
  --surface: #191714;
  --paper: #F3EFE7;
  --line: #2A2621;
  --line-2: #3A352E;
  --text: #F3EFE7;
  --muted: #A39D91;
  --dim: #77726A;
  --in: #6FD8A6;
  --r-sm: 6px; --r-md: 9px; --r-lg: 14px;
  --gutter: 16px;
  color-scheme: dark;
}
@media (min-width: 640px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--gold) 35%, transparent); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #17120A; padding: 8px 14px; border-radius: var(--r-md); font-weight: 600; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border-radius: var(--r-md);
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.005em;
  border: 1px solid transparent; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
  white-space: nowrap;
}
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-gold { background: var(--gold); color: #17120A; box-shadow: inset 0 -2px 0 rgb(0 0 0 / .16); }
.btn-gold:hover { background: color-mix(in srgb, var(--gold) 88%, #fff); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--muted); }

/* Topo */
.top { position: sticky; top: 0; z-index: 50; background: rgb(14 13 11 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.is-scrolled, .top.menu-open { border-color: var(--line); }
.top-row { height: 64px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand img { height: 28px; width: auto; }
.nav { display: none; gap: 26px; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.top-actions { display: none; margin-left: auto; align-items: center; gap: 20px; font-size: 15px; }
.top-actions .link { color: var(--muted); font-weight: 500; }
.top-actions .link:hover { color: var(--text); }
.menu-btn { margin-left: auto; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text); cursor: pointer; }
.menu { display: none; flex-direction: column; padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.menu.open { display: flex; }
.menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.menu a.btn { margin-top: 16px; border: 0; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .top-actions { display: flex; }
  .menu-btn, .menu, .menu.open { display: none; }
}

/* Hero */
.hero { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero { padding: 96px 0 104px; } .hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 72px; } }
.kicker { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.75rem, 7.4vw, 5.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.96; }
.lead { margin-top: 24px; max-width: 34em; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); line-height: 1.6; }
.ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); max-width: 560px; }
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--dim); }
.facts dd { margin: 4px 0 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* Comprovante (a peça da casa) */
.receipt {
  --hole: 7px;
  position: relative; margin: 0; padding: 26px 26px 34px; background: var(--paper); color: #1B1915;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  -webkit-mask: radial-gradient(circle var(--hole) at 50% 100%, #0000 98%, #000) 50% 100% / 20px 100% repeat-x;
          mask: radial-gradient(circle var(--hole) at 50% 100%, #0000 98%, #000) 50% 100% / 20px 100% repeat-x;
  box-shadow: 0 40px 80px -40px rgb(0 0 0 / .8);
  transform: rotate(-1.2deg); max-width: 420px; justify-self: center; width: 100%;
}
@media (min-width: 980px) { .receipt { justify-self: end; } }
.r-head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.r-head time { margin-left: auto; font-weight: 400; color: #6F6A60; font-size: 13px; }
.r-dot { width: 9px; height: 9px; border-radius: 50%; background: #1E9A62; box-shadow: 0 0 0 4px rgb(30 154 98 / .15); }
.r-amount { margin-top: 18px; font-size: clamp(2.3rem, 5vw, 2.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: #127A4C; }
.r-lines { margin: 22px 0 0; border-top: 1.5px dashed #CFC8BA; }
.r-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #E3DDD1; font-size: 15px; }
.r-lines dt { color: #6F6A60; }
.r-lines dd { margin: 0; font-weight: 600; text-align: right; }
.r-lines .r-total { border-bottom: 0; padding-top: 14px; font-size: 16px; }
.r-lines .r-total dd { font-weight: 800; }
.r-id { margin-top: 14px; font-size: 11.5px; color: #8A8478; word-break: break-all; line-height: 1.5; }
.r-id span { display: block; color: #6F6A60; font-size: 12px; margin-bottom: 2px; }
.receipt figcaption { margin-top: 18px; padding-top: 14px; border-top: 1.5px dashed #CFC8BA; font-size: 14px; color: #4D4943; }
.receipt figcaption strong { color: #1B1915; }
@media (prefers-reduced-motion: no-preference) {
  .receipt { animation: print .9s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes print { from { opacity: 0; transform: translateY(-14px) rotate(-1.2deg); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: rotate(-1.2deg); clip-path: inset(0 0 0 0); } }
}

/* Seções */
.sec { padding: 80px 0; }
.sec-line { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
@media (min-width: 900px) { .sec { padding: 112px 0; } }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
.sec-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* Linha do tempo (é uma sequência de verdade, com os horários) */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 32px 28px; border-left: 1px solid var(--line-2); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--muted); }
.timeline li:nth-child(3)::before { border-color: var(--gold); background: var(--gold); }
.timeline time { font-size: 14px; color: var(--dim); }
.timeline h3 { margin-top: 6px; font-size: 21px; }
.timeline p { margin-top: 8px; color: var(--muted); max-width: 30em; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .timeline li { padding: 28px 28px 0 0; border-left: 0; border-top: 1px solid var(--line-2); }
  .timeline li::before { left: 0; top: -5px; }
}

/* Jeitos de cobrar: linhas, não cartões */
.ways { display: grid; border-top: 1px solid var(--line-2); }
.way { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.way h3 { font-size: 23px; }
.way .who { color: var(--gold); font-size: 14px; font-weight: 500; }
.way p { color: var(--muted); max-width: 40em; }
.way .extra { color: var(--dim); font-size: 14px; }
@media (min-width: 900px) {
  .way { grid-template-columns: 260px 1fr; column-gap: 48px; align-items: baseline; padding: 34px 0; }
  .way h3 { grid-row: span 3; }
  .way .who { grid-column: 2; }
  .way p { grid-column: 2; }
}

/* Taxas */
.price-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 980px) { .price-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; } }
.prices { margin: 0; border-top: 1px solid var(--line-2); }
.prices div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.prices dt { color: var(--muted); font-size: 16px; }
.prices dd { margin: 0; font-size: 18px; color: var(--muted); white-space: nowrap; }
.prices dd b { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.sim { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.sim label { font-size: 15px; font-weight: 600; }
.sim .field { margin-top: 14px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 0 16px; background: var(--ink); }
.sim .field:focus-within { border-color: var(--gold); }
.sim .field span { color: var(--dim); font-weight: 600; }
.sim input { flex: 1; min-width: 0; height: 56px; background: none; border: 0; outline: 0; color: var(--text); font: 700 24px/1 inherit; font-family: inherit; letter-spacing: -0.02em; }
.sim dl { margin: 20px 0 0; }
.sim dl div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line-2); color: var(--muted); }
.sim dd { margin: 0; color: var(--text); font-weight: 600; }
.sim .sim-net { border-bottom: 0; padding-top: 14px; }
.sim .sim-net dt { color: var(--text); font-weight: 600; }
.sim .sim-net dd { color: var(--in); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.sim p { margin-top: 8px; font-size: 13px; color: var(--dim); }

/* API */
.dev-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .dev-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; } }
.checks { list-style: none; margin: 0 0 32px; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.code { min-width: 0; background: #0A0908; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.code-tabs { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
.code-tabs button { background: none; border: 0; color: var(--dim); font: 500 14px/1 inherit; font-family: inherit; padding: 9px 12px; border-radius: var(--r-sm); cursor: pointer; }
.code-tabs button[aria-selected="true"] { background: var(--surface); color: var(--text); }
.code pre { margin: 0; padding: 20px; overflow-x: auto; font: 13px/1.7 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #D9D3C7; }
.code .c { color: var(--gold); }
.code .s { color: #9FD9B8; }
.code .k { color: #E8C987; }

/* Dúvidas */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 80px; } }
.faq-side h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.035em; }
.faq-side p { margin: 16px 0 24px; color: var(--muted); }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-top: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 11px; }
.faq details p { padding: 0 32px 22px 0; color: var(--muted); }

/* Chamada final */
.cta { padding: 88px 0; border-top: 1px solid var(--line); }
.cta-row { display: grid; gap: 28px; align-items: end; }
.cta h2 { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; }
.cta p { color: var(--muted); margin-bottom: 18px; }
@media (min-width: 900px) { .cta-row { grid-template-columns: 1.4fr 1fr; gap: 64px; } }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--ink-2); }
.foot-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }
.foot .about { margin-top: 14px; color: var(--dim); max-width: 26em; font-size: 15px; }
.foot h4 { font-size: 14px; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.foot ul a { color: var(--dim); }
.foot ul a:hover { color: var(--text); }
.foot-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

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

/* Celular de exemplo no topo (voltou a pedido do dono, 30/11) */
.device{position:relative;justify-self:center;width:min(100%,330px)}
@media (min-width:980px){.device{justify-self:end}}
.phone{position:relative;width:100%;aspect-ratio:330/660;border-radius:48px;background:#0E0E11;border:10px solid #1F1F24;box-shadow:0 0 0 1px #34343B,0 50px 90px -30px rgba(0,0,0,.9),0 0 120px -40px color-mix(in srgb,var(--gold) 35%,transparent);padding:22px 18px;overflow:hidden}
.phone::before{content:"";position:absolute;top:8px;left:50%;transform:translateX(-50%);width:96px;height:24px;border-radius:999px;background:#000}
.ph-bar{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);padding:0 8px}
.wallet{margin-top:22px;padding:20px;border-radius:22px;background:linear-gradient(140deg,color-mix(in srgb,var(--gold) 70%,#fff),var(--gold) 55%,color-mix(in srgb,var(--gold) 82%,#000));color:#17120A}
.wallet small{font-size:12px;font-weight:600;opacity:.75}
.wallet strong{display:block;margin-top:4px;font-size:clamp(1.55rem,7vw,1.95rem);letter-spacing:-.04em;font-variant-numeric:lining-nums}
.wallet .acts{display:flex;gap:8px;margin-top:16px}
.wallet .acts span{flex:1;text-align:center;background:rgba(23,18,10,.12);border-radius:999px;padding:9px 0;font-size:12px;font-weight:600}
.tx{list-style:none;margin:16px 0 0;padding:0}
.tx li{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 6px;border-bottom:1px solid #222228;font-size:13.5px}
.tx li small{display:block;color:var(--dim);font-size:11.5px;margin-top:2px}
.tx .in{color:var(--in);font-weight:600;white-space:nowrap}
.tx .out{font-weight:600;white-space:nowrap}
.tx li.new{animation:txin .55s cubic-bezier(.2,.7,.2,1) 1.6s both}
@keyframes txin{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.toast{position:absolute;z-index:3;left:-22%;top:79%;width:250px;max-width:84%;display:flex;gap:12px;align-items:center;padding:14px 16px;border-radius:18px;background:rgba(29,29,34,.94);backdrop-filter:blur(8px);border:1px solid #3A3A42;box-shadow:0 22px 44px -12px rgba(0,0,0,.75);animation:toastin .6s cubic-bezier(.2,.7,.2,1) 1.2s both}
@keyframes toastin{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
.toast .ic{flex:none;width:40px;height:40px;border-radius:50%;background:var(--gold);color:#17120A;display:grid;place-items:center}
.toast b{display:block;font-size:14px}
.toast small{display:block;color:var(--muted);font-size:12px}
@media (max-width:520px){.toast{left:-4%;top:auto;bottom:9%}}
@media (prefers-reduced-motion:reduce){.toast,.tx li.new{animation:none}}

/* Selo e título do topo como eram antes (pedido do dono, 30/11) */
.badge{display:inline-flex;align-items:center;gap:9px;padding:8px 16px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:#D8D3C7;background:color-mix(in srgb,var(--gold) 7%,transparent)}
.badge i{width:8px;height:8px;border-radius:50%;background:var(--in);box-shadow:0 0 10px var(--in)}
.hero h1{margin-top:22px;font-size:clamp(2.6rem,6.6vw,4.5rem);letter-spacing:-.05em;line-height:1.02}
.hero h1 span{color:var(--gold)}

/* Menu do celular abre deslizando (30/11) */
@keyframes mt-menu-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.menu.open{animation:mt-menu-in .22s cubic-bezier(.2,.7,.2,1)}
@media (prefers-reduced-motion:reduce){.menu.open{animation:none}}
