/* O Guia da Gringa — vitrine dos apps. Mesmas cores e letras do Meu Dólar:
   papel escuro quente, tinta creme, dourado, títulos em serifa (Fraunces: a Bodoni do vídeo tem traço fino demais para ler na tela). */
:root {
  --paper:    #0A0A0A;
  --surface:  #141414;
  --surface-2:#1C1C1C;
  --line:     #262626;
  --line-2:   #333333;
  --ink:      #F5F1E8;
  --ink-2:    #B5AC9C;
  --ink-3:    #8E8577;
  --gold:     #EFBA2E;
  --gold-ink: #F2C94C;
  --on-gold:  #0A0A0A;
  --pos:      #22C55E;
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px;
  --max: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Topo */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { font-family: var(--serif); font-size: 22px; text-decoration: none; letter-spacing: .01em; }
.brand b { font-weight: 700; }
.brand span { color: var(--gold); }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; margin-left: 20px; }
.top nav a:hover { color: var(--ink); }

/* Títulos */
.eyebrow { color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; letter-spacing: -.005em; }
h1 { font-size: clamp(40px, 6.4vw, 72px); }
h1 em { font-style: italic; color: var(--gold); font-weight: 600; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 26px; }
.lead { color: var(--ink-2); font-size: clamp(17px, 2vw, 20px); max-width: 620px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; border: 1px solid var(--line-2); color: var(--ink);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
.btn-gold:hover { background: #F6C84A; border-color: #F6C84A; }

/* Capa da página inicial */
.hero { padding: 88px 0 56px; }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { max-width: 860px; margin-bottom: 22px; }
.rule { width: 56px; height: 2px; background: var(--gold); margin: 26px 0; }

/* Vitrine de apps */
.apps { padding: 24px 0 96px; }
.apps-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
/* Only one app for now: one wide card instead of a lonely column. */
.grid:has(> .app:only-child) { grid-template-columns: minmax(0, 620px); }
.app {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px; text-decoration: none; min-height: 250px;
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
}
a.app:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--surface-2); }
.app-icon { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.app-icon.ph {
  display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2);
  font-family: var(--serif); font-size: 26px; color: var(--ink-3);
}
.app h3 { font-size: 27px; }
.app p { color: var(--ink-2); font-size: 15px; flex: 1; }
.tag { position: absolute; top: 22px; right: 22px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); }
.tag.live { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.app .go { color: var(--gold-ink); font-weight: 600; font-size: 15px; }
.app.soon { opacity: .72; }

/* Página de um app */
.back { display: inline-block; color: var(--ink-2); text-decoration: none; font-size: 14px; margin: 28px 0 0; }
.back:hover { color: var(--ink); }
.app-hero { padding: 36px 0 40px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.app-hero .id { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.app-hero .id img { width: 56px; height: 56px; border-radius: 14px; }
.app-hero .id b { font-family: var(--serif); font-size: 24px; }
.app-hero .id small { display: block; color: var(--ink-3); font-size: 13px; }
.app-hero h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.fine { color: var(--ink-3); font-size: 13.5px; margin-top: 14px; }
.fine b { color: var(--pos); font-weight: 600; }

.player { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2);
  background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.player video { width: 100%; height: auto; }

.features { padding: 56px 0; border-top: 1px solid var(--line); }
.features h2 { margin-bottom: 30px; }
.feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.feat div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.feat b { display: block; font-family: var(--serif); font-size: 21px; margin-bottom: 6px; }
.feat p { color: var(--ink-2); font-size: 14.5px; }

.close { padding: 64px 0 88px; text-align: center; border-top: 1px solid var(--line); }
.close h2 { margin-bottom: 14px; }
.close .lead { margin: 0 auto; }
.close .cta { justify-content: center; }

/* Rodapé */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--ink-3); font-size: 13.5px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot a { color: var(--ink-2); text-decoration: none; margin-right: 16px; }
.foot a:hover { color: var(--ink); }

@media (max-width: 820px) {
  .hero { padding: 56px 0 40px; }
  .app-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .top nav a { margin-left: 14px; }
  .btn { width: 100%; }
  .cta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
