/* Joyyn Tech — site institucional (estático, sem build). Paleta da marca Joyyn. */
:root {
  --brand: #0E9E6E;
  --brand-2: #16D89B;
  --accent: #FF2E92;
  --ink: #17142A;
  --muted: #6b6880;
  --bg: #F4F3F9;
  --surface: #ffffff;
  --border: #ECEAF4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, "Segoe UI", Roboto, "Plus Jakarta Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px;
}
.badge { font-size: 11px; font-weight: 700; color: var(--brand); background: #E6F7EE; padding: 2px 8px; border-radius: 999px; }
.nav-links { display: flex; gap: 20px; font-size: 14px; }
.nav-links a { color: var(--muted); }

/* Hero */
.hero { padding: 88px 0 56px; }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.1; letter-spacing: -.02em; }
.hero h1 .grad { background: linear-gradient(135deg, var(--brand-2), var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 620px; margin-top: 20px; }
.cta { display: inline-block; margin-top: 28px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; font-weight: 700; padding: 13px 24px; border-radius: 12px; box-shadow: 0 8px 24px rgba(14,158,110,.28); }
.cta:hover { text-decoration: none; opacity: .94; }

/* Cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; padding: 24px 0 64px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }
.card .ic { width: 40px; height: 40px; border-radius: 11px; background: #E6F7EE; display: grid; place-items: center; font-size: 20px; margin-bottom: 14px; }

/* Sections (privacy/terms) */
.page { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 40px; margin: 48px 0; }
.page h1 { font-size: 30px; margin-bottom: 8px; }
.page h2 { font-size: 19px; margin: 28px 0 8px; }
.page p, .page li { color: #3a3650; font-size: 15px; }
.page ul { padding-left: 22px; margin: 8px 0; }
.page .meta { color: var(--muted); font-size: 13px; margin-bottom: 24px; }

/* Footer */
footer { border-top: 1px solid var(--border); background: var(--surface); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 28px 0; font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); }
