/* -----------------------------
   Do Papel Ao Prompt — Landing Page
   Mobile-first / Minimal / Editorial
----------------------------- */

:root {
  --color-bg: #f7f5f0;
  --color-surface: #ffffff;
  --color-muted-surface: #eee9df;
  --color-text: #171717;
  --color-muted: #5f5f5f;
  --color-border: #d9d4c8;
  --color-graphite: #323232;
  --color-gold: #c4a263;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;

  --container: 1120px;
  --container-narrow: 760px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 18px 45px rgba(23, 23, 23, 0.08);
}

/* -----------------------------
   Reset
----------------------------- */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1rem;
}

em {
  font-style: italic;
}

strong {
  font-weight: 700;
}

/* -----------------------------
   Layout
----------------------------- */

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.container.narrow,
.narrow {
  width: min(100% - 2rem, var(--container-narrow));
  margin: 0 auto;
}

.content-section {
  padding: 4.5rem 0;
}

.muted-section {
  background: var(--color-muted-surface);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2,
.content-section h2,
.closing-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.section-heading p,
.content-section p,
.closing-section p {
  color: var(--color-muted);
  font-size: 1.04rem;
}

/* -----------------------------
   Header
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 212, 200, 0.7);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-weight: 750;
  letter-spacing: -0.04em;
  text-decoration: none;
  font-size: 1rem;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1rem;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-text);
}

/* -----------------------------
   Buttons and links
----------------------------- */

.button {
  min-height: 48px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-graphite);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(50, 50, 50, 0.16);
}

.button-primary:hover {
  box-shadow: 0 18px 34px rgba(50, 50, 50, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.button-secondary:hover {
  background: #ffffff;
}

.text-link {
  display: inline-flex;
  margin-top: 0.35rem;
  color: var(--color-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* -----------------------------
   Hero
----------------------------- */

.hero-section {
  padding: 4.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(4rem, 18vw, 9.5rem);
  line-height: 0.82;
  letter-spacing: -0.1em;
}

.hero-subtitle {
  margin: 1.35rem 0 0;
  max-width: 720px;
  color: var(--color-text);
  font-size: clamp(1.35rem, 5vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-support {
  margin: 1.25rem 0 0;
  max-width: 620px;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.hero-actions {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.hero-actions .button {
  width: 100%;
}

.hero-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card .card-label {
  margin: 0 0 1rem;
  color: var(--color-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-card p {
  color: var(--color-muted);
}

/* -----------------------------
   Content blocks
----------------------------- */

.content-section h2 {
  max-width: 780px;
}

.content-section .narrow p {
  font-size: 1.08rem;
}

.topic-grid,
.radar-grid {
  display: grid;
  gap: 1rem;
}

.topic-card,
.radar-card,
.callout-card {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.topic-card span {
  display: inline-flex;
  margin-bottom: 1.2rem;
  color: var(--color-gold);
  font-weight: 800;
  font-size: 0.85rem;
}

.topic-card h3,
.radar-card h3,
.callout-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.topic-card p,
.radar-card p,
.callout-card p {
  color: var(--color-muted);
}

/* -----------------------------
   LIDA callout
----------------------------- */

.lida-callout-section {
  background: var(--color-graphite);
  color: #ffffff;
}

.lida-callout-section .eyebrow,
.lida-callout-section p {
  color: rgba(255, 255, 255, 0.72);
}

.lida-callout-section h2 {
  color: #ffffff;
}

.callout-grid {
  display: grid;
  gap: 1.5rem;
}

.callout-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.callout-card h3 {
  color: #ffffff;
  font-size: clamp(2rem, 9vw, 4rem);
}

.callout-card .button-primary {
  margin-top: 0.5rem;
  background: #ffffff;
  color: var(--color-graphite);
}

/* -----------------------------
   Radar cards
----------------------------- */

.card-meta {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

/* -----------------------------
   Status
----------------------------- */

.status-list {
  display: grid;
  gap: 0.75rem;
}

.status-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
  display: grid;
  gap: 0.2rem;
}

.status-item span {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.status-item strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

/* -----------------------------
   Closing
----------------------------- */

.closing-section {
  padding: 5rem 0;
  text-align: left;
}

.closing-text {
  margin: 0 0 1rem;
  color: var(--color-text) !important;
  font-size: clamp(2.3rem, 11vw, 5rem) !important;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.closing-actions {
  margin-top: 1.75rem;
  display: grid;
  gap: 0.75rem;
}

.closing-actions .button {
  width: 100%;
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  padding: 3rem 0;
  background: var(--color-text);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  gap: 2rem;
}

.footer-title {
  margin: 0 0 0.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-footer p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-nav {
  display: grid;
  gap: 0.75rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-nav a:hover {
  color: #ffffff;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (min-width: 560px) {
  .hero-actions,
  .closing-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-actions .button,
  .closing-actions .button {
    width: auto;
  }

  .topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .radar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-item {
    grid-template-columns: 180px 1fr;
    align-items: baseline;
  }
}

@media (min-width: 820px) {
  .site-nav {
    display: flex;
  }

  .hero-section {
    padding: 6rem 0 5.5rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: end;
    gap: 3rem;
  }

  .content-section {
    padding: 6rem 0;
  }

  .topic-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .callout-grid {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 3rem;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .footer-nav {
    min-width: 180px;
  }
}

@media (min-width: 1080px) {
  .hero-card {
    margin-bottom: 0.5rem;
  }

  .topic-card,
  .radar-card,
  .callout-card {
    padding: 1.5rem;
  }
}

/* -----------------------------
   Accessibility and motion
----------------------------- */

:focus-visible {
  outline: 3px solid rgba(196, 162, 99, 0.75);
  outline-offset: 4px;
}

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

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
/* -----------------------------
   PapelPrompt Kit do Leitor
   /kit page
----------------------------- */

.kit-hero {
  border-bottom: 1px solid var(--color-border);
}

.kit-url {
  display: inline-flex;
  align-items: center;
  margin: 0.75rem 0 1rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: clamp(1rem, 4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.download-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.download-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: 0 18px 44px rgba(23, 23, 23, 0.06);
}

.download-card h3 {
  margin: 0.95rem 0 0.75rem;
  color: var(--color-text);
  font-size: clamp(1.4rem, 6vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.download-card p {
  color: var(--color-muted);
}

.download-card .button {
  width: 100%;
  margin-top: auto;
  justify-content: center;
}

.download-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.download-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-muted);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.download-note {
  margin: 0.85rem 0 0;
  color: var(--color-muted);
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
  overflow-wrap: anywhere;
}

.kit-steps {
  margin-top: 1.4rem;
}

.kit-steps ol {
  margin: 0;
  padding-left: 1.25rem;
}

.kit-steps li {
  margin-bottom: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
}

.kit-steps li:last-child {
  margin-bottom: 0;
}

.kit-callout {
  align-self: stretch;
}

.kit-callout h3 {
  margin-top: 0;
}

/* Desktop refinements */

@media (min-width: 720px) {
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .download-card {
    padding: 1.35rem;
  }
}

@media (min-width: 1080px) {
  .download-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .download-card {
    padding: 1.45rem;
  }

  .download-card h3 {
    font-size: 1.65rem;
  }
}
