/* PayCentral Gateway — site institucional (paycentralgateway.com). Estático, sem JavaScript; mesma paleta do app. */
:root {
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-deep: #0b3f3b;
  --mint: #99f6e4;
  --mint-soft: #e6f6f2;
  --ink: #12252b;
  --body: #34474f;
  --muted: #5a6f78;
  --line: #e3eaed;
  --bg: #ffffff;
  --bg-alt: #f6f8f9;
  --red: #c02b2b;
  --amber: #9a5b00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 40, 45, .06), 0 12px 32px rgba(16, 40, 45, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0; }
h1 { font-size: clamp(2rem, 4vw, 2.95rem); letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -0.02em; font-weight: 800; margin-bottom: 36px; }
h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
p { margin: 0; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--body); max-width: 560px; }
.nowrap { white-space: nowrap; }
.fine { font-size: .88rem; color: var(--muted); margin-top: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; border-radius: 10px; padding: 10px 18px; border: 1px solid transparent; transition: background .15s, box-shadow .15s, transform .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-lg { padding: 14px 24px; font-size: 1rem; }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(15, 118, 110, .28); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-ghost { background: #fff; color: var(--teal-dark); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d8dc; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { background: var(--mint-soft); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 1.12rem; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo b { color: var(--teal-dark); font-weight: 800; }
.logo span { font-weight: 500; color: var(--muted); }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { color: var(--body); font-weight: 600; font-size: .93rem; }
.nav a:hover { color: var(--teal-dark); text-decoration: none; }
.header-cta { margin-left: 4px; }
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }
.menu-panel { position: absolute; right: 0; top: 52px; width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; }
.menu-panel a { padding: 10px 12px; color: var(--ink); font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--bg-alt); text-decoration: none; }
.menu-panel .btn { margin-top: 6px; color: #fff; }

/* Hero */
/* Herói: mesmo painel das telas de entrada do app (login-shell) — gradiente teal escuro + halos. */
.hero { position: relative; overflow: hidden; padding: 76px 0 104px; color: #cfe9e4;
  background: linear-gradient(160deg, var(--teal-deep) 0%, var(--teal-dark) 55%, var(--teal) 100%); }
.hero::after { content: ''; position: absolute; right: -180px; bottom: -260px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(153, 246, 228, .32), rgba(153, 246, 228, 0) 60%); pointer-events: none; }
.hero::before { content: ''; position: absolute; left: -140px; top: -180px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 65%); pointer-events: none; }
.hero .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .95fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--mint); }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: #cfe9e4; }
.hero .fine { color: #b5d8d1; }
.hero-feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; max-width: 520px; }
.hero-feats li { display: flex; gap: 14px; align-items: flex-start; }
.hero-feats svg { flex: none; width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: rgba(255, 255, 255, .12); stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-feats b { display: block; color: #fff; font-size: 1.02rem; }
.hero-feats span { font-size: .92rem; color: #cfe9e4; }
.btn-outline { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline:hover { background: rgba(255, 255, 255, .16); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-visual { position: relative; }
.hero .mock, .hero .receipt { box-shadow: 0 10px 40px rgba(5, 30, 28, .35); }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; transform: rotate(-1deg); }
.mock-top { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.mock-top .dot { width: 9px; height: 9px; border-radius: 50%; background: #d5dee1; }
.mock-url { margin-left: 10px; font-size: .74rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px; }
.mock-body { padding: 18px; }
.mock-title { font-weight: 800; color: var(--ink); font-size: 1.05rem; margin-bottom: 12px; }
.mock-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.tile { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: .74rem; color: var(--muted); display: flex; flex-direction: column; }
.tile b { color: var(--ink); font-size: .8rem; }
.tile-on { background: var(--teal); border-color: var(--teal); color: #d8f5ef; }
.tile-on b { color: #fff; }
.mock-row { display: grid; grid-template-columns: 18px 1fr .8fr .9fr 74px; align-items: center; gap: 10px; padding: 9px 8px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--body); }
.mock-row.sel { background: #f1faf8; }
.mock-row .amt { text-align: right; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.cb { width: 14px; height: 14px; border: 1.5px solid #b9c7cb; border-radius: 4px; }
.cb.on { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 2px #fff; }
.pill { font-style: normal; font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; text-align: center; }
.pill.ok { background: var(--mint-soft); color: var(--teal-dark); }
.pill.late { background: #fdecec; color: var(--red); }
.pill.wait { background: #fff3e0; color: var(--amber); }
.mock-pay { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg-alt); border-radius: 10px; padding: 10px 12px; font-size: .78rem; color: var(--muted); }
.mock-pay b { background: var(--teal); color: #fff; border-radius: 8px; padding: 7px 14px; font-size: .82rem; }
.receipt { position: absolute; left: -24px; bottom: -48px; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 16px; }
.receipt b { display: block; color: var(--ink); font-size: .9rem; }
.receipt span { font-size: .78rem; color: var(--muted); }
.check { width: 32px; height: 32px; border-radius: 50%; background: var(--mint-soft); color: var(--teal); display: grid; place-items: center; font-weight: 800; }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; }
.step-n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--teal); color: #fff; font-weight: 800; margin-bottom: 16px; }
.steps p, .card p, .pay-card p, .sec p { color: var(--muted); font-size: .96rem; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ic { width: 40px; height: 40px; padding: 9px; border-radius: 11px; background: var(--mint-soft); stroke: var(--teal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pay-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; }
.pay-card.featured { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15, 118, 110, .10); }
.pay-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.tag { position: absolute; top: 24px; right: 24px; background: var(--mint-soft); color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--body); font-size: .96rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--mint-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.big li { margin: 14px 0; }
.ticks.big b { color: var(--ink); }

.section.dark { background: linear-gradient(160deg, var(--teal-deep), #0d524c); color: #cfe9e4; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark .eyebrow { color: var(--mint); }
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sec { border: 1px solid rgba(153, 246, 228, .18); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .04); }
.section.dark .sec p { color: #b5d8d1; }

.biz-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.biz-grid h2 { margin-bottom: 16px; }
.biz-panel { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 22px; }
.biz-title { font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.biz-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.biz-kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.biz-kpis span { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.biz-kpis b { color: var(--ink); font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.biz-kpis b.red { color: var(--red); }
.biz-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 11px 4px; border-top: 1px solid var(--line); font-size: .84rem; }

.faq { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); font-weight: 400; }
.faq[open] summary::after { content: '–'; }
.faq p { padding: 0 20px 18px; color: var(--muted); }

.cta-band { background: var(--teal); padding: 72px 0; }
.cta-inner { text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 10px; }
.cta-inner p { color: #d3f1eb; margin-bottom: 26px; }

/* Footer */
.site-footer { background: #0c2f2c; color: #a9c6c1; padding: 56px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer .logo b { color: #fff; }
.site-footer .logo span { color: #a9c6c1; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a:not(.logo) { display: block; color: #a9c6c1; margin: 8px 0; overflow-wrap: anywhere; }
.site-footer a:not(.logo):hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 24px 28px; font-size: .84rem; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.notfound h1 { font-size: 3rem; margin-bottom: 10px; }
.notfound p { color: var(--muted); margin-bottom: 26px; }
.notfound .back { margin: 18px 0 0; }
.push-right { margin-left: auto; }

/* Responsive */
@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .hero-grid, .biz-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 56px 0 80px; }
  .hero-feats svg { width: 40px; height: 40px; padding: 9px; }
  .receipt { left: 12px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .sec-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .wrap { padding: 0 18px; }
  .steps, .cards, .pay-grid, .sec-grid { grid-template-columns: 1fr; }
  .mock { transform: none; }
  .mock-row { grid-template-columns: 16px 1fr .9fr 64px; }
  .mock-row > span:nth-of-type(2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}
