/* Páginas públicas. A marca (nome, cores, símbolo) é própria: troque as variáveis abaixo. */
/* Cores e fontes seguem a paleta clara do nevext.com.br: azul para índigo, Geist e Geist Mono. */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400..700&family=Geist+Mono:wght@400..700&display=swap");
:root {
  --brand: #1c70e3;
  --brand-end: #1c70e3;
  --brand-dark: #1559b8;
  --gradient: linear-gradient(135deg, var(--brand), var(--brand-end));
  --brand-soft: #e6f0fd;
  --ink: #201e1d;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --tint: #f8f9fc;
  --code-cmd: #1c70e3;
  --code-brace: #9cc3f5;
  --radius: 16px;
  --font: "Geist", "Noto Sans", system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", "DM Mono", "Cascadia Code", Consolas, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 17px/1.55 var(--font);
}
img,
svg {
  max-width: 100%;
}
a {
  color: var(--brand);
}
a:hover {
  color: var(--brand-dark);
}
:focus-visible {
  outline: 3px solid #7fb8ff;
  outline-offset: 2px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1180px, 100% - 40px);
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus {
  top: 12px;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 7px 18px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  border-color: transparent;
  background: var(--gradient) border-box;
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-dark) border-box;
  color: #fff;
}
.btn-outline {
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--tint);
  color: var(--ink);
}
.btn-ghost,
.btn-link {
  color: var(--brand);
  text-decoration: underline;
}
.btn-block {
  width: 100%;
  padding-block: 9px;
}

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(1880px, 100% - 24px);
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand-logo {
  width: auto;
  height: 36px;
}
.brand-light {
  color: #fff;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.nav-link:hover {
  background: var(--tint);
  color: var(--ink);
}
.has-menu {
  position: relative;
}
.has-menu > .nav-link::after {
  content: "";
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}
.menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgb(17 24 39 / 0.14);
}
.menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
}
.menu a:hover {
  background: var(--tint);
}
.nav-list .btn {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  padding: 8px 14px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  font: inherit;
  font-weight: 600;
}

/* ---------- topo ---------- */
.hero {
  padding: 36px 0 56px;
  text-align: center;
}
.hero-code {
  min-height: 1.3em;
  margin: 0 0 20px;
  font: 400 clamp(36px, 6vw, 76px) / 1.2 var(--mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.tok-cmd {
  color: var(--code-cmd);
}
.tok-brace {
  color: var(--code-brace);
}
.hero-word::after {
  content: "";
  display: inline-block;
  width: 3px;
  height: 0.9em;
  margin-left: 2px;
  background: var(--ink);
  vertical-align: -0.08em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-word::after {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
.hero-title {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 400;
}
.signup {
  width: min(520px, 100%);
  margin: 0 auto;
}
.signup-alert {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fdecea;
  color: #8a1c13;
  font-size: 15px;
}
.signup-alert[data-kind="info"] {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.signup-sso {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.btn-sso {
  border-color: #6b7280;
  background: #fff;
}
.btn-sso:hover {
  background: var(--tint);
  color: var(--ink);
}
.sso-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.sso-g {
  border: 2px solid #4b5563;
  color: #4b5563;
}
.sso-id {
  background: #7fb23a;
  color: #fff;
}
.sso-gh {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.divider {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 88%;
  margin: 10px auto;
  font-size: 15px;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.signup-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field {
  position: relative;
}
.field input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #6b7280;
  border-radius: 4px;
  font: inherit;
}
.field-password input {
  padding-right: 44px;
}
.toggle-password {
  position: absolute;
  top: 50%;
  right: 6px;
  display: inline-flex;
  padding: 6px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #374151;
  transform: translateY(-50%);
  cursor: pointer;
}
.toggle-password[aria-pressed="true"] {
  color: var(--brand);
}
.fineprint {
  margin: 10px 0 0;
  font-size: 13px;
}

/* ---------- ilustração do editor ---------- */
.mock {
  width: min(868px, 100%);
  margin: 48px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 24px 60px rgb(17 24 39 / 0.16);
  text-align: left;
  font-size: 11px;
}
.mock-top,
.mock-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px;
  background: #1f2937;
  color: #e5e7eb;
}
.mock-logo {
  width: 14px;
  height: 14px;
  border: 2px solid #e5e7eb;
  border-radius: 3px;
}
.mock-title {
  flex: 1;
  text-align: center;
}
.mock-actions {
  display: flex;
  gap: 12px;
}
.mock-actions i {
  font-style: normal;
  opacity: 0.8;
}
.mock-bar {
  background: #2b3544;
}
.mock-switch {
  display: inline-flex;
  gap: 8px;
  padding: 2px;
  border-radius: 999px;
  background: #fff;
  color: #1f2937;
}
.mock-switch b,
.mock-switch span {
  padding: 1px 8px;
  border-radius: 999px;
}
.mock-switch b {
  background: var(--brand);
  color: #fff;
}
.mock-tools {
  flex: 1;
  height: 8px;
  max-width: 260px;
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #6b7686 0 10px, transparent 10px 18px);
}
.mock-compile {
  padding: 3px 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}
.mock-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #e9ecf0;
}
.mock-code {
  padding: 26px 22px;
  background: #fff;
  font-family: var(--mono);
}
.mock-code p {
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
}
.mock-code .gap {
  margin-top: 26px;
}
.mock-pdf {
  padding: 16px 38px 0;
}
.page {
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 100%;
  padding: 44px 24px 20px;
  background: #fff;
  font-family: Georgia, "Times New Roman", serif;
  text-align: center;
}
.page small {
  margin-bottom: 14px;
  color: var(--muted);
}
.page-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 10px 0;
}
.page-cols > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.page-fig {
  min-height: 86px;
  border-radius: 2px;
  background: radial-gradient(circle at 30% 40%, #f7c873, transparent 40%), linear-gradient(135deg, #10203f, #3a5a8c);
}
.bar {
  display: block;
  height: 9px;
  margin-bottom: 7px;
  border-radius: 2px;
  background: #e3e6ea;
}
.bar.thin {
  height: 4px;
  margin: 0;
  background: #cfd4da;
}
.w30 { width: 30%; }
.w60 { width: 60%; }
.w70 { width: 70%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w88 { width: 88%; }
.w90 { width: 90%; }
.w92 { width: 92%; }
.w95 { width: 95%; }
.w96 { width: 96%; }
.w100 { width: 100%; }

/* ---------- seções ---------- */
.audience {
  padding: 40px 0 64px;
  text-align: center;
}
.audience ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 36px;
  margin: 20px 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
}
.section-head {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 8px;
  font: 500 16px var(--mono);
  color: var(--code-cmd);
}
.eyebrow::before {
  content: "\\";
}
h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
h2 mark {
  background: none;
  color: var(--brand);
}
h3 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
}
.features,
.templates,
.stories {
  padding: 80px 0;
  background: var(--tint);
}
.why,
.plans {
  padding: 80px 0;
}
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 72px;
}
.feature-reverse .feature-art {
  order: 2;
}
.feature-art {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 16px 40px rgb(17 24 39 / 0.08);
}
.art-editors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.art-editors span {
  display: flex;
  align-items: flex-end;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--brand-soft), #fff);
  border: 1px solid var(--line);
  font: 600 14px var(--mono);
}
.art-editors span + span {
  background: linear-gradient(160deg, #ecebff, #fff);
}
.art-collab {
  background: repeating-linear-gradient(var(--surface) 0 26px, #eef0f3 26px 34px);
  background-clip: content-box;
}
.cursor,
.note {
  position: absolute;
  padding: 2px 10px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 600;
}
.c1 { top: 84px; left: 34%; background: #d6457a; }
.c2 { top: 176px; left: 58%; background: #3b6fd4; }
.note { right: 24px; bottom: 34px; background: #fff3c4; color: #6b5200; box-shadow: 0 6px 16px rgb(17 24 39 / 0.12); }
.art-refs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.art-refs b {
  font: 600 20px var(--mono);
  color: var(--code-cmd);
}
.art-refs span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.checks {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}
.checks li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 30px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.35em;
  width: 13px;
  height: 7px;
  border-left: 2.5px solid var(--brand);
  border-bottom: 2.5px solid var(--brand);
  transform: rotate(-45deg);
}
.badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 6px;
  background: #ecebff;
  color: #3b3fb8;
  font-size: 12px;
  font-weight: 600;
}
.quote {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--surface);
}
.quote blockquote {
  margin: 0 0 24px;
  font-size: 22px;
  line-height: 1.45;
}
.quote blockquote::before {
  content: "“";
}
.quote blockquote::after {
  content: "”";
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 15px;
}
.quote strong {
  color: var(--ink);
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-soft), #c9d3ff);
}
.cards {
  display: grid;
  gap: 24px;
}
.cards.three {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card p {
  flex: 1;
  margin: 0 0 16px;
  color: var(--muted);
}
.card > a {
  font-weight: 600;
}
.card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.card h3 a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.thumb {
  height: 160px;
  margin: -28px -28px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
}
.t1 { background: repeating-linear-gradient(#fff 0 10px, #e6e9ed 10px 14px) center / 46% 76% no-repeat, #e8efff; }
.t2 { background: repeating-linear-gradient(#fff 0 14px, #e6e9ed 14px 18px) center / 46% 76% no-repeat, #e6e5ff; }
.t3 { background: linear-gradient(#fff, #fff) center / 62% 60% no-repeat, #ffe9c7; }
.s1 { background: linear-gradient(135deg, #2563eb, #4f46e5); }
.s2 { background: linear-gradient(135deg, #111827, #6366f1); }
.s3 { background: linear-gradient(135deg, #7a3a0b, #f0b46a); }
.plan .checks {
  flex: 1;
}
.plan .btn,
.plan-actions {
  align-self: flex-start;
}
.plan-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.plans-note {
  margin: 32px 0 0;
  text-align: center;
  color: var(--muted);
}
.cta {
  padding: 88px 0;
  text-align: center;
}
.cta .btn {
  margin: 6px;
}

/* ---------- rodapé ---------- */
.site-footer {
  padding: 56px 0 28px;
  background: #0a0c10;
  color: #d1d5db;
  font-size: 15px;
}
.site-footer a {
  color: #d1d5db;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 24px;
}
.footer-grid h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 0;
}
.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-grid li {
  margin-bottom: 8px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #232733;
}
.lang select {
  padding: 6px 10px;
  border: 1px solid #374151;
  border-radius: 8px;
  background: #0a0c10;
  color: #fff;
  font: inherit;
}
.social {
  display: inline-flex;
  gap: 10px;
  margin-left: auto;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #374151;
  border-radius: 50%;
  font-weight: 700;
}

/* ---------- cookies ---------- */
.cookies {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 20px;
  background: var(--surface);
  box-shadow: 0 -4px 20px rgb(17 24 39 / 0.14);
  font-size: 15px;
}
.cookies p {
  flex: 1 1 420px;
  margin: 0;
}
.cookies div {
  display: flex;
  gap: 8px;
}

/* ---------- telas menores ---------- */
@media (max-width: 1020px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
  }
  .nav-list.open {
    display: flex;
  }
  .menu {
    position: static;
    border: 0;
    box-shadow: none;
  }
  .nav-list .btn {
    margin: 6px 0 0;
  }
  .feature,
  .cards.three {
    grid-template-columns: 1fr;
  }
  .feature-reverse .feature-art {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .signup-fields,
  .mock-body {
    grid-template-columns: 1fr;
  }
  .mock-pdf {
    display: none;
  }
  .hero-code {
    white-space: normal;
  }
}

/* ---------- menu aberto e página atual ---------- */
.has-menu > .nav-link[aria-expanded="true"] {
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
}
.nav-link[aria-current="page"] {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* ---------- galeria de modelos ---------- */
.gallery h2 {
  margin: 64px 0 28px;
  font-size: 36px;
  text-align: left;
}
.gallery-filters {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 32px;
  color: var(--muted);
}
.gallery-kinds a {
  color: var(--muted);
  text-decoration: none;
}
.gallery-kinds a:hover {
  color: var(--brand);
}
.gallery-kinds a[aria-current] {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
}
.gallery-head {
  padding: 40px 0 24px;
  text-align: center;
}
.gallery-eyebrow {
  margin: 0 0 12px;
  font: 500 18px var(--mono);
  color: var(--brand-dark);
}
.gallery-head h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 600;
  line-height: 1.1;
}
.gallery-search {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(544px, 100%);
  padding: 0 14px;
  border: 1px solid #6b7280;
  border-radius: 4px;
  color: var(--muted);
}
.search-box:focus-within {
  outline: 3px solid #7fb8ff;
  outline-offset: 2px;
}
.search-box input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  outline: 0;
  font: inherit;
}
.category-grid,
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.category-link,
.template-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}
.category-link strong,
.template-link strong {
  display: block;
  margin-top: 16px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
}
.template-link strong {
  font-size: 19px;
}
.category-link:hover strong,
.template-link:hover strong {
  color: var(--brand);
  text-decoration: underline;
}
.category-card p,
.template-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
}
.template-meta {
  display: inline-block;
  margin-top: 8px;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-size: 13px;
}
.category-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  aspect-ratio: 16 / 10;
  padding: 28px;
  border-radius: 8px;
  background: var(--art-bg, #dfe7f5);
}
.category-art i {
  flex: 1;
  max-width: 90px;
  border-radius: 8px;
  background: var(--art-a, #fff);
}
.category-art i:nth-child(1) { height: 78%; }
.category-art i:nth-child(2) { height: 100%; background: var(--art-b, #fff); }
.category-art i:nth-child(3) { height: 60%; background: var(--art-c, #fff); }
.template-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--art-bg, #dfe7f5);
}
.template-thumb .sheet {
  width: 46%;
  aspect-ratio: 210 / 297;
  border-radius: 2px;
  background: repeating-linear-gradient(#fff 0 9px, #e3e6ea 9px 12px) content-box, #fff;
  padding: 16% 12% 12%;
  box-shadow: 0 6px 16px rgb(17 24 39 / 0.18);
  border-top: 14px solid var(--art-b, #fff);
}
.cat-artigos { --art-bg: #f1a3a3; --art-a: #f9d77e; --art-b: #dcdcec; --art-c: #f9d77e; }
.cat-bibliografias { --art-bg: #f9d77e; --art-a: #c2a2cc; --art-b: #80cc9a; --art-c: #f1a3a3; }
.cat-livros { --art-bg: #80cc9a; --art-a: #c2a2cc; --art-b: #dcdcec; --art-c: #f1a3a3; }
.cat-calendarios { --art-bg: #c2a2cc; --art-a: #f9d77e; --art-b: #fff; --art-c: #80cc9a; }
.cat-curriculos { --art-bg: #dcdcec; --art-a: #80cc9a; --art-b: #f1a3a3; --art-c: #c2a2cc; }
.cat-cartas { --art-bg: #f9d77e; --art-a: #fff; --art-b: #f1a3a3; --art-c: #dcdcec; }
.cat-trabalhos { --art-bg: #80cc9a; --art-a: #f9d77e; --art-b: #fff; --art-c: #c2a2cc; }
.cat-boletins { --art-bg: #f1a3a3; --art-a: #dcdcec; --art-b: #80cc9a; --art-c: #fff; }
.cat-posteres { --art-bg: #c2a2cc; --art-a: #80cc9a; --art-b: #f9d77e; --art-c: #dcdcec; }
.cat-apresentacoes { --art-bg: #dcdcec; --art-a: #f1a3a3; --art-b: #f9d77e; --art-c: #80cc9a; }
.cat-relatorios { --art-bg: #f9d77e; --art-a: #80cc9a; --art-b: #c2a2cc; --art-c: #fff; }
.cat-teses { --art-bg: #80cc9a; --art-a: #fff; --art-b: #f1a3a3; --art-c: #f9d77e; }
.pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}
.pagination a,
.pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.pagination a:hover {
  background: var(--tint);
}
.pagination .current {
  background: var(--brand);
  color: #fff;
}
.back-link {
  display: inline-block;
  margin-top: 32px;
  font-weight: 600;
}
.gallery [data-view="results"] h2 {
  margin-top: 12px;
}
.results-count {
  margin: -16px 0 28px;
  color: var(--muted);
}
@media (max-width: 1020px) {
  .category-grid,
  .template-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .category-grid,
  .template-grid {
    grid-template-columns: 1fr;
  }
  .gallery-search {
    flex-direction: column;
  }
  .gallery-filters {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

.gallery .cta h2 {
  margin: 0 0 16px;
  text-align: center;
}

/* ---------- página de categoria ---------- */
.gallery-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
}
.gallery-bar .gallery-filters {
  margin-left: auto;
  padding-top: 0;
}
.gallery-bar .back-link {
  margin-top: 0;
  color: var(--ink);
  text-decoration: none;
}
.gallery-bar .back-link:hover {
  text-decoration: underline;
}
.results-title {
  margin: 48px 0 20px;
  font-size: clamp(32px, 4.6vw, 50px);
  font-weight: 600;
  line-height: 1.15;
  outline: none;
}
.results-intro {
  max-width: 760px;
  margin: 0;
  color: #374151;
  font-size: 19px;
}
.gallery [data-view="results"] .results-recent {
  margin-top: 88px;
}
.gallery [data-view="results"] .results-count {
  margin: 0 0 28px;
}
.template-thumb {
  align-items: stretch;
  padding: 0;
  background: none;
}
.template-thumb .sheet {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  padding: 14% 16% 0;
  border-top: 0;
  border-radius: 0;
  background: repeating-linear-gradient(#fff 0 10px, #e9ebee 10px 13px) content-box, #fff;
  box-shadow: 0 2px 14px rgb(17 24 39 / 0.16);
}
.template-thumb .sheet::before {
  content: "";
  display: block;
  width: 56%;
  height: 12px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: var(--art-bg, #c9ced6);
}
.template-author {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid {
  align-items: start;
}

/* ---------- telas de entrada ---------- */
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--surface);
}
.auth-header {
  padding: 32px 32px 0;
}
.auth-main {
  flex: 1;
  padding: 24px 20px 96px;
}
.auth-card {
  width: min(464px, 100%);
  margin: 0 auto;
  padding: 52px;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgb(17 24 39 / 0.12);
}
.auth-card h1 {
  margin: 0 0 24px;
  font-size: 24px;
  font-weight: 600;
}
.auth-card form {
  display: flex;
  flex-direction: column;
}
.btn-provider {
  justify-content: center;
  margin-bottom: 16px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #e7e9ee;
  font-weight: 600;
}
.btn-provider:hover {
  background: #d8dbe2;
  color: var(--ink);
}
.auth-card .divider {
  width: 100%;
  margin: 8px 0 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.auth-label {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 600;
}
.auth-input {
  width: 100%;
  margin-bottom: 20px;
  padding: 13px 12px;
  border: 1px solid #b7bcc5;
  border-radius: 6px;
  font: inherit;
}
.auth-card .field-password .auth-input {
  padding-right: 48px;
}
.auth-card .field-password .toggle-password {
  top: calc(50% - 10px);
  right: 8px;
}
.auth-hint {
  margin: -12px 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.btn-dark {
  border-radius: 6px;
  background: #111827;
  color: #fff;
  padding-block: 11px;
}
.btn-dark:hover {
  background: #000;
  color: #fff;
}
.auth-center {
  margin: 20px 0 0;
  text-align: center;
}
.auth-center a,
.auth-small a {
  color: var(--ink);
}
.auth-sub {
  margin: 0 0 16px;
  font-weight: 600;
  text-align: center;
}
.auth-small {
  color: var(--muted);
  font-size: 14px;
}
.auth-lead {
  margin: 0 0 20px;
  color: #374151;
}
@media (max-width: 520px) {
  .auth-card {
    padding: 28px 20px;
    box-shadow: none;
  }
}

/* ---------- preços ---------- */
.pricing .gallery-head {
  padding-top: 72px;
}
.pricing .gallery-head p:last-child {
  max-width: 800px;
  margin-inline: auto;
  color: #374151;
  font-size: 19px;
}
.price-switches {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 32px 0 24px;
}
.switch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
}
.switch i {
  position: relative;
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: #4a5361;
  transition: background 0.15s;
}
.switch i::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.switch input:checked + i {
  background: var(--brand);
}
.switch input:checked + i::after {
  transform: translateX(16px);
}
.switch input:focus-visible + i {
  outline: 3px solid #7fb8ff;
  outline-offset: 2px;
}
.switch small {
  color: var(--muted);
}
.price-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}
.price-card.free {
  background: var(--tint);
}
.price-card.popular {
  border: 3px solid var(--brand);
  box-shadow: 0 0 0 4px #dbe4ff;
}
.popular-tag {
  position: absolute;
  top: -20px;
  left: 50%;
  padding: 4px 16px;
  border-radius: 8px;
  background: #dbe4ff;
  color: var(--brand-dark);
  font: 600 15px var(--mono);
  white-space: nowrap;
  transform: translateX(-50%);
}
.price-card h2 {
  margin: 0 0 16px;
  color: var(--brand-dark);
  font-size: 20px;
}
.price {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.price small {
  font-size: 16px;
  font-weight: 400;
}
.price-year {
  margin: 4px 0 12px;
  color: #374151;
  font-size: 14px;
}
.price-tagline {
  min-height: 3.1em;
  margin: 12px 0 16px;
  color: #374151;
}
.price-includes {
  margin: 0 0 6px;
  font-size: 15px;
}
.price-card ul {
  flex: 1;
  margin: 0 0 20px;
  padding-left: 18px;
  color: #374151;
  font-size: 15px;
}
.price-card li {
  margin-bottom: 6px;
}
.price-card li::marker {
  color: #a9b0bb;
}
.seats {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 15px;
}
.seats select {
  padding: 8px 10px;
  border: 1px solid #6b7280;
  border-radius: 4px;
  background: #fff;
  font: inherit;
}
.compare {
  padding: 96px 0 24px;
  text-align: center;
}
.compare h2 {
  margin: 0 0 12px;
  text-align: center;
}
.compare-scroll {
  margin-top: 40px;
  overflow-x: auto;
  text-align: left;
}
.compare-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th,
.compare-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  vertical-align: middle;
}
.compare-table th:first-child {
  width: 30%;
  text-align: left;
}
.compare-table thead th {
  vertical-align: top;
  font-size: 17px;
}
.compare-table small {
  display: block;
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}
.compare-table thead .btn {
  padding: 4px 12px;
  font-size: 14px;
}
.compare-table tbody th {
  font-weight: 600;
}
.compare-table tbody th small {
  margin-bottom: 0;
}
.compare-table .group-row th {
  padding-top: 32px;
  border-bottom: 2px solid var(--ink);
  color: var(--brand-dark);
  font-size: 18px;
  text-align: left;
}
.yes {
  color: var(--brand);
  font-size: 18px;
  font-weight: 700;
}
.no {
  color: #a9b0bb;
}

/* ---------- detalhe do modelo ---------- */
.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding-top: 24px;
}
.detail h1 {
  margin: 8px 0 28px;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.2;
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}
.detail-meta {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 8px 0;
  margin: 0;
  font-size: 19px;
}
.detail-meta dt {
  font-weight: 600;
}
.detail-meta dd {
  margin: 0;
  color: #374151;
}
.detail-source {
  margin-top: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.detail-source-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 8px 12px 8px 16px;
  background: var(--tint);
  font: 600 14px var(--mono);
}
.detail-source-head .btn {
  padding: 2px 12px;
  font: 600 14px var(--font);
}
.detail-source pre {
  max-height: 420px;
  margin: 0;
  padding: 16px;
  overflow: auto;
  font: 14px/1.6 var(--mono);
}
.detail-page {
  display: flex;
  flex-direction: column;
  gap: 9px;
  aspect-ratio: 210 / 297;
  padding: 14% 13%;
  background: #fff;
  box-shadow: 0 2px 16px rgb(17 24 39 / 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}
.detail-page strong {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
}
.detail-page small {
  margin-bottom: 18px;
  color: var(--muted);
  text-align: center;
}
.detail-page b {
  margin-top: 14px;
}
.detail-figure {
  align-self: center;
  width: 34%;
  aspect-ratio: 1;
  margin: 12px 0;
  border-radius: 2px;
  background: var(--art-bg, #dfe7f5);
}
.gallery .cta .gallery-eyebrow {
  color: var(--code-cmd);
}
@media (max-width: 1020px) {
  .price-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
  .detail {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .price-cards {
    grid-template-columns: 1fr;
  }
  .detail-meta {
    grid-template-columns: 1fr;
  }
  .detail-meta dd {
    margin-bottom: 8px;
  }
}

.detail-pdf {
  display: block;
  width: 100%;
  height: min(1100px, 82vh);
  padding-top: 12px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #e9ecf0;
}
.detail-pdf .pdf-page {
  position: relative;
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 2px 12px rgb(17 24 39 / 0.15);
}
.detail-status {
  margin: -16px 0 24px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------- páginas de conteúdo ---------- */
.page-hero {
  padding: 72px 0 48px;
  text-align: center;
}
.page-hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 600;
  line-height: 1.12;
}
.page-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #374151;
  font-size: 20px;
}
.page-actions {
  margin: 28px 0 0;
}
.page-actions .btn {
  margin: 4px;
}
.content-page .band {
  padding: 72px 0;
  background: var(--tint);
}
.content-page .plain {
  padding: 56px 0;
}
.content-page .feature:last-child {
  margin-bottom: 0;
}
.container.narrow {
  width: min(820px, 100% - 40px);
}
.container.center {
  text-align: center;
}
.art-generic {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(150deg, var(--brand-soft), #ecebff);
}
.points {
  margin: 16px 0 24px;
}
.points dt {
  margin-top: 14px;
  font-weight: 600;
}
.points dd {
  margin: 2px 0 0;
  color: var(--muted);
}
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards.cols-5 { grid-template-columns: repeat(5, 1fr); }
.placeholder {
  outline: 2px dashed #c9a227;
  outline-offset: 4px;
}
em.placeholder {
  outline-offset: 1px;
  font-style: normal;
  color: #6b5200;
}
.logos {
  margin: 0 auto 48px;
  padding: 20px;
  color: #6b5200;
  text-align: center;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stat {
  padding: 24px;
  border-radius: var(--radius);
}
.stat strong {
  display: block;
  color: var(--brand);
  font-size: 48px;
  line-height: 1.1;
}
.stat span {
  color: var(--muted);
}
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.tablist [role="tab"] {
  padding: 10px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tablist [role="tab"][aria-selected="true"] {
  border-bottom-color: var(--brand);
  color: var(--ink);
}
.tabpanel h3 {
  margin: 28px 0 8px;
  font-size: 20px;
}
.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 16px 0;
  font-weight: 600;
  cursor: pointer;
}
.faq p {
  margin: 0 0 16px;
  color: #374151;
}
.contact {
  display: flex;
  flex-direction: column;
}
.contact textarea {
  resize: vertical;
}
.contact .btn {
  align-self: flex-start;
}
.blog {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
}
.posts {
  margin: 0;
  padding: 0;
  list-style: none;
}
.post {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.post h2 {
  margin: 0 0 6px;
  font-size: 28px;
}
.post h2 a {
  color: var(--ink);
  text-decoration: none;
}
.post h2 a:hover {
  color: var(--brand);
  text-decoration: underline;
}
.post-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
}
.blog aside h2 {
  margin: 0 0 16px;
  font-size: 20px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--muted);
  font-size: 14px;
}
.learn {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
}
.learn h2 {
  margin: 0 0 12px;
  font-size: 26px;
}
.learn-main section {
  margin-bottom: 40px;
}
.learn ul {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}
.learn li {
  margin-bottom: 6px;
}
.learn-nav {
  padding-left: 32px;
  border-left: 1px solid var(--line);
  font-size: 15px;
}
.learn-nav h2 {
  font-size: 17px;
}
.legal h1 {
  margin: 24px 0 16px;
  font-size: 36px;
  font-weight: 600;
}
.legal > .placeholder {
  margin: 0 0 32px;
  padding: 12px 16px;
  color: #6b5200;
}
@media (max-width: 1020px) {
  .cards.cols-3,
  .cards.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog,
  .learn {
    grid-template-columns: 1fr;
  }
  .learn-nav {
    padding-left: 0;
    border-left: 0;
  }
}
@media (max-width: 620px) {
  .cards.cols-2,
  .cards.cols-3,
  .cards.cols-5,
  .stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- guias ---------- */
.learn .soon {
  color: var(--muted);
}
.guide h1 {
  margin: 12px 0 20px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.2;
}
.guide h2 {
  margin: 32px 0 8px;
  font-size: 22px;
}
.guide code,
.guide pre {
  font-family: var(--mono);
  font-size: 0.9em;
}
.guide code {
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--tint);
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.guide-code {
  position: relative;
  margin: 16px 0;
}
.guide-code pre {
  margin: 0;
  padding: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
  line-height: 1.6;
}
.guide-code .btn {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 12px;
  background: var(--surface);
  font-size: 14px;
}
.guide-tip {
  padding: 12px 16px;
  border-left: 4px solid var(--brand);
  border-radius: 0 12px 12px 0;
  background: var(--brand-soft);
}
.guide-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* O E rebaixado do nome, como na marca do TeX. */
.tex-e {
  display: inline-block;
  margin: 0 -0.06em;
  transform: translateY(0.2em);
}

/* ---------- página inicial: chamada e os quatro destaques ---------- */
.hero-headline {
  margin: 0 auto 16px;
  font-size: clamp(40px, 6.4vw, 84px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero-headline span {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .hero-code {
  margin-bottom: 8px;
  font-size: clamp(20px, 2.6vw, 30px);
}
.hero p.hero-title {
  max-width: 720px;
  color: var(--muted);
}
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.hero-pills a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--tint);
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.hero-pills a:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.hero-pills em {
  margin-left: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}
.pillars {
  padding: 72px 0 24px;
  background: var(--tint);
}
.pillars .feature {
  scroll-margin-top: 90px;
}
.pillar-tag {
  margin: 0 0 6px;
  color: var(--code-cmd);
  font: 500 15px var(--mono);
}
.pillar-tag .badge {
  margin-left: 6px;
}
.art-learn,
.art-offline,
.art-phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.art-learn code {
  font: 600 26px var(--mono);
  color: var(--code-cmd);
}
.art-learn ul {
  width: 220px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgb(17 24 39 / 0.12);
  font: 15px var(--mono);
}
.art-learn li {
  padding: 4px 10px;
  border-radius: 6px;
}
.art-learn li.on {
  background: var(--brand);
  color: #fff;
}
.art-learn .warn,
.art-offline .status {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff3c4;
  color: #6b5200;
  font-size: 14px;
  font-weight: 600;
}
.art-offline .status.ok {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.art-phone {
  align-items: center;
}
.art-phone .phone {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 150px;
  height: 250px;
  padding: 26px 16px 16px;
  border: 3px solid var(--ink);
  border-radius: 26px;
  background: var(--surface);
}
.art-phone b {
  margin-top: auto;
  padding: 18px 0;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  text-align: center;
}

/* ---------- topo enxuto e crédito no rodapé ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
}
.nav-list {
  flex: 1;
  margin-left: 20px;
}
.nav-link {
  font-weight: 600;
}
.nav-end {
  margin-left: auto;
}
.nav-list .btn {
  min-width: 96px;
  padding: 9px 22px;
  border-radius: 0;
}
.made-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.made-by img {
  border-radius: 6px;
}
.made-by strong {
  color: #fff;
}
@media (max-width: 1020px) {
  .nav-list {
    margin-left: 0;
  }
  .nav-end {
    margin-left: 0;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- grátis em destaque e os motivos dos preços ---------- */
.hero-free {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.hero-free li:not(:last-child) {
  display: flex;
  flex-direction: column;
  padding: 10px 20px;
  border-left: 4px solid var(--brand);
  background: var(--brand-soft);
  text-align: left;
}
.hero-free strong {
  font-size: 18px;
}
.hero-free span {
  color: var(--muted);
  font-size: 14px;
}
.cards.two,
.price-cards.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-inline: auto;
}
.price-cards.two {
  margin-top: 32px;
}
.reasons {
  padding: 64px 0 16px;
}
.reasons > p {
  max-width: 720px;
  color: var(--muted);
}
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.reason-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.reason-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: var(--surface);
}
.reason-list span {
  color: var(--muted);
}
@media (max-width: 760px) {
  .cards.two,
  .price-cards.two,
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- amostra do editor ---------- */
.demo {
  padding: 72px 0 24px;
}
.demo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--brand-soft), #fff);
  box-shadow: 0 16px 40px rgb(17 24 39 / 0.1);
}
.demo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 24px;
}
.demo-editor {
  display: block;
  width: 100%;
  height: min(720px, 80vh);
  border: 0;
}
.demo-note {
  max-width: 760px;
  margin: 16px auto 0;
  text-align: center;
}

/* ---------- galeria: projetos da comunidade ---------- */
.community-lead {
  max-width: 760px;
  color: var(--muted);
}
.template-thumb.cat-comunidade,
.detail-preview.cat-comunidade {
  background: linear-gradient(150deg, var(--brand-soft), #dff3ea);
}

/* ---------- denúncia de projeto público ---------- */
.detail-report {
  margin: 12px 0 0;
  font-size: 14px;
}
.report-dialog {
  width: min(480px, 100% - 32px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.report-dialog::backdrop {
  background: rgb(17 24 39 / 0.5);
}
.report-dialog form {
  display: grid;
  gap: 14px;
}
.report-dialog h2,
.report-dialog p {
  margin: 0;
}
.report-dialog label {
  display: grid;
  gap: 6px;
  font-weight: 600;
}
.report-dialog select,
.report-dialog textarea {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
}
.report-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.report-status:empty {
  display: none;
}

/* ---------- perguntas frequentes ---------- */
.faq-page h2 {
  margin: 40px 0 12px;
  font-size: 24px;
}

.community-filter {
  margin: 0 0 16px;
  font-weight: 600;
}
.community-filter select {
  margin-left: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}
.template-author a {
  color: var(--brand);
}

/* ---------- entrar de novo com um clique ---------- */
.quick-login {
  display: grid;
  gap: 12px;
}
.quick-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--tint);
}
.quick-who span:last-child {
  display: grid;
}
.quick-who small {
  color: var(--muted);
}
.quick-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}
.quick-forget {
  justify-self: center;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.logged-shortcut {
  margin: 0 0 32px;
}
.logged-shortcut .btn {
  padding: 12px 32px;
  font-size: 18px;
}

/* ---------- página de um link de compartilhamento ---------- */
.invite {
  padding: 48px 0 64px;
  background: var(--tint);
}
.invite-card {
  max-width: 820px;
  text-align: center;
}
.invite-card h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.invite-name {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
}
.invite-lead {
  margin: 0 auto 24px;
  max-width: 560px;
  color: var(--muted);
}
.invite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0 0 12px;
}
.invite-status {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}
.invite-pdf {
  width: min(900px, 100% - 24px);
  height: min(1100px, 82vh);
  margin: 0 auto;
  padding-top: 16px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e9ecf0;
}
.invite-pdf .pdf-page {
  position: relative;
  margin-inline: auto;
  background: #fff;
  box-shadow: 0 2px 12px rgb(17 24 39 / 0.15);
}

/* ---------- página inicial: pronto para publicar ---------- */
.art-blind {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.art-blind .sheet {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 150px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgb(17 24 39 / 0.1);
  font-size: 12px;
}
.art-blind .sheet b {
  font-size: 13px;
}
.art-blind .who,
.art-blind .thanks {
  padding: 3px 6px;
  border-radius: 4px;
  background: #fff3c4;
  color: #6b5200;
  font-weight: 600;
}
.art-blind .blind .who {
  background: var(--brand-soft);
  color: var(--brand-dark);
}
.art-blind .arrow {
  color: var(--brand);
  font-size: 28px;
  font-weight: 700;
}
