/* Dados à Vista — landing page (design: docs/design/landing-proposta.dc.html).
   No inline styles anywhere: the Content-Security-Policy in _headers allows only this file. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f6f5f1;
  --ink: #15191d;
  --ink-2: #3b4248;
  --ink-3: #5b636a;
  --green: #0b6b57;
  --green-dark: #08513f;
  --green-ink: #0b5c4b;
  --green-soft: #e6f3ec;
  --lime: #c8f169;
  --line: #e4e2dc;
  --line-soft: #efede8;
  --field: #cfd3d6;
  --display: "Space Grotesk", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--green);
}

a:hover {
  color: var(--green-dark);
}

h1,
h2,
h3 {
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */

.site-header {
  padding-top: 24px;
  padding-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  font-size: 15px;
}

.site-nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-nav a.nav-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
}

/* Hero */

.hero {
  padding-top: 72px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

.hero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -1.5px;
  max-width: 860px;
}

.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 680px;
}

.small {
  font-size: 14px;
  color: var(--ink-3);
}

/* Subscribe form */

.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 560px;
}

.hero .subscribe {
  margin-top: 8px;
}

.subscribe input {
  flex: 1 1 260px;
  min-width: 0;
  height: 56px;
  padding: 0 18px;
  font-size: 17px;
  font-family: inherit;
  border: 1.5px solid var(--field);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.subscribe input:focus-visible,
.subscribe button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 2px;
}

.subscribe button {
  flex: 0 0 auto;
  height: 56px;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background: var(--green);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.subscribe button:hover {
  background: var(--green-dark);
}

.subscribe button:disabled,
.subscribe button[aria-busy="true"] {
  background: var(--green-dark);
  opacity: 0.75;
  cursor: progress;
}

.privacy-note {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 560px;
}

/* Numbers */

.numbers {
  padding-bottom: 72px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.number {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.number strong {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1.2;
}

.number span {
  font-size: 15px;
  color: var(--ink-2);
}

/* Example */

.example {
  background: var(--ink);
  color: var(--bg);
  padding: 88px 24px;
}

.example-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}

.example-text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.example h2 {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.8px;
}

.example-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #c9cdd1;
}

.example-text p.source {
  font-size: 15px;
  color: #9aa1a7;
}

.issue {
  flex: 1.4 1 420px;
  min-width: 0;
  background: #fff;
  color: var(--ink);
  border-radius: 18px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.issue-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.issue-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
}

.issue-count {
  font-size: 14px;
  color: var(--ink-3);
}

.issue-section {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-ink);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.job {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-soft);
}

.job-title {
  font-weight: 600;
  font-size: 17px;
}

.job-company {
  font-weight: 400;
  color: var(--ink-3);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  font-size: 13px;
  background: #f1f0ec;
  color: var(--ink-2);
  padding: 4px 10px;
  border-radius: 999px;
}

.job-summary {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.job a {
  font-size: 14px;
  font-weight: 600;
}

/* Features and steps */

.block {
  padding-top: 88px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.block + .block {
  padding-top: 40px;
  padding-bottom: 88px;
}

.block h2,
.faq h2,
.final h2 {
  font-family: var(--display);
  font-size: 40px;
  letter-spacing: -0.8px;
  text-align: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature h3 {
  font-family: var(--display);
  font-size: 22px;
}

.feature p,
.step p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step strong {
  color: var(--ink);
}

/* FAQ */

.faq {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 88px 24px;
}

.faq-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.faq-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.faq-item h3 {
  font-size: 18px;
  font-weight: 600;
}

.faq-item p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* Final call */

.final {
  padding-top: 88px;
  padding-bottom: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.final h2 {
  font-size: 44px;
  letter-spacing: -1px;
}

.final > p {
  font-size: 18px;
  color: var(--ink-2);
}

/* Footer */

.site-footer {
  padding-top: 32px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 14px;
  color: var(--ink-3);
}

.site-footer a {
  color: var(--ink-3);
}

/* Simple pages (obrigado, privacidade) */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -1px;
}

.page h2 {
  font-family: var(--display);
  font-size: 24px;
  margin-top: 12px;
}

.page p,
.page li {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}

.page ul {
  margin: 0;
  padding-left: 22px;
}

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.button:hover {
  background: var(--green-dark);
  color: #fff;
}

@media (max-width: 560px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .site-nav a:not(.nav-cta) {
    display: none; /* the page itself is short: the button is the one that matters */
  }

  .site-nav a.nav-cta {
    padding: 10px 14px;
  }

  .hero {
    padding-top: 40px;
  }

  .lead {
    font-size: 18px;
  }

  .subscribe button {
    width: 100%;
  }

  .example {
    padding: 64px 20px;
  }

  .issue {
    padding: 20px;
  }

  .example h2,
  .block h2,
  .faq h2 {
    font-size: 32px;
  }

  .final h2 {
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
