/* ==========================================================================
   Makários Pay — landing page
   Brand: #EAC800 (gold) + #1E1E1E (graphite)
   Type:  GetVoIP Grotesque (display) + Montserrat (text)
   ========================================================================== */

@font-face {
  font-family: 'GetVoIP Grotesque';
  src: url('../fonts/getvoip-grotesque.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #EAC800;
  --gold-deep: #D4B500;
  --gold-soft: #FBF3C4;
  --gold-wash: #FDF9E6;
  --ink: #1E1E1E;
  --ink-2: #262626;
  --ink-3: #333333;
  --paper: #F7F6F1;
  --white: #FFFFFF;
  --line: #E6E3D9;
  --line-dark: #3A3A3A;
  --text: #1E1E1E;
  --muted: #5C5B57;
  --muted-dark: #A9A8A2;
  --ok: #17803D;
  --ok-soft: #E3F4E8;

  --font-display: 'GetVoIP Grotesque', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', system-ui, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-lg: 28px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 1px 0 rgba(30, 30, 30, .04), 0 22px 44px -24px rgba(30, 30, 30, .38);
  --shadow-gold: 0 18px 40px -18px rgba(178, 150, 0, .55);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--ink); }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */
.h2, .h3, .hero__title, .tile h3, .feature h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
.h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.06; }
.h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.soft { color: #8A8981; }
.muted { color: var(--muted); font-size: 1.0625rem; line-height: 1.65; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ''; width: 22px; height: 4px; background: var(--gold); border-radius: 1px; }
.eyebrow--gold { color: var(--gold); }
.mono { font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .68rem; letter-spacing: .02em; color: var(--muted); word-break: break-all; }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd); border-radius: 999px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary { --bg: var(--gold); --fg: var(--ink); }
.btn--primary:hover { --bg: var(--gold-deep); box-shadow: var(--shadow-gold); }
.btn--ghost:hover { --bg: var(--paper); }
.btn--outline { --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--white); }
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { --bg: #000; }
.btn--outline-dark { --bd: var(--ink); }
.btn--outline-dark:hover { --bg: rgba(30, 30, 30, .08); }
.btn--light { --bg: var(--white); --fg: var(--ink); }
.btn--light:hover { --bg: var(--gold); }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600; line-height: 1.5;
}
.pill svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--wait { background: var(--gold-soft); color: #6B5A00; }
.pill--secure { background: var(--ok-soft); color: var(--ok); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: var(--white); font-size: .86rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 42px; padding-top: 8px; padding-bottom: 8px; text-align: center; flex-wrap: wrap; }
.announce__tag { background: var(--gold); color: var(--ink); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; }
.announce__link { font-weight: 600; color: var(--gold); border-bottom: 1px solid currentColor; }
.announce__link:hover { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.header__logo img { height: 38px; width: auto; }
.nav { display: flex; gap: 4px; margin-right: auto; }
.nav > a { padding: 8px 12px; font-size: .92rem; font-weight: 500; border-radius: 8px; position: relative; }
.nav > a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav > a:hover::after { transform: scaleX(1); }
.nav__mobile-actions { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.lang__btn:hover { background: var(--paper); }
.lang__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s var(--ease);
}
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu button { width: 100%; text-align: left; padding: 10px 12px; border-radius: 8px; font-size: .9rem; }
.lang__menu button:hover { background: var(--paper); }
.lang__menu button.is-active { font-weight: 700; }
.lang__menu button.is-active::after { content: ''; float: right; margin-top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
  background:
    radial-gradient(900px 500px at 85% 20%, var(--gold-wash), transparent 70%),
    var(--white);
}
.hero::before { /* fine grain */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.45 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero__title { font-size: clamp(2.2rem, 5.6vw, 4.7rem); line-height: 1.02; overflow-wrap: break-word; }
.hero__title mark, .h2 mark {
  color: inherit; padding: 0 .06em;
  background: linear-gradient(transparent 64%, var(--gold) 64%, var(--gold) 90%, transparent 90%);
}
.hero__lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.hero__ticks li { display: inline-flex; align-items: center; gap: 8px; }
.hero__ticks li::before {
  content: ''; width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}

.hero__visual { position: relative; padding: 36px 0 48px 40px; }
.hero__glow {
  position: absolute; inset: 8% -10% 0 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(234, 200, 0, .38), transparent);
  filter: blur(30px);
}
.hero__photo { position: relative; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); }

.float-card {
  position: absolute; z-index: 2;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 16px 18px;
}
.float-card__label { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.float-card__value { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.float-card__meta { font-size: .8rem; color: var(--muted); }
.float-card--methods { left: -8px; top: 0; width: 270px; }
.float-card--methods ul { margin-top: 10px; }
.float-card--methods li { display: flex; align-items: center; gap: 10px; padding: 9px 0; font-size: .88rem; font-weight: 600; border-top: 1px solid var(--line); }
.float-card--methods li:first-child { border-top: 0; }
.float-card--methods .pill, .float-card--methods .mini-logos { margin-left: auto; }
.ico-sq { width: 28px; height: 28px; border-radius: 8px; background: var(--paper); display: grid; place-items: center; }
.ico-sq svg { width: 16px; height: 16px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.ico-sq img { width: 16px; height: 16px; }
.mini-logos { display: flex; gap: 6px; align-items: center; }
.mini-logos img { height: 12px; width: auto; }

.float-card--sale { right: -12px; bottom: 120px; display: flex; gap: 14px; align-items: center; padding-right: 26px; }
.check { width: 38px; height: 38px; border-radius: 50%; background: var(--ok-soft); display: grid; place-items: center; }
.check svg { width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.float-card--balance {
  left: 70px; bottom: 0; width: 250px; background: var(--ink); border-color: var(--ink); color: var(--white); overflow: hidden;
}
.float-card--balance .float-card__label { color: var(--muted-dark); }
.float-card__mark { position: absolute; right: -18px; top: -14px; width: 92px; opacity: .14; }
.spark { width: 100%; height: 30px; margin-top: 8px; }
.spark path { fill: none; stroke: var(--gold); stroke-width: 2.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* Hero entrance */
.js [data-anim], .js .hero__photo, .js .float-card { opacity: 0; }
.is-loaded [data-anim] { animation: rise .8s var(--ease) forwards; }
.is-loaded [data-anim]:nth-child(2) { animation-delay: .08s; }
.is-loaded [data-anim]:nth-child(3) { animation-delay: .16s; }
.is-loaded [data-anim]:nth-child(4) { animation-delay: .24s; }
.is-loaded [data-anim]:nth-child(5) { animation-delay: .32s; }
.is-loaded .hero__photo { animation: fade 1s var(--ease) .1s forwards; }
.is-loaded .float-card--methods { animation: pop .7s var(--ease) .5s forwards; }
.is-loaded .float-card--sale { animation: pop .7s var(--ease) .7s forwards, bob 6s ease-in-out 1.6s infinite; }
.is-loaded .float-card--balance { animation: pop .7s var(--ease) .9s forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(-8px); opacity: 1; } }

/* ---------- Brands ---------- */
.brands { padding: 28px 0 8px; }
.brands__inner { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.brands__title { font-size: .95rem; font-weight: 500; color: var(--muted); line-height: 1.45; }
.brands__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brands__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 8px 0; }
.brands__row img { width: auto; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.brands__row img:hover { filter: none; opacity: 1; }
.brands__row .is-dup { display: none; }

/* ---------- Payment methods ---------- */
.methods__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas: 'intro intro' 'checkout list'; gap: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 72px); align-items: stretch;
}
.methods__intro { grid-area: intro; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; }
.methods__intro .muted { justify-self: end; }
.methods__intro .muted { max-width: 22em; }
.checkout {
  grid-area: checkout; border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px);
  background: radial-gradient(120% 90% at 50% 0%, var(--gold-soft), var(--paper) 70%);
  display: grid; place-items: center;
}
.checkout__card { width: 100%; max-width: 360px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.checkout__head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.checkout__store { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.checkout__avatar { width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: var(--gold); display: grid; place-items: center; font-family: var(--font-display); font-size: .85rem; }
.checkout__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-size: .85rem; color: var(--muted); }
.checkout__total strong { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink); }
.checkout__panel { display: none; flex-direction: column; gap: 12px; min-height: 178px; }
.checkout__panel.is-active { display: flex; animation: rise .45s var(--ease); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .72rem; font-weight: 600; color: var(--muted); }
.field__input { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: .88rem; font-weight: 500; color: var(--ink); letter-spacing: .02em; }
.field__input img { height: 14px; width: auto; }
.field__input--select::after { content: ''; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checkout__note { font-size: .8rem; color: var(--muted); line-height: 1.5; }
.pix-box { display: flex; gap: 16px; align-items: center; }
.qr { width: 112px; height: 112px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; fill: var(--ink); flex-shrink: 0; shape-rendering: crispEdges; }
.copy-chip { display: inline-block; margin-top: 10px; padding: 6px 12px; border-radius: 999px; background: var(--paper); font-size: .76rem; font-weight: 600; }
.barcode { height: 64px; border-radius: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); }
.wallet-btns { display: grid; gap: 10px; }
.wallet-btn { height: 46px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; }
.wallet-btn img { height: 22px; width: auto; }
.checkout__pay { display: grid; place-items: center; height: 48px; border-radius: 10px; background: var(--ink); color: var(--white); font-weight: 600; font-size: .92rem; }
.checkout__by { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .7rem; color: var(--muted); }
.checkout__by img { height: 16px; width: auto; }

.method-list { grid-area: list; display: flex; flex-direction: column; justify-content: center; }
.method-list button {
  position: relative; text-align: left; padding: 18px 0 18px 22px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 2px; color: #9C9B94; transition: color .25s;
}
.method-list button:first-child { border-top: 1px solid var(--line); }
.method-list button > span { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.35rem); }
.method-list button small { font-size: .82rem; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .3s; color: var(--muted); }
.method-list button::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 22px; width: 4px; border-radius: 2px; background: var(--gold); transform: scaleY(0); transition: transform .3s var(--ease); }
.method-list button:hover { color: var(--ink-3); }
.method-list button[aria-selected="true"] { color: var(--ink); }
.method-list button[aria-selected="true"] small { max-height: 3em; opacity: 1; }
.method-list button[aria-selected="true"]::before { transform: scaleY(1); }

/* ---------- Solutions bento ---------- */
.solutions { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .muted { max-width: 26em; justify-self: end; }
.bento {
  display: grid; gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: minmax(140px, auto);
  grid-template-areas:
    'pos   tap    link'
    'pos   tap    link'
    'pos   online link'
    'split online rec'
    'split online rec';
}
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); isolation: isolate; display: flex; flex-direction: column; }
.tile__body { position: relative; z-index: 2; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; max-width: 30em; }
.tile h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.12; }
.tile p { font-size: .94rem; line-height: 1.55; }
.tile--photo { color: var(--white); background: var(--ink); min-height: 300px; }
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.tile--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20, 20, 20, .86) 0%, rgba(20, 20, 20, .45) 42%, rgba(20, 20, 20, 0) 72%); }
.tile--photo p { color: rgba(255, 255, 255, .82); }
.tile--photo:hover img { transform: scale(1.04); }
.tile--pos { grid-area: pos; }
.tile--tap { grid-area: tap; }
.tile--online { grid-area: online; }
.tile--link { grid-area: link; }
.tile--split { grid-area: split; background: var(--gold); }
.tile--recurring { grid-area: rec; background: var(--paper); border: 1px solid var(--line); }
.tile--ui { justify-content: space-between; }
.tile--ui .tile__body p { color: var(--ink-3); }

.bubble {
  position: absolute; z-index: 2; right: 18px; bottom: 22px; left: 30%;
  background: var(--white); color: var(--ink); border-radius: 16px 16px 4px 16px; padding: 14px; box-shadow: var(--shadow-card);
  font-size: .8rem; line-height: 1.45;
}
.bubble p { color: var(--ink); }
.bubble__link { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; border-radius: 10px; background: var(--gold); font-weight: 700; font-size: .82rem; }
.bubble__link img { width: 16px; height: 16px; }
.tile--link:hover .bubble { transform: translateY(-4px); }
.bubble { transition: transform .4s var(--ease); }

.split-ui { margin: 0 clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px); background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: 0 18px 30px -22px rgba(80, 64, 0, .6); }
.split-ui__total { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.split-ui__total strong { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: 1.1rem; }
.split-ui__bar { display: flex; gap: 4px; height: 10px; margin: 12px 0 14px; }
.split-ui__bar span { width: var(--w); border-radius: 3px; background: var(--ink); }
.split-ui__bar span:nth-child(2) { background: var(--gold); }
.split-ui__bar span:nth-child(3) { background: #BDBBB3; }
.split-ui li { display: flex; align-items: center; gap: 10px; font-size: .84rem; padding: 4px 0; }
.split-ui li i { width: 10px; height: 10px; border-radius: 3px; background: var(--ink); }
.split-ui li:nth-child(2) i { background: var(--gold); }
.split-ui li:nth-child(3) i { background: #BDBBB3; }
.split-ui li b { margin-left: auto; font-weight: 600; }

.rec-ui { margin: 0 clamp(22px, 2.4vw, 30px) clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; }
.rec-ui li { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: .86rem; font-weight: 500; }
.rec-ui .pill { margin-left: auto; }
.rec-ui__date { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--ink); color: var(--white); font-family: var(--font-display); font-size: .95rem; line-height: 1; }
.rec-ui__date small { font-family: var(--font-body); font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }

/* ---------- Why ---------- */
.why { padding-top: 0; }
.why__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.why__copy { display: flex; flex-direction: column; gap: 18px; }
.why__photo { margin: 0; position: relative; }
.why__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); }
.why__photo::before { content: ''; position: absolute; left: -18px; bottom: -18px; width: 38%; height: 46%; background: var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.why__photo { isolation: isolate; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 96px); }
.feature { padding: 30px 0 34px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.feature svg { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--gold); fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; transition: transform .3s var(--ease); }
.feature:hover svg { transform: rotate(-6deg) scale(1.06); }
.feature h3 { font-size: 1.22rem; line-height: 1.2; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Dark: account + developers ---------- */
.dark { background: var(--ink); color: var(--white); overflow: hidden; }
.dark .muted { color: var(--muted-dark); }
.dark__pattern, .footer__pattern { position: absolute; fill: #262626; pointer-events: none; }
.dark__pattern { width: min(980px, 110vw); right: -18%; top: -6%; }
.dark .container { position: relative; }
.account { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.account__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.checklist { display: flex; flex-direction: column; gap: 12px; margin: 6px 0 10px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checklist li::before { content: ''; flex-shrink: 0; margin-top: 7px; width: 14px; height: 4px; background: var(--gold); border-radius: 1px; }

.phones { position: relative; height: 560px; }
.phone { position: absolute; width: 270px; height: 548px; border-radius: 42px; padding: 10px; background: #0E0E0E; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 1.5px #3c3c3c; }
.phone__screen { width: 100%; height: 100%; border-radius: 33px; overflow: hidden; }
.phone--front { right: 4%; top: 0; z-index: 2; transform: rotate(2deg); }
.phone--back { left: 2%; top: 60px; transform: rotate(-6deg); opacity: .96; }
.app { background: var(--white); color: var(--ink); font-size: 11px; height: 100%; }
.app--light { padding: 22px 18px; background: #FAFAF8; }
.app__bar { display: flex; align-items: center; justify-content: space-between; height: 30px; }
.app__bar img { height: 22px; width: auto; }
.app__bar--dark { padding: 0 2px; }
.app__bell { width: 14px; height: 14px; border: 1.6px solid var(--white); border-radius: 7px 7px 3px 3px; opacity: .8; }
.app__title { margin-top: 24px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.app__big { font-family: var(--font-display); font-size: 28px; }
.app__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.app__tiles span { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 10px; font-weight: 700; font-size: 13px; display: flex; flex-direction: column; }
.app__tiles small { font-weight: 500; font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.app__head { background: var(--ink-3); color: var(--white); padding: 22px 18px 20px; border-radius: 0 0 26px 26px; position: relative; overflow: hidden; }
.app__head::after { content: ''; position: absolute; right: -60px; top: 40px; width: 200px; height: 200px; border-radius: 50%; background: #3F3F3F; z-index: 0; }
.app__head > * { position: relative; z-index: 1; }
.app__label { margin-top: 22px; color: var(--muted-dark); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.app__balance { font-family: var(--font-display); font-size: 26px; }
.app__actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 18px; }
.app__actions span { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9px; }
.app__actions span::before { content: ''; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); }
.app__actions i { font-style: normal; }
.app__section { padding: 18px 18px 6px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.app__list { padding: 0 18px; }
.app__list li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #EFEDE6; font-size: 11.5px; font-weight: 500; }
.app__list b { margin-left: auto; font-weight: 700; }
.app__list b.in { color: var(--ok); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.dot--out { background: #BDBBB3; }

.dev {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); grid-template-areas: 'copy code' 'chips code';
  gap: 24px clamp(32px, 5vw, 72px); margin-top: clamp(72px, 9vw, 128px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line-dark);
}
.dev__copy { grid-area: copy; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.code { grid-area: code; background: #141414; border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; align-self: start; }
.code__bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-dark); }
.code__tab { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 6px; background: var(--ink-3); }
.code__dots { display: flex; gap: 6px; }
.code__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A3A; }
.code__dots i:first-child { background: var(--gold); }
.code pre { margin: 0; padding: 22px 20px; overflow-x: auto; font: 500 .84rem/1.75 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #DAD8D0; }
.c-k { color: var(--gold); }
.c-s { color: #B7E3A0; }
.dev__chips { grid-area: chips; display: flex; flex-wrap: wrap; gap: 8px; align-self: end; }
.dev__chips span { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-dark); font-size: .8rem; color: #D6D4CC; }

/* ---------- Segments ---------- */
.segments .section-head { align-items: end; }
.segments__side { display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.segments__side .muted { text-align: right; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s; }
.carousel-nav button:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.carousel-nav button:disabled { opacity: .3; cursor: default; }
.carousel-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.carousel {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 8px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.carousel::-webkit-scrollbar { display: none; }
.seg { position: relative; flex: 0 0 clamp(240px, 26vw, 320px); aspect-ratio: 7 / 9; margin: 0; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; }
.seg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.seg:hover img { transform: scale(1.05); }
.seg figcaption { position: absolute; left: 14px; top: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(30, 30, 30, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--white); font-size: .84rem; font-weight: 600; }
.seg::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.seg:hover::after { transform: scaleX(1); }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(32px, 6vw, 96px); }
.faq__grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: ''; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E1E1E' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); background-color: var(--gold); }
.faq__list summary:hover::after { background-color: var(--gold-soft); }
.faq__list details p { padding: 0 56px 24px 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.cta-final { padding-top: 0; }
.cta-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: var(--gold); border-radius: var(--radius-lg); padding: clamp(32px, 5vw, 72px); overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; left: -80px; bottom: -140px; width: 420px; height: 420px; background: url('../img/logo/mark.svg') center/contain no-repeat; filter: brightness(.92); opacity: .5; }
.cta-box__copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.cta-box__copy p { font-size: 1.08rem; max-width: 30em; color: #3A3300; }
.cta-box__visual { position: relative; }
.cta-box__visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.float-card--pix { left: -28px; bottom: 28px; display: flex; gap: 12px; align-items: center; }
.js .float-card--pix { opacity: 1; }
.float-card__pix { width: 34px; height: 34px; }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(64px, 8vw, 96px) 0 32px; }
.footer__pattern { width: 520px; right: -120px; bottom: -160px; }
.footer .container { position: relative; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__brand { display: flex; flex-direction: column; gap: 18px; }
.footer__brand img { width: 186px; height: auto; }
.footer__brand p { color: var(--muted-dark); max-width: 22em; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials a:hover svg { stroke: var(--ink); }
.socials svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.socials .fill { fill: var(--white); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.footer__col a, .footer__col p { color: #CFCDC5; font-size: .93rem; }
.footer__col a:hover { color: var(--white); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: var(--muted-dark); }
.lang--inline { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 999px; }
.lang--inline button { padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--muted-dark); }
.lang--inline button.is-active { background: var(--gold); color: var(--ink); }
.footer__disclaimer { margin-top: 18px; font-size: .78rem; color: #8E8D86; max-width: 70em; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.bento [data-reveal]:nth-child(2), .features [data-reveal]:nth-child(2) { transition-delay: .06s; }
.bento [data-reveal]:nth-child(3), .features [data-reveal]:nth-child(3) { transition-delay: .12s; }
.bento [data-reveal]:nth-child(5), .features [data-reveal]:nth-child(5) { transition-delay: .06s; }
.bento [data-reveal]:nth-child(6), .features [data-reveal]:nth-child(6) { transition-delay: .12s; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .float-card--methods { width: 240px; }
}

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .hide-mobile { display: none; }
  .burger { display: block; }
  .header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    flex-direction: column; gap: 0; padding: 16px var(--gutter) 32px; background: var(--white);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: .25s var(--ease);
  }
  .menu-open .nav { visibility: visible; opacity: 1; transform: none; }
  .menu-open { overflow: hidden; }
  .nav > a { padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-size: 1.3rem; border-radius: 0; }
  .nav > a::after { display: none; }
  .nav__mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .header__inner { gap: 16px; justify-content: space-between; }
  .header .header__logo { margin-right: auto; }

  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { padding: 24px 0 56px 0; max-width: 680px; }
  .float-card--methods { left: -6px; top: 0; }
  .float-card--sale { right: -6px; }
  .float-card--balance { left: 24px; }

  .section-head { grid-template-columns: 1fr; gap: 16px; }
  .section-head .muted { justify-self: start; }
  .segments__side { align-items: flex-start; }
  .segments__side .muted { text-align: left; }

  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: 'pos tap' 'pos tap' 'link online' 'link online' 'split rec' 'split rec';
  }
  .why__top { grid-template-columns: 1fr; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .account { grid-template-columns: 1fr; }
  .phones { height: 540px; max-width: 520px; width: 100%; margin: 0 auto; }
  .dev { grid-template-columns: 1fr; grid-template-areas: 'copy' 'code' 'chips'; }

  .faq__grid { grid-template-columns: 1fr; }
  .faq__grid > div:first-child { position: static; }

  .cta-box { grid-template-columns: 1fr; }
  .float-card--pix { left: 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .brands__inner { grid-template-columns: 1fr; gap: 12px; }
  .brands__row { width: max-content; gap: 36px; animation: marquee 26s linear infinite; }
  .brands__row img { filter: none; opacity: 1; }
  .brands__row .is-dup { display: block; }

  .methods__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'list' 'checkout'; }
  .methods__intro { grid-template-columns: 1fr; gap: 16px; }
  .methods__intro .muted { justify-self: start; }
  .method-list { flex-direction: row; overflow-x: auto; gap: 8px; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .method-list::-webkit-scrollbar { display: none; }
  .method-list button, .method-list button:first-child { flex: 0 0 auto; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 16px; }
  .method-list button > span { font-size: .95rem; }
  .method-list button small, .method-list button::before { display: none; }
  .method-list button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }

  .bento {
    grid-template-columns: minmax(0, 1fr); grid-auto-rows: auto;
    grid-template-areas: 'pos' 'tap' 'link' 'online' 'split' 'rec';
  }
  .tile--photo { min-height: 380px; }

  .features { grid-template-columns: 1fr; }
  .why__photo::before { left: -10px; bottom: -10px; }

  .phones { height: 500px; }
  .phone { width: 236px; height: 480px; border-radius: 36px; }
  .phone__screen { border-radius: 28px; }
  .app__balance { font-size: 21px; }
  .app__big { font-size: 23px; }
  .phone--front { right: 0; }
  .phone--back { left: 0; }

  .faq__list details p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .announce__inner { gap: 8px; font-size: .8rem; }
  .hero__ctas { width: 100%; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .float-card--methods { display: none; }
  .float-card--sale { top: 0; bottom: auto; padding: 12px 18px 12px 12px; }
  .float-card--balance { width: 200px; left: 12px; padding: 12px 14px; }
  .float-card__value { font-size: 1.2rem; }
  .bubble { left: 18px; }
  .phone--back { display: none; }
  .phone--front { left: 50%; right: auto; transform: translateX(-50%) rotate(0deg); }
  .phones { height: 500px; }
  .pix-box { flex-direction: column; align-items: flex-start; }
}

@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-anim], .js .hero__photo, .js .float-card { opacity: 1; }
}
