/* Quirky — site institucional
   Paleta e tipografia espelham o design system do app (lib/core/theme). */

:root {
  --greek-blue: #3D5FB0;
  --greek-blue-light: #5A7EC8;
  --surface-blue: #4A6EBF;
  --deep: #24407F;
  --pink: #F67BE0;
  --yellow: #FFE066;
  --text: #F4F7FF;
  --text-dim: #C9D6F5;
  --radius: 18px;
  --maxw: 860px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(170deg, #35539B 0%, var(--greek-blue) 45%, #2F4E96 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: 'Outfit', 'Nunito Sans', sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- topo ---------- */
header.site {
  padding: 28px 0 8px;
}
.topbar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.wordmark {
  font-weight: 900;
  font-size: 30px;
  color: var(--pink);
  letter-spacing: -1px;
}
.wordmark:hover { text-decoration: none; opacity: .85; }
.lang { font-size: 14px; color: var(--text-dim); }
.lang a { color: var(--text-dim); }
.lang a.on { color: var(--yellow); font-weight: 700; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 56px 0 40px; }
.hero .mark {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 13vw, 104px);
  color: var(--pink);
  letter-spacing: -3px;
  margin: 0;
}
.hero .tag {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(19px, 4vw, 26px);
  color: var(--yellow);
  font-weight: 600;
  margin: 10px 0 22px;
}
.hero p.lead { color: var(--text); font-size: 19px; max-width: 620px; margin: 0 auto; }

.badge {
  display: inline-block;
  margin-top: 28px;
  padding: 9px 20px;
  border: 2px solid var(--pink);
  border-radius: 999px;
  color: var(--pink);
  font-weight: 700;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
}

/* ---------- blocos ---------- */
section.block { padding: 26px 0; }
section.block h2 {
  color: var(--pink);
  font-size: 27px;
  font-weight: 800;
  margin: 0 0 6px;
}

.steps { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 22px; }
.step {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 20px;
}
.step .n {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 13px;
  color: var(--yellow);
  letter-spacing: 1.5px;
}
.step h3 { color: var(--pink); font-size: 19px; margin: 6px 0 6px; font-weight: 700; }
.step p { margin: 0; font-size: 15.5px; color: var(--text-dim); }

.callout {
  background: rgba(255,224,102,.11);
  border-left: 4px solid var(--yellow);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 22px 0;
}
.callout strong { color: var(--yellow); }

/* ---------- documentos legais ---------- */
.doc {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 38px clamp(20px, 5vw, 46px);
  margin: 18px 0 40px;
}
.doc h1 { color: var(--pink); font-size: clamp(28px, 6vw, 38px); font-weight: 800; margin: 0 0 6px; }
.doc .updated { color: var(--text-dim); font-size: 14.5px; margin: 0 0 26px; }
.doc h2 {
  color: var(--yellow);
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 8px;
  padding-top: 6px;
}
.doc h3 { color: var(--pink); font-size: 17.5px; font-weight: 700; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
}
.doc th, .doc td {
  border: 1px solid rgba(255,255,255,.2);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.doc th { background: rgba(255,255,255,.1); color: var(--yellow); font-weight: 700; }
.doc .box {
  background: rgba(246,123,224,.13);
  border: 1px solid rgba(246,123,224,.4);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 20px 0;
}
.doc .box p:last-child { margin-bottom: 0; }
.doc .box p:first-child { margin-top: 0; }

/* ---------- rodapé ---------- */
footer.site {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 30px;
  padding: 30px 0 56px;
  font-size: 14.5px;
  color: var(--text-dim);
  text-align: center;
}
footer.site nav { margin-bottom: 14px; display: flex; gap: 8px 20px; justify-content: center; flex-wrap: wrap; }
footer.site nav a { color: var(--text); }
footer.site .corp { line-height: 1.6; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  .doc { padding: 26px 20px; }
}

/* impressão legível dos documentos */
@media print {
  body { background: #fff; color: #111; }
  .doc { background: #fff; border: none; padding: 0; }
  .doc h1, .doc h2, .doc h3, .wordmark { color: #111; }
  .doc p, .doc li { color: #111; }
  header.site, footer.site nav, .lang { display: none; }
  a { color: #111; text-decoration: underline; }
}
